/*
Theme Name: ALTO 税理士事務所
Theme URI: https://example.com/
Author: ALTO税理士事務所
Author URI: https://example.com/
Description: 大阪・天満橋の「ALTO税理士事務所」コーポレートサイト用オリジナルテーマ。トップページ・固定ページはテンプレート固定、「お知らせ（投稿）」のみ管理画面から更新できます。
Version: 2.7.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alto
Tags: business, corporate, one-column, custom-menu
*/

/* =========================================================
   0. Design tokens
   ========================================================= */
:root {
  --navy: #1a3668;
  --navy-deep: #10254a;
  --navy-light: #2b4d8f;
  --gold: #c2a25a;
  --gold-deep: #a8842f;
  --gold-light: #e0c684;
  --text: #333840;
  --text-sub: #5d646e;
  --line: #dfe5ee;
  --bg: #ffffff;
  --bg-pale: #f3f7fd;
  --wm: #cfe1f3;

  --font: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "MS PMincho", serif;

  --container: 1120px;
  --header-h: 88px;
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* =========================================================
   1. Base / reset
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  letter-spacing: .04em;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; text-decoration: none; transition: opacity .3s var(--ease), color .3s var(--ease); }
a:hover { opacity: .7; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
iframe { border: 0; max-width: 100%; }

.u-sp { display: none; }

.u-vh,
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.l-container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.l-section { position: relative; padding: 104px 0; overflow: hidden; }

/* =========================================================
   2. Common parts
   ========================================================= */
/* --- 見出し --- */
.c-heading { position: relative; margin-bottom: 48px; }

.c-heading__ja {
  display: block;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  letter-spacing: .1em;
}

.c-heading::after {
  content: "";
  display: block;
  width: 56px; height: 2px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
}

.c-heading--center { text-align: center; }
.c-heading--center::after { margin-inline: auto; }

/* 見出しの右に英字を横書きで添える */
.c-headline {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2.6vw, 36px);
  margin-bottom: 48px;
}

.c-headline .c-heading { margin-bottom: 0; }

.c-headline__en {
  font-size: clamp(26px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1;
  color: var(--wm);
  letter-spacing: .06em;
  white-space: nowrap;
  user-select: none;
}

/* --- ボタン --- */
.c-btn {
  --btn-bg: linear-gradient(135deg, #c9a75f, #a8842f);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8em;
  min-width: 292px;
  padding: 19px 58px 19px 42px;
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  letter-spacing: .12em;
  background: var(--btn-bg);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(168, 132, 47, .28);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.c-btn::after {
  content: "";
  position: absolute;
  top: 50%; right: 28px;
  width: 20px; height: 1px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform .3s var(--ease);
}

.c-btn::before {
  content: "";
  position: absolute;
  top: 50%; right: 28px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translate(0, -50%) rotate(45deg);
  transition: transform .3s var(--ease);
}

.c-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(168, 132, 47, .34);
}

.c-btn:hover::after,
.c-btn:hover::before { transform: translateX(4px) translateY(-50%); }
.c-btn:hover::before { transform: translateX(4px) translateY(-50%) rotate(45deg); }

.c-btn--ghost {
  --btn-bg: transparent;
  min-width: 0;
  padding: 0 44px 0 0;
  color: var(--navy);
  box-shadow: none;
}

.c-btn--ghost::after { right: 0; width: 28px; background: var(--gold-deep); }
.c-btn--ghost::before { right: 0; border-color: var(--gold-deep); }
.c-btn--ghost:hover { box-shadow: none; transform: none; color: var(--gold-deep); }

/* キラン、と光沢が走るボタン */
.c-btn--shine {
  background-image:
    linear-gradient(105deg,
      rgba(255, 255, 255, 0) 38%,
      rgba(255, 255, 255, .45) 46%,
      rgba(255, 255, 255, .92) 50%,
      rgba(255, 255, 255, .45) 54%,
      rgba(255, 255, 255, 0) 62%),
    linear-gradient(135deg, #c9a75f, #a8842f);
  background-repeat: no-repeat;
  background-size: 220% 100%, 100% 100%;
  background-position: 190% 0, 0 0;
  animation: alto-shine 4.2s cubic-bezier(.45, .05, .3, 1) infinite;
}

@keyframes alto-shine {
  0%, 58% { background-position: 190% 0, 0 0; }
  100%    { background-position: -95% 0, 0 0; }
}

/* --- 背景ウォーターマーク --- */
.c-wm {
  position: absolute;
  font-size: clamp(72px, 11vw, 150px);
  font-weight: 500;
  line-height: 1;
  color: var(--wm);
  letter-spacing: .04em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.c-wm--right { top: 40px; right: -12px; }

.l-section > .l-container { position: relative; z-index: 1; }

/* =========================================================
   3. Header
   ========================================================= */
.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* ※ backdrop-filter は position:fixed の包含ブロックを作り
     SPドロワー（.p-gnav）が全画面にならないため使用しない */
  background: #fff;
  border-bottom: 1px solid rgba(26, 54, 104, .08);
}

.l-header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  width: min(100% - 40px, 1440px);
  min-height: var(--header-h);
  margin-inline: auto;
}

.p-logo { flex-shrink: 0; }
.p-logo img { width: auto; height: 54px; }
.p-logo a { display: block; }

.p-gnav { margin-left: auto; }

.p-gnav__list {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.6vw, 42px);
}

.p-gnav__list a {
  position: relative;
  display: block;
  padding: 6px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .08em;
  white-space: nowrap;
}

.p-gnav__list a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s var(--ease);
}

.p-gnav__list a:hover { opacity: 1; }
.p-gnav__list a:hover::after,
.p-gnav__list .current-menu-item > a::after,
.p-gnav__list .is-current > a::after { width: 100%; }

.p-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  letter-spacing: .08em;
  white-space: nowrap;
  background: linear-gradient(135deg, #c9a75f, #a8842f);
  border-radius: 8px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.p-header-cta:hover { opacity: 1; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(168, 132, 47, .3); }
.p-header-cta svg { width: 17px; height: 17px; fill: currentColor; }

/* ドロワー内のCTAはSPのみ表示 */
.p-gnav > .p-header-cta { display: none; }

/* --- ハンバーガー（SP） --- */
.p-hamburger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  margin-left: auto;
}

.p-hamburger span {
  position: absolute;
  left: 11px;
  width: 22px; height: 1.5px;
  background: var(--navy);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}

.p-hamburger span:nth-child(1) { top: 16px; }
.p-hamburger span:nth-child(2) { top: 21.5px; }
.p-hamburger span:nth-child(3) { top: 27px; }

.p-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.p-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.p-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* =========================================================
   4. Hero
   ========================================================= */
.p-hero {
  position: relative;
  height: clamp(520px, calc(100vh - var(--header-h)), 760px);
  overflow: hidden;
  background: #eef3f9;
}

.p-hero__slides { position: absolute; inset: 0; }

.p-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

.p-hero__slide.is-active { opacity: 1; }

.p-hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.p-hero__body {
  position: absolute;
  inset: 0;
  width: min(100% - 48px, 1360px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.p-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(28px, 4vh, 46px);
  width: min(50%, 620px);
  padding-right: clamp(0px, 1.5vw, 26px);
}

.p-hero__copy,
.p-hero__inner .c-btn { position: relative; }

.p-hero__body .c-btn { pointer-events: auto; }

/* --- キャッチコピー（画像には焼き込まずHTMLで配置） --- */
.p-hero__copy { text-shadow: none; }

.p-hero__catch {
  font-size: clamp(21px, 2.35vw, 37px);
  font-weight: 700;
  line-height: 1.45;
  color: #1e2d6e;
  letter-spacing: .15em;
}

.p-hero__main {
  margin: .1em 0 .55em;
  font-size: clamp(28px, 3.1vw, 49px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .12em;
  /* 背景が明るい写真なので、金は深め（アンティークゴールド）にして
     白い靄を敷かなくても読めるコントラストを確保する */
  background: linear-gradient(96deg, #8f6f22 0%, #6b5214 45%, #85671e 74%, #5d4711 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.p-hero__sub {
  font-size: clamp(13px, 1.32vw, 20px);
  font-weight: 600;
  line-height: 1.9;
  color: #1e2d6e;
  letter-spacing: .09em;
}

.p-hero__dots {
  position: absolute;
  left: 50%; bottom: 26px;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
  z-index: 2;
}

.p-hero__dots button {
  width: 34px; height: 3px;
  background: rgba(26, 54, 104, .25);
  border-radius: 2px;
  transition: background .3s var(--ease);
}

.p-hero__dots button.is-active { background: var(--gold-deep); }

.p-hero__scroll {
  position: absolute;
  right: 34px; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--navy);
  writing-mode: vertical-rl;
  z-index: 2;
}

.p-hero__scroll::after {
  content: "";
  width: 1px; height: 70px;
  background: linear-gradient(180deg, var(--navy), rgba(26, 54, 104, 0));
}

/* =========================================================
   5. ALTOとは / サービス一覧（共通背景）
   ========================================================= */
.p-intro {
  background-image: url(assets/images/bg-service.jpg);
  background-size: cover;
  background-position: center top;
}

.p-about { padding: 112px 0 40px; text-align: center; }

/* セクション全体を金の鉤括弧で囲んだ主張パネル */
.p-about__box {
  position: relative;
  max-width: 920px;
  margin-inline: auto;
  padding: 56px 64px 60px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .78));
  border-radius: 2px;
  box-shadow: 0 18px 50px rgba(26, 54, 104, .1);
}

