/* =========================================================
   ITTOA -イットア-
   一棟アパート・マンションの買取相談サイト
   Operated by テックプロパティジャパン株式会社

   デザイン方針
   ・相続や空室で悩む方に寄り添う、温かく落ち着いたトーン
   ・書体はゴシック体で統一（可読性優先）
   ・シニア層でも読みやすいよう、本文17px／高コントラストを徹底
   ・主要色はロゴから採取した紺とオレンジ
   ========================================================= */

:root {
  /* --- 主要色（すべて白背景でコントラスト比4.5:1以上） --- */
  --navy:        #0E3D5E;   /* ロゴの紺（対白 10.5:1） */
  --navy-deep:   #092C45;   /* ナビのホバー・フッター */
  --accent:      #A85122;   /* ロゴのオレンジ（対白 5.8:1） */
  --accent-dark: #8B3F16;

  /* --- ベース（温かみ） --- */
  --cream:       #FBF8F4;
  --cream-deep:  #F2EBE1;
  --sand:        #E9DECF;
  --white:       #FFFFFF;
  --accent-soft: #F7E6DA;

  /* --- 文字（高コントラスト） --- */
  --text:        #232020;   /* 対クリーム 15:1 */
  --text-soft:   #4E4741;   /* 対クリーム 8.3:1 */
  --line:        #D9CDBD;

  --radius:      14px;
  --radius-sm:   10px;
  --shadow:      0 8px 28px rgba(60, 45, 30, 0.12);
  --shadow-sm:   0 2px 10px rgba(60, 45, 30, 0.09);
  --max:         1120px;

  --sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
          "Yu Gothic Medium", "Yu Gothic", "Meiryo", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.95;
  font-size: 17px;              /* 読みやすさ優先 */
  -webkit-font-smoothing: antialiased;
  /* 禁則処理を強めに。長音符「ー」や小書きかな（ャュョッ等）が行頭に
     こぼれる（例:「プロフ／ェッショナル」）のを防ぐ。 */
  line-break: strict;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
/* --- 改行の出し分け（PC/スマホ） --- */
.sp-only { display: none; }
.pc-only { display: inline; }

.center { text-align: center; }

/* =========================================================
   ヘッダー
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo { display: flex; flex-direction: column; gap: 4px; line-height: 1.3; }
.logo .logo-row { display: flex; align-items: center; }
.logo .logo-img { height: 46px; width: auto; }
/* ロゴ下のタグラインは「・」でのみ折り返す（1文字だけ溢れるのを防ぐ） */
.logo .sub { font-size: 0.78rem; color: var(--text-soft); font-weight: 700; word-break: keep-all; }

.header-contact { display: flex; align-items: center; gap: 18px; }
.header-tel { text-align: right; line-height: 1.3; }
.header-tel .label { font-size: 0.72rem; color: var(--text-soft); font-weight: 700; }
.header-tel .num {
  font-size: 1.7rem; font-weight: 800; color: var(--navy);
  letter-spacing: 0.01em;
}
.header-tel .num::before { content: "\260E"; font-size: 1.05rem; margin-right: 6px; }
.header-tel .time { font-size: 0.72rem; color: var(--text-soft); font-weight: 600; }

.btn-header {
  background: var(--accent); color: var(--white);
  font-weight: 800; padding: 15px 26px;
  border-radius: 8px; font-size: 1rem;
  box-shadow: 0 3px 0 var(--accent-dark);
  transition: transform .1s, box-shadow .1s;
  white-space: nowrap;
}
.btn-header:hover { transform: translateY(2px); box-shadow: 0 1px 0 var(--accent-dark); }

/* ---------- ナビ ---------- */
.nav { background: var(--navy); }
.nav-inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; }
.nav a {
  font-size: 1rem; font-weight: 700; color: var(--white);
  padding: 15px 22px; position: relative; transition: background .15s;
}
.nav a:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); height: 18px; width: 1px;
  background: rgba(255,255,255,.25);
}
.nav a:hover, .nav a.current { background: var(--navy-deep); }
.nav-toggle { display: none; }

/* =========================================================
   見出し・セクション
   ========================================================= */
