@charset "UTF-8";

/* ============================================
   にじいろ国際行政書士事務所(架空・サンプルサイト)
   作例3: 配偶者ビザ・帰化のB2C多言語型

   デザイン方針(作例1・2との差別化)
   - 作例1: ネイビー×緑 / 明朝見出し / 中央揃え / 情緒訴求(一人事務所)
   - 作例2: グラファイト×アンバー / ダーク基調 / 左揃え+通し番号 / データ主導B2B
   - 作例3: クリーム×テラコッタ×セージ / 丸ゴシック・大字面 /
            1カラム主体・角丸20px / 不安の解消(チェックリスト・Q&A)主導

   多言語方針
   - 言語別ページの完全翻訳(ja / easy-ja / en / zh-Hans / vi)
   - フォント・行間は :lang() で出し分け(ベトナム語の声調記号対策を含む)
   - 文字を画像に焼き込まない(すべて翻訳可能なテキスト)
============================================ */
:root {
  --cream: #fdf7f0;
  --cream-deep: #f7ece0;
  --paper: #fffdfa;
  --terracotta: #c25d3e;
  --terracotta-dark: #a94a2d;   /* 白背景上の文字用(コントラスト確保) */
  --terracotta-tint: #fbeae3;
  --sage: #5c8a6f;
  --sage-dark: #416a51;
  --sage-tint: #e9f2ec;
  --sun: #e0a13c;
  --sun-tint: #fdf2df;
  --ink: #3d352f;
  --ink-mid: #6b615a;
  --ink-light: #8d837b;
  --border: #ead9c9;
  --border-soft: #f0e4d6;
  --line-green: #06c755;
  --zalo-blue: #0068ff;
  --wechat-green: #07c160;
  --whatsapp: #25d366;

  --sans: "Hiragino Maru Gothic ProN", "Yu Gothic Medium", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Meiryo", sans-serif;
  --sans-latin: "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif;
  --sans-sc: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Yu Gothic Medium", sans-serif;

  --shadow: 0 2px 10px rgba(93, 66, 45, 0.06), 0 10px 30px rgba(93, 66, 45, 0.05);
  --shadow-lg: 0 10px 36px rgba(93, 66, 45, 0.14);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 128px; }

body {
  overflow-x: clip;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 2.0;
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
  padding-bottom: 0;
}

/* --- 言語別のフォント・組み版の出し分け -------------------
   日本語だけに palt(詰め組み)を効かせる。
   ラテン文字・ベトナム語に効かせると字間が壊れるため。      */
:lang(ja) { font-feature-settings: "palt"; }

:lang(en) {
  font-family: var(--sans-latin);
  font-feature-settings: normal;
  line-height: 1.85;
}

:lang(zh) {
  font-family: var(--sans-sc);
  font-feature-settings: normal;
  line-height: 1.95;
}

/* ベトナム語は母音に声調記号+アクセントが二重に乗るため、
   行間を広げないと上の行と衝突して記号が潰れる。 */
:lang(vi) {
  font-family: var(--sans-latin);
  font-feature-settings: normal;
  line-height: 2.05;
}

:lang(en) h1, :lang(en) h2, :lang(en) h3,
:lang(vi) h1, :lang(vi) h2, :lang(vi) h3 { line-height: 1.4; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { line-height: 1.5; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-dark); text-decoration: none; }
a:hover { opacity: 0.82; }
ul { list-style: none; }
table { border-collapse: collapse; }
button { font-family: inherit; }

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

