/* モテる人事プロデュース 共通スタイル
   コンセプト：「人事の相談カウンター」。地域の相談所の親しみやすさと、経営支援の信頼感。 */

:root {
  --paper: #faf6ef;        /* 背景：あたたかい紙の色 */
  --paper-deep: #f2ebdf;   /* 区切りの背景 */
  --card: #ffffff;
  --ink: #1e2a3f;          /* 文字：深い藍色（信頼感） */
  --ink-soft: #4a5568;
  --line: #ddd3c3;
  --accent: #c2502f;       /* 相談ボタン：あたたかい朱色 */
  --accent-deep: #9f3d20;
  --accent-tint: #fbe9e1;
  --sage: #e3ebe1;         /* 相談カウンターの背景 */
  --sage-deep: #4f6b55;
  --tbd-bg: #fff3c4;       /* 【要確認】の目印 */
  --tbd-ink: #6b4e00;
  --focus: #1f6feb;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(30, 42, 63, .06), 0 8px 24px rgba(30, 42, 63, .07);
  --wrap: 1120px;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-head: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: .2em; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.5; letter-spacing: .03em; margin: 0 0 .6em; }
h1 { font-size: clamp(1.75rem, 4.6vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.3rem); }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 760px); margin-inline: auto; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 100; border-radius: 8px; }
.skip-link:focus { left: 16px; color: #fff; }

/* 【要確認】の目印。公開前に検索して一覧できるよう、必ずこのクラスと文字を使う */
.tbd {
  background: var(--tbd-bg);
  color: var(--tbd-ink);
  border-radius: 4px;
  padding: 0 .35em;
  font-size: .92em;
  font-weight: 500;
}
.tbd-box {
  background: var(--tbd-bg);
  color: var(--tbd-ink);
  border-left: 4px solid #d9a400;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: .92rem;
  line-height: 1.7;
}

/* ===== ヘッダー ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.25; }
.logo-main { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; }
.logo-main em { font-style: normal; color: var(--accent); }
.logo-sub { font-size: .7rem; color: var(--ink-soft); letter-spacing: .08em; }

.global-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.global-nav a { display: block; padding: 8px 10px; text-decoration: none; font-size: .9rem; border-radius: 8px; }
.global-nav a:hover { background: var(--paper-deep); color: var(--ink); }
.global-nav a[aria-current="page"] { font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav-toggle { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 10px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.4;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background .15s, transform .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small { min-height: 40px; padding: 6px 16px; font-size: .9rem; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 44px; padding: 6px 14px; border: 1.5px solid var(--ink); border-radius: 999px;
    background: transparent; color: var(--ink); font: inherit; font-size: .9rem; cursor: pointer;
  }
  .global-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; }
  .global-nav.is-open { display: block; }
  .global-nav ul { flex-direction: column; align-items: stretch; }
  .global-nav a { padding: 12px 8px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .global-nav .nav-cta a { border-bottom: 0; margin-top: 12px; }
}

/* ===== セクション共通 ===== */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-alt { background: var(--paper-deep); }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  color: var(--accent-deep); letter-spacing: .12em; margin-bottom: .6em;
}
.lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 46em; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ===== ページ見出し（下層ページ） ===== */
.page-hero { padding: clamp(40px, 7vw, 72px) 0 clamp(28px, 5vw, 48px); border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 12px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }

/* ===== ファーストビュー ===== */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(48px, 8vw, 88px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .5em; }
.hero h1 .line { display: block; }
.hero h1 .mark { background: linear-gradient(transparent 62%, var(--accent-tint) 62%); }
.hero .lead { font-size: clamp(1rem, 1.8vw, 1.15rem); margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 14px; font-size: .9rem; color: var(--ink-soft); }