.p-about__box::before,
.p-about__box::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 38px;
  border: 2px solid var(--gold);
}

.p-about__box::before {
  top: 15px;
  left: 15px;
  border-right: 0;
  border-bottom: 0;
}

.p-about__box::after {
  right: 15px;
  bottom: 15px;
  border-top: 0;
  border-left: 0;
}

.p-about__label {
  display: block;
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: .16em;
}

.p-about__title {
  margin: 14px 0 26px;
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  letter-spacing: .12em;
}

/* 見出しとリード文をつなぐ金の罫線 */
.p-about__rule {
  display: block;
  width: 62px;
  height: 2px;
  margin: 0 auto 30px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
}

.p-about__lead {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 2.15;
  color: var(--navy);
  letter-spacing: .06em;
}

/* 背景の「ALTO」より前面に */
.p-about .l-container {
  position: relative;
  z-index: 1;
}

.p-about__wm {
  top: 50%;
  right: -10px;
  font-size: clamp(90px, 14vw, 190px);
  font-weight: 700;
  transform: translateY(-40%);
}

/* --- サービス --- */
.p-service { padding: 64px 0 120px; }

.p-service__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.p-card { position: relative; }

.p-card__thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}

.p-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.p-card:hover .p-card__thumb img { transform: scale(1.06); }

.p-card__plus {
  position: absolute;
  right: 14px; bottom: 14px;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  color: #fff;
  background: linear-gradient(135deg, #c9a75f, #a8842f);
  border-radius: 50%;
}

.p-card__plus::before,
.p-card__plus::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.p-card__plus::before { width: 13px; height: 1px; }
.p-card__plus::after { width: 1px; height: 13px; }

.p-card__title {
  margin: 20px 0 10px;
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .08em;
}

.p-card__text {
  font-size: 16px;
  line-height: 2;
  color: var(--text-sub);
}

.p-card__link { display: block; }
.p-card__link:hover { opacity: 1; }

/* =========================================================
   6. 特長
   ========================================================= */
.p-feature {
  background-image: url(assets/images/bg-feature.jpg);
  background-size: cover;
  background-position: center;
  padding: 96px 0 104px;
}

.p-feature__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

.p-feature__icon {
  display: grid;
  place-items: center;
  margin-bottom: 26px;
}

/* 画像は列幅に合わせて自動で伸縮（元データ 400px 相当が上限） */
.p-feature__icon img {
  width: min(100%, 260px);
  height: auto;
  mix-blend-mode: multiply;
}

.p-feature__title {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .06em;
}

.p-feature__text {
  font-size: 16px;
  line-height: 2.1;
  color: var(--text-sub);
}

/* =========================================================
   7. ごあいさつ
   ========================================================= */
.p-greeting {
  position: relative;
  padding: 92px 0;
  background-image: url(assets/images/bg-greeting.jpg);
  background-size: cover;
  background-position: center;
}

.p-greeting__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.p-greeting__photo {
  padding: 12px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 18px 40px rgba(16, 37, 74, .18);
}

.p-greeting__photo img { display: block; width: 100%; border-radius: 1px; }

.p-greeting__label {
  display: block;
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: .14em;
}

.p-greeting__name {
  margin-bottom: 24px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .1em;
}

.p-greeting__name span { margin-right: .8em; font-size: .72em; font-weight: 500; }

.p-greeting__body-text { margin-bottom: 34px; }

.p-greeting__text {
  margin: 0 0 1.4em;
  font-size: 16px;
  line-height: 2.1;
  color: #2f3947;
}

.p-greeting__text:last-child { margin-bottom: 0; }

/* =========================================================
   8. アクセス
   ========================================================= */
.p-access { padding: 104px 0; }

.p-access__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.p-access__list { display: grid; gap: 26px; }

.p-access__item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.p-access__item:last-child { border-bottom: 0; }

.p-access__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
}

.p-access__icon img { width: 38px; height: auto; }

.p-access__term {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .08em;
}

.p-access__desc { font-size: 16px; line-height: 1.9; color: var(--text-sub); }
.p-access__desc a:hover { color: var(--gold-deep); }

.p-access__map {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.p-access__map iframe { width: 100%; height: 100%; }

/* =========================================================
   9. お知らせ
   ========================================================= */
.p-news { padding: 24px 0 110px; }

.p-news__head,
.p-access__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.p-access__head .c-heading,
.p-access__head .c-headline { margin-bottom: 0; }

.p-news__head .c-heading,
.p-news__head .c-headline { margin-bottom: 0; }

.p-news__list { border-top: 1px solid var(--line); }

.p-news__item { border-bottom: 1px solid var(--line); }

.p-news__link {
  display: grid;
  grid-template-columns: 120px 92px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px 8px;
  transition: background .3s var(--ease);
}

.p-news__link:hover { opacity: 1; background: rgba(243, 247, 253, .8); }

.p-news__date {
  font-size: 14px;
  color: var(--text-sub);
  letter-spacing: .06em;
}

.p-news__cat {
  display: inline-grid;
  place-items: center;
  padding: 5px 10px;
  font-size: 12px;
  color: var(--navy);
  letter-spacing: .06em;
  border: 1px solid var(--navy);
  border-radius: 999px;
}

.p-news__title {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.p-news__empty { padding: 32px 8px; color: var(--text-sub); }

/* =========================================================
   10. CTA
   ========================================================= */
.p-cta {
  position: relative;
  padding: 88px 0;
  text-align: center;
  background-image: linear-gradient(rgba(16, 37, 74, .55), rgba(16, 37, 74, .55)), url(assets/images/bg-cta.jpg);
  background-size: cover;
  background-position: center;
}

.p-cta__title {
  margin-bottom: 34px;
  font-size: clamp(21px, 2.8vw, 30px);
  font-weight: 700;
  line-height: 1.8;
  color: #fff;
  letter-spacing: .1em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}

/* =========================================================
   11. Footer
   ========================================================= */
.l-footer {
  padding: 70px 0 28px;
  color: rgba(255, 255, 255, .82);
  background: var(--navy-deep);
}

.l-footer a:hover { color: var(--gold-light); opacity: 1; }

.l-footer__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(40px, 6vw, 80px);
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.l-footer__logo img { width: 200px; height: auto; margin-bottom: 22px; }

.l-footer__address {
  font-size: 16px;
  line-height: 2;
  font-style: normal;
}

.l-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 24px;
  align-content: start;
}

.l-footer__nav a {
  position: relative;
  display: block;
  padding-left: 16px;
  font-size: 14px;
}

.l-footer__nav a::before {
  content: "";
  position: absolute;
  top: .72em; left: 0;
  width: 6px; height: 6px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  transform: rotate(45deg);
}

.l-footer__copy {
  padding-top: 24px;
  font-size: 12px;
  text-align: center;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .6);
}

/* =========================================================
   12. 下層ページ（お知らせ一覧・詳細）
   ========================================================= */
.p-pagehead {
  position: relative;
  padding: 72px 0 64px;
  text-align: center;
  background-image: url(assets/images/bg-service.jpg);
  background-size: cover;
  background-position: center;
}

.p-pagehead__title {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .12em;
}

.p-pagehead__en {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--gold-deep);
  letter-spacing: .2em;
}

.p-breadcrumb {
  padding: 18px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-sub);
  letter-spacing: .04em;
  border-bottom: 1px solid var(--line);
}

.p-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.p-breadcrumb li { display: flex; align-items: center; }
.p-breadcrumb li::after { content: "\203A"; margin-left: 9px; color: #b9c4d3; }
.p-breadcrumb li:last-child::after { content: none; }
.p-breadcrumb a:hover { color: var(--gold-deep); opacity: 1; }

/* 先頭の「ホーム」に家のアイコン */
.p-breadcrumb__home {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.p-breadcrumb__home svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--navy);
}

.l-main--sub { padding: 72px 0 104px; }

.p-entry { max-width: 820px; margin-inline: auto; }