.page-hero {
  background: var(--cream-deep);
  padding: 52px 20px; text-align: center;
  border-bottom: 4px solid var(--navy);
}
.page-hero h1 { font-size: 2.1rem; font-weight: 800; color: var(--navy); letter-spacing: 0.02em; }
.page-hero p { margin-top: 12px; color: var(--text-soft); font-size: 1rem; }

.breadcrumb { font-size: 0.86rem; color: var(--text-soft); padding: 16px 0; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }

.section { padding: 70px 0; }
.section.alt { background: var(--cream-deep); }

.section-head { text-align: center; margin-bottom: 46px; }
.section-head .en {
  display: block; color: var(--accent);
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.2em; margin-bottom: 10px;
}
.section-head h2 {
  font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: 0.02em;
  line-height: 1.5;
}
.section-head h2 .mk { color: var(--accent); }
.section-head .lead { margin-top: 16px; color: var(--text-soft); font-size: 1.02rem; }

/* ブランドロックアップ（ロゴ全体を見せる箇所） */
.brand-lockup { text-align: center; margin: 0 auto 56px; }
.brand-lockup img { width: 100%; max-width: 340px; height: auto; margin: 0 auto; }

h3.block-title {
  font-size: 1.45rem; font-weight: 800; color: var(--navy);
  margin: 46px 0 20px; padding-left: 16px;
  border-left: 6px solid var(--accent); letter-spacing: 0.02em;
}

/* =========================================================
   ボタン
   ========================================================= */
.btn {
  display: inline-block; font-weight: 800;
  border-radius: 8px; padding: 18px 40px;
  transition: transform .1s, box-shadow .1s;
  cursor: pointer; border: none; font-size: 1.1rem;
}
.btn-cta {
  background: var(--accent); color: var(--white);
  box-shadow: 0 4px 0 var(--accent-dark);
}
.btn-cta:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--accent-dark); }
.btn-outline {
  background: var(--white); color: var(--navy); border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 21px 50px; font-size: 1.2rem; }

/* =========================================================
   トップ ヒーロー
   ========================================================= */
.hero {
  background: linear-gradient(170deg, #FDFBF8 0%, var(--cream-deep) 60%, var(--sand) 100%);
  border-bottom: 4px solid var(--navy);
  position: relative;
  overflow: hidden;
}
/* 右側の背景イメージ（ロゴのイラストを半透明で配置） */
.hero::after {
  content: "";
  position: absolute;
  right: -3%;
  top: 52%;
  transform: translateY(-50%);
  width: 52%;
  max-width: 660px;
  aspect-ratio: 1100 / 643;
  background: url("../img/hero-illust.png") no-repeat center / contain;
  opacity: 0.16;
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max); margin: 0 auto; padding: 70px 20px 78px;
  position: relative; z-index: 1;   /* イメージより前面に */
}
.hero .tag {
  display: inline-block;
  background: var(--navy); color: var(--white);
  font-weight: 800; font-size: 0.94rem;
  padding: 8px 22px; border-radius: 6px; margin-bottom: 26px;
}
.hero h1 {
  font-size: 2.9rem; font-weight: 800; line-height: 1.45;
  letter-spacing: 0.01em; color: var(--navy);
}
.hero h1 .hl {
  color: var(--accent);
  background: linear-gradient(transparent 66%, rgba(166,75,33,.20) 66%);
}
.hero .hero-sub { margin-top: 24px; font-size: 1.15rem; line-height: 2; color: var(--text); }
.hero .hero-sub strong { color: var(--accent-dark); font-weight: 800; }

.hero-badges { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges span {
  background: var(--white); border: 2px solid var(--navy);
  padding: 9px 18px; border-radius: 6px;
  font-size: 0.98rem; font-weight: 800; color: var(--navy);
}
.hero-badges span::before { content: "\2713 "; color: var(--accent); font-weight: 900; }
.hero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* =========================================================
   訴求バー
   ========================================================= */
.strip {
  background: var(--navy); color: var(--white);
  text-align: center; padding: 22px 20px;
  font-weight: 800; font-size: 1.16rem; letter-spacing: 0.02em;
}

/* =========================================================
   カード
   ========================================================= */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
/* 4項目は 2×2 に揃える（3＋1 の余りを防ぐ） */
@media (min-width: 769px) { .cards.two { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  border: 2px solid var(--line);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--navy); }
.card .icon {
  width: 60px; height: 60px; border-radius: 8px;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; margin-bottom: 18px;
}
.card h3 { font-size: 1.28rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 1rem; }
.card .more { display: inline-block; margin-top: 16px; color: var(--accent); font-weight: 800; font-size: 1rem; }
.card .more::after { content: " \2192"; }

/* 選ばれる理由 */
.reasons { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); }
.reason {
  background: var(--white); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  border: 2px solid var(--line); border-top: 6px solid var(--navy);
}
.reason .no {
  display: inline-block; font-size: 0.82rem; font-weight: 800;
  letter-spacing: 0.1em; color: var(--accent);
}
.reason h3 { font-size: 1.34rem; color: var(--navy); margin: 8px 0 12px; font-weight: 800; }
.reason p { color: var(--text-soft); font-size: 1rem; }

