/* =========================================================
   CaTe Corporate Site — 2026 renewal
   トークンは tokens.css / 仕様は /DESIGN.md
   ========================================================= */

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--c-cream);
  color: var(--c-green);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
  display: block;
}

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

p {
  margin: 0;
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* 欧文セクション見出し (Mission / News / What we do / Recruit) */
.sec-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--c-green);
}

/* 和文見出し */
.sec-heading {
  margin: 0;
  font-size: var(--fs-heading);
  font-weight: 600;
  font-feature-settings: "palt";
  line-height: 1.6;
  letter-spacing: var(--ls-heading);
  color: var(--c-green);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 2.5em;
  padding: 1em 1.9em;
  border-radius: var(--radius-pill);
  background: var(--c-green);
  color: var(--c-white);
  font-size: var(--fs-btn);
  font-weight: 600;
  font-feature-settings: "palt";
  letter-spacing: 0.08em;
  line-height: 1;
  transition: filter 0.25s ease;
}

.btn .btn__arrow {
  transition: transform 0.25s ease;
}

.btn:hover {
  filter: brightness(1.35);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.btn__arrow {
  flex: none;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 3.5vw, 48px);
}

.site-header__logo img {
  width: clamp(96px, 9vw, 120px);
  height: auto;
}

/* デザインではナビはヘッダー中央に配置 */
.site-header__nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  font-family: var(--font-medium);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--c-white);
}

.site-header__nav a {
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.site-header__nav a:hover {
  opacity: 0.65;
}

.btn--ghost {
  padding: 0.9em 2.1em;
  border-radius: var(--radius-pill);
  background: rgba(40, 36, 30, 0.28);
  color: var(--c-white);
  font-family: var(--font-medium);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease;
}

.btn--ghost:hover {
  background: rgba(40, 36, 30, 0.5);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 13px;
  border: 0;
  border-radius: 50%;
  background: rgba(40, 36, 30, 0.28);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--c-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: var(--container-pad);
  background: var(--c-green);
  color: var(--c-white);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.menu-overlay a {
  padding: 12px 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.menu-overlay .menu-overlay__en {
  font-family: var(--font-display);
  font-weight: 300;
  margin-right: 0.75em;
}

.menu-overlay__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-overlay__close::before,
.menu-overlay__close::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 26px;
  height: 1.5px;
  background: var(--c-white);
}

.menu-overlay__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-overlay__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 100svh, 900px);
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 40%;
}

.hero__bg::after {
  /* 上部ヘッダーの可読性を確保する薄いグラデーション
     (260717: ヒーローが明るいCG背景になったため左側の暗幕は廃止) */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 24, 16, 0.18), rgba(30, 24, 16, 0) 20%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  color: var(--c-white);
}

.hero__title {
  margin: 0 0 0.65em;
  font-size: var(--fs-hero);
  font-weight: 600;
  font-feature-settings: "palt";
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-indent: -0.55em; /* 行頭の「 をぶら下げる */
}

.hero__lead {
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.75;
}

.hero__cta {
  margin-top: 3.4em;
}

.hero__tagline {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 42px;
  text-align: center;
  color: var(--c-cream);
  font-family: var(--font-medium);
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* ---------- Mission ---------- */
.mission {
  /* 縦破線がNews帯に接するまで伸びるため下パディングなし */
  padding-block: clamp(64px, 6.5vw, 94px) 0;
  overflow-x: clip;
}

.mission__intro {
  max-width: 860px;
}

.mission__intro .sec-heading {
  margin-top: 0.65em;
}

.mission__intro p {
  margin-top: 1.5em;
  font-weight: 600;
  line-height: 1.7;
}

/* 罫線グリッドはテキスト(988px)より片側26px広い1040px。
   上辺の破線は画面端-18pxまでフルブリード、
   縦罫はピラー本文の下も伸びてNews帯に接する */
.pillars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1040px, 100% - 40px);
  margin: clamp(32px, 3vw, 40px) auto 0;
}

