@charset "utf-8";
/* ============================================================
   みちびきworks トップページ専用スタイル（2026-09-10）
   ・このファイルはトップページ（index.html）だけが読み込みます。
   ・事業者情報・プライバシーポリシー・お問い合わせは
     従来どおり assets/site.css を使うため、影響を受けません。
   ・design-tokens.css を土台に、承認デザインへ合わせて調整しています。
   ============================================================ */

:root {
  --color-bg: #f7f4ed;          /* 温かいアイボリー */
  --color-bg-soft: #fcf9f5;     /* 開発事例の帯（承認画像で少し明るい） */
  --color-bg-foot: #fbf9f4;
  --color-ink: #193548;         /* 濃紺 */
  --color-ink-70: #4a5f6f;
  --color-teal: #33867b;        /* 強調 */
  --color-button: #087f80;
  --color-button-end: #006b70;
  --color-mint: #edf4ef;
  --color-ochre: #a77b2d;
  --color-rule: #c5d0cb;
  --color-cta-bg: #193f50;

  --font-heading: "Noto Serif JP", "Noto Serif CJK JP", "Yu Mincho", "YuMincho",
                  "Hiragino Mincho ProN", serif;
  --font-body: "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic", "YuGothic",
               "Hiragino Sans", "Meiryo", sans-serif;

  --container: 1320px;
  --gutter: clamp(22px, 4.45vw, 64px);
  --header-height: 80px;
  --mobile-cta-height: 0px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: 6px; }
:focus-visible { outline: 3px solid var(--color-button); outline-offset: 4px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 18px; border-radius: 0 0 8px 8px;
  background: var(--color-cta-bg); color: #fff; font-size: 14px; text-decoration: none;
}
.skip-link:focus { top: 0; }

.container { width: min(calc(100% - var(--gutter) * 2), var(--container)); margin-inline: auto; }
.section { padding-block: 80px; position: relative; }

/* ---------- 共通の部品 ---------- */
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px; font-weight: 600; line-height: 1.7;
  letter-spacing: .24em; color: var(--color-button);
}
.section-title {
  margin: 0 0 40px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.42;
  letter-spacing: .02em;
}
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 12px;
  min-height: 56px; padding: 13px 28px;
  border: 0; border-radius: 999px;
  background: linear-gradient(115deg, var(--color-button), var(--color-button-end));
  color: #fff; font-weight: 600; font-size: 16px; line-height: 1.5;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 18px rgb(8 127 128 / 18%);
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.button:hover { background: var(--color-button-end); transform: translateY(-1px); box-shadow: 0 9px 22px rgb(8 127 128 / 24%); }
.button--light {
  background: var(--color-bg); color: var(--color-ink);
  box-shadow: 0 6px 20px rgb(0 0 0 / 18%);
}
.button--light:hover { background: #fff; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  text-decoration: underline; text-decoration-thickness: 1px;
  transition: color .2s ease;
}
.text-link:hover { color: var(--color-teal); }
.small-note { margin: 12px 0 0; font-size: 12px; line-height: 1.7; color: var(--color-ink-70); }

/* 手書き風の装飾文（補助。読み上げ対象外にはしない） */
.script-note {
  font-family: var(--font-heading);
  font-size: 14px; font-weight: 500; line-height: 1.9;
  color: var(--color-teal); letter-spacing: .04em;
}
.guide-line { display: block; width: 200px; max-width: 40vw; height: auto; margin-top: 4px; opacity: .8; }

