@charset "utf-8";
/* ==========================================================================
   株式会社プライムリンク コーポレートサイト
   白基調・紺 #12305C ／ 金 #B08A3E（ロゴ案1に準拠）
   ========================================================================== */

:root {
  --navy:       #12305C;
  --navy-deep:  #0B2044;
  --blue:       #2C63A8;
  --blue-pale:  #EEF4FB;
  --blue-line:  #D6E3F2;
  --gold:       #B08A3E;
  --gold-light: #D8B45F;
  --gold-pale:  #F6EEDD;
  --ink:        #262C33;
  --ink-mid:    #4C545E;
  --ink-soft:   #7A828C;
  --paper:      #F7F9FC;
  --warm:       #FBF8F2;
  --line:       #E3E7EC;
  --white:      #FFFFFF;

  --serif: "Shippori Mincho B1", "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --sans:  "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --wrap: 1160px;
  --wrap-narrow: 840px;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(18, 48, 92, .07);
  --shadow-lift: 0 8px 24px rgba(18, 48, 92, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.9;
  font-feature-settings: "palt";
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}

img, svg { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.5em; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.65; letter-spacing: .01em; }
::selection { background: var(--gold-pale); color: var(--navy); }

/* --------------------------------------------------------------- レイアウト */
.wrap    { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
.wrap-nr { width: min(100% - 3rem, var(--wrap-narrow)); margin-inline: auto; }

.section { padding: 6rem 0; }
.section--tight { padding: 4rem 0; }
.section--pale { background: var(--blue-pale); }
.section--paper { background: var(--paper); }
.section--warm  { background: var(--warm); }

/* ------------------------------------------------------------- 見出しまわり */
.sec-label { margin-bottom: 2.8rem; }
.sec-label__en {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: .06em;
  color: var(--navy);
}
.sec-label__ja {
  display: inline-block;
  margin-top: .9rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}
.sec-label::after {
  content: "";
  display: block;
  width: 54px; height: 3px;
  background: var(--gold-light);
  margin-top: 1.1rem;
}
.sec-label--center { text-align: center; }
.sec-label--center::after { margin-inline: auto; }

.sec-lead { max-width: 46em; color: var(--ink-mid); }
.sec-label--center + .sec-lead { margin-inline: auto; text-align: center; }

.h2 { font-size: clamp(1.35rem, 2.9vw, 1.95rem); color: var(--navy); }
.h3 { font-size: 1.2rem; color: var(--navy); }
.lede { font-size: 1.08rem; line-height: 2.05; color: var(--ink-mid); }
.mincho { font-family: var(--serif); font-weight: 500; }
.nb { display: inline-block; }

/* --------------------------------------------------------------- ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  min-height: 78px;
  width: min(100% - 2.5rem, 1400px);
  margin-inline: auto;
}
.site-logo { flex: 0 0 auto; }
.site-logo img { height: 42px; width: auto; }

.gnav { margin-left: auto; }
.gnav__list { display: flex; align-items: center; gap: 1.6rem; }
.gnav__list a {
  position: relative;
  display: block;
  padding: .4rem 0;
  font-size: .95rem;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
}
.gnav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold-light);
  transition: width .3s ease;
}
.gnav__list a:hover::after,
.gnav__list a[aria-current="page"]::after { width: 100%; }

.gnav__tel { display: none; }
.header-side { display: flex; align-items: center; gap: 1.1rem; flex: 0 0 auto; }
.header-tel { text-align: right; line-height: 1.35; }
.header-tel__num {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .02em;
}
.header-tel__sub { display: block; font-size: .7rem; color: var(--ink-soft); }
.header-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  padding: .75rem 1.4rem;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.5;
  transition: background .25s ease, transform .25s ease;
}
.header-cta small { display: block; font-size: .68rem; font-weight: 400; opacity: .9; }
.header-cta:hover { background: #9C7833; transform: translateY(-1px); }

.nav-toggle { display: none; }

/* ------------------------------------------------------------------ ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 62px;
  padding: .9em 2.4em;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 700;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn--gold { background: var(--gold); border-color: var(--gold); }
.btn--gold:hover { background: #9C7833; border-color: #9C7833; }
.btn--line { background: var(--white); color: var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--white); }
.btn--wide { width: 100%; max-width: 420px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn::after { content: "→"; font-size: .95em; }
.btn--noarrow::after { content: none; }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-weight: 700;
  font-size: .96rem;
  color: var(--navy);
  transition: gap .25s ease;
}
.tlink::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: .82rem;
  transition: background .25s ease;
}
.tlink:hover { gap: 1em; }
.tlink:hover::after { background: var(--gold); }

/* -------------------------------------------------------------- ヒーロー */
.hero { position: relative; background: var(--blue-pale); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.92) 34%, rgba(255,255,255,.55) 52%, rgba(255,255,255,0) 72%);
}
.hero__inner {
  position: relative;
  width: min(100% - 3rem, var(--wrap));
  margin-inline: auto;
  padding: 3rem 0 3.4rem;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__body { max-width: 38em; }
.hero__label {
  display: inline-block;
  padding: .4em 1.1em;
  border-radius: 100px;
  background: var(--navy);
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 1rem;
}
.hero__title {
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 1rem;
}
.hero__title em { font-style: normal; color: var(--gold); }
.hero__lead { color: var(--ink-mid); font-size: 1.02rem; margin-bottom: 1.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero__note { margin-top: 1.1rem; font-size: .86rem; color: var(--ink-soft); }
.hero__opts { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 2rem; }
.hero__opts span {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--white);
  border: 1px solid var(--blue-line);
  border-radius: 100px;
  padding: .5em 1.2em;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow);
}
.hero__opts span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light); }
.hero__opts em { font-style: normal; font-size: .88rem; font-weight: 400; color: var(--ink-mid); }

