@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@100..900&family=Noto+Sans+JP:wght@400;700;900&display=swap');

/* --- Brutalist Structural Reset variables --- */
:root {
  --bg-color: #fbfbfb;
  --ink-color: #0d1410;
  --line-color: #cfd4d1;
  --font-display: 'Archivo', sans-serif;
  --font-sans: 'Noto Sans JP', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--ink-color);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Layout Grid Lines (Hairline Borders) --- */
.brand-row,
.nav-row,
.showcase-meta-ribbon,
.slide-stage,
.showcase-navigation-controls,
.editorial-news-section,
.footer-grid {
  border-bottom: 1px solid var(--line-color);
}

/* --- 1. Top Logo Row --- */
.editorial-header {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.brand-row {
  width: 100%;
  padding: 2.5rem 3rem;
}

.massive-logo {
  width: 100%;
  line-height: 1;
}

.massive-logo>a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  white-space: nowrap;
}

.en-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink-color);
  line-height: 1;
}

.ja-brand {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-align: right;
  color: var(--ink-color);
  line-height: 1;
}

/* --- 2. Navigation Row --- */
.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  gap: 4rem;
}

.nav-links-wrapper {
  display: flex;
}

.editorial-nav {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
}

.editorial-nav a {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-display), var(--font-sans);
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.editorial-nav a:hover {
  opacity: 0.5;
}

.appointment-cta {
  display: flex;
  align-items: center;
}

.underline-link {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  border-bottom: 1px solid var(--ink-color);
  padding-bottom: 2px;
}

/* --- 3. Company Intro Row --- */
.intro-row {
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--line-color);
}

.company-intro {
  max-width: 840px;
  font-size: 16px;
  color: #444;
  line-height: 1.8;
}

/* --- 4. Showcase Display & Slider Container --- */
.showcase-container {
  width: 100%;
}

.showcase-meta-ribbon {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 1fr;
  padding: 1.2rem 3rem;
  font-family: var(--font-display);
  font-size: 16px;
  color: #555;
}

.see-all-action {
  text-align: right;
}

.slide-stage {
  position: relative;
  width: 100%;
  min-height: 480px;
}

.editorial-slide {
  display: none;
  grid-template-columns: 1.3fr 1fr;
  width: 100%;
  height: 100%;
}

.editorial-slide.active {
  display: grid;
}

.slide-image-frame {
  padding: 4rem 3rem;
  border-right: 1px solid var(--line-color);
}

.slide-image-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  filter: grayscale(10%) contrast(105%);
}

.slide-content-pane {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.slide-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.slide-description {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  max-width: 400px;
}

.showcase-navigation-controls {
  display: flex;
  justify-content: space-between;
  padding: 1rem 3rem;
}

.nav-btn {
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 50px;
  cursor: pointer;
  padding: 0.5rem 0;
}

.nav-btn:hover {
  opacity: 0.5;
}

/* --- 5. Editorial News Feed Setup --- */
.editorial-news-section {
  display: grid;
  grid-template-columns: 1fr 3fr;
  padding: 4rem 3rem;
  gap: 2rem;
}

.editorial-news-section+.editorial-footer {
  border-top: none;
  margin-top: 0;
}

.mono-title {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 900;
}

.news-item {
  display: flex;
  border-bottom: 1px solid var(--line-color);
  padding: 1rem 0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item .date {
  font-family: var(--font-display);
  width: 150px;
  font-weight: bold;
}

/* --- 6. Footer Infrastructure --- */
.editorial-footer {
  padding: 1rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--line-color);
  margin-top: 2rem;
  padding-top: 2rem;
}

.footer-brand {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: -10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
  width: 100%;
  padding-bottom: 1rem;
  border-bottom: none;
}

.footer-tel {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.footer-copyright {
  font-size: 14px;
  font-weight: 300;
  font-family: var(--font-display);
  text-align: right;
  line-height: 1;
}

/* --- 7. Editorial Subpage Utility Classes --- */
.subpage-content-wrapper {
  padding: 5rem 3rem;
  max-width: 1200px;
}

.subpage-title,
.subpage-title-ja {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 3.5rem;
  letter-spacing: -0.01em;
}

.subpage-title {
  font-family: var(--font-display);
}

.subpage-title-ja {
  font-family: var(--font-sans);
}

.brutalist-data-table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-color);
}

.data-row {
  display: grid;
  grid-template-columns: 1fr 3fr;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line-color);
  align-items: flex-start;
}

.data-row span:first-child {
  font-weight: 700;
  font-size: 0.9rem;
  color: #555;
}

.data-row span:last-child {
  font-size: 1rem;
  line-height: 1.8;
}

.service-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.service-division-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--ink-color);
  padding-bottom: 0.5rem;
}

.bullet-list-editorial {
  list-style: none;
}

.bullet-list-editorial li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line-color);
  font-size: 0.95rem;
}

.bullet-list-editorial li::before {
  content: "— ";
  color: var(--line-color);
}

.map-container-frame {
  border: 1px solid var(--line-color);
  padding: 0.5rem;
  background: #fff;
  margin-top: 1.5rem;
}

.recruit-intro-message {
  background-color: #f1f3f2;
  padding: 2.5rem;
  margin-bottom: 3rem;
}

/* ==========================================================================
   RESPONSIVE RESTRUCTURE (Laptops, Tablets & Smartphones)
   ========================================================================== */

@media (max-width: 1200px) {

  .brand-row,
  .nav-row,
  .intro-row,
  .showcase-meta-ribbon,
  .slide-image-frame,
  .slide-content-pane,
  .showcase-navigation-controls,
  .editorial-news-section,
  .editorial-footer,
  .subpage-content-wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .editorial-nav {
    gap: 1.5rem;
  }

  .nav-row {
    gap: 2rem;
  }
}

@media (max-width: 850px) {

  .brand-row {
    padding: 2rem 1.5rem;
  }

  .massive-logo>a {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .en-brand {
    font-size: clamp(2.0rem, 6.5vw, 2.4rem);
  }

  .ja-brand {
    font-size: clamp(1.5rem, 5.5vw, 1.8rem);
    text-align: left;
  }

  .nav-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.2rem 1.5rem;
  }

  .nav-links-wrapper {
    width: 100%;
  }

  .editorial-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 1.8rem;
    white-space: normal;
  }

  .editorial-nav a {
    font-size: 15px;
  }

  .appointment-cta {
    width: 100%;
    padding-top: 0.25rem;
    border-top: 1px dashed var(--line-color);
  }

  .intro-row {
    padding: 1.5rem;
  }

  .editorial-slide {
    grid-template-columns: 1fr;
  }

  .slide-image-frame {
    border-right: none;
    border-bottom: 1px solid var(--line-color);
    padding: 1.5rem;
  }

  .slide-image-frame img {
    height: 250px;
  }

  .slide-content-pane {
    padding: 2rem 1.5rem;
  }

  .showcase-meta-ribbon {
    grid-template-columns: 1fr 1fr;
    padding: 1rem 1.5rem;
  }

  .section-tag {
    grid-column: span 2;
  }

  .see-all-action {
    text-align: left;
  }

  .showcase-navigation-controls {
    padding: 0.8rem 1.5rem;
  }

  .editorial-news-section,
  .service-split-grid,
  .data-row {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
  }

  .news-item {
    flex-direction: column;
    gap: 0.25rem;
  }

  .mono-title {
    font-size: 32px;
  }

  .editorial-footer {
    padding: 2rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .footer-copyright {
    text-align: left;
  }

  .subpage-content-wrapper {
    padding: 3rem 1.5rem;
  }
}