/* 水彩の葉 */
.foliage {
  position: absolute; z-index: 0;
  width: 168px; opacity: .5;
  pointer-events: none; user-select: none;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-height);
  background: var(--color-bg);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgb(25 53 72 / 8%), 0 6px 18px rgb(25 53 72 / 5%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.site-header__brand { display: inline-flex; align-items: center; flex: none; }
.site-header__brand img { display: block; width: 220px; height: auto; }
.site-header__nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.site-header__nav a { text-decoration: none; padding-block: 6px; transition: color .2s ease; }
.site-header__nav a:not(.button):hover { color: var(--color-teal); }
.site-header__nav .button { min-height: 46px; padding: 10px 26px; font-size: 14px; }
.menu-toggle { display: none; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 650px; }
.hero__content { position: relative; z-index: 2; padding-block: 52px 56px; }
.hero__copy { width: 59%; }
.hero__label { margin: 0 0 30px; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.hero__title {
  margin: 0;
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(48px, 4.7vw, 70px); line-height: 1.5; letter-spacing: .015em;
}
.hero__title-line { display: block; white-space: nowrap; }
.hero__title-accent { color: var(--color-teal); }
.hero__mobile-break { display: none; }
.hero__intro { margin: 34px 0 40px; font-size: 18px; line-height: 1.85; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 28px; }
.hero__note { margin: 20px 0 0; font-size: 12px; color: var(--color-ink-70); }
.hero__art {
  position: absolute; z-index: 1; inset: 0 0 0 auto;
  width: 63%; height: 100%;
  object-fit: cover; object-position: 62% 52%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 27%);
          mask-image: linear-gradient(to right, transparent, #000 27%);
}
.hero__script {
  position: absolute; z-index: 2; right: 4.2%; top: 31%;
  font-size: 15px; line-height: 2; text-align: left; white-space: nowrap;
}
.hero__mobile-link { display: none; }
.br-sp { display: none; }

/* ---------- 対応の3項目 ---------- */
.trust-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--color-rule);
  padding-block: 26px;
}
.trust-strip__item {
  display: flex; justify-content: center; align-items: center; gap: 16px;
  padding-inline: 20px; font-size: 15px; font-weight: 500;
}
.trust-strip__item + .trust-strip__item { border-left: 1px solid var(--color-rule); }
.icon { width: 32px; height: 32px; flex: none; color: var(--color-ink); }

/* ---------- 共感 ---------- */
.empathy { padding-block: 80px; }
.empathy__head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.empathy__head .section-title { margin-bottom: 44px; }
.empathy__script { flex: none; padding-top: 6px; text-align: right; }
.empathy__script .guide-line { margin-left: auto; }
.empathy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.empathy-grid > * + * { border-left: 1px solid var(--color-rule); padding-left: 48px; }
.empathy-item { display: grid; grid-template-columns: 48px 1fr; gap: 22px; }
.item-number { color: var(--color-ochre); font-family: var(--font-heading); font-weight: 500; font-size: 36px; line-height: 1.2; }
.item-title { margin: 0 0 12px; font-family: var(--font-heading); font-weight: 700; font-size: 21px; line-height: 1.65; }
.item-body { margin: 0; line-height: 1.9; }

/* ---------- 大切にしていること ---------- */
.approach { position: relative; background: var(--color-mint); overflow: hidden; }
.approach > .container { position: relative; z-index: 1; }
.approach .section-title { margin-bottom: 44px; }
.approach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.approach-item { padding-inline: 28px; }

.approach-item:first-child { padding-left: 0; }
.approach-item + .approach-item { border-left: 1px solid var(--color-rule); }
.approach-item { display: grid; grid-template-columns: 46px 1fr; gap: 18px 16px; align-content: start; }
.approach-item .item-number { grid-row: 1; }
.approach-item .item-title { grid-column: 2; margin-bottom: 10px; }
.approach-item .item-body { grid-column: 2; }
.approach .foliage--right { right: -58px; bottom: -74px; width: 152px; transform: rotate(-16deg); }

/* ---------- 開発事例 ---------- */
.works { position: relative; background: var(--color-bg-soft); overflow: hidden; }
.works > .container { position: relative; z-index: 1; }
.works .eyebrow { margin-bottom: 18px; }
.works-grid { display: grid; grid-template-columns: .95fr 2.75fr 2fr; gap: 28px; align-items: start; }
.works__lead {
  margin: 0;
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(28px, 2.3vw, 34px); line-height: 1.62; letter-spacing: .02em;
}
.works__visual { margin: 0; }
.works__visual img { display: block; width: 100%; border-radius: 6px; box-shadow: 0 7px 24px rgb(25 53 72 / 8%); }
.works__visual figcaption { margin-top: 8px; font-size: 12px; color: var(--color-ink-70); }
.works__case-label {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 14px; font-size: 14px; font-weight: 600;
}
.works__case-label::before { content: ""; width: 1px; height: 15px; background: var(--color-rule); }
.works__case-title { margin: 0 0 12px; font-family: var(--font-heading); font-weight: 700; font-size: clamp(26px, 2.1vw, 30px); line-height: 1.6; }
.works__case-body { margin: 0 0 20px; line-height: 1.9; }
.works .foliage--right { right: -62px; top: 30%; width: 176px; transform: rotate(6deg); }
.works .foliage--left { left: -78px; bottom: -84px; width: 168px; transform: scaleX(-1) rotate(-10deg); }

