/* NBIクリアランス取得代行サービス — passport burgundy / gold / ivory, mincho headings.
   ※ ph-document.com（teal/navy/white・ゴシック）との差別化のため、配色・書体を別系統に再設計。
   変数名は据え置き、値のみ刷新して全ページを一括リスキン。 */
:root {
  --green: #7b2d3b;      /* burgundy primary (旧teal) */
  --green-d: #5e2230;    /* burgundy dark (bands) */
  --green-l: #b06a76;    /* burgundy light */
  --amber: #c8a24a;      /* gold foil accent (CTA/seal) */
  --amber-d: #ad8736;
  --navy: #33291f;       /* warm charcoal — headings / footer */
  --navy-d: #241d16;
  --ink: #423a32;
  --muted: #877b6e;
  --cream: #faf6ef;      /* ivory page bg */
  --cream-2: #f2e8d9;    /* alt section bg (warm) */
  --line: #e8dccb;
  --white: #ffffff;
  --shadow: 0 6px 22px rgba(60, 40, 25, .09);
  --r: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.95;
  font-size: 15px;
}
.serif {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "MS PMincho", serif;
}
h1, h2, h3, .serif-head {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "MS PMincho", serif;
  font-weight: 700;
  letter-spacing: .02em;
}
a { color: var(--green); }
a:hover { color: var(--navy); }
img { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; }

