@charset "UTF-8";

/* =========================================================
   T's Atelier — Base Stylesheet
   White & light-blue / elegant, refined
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --blue-900: #0d2c45;
  --blue-800: #12405f;
  --blue-700: #1c5f8c;
  --blue-600: #2a79ad;
  --blue-500: #4a95c6;
  --blue-200: #c4dcee;
  --blue-100: #e4eff8;
  --blue-050: #f3f8fc;

  --ink: #1b242e;
  --ink-soft: #43525f;
  --muted: #6d7c89;
  --line: #dfe8f0;
  --line-soft: #eef4f9;
  --white: #ffffff;

  --gold: #b89355;

  --shadow-sm: 0 2px 10px rgba(18, 64, 95, .06);
  --shadow-md: 0 10px 30px rgba(18, 64, 95, .09);
  --shadow-lg: 0 24px 60px rgba(18, 64, 95, .13);

  --radius: 4px;
  --radius-lg: 10px;

  --header-h: 78px;
  --header-h-sp: 64px;

  --font-serif: "Zen Old Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", "MS PMincho", serif;
  --font-sans: "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;

  --wrap: 1160px;
  --wrap-narrow: 880px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink);
  background: var(--white);
  letter-spacing: .03em;
  font-feature-settings: "palt";
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--blue-700); text-decoration: none; transition: color .25s, opacity .25s; }
a:hover { color: var(--blue-500); }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; }

/* 固定ヘッダー分のアンカーオフセット */
:target { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--tinted { background: linear-gradient(180deg, var(--blue-050) 0%, #ffffff 100%); }
.section--blue { background: var(--blue-050); }

.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
.section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { text-align: center; }

.section-en {
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: .55rem;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.55;
  letter-spacing: .07em;
  color: var(--blue-900);
}

.section-title .accent { color: var(--blue-600); }

.section-lead {
  margin-top: 1.1rem;
  color: var(--ink-soft);
  font-size: clamp(.94rem, 1.6vw, 1rem);
}

.heading-rule { position: relative; padding-left: 1.1rem; }
.heading-rule::before {
  content: ""; position: absolute; left: 0; top: .35em; bottom: .35em;
  width: 3px; background: linear-gradient(180deg, var(--blue-500), var(--blue-200));
  border-radius: 2px;
}

.lead { font-size: clamp(.95rem, 1.7vw, 1.05rem); color: var(--ink-soft); }
.text p + p { margin-top: 1.4em; }
.text { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px; padding: .8rem 2.2rem;
  border: 1px solid var(--blue-700);
  border-radius: 999px;
  font-size: .95rem; font-weight: 600; letter-spacing: .08em;
  background: var(--blue-700); color: #fff;
  transition: background .28s, color .28s, border-color .28s, transform .28s, box-shadow .28s;
  cursor: pointer;
}
.btn:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--blue-700); }
.btn--ghost:hover { background: var(--blue-700); color: #fff; }

.btn--light { background: #fff; color: var(--blue-800); border-color: #fff; }
.btn--light:hover { background: var(--blue-100); border-color: var(--blue-100); color: var(--blue-800); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline-light:hover { background: #fff; color: var(--blue-800); border-color: #fff; }

.btn--tel { font-family: var(--font-serif); font-size: 1.25rem; letter-spacing: .05em; }

.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-group.center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 600; font-size: .92rem; letter-spacing: .08em; color: var(--blue-700);
}
.link-arrow::after {
  content: ""; width: 26px; height: 1px; background: currentColor; transition: width .3s;
}
.link-arrow:hover::after { width: 40px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  transition: box-shadow .35s, background .35s, border-color .35s, backdrop-filter .35s;
}

/* --- transparent state (over hero) --- */
.site-header .brand,
.site-header .header-tel { color: #fff; text-shadow: 0 1px 14px rgba(0, 20, 38, .45); }
.site-header .brand-sub,
.site-header .header-tel .cap { color: rgba(255, 255, 255, .72); }
.site-header .gnav-list > li > a { color: #fff; text-shadow: 0 1px 14px rgba(0, 20, 38, .45); }
.site-header .gnav-list > li > a:hover,
.site-header .gnav-list > li > a[aria-current="page"] { color: #fff; }
.site-header .gnav-list > li > a::after { background: #fff; }
.site-header .header-cta {
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .6); color: #fff;
  backdrop-filter: blur(4px);
}
.site-header .header-cta:hover { background: #fff; color: var(--blue-800); }
.site-header .nav-toggle { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .55); }
.site-header .nav-toggle span { background: #fff; }

/* --- solid state (scrolled / menu open) --- */
.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom-color: var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.site-header.is-scrolled .brand,
body.nav-open .site-header .brand,
.site-header.is-scrolled .header-tel,
body.nav-open .site-header .header-tel { color: var(--blue-900); text-shadow: none; }
.site-header.is-scrolled .brand-sub,
body.nav-open .site-header .brand-sub,
.site-header.is-scrolled .header-tel .cap,
body.nav-open .site-header .header-tel .cap { color: var(--muted); }
.site-header.is-scrolled .gnav-list > li > a,
body.nav-open .site-header .gnav-list > li > a { color: var(--ink); text-shadow: none; }
.site-header.is-scrolled .gnav-list > li > a:hover,
.site-header.is-scrolled .gnav-list > li > a[aria-current="page"] { color: var(--blue-700); }
.site-header.is-scrolled .gnav-list > li > a::after { background: var(--blue-500); }
.site-header.is-scrolled .header-cta,
body.nav-open .site-header .header-cta {
  background: var(--blue-700); border-color: var(--blue-700); color: #fff; backdrop-filter: none;
}
.site-header.is-scrolled .header-cta:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.site-header.is-scrolled .nav-toggle,
body.nav-open .site-header .nav-toggle { background: #fff; border-color: var(--line); }
.site-header.is-scrolled .nav-toggle span,
body.nav-open .site-header .nav-toggle span { background: var(--blue-900); }

.header-inner {
  width: min(100% - 2rem, 1400px); margin-inline: auto;
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--blue-900); }
.brand:hover { color: var(--blue-700); }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name {
  font-family: var(--font-serif); font-size: 1.32rem; letter-spacing: .1em; font-weight: 600;
}
.brand-sub { font-size: .62rem; letter-spacing: .16em; color: var(--muted); }

.header-side { display: flex; align-items: center; gap: 1.4rem; }

.header-contact { display: flex; align-items: center; gap: .9rem; }
.header-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; color: var(--blue-900); }
.header-tel .num { font-family: var(--font-serif); font-size: 1.28rem; letter-spacing: .04em; }
.header-tel .cap { font-size: .6rem; letter-spacing: .16em; color: var(--muted); }
.header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .68rem 1.5rem; border-radius: 999px;
  background: var(--blue-700); color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .1em;
}
.header-cta:hover { background: var(--blue-600); color: #fff; }

/* Global nav */
.gnav-list { display: flex; align-items: center; gap: clamp(.8rem, 1.6vw, 1.7rem); }
.gnav-list > li > a {
  position: relative; display: block; padding: .4rem 0;
  font-size: .87rem; font-weight: 600; letter-spacing: .07em; color: var(--ink);
}
.gnav-list > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--blue-500); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.gnav-list > li > a:hover { color: var(--blue-700); }
.gnav-list > li > a:hover::after,
.gnav-list > li > a[aria-current="page"]::after { transform: scaleX(1); }
.gnav-list > li > a[aria-current="page"] { color: var(--blue-700); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: 50%; position: relative; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 50%; width: 20px; height: 1.5px; background: var(--blue-900);
  translate: -50% 0; transition: transform .3s, opacity .25s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0; background: rgba(13, 44, 69, .4);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 98;
}
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

/* main offset — 透明ナビのため、各ページ先頭のビジュアルにヘッダーを重ねる */
main { padding-top: 0; }

/* ---------- Hero (home) ---------- */
/* モバイル：メイン画像上部にキャッチ＋文章を配置 */
.hero { position: relative; min-height: min(88vh, 780px); display: flex; align-items: flex-start; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(9,30,48,.62) 0%, rgba(9,30,48,.22) 45%, rgba(9,30,48,.55) 100%),
    linear-gradient(90deg, rgba(9,30,48,.5), rgba(9,30,48,0) 65%);
}
.hero-inner { position: relative; z-index: 2; color: #fff; padding: calc(var(--header-h-sp) + 1.5rem) 0 2.5rem; }
.hero-en { font-size: .7rem; letter-spacing: .38em; text-transform: uppercase; color: var(--blue-200); margin-bottom: 1.1rem; }
.hero-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.85rem, 5.8vw, 4.2rem); line-height: 1.5; letter-spacing: .08em;
  text-shadow: 0 2px 22px rgba(0,0,0,.35);
}
.hero-text { margin-top: 1.4rem; max-width: 46ch; color: rgba(255,255,255,.9); font-size: clamp(.9rem, 1.7vw, 1rem); }

/* デスクトップ（フルサイズ閲覧時）：メイン画像の上下幅に対してキャッチ・文章を中央配置 */
@media (min-width: 768px) {
  .hero { align-items: center; }
  .hero-inner { padding: clamp(5rem, 9vw, 7rem) 0; }
}

/* スクロール表示：PC・SPともに水平方向は中央、下部に配置 */
.hero-scroll {
  position: absolute; left: 50%; bottom: clamp(1rem, 4vw, 1.75rem); z-index: 3;
  transform: translateX(-50%);
  display: block;
  writing-mode: vertical-rl; color: rgba(255,255,255,.85);
  font-size: clamp(.58rem, 1.8vw, .66rem); letter-spacing: .3em;
  padding-bottom: clamp(42px, 13vw, 90px);
}
.hero-scroll::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: clamp(32px, 10vw, 70px);
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0));
}

/* ---------- Quick nav cards ---------- */
.quicknav { margin-top: 0; padding-top: clamp(2.75rem, 6vw, 4.5rem); position: relative; z-index: 5; }
.quicknav-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.qcard {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-md); color: #fff; isolation: isolate;
}
.qcard-media { aspect-ratio: 4 / 3; overflow: hidden; }
.qcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.qcard::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,44,69,0) 30%, rgba(13,44,69,.82) 100%);
  pointer-events: none;
}
.qcard-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1.3rem 1.4rem; }
.qcard-en { font-size: .6rem; letter-spacing: .28em; color: var(--blue-200); }
.qcard-title { font-family: var(--font-serif); font-size: 1.16rem; letter-spacing: .07em; margin-top: .3rem; }
.qcard-sub { font-size: .76rem; color: rgba(255,255,255,.82); margin-top: .3rem; line-height: 1.7; }
.qcard:hover { color: #fff; }
.qcard:hover .qcard-media img { transform: scale(1.07); }

/* ---------- Full-bleed feature band ---------- */
.fullbleed { position: relative; width: 100%; overflow: hidden; }
.fullbleed-feature {
  min-height: clamp(380px, 58vw, 640px);
  display: flex; align-items: center;
  color: #fff;
}
.fullbleed-feature > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.fullbleed-feature::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(9,30,48,.86) 0%, rgba(9,30,48,.55) 45%, rgba(9,30,48,.18) 100%),
    linear-gradient(180deg, rgba(9,30,48,.35), rgba(9,30,48,.05) 40%, rgba(9,30,48,.45));
}
.fullbleed-body {
  position: relative; z-index: 2;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.fullbleed-body > * { max-width: 40rem; }
.fullbleed-body .section-en { color: var(--blue-200); }
.fullbleed-body .section-title { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.fullbleed-body .text,
.fullbleed-body p { color: rgba(255,255,255,.9); }
.fullbleed-body .btn-group { margin-top: 2rem; }
.fullbleed-figure { display: block; }
.fullbleed-figure img { width: 100%; height: clamp(240px, 42vw, 520px); object-fit: cover; }
.fullbleed-figure figcaption {
  padding: 1rem 1.5rem; text-align: center; font-size: .78rem; letter-spacing: .1em; color: var(--muted);
  background: var(--blue-050);
}

/* ---------- Media rows ---------- */
.media-row {
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .media-row { grid-template-columns: 1.05fr 1fr; }
  .media-row--reverse .media-row__media { order: 2; }
}
.media-row__media { position: relative; }
.media-row__media img {
  position: relative; z-index: 1;
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.media-row__media::before {
  content: ""; position: absolute; inset: auto auto -14px -14px; width: 58%; height: 58%;
  border: 1px solid var(--blue-200); border-radius: var(--radius-lg); z-index: 0;
}
.media-row__body .section-title { margin-bottom: 1.3rem; }

/* ---------- Intro block (About Us) ----------
   SP: 見出し → 画像 → 文章 の順に表示
   PC: 画像（左）／見出し＋文章（右）の2カラム            */
.intro-block {
  display: grid; gap: clamp(1.3rem, 4vw, 2rem);
  grid-template-columns: 1fr;
  grid-template-areas: "heading" "media" "body";
}
.intro-block__heading { grid-area: heading; }
.intro-block__media { grid-area: media; }
.intro-block__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.intro-block__body { grid-area: body; }

@media (min-width: 860px) {
  .intro-block {
    grid-template-columns: 1.05fr 1fr;
    column-gap: clamp(2rem, 5vw, 4rem);
    row-gap: 1.4rem;
    grid-template-areas:
      "media heading"
      "media body";
  }
  .intro-block__media { height: 100%; }
  .intro-block__media img { height: 100%; aspect-ratio: auto; }
  .intro-block__heading .section-title { margin-bottom: 0; }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-050); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.card:hover .card-media img { transform: scale(1.05); }

/* line-art illustration (SVG) */
.card-illust {
  aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(255,255,255,.9), rgba(255,255,255,0) 60%),
    linear-gradient(150deg, #f7fbfe 0%, #e6f0f8 100%);
  border-bottom: 1px solid var(--line-soft);
}
.card-illust svg {
  width: 88%; height: auto; display: block; color: var(--blue-700);
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.card:hover .card-illust svg { transform: translateY(-5px) scale(1.02); }
.illust-fill { fill: currentColor; }
.illust-soft { fill: #ffffff; }
.card-body { padding: 1.6rem 1.5rem 1.8rem; display: flex; flex-direction: column; gap: .85rem; flex: 1; }
.card-title {
  font-family: var(--font-serif); font-size: 1.14rem; letter-spacing: .06em; color: var(--blue-900); line-height: 1.6;
}
.card-text { font-size: .9rem; color: var(--ink-soft); line-height: 1.9; }
.card-foot { margin-top: auto; padding-top: .4rem; }

/* service list inside card */
.tag-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag-list li {
  font-size: .76rem; letter-spacing: .04em; color: var(--blue-800);
  background: var(--blue-050); border: 1px solid var(--blue-100);
  border-radius: 999px; padding: .28rem .85rem;
}

/* ---------- Service intro list (checkmarks) ---------- */
.check-list { display: grid; gap: .75rem; }
.check-list li {
  position: relative; padding-left: 2.1rem; font-size: .96rem; color: var(--ink-soft);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 1.35rem; height: .72rem;
  border-left: 2px solid var(--blue-500); border-bottom: 2px solid var(--blue-500);
  transform: rotate(-45deg); border-radius: 1px;
}

.dot-list { display: grid; gap: .5rem; }
.dot-list li { position: relative; padding-left: 1.2rem; font-size: .9rem; color: var(--ink-soft); }
.dot-list li::before {
  content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--blue-500);
}

/* ---------- Reason blocks ---------- */
.reason-item { display: grid; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 860px) {
  .reason-item { grid-template-columns: 1fr 1fr; }
  .reason-item:nth-child(even) .reason-item__media { order: 2; }
}
.reason-item + .reason-item { margin-top: clamp(3rem, 7vw, 6rem); }
.reason-item__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.reason-no {
  display: inline-flex; align-items: baseline; gap: .5rem;
  font-family: var(--font-serif); color: var(--blue-500); letter-spacing: .16em;
  font-size: .78rem; margin-bottom: .7rem;
}
.reason-no strong { font-size: 2.1rem; line-height: 1; color: var(--blue-600); font-weight: 500; }
.reason-title {
  font-family: var(--font-serif); font-weight: 500; color: var(--blue-900);
  font-size: clamp(1.2rem, 2.6vw, 1.6rem); line-height: 1.6; letter-spacing: .06em; margin-bottom: 1rem;
}

/* ---------- Plan cards ---------- */
.plan { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
@media (min-width: 800px) { .plan { grid-template-columns: 42% 1fr; } }
.plan + .plan { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.plan-media { background: var(--blue-050); }
.plan-media img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; }
.plan-body { padding: clamp(1.6rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1rem; }
.plan-label {
  align-self: flex-start; font-size: .68rem; letter-spacing: .22em; font-weight: 700;
  color: #fff; background: var(--blue-700); padding: .3rem 1rem; border-radius: 999px;
}
.plan-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.15rem, 2.4vw, 1.45rem); color: var(--blue-900); letter-spacing: .05em; line-height: 1.6; }
.plan-text { font-size: .92rem; color: var(--ink-soft); }
.price-box {
  border-top: 1px solid var(--line); padding-top: 1.1rem; margin-top: auto;
}
.price-box dt { font-size: .72rem; letter-spacing: .2em; color: var(--blue-600); font-weight: 700; margin-bottom: .5rem; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.6rem; }
.price-item { display: flex; align-items: baseline; gap: .6rem; }
.price-item .label { font-size: .84rem; color: var(--muted); }
.price-item .value { font-family: var(--font-serif); font-size: clamp(1.3rem, 3vw, 1.7rem); color: var(--blue-800); letter-spacing: .02em; }
.price-item .value small { font-size: .7rem; letter-spacing: .06em; color: var(--muted); margin-left: .25rem; }
.price-note { font-size: .76rem; color: var(--muted); margin-top: .6rem; line-height: 1.8; }

/* ---------- Voice / problem bubbles ---------- */
.bubble-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.bubble {
  position: relative; background: #fff; border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; text-align: center;
  font-family: var(--font-serif); font-size: 1rem; color: var(--blue-900); letter-spacing: .04em;
  box-shadow: var(--shadow-sm);
}
.bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 16px; height: 16px;
  background: #fff; border-right: 1px solid var(--blue-100); border-bottom: 1px solid var(--blue-100);
  transform: translateX(-50%) rotate(45deg);
}

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 100%);
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,.16), transparent 45%),
                    radial-gradient(circle at 85% 80%, rgba(255,255,255,.12), transparent 40%);
}
.cta-inner { position: relative; z-index: 2; padding: clamp(3.2rem, 7vw, 5.5rem) 0; text-align: center; }
.cta-title {
  font-family: var(--font-serif); font-weight: 500; letter-spacing: .06em; line-height: 1.65;
  font-size: clamp(1.25rem, 3vw, 1.9rem);
}
.cta-text { margin: 1.2rem auto 0; max-width: 62ch; font-size: clamp(.9rem, 1.6vw, .98rem); color: rgba(255,255,255,.92); }
.cta-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.cta-note { margin-top: 1.2rem; font-size: .78rem; color: rgba(255,255,255,.75); letter-spacing: .08em; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative; min-height: clamp(280px, 40vw, 440px);
  padding-top: var(--header-h);
  display: flex; align-items: center; overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,44,69,.8), rgba(13,44,69,.36)),
    linear-gradient(180deg, rgba(9,30,48,.5), rgba(9,30,48,0) 45%);
}
.page-hero__inner { position: relative; z-index: 2; color: #fff; padding: 2.5rem 0; }
.page-hero__en { font-size: .68rem; letter-spacing: .34em; color: var(--blue-200); margin-bottom: .6rem; text-transform: uppercase; }
.page-hero__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.5rem, 4.2vw, 2.5rem); letter-spacing: .1em; }