/* =========================================================
   訳ありリスト
   ========================================================= */
.wakeari-list {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(210px,1fr));
  margin-top: 10px; list-style: none;
}
.wakeari-list li {
  background: var(--white); border: 2px solid var(--line);
  border-radius: 8px; padding: 15px 20px;
  font-weight: 800; font-size: 1.02rem; color: var(--navy);
}
.wakeari-list li::before { content: "\2713"; color: var(--accent); font-weight: 900; margin-right: 8px; }

/* =========================================================
   査定方法
   ========================================================= */
.method {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 2px solid var(--line);
  overflow: hidden; margin-bottom: 30px;
}
.method-head {
  background: var(--navy); color: var(--white);
  padding: 22px 30px; display: flex; align-items: center; gap: 18px;
}
.method-head .num {
  background: var(--white); color: var(--navy);
  width: 44px; height: 44px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.2rem; flex-shrink: 0;
}
.method-head h3 { font-size: 1.4rem; font-weight: 800; }
.method-head .kana { font-size: 0.78rem; color: #C7D5E2; font-weight: 600; display: block; }
.method-body { padding: 28px 30px; }
.method-body .formula {
  background: var(--accent-soft); border: 2px dashed var(--accent);
  border-radius: var(--radius-sm); padding: 18px 20px;
  font-weight: 800; font-size: 1.06rem; color: var(--accent-dark);
  margin: 18px 0; text-align: center;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag-list span {
  background: var(--cream-deep); color: var(--navy); border: 1px solid var(--line);
  font-size: 0.9rem; font-weight: 800; padding: 6px 14px; border-radius: 6px;
}

/* =========================================================
   テーブル
   ========================================================= */
.table-scroll { overflow-x: auto; }
table.tbl {
  width: 100%; border-collapse: collapse; background: var(--white);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); font-size: 1rem; min-width: 560px;
}
table.tbl th, table.tbl td {
  border: 1px solid var(--line); padding: 16px 18px;
  text-align: left; vertical-align: top;
}
table.tbl th {
  background: var(--navy); color: var(--white);
  font-weight: 800; white-space: nowrap;
}
table.tbl td.rowhead { background: var(--cream-deep); font-weight: 800; color: var(--navy); white-space: nowrap; }
table.tbl tr:nth-child(even) td:not(.rowhead) { background: #FCFAF7; }

/* =========================================================
   ステップ
   ========================================================= */
.steps { display: grid; gap: 20px; }
.step {
  display: flex; gap: 24px; background: var(--white);
  border-radius: var(--radius); padding: 28px 30px;
  box-shadow: var(--shadow-sm); border: 2px solid var(--line);
}
.step .step-no {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 8px;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.3rem;
}
.step h3 { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.step p { color: var(--text-soft); font-size: 1rem; }
.step .term {
  display: inline-block; margin-top: 10px;
  font-size: 0.86rem; font-weight: 800; color: var(--accent-dark);
  background: var(--accent-soft); padding: 5px 14px; border-radius: 6px;
}

/* =========================================================
   売却事例
   ========================================================= */
.case {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 2px solid var(--line);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case .case-img { background: var(--navy); color: var(--white); padding: 24px; }
.case .case-img .type {
  display: inline-block; background: var(--white); color: var(--navy);
  font-size: 0.86rem; font-weight: 800;
  padding: 4px 12px; border-radius: 5px; margin-bottom: 10px;
}
/* 所在地は1行に収める（長い地名は自動で縮小） */
.case .case-img .loc {
  font-size: 1.12rem; font-weight: 800;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: -0.01em;
}
.case .case-body { padding: 24px; }
.case .price { font-size: 1.8rem; font-weight: 900; color: var(--accent-dark); margin-bottom: 4px; }
.case .price small { font-size: 0.84rem; color: var(--text-soft); font-weight: 700; }
.case dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 0.96rem; margin-top: 14px; }
.case dt { color: var(--text-soft); font-weight: 800; white-space: nowrap; }
.case .badge-wakeari {
  display: inline-block; margin-top: 12px;
  background: var(--accent-soft); color: var(--accent-dark);
  font-size: 0.88rem; font-weight: 800; padding: 5px 14px; border-radius: 6px;
}

/* --- 買取事例の「すべて見る」折りたたみ --- */
.case-more { margin-top: 28px; }
.case-more > summary {
  list-style: none; cursor: pointer;
  display: inline-block; margin: 0 auto;
  padding: 15px 40px; border: 2px solid var(--navy); border-radius: 8px;
  background: var(--white); color: var(--navy);
  font-weight: 800; font-size: 1.02rem;
  transition: background .15s, color .15s;
}
.case-more { text-align: center; }
.case-more .cards { text-align: left; }
.case-more > summary::-webkit-details-marker { display: none; }
.case-more > summary:hover { background: var(--navy); color: var(--white); }
.case-more > summary .open::after { content: " ▼"; font-size: 0.8em; }
.case-more > summary .close { display: none; }
.case-more > summary .close::after { content: " ▲"; font-size: 0.8em; }
.case-more[open] > summary .open { display: none; }
.case-more[open] > summary .close { display: inline; }

/* =========================================================
   FAQ / 定義リスト
   ========================================================= */
.faq details {
  background: var(--white); border: 2px solid var(--line);
  border-radius: var(--radius-sm); margin-bottom: 14px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 20px 58px 20px 24px;
  font-weight: 800; font-size: 1.06rem; color: var(--navy);
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--accent); font-weight: 900; margin-right: 12px; }
.faq summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%); font-size: 1.5rem; color: var(--accent);
}
.faq details[open] summary::after { content: "\2212"; }
.faq .ans { padding: 0 24px 22px; color: var(--text-soft); }
.faq .ans::before { content: "A"; color: var(--navy); font-weight: 900; margin-right: 12px; }