/* ---------- 相談セクション ---------- */
.contact-section { background: var(--color-cta-bg); color: var(--color-bg); padding-block: 56px; position: relative; overflow: hidden; }
.contact-section__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.contact-section .section-title { margin-bottom: 14px; }
.contact-section__body { margin: 0; font-size: 16px; line-height: 1.9; color: #dfe8ea; }
.contact-section__actions { text-align: center; }
.contact-section__actions .small-note { color: #cbd9dc; }
.contact-section__script { margin-top: 18px; color: #9fd3c6; text-align: center; }
.contact-section__script .guide-line { margin-left: auto; margin-right: auto; opacity: .55; }

/* ---------- フッター ---------- */
.site-footer { background: var(--color-bg-foot); padding-block: 30px; font-size: 13px; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.site-footer__brand { display: flex; align-items: center; gap: 20px; }
.site-footer__brand img { display: block; width: 180px; height: auto; }
.site-footer__tagline { color: var(--color-ink-70); }
.site-footer__links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__services { margin: 14px 0 0; font-size: 12px; color: var(--color-ink-70); display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.site-footer__services a { text-decoration: none; }
.site-footer__services a:hover { text-decoration: underline; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-top: 18px; }
.site-footer__copy { font-size: 12px; color: var(--color-ink-70); }

/* ---------- スマホ用メニュー ---------- */
.mobile-menu { display: none; }

/* ---------- スマホ固定CTA ---------- */
.mobile-cta { display: none; }

/* ============================================================
   横幅が足りないPC（1200px以下）：文字の折り返しを整える
   ============================================================ */
@media (min-width: 768px) and (max-width: 1200px) {
  .empathy-grid { gap: 36px; }
  .empathy-grid > * + * { padding-left: 36px; }
  .empathy-item { grid-template-columns: 40px 1fr; gap: 16px; }
  .item-title { font-size: 19px; }
  .item-body { font-size: 15px; }
  .approach-item { padding-inline: 22px; grid-template-columns: 38px 1fr; gap: 14px 14px; }
}

/* ============================================================
   タブレット（768〜1023px）：列を減らして横幅不足を避ける
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  /* 「大切にしていること」は3列だと1行に収まらないため縦積みへ */
  .approach-grid { grid-template-columns: 1fr; }
  .approach-item, .approach-item:first-child { padding: 22px 0; }
  .approach-item + .approach-item { border-left: 0; border-top: 1px solid var(--color-rule); }
  .empathy-grid { grid-template-columns: 1fr; gap: 0; }
  .empathy-grid > * + * { border-left: 0; padding-left: 0; border-top: 1px solid var(--color-rule); }
  .empathy-item { padding-block: 22px; }
}

/* ============================================================
   タブレット（768〜1100px）
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  /* 見出しが画像の濃い部分に重ならないよう、画像を細く・フェードを長く */
  .hero__art { width: 50%;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 34%);
            mask-image: linear-gradient(to right, transparent, #000 34%); }
  .hero { min-height: 540px; }
  .hero__title { font-size: 40px; }
  .hero__copy { width: 64%; }
  .hero__intro { font-size: 16px; }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .hero__script { display: none; }
  .site-header__nav { gap: 16px; font-size: 12px; }
  .site-header__nav .button { padding: 10px 18px; font-size: 12px; }
  .site-header__brand img { width: 178px; }
  .trust-strip__item { font-size: 13px; gap: 10px; padding-inline: 10px; }
  .empathy__script { display: none; }
  .empathy-grid { gap: 32px; }
  .empathy-grid > * + * { padding-left: 32px; }
  .approach-item { padding-inline: 20px; }
  .works-grid { grid-template-columns: 1.15fr 1fr; }
  .works-grid > .works__lead { grid-column: 1 / -1; margin-bottom: 4px; }
  .contact-section__inner { grid-template-columns: 1fr; gap: 28px; }
  .contact-section__actions { text-align: left; }
  .contact-section__script { display: none; }
}

/* ============================================================
   スマートフォン（767px以下）
   ============================================================ */
@media (max-width: 767px) {
  :root { --gutter: 22px; --header-height: 64px; }

  body { padding-bottom: calc(var(--mobile-cta-height) + 8px); }
  .section { padding-block: 48px; }
  .section-title { font-size: 30px; line-height: 1.55; margin-bottom: 28px; }

  /* ヘッダー */
  .site-header__brand img { width: 176px; }
  .site-header__nav { display: none; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-width: 44px; min-height: 44px; padding: 4px;
    border: 0; background: none; cursor: pointer;
  }
  .menu-toggle__bars { display: block; width: 24px; height: 14px; position: relative; }
  .menu-toggle__bars span {
    position: absolute; left: 0; width: 100%; height: 1.6px; border-radius: 2px;
    background: var(--color-ink); transition: transform .28s ease, opacity .2s ease;
  }
  .menu-toggle__bars span:nth-child(1) { top: 0; }
  .menu-toggle__bars span:nth-child(2) { top: 6.2px; }
  .menu-toggle__bars span:nth-child(3) { top: 12.4px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(6.2px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-6.2px) rotate(-45deg); }
  .menu-toggle__label { font-size: 10px; letter-spacing: .08em; line-height: 1; }

  /* スマホメニュー */
  .mobile-menu {
    display: block; position: fixed; z-index: 60;
    inset: var(--header-height) 0 0;
    background: var(--color-bg);
    padding: 28px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    visibility: hidden; opacity: 0;
    /* 開くときは visibility を即座に切り替える（切替が遅れると
       開いた直後にメニュー内へフォーカスを移せないため） */
    transition: opacity .25s ease, visibility 0s linear .25s;
  }
  .mobile-menu.is-open {
    visibility: visible; opacity: 1;
    transition: opacity .25s ease, visibility 0s linear 0s;
  }
  .mobile-menu__list { list-style: none; margin: 0 0 28px; padding: 0; }
  .mobile-menu__list li + li { border-top: 1px solid var(--color-rule); }
  .mobile-menu__list a {
    display: block; padding: 17px 2px;
    font-family: var(--font-heading); font-weight: 600; font-size: 18px; text-decoration: none;
  }
  .mobile-menu__sub { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; font-size: 13px; }
  .mobile-menu__sub a { text-decoration: none; color: var(--color-ink-70); }
  body.is-menu-open { overflow: hidden; }

  /* ヒーロー */
  .hero { min-height: 0; }
  .hero__content { padding-block: 30px 0; }
  .hero__copy { width: 100%; }
  .hero__label { font-size: 12px; margin-bottom: 20px; }
  .hero__title { font-size: clamp(40px, 12.8vw, 52px); line-height: 1.42; letter-spacing: .01em; }
  .hero__mobile-break { display: inline; }
  /* 文字を大きくしても収まるよう、折り返し禁止を解除する */
  .hero__title-line { white-space: normal; }
  .hero__intro { margin: 18px 0 12px; font-size: 16px; line-height: 1.9; }
  /* インラインCTAと補足は、スマホでは固定CTAへ役割を移す（重複表示を避ける） */
  .hero__actions, .hero__script, .hero__note { display: none; }
  .hero__art {
    position: relative; display: block; width: 100%; height: 330px;
    margin-top: 22px;
    object-position: 52% 50%;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 89%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 89%, transparent);
  }
  .hero__mobile-link { display: flex; justify-content: center; margin: 4px 0 26px; }
  .br-sp { display: inline; }

  /* 対応の3項目 */
  .trust-strip { grid-template-columns: 1fr; padding-block: 8px; }
  .trust-strip__item { justify-content: flex-start; padding: 14px 4px; font-size: 13px; gap: 14px; }
  .trust-strip__item + .trust-strip__item { border-left: 0; border-top: 1px solid var(--color-rule); }
  .icon { width: 26px; height: 26px; }

  /* 共感 */
  .empathy { padding-block: 48px; }
  .empathy__head { display: block; }
  .empathy__head .section-title { margin-bottom: 4px; }
  .empathy__script { display: none; }
  .empathy-grid { grid-template-columns: 1fr; gap: 0; }
  .empathy-grid > * + * { border-left: 0; padding-left: 0; border-top: 1px solid var(--color-rule); }
  .empathy-item { display: block; padding-block: 24px; }
  .item-number { display: block; font-size: 32px; margin-bottom: 6px; }
  .item-title { font-size: 19px; margin-bottom: 8px; }
  .item-body { font-size: 14px; line-height: 1.95; }

  /* 大切にしていること */
  .approach-item, .approach-item:first-child { padding: 24px 0; grid-template-columns: 34px 1fr; gap: 8px 10px; }
  .approach-item .item-number { font-size: 26px; margin-bottom: 0; line-height: 1.5; }
  .approach-item + .approach-item { border-left: 0; border-top: 1px solid var(--color-rule); }
  .approach-grid { grid-template-columns: 1fr; gap: 0; }
  .approach .foliage--right { right: -30px; bottom: auto; top: -18px; width: 122px; }

  /* 開発事例 */
  .works-grid { grid-template-columns: 1fr; gap: 20px; }
  .works__lead { font-size: 28px; margin-bottom: 2px; }
  .works__case-title { font-size: 26px; line-height: 1.6; }
  .works__case-body { font-size: 15px; }
  .empathy-item .item-body { font-size: 14.5px; }
  .works .foliage--right { right: -34px; top: 8px; width: 126px; }
  .works .foliage--left { display: none; }

  /* 相談 */
  .contact-section { padding-block: 36px; }
  .contact-section__inner { grid-template-columns: 1fr; gap: 0; }
  .contact-section .section-title { font-size: 28px; }
  .contact-section__body { font-size: 15px; }
  .contact-section__actions, .contact-section__script { display: none; }

  /* フッター */
  .site-footer { padding-block: 26px; }
  .site-footer__inner { display: block; }
  .site-footer__brand { display: block; margin-bottom: 14px; }
  .site-footer__tagline { display: block; margin-top: 8px; }
  .site-footer__brand img { width: 168px; }
  .site-footer__links { gap: 8px 18px; margin-top: 14px; }
  .site-footer__bottom { margin-top: 14px; display: block; }
  .site-footer__copy { margin-top: 12px; }

  /* スマホ固定CTA */
  .mobile-cta {
    display: block; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
    padding: 10px 14px max(10px, env(safe-area-inset-bottom, 0px));
    background: var(--color-bg);
    border-top: 1px solid var(--color-rule);
    box-shadow: 0 -3px 12px rgb(25 53 72 / 6%);
    text-align: center;
  }
  .mobile-cta .button { width: 100%; min-height: 52px; padding: 12px 14px; font-size: 15px; line-height: 1.6; box-shadow: none; }
  .mobile-cta .small-note { margin: 4px 0 0; }
  body.is-menu-open .mobile-cta { display: none; }
}

/* 狭い画面（320〜374px） */
@media (max-width: 374px) {
  .hero__title { font-size: 41px; }
  .item-title { font-size: 17px; }
  .empathy-item .item-body, .item-body { font-size: 13.5px; }
  .site-header__brand img { width: 150px; }
  .mobile-cta .button { font-size: 13.5px; padding: 12px 10px; }
  .trust-strip__item { font-size: 12.5px; }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   下層ページ（できること／よくあるご質問）用（2026-09-10 追加）
   トップページと同じ語彙（罫線・明朝見出し・金茶の番号・広い余白）で組み、
   カードや影を増やしません。
   ※ この行から下を削除すると、トップページだけの状態に戻ります
   ============================================================ */

/* ---------- ページ見出し ---------- */
.page-head { position: relative; overflow: hidden; padding-block: 56px 44px; border-bottom: 1px solid var(--color-rule); }
.page-head > .container { position: relative; z-index: 1; }
.page-head h1 {
  margin: 0; font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(34px, 3.6vw, 52px); line-height: 1.42; letter-spacing: .02em;
}
.page-head .lead { margin: 20px 0 0; max-width: 46em; font-size: 17px; line-height: 1.9; }
.page-head .foliage--right { right: -60px; top: -70px; width: 190px; transform: rotate(150deg); }
.crumb { margin: 0 0 18px; font-size: 12px; color: var(--color-ink-70); }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* ---------- 数字の帯 ---------- */
.stats-band { border-bottom: 1px solid var(--color-rule); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-item { display: flex; align-items: center; gap: 16px; padding: 26px 24px; }
.stat-item:first-child { padding-left: 0; }
.stat-item + .stat-item { border-left: 1px solid var(--color-rule); }
.stat-item .icon { width: 28px; height: 28px; color: var(--color-teal); }
.stat-item strong { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 30px; line-height: 1.3; }
.stat-item strong small { font-size: 14px; font-weight: 600; margin-left: 3px; }
.stat-item strong.is-text { font-size: 19px; }
.stat-item em { display: block; font-style: normal; font-size: 12.5px; line-height: 1.6; color: var(--color-ink-70); margin-top: 3px; }

/* ---------- 課題提起の3項目 ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.problem-item { padding-inline: 28px; }
.problem-item:first-child { padding-left: 0; }
.problem-item + .problem-item { border-left: 1px solid var(--color-rule); }
.problem-item .icon { width: 30px; height: 30px; margin-bottom: 14px; color: var(--color-ink); }

/* ---------- 行で並べる一覧（事業内容・開発実績） ---------- */
.row-list { border-top: 1px solid var(--color-rule); }
.row-item {
  display: grid; grid-template-columns: minmax(240px, .82fr) 2fr; gap: 24px 44px;
  padding-block: 34px; border-bottom: 1px solid var(--color-rule);
}
.row-item__head { }
.row-item__title {
  margin: 8px 0 0; font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(21px, 1.7vw, 25px); line-height: 1.6;
}
.row-item__body { margin: 0; line-height: 1.95; }
.row-item__body + .row-item__body { margin-top: 10px; }
.row-item ul { margin: 0; padding-left: 1.15em; line-height: 1.95; }
.row-item ul li + li { margin-top: 2px; }
.row-item .text-link { margin-top: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  display: inline-block; padding: 3px 11px; border: 1px solid var(--color-rule);
  border-radius: 999px; font-size: 12px; line-height: 1.7; color: var(--color-ink-70);
}
.row-note { margin: 22px 0 0; font-size: 12.5px; line-height: 1.8; color: var(--color-ink-70); }

/* ---------- 特長 4項目 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 48px; }
.feature-item { display: grid; grid-template-columns: 48px 1fr; gap: 20px; }

/* ---------- 進め方 5ステップ ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flow-item { padding-inline: 20px; }
.flow-item:first-child { padding-left: 0; }
.flow-item + .flow-item { border-left: 1px solid var(--color-rule); }
.flow-item .item-number { display: block; margin-bottom: 10px; font-size: 30px; }
.flow-item .item-title { font-size: 18px; margin-bottom: 8px; }
.flow-item .item-body { font-size: 14.5px; }

/* ---------- 安心の3項目 ---------- */
.reassure-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reassure-item { padding-inline: 28px; }
.reassure-item:first-child { padding-left: 0; }
.reassure-item + .reassure-item { border-left: 1px solid var(--color-rule); }
.reassure-item .icon { width: 30px; height: 30px; margin-bottom: 14px; color: var(--color-teal); }

/* ---------- よくあるご質問 ---------- */
.faq-list { border-top: 1px solid var(--color-rule); }
.faq-item { border-bottom: 1px solid var(--color-rule); }
.faq-item > summary {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 26px 44px 26px 0; position: relative; cursor: pointer;
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65;
  list-style: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: ""; position: absolute; right: 6px; top: 34px;
  width: 13px; height: 13px; border-right: 1.6px solid var(--color-teal); border-bottom: 1.6px solid var(--color-teal);
  transform: rotate(45deg); transition: transform .25s ease;
}
.faq-item[open] > summary::after { transform: rotate(-135deg); top: 39px; }
.faq-item > summary:hover { color: var(--color-teal); }
.faq-q { flex: none; color: var(--color-ochre); font-weight: 500; }
.faq-answer { padding: 0 44px 28px 0; margin: 0; }
.faq-answer p { margin: 0; line-height: 1.95; }
.faq-answer p + p { margin-top: 14px; }

/* ---------- ページの下の案内 ---------- */
.page-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--color-rule); }
.page-links a {
  display: block; padding: 30px 28px; text-decoration: none;
  border-bottom: 1px solid var(--color-rule); transition: background-color .25s ease;
}
.page-links a:first-child { padding-left: 0; }
.page-links a + a { border-left: 1px solid var(--color-rule); }
.page-links a:hover { background: rgb(51 134 123 / 5%); }
.page-links .eyebrow { display: block; margin-bottom: 8px; }
.page-links strong { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 21px; line-height: 1.6; }

/* ---------- 横幅が足りないPC ---------- */
@media (min-width: 768px) and (max-width: 1200px) {
  .row-item { grid-template-columns: minmax(200px, .9fr) 1.7fr; gap: 20px 30px; }
  .problem-item, .reassure-item { padding-inline: 20px; }
  .flow-item { padding-inline: 13px; }
  .flow-item .item-title { font-size: 16px; }
  .flow-item .item-body { font-size: 13.5px; }
  .stat-item { padding-inline: 16px; gap: 12px; }
  .stat-item strong { font-size: 25px; }
  .stat-item strong.is-text { font-size: 16px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .problem-grid, .reassure-grid { grid-template-columns: 1fr; }
  .problem-item, .problem-item:first-child,
  .reassure-item, .reassure-item:first-child { padding: 24px 0; }
  .problem-item + .problem-item, .reassure-item + .reassure-item { border-left: 0; border-top: 1px solid var(--color-rule); }
  .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-item, .flow-item:first-child { padding: 22px 0 22px 24px; border-left: 1px solid var(--color-rule); }
  .flow-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .flow-item:nth-child(n+3) { border-top: 1px solid var(--color-rule); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat-item:nth-child(n+3) { border-top: 1px solid var(--color-rule); }
}

/* ---------- スマートフォン ---------- */
@media (max-width: 767px) {
  .page-head { padding-block: 30px 34px; }
  .page-head h1 { font-size: clamp(29px, 8.6vw, 36px); }
  .page-head .lead { font-size: 15.5px; margin-top: 16px; }
  .page-head .foliage--right { right: -34px; top: -40px; width: 126px; }

  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-item { padding: 18px 12px; gap: 11px; }
  .stat-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat-item:nth-child(n+3) { border-top: 1px solid var(--color-rule); }
  .stat-item .icon { width: 22px; height: 22px; }
  .stat-item strong { font-size: 23px; }
  .stat-item strong.is-text { font-size: 15px; }
  .stat-item em { font-size: 11.5px; }

  .problem-grid, .reassure-grid, .feature-grid, .flow-grid { grid-template-columns: 1fr; gap: 0; }
  .problem-item, .problem-item:first-child,
  .reassure-item, .reassure-item:first-child,
  .flow-item, .flow-item:first-child { padding: 22px 0; }
  .problem-item + .problem-item,
  .reassure-item + .reassure-item,
  .flow-item + .flow-item { border-left: 0; border-top: 1px solid var(--color-rule); }
  .feature-item { padding-block: 20px; grid-template-columns: 40px 1fr; gap: 14px; }
  .feature-item + .feature-item { border-top: 1px solid var(--color-rule); }
  .flow-item .item-number { font-size: 26px; margin-bottom: 6px; }
  .flow-item .item-title { font-size: 17px; }

  .row-item { grid-template-columns: 1fr; gap: 14px; padding-block: 26px; }
  .row-item__title { font-size: 20px; }
  .row-item__body, .row-item ul { font-size: 14.5px; }
  .tag { font-size: 11.5px; padding: 2px 9px; }

  .faq-item > summary { padding: 20px 34px 20px 0; font-size: 16.5px; gap: 10px; }
  .faq-item > summary::after { top: 27px; width: 11px; height: 11px; }
  .faq-item[open] > summary::after { top: 31px; }
  .faq-answer { padding: 0 0 22px; }
  .faq-answer p { font-size: 14.5px; }

  .page-links { grid-template-columns: 1fr; }
  .page-links a, .page-links a:first-child { padding: 22px 0; }
  .page-links a + a { border-left: 0; }
  .page-links strong { font-size: 19px; }
}