/* Breadcrumb */
.breadcrumb { border-bottom: 1px solid var(--line-soft); background: #fff; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; padding: .9rem 0; font-size: .74rem; color: var(--muted); }
.breadcrumb li + li::before { content: "／"; margin-right: .5rem; color: var(--blue-200); }

/* ---------- Info / news ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-item { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.5rem; padding: 1.3rem .3rem; }
.news-date { font-family: var(--font-serif); font-size: .92rem; color: var(--blue-600); letter-spacing: .08em; min-width: 6.5em; }
.news-cat {
  font-size: .68rem; letter-spacing: .14em; color: var(--blue-800);
  border: 1px solid var(--blue-200); background: var(--blue-050); border-radius: 999px; padding: .18rem .8rem;
}
.news-text { flex: 1 1 260px; font-size: .95rem; color: var(--ink-soft); }

.notice-box {
  border: 1px solid var(--blue-100); background: var(--blue-050);
  border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; text-align: center;
}
.notice-box .mark { font-family: var(--font-serif); font-size: clamp(1.4rem, 4vw, 2rem); color: var(--blue-700); letter-spacing: .2em; }
.notice-box p { margin-top: 1rem; font-size: .92rem; color: var(--ink-soft); }

.comingsoon2 {
  border: 1px solid var(--blue-100); background: var(--blue-050);
  border-radius: var(--radius-lg);
  padding: clamp(4.5rem, 14vw, 8rem) 1.5rem;
  text-align: center;
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  letter-spacing: .4em; text-indent: .4em;
  color: var(--blue-700);
}

/* ---------- Table ---------- */
.info-table { border-top: 1px solid var(--line); font-size: .94rem; }
.info-table th, .info-table td { border-bottom: 1px solid var(--line); padding: 1.1rem 1rem; text-align: left; vertical-align: top; }
.info-table th {
  width: 12em; font-weight: 600; color: var(--blue-800); background: var(--blue-050);
  letter-spacing: .06em;
}
.info-table td { color: var(--ink-soft); }
@media (max-width: 600px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; padding: .8rem 1rem; }
  .info-table td { padding-top: .5rem; }
}