/* 受付の窓口イラスト（CSSとSVGだけで描く） */
.reception {
  background: var(--card); border-radius: 24px; box-shadow: var(--shadow);
  padding: 28px 24px 24px; position: relative;
}
.reception-badge {
  position: absolute; top: -14px; left: 24px; margin: 0;
  background: var(--sage-deep); color: #fff; font-family: var(--font-head); font-weight: 700;
  font-size: .85rem; padding: 4px 14px; border-radius: 999px; letter-spacing: .1em; line-height: 1.6;
}
.reception-title { font-family: var(--font-head); font-weight: 700; margin: 6px 0 14px; font-size: 1.05rem; }
.reception ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.reception li {
  display: flex; gap: 10px; align-items: baseline; font-size: .95rem;
  padding: 8px 12px; background: var(--paper); border-radius: 10px; line-height: 1.6;
}
.reception li span { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: .8rem; flex: none; }
.reception-foot { margin: 14px 0 0; font-size: .9rem; color: var(--sage-deep); font-weight: 700; }

@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* ===== 人事の相談カウンター ===== */
.counter { background: var(--sage); }
.counter-layout { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.ticket-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticket {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  background: var(--card); border: 2px solid transparent; border-radius: 12px;
  padding: 12px 14px; font: inherit; color: var(--ink); cursor: pointer; line-height: 1.5;
  box-shadow: 0 1px 2px rgba(30, 42, 63, .06);
  transition: border-color .15s, transform .15s;
}
.ticket:hover { border-color: var(--sage-deep); }
.ticket[aria-selected="true"] { border-color: var(--accent); background: #fffaf7; }
.ticket-no {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper-deep); font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  border: 2px dashed var(--line);
}
.ticket[aria-selected="true"] .ticket-no { background: var(--accent); color: #fff; border-color: var(--accent); }
.ticket-label { font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.ticket-unclear .ticket-no { background: var(--sage-deep); color: #fff; border-color: var(--sage-deep); }

.answer {
  background: var(--card); border-radius: 18px; box-shadow: var(--shadow);
  padding: clamp(22px, 3.5vw, 36px);
}
.answer[hidden] { display: none; }
.answer-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px dashed var(--line); }
.answer-head .ticket-no { background: var(--accent); color: #fff; border-color: var(--accent); }
.answer-head h3 { margin: 0; }
.answer-block { margin-bottom: 20px; }
.answer-block h4 { font-size: .95rem; color: var(--sage-deep); margin-bottom: .3em; letter-spacing: .08em; }
.answer-block p:last-child { margin-bottom: 0; }
.answer-block ul { margin: 0 0 1em; padding-left: 1.2em; }
.answer-related { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.answer-related h4 { font-size: .95rem; margin-bottom: .6em; }
.answer-related ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; }
.answer-related a { font-size: .93rem; }
.answer-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 900px) {
  .counter-layout { grid-template-columns: 1fr; }
  .ticket-list { grid-template-columns: 1fr 1fr; }
  .ticket { flex-direction: column; text-align: center; gap: 8px; padding: 14px 10px; }
  .ticket-label { font-size: .92rem; }
  .ticket-list li:last-child { grid-column: 1 / -1; }
  .ticket-list li:last-child .ticket { flex-direction: row; justify-content: center; }
}

/* ===== 「モテる人事」とは ===== */
.define { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.define-quote {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.7;
  border-left: 6px solid var(--accent); padding-left: 20px; margin: 0;
}
.principles { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: p; }
.principles li { background: var(--card); border-radius: 12px; padding: 14px 18px 14px 60px; position: relative; box-shadow: 0 1px 2px rgba(30,42,63,.06); }
.principles li::before {
  counter-increment: p; content: counter(p);
  position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem;
}
.principles strong { display: block; font-family: var(--font-head); }
.principles span { font-size: .93rem; color: var(--ink-soft); }
@media (max-width: 820px) { .define { grid-template-columns: 1fr; } }

/* ===== 支援メニュー ===== */
.menu-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.menu-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 8px 20px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.menu-item .num { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--accent); line-height: 1.3; }
.menu-item h3 { margin-bottom: .3em; }
.menu-item p { margin: 0; color: var(--ink-soft); }
.menu-item .menu-detail { grid-column: 2; }
.menu-item .menu-detail ul { margin: .6em 0 0; padding-left: 1.2em; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 600px) { .menu-item { grid-template-columns: 1fr; } .menu-item .menu-detail { grid-column: 1; } }

/* ===== 支援の進め方 ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s; }
.steps li { background: var(--card); border-radius: 14px; padding: 20px 16px; position: relative; box-shadow: 0 1px 2px rgba(30,42,63,.06); }
.steps li::before {
  counter-increment: s; content: "STEP " counter(s);
  display: block; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .12em; color: var(--accent-deep); margin-bottom: 6px;
}
.steps strong { display: block; font-family: var(--font-head); font-size: 1.02rem; line-height: 1.5; margin-bottom: 6px; }
.steps span { display: block; font-size: .9rem; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .steps li { padding-left: 20px; } }

/* ===== 経験から AI までの図解 ===== */
.flow-figure { margin: 0; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); }
.flow-figure ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.flow-figure li { position: relative; padding: 0 14px; text-align: center; }
.flow-figure li:not(:last-child)::after {
  content: ""; position: absolute; right: -9px; top: 34px; width: 18px; height: 18px;
  border-top: 3px solid var(--accent); border-right: 3px solid var(--accent); transform: rotate(45deg);
}
.flow-icon {
  width: 84px; height: 84px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper-deep);
}
.flow-icon svg { width: 44px; height: 44px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow-figure li:last-child .flow-icon { background: var(--accent-tint); }
.flow-figure strong { display: block; font-family: var(--font-head); font-size: 1.02rem; }
.flow-figure span { display: block; font-size: .88rem; color: var(--ink-soft); line-height: 1.7; margin-top: 4px; }
.flow-caption { margin: 22px 0 0; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .93rem; color: var(--ink-soft); }
@media (max-width: 760px) {
  .flow-figure ol { grid-template-columns: 1fr; gap: 28px; }
  .flow-figure li { display: grid; grid-template-columns: 72px 1fr; gap: 0 14px; text-align: left; padding: 0; align-items: center; }
  .flow-icon { width: 64px; height: 64px; margin: 0; grid-row: span 2; }
  .flow-icon svg { width: 34px; height: 34px; }
  .flow-figure li:not(:last-child)::after { right: auto; left: 26px; top: auto; bottom: -22px; transform: rotate(135deg); width: 12px; height: 12px; }
}

/* ===== 約束 ===== */
.promise { background: var(--ink); color: #f4efe6; border-radius: 24px; padding: clamp(28px, 5vw, 56px); }
.promise h2, .promise h3 { color: #fff; }
.promise .eyebrow { color: #f3b59f; }
.promise p { color: #dcd6cb; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.promise-grid div { background: rgba(255,255,255,.07); border-radius: 14px; padding: 18px; }
.promise-grid strong { display: block; font-family: var(--font-head); color: #fff; margin-bottom: 6px; }
.promise-grid p { font-size: .93rem; margin: 0; }
@media (max-width: 820px) { .promise-grid { grid-template-columns: 1fr; } }

/* ===== 代表紹介 ===== */
.profile { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.profile-photo {
  aspect-ratio: 4 / 5; border-radius: 18px; background: var(--paper-deep);
  display: grid; place-items: center; text-align: center; padding: 16px;
  border: 2px dashed var(--line); color: var(--ink-soft); font-size: .85rem;
}
.profile-name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; margin: 0; }
.profile-role { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1em; }
.career { list-style: none; padding: 0; margin: 1.2em 0; border-left: 2px solid var(--line); }
.career li { position: relative; padding: 0 0 14px 22px; }
.career li::before { content: ""; position: absolute; left: -7px; top: .65em; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.career strong { font-family: var(--font-head); }
.career-period { display: block; font-size: .85rem; color: var(--ink-soft); }
.career p { margin: .3em 0 0; font-size: .95rem; }
.profile-photo-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 18px; }
.line-qr { display: block; width: 180px; max-width: 100%; height: auto; margin-top: 10px; border-radius: 8px; background: #fff; }
.terms { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; }
.terms dt { font-family: var(--font-head); font-weight: 700; }
.terms dd { margin: 0; }
@media (max-width: 560px) { .terms { grid-template-columns: 1fr; gap: 2px; } .terms dd { margin-bottom: 10px; } }
@media (max-width: 720px) { .profile { grid-template-columns: 1fr; } .profile-photo, .profile-photo-img { max-width: 220px; } }

/* ===== 記事カード ===== */
.theme-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; padding: 0; list-style: none; }
.theme-filter button {
  min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--card); color: var(--ink); font: inherit; font-size: .9rem; cursor: pointer;
}
.theme-filter button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.theme-filter .count { font-size: .8em; opacity: .75; margin-left: 4px; }
.article-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.article-card a {
  display: flex; flex-direction: column; height: 100%;
  background: var(--card); border-radius: 14px; padding: 18px 20px; text-decoration: none;
  box-shadow: 0 1px 2px rgba(30,42,63,.06); border: 1px solid transparent; transition: border-color .15s;
}
.article-card a:hover { border-color: var(--accent); color: var(--ink); }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .8rem; color: var(--ink-soft); margin-bottom: 8px; }
.tag { display: inline-block; background: var(--paper-deep); border-radius: 999px; padding: 1px 10px; font-size: .78rem; color: var(--ink); }
.tag-paid { background: var(--accent-tint); color: var(--accent-deep); font-weight: 700; }
.article-title { font-family: var(--font-head); font-weight: 700; line-height: 1.6; font-size: 1rem; flex: 1; }
.article-more { margin-top: 12px; font-size: .85rem; color: var(--accent-deep); font-weight: 700; }
.article-status { font-size: .9rem; color: var(--ink-soft); margin-top: 12px; }

/* ===== FAQ ===== */
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--card); border-radius: 12px; box-shadow: 0 1px 2px rgba(30,42,63,.06); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 16px 52px 16px 52px; position: relative;
  font-family: var(--font-head); font-weight: 700; line-height: 1.6; min-height: 48px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; position: absolute; left: 18px; top: 15px; color: var(--accent); font-size: 1.1rem; }
.faq-list summary::after { content: "＋"; position: absolute; right: 18px; top: 15px; color: var(--ink-soft); }
.faq-list details[open] summary::after { content: "－"; }
.faq-answer { padding: 0 20px 18px 52px; position: relative; }
.faq-answer::before { content: "A"; position: absolute; left: 18px; top: 0; font-family: var(--font-head); font-weight: 700; color: var(--sage-deep); font-size: 1.1rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ===== お問い合わせ ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.form { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: clamp(22px, 4vw, 40px); }
.field { margin-bottom: 22px; }
.field > label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; font-family: var(--font-head); }
.req, .opt { display: inline-block; font-size: .72rem; border-radius: 4px; padding: 1px 6px; margin-left: 8px; vertical-align: 2px; font-family: var(--font-body); }
.req { background: var(--accent); color: #fff; }
.opt { background: var(--paper-deep); color: var(--ink-soft); }
.hint { font-size: .85rem; color: var(--ink-soft); margin: 4px 0 0; line-height: 1.6; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #b9ad9a; border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 180px; resize: vertical; line-height: 1.7; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
fieldset.field { border: 0; padding: 0; margin: 0 0 22px; }
.choice-list { display: grid; gap: 8px; }
.choice-list label {
  display: flex; gap: 10px; align-items: center; padding: 10px 14px; min-height: 48px;
  border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; background: #fff; line-height: 1.5;
}
.choice-list input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.choice-list label:has(input:checked) { border-color: var(--accent); background: #fffaf7; }
.field-error { color: #b42318; font-size: .88rem; margin: 6px 0 0; font-weight: 700; }
.form-status { margin-top: 18px; }
.form-status:empty { display: none; }
.aside-box { background: var(--card); border-radius: 16px; padding: 22px; box-shadow: 0 1px 2px rgba(30,42,63,.06); margin-bottom: 16px; }
.aside-box h2 { font-size: 1.05rem; }
.aside-box ol, .aside-box ul { padding-left: 1.2em; margin: 0; font-size: .93rem; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* ===== 最終CTA ===== */
.final-cta { text-align: center; }
.final-cta .box { background: var(--card); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(32px, 6vw, 64px) 20px; border-top: 6px solid var(--accent); }
.final-cta .hero-actions { justify-content: center; }

/* ===== 汎用 ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: var(--card); border-radius: 16px; padding: 22px; box-shadow: 0 1px 2px rgba(30,42,63,.06); }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.check-list li { padding-left: 28px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.more-link { display: inline-block; margin-top: 18px; font-weight: 700; font-family: var(--font-head); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* ===== フッター ===== */
.site-footer { background: var(--ink); color: #dcd6cb; padding: 48px 0 calc(32px + env(safe-area-inset-bottom)); font-size: .9rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.footer-grid h2 { font-size: .95rem; color: #fff; margin-bottom: .6em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-grid a { text-decoration: none; display: inline-block; padding: 4px 0; }
.footer-grid a:hover { text-decoration: underline; color: #fff; }
.footer-brand { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: 6px; }
.copyright { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: .8rem; color: #b9b2a5; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== スマートフォン下部の固定CTA ===== */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(250, 246, 239, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(30,42,63,.08);
  }
  .sticky-cta .btn { flex: 1; min-height: 48px; padding: 8px 10px; font-size: .9rem; }
  .sticky-cta .btn-ghost { flex: 0 0 auto; }
  body { padding-bottom: 76px; }
  body.page-contact .sticky-cta { display: none; }
  body.page-contact { padding-bottom: 0; }
}

/* ===== 表示の調整 ===== */
/* 日本語を文節で折り返す（対応ブラウザのみ。非対応でも通常どおり表示される） */
h1, h2, h3, .ticket-label, .btn, .lead, .article-title { word-break: auto-phrase; }
/* 固定ヘッダーに見出しが隠れないようにする */
[id] { scroll-margin-top: 84px; }
@media (max-width: 600px) {
  .hero-actions .btn { width: 100%; font-size: .95rem; padding-inline: 16px; }
}

/* ===== WordPress版で足した部品 ===== */
main:focus { outline: none; }
.hero-title { font-size: clamp(1.75rem, 4.4vw, 2.75rem); line-height: 1.55; }
.space-top { margin-top: 1em; }
.small { font-size: .93rem; margin: 0; }
.section-tight { padding: 0 0 clamp(32px, 5vw, 56px); }
.card-title { font-size: 1.2rem; }
.profile-heading { font-size: 1.3rem; margin-top: 1.6em; }
.profile-photo-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }

.step-detail { list-style: none; padding: 0; margin: 0 0 28px; border-left: 3px solid var(--line); }
.step-detail li { position: relative; padding: 0 0 28px 28px; }
.step-detail li::before { content: ""; position: absolute; left: -9px; top: .45em; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); }
.step-detail h2 { font-size: 1.25rem; }
.step-label { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .12em; color: var(--accent-deep); margin: 0 0 .2em; }

/* 言語の切り替え（GTranslate）。日本語 / English を並べる */
.lang-switch .gtranslate_wrapper { display: flex; align-items: center; gap: 0; }
.lang-switch a.glink {
  display: inline-flex; align-items: center; min-height: 40px; padding: 6px 8px;
  font-size: .85rem; color: var(--ink-soft); text-decoration: none; border-radius: 6px;
}
.lang-switch a.glink:hover { color: var(--ink); background: var(--paper-deep); }
.lang-switch a.glink.gt-current-lang { color: var(--ink); font-weight: 700; }
.lang-switch a.glink + a.glink::before { content: "/"; color: var(--line); margin-right: 8px; font-weight: 400; }
.lang-switch img { display: none; }
.global-nav .nav-lang { margin: 0 4px; }
.global-nav .nav-lang a.glink { border-bottom: 0; padding: 6px 8px; }
.footer-lang { margin-top: 24px; }
.footer-lang a.glink { color: #dcd6cb; }
.footer-lang a.glink:hover, .footer-lang a.glink.gt-current-lang { color: #fff; background: rgba(255,255,255,.08); }
@media (max-width: 960px) {
  .global-nav .nav-lang { margin: 8px 0 0; padding: 4px 0; border-bottom: 1px solid var(--line); }
  .global-nav .nav-lang a.glink { display: inline-flex; padding: 8px 10px; font-size: .95rem; }
}
/* 機械翻訳で誤訳が困る箇所は、手書きの英語に切り替える */
.only-en { display: none; }
html.translated-ltr .only-ja { display: none; }
html.translated-ltr .only-en { display: inline; }

/* お問い合わせフォーム（Contact Form 7） */
.wpcf7 form > p { margin: 0 0 20px; }
.wpcf7 label { display: block; font-family: var(--font-head); font-weight: 700; }
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 6px; font-family: var(--font-body); font-weight: 400; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #b9ad9a; border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
.wpcf7 textarea { min-height: 180px; height: 220px; resize: vertical; line-height: 1.7; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.wpcf7 .req, .wpcf7 .opt { font-family: var(--font-body); }
.cf-topic { border: 0; padding: 0; margin: 0 0 22px; }
.cf-topic legend { font-family: var(--font-head); font-weight: 700; margin-bottom: 8px; padding: 0; }
.cf-topic .wpcf7-radio { display: grid; gap: 8px; }
.cf-topic .wpcf7-list-item { margin: 0; display: block; }
.cf-topic .wpcf7-list-item label {
  display: flex; gap: 10px; align-items: center; padding: 10px 14px; min-height: 48px;
  border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; background: #fff;
  font-family: var(--font-body); font-weight: 400; line-height: 1.5;
}
.cf-topic .wpcf7-list-item input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; margin: 0; }
.cf-topic .wpcf7-list-item label:has(input:checked) { border-color: var(--accent); background: #fffaf7; }
.cf-note { font-size: .88rem; color: var(--ink-soft); font-family: var(--font-body); font-weight: 400; display: block; margin-top: 4px; }
.wpcf7 input[type="submit"] {
  width: 100%; min-height: 52px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
}
.wpcf7 input[type="submit"]:hover { background: var(--accent-deep); }
.wpcf7 .wpcf7-spinner { display: block; margin: 10px auto 0; }
.wpcf7-not-valid-tip { color: #b42318; font-size: .88rem; font-weight: 700; margin-top: 6px; font-family: var(--font-body); }
.wpcf7 .wpcf7-not-valid { border-color: #b42318; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; border-width: 2px; line-height: 1.7; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--sage-deep); background: var(--sage); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #b42318; background: #fdecea; }
.form .entry-content > p:last-child { margin-bottom: 0; }

/* メニューボタンの文字を折り返さない（英語表示の「close」が2行に割れるのを防ぐ） */
.nav-toggle { white-space: nowrap; flex: none; }
/* スマホでは下層ページの見出しを少し小さくし、言葉の途中で改行されにくくする */
@media (max-width: 600px) {
  .page-hero h1 { font-size: 1.4rem; line-height: 1.6; }
}
