/* 八ヶ岳クラウド税理士事務所：全ページ共通のデザイン */
/* =========================================================
   ★ 写真の見せ方（ここの数字だけ変えればOK）
     ・photo-pos … 写真のどこを中心に見せるか（横% 縦%）
                   0% = 左端／上端、100% = 右端／下端
     ・キャッチコピーの白い帯は、どの画面でも常に中央に置きます。
   ========================================================= */
:root {
  /* パソコン（画面の幅が 861px 以上） */
  --pc-photo-pos: 50% 50%;
  /* スマホ・小さいタブレット（860px 以下） */
  --sp-photo-pos: 5% 50%;
}

:root {
  --ink: #2a2f33;          /* 文字の色（真っ黒より少しやわらかく） */
  --ink-soft: #6b7378;
  --paper: #ffffff;
  --teal: #3aa995;         /* ロゴの緑 */
  --blue: #2b8ad0;         /* ロゴの青 */
  --mincho: "Shippori Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* 画面には出さず、検索エンジンと読み上げソフトにだけ伝える文字 */
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mincho);
  letter-spacing: .12em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  height: 88px; padding: 0 48px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
}
/* ロゴ：マーク（カラー）＋ 会社名（横1列） */
.header__logo { display: flex; align-items: center; gap: 14px; }
.header__logo img { display: block; width: auto; }
.brand__mark { height: 32px; }
.brand__name { height: 19px; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 13px; }
.nav a { position: relative; padding: 6px 0; color: var(--ink); text-align: center; line-height: 1.3; }
.nav a.nav__contact {
  margin-left: 8px; padding: 11px 20px; border: 1px solid var(--ink); font-size: 12px;
  transition: background .3s ease, color .3s ease;
}
.nav a.nav__contact:hover { background: var(--ink); color: #fff; }
.nav a.nav__contact::after { display: none; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--teal); transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.menu-btn { display: none; }

/* ---------- ファーストビュー ---------- */
.fv {
  position: relative;
  height: 100vh; min-height: 560px;
  padding: 88px 48px 48px;   /* 写真のまわりに白い余白 */
}
.fv__photo {
  position: relative; width: 100%; height: 100%; overflow: hidden;
}
.fv__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pc-photo-pos);
  display: block;
  transform: scale(1.08);
  animation: zoomout 9s cubic-bezier(.2,.6,.2,1) forwards;
}
/* 空の部分に白いもやをかけて、上品で軽い印象に */
.fv__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(20,40,60,.10) 0%, rgba(20,40,60,0) 30%);
}
@keyframes zoomout { to { transform: scale(1); } }

/* 縦書きキャッチコピー（白い帯に、縦1列） */
.catch {
  position: absolute; z-index: 2;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  writing-mode: vertical-rl;
  white-space: nowrap;
  padding: 1.1em .6em .9em;
  background: rgba(255,255,255,.96);
  /* 画面の幅と高さの両方に合わせて、はみ出さない範囲で大きく */
  font-size: max(20px, min(2.3vw, 32px, calc((100vh - 220px) / 23)));
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1;
  color: var(--ink);
  opacity: 0; animation: band .9s ease .2s forwards;
}
@keyframes band {
  from { opacity: 0; clip-path: inset(0 0 100% 0); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); }
}
.catch .ch {
  display: inline-block; opacity: 0; filter: blur(6px);
  transform: translateY(-.25em);
  animation: ink 1.1s ease forwards;
}
@keyframes ink { to { opacity: 1; filter: blur(0); transform: none; } }