/* 下層ページの見出し帯 */
.page-head {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 3.4rem 0;
  overflow: hidden;
}
.page-head__bg { position: absolute; inset: 0; opacity: .28; }
.page-head__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-head .wrap { position: relative; }
.page-head__en {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: .06em;
  color: var(--gold-light);
}
.page-head__ja { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-top: .5rem; }
.page-head__lead { margin-top: 1.2rem; max-width: 46em; color: #DCE4F0; font-size: .98rem; }

.crumbs { padding: .9rem 0; font-size: .8rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .55em; }
.crumbs li::after { content: "／"; margin-left: .55em; color: var(--line); }
.crumbs li:last-child::after { content: none; }
.crumbs a:hover { color: var(--blue); }

/* ------------------------------------------------------------ 2カラム組み */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.2rem, 4.5vw, 4rem); align-items: center; }
.split--text { grid-template-columns: 1.08fr 1fr; align-items: start; }
.split--rev .split__media { order: -1; }
.split__media img { width: 100%; border-radius: var(--radius); }
.split__cap { margin-top: .8rem; font-size: .8rem; color: var(--ink-soft); }

/* ------------------------------------------------------------------ カード */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--blue-line); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-pale); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.7rem 1.6rem 1.9rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.card__label { font-family: var(--serif); font-size: .78rem; letter-spacing: .16em; color: var(--gold); margin-bottom: .7rem; }
.card__ttl { font-size: 1.18rem; color: var(--navy); margin-bottom: .8rem; }
.card__txt { font-size: .94rem; color: var(--ink-mid); line-height: 1.95; flex: 1 1 auto; }
.card__more { margin-top: 1.3rem; font-size: .9rem; font-weight: 700; color: var(--blue); }
.card__more::after { content: "　→"; }

/* --------------------------------------------------------- お困りごとリスト */
.worries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.worry {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.worry__fig {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  padding: .5rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.worry__fig img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.worry__body { padding: 1.3rem 1.5rem 1.6rem; display: flex; gap: .9rem; align-items: baseline; }
.worry__mark {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 600;
  color: var(--gold);
}
.worry__body p { font-size: .97rem; line-height: 1.85; }

/* ------------------------------------------------------------------ 理由 */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.2rem 3rem; }
.reason { display: grid; grid-template-columns: 92px 1fr; gap: 1.6rem; align-items: start; }
.reason__icon { width: 92px; height: 92px; display: flex; align-items: center; justify-content: center; }
.reason__icon img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.reason__num {
  display: block;
  font-family: var(--serif);
  font-size: .85rem;
  letter-spacing: .16em;
  color: var(--gold);
  margin-bottom: .5rem;
}
.reason__ttl { font-size: 1.18rem; color: var(--navy); margin-bottom: .7rem; }
.reason__txt { font-size: .95rem; color: var(--ink-mid); line-height: 1.95; }

/* ------------------------------------------------------------------ お約束 */
.promise { display: grid; gap: 1rem; }

/* 掲載についての考え方（解決事例ページ） */
.policy { display: grid; gap: .9rem; }
.policy li {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.6rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
}
.policy__check {
  flex: 0 0 auto;
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold);
}
.policy__check::before {
  content: "";
  position: absolute;
  left: 9px; top: 6px;
  width: 8px; height: 14px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}
.policy__txt { line-height: 1.75; }

/* ------------------------------------------------------------------ 流れ */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.stepcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem;
  position: relative;
}
.stepcard::after {
  content: "";
  position: absolute;
  right: -.9rem; top: 50%;
  width: 10px; height: 10px;
  border-top: 2px solid var(--blue-line);
  border-right: 2px solid var(--blue-line);
  transform: translateY(-50%) rotate(45deg);
}
.stepcard:last-child::after { content: none; }
.stepcard__icon { height: 62px; margin-bottom: .9rem; display: flex; align-items: center; }
.stepcard__icon img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.stepcard__no {
  display: inline-block;
  font-family: var(--serif);
  font-size: .78rem;
  letter-spacing: .14em;
  color: var(--white);
  background: var(--navy);
  border-radius: 100px;
  padding: .15em 1em;
  margin-bottom: .9rem;
}
.stepcard__ttl { font-size: 1.02rem; color: var(--navy); margin-bottom: .6rem; }
.stepcard__txt { font-size: .88rem; color: var(--ink-mid); line-height: 1.85; }