/* ---------- Map & gallery ---------- */
.map-frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); aspect-ratio: 16 / 9; background: var(--blue-050);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.gallery figcaption { margin-top: .6rem; font-size: .78rem; color: var(--muted); letter-spacing: .06em; }

/* ---------- Greeting ---------- */
.greeting { display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); }
@media (min-width: 860px) { .greeting { grid-template-columns: 320px 1fr; align-items: start; } }
.greeting-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.greeting-photo figcaption { margin-top: .9rem; font-size: .8rem; color: var(--muted); letter-spacing: .08em; text-align: center; }
.sign { margin-top: 1.8rem; text-align: right; font-family: var(--font-serif); color: var(--blue-900); letter-spacing: .1em; }
.sign .role { display: block; font-size: .78rem; color: var(--muted); letter-spacing: .16em; }
.sign .name { font-size: 1.2rem; }

/* ---------- Form ---------- */
.form { display: grid; gap: 1.6rem; }
.form-row { display: grid; gap: .55rem; }
.form-label { font-size: .88rem; font-weight: 600; letter-spacing: .06em; color: var(--blue-900); display: flex; align-items: center; gap: .6rem; }
.required, .optional {
  font-size: .64rem; letter-spacing: .12em; padding: .16rem .6rem; border-radius: 3px; font-weight: 700;
}
.required { background: #c0392b; color: #fff; }
.optional { background: var(--blue-100); color: var(--blue-800); }

.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form input[type="date"],
.form select,
.form textarea {
  width: 100%; padding: .9rem 1rem; font: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s;
}
.form textarea { min-height: 190px; resize: vertical; line-height: 1.85; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(74,149,198,.16);
}
.form-hint { font-size: .76rem; color: var(--muted); }
.form-grid2 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

.consent { display: flex; gap: .7rem; align-items: flex-start; justify-content: center; font-size: .88rem; color: var(--ink-soft); }
.consent input { margin-top: .45rem; width: 18px; height: 18px; accent-color: var(--blue-700); }

.form-error { color: #c0392b; font-size: .8rem; }
.form-message {
  border-radius: var(--radius); padding: 1rem 1.2rem; font-size: .9rem;
  background: var(--blue-050); border: 1px solid var(--blue-200); color: var(--blue-800);
}

.phone-card {
  max-width: 440px; margin-inline: auto;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 5vw, 3.2rem) 2rem; text-align: center; background: #fff;
  box-shadow: var(--shadow-sm);
}
.phone-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--blue-050); color: var(--blue-700); margin-bottom: 1.1rem;
}
.phone-card__icon svg { width: 26px; height: 26px; fill: currentColor; }
.phone-card .cap { font-size: .74rem; letter-spacing: .22em; color: var(--blue-600); font-weight: 700; }
.phone-card .num {
  display: block; font-family: var(--font-serif); font-size: clamp(1.9rem, 5.5vw, 2.5rem);
  color: var(--blue-900); margin-top: .7rem; letter-spacing: .05em;
}
.phone-card .num:hover { color: var(--blue-600); }
.phone-card .sub { font-size: .84rem; color: var(--muted); margin-top: 1rem; line-height: 1.9; }