.p-entry__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.p-entry__title {
  padding-bottom: 26px;
  margin-bottom: 40px;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  line-height: 1.7;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

.p-entry__thumb { margin-bottom: 36px; }

.p-entry__body > * + * { margin-top: 1.6em; }
.p-entry__body h2 {
  padding: 4px 0 4px 16px;
  font-size: 21px;
  color: var(--navy);
  border-left: 3px solid var(--gold);
}
.p-entry__body h3 { font-size: 18px; color: var(--navy); }
.p-entry__body a { color: var(--navy-light); text-decoration: underline; }
.p-entry__body ul { padding-left: 1.4em; list-style: disc; }
.p-entry__body ol { padding-left: 1.4em; list-style: decimal; }
.p-entry__body blockquote {
  padding: 18px 22px;
  color: var(--text-sub);
  background: var(--bg-pale);
  border-left: 3px solid var(--gold);
}
.p-entry__body img { border-radius: var(--radius); }
.p-entry__body table { width: 100%; border-collapse: collapse; }
.p-entry__body th,
.p-entry__body td { padding: 12px 14px; border: 1px solid var(--line); }
.p-entry__body th { background: var(--bg-pale); }

.p-pager {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 64px;
}

.p-pager .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.p-pager .page-numbers {
  display: grid;
  place-items: center;
  min-width: 40px; height: 40px;
  padding: 0 10px;
  font-size: 14px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.p-pager .page-numbers.dots { border-color: transparent; background: none; }

.p-pager .page-numbers.current,
.p-pager .page-numbers:hover {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  opacity: 1;
}

.p-postnav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.p-back { margin-top: 48px; text-align: center; }

/* =========================================================
   13. 下層ページ用コンポーネント
   ========================================================= */
/* --- セクション --- */
.p-sec { padding: 0 0 92px; }
.p-sec:last-child { padding-bottom: 0; }
.p-sec--pale { padding: 88px 0; background: var(--bg-pale); }
.p-sec--pale + .p-sec { padding-top: 92px; }

.p-sec__inner { max-width: 920px; margin-inline: auto; }

/* --- 英字ラベル付きの見出し --- */
.c-heading__en {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: .22em;
}

/* --- アイキャッチ付きページヘッダー --- */
.p-pagehero {
  --veil: 234, 242, 251;
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(260px, 26vw, 360px);
  overflow: hidden;
  background-color: rgb(var(--veil));
  background-image: url(assets/images/about-hero.jpg);
  background-size: cover;
  background-position: right center;
}

.p-pagehero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgb(var(--veil)) 0%,
    rgba(var(--veil), .97) 30%,
    rgba(var(--veil), .7) 44%,
    rgba(var(--veil), .12) 58%,
    rgba(var(--veil), 0) 68%);
}

/* FAQ：写真が暖色なので、ベールも白寄りに */
.p-pagehero--faq {
  --veil: 252, 250, 246;
  background-image: url(assets/images/faq-hero.jpg);
}

/* 税務顧問：電卓と手元の写真 */
.p-pagehero--tax {
  --veil: 243, 247, 252;
  min-height: clamp(300px, 30vw, 400px);
  background-image: url(assets/images/tax-hero.jpg);
  background-position: right center;
}

.p-pagehero--tax::before {
  background: linear-gradient(90deg,
    rgb(var(--veil)) 0%,
    rgba(var(--veil), .95) 30%,
    rgba(var(--veil), .55) 44%,
    rgba(var(--veil), .08) 60%,
    rgba(var(--veil), 0) 70%);
}

/* 資金調達：コインと電卓の写真 */
.p-pagehero--finance {
  --veil: 247, 250, 253;
  min-height: clamp(280px, 28vw, 370px);
  background-image: url(assets/images/fin-hero.jpg);
  background-position: right center;
}

.p-pagehero--finance::before {
  background: linear-gradient(90deg,
    rgb(var(--veil)) 0%,
    rgba(var(--veil), .9) 24%,
    rgba(var(--veil), .42) 38%,
    rgba(var(--veil), .05) 54%,
    rgba(var(--veil), 0) 64%);
}

/* 相続支援：模型の家と書類の写真 */
.p-pagehero--inheritance {
  --veil: 246, 248, 250;
  min-height: clamp(280px, 28vw, 370px);
  background-image: url(assets/images/inh-hero.jpg);
  background-position: right center;
}

.p-pagehero--inheritance::before {
  background: linear-gradient(90deg,
    rgb(var(--veil)) 0%,
    rgba(var(--veil), .92) 26%,
    rgba(var(--veil), .5) 40%,
    rgba(var(--veil), .06) 56%,
    rgba(var(--veil), 0) 66%);
}

/* お問い合わせ：封筒の写真 */
.p-pagehero--contact {
  --veil: 241, 246, 252;
  background-image: url(assets/images/contact-hero.jpg);
  background-position: right center;
}

/* アクセス：立体マップの写真。文章が多いので少し高さを取る */
.p-pagehero--access {
  --veil: 240, 246, 253;
  min-height: clamp(320px, 32vw, 430px);
  background-image: url(assets/images/access-hero.jpg);
  background-position: right center;
}

.p-pagehero--access::before {
  background: linear-gradient(90deg,
    rgb(var(--veil)) 0%,
    rgba(var(--veil), .95) 34%,
    rgba(var(--veil), .62) 48%,
    rgba(var(--veil), .1) 64%,
    rgba(var(--veil), 0) 74%);
}

.p-pagehero__statement {
  margin: 18px 0 20px;
  font-size: clamp(18px, 2.1vw, 27px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
  letter-spacing: .08em;
}

/* お知らせ：写真は16:9なので、新聞が写る右下を見せる */
.p-pagehero--news {
  --veil: 240, 246, 253;
  background-image: url(assets/images/news-hero.jpg);
  background-position: right bottom;
}

.p-pagehero__en--under { margin: 0; }

/* プライバシーポリシー：写真が暖色なので、ベールも白寄りに */
.p-pagehero--privacy {
  --veil: 252, 250, 246;
  background-image: url(assets/images/privacy-hero.jpg);
}

.p-pagehero__en--top { margin: 0 0 10px; }

.p-pagehero__rule {
  display: block;
  width: 56px; height: 2px;
  margin: 22px 0 24px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
}

.p-pagehero > .l-container { position: relative; z-index: 1; }

.p-pagehero__body { max-width: 620px; padding: 40px 0; }

.p-pagehero__title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  letter-spacing: .1em;
}

.p-pagehero__en {
  margin: 10px 0 26px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: .24em;
}

.p-pagehero__lead {
  font-size: clamp(16px, 1.2vw, 17px);
  line-height: 2.1;
  color: #2f3947;
}

/* --- 代表挨拶（あいさつ背景の上に写真とテキスト） --- */
.p-message {
  position: relative;
  padding: 78px 0 96px;
  background-image: url(assets/images/bg-greeting.jpg);
  background-size: cover;
  /* 空の面積を最大に取り、テキストがビルに重ならないようにする */
  background-position: center top;
}

.p-message .c-heading { margin-bottom: 32px; }

/* --- 代表挨拶・ごあいさつ：本文の下だけ明るくして可読性を確保 --- */
/* 背景写真の下半分（ビル）に文字が重なると読めなくなるため、
   上は透明、下にいくほど白くなる層を文字の背面に敷く。
   写真の空と装飾文字は上部に残るので、見た目の印象は変えない。 */
.p-greeting__body,
.p-message__body {
  position: relative;
  z-index: 1;
}

.p-greeting__body::before,
.p-message__body::before {
  content: "";
  position: absolute;
  inset: -30px -36px;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, .5) 20%,
    rgba(255, 255, 255, .86) 46%,
    rgba(255, 255, 255, .92) 100%
  );
  border-radius: 4px;
  pointer-events: none;
}

.p-message__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(40px, 5vw, 72px);
  /* 背景写真の空の部分にテキストが収まるよう上揃え。
     右の余白は背景の「For your Next Step」を隠さないため */
  align-items: start;
  padding-right: clamp(0px, 6vw, 96px);
}

.p-message__name {
  margin-bottom: 22px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .1em;
}

.p-message__name span { margin-right: .8em; font-size: .72em; font-weight: 500; }

.p-message__text {
  margin: 0 0 1.4em;
  font-size: 16px;
  line-height: 2.1;
  color: #2f3947;
}

.p-message__text:last-child { margin-bottom: 0; }

.p-message__photo {
  padding: 12px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 18px 40px rgba(16, 37, 74, .18);
}

.p-message__photo img { display: block; width: 100%; }

/* --- リード文 --- */
.p-lead {
  margin-bottom: 56px;
  font-size: 16px;
  line-height: 2.1;
  text-align: center;
  color: var(--text-sub);
}

.p-lead--left { text-align: left; }

/* --- ページ内リンク --- */
.p-anchor {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 72px;
}

.p-anchor a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  font-size: 14px;
  color: var(--navy);
  letter-spacing: .06em;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}

.p-anchor a::after {
  content: "";
  width: 6px; height: 6px;
  border-bottom: 1px solid var(--gold-deep);
  border-right: 1px solid var(--gold-deep);
  transform: rotate(45deg) translate(-2px, -2px);
}

.p-anchor a:hover { opacity: 1; border-color: var(--gold); color: var(--gold-deep); }

/* --- 画像＋テキスト --- */
.p-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.p-media + .p-media { margin-top: 72px; }
.p-media--reverse .p-media__figure { order: 2; }

.p-media__figure { margin: 0; }

.p-media__figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(16, 37, 74, .1);
}

.p-media__title {
  margin-bottom: 20px;
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
  letter-spacing: .08em;
}

.p-media__text { font-size: 16px; line-height: 2.1; color: var(--text-sub); }
.p-media__text + .p-media__text { margin-top: 1.4em; }

/* --- チェックリスト --- */
.p-check { display: grid; gap: 14px; }

.p-check li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  line-height: 1.9;
}

.p-check li::before {
  content: "";
  position: absolute;
  top: .55em; left: 4px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  transform: rotate(-45deg);
}

/* --- カラム（3列） --- */
.p-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.p-cols--2 { grid-template-columns: repeat(2, 1fr); }