.pillars::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 50vw + 18px);
  right: calc(50% - 50vw + 18px);
  border-top: 1px dashed var(--c-line-green);
}

.pillar {
  padding: clamp(28px, 3vw, 40px) 26px clamp(40px, 4vw, 58px);
  border-right: 1px dashed var(--c-line-green);
}

.pillar:first-child {
  border-left: 1px dashed var(--c-line-green);
}

.pillar__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.pillar__icon {
  color: var(--c-green);
}

.pillar__num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.9rem + 1.4vw, 3.125rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--c-green);
}

.pillar__title {
  margin: clamp(2.4em, 3vw, 3.2em) 0 0;
  font-size: var(--fs-pillar-title);
  font-weight: 600;
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
  color: var(--c-green);
}

.pillar__text {
  margin-top: 1.7em;
  font-size: var(--fs-body-s);
  font-weight: 600;
  line-height: 1.85;
}

.pillar__text + .pillar__text {
  margin-top: 1.8em;
}

/* ---------- News ---------- */
.news {
  background: var(--c-green);
  color: var(--c-white);
  padding-block: clamp(40px, 4vw, 54px);
}

.news__grid {
  display: grid;
  grid-template-columns: minmax(180px, 32.5%) minmax(0, 1fr);
  gap: 32px 0;
}

.news .sec-label {
  color: var(--c-white);
}

.news__list {
  /* 下線はテキストより26px右まで伸びる (罫線グリッド1240px) */
  margin: 0 -26px 0 0;
  padding: 0;
  list-style: none;
}

.news__item a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--c-line-white);
  transition: opacity 0.2s ease;
}

.news__item a:hover {
  opacity: 0.7;
}

.news__date {
  font-size: var(--fs-body-s);
  font-weight: 600;
  font-feature-settings: "palt";
  letter-spacing: 0.08em;
}

.news__title {
  font-size: 0.9375rem;
  font-weight: 600;
  font-feature-settings: "palt";
  letter-spacing: 0.06em;
  line-height: 1.7;
}

.news__arrow {
  flex: none;
}

/* News帯の一覧ページへの導線。下線グリッド(右端1240)に右揃え */
.news__more {
  grid-column: 2;
  margin: 1.4rem -26px 0 0;
  text-align: right;
}

.news__more a {
  display: inline-flex;
  align-items: center;
  gap: 1em;
  font-family: var(--font-medium);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: opacity 0.2s ease;
}

.news__more a:hover {
  opacity: 0.7;
}

/* ---------- What we do ---------- */
.wedo {
  padding-block: var(--space-section);
  overflow: hidden;
}

.wedo__intro p {
  margin-top: 1.3em;
  font-weight: 600;
  line-height: 1.7;
}

.carousel {
  margin-top: clamp(36px, 4vw, 52px);
}

.carousel__track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* コンテナ左端に1枚目を合わせつつ、画面端まではみ出させる */
  padding-inline: max(var(--container-pad), (100vw - var(--container-max)) / 2 + var(--container-pad));
  scroll-padding-inline: max(var(--container-pad), (100vw - var(--container-max)) / 2 + var(--container-pad));
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.card {
  position: relative;
  flex: none;
  width: clamp(260px, 24.3vw, 350px);
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  scroll-snap-align: start;
}

.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20, 15, 10, 0.55), rgba(20, 15, 10, 0) 55%);
}

/* 下線は左15px→カード右端まで。テキストはさらに15pxインセット(計30px) */
.card__label {
  position: relative;
  z-index: 2;
  padding: 22px 0 0 15px;
  color: var(--c-white);
}

.card__en,
.card__ja {
  padding-left: 15px;
}

.card__en {
  display: block;
  font-family: var(--font-medium);
  font-size: clamp(1.25rem, 1.1rem + 0.55vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.card__ja {
  display: block;
  margin-top: 0.4em;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-white);
  font-size: var(--fs-body);
  letter-spacing: 0.08em;
}

.carousel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(32px, 4vw, 48px);
}

.carousel__nav {
  display: flex;
  gap: 12px;
}

