/* =========================================================
   馬場ようへい 公式サイト
   青基調。色・書体はここ（:root）でまとめて管理
   ========================================================= */
:root {
  --blue: #1D5FA7;          /* メイン：見出し・ボタン・番号（白文字 6.5:1） */
  --blue-dark: #174D88;     /* ボタンのホバー */
  --deep: #0E2A47;          /* 濃紺：ファーストビュー・SNS・事務所 */
  --deeper: #0A1F36;        /* フッター */
  --light: #E4F0FB;         /* うすい青：ファーストビュー・SNSの背景 */
  --slab: #CBE2F7;          /* ファーストビューの斜めの面 */
  --sky: #7CC4FF;           /* 濃い地の上でだけ使う明るい青 */
  --pale: #F1F7FD;          /* ごく淡い青：交互の背景 */
  --rule: #C9DBEC;          /* 罫線 */
  --white: #FFFFFF;
  --text: #172B3A;          /* 本文（白地 14.5:1） */
  --text-sub: #44566A;      /* 補足（白地 7.4:1） */
  --error: #B3261E;

  --font-head: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-num: "Barlow Condensed", "Zen Kaku Gothic New", sans-serif;

  --header-h: 64px;
  --sns-bar-h: 48px;        /* スマホ：ヘッダー下のSNSの帯の高さ（PCでは0） */
  --top-h: calc(var(--header-h) + var(--sns-bar-h));
  --radius: 4px;
  --gutter: 16px;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;      /* 17px */
  line-height: 1.9;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  line-break: strict;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.4; margin: 0; letter-spacing: .03em; }
p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #2B7BD6; outline-offset: 3px; }
ruby rt { font-size: .38em; letter-spacing: .1em; font-weight: 500; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 1000;
  background: var(--deep); color: #fff; padding: 10px 16px;
}
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 880px; }
.pc-only { display: none; }
.nw { display: inline-block; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 12px 28px;
  border: 0; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; letter-spacing: .06em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-arrow::after {   /* 右向きの矢印（線で描く） */
  content: ""; width: .5em; height: .5em;
  border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg);
}