/* 下層の詳しい流れ */
.flowlist { display: grid; gap: 1.4rem; }
.flowrow {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  align-items: start;
}
.flowrow__no { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--gold-light); }
.flowrow__no small { display: block; font-size: .66rem; letter-spacing: .2em; color: var(--ink-soft); margin-top: .5rem; }
.flowrow__ttl { font-size: 1.24rem; color: var(--navy); margin-bottom: .8rem; }
.flowrow__txt { color: var(--ink-mid); font-size: .98rem; }

/* -------------------------------------------------------------- 業務リスト */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem 1.6rem; }
.svc-list li {
  display: flex;
  gap: .9rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .95rem 1.3rem;
  font-size: .98rem;
}
.svc-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
}

/* -------------------------------------------------------------------- 事例 */
.case { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.9rem; }
.case__tag {
  display: inline-block;
  font-family: var(--serif);
  font-size: .74rem;
  letter-spacing: .16em;
  color: var(--white);
  background: var(--navy);
  border-radius: 100px;
  padding: .2em 1em;
  margin-bottom: 1rem;
}
.case__ttl { font-size: 1.1rem; color: var(--navy); margin-bottom: .8rem; }
.case__txt { font-size: .93rem; color: var(--ink-mid); }
.case--empty { background: var(--paper); border-style: dashed; }
.case--empty .case__tag { background: var(--ink-soft); }

.notice {
  border: 1px solid var(--blue-line);
  background: var(--blue-pale);
  border-radius: var(--radius);
  padding: 1.6rem 1.9rem;
  font-size: .94rem;
  color: var(--ink-mid);
}

/* -------------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 1rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq details[open] { border-color: var(--blue-line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 3.4rem 1.4rem 3.6rem;
  position: relative;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q";
  position: absolute;
  left: 1.3rem; top: 1.35rem;
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.1rem;
}
.faq summary .plus, .faq summary .plus::before {
  position: absolute;
  background: var(--navy);
  transition: transform .3s ease, opacity .3s ease;
}
.faq summary .plus {
  right: 1.4rem; top: 2.05rem; width: 14px; height: 2px;
  transition: transform .32s cubic-bezier(.4,0,.2,1);
}
.faq summary .plus::before {
  content: ""; left: 0; top: 0; width: 14px; height: 2px;
  transform: rotate(90deg);
  transition: opacity .24s ease, transform .32s cubic-bezier(.4,0,.2,1);
}
.faq details[open] summary .plus { transform: rotate(180deg); }
.faq details[open] summary .plus::before { opacity: 0; transform: rotate(0deg); }
.faq summary:hover { background: var(--paper); }
.faq__a {
  padding: 0 2rem 1.7rem 3.6rem;
  color: var(--ink-mid);
  font-size: .97rem;
  position: relative;
}
.faq__a::before {
  content: "A";
  position: absolute;
  left: 1.3rem; top: -.15rem;
  font-family: var(--serif);
  color: var(--blue);
  font-size: 1.1rem;
}

/* ------------------------------------------------------------------ お知らせ */
.news { border-top: 1px solid var(--line); }
.news li { border-bottom: 1px solid var(--line); }
.news a, .news .news__item {
  display: grid;
  grid-template-columns: 8.5rem 8rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.25rem .4rem;
  font-size: .97rem;
  transition: background .25s ease;
}
.news a:hover { background: var(--blue-pale); }
.news__date { color: var(--ink-soft); font-size: .88rem; letter-spacing: .04em; }
.news__cat {
  justify-self: start;
  font-size: .74rem;
  color: var(--navy);
  border: 1px solid var(--blue-line);
  background: var(--blue-pale);
  border-radius: 100px;
  padding: .15em 1em;
}

/* ------------------------------------------------------------------ 表組み */
.deftable { width: 100%; border-collapse: collapse; }
.deftable th, .deftable td {
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 1rem;
  text-align: left;
  vertical-align: top;
  font-size: .98rem;
  line-height: 1.9;
}
.deftable tr:first-child th, .deftable tr:first-child td { border-top: 1px solid var(--line); }
.deftable th { width: 11.5em; font-weight: 700; color: var(--navy); background: var(--paper); white-space: nowrap; }
.deftable td { color: var(--ink-mid); }

