/* 神戸ひでのり公式サイト — スタイル
   色: えんじ #9f3b42 と生成り #faf6e5 が軸。墨 #2b2422。暗い面は深いえんじ #3b1519。
   面は 5 層（土台 / 青海波 / 光 / ベール / 四隅）で敷く。
   書体: 見出し Shippori Mincho B1、本文 Zen Kaku Gothic New（どちらも OFL・Google Fonts）。 */

:root {
  --enji: #9f3b42;
  --enji-d: #84303a;
  --enji-dk: #3b1519;
  --enji-dk2: #52202a;
  --kinari: #faf6e5;
  --momo: #fceeeb;
  --paper: #fffdf6;
  --ink: #2b2422;
  --ink2: #5b4f4b;
  --gold: #e6c98f;
  --line: rgba(159, 59, 66, .22);
  --mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --hd: 76px;
  --focus: var(--enji);
}
@media (max-width: 860px) { :root { --hd: 62px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
body {
  margin: 0; font-family: var(--gothic); font-size: 17px; line-height: 1.9; color: var(--ink);
  background: var(--paper); word-break: auto-phrase; overflow-wrap: anywhere; font-feature-settings: "palt" 0;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 40px); } }
.p { font-size: max(.63em, 16px); font-weight: 500; } /* 助詞は 63%。ただし最小 16px を下回らない */
.nw { white-space: nowrap; }
/* 長い段落は文字単位で揃えて折る（auto-phrase だと右端が大きく不揃いになる）。見出し・短い行は auto-phrase のまま */
.pol-body, .ach-note { word-break: normal; line-break: strict; }
.pol-body { text-align: justify; }
.pf-cols li, .tl li { word-break: keep-all; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.tex-dark, .site-footer, .hero, .drawer { --focus: var(--gold); }

/* ---------- 5 層の地 ---------- */
.tex-light {
  background:
    radial-gradient(150% 130% at 50% 45%, transparent 58%, rgba(122, 42, 49, .10) 100%),
    linear-gradient(180deg, rgba(255, 253, 246, .88) 0%, rgba(255, 253, 246, 0) 55%),
    radial-gradient(1100px 640px at 82% 18%, rgba(230, 201, 143, .14), transparent 72%),
    url(/bg/seigaiha_light.svg) 0 0 / 96px 48px repeat,
    linear-gradient(160deg, #ffffff 0%, var(--paper) 52%, var(--kinari) 100%);
}
.tex-kinari {
  background:
    radial-gradient(150% 130% at 50% 45%, transparent 58%, rgba(122, 42, 49, .12) 100%),
    linear-gradient(180deg, rgba(250, 246, 229, .86) 0%, rgba(250, 246, 229, 0) 50%),
    radial-gradient(1000px 600px at 12% 90%, rgba(252, 238, 235, .95), transparent 70%),
    url(/bg/seigaiha_light.svg) 0 0 / 96px 48px repeat,
    linear-gradient(160deg, var(--kinari) 0%, #f7efdc 60%, var(--momo) 100%);
}
.tex-dark {
  color: #fff;
  background:
    radial-gradient(140% 120% at 50% 50%, transparent 52%, rgba(0, 0, 0, .42) 100%),
    linear-gradient(90deg, rgba(59, 21, 25, .90) 0%, rgba(59, 21, 25, .70) 40%, rgba(59, 21, 25, .26) 64%, rgba(59, 21, 25, 0) 100%),
    radial-gradient(1250px 700px at 78% 42%, rgba(230, 201, 143, .16), transparent 70%),
    url(/bg/seigaiha_dark.svg) 0 0 / 96px 48px repeat,
    radial-gradient(1500px 900px at 22% 8%, rgba(82, 32, 42, .85) 0%, transparent 62%),
    linear-gradient(158deg, var(--enji-dk2) 0%, var(--enji-dk) 46%, #24090c 100%);
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hd);
  border-bottom: 1px solid var(--line);
}
.site-header::before { /* 地とぼかしは疑似要素に（中の fixed を閉じ込めない） */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 253, 246, .94); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
}
.hd-in { height: 100%; width: min(1280px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; min-height: 44px; justify-content: center; }
.brand-sub { font-size: 16px; color: var(--ink2); letter-spacing: .08em; }
.brand-name { font-family: var(--mincho); font-weight: 800; font-size: 28px; letter-spacing: .14em; color: var(--enji); }
.nav-pc { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-pc a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: 16px; font-weight: 500; text-decoration: none; color: var(--ink); letter-spacing: .04em;
}
.nav-pc a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--enji); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-pc a:hover::after, .nav-pc a[aria-current="page"]::after { transform: scaleX(1); }
.nav-pc a.nav-cta { margin-left: 10px; padding: 0 22px; background: var(--enji); color: #fff; border-radius: 999px; font-weight: 700; }
.nav-pc a.nav-cta::after { display: none; }
.nav-pc a.nav-cta:hover { background: var(--enji-d); }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; position: relative; border-radius: 6px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 12px; width: 24px; height: 2px; background: var(--enji); transition: transform .25s, background .25s; }
.nav-toggle span { top: 23px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-8px) rotate(-45deg); }
.drawer { display: none; }
@media (max-width: 960px) {
  .nav-pc { display: none; }
  .nav-toggle { display: block; }
  .brand-name { font-size: 24px; }
  .brand-sub { font-size: 16px; }
  .drawer {
    display: block; position: fixed; inset: var(--hd) 0 0 0; z-index: 49; overflow-y: auto;
    background: url(/bg/seigaiha_dark.svg) 0 0 / 96px 48px repeat, radial-gradient(120% 80% at 80% 0%, rgba(230, 201, 143, .14), transparent 60%), linear-gradient(170deg, var(--enji-dk2), var(--enji-dk) 60%, #24090c);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .drawer.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  .drawer-nav { display: flex; flex-direction: column; padding: 18px 24px 40px; }
  .drawer-nav a { display: flex; align-items: center; min-height: 60px; color: #fff; text-decoration: none; font-size: 19px; font-weight: 500; border-bottom: 1px solid rgba(230, 201, 143, .28); letter-spacing: .06em; }
  .drawer-nav a[aria-current="page"] { color: var(--gold); }
  .drawer-nav a.drawer-cta { margin-top: 26px; justify-content: center; border: 0; border-radius: 999px; background: #fff; color: var(--enji-dk); font-weight: 700; }
}
html.lock { overflow: hidden; }

main { padding-top: var(--hd); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 28px;
  border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: .06em;
  border: 0; cursor: pointer; font-family: var(--gothic); transition: background .2s, color .2s, transform .2s;
}
.btn .arw, .pcard .arw { width: 20px; height: 20px; flex: none; transition: transform .25s; }
.btn:hover .arw, .pcard:hover .arw { transform: translateX(4px); }
.btn-enji { background: var(--enji); color: #fff; }
.btn-enji:hover { background: var(--enji-d); }
.btn-light { background: #fff; color: var(--enji-dk); }
.btn-light:hover { background: var(--kinari); }
.more-row { margin-top: 44px; text-align: center; }

/* ---------- 節見出し ---------- */
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-en { font-family: var(--mincho); font-weight: 700; font-size: 18px; letter-spacing: .32em; color: var(--enji); }
.tex-dark .sec-en { color: var(--gold); }
.sec-ja { font-family: var(--mincho); font-weight: 800; font-size: clamp(30px, 3.2vw, 42px); letter-spacing: .12em; line-height: 1.4; margin-top: 4px; }
.sec-rule { display: block; width: 44px; height: 3px; background: var(--enji); margin: 18px auto 0; }
.tex-dark .sec-rule { background: var(--gold); }
.sec-head-s { margin: 28px 0 18px; }
@media (max-width: 640px) { .sec-ja { font-size: 26px; letter-spacing: .06em; } .sec-head { margin-bottom: 40px; } }
.sec-head-s .sec-ja { font-size: 26px; }

/* ---------- ヒーロー（左に文字の面・右に本人の写真） ---------- */
.hero {
  position: relative; color: #fff; min-height: min(calc(100svh - var(--hd)), 860px);
  display: grid; grid-template-columns: minmax(0, 50fr) minmax(0, 50fr); overflow: hidden;
  background:
    radial-gradient(140% 120% at 30% 50%, transparent 52%, rgba(0, 0, 0, .40) 100%),
    radial-gradient(900px 600px at 30% 30%, rgba(230, 201, 143, .14), transparent 70%),
    url(/bg/seigaiha_dark.svg) 0 0 / 96px 48px repeat,
    linear-gradient(158deg, var(--enji-dk2) 0%, var(--enji-dk) 50%, #24090c 100%);
}
.hero-photo { position: relative; grid-column: 2; grid-row: 1; }
.hero-photo picture, .hero-img { width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 50% 30%; }
.hero-veil { position: absolute; inset: 0 auto 0 50%; width: 16%; grid-row: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(36, 9, 12, .85) 0%, rgba(36, 9, 12, 0) 100%); }
.hero-copy { position: relative; z-index: 2; grid-column: 1; grid-row: 1; display: flex; align-items: flex-end; gap: clamp(24px, 3vw, 48px);
  padding: 64px clamp(20px, 3vw, 40px) 72px max(24px, calc((100vw - 1180px) / 2)); }
.hero-yume {
  writing-mode: vertical-rl; font-family: var(--mincho); font-weight: 800; font-size: clamp(56px, 6vw, 92px);
  line-height: 1.1; letter-spacing: .16em; margin: 0; align-self: flex-start; text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.hero-yume .y1 { color: var(--gold); }
.hero-side { padding-bottom: 6px; min-width: 0; }
.hero-sub { font-family: var(--mincho); font-weight: 700; font-size: clamp(20px, 1.9vw, 28px); letter-spacing: .08em; line-height: 1.5; word-break: keep-all; }
.hero-name { margin: 26px 0 34px; display: flex; flex-direction: column; gap: 8px; }
.hero-tag { align-self: flex-start; font-size: 16px; font-weight: 700; letter-spacing: .12em; padding: 3px 14px; border: 1px solid rgba(230, 201, 143, .8); color: var(--gold); }
.hero-nm { font-family: var(--mincho); font-weight: 800; font-size: clamp(32px, 3.5vw, 52px); letter-spacing: .12em; line-height: 1.2; white-space: nowrap; }
.rv .hero-img { animation: zoom 18s ease-out both; }
@keyframes zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (max-width: 760px) {
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-photo { aspect-ratio: 701 / 975; }
  .hero-img { object-position: 50% 50%; }
  .hero-veil { display: none; }
  .hero-copy { padding: 32px 20px 40px; gap: 18px; }
  .hero-yume { font-size: 54px; }
  .hero-sub { font-size: 20px; letter-spacing: .04em; }
  .hero-nm { font-size: 36px; }
  .hero-name { margin: 18px 0 24px; }
}

/* ---------- メッセージ ---------- */
.msg { padding: 112px 0 104px; }
.msg-in { text-align: center; }
.msg.has-photo { position: relative; overflow: hidden; padding: 0; min-height: 600px; display: flex; align-items: center; }
.msg-photo { position: absolute; inset: 0; }
.msg-photo picture, .msg-img { width: 100%; height: 100%; }
.msg-img { object-fit: cover; object-position: 72% 40%; }
.msg-veil { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, rgba(255, 253, 246, .95) 0%, rgba(255, 253, 246, .9) 34%, rgba(255, 253, 246, .55) 50%, rgba(255, 253, 246, 0) 62%); }
.msg.has-photo .msg-in { position: relative; z-index: 2; text-align: left; padding: 96px 0; }
.msg.has-photo .msg-in > * { max-width: 34em; }
.msg.has-photo .msg-body { font-size: clamp(18px, 1.5vw, 20px); }
@media (max-width: 760px) {
  .msg.has-photo { display: block; min-height: 0; }
  .msg-photo { position: relative; aspect-ratio: 701 / 909; }
  .msg-veil { display: none; }
  .msg.has-photo .msg-in { padding: 48px 0 64px; }
}
.msg-h { font-family: var(--mincho); font-weight: 800; font-size: clamp(32px, 4vw, 50px); letter-spacing: .14em; color: var(--enji); line-height: 1.4; word-break: keep-all; }
.msg-body { margin-top: 34px; font-family: var(--mincho); font-weight: 500; font-size: clamp(18px, 1.7vw, 21px); line-height: 2.2; letter-spacing: .06em; }

/* ---------- 政策カード ---------- */
.pol { padding: 104px 0 112px; border-top: 1px solid var(--line); }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.pcard {
  position: relative; display: flex; flex-direction: column; text-decoration: none; background: #fff;
  border-radius: 10px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 14px 36px -22px rgba(59, 21, 25, .45);
  transition: transform .3s, box-shadow .3s; min-height: 100%;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 22px 44px -22px rgba(59, 21, 25, .55); }
.pcard-ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kinari); }
.pcard-ph picture, .pcard-img { width: 100%; height: 100%; }
.pcard-img { object-fit: cover; transition: transform .6s; }
.pcard:hover .pcard-img { transform: scale(1.04); }
.pcard-img.top { object-position: 50% 18%; }
.pcard-no { display: block; padding: 22px 24px 0; font-family: var(--mincho); font-weight: 700; font-size: 16px; letter-spacing: .2em; color: var(--enji); }
.pcard-t { display: block; padding: 4px 64px 26px 24px; font-family: var(--mincho); font-weight: 800; font-size: 25px; letter-spacing: .08em; line-height: 1.5; word-break: keep-all; }
.pcard > .arw { position: absolute; right: 22px; bottom: 30px; color: var(--enji); }
.pcard-more { align-items: center; justify-content: center; gap: 14px; flex-direction: row; background: var(--enji); color: #fff; min-height: 220px; }
.pcard-more > .arw { position: static; color: #fff; }
.pcard-more-t { font-family: var(--mincho); font-weight: 800; font-size: 25px; letter-spacing: .1em; }
@media (max-width: 980px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 600px) {
  .pgrid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pcard { display: grid; grid-template-columns: 38% minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; min-height: 112px; }
  .pcard-ph { grid-row: 1 / 3; aspect-ratio: auto; height: 100%; min-height: 112px; }
  .pcard-no { padding: 14px 16px 0; align-self: end; }
  .pcard-t { padding: 0 44px 14px 16px; font-size: 21px; align-self: start; }
  .pcard > .arw { right: 14px; bottom: auto; top: 50%; margin-top: -10px; }
  .pcard-more { display: flex; min-height: 76px; }
  .pcard-more-t { font-size: 21px; }
}

/* ---------- プロフィール要約 ---------- */
.prof { padding: 112px 0; }
.prof-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.prof-ph { border-radius: 10px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); outline: 1px solid rgba(230, 201, 143, .35); outline-offset: 10px; }
.prof-h { font-family: var(--mincho); font-weight: 800; font-size: clamp(34px, 3.6vw, 46px); letter-spacing: .14em; line-height: 1.35; word-break: keep-all; }
.prof-lead { margin-top: 20px; font-size: 18px; line-height: 2; }
.prof-dl { margin: 28px 0 36px; border-top: 1px solid rgba(230, 201, 143, .35); }
.prof-dl > div { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(230, 201, 143, .35); }
.prof-dl dt { font-family: var(--mincho); font-weight: 700; color: var(--gold); letter-spacing: .2em; font-size: 17px; }
.prof-dl li { position: relative; padding-left: 1.1em; }
.prof-dl li::before { content: ""; position: absolute; left: 0; top: .82em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
@media (max-width: 860px) { .prof-in { grid-template-columns: minmax(0, 1fr); } .prof { padding: 80px 0; } }

/* ---------- 活動カード ---------- */
.work { padding: 104px 0 112px; }
.wgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.wcard { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 14px 36px -24px rgba(59, 21, 25, .45); }
.wcard-ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.wcard-ph picture, .wcard-img { width: 100%; height: 100%; object-fit: cover; }
.wcard-t { display: block; padding: 18px 22px 22px; font-family: var(--mincho); font-weight: 800; font-size: 22px; letter-spacing: .1em; border-top: 3px solid var(--enji); }
@media (max-width: 860px) {
  .wgrid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .wcard { display: grid; grid-template-columns: 38% minmax(0, 1fr); align-items: center; }
  .wcard-ph { aspect-ratio: 4 / 3; }
  .wcard-t { border-top: 0; border-left: 3px solid var(--enji); align-self: stretch; display: flex; align-items: center; padding: 14px 16px; font-size: 21px; }
}

/* ---------- 事務所 ---------- */
.about { padding: 104px 0 112px; border-top: 1px solid var(--line); }
.about-in { max-width: 720px; }
.office-card { background: #fff; border-radius: 10px; padding: 34px 40px; text-align: center; box-shadow: 0 1px 0 var(--line), 0 14px 36px -24px rgba(59, 21, 25, .45); border-top: 4px solid var(--enji); }
.office-name { font-family: var(--mincho); font-weight: 800; font-size: 26px; letter-spacing: .12em; }
.office-line { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.ic { width: 22px; height: 22px; flex: none; color: var(--enji); }
.tex-dark .ic, .site-footer .ic { color: var(--gold); }
.tel-big { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-family: var(--mincho); font-weight: 800; font-size: 32px; letter-spacing: .06em; color: var(--enji-dk); text-decoration: none; }
.tel-big .ic { width: 28px; height: 28px; }
@media (max-width: 640px) { .office-card { padding: 28px 18px; } .tel-big { font-size: 28px; } }

/* ---------- フッター ---------- */
.site-footer { padding: 64px 0 28px; }
.ft-in { width: min(1180px, 100% - 48px); margin-inline: auto; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ft-name { font-family: var(--mincho); font-weight: 800; font-size: 24px; letter-spacing: .12em; }
.ft-line { margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.tel-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-size: 20px; font-weight: 700; letter-spacing: .06em; }
.ft-nav { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 0 32px; align-content: start; }
.ft-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; padding-left: 18px; position: relative; }
.ft-nav a::before { content: ""; position: absolute; left: 2px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--gold); transform: rotate(45deg); }
.ft-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.copy { width: min(1180px, 100% - 48px); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(230, 201, 143, .3); font-size: 16px; color: rgba(255, 255, 255, .86); }

/* ---------- 下層ページの頭（右に海辺の本人） ---------- */
.page-head { padding: 84px 0 76px; }
.page-head.has-photo { position: relative; overflow: hidden; min-height: 360px; display: flex; align-items: center; }
.ph-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 62%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
.ph-photo picture, .ph-photo-img { width: 100%; height: 100%; }
.ph-photo-img { object-fit: cover; object-position: 78% 30%; }
.ph-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36, 9, 12, .92) 0%, rgba(36, 9, 12, .78) 38%, rgba(36, 9, 12, .3) 58%, rgba(36, 9, 12, 0) 72%); }
.page-head.has-photo .ph-in { position: relative; z-index: 2; }
.ph-tx { max-width: 48em; }
.page-head .sec-en { font-size: 20px; }
.ph-ja { font-family: var(--mincho); font-weight: 800; font-size: clamp(36px, 4.6vw, 60px); letter-spacing: .14em; line-height: 1.35; margin-top: 6px; word-break: keep-all; text-shadow: 0 2px 14px rgba(36, 9, 12, .6); }
.ph-lead { margin-top: 24px; font-size: 18px; line-height: 2; max-width: 26em; text-shadow: 0 1px 10px rgba(36, 9, 12, .7); }
@media (max-width: 760px) {
  .page-head, .page-head.has-photo { padding: 52px 0 0; display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .ph-photo { position: relative; width: 100%; aspect-ratio: 1100 / 409; margin-top: 36px; order: 2; -webkit-mask-image: none; mask-image: none; }
  .ph-photo::after { display: none; }
}

/* ---------- 政策ページ ---------- */
.pol-list { padding: 72px 0 120px; }
.pol-idx { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 84px; }
.pol-idx a { display: flex; flex-direction: column; gap: 2px; min-height: 88px; padding: 14px 16px; background: #fff; border-radius: 8px; text-decoration: none; border-top: 3px solid var(--enji); box-shadow: 0 10px 26px -20px rgba(59, 21, 25, .5); font-weight: 700; line-height: 1.5; }
.pol-idx a:hover { background: var(--momo); }
.idx-no { font-family: var(--mincho); color: var(--enji); font-size: 16px; letter-spacing: .14em; }
@media (max-width: 860px) { .pol-idx { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pol-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.pol-item.rev .pol-ph { order: 2; }
.pol-ph { border-radius: 10px; overflow: hidden; box-shadow: 0 22px 44px -26px rgba(59, 21, 25, .6); }
.pol-img, .act-img { width: 100%; }
.pol-no { font-family: var(--mincho); font-weight: 800; font-size: 64px; line-height: 1; color: rgba(159, 59, 66, .9); letter-spacing: .04em; }
.pol-no span { font-size: 18px; letter-spacing: .24em; margin-right: 10px; vertical-align: .9em; }
.pol-h { margin-top: 14px; font-family: var(--mincho); font-weight: 800; font-size: clamp(30px, 3vw, 38px); letter-spacing: .1em; line-height: 1.45; word-break: keep-all; }
.pol-body { margin-top: 20px; line-height: 2.05; }
@media (max-width: 860px) { .pol-item { grid-template-columns: minmax(0, 1fr); padding: 44px 0; } .pol-item.rev .pol-ph { order: 0; } .pol-no { font-size: 52px; } }

/* ---------- プロフィールページ ---------- */
.pf { padding: 88px 0 120px; }
.pf-in { display: grid; gap: 64px; max-width: 920px; }
.pf-h { font-family: var(--mincho); font-weight: 800; font-size: clamp(28px, 2.8vw, 34px); letter-spacing: .12em; color: var(--enji-dk); padding-bottom: 14px; margin-bottom: 26px; border-bottom: 1px solid var(--line); position: relative; word-break: keep-all; line-height: 1.5; }
.pf-h::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 3px; background: var(--enji); }
.pf-note { display: inline-block; font-family: var(--gothic); font-size: 16px; font-weight: 500; letter-spacing: .04em; color: var(--ink2); margin-left: 12px; }
.pf-first { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 280px); gap: 40px; align-items: center; }
.pf-first-ph { border-radius: 10px; overflow: hidden; box-shadow: 0 22px 44px -26px rgba(59, 21, 25, .6); }
.pf-first-img { width: 100%; }
@media (max-width: 760px) { .pf-first { grid-template-columns: minmax(0, 1fr); } .pf-first-ph { max-width: 280px; } }
.pf-body { font-family: var(--mincho); font-weight: 500; font-size: 20px; line-height: 2.1; }
.pf-list li { position: relative; padding: 12px 0 12px 1.4em; border-bottom: 1px dashed var(--line); }
.pf-list li::before { content: ""; position: absolute; left: 2px; top: 1.32em; width: 7px; height: 7px; background: var(--enji); transform: rotate(45deg); }
.pf-now li { font-weight: 700; font-size: 18px; }
.pf-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
@media (max-width: 760px) { .pf-cols { grid-template-columns: minmax(0, 1fr); } }
.tl { position: relative; padding-left: 30px; }
.tl::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.tl li { position: relative; padding: 10px 0; }
.tl li::before { content: ""; position: absolute; left: -29px; top: 1.05em; width: 14px; height: 14px; border: 3px solid var(--enji); background: var(--paper); transform: rotate(45deg); }
.tl li:last-child { font-weight: 700; }
.pf-motto { text-align: center; padding: 36px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pf-motto-h { font-family: var(--mincho); font-weight: 700; font-size: 17px; letter-spacing: .3em; color: var(--enji); }
.pf-motto-t { margin-top: 10px; font-family: var(--mincho); font-weight: 700; font-size: 20px; letter-spacing: .08em; line-height: 1.8; }

/* ---------- 活動ページ ---------- */
.acts { padding: 72px 0 104px; }
.acts-in { display: grid; gap: 56px; }
.act-h { font-family: var(--mincho); font-weight: 800; font-size: clamp(26px, 2.6vw, 32px); letter-spacing: .12em; padding-left: 18px; border-left: 5px solid var(--enji); line-height: 1.4; margin-bottom: 22px; }
.act-ph { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.act-ph picture { border-radius: 10px; overflow: hidden; box-shadow: 0 18px 40px -26px rgba(59, 21, 25, .6); }
@media (max-width: 600px) { .act-ph { gap: 10px; } }
.ach { padding: 104px 0 120px; border-top: 1px solid var(--line); }
.ach-card { max-width: 900px; margin-inline: auto; background: #fff; border-radius: 10px; padding: 40px 48px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -26px rgba(59, 21, 25, .5); border-top: 4px solid var(--enji); }
.ach-date { font-family: var(--mincho); font-weight: 800; color: var(--enji); font-size: 22px; letter-spacing: .06em; margin-bottom: 18px; }
.ach-y { font-size: 48px; margin-right: 2px; }
.ach-m { margin-left: 4px; }
.ach-q > li { padding: 16px 0; border-top: 1px solid var(--line); }
.q1 { font-weight: 700; font-size: 18px; }
.q2 { padding-left: 1.6em; margin-top: 6px; color: var(--ink); }
.ach-note { max-width: 900px; margin: 22px auto 0; font-size: 16px; color: var(--ink2); }
.ach-note a { color: var(--enji); text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 640px) { .ach-card { padding: 28px 20px; } }

/* ---------- お問合せ ---------- */
.ct { padding: 80px 0 112px; }
.ct-in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.ct-lead { font-family: var(--mincho); font-weight: 800; font-size: 26px; letter-spacing: .1em; margin-bottom: 26px; color: var(--enji-dk); }
.cform { background: #fff; border-radius: 10px; padding: 34px 36px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -26px rgba(59, 21, 25, .5); }
.cf-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.cf-row label { font-weight: 700; }
.cf-row input, .cf-row textarea { font: inherit; font-size: 17px; padding: 12px 14px; min-height: 52px; border: 1px solid #b9a9a3; border-radius: 6px; background: var(--paper); color: var(--ink); width: 100%; }
.cf-row input::placeholder, .cf-row textarea::placeholder { color: #6e625d; opacity: 1; }
.cf-row input:focus-visible, .cf-row textarea:focus-visible { outline: 3px solid var(--enji); outline-offset: 1px; border-color: var(--enji); }
.cf-send { text-align: center; margin-top: 8px; }
.cf-send .btn { min-width: 220px; justify-content: center; }
.cf-msg:empty { display: none; }
.cf-msg { margin-top: 22px; padding: 16px 18px; border-radius: 6px; background: var(--momo); border-left: 4px solid var(--enji); font-weight: 700; }
.ct-side { display: grid; gap: 8px; }
.tel-card { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 84px; padding: 0 20px; background: var(--enji); color: #fff; border-radius: 10px; text-decoration: none; font-family: var(--mincho); font-weight: 800; font-size: 32px; letter-spacing: .06em; box-shadow: 0 18px 40px -24px rgba(59, 21, 25, .7); }
.tel-card:hover { background: var(--enji-d); }
.tel-card .ic { color: #fff; width: 30px; height: 30px; }
.ct-side .sec-head { text-align: left; }
.ct-side .sec-rule { margin-left: 0; }
.ct-side .office-card { text-align: left; padding: 26px 26px; }
.ct-side .office-line { justify-content: flex-start; }
.ct-side .tel-big { font-size: 26px; }
.ct-map { margin-top: 64px; }
.ct-map iframe { display: block; width: 100%; height: 420px; border: 0; border-radius: 10px; box-shadow: 0 18px 40px -26px rgba(59, 21, 25, .6); background: var(--kinari); }
@media (max-width: 860px) { .ct-in { grid-template-columns: minmax(0, 1fr); } .cform { padding: 26px 20px; } .ct-map iframe { height: 320px; } .tel-card { font-size: 28px; } }

/* ---------- 出現の動き（JS があり、動きを減らす設定でない時だけ） ---------- */
.rv .rv-up { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv .rv-up.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv-up { opacity: 1 !important; transform: none !important; }
}