/* =========================================================
   0. ヘッダー
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  height: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 12px;
}
.logo {
  display: flex; flex-direction: column; line-height: 1.1;
  font-family: var(--font-head); font-weight: 900; font-size: 1.375rem;
  color: var(--deep); text-decoration: none; letter-spacing: .06em;
  margin-right: auto; white-space: nowrap;
  padding-left: 12px; border-left: 5px solid var(--blue);
}
.logo-en { font-family: var(--font-num); font-weight: 600; font-size: .75rem; letter-spacing: .28em; color: var(--blue); margin-top: 3px; }
.header-cta { min-height: 44px; padding: 8px 16px; font-size: .9375rem; white-space: nowrap; }

.menu-toggle {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 52px; height: 52px; margin-right: -4px; flex-shrink: 0;
  background: none; border: 0; color: var(--deep); cursor: pointer;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 26px; height: 3px; background: currentColor;
  transition: transform .25s, background-color .25s;
}
.menu-toggle-bars { position: relative; margin: 8px 0 6px; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -8px; }
.menu-toggle-bars::after { top: 8px; }
.menu-toggle-label { font-size: .6875rem; font-weight: 700; line-height: 1; letter-spacing: 0; white-space: nowrap; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); }

/* スマホ：ハンバーガーで開くメニュー */
.global-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 2;
  background: var(--white); border-bottom: 4px solid var(--blue);
  display: none;
}
.global-nav.is-open { display: block; }
.global-nav ul { padding: 8px var(--gutter) 20px; }
.global-nav a {
  display: flex; align-items: center; justify-content: space-between; padding: 18px 4px;
  font-size: 1.125rem; font-weight: 700; color: var(--deep); text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.global-nav a::after {
  content: ""; width: .5em; height: .5em;
  border: solid var(--blue); border-width: 2px 2px 0 0; transform: rotate(45deg);
}

/* ---------- 右上に固定するSNSリンク ----------
   スマホ：ヘッダーのすぐ下に細い帯（右寄せ）／PC：ヘッダー右端に並べる */
.sns-float {
  position: absolute; top: 100%; left: 0; right: 0;
  height: var(--sns-bar-h);
  display: flex; align-items: center; justify-content: flex-end; gap: 6px;
  padding: 0 var(--gutter);
  background: var(--white); border-bottom: 1px solid var(--rule);
}
.sns-float::before {
  content: "FOLLOW"; margin-right: auto;
  font-family: var(--font-num); font-weight: 600; font-size: .875rem; letter-spacing: .28em; color: var(--blue);
}
.sns-float a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius);
  border: 1px solid var(--rule); background: var(--white);
  transition: background-color .2s, border-color .2s;
}
.sns-float a:hover { background: var(--pale); border-color: var(--blue); }
.sns-float svg { width: 22px; height: 22px; }
.sf-line { color: #06C755; --line-text: #fff; }
.sf-instagram { color: #C13584; }
.sf-x { color: #000; }
.sf-facebook { color: #1877F2; }
.sf-tiktok { color: #000; }
.sf-tiktok svg { filter: drop-shadow(-1px -1px 0 #25F4EE) drop-shadow(1px 1px 0 #FE2C55); }

@media (max-width: 359px) {
  .logo { font-size: 1.125rem; }
  .header-cta { padding: 8px 12px; font-size: .875rem; }
}

/* =========================================================
   1. ファーストビュー（うすい青）
   ========================================================= */
.hero {
  position: relative;
  background: var(--light); color: var(--deep);
  padding-top: var(--top-h);
  overflow: hidden;
}
.hero-grid { position: relative; z-index: 1; display: flex; flex-direction: column; padding-top: 20px; }

/* 写真（スマホでは最初に表示） */
.hero-photo { position: relative; margin: 0 calc(var(--gutter) * -1); }
.hero-photo::before {   /* 写真の背後の斜めの面（単色） */
  content: ""; position: absolute; inset: 8% 0 0 0;
  background: var(--slab);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-photo picture { position: relative; display: block; }
.hero-photo img { width: 100%; max-width: 440px; max-height: 60vh; object-fit: contain; object-position: center bottom; margin: 0 auto; }

/* 写真に重ねる肩書き（写真の下端に帯として載せる） */
.title-card {
  position: absolute; left: var(--gutter); bottom: 16px; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--text);
  border-left: 6px solid var(--blue);
  padding: 8px 10px 8px 8px;
  max-width: calc(100% - var(--gutter) * 2 - 104px);   /* 右下の自民党ロゴの分をあける */
}
.title-card-logo { height: 32px; width: auto; flex-shrink: 0; }
.title-card-text { display: flex; flex-direction: column; line-height: 1.4; }
.title-card-org { font-size: .875rem; font-weight: 700; color: var(--blue); white-space: nowrap; letter-spacing: 0; font-feature-settings: "palt"; }
.title-card-role { font-family: var(--font-head); font-size: 1.125rem; font-weight: 900; color: var(--deep); white-space: nowrap; }
@media (max-width: 374px) {
  .title-card-org { font-size: .8125rem; }
  .title-card-role { font-size: 1rem; }
  .title-card-logo { height: 28px; }
}

/* 文字の部分 */
.hero-text { padding: 28px 0 36px; }
.hero-badges { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badge-group { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.badge { display: inline-flex; flex-wrap: wrap; align-items: center; padding: 6px 14px; font-weight: 700; line-height: 1.4; }
.badge-main {   /* 看護師 */
  background: var(--blue); color: #fff;
  font-family: var(--font-head); font-weight: 900; font-size: 1.5rem; padding: 2px 18px;
}
.badge-sub { background: var(--white); color: var(--deep); border: 2px solid var(--deep); font-size: .9375rem; }
.hero-photo.no-ldp .title-card { max-width: calc(100% - var(--gutter) * 2); }   /* 党ロゴを出さないとき */
/* 自民党ロゴ：写真の枠の右下に置く（背景は透過。左下の肩書きカードと横に並ぶ） */
.hero-photo .ldp-pic { position: absolute; right: var(--gutter); bottom: 16px; z-index: 2; display: block; }
.hero-photo .ldp-logo {
  height: 34px; width: auto; max-width: none; max-height: none; margin: 0;
}

.field-tags { display: flex; flex-wrap: wrap; margin-top: 18px; }
.field-tags li {
  padding: 0 14px; line-height: 1.3;
  color: var(--deep); font-weight: 700; font-size: 1.0625rem;
  border-left: 2px solid var(--blue);
}
.field-tags li:first-child { padding-left: 0; border-left: 0; }

.slogan {
  margin-top: 20px;
  font-family: var(--font-head); font-weight: 900; color: var(--deep);
  font-size: clamp(2.25rem, 10.5vw, 4.75rem);
  line-height: 1.28; letter-spacing: .02em;
}
.slogan span { display: block; white-space: nowrap; }
.slogan-accent { color: var(--blue); }

.hero-name {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-head); font-weight: 900; color: var(--deep);
  font-size: clamp(2.25rem, 9vw, 3.5rem); line-height: 1.5; letter-spacing: .08em;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 16px;
}
.hero-name-en { font-family: var(--font-num); font-weight: 600; font-size: 1rem; letter-spacing: .3em; color: var(--blue); }

/* 青い帯 */
.hero-band { position: relative; z-index: 1; background: var(--blue); color: #fff; }
.hero-band p {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding-top: 16px; padding-bottom: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; line-height: 1.6;
}
.hero-band p span:not(.band-sep)::before {
  content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .6em;
  background: #fff; vertical-align: .12em;
}
.band-sep { display: none; }

/* =========================================================
   共通セクション
   ========================================================= */
.section { padding: 72px 0; }
.section-white { background: var(--white); }
.section-pale { background: var(--pale); }
.section-light { background: var(--light); }

/* 見出し：英字ラベル＋左揃え */
.section-en {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-num); font-weight: 600; font-size: 1rem; letter-spacing: .3em;
  color: var(--blue); margin-bottom: 6px;
}
.section-en::before { content: ""; width: 32px; height: 2px; background: currentColor; }

.section-title {
  color: var(--deep);
  font-weight: 900; font-size: clamp(1.875rem, 7vw, 2.75rem); line-height: 1.35;
  margin-bottom: 40px;
}
.section-title-sub { display: block; font-size: .5em; font-weight: 700; color: var(--text-sub); letter-spacing: .1em; }
.section-lead { color: var(--text); margin: -16px 0 40px; max-width: 40em; }

/* スクロールで軽くフェードイン（JSが動くときだけ） */
.js .fade-in { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.js .fade-in.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .fade-in { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   2. 3つの重点政策（箱ではなく罫線で区切る）
   ========================================================= */
.policy-list { display: grid; gap: 48px; }
.policy-card {
  display: flex; flex-direction: column;
  border-top: 6px solid var(--deep);
  padding-top: 20px;
}
.policy-kicker { display: flex; align-items: center; gap: 14px; color: var(--deep); }
.policy-num { font-family: var(--font-num); font-weight: 700; font-size: 4rem; line-height: .9; color: var(--blue); }
.policy-field {
  font-weight: 700; font-size: 1.0625rem; line-height: 1.5;
  padding-left: 14px; border-left: 2px solid var(--rule);
}
.policy-catch { margin-top: 14px; font-weight: 900; font-size: 1.5rem; color: var(--deep); }

.policy-stat {
  margin: 20px 0 6px; padding: 16px 18px 18px;
  background: var(--pale); border-left: 6px solid var(--blue);
}
.stat-label { font-weight: 700; color: var(--deep); font-size: 1rem; }
.stat-value {
  font-family: var(--font-num); font-weight: 700; color: var(--blue);
  font-size: 3.5rem; line-height: 1.05; margin: 2px 0 4px; letter-spacing: .01em;
}
.stat-unit { font-family: var(--font-head); font-size: .42em; margin-left: .15em; color: var(--deep); }
.stat-note { font-size: 1rem; color: var(--text-sub); line-height: 1.7; }

.policy-h4 {
  align-self: flex-start; margin-top: 22px; padding: 2px 12px;
  font-size: 1rem; font-weight: 700; letter-spacing: .08em;
  background: var(--deep); color: #fff;
}
.policy-issues + .policy-h4 { background: var(--blue); }
.policy-h4 + ul { margin-top: 10px; }
.policy-issues li, .policy-actions li {
  position: relative; padding: 8px 0 8px 1.5em; line-height: 1.7;
  border-bottom: 1px solid var(--rule);
}
.policy-issues li::before {   /* ダッシュ */
  content: ""; position: absolute; left: .1em; top: 1.3em; width: .8em; height: 2px; background: var(--text-sub);
}
.policy-actions li { font-weight: 500; }
.policy-actions li::before {   /* チェック印 */
  content: ""; position: absolute; left: .25em; top: .95em;
  width: .42em; height: .78em; border: solid var(--blue); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.policy-source {
  margin-top: auto; padding-top: 18px;
  font-size: .9375rem; color: var(--text-sub); line-height: 1.7;
}

/* =========================================================
   3. わたしの想い
   ========================================================= */
.message-grid { display: grid; gap: 28px; align-items: center; }
.message-photo {   /* 写真の右端は元データのフレームで切れているので、青い面の中に右下ぞろえで収める */
  width: 100%; max-width: 360px; margin: 0 auto;
  background: var(--slab); border-bottom: 6px solid var(--blue);
  padding-top: 20px; overflow: hidden;
}
.message-photo img { width: 100%; }
.message-body .section-title { margin-bottom: 24px; }
.message-text { padding-left: 20px; border-left: 4px solid var(--blue); }
.message-text p { font-size: 1.1875rem; line-height: 2.1; }
.message-sign {
  margin-top: 24px; text-align: right;
  font-family: var(--font-head); font-weight: 900; font-size: 1.75rem; color: var(--deep); letter-spacing: .1em;
}

/* =========================================================
   4. プロフィール
   ========================================================= */
.profile-head { margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.profile-name { font-family: var(--font-head); font-weight: 900; font-size: 2.25rem; color: var(--deep); line-height: 1.4; letter-spacing: .1em; }
.profile-kana { display: inline-block; font-size: 1rem; font-weight: 700; color: var(--text-sub); letter-spacing: .1em; margin-left: .3em; }
.profile-meta { margin-top: 8px; font-weight: 500; }

.profile-h3 {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.25rem; font-weight: 900; color: var(--deep); margin-bottom: 8px;
}
.profile-h3::before { content: ""; width: 10px; height: 10px; background: var(--blue); flex-shrink: 0; }
.timeline { position: relative; margin-bottom: 48px; }
.timeline li {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 0;
  padding: 14px 0 14px 28px; border-bottom: 1px solid var(--rule);
}
.timeline::before {   /* 縦の線 */
  content: ""; position: absolute; left: 4px; top: 24px; bottom: 24px; width: 2px; background: var(--rule);
}
.timeline li::before {  /* 四角い印 */
  content: ""; position: absolute; left: 0; top: 1.45em;
  width: 10px; height: 10px; background: var(--blue);
}
.timeline-year { font-family: var(--font-head); font-weight: 900; color: var(--blue); white-space: nowrap; }

.roles { border-top: 6px solid var(--deep); background: var(--pale); padding: 24px 20px; }
.roles-title::before { display: none; }
.roles-logo { height: 40px; width: auto; }   /* 元画像が小さいので引き伸ばさない */
.roles-list li { position: relative; padding: 8px 0 8px 1.3em; font-weight: 500; border-bottom: 1px solid var(--rule); }
.roles-list li:last-child { border-bottom: 0; }
.roles-list li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: .8em; height: 2px; background: var(--blue); }

/* =========================================================
   お知らせ・活動報告（管理画面で投稿したもの）
   ========================================================= */
.news-list { border-top: 6px solid var(--deep); }
.news-item {
  display: grid; gap: 10px;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.news-date { font-family: var(--font-num); font-weight: 600; font-size: 1.125rem; letter-spacing: .06em; color: var(--blue); }
.news-title { font-size: 1.3125rem; font-weight: 900; color: var(--deep); margin-bottom: 8px; }
.news-main p { line-height: 1.9; }
.news-main p + p { margin-top: .8em; }
.news-photo { max-width: 520px; }
.news-photo img { width: 100%; border: 1px solid var(--rule); }
.news-more { margin-top: 20px; }
.news-more summary {
  display: inline-flex; align-items: center; min-height: 52px; padding: 10px 20px;
  border: 2px solid var(--blue); border-radius: var(--radius);
  color: var(--blue); font-weight: 700; cursor: pointer; background: var(--white);
}
.news-more[open] summary { margin-bottom: 20px; }

/* =========================================================
   5. SNS（うすい青地に白いカード）
   ========================================================= */
.sns-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sns-card { --c: var(--blue); --label-bg: var(--c); }
.sns-link {
  display: flex; flex-direction: column; align-items: center; gap: 12px; height: 100%;
  padding: 20px 10px 18px;
  background: var(--white); border: 3px solid var(--c); border-radius: var(--radius);
  color: var(--c); text-decoration: none; text-align: center;
  transition: transform .2s;
}
.sns-link:hover { transform: translateY(-3px); }
.sns-icon { width: 48px; height: 48px; }
.sns-label {
  display: inline-block; width: 100%; max-width: 10em; padding: 6px 10px; border-radius: 2px;
  background: var(--label-bg); color: #fff;
  font-weight: 700; font-size: 1.1875rem; line-height: 1.4;   /* 19px太字＝大きい文字扱い */
}
.sns-desc { font-size: 1rem; color: var(--text); line-height: 1.6; }

.sns-line { --c: #06C755; --label-bg: #047A35; grid-column: 1 / -1; }
.sns-line .sns-link { padding: 24px 16px; }
.sns-line .sns-icon { width: 64px; height: 64px; }
.btn-line { background: #047A35; color: #fff; min-height: 56px; padding: 12px 40px; font-size: 1.125rem; }
.sns-line .sns-link:hover .btn-line { background: #03652c; }

.sns-instagram { --c: #E1306C; --label-bg: linear-gradient(90deg, #833AB4, #E1306C, #F56040); }
.sns-x { --c: #000000; }
.sns-facebook { --c: #1877F2; --label-bg: #1565D8; }
.sns-tiktok { --c: #FE2C55; }
.sns-tiktok .sns-icon { color: #000; filter: drop-shadow(-2px -2px 0 #25F4EE) drop-shadow(2px 2px 0 #FE2C55); }
.sns-tiktok .sns-label { background: #000; color: #fff; border: 2px solid #FE2C55; text-shadow: -1px -1px 0 #25F4EE; }
.sns-note { margin-top: 18px; font-size: .9375rem; color: var(--text-sub); }

/* =========================================================
   6. お問い合わせ
   ========================================================= */
.contact-grid { display: grid; gap: 32px; }
.field { margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.field-label { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 8px; padding: 0; color: var(--deep); }
.req, .opt {
  display: inline-block; padding: 0 8px;
  font-size: .8125rem; font-weight: 700; line-height: 1.7; letter-spacing: .05em; margin-left: 8px;
}
.field-label .req, .field-label .opt { margin-left: 0; }
.req { background: var(--blue); color: #fff; }
.opt { background: var(--pale); color: var(--text-sub); border: 1px solid var(--rule); }

.input {
  display: block; width: 100%; min-height: 56px; padding: 12px 14px;
  font: inherit; font-size: 1.0625rem; color: var(--text);
  background: var(--white); border: 2px solid #7C8EA2; border-radius: var(--radius);
}
.input:focus { outline: 3px solid rgba(43, 123, 214, .35); outline-offset: 0; border-color: var(--blue); }
.textarea { min-height: 160px; resize: vertical; line-height: 1.8; }
.field-hint { margin-top: 6px; font-size: .9375rem; color: var(--text-sub); }
.field-error { margin-top: 6px; font-size: 1rem; font-weight: 700; color: var(--error); }
.field-error:empty { display: none; }
.field-error::before { content: "！ "; }
.is-invalid .input { border-color: var(--error); background: #FFF6F5; }

.radio-list { display: grid; gap: 8px; }
.radio, .check {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  min-height: 56px; padding: 10px 14px;
  border: 2px solid var(--rule); border-radius: var(--radius); background: var(--white);
}
.radio:has(input:checked) { border-color: var(--blue); background: var(--pale); font-weight: 700; color: var(--deep); }
.radio input, .check input { width: 24px; height: 24px; margin: 0; flex-shrink: 0; accent-color: var(--blue); }
.check { border: 0; padding: 4px 0; background: none; }
.check a { font-weight: 700; }
.is-invalid .radio { border-color: var(--error); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-submit { width: 100%; min-height: 64px; font-size: 1.1875rem; margin-top: 4px; }
.btn-submit[disabled] { opacity: .7; cursor: wait; }
.form-status { margin-top: 14px; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); background: #FFF6F5; border: 2px solid var(--error); padding: 12px 14px; }
.form-status a { color: var(--error); }

.form-done { padding: 40px 20px; background: var(--pale); border-top: 6px solid var(--blue); }
.form-done-title { font-family: var(--font-head); font-weight: 900; font-size: 1.5rem; color: var(--deep); margin-bottom: 8px; }

.office { align-self: start; background: var(--light); color: var(--deep); padding: 28px 22px; border-top: 6px solid var(--blue); }
.office-title { font-size: 1.25rem; font-weight: 900; margin-bottom: 16px; }
.office-list div { display: grid; grid-template-columns: 3.5em 1fr; gap: 8px; padding: 12px 0; border-top: 1px solid var(--rule); }
.office-list dt { font-family: var(--font-num); font-weight: 600; letter-spacing: .12em; color: var(--blue); }
.office-list dd { margin: 0; }
.tel-link {
  display: inline-block; color: var(--blue); font-family: var(--font-num); font-weight: 700; font-size: 2rem; line-height: 1.2; letter-spacing: .04em;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em;
}
.office-note { margin-top: 12px; font-size: 1rem; }
.office-map { margin-top: 16px; border: 1px solid var(--rule); background: var(--white); }
.office-map iframe { display: block; width: 100%; height: 240px; border: 0; }
.map-link { display: inline-block; margin-top: 10px; font-weight: 700; }
.footer-addr a { color: #fff; }

/* =========================================================
   7. フッター
   ========================================================= */
.site-footer { background: var(--deeper); color: #fff; padding: 44px 0 28px; }
.footer-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.footer-org { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-ldp { height: 44px; width: auto; background: #fff; padding: 4px 8px; box-sizing: content-box; }
.footer-name { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.25rem; }
.footer-addr { display: block; }
.footer-sns { display: flex; gap: 8px; --line-text: var(--deeper); }
.footer-sns a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); color: #fff;
}
.footer-sns a:hover { background: rgba(255,255,255,.12); }
.footer-sns svg { width: 24px; height: 24px; }
.footer-links a { color: #fff; }
.copyright { font-size: .9375rem; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); width: 100%; }

/* =========================================================
   プライバシーポリシー
   ========================================================= */
.page-privacy main { padding-top: var(--top-h); }
.privacy { padding: 48px var(--gutter) 64px; }
.privacy h1 { color: var(--deep); font-weight: 900; font-size: clamp(1.75rem, 6vw, 2.25rem); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 6px solid var(--deep); }
.privacy h2 { color: var(--deep); font-size: 1.25rem; font-weight: 900; margin: 36px 0 10px; padding-left: 12px; border-left: 5px solid var(--blue); }
.privacy p, .privacy li { line-height: 1.9; }
.privacy ul { margin: 8px 0; }
.privacy ul li { position: relative; padding-left: 1.2em; }
.privacy ul li::before { content: ""; position: absolute; left: 0; top: .95em; width: .6em; height: 2px; background: var(--blue); }
.privacy-date { margin-top: 40px; text-align: right; color: var(--text-sub); }
.back-link { margin-top: 32px; text-align: center; }

/* =========================================================
   タブレット以上
   ========================================================= */
@media (min-width: 600px) {
  .sns-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .timeline li { grid-template-columns: 6.5em 1fr; gap: 16px; }
}

@media (min-width: 768px) {
  .news-item { grid-template-columns: 9.5em 1fr; gap: 12px 24px; padding: 28px 0; }
  .news-photo { grid-column: 2; }
  .hero-band p { flex-direction: row; justify-content: center; gap: 40px; font-size: 1.25rem; }
  .pc-only { display: inline; }
  .message-grid { grid-template-columns: 2fr 3fr; gap: 56px; }
  .message-photo { max-width: none; }
  .contact-grid { grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
  .office { position: sticky; top: calc(var(--top-h) + 24px); }
  .radio-list { grid-template-columns: 1fr 1fr; }
  .section { padding: 104px 0; }
}

/* =========================================================
   PC
   ========================================================= */
@media (min-width: 960px) {
  :root { --header-h: 76px; --sns-bar-h: 0px; --gutter: 32px; }
  .menu-toggle { display: none; }
  .global-nav { position: static; display: block; background: none; border: 0; }
  .global-nav ul { display: flex; gap: 4px; padding: 0; }
  .global-nav a { padding: 8px 14px; border: 0; font-size: 1rem; color: var(--deep); position: relative; white-space: nowrap; }
  .global-nav a::after {   /* ホバーで下線 */
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; width: auto; height: 3px;
    border: 0; transform: scaleX(0); background: var(--blue); transition: transform .2s;
  }
  .global-nav a:hover::after { transform: scaleX(1); }
  .header-cta { min-height: 48px; padding: 10px 24px; font-size: 1rem; margin-left: 8px; }
  .sns-float {
    position: static; height: auto; padding: 0 0 0 16px; margin-left: 8px;
    border: 0; border-left: 1px solid var(--rule); background: none; gap: 4px;
  }
  .sns-float::before { display: none; }
  .logo { font-size: 1.625rem; }

  /* ファーストビュー：左に文字、右に写真。右側に斜めの面 */
  .hero::before {
    content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 46%;
    background: var(--slab);
    clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  }
  .hero-grid {
    display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 24px;
    padding-top: 48px; min-height: 620px;
  }
  .hero-photo { grid-column: 2; grid-row: 1; margin: 0; align-self: end; }
  .hero-photo::before { display: none; }
  .hero-photo img { max-width: none; max-height: 660px; }
  .hero-text { grid-column: 1; grid-row: 1; align-self: center; padding: 24px 0 64px; }
  .hero-badges { justify-content: flex-start; gap: 20px; }
  .badge-main { font-size: 2rem; padding: 2px 24px; }
  .badge-sub { font-size: 1.0625rem; padding: 8px 16px; }
  .hero-photo .ldp-pic { right: -20px; bottom: 20px; }   /* スーツに重ならない右下のすみ */
  .hero-photo .ldp-logo { height: 46px; }
  .field-tags li { font-size: 1.125rem; padding: 0 18px; }
  .slogan { margin-top: 28px; font-size: clamp(3.25rem, 5.4vw, 4.875rem); }
  .hero-name { font-size: 3.5rem; }
  .title-card { left: -10%; bottom: 48px; gap: 12px; padding: 14px 22px 14px 14px; max-width: none; }
  .title-card-logo { height: 48px; }
  .title-card-org { font-size: 1rem; }
  .title-card-role { font-size: 1.375rem; }

  .policy-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .policy-card { padding: 24px 28px 0; border-left: 1px solid var(--rule); }
  .policy-card:first-child { padding-left: 0; border-left: 0; }
  .policy-card:last-child { padding-right: 0; }
  .stat-value { font-size: 4rem; }

  .sns-grid { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 16px; }
  .sns-line { grid-column: auto; }
  .sns-link { justify-content: center; padding: 28px 12px; }

  .footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px 32px; }
  .footer-org { flex-direction: row; align-items: center; gap: 20px; }
  .footer-links, .copyright { grid-column: 1 / -1; }
}

/* 横幅が狭めのPC・タブレット横向き：ヘッダーが窮屈なので、重複する「お問い合わせ」ボタンを隠す */
@media (min-width: 960px) and (max-width: 1179px) {
  .header-cta { display: none; }
  .hero-photo .ldp-pic { right: -24px; bottom: 16px; }
  .hero-photo .ldp-logo { height: 38px; }
}
