/* =========================================================
   TUS WEB Design Lab 自社サイト  スタイル（見た目）
   - スマホの見た目を基本に書き、画面が広いときだけ上書きしています
   - 色や文字の大きさは、下の「:root」でまとめて変えられます
   ========================================================= */

/* ---------- 色・書体・サイズの設定 ---------- */
:root {
  --navy: #0f2a4a;        /* メインの色（見出し・ボタン） */
  --navy-hover: #1c3d66;  /* ボタンにカーソルを乗せたとき */
  --text: #22303f;        /* 本文の文字 */
  --text-sub: #4f5d6b;    /* 補足の文字 */
  --sky: #a9cfea;         /* 水色（線・アクセント） */
  --sky-pale: #eaf3fa;    /* 薄い水色（強調する面） */
  --surface: #f4f7fa;     /* 薄いグレーの面 */
  --line: #dde4eb;        /* 区切り線 */
  --white: #ffffff;
  --tbd: #8a5a00;         /* （要確認）の文字色 */
  --tbd-bg: #fff6e0;      /* （要確認）の背景色 */

  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Cormorant Garamond", "Garamond", "Georgia", serif;

  --container: 1080px;
  --gutter: 20px;
  --header-h: 64px;
}

/* ---------- 基本のリセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  padding: 8px 16px; background: var(--navy); color: var(--white);
}
.skip-link:focus { top: 8px; }

/* （要確認）の印：公開前にすべて消すための目印 */
.tbd {
  background: var(--tbd-bg);
  color: var(--tbd);
  padding: 0 0.25em;
  border-radius: 2px;
}

/* ---------- レイアウト ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: calc(800px + var(--gutter) * 2); }

.section { padding: 72px 0; }
.section--tint { background: var(--surface); }

/* ---------- 見出し ---------- */
.eyebrow {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  line-height: 1.4;
}
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head h2 {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.625rem;
  line-height: 1.6;
  color: var(--navy);
  letter-spacing: 0.06em;
}
.sec-head h2::after {
  content: "";
  display: block;
  width: 40px; height: 2px;
  margin: 16px auto 0;
  background: var(--sky);
}
.sec-head--left { text-align: left; }
.sec-head--left h2::after { margin-left: 0; }
.sec-lead { text-align: center; margin-bottom: 32px; }

.sub-title {
  margin: 56px 0 24px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy);
  text-align: center;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-hover); }
.btn--secondary { background: var(--white); color: var(--navy); }
.btn--secondary:hover { background: var(--sky-pale); }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { flex: 1 1 auto; }
.btn-row--center { justify-content: center; margin-top: 40px; }
.btn-row--center .btn { flex: 0 1 360px; }

.text-link { font-weight: 700; }
.text-link::after { content: " →"; }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ロゴ（文字でつくっています。拡大してもぼやけません） */
.logo {
  display: inline-flex; flex-direction: column; align-items: center;
  text-decoration: none; color: var(--navy); line-height: 1;
}
.logo__main {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.625rem;
  letter-spacing: 0.08em;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--sky);
}
.logo__sub {
  margin-top: 5px;
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  letter-spacing: 0.3em;
  color: var(--text-sub);
}

/* スマホのメニューボタン */
.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 4px;
  background: none; border: 0; color: var(--navy);
  font: inherit; font-size: 0.875rem; font-weight: 700; cursor: pointer;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block; width: 22px; height: 2px; background: var(--navy);
  transition: transform 0.2s;
}
.nav-toggle__bar { position: relative; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* スマホのメニュー（開いたとき） */
.nav {
  display: none;
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  padding: 16px var(--gutter) 32px;
  background: var(--white);
  overflow-y: auto;
}
.nav.is-open { display: block; }
.nav__list a {
  display: block; padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text); text-decoration: none; font-weight: 700;
}
.nav__cta { display: flex; margin-top: 24px; }
body.nav-open { overflow: hidden; }

/* ---------- ファーストビュー ---------- */
.hero { padding: 48px 0 0; }
.hero__title {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 6.6vw, 2.75rem);
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--navy);
}
.nobr { display: inline-block; } /* 言葉の途中で改行させない */
.hero__body { margin-top: 24px; }
.hero__lead { color: var(--text); }
.hero__notice { margin: 20px 0 24px; font-size: 0.9375rem; }
.hero__notice a {
  display: inline-block;
  padding: 4px 14px;
  background: var(--sky-pale);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
}
.hero__notice a:hover { text-decoration: underline; }
.hero__photo { margin-top: 48px; }