/* スクロールの合図 */
.scroll {
  position: absolute; right: 18px; bottom: 48px;
  writing-mode: vertical-rl; font-size: 10px; letter-spacing: .3em;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 12px;
}
.scroll::after {
  content: ""; width: 1px; height: 64px; background: var(--ink-soft);
  transform-origin: top; animation: line 2.4s ease-in-out infinite;
}
@keyframes line {
  0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- セクション共通の見出し ---------- */
.sec-title {
  text-align: center; font-size: 20px; font-weight: 500; letter-spacing: .32em;
  margin-bottom: 56px;
}
.sec-title::before {
  content: ""; display: block; width: 1px; height: 40px; margin: 0 auto 24px;
  background: var(--teal);
}

/* スクロールしたら、ふわっと現れる */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.4s ease, transform 1.4s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 私たちの想い（縦書き） ---------- */
.philosophy { padding: 112px 48px 120px; }
.philosophy__body { display: flex; justify-content: center; }
.philosophy__text {
  writing-mode: vertical-rl;
  font-size: 18px; line-height: 2.5; letter-spacing: .16em;
}
.philosophy__lead {
  font-size: 26px; font-weight: 600; line-height: 2.1; letter-spacing: .18em;
  margin-left: 2.2em;      /* 縦書きでは左側が「次の行」の方向 */
}
.philosophy__text p + p { margin-right: 0; }

/* ---------- 代表ごあいさつ ---------- */
.message { padding: 96px 48px 128px; background: #fff; }
.message__inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 5fr 6fr; gap: 80px;
  align-items: stretch;           /* 写真と文章の上下の端をそろえる */
}
.message__photo { position: relative; }
.message__photo::before {           /* 写真の後ろに、生成り色の面をずらして敷く */
  content: ""; position: absolute; inset: 40px -40px -40px 40px;
  background: #f4f2ee; z-index: 0;
}
.message__photo { min-height: 480px; }
.message__photo img {               /* 写真の高さは文章の高さに合わせて伸び縮みする */
  position: absolute; inset: 0; z-index: 1; display: block; width: 100%;
  height: 100%; object-fit: cover; object-position: 50% 20%;
}
.message__text { display: flex; flex-direction: column; }
.message__text p { font-size: 16px; line-height: 2.05; letter-spacing: .08em; }
.message__text p + p { margin-top: 1.25em; }
.message__text p.message__lead { font-size: 21px; line-height: 2; letter-spacing: .12em; font-weight: 500; }
.message__foot { margin-top: auto; padding-top: 40px; text-align: right; }   /* 署名とリンクは写真の下端にそろえる */
.message__sign { margin: 0; }
.message__more { text-align: center; margin-top: 72px; }   /* リンクは写真と文章のまとまりの下、中央に */
.message__sign span { font-size: 12px; letter-spacing: .25em; color: var(--ink-soft); margin-right: 1.2em; }
.message__sign strong { font-size: 22px; font-weight: 500; letter-spacing: .3em; }
.more {
  display: inline-flex; align-items: center; gap: 18px; margin-top: 22px;
  font-size: 14px; letter-spacing: .15em; padding-bottom: 6px; border-bottom: 1px solid var(--ink);
}
.more .arrow { width: 28px; height: 1px; background: var(--ink); transition: width .3s ease; }
.more:hover .arrow { width: 44px; }
/* 下へ移るリンク（矢印を「下向きの山形」にする） */
.more--down { gap: 14px; }
/* お問い合わせ：料金シミュレーションから来たときのお知らせ */
.c-form__sim { margin: -12px 0 28px; padding: 12px 16px; background: #eef6f4; border-radius: 8px; font-size: 13px; line-height: 1.8; color: #1f7c6b; letter-spacing: .03em; }
.more--down .arrow { width: 8px; height: 8px; margin: -4px 2px 0; background: none; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); transition: transform .3s ease; }
.more--down:hover .arrow { width: 8px; transform: translateY(3px) rotate(45deg); }

/* ---------- 当社の強み ---------- */
.strengths { padding: 104px 48px 120px; background: #f7f5f1; }
.strengths__list {
  max-width: 1100px; margin: 0 auto; list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid #dcdad5;
}
.strength {
  padding: 44px 36px 8px;
  border-left: 1px solid #dcdad5;
}
.strength:first-child { border-left: 0; padding-left: 0; }
.strength:last-child { padding-right: 0; }
.strength__num {
  font-size: 44px; font-weight: 400; line-height: 1; color: var(--teal);
  letter-spacing: 0;
}
.strength__title {
  margin-top: 28px; font-size: 20px; font-weight: 600; line-height: 1.7; letter-spacing: .1em;
  min-height: 3.4em;   /* 見出し2行分の高さを確保し、説明文の書き出しを3つでそろえる */
}
.strength__tag {
  display: inline-block; margin-top: 14px; padding: 4px 12px;
  font-size: 12px; letter-spacing: .12em; border: 1px solid var(--ink-soft); color: var(--ink-soft);
}
.strength__text { margin-top: 20px; font-size: 15px; line-height: 2.05; letter-spacing: .06em; }

/* ---------- サービス ---------- */
.service { padding: 104px 48px 120px; }
.service__list {
  max-width: 1100px; margin: 0 auto; list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #e3e5e6; border-left: 1px solid #e3e5e6;
}
.service__item {
  padding: 40px 36px 44px;
  border-right: 1px solid #e3e5e6; border-bottom: 1px solid #e3e5e6;
}
.service__num { font-size: 13px; letter-spacing: .2em; color: var(--teal); }
.service__title { margin-top: 14px; font-size: 19px; font-weight: 600; letter-spacing: .12em; line-height: 1.6; }
.service__text { margin-top: 16px; font-size: 14.5px; line-height: 2; letter-spacing: .05em; color: #4a5155; }
.service__more { text-align: center; margin-top: 56px; }

/* ---------- お問い合わせ（全ページの最後に必ず表示） ---------- */
.contact {
  background: #f4f2ee;            /* あたたかみのある生成り色 */
  padding: 104px 48px;
}
.contact__inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.contact__title {
  font-size: clamp(30px, 3.6vw, 48px); font-weight: 500; letter-spacing: .2em; line-height: 1.3;
}
.contact__sub { margin-top: 16px; font-size: 13px; letter-spacing: .25em; color: var(--ink-soft); }
.contact__lead { margin-top: 48px; font-size: 15px; line-height: 2.3; }
.contact__actions { display: grid; gap: 20px; }
.btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 32px; background: #fff; border: 1px solid transparent;
  font-size: 15px; letter-spacing: .15em;
  transition: border-color .3s ease, transform .3s ease;
}
.btn:hover { border-color: var(--ink); }
.btn { gap: 22px; }
.btn__body { flex: 1; }
.btn__icon { flex: 0 0 auto; display: grid; place-items: center; width: 52px; height: 52px; }
.btn__icon--mail { border-radius: 50%; background: #dcefea; color: var(--teal); }
.btn__icon--mail svg { width: 30px; height: 30px; stroke-width: 1.6; }   /* LINEのアイコンと同じくらいの存在感に */
.btn__icon img, .c-line__icon img { display: block; width: 100%; height: 100%; }
.office dd small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink-soft); }
.btn small { display: block; margin-top: 6px; font-size: 11px; color: var(--ink-soft); letter-spacing: .1em; }
.btn .arrow { width: 36px; height: 1px; background: var(--ink); position: relative; transition: width .3s ease; }
.btn .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px; width: 8px; height: 1px;
  background: var(--ink); transform: rotate(35deg); transform-origin: right;
}
.btn:hover .arrow { width: 52px; }

/* ---------- フッター ---------- */
.footer { padding: 72px 48px 40px; }
.footer__inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.footer .header__logo { margin-bottom: 22px; }
.footer address { font-style: normal; font-size: 12px; line-height: 2.1; color: var(--ink-soft); }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 48px; font-size: 12px; }
.footer__nav a:hover { color: var(--teal); }
.footer__bottom {
  max-width: 1100px; margin: 56px auto 0; padding-top: 24px; border-top: 1px solid #e6e8e9;
  display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-soft);
}

/* ---------- 現在のページをメニューで示す ---------- */
.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* =========================================================
   下層ページ共通（代表プロフィールなど）
   ========================================================= */
.page-head { padding: 160px 48px 24px; text-align: center; }
.page-head__title { font-size: 26px; font-weight: 500; letter-spacing: .3em; }
.page-head__title::before {
  content: ""; display: block; width: 1px; height: 48px; margin: 0 auto 26px; background: var(--teal);
}
/* ページの写真（見出しの下の横長の写真） */
.page-visual { max-width: 1200px; margin: 40px auto 0; padding: 0 48px; }
.page-visual img {
  display: block; width: 100%; height: 340px; object-fit: cover; object-position: 50% 50%;
  border-radius: 12px;
}
.inner { max-width: 1000px; margin: 0 auto; }
.inner--narrow { max-width: 760px; margin: 0 auto; }
.sec-sub { text-align: center; font-size: 18px; font-weight: 500; letter-spacing: .28em; margin-bottom: 48px; }