.def-list { display: grid; gap: 16px; }
.def-list .item {
  background: var(--white); border: 2px solid var(--line);
  border-left: 6px solid var(--navy);
  border-radius: var(--radius-sm); padding: 22px 26px; box-shadow: var(--shadow-sm);
}
.def-list .item h4 { color: var(--navy); font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.def-list .item p { color: var(--text-soft); font-size: 1rem; }

/* =========================================================
   会社概要テーブル
   ========================================================= */
.info-table {
  width: 100%; border-collapse: collapse; background: var(--white);
  box-shadow: var(--shadow-sm); border-radius: var(--radius); overflow: hidden;
  font-size: 1rem;
}
.info-table th, .info-table td {
  padding: 18px 22px; border-bottom: 1px solid var(--line); text-align: left;
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th {
  background: var(--cream-deep); color: var(--navy);
  width: 30%; white-space: nowrap; font-weight: 800;
}

/* =========================================================
   CTA / フォーム
   ========================================================= */
.cta-band {
  background: var(--navy); color: var(--white);
  text-align: center; padding: 66px 20px;
}
.cta-band h2 { font-size: 2rem; font-weight: 800; margin-bottom: 14px; }
.cta-band p { color: #D5E0EA; margin-bottom: 28px; font-size: 1.05rem; }
.cta-band .tel-big { font-size: 2.8rem; font-weight: 900; color: var(--white); letter-spacing: 0.02em; }
.cta-band .tel-big::before { content: "\260E"; font-size: 1.7rem; margin-right: 10px; }
.cta-band .time { color: #D5E0EA; font-size: 1rem; margin-bottom: 10px; }
.cta-band .mail { color: #D5E0EA; font-size: 1rem; margin-bottom: 28px; }
.cta-band .mail a { color: var(--white); font-weight: 800; text-decoration: underline; }

.form {
  background: var(--white); color: var(--text);
  border-radius: var(--radius); padding: 40px;
  max-width: 720px; margin: 0 auto;
  box-shadow: var(--shadow); text-align: left;
}
.form .row { margin-bottom: 22px; }
.form label { display: block; font-weight: 800; color: var(--navy); margin-bottom: 9px; font-size: 1.02rem; }
.form label .req {
  background: var(--accent); color: #fff; font-size: 0.76rem;
  padding: 3px 10px; border-radius: 5px; margin-left: 8px; font-weight: 800;
}
.form input, .form select, .form textarea {
  width: 100%; padding: 15px 16px;
  border: 2px solid var(--line); border-radius: var(--radius-sm);
  font-size: 1.06rem; font-family: var(--sans); background: var(--white); color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(20,73,107,.18);
}
.form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .note { font-size: 0.9rem; color: var(--text-soft); margin-top: 8px; }
.form .submit-wrap { text-align: center; margin-top: 30px; }
.form-msg {
  display: none; background: #E7F2E9; border: 2px solid #3F7A4A; color: #23572F;
  padding: 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 800;
}
/* 送信失敗・入力エラー時 */
.form-msg.is-error { background: #FBEBE6; border-color: var(--accent); color: var(--accent-dark); }
.form .btn-cta:disabled { opacity: .6; cursor: default; transform: none; }

/* =========================================================
   フッター
   ========================================================= */
.footer { background: var(--navy-deep); color: #C9D6E0; padding: 54px 20px 26px; }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 44px;
}
.footer .flogo { height: 48px; width: auto; margin-bottom: 10px; }
.footer .site-tag { font-size: 0.9rem; color: #C9D6E0; margin-bottom: 14px; font-weight: 700; }
.footer p { font-size: 0.94rem; line-height: 1.95; }
.footer p a { color: var(--white); font-weight: 700; text-decoration: underline; }
.footer p a:hover { text-decoration: none; }
.footer h4 { color: var(--white); font-size: 1.02rem; margin-bottom: 14px; font-weight: 800; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 0.94rem; }
.footer ul a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  max-width: var(--max); margin: 38px auto 0; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.18);
  text-align: center; font-size: 0.86rem; color: #A9B8C4;
}

/* 固定CTA（モバイル） */
.fixed-cta { display: none; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  body { font-size: 16.5px; }
  .header-tel { display: none; }
  .header-inner { padding: 12px 16px; }
  .logo .logo-img { height: 34px; }
  .logo .sub { font-size: 0.66rem; }
  .footer .flogo { height: 40px; }
  .btn-header { padding: 12px 18px; font-size: 0.9rem; }

  .nav-inner { flex-direction: column; align-items: stretch; display: none; }
  .nav-inner.open { display: flex; }
  .nav a { padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.18); text-align: center; }
  .nav a::after { display: none; }
  .nav-toggle {
    display: block; width: 100%; background: var(--navy); color: #fff;
    border: none; padding: 14px; font-weight: 800; font-size: 1rem; cursor: pointer;
  }
  .nav-toggle::before { content: "\2630  MENU"; }

  .sp-only { display: inline; }
  .pc-only { display: none; }

  .hero-inner { padding: 44px 20px 52px; }
  /* スマホでは文字と重なるため、イメージは下部に小さく配置 */
  .hero::after {
    width: 78%; max-width: 380px;
    right: -6%; top: auto; bottom: -4%; transform: none;
    opacity: 0.12;
  }
  /* 端末幅で不自然に折り返さないよう、見出しを一段小さく */
  .hero h1 { font-size: 1.5rem; line-height: 1.62; letter-spacing: 0; }
  .hero .tag { font-size: 0.84rem; padding: 7px 16px; margin-bottom: 20px; }
  .hero .hero-sub { font-size: 0.95rem; line-height: 1.85; margin-top: 20px; }
  .hero-badges { gap: 7px; margin-top: 24px; }
  .hero-badges span { font-size: 0.82rem; padding: 6px 11px; }
  .hero-cta { margin-top: 28px; gap: 12px; }
  .hero-cta .btn-lg { padding: 17px 30px; font-size: 1.05rem; }
  .strip { font-size: 1rem; padding: 18px 20px; line-height: 1.75; }
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 34px; }
  /* 見出しは中央のまま、字下げを抑えて折り返しを自然に */
  .section-head h2 { font-size: 1.38rem; line-height: 1.62; letter-spacing: 0; }
  .section-head .en { font-size: 0.74rem; letter-spacing: 0.16em; }
  /* 説明文は中央揃えだと行ごとに頭が揃わず読みにくいため左寄せに */
  .section-head .lead,
  .page-hero p {
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.85;
    margin-top: 14px;
  }
  /* 中央寄せ指定の説明文（運営者情報など）も左寄せに揃える */
  .section > .wrap > p[style*="text-align:center"] { text-align: left !important; }
  /* ボタン直前の一文も、行末に1〜2文字だけ残らないよう調整 */
  .center > p { font-size: 0.95rem; line-height: 1.8; }

  /* 見出しは1行に収まるサイズへ */
  h3.block-title {
    font-size: 1.12rem; line-height: 1.6;
    margin: 34px 0 16px; padding-left: 12px; border-left-width: 5px;
  }

  /* 会社概要テーブル：横2分割だと文字が細切れになるため縦積みに */
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td {
    display: block; width: 100%;
  }
  .info-table tr { border-bottom: 1px solid var(--line); }
  .info-table tr:last-child { border-bottom: none; }
  .info-table th {
    padding: 12px 18px 4px; border-bottom: none;
    font-size: 0.82rem; color: var(--accent-dark); white-space: normal;
  }
  .info-table td {
    padding: 0 18px 14px; border-bottom: none;
    font-size: 0.93rem; line-height: 1.8;
  }
  /* 補足の括弧書きは一段小さくして行内に収める */
  .info-table td .note {
    font-size: 0.72rem; color: var(--text-soft);
    letter-spacing: -0.01em; white-space: nowrap;
  }
  .page-hero h1 { font-size: 1.6rem; }
  /* --- CTA帯：端末幅でも自然に折り返すよう調整 --- */
  .cta-band { padding: 48px 20px; }
  .cta-band h2 { font-size: 1.42rem; line-height: 1.6; margin-bottom: 12px; }
  .cta-band p { font-size: 0.95rem; line-height: 1.8; margin-bottom: 22px; }
  .cta-band .tel-big { font-size: 1.9rem; letter-spacing: 0; }
  .cta-band .tel-big::before { font-size: 1.15rem; margin-right: 7px; }
  .cta-band .time { font-size: 0.85rem; line-height: 1.7; }
  .cta-band .mail { font-size: 0.85rem; line-height: 1.7; margin-bottom: 22px; }
  /* メールアドレスは途中で切らずに1行で見せる */
  .cta-band .mail a { display: inline-block; white-space: nowrap; }
  .form { padding: 26px 20px; }
  .form .grid2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .step { flex-direction: column; gap: 14px; }

  body { padding-bottom: 70px; }
  .fixed-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    box-shadow: 0 -4px 16px rgba(0,0,0,.2);
  }
  .fixed-cta a { flex: 1; text-align: center; padding: 18px 8px; font-weight: 800; color: #fff; font-size: 1.02rem; }
  .fixed-cta .tel { background: var(--navy); }
  .fixed-cta .form-link { background: var(--accent); }
}

/* =========================================================
   印刷用（PDF出力・ブラウザ印刷）
   ========================================================= */
@page { size: A4; margin: 12mm 10mm; }

@media print {
  /* 背景色・背景画像を印刷に反映 */
  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  body { font-size: 11pt; line-height: 1.75; padding-bottom: 0; }

  /* 画面専用UIは非表示 */
  .fixed-cta, .nav-toggle { display: none !important; }
  .header { position: static !important; }

  /* 要素の途中改ページを防ぐ */
  .card, .reason, .case, .step, .method, .def-list .item,
  .faq details, .wakeari-list li, .form {
    break-inside: avoid; page-break-inside: avoid;
  }
  .section-head, h3.block-title { break-after: avoid; page-break-after: avoid; }
  table.tbl { break-inside: auto; }
  table.tbl tr { break-inside: avoid; page-break-inside: avoid; }

  /* 余白を詰める */
  .section { padding: 26px 0; }
  .hero-inner { padding: 30px 20px 34px; }
  .cta-band { padding: 30px 20px; }
  .footer { padding: 26px 20px 16px; }

  /* 影は不要 */
  .card, .reason, .case, .step, .method, .form, table.tbl { box-shadow: none !important; }
}