.p-panel {
  padding: 34px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.p-panel__title {
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .06em;
}

.p-panel__text { font-size: 16px; line-height: 2; color: var(--text-sub); }

/* --- ステップ（ご相談の流れ） --- */
.p-flow { display: grid; gap: 0; counter-reset: flow; }

.p-flow__item {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding: 0 0 44px 0;
  counter-increment: flow;
}

.p-flow__item::before {
  content: "";
  position: absolute;
  top: 72px; left: 35px;
  width: 1px; height: calc(100% - 72px);
  background: var(--line);
}

.p-flow__item:last-child { padding-bottom: 0; }
.p-flow__item:last-child::before { content: none; }

.p-flow__num {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  font-size: 12px;
  line-height: 1.2;
  color: #fff;
  letter-spacing: .12em;
  background: linear-gradient(135deg, #2b4d8f, #1a3668);
  border-radius: 50%;
}

.p-flow__num::after {
  content: counter(flow, decimal-leading-zero);
  display: block;
  margin-top: 2px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
}

.p-flow__title {
  margin: 14px 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .06em;
}

.p-flow__text { font-size: 16px; line-height: 2; color: var(--text-sub); }

/* --- 概要テーブル（定義リスト） --- */
.p-deflist { border-top: 1px solid var(--line); }

.p-deflist__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
}

.p-deflist__term {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .08em;
}

.p-deflist__desc { font-size: 16px; line-height: 1.95; color: var(--text-sub); }
.p-deflist__desc a:hover { color: var(--gold-deep); }

/* 表組みタイプ（事務所概要） */
.p-deflist--table { border-top: 1px solid var(--line); }

.p-deflist--table .p-deflist__row {
  grid-template-columns: 210px 1fr;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.p-deflist--table .p-deflist__term {
  padding: 18px 26px;
  background: var(--bg-pale);
}

.p-deflist--table .p-deflist__desc {
  padding: 18px 26px;
  color: var(--text);
}

/* --- 料金表 --- */
.p-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.p-price { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 16px; }

.p-price th,
.p-price td {
  padding: 18px 20px;
  text-align: left;
  border: 1px solid var(--line);
}

.p-price thead th {
  color: #fff;
  font-weight: 500;
  letter-spacing: .08em;
  background: var(--navy);
  border-color: var(--navy);
}

.p-price tbody th { width: 40%; color: var(--navy); background: var(--bg-pale); }
.p-price td { color: var(--text-sub); }

.p-note { margin-top: 16px; font-size: 13px; line-height: 1.9; color: var(--text-sub); }

/* --- FAQ --- */
.p-faq { border-top: 1px solid var(--line); }

.p-faq__item { border-bottom: 1px solid var(--line); }

.p-faq__q {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 24px 44px 24px 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.p-faq__q::-webkit-details-marker { display: none; }

.p-faq__q::before {
  content: "Q";
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  font-size: 14px;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
}

.p-faq__q::after {
  content: "";
  position: absolute;
  top: 50%; right: 12px;
  width: 9px; height: 9px;
  border-bottom: 1.5px solid var(--gold-deep);
  border-right: 1.5px solid var(--gold-deep);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}

.p-faq__item[open] .p-faq__q::after { transform: translateY(-30%) rotate(-135deg); }

.p-faq__a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 0 44px 26px 8px;
  font-size: 16px;
  line-height: 2;
  color: var(--text-sub);
}

.p-faq__a::before {
  content: "A";
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  font-size: 14px;
  color: var(--gold-deep);
  background: #fff;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

/* --- 電話・メールの導線ボックス --- */
.p-contactbox {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 40px;
  background: var(--bg-pale);
  border-radius: var(--radius);
}

.p-contactbox__item { text-align: center; }

.p-contactbox__label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-sub);
  letter-spacing: .1em;
}

.p-contactbox__tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .04em;
}

.p-contactbox__tel img { width: 26px; height: 26px; }
.p-contactbox__hours { margin-top: 6px; font-size: 13px; color: var(--text-sub); }

/* --- 大きい地図 --- */
.p-map {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.p-map iframe { width: 100%; height: 100%; }

/* =========================================================
   サービス紹介ページ（税務顧問ほか）
   ========================================================= */
/* --- こんなお悩みありませんか？（縦一列） --- */
.p-worry { padding: 88px 0 80px; }

.p-worry__list {
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  gap: 18px;
}

.p-worry__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.p-worry__icon {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  color: var(--navy);
  background: var(--bg-pale);
  border-radius: 50%;
}

.p-worry__icon svg { width: 34px; height: 34px; }

.p-worry__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--navy);
  letter-spacing: .04em;
}

/* --- ALTOなら解決できます！（お悩みセクション内） --- */
.p-worry__answer {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 34px;
  text-align: center;
}

/* 悩み → 解決 をつなぐ下向きの矢印 */
.p-worry__arrow {
  display: block;
  width: 0; height: 0;
  margin: 0 auto 30px;
  border-left: 26px solid transparent;
  border-right: 26px solid transparent;
  border-top: 22px solid #dce6f4;
}

.p-worry__answer-text {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  letter-spacing: .1em;
}

/* 下線が途中で折れないよう、強調部分は1かたまりで折り返す */
.p-worry__answer-text strong {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  font-weight: 700;
  color: var(--gold-deep);
}

/* 「解決できます！」の下に金のライン */
.p-worry__answer-text strong::after {
  content: "";
  position: absolute;
  left: 0; right: .1em; bottom: -.22em;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
}

/* --- サービス内容 --- */
.p-svc {
  padding: 76px 0 96px;
  background-color: #f7fafe;
  background-image: url(assets/images/bg-service.jpg);
  background-size: cover;
  background-position: center;
}

.p-svc__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.p-svc__item {
  display: grid;
  grid-template-columns: 190px 1fr;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(16, 37, 74, .07);
}

.p-svc__thumb { margin: 0; overflow: hidden; }

.p-svc__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.p-svc__body { padding: 30px 30px 32px; }

.p-svc__title {
  margin-bottom: 16px;
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .08em;
}

.p-svc__text {
  font-size: 16px;
  line-height: 2;
  color: var(--text-sub);
}

/* --- サービス内容（1本柱タイプ：画像＋チェックリスト） --- */
.p-svcmain {
  display: grid;
  grid-template-columns: minmax(0, 440px) 1fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
  padding: clamp(28px, 3vw, 44px);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(16, 37, 74, .08);
}

.p-svcmain__thumb {
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 1 / 1;
}

.p-svcmain__thumb img { width: 100%; height: 100%; object-fit: cover; }

.p-svcmain__title {
  margin-bottom: 18px;
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .08em;
}

.p-svcmain__text {
  font-size: 16px;
  line-height: 2;
  color: var(--text-sub);
}

.p-svcmain__label {
  margin: 26px 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .06em;
}

.p-svcmain__list { display: grid; gap: 11px; }

.p-svcmain__list li {
  position: relative;
  padding-left: 34px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

/* 金色の丸チェック */
.p-svcmain__list li::before {
  content: "";
  position: absolute;
  top: .1em; left: 0;
  width: 21px; height: 21px;
  background: linear-gradient(135deg, #c9a75f, #a8842f);
  border-radius: 50%;
}

.p-svcmain__list li::after {
  content: "";
  position: absolute;
  top: .52em; left: 6px;
  width: 9px; height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.p-svcmain__note {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-sub);
}

/* --- ご相談からサービス提供までの流れ --- *//* --- ご相談からサービス提供までの流れ --- */
.p-step { padding: 0 0 96px; }

.p-step__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 clamp(10px, 1.4vw, 22px);
  counter-reset: none;
}

/* 7ステップは横一列（参照デザインに合わせる） */
.p-step__list--7 {
  grid-template-columns: repeat(7, 1fr);
  gap: 0 clamp(6px, .9vw, 14px);
}

.p-step__list--7 .p-step__icon { width: 62px; height: 62px; }
.p-step__list--7 .p-step__icon svg { width: 28px; height: 28px; }
.p-step__list--7 .p-step__num { font-size: 15px; margin-bottom: 10px; }
.p-step__list--7 .p-step__title { font-size: 13.5px; letter-spacing: 0; }
.p-step__list--7 .p-step__text { font-size: 12.5px; line-height: 1.8; }

.p-step__list--7 .p-step__item + .p-step__item::before {
  top: 56px;
  left: calc(-1 * clamp(6px, .9vw, 14px) / 2 - 4px);
}

/* 6ステップのときは3列×2段 */
.p-step__list--6 {
  grid-template-columns: repeat(3, 1fr);
  gap: 52px clamp(20px, 3vw, 46px);
  max-width: 980px;
  margin-inline: auto;
}

.p-step__list--6 .p-step__item:nth-child(4)::before { content: none; }

.p-step__item {
  position: relative;
  text-align: center;
}

/* ステップ間の矢印 */
.p-step__item + .p-step__item::before {
  content: "";
  position: absolute;
  top: 68px;
  left: calc(-1 * clamp(10px, 1.4vw, 22px) / 2 - 4px);
  width: 8px; height: 8px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  transform: rotate(45deg);
}

.p-step__list--6 .p-step__item + .p-step__item::before {
  left: calc(-1 * clamp(20px, 3vw, 46px) / 2 - 4px);
}

.p-step__num {
  display: block;
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .1em;
}

.p-step__icon {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  margin: 0 auto 18px;
  color: var(--navy);
  background: var(--bg-pale);
  border-radius: 50%;
}

.p-step__icon svg { width: 34px; height: 34px; }

.p-step__title {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .04em;
}

.p-step__text {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-sub);
}