/* ---------- 代表プロフィール ---------- */
.p-hero { padding: 56px 48px 112px; }
.p-hero__inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: center;
}
.p-hero__photo { position: relative; }
.p-hero__photo::before {
  content: ""; position: absolute; inset: -32px 32px 32px -32px; background: #f4f2ee; z-index: 0;
}
.p-hero__photo img {
  position: relative; z-index: 1; display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
}
.p-hero__role { font-size: 13px; letter-spacing: .3em; color: var(--ink-soft); }
.p-hero__name { margin-top: 14px; font-size: 38px; font-weight: 500; letter-spacing: .3em; line-height: 1.3; }
.p-hero__kana { margin-top: 6px; font-size: 12px; letter-spacing: .4em; color: var(--ink-soft); }
.p-hero__lead {
  margin-top: 44px; padding-top: 36px; border-top: 1px solid #e3e5e6;
  font-size: 20px; font-weight: 500; line-height: 2; letter-spacing: .12em;
}
.p-hero__license { margin-top: 28px; font-size: 13px; line-height: 2; color: var(--ink-soft); letter-spacing: .08em; }

.p-history { padding: 104px 48px; }
.timeline { list-style: none; border-top: 1px solid #dcdad5; }
.timeline li {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px;
  padding: 22px 4px; border-bottom: 1px solid #dcdad5;
}
.timeline__year { font-size: 16px; letter-spacing: .12em; color: var(--teal); }
.timeline__text { font-size: 15.5px; line-height: 1.9; letter-spacing: .08em; }
.timeline__text small { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-soft); }