.carousel__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-line-green);
  border-radius: 50%;
  background: transparent;
  color: var(--c-green);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.carousel__btn:hover {
  background: var(--c-green);
  color: var(--c-cream);
}

/* ---------- Recruit / CTA帯 ----------
   クリーム2のパネルがフッターのグリーンに半分重なる構図 */
.recruit,
.cta-band {
  background: linear-gradient(180deg, transparent 0 55%, var(--c-green) 55% 100%);
  padding-inline: 20px;
}

.cta-band {
  background: linear-gradient(180deg, transparent 0 51%, var(--c-green) 51% 100%);
}

.recruit__panel,
.cta-band__panel {
  max-width: 1400px;
  margin-inline: auto;
  background: var(--c-cream-2);
  color: var(--c-green);
  border-radius: var(--radius-panel);
  padding-block: clamp(64px, 8vw, 116px) clamp(64px, 7.5vw, 108px);
}

.recruit .sec-heading,
.cta-band .sec-heading {
  margin-top: 0.85em;
}

.recruit__text,
.cta-band__text {
  margin-top: 1.9em;
  max-width: 760px;
  font-weight: 600;
  line-height: 1.7;
}

.recruit__text + .recruit__text {
  margin-top: 0.85em;
}

.cta-band__text {
  max-width: 860px;
  line-height: 1.75;
}

.recruit__cta,
.cta-band__cta {
  margin-top: 3em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-green);
  color: var(--c-white);
  padding-block: clamp(56px, 6vw, 84px) 32px;
  font-size: var(--fs-body-s);
}

.site-footer a:hover {
  opacity: 0.7;
}

.site-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__logo img {
  width: 130px;
  height: auto;
}

.site-footer__tagline {
  font-size: 1.375rem;
  font-weight: 600;
  font-feature-settings: "palt";
  letter-spacing: 0.1em;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  margin-top: clamp(48px, 5vw, 64px);
}