/* ------------------------------------------------------------------ 士業帯 */
.pro-band { background: var(--navy); color: #DFE6F1; padding: 4.5rem 0; }
.pro-band .sec-label__en { color: var(--gold-light); font-size: clamp(1.5rem, 3vw, 2.1rem); }
.pro-band .sec-label__ja { color: var(--white); }
.pro-band__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.pro-band__ttl { font-size: clamp(1.25rem, 2.5vw, 1.65rem); color: var(--white); margin-bottom: 1.2rem; }
.pro-band__list { display: grid; gap: .8rem; }
.pro-band__list li {
  display: flex; gap: .9rem; align-items: baseline;
  background: rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  font-size: .95rem;
}
.pro-band__no { flex: 0 0 auto; color: var(--gold-light); font-family: var(--serif); }
.pro-band__txt { flex: 1 1 auto; }

/* -------------------------------------------------------------------- CTA */
.cta { position: relative; padding: 5rem 0; background: var(--blue-pale); overflow: hidden; }
.cta__bg { position: absolute; inset: 0; opacity: .16; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta .wrap { position: relative; }
.cta__ttl { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--navy); text-align: center; margin-bottom: 1rem; }
.cta__lead { text-align: center; color: var(--ink-mid); max-width: 40em; margin: 0 auto 2.6rem; }
.cta__box { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; max-width: 880px; margin-inline: auto; }
.cta__panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.8rem;
  text-align: center;
}
.cta__panel h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: .8rem; }
.cta__tel {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: .02em;
}
.cta__hours { font-size: .85rem; color: var(--ink-soft); margin-top: .4rem; }
.cta__panel .btn { margin-top: .4rem; width: 100%; }

/* ------------------------------------------------------------------ フォーム */
.form { margin-top: 1rem; }
.field { margin-bottom: 2rem; }
.field__label { display: flex; align-items: center; gap: .8em; font-size: 1.02rem; font-weight: 700; color: var(--navy); margin-bottom: .7rem; }
.badge {
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  padding: .25em .8em; border-radius: 100px;
  background: var(--gold); color: var(--white); line-height: 1.6;
}
.badge--any { background: var(--paper); color: var(--ink-soft); border: 1px solid var(--line); }
.field__help { font-size: .85rem; color: var(--ink-soft); margin-bottom: .7rem; }