/* ---------- 写真の枠（写真がないときは「ここに〇〇の写真」を表示） ---------- */
.photo {
  position: relative;
  overflow: hidden;
  background: var(--sky-pale);
}
.photo--16x9 { aspect-ratio: 16 / 9; }
.photo--4x3  { aspect-ratio: 4 / 3; }
.photo--1x1  { aspect-ratio: 1 / 1; }
.photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.photo__ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 12px;
  border: 1px dashed var(--sky);
  color: var(--text-sub);
  font-size: 0.875rem; text-align: center; line-height: 1.5;
}
.photo__ph small { font-size: 0.75rem; letter-spacing: 0.02em; }
/* JavaScriptが動くときは、写真の読み込みが終わるまで写真を隠す（壊れた画像のマークを出さないため） */
.js .photo img { opacity: 0; transition: opacity 0.3s; }
.js .photo img.is-loaded { opacity: 1; }
/* 公開用：写真がまだないときは「ここに〇〇の写真」の案内を出さない（設定は js/main.js の先頭） */
.hide-placeholders .photo__ph { visibility: hidden; }
/* 写真がないときは、文章だけで1列に並べる */
.service.no-photo { grid-template-columns: 1fr !important; max-width: 760px; margin-left: auto; margin-right: auto; }
.member.no-photo { padding-top: 20px; border-top: 1px solid var(--navy); }

/* ---------- こんなお悩みありませんか ---------- */
.concern-list { border-top: 1px solid var(--line); }
.concern-list li {
  padding: 18px 4px 18px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.concern-list li::before {
  content: "";
  position: absolute; left: 4px; top: calc(18px + 0.95em);
  width: 12px; height: 1px; background: var(--navy);
}
.concern-close {
  margin-top: 40px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy);
  text-align: center;
  line-height: 1.7;
}

/* ---------- 選ばれる理由 ---------- */
.reason-grid { display: grid; gap: 0; }
.reason {
  padding: 28px 0;
  border-top: 1px solid var(--navy);
}
.reason:last-child { border-bottom: 1px solid var(--line); }
.reason h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 10px;
}
.reason p { color: var(--text); }

/* ---------- サービス ---------- */
.service { display: grid; gap: 24px; }
.service + .service { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
.service h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--navy);
  line-height: 1.5;
}
.service__lead { margin: 10px 0 18px; }
.check-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  border-bottom: 1px dotted var(--line);
}
.check-list li::before {
  content: "";
  position: absolute; left: 2px; top: 1.05em;
  width: 9px; height: 5px;
  border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: rotate(-45deg);
}
.support-list { border-top: 1px solid var(--navy); }
.support-list > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.support-list dt { font-weight: 700; color: var(--navy); }
.support-list dd { margin-top: 4px; font-size: 0.9375rem; }

.note { font-size: 0.9375rem; color: var(--text-sub); }
.note--center { text-align: center; margin-top: 32px; }
.note-list { margin-top: 20px; font-size: 0.9375rem; color: var(--text-sub); }
.note-list li { position: relative; padding-left: 1.2em; margin-top: 6px; }
.note-list li::before { content: "※"; position: absolute; left: 0; }

/* ---------- 料金 ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-top: 2px solid var(--navy);
}
.price-table th, .price-table td {
  padding: 18px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}
.price-table thead th {
  font-size: 0.8125rem; font-weight: 700; color: var(--text-sub);
  padding-top: 12px; padding-bottom: 12px;
}
.price-table tbody th { font-weight: 700; width: 55%; }
/* スマホでは「区分」と「金額」を縦に並べて、金額が途中で改行されないようにする */
@media (max-width: 767px) {
  .price-table thead { display: none; }
  .price-table tr { display: block; border-bottom: 1px solid var(--line); }
  .price-table th, .price-table td { display: block; width: auto !important; padding: 0 14px; border-bottom: 0; }
  .price-table th { padding-top: 16px; }
  .price-table td { padding-top: 6px; padding-bottom: 16px; }
}
.price-table .is-featured th,
.price-table .is-featured td { background: var(--sky-pale); }
.price-table strong {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--navy);
}
.price-title {
  margin: 40px 0 14px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1875rem;
  color: var(--navy);
}
.price-table + .note-list, .price-title + .check-list { margin-top: 16px; }
.price-table__sub {
  display: block; margin-top: 4px;
  font-size: 0.8125rem; font-weight: 400; color: var(--text-sub);
}