.site-footer__col h3 {
  margin: 0 0 1.8em;
  font-size: var(--fs-body-s);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.site-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__col li {
  margin-bottom: 1.2em;
  letter-spacing: 0.06em;
}

.site-footer__col address {
  font-style: normal;
  margin-bottom: 1.8em;
  line-height: 1.9;
}

.site-footer__col .addr-label {
  font-weight: 600;
}

.site-footer__copy {
  margin-top: clamp(48px, 5vw, 64px);
  text-align: right;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s ease, transform 0.9s ease;
  }

  .reveal.is-shown {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .mission {
    padding-bottom: 40px;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pillars::before {
    display: none;
  }

  .pillar,
  .pillar:first-child {
    border-left: 0;
    border-right: 0;
    border-top: 1px dashed var(--c-line-green);
    padding: 28px 0;
  }

  .pillar__title {
    margin-top: 1.8em;
  }

  .news__grid {
    grid-template-columns: 1fr;
  }

  .news__list {
    margin-right: 0;
  }

  .news__more {
    grid-column: auto;
    margin-right: 0;
  }

  .site-footer__cols {
    grid-template-columns: 1fr;
  }

  .site-footer__top {
    flex-direction: column;
    gap: 16px;
  }

  .site-footer__copy {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .u-pc {
    display: none;
  }

  .hero__title {
    font-size: clamp(1.5rem, 7.6vw, 2.1rem);
    letter-spacing: 0.08em;
  }

  .site-header__nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero__tagline {
    padding-inline: var(--container-pad);
  }

  .recruit__panel,
  .cta-band__panel {
    border-radius: 16px;
    padding-inline: 8px;
  }
}

/* =========================================================
   下層ページ共通 (About / Solution / News / Contact)
   ========================================================= */

/* 写真のない下層ではヘッダーをクリーム地+グリーンで */
.site-header--page {
  position: relative;
}

.site-header--page .site-header__nav {
  color: var(--c-green);
}

.site-header--page .btn--ghost {
  background: var(--c-green);
  color: var(--c-white);
  backdrop-filter: none;
}

.site-header--page .btn--ghost:hover {
  background: var(--c-green);
  filter: brightness(1.35);
}

.site-header--page .menu-toggle {
  background: var(--c-green);
  backdrop-filter: none;
}

main.page {
  padding-bottom: var(--space-section);
}

.page-hero {
  padding-top: clamp(40px, 5vw, 64px);
}

.page-hero .sec-heading {
  margin-top: 0.65em;
}

.page-hero__lead {
  margin-top: 1.5em;
  font-weight: 600;
  line-height: 1.7;
}

.page-hero__date {
  margin-top: 1.5em;
  font-weight: 600;
}

.page-section {
  margin-top: clamp(48px, 6vw, 80px);
}

/* 下層ページの中見出し */
.page-h {
  margin: 0 0 1.6em;
  font-size: 1.25rem;
  font-weight: 600;
  font-feature-settings: "palt";
  letter-spacing: var(--ls-heading);
  color: var(--c-green);
}

.page-text {
  font-weight: 600;
  line-height: 1.9;
}

/* About */
.about-logic {
  border-radius: var(--radius-card);
}

.info-table {
  width: 100%;
  max-width: 860px;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 1.4em 0;
  border-bottom: 1px dashed var(--c-line-green);
  text-align: left;
  vertical-align: top;
  font-size: var(--fs-body);
  line-height: 1.9;
}

.info-table th {
  width: 11em;
  font-weight: 600;
  padding-right: 2em;
}

.info-table td {
  font-weight: 500;
}

.ceo-position {
  font-size: var(--fs-body-s);
  font-weight: 600;
}

.ceo-name {
  margin-top: 0.4em;
  font-size: 1.375rem;
  font-weight: 600;
  font-feature-settings: "palt";
  letter-spacing: var(--ls-heading);
}

.ceo-history {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 1.2em 0;
  margin: 2em 0 0;
  max-width: 860px;
}

.ceo-history dt {
  font-weight: 600;
}

.ceo-history dd {
  margin: 0;
  font-weight: 500;
  line-height: 1.9;
}

.ceo-note {
  margin-top: 2em;
  /* 経歴(ceo-history)と同じ本文サイズ */
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.9;
}

/* Solution: カードのグリッド表示 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: clamp(32px, 4vw, 48px);
}

.card--grid {
  width: auto;
}

/* News 一覧 */
.news-index {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 988px;
}

.news-index__item a,
.news-index__static {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
  padding-block: 1.3rem;
  border-bottom: 1px dashed var(--c-line-green);
}

.news-index__item a {
  transition: opacity 0.2s ease;
}

.news-index__item a:hover {
  opacity: 0.6;
}

.news-index .news__title {
  font-size: var(--fs-body);
}

/* Contact フォーム */
.contact-form {
  max-width: 640px;
}

.form-field {
  margin-bottom: 2.2em;
}

.form-field > label {
  display: block;
  margin-bottom: 0.8em;
  font-weight: 600;
}

.form-required {
  display: inline-block;
  margin-left: 0.8em;
  padding: 0.25em 0.7em;
  border-radius: 3px;
  background: var(--c-green);
  color: var(--c-white);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row input {
  flex: 1;
  min-width: 0;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.9em 1em;
  border: 1px solid var(--c-line-green);
  border-radius: var(--radius-card);
  background: #fff;
  color: var(--c-green);
  font-family: var(--font-sans);
  font-size: 16px; /* iOSのズーム防止 */
  line-height: 1.6;
}

.contact-form :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--c-green);
  outline-offset: 1px;
}

.contact-form ::placeholder {
  color: rgba(0, 73, 31, 0.35);
}

.form-consent label {
  display: flex;
  align-items: center;
  gap: 0.8em;
  font-weight: 500;
  cursor: pointer;
}

.form-consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-consent input {
  width: 18px;
  height: 18px;
  accent-color: var(--c-green);
}

.contact-form__submit {
  border: 0;
  cursor: pointer;
}

@media (max-width: 760px) {
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: auto;
  }

  .info-table th {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .info-table td {
    padding-top: 0.6em;
  }

  .ceo-history {
    grid-template-columns: 5em 1fr;
  }

  .form-row {
    flex-direction: column;
  }
}

/* =========================================================
   Solution ページ — 2026-07 リニューアル
   (デザインPDF cate_web_pc_260708+_solution から実測)
   ========================================================= */

/* --- Hero (写真+白文字、H1は45px) --- */
.hero--solution {
  min-height: clamp(520px, 54.9vw, 790px);
}

.hero--solution .hero__bg::after {
  background: linear-gradient(180deg, rgba(30, 24, 16, 0.22), rgba(30, 24, 16, 0) 22%);
}

.hero--solution .hero__title {
  margin-bottom: 1em;
  font-size: clamp(1.55rem, 0.95rem + 2.9vw, 2.8125rem);
  letter-spacing: 0.05em;
  line-height: 1.62;
  text-indent: 0;
}

.hero--solution .hero__lead + .hero__lead {
  margin-top: 1.7em;
}

/* --- 2カラム (欧文ラベル | 本文) --- */
.sol-grid {
  display: grid;
  grid-template-columns: minmax(180px, 32.5%) minmax(0, 1fr);
}

.sol-text {
  margin-top: 1.7em;
  font-weight: 600;
  line-height: 1.75;
}

.sec-heading + .sol-text {
  margin-top: 2.1em;
}

.sol-note {
  margin-top: 2.6em;
  font-size: var(--fs-body-s);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* --- Issue --- */
.sol-issue {
  padding-top: clamp(56px, 5.5vw, 78px);
}

/* --- Solution パネル + キャプション付きカード --- */
.sol-solution {
  margin-top: clamp(64px, 9vw, 130px);
  padding-inline: 20px;
  overflow: hidden;
}

.sol-panel {
  max-width: 1400px;
  margin-inline: auto;
  background: var(--c-cream-2);
  border-radius: var(--radius-panel);
  padding-block: clamp(56px, 5.7vw, 82px) clamp(64px, 7.4vw, 106px);
}

/* パネル内のカルーセルはビューポート幅までブリード */
.sol-panel .carousel {
  margin-top: clamp(40px, 4.4vw, 63px);
  margin-inline: calc(50% - 50vw);
}

.card--cap {
  aspect-ratio: 35 / 46;
}

.card--cap::before {
  background:
    linear-gradient(rgba(20, 15, 10, 0.55), rgba(20, 15, 10, 0) 45%),
    linear-gradient(rgba(20, 15, 10, 0) 62%, rgba(20, 15, 10, 0.5));
}

.card__cap {
  position: absolute;
  z-index: 2;
  left: 30px;
  right: 24px;
  bottom: 22px;
  color: var(--c-white);
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.75;
}

/* --- Output: 社会実装までのロードマップ --- */
.sol-output {
  margin-top: clamp(72px, 8.3vw, 120px);
}

.sol-output .sec-heading,
.sol-impact .sec-heading {
  margin-top: 1.1em;
}

.sol-output .sec-heading + .sol-text,
.sol-impact .sec-heading + .sol-text {
  margin-top: 1.4em;
}

.roadmap-wrap {
  overflow-x: auto;
  scrollbar-width: none;
  padding: 60px 20px 4px;
}

.roadmap-wrap::-webkit-scrollbar {
  display: none;
}

.roadmap {
  display: flex;
  align-items: stretch;
  width: 1040px;
  max-width: none;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.roadmap__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.roadmap__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 240px;
  border: 1px solid var(--c-line-green);
  border-radius: 6px;
  padding: 62px 8px 24px;
}

.roadmap__card--now {
  border-width: 2px;
}

.roadmap__card--future {
  border-style: dashed;
}

.roadmap__num {
  position: absolute;
  top: 10px;
  left: 16px;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1.2;
}

.roadmap__title {
  font-size: 1.125rem;
  font-weight: 600;
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-align: center;
}

.roadmap__title--s {
  font-size: 0.9375rem;
  line-height: 1.55;
}

.roadmap__icon {
  margin-top: auto;
  margin-bottom: 22px;
}

.roadmap__arrow {
  flex: none;
  width: 24px;
  height: 240px;
  display: grid;
  place-items: center;
}

.roadmap__arrow::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 12px solid var(--c-green);
  border-block: 9px solid transparent;
}

.roadmap__note {
  position: relative;
  margin: 0;
  padding-top: 30px;
  text-align: center;
  font-size: var(--fs-body-s);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.roadmap__note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 25px;
  border-left: 1px dashed var(--c-line-green);
}

.roadmap__badge {
  position: absolute;
  top: -52px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75em 1.7em;
  border-radius: var(--radius-pill);
  background: var(--c-green);
  color: var(--c-white);
  font-size: 0.75rem;
  font-weight: 600;
  font-feature-settings: "palt";
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.roadmap__badge::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-top: 7px solid var(--c-green);
  border-inline: 6px solid transparent;
}

.roadmap__brace {
  display: block;
  width: min(1040px, 100% - 40px);
  height: 22px;
  margin: 92px auto 0;
  color: var(--c-green);
}

/* --- Social Impact: ロジックモデル --- */
.sol-impact {
  margin-top: clamp(72px, 8vw, 100px);
}

.impact {
  position: relative;
  width: min(1040px, 100% - 40px);
  height: 745px;
  margin: 54px auto 0;
}

.impact__pill {
  position: absolute;
  top: 0;
  width: 28.75%;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--c-green);
  color: var(--c-white);
  font-size: 0.9375rem;
  font-weight: 600;
  font-feature-settings: "palt";
  letter-spacing: 0.08em;
}

.impact__pill--s { left: 0; }
.impact__pill--m { left: 35.577%; }
.impact__pill--l { left: 71.25%; }

.impact__card {
  position: absolute;
  width: 28.75%;
  border: 1px solid var(--c-line-green);
  border-radius: 8px;
  padding: 18px 18px 16px;
}

.impact__card--s1 { left: 0; top: 66px; height: 205px; }
.impact__card--s2 { left: 0; top: 299px; height: 200px; }
.impact__card--s3 { left: 0; top: 531px; height: 205px; }
.impact__card--m1 { left: 35.577%; top: 66px; height: 205px; }
.impact__card--m2 { left: 35.577%; top: 416px; height: 202px; }
.impact__card--l1 { left: 71.25%; top: 66px; height: 205px; }
.impact__card--l2 { left: 71.25%; top: 416px; height: 202px; }

.impact__icon {
  margin-bottom: 10px;
}

.impact__text {
  font-size: 1.0625rem;
  font-weight: 600;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.impact__kpi {
  margin-top: 0.9em;
  font-size: var(--fs-body);
  font-weight: 600;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--c-accent);
}

.impact__card--goal {
  display: grid;
  place-content: center;
  text-align: center;
}

.impact__card--goal .impact__text {
  font-size: 1.25rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.impact__cost {
  position: absolute;
  top: 697px;
  left: 71.25%;
  width: 28.75%;
  margin: 0;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  font-feature-settings: "palt";
  letter-spacing: 0.06em;
}

/* 破線コネクタ */
.impact__line {
  position: absolute;
}

.impact__line--v {
  width: 0;
  border-left: 1px dashed var(--c-line-green);
}

.impact__line--h {
  height: 0;
  border-top: 1px dashed var(--c-line-green);
}

.impact__line--a-up::before,
.impact__line--a-down::after,
.impact__line--a-right::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
}

.impact__line--v.impact__line--a-up::before {
  top: -1px;
  left: -5px;
  border-bottom: 8px solid var(--c-green);
  border-inline: 4.5px solid transparent;
}

.impact__line--v.impact__line--a-down::after {
  bottom: -1px;
  left: -5px;
  border-top: 8px solid var(--c-green);
  border-inline: 4.5px solid transparent;
}

.impact__line--h.impact__line--a-right::after {
  top: -5px;
  right: -1px;
  border-left: 8px solid var(--c-green);
  border-block: 4.5px solid transparent;
}

.impact__line--s1s2 { left: 14.375%; top: 271px; height: 28px; }
.impact__line--s3s2 { left: 14.375%; top: 499px; height: 32px; }
.impact__line--s1m1 { left: 28.75%; top: 152px; width: 6.83%; }
.impact__line--s2j  { left: 28.75%; top: 399px; width: 2.99%; }
.impact__line--s3j  { left: 28.75%; top: 633px; width: 2.99%; }
.impact__line--joint { left: 31.73%; top: 399px; height: 234px; }
.impact__line--jm2  { left: 31.73%; top: 517px; width: 3.85%; }
.impact__line--m1l1 { left: 64.33%; top: 152px; width: 6.92%; }
.impact__line--m1m2 { left: 49.95%; top: 271px; height: 145px; }
.impact__line--m2l2 { left: 64.33%; top: 517px; width: 6.92%; }
.impact__line--l2l1 { left: 85.63%; top: 271px; height: 145px; }
.impact__line--m2c1 { left: 49.95%; top: 618px; height: 43px; }
.impact__line--c    { left: 49.95%; top: 661px; width: 35.68%; }
.impact__line--c2   { left: 85.63%; top: 661px; height: 30px; }

/* --- Responsive --- */
@media (max-width: 1079px) {
  /* ロジックモデルは縦積みに */
  .impact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: min(560px, 100% - 40px);
    height: auto;
  }

  .impact__pill,
  .impact__card,
  .impact__cost {
    position: static;
    width: auto;
    height: auto;
  }

  .impact__pill {
    padding-block: 8px;
  }

  .impact__pill--m,
  .impact__pill--l {
    margin-top: 24px;
  }

  .impact__line {
    display: none;
  }

  .impact__pill--s { order: 0; }
  .impact__card--s1 { order: 1; }
  .impact__card--s2 { order: 2; }
  .impact__card--s3 { order: 3; }
  .impact__pill--m { order: 4; }
  .impact__card--m1 { order: 5; }
  .impact__card--m2 { order: 6; }
  .impact__pill--l { order: 7; }
  .impact__card--l1 { order: 8; }
  .impact__card--l2 { order: 9; }
  .impact__cost { order: 10; }
}