input[type="text"], input[type="tel"], input[type="email"], textarea, select {
  width: 100%;
  padding: .95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink);
  transition: border-color .25s ease, box-shadow .25s ease;
  -webkit-appearance: none;
  appearance: none;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(44, 99, 168, .12);
}
textarea { min-height: 11rem; resize: vertical; }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.2rem; }
.checks label {
  display: flex; align-items: center; gap: .8rem;
  padding: .85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-size: .95rem;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.checks label:hover { border-color: var(--blue-line); background: var(--blue-pale); }
.checks input { accent-color: var(--navy); width: 18px; height: 18px; flex: 0 0 auto; }

.form-note { border: 1px solid var(--blue-line); background: var(--blue-pale); border-radius: var(--radius); padding: 1.4rem 1.7rem; font-size: .92rem; color: var(--ink-mid); margin-bottom: 2rem; }
.consent { display: flex; align-items: center; gap: .8rem; justify-content: center; margin-bottom: 1.8rem; font-size: .95rem; }
.consent input { accent-color: var(--navy); width: 18px; height: 18px; }
.consent a { color: var(--blue); text-decoration: underline; }
.form-submit { text-align: center; }
.form-submit .btn { min-width: 20rem; }

/* ---------------------------------------------------------------- フッター */
.site-footer { background: var(--navy); color: #C8D2E2; padding: 4rem 0 6rem; font-size: .92rem; }
.site-footer a:hover { color: var(--gold-light); }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-logo img { height: 48px; width: auto; margin-bottom: 1.4rem; }
.footer-addr { line-height: 1.95; font-style: normal; }
.footer-license { margin-top: 1.2rem; font-size: .82rem; color: #99A5BA; line-height: 1.95; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 2rem; align-content: start; }
.footer-nav a { display: block; padding: .35rem 0; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding-top: 1.8rem; font-size: .78rem; color: #8593AA; }

/* --------------------------------------------------------- スマホ固定バー */
.fixbar { display: none; }

/* -------------------------------------------------------------- アニメーション */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ファーストビューの入場。読み込み直後に一度だけ順に立ち上がる。 */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero__label, .hero__title, .hero__lead,
.hero .hero-tri, .hero__actions, .hero__note {
  animation: heroIn .85s cubic-bezier(.22,.8,.28,1) both;
}
.hero__title    { animation-delay: .08s; }
.hero__lead     { animation-delay: .16s; }
.hero .hero-tri { animation-delay: .24s; }
.hero__actions  { animation-delay: .32s; }
.hero__note     { animation-delay: .40s; }
.hero__media img { animation: heroZoom 9s cubic-bezier(.2,.6,.3,1) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, a.card:hover { transform: none; }
  .hero__label, .hero__title, .hero__lead,
  .hero .hero-tri, .hero__actions, .hero__note,
  .hero__media img { animation: none; }
  .gnav, .gnav__list > li, .gnav__tel, .nav-scrim { transition: none; }
}

/* ------------------------------------------------------------------ 可変対応 */
@media (max-width: 1200px) {
  .gnav__list { gap: 1.1rem; }
  .gnav__list a { font-size: .88rem; }
  .header-tel { display: none; }
  .site-logo img { height: 36px; }
}

@media (max-width: 1000px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr 1fr; }
  .stepcard::after { display: none; }
}

@media (max-width: 900px) {
  body { font-size: 16.5px; }

  .site-header__inner { min-height: 64px; gap: .8rem; }
  .site-logo img { height: 30px; }
  .header-side { display: none; }

  .nav-toggle {
    display: block;
    margin-left: auto;
    width: 46px; height: 46px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    position: relative;
    cursor: pointer;
  }
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    content: "";
    position: absolute;
    left: 50%; transform: translateX(-50%);
    width: 20px; height: 2px;
    background: var(--navy);
    transition: transform .34s cubic-bezier(.22,.8,.28,1), background-color .2s ease;
  }
  .nav-toggle span { top: 50%; margin-top: -1px; }
  .nav-toggle span::before { top: -6px; left: 0; transform: none; }
  .nav-toggle span::after  { top: 6px;  left: 0; transform: none; }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

  .gnav {
    position: fixed;
    inset: 64px 0 auto 0;
    z-index: 65;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: .8rem 1.4rem 1.8rem;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    box-shadow: var(--shadow-lift);
    /* 開閉アニメーション：上から滑り降ろす */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity .26s ease,
                transform .34s cubic-bezier(.22,.8,.28,1),
                visibility .34s;
  }
  .gnav.is-open { opacity: 1; visibility: visible; transform: none; }

  /* メニューの背後を暗くする膜（JSで生成） */
  .nav-scrim {
    position: fixed;
    inset: 64px 0 0 0;
    z-index: 55;
    background: rgba(11,32,68,.45);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
  }
  body.is-nav-open .nav-scrim { opacity: 1; visibility: visible; }

  .gnav__list { display: block; }
  /* 項目を少しずつ遅らせて出す。閉じるときは遅延なしで一斉に消える。 */
  .gnav__list > li, .gnav__tel {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s cubic-bezier(.22,.8,.28,1);
  }
  .gnav.is-open .gnav__list > li,
  .gnav.is-open .gnav__tel { opacity: 1; transform: none; }
  .gnav.is-open .gnav__list > li:nth-child(1) { transition-delay: .08s; }
  .gnav.is-open .gnav__list > li:nth-child(2) { transition-delay: .13s; }
  .gnav.is-open .gnav__list > li:nth-child(3) { transition-delay: .18s; }
  .gnav.is-open .gnav__list > li:nth-child(4) { transition-delay: .23s; }
  .gnav.is-open .gnav__list > li:nth-child(5) { transition-delay: .28s; }
  .gnav.is-open .gnav__list > li:nth-child(6) { transition-delay: .33s; }
  .gnav.is-open .gnav__tel { transition-delay: .38s; }
  .gnav__list > li { border-bottom: 1px solid var(--line); }
  .gnav__list a { padding: 1.1rem .3rem; font-size: 1rem; }
  .gnav__list a::after { content: none; }
  .gnav__tel {
    display: block;
    margin-top: 1.4rem;
    text-align: center;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
  }
  .gnav__tel small { display: block; font-family: var(--sans); font-size: .75rem; font-weight: 400; color: var(--ink-soft); }

  .section { padding: 3.8rem 0; }
  .section--tight { padding: 3rem 0; }
  .wrap, .wrap-nr { width: min(100% - 2.2rem, var(--wrap)); }

  /* --- スマートフォンのファーストビュー ---
     背景写真をしっかり見せ、紺のグラデーションを重ねて白文字を載せる。 */
  .hero__inner {
    min-height: min(84svh, 720px);
    padding: 2rem 0 3.2rem;
    justify-content: flex-end;
  }
  .hero__media img { object-position: 66% 24%; }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(11,32,68,.52) 0%, rgba(11,32,68,.30) 24%, rgba(11,32,68,.34) 44%, rgba(11,32,68,.78) 72%, rgba(11,32,68,.94) 100%),
      linear-gradient(90deg, rgba(11,32,68,.30) 0%, rgba(11,32,68,0) 66%);
  }
  .hero__body { max-width: none; }
  .hero__label {
    background: rgba(11,32,68,.55);
    border: 1px solid rgba(216,180,95,.75);
    color: var(--gold-light);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    margin-bottom: .9rem;
  }
  .hero__title {
    font-size: clamp(1.68rem, 7.6vw, 2.15rem);
    line-height: 1.5;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(6,18,40,.55);
    margin-bottom: .8rem;
  }
  .hero__title em { color: var(--gold-light); }
  .hero__lead {
    color: rgba(255,255,255,.86);
    font-size: .98rem;
    text-shadow: 0 1px 14px rgba(6,18,40,.5);
    margin-bottom: 1rem;
  }
  .hero__note { color: rgba(255,255,255,.62); font-size: .78rem; margin-top: .9rem; }
  .hero__actions .btn { min-height: 56px; font-size: .98rem; }
  .hero__actions .btn--line {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.55);
    color: var(--white);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  .split, .split--text, .cta__box, .pro-band__grid, .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .split--rev .split__media { order: 0; }

  .cards, .cards--2, .reasons, .svc-list, .steps { grid-template-columns: 1fr; }
  /* スマホは横並び（イラスト左・文章右）にして縦の長さを抑える */
  .worries { grid-template-columns: 1fr; gap: 1rem; }
  .worry { flex-direction: row; align-items: stretch; }
  .worry__fig {
    flex: 0 0 38%;
    height: auto;
    min-height: 120px;
    border-bottom: none;
    border-right: 1px solid var(--line);
    padding: .6rem;
  }
  .worry__body { padding: 1.1rem 1.2rem; gap: .7rem; align-items: center; }
  .worry__body p { font-size: .95rem; line-height: 1.75; }
  .cards { gap: 1.4rem; }
  .steps { gap: 1rem; }
  .reason { grid-template-columns: 68px 1fr; gap: 1.1rem; }
  .reason__icon { width: 68px; }

  .flowrow { grid-template-columns: 1fr; gap: .9rem; padding: 1.6rem 1.5rem; }
  .flowrow__no { font-size: 1.6rem; display: flex; align-items: baseline; gap: .8rem; }
  .flowrow__no small { margin-top: 0; }

  .checks { grid-template-columns: 1fr; }

  .deftable th, .deftable td { display: block; width: auto; }
  .deftable tr { display: block; }
  .deftable th { border-bottom: none; padding: .9rem 1rem; font-size: .9rem; }
  .deftable td { padding: .9rem 1rem 1.3rem; }

  .news a, .news .news__item { grid-template-columns: 1fr; gap: .4rem; padding: 1.1rem .2rem; }

  .faq summary { padding: 1.2rem 3rem 1.2rem 3rem; font-size: .99rem; }
  .faq summary::before { left: 1rem; }
  .faq__a { padding: 0 1.4rem 1.4rem 3rem; }
  .faq__a::before { left: 1rem; }

  .form-submit .btn { width: 100%; min-width: 0; }
  .site-footer { padding-bottom: 7rem; }

  /* 画面下に固定する電話・問い合わせバー（アイコン付き） */
  .fixbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 70;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 -2px 14px rgba(18,48,92,.14);
  }
  .fixbar__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .72rem .5rem calc(.72rem + env(safe-area-inset-bottom));
    font-size: .98rem;
    font-weight: 700;
    color: var(--navy);
    transition: background .25s ease;
  }
  .fixbar__ico {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--blue-pale);
    color: var(--navy);
  }
  .fixbar__ico svg { width: 18px; height: 18px; display: block; }
  .fixbar__txt { display: flex; flex-direction: column; line-height: 1.4; }
  .fixbar__item--gold { background: var(--gold); color: var(--white); }
  .fixbar__item--gold .fixbar__ico { background: rgba(255,255,255,.22); color: var(--white); }
  .fixbar small { font-size: .68rem; font-weight: 400; opacity: .85; }
}