/* ---- utility strip ---- */
.util {
  background: var(--green);
  color: #f6e9d6;
  font-size: 12px;
}
.util .wrap { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 7px 22px; }
.util a { color: #fff; text-decoration: underline; }

/* ---- header ---- */
.hd {
  background: var(--cream);
  border-bottom: 2px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.hd .wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo .mark {
  min-width: 50px; height: 46px; border-radius: 8px; padding: 0 8px;
  background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: 17px; letter-spacing: .06em;
  font-family: "Arial", sans-serif; font-weight: 800; border: 2px solid var(--amber); flex: none;
}
.logo .t1 { font-family: "Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif; font-weight: 800; color: var(--navy); font-size: 19px; line-height: 1.2; }
.logo .t2 { font-size: 11px; color: var(--muted); letter-spacing: .12em; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; padding-bottom: 3px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--green); border-color: var(--amber); }

/* ---- nav dropdown ---- */
.nav .drop { position: relative; }
/* トリガーの当たり判定を下方向へ拡張し、メニューとの隙間でホバーが切れないようにする */
.nav .drop > a { display: inline-flex; align-items: center; gap: 4px; padding-bottom: 8px; margin-bottom: -8px; }
.nav .drop > a::after { content: "▾"; font-size: 10px; opacity: .7; }
.drop-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(4px);
  margin-top: 6px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: 0 6px 20px rgba(0,0,0,.12);
  min-width: 200px; z-index: 50; padding: 4px 0;
  /* display:none をやめ、表示/非表示を opacity+visibility で制御。
     閉じる際に遅延を入れることで、隙間を横切ってもすぐに消えないようにする */
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
  transition-delay: .25s;
}
/* メニュー上部に透明なブリッジを敷き、トリガー〜メニュー間の6px隙間を覆う */
.drop-menu::before {
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
.drop-menu a {
  display: block; padding: 8px 16px; font-size: 13px; font-weight: 500;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  border-bottom: none !important; padding-bottom: 8px;
}
.drop-menu a:hover { background: var(--cream-2); color: var(--green); }
.drop-menu .sep { height: 1px; background: var(--line); margin: 4px 8px; }
.drop-menu .grp {
  display: block; padding: 6px 16px 2px;
  font-size: 10px; letter-spacing: .1em; color: var(--muted); font-weight: 700;
}
.nav .drop:hover .drop-menu,
.nav .drop:focus-within .drop-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s; /* 開くときは即時、閉じるときだけ遅延 */
}

.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 4px; padding: 12px 24px; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: .15s; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-d); color: #fff; }
.btn-amber { background: var(--amber); color: #3a2a06; }
.btn-amber:hover { background: var(--amber-d); color: #3a2a06; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--green); }
.btn-ghost:hover { background: var(--cream-2); }
.btn-lg { padding: 15px 34px; font-size: 16px; }

/* ---- hero (asymmetric, left-weighted) ---- */
.hero { background: linear-gradient(115deg, var(--cream) 60%, var(--cream-2) 100%); padding: 60px 0; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.hero .eyebrow { color: var(--green); font-weight: 700; letter-spacing: .14em; font-size: 13px; margin-bottom: 14px; }
.hero h1 { font-size: 37px; line-height: 1.42; color: var(--navy); margin: 0 0 22px; text-wrap: balance; }
.hero h1 .hl { color: var(--green); }
.hero p { font-size: 16px; margin: 0 0 28px; max-width: 540px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-side { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.hero-side .cap { background: var(--green); color: #fff; padding: 12px 18px; font-weight: 700; font-size: 14px; }
.hero-side ol { margin: 0; padding: 16px 18px 16px 36px; }
.hero-side li { padding: 6px 0; border-bottom: 1px dotted var(--line); font-weight: 600; color: var(--navy); }
.hero-side li:last-child { border: 0; }
.hero-side li a { color: inherit; text-decoration: none; display: block; }
.hero-side li a:hover { color: var(--green); text-decoration: underline; }
.hero-side li a::after { content: " ›"; color: var(--green); font-weight: 700; }

/* ---- hero-sm: destination / article page hero ---- */
.hero-sm { padding: 0; }
.hero-sm .wrap { grid-template-columns: 1fr; gap: 8px; padding: 44px 22px 36px; }
.hero-sm h1 { font-size: 36px; margin: 8px 0 12px; }
.hero-sub { font-size: 15px; color: var(--muted); margin: 0 0 4px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }
@media (max-width: 560px) { .hero-sm h1 { font-size: 28px; } }

/* ---- trust-strip: inline credibility bar in article pages ---- */
.trust-strip { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.trust-strip span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--navy); }
.trust-strip span::before { content: "✓"; color: var(--green); font-weight: 800; }

/* ---- generic section ---- */
.sec { padding: 58px 0; }
.sec.tint { background: var(--cream-2); }
.sec.green { background: var(--green-d); color: #f3e6d4; }
.sec.green h2, .sec.green h3 { color: #fff; }
.head { margin-bottom: 36px; }
.head .kicker { color: var(--green); letter-spacing: .14em; font-size: 13px; font-weight: 700; display: block; margin-bottom: 6px; }
.head h2 { font-size: 28px; color: var(--navy); margin: 0; }
.head.center { text-align: center; }
.head p { color: var(--muted); margin: 8px 0 0; }

/* ---- document accordion list ---- */
.doc-list { display: grid; gap: 12px; }
.doc {
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--green);
  border-radius: var(--r); padding: 18px 22px; box-shadow: var(--shadow);
}
.doc h3 { margin: 0 0 4px; font-size: 18px; color: var(--navy); }
.doc .en { color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.doc p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.doc .tag { display: inline-block; margin-top: 10px; background: var(--cream-2); color: var(--navy); font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 3px; }

/* ---- reasons (icon column) ---- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why .item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.why .item .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; font-size: 24px; margin-bottom: 14px; }
.why .item h3 { margin: 0 0 8px; font-size: 17px; color: var(--navy); }
.why .item h3 a { color: inherit; text-decoration: none; }
.why .item h3 a:hover { color: var(--green); text-decoration: underline; }
.why .item p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---- vertical timeline flow ---- */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 40px; }
.tl { position: relative; padding: 0 0 30px; }
.tl:last-child { padding-bottom: 0; }
.tl .dot { position: absolute; left: -33px; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--amber); color: #3a2a06; display: grid; place-items: center; font-weight: 800; font-size: 13px; border: 3px solid var(--cream); }
.sec.green .tl .dot { border-color: var(--navy); }
.tl h3 { margin: 0 0 6px; font-size: 18px; }
.tl p { margin: 0; font-size: 14px; opacity: .92; }

/* ---- pricing table ---- */
.price-tbl { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--shadow); border-radius: var(--r); overflow: hidden; }
.price-tbl th, .price-tbl td { border-bottom: 1px solid var(--line); padding: 16px 18px; text-align: left; }
.price-tbl thead th { background: var(--green); color: #fff; font-size: 14px; }
.price-tbl td.amt { color: var(--green-d); font-weight: 800; font-size: 18px; white-space: nowrap; }
.price-tbl tr:last-child td { border-bottom: 0; }

/* ---- comparison table (DIY vs service) ---- */
.compare { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--shadow); border-radius: var(--r); overflow: hidden; }
.compare th, .compare td { border-bottom: 1px solid var(--line); padding: 13px 16px; text-align: left; font-size: 14px; vertical-align: top; }
.compare thead th { background: var(--navy); color: #fff; font-size: 13.5px; }
.compare thead th:last-child { background: var(--green); }
.compare tbody th, .compare tbody td:first-child { color: var(--navy); font-weight: 700; }
.compare td.no { color: var(--muted); }
.compare td.yes { color: var(--green-d); font-weight: 700; }
.compare td.no::before { content: "✕ "; color: #b3855c; }
.compare td.yes::before { content: "✓ "; color: var(--green); }
.compare tr:last-child td { border-bottom: 0; }
.compare tbody tr:nth-child(even) { background: var(--cream); }

/* ---- testimonials (stacked quotes) ---- */
.voices { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.voice { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); position: relative; }
.voice::before { content: "“"; font-family: serif; font-size: 60px; color: var(--cream-2); position: absolute; top: 6px; right: 18px; line-height: 1; }
.voice .stars { color: var(--amber); margin-bottom: 8px; }
.voice h3 { margin: 0 0 8px; font-size: 16px; color: var(--navy); }
.voice p { margin: 0 0 12px; font-size: 14px; }
.voice .who { color: var(--muted); font-size: 13px; font-weight: 700; }

/* ---- CTA ribbon ---- */
.ribbon { background: linear-gradient(120deg, var(--green) 0%, var(--navy) 100%); border-radius: var(--r); padding: 40px; text-align: center; box-shadow: var(--shadow); }
.ribbon h2 { margin: 0 0 8px; color: #fff; font-size: 26px; }
.ribbon p { margin: 0 0 22px; color: #e6f1f4; }
.ribbon .btn { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.ribbon .btn:hover { background: var(--amber-d); color: var(--navy); }

/* ---- page header ---- */
.page-hd { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-d) 100%); color: #fff; padding: 50px 0; }
.page-hd .kicker { color: var(--amber); letter-spacing: .16em; font-size: 12.5px; font-weight: 700; }
.page-hd h1 { margin: 6px 0 0; font-size: 32px; }
.page-hd .cta-row { margin-top: 22px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.crumb { font-size: 12.5px; color: var(--muted); padding: 14px 0; border-bottom: 1px solid var(--line); }
.crumb a { color: var(--muted); }

/* ---- article content ---- */
.article { padding: 48px 0; }
.article h2 { font-size: 23px; color: var(--navy); margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--green); }
.article h3 { font-size: 18px; color: var(--navy); margin: 26px 0 10px; }
.article p { margin: 0 0 15px; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 24px; }
.article li { margin: 7px 0; }
.article .lead-box { background: var(--cream-2); border-left: 5px solid var(--green); border-radius: var(--r); padding: 20px 24px; margin: 0 0 26px; }
.callout { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--amber); border-radius: var(--r); padding: 20px 24px; margin: 22px 0; box-shadow: var(--shadow); }
.callout strong { color: var(--navy); }

table.data { width: 100%; border-collapse: collapse; margin: 10px 0 24px; background: #fff; }
table.data th, table.data td { border: 1px solid var(--line); padding: 12px 14px; font-size: 14px; vertical-align: top; text-align: left; }
table.data th { background: var(--cream-2); color: var(--navy); width: 32%; }

/* ---- FAQ ---- */
.qa { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; box-shadow: var(--shadow); }
.qa summary { cursor: pointer; padding: 18px 50px 18px 22px; font-weight: 700; color: var(--navy); list-style: none; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q."; color: var(--amber-d); margin-right: 10px; font-family: serif; font-weight: 800; }
.qa summary::after { content: "＋"; position: absolute; right: 22px; top: 18px; color: var(--green-l); }
.qa[open] summary::after { content: "－"; }
.qa .a { padding: 0 22px 20px 46px; color: var(--ink); }

/* ---- contact form ---- */
.form { display: grid; gap: 18px; max-width: 660px; }
.form label { font-weight: 700; color: var(--navy); display: block; margin-bottom: 6px; }
.form .req { color: #c0392b; font-size: 12px; margin-left: 8px; }
.form input, .form select, .form textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 4px; font: inherit; background: #fff; }
.form textarea { min-height: 140px; resize: vertical; }
.muted { color: var(--muted); font-size: 13px; }

/* ---- info table (company / legal) ---- */
.info { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--shadow); }
.info th, .info td { border-bottom: 1px solid var(--line); padding: 15px 18px; text-align: left; vertical-align: top; }
.info th { background: var(--cream-2); color: var(--navy); width: 30%; white-space: nowrap; }
.info tr:last-child th, .info tr:last-child td { border-bottom: 0; }

/* ---- footer ---- */
.ft { background: var(--navy); color: #d2c7b6; padding: 50px 0 26px; margin-top: 8px; font-size: 13.5px; }
.ft .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.ft .logo .t1 { color: #fff; }
.ft .logo .t2 { color: #b7a892; }
.ft .about { color: #c0b3a1; margin-top: 14px; max-width: 290px; }
.ft h4 { color: #fff; font-size: 14px; margin: 0 0 12px; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 8px; }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { margin: 8px 0; }
.ft a { color: #d2c7b6; text-decoration: none; }
.ft a:hover { color: #fff; }
.ft .line { margin: 6px 0; color: #c0b3a1; }
.copy { text-align: center; color: #9a8d7c; border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: 12px; }

/* ---- responsive ---- */
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 31px; }
  .why, .voices { grid-template-columns: 1fr 1fr; }
  .ft .cols { grid-template-columns: 1fr 1fr; }
  .hd .wrap { position: relative; }
  .nav { display: none; }
  .nav-toggle:checked ~ .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 45;
    background: var(--cream); border-bottom: 2px solid var(--line);
    box-shadow: var(--shadow); padding: 6px 22px 12px;
  }
  .nav-toggle:checked ~ .nav a { padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav .drop > a::after { display: none; }
  .drop-menu {
    display: block; position: static; transform: none;
    box-shadow: none; border: 0; border-radius: 0;
    padding: 0 0 0 10px; min-width: 0; background: transparent;
    /* モバイルはアコーディオン表示のため常に可視化（デスクトップの hover 制御を無効化） */
    opacity: 1; visibility: visible; pointer-events: auto;
    margin-top: 0; transition: none;
  }
  .drop-menu::before { display: none; }
  .drop-menu a { padding: 11px 2px; border-bottom: 1px solid var(--line) !important; font-size: 14px; white-space: normal; }
  .drop-menu .sep, .drop-menu .grp { display: none; }
  .nav-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 38px; padding: 9px 8px; cursor: pointer;
    border: 1px solid var(--line); border-radius: 6px; background: #fff;
  }
  .nav-burger span { display: block; height: 2px; width: 100%; background: var(--navy); border-radius: 2px; transition: .2s; }
  .nav-toggle:checked ~ .hd-act .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .hd-act .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .hd-act .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hd-act .btn-green, .hd-act .btn-wa { display: none; }
}
@media (max-width: 560px) {
  .why, .voices, .ft .cols { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  /* compact header on phones: drop the logo subtitle, shrink the title */
  .hd .logo .t2 { display: none; }
  .hd .logo .t1 { font-size: 15px; }
  .hd .logo .mark { width: 34px; height: 34px; font-size: 13px; }
  .hd .wrap { padding-top: 10px; padding-bottom: 10px; }
}

/* ---- hero price card (replaces hero-side) ---- */
.hero-price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.hero-price-card__badge { background: var(--amber); color: var(--navy); padding: 11px 18px; font-weight: 800; font-size: 14px; text-align: center; }
.hero-price-card__body { padding: 16px 18px; }
.hero-price-card__row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dotted var(--line); gap: 8px; }
.hero-price-card__row:last-of-type { border: 0; }
.hero-price-card__row.rec { background: #fff9f0; margin: 0 -18px; padding: 9px 18px; border-left: 3px solid var(--amber); }
.hero-price-card__label { font-weight: 700; color: var(--navy); font-size: 13.5px; }
.hero-price-card__amt { font-weight: 800; color: var(--green-d); font-size: 18px; white-space: nowrap; }
.hero-price-card__amt small { font-size: 12px; }
.hero-price-card__note { font-size: 12px; color: var(--muted); text-align: center; margin: 10px 0 12px; }
.hero-price-card__sub { font-size: 12px; color: var(--muted); text-align: center; margin: 8px 0 0; }
.hero-price-card .btn { width: 100%; justify-content: center; }
.hero-price-card .ptag { display: inline-block; background: var(--green); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 3px; margin-left: 6px; vertical-align: middle; }

/* ---- hero CTA checks ---- */
.hero-checks { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; }
.hero-checks span { font-size: 13px; font-weight: 700; color: var(--navy); }
.hero-checks span::before { content: "✓ "; color: var(--green); }

/* ---- mid-article inline CTA ---- */
.mid-cta { background: var(--cream-2); border: 1px solid var(--line); border-left: 5px solid var(--amber); border-radius: var(--r); padding: 20px 24px; margin: 32px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.mid-cta p { margin: 0; font-weight: 700; color: var(--navy); font-size: 15px; }
@media (max-width: 560px) { .mid-cta { flex-direction: column; align-items: flex-start; } }

/* ---- contact form: time badge & pre-submit note ---- */
.form-time-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--amber); color: var(--navy); font-weight: 800; font-size: 13px; padding: 5px 14px; border-radius: 999px; margin-bottom: 18px; }
.pre-submit-note { background: var(--cream-2); border: 1px solid var(--line); border-radius: 6px; padding: 12px 16px; font-size: 13.5px; color: var(--ink); margin-bottom: 4px; }

/* ---- pricing: recommended row highlight ---- */
.price-tbl tbody tr.recommended td:first-child { border-left: 4px solid var(--amber); }
.price-tbl tbody tr.recommended { background: #fff9f0; }

/* ---- mobile: hide hero body text to keep ATF clean ---- */
@media (max-width: 560px) {
  .hero .hero-desc { display: none; }
}

/* ---- header actions: language switch ---- */
.hd-act { display: flex; align-items: center; gap: 12px; }
.langsw {
  display: inline-grid; place-items: center; min-width: 38px; height: 34px; padding: 0 10px;
  border: 1px solid var(--green); border-radius: 4px; color: var(--green);
  font-size: 13px; font-weight: 800; text-decoration: none; letter-spacing: .04em;
}
.langsw:hover { background: var(--green); color: #fff; }

/* ---- chat buttons (LINE / WhatsApp) ---- */
.btn-line { background: #06c755; color: #fff; }
.btn-line:hover { background: #05a948; color: #fff; }
.btn-wa { background: #25d366; color: #06351c; }
.btn-wa:hover { background: #1eb858; color: #06351c; }

/* ---- hero trust strip (credibility row under hero) ---- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 16px 22px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.trust span::before { content: "✓"; color: var(--green); font-weight: 800; }
.trust span.hl-badge { background: var(--amber); color: var(--navy); padding: 4px 14px; border-radius: 999px; gap: 6px; }
.trust span.hl-badge::before { content: "★"; color: var(--navy); }

/* ---- guarantee callout ---- */
.guarantee { border-left: 4px solid var(--amber); }
.guarantee .gtag { display: inline-block; background: var(--amber); color: var(--navy); font-weight: 800; font-size: 12px; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; margin-right: 8px; }

/* ---- sticky mobile action bar ---- */
.mobile-cta { display: none; }
@media (max-width: 880px) {
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    gap: 8px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); backdrop-filter: blur(6px);
    border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(60,40,25,.12);
  }
  .mobile-cta a { flex: 1; justify-content: center; padding: 13px 10px; font-size: 15px; }
  .mobile-cta .btn-ghost { flex: 0 0 auto; padding: 13px 16px; }
  body { padding-bottom: 70px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