/* ---------- ご依頼の流れ ---------- */
.flow { counter-reset: step; display: grid; gap: 0; }
.flow__step {
  counter-increment: step;
  position: relative;
  padding: 0 0 32px 64px;
}
.flow__step::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--navy);
  border-radius: 50%;
  background: var(--white);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy);
}
.flow__step:not(:last-child)::after {
  content: "";
  position: absolute; left: 22px; top: 44px; bottom: 0;
  width: 1px; background: var(--sky);
}
.flow__step h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--navy);
  line-height: 44px;
}
.flow__step p { margin-top: 4px; font-size: 0.9375rem; }

/* ---------- 制作実績（件数が増えても自動で並びます） ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 32px 24px;
}
.work { background: var(--white); border: 1px solid var(--line); }
.work__body { padding: 20px; }
.work__meta { font-size: 0.8125rem; color: var(--text-sub); }
.work h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 6px;
}
.work--recruit {
  display: flex; align-items: center;
  border: 1px solid var(--sky);
  background: var(--sky-pale);
  min-height: 220px;
}
.work--recruit .work__body { padding: 28px; }
.work--recruit p { margin-bottom: 12px; }
/* 実績がまだ0件のときは、案内を横いっぱいに広げて中央にそろえる */
.work--recruit:only-child { grid-column: 1 / -1; justify-content: center; text-align: center; min-height: 240px; }
.work--recruit:only-child h3 { font-size: 1.375rem; }

/* ---------- 私たちについて ---------- */
.about__text p + p { margin-top: 1em; }
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 40px 24px;
}
.member .photo { margin-bottom: 16px; }
.member__role { font-size: 0.8125rem; color: var(--text-sub); font-weight: 700; }
.member__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--navy);
  line-height: 1.5;
}
.member__info { font-size: 0.8125rem; color: var(--text-sub); }
.member__comment { margin-top: 10px; font-size: 0.9375rem; }

/* ---------- よくある質問（開いたり閉じたりできます） ---------- */
.faq-group {
  margin: 40px 0 12px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.1em;
}
.faq-group:first-of-type { margin-top: 0; }
.faq { border-top: 1px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); background: var(--white); }
.faq summary {
  position: relative;
  display: block;
  padding: 18px 52px 18px 16px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q.";
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--navy);
  margin-right: 8px;
}
.faq summary::after {
  content: "";
  position: absolute; right: 22px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 16px 20px 44px; color: var(--text); }

/* ---------- お問い合わせ ---------- */
.contact { background: var(--sky-pale); }
.contact__grid { display: grid; gap: 40px; }
.contact__intro .sec-head { margin-bottom: 24px; }
.contact-list { margin-top: 28px; border-top: 1px solid var(--navy); }
.contact-list > div { padding: 14px 0; border-bottom: 1px solid var(--sky); }
.contact-list dt { font-size: 0.8125rem; font-weight: 700; color: var(--text-sub); }
.contact-list dd { font-weight: 700; }
.contact-list__sub { font-size: 0.8125rem; font-weight: 400; color: var(--text-sub); }