/* --- 料金 --- */
.p-fee { padding: 0 0 96px; }

.p-fee__box {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 44px;
  padding: 44px 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(16, 37, 74, .06);
}

.p-fee__label {
  display: grid;
  place-items: center;
  padding: 30px 20px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  text-align: center;
  color: var(--navy);
  letter-spacing: .14em;
  text-indent: .14em;
  background: #fdfbf5;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 0 0 5px rgba(194, 162, 90, .12);
}

.p-fee__body {
  padding-left: 40px;
  font-size: 16px;
  line-height: 2.05;
  color: var(--text-sub);
  border-left: 1px solid var(--line);
}

.p-fee__body p + p { margin-top: 1em; }

/* --- ページ固有のCTA --- */
/* --- 関連ページ（内部リンク） --- */
.p-related { padding: 0 0 96px; }

.p-related__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.p-related__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 24px 54px 24px 28px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  letter-spacing: .08em;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(16, 37, 74, .06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.p-related__link:hover {
  opacity: 1;
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(16, 37, 74, .12);
}

.p-related__arrow {
  position: absolute;
  top: 50%;
  right: 26px;
  width: 26px;
  height: 1px;
  background: var(--gold-deep);
  transform: translateY(-50%);
  transition: transform .3s var(--ease);
}

.p-related__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--gold-deep);
  border-right: 1px solid var(--gold-deep);
  transform: translateY(-50%) rotate(45deg);
}

.p-related__link:hover .p-related__arrow { transform: translateY(-50%) translateX(4px); }

/* --- FAQカテゴリから関連サービスへの導線 --- */
.p-faqcat__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 0 4px 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .06em;
  border-bottom: 1px solid var(--gold);
  transition: color .3s var(--ease);
}

.p-faqcat__link::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-deep);
  transition: transform .3s var(--ease);
}

.p-faqcat__link:hover { opacity: 1; color: var(--gold-deep); }
.p-faqcat__link:hover::after { transform: translateX(4px); }

.p-pagecta {
  padding: 84px 0;
  text-align: center;
  background-image: linear-gradient(rgba(16, 37, 74, .62), rgba(16, 37, 74, .62)), url(assets/images/bg-cta.jpg);
  background-size: cover;
  background-position: center;
}

.p-pagecta__title {
  margin-bottom: 34px;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.7;
  color: #fff;
  letter-spacing: .1em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}

.c-btn--mail { padding-left: 34px; }
.c-btn--mail svg { width: 18px; height: 18px; fill: currentColor; }

/* --- 送信完了ページ --- *//* --- 送信完了ページ --- */
.p-thanks {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.p-thanks__text {
  font-size: 16px;
  line-height: 2.15;
  color: var(--text);
}

.p-thanks__text + .p-thanks__text { margin-top: 1.8em; }

.p-thanks__note {
  margin-top: 40px;
  padding: 20px 24px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-sub);
  background: var(--bg-pale);
  border-radius: var(--radius);
}

.p-thanks__action { margin-top: 52px; }

/* --- お問い合わせフォーム --- */
.p-cform { max-width: 760px; margin-inline: auto; }

.p-cform__heading {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  color: var(--navy);
  letter-spacing: .06em;
}

.p-cform__rule {
  display: block;
  width: 56px; height: 2px;
  margin: 24px auto 30px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
}

.p-cform__lead {
  margin-bottom: 56px;
  font-size: 16px;
  line-height: 2.1;
  text-align: center;
  color: var(--text-sub);
}

.p-cform__notice {
  padding: 20px 24px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-sub);
  background: var(--bg-pale);
  border-radius: var(--radius);
}

/* 1項目 */
.p-cform__row + .p-cform__row { margin-top: 34px; }

.p-cform__label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .08em;
}

.p-cform__req,
.p-cform__any {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  border-radius: 3px;
}

.p-cform__req { color: #fff; background: #c0392b; }
.p-cform__any { color: var(--text-sub); background: #eef1f5; }

/* 入力欄 */
.p-cform input[type="text"],
.p-cform input[type="email"],
.p-cform input[type="tel"],
.p-cform textarea {
  width: 100%;
  padding: 16px 18px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid #cfd8e4;
  border-radius: 4px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.p-cform textarea { min-height: 190px; resize: vertical; }

.p-cform input::placeholder,
.p-cform textarea::placeholder { color: #a8b0bb; }

.p-cform input:focus,
.p-cform textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194, 162, 90, .16);
}

/* ラジオボタン */
.p-cform .wpcf7-radio,
.p-cform .p-cform__radio {
  display: grid;
  gap: 14px;
}

.p-cform .wpcf7-list-item { display: block; margin: 0; }

.p-cform .wpcf7-list-item label,
.p-cform__radio label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
}

.p-cform input[type="radio"] {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin: 0;
  appearance: none;
  background: #fff;
  border: 1px solid #b9c4d3;
  border-radius: 50%;
  transition: border-color .2s var(--ease);
  display: grid;
  place-items: center;
}

.p-cform input[type="radio"]::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--navy);
  border-radius: 50%;
  transform: scale(0);
  transition: transform .2s var(--ease);
}

.p-cform input[type="radio"]:checked { border-color: var(--navy); }
.p-cform input[type="radio"]:checked::before { transform: scale(1); }
.p-cform input[type="radio"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* 送信ボタン */
.p-cform__submit { margin-top: 52px; text-align: center; }

/* 矢印はボタン自身の背景画像として描く。
   input には擬似要素が使えないため、以前は親要素に置いていたが、
   CF7のスピナーが親の高さを変えるため位置がずれていた。背景なら必ず連動する */
.p-cform__submit .wpcf7-submit,
.p-cform__submit button[type="submit"],
.p-cform__submit input[type="submit"] {
  position: relative;
  width: min(100%, 430px);
  padding: 22px 62px 22px 24px;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .3em;
  text-indent: .3em;
  background-color: var(--navy-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='10' viewBox='0 0 30 10' fill='none' stroke='%23ffffff' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 5h28'/%3E%3Cpath d='M24 1l4 4-4 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 30px center;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color .3s var(--ease), transform .3s var(--ease), background-position .3s var(--ease);
}

.p-cform__submit .wpcf7-submit:hover,
.p-cform__submit button[type="submit"]:hover,
.p-cform__submit input[type="submit"]:hover {
  background-color: var(--navy);
  background-position: right 24px center;
  transform: translateY(-2px);
}

/* 送信中は薄く */
.p-cform__submit .wpcf7-submit:disabled { opacity: .6; cursor: default; transform: none; }

.p-cform__submit { position: relative; }

/* IME（対応ブラウザのみ）：かな入力／半角入力 */
.p-cform .im-kana { ime-mode: active; }
.p-cform .im-han { ime-mode: disabled; }

/* エラー表示 */
.p-cform__error {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #c0392b;
  letter-spacing: .04em;
}

.p-cform__row.is-error input[type="text"],
.p-cform__row.is-error input[type="email"],
.p-cform__row.is-error input[type="tel"],
.p-cform__row.is-error textarea {
  border-color: #c0392b;
  background: #fdf6f5;
}

.p-cform__row.is-error input[type="radio"] { border-color: #c0392b; }

/* プライバシーポリシーへの同意 */
.p-cform__consent {
  margin-top: 48px;
  padding: 26px 28px;
  text-align: center;
  background: var(--bg-pale);
  border-radius: var(--radius);
}

.p-cform__consent.is-error {
  background: #fdf6f5;
  box-shadow: inset 0 0 0 1px #c0392b;
}

.p-cform__consent .wpcf7-list-item { display: inline-block; margin: 0; }

.p-cform__consent label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
}

.p-cform__consent input[type="checkbox"] {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  margin: 0;
  appearance: none;
  background: #fff;
  border: 1px solid #b9c4d3;
  border-radius: 3px;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}

.p-cform__consent input[type="checkbox"]::before {
  content: "";
  width: 11px; height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform .2s var(--ease);
}

.p-cform__consent input[type="checkbox"]:checked {
  background: var(--navy);
  border-color: var(--navy);
}

.p-cform__consent input[type="checkbox"]:checked::before { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.p-cform__consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.p-cform__consent-note {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-sub);
}

.p-cform__consent-note a,
.p-cform__consent label a {
  color: var(--navy);
  text-decoration: underline;
}

.p-cform__consent-note a:hover,
.p-cform__consent label a:hover { color: var(--gold-deep); }

/* CF7のメッセージ */
.p-cform .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 13px;
  color: #c0392b;
}

.p-cform .wpcf7-response-output {
  margin: 32px 0 0;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* 非表示でも領域を取ってしまうため、レイアウトから外す */
.p-cform .wpcf7-spinner {
  position: absolute;
  left: 50%; bottom: -34px;
  margin: 0;
  transform: translateX(-50%);
}

/* --- アクセス：情報バー（4カラム） --- */
.p-accessbar {
  padding: 56px 0 60px;
  background: #fff;
}

.p-accessbar__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.p-accessbar__item {
  padding: 0 clamp(10px, 1.6vw, 28px);
  border-left: 1px solid var(--line);
}

.p-accessbar__item:first-child { border-left: 0; }

.p-accessbar__icon {
  display: grid;
  place-items: center;
  height: 42px;
  margin-bottom: 14px;
  color: var(--navy);
}

.p-accessbar__icon img { width: 34px; height: auto; }
.p-accessbar__icon svg { width: 34px; height: 34px; }

.p-accessbar__term {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .1em;
}

.p-accessbar__desc {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-sub);
  letter-spacing: .01em;
  /* 「1-6-2」や「徒歩4分」が途中で折れないように */
  word-break: keep-all;
  overflow-wrap: break-word;
}

.p-accessbar__desc a:hover { color: var(--gold-deep); }

.p-accessbar__note {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.8;
  color: #8a919c;
}

/* --- アクセス：地図 --- */
.p-accessmap {
  padding: 80px 0 96px;
  background: var(--bg-pale);
}

.p-accessmap__frame {
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.p-accessmap__frame iframe { width: 100%; height: 100%; }

/* --- お知らせ一覧（画像とテキストを左右交互に） --- */
.p-newslist { border-top: 1px solid var(--line); }

.p-newscard { border-bottom: 1px solid var(--line); }

.p-newscard__link {
  display: grid;
  grid-template-columns: minmax(0, 400px) 1fr;
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  padding: 34px 4px;
}

.p-newscard__link:hover { opacity: 1; }

/* 偶数番目はテキストが左・画像が右 */
.p-newscard:nth-child(even) .p-newscard__link { grid-template-columns: 1fr minmax(0, 400px); }
.p-newscard:nth-child(even) .p-newscard__thumb { order: 2; }
.p-newscard:nth-child(even) .p-newscard__body { order: 1; }

/* アイキャッチ未設定の投稿はテキストだけで1列 */
.p-newscard--nothumb .p-newscard__link,
.p-newscard--nothumb:nth-child(even) .p-newscard__link { grid-template-columns: 1fr; }

.p-newscard__thumb {
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 11 / 5;
}

.p-newscard__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.p-newscard__link:hover .p-newscard__thumb img { transform: scale(1.05); }

.p-newscard__body {
  position: relative;
  padding-bottom: 30px;
}

.p-newscard__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}

.p-newscard__date {
  font-size: 14px;
  color: var(--text-sub);
  letter-spacing: .08em;
}

.p-newscard__cat {
  display: inline-block;
  padding: 4px 14px;
  font-size: 12px;
  color: var(--gold-deep);
  letter-spacing: .08em;
  background: #fff;
  border: 1px solid var(--gold);
  border-radius: 2px;
}

.p-newscard__title {
  margin-bottom: 12px;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  line-height: 1.65;
  color: var(--navy);
  letter-spacing: .06em;
  transition: color .3s var(--ease);
}

.p-newscard__link:hover .p-newscard__title { color: var(--gold-deep); }

.p-newscard__excerpt {
  font-size: 16px;
  line-height: 1.95;
  color: var(--text-sub);
}

/* 右下の矢印 */
.p-newscard__arrow {
  position: absolute;
  right: 0; bottom: 0;
  width: 42px; height: 1px;
  background: var(--gold-deep);
  transition: transform .3s var(--ease);
}

.p-newscard__arrow::after {
  content: "";
  position: absolute;
  top: 50%; right: 0;
  width: 7px; height: 7px;
  border-top: 1px solid var(--gold-deep);
  border-right: 1px solid var(--gold-deep);
  transform: translateY(-50%) rotate(45deg);
}

.p-newscard__link:hover .p-newscard__arrow { transform: translateX(6px); }

/* --- FAQ（カテゴリ見出し＋アコーディオン） --- */
.p-faqcat + .p-faqcat { margin-top: 72px; }

.p-faqcat__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 22px;
  margin-bottom: 24px;
}