@media (max-width: 900px) {
  .sol-grid {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }
}

/* =========================================================
   About ページ — 2026-07 リニューアル (cate_web_pc_260717 ab1)
   ========================================================= */

.hero--about {
  min-height: clamp(520px, 54.7vw, 788px);
}

.hero--about .hero__title {
  margin-bottom: 1.4em;
  font-size: clamp(1.7rem, 1rem + 3.2vw, 3.75rem);
}

.hero--about .hero__lead + .hero__lead {
  margin-top: 1.7em;
}

/* 2カラムセクション (Vision / Approach / Company / CEO Profile) */
.about-sec {
  padding-top: clamp(56px, 5.9vw, 84px);
}

.about-sec--last {
  padding-bottom: var(--space-section);
}

/* クリーム2の全幅パネル (Background / Culture) */
.about-band {
  margin-top: clamp(64px, 8vw, 118px);
  padding-inline: 20px;
}

.about-band + .about-sec {
  padding-top: clamp(56px, 5.9vw, 85px);
}

.about-band__panel {
  max-width: 1400px;
  margin-inline: auto;
  background: var(--c-cream-2);
  border-radius: var(--radius-panel);
  padding-block: clamp(64px, 6.6vw, 95px) clamp(56px, 6vw, 87px);
}

/* CEO写真パネル */
.about-band__photo {
  max-width: 1400px;
  margin-inline: auto;
  border-radius: var(--radius-panel);
  overflow: hidden;
}

.about-band__photo img {
  width: 100%;
  height: clamp(320px, 45.8vw, 660px);
  object-fit: cover;
  object-position: center 22%;
}

@media (max-width: 760px) {
  .about-band__panel,
  .about-band__photo {
    border-radius: 16px;
  }
}