/* ============================================
   デモ注記バー
============================================ */
.demo-note {
  background: #3d352f;
  color: #f7ece0;
  font-size: 12.5px;
  line-height: 1.7;
  text-align: center;
  padding: 8px 16px;
}
.demo-note strong { color: #ffd9a8; }

/* ============================================
   ヘッダー(2段構成)
   上段=言語切替+電話 / 下段=ロゴ+ナビ+CTA
   ※1280〜1440px幅での横溢れを避けるため2段に分離
============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--border-soft);
}

.hdr-util { background: var(--cream-deep); }
.hdr-util-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 5px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-mid);
}

/* 言語切替: 各言語をその言語自身の表記で出す */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.lang-switch .lang-ico {
  font-size: 13px;
  margin-right: 2px;
  opacity: 0.7;
}
.lang-switch a,
.lang-switch span.current {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  line-height: 1.8;
  white-space: nowrap;
}
.lang-switch a {
  color: var(--ink-mid);
  border: 1px solid transparent;
}
.lang-switch a:hover {
  background: var(--paper);
  border-color: var(--border);
  opacity: 1;
}
.lang-switch span.current {
  background: var(--terracotta);
  color: #fff;
  font-weight: 700;
}

.hdr-util .util-tel { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hdr-util .util-tel .num { font-weight: 700; color: var(--ink); font-size: 14px; letter-spacing: 0.02em; }

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0a13c 0%, #c25d3e 48%, #5c8a6f 100%);
  flex-shrink: 0;
}
.logo-text .name { display: block; font-size: 15px; font-weight: 700; line-height: 1.4; }
.logo-text .en { display: block; font-size: 10px; letter-spacing: 0.06em; color: var(--ink-light); font-family: var(--sans-latin); line-height: 1.4; }

.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 4px; }
.gnav a {
  display: block;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.gnav a:hover { background: var(--sage-tint); opacity: 1; }
.gnav a .en { display: block; font-size: 9.5px; font-weight: 400; color: var(--ink-light); font-family: var(--sans-latin); letter-spacing: 0.04em; }

.hdr-cta {
  flex-shrink: 0;
  display: inline-block;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--terracotta);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 3px 0 var(--terracotta-dark);
}
.hdr-cta .sub { display: block; font-size: 10px; font-weight: 400; opacity: 0.9; }
.hdr-cta:hover { opacity: 1; transform: translateY(1px); box-shadow: 0 2px 0 var(--terracotta-dark); }

@media (max-width: 1080px) {
  .gnav a { font-size: 12.5px; padding: 6px 7px; }
  .logo-text .name { font-size: 13.5px; }
}
@media (max-width: 900px) {
  .gnav { display: none; }
}
@media (max-width: 560px) {
  .header-inner { padding: 8px 16px; gap: 10px; }
  .hdr-util-inner { padding: 5px 16px; justify-content: center; }
  .hdr-util .util-tel { display: none; }
  .hdr-cta { padding: 8px 12px; font-size: 12.5px; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-text .name { font-size: 12.5px; }
  .logo-text .en { display: none; }
}

/* ============================================
   共通パーツ
============================================ */
section { padding: 72px 0; }
section.tight { padding: 52px 0; }

.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head .eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--terracotta-dark);
  background: var(--terracotta-tint);
  border-radius: var(--radius-pill);
  padding: 3px 16px;
  margin-bottom: 14px;
  line-height: 1.9;
}
.sec-head h2 {
  font-size: 30px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.sec-head h2 .accent { color: var(--terracotta-dark); }
.sec-head .desc {
  margin-top: 14px;
  color: var(--ink-mid);
  font-size: 15.5px;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 4px 0 var(--terracotta-dark);
}
.btn-primary:hover { opacity: 1; transform: translateY(2px); box-shadow: 0 2px 0 var(--terracotta-dark); }
.btn-line {
  background: var(--line-green);
  color: #fff;
  box-shadow: 0 4px 0 #05a344;
}
.btn-line:hover { opacity: 1; transform: translateY(2px); box-shadow: 0 2px 0 #05a344; }
.btn-outline {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--border);
}
.btn-outline:hover { background: var(--cream-deep); opacity: 1; }
.btn .sub { display: block; font-size: 12px; font-weight: 400; opacity: 0.92; }
.btn-lg { padding: 18px 40px; font-size: 18px; }

/* スマホでだけ改行させる br */
.sp-only { display: none; }
@media (max-width: 560px) { .sp-only { display: inline; } }

.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-sage { background: var(--sage-tint); }

/* 配置ずみ写真(架空人物・AI生成のサンプル画像)
   aspect-ratio と width/height 属性の両方を指定して、
   読み込み中のレイアウトシフト(CLS)を出さない */
.hero-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.voice img.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  background: none;
  flex-shrink: 0;
}

/* 撮影指示つき写真プレースホルダー
   (ストック写真を貼るより、意図を明示したほうが提案として評価される) */