.p-faqcat__num {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  color: var(--gold);
  letter-spacing: .04em;
}

.p-faqcat__title {
  position: relative;
  padding-left: 24px;
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .08em;
}

.p-faqcat__title::before {
  content: "";
  position: absolute;
  top: .1em; bottom: .1em; left: 0;
  width: 1px;
  background: var(--gold);
}

.p-faqcat__desc {
  font-size: 16px;
  color: var(--text-sub);
  letter-spacing: .04em;
}

.p-faqlist { display: grid; gap: 10px; }

.p-faqlist__item {
  overflow: hidden;
  background: var(--bg-pale);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: border-color .3s var(--ease);
}

.p-faqlist__item[open] { border-color: #dbe6f5; background: #fff; }

.p-faqlist__q {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 66px 22px 26px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--navy);
  list-style: none;
  cursor: pointer;
  background: var(--bg-pale);
  transition: background .3s var(--ease);
}

.p-faqlist__q::-webkit-details-marker { display: none; }
.p-faqlist__q:hover { background: #e9f0fa; }

.p-faqlist__no {
  flex-shrink: 0;
  min-width: 2.2em;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .06em;
}

/* ＋ / − のアイコン */
.p-faqlist__q::before,
.p-faqlist__q::after {
  content: "";
  position: absolute;
  top: 50%; right: 28px;
  width: 15px; height: 1.5px;
  background: var(--gold-deep);
  transform: translateY(-50%);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.p-faqlist__q::after { transform: translateY(-50%) rotate(90deg); }
.p-faqlist__item[open] .p-faqlist__q::after { transform: translateY(-50%) rotate(0deg); opacity: 0; }

.p-faqlist__a {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 26px 28px;
  border-top: 1px solid #e3ebf7;
}

.p-faqlist__mark {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #c9a75f, #a8842f);
  border-radius: 50%;
}

.p-faqlist__body { font-size: 16px; line-height: 2.05; color: var(--text-sub); }
.p-faqlist__body p + p { margin-top: 1em; }

/* --- Contact Form 7 --- */
.p-form { max-width: 820px; margin-inline: auto; }

.p-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  color: #c0392b;
}

.p-form .wpcf7-response-output {
  margin: 28px 0 0;
  padding: 16px 20px;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.p-form__row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.p-form__row:first-child { border-top: 1px solid var(--line); }

.p-form__label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .06em;
}

.p-form__required,
.p-form__optional {
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  border-radius: 3px;
}

.p-form__required { color: #fff; background: #c0392b; }
.p-form__optional { color: var(--text-sub); background: var(--bg-pale); border: 1px solid var(--line); }

.p-form input[type="text"],
.p-form input[type="email"],
.p-form input[type="tel"],
.p-form select,
.p-form textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease);
}

.p-form textarea { min-height: 200px; resize: vertical; }

.p-form input:focus,
.p-form select:focus,
.p-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194, 162, 90, .15);
}

.p-form__privacy {
  margin: 40px 0 32px;
  padding: 26px 28px;
  font-size: 16px;
  line-height: 2;
  text-align: center;
  color: var(--text-sub);
  background: var(--bg-pale);
  border-radius: var(--radius);
}

.p-form__privacy a { color: var(--navy); text-decoration: underline; }

.p-form__submit { text-align: center; }

.p-form__submit input[type="submit"],
.p-form__submit button[type="submit"] {
  min-width: 300px;
  padding: 18px 40px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  letter-spacing: .12em;
  background: linear-gradient(135deg, #c9a75f, #a8842f);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(168, 132, 47, .28);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.p-form__submit input[type="submit"]:hover,
.p-form__submit button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(168, 132, 47, .34);
}

.p-form .wpcf7-spinner { display: block; margin: 16px auto 0; }

/* --- プライバシーポリシー等の本文 --- */
.p-doc { max-width: 860px; margin-inline: auto; }
.p-doc__section + .p-doc__section { margin-top: 48px; }

.p-doc__title {
  margin-bottom: 16px;
  padding: 4px 0 4px 16px;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  border-left: 3px solid var(--gold);
}

.p-doc__text { font-size: 16px; line-height: 2.1; color: var(--text-sub); }
.p-doc__text + .p-doc__text { margin-top: 1.2em; }

.p-doc__list { margin-top: 14px; display: grid; gap: 8px; }

.p-doc__list li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--text-sub);
}