.form { background: var(--white); padding: 28px 20px; border: 1px solid var(--line); }
.form__field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.form label, .form legend { display: block; font-weight: 700; margin-bottom: 8px; padding: 0; }
.req, .opt {
  display: inline-block;
  margin-left: 8px;
  padding: 0 8px;
  font-size: 0.75rem;
  line-height: 1.7;
  vertical-align: 0.1em;
  border-radius: 2px;
}
.req { background: var(--navy); color: var(--white); }
.opt { background: var(--surface); color: var(--text-sub); }
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #8796a5;
  border-radius: 2px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 1rem; /* 16px未満だとiPhoneで画面が拡大されるため */
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--navy); outline: 3px solid var(--sky); outline-offset: 0; }
.radio-group { display: grid; gap: 8px; }
.radio-group label, .form__agree label {
  display: flex; align-items: center; gap: 10px;
  min-height: 48px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  font-weight: 400;
  cursor: pointer;
}
.form__agree label { border: 0; padding: 0; }
.form__agree label > span { flex: 1; }
.radio-group input, .form__agree input { width: 20px; height: 20px; margin: 0; accent-color: var(--navy); flex-shrink: 0; }
.form [aria-invalid="true"] { border-color: #b3261e; }
.form__error { display: block; margin-top: 6px; color: #b3261e; font-size: 0.875rem; font-weight: 700; }
/* 段階的に選ぶフォームの番号と案内 */
.form__step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin-right: 10px;
  border: 1px solid var(--navy); border-radius: 50%;
  font-family: var(--font-en); font-weight: 600; font-size: 1rem; line-height: 1;
  color: var(--navy);
  vertical-align: 0.05em;
}
.form__step-title {
  margin: 8px 0 18px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}
.form__hint:not(:empty) { margin: -6px 0 0; font-size: 0.875rem; color: var(--text-sub); }
.form fieldset[aria-invalid="true"] .radio-group label { border-color: #b3261e; }
.form__status:not(:empty) {
  margin-bottom: 16px; padding: 12px 14px;
  background: var(--tbd-bg); color: #5c3c00; font-size: 0.9375rem;
}

/* ---------- プライバシーポリシー（privacy.html） ---------- */
.header__back { min-height: 44px; padding: 8px 18px; font-size: 0.875rem; }
.legal__title {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.625rem;
  color: var(--navy);
  letter-spacing: 0.06em;
}
.legal__title::after { content: ""; display: block; width: 40px; height: 2px; margin: 16px auto 0; background: var(--sky); }
.legal h2 {
  margin: 48px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1875rem;
  color: var(--navy);
}
.legal p + p { margin-top: 1em; }
.legal .note-list, .legal .support-list, .legal .contact-list { margin-top: 12px; }
.legal .note-list { color: var(--text); font-size: 1rem; }
.legal .note-list li::before { content: "・"; }
.legal__date { margin-top: 48px; text-align: right; color: var(--text-sub); font-size: 0.875rem; }

/* ---------- フッター ---------- */
.footer {
  padding: 56px 0 32px;
  background: var(--navy);
  color: #e6edf4;
  font-size: 0.875rem;
}
.footer a { color: var(--white); }
.logo--footer { color: var(--white); align-items: flex-start; }
.logo--footer .logo__sub { color: #c7d3df; }
.footer__desc { margin-top: 14px; }
.footer__top { display: grid; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer__links a { display: inline-block; padding: 10px 0; }
.footer__note { margin-top: 24px; color: #c7d3df; font-size: 0.8125rem; }
.footer__copy { margin-top: 8px; color: #c7d3df; }

/* ---------- スマホ用：画面下の相談ボタン ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.25s;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { min-height: 48px; }

/* =========================================================
   画面が広いとき（タブレット：768px以上）
   ========================================================= */
@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 76px; }
  body { font-size: 17px; }
  .section { padding: 112px 0; }
  .sec-head { margin-bottom: 56px; }
  .sec-head h2 { font-size: 2rem; }

  .reason-grid { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  /* 理由の数が奇数のときは、最後の1つを横いっぱいに */
  .reason:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .reason:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }

  .service { grid-template-columns: 5fr 6fr; gap: 48px; align-items: start; }
  .service:nth-of-type(even) .service__photo { order: 2; }

  .flow { grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
  .flow__step { padding: 0; }
  .flow__step::before { position: static; margin-bottom: 14px; }
  .flow__step:not(:last-child)::after { left: 56px; right: -24px; top: 22px; bottom: auto; width: auto; height: 1px; }
  .flow__step:nth-child(3)::after { display: none; }
  .flow__step h3 { line-height: 1.6; }

  .form { padding: 40px; }
  .radio-group { grid-template-columns: 1fr 1fr; }

  .footer__top { grid-template-columns: 1fr auto; align-items: end; }

  .sticky-cta { display: none; }
}

/* =========================================================
   画面がさらに広いとき（パソコン：1024px以上）
   ========================================================= */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav {
    display: flex; align-items: center; gap: 28px;
    position: static; padding: 0; background: none; overflow: visible;
  }
  .nav__list { display: flex; gap: 24px; }
  .nav__list a {
    padding: 8px 0; border: 0;
    font-size: 0.875rem; font-weight: 700; color: var(--text);
  }
  .nav__list a:hover { color: var(--navy); text-decoration: underline; }
  .nav__cta { margin: 0; min-height: 44px; padding: 8px 22px; font-size: 0.875rem; }

  .hero { padding-top: 88px; }
  .hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: end; }
  .hero__body { margin-top: 0; }
  .hero__photo { margin-top: 72px; }

  .about { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .about .sec-head { text-align: left; margin-bottom: 0; }
  .about .sec-head h2::after { margin-left: 0; }
  .sub-title { margin-top: 88px; }

  .contact__grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
}