.photo-ph {
  background: repeating-linear-gradient(
    -45deg, #f4e7d8, #f4e7d8 12px, #efdfcd 12px, #efdfcd 24px
  );
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px;
  color: var(--ink-mid);
  font-size: 12.5px;
  line-height: 1.85;
}
.photo-ph .ph-inner strong { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 4px; }
.photo-ph .ph-inner .note { display: block; margin-top: 6px; font-size: 11.5px; color: var(--ink-light); }
.photo-ph.ratio-portrait { aspect-ratio: 3 / 4; }
.photo-ph.ratio-wide { aspect-ratio: 16 / 10; }
.photo-ph.ratio-square { aspect-ratio: 1 / 1; }

/* ============================================
   FV
============================================ */
.hero {
  background:
    radial-gradient(1200px 420px at 12% -8%, #fdeedd 0%, rgba(253, 238, 221, 0) 62%),
    radial-gradient(900px 400px at 92% 8%, #e9f2ec 0%, rgba(233, 242, 236, 0) 60%),
    var(--cream);
  padding: 56px 0 64px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--terracotta-dark);
  margin-bottom: 20px;
  line-height: 1.9;
}
.hero h1 {
  font-size: 42px;
  line-height: 1.42;
  letter-spacing: 0.005em;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--terracotta-dark); }
.hero h1 .under {
  background: linear-gradient(transparent 62%, #fbe0b4 62%);
  padding: 0 2px;
}
.hero .lead {
  font-size: 16.5px;
  color: var(--ink-mid);
  margin-bottom: 24px;
}
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  box-shadow: var(--shadow);
}
.badge .ico { color: var(--sage-dark); font-size: 14px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { position: relative; }
.hero-photo .photo-ph { border-radius: 28px; }
.hero-langs {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.hero-langs span {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-mid);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 32px; }
  .hero-photo { max-width: 420px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  .hero { padding: 34px 0 40px; }
  .hero h1 { font-size: 26px; line-height: 1.5; }
  .hero .lead { font-size: 15.5px; }
  .btn { width: 100%; }
  .hero-cta { gap: 10px; }
}

/* ============================================
   実績数値バー
============================================ */
.stats { background: var(--paper); padding: 30px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat {
  text-align: center;
  padding: 14px 8px;
  background: var(--cream);
  border-radius: var(--radius-sm);
}
.stat .label { font-size: 12.5px; color: var(--ink-mid); line-height: 1.7; }
.stat .value {
  font-size: 32px;
  font-weight: 700;
  color: var(--terracotta-dark);
  line-height: 1.35;
  font-family: var(--sans-latin);
  letter-spacing: 0.01em;
}
.stat .value .unit { font-size: 14px; margin-left: 2px; font-family: var(--sans); color: var(--ink); }
.stats-note { text-align: center; font-size: 11.5px; color: var(--ink-light); margin-top: 12px; line-height: 1.8; }

@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat .value { font-size: 26px; }
}

/* ============================================
   不安の言語化
============================================ */
.worry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.worry {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
  position: relative;
}
.worry .q {
  display: inline-block;
  background: var(--terracotta-tint);
  color: var(--terracotta-dark);
  font-weight: 700;
  font-size: 12px;
  border-radius: var(--radius-pill);
  padding: 2px 12px;
  margin-bottom: 10px;
  line-height: 1.8;
}
.worry h3 { font-size: 17px; line-height: 1.6; margin-bottom: 8px; }
.worry p { font-size: 14.5px; color: var(--ink-mid); line-height: 1.9; }
.worry-answer {
  margin-top: 32px;
  background: var(--sage-tint);
  border-radius: var(--radius);
  padding: 30px 32px;
  text-align: center;
}
.worry-answer p { font-size: 17px; line-height: 1.95; }
.worry-answer strong { color: var(--sage-dark); }

@media (max-width: 900px) { .worry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .worry-grid { grid-template-columns: 1fr; }
  .worry-answer { padding: 22px 18px; }
  .worry-answer p { font-size: 15.5px; }
}

/* ============================================
   対応業務カード
============================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.svc .svc-ico {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--sun-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
}
.svc h3 { font-size: 19px; line-height: 1.55; margin-bottom: 6px; }
.svc .en-term {
  display: block;
  font-size: 11.5px;
  color: var(--ink-light);
  font-family: var(--sans-latin);
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin-bottom: 10px;
}
.svc p { font-size: 14.5px; color: var(--ink-mid); flex-grow: 1; }
.svc .svc-price {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.8;
}
.svc .svc-price strong { font-size: 19px; color: var(--terracotta-dark); font-family: var(--sans-latin); }
.svc .svc-price .tax { font-size: 12.5px; color: var(--ink-light); margin-left: 2px; }
.svc .svc-more { margin-top: 10px; font-size: 13.5px; font-weight: 700; }

@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

/* ============================================
   料金(トップ内完結)
============================================ */
.price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table {
  width: 100%;
  min-width: 560px;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 15px;
}
.price-table th, .price-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  line-height: 1.8;
  vertical-align: top;
}
.price-table thead th {
  background: var(--sage);
  color: #fff;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  border-bottom: none;
}
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody th { font-weight: 700; width: 42%; }
.price-table tbody th .sub { display: block; font-size: 12px; font-weight: 400; color: var(--ink-light); }
.price-table .yen {
  font-family: var(--sans-latin);
  font-size: 20px;
  font-weight: 700;
  color: var(--terracotta-dark);
  white-space: nowrap;
}
.price-table .yen .tax { font-size: 11.5px; font-weight: 400; color: var(--ink-light); font-family: var(--sans); margin-left: 4px; }
.price-table td .memo { display: block; font-size: 12.5px; color: var(--ink-mid); }