.p-story { padding: 112px 48px; background: #f7f5f1; }
.p-story__quote {
  text-align: center; font-size: 24px; font-weight: 500; line-height: 1.9; letter-spacing: .14em;
  margin-bottom: 56px;
}
.p-story p.body { font-size: 16px; line-height: 2.2; letter-spacing: .08em; }
.p-story p.body + p.body { margin-top: 1.6em; }


.p-person { padding: 104px 48px 120px; background: #f7f5f1; }
.p-office { padding: 104px 48px 120px; background: #f7f5f1; }
.office { border-top: 1px solid #dcd8d0; }
.office > div { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 22px 8px; border-bottom: 1px solid #dcd8d0; }
.office dt { font-size: 14px; color: var(--ink-soft); letter-spacing: .14em; }
.office dd { font-size: 15px; line-height: 1.9; letter-spacing: .06em; }
.office a { color: var(--ink); }
.hobbies { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 880px; margin: 0 auto; }
.hobby { background: #fff; display: flex; align-items: center; gap: 28px; padding: 30px 32px; }
.hobby__name { flex: 0 0 4em; font-size: 18px; font-weight: 500; letter-spacing: .2em; }
.hobby__note { font-size: 13.5px; color: var(--ink-soft); line-height: 1.9; letter-spacing: .04em; }

/* これまでの歩み（年表：左に時期、縦の線と丸、右に見出しと文章） */
.p-journey { padding: 104px 48px 120px; scroll-margin-top: 40px; }
.journey { position: relative; max-width: 860px; margin: 0 auto; }
.journey::before { content: ""; position: absolute; left: 206px; top: 14px; bottom: 0; width: 1px; background: #d9e6e2; }
.journey__era, .journey__item { position: relative; display: grid; grid-template-columns: 180px 1fr; column-gap: 52px; }
.journey__era { padding-bottom: 40px; }
.journey__era:not(:first-child) { padding-top: 24px; }
.journey__era span { text-align: right; font-size: 20px; font-weight: 500; letter-spacing: .14em; color: var(--teal); }
.journey__era::after { content: ""; position: absolute; left: 199px; top: 9px; width: 15px; height: 15px; box-sizing: border-box; border: 1.5px solid var(--teal); border-radius: 50%; background: #fff; }
.journey__era:not(:first-child)::after { top: 33px; }
.journey__item { padding-bottom: 56px; }
.journey__item::after { content: ""; position: absolute; left: 202px; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.journey__stage { text-align: right; padding-top: 4px; font-size: 14px; letter-spacing: .12em; color: var(--ink-soft); }
.journey__title { font-size: 19px; font-weight: 500; letter-spacing: .12em; line-height: 1.7; }
.journey__text { margin-top: 14px; font-size: 14.5px; line-height: 2.05; letter-spacing: .05em; color: #4a5155; }
.journey__text + .journey__text { margin-top: 1em; }
.journey__photo { margin-top: 24px; max-width: 440px; }
.journey__photo img { display: block; width: 100%; height: auto; border-radius: 10px; }
.journey__photo figcaption { margin-top: 10px; font-size: 12.5px; letter-spacing: .08em; color: var(--ink-soft); }

/* ---------- タブレット（ごあいさつは写真と文章を縦に並べる） ---------- */
@media (max-width: 1024px) and (min-width: 861px) {
  .service__list { grid-template-columns: repeat(2, 1fr); }
  .message__inner { grid-template-columns: 1fr; max-width: 640px; gap: 72px; }
  .message__photo { margin-right: 40px; }
  .message__photo { min-height: 0; }
  .message__photo img { position: relative; height: auto; aspect-ratio: 4 / 5; }
}

/* ---------- スマホ ---------- */
@media (max-width: 860px) {
  .header { height: 64px; padding: 0 16px; }
  /* メニュー：ボタンを押すと、ヘッダーの下にプルダウンで開く */
  .nav {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px 24px 28px; background: #fff;
    border-top: 1px solid #eceeef; box-shadow: 0 16px 28px rgba(30,40,50,.08);
    max-height: calc(100svh - 64px); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .35s ease, transform .35s ease, visibility .35s;
  }
  .header.is-open .nav { visibility: visible; opacity: 1; transform: none; }
  .nav a { padding: 17px 4px; text-align: left; font-size: 15px; border-bottom: 1px solid #eceeef; }
  .nav a::after { display: none; }
  .nav a.nav__contact { margin: 24px 0 0; padding: 16px; text-align: center; font-size: 14px; }
  .menu-btn {
    display: flex; flex-direction: column; gap: 6px; background: none; border: 0;
    padding: 10px; cursor: pointer;
  }
  .menu-btn i { display: block; width: 26px; height: 1px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
  .header.is-open .menu-btn i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.is-open .menu-btn i:nth-child(2) { opacity: 0; }
  .header.is-open .menu-btn i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .fv { padding: 64px 0 0; height: 100vh; height: 100svh; }   /* JS で開いたときの高さに固定する（main.js） */
  .fv__photo img { object-position: var(--sp-photo-pos); }
  .scroll { display: none; }
  .catch { font-size: 21px; }
  .brand__mark { height: 26px; }
  .brand__name { height: 15px; }
  .sec-title { font-size: 18px; margin-bottom: 40px; }
  .sec-title::before { height: 32px; margin-bottom: 18px; }
  .philosophy { padding: 80px 12px 88px; }
  .philosophy__text { font-size: 14.5px; line-height: 1.95; letter-spacing: .08em; }
  .philosophy__lead { font-size: 18px; line-height: 1.85; margin-left: 1.2em; }
  .message { padding: 72px 20px 96px; }
  .message__inner { grid-template-columns: 1fr; gap: 64px; }
  .message__photo { margin-right: 24px; }
  .message__photo::before { inset: 24px -24px -24px 24px; }
  .message__photo { min-height: 0; }
  .message__photo img { position: relative; height: auto; aspect-ratio: 4 / 5; }
  .message__text p { font-size: 15.5px; line-height: 2.05; letter-spacing: .05em; }
  .message__sign strong { font-size: 20px; }
  .message__text p.message__lead { font-size: 16.5px; letter-spacing: .02em; }
  .strengths { padding: 72px 20px 88px; }
  .strengths__list { grid-template-columns: 1fr; }
  .strength, .strength:first-child, .strength:last-child {
    padding: 36px 0 40px; border-left: 0; border-bottom: 1px solid #dcdad5;
  }
  .strength__num { font-size: 36px; }
  .strength__title { margin-top: 18px; font-size: 18.5px; min-height: 0; }
  .strength__text { font-size: 15px; }
  .service { padding: 72px 20px 88px; }
  .service__list { grid-template-columns: 1fr; border-left: 0; }
  .service__item { padding: 28px 4px 30px; border-right: 0; }
  .service__title { margin-top: 8px; font-size: 18px; }
  .service__text { margin-top: 10px; font-size: 14.5px; }
  .service__more { margin-top: 44px; }
  .message__more { margin-top: 56px; }
  .page-head { padding: 112px 20px 8px; }
  .page-head__title { font-size: 21px; }
  .page-head__title::before { height: 36px; margin-bottom: 20px; }
  .page-visual { margin-top: 28px; padding: 0 16px; }
  .page-visual img { height: 180px; border-radius: 8px; }
  .p-hero { padding: 40px 20px 80px; }
  .p-hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .p-hero__photo { margin-left: 24px; }
  .p-hero__photo::before { inset: -20px 20px 20px -20px; }
  .p-hero__name { font-size: 30px; }
  .p-hero__lead { margin-top: 32px; padding-top: 28px; font-size: 16px; letter-spacing: .06em; }
  .p-hero__license { font-size: 12px; letter-spacing: .04em; }
  .p-history { padding: 72px 20px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding: 18px 2px; }
  .timeline__year { font-size: 14px; }
  .p-story { padding: 80px 20px; }
  .p-story__quote { font-size: 18.5px; margin-bottom: 40px; letter-spacing: .08em; }
  .p-story p.body { font-size: 15.5px; line-height: 2.1; letter-spacing: .05em; }
  .p-person { padding: 72px 20px 88px; }
  .p-office { padding: 72px 20px 88px; }
  .office > div { grid-template-columns: 1fr; gap: 6px; padding: 18px 4px; }
  .office dt { font-size: 12.5px; }
  .office dd { font-size: 14.5px; letter-spacing: .03em; }
  .hobbies { grid-template-columns: 1fr; gap: 10px; }
  .hobby { gap: 14px; padding: 22px 16px; }
  .hobby__name { flex: 0 0 3.6em; font-size: 16.5px; letter-spacing: .12em; }
  .hobby__note { font-size: 13px; letter-spacing: 0; }
  .p-journey { padding: 72px 20px 88px; }
  .journey::before { left: 5px; }
  .journey__era, .journey__item { grid-template-columns: 1fr; padding-left: 28px; }
  .journey__era { padding-bottom: 28px; }
  .journey__era span { text-align: left; font-size: 17px; }
  .journey__era::after { left: -2px; top: 6px; }
  .journey__era:not(:first-child)::after { top: 30px; }
  .journey__item { padding-bottom: 44px; }
  .journey__item::after { left: 1px; top: 7px; }
  .journey__stage { text-align: left; padding-top: 0; font-size: 13px; }
  .journey__title { margin-top: 4px; font-size: 17px; letter-spacing: .08em; }
  .journey__text { font-size: 14.5px; letter-spacing: .03em; }
  .journey__photo { margin-top: 20px; max-width: none; }
  .journey__photo img { border-radius: 8px; }
  .contact { padding: 80px 20px; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .btn { padding: 22px 20px; gap: 16px; }
  .btn__icon { width: 46px; height: 46px; }
  .btn__icon--mail svg { width: 27px; height: 27px; }
  .footer { padding: 56px 20px 32px; }
  .footer__bottom { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .fv__photo img, .catch, .catch .ch { animation: none; opacity: 1; filter: none; transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   お問い合わせページ
   ========================================================= */
.sp-only { display: none; }
.c-intro { padding: 40px 48px 56px; text-align: center; }
.c-intro__lead { font-size: 22px; font-weight: 500; letter-spacing: .2em; line-height: 1.8; }
.c-intro__text { margin-top: 20px; font-size: 15px; line-height: 2.1; letter-spacing: .08em; }
.c-points { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; }
.c-points li { position: relative; padding-left: 22px; font-size: 14.5px; letter-spacing: .1em; }
.c-points li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 10px; height: 6px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg);
}

/* トップページ：ご相談の流れ */
.flow { padding: 104px 48px 120px; }
.flow__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1100px; margin: 0 auto; border-top: 1px solid #dcd8d0; }
.flow__step { position: relative; padding: 36px 28px 8px; }
.flow__step + .flow__step { border-left: 1px solid #dcd8d0; }
.flow__num { display: block; font-size: 30px; color: var(--teal); line-height: 1; letter-spacing: 0; }
.flow__title { margin-top: 20px; font-size: 17px; font-weight: 500; letter-spacing: .14em; }
.flow__text { margin-top: 12px; font-size: 13.5px; line-height: 1.95; color: var(--ink-soft); letter-spacing: .06em; }

.c-methods { padding: 0 48px 128px; }
.c-line {
  display: flex; align-items: center; gap: 24px; padding: 28px 32px;
  border: 1px solid #cfd8d4; color: var(--ink); text-decoration: none; transition: border-color .3s ease;
}
.c-line:hover { border-color: var(--ink); }
.c-line__icon {
  flex: 0 0 auto; display: grid; place-items: center; width: 56px; height: 56px;
}
.c-line__body { flex: 1; }
.c-line__title { display: block; font-size: 18px; font-weight: 500; letter-spacing: .14em; }
.c-line__text { display: block; margin-top: 6px; font-size: 13px; line-height: 1.8; color: var(--ink-soft); letter-spacing: .06em; }
.c-line .arrow, .c-form__submit .arrow { flex: 0 0 auto; width: 36px; height: 1px; background: currentColor; position: relative; transition: width .3s ease; }
.c-line:hover .arrow, .c-form__submit:hover .arrow { width: 52px; }

.c-or { display: flex; align-items: center; gap: 20px; margin: 48px 0; color: var(--ink-soft); font-size: 13px; letter-spacing: .2em; }
.c-or::before, .c-or::after { content: ""; flex: 1; height: 1px; background: #e2ded6; }

.c-form { padding: 56px 56px 48px; background: #f7f5f1; }
.c-form__title { font-size: 18px; font-weight: 500; letter-spacing: .2em; text-align: center; margin-bottom: 40px; }
.field { display: block; border: 0; margin-bottom: 28px; }
.field__label { display: flex; align-items: center; gap: 10px; font-size: 14.5px; letter-spacing: .1em; margin-bottom: 10px; padding: 0; }
.field__label em { font-style: normal; font-size: 11px; color: #fff; background: var(--teal); padding: 2px 8px; letter-spacing: .1em; }
.field__label small { font-size: 11px; color: var(--ink-soft); letter-spacing: .1em; }
.field input:not([type=checkbox]):not([type=radio]), .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid #dcd8d0; background: #fff; border-radius: 0;
  font: inherit; font-size: 16px; letter-spacing: .04em; color: var(--ink); -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; line-height: 1.8; }
.field input:not([type=checkbox]):not([type=radio]):focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.field textarea::placeholder { color: #a9aeb1; font-size: 14px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check { display: flex; align-items: flex-start; line-height: 1.7; gap: 10px; font-size: 14px; letter-spacing: .06em; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: .2em; accent-color: var(--teal); flex: 0 0 auto; }
.check--agree { justify-content: center; margin-top: 8px; }
.check--agree a {               /* リンクだとわかるように：緑の文字＋下線。マウスを乗せると色が濃くなる */
  color: #1f7c6b; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
  transition: color .25s ease, background .25s ease;
}
.check--agree a:hover { color: var(--blue); background: #eef6f4; }
.c-form__submit {
  display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; max-width: 360px; margin: 32px auto 0;
  padding: 20px 24px; border: 0; background: var(--ink); color: #fff; font: inherit; font-size: 15px; letter-spacing: .3em; cursor: pointer;
}
.c-form__note { margin-top: 20px; text-align: center; font-size: 12px; line-height: 2; color: var(--ink-soft); letter-spacing: .06em; }
.c-form__msg { margin-top: 16px; text-align: center; font-size: 13.5px; color: var(--teal); }

@media (max-width: 860px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }
  .c-intro { padding: 28px 20px 36px; }
  .c-intro__lead { font-size: 18px; letter-spacing: .1em; }
  .c-intro__text { margin-top: 14px; font-size: 14px; letter-spacing: .04em; }
  .c-points { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 20px; text-align: left; }
  .c-points li { font-size: 14px; }
  .flow { padding: 72px 20px 88px; }
  .flow__list { grid-template-columns: 1fr; }
  .flow__step { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 22px 0; border-bottom: 1px solid #dcd8d0; }
  .flow__step + .flow__step { border-left: 0; }
  .flow__num { grid-row: span 2; font-size: 26px; padding-top: 2px; }
  .flow__title { margin-top: 0; font-size: 16px; }
  .flow__text { margin-top: 6px; font-size: 13.5px; letter-spacing: .02em; }
  .c-methods { padding: 0 20px 88px; }
  .c-line { gap: 16px; padding: 22px 18px; }
  .c-line__icon { width: 48px; height: 48px; }
  .c-line__title { font-size: 16.5px; letter-spacing: .1em; }
  .c-line .arrow { width: 20px; }
  .c-or { margin: 36px 0; }
  .c-form { padding: 40px 20px 36px; margin: 0 -20px; }
  .checks { grid-template-columns: 1fr; }
  .check--agree { justify-content: flex-start; }
}

/* =========================================================
   よくあるご質問（faq.html）
   ========================================================= */
.f-intro { padding: 40px 48px 24px; text-align: center; }
.f-intro__text { font-size: 15px; line-height: 2.1; letter-spacing: .08em; color: var(--ink-soft); }
/* 目次（カテゴリーから探す） */
.f-cat { max-width: 720px; margin: 56px auto 0; }
.f-cat__title {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-size: 14px; font-weight: 600; letter-spacing: .2em; color: var(--teal); margin-bottom: 20px;
}
.f-cat__title::before, .f-cat__title::after { content: ""; width: 24px; height: 1px; background: var(--teal); }
.f-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.f-index a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 14px 18px; border: 1px solid #d5dbd9; border-radius: 6px; background: #fff;
  font-size: 13.5px; letter-spacing: .1em; text-align: left;
  transition: border-color .3s ease, color .3s ease, background .3s ease;
}
.f-index a::after {               /* 下向きの矢印＝押すとその場所へ移動 */
  content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-top: -4px;
  border-right: 1.5px solid var(--teal); border-bottom: 1.5px solid var(--teal); transform: rotate(45deg);
}
.f-index a:hover { border-color: var(--teal); color: var(--teal); background: #f3faf8; }

.f-body { max-width: 860px; margin: 0 auto; padding: 56px 48px 128px; }
.f-group { padding-top: 72px; scroll-margin-top: 88px; }
.f-group__title {
  display: flex; align-items: center; gap: 18px;
  font-size: 19px; font-weight: 500; letter-spacing: .24em; margin-bottom: 20px;
}
.f-group__title::before { content: ""; width: 28px; height: 1px; background: var(--teal); }

/* 1つの質問と答え（タップで開く） */
.f-list { border-top: 1px solid #e3e5e5; }
.qa { border-bottom: 1px solid #e3e5e5; }
.qa summary {
  position: relative; display: block; cursor: pointer; list-style: none;
  padding: 26px 56px 26px 44px;
  font-size: 16px; font-weight: 500; line-height: 1.8; letter-spacing: .08em;
  transition: color .3s ease;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--teal); }
.qa summary::before {             /* 「Q」の印 */
  content: "Q"; position: absolute; left: 4px; top: 24px;
  font-size: 20px; color: var(--teal); letter-spacing: 0;
}
.qa summary::after {              /* 開閉の「＋」 */
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1px 14px no-repeat;
  transition: transform .3s ease;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa__a { position: relative; padding: 0 16px 32px 44px; }
.qa__a::before {                  /* 「A」の印 */
  content: "A"; position: absolute; left: 4px; top: -2px;
  font-size: 20px; color: var(--blue); letter-spacing: 0;
}
.qa__a p { font-size: 15px; line-height: 2.1; letter-spacing: .06em; }
.qa__link .more { margin-top: 14px; font-size: 13px; }
.qa__a p + p, .qa__a ul + p { margin-top: 1em; }
.qa__sub { margin-top: 1.4em !important; font-weight: 600; color: var(--teal); }
/* 答えの中のチェックリスト */
.qa__checks { list-style: none; margin-top: .6em; }
.qa__checks li {
  position: relative; padding-left: 1.6em;
  font-size: 15px; line-height: 1.9; letter-spacing: .06em;
}
.qa__checks li + li { margin-top: .3em; }
.qa__checks li::before {
  content: ""; position: absolute; left: .2em; top: .62em; width: .7em; height: .38em;
  border-left: 1.5px solid var(--teal); border-bottom: 1.5px solid var(--teal); transform: rotate(-45deg);
}
/* 答えの中の業種タグ */
.qa__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 1em 0 .4em; }
.qa__tags li { padding: 6px 14px; background: #f7f5f1; border-radius: 999px; font-size: 13px; letter-spacing: .08em; }
.qa[open] .qa__a { animation: qa-open .5s ease; }
@keyframes qa-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.f-more { margin-top: 72px; text-align: center; font-size: 14px; letter-spacing: .12em; color: var(--ink-soft); }

@media (max-width: 860px) {
  .f-intro { padding: 24px 20px 8px; }
  .f-intro__text { font-size: 14px; letter-spacing: .04em; }
  .f-cat { margin-top: 36px; }
  .f-cat__title { font-size: 13px; letter-spacing: .14em; margin-bottom: 14px; }
  .f-index { grid-template-columns: 1fr 1fr; gap: 8px; }
  .f-index a { padding: 13px 12px; font-size: 12.5px; letter-spacing: .04em; }
  .f-body { padding: 24px 20px 88px; }
  .f-group { padding-top: 56px; scroll-margin-top: 72px; }
  .f-group__title { font-size: 17px; letter-spacing: .16em; gap: 14px; }
  .f-group__title::before { width: 20px; }
  .qa summary { padding: 22px 36px 22px 34px; font-size: 15px; letter-spacing: .04em; }
  .qa summary::before { left: 2px; top: 20px; font-size: 18px; }
  .qa summary::after { right: 4px; width: 12px; height: 12px; margin-top: -6px; background-size: 12px 1px, 1px 12px; }
  .qa__a { padding: 0 4px 28px 34px; }
  .qa__a::before { left: 2px; font-size: 18px; }
  .qa__a p { font-size: 14.5px; line-height: 2; letter-spacing: .04em; }
  .qa__checks li { font-size: 14.5px; letter-spacing: .03em; }
  .qa__tags { gap: 6px; }
  .qa__tags li { padding: 5px 12px; font-size: 12.5px; letter-spacing: .04em; }
  .f-more { margin-top: 56px; font-size: 13px; letter-spacing: .06em; }
}

/* =========================================================
   料金（price.html）
   ========================================================= */
.pr-intro { padding: 48px 48px 8px; text-align: center; }
.pr-intro__text { font-size: 15px; line-height: 2.2; letter-spacing: .08em; color: var(--ink-soft); }

/* ---------- 料金シミュレーション ---------- */
.sim { padding: 96px 48px 112px; }
.sim__inner {
  display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start;
  max-width: 1040px; margin: 0 auto;
}
.sim__form { display: grid; gap: 20px; }
.sim__step { padding: 28px 30px; background: #f7f5f1; border-radius: 10px; }
.sim__label { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 600; letter-spacing: .12em; margin-bottom: 18px; }
.sim__num {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: 14px; letter-spacing: 0;
}
.sim__sublabel { margin: 22px 0 10px; font-size: 14px; font-weight: 600; letter-spacing: .1em; }
.sim__help { margin-top: 10px; font-size: 12.5px; line-height: 1.9; letter-spacing: .04em; color: var(--ink-soft); }
.sim__select { position: relative; }
.sim__select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--teal); border-bottom: 1.5px solid var(--teal); transform: rotate(45deg); pointer-events: none;
}
.sim__select select {
  appearance: none; -webkit-appearance: none; width: 100%; padding: 14px 44px 14px 16px;
  font: inherit; font-size: 16px; letter-spacing: .06em; color: var(--ink);
  background: #fff; border: 1px solid #d5dbd9; border-radius: 6px; cursor: pointer;
}
.sim__select select:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.sim__choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sim-choice { position: relative; cursor: pointer; }
.sim-choice input { position: absolute; opacity: 0; }
.sim-choice span {
  display: block; padding: 13px 10px; text-align: center; font-size: 14px; letter-spacing: .06em;
  background: #fff; border: 1px solid #d5dbd9; border-radius: 6px; transition: all .25s ease;
}
.sim-choice input:checked + span { border-color: var(--teal); background: #e8f4f1; color: #1f7c6b; font-weight: 600; }
.sim-choice input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 1px; }
.sim__label small, .sim__sublabel small { font-size: 12.5px; font-weight: 400; letter-spacing: .04em; color: var(--ink-soft); }
.sim-choice span small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 400; color: var(--ink-soft); letter-spacing: .02em; }
/* 記帳代行の詳しい項目（「依頼する」を選ぶまでは薄く表示） */
.sim__sub { margin: 20px 0 0; padding: 4px 20px 20px; border: 1px dashed #cfd8d5; border-radius: 8px; background: #fbfaf7; min-width: 0; transition: opacity .3s ease; }
.sim__sub:disabled { opacity: .45; }
.sim__sub:disabled .sim-choice, .sim__sub:disabled select { cursor: not-allowed; }
.sim__sub-note { margin-top: 14px; font-size: 12.5px; letter-spacing: .04em; color: #1f7c6b; }

/* オプション（シミュレーションには含めない） */
.sim-opt { max-width: 760px; margin: 72px auto 0; }
.sim-opt__title { display: flex; align-items: baseline; gap: 14px; font-size: 17px; font-weight: 500; letter-spacing: .18em; margin-bottom: 18px; }
.sim-opt__title::before { content: ""; align-self: center; width: 24px; height: 1px; background: var(--teal); }
.sim-opt__title small { font-size: 12.5px; letter-spacing: .06em; color: var(--ink-soft); }
.sim-opt .pr-table { border-top: 1px solid #e3e0d9; }
.sim-opt .pr-table td { text-align: right; white-space: nowrap; }

/* 計算結果 */
.sim__result {
  position: sticky; top: 112px; padding: 32px 30px;
  background: #fff; border: 1px solid #d5dbd9; border-radius: 10px; scroll-margin-top: 96px;
}
.sim__result-title { font-size: 15px; font-weight: 600; letter-spacing: .16em; text-align: center; margin-bottom: 18px; }
.sim__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #ececec; font-size: 14px; letter-spacing: .04em; }
.sim__rows dt { color: var(--ink-soft); }
.sim__rows dd { text-align: right; }
.sim__row--sum dt, .sim__row--sum dd { color: var(--ink); font-weight: 600; }
.sim__total { margin-top: 22px; padding: 20px 16px; text-align: center; background: #e8f4f1; border-radius: 8px; }
.sim__total-label { font-size: 13px; letter-spacing: .16em; color: #1f7c6b; }
.sim__total-value { margin-top: 6px; font-size: 24px; font-weight: 600; letter-spacing: .04em; line-height: 1.5; }
.sim__total-note { margin-top: 6px; font-size: 11.5px; color: var(--ink-soft); letter-spacing: .02em; }
.sim__note { margin-top: 16px; font-size: 11.5px; line-height: 1.9; color: var(--ink-soft); letter-spacing: .02em; }
.sim__cta {
  display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; padding: 16px;
  background: var(--ink); color: #fff; font-size: 14px; letter-spacing: .12em; border-radius: 6px;
  transition: background .3s ease;
}
.sim__cta:hover { background: var(--teal); }
.sim__cta .arrow { width: 28px; height: 1px; background: currentColor; }

/* スマホ用：画面下の合計バー */
.sim-bar { display: none; }

/* ---------- 料金表 ---------- */
.pr-compare { padding: 104px 48px; background: #f7f5f1; }
.pr-options { padding: 104px 48px 96px; }
.pr-options .sim-opt { margin-top: 0; }
.pr-options .pr-more { margin-top: 64px; }
.pr-block + .pr-block { margin-top: 64px; }
.pr-block__title { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 500; letter-spacing: .18em; margin-bottom: 18px; }
.pr-block__title::before { content: ""; width: 24px; height: 1px; background: var(--teal); }
.pr-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14.5px; letter-spacing: .06em; }
.pr-table th, .pr-table td { padding: 15px 18px; border-bottom: 1px solid #e3e0d9; text-align: left; font-weight: 400; line-height: 1.6; }
.pr-table thead th { background: #eef6f4; font-size: 13px; font-weight: 600; color: #1f7c6b; letter-spacing: .1em; }
.pr-table td { text-align: right; white-space: nowrap; }
.pr-table--3 td, .pr-table--burden td, .pr-table--compare td { text-align: center; }
.pr-table--3 thead th:not(:first-child), .pr-table--burden thead th:not(:first-child), .pr-table--compare thead th:not(:first-child) { text-align: center; }
.pr-table--burden strong { color: #1f7c6b; font-weight: 600; }
.pr-table--compare .is-us { background: #f3faf8; color: #1f7c6b; font-weight: 600; }
.pr-table--compare thead .is-us { background: var(--teal); color: #fff; }
.pr-notes { margin-top: 16px; list-style: none; }
.pr-notes li { position: relative; padding-left: 1.2em; font-size: 13px; line-height: 1.9; color: var(--ink-soft); letter-spacing: .04em; }
.pr-notes li::before { content: "※"; position: absolute; left: 0; }
.pr-notes--terms li { font-size: 15px; color: var(--ink); padding: 14px 0 14px 1.6em; border-bottom: 1px solid #e3e5e5; }
.pr-notes--terms li::before { content: ""; top: 1.45em; left: .3em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.pr-lead { font-size: 15px; line-height: 2.1; letter-spacing: .06em; margin-bottom: 28px; }
.pr-small { margin-top: 14px; font-size: 12.5px; line-height: 1.9; color: var(--ink-soft); }
.pr-more { text-align: center; margin-top: 40px; }

@media (max-width: 860px) {
  .pr-intro { padding: 32px 20px 0; }
  .pr-intro__text { font-size: 14px; letter-spacing: .04em; }
  .sim { padding: 64px 16px 80px; }
  .sim__inner { grid-template-columns: 1fr; gap: 24px; }
  .sim__step { padding: 22px 18px; }
  .sim__sub { padding: 2px 14px 16px; }
  .sim-opt__title { font-size: 16px; letter-spacing: .12em; flex-wrap: wrap; row-gap: 4px; }
  .sim-opt .pr-table td { white-space: normal; min-width: 7em; }
  .sim__label { font-size: 15px; letter-spacing: .08em; margin-bottom: 14px; }
  .sim-choice span { padding: 12px 4px; font-size: 13.5px; letter-spacing: 0; }
  .sim__result { position: static; padding: 26px 20px; }
  .sim__total-value { font-size: 21px; }
  .sim-bar {
    display: flex; align-items: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); border-top: 1px solid #d5dbd9; box-shadow: 0 -4px 16px rgba(0,0,0,.05);
    transform: translateY(110%); transition: transform .35s ease;
  }
  .sim-bar.is-show { transform: none; }
  .sim-bar__label { font-size: 12px; color: var(--ink-soft); letter-spacing: .06em; white-space: nowrap; }
  .sim-bar__value { flex: 1; font-size: 15px; font-weight: 600; letter-spacing: .02em; }
  .sim-bar__link { font-size: 12px; color: #1f7c6b; border-bottom: 1px solid currentColor; white-space: nowrap; }
  .pr-compare { padding: 72px 16px; }
  .pr-options { padding: 72px 16px 64px; }
  .pr-options .pr-more { margin-top: 48px; }
  .pr-block + .pr-block { margin-top: 48px; }
  .pr-block__title { font-size: 16px; letter-spacing: .12em; }
  .pr-table { font-size: 13.5px; letter-spacing: .03em; }
  .pr-table th, .pr-table td { padding: 13px 10px; }
  .pr-table thead th { font-size: 12px; letter-spacing: .04em; }
  .pr-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pr-table--burden th, .pr-table--burden td { padding: 12px 4px; font-size: 12.5px; }
  .pr-table--compare tbody th { width: 46%; }
  .pr-table--compare td { padding: 13px 4px; font-size: 12.5px; }
  .pr-table--burden thead th { font-size: 11px; letter-spacing: 0; }
  .pr-lead { font-size: 14.5px; line-height: 2; letter-spacing: .03em; }
  .pr-notes--terms li { font-size: 14px; }
}

/* =========================================================
   サービスのページ（service.html）
   ========================================================= */
.sv-intro { padding: 64px 48px 72px; text-align: center; }
.sv-intro__lead { font-size: 22px; font-weight: 500; letter-spacing: .2em; line-height: 1.8; }
.sv-intro__text { margin-top: 20px; font-size: 15px; line-height: 2.1; letter-spacing: .08em; color: var(--ink-soft); }

/* 7つのサービス：カード（番号・名前・1行の説明・当社がすること） */
.sv-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  max-width: 1000px; margin: 0 auto; padding: 0 48px;
}
.sv-card { background: #fff; border: 1px solid #e3e5e6; border-radius: 10px; padding: 30px 32px 32px; scroll-margin-top: 96px; }
.sv-card__head { display: grid; gap: 6px; }
.sv-card__num { font-size: 12px; letter-spacing: .2em; color: var(--teal); }
.sv-card__title { font-size: 19px; font-weight: 500; letter-spacing: .12em; line-height: 1.6; }
.sv-card__one { font-size: 14px; line-height: 1.9; letter-spacing: .05em; color: var(--ink-soft); }
.sv-card .qa__checks { margin-top: 18px; padding-top: 16px; border-top: 1px solid #eee; }
.sv-card .qa__checks li { font-size: 14px; }

/* 料金・よくあるご質問へ */
.sv-links { padding: 56px 48px 104px; text-align: center; }
.sv-links__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 48px; }

@media (max-width: 860px) {
  .sv-intro { padding: 40px 20px 48px; }
  .sv-intro__lead { font-size: 18px; letter-spacing: .12em; }
  .sv-intro__text { margin-top: 16px; font-size: 14px; letter-spacing: .04em; }
  .sv-cards { grid-template-columns: 1fr; gap: 12px; padding: 0 16px; }
  .sv-card { padding: 20px 20px; }
  .sv-card__title { font-size: 17px; letter-spacing: .1em; }
  .sv-card__one { font-size: 13.5px; letter-spacing: .03em; }
  .sv-links { padding: 40px 20px 72px; }
  .sv-links__btns { flex-direction: column; align-items: center; }
}

/* =========================================================
   プライバシーポリシー（privacy.html）
   ========================================================= */
.pp { max-width: 760px; margin: 0 auto; padding: 56px 48px 112px; }
.pp p, .pp-list li { font-size: 15px; line-height: 2.05; letter-spacing: .05em; }
.pp-lead { margin-bottom: 56px; }
.pp-sec + .pp-sec { margin-top: 48px; }
.pp-sec__title { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: 17px; font-weight: 500; letter-spacing: .12em; }
.pp-sec__title span {
  display: grid; place-items: center; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: 13px; letter-spacing: 0;
}
.pp-sec p + p { margin-top: 1em; }
.pp-sec a { color: #1f7c6b; border-bottom: 1px solid currentColor; }
.pp-list { list-style: none; margin-top: .6em; }
.pp-list li { position: relative; padding-left: 1.2em; }
.pp-list li::before { content: "・"; position: absolute; left: 0; color: var(--ink-soft); }
.pp-office { margin-top: 20px; border-top: 1px solid #e3e5e6; }
.pp-office > div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 14px 4px; border-bottom: 1px solid #e3e5e6; font-size: 14.5px; line-height: 1.8; letter-spacing: .05em; }
.pp-office dt { color: var(--ink-soft); }
.pp-date { margin-top: 64px; text-align: right; font-size: 13.5px !important; color: var(--ink-soft); }

@media (max-width: 860px) {
  .pp { padding: 32px 20px 72px; }
  .pp p, .pp-list li { font-size: 14.5px; line-height: 2; letter-spacing: .03em; }
  .pp-lead { margin-bottom: 40px; }
  .pp-sec + .pp-sec { margin-top: 40px; }
  .pp-sec__title { font-size: 16px; letter-spacing: .08em; gap: 12px; }
  .pp-office > div { grid-template-columns: 5.5em 1fr; gap: 12px; font-size: 14px; }
  .pp-date { margin-top: 48px; font-size: 12.5px !important; }
}

/* =========================================================
   ページが見つからないとき（404.html）
   ========================================================= */
.nf { padding: 40px 20px 120px; text-align: center; }
.nf__text { font-size: 15px; line-height: 2.1; letter-spacing: .06em; color: var(--ink-soft); }
.nf__btn { margin-top: 24px; }
.nf__links { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-top: 48px; }
.nf__links a { font-size: 13.5px; letter-spacing: .1em; color: #1f7c6b; border-bottom: 1px solid currentColor; }
@media (max-width: 860px) {
  .nf { padding: 24px 20px 80px; }
  .nf__text { font-size: 14px; letter-spacing: .03em; }
}

/* お問い合わせフォーム：迷惑な送信をふせぐ欄（画面には出さない）と、送信結果の表示 */
.c-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.c-form { position: relative; }
.c-form__msg.is-ok { color: #1f7c6b; }
.c-form__msg.is-error { color: #b4442f; }
.c-form__submit:disabled { opacity: .5; cursor: wait; }
