@charset "UTF-8";
/* =========================================================
   System Noah  site.css
   white × light gray × charcoal ＋ accent（青系1色。--accent で一括変更。トップのイラストの青に合わせる）
   ========================================================= */
:root {
  --ink: #222;             /* 文字・ロゴ・濃いボタン */
  --dark: #2b2b2b;         /* 濃い面（フッター・載せ替え帯など、要所だけ） */
  --dark-2: #3d3d3d;
  --gray: #f5f5f3;         /* 淡い背景 */
  --gray-2: #ebebe8;       /* 少し濃い背景 */
  --line: #deded9;
  --muted: #6b6b6b;
  --white: #fff;
  --accent: #0b74e0;       /* ボタン・帯・線などの面（2026-11-10、紫寄りに見えるため #1869f8 から青寄りに） */
  --accent-dark: #0a5fc0;  /* ホバー（旧 #0d50d6） */
  --accent-ink: #0b6bd4;   /* 白地の上の文字（旧 #1258e0） */
  --accent-soft: #ecf3ff;  /* 淡い背景 */
  --accent-mark: #c7dafc;  /* 文字の下に引くマーカー */
  --accent-light: #8ab4ff; /* 濃い面の上の文字・線 */
  --on-accent: #fff;       /* アクセント面の上の文字色 */
  --shadow: 0 10px 30px rgba(0, 0, 0, .06);
  --shadow-l: 0 20px 50px rgba(0, 0, 0, .10);
  --radius: 20px;          /* トップの hero・お悩み・サービスの流れだけで使う角丸 */
  --wrap: 1200px;
  --header-h: 84px;
  --header-top-h: 128px;   /* トップでヒーローに重ねるヘッダーの高さ（スクロール前） */
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-en: "Jost", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .04em;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.55; margin: 0 0 .6em; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
table { border-collapse: collapse; width: 100%; }
.svg { width: 1em; height: 1em; display: inline-block; vertical-align: -.15em; fill: currentColor; flex-shrink: 0; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.wrap--narrow { width: min(900px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 120px 0; position: relative; }
.section--bg { background: var(--gray); }
.section--dark { background: var(--dark); color: #fff; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-l { margin-top: 56px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 1000; }
.skip:focus { left: 8px; }
.marker { background: linear-gradient(transparent 60%, var(--accent-mark) 60%); padding: 0 .1em; }

/* ---------- heading（大きな英字＋日本語） ---------- */
.heading { margin-bottom: 64px; position: relative; }
.heading__en {
  font-family: var(--font-en); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.05; letter-spacing: .02em; color: var(--ink); margin: 0 0 18px; text-transform: uppercase;
}
.heading__title { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 700; margin: 0 0 18px; letter-spacing: .06em; }
.heading__lead { color: var(--muted); margin: 0; max-width: 760px; }
.heading.center .heading__lead { margin-inline: auto; }
.section--dark .heading__en, .section--dark .heading__title { color: #fff; }
.section--dark .heading__lead { color: #c9c9c9; }
.section > .wrap, .section > .wrap--narrow { position: relative; z-index: 1; }

/* ---------- button ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 12px 36px;
  border: 1.5px solid transparent; border-radius: 0;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.4; letter-spacing: .08em;
  transition: background .25s, color .25s, border-color .25s;
  cursor: pointer; position: relative;
}
.btn .svg { transition: transform .25s; }
.btn:hover .svg:last-child { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--on-accent); }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: #fff; color: var(--ink); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--ink); border-color: #fff; }
.btn--white:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--line { background: #06c755; border-color: #06c755; color: #fff; }
.btn--line:hover { color: #fff; background: #05a849; border-color: #05a849; }
.btn--sm { min-height: 46px; padding: 8px 26px; font-size: .9rem; }
.btn--more { min-width: 240px; }
.btn-group { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-group.center { justify-content: center; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link-arrow:hover { color: var(--accent-ink); }
.section--dark .link-arrow { color: #fff; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); }
/* すりガラスは疑似要素に付ける（.header 自体に backdrop-filter があると、中の fixed メニューがヘッダー基準になり全画面にならない） */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); width: min(1560px, calc(100% - 48px)); margin-inline: auto; }
.header__logo { margin: 0; line-height: 1; flex-shrink: 0; }
.header__logo a { display: block; }
.header__logo img { width: 210px; height: auto; display: block; }
.gnav { margin-left: auto; }
.gnav__list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.gnav__item { position: relative; }
/* メニューは英字（2026-11-13、トップのデザインに合わせて全ページ共通に）。2階層目は日本語のまま */
.gnav__link { display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; font-family: var(--font-en); font-weight: 500; font-size: 1rem; position: relative; letter-spacing: .04em; }
.gnav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.gnav__link:hover, .gnav__link[aria-current="page"] { color: var(--ink); }
.gnav__link:hover::after, .gnav__link[aria-current="page"]::after { transform: scaleX(1); }
.gnav__sub { position: absolute; top: 100%; left: -16px; min-width: 360px; list-style: none; margin: 0; padding: 10px 0; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--ink); box-shadow: var(--shadow-l); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.gnav__item:hover .gnav__sub, .gnav__item:focus-within .gnav__sub { opacity: 1; visibility: visible; transform: none; }
.gnav__sub a { display: block; padding: 10px 24px; color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 700; line-height: 1.6; }
.gnav__sub a:hover { background: var(--gray); color: var(--ink); }
.gnav__sub small { display: block; color: var(--muted); font-size: .74rem; font-weight: 400; }
.header__contact { display: flex; align-items: center; margin-left: 14px; }
.header__cta { min-height: 38px; padding: 6px 18px; gap: 8px; font-family: var(--font-en); font-weight: 500; font-size: .95rem; letter-spacing: .04em; }
.menu-btn { display: none; margin-left: auto; width: 52px; height: 52px; border: 1.5px solid var(--ink); background: #fff; border-radius: 0; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 14px; width: 22px; height: 2px; background: var(--ink); transition: .25s; }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 24px; }
.menu-btn span:nth-child(3) { top: 31px; }
.menu-open .menu-btn span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { top: 24px; transform: rotate(-45deg); }
.gnav__sp-cta { display: none; }
body.menu-open { overflow: hidden; }
/* トップだけ（.header--over）：ヘッダーをヒーローに重ね、背景を透かして高く・ロゴを大きくする。
   スクロールしたら白い帯にして低くする（.is-scrolled は site.js）。
   高さと負のマージンを同じ速さで変えるので、下の中身は動かない */
.header--over { --over-h: var(--header-top-h); margin-bottom: calc(-1px - var(--over-h)); border-bottom-color: transparent; transition: margin-bottom .3s, border-color .3s; }
.header--over::before { opacity: 0; transition: opacity .3s; }
.header--over.is-scrolled, .menu-open .header--over { border-bottom-color: var(--line); }
.header--over.is-scrolled::before, .menu-open .header--over::before { opacity: 1; }
.header--over.is-scrolled { --over-h: var(--header-h); }
.header--over .header__inner { height: var(--over-h); transition: height .3s; }
.header--over .header__logo img { width: clamp(210px, 20vw, 318px); transition: width .3s; }
.header--over.is-scrolled .header__logo img { width: 210px; }

@media (max-width: 1020px) {
  :root { --header-h: 68px; --header-top-h: 68px; }
  .header__logo img { width: 176px; }
  .menu-btn { display: block; }
  .header__contact { display: none; }
  .gnav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; padding: 8px 24px 40px; transform: translateX(100%); transition: transform .3s; margin: 0; }
  .menu-open .gnav { transform: none; }
  .gnav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav__link { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 700; }
  .gnav__link::after { display: none; }
  .gnav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 8px; min-width: 0; background: transparent; }
  .gnav__sub a { padding: 8px 12px; }
  .gnav__sp-cta { display: grid; gap: 12px; margin-top: 28px; }
  .header--over .header__logo img, .header--over.is-scrolled .header__logo img { width: 176px; }
}

/* ---------- page header / breadcrumb ---------- */
/* 淡い青のグラデーションの帯に、白いパネルが重なる。
   模様：右から左へ薄れていく方眼（マス目）、右上にマスを塗った四角、パネルの右に大きな白い英字 */
.page-head { position: relative; isolation: isolate; overflow: hidden; padding: 170px 0 0; background: linear-gradient(160deg, #f7faff 0%, #dde9ff 100%); }
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(24, 105, 248, .16) 1px, transparent 1px) right top / 44px 44px,
    linear-gradient(rgba(24, 105, 248, .16) 1px, transparent 1px) right top / 44px 44px;
  -webkit-mask-image: linear-gradient(270deg, #000 15%, transparent 85%); mask-image: linear-gradient(270deg, #000 15%, transparent 85%);
}
/* 方眼に合わせて、いくつかのマスを塗る（右上から 44px 単位で配置） */
.page-head::after {
  content: ""; position: absolute; right: 0; top: 0; width: 352px; height: 264px; z-index: -1; pointer-events: none;
  --c: rgba(24, 105, 248, .14);
  background:
    linear-gradient(var(--accent), var(--accent)) right 89px top 45px / 43px 43px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right 1px top 177px / 21px 21px no-repeat,
    linear-gradient(var(--c), var(--c)) right 45px top 1px / 43px 43px no-repeat,
    linear-gradient(var(--c), var(--c)) right 133px top 89px / 87px 43px no-repeat,
    linear-gradient(var(--c), var(--c)) right 45px top 133px / 43px 87px no-repeat,
    linear-gradient(#fff, #fff) right 177px top 1px / 43px 43px no-repeat,
    linear-gradient(#fff, #fff) right 1px top 45px / 43px 43px no-repeat,
    linear-gradient(#fff, #fff) right 265px top 177px / 43px 43px no-repeat;
}
.page-head__ghost {
  position: absolute; right: 2vw; bottom: -.18em; z-index: -1; white-space: nowrap; pointer-events: none;
  font-family: var(--font-en); font-weight: 500; font-size: clamp(5rem, 11vw, 10rem); line-height: 1; letter-spacing: .02em;
  color: rgba(255, 255, 255, .8);
}
.page-head > .wrap {
  --gutter: calc((100% - min(var(--wrap), 100% - 40px)) / 2);
  width: auto; max-width: calc(var(--gutter) + 820px); margin: 0;
  padding: 52px 64px 8px var(--gutter); background: #fff; position: relative;
}
.page-head__en { font-family: var(--font-en); font-weight: 500; font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; margin: 0 0 14px; }
.page-head__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin: 0; line-height: 1.5; letter-spacing: .06em; display: flex; align-items: center; gap: 14px; }
.page-head__title::before { content: ""; width: 28px; height: 2px; background: var(--accent); flex-shrink: 0; }
.page-head__lead { margin: 16px 0 0; color: var(--muted); max-width: 720px; }
.breadcrumb { font-size: .78rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 22px 0 0; }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; color: #b5b5b5; }
.breadcrumb a { color: var(--muted); }

/* ---------- hero・お悩み・サービスの流れ（トップ） ----------
   人物のイラストと吹き出しで「相談しやすさ」を出す（2026-10-27、デザイン案2から）。
   このブロックだけ角丸（--radius）を使う。メディアクエリはブロックの末尾に置く */
/* ヒーロー（2026-11-13、data/トップページイメージ.jpg から）：淡い青の面に、右上と左下の曲線の形（--accent-mark）。
   上にヘッダー（.header--over）が重なるので、その高さぶん上を空ける */
.hero__main { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-top-h) + 64px) 0 92px; background: var(--accent-soft); }
.hero__main::before, .hero__main::after { content: ""; position: absolute; z-index: -1; background: var(--accent-mark); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.hero__main::before { top: 0; right: 0; width: 40%; aspect-ratio: 730 / 470; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 730 470'%3E%3Cpath d='M0 0H730V468C690 472 650 444 600 448C548 452 506 446 470 414C430 378 404 334 334 304C262 272 204 232 152 172C104 116 46 64 0 0Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 730 470'%3E%3Cpath d='M0 0H730V468C690 472 650 444 600 448C548 452 506 446 470 414C430 378 404 334 334 304C262 272 204 232 152 172C104 116 46 64 0 0Z'/%3E%3C/svg%3E"); }
.hero__main::after { left: 0; bottom: 0; width: 32%; aspect-ratio: 590 / 220; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 590 220'%3E%3Cpath d='M0 40C60 18 140 -4 212 10C284 24 330 86 402 98C474 110 552 112 574 158C584 182 588 204 590 220H0Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 590 220'%3E%3Cpath d='M0 40C60 18 140 -4 212 10C284 24 330 86 402 98C474 110 552 112 574 158C584 182 588 204 590 220H0Z'/%3E%3C/svg%3E"); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; align-items: center; }
.hero__title { font-size: clamp(2.3rem, 4.5vw, 4.3rem); font-weight: 900; line-height: 1.35; letter-spacing: .02em; white-space: nowrap; margin: 0 0 36px; }
.hero__title span { color: var(--accent-ink); }
.hero__lead { max-width: 540px; font-size: .93rem; line-height: 1.85; color: #4a4a4a; margin-bottom: 40px; }
/* 2つのボタンは横に並べる。幅が狭くなるほど余白と文字を小さくし、入りきらないほど狭いときだけ折り返す */
.hero .btn-group { gap: 12px; }
.hero .btn { white-space: nowrap; padding-inline: 28px; }
/* イラストと丸い吹き出し。位置と大きさはイラストの枠（655×510）に対する割合で決める */
.hero__visual { position: relative; container-type: inline-size; aspect-ratio: 655 / 510; }
.hero__illust { position: absolute; left: 0; top: 9%; width: 98%; height: auto; }
.hero__bubble { position: absolute; isolation: isolate; display: grid; place-items: center; width: max(84px, 16%); aspect-ratio: 1; margin: 0; color: var(--accent-ink); font-family: var(--font-head); font-weight: 700; font-size: max(11px, 2.15cqw); line-height: 1.3; letter-spacing: .04em; text-align: center; animation: hero-float 5s ease-in-out infinite; }
.hero__bubble::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #fff; border: 1.5px solid var(--accent); }
/* 吹き出しのしっぽ：外側の2辺だけに枠線を付けた正方形を45度回し、円の手前に重ねる。白い塗りで円の枠線のつなぎ目を隠し、円としっぽを1本の枠線でつなぐ */
.hero__bubble::after { content: ""; position: absolute; z-index: 0; top: calc(50% - 6px); right: -5px; width: 12px; height: 12px; background: #fff; border: solid var(--accent); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.hero__bubble--1 { left: 11%; top: 0; }
.hero__bubble--2 { right: 0; bottom: 8%; animation-delay: -1.6s; }
.hero__bubble--2::after { right: auto; left: -5px; top: calc(42% - 6px); border-width: 0 0 1.5px 1.5px; }
.hero__bubble--3 { left: 9.5%; bottom: 0; animation-delay: -3.2s; }
@keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
/* 実績の数字：ヒーローの下の白い帯 */
.hero__statsbar { background: #fff; border-bottom: 1px solid var(--line); }
.hero__stats { list-style: none; margin: 0 auto; padding: 10px 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.hero__stats li { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 8px 20px; border-left: 1px solid var(--accent-mark); }
.hero__stats li:last-child { border-right: 1px solid var(--accent-mark); }
.hero__stats strong { font-family: var(--font-en); font-weight: 500; font-size: 2.9rem; line-height: 1; color: var(--accent-ink); white-space: nowrap; }
.hero__stats strong small { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); margin-left: 2px; }
.hero__stats span { font-size: .85rem; color: #4a4a4a; line-height: 1.7; }

/* お悩み（吹き出し） ---------- */
.trouble { padding: 120px 0; background: var(--gray); }
.trouble__stage { display: grid; grid-template-columns: 1fr 360px 1fr; gap: 32px; align-items: center; }
.trouble__person img { display: block; width: 100%; height: auto; border-radius: 50%; aspect-ratio: 1; object-fit: cover; object-position: 48% 40%; background: #fff; }
.trouble__voices { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trouble__voices li { position: relative; background: #fff; border-radius: var(--radius); padding: 14px 20px; font-size: .92rem; line-height: 1.6; box-shadow: 0 6px 18px rgba(0, 0, 0, .05); }
.trouble__voices li::after { content: ""; position: absolute; top: 50%; margin-top: -8px; border: 8px solid transparent; }
.trouble__voices--left li::after { right: -14px; border-left-color: #fff; }
.trouble__voices--right li::after { left: -14px; border-right-color: #fff; }
.trouble__answer { margin: 64px auto 0; max-width: 880px; display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; background: #fff; border: 2px solid var(--accent); padding: 28px 40px; }
.trouble__answer-person img { display: block; width: 100%; height: auto; border-radius: 50%; background: var(--accent-soft); }
.trouble__answer-title { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; line-height: 1.6; margin-bottom: 8px; }
.trouble__answer-body p:not(.trouble__answer-title) { color: var(--muted); font-size: .9rem; }

/* サービス（入口 → ゴール） ---------- */
.flow { display: grid; grid-template-columns: 1.2fr 60px 1fr; align-items: center; gap: 16px; }
.flow__entries { display: grid; gap: 14px; }
.flow__entry { display: flex; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 28px; text-decoration: none; color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.flow__entry:hover { border-color: var(--accent); box-shadow: var(--shadow); color: var(--ink); }
.flow__entry-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 26px; }
.flow__entry b { display: block; font-family: var(--font-head); font-size: 1.2rem; }
.flow__entry small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.7; }
.flow__arrow { height: 100%; min-height: 120px; position: relative; }
.flow__arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -20px; border-top: 4px solid var(--accent); border-right: 4px solid var(--accent); transform: rotate(45deg); }
.flow__goal { aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px; text-decoration: none; box-shadow: 0 30px 60px rgba(24, 105, 248, .25); transition: background .25s; }
.flow__goal:hover { background: var(--accent-dark); color: var(--on-accent); }
.flow__goal-en { font-family: var(--font-en); letter-spacing: .3em; font-size: .9rem; opacity: .85; }
.flow__goal b { font-family: var(--font-head); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.3; margin: 6px 0 10px; }
.flow__goal small { font-size: .85rem; line-height: 1.7; max-width: 260px; opacity: .95; }
.flow__goal-price { margin-top: 14px; background: #fff; color: var(--accent-ink); border-radius: 999px; padding: 4px 18px; font-weight: 700; font-size: .9rem; }
.flow__goal-price em { font-style: normal; font-family: var(--font-en); font-size: 1.3rem; }

@media (max-width: 1240px) { .hero .btn { padding-inline: 20px; } }
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__main { padding: calc(var(--header-top-h) + 40px) 0 64px; }
  .hero__visual { max-width: 600px; margin: 16px auto 0; width: 100%; }
  .trouble__stage { grid-template-columns: 1fr; }
  .trouble__person { order: -1; width: 240px; margin: 0 auto; }
  .trouble__voices li::after { display: none; }
  .flow { grid-template-columns: 1fr; }
  .flow__arrow { min-height: 50px; }
  .flow__arrow::before { transform: rotate(135deg); margin: -20px 0 0 -14px; }
  .flow__goal { width: min(380px, 100%); margin: 0 auto; }
}
@media (max-width: 640px) {
  .hero__main { padding: calc(var(--header-top-h) + 28px) 0 48px; }
  .hero__main::before { width: 70%; }
  .hero__main::after { width: 60%; }
  .hero__title { font-size: 2.4rem; }
  .hero .btn-group { gap: 8px; }
  .hero .btn { min-height: 52px; padding-inline: 12px; gap: 8px; font-size: .82rem; letter-spacing: .02em; }
  .hero__stats { grid-template-columns: 1fr; padding: 4px 0; }
  .hero__stats li { justify-content: flex-start; padding: 14px 8px; border-left: 0; }
  .hero__stats li:last-child { border-right: 0; }
  .hero__stats li + li { border-top: 1px solid var(--accent-mark); }
  .hero__stats strong { font-size: 2.3rem; min-width: 3.6em; }
  .hero__stats span br { display: none; }
  .trouble { padding: 72px 0; }
  .trouble__answer { grid-template-columns: 1fr; padding: 24px; text-align: center; }
  .trouble__answer-person { width: 140px; margin: 0 auto; }
  .trouble__answer-title { font-size: 1.1rem; }
  .flow__entry { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .hero__bubble { animation: none; } }

/* トップのお知らせ（ヒーローの下に独立して置く） */
.topnews { padding: 88px 0; border-bottom: 1px solid var(--line); }
.topnews__inner { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.topnews__en { font-family: var(--font-en); font-weight: 500; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; letter-spacing: .02em; margin: 0 0 10px; }
.topnews__ja { font-family: var(--font-head); font-weight: 700; margin: 0 0 32px; display: flex; align-items: center; gap: 12px; }
.topnews__ja::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.topnews__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.topnews__list li { border-bottom: 1px solid var(--line); }
.topnews__list a { display: grid; grid-template-columns: 110px auto 1fr 20px; gap: 20px; align-items: center; padding: 24px 8px; text-decoration: none; color: var(--ink); transition: background .25s; }
.topnews__list a::after { content: ""; width: 8px; height: 8px; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); transform: rotate(45deg); justify-self: center; transition: transform .25s; }
.topnews__list a:hover { background: var(--gray); }
.topnews__list a:hover::after { transform: translateX(4px) rotate(45deg); }
.topnews__list .tag { justify-self: start; }
.topnews__list time { font-family: var(--font-en); color: var(--muted); letter-spacing: .06em; font-size: .95rem; }
.topnews__text { font-size: .93rem; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- badges / tags ---------- */
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 4px 12px; background: var(--accent); color: var(--on-accent); letter-spacing: .08em; line-height: 1.5; white-space: nowrap; font-family: var(--font-head); }
.badge--accent { background: var(--accent); color: var(--on-accent); }
.tag { display: inline-block; font-size: .72rem; padding: 1px 10px; background: var(--ink); color: #fff; text-decoration: none; line-height: 1.8; letter-spacing: .06em; }
a.tag:hover { background: var(--accent); color: var(--on-accent); }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); padding: 40px 34px; position: relative; isolation: isolate; }
.card--shadow { border: 0; box-shadow: var(--shadow); }
.card__icon { width: 60px; height: 60px; border: 1.5px solid var(--ink); color: var(--ink); display: grid; place-items: center; font-size: 26px; margin-bottom: 24px; position: relative; background: #fff; }
.card__icon::after { content: ""; position: absolute; right: -7px; bottom: -7px; width: 16px; height: 16px; background: var(--accent); z-index: -1; }
.card__title { font-size: 1.2rem; margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
a.card { display: block; text-decoration: none; color: inherit; transition: border-color .25s, box-shadow .25s; }
a.card:hover { border-color: var(--ink); box-shadow: var(--shadow-l); }
.card__more { margin-top: 20px; font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-en); letter-spacing: .12em; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.card--feature { border: 2px solid var(--ink); }
.card--feature .card__icon { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.card--feature .card__icon::after { background: var(--ink); }
.section--bg .card:not(.card--feature) { border-color: #fff; }
.section--bg a.card:hover { border-color: var(--ink); }

/* ---------- routes（サービスの入口） ---------- */
.routes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.route { position: relative; background: #fff; padding: 44px 36px 36px; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color .25s, box-shadow .25s; border: 1px solid var(--line); overflow: hidden; }
.route:hover { border-color: var(--ink); box-shadow: var(--shadow-l); color: inherit; }
.route__num { position: absolute; right: 24px; top: 18px; font-family: var(--font-en); font-weight: 400; font-size: 1rem; letter-spacing: .2em; line-height: 1; color: var(--muted); }
.route__num::before { content: "SERVICE "; }
.route__head { display: none; }
.route__title { font-size: 1.4rem; margin-bottom: 10px; position: relative; }
.route__flow { font-size: .82rem; font-weight: 700; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.route__flow b { background: var(--accent); color: var(--on-accent); padding: 0 8px; }
.route p { font-size: .93rem; color: #4a4a4a; flex: 1; position: relative; }
.route .card__more { margin-top: auto; align-self: flex-start; }
/* リニューアル（先頭のカード）：淡い青の方眼の面。載せ替えは右の濃い枠で1回だけ見せる */
.route--main {
  grid-column: span 2; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding: 56px 56px 56px 64px; border: 0;
  background:
    linear-gradient(90deg, rgba(24, 105, 248, .1) 1px, transparent 1px) left top / 44px 44px,
    linear-gradient(rgba(24, 105, 248, .1) 1px, transparent 1px) left top / 44px 44px,
    linear-gradient(160deg, #f7faff 0%, #dde9ff 100%);
  isolation: isolate;
}
.route--main::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent); }
.route--main:hover { border-color: transparent; box-shadow: 0 24px 50px rgba(24, 105, 248, .2); }
.route--main .route__title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.route--main p { color: #3d3d3d; }
.route--main .card__more { background: var(--accent); color: var(--on-accent); border: 0; padding: 12px 28px; font-family: var(--font-head); letter-spacing: .1em; transition: background .25s; }
.route--main:hover .card__more { background: var(--accent-dark); }
.route__visual { display: flex; flex-direction: column; align-items: center; gap: 22px; background: var(--dark); padding: 36px 28px 32px; position: relative; }
.route__visual .route__visual-label { flex: none; margin: 0; color: var(--accent-light); font-family: var(--font-head); font-weight: 700; font-size: .92rem; letter-spacing: .06em; text-align: center; }
.route__logos { display: flex; align-items: center; justify-content: center; gap: 24px; width: 100%; }
.route__visual img { height: 52px; width: auto; }
.route__visual .arrow { color: var(--accent-light); font-size: 2.2rem; }
.route__visual .price { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .95rem; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 16px; width: 100%; text-align: center; }
.route__visual .price b { font-family: var(--font-en); font-weight: 500; font-size: 2rem; color: var(--accent-light); margin: 0 2px; }
.converge { margin-top: 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; background: var(--gray); padding: 36px 48px; border-left: 6px solid var(--accent); }
.converge__label { font-family: var(--font-en); font-weight: 500; font-size: 2.8rem; line-height: 1; letter-spacing: .04em; }
.converge__box h3 { font-size: 1.35rem; margin-bottom: 4px; }
.converge__box p { margin: 0; color: #4a4a4a; font-size: .93rem; }
.converge .btn--white { background: var(--ink); border-color: var(--ink); color: #fff; }
.converge .btn--white:hover { background: #fff; color: var(--ink); }

/* ---------- problems ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding: 14px 18px 14px 54px; background: #fff; line-height: 1.6; }
.checklist li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 1.5px solid var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M11 5h2v9h-2zm0 11h2v2h-2z'/%3E%3C/svg%3E") center/14px no-repeat; }
.checklist--ok li::before { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23222'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center/14px no-repeat; }
.section:not(.section--bg) .checklist li { background: var(--gray); }

/* ---------- campaign（載せ替えの帯） ---------- */
.campaign { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; background: var(--dark); color: #fff; padding: 64px; }
.campaign h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 18px; }
.campaign p { color: #d0d0d0; }
.campaign__logos { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 8px 0 32px; padding: 28px 16px; border: 1px solid rgba(255, 255, 255, .2); }
.campaign__logos img { height: 44px; width: auto; }
.campaign__logos .arrow { color: var(--accent-light); font-size: 2rem; }
.lp-cta .heading__en { font-size: clamp(1.8rem, 4vw, 3rem); }
.lp-cta p { color: #d0d0d0; }
.lp-cta .campaign__logos { max-width: 560px; margin-inline: auto; }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; padding: 0 0 30px; text-align: center; display: flex; flex-direction: column; position: relative; border: 1px solid var(--line); }
.section--bg .plan { border-color: #fff; }
.plan__top { padding: 30px 16px 18px; margin: 0 22px 22px; border-bottom: 1px solid var(--line); }
/* おすすめの枠は濃い線。淡い背景のセクションで白い枠にするルール（.section--bg .plan）より後に、同じ強さで書く */
.plan--recommend, .section--bg .plan--recommend { border: 2px solid var(--ink); }
.plan--recommend .plan__top { border-bottom-color: var(--ink); }
.plan__label { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); }
.plan__name { font-family: var(--font-en); font-weight: 500; letter-spacing: .2em; font-size: .85rem; margin: 0; color: var(--muted); }
.plan__ja { font-size: 1.3rem; margin: 0; }
.plan__price { font-family: var(--font-en); font-size: 2.7rem; font-weight: 500; line-height: 1.1; margin: 0 0 2px; padding: 0 20px; }
.plan__price small { font-family: var(--font-head); font-size: .9rem; font-weight: 700; }
.plan--recommend .plan__price { background: linear-gradient(transparent 68%, var(--accent-mark) 68%); display: inline-block; margin-inline: auto; padding: 0 6px; }
.plan__tax { font-size: .75rem; color: var(--muted); margin: 0 0 18px; }
.plan__for { font-size: .84rem; color: #4a4a4a; border-top: 1px solid var(--line); padding: 16px 0 0; margin: auto 22px 0; text-align: left; }
.plan__points { list-style: none; padding: 0 22px; margin: 0 0 18px; text-align: left; font-size: .87rem; }
.plan__points li { padding: 6px 0 6px 24px; position: relative; }
.plan__points li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 16px; }
.table { font-size: .93rem; background: #fff; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 16px 18px; text-align: left; vertical-align: top; line-height: 1.75; }
.table thead th { background: var(--gray-2); font-weight: 700; white-space: nowrap; border-bottom: 2px solid var(--ink); }
.table tbody th { background: var(--gray); font-weight: 700; width: 28%; }
.table td.price, .table th.price { white-space: nowrap; text-align: right; font-weight: 700; font-family: var(--font-head); }
.table--compare { min-width: 760px; }
.table--compare th, .table--compare td { text-align: center; vertical-align: middle; }
.table--compare tbody th { text-align: left; width: 30%; }
.table--compare thead th:first-child { text-align: left; }
.table--compare .is-recommend { background: var(--accent-soft); }
.table--compare thead .is-recommend { background: var(--accent); color: var(--on-accent); }
.mark-o { font-weight: 700; font-size: 1.1rem; }
.mark-t { color: var(--muted); font-weight: 700; }
.mark-x { color: #c4c4c4; }
.notes { list-style: none; padding: 0; font-size: .82rem; color: var(--muted); }
.notes li { padding-left: 1.2em; text-indent: -1.2em; margin-bottom: 4px; }
.notes li::before { content: "※"; }
.dl { display: grid; grid-template-columns: 230px 1fr; margin: 0; background: #fff; border-top: 1px solid var(--ink); }
.dl dt, .dl dd { margin: 0; padding: 22px 20px; border-bottom: 1px solid var(--line); }
.dl dt { font-weight: 700; font-family: var(--font-head); }
.dl dd ul { margin: 0; }

/* ---------- reason（写真の帯＋白いパネル） ---------- */
.reason { position: relative; padding: 0 0 120px; }
.reason__photo { height: clamp(260px, 36vw, 480px); background: var(--gray-2) url("../img/fukuoka.jpg") center 55% / cover no-repeat; }
.reason__box { position: relative; background: #fff; margin-top: -160px; padding: 80px clamp(20px, 5vw, 72px) 0; }
.strengths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 40px; }
.strength { position: relative; border: 1px solid var(--ink); padding: 48px 36px 36px; background: #fff; }
.strength::after { content: ""; position: absolute; inset: 10px -10px -10px 10px; background: var(--gray-2); z-index: -1; }
.strengths { isolation: isolate; }
.strength__num { position: absolute; top: -.8em; left: 28px; background: #fff; padding: 0 14px; font-family: var(--font-en); font-weight: 500; font-size: 1.5rem; line-height: 1.5; letter-spacing: .1em; }
.strength__num::before { content: "POINT "; font-size: .8rem; letter-spacing: .2em; color: var(--muted); }
.strength h3 { font-size: 1.3rem; margin-bottom: 12px; }
.strength p { margin: 0; color: #4a4a4a; font-size: .95rem; }
.clients { margin-top: 72px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; border-top: 1px solid var(--line); padding-top: 40px; }
.clients h3 { font-size: 1.05rem; margin: 0; }
.clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.clients li { background: var(--gray); padding: 6px 18px; font-size: .9rem; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.number { text-align: center; padding: 28px 12px; background: var(--gray); }
.number strong { display: block; font-family: var(--font-en); font-weight: 500; font-size: 2.6rem; line-height: 1.2; }
.number span { font-size: .85rem; color: var(--muted); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; position: relative; }
.step { display: grid; grid-template-columns: 88px 1fr; gap: 28px; padding: 0 0 32px; position: relative; }
.step::before { content: ""; position: absolute; left: 43px; top: 88px; bottom: 0; width: 1px; background: var(--ink); }
.step:last-child::before { display: none; }
.step__num { width: 88px; height: 88px; border: 1.5px solid var(--ink); background: #fff; display: grid; place-items: center; text-align: center; font-family: var(--font-en); font-weight: 500; line-height: 1; font-size: 2rem; }
.step__num small { display: block; font-size: .62rem; letter-spacing: .2em; color: var(--muted); margin-bottom: 4px; }
.step > div:last-child { background: #fff; padding: 22px 28px; align-self: start; }
.section:not(.section--bg) .step > div:last-child { background: var(--gray); }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: .93rem; color: #4a4a4a; }
.step--goal .step__num { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.step--goal .step__num small { color: var(--on-accent); }
/* ゴールの段は白地に枠。白い背景のセクションでグレーにするルール（.section:not(.section--bg) .step > div:last-child）と同じ強さで、後に書く */
.step--goal > div:last-child, .section:not(.section--bg) .step--goal > div:last-child { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }

/* ---------- works ---------- */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 32px; }
.work { text-decoration: none; color: inherit; display: block; position: relative; }
.work__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-2); margin-bottom: 16px; position: relative; }
.work__img::after { content: "VIEW MORE"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(34, 34, 34, .55); color: #fff; font-family: var(--font-en); letter-spacing: .3em; font-size: 1rem; opacity: 0; transition: opacity .3s; }
.work:hover .work__img::after { opacity: 1; }
.work__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.work:hover .work__img img { transform: scale(1.05); }
.work__name { font-weight: 500; font-size: .98rem; line-height: 1.6; margin: 0; }
.work:hover .work__name { color: var(--accent-ink); }
.work__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
/* 実績詳細：上に PC版（1120×640）とスマホ版（380×574）を高さをそろえて並べ、下に本文。
   リニューアル前の画像（.work-before）があるときだけ、本文の右に並べる */
.work-detail { display: grid; gap: 64px; }
.devices { display: grid; grid-template-columns: 2.64fr 1fr; grid-template-rows: auto auto; column-gap: 32px; }
.devices figure { display: grid; grid-row: span 2; grid-template-rows: subgrid; min-width: 0; }
.devices figure, .work-before { margin: 0; }
.devices img, .work-before img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.devices img { height: 100%; object-fit: cover; object-position: top; }
.devices figcaption, .work-before figcaption { font-family: var(--font-en); font-size: .78rem; letter-spacing: .2em; color: var(--muted); margin-bottom: 10px; }
.work-before figcaption span { font-family: var(--font); letter-spacing: .05em; margin-left: 10px; }
.work-body { display: grid; gap: 56px; align-items: start; max-width: 880px; }
.work-body:has(.work-before) { grid-template-columns: 1fr 1fr; max-width: none; }
.work-detail h2 { font-size: 1.5rem; }
.dl.dl--short { grid-template-columns: 80px 1fr; }
.prevnext { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 56px; }
/* 一覧のページ送り（MODX の Ditto が出す）は、1ページだけのとき今のページの番号しか出ないので隠す */
.prevnext:not(:has(a)) { display: none; }

/* ---------- column / news ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 32px; }
.post { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.post__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-2); margin-bottom: 16px; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .post__img img { transform: scale(1.05); }
.post__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .78rem; color: var(--muted); margin-bottom: 6px; }
.post__meta time { font-family: var(--font-en); letter-spacing: .06em; margin-right: 4px; }
.post__title { font-weight: 500; font-family: var(--font); line-height: 1.7; font-size: .98rem; margin: 0; }
.post:hover .post__title { color: var(--accent-ink); }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.news-list li { display: grid; grid-template-columns: 210px 1fr; gap: 20px; padding: 26px 8px; border-bottom: 1px solid var(--line); }
.news-list__meta { display: flex; align-items: center; gap: 12px; align-self: start; }
.news-list time { width: 104px; flex-shrink: 0; font-family: var(--font-en); color: var(--muted); font-size: .95rem; letter-spacing: .06em; }
.news-list p { margin: 0; font-size: .95rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.split--wide { grid-template-columns: 1.4fr 1fr; }
.more { text-align: center; margin: 64px 0 0; }

.layout-side { display: grid; grid-template-columns: 1fr 290px; gap: 72px; align-items: start; }
/* 列の幅を中身（記事の中の長いコードなど）に合わせて広げない */
.layout-side > * { min-width: 0; }
.side h2 { font-size: 1rem; padding: 0 0 10px; margin-bottom: 4px; border-bottom: 1px solid var(--ink); }
.side ul { list-style: none; padding: 0; margin: 0 0 40px; font-size: .88rem; }
.side li { border-bottom: 1px solid var(--line); }
.side li a { display: block; padding: 11px 4px; color: var(--ink); text-decoration: none; line-height: 1.6; }
.side li a:hover { color: var(--accent-ink); }
.side .side-cta { background: var(--gray); padding: 30px 22px; text-align: center; border-top: 4px solid var(--accent); }
.side .side-cta p { font-size: .88rem; }
.tags-filter { display: flex; flex-wrap: wrap; gap: 8px; }
/* アーカイブ：年をクリックで月を開く（checkbox ＋ label） */
#archive .toggle { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
#archive .title { display: flex; justify-content: space-between; align-items: center; padding: 11px 4px; cursor: pointer; line-height: 1.6; user-select: none; }
#archive .title::after { content: ""; width: 7px; height: 7px; margin-right: 6px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
#archive .title:hover { color: var(--accent-ink); }
#archive .toggle:focus-visible + .title { outline: 2px solid var(--accent); outline-offset: -2px; }
#archive .toggle:checked + .title { font-weight: 700; }
#archive .toggle:checked + .title::after { transform: translateY(2px) rotate(-135deg); }
#archive .content { display: none; margin: 0 0 10px; padding: 4px 0; background: var(--gray); }
#archive .toggle:checked ~ .content { display: block; }
#archive .content li { border-bottom: 0; }
#archive .content a { padding: 6px 12px 6px 28px; position: relative; font-size: .84rem; }
#archive .content a::before { content: ""; position: absolute; left: 14px; top: 50%; width: 6px; height: 1px; background: var(--muted); }

/* ---------- article ---------- */
.article__head { margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--ink); }
.article__title { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
.prose { font-size: 1rem; }
.prose h2 { font-size: 1.4rem; padding: 12px 18px; background: var(--gray); border-left: 4px solid var(--accent); margin: 2.4em 0 1em; }
.prose h3 { font-size: 1.2rem; margin: 2em 0 .8em; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.prose h4, .prose h5 { font-size: 1.05rem; margin: 1.8em 0 .6em; }
.prose pre { background: #1f1f1f; color: #e8e8e8; padding: 22px; overflow-x: auto; font-size: .85rem; line-height: 1.7; border-left: 4px solid var(--accent); }
.prose code { font-family: Consolas, Menlo, monospace; }
.prose table th, .prose table td { border: 1px solid var(--line); padding: 10px 12px; }
.prose blockquote { margin: 1.5em 0; padding: 16px 20px; background: var(--gray); border-left: 4px solid var(--line); }
.share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; }
.share a { text-decoration: none; padding: 6px 18px; border: 1px solid var(--ink); color: var(--ink); font-weight: 700; }
.share a:hover { background: var(--ink); color: #fff; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); }
.section--bg .faq details { border-color: #fff; }
.faq details[open] { border-color: var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 76px; font-weight: 700; font-family: var(--font-head); position: relative; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 18px; top: 50%; width: 38px; height: 38px; margin-top: -19px; display: grid; place-items: center; font-family: var(--font-en); font-weight: 500; background: var(--accent); color: var(--on-accent); font-size: 1.2rem; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { padding: 4px 28px 26px 76px; position: relative; color: #4a4a4a; }
.faq__a::before { content: "A"; position: absolute; left: 18px; top: 0; width: 38px; height: 38px; display: grid; place-items: center; font-family: var(--font-en); font-weight: 500; border: 1.5px solid var(--ink); color: var(--ink); font-size: 1.2rem; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- compare ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.compare--5 { grid-template-columns: 1fr auto 1fr auto 1fr; }
.compare__arrow { display: grid; place-items: center; font-size: 2.2rem; }

/* ---------- misc ---------- */
.note-box { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 24px 28px; font-size: .93rem; }
.note-box--gray { background: var(--gray); border-left-color: var(--ink); }
.note-box p:last-child { margin-bottom: 0; }
.lead { font-size: 1.08rem; line-height: 2.1; font-weight: 500; }
.subnav-bar { background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 50; margin-top: 24px; }
.subnav { display: flex; flex-wrap: nowrap; gap: 0; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 16px 20px; text-decoration: none; color: var(--muted); font-size: .86rem; font-weight: 700; white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- CTA（全ページ共通） ---------- */
.cta { background: var(--gray-2); padding: 100px 0; }
.cta__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; background: #fff; padding: 72px clamp(24px, 5vw, 80px); }
.cta .heading__en { margin-bottom: 14px; }
.cta h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.cta p { color: #4a4a4a; }
.cta__box { display: grid; gap: 14px; padding-left: 56px; border-left: 1px solid var(--line); }
.cta__tel { text-decoration: none; color: var(--ink); display: block; padding-bottom: 10px; }
.cta__tel strong { font-family: var(--font-en); font-weight: 500; font-size: 2.6rem; display: flex; align-items: center; gap: 12px; line-height: 1.2; letter-spacing: .03em; }
.cta__tel strong .svg { font-size: 1.8rem; }
.cta__tel span { font-size: .8rem; color: var(--muted); }
.cta__visit { font-size: .9rem; display: flex; gap: 8px; align-items: center; margin: 24px 0 0; font-weight: 700; }

/* ---------- forms ---------- */
.form-row { display: grid; grid-template-columns: 230px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.form-row:first-child { border-top: 1px solid var(--ink); }
.form-row > label, .form-row > .form-label { font-weight: 700; font-family: var(--font-head); padding-top: 12px; }
.req { display: inline-block; margin-left: 8px; font-size: .7rem; background: var(--accent); color: var(--on-accent); padding: 1px 8px; vertical-align: 2px; font-family: var(--font); }
.opt { display: inline-block; margin-left: 8px; font-size: .7rem; background: #bdbdbd; color: #fff; padding: 1px 8px; vertical-align: 2px; font-family: var(--font); }
.form-row input[type="text"], .form-row input[type="email"], .form-row input[type="tel"], .form-row select, .form-row textarea {
  width: 100%; font: inherit; padding: 13px 15px; border: 1px solid #cfcfcf; border-radius: 0; background: #fff;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(24, 105, 248, .25); }
.form-row input.short { max-width: 200px; }
.form-row .help { font-size: .8rem; color: var(--muted); margin: 0 0 6px; }
.form-row input + input { margin-top: 10px; }
.form-steps { display: flex; justify-content: center; list-style: none; padding: 0; margin: 0 0 40px; }
/* 確認・完了の画面は #form-steps の位置から表示する。上に貼り付くヘッダーの下に隠れないよう、その高さぶん空ける */
#form-steps { scroll-margin-top: calc(var(--header-h) + 32px); }
.form-steps li { flex: 1; max-width: 200px; text-align: center; padding: 12px; background: var(--gray-2); color: var(--muted); font-weight: 700; font-size: .88rem; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%); margin-left: -6px; }
.form-steps li:first-child { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); margin-left: 0; }
.form-steps li.is-current { background: var(--accent); color: var(--on-accent); }
.contact-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.contact-way { display: block; background: #fff; border: 1px solid var(--line); color: var(--ink); padding: 30px 20px; text-align: center; text-decoration: none; transition: border-color .25s; }
.contact-way:hover { color: var(--ink); border-color: var(--ink); }
.contact-way .svg { display: block; margin: 0 auto 10px; font-size: 2rem; }
.contact-way h2 { font-size: 1rem; margin: 0 0 4px; }
.contact-way strong { font-family: var(--font-en); font-weight: 500; font-size: 1.6rem; letter-spacing: .03em; display: block; }
.contact-way span { font-size: .8rem; color: var(--muted); }
.contact-way--line .svg { color: #06c755; }
.offer-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border: 1px solid var(--ink); padding: 20px 26px; margin-bottom: 48px; text-decoration: none; color: var(--ink); font-weight: 700; font-family: var(--font-head); background: #fff; }
.offer-link small { display: block; font-weight: 400; font-family: var(--font); color: var(--muted); font-size: .82rem; }
.offer-link:hover { background: var(--gray); color: var(--ink); }
.privacy-box { max-height: 280px; overflow-y: auto; border: 1px solid var(--line); padding: 22px 26px; font-size: .85rem; background: var(--gray); margin: 36px 0; }
.privacy-box h2 { font-size: 1rem; }
.privacy-box h3 { font-size: .92rem; margin: 1.2em 0 .3em; }
.honeypot { display: none; }
/* 入力の誤り・確認画面（MODX の cfFormMailer が出す） */
.form-error { margin: 8px 0 0; font-size: .85rem; font-weight: 700; color: var(--ink); }
.form-error::before { content: "！"; display: inline-block; width: 1.4em; height: 1.4em; margin-right: 6px; background: var(--ink); color: #fff; text-align: center; line-height: 1.4; font-size: .78rem; vertical-align: 1px; }
p.form-error[role="alert"] { margin: 0 0 32px; padding: 14px 18px; background: var(--accent-soft); border-left: 4px solid var(--ink); }
.form-row .invalid { border-color: var(--ink); border-width: 2px; }
.form-value { padding-top: 12px; line-height: 1.8; }
.form-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 48px; }
.form-actions form { margin: 0; }

/* ---------- company ---------- */
.greeting { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }
.map { aspect-ratio: 16 / 8; overflow: hidden; filter: grayscale(.6); }
.map iframe { width: 100%; height: 100%; border: 0; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.timeline strong { display: block; font-family: var(--font-en); font-weight: 500; font-size: 2rem; line-height: 1.2; }
.photo-band { height: 380px; background: url("../img/fukuoka.jpg") center 60% / cover no-repeat; position: relative; }
.photo-band p { position: absolute; right: 24px; bottom: 16px; color: #fff; font-family: var(--font-en); letter-spacing: .2em; margin: 0; font-size: .8rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: #bdbdbd; font-size: .86rem; }
.footer__main { padding: 80px 0 56px; display: grid; grid-template-columns: 1.2fr 2fr; gap: 64px; }
.footer__logo img { width: 230px; height: auto; margin-bottom: 24px; }
.footer__about p { margin-bottom: .8em; line-height: 1.9; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer__nav h2 { color: #fff; font-size: .95rem; letter-spacing: .16em; margin-bottom: 16px; font-family: var(--font-en); font-weight: 500; }
.footer__nav ul { list-style: none; padding: 0; margin: 0; }
.footer__nav li { margin-bottom: 8px; }
.footer__nav a { color: #d6d6d6; text-decoration: none; }
.footer__nav a:hover { color: var(--accent-light); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .76rem; }
.pagetop { position: fixed; right: 20px; bottom: 20px; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; text-decoration: none; opacity: 0; visibility: hidden; transition: .3s; z-index: 90; font-size: 1.3rem; }
.pagetop:hover { background: var(--accent); color: var(--on-accent); }
.pagetop.is-show { opacity: 1; visibility: visible; }
.sp-fixed { display: none; }
.footer__cookie { padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; color: #d6d6d6; cursor: pointer; text-align: left; }
.footer__cookie:hover { color: var(--accent-light); }

/* ---------- Cookie の同意の帯（MODX のチャンク cookie。動きは site.js） ---------- */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; background: #fff; border-top: 1px solid var(--ink); box-shadow: 0 -4px 16px rgba(0, 0, 0, .08); }
.cookie[hidden] { display: none; }
.cookie__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px 32px; padding: 18px 0; }
.cookie__text { margin: 0; font-size: .85rem; line-height: 1.8; }
.cookie__btns { display: flex; gap: 10px; flex-shrink: 0; }
.has-cookie { padding-bottom: 110px; }
.has-cookie .pagetop.is-show { opacity: 0; visibility: hidden; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s, transform .9s; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  /* 動きを止める。全ページ body に id="top" があるので、ID の強さでクラスのルールより優先させる */
  #top * { transition: none; }
}

/* 説明表（項目名＋説明文） */
.table--spec { font-size: .95rem; border-top: 1px solid var(--ink); }
.table--spec thead th:first-child { width: 310px; }
.table--spec tbody th { width: 310px; vertical-align: middle; padding: 18px 20px 18px 24px; font-family: var(--font-head); font-weight: 700; line-height: 1.6; position: relative; background: var(--gray); }
.table--spec tbody th::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; background: var(--accent); }
.table--spec td { vertical-align: middle; padding: 18px 24px; color: #3d3d3d; line-height: 1.85; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .campaign, .cta__grid, .split, .split--wide, .work-body:has(.work-before), .greeting, .layout-side { grid-template-columns: 1fr; }
  .route--main { grid-template-columns: 1fr; }
  .plans, .grid--4, .numbers { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .works-grid, .posts { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr; }
  .campaign { padding: 48px 32px; }
  .compare--5 { grid-template-columns: 1fr; }
  .compare--5 .compare__arrow { transform: rotate(90deg); }
  .topnews__inner { grid-template-columns: 1fr; gap: 28px; }
  .topnews__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
  .topnews__head .btn { margin-left: auto; }
  .topnews__ja { margin: 0; }
  .converge { grid-template-columns: 1fr; gap: 14px; }
  .cta__box { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 80px 0; }
  .heading { margin-bottom: 40px; }
  .heading__en { font-size: 2.4rem; }
  .devices { column-gap: 12px; }
  .devices figcaption { font-size: .62rem; letter-spacing: .05em; margin-bottom: 6px; }
  .dl.dl--short { grid-template-columns: 64px 1fr; }
  .dl.dl--short dt { padding: 16px 0 16px 12px; border-bottom: 1px solid var(--line); }
  .dl.dl--short dd { padding: 16px 12px; word-break: break-all; }
  .topnews { padding: 64px 0; }
  .topnews__list a { grid-template-columns: auto 1fr 16px; gap: 6px 12px; padding: 18px 4px; }
  .topnews__text { grid-column: 1 / 3; -webkit-line-clamp: 2; }
  .routes, .plans, .grid--2, .grid--3, .grid--4, .works-grid, .posts, .footer__nav, .contact-ways, .strengths { grid-template-columns: 1fr; }
  .route, .route--main { grid-column: auto; padding: 40px 24px 28px; }
  .route--main { padding-left: 30px; }
  .route__visual img { height: 36px; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .campaign__logos img { height: 30px; }
  .compare { grid-template-columns: 1fr; }
  .compare__arrow { transform: rotate(90deg); }
  .dl, .form-row { grid-template-columns: 1fr; }
  .dl dt { padding-bottom: 6px; border-bottom: 0; }
  .dl dd { padding-top: 0; }
  .form-row { gap: 6px; }
  .form-row > label, .form-row > .form-label { padding-top: 0; }
  .news-list li { grid-template-columns: 1fr; gap: 8px; }
  .strength { padding: 40px 22px 28px; }
  .clients { grid-template-columns: 1fr; gap: 16px; }
  .reason__box { margin-top: -80px; padding-top: 56px; }
  .step { grid-template-columns: 56px 1fr; gap: 14px; }
  .step::before { left: 27px; top: 56px; }
  .step__num { width: 56px; height: 56px; font-size: 1.3rem; }
  .card { padding: 32px 22px; }
  .table tbody th { width: auto; }
  .cta { padding: 0 0 56px; }
  .cta .wrap { width: 100%; }
  .cta__grid { padding: 64px 20px; gap: 32px; }
  .cta__tel strong { font-size: 2rem; }
  .page-head { padding-top: 110px; }
  .page-head > .wrap { max-width: none; margin-right: 32px; padding: 36px 24px 4px 20px; }
  .converge { padding: 28px 22px; }
  .sp-fixed { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; box-shadow: 0 -4px 16px rgba(0, 0, 0, .1); }
  .sp-fixed a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: .92rem; }
  .sp-fixed a:first-child { background: var(--ink); }
  .sp-fixed a:last-child { background: var(--accent); color: var(--on-accent); }
  .footer { padding-bottom: 56px; }
  .pagetop { bottom: 72px; }
  .cookie { bottom: 52px; }
  .cookie__inner { flex-direction: column; align-items: stretch; padding: 14px 0; }
  .cookie__btns .btn { flex: 1; padding-inline: 12px; }
  .has-cookie { padding-bottom: 230px; }
  .table--spec thead { display: none; }
  .table--spec, .table--spec tbody, .table--spec tr, .table--spec th, .table--spec td { display: block; width: 100%; }
  .table--spec tbody tr { border-bottom: 1px solid var(--line); }
  /* 幅は、PC 用の .table--spec tbody th { width: 310px } と同じ強さで上書きする */
  .table--spec tbody th { border-bottom: 0; padding: 14px 16px 6px 20px; width: 100%; }
  .table--spec thead th:first-child { width: 100%; }
  .table--spec tbody th::before { top: 14px; bottom: auto; height: 1.4em; }
  .table--spec td { border-bottom: 0; padding: 4px 16px 16px 20px; font-size: .9rem; }
}
.campaign__logos img, .route__visual img { max-width: 40%; height: auto; max-height: 44px; object-fit: contain; }
/* 狭い枠の中の英字見出しは小さく */
.card .heading__en, .side .heading__en, .greeting aside .heading__en { font-size: clamp(1.8rem, 3vw, 2.4rem); }