.price-incl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}
.price-incl > div {
  border-radius: var(--radius);
  padding: 22px 24px;
  border: 1px solid var(--border-soft);
}
.price-incl .incl { background: var(--sage-tint); }
.price-incl .excl { background: var(--paper); }
.price-incl h4 { font-size: 15.5px; margin-bottom: 10px; }
.price-incl li { font-size: 14px; line-height: 1.95; padding-left: 22px; position: relative; color: var(--ink-mid); }
.price-incl .incl li::before { content: "✓"; position: absolute; left: 0; color: var(--sage-dark); font-weight: 700; }
.price-incl .excl li::before { content: "＋"; position: absolute; left: 0; color: var(--terracotta); font-weight: 700; }
.price-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-light); line-height: 1.85; }

@media (max-width: 700px) {
  .price-incl { grid-template-columns: 1fr; }
}

/* ============================================
   流れ(タイムライン)
============================================ */
.flow-list { max-width: 760px; margin: 0 auto; position: relative; }
.flow-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding-bottom: 28px;
  position: relative;
}
.flow-item:last-child { padding-bottom: 0; }
.flow-item::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 58px;
  bottom: -4px;
  width: 2px;
  background: var(--border);
}
.flow-item:last-child::before { display: none; }
.flow-num {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--sage);
  color: var(--sage-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
.flow-num .n { font-size: 22px; font-family: var(--sans-latin); }
.flow-num .t { font-size: 9px; letter-spacing: 0.08em; }
.flow-body { padding-top: 6px; }
.flow-body h3 { font-size: 19px; line-height: 1.5; margin-bottom: 4px; }
.flow-body .dur {
  display: inline-block;
  background: var(--sun-tint);
  color: #8a5f14;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 2px 12px;
  margin-bottom: 8px;
  line-height: 1.8;
}
.flow-body p { font-size: 14.5px; color: var(--ink-mid); }

@media (max-width: 560px) {
  .flow-item { grid-template-columns: 48px 1fr; gap: 14px; }
  .flow-num { width: 48px; height: 48px; }
  .flow-num .n { font-size: 18px; }
  .flow-num .t { font-size: 8px; }
  .flow-item::before { left: 23px; top: 46px; }
  .flow-body h3 { font-size: 17px; }
}

/* ============================================
   代表挨拶 + スタッフ
============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}
.about-photo .photo-ph { border-radius: 24px; }
.about-name { margin-top: 14px; text-align: center; }
.about-name .role { font-size: 12.5px; color: var(--ink-light); line-height: 1.7; }
.about-name .nm { font-size: 21px; font-weight: 700; line-height: 1.5; }
.about-name .nm .romaji { display: block; font-size: 11.5px; font-weight: 400; color: var(--ink-light); font-family: var(--sans-latin); letter-spacing: 0.06em; }
.about-body h3 { font-size: 25px; line-height: 1.55; margin-bottom: 16px; }
.about-body p { font-size: 15.5px; color: var(--ink-mid); margin-bottom: 14px; }
.about-body .sign { text-align: right; font-size: 14px; color: var(--ink); }

.staff-langs {
  margin-top: 26px;
  background: var(--sage-tint);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.staff-langs h4 { font-size: 15.5px; margin-bottom: 12px; }
.staff-lang-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.staff-lang-list li {
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.7;
}
.staff-lang-list li .who { display: block; font-size: 12px; color: var(--ink-light); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .about-photo { max-width: 300px; margin: 0 auto; }
  .about-body h3 { font-size: 21px; }
}
@media (max-width: 560px) {
  .staff-lang-list { grid-template-columns: 1fr; }
}

/* ============================================
   必要書類チェックリスト
============================================ */
.check-card {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow);
}
.check-card h3 { font-size: 20px; margin-bottom: 6px; line-height: 1.5; }
.check-card .lead { font-size: 14.5px; color: var(--ink-mid); margin-bottom: 18px; }
.check-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.check-cols li {
  font-size: 14.5px;
  line-height: 1.85;
  padding: 8px 0 8px 30px;
  border-bottom: 1px dashed var(--border-soft);
  position: relative;
}
.check-cols li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 18px; height: 18px;
  border: 2px solid var(--sage);
  border-radius: 5px;
  background: var(--sage-tint);
}
.check-cols li .tag {
  display: inline-block;
  font-size: 11px;
  background: var(--sun-tint);
  color: #8a5f14;
  border-radius: var(--radius-pill);
  padding: 1px 9px;
  margin-left: 6px;
  line-height: 1.8;
}
.check-foot { margin-top: 18px; font-size: 13.5px; color: var(--ink-mid); line-height: 1.9; }