.p-doc__list li::before {
  content: "";
  position: absolute;
  top: .85em; left: 4px;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

.p-doc__date { margin-top: 48px; font-size: 14px; text-align: right; color: var(--text-sub); }

/* 導入文 */
.p-doc__intro {
  margin-bottom: 56px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

/* 末尾の事務所表記 */
.p-doc__office {
  margin-top: 28px;
  padding: 26px 30px;
  font-size: 16px;
  line-height: 2;
  color: var(--text-sub);
  background: var(--bg-pale);
  border-radius: var(--radius);
}

.p-doc__office-name {
  margin-bottom: 4px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .06em;
}

.p-doc__office a:hover { color: var(--gold-deep); }

/* =========================================================
   14. Responsive
   ========================================================= */
/* 文字を大きくした分、横幅が窮屈になる手前で段階的に詰める */
@media (max-width: 1240px) {
  .l-header__inner { gap: 28px; }
  .p-gnav__list { gap: 20px; }
  .p-gnav__list a { font-size: 15px; }
  .p-header-cta { padding: 14px 24px; font-size: 15px; }
}

@media (max-width: 1080px) {
  .p-gnav__list { gap: 20px; }
  .p-gnav__list a { font-size: 15px; }
  .p-header-cta { padding: 13px 22px; font-size: 15px; }

  /* サービス紹介ページ：流れは3列＋2列に */
  .p-step__list { grid-template-columns: repeat(3, 1fr); gap: 44px clamp(10px, 1.4vw, 22px); }
  .p-step__item:nth-child(4)::before,
  .p-step__item:nth-child(1)::before { content: none; }

  .p-step__list--7 { grid-template-columns: repeat(4, 1fr); gap: 40px clamp(10px, 1.6vw, 22px); }
  .p-step__list--7 .p-step__item + .p-step__item::before { left: calc(-1 * clamp(10px, 1.6vw, 22px) / 2 - 4px); }
  .p-step__list--7 .p-step__item:nth-child(5)::before { content: none; }

  .p-step__list--6 { grid-template-columns: repeat(2, 1fr); max-width: 680px; }
  .p-step__list--6 .p-step__item:nth-child(odd)::before { content: none; }
  .p-step__list--6 .p-step__item:nth-child(even)::before { content: ""; }

  /* アクセスの情報バーは2カラムに（4カラムだと住所が折れるため） */
  .p-accessbar__list { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .p-accessbar__item:nth-child(odd) { border-left: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }

  .p-hamburger { display: block; }

  .p-gnav {
    position: fixed;
    inset: var(--header-h) 0 0;
    margin: 0;
    padding: 36px 26px 72px;
    overflow-y: auto;
    background-color: #eaf2fb;
    background-image: url(assets/images/bg-spmenu.jpg);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }

  .p-gnav.is-open { opacity: 1; visibility: visible; transform: none; }

  .p-gnav__list { display: block; }

  .p-gnav__list li { border-bottom: 1px solid rgba(26, 54, 104, .16); }

  .p-gnav__list a {
    padding: 19px 4px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .1em;
  }

  .p-gnav__list a::after { content: none; }

  .p-gnav > .p-header-cta { display: inline-flex; margin-top: 28px; }

  .l-header__inner > .p-header-cta { display: none; }

  .p-logo img { height: 42px; }

  .l-section { padding: 72px 0; }
  .p-about { padding: 76px 0 24px; }
  .p-about__box { padding: 36px 24px 40px; }
  .p-about__box::before,
  .p-about__box::after { width: 24px; height: 24px; }
  .p-about__box::before { top: 11px; left: 11px; }
  .p-about__box::after { right: 11px; bottom: 11px; }
  .p-about__rule { width: 52px; margin-bottom: 24px; }
  .p-about__lead { font-size: 18px; line-height: 2.05; letter-spacing: .04em; }
  .p-about__lead br { display: none; }
  .p-service { padding: 48px 0 84px; }
  .p-news { padding: 16px 0 80px; }

  .p-service__cards { grid-template-columns: 1fr; gap: 36px; max-width: 520px; margin-inline: auto; }
  .p-feature__list { grid-template-columns: 1fr; gap: 44px; max-width: 520px; margin-inline: auto; }

  .p-greeting__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .p-greeting__photo { max-width: 260px; }
  .p-greeting__text { text-align: left; }

  /* 背景写真のビル部分と文字が重なるため、白いパネルを敷いて可読性を確保 */
  .p-greeting__body {
    width: 100%;
    padding: 34px 26px 38px;
    background: rgba(255, 255, 255, .93);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(16, 37, 74, .12);
  }

  .p-access__inner { grid-template-columns: 1fr; }
  .p-access__map { aspect-ratio: 3 / 2; }

  .l-footer__inner { grid-template-columns: 1fr; }
  .l-footer__nav { grid-template-columns: repeat(2, 1fr); }

  /* 下層ページ用コンポーネント */
  .l-main--sub { padding: 56px 0 80px; }

  /* サービス紹介ページ */
  .p-worry { padding: 64px 0 60px; }
  .p-worry__item { grid-template-columns: 60px 1fr; gap: 18px; padding: 18px 20px; }
  .p-worry__icon { width: 60px; height: 60px; }
  .p-worry__icon svg { width: 28px; height: 28px; }
  .p-worry__text { font-size: 16px; }

  .p-worry__answer { padding-top: 26px; }
  .p-worry__arrow { margin-bottom: 22px; border-left-width: 20px; border-right-width: 20px; border-top-width: 18px; }
  .p-worry__answer-text { font-size: clamp(21px, 6vw, 28px); line-height: 1.7; }

  .p-svc { padding: 56px 0 72px; }
  .p-svc__list { grid-template-columns: 1fr; gap: 24px; max-width: 560px; margin-inline: auto; }
  .p-svc__item { grid-template-columns: 1fr; }
  .p-svc__thumb { aspect-ratio: 16 / 9; }
  .p-svc__body { padding: 26px 24px 28px; }

  .p-step { padding: 0 0 72px; }
  .p-step__list,
  .p-step__list--6,
  .p-step__list--7 { grid-template-columns: 1fr; gap: 34px; max-width: 460px; margin-inline: auto; }
  .p-step__item + .p-step__item::before,
  .p-step__list--6 .p-step__item + .p-step__item::before,
  .p-step__list--7 .p-step__item + .p-step__item::before { content: none; }
  .p-step__list--7 .p-step__icon { width: 68px; height: 68px; }
  .p-step__list--7 .p-step__icon svg { width: 32px; height: 32px; }
  .p-step__list--7 .p-step__title { font-size: 16px; letter-spacing: .04em; }
  .p-step__list--7 .p-step__text { font-size: 16px; line-height: 1.9; }

  .p-svcmain { grid-template-columns: 1fr; gap: 26px; max-width: 560px; margin-inline: auto; }
  .p-svcmain__thumb { aspect-ratio: 16 / 10; }
  .p-step__icon { width: 68px; height: 68px; margin-bottom: 14px; }
  .p-step__num { margin-bottom: 10px; }

  .p-fee { padding: 0 0 72px; }
  .p-fee__box { grid-template-columns: 1fr; gap: 20px; padding: 32px 26px; }
  .p-fee__body { padding-left: 0; padding-top: 20px; border-left: 0; border-top: 1px solid var(--line); text-align: center; }

  .p-related { padding: 0 0 64px; }
  .p-related__list { grid-template-columns: 1fr; gap: 16px; max-width: 420px; margin: 32px auto 0; }
  .p-related__link { min-height: 76px; padding: 20px 50px 20px 24px; font-size: 17px; }
  .p-faqcat__link { margin-top: 20px; font-size: 15px; }

  .p-pagecta { padding: 64px 0; }

  /* アクセス */
  .p-accessbar { padding: 44px 0 48px; }
  .p-accessmap { padding: 60px 0 72px; }
  .p-accessmap__frame { aspect-ratio: 4 / 3; }

  /* お知らせ一覧は縦積みに（左右交互は解除） */
  .p-newscard__link,
  .p-newscard:nth-child(even) .p-newscard__link {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 4px;
  }

  .p-newscard:nth-child(even) .p-newscard__thumb { order: 0; }
  .p-newscard:nth-child(even) .p-newscard__body { order: 0; }
  .p-newscard__thumb { max-width: 520px; margin-inline: auto; width: 100%; }

  .p-sec { padding-bottom: 68px; }
  .p-sec--pale { padding: 68px 0; }
  .p-sec--pale + .p-sec { padding-top: 68px; }

  .p-lead { margin-bottom: 40px; font-size: 16px; }

  .p-media { grid-template-columns: 1fr; gap: 28px; }
  .p-media + .p-media { margin-top: 56px; }
  .p-media--reverse .p-media__figure { order: 0; }

  .p-cols,
  .p-cols--2 { grid-template-columns: 1fr; gap: 24px; }

  .p-flow__item { grid-template-columns: 56px 1fr; gap: 18px; padding-bottom: 34px; }
  .p-flow__num { width: 56px; height: 56px; font-size: 10px; }
  .p-flow__num::after { font-size: 17px; }
  .p-flow__item::before { top: 56px; left: 27px; height: calc(100% - 56px); }
  .p-flow__title { margin-top: 8px; }

  .p-deflist__row { grid-template-columns: 1fr; gap: 6px; padding: 18px 4px; }

  .p-price tbody th { width: 42%; }

  .p-contactbox { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }

  .p-form__row { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .p-form__label { padding-top: 0; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }

  .l-container { width: min(100% - 40px, var(--container)); }

  /* --- ヒーロー：SP専用トリミング画像にコピーを重ねる --- */
  .p-hero { height: auto; }
  .p-hero__slides { position: relative; }
  .p-hero__slide { position: absolute; inset: 0; }
  .p-hero__slide:first-child { position: relative; }

  .p-hero__slide img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
  }

  .p-hero__slide:first-child img { height: auto; }

  /* 写真全体に薄い白を1枚かけ、その上にコピーを重ねる */
  .p-hero__slides::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .46);
    pointer-events: none;
  }

  .p-hero__body { width: 100%; }

  .p-hero__inner {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    /* 画像の高さに比例させ、コピーを中央寄りに置く */
    padding: 19vw 20px 11vw;
  }

  .p-hero__copy { text-align: center; }

  .p-hero__catch { font-size: clamp(19px, 5.6vw, 26px); letter-spacing: .12em; }
  .p-hero__main { margin: .1em 0 .5em; font-size: clamp(27px, 7.8vw, 36px); }
  .p-hero__sub { font-size: clamp(12px, 3.5vw, 16px); line-height: 1.8; }

  .p-hero__scroll { display: none; }
  .p-hero__dots { bottom: 14px; }

  .c-btn { min-width: 0; width: 100%; max-width: 336px; padding: 17px 50px 17px 30px; font-size: 16px; }
  .c-btn--ghost { width: auto; padding: 0 32px 0 0; }

  .p-about__wm {
    top: 98px;
    font-size: clamp(70px, 22vw, 110px);
    color: rgba(26, 54, 104, .04);
    transform: none;
  }

  .p-news__link {
    grid-template-columns: auto 1fr;
    gap: 8px 14px;
    padding: 18px 4px;
  }
  .p-news__cat { justify-self: start; padding: 5px 14px; }
  .p-news__title { grid-column: 1 / -1; }

  .p-access__item { grid-template-columns: 40px 1fr; gap: 14px; }
  .p-access__icon { width: 40px; height: 40px; }

  .l-footer__nav { grid-template-columns: 1fr; }

  .p-postnav { flex-direction: column; }

  .p-breadcrumb { padding: 15px 0; font-size: 13px; }
  .p-breadcrumb__home svg { width: 15px; height: 15px; }

  /* 下層ページ用コンポーネント */
  .p-anchor { gap: 8px; margin-bottom: 48px; }
  .p-anchor a { padding: 10px 18px; font-size: 13px; }

  .p-panel { padding: 26px 22px; }

  .p-faq__q { grid-template-columns: 30px 1fr; gap: 12px; padding: 20px 34px 20px 4px; font-size: 16px; }
  .p-faq__q::before,
  .p-faq__a::before { width: 30px; height: 30px; font-size: 13px; }
  .p-faq__a { grid-template-columns: 30px 1fr; gap: 12px; padding: 0 34px 22px 4px; }

  .p-contactbox__tel { font-size: 26px; }
  .p-map { aspect-ratio: 4 / 3; }

  .p-form__submit input[type="submit"],
  .p-form__submit button[type="submit"] { min-width: 0; width: 100%; }

  .p-doc__section + .p-doc__section { margin-top: 36px; }
  .p-doc__title { font-size: 17px; }
}

/* =========================================================
   15. SP：基本中央揃え
   ========================================================= */
@media (max-width: 767px) {
  /* 見出し */
  .c-heading { text-align: center; }
  .c-heading::after { margin-inline: auto; }

  /* 英字は見出しの上に置き、見出しを中央に揃える */
  .c-headline {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px;
  }

  .c-headline__en {
    order: -1;
    font-size: clamp(20px, 5.6vw, 26px);
    letter-spacing: .16em;
  }

  /* サービスカード */
  .p-card__title,
  .p-card__text { text-align: center; }

  /* ごあいさつ */
  .p-greeting__text { text-align: center; }

  .p-greeting__body::before,
  .p-message__body::before { inset: -22px -20px; }

  /* アクセス：アイコンを上に置いた縦並び中央 */
  .p-access__item {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    text-align: center;
  }

  .p-access__icon { width: 44px; height: 44px; }
  .p-access__icon img { width: 36px; }

  /* お知らせ */
  .p-news__head,
  .p-access__head { flex-direction: column; align-items: center; gap: 22px; }

  /* 矢印ぶんの余白を左右対称にして、文字を中央に見せる */
  .p-news__head .c-btn--ghost,
  .p-access__head .c-btn--ghost { padding-left: 44px; }

  .p-news__link {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    text-align: center;
  }

  .p-news__cat { justify-self: center; }
  .p-news__title { grid-column: auto; }

  /* 下層ページ共通 */
  .p-lead,
  .p-lead--left { text-align: center; }

  .p-media__body,
  .p-panel,
  .p-flow__body,
  .p-doc__text,
  .p-entry__meta { text-align: center; }

  .p-entry__meta { justify-content: center; }

  /* 箇条書きは「ブロックごと中央、項目は左揃え」で行頭を揃える */
  .p-check {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }

  .p-check li { padding-left: 26px; text-align: left; }

  .p-flow__item { grid-template-columns: 1fr; justify-items: center; gap: 12px; }
  .p-flow__item::before { content: none; }

  .p-doc__list {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }

  .p-doc__list li { text-align: left; }
  .p-doc__date { text-align: center; }
  .p-doc__intro { margin-bottom: 40px; padding-bottom: 26px; }

  /* サービス紹介ページ */
  .p-worry__item { grid-template-columns: 1fr; justify-items: center; gap: 12px; text-align: center; padding: 22px 18px; }
  .p-svc__body { text-align: center; }
  .p-svc__text { text-align: left; }

  .p-svcmain__body { text-align: center; }
  .p-svcmain__text,
  .p-svcmain__note { text-align: left; }
  .p-svcmain__list { width: fit-content; max-width: 100%; margin-inline: auto; }
  .p-svcmain__list li { text-align: left; }

  /* お問い合わせ */
  .p-cform__lead { margin-bottom: 40px; font-size: 16px; }
  .p-cform__label { justify-content: center; font-size: 16px; }
  /* 選択肢はブロックごと中央、行頭は揃える */
  .p-cform .wpcf7-radio,
  .p-cform__radio {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }
  .p-cform__submit { margin-top: 40px; }
  .u-sp { display: inline; }

  .p-thanks__text { font-size: 16px; line-height: 2; }
  .p-thanks__text br { display: none; }
  .p-thanks__note { margin-top: 32px; padding: 18px; font-size: 16px; }
  .p-thanks__action { margin-top: 40px; }

  .p-cform__consent { margin-top: 36px; padding: 22px 18px; }
  .p-cform__consent-note { font-size: 16px; }
  .p-cform__consent label { font-size: 16px; }

  .p-cform__submit .wpcf7-submit,
  .p-cform__submit button[type="submit"],
  .p-cform__submit input[type="submit"] {
    padding: 19px 52px 19px 20px;
    font-size: 16px;
    letter-spacing: .24em;
    background-position: right 22px center;
  }

  /* アクセス */
  .p-pagehero__statement { margin: 14px 0 16px; }
  .p-accessbar__list { grid-template-columns: 1fr; gap: 30px 0; }
  .p-accessbar__item { border-left: 0; padding: 0; }
  .p-accessbar__item + .p-accessbar__item { padding-top: 30px; border-top: 1px solid var(--line); }

  /* お知らせ一覧 */
  .p-newscard__meta { justify-content: center; gap: 14px; }
  .p-newscard__body { padding-bottom: 34px; text-align: center; }
  .p-newscard__arrow { right: 50%; transform: translateX(50%); }
  .p-newscard__link:hover .p-newscard__arrow { transform: translateX(calc(50% + 6px)); }
  .p-newscard__title { font-size: 17px; }
  .p-newscard__excerpt { font-size: 16px; }
  .p-pager .page-numbers { min-width: 36px; height: 36px; font-size: 13px; }
  .p-doc__office { padding: 22px 20px; text-align: center; }

  /* 事務所について */
  .p-pagehero {
    min-height: 0;
    background-position: center;
  }

  /* 横方向のグラデーションでは写真の上に文字が乗るため、
     SPでは薄い一枚のベールに切り替える */
  .p-pagehero::before { background: rgba(234, 242, 251, .86); }

  .p-pagehero__body {
    max-width: none;
    padding: 44px 0 48px;
    text-align: center;
  }

  .p-pagehero__en { margin: 8px 0 20px; }
  .p-pagehero__en--top { margin: 0 0 8px; }
  .p-pagehero__rule { margin: 18px auto 20px; }
  .p-pagehero__lead br { display: none; }

  /* FAQ */
  .p-faqcat + .p-faqcat { margin-top: 52px; }

  .p-faqcat__head {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    text-align: center;
  }

  .p-faqcat__title { padding-left: 0; }
  .p-faqcat__title::before { content: none; }

  .p-faqlist__q {
    gap: 12px;
    padding: 18px 48px 18px 18px;
    font-size: 16px;
    text-align: left;
  }

  .p-faqlist__q::before,
  .p-faqlist__q::after { right: 18px; width: 13px; }

  .p-faqlist__a {
    gap: 12px;
    padding: 20px 18px 24px;
    text-align: left;
  }

  .p-faqlist__body { font-size: 16px; line-height: 1.95; }

  /* 事務所概要テーブルは1カラムに */
  .p-deflist--table .p-deflist__row { grid-template-columns: 1fr; }

  .p-deflist--table .p-deflist__term {
    padding: 12px 16px;
    text-align: center;
  }

  .p-deflist--table .p-deflist__desc { padding: 15px 16px; text-align: center; }
  .p-deflist__desc { text-align: center; }

  .p-message__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 28px;
    padding-right: 0;
    text-align: center;
  }

  .p-message__photo { order: 1; max-width: 250px; }

  /* 背景写真のビル部分と重なるため、ホームのごあいさつと同様に白パネルを敷く */
  .p-message__body {
    order: 2;
    width: 100%;
    padding: 32px 24px 36px;
    background: rgba(255, 255, 255, .93);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(16, 37, 74, .12);
  }

  /* フッター */
  .l-footer__inner { justify-items: center; text-align: center; }
  .l-footer__logo { text-align: center; }
  .l-footer__nav { justify-items: center; }
  .l-footer__nav a { padding-left: 0; }
  .l-footer__nav a::before { content: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