/* ---------- Policy ---------- */
.policy { display: grid; gap: 2rem; }
.policy h3 {
  font-family: var(--font-serif); font-weight: 500; font-size: 1.06rem; color: var(--blue-900);
  letter-spacing: .06em; margin-bottom: .6rem; padding-left: .8rem; border-left: 3px solid var(--blue-200);
}
.policy p { font-size: .9rem; color: var(--ink-soft); line-height: 1.95; }

/* ---------- Footer (natural gradient + faint background photo) ---------- */
.site-footer {
  position: relative;
  margin-top: 0; color: rgba(255,255,255,.85);
  background-color: #0d2c45;
  overflow: hidden;
}
/* background photo — visible but kept elegant */
.site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("../assets/uploads/6-2.jpg") center 38% / cover no-repeat;
  opacity: .38;
}
/* natural gradient wash to keep text readable & tone consistent */
.site-footer::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(165deg, rgba(6,20,33,.88) 0%, rgba(12,40,63,.78) 45%, rgba(28,92,132,.68) 100%);
}
.site-footer > * { position: relative; z-index: 1; }
.footer-main { padding: clamp(2.8rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid { display: block; }

.footer-brand { display: inline-flex; align-items: center; gap: .75rem; color: #fff; }
.footer-brand .brand-mark { width: 44px; height: 44px; }
.footer-brand .brand-name { font-size: 1.35rem; }
.footer-brand .brand-sub { color: rgba(255,255,255,.6); }
.footer-address { margin-top: 1.4rem; font-size: .88rem; line-height: 2; font-style: normal; }
.footer-address a { color: #fff; }
.footer-address a:hover { color: var(--blue-200); }
.footer-note { margin-top: 1rem; font-size: .78rem; color: rgba(255,255,255,.6); line-height: 1.9; }

/* フッターナビ：縦積みの2カラムをやめ、1本の帯として中央に横並び */
.footer-nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 2rem;
  margin-top: clamp(2.2rem, 5vw, 3rem);
  padding-top: clamp(1.6rem, 3vw, 2.2rem);
  border-top: 1px solid rgba(255,255,255,.16);
  text-align: center;
}
.footer-nav a {
  color: rgba(255,255,255,.82); font-size: .86rem; display: inline-block; padding: .3rem 0; white-space: nowrap;
}
.footer-nav a:hover { color: #fff; }

.footer-sns { margin-top: 2rem; }
.footer-sns h3 { font-size: .68rem; letter-spacing: .24em; color: var(--blue-200); font-weight: 700; margin-bottom: .9rem; }
.sns-list { display: flex; flex-wrap: wrap; gap: .7rem; }
.sns-list a {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1.1rem;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  font-size: .78rem; letter-spacing: .08em; color: rgba(255,255,255,.85);
}
.sns-list a:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.sns-list svg { width: 16px; height: 16px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding: 1.3rem 0;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: center; align-items: center; text-align: center;
  font-size: .74rem; color: rgba(255,255,255,.6);
}
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Fixed SP action bar ---------- */
.sp-bar { display: none; }
@media (max-width: 767px) {
  .sp-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr;
    box-shadow: 0 -4px 18px rgba(13,44,69,.14);
  }
  .sp-bar a {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 58px; font-size: .88rem; font-weight: 700; letter-spacing: .06em; color: #fff;
  }
  .sp-bar .tel { background: var(--blue-800); }
  .sp-bar .mail { background: var(--blue-600); }
  .sp-bar svg { width: 17px; height: 17px; fill: currentColor; }
  body { padding-bottom: 58px; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive: nav drawer ---------- */
@media (max-width: 1100px) {
  .header-tel { display: none; }
}
@media (max-width: 980px) {
  :root { --header-h: var(--header-h-sp); }
  .nav-toggle { display: block; }
  .header-side { gap: .7rem; }
  .header-cta { display: none; }
  .gnav {
    position: fixed; top: 0; right: 0; z-index: 99;
    width: min(86vw, 340px); height: 100dvh; background: #fff;
    padding: calc(var(--header-h-sp) + 1.5rem) 1.75rem 2.5rem;
    overflow-y: auto; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .4s cubic-bezier(.4,0,.2,1);
  }
  body.nav-open .gnav { transform: none; }
  .gnav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav-list > li { border-bottom: 1px solid var(--line-soft); }
  .site-header .gnav-list > li > a {
    padding: 1.05rem .2rem; font-size: .95rem; color: var(--ink); text-shadow: none;
  }
  .gnav-list > li > a::after { display: none; }
  .site-header .gnav-list > li > a[aria-current="page"] { color: var(--blue-600); }
  .gnav-extra { margin-top: 2rem; display: grid; gap: .8rem; }
  .gnav-extra .btn { width: 100%; min-height: 52px; }
}
@media (min-width: 981px) {
  .gnav-extra { display: none; }
  .nav-backdrop { display: none; }
  .gnav { order: 1; margin-left: auto; }
  .header-side { order: 2; }
}

@media (max-width: 600px) {
  body { font-size: 15px; line-height: 1.9; }
  .brand-name { font-size: 1.12rem; }
  .brand-mark { width: 36px; height: 36px; }
  .btn { width: 100%; }
  .btn-group { gap: .75rem; }
  .cta-actions .btn { width: 100%; }
  .quicknav { margin-top: -2rem; }
}