@media (max-width: 700px) {
  .check-cols { grid-template-columns: 1fr; }
  .check-card { padding: 24px 20px; }
}

/* ============================================
   お客様の声
============================================ */
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.voice {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px 22px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.voice .voice-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.voice .avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--cream-deep);
  border: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: var(--ink-light);
  text-align: center;
  line-height: 1.3;
  flex-shrink: 0;
}
.voice .who { font-size: 13px; line-height: 1.6; }
.voice .who strong { display: block; font-size: 14.5px; }
.voice .who .lang { color: var(--ink-light); font-size: 11.5px; }
.voice .stars { color: var(--sun); font-size: 14px; letter-spacing: 0.1em; line-height: 1.6; }
.voice p { font-size: 14.5px; color: var(--ink-mid); flex-grow: 1; }
.voice .voice-neg {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.85;
}

@media (max-width: 900px) { .voice-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }

/* ============================================
   FAQ
============================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 56px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.7;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  position: absolute;
  left: 20px; top: 18px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-size: 13px;
  font-family: var(--sans-latin);
  display: flex; align-items: center; justify-content: center;
}
.faq-item summary::after {
  content: "＋";
  position: absolute;
  right: 22px; top: 18px;
  color: var(--terracotta);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer {
  padding: 0 24px 20px 56px;
  font-size: 14.5px;
  color: var(--ink-mid);
  line-height: 1.95;
}
@media (max-width: 560px) {
  .faq-item summary { font-size: 15px; padding: 16px 44px 16px 50px; }
  .faq-answer { padding: 0 18px 18px 50px; font-size: 14px; }
}

/* ============================================
   相談方法(言語別チャット)
   在留外国人の主要連絡手段は言語圏で異なる:
   ベトナム語圏=Zalo / 中国語圏=WeChat / 英語圏=WhatsApp
============================================ */
.chat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.chat-card {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow);
}
.chat-card .chat-ico {
  width: 54px; height: 54px;
  border-radius: 16px;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--sans-latin);
  line-height: 1.2;
}
.chat-card.line .chat-ico { background: var(--line-green); }
.chat-card.zalo .chat-ico { background: var(--zalo-blue); }
.chat-card.wechat .chat-ico { background: var(--wechat-green); }
.chat-card.whatsapp .chat-ico { background: var(--whatsapp); }
.chat-card h3 { font-size: 16.5px; line-height: 1.5; margin-bottom: 4px; }
.chat-card .for { font-size: 12.5px; color: var(--ink-light); line-height: 1.7; margin-bottom: 12px; }
.chat-card .qr {
  width: 100px; height: 100px;
  margin: 0 auto;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 10.5px;
  color: var(--ink-light);
  text-align: center;
  line-height: 1.5;
  padding: 6px;
}
@media (max-width: 860px) { .chat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .chat-grid { grid-template-columns: 1fr; } }