@media (max-width: 480px) {
  .btn { width: 100%; padding-inline: 1rem; }
  .hero__actions { gap: .7rem; }
  .cta__panel { padding: 1.6rem 1.2rem; }
}

/* ------------------------------------------- ヒーロー内の3択トライアングル */
.hero-tri {
  position: relative;
  width: 330px;
  max-width: 100%;
  aspect-ratio: 100 / 74;
  margin: .2rem 0 1.4rem;
}
.hero-tri__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-tri__lines polygon {
  fill: rgba(255, 255, 255, .72);
  stroke: var(--blue-line);
  stroke-width: .5;
  stroke-dasharray: 2 1.6;
}
.hero-tri__node {
  position: absolute;
  width: 104px;
  text-align: center;
}
.hero-tri__node--top   { left: 50%; top: 0; transform: translateX(-50%); }
.hero-tri__node--left  { left: 0; bottom: 0; }
.hero-tri__node--right { right: 0; bottom: 0; }
.hero-tri__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px; height: 84px;
  margin: 0 auto .35rem;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--blue-line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-tri__icon lottie-player { width: 78px; height: 78px; }
.hero-tri__ttl {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

/* スマートフォンでは三角形をやめ、横一列のガラス調カードにする。
   背景写真を隠さず、3つの選択肢だけを見せる。 */
@media (max-width: 900px) {
  .hero-tri {
    display: flex;
    align-items: stretch;
    gap: .5rem;
    width: 100%;
    max-width: 430px;
    aspect-ratio: auto;
    margin: .2rem 0 1.5rem;
  }
  .hero-tri__lines { display: none; }
  .hero-tri__node {
    position: static;
    transform: none;
    flex: 1 1 0;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    padding: .8rem .3rem .7rem;
    border-radius: 14px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .hero-tri__icon {
    width: 54px; height: 54px;
    margin: 0;
    border-color: rgba(255,255,255,.55);
    box-shadow: none;
  }
  .hero-tri__icon lottie-player { width: 50px; height: 50px; }
  .hero-tri__ttl { font-size: .88rem; color: var(--white); letter-spacing: .02em; }
}

/* ------------------------------------------------ お約束（アイコン付き5枚） */
.promise { grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.promise__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem .9rem 1.5rem;
}
.promise__fig {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  margin-bottom: 1.1rem;
}
.promise__fig img { max-height: 100%; width: auto; mix-blend-mode: multiply; }
.promise__txt { font-size: .92rem; line-height: 1.75; color: var(--navy); font-weight: 700; }

/* -------------------------------------------------- 解決事例のイラスト */
.case { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.case__fig {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 168px;
  padding: .6rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.case__fig img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.case__tag { margin: 1.6rem 1.7rem .9rem; }
.case__ttl, .case__txt { margin-left: 1.7rem; margin-right: 1.7rem; }
.case__txt { margin-bottom: 1.7rem; }

/* --------------------------------------------- 士業向けセクションの写真 */
.pro-band__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.pro-band__list {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3rem;
}
.pro-band__list li { align-items: flex-start; line-height: 1.8; }

@media (max-width: 1000px) {
  .promise { grid-template-columns: repeat(3, 1fr); }
  .pro-band__list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .promise { grid-template-columns: 1fr; gap: .8rem; }
  .promise__item {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1rem;
    padding: 1rem 1.2rem;
  }
  .promise__fig { height: 52px; width: 52px; flex: 0 0 auto; margin: 0; }
  .promise__txt { font-size: .95rem; }
  .pro-band__list { grid-template-columns: 1fr; margin-top: 2rem; }
  .case__fig { height: 150px; }
  .case__tag { margin: 1.3rem 1.4rem .8rem; }
  .case__ttl, .case__txt { margin-left: 1.4rem; margin-right: 1.4rem; }
}

/* Readability and enquiry routes — 2026-09-07 meeting. */
body { font-size:18px; }
.header-cta svg,.btn > svg { width:24px; height:24px; flex-shrink:0; }
.header-cta { gap:6px; }
.cta__box--mail-first > .cta__panel:first-child { order:2; }
.cta__box--mail-first > .cta__panel:last-child { order:1; }
.contact-fax { font-size:20px; margin-top:12px; }
.management-route { padding:30px; margin-top:35px; background:var(--blue-pale); border-left:3px solid var(--gold); }
.management-route p { margin:10px 0; }
fieldset.field { border:0; padding:0; margin-inline:0; min-width:0; }
body:not(.home) .nb { display:inline; }
body:not(.home) .card__txt,body:not(.home) .stepcard__txt,body:not(.home) .flowrow__txt,body:not(.home) .faq__a { font-size:18px; }
body:not(.home) .field__help,body:not(.home) .form-note,body:not(.home) .footer-addr,body:not(.home) .footer-nav a { font-size:16px; }
body:not(.home) .badge { font-size:13px; }
body:not(.home) .sec-label__ja { font-size:24px; }
@media(max-width:900px) {
 body { font-size:17px; }
 body:not(.home) .faq summary,body:not(.home) .card__txt,body:not(.home) .flowrow__txt,body:not(.home) .faq__a { font-size:17px; }
 .header-cta svg { width:22px; }
}
.header-cta { display:grid; grid-template-columns:24px 1fr; column-gap:10px; text-align:center; }
.header-cta small { grid-column:1 / -1; }

/* Adopted design: readability and meeting updates, original hero photo retained. */
.hero__title { font-size:clamp(48px,4.6vw,68px); line-height:1.5; margin-bottom:28px; }
.hero__inner { min-height:650px; padding-block:64px; }
.hero__body { max-width:760px; }
.hero__lead { font-size:25px; line-height:1.9; margin-bottom:36px; }
.hero__label { font-size:16px; }
.hero__note { font-size:16px; }

.hero__actions .btn { font-size:18px; }
.reason__txt,.worry__txt,.stepcard__txt { font-size:18px; }
.reason__ttl { font-size:21px; }
.steps { grid-template-columns:repeat(3,1fr); }
.stepcard::after { display:none; }
.property-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:32px 24px; }
.property-grid figure { margin:0; }
.property-grid img { width:100%;aspect-ratio:1.45;object-fit:cover;border-radius:10px; }
.property-grid figcaption { font-size:18px;margin-top:12px;color:var(--navy); }
.property-lead { text-align:center;margin-bottom:35px; }
.property-note { font-size:14px;color:var(--ink-mid);margin-top:24px; }
.site-map-list li { padding:24px 0;border-bottom:1px solid var(--line); }
.site-map-list p { margin-top:12px;font-size:17px; }
.skip-link { position:fixed;top:-100px;left:16px;z-index:100;background:white;color:var(--navy);padding:12px 20px; }
.skip-link:focus { top:12px; }
:focus-visible { outline:3px solid var(--gold);outline-offset:5px; }
@media(max-width:1200px) and (min-width:901px) {
 .site-header__inner { gap:14px; }
 .gnav__list { gap:12px; }
 .gnav__list a { font-size:13px; }
 .site-logo img { width:170px;height:auto; }
 .header-cta { min-width:150px;padding:12px; }
}
@media(max-width:900px) {
 .hero__title { font-size:clamp(32px,9vw,56px); margin-bottom:24px; }
 .hero__lead { font-size:21px; margin-bottom:28px; }
 .hero__inner { min-height:0;padding:36px 0; }
 .hero__label { font-size:14px; }
 .hero__note { font-size:14px;color:#fff; }
 .hero__actions .btn { font-size:17px; }
 .worry__body p { font-size:17px; }
 .reason__txt,.stepcard__txt { font-size:17px; }
 .steps { grid-template-columns:1fr; }
 .property-grid { grid-template-columns:repeat(2,1fr);gap:24px 15px; }
 .property-grid figcaption { font-size:16px; }
 .section { padding-block:55px; }
}

/* Japanese-only section headings. */
.sec-label__ja { margin-top:0; }
.page-head__ja { margin-top:0;font-size:clamp(28px,3vw,40px); }

/* Consultation steps: one continuous, manually controlled row. */
.flow-slider { min-width:0; }
.steps.flow-slider__track {
 display:grid; grid-template-columns:none; grid-auto-flow:column;
 grid-auto-columns:calc((100% - 40px) / 3); gap:20px;
 overflow-x:auto; overscroll-behavior-x:contain;
 scroll-snap-type:x mandatory; scroll-padding-inline:0;
 padding:4px 0 16px; scrollbar-width:thin; scrollbar-color:var(--gold) var(--blue-pale);
}
.flow-slider__track > .stepcard { min-width:0; scroll-snap-align:start; margin:0; padding:28px; }
.flow-slider__track .stepcard__icon { height:90px; }
.flow-slider__track .stepcard__ttl { font-size:21px; }
.flow-slider__track .stepcard__no { font-size:28px; }
.flow-slider__controls { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:20px; }
.flow-slider__controls[hidden] { display:none; }
.flow-slider__position { margin:0; font-size:17px; color:var(--navy); font-variant-numeric:tabular-nums; }
.flow-slider__buttons { display:flex; gap:12px; }
.flow-slider__buttons button { display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:10px 18px;background:white;border:1px solid var(--navy);border-radius:6px;color:var(--navy);font:inherit;font-size:17px;cursor:pointer; }
.flow-slider__buttons button:hover:not(:disabled) { background:var(--navy);color:white; }
.flow-slider__buttons button:disabled { opacity:.35;cursor:default; }
@media(max-width:900px) { .steps.flow-slider__track { grid-auto-columns:calc((100% - 20px) / 2); } }
@media(max-width:600px) {
 .steps.flow-slider__track { grid-auto-columns:88%;gap:16px; }
 .flow-slider__track > .stepcard { padding:24px; }
 .flow-slider__track .stepcard__ttl { font-size:20px; }
 .flow-slider__controls { gap:12px; }
 .flow-slider__buttons { gap:8px; }
 .flow-slider__buttons button { padding:10px 13px;font-size:16px; }
 .flow-slider__position { font-size:15px; }
}
@media print {
 .steps.flow-slider__track { display:grid;grid-auto-flow:row;grid-template-columns:1fr 1fr;overflow:visible; }
 .flow-slider__controls { display:none; }
}

/* Illustrated service guidance, separated from the preceding cards. */
.service-feature-wrap { margin-top:64px; }
.service-feature { display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:36px;padding:40px;border:1px solid var(--blue-line);border-radius:var(--radius);background:#fff; }
.service-feature__copy { min-width:0; }
.service-feature__copy .h3 { font-size:clamp(23px,2.2vw,28px);line-height:1.65;margin-bottom:20px; }
.service-feature__copy p { font-size:19px;line-height:1.9;color:var(--ink-mid); }
.service-feature__copy p:last-child { margin-bottom:0; }
.service-feature__image img { display:block;width:100%;height:auto; }
@media(max-width:900px) {
 .service-feature-wrap { margin-top:48px; }
 .service-feature { grid-template-columns:1fr;gap:24px;padding:28px; }
 .service-feature__image { width:100%;max-width:460px;justify-self:center; }
 .service-feature__copy p { font-size:18px; }
}
@media(max-width:480px) { .service-feature { padding:24px 20px;gap:20px; } }

/* Mouse drag complements native touch scrolling. */
.flow-slider__track { cursor:grab; }
.steps.flow-slider__track.is-dragging { cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto;user-select:none; }
.flow-slider__track img { -webkit-user-drag:none; }

/* September consultation revisions. */
.hero__note { font-size:clamp(20px,1.8vw,26px);font-weight:700;line-height:1.7; }
.hero__note .nb { white-space:normal; }
.contact-method-icons { display:flex;align-items:center;gap:20px;color:var(--navy);margin-bottom:16px; }
.contact-method-icons svg { width:44px;height:44px;flex-shrink:0; }
.fixbar--mail-only { grid-template-columns:1fr; }
@media(max-width:900px) { .hero__note { font-size:20px;color:#fff; } }

/* 写真付き相談フォーム */
.form input[type="file"] { display:block; width:100%; min-width:0; padding:.8rem; border:1px solid var(--blue-line); border-radius:8px; background:#fff; font:inherit; }
.form input[type="file"]::file-selector-button { margin-right:.7rem; padding:.5rem .8rem; cursor:pointer; }
.form-trap { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.form-status { overflow-wrap:anywhere; white-space:pre-line; margin:1rem 0; }
.form-status:empty { display:none; }
.form button:disabled { opacity:.65; cursor:default; }