/* ============================================
   お知らせ(入管手続きニュース)
============================================ */
.news-list {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.news-list li {
  display: grid;
  grid-template-columns: 108px 92px 1fr;
  gap: 14px;
  align-items: center;
  padding: 15px 22px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14.5px;
  line-height: 1.75;
}
.news-list li:last-child { border-bottom: none; }
.news-list .date { color: var(--ink-light); font-size: 13px; font-family: var(--sans-latin); }
.news-list .cat {
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 2px 6px;
  line-height: 1.8;
}
.news-list .cat.law { background: var(--terracotta-tint); color: var(--terracotta-dark); }
.news-list .cat.info { background: var(--sage-tint); color: var(--sage-dark); }
.news-list .cat.office { background: var(--cream-deep); color: var(--ink-mid); }
@media (max-width: 620px) {
  .news-list li { grid-template-columns: 84px 1fr; gap: 6px 10px; }
  .news-list .cat { grid-row: 1; justify-self: start; padding: 2px 10px; }
  .news-list .title { grid-column: 1 / -1; }
}

/* ============================================
   受注制限
============================================ */
.limit {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 34px 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
}
.limit-num { text-align: center; flex-shrink: 0; }
.limit-num .n {
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
  color: #ffcf8a;
  font-family: var(--sans-latin);
}
.limit-num .u { font-size: 13px; letter-spacing: 0.08em; display: block; margin-top: 6px; }
.limit-body h3 { font-size: 22px; line-height: 1.55; margin-bottom: 8px; color: #fff; }
.limit-body p { font-size: 14.5px; color: #e7dbcd; line-height: 1.95; }
.limit-body .rest {
  display: inline-block;
  margin-top: 12px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  padding: 4px 18px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.8;
}
@media (max-width: 620px) {
  .limit { grid-template-columns: 1fr; gap: 14px; padding: 26px 22px; text-align: center; }
  .limit-body h3 { font-size: 19px; }
}

/* ============================================
   お問い合わせフォーム
============================================ */
.contact { background: var(--sage-tint); }
.form-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 34px 36px;
  box-shadow: var(--shadow);
  max-width: 760px;
  margin: 0 auto;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.7;
}
.form-row .req {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  font-size: 10.5px;
  border-radius: 4px;
  padding: 1px 7px;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1.8;
}
.form-row .opt {
  display: inline-block;
  background: var(--cream-deep);
  color: var(--ink-mid);
  font-size: 10.5px;
  border-radius: 4px;
  padding: 1px 7px;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1.8;
}
.form-row .hint { display: block; font-size: 12.5px; font-weight: 400; color: var(--ink-light); line-height: 1.75; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15.5px;
  font-family: inherit;
  line-height: 1.7;
  background: var(--cream);
  color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
  background: #fff;
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.8; color: var(--ink-mid); }
.form-check input { margin-top: 7px; flex-shrink: 0; }
.form-submit { text-align: center; margin-top: 26px; }
.form-note { font-size: 12.5px; color: var(--ink-light); text-align: center; margin-top: 14px; line-height: 1.85; }
.form-langpick {
  background: var(--cream-deep);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-mid);
}
@media (max-width: 620px) {
  .form-card { padding: 24px 20px; }
  .form-2col { grid-template-columns: 1fr; }
}

/* ============================================
   入管用語の対訳表(多言語ページ用)
============================================ */
.glossary-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.glossary {
  width: 100%;
  min-width: 520px;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 14.5px;
}
.glossary th, .glossary td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  line-height: 1.75;
}
.glossary thead th { background: var(--cream-deep); font-size: 13px; color: var(--ink-mid); }
.glossary tbody tr:last-child th, .glossary tbody tr:last-child td { border-bottom: none; }
.glossary tbody th { font-weight: 700; white-space: nowrap; }
.glossary .ja-term { color: var(--ink-mid); font-size: 13.5px; }

/* ============================================
   下層ページ
============================================ */
.page-head {
  background:
    radial-gradient(900px 300px at 20% 0%, #fdeedd 0%, rgba(253,238,221,0) 60%),
    var(--cream-deep);
  padding: 40px 0 44px;
}
.breadcrumb { font-size: 12.5px; color: var(--ink-light); margin-bottom: 14px; line-height: 1.8; }
.breadcrumb a { color: var(--ink-mid); }
.breadcrumb span { margin: 0 6px; }
.page-head h1 { font-size: 34px; line-height: 1.45; margin-bottom: 10px; }
.page-head .page-lead { font-size: 16px; color: var(--ink-mid); max-width: 720px; }
@media (max-width: 620px) { .page-head h1 { font-size: 25px; } }

.doc { max-width: 820px; margin: 0 auto; }
.doc h2 {
  font-size: 25px;
  line-height: 1.55;
  margin: 44px 0 16px;
  padding-left: 16px;
  border-left: 6px solid var(--terracotta);
}
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 19px; line-height: 1.6; margin: 26px 0 10px; color: var(--sage-dark); }
.doc p { font-size: 15.5px; color: var(--ink-mid); margin-bottom: 14px; }
.doc ul.bullet { margin: 0 0 16px; }
.doc ul.bullet li {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.95;
  padding-left: 22px;
  position: relative;
}
.doc ul.bullet li::before {
  content: "";
  position: absolute;
  left: 4px; top: 13px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sage);
}
.doc ol.numbered { counter-reset: n; margin: 0 0 16px; }
.doc ol.numbered li {
  counter-increment: n;
  list-style: none;
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.95;
  padding: 10px 0 10px 44px;
  position: relative;
  border-bottom: 1px dashed var(--border-soft);
}
.doc ol.numbered li::before {
  content: counter(n);
  position: absolute;
  left: 0; top: 12px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--terracotta-tint);
  color: var(--terracotta-dark);
  font-weight: 700;
  font-size: 13px;
  font-family: var(--sans-latin);
  display: flex; align-items: center; justify-content: center;
}
.doc ol.numbered li strong { color: var(--ink); }

.doc .note-sm { font-size: 13px; color: var(--ink-light); margin-top: 10px; }
.note-inline { font-size: 12.5px; color: var(--ink-light); }
.check-card.mt { margin-top: 18px; }

.callout {
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 22px 0;
  font-size: 14.5px;
  line-height: 1.95;
}
.callout h4 { font-size: 16px; margin-bottom: 8px; }
.callout.warn { background: var(--terracotta-tint); border: 1px solid #f0cdbe; }
.callout.warn h4 { color: var(--terracotta-dark); }
.callout.tip { background: var(--sage-tint); border: 1px solid #cfe2d6; }
.callout.tip h4 { color: var(--sage-dark); }
.callout p { color: var(--ink-mid); margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }

.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0; }
.cmp {
  width: 100%;
  min-width: 560px;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 14.5px;
}
.cmp th, .cmp td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
  text-align: left;
  line-height: 1.8;
  vertical-align: top;
}
.cmp th:last-child, .cmp td:last-child { border-right: none; }
.cmp thead th { background: var(--sage); color: #fff; font-size: 13.5px; border-bottom: none; }
.cmp thead th:first-child { background: var(--sage-dark); }
.cmp tbody th { background: var(--cream); font-weight: 700; width: 26%; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: none; }

.doc-cta {
  background: var(--cream-deep);
  border-radius: var(--radius);
  padding: 30px 32px;
  text-align: center;
  margin-top: 44px;
}
.doc-cta h3 { font-size: 21px; line-height: 1.55; margin-bottom: 8px; }
.doc-cta p { font-size: 14.5px; color: var(--ink-mid); margin-bottom: 18px; }
.doc-cta .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 560px) { .doc-cta { padding: 24px 18px; } }

/* ============================================
   最終CTA
============================================ */
.final-cta {
  background: linear-gradient(135deg, #c25d3e 0%, #a94a2d 55%, #8a5f34 100%);
  color: #fff;
  text-align: center;
}
.final-cta h2 { font-size: 30px; line-height: 1.5; margin-bottom: 12px; }
.final-cta p { font-size: 16px; margin-bottom: 24px; color: #fdeee6; }
.final-cta .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final-cta .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.final-cta .btn-outline:hover { background: rgba(255,255,255,0.12); }
.final-cta .btn-white { background: #fff; color: var(--terracotta-dark); box-shadow: 0 4px 0 rgba(0,0,0,0.18); }
.final-cta .cta-langs { margin-top: 20px; font-size: 13px; color: #fbe0d3; line-height: 1.9; }
@media (max-width: 560px) { .final-cta h2 { font-size: 23px; } }

/* ============================================
   フッター
============================================ */
.site-footer {
  background: var(--ink);
  color: #d9cec5;
  padding: 48px 0 90px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}
.footer-brand .fname { font-size: 17px; font-weight: 700; color: #fff; line-height: 1.6; }
.footer-brand .fen { font-size: 11.5px; color: #9c9089; font-family: var(--sans-latin); letter-spacing: 0.06em; line-height: 1.6; }
.footer-brand address { font-style: normal; margin-top: 12px; font-size: 13.5px; line-height: 1.9; color: #b8aca4; }
.site-footer h4 { font-size: 13.5px; color: #fff; margin-bottom: 10px; letter-spacing: 0.04em; }
.site-footer li { line-height: 2.0; font-size: 13.5px; }
.site-footer a { color: #d9cec5; }
.site-footer a:hover { color: #fff; opacity: 1; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-langs a {
  border: 1px solid #574d47;
  border-radius: var(--radius-pill);
  padding: 3px 14px;
  font-size: 12.5px;
  line-height: 1.8;
}
.footer-langs a:hover { background: #4a4039; }
.footer-bottom {
  border-top: 1px solid #55483f;
  padding-top: 18px;
  font-size: 12px;
  color: #9c9089;
  line-height: 1.9;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ============================================
   追従CTA
   PC=右下フロート / スマホ=下部固定バー
============================================ */
.float-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.float-cta a {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.float-cta .f-consult { background: var(--terracotta); }
.float-cta .f-line { background: var(--line-green); }
.float-cta .f-chat { background: var(--sage); }
.float-cta a .mini { font-size: 11px; font-weight: 400; opacity: 0.92; }

.mobile-bar { display: none; }

@media (max-width: 760px) {
  .float-cta { display: none; }
  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 95;
    background: var(--paper);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(93, 66, 45, 0.12);
  }
  .mobile-bar a {
    padding: 9px 4px;
    text-align: center;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--ink);
    border-right: 1px solid var(--border-soft);
  }
  .mobile-bar a:last-child { border-right: none; }
  .mobile-bar a .mi {
    display: block;
    font-size: 18px;
    line-height: 1.3;
  }
  .mobile-bar a.m-line { color: #05a344; }
  .mobile-bar a.m-consult { background: var(--terracotta); color: #fff; }
  body { padding-bottom: 58px; }
  .site-footer { padding-bottom: 40px; }
}

/* ============================================
   やさしい日本語ページ専用
   (ルビ・分かち書き・大きめの字。国が推奨する在留支援の方式)
============================================ */
.easy body, body.easy { font-size: 18px; }
body.easy { line-height: 2.15; }
body.easy .hero h1 { font-size: 34px; line-height: 1.75; }
body.easy .sec-head h2 { font-size: 26px; line-height: 1.8; }
body.easy p, body.easy li { letter-spacing: 0.02em; }
body.easy ruby rt {
  font-size: 0.48em;
  color: var(--ink-light);
  font-weight: 400;
  letter-spacing: 0;
}
body.easy .easy-note {
  background: var(--sun-tint);
  border: 1px solid #f0dcb4;
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 15.5px;
  line-height: 2.0;
  margin-bottom: 24px;
  color: var(--ink-mid);
}
body.easy .worry h3, body.easy .svc h3 { line-height: 1.8; }
@media (max-width: 560px) {
  body.easy { font-size: 17px; }
  body.easy .hero h1 { font-size: 24px; }
}

/* ============================================
   アクセシビリティ / 印刷
============================================ */
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
