/* 自動生成（static/ → wordpress/build_theme.py）。このファイルは直接直さず、static/ を直して作り直す */
/* =========================================================
   UpCore HP トップページ
   仕様：../spec.md
   ========================================================= */

/* ---------- 色・余白（Figmaの変数と同じ名前） ---------- */
:root {
  --navy-900: #081232;
  --navy-600: #3a4b6e;
  --blue-800: #0443ba;
  --blue-700: #0559f3;
  --blue-600: #0470f0;
  --blue-500: #0a9bfa;
  --blue-400: #5ebafd;
  --blue-300: #8cccfc;
  --blue-100: #d0ecfc;
  --blue-50: #dcf0fc;
  --gold-500: #c09848;
  --yellow-400: #fdc51b;
  --line-green: #06c755;
  --bg-base: #fdfcfa;
  --bg-white: #ffffff;
  --border-light: #e6eef4;

  --font-sans: "Noto Sans JP", sans-serif;

  /* 左右の余白：PC（1024px〜）は40〜120（中身は最大1200） */
  --gutter: 40px;
  --container: 1200px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  /* ページ内リンクで移動したとき、固定したヘッダーに見出しが隠れないようにする */
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--navy-900);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 30px;
  -webkit-font-smoothing: antialiased;
  /* 日本語を文節で折り返す（対応していないブラウザは通常の折り返し） */
  word-break: auto-phrase;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* ---------- 改行：Figmaの7サイズと同じ位置で改行する ----------
   <br class="b-xs b-s …"> は、書いた範囲の画面幅でだけ改行する。
   xs：〜374px（Figma 320）／s：375〜424px（375）／m：425〜767px（425）
   tb：768〜1023px（768）／pc：1024px〜（1024・1440・2560）
   各範囲の一番狭い幅で1行に収まるように改行を入れてあるので、範囲の中で広がっても行は増えない */
br[class^="b-"] {
  display: none;
}

@media (max-width: 374px) {
  br.b-xs { display: inline; }
}

@media (min-width: 375px) and (max-width: 424px) {
  br.b-s { display: inline; }
}

@media (min-width: 425px) and (max-width: 767px) {
  br.b-m { display: inline; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  br.b-tb { display: inline; }
}

@media (min-width: 1024px) {
  br.b-pc { display: inline; }
}

/* ---------- 部品：ラベル（縦線つき） ---------- */
.label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  letter-spacing: 0.02em;
}

.label::before {
  content: "";
  flex: none;
  width: 4px;
  height: 24px;
  border-radius: 2px;
  background: var(--blue-500);
}

/* ---------- 部品：LINEボタン ---------- */
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--line-green);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-line:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
}

.btn-line__arrow {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-line--lg {
  min-width: 440px;
  height: 100px;
  padding: 0 56px;
  gap: 20px;
  border-radius: 24px;
  font-size: 26px;
  line-height: 36px;
  box-shadow: 0 10px 24px rgba(5, 153, 77, 0.22);
}

.btn-line--lg .btn-line__arrow {
  width: 18px;
  height: 15px;
}

.btn-line--sm {
  height: 60px;
  padding: 0 28px;
  gap: 10px;
  border-radius: 16px;
  font-size: 18px;
  line-height: 26px;
  box-shadow: 0 6px 14px rgba(5, 153, 77, 0.22);
}

.btn-line--sm .btn-line__arrow {
  width: 12px;
  height: 10px;
}

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-base);
  /* 下の線は高さ88の内側に引く（Figmaと同じ） */
  box-shadow: inset 0 -1px 0 var(--border-light);
}

.site-header__inner {
  display: flex;
  align-items: center;
  height: 88px;
}

.site-header__logo img {
  width: 190px;
  height: auto;
}

.site-header__nav {
  display: flex;
  gap: 40px;
  margin-left: auto;
}

.site-header__nav a {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.site-header__nav a:hover {
  color: var(--blue-700);
}

.site-header__line {
  margin-left: 40px;
}

/* =========================================================
   01 ファーストビュー
   PC（1024〜1439px）は、1440pxの形をそのまま画面幅に合わせて縮める
   （キャッチコピー・画像の大きさと位置を vw で指定し、1440px以上は Figma の値で止める）
   ========================================================= */
.fv {
  position: relative;
  overflow: clip;
}

.fv__circle {
  position: absolute;
  left: -48px;
  top: 660px;
  width: 336px;
  height: 336px;
  border-radius: 50%;
  background: var(--blue-50);
}

.fv__inner {
  position: relative;
  padding-bottom: 94px;
}

.fv__body {
  position: relative;
  z-index: 1;
  padding-top: 46px;
}

/* キャッチコピー：助詞を小さく、「核」を一番大きくグラデーション */
.fv__catch {
  position: relative;
  top: max(-4px, -0.2778vw); /* Figmaと文字の上下位置を合わせる（行の余白の計算の違い） */
  margin-top: 22px;
  margin-left: max(-8px, -0.5556vw);
  font-weight: 900;
  line-height: min(128px, 8.8889vw);
  letter-spacing: 0;
  white-space: nowrap;
  /* 写真の上でも読めるように白くふちどる（Figmaの白い影） */
  filter:
    drop-shadow(0 0 3px #fff)
    drop-shadow(0 0 6px #fff)
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.9));
}

/* 大きさの違う文字を混ぜると行が広がるので、1行の高さを固定する */
.fv__catch-line {
  position: relative;
  display: block;
  height: min(128px, 8.8889vw);
}

.fv__catch-line--2 {
  margin-top: min(12px, 0.8333vw);
}

.c-normal {
  font-size: min(96px, 6.6667vw);
}

.c-particle {
  font-size: min(77px, 5.3472vw);
}

.c-core {
  font-size: min(125px, 8.6806vw);
  background: linear-gradient(to bottom, #0a5cf0, var(--blue-800));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.c-blue {
  color: var(--blue-700);
}

.fv__underline {
  position: absolute;
  z-index: -1;
  left: min(10px, 0.6944vw);
  top: min(110px, 7.6389vw);
  width: min(630px, 43.75vw);
  height: min(38px, 2.6389vw);
}

.fv__lead {
  margin-top: 48px;
  font-size: 18px;
  font-weight: 500;
  line-height: 36px;
}

.fv__cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
}

.fv__note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-600);
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
}

.fv__note strong {
  color: var(--navy-900);
  font-weight: 700;
}

.fv__check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-100);
}

.fv__check svg {
  width: 9px;
  height: 7px;
  fill: none;
  stroke: var(--blue-700);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 制作物の画像：1440pxでは右端から画面の外へはみ出させる。
   それより広い画面では中身（1200px）と一緒に動かし、右に余白ができてよい（2026-09-27 本人決定・2560pxの案A） */
.fv__visual {
  position: absolute;
  left: min(540px, 37.5vw);
  top: min(91px, 6.3194vw);
  width: min(840px, 58.3333vw);
}

.fv__visual img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

/* =========================================================
   02 支援先スライド
   ========================================================= */
.clients {
  position: relative;
  height: 132px;
  background: var(--bg-white);
  border-block: 1px solid var(--border-light);
}

/* ロゴが見える範囲（PCは1156pxを真ん中に） */
.clients__viewport {
  position: absolute;
  inset: 0;
  left: 50%;
  width: min(1156px, calc(100% - 144px));
  transform: translateX(-50%);
  overflow: hidden;
}

.clients__track {
  display: flex;
  gap: 64px;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

.clients__track li {
  flex: none;
  display: flex;
  align-items: center;
  height: 130px;
}

.clients__track img {
  width: 180px;
  height: 60px;
  object-fit: contain;
}

/* 背景色のあるロゴだけ角を丸くする（Figmaどおり） */
.clients__track img.is-rounded {
  border-radius: 6px;
}

.clients__arrow {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: #b8c2d1;
  cursor: pointer;
  transform: translateY(-50%);
}

.clients__arrow:hover {
  color: var(--blue-700);
}

.clients__arrow svg {
  width: 10px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.clients__arrow--prev {
  left: 12px;
}

.clients__arrow--next {
  right: 12px;
}

/* =========================================================
   スマホのメニュー（≡）※PCでは表示しない
   ========================================================= */
.site-header__menu-btn,
.sp-menu {
  display: none;
}

/* =========================================================
   スマホ（〜767px）Figma 375 基準
   ========================================================= */
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    /* 画面の端から中身の端まで。520pxより広い画面では中身を480pxにして真ん中に置くので、そのぶん広がる */
    --edge: max(var(--gutter), (100vw - 480px) / 2);
  }

  /* 画面が広いスマホ（〜767px）でも、中身は最大480px（Figma 425の中身385pxより少し広いまで）。
     ボタン・カード・写真が横に伸びすぎないように */
  .container {
    width: min(100% - var(--gutter) * 2, 480px);
  }

  html {
    scroll-padding-top: 64px;
  }

  /* ---------- 部品 ---------- */
  .label {
    gap: 8px;
    font-size: 13px;
    line-height: 19px;
  }

  .label::before {
    width: 3px;
    height: 17px;
  }

  .btn-line--lg {
    min-width: 0;
    width: 100%;
    height: 76px;
    padding: 0 24px;
    gap: 15px;
    border-radius: 18px;
    font-size: 20px;
    line-height: 28px;
    box-shadow: 0 8px 18px rgba(5, 153, 77, 0.22);
  }

  .btn-line--lg .btn-line__arrow {
    width: 14px;
    height: 11px;
  }

  /* ---------- ヘッダー ---------- */
  .site-header__inner {
    width: 100%;
    height: 64px;
    padding: 0 12px 0 20px;
  }

  .site-header__logo img {
    width: 130px;
  }

  .site-header__nav {
    display: none;
  }

  /* Figmaは約11.9pxで小さいため、12pxに上げる */
  .site-header__line {
    height: 40px;
    margin-left: auto;
    padding: 0 18px;
    gap: 6px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 17px;
    box-shadow: 0 4px 9px rgba(5, 153, 77, 0.22);
  }

  .site-header__line .btn-line__arrow {
    width: 8px;
    height: 7px;
  }

  .site-header__menu-btn {
    position: relative;
    display: block;
    width: 32px;
    height: 40px;
    margin-left: 8px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .site-header__menu-btn span {
    position: absolute;
    left: 5px;
    width: 22px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--navy-900);
  }

  .site-header__menu-btn span:nth-child(1) { top: 12px; }
  .site-header__menu-btn span:nth-child(2) { top: 20px; }
  .site-header__menu-btn span:nth-child(3) { top: 28px; }

  /* ---------- メニュー（開いたとき） ---------- */
  .sp-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: block;
    overflow: hidden auto;
    padding: 0 20px 40px;
    background: var(--bg-base);
  }

  .sp-menu[hidden] {
    display: none;
  }

  .sp-menu::after {
    content: "";
    position: absolute;
    left: 240px;
    top: 660px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--blue-100);
    pointer-events: none;
  }

  body.is-menu-open {
    overflow: hidden;
  }

  .sp-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    margin-right: -8px;
  }

  .sp-menu__logo img {
    width: 130px;
    height: auto;
  }

  .sp-menu__close {
    position: relative;
    width: 32px;
    height: 40px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .sp-menu__close span {
    position: absolute;
    left: 4px;
    top: 18.5px;
    width: 24px;
    height: 3px;
    border-radius: 1.5px;
    background: var(--navy-900);
    transform: rotate(45deg);
  }

  .sp-menu__close span:nth-child(2) {
    transform: rotate(-45deg);
  }

  .sp-menu__nav {
    margin-top: 48px;
  }

  .sp-menu__nav a {
    position: relative;
    display: block;
    height: 72px;
    padding-top: 14px;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
  }

  .sp-menu__nav a::after {
    content: "→";
    position: absolute;
    right: 5px;
    top: 22px;
    color: var(--blue-700);
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
  }

  .sp-menu__ja {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
  }

  .sp-menu__en {
    display: block;
    margin-top: 6px;
    color: var(--blue-700);
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: 0.04em;
  }

  .sp-menu__line {
    position: relative;
    z-index: 1;
    height: 72px;
    margin-top: 40px;
    font-size: 19px;
  }

  .sp-menu__note {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    font-size: 13px;
    line-height: 16px;
    text-align: center;
  }

  /* ---------- 支援先スライド（矢印なし・画面いっぱいに流す） ---------- */
  .clients {
    height: 96px;
  }

  .clients__viewport {
    left: 0;
    width: 100%;
    transform: none;
  }

  .clients__track {
    gap: 32px;
  }

  .clients__track li {
    height: 94px;
  }

  .clients__track img {
    width: 132px;
    height: 44px;
  }

  .clients__track img.is-rounded {
    border-radius: 4px;
  }

  .clients__arrow {
    display: none;
  }

  /* ---------- ファーストビュー ---------- */
  .fv__circle {
    left: -87px;
    top: 779px;
    width: 220px;
    height: 220px;
  }

  .fv__inner {
    height: auto;
    padding-bottom: 60px;
  }

  .fv__body {
    padding-top: 20px;
  }

  /* 375pxより狭い画面では、キャッチコピーを画面幅に合わせて縮める */
  .fv__catch {
    top: -2px;
    margin-top: 23px;
    margin-left: -2px;
    line-height: min(66px, 17.6vw);
    filter:
      drop-shadow(0 0 1.5px #fff)
      drop-shadow(0 0 3px #fff)
      drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
  }

  .fv__catch-line {
    height: min(66px, 17.6vw);
  }

  .fv__catch-line--2 {
    margin-top: min(7px, 1.867vw);
  }

  .c-normal {
    font-size: min(48px, 12.8vw);
  }

  .c-particle {
    font-size: min(40px, 10.667vw);
  }

  .c-core {
    font-size: min(64px, 17.067vw);
  }

  .fv__underline {
    left: min(12px, 3.2vw);
    top: min(52px, 13.867vw);
    width: min(300px, 80vw);
    height: min(18px, 4.8vw);
  }

  .fv__lead {
    margin-top: 24px;
    font-size: 15px;
    line-height: 28px;
  }

  /* 画面が広いスマホでも、ボタンが横に伸びすぎないようにする */
  .fv__cta {
    display: flex;
    max-width: 400px;
    gap: 14px;
    margin-top: 24px;
  }

  .fv__note {
    font-size: 14px;
    line-height: 22px;
  }

  /* 375pxでは右に少しはみ出させる（Figmaどおり）。広い画面では大きくして真ん中に置く */
  .fv__visual {
    position: relative;
    left: auto;
    top: auto;
    width: min(106.67vw, 520px);
    max-width: none;
    margin-top: 40px;
    margin-left: max(calc(-1 * var(--gutter) - 1.867vw), calc((100% - min(106.67vw, 520px)) / 2));
  }
}

/* =========================================================
   タブレット（768〜1023px）Figma 768 基準
   ========================================================= */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --gutter: 32px;
    /* 画面の端から中身の端まで。864pxより広い画面では中身を800pxにして真ん中に置くので、そのぶん広がる */
    --edge: max(var(--gutter), (100vw - 800px) / 2);
  }

  /* 画面が広いタブレット（〜1023px）でも、中身は最大800px（Figma 768の中身704pxより少し広いまで）。
     サービスのカードの料金表やボタン、FAQの項目が横に伸びすぎないように */
  .container {
    width: min(100% - var(--gutter) * 2, 800px);
  }

  html {
    scroll-padding-top: 80px;
  }

  /* ---------- 部品 ---------- */
  .label {
    gap: 10px;
    font-size: 15px;
    line-height: 22px;
  }

  .label::before {
    width: 3px;
    height: 20px;
  }

  .btn-line--lg {
    min-width: 317px;
    height: 72px;
    padding: 0 40px;
    gap: 14px;
    border-radius: 17px;
    font-size: 19px;
    line-height: 26px;
    box-shadow: 0 7px 17px rgba(5, 153, 77, 0.22);
  }

  .btn-line--lg .btn-line__arrow {
    width: 13px;
    height: 10px;
  }

  /* ---------- ヘッダー ---------- */
  .site-header__inner {
    height: 80px;
  }

  /* ---------- 支援先スライド ---------- */
  .clients {
    height: 112px;
  }

  .clients__viewport {
    width: calc(100% - 128px);
  }

  .clients__track {
    gap: 48px;
  }

  .clients__track li {
    height: 110px;
  }

  .clients__track img {
    width: 156px;
    height: 52px;
  }

  .clients__track img.is-rounded {
    border-radius: 5px;
  }

  .clients__arrow--prev {
    left: 8px;
  }

  .clients__arrow--next {
    right: 8px;
  }

  /* ---------- ファーストビュー ---------- */
  .fv__circle {
    left: -80px;
    top: 560px;
    width: 260px;
    height: 260px;
  }

  .fv__inner {
    height: 657px;
    padding-bottom: 0;
  }

  .fv__body {
    padding-top: 32px;
  }

  .fv__catch {
    top: -3px;
    margin-top: 24px;
    margin-left: -4px;
    line-height: 92px;
    filter:
      drop-shadow(0 0 2px #fff)
      drop-shadow(0 0 4px #fff)
      drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
  }

  .fv__catch-line {
    height: 92px;
  }

  .fv__catch-line--2 {
    margin-top: 9px;
  }

  .c-normal {
    font-size: 66px;
  }

  .c-particle {
    font-size: 54px;
  }

  .c-core {
    font-size: 88px;
  }

  .fv__underline {
    left: 12px;
    top: 77px;
    width: 440px;
    height: 26px;
  }

  .fv__lead {
    margin-top: 40px;
    font-size: 15px;
    line-height: 30px;
  }

  .fv__cta {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 28px;
  }

  /* 768pxでは画面の右端から40pxはみ出させる。それより広い画面は中身（最大800px）と一緒に動かす
     （2026-09-28 本人の指示で、2560pxと同じ考え方に） */
  .fv__visual {
    left: auto;
    right: calc(-1 * var(--gutter) - 40px);
    top: 262px;
    width: 470px;
  }
}

/* =========================================================
   03 UpCoreについて（PC）
   ========================================================= */
.about {
  position: relative;
  overflow: clip;
  padding: 96px 0;
}

/* 風景写真：左を明るくして見出しを読みやすく、下はページの色になじませる */
.about__bg {
  position: absolute;
  inset: 0 0 auto;
  height: 620px;
  background:
    linear-gradient(to bottom, rgba(253, 252, 250, 0.35) 0%, rgba(253, 252, 250, 0) 12%, rgba(253, 252, 250, 0) 62%, var(--bg-base) 95%),
    linear-gradient(to right, rgba(253, 252, 250, 0.98) 0%, rgba(253, 252, 250, 0.9) 46%, rgba(253, 252, 250, 0.45) 72%, rgba(253, 252, 250, 0.15) 100%),
    url("../assets/images/about_landscape.webp") center / cover no-repeat;
}

.about__circle {
  position: absolute;
  border-radius: 50%;
  background: var(--blue-50);
}

.about__circle--lg {
  left: -60px;
  top: 606px;
  width: 200px;
  height: 200px;
}

.about__circle--sm {
  left: -30px;
  top: 848px;
  width: 120px;
  height: 120px;
}

.about__inner {
  position: relative;
}

/* 本文の後ろをぼかした白で明るくする */
.about__glow {
  position: absolute;
  left: -60px;
  top: 206px;
  width: 927px;
  height: 168px;
  border-radius: 80px;
  background: rgba(253, 252, 250, 0.7);
  filter: blur(40px);
}

.about__inner > .label,
.about__title,
.about__text,
.about__cards {
  position: relative;
}

.about__title {
  top: -3px; /* Figmaと文字の上下位置を合わせる */
  margin-top: 16px;
  font-size: 76px;
  font-weight: 900;
  line-height: 106px;
  letter-spacing: -0.02em;
  filter:
    drop-shadow(0 0 3px #fff)
    drop-shadow(0 0 6px #fff)
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.9));
}

.about__em {
  position: relative;
}

.about__underline {
  position: absolute;
  z-index: -1;
  left: -4px;
  top: 96px;
  width: 468px;
  max-width: none;
  height: 20px;
}

.about__text {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 500;
  line-height: 36px;
}

.about__cards {
  display: grid;
  grid-template-columns: 672fr 496fr;
  gap: 32px;
  margin-top: 64px;
}

/* ---------- カード（UpCoreについて） ---------- */
.card {
  position: relative;
  min-height: 300px;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  background: var(--bg-white);
  box-shadow: 0 8px 24px rgba(13, 51, 102, 0.06);
}

.profile {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 49px 31px 27px;
}

.profile__photo {
  flex: none;
  width: 180px;
  height: 200px;
  border-radius: 16px;
  object-fit: cover;
}

.profile__name {
  margin-top: 2px;
  font-size: 24px;
  font-weight: 700;
  line-height: 29px;
}

.profile__name span {
  margin-right: 1em;
  font-size: 18px;
}

.profile__text {
  margin-top: 20px;
  font-size: 15px;
  line-height: 28px;
}

.area {
  padding: 51px 31px;
}

.area__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 40px;
}

.area__pin {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-600);
}

.area__pin svg {
  width: 18px;
  height: 23px;
  fill: #fff;
}

.area__text {
  margin-top: 28px;
  font-size: 15px;
  line-height: 28px;
}

.area__slash {
  position: absolute;
  right: 247px;
  top: 26px;
  width: 25px;
  height: 40px;
}

.area__note {
  position: absolute;
  right: 34px;
  top: 18px;
  white-space: nowrap;
  font-family: "Klee One", var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 0.04em;
  transform: rotate(-8deg);
  transform-origin: left top;
}

.area__map {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 156px;
  height: 133px;
}

.area__map img {
  width: 100%;
  height: 100%;
}

.area__map-pin {
  position: absolute;
  left: 65px;
  top: 39px;
  width: 32px !important;
  height: 32px !important;
}


/* スマホ用の町並み写真（PC・タブレットは背景の写真を使う） */
.about__town {
  display: none;
}

/* =========================================================
   03 UpCoreについて（スマホ）
   ========================================================= */
@media (max-width: 767px) {
  .about {
    padding: 64px 0;
  }

  .about__bg,
  .about__glow,
  .about__circle {
    display: none;
  }

  .about__title {
    top: 0;
    margin-top: 12px;
    font-size: 27px;
    line-height: 40px;
    letter-spacing: 0;
    filter:
      drop-shadow(0 0 1px #fff)
      drop-shadow(0 0 2px #fff);
  }

  .about__underline {
    left: -1px;
    top: 34px;
    width: 168px;
    height: 8px;
  }

  .about__text {
    font-size: 14px;
    font-weight: 400;
    line-height: 26px;
  }

  .about__town {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 24px;
  }

  .about__cards {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
  }

  .card {
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(13, 51, 102, 0.06);
  }

  .profile {
    flex-direction: column;
    gap: 0;
    padding: 23px 19px;
  }

  .profile__photo {
    width: 96px;
    height: 112px;
    border-radius: 12px;
  }

  /* 写真の右に肩書きと名前を並べる */
  .profile {
    display: grid;
    grid-template-columns: 96px 1fr;
    column-gap: 16px;
    align-items: center;
  }

  .profile__body {
    display: contents;
  }

  .profile__name {
    margin: 0;
    font-size: 22px;
    line-height: 24px;
  }

  .profile__name span {
    display: block;
    margin: 0;
    font-size: 14px;
  }

  .profile__text {
    grid-column: 1 / -1;
    margin-top: 16px;
    font-size: 14px;
    line-height: 26px;
  }

  .area {
    padding: 23px 19px;
  }

  .area__title {
    gap: 10px;
    font-size: 20px;
    line-height: 32px;
  }

  .area__pin {
    width: 32px;
    height: 32px;
  }

  .area__pin svg {
    width: 14px;
    height: 18px;
  }

  .area__slash {
    display: none;
  }

  .area__note {
    position: static;
    margin-top: 16px;
    font-size: 16px;
    line-height: 24px;
    transform: none;
  }

  .area__note br {
    display: none;
  }

  .area__text {
    margin-top: 16px;
    font-size: 14px;
    line-height: 26px;
  }

  /* 地図は本文の下に、右にそろえて置く（Figma 2026-09-27 の見直しで本文と重ねない形に） */
  .area__map {
    position: relative;
    right: auto;
    bottom: auto;
    width: 102px;
    height: 86px;
    margin: 8px 0 0 auto;
  }

  .area__map-pin {
    left: 42px;
    top: 35px;
    width: 21px !important;
    height: 21px !important;
  }
}

/* =========================================================
   03 UpCoreについて（タブレット）
   ========================================================= */
@media (min-width: 768px) and (max-width: 1023px) {
  .about {
    padding: 80px 0;
  }

  .about__bg {
    height: 504px;
    background:
      linear-gradient(to bottom, rgba(253, 252, 250, 0.35) 0%, rgba(253, 252, 250, 0) 10%, rgba(253, 252, 250, 0) 69%, var(--bg-base) 100%),
      linear-gradient(to right, rgba(253, 252, 250, 0.97) 0%, rgba(253, 252, 250, 0.85) 50%, rgba(253, 252, 250, 0.45) 80%, rgba(253, 252, 250, 0.25) 100%),
      url("../assets/images/about_landscape-800.webp") center / cover no-repeat;
  }

  .about__circle {
    display: none;
  }

  .about__glow {
    left: -40px;
    top: 142px;
    width: 784px;
    height: 144px;
    border-radius: 60px;
    background: rgba(253, 252, 250, 0.75);
    filter: blur(32px);
  }

  .about__title {
    top: -2px;
    margin-top: 14px;
    font-size: 46px;
    line-height: 66px;
    letter-spacing: 0;
    filter:
      drop-shadow(0 0 2px #fff)
      drop-shadow(0 0 4px #fff)
      drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
  }

  .about__underline {
    left: -1px;
    top: 59px;
    width: 284px;
    height: 12px;
  }

  .about__text {
    margin-top: 28px;
    font-size: 15px;
    font-weight: 400;
    line-height: 28px;
  }

  .card {
    min-height: 418px;
  }
}

/* =========================================================
   03 UpCoreについて：カードの中身（タブレット〜小さめのPC 768〜1279px）
   タブレットの並べ方（写真の下に本文、地図はカードの下の隅）で2枚を横に並べる。
   1280px以上は、FigmaのPCの並べ方。
   ========================================================= */
@media (min-width: 768px) and (max-width: 1279px) {
  .about__cards {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 64px;
  }

  .card {
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(13, 51, 102, 0.06);
  }

  .profile {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 0 16px;
    align-content: start;
    align-items: center;
    padding: 27px 23px;
  }

  .profile__body {
    display: contents;
  }

  .profile__photo {
    width: 100px;
    height: 120px;
    border-radius: 12px;
  }

  .profile__name {
    margin: 0;
    font-size: 22px;
    line-height: 26px;
  }

  .profile__name span {
    display: block;
    margin: 0;
    font-size: 15px;
  }

  .profile__text {
    grid-column: 1 / -1;
    margin-top: 16px;
  }

  .area {
    padding: 27px 23px;
  }

  .area__title {
    gap: 10px;
    font-size: 22px;
    line-height: 36px;
  }

  .area__pin {
    width: 36px;
    height: 36px;
  }

  .area__pin svg {
    width: 16px;
    height: 21px;
  }

  .area__slash {
    display: none;
  }

  .area__note {
    position: static;
    margin-top: 16px;
    font-size: 17px;
    line-height: 26px;
    transform: none;
  }

  .area__note br {
    display: none;
  }

  .area__text {
    margin-top: 16px;
  }

  /* 越前市のピン（Figma 768・1024と同じ位置） */
  .area__map {
    right: 24px;
    bottom: 24px;
    width: 122px;
    height: 104px;
  }

  .area__map-pin {
    left: 52px;
    top: 43px;
    width: 25px !important;
    height: 25px !important;
  }
}



/* 幅の広いスマホ（400〜767px）：町並み写真は大きくなりすぎないようにする */
@media (min-width: 400px) and (max-width: 767px) {
  .about__town {
    max-width: 560px;
    margin-inline: auto;
  }
}


/* =========================================================
   狭いスマホ（〜374px）Figma 320 基準
   ========================================================= */
@media (max-width: 374px) {
  /* ヘッダー：ロゴ・LINEボタン・≡を1列に収める（ボタンは矢印なし） */
  .site-header__logo img {
    width: 112px;
  }

  .site-header__line {
    height: 33px;
    padding: 0 14px;
    border-radius: 8px;
  }

  .site-header__line .btn-line__arrow {
    display: none;
  }

  .site-header__menu-btn {
    flex: none;
  }

  /* キャッチコピー：375pxの形を画面幅に合わせたうえで、さらに0.93倍（右端に余白を残す） */
  .fv__catch {
    line-height: 16.368vw;
  }

  .fv__catch-line {
    height: 16.368vw;
  }

  .fv__catch-line--2 {
    margin-top: 1.736vw;
  }

  .c-normal {
    font-size: 11.904vw;
  }

  .c-particle {
    font-size: 9.92vw;
  }

  .c-core {
    font-size: 15.872vw;
  }

  .fv__underline {
    left: 2.976vw;
    top: 12.896vw;
    width: 74.4vw;
    height: 4.464vw;
  }

  /* ボタン下の1行は2行にして、左にそろえる */
  .fv__note {
    align-self: flex-start;
  }
}

/* =========================================================
   04 サービス（PC 1024px〜）Figma 1440 基準
   1024〜1439px は、パネルとカードの内側の余白を Figma 1024 の値へ少しずつ狭める
   ========================================================= */
.service {
  position: relative;
  overflow: clip;
  padding: 96px 0;
}

/* 言葉のまとまりで折り返す（この中では改行しない） */
.nw {
  white-space: nowrap;
}

.service__circle {
  position: absolute;
  border-radius: 50%;
  background: var(--blue-100);
}

.service__circle--mid {
  left: -40px;
  top: 1102px;
  width: 90px;
  height: 97px;
}

.service__circle--right {
  right: -32px;
  top: 1726px;
  width: 120px;
  height: 129px;
}

.service__circle--bottom {
  left: -52px;
  bottom: 24px;
  width: 150px;
  height: 161px;
}

.service__dots {
  position: absolute;
  right: 44px;
  bottom: 20px;
  width: 56px;
  height: 56px;
}

.service__head > .label,
.service__title,
.service__lead {
  position: relative;
  z-index: 1;
}

.service__title {
  top: -3px; /* Figmaと文字の上下位置を合わせる */
  margin-top: 16px;
  font-size: 76px;
  font-weight: 900;
  line-height: 106px;
  letter-spacing: -0.02em;
  filter:
    drop-shadow(0 0 3px #fff)
    drop-shadow(0 0 6px #fff)
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.9));
}

.service__small {
  font-size: 58px;
  line-height: 1; /* 小さい文字で行の高さが広がらないように */
}

.service__em {
  position: relative;
}

.service__underline {
  position: absolute;
  z-index: -1;
  left: -2px;
  top: 93px;
  width: 250px;
  max-width: none;
  height: 20px;
}

.service__lead {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 500;
  line-height: 36px;
}

/* 見出しの右の写真：1440pxでは画面の右端まで。1024〜1439pxは右端から20pxはみ出す形のまま縮める。
   それより広い画面では中身と一緒に動かし、右のふちをぼかす（2026-09-27 2560pxの案A） */
.service__hero {
  position: absolute;
  left: max(37.5vw + 180px, 50%);
  top: min(1.676vw - 4.1px, 20px);
  width: min(60.81vw - 155.7px, 720px);
  pointer-events: none;
}

.service__hero img {
  width: 100%;
  height: auto;
}

@media (min-width: 1441px) {
  .service__hero {
    -webkit-mask-image: linear-gradient(to right, #000 80%, transparent);
    mask-image: linear-gradient(to right, #000 80%, transparent);
  }
}

/* ---------- パネル（つくる・育てる） ---------- */
.panel {
  position: relative;
  border-radius: 28px;
  background: var(--blue-50);
}

.panel--make {
  margin-top: 48px;
  padding: 32px clamp(24px, 1.923vw + 4.3px, 32px);
}

.panel--grow {
  margin-top: 24px;
  padding: 28px clamp(24px, 3.846vw - 15.4px, 40px);
}

.panel__head {
  height: 104px;
}

.panel--grow .panel__head {
  height: 96px;
}

/* 見出しの丸・アイコン・手書き文字は、パネルの左上から測って置く（1024〜1440pxで同じ位置） */
.panel__icon {
  position: absolute;
  left: 28px;
  top: 28px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--blue-100);
}

.panel__icon img {
  position: absolute;
  left: 36px;
  top: 18px;
  width: 56px;
  height: 56px;
}

.panel__title {
  position: absolute;
  left: 130px;
  top: 44px;
  font-size: 56px;
  font-weight: 900;
  line-height: 67px;
}

.panel__hw {
  position: absolute;
  max-width: none;
}

.panel__hw--omoi {
  left: 328px;
  top: 25px;
  width: 228px;
  height: 73px;
}

.panel--grow .panel__icon {
  top: 16px;
}

.panel--grow .panel__title {
  top: 32px;
}

.panel__hw--zutto {
  left: 334px;
  top: 25px;
  width: 175px;
  height: 80px;
}

/* ---------- つくる：3枚のカード ---------- */
.make-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3枚を必ず同じ幅に */
  gap: 24px;
}

.svc-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px clamp(20px, 0.9615vw + 10.15px, 24px); /* 1024pxで20（LINEのロゴの周りの余白のため）、1440pxで24 */
  border-radius: 20px;
  background: var(--bg-white);
}

/* PC・スマホは「見出し → 写真 → 料金」の順（タブレットだけ写真を左に置く） */
.svc-card__body {
  display: contents;
}

.svc-card__title {
  order: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  font-size: 30px;
  font-weight: 900;
  line-height: 36px;
}

.svc-card__icon {
  flex: none;
  width: 44px;
  height: 44px;
}

/* LINEのロゴ（公式のブランドアイコン）：LINEのルールで、スマホでも高さ40px以上、
   周りにロゴの幅の半分（20px）の余白をとる（https://www.line.me/ja/logo）。画像は加工しない */
.svc-card__title--line {
  gap: 20px;
}

.svc-card .svc-card__icon--line {
  width: 40px;
  height: 40px;
}

.svc-card__photo {
  width: 100%;
  height: 196px;
  border-radius: 14px;
  object-fit: cover;
}

.price {
  margin: 0;
}

.price > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px; /* 1024pxの「LINEリッチメニュー 20,000円〜」がちょうど収まる間（Figma 1024も同じ） */
  height: 45px;
  border-bottom: 1px solid var(--border-light);
}

.price dt {
  color: var(--navy-600);
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  white-space: nowrap;
}

.price dd {
  margin: 0;
  color: var(--gold-500);
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  white-space: nowrap;
}

.price small {
  font-size: 14px;
}

.svc-card__text {
  font-size: 16px;
  line-height: 30px;
}

/* ---------- 部品：枠線ボタン ---------- */
.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 49px;
  margin-top: auto;
  /* 線はFigmaと同じ1.5px。border の 1.5px は Chrome が 1px に丸めるので、内側の影で描く */
  box-shadow: inset 0 0 0 1.5px var(--blue-700);
  border-radius: 999px;
  background: var(--bg-white);
  color: var(--blue-700);
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-outline:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
}

.btn-outline--lg {
  height: 86px;
  margin-top: 0;
  padding: 0 44px;
  gap: 12px;
  border: 2px solid var(--blue-700);
  box-shadow: none;
  font-size: 22px;
  line-height: 26px;
}

/* ---------- 育てる：伴走サポートの2枚 ---------- */
.grow-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 24px;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: 20px;
  background: var(--bg-white);
}

.plan--plus {
  padding: 28px;
  border: 2px solid var(--blue-700);
}

.plan__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 900;
  line-height: 40px;
}

.plan__title img {
  flex: none;
  width: 40px;
  height: 40px;
}

.plan__price {
  color: var(--gold-500);
  font-size: 34px;
  font-weight: 900;
  line-height: 41px;
}

.plan__price small {
  font-size: 20px;
  line-height: 1;
}

/* 伴走サポートの「最初の3ヶ月は無料」の印（2026-09-28 本人決定・Figma 案B）。料金のすぐ下。
   2行になる幅（〜424px・768〜1023px）は角を小さく */
.plan__free {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--yellow-400);
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 900;
  line-height: 20px;
}

.plan__note {
  font-size: 14px;
  line-height: 17px;
  white-space: nowrap; /* 〜374pxは「後からでも」の後で改行して、右の余白を残す */
}

.plan__text {
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 16px;
  line-height: 30px;
}

.service__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 72px;
}

/* =========================================================
   04 サービス（タブレット 768〜1023px）Figma 768 基準
   ========================================================= */
@media (min-width: 768px) and (max-width: 1023px) {
  .service {
    padding: 80px 0;
  }

  .service__circle,
  .service__dots {
    display: none;
  }

  .service__head {
    width: 410px;
  }

  .service__title {
    top: -2px;
    margin-top: 14px;
    font-size: 46px;
    line-height: 66px;
    letter-spacing: 0;
    filter:
      drop-shadow(0 0 2px #fff)
      drop-shadow(0 0 4px #fff)
      drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
  }

  .service__small {
    font-size: 35px;
  }

  .service__underline {
    top: 58px;
    width: 176px;
    height: 14px;
  }

  .service__lead {
    font-size: 15px;
    line-height: 30px;
  }

  /* 右端から12pxの所にそろえ、画面が広がると少し大きくする（最大360px） */
  /* 768pxでは画面の右端から12px。それより広い画面は中身と一緒に動かす（2560pxと同じ考え方） */
  .service__hero {
    left: auto;
    right: calc(var(--edge) - 20px);
    top: 86px;
    width: clamp(314px, 314px + (100vw - 768px) * 0.2, 360px);
  }

  .panel {
    border-radius: 24px;
  }

  .panel--make,
  .panel--grow {
    margin-top: 32px;
    padding: 28px 24px;
  }

  .panel__head,
  .panel--grow .panel__head {
    display: flex;
    align-items: center;
    gap: 12px;
    height: auto;
    margin-bottom: 20px;
  }

  .panel__icon,
  .panel--grow .panel__icon {
    position: relative;
    left: auto;
    top: auto;
    flex: none;
    width: 64px;
    height: 64px;
  }

  .panel__icon img {
    left: 8px;
    top: 8px;
    width: 48px;
    height: 48px;
  }

  .panel__title,
  .panel--grow .panel__title {
    position: static;
    font-size: 40px;
    line-height: 66px;
  }

  .panel__hw--omoi,
  .panel__hw--zutto {
    position: static;
    width: 160px;
  }

  .panel__hw--omoi {
    height: 51px;
  }

  .panel__hw--zutto {
    height: 73px;
  }

  .make-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 写真を左、内容を右に並べる */
  .svc-card {
    flex-direction: row;
    gap: 24px;
    padding: 24px;
  }

  .svc-card__photo {
    flex: none;
    width: 250px;
    height: auto;
    min-height: 314px;
  }

  /* LINEのロゴの下に20pxの余白をとるため、見出しの行の下を6広げる（カードは10高くなり、写真も伸ばす） */
  .svc-card__title--line {
    padding-bottom: 6px;
  }

  .svc-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
  }

  .svc-card__title {
    justify-content: flex-start;
    min-height: 36px;
    font-size: 26px;
    line-height: 31px;
  }

  .svc-card__icon {
    width: 36px;
    height: 36px;
  }

  .svc-card__text {
    font-size: 15px;
    line-height: 28px;
  }

  .btn-outline {
    height: 45px;
  }

  .btn-outline--lg {
    width: 317px;
    height: 72px;
    padding: 0 32px;
    font-size: 18px;
    line-height: 22px;
  }

  .grow-cards {
    gap: 16px;
  }

  /* Figma 768 はカードの高さが332（2026-09-28「最初の3ヶ月は無料」の印を入れて296から伸びた） */
  .plan,
  .plan--plus {
    gap: 12px;
    min-height: 332px;
    padding: 24px 22px;
  }

  .plan__free {
    border-radius: 12px;
  }

  .plan__title {
    font-size: 24px;
    line-height: 34px;
  }

  .plan__title img {
    width: 34px;
    height: 34px;
  }

  .plan__price {
    font-size: 31px;
    line-height: 37px;
  }

  .plan__price small {
    font-size: 18px;
  }

  .plan__note {
    font-size: 13px;
    line-height: 16px;
  }

  .plan__text {
    padding-top: 12px;
    font-size: 15px;
    line-height: 28px;
  }

  .service__cta {
    gap: 16px;
    margin-top: 32px;
  }
}

/* =========================================================
   04 サービス（スマホ 〜767px）Figma 375・425 基準
   ========================================================= */
@media (max-width: 767px) {
  .service {
    padding: 64px 0;
  }

  .service__circle,
  .service__dots {
    display: none;
  }

  .service__title {
    top: 0;
    margin-top: 12px;
    font-size: 27px;
    line-height: 40px;
    letter-spacing: 0;
    filter:
      drop-shadow(0 0 1px #fff)
      drop-shadow(0 0 2px #fff);
  }

  .service__small {
    font-size: 21px;
  }

  .service__underline {
    top: 32px;
    width: 104px;
    height: 10px;
  }

  .service__lead {
    font-size: 15px;
    line-height: 28px;
  }

  /* 写真は本文の下。右は画面の端まではみ出させる。幅の広いスマホでは大きくなりすぎないようにする */
  .service__hero {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 335 / 250;
    margin-top: 24px;
  }

  .service__hero picture {
    position: absolute;
    left: 0;
    top: -1.2%;
    width: 106%;
  }

  .panel {
    border-radius: 20px;
  }

  .panel--make,
  .panel--grow {
    margin-top: 24px;
    padding: 24px 16px;
  }

  .panel__head,
  .panel--grow .panel__head {
    display: flex;
    align-items: center;
    gap: 8px;
    height: auto;
    margin-bottom: 16px;
  }

  .panel__icon,
  .panel--grow .panel__icon {
    position: relative;
    left: auto;
    top: auto;
    flex: none;
    width: 52px;
    height: 52px;
  }

  .panel__icon img {
    left: 6px;
    top: 6px;
    width: 40px;
    height: 40px;
  }

  .panel__title,
  .panel--grow .panel__title {
    position: static;
    font-size: 27px;
    line-height: 40px;
  }

  .panel__hw--omoi,
  .panel__hw--zutto {
    position: static;
    width: 118px;
  }

  .panel__hw--omoi {
    height: 38px;
  }

  .panel__hw--zutto {
    height: 54px;
  }

  .make-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .svc-card {
    gap: 16px;
    padding: 22px 20px; /* 左右20：LINEのロゴの周りの余白のため、3枚そろえる */
  }

  /* LINEのロゴの下に20pxの余白をとるため、見出しの行の下を4広げる */
  .svc-card__title--line {
    padding-bottom: 4px;
  }

  .svc-card__title {
    gap: 10px;
    min-height: 34px;
    font-size: 22px;
    line-height: 26px;
  }

  .svc-card__icon {
    width: 34px;
    height: 34px;
  }

  .svc-card__photo {
    height: 160px;
  }

  .price > div {
    height: 41px;
  }

  .price dt {
    font-size: 14px;
    line-height: 17px;
  }

  .price dd {
    font-size: 18px;
    line-height: 22px;
  }

  .price small {
    font-size: 12px;
  }

  .svc-card__text {
    font-size: 14px;
    line-height: 26px;
  }

  .btn-outline {
    height: 44px;
    font-size: 14px;
    line-height: 17px;
  }

  .btn-outline--lg {
    width: 100%;
    height: 64px;
    padding: 0 20px;
    font-size: 17px;
    line-height: 20px;
  }

  .grow-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .plan,
  .plan--plus {
    gap: 12px;
    padding: 22px 16px;
  }

  .plan__title {
    font-size: 22px;
    line-height: 32px;
  }

  .plan__title img {
    width: 32px;
    height: 32px;
  }

  .plan__price {
    font-size: 27px;
    line-height: 32px;
  }

  .plan__price small {
    font-size: 16px;
  }

  .plan__free {
    font-size: 12px;
    line-height: 19px;
  }

  .plan__note {
    font-size: 12px;
    line-height: 14px;
  }

  .plan__text {
    padding-top: 12px;
    font-size: 14px;
    line-height: 26px;
  }

  .service__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
  }
}

/* 画面が広いタブレット（865〜1023px）：中身を800pxにしたので、サービスの見出しの写真の右端が画面の端に届かない。
   右のふちをぼかす（PCの1441px以上と同じ） */
@media (min-width: 865px) and (max-width: 1023px) {
  .service__hero {
    -webkit-mask-image: linear-gradient(to right, #000 80%, transparent);
    mask-image: linear-gradient(to right, #000 80%, transparent);
  }
}

/* 画面が広いスマホ（521〜767px）：中身を480pxにしたので、写真の右端が画面の端に届かない。
   右のふちをぼかして、切れ目を見せない（PCの1441px以上と同じ考え方） */
@media (min-width: 521px) and (max-width: 767px) {
  .service__hero picture {
    -webkit-mask-image: linear-gradient(to right, #000 82%, transparent);
    mask-image: linear-gradient(to right, #000 82%, transparent);
  }
}

/* 狭いスマホ（〜374px）Figma 320：手書き文字を小さく。
   カードの左右を20にしたので、料金表の項目名を13pxにして「LINEリッチメニュー 20,000円〜」を1行に収める */
@media (max-width: 374px) {
  .price dt {
    font-size: 13px;
  }

  .panel__hw--omoi,
  .panel__hw--zutto {
    width: 103px;
  }

  .panel__hw--omoi {
    height: 33px;
  }

  .panel__hw--zutto {
    height: 47px;
  }
}

/* =========================================================
   05 ブログ（PC 1024px〜）Figma 1440 基準
   見出しの右下に「ブログをもっと見る」、その下に記事カード3枚を横に並べる
   ========================================================= */
.blog {
  position: relative;
  overflow: clip;
  padding: 96px 0;
}

.blog__circle {
  position: absolute;
  border-radius: 50%;
  background: var(--blue-100);
}

.blog__circle--top {
  right: -70px;
  top: -86px;
  width: 240px;
  height: 240px;
}

.blog__circle--left {
  left: -60px;
  top: 430px;
  width: 150px;
  height: 150px;
}

.blog__circle--bottom {
  left: -34px;
  bottom: -18px;
  width: 90px;
  height: 90px;
}

/* しずく：1枚目のカードの左下から少しのぞく。1440pxより広い画面は中身と一緒に動かす */
.blog__drop {
  position: absolute;
  left: max(25.48vw - 304.9px, 50% - 658px);
  bottom: 96px;
  width: 80px;
  height: auto;
}

/* 「Good ideas for your business!」：1440pxまでは画面の右端から40px。それより広い画面は中身と一緒に動かす */
.blog__good {
  position: absolute;
  right: max(40px, 50% - 680px);
  bottom: 3px;
  width: 216px;
  height: auto;
}

.blog__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "head more"
    "list list";
  align-items: end;
  row-gap: 48px;
}

.blog__head {
  grid-area: head;
  position: relative;
}

.blog__title {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  font-size: 48px;
  font-weight: 900;
  line-height: 68px;
}

.blog__em {
  position: relative;
}

.blog__underline {
  position: absolute;
  z-index: -1;
  left: -4px;
  top: 57px;
  width: 158px;
  max-width: none;
  height: 14px;
}

/* 見出しの右：1024pxで672、1440px以上で680 */
.blog__dots {
  position: absolute;
  left: clamp(672px, 1.923vw + 652.3px, 680px);
  top: 40px;
  width: 56px;
  height: 56px;
}

.blog__lead {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 500;
  line-height: 36px;
}

.blog__more {
  grid-area: more;
  height: 66px;
  margin-top: 0;
  padding: 0 36px;
  gap: 0.5em;
  border: 2px solid var(--blue-700);
  box-shadow: none;
  font-size: 18px;
  line-height: 22px;
}

/* ---------- 記事カード ---------- */
.blog__list {
  grid-area: list;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog__list > li {
  display: flex;
}

.post-card {
  display: flex;
  flex: 1;
}

.post-card__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: var(--bg-white);
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.post-card__link:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
}

.post-card__img {
  width: 100%;
  height: auto;
  aspect-ratio: 379 / 224;
  object-fit: cover;
}

.post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 24px 28px;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy-600);
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
}

.post-card__cat {
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}

/* 1024pxでは20/30、1440pxで22/34（その間は少しずつ大きく）。
   記事のタイトルは改行を入れないので、行の長さをそろえて折り返す（最後の行が1〜2文字だけにならないように） */
.post-card__title {
  font-size: clamp(20px, 0.4808vw + 15.08px, 22px);
  font-weight: 700;
  line-height: clamp(30px, 0.9615vw + 20.15px, 34px);
  text-wrap: balance;
}

/* 要約は Figma と同じ行数ぶんの高さをとっておく（PC・タブレット3行、スマホ4行）。
   要約が短い記事でも、カードの高さと矢印の位置がそろう */
.post-card__excerpt {
  min-height: 90px;
  font-size: 15px;
  line-height: 30px;
}

.post-card__arrow {
  display: grid;
  place-items: center;
  align-self: flex-end;
  width: 44px;
  height: 44px;
  margin-top: auto;
  /* 線はFigmaと同じ1.5px。border の 1.5px は Chrome が 1px に丸めるので、内側の影で描く */
  box-shadow: inset 0 0 0 1.5px var(--blue-700);
  border-radius: 50%;
  background: var(--bg-white);
}

.post-card__arrow svg {
  width: 21px;
  height: 17px;
  fill: none;
  stroke: var(--blue-700);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   05 ブログ（タブレット 768〜1023px）Figma 768 基準
   記事カードは横にスライド（右端まではみ出す）、ボタンはカードの下の真ん中
   ========================================================= */
@media (min-width: 768px) and (max-width: 1023px) {
  .blog {
    padding: 80px 0;
  }

  .blog__circle--top {
    right: -62px;
    top: -52px;
    width: 190px;
    height: 190px;
  }

  .blog__circle--left {
    left: -50px;
    top: 398px;
    width: 120px;
    height: 120px;
  }

  .blog__circle--bottom {
    left: -36px;
    bottom: -10px;
    width: 80px;
    height: 80px;
  }

  .blog__drop {
    left: calc(var(--edge) - 28px);
    bottom: 189px;
    width: 70px;
  }

  .blog__good {
    right: calc(var(--edge) - 27px);
    bottom: 25px;
    width: 178px;
  }

  .blog__inner {
    grid-template-columns: 100%;
    grid-template-areas:
      "head"
      "list"
      "more";
    row-gap: 36px;
  }

  .blog__title {
    margin-top: 14px;
    font-size: 36px;
    line-height: 52px;
  }

  .blog__underline {
    left: -4px;
    top: 46px;
    width: 120px;
    height: 12px;
  }

  .blog__dots {
    left: auto;
    right: 16px;
    top: 134px;
  }

  .blog__lead {
    margin-top: 14px;
    font-size: 15px;
    line-height: 30px;
  }

  .blog__more {
    justify-self: center;
    height: 59px;
    padding: 0 48px;
    font-size: 16px;
    line-height: 19px;
  }

  .blog__list {
    display: flex;
    gap: 20px;
    margin-right: calc(-1 * var(--edge));
    padding-right: var(--edge);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .blog__list::-webkit-scrollbar {
    display: none;
  }

  .blog__list > li {
    flex: none;
    width: 320px;
    scroll-snap-align: start;
  }

  .post-card__img {
    height: 188px;
    aspect-ratio: auto;
  }

  .post-card__body {
    gap: 12px;
    padding: 22px 24px;
  }

  .post-card__title {
    font-size: 20px;
    line-height: 30px;
  }

  .post-card__excerpt {
    min-height: 84px;
    line-height: 28px;
  }
}

/* =========================================================
   05 ブログ（スマホ 〜767px）Figma 375 基準（320・425 は下で調整）
   ========================================================= */
@media (max-width: 767px) {
  .blog {
    padding: 64px 0 74px;
  }

  .blog__circle--top {
    right: -40px;
    top: -42px;
    width: 140px;
    height: 140px;
  }

  .blog__circle--left,
  .blog__drop {
    display: none;
  }

  .blog__circle--bottom {
    left: -40px;
    bottom: 10px;
    width: 100px;
    height: 100px;
  }

  .blog__good {
    right: calc(var(--edge) - 2px);
    bottom: 12px;
    width: 100px;
  }

  .blog__inner {
    grid-template-columns: 100%;
    grid-template-areas:
      "head"
      "list"
      "more";
    row-gap: 24px;
  }

  .blog__title {
    margin-top: 12px;
    font-size: 24px;
    line-height: 36px;
  }

  .blog__underline {
    left: -3px;
    top: 29px;
    width: 82px;
    height: 10px;
  }

  .blog__dots {
    left: auto;
    right: -28px;
    top: 155px;
    width: 45px;
    height: 45px;
  }

  .blog__lead {
    margin-top: 24px;
    font-size: 15px;
    line-height: 28px;
  }

  .blog__more {
    height: 59px;
    padding: 0;
    font-size: 16px;
    line-height: 19px;
  }

  .blog__list {
    display: flex;
    gap: 16px;
    margin-right: calc(-1 * var(--edge));
    padding-right: var(--edge);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .blog__list::-webkit-scrollbar {
    display: none;
  }

  .blog__list > li {
    flex: none;
    width: 290px;
    scroll-snap-align: start;
  }

  .post-card__img {
    height: 168px;
    aspect-ratio: auto;
  }

  .post-card__body {
    gap: 10px;
    padding: 20px;
  }

  .post-card__meta {
    font-size: 13px;
    line-height: 16px;
  }

  .post-card__cat {
    font-size: 12px;
    line-height: 14px;
  }

  .post-card__title {
    font-size: 18px;
    line-height: 28px;
  }

  .post-card__excerpt {
    min-height: 104px;
    font-size: 14px;
    line-height: 26px;
  }

  .post-card__arrow {
    width: 40px;
    height: 40px;
    box-shadow: inset 0 0 0 1.4px var(--blue-700);
  }

  .post-card__arrow svg {
    width: 19px;
    height: 15px;
  }
}

/* Figma 320（〜374px）：ドットは見出しの右上、手書き文字と左下の丸の位置 */
@media (max-width: 374px) {
  .blog {
    padding-bottom: 64px;
  }

  .blog__dots {
    right: -7px;
    top: -6px;
  }

  .blog__circle--bottom {
    bottom: 38px;
  }

  .blog__good {
    right: calc(var(--edge) - 8px);
    bottom: 24px;
  }
}

/* Figma 425（425〜767px）：ドットは見出しの右上、手書き文字と左下の丸の位置 */
@media (min-width: 425px) and (max-width: 767px) {
  .blog__dots {
    right: 5px;
    top: -6px;
  }

  .blog__circle--bottom {
    bottom: 20px;
  }

  .blog__good {
    right: calc(var(--edge) - 8px);
    bottom: 32px;
  }
}

/* =========================================================
   06 よくある質問（PC 1024px〜）Figma 1440 基準
   質問は2列（左に1〜5問目、右に6〜10問目）。開け閉めは <details>
   ========================================================= */
.faq {
  position: relative;
  overflow: clip;
  padding: 96px 0;
  background: rgba(208, 236, 252, 0.45); /* --blue-100 の45% */
}

.faq__circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}

.faq__circle--top {
  right: -70px;
  top: -106px;
  width: 260px;
  height: 260px;
}

/* 左下・右下の丸としずく：1024pxと1440pxで上からの位置が30違うので、その間は少しずつ動かす */
.faq__circle--left {
  left: -70px;
  top: clamp(795px, 898.85px - 7.212vw, 825px);
  width: 180px;
  height: 180px;
}

.faq__circle--right {
  right: -40px;
  top: clamp(725px, 828.85px - 7.212vw, 755px);
  width: 120px;
  height: 120px;
  background: var(--blue-100);
}

.faq__drop {
  position: absolute;
  right: max(60px, 50% - 660px);
  top: clamp(875px, 978.85px - 7.212vw, 905px);
  width: 80px;
  height: auto;
}

/* ドット柄の丸：1440pxまでは画面の右端から380px。それより広い画面は中身と一緒に動かす */
.faq__dots {
  position: absolute;
  left: min(100vw - 380px, 50% + 340px);
  top: 134px;
  width: 56px;
  height: 56px;
}

.faq__inner {
  position: relative;
  z-index: 1;
}

.faq__title {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  font-size: 48px;
  font-weight: 900;
  line-height: 68px;
}

.faq__em {
  position: relative;
}

.faq__underline {
  position: absolute;
  z-index: -1;
  left: -5px;
  top: 59px;
  width: 106px;
  max-width: none;
  height: 14px;
}

.faq__lead {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 500;
  line-height: 36px;
}

.faq__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  margin-top: 48px;
}

.faq__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq__more {
  display: none;
}

/* ---------- 質問の項目 ---------- */
.faq-item {
  padding: 16px 24px 16px 20px;
  border-radius: 16px;
  background: var(--bg-white);
  box-shadow: 0 4px 16px rgba(8, 51, 115, 0.06);
}

.faq-item__q {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 17px;
  font-weight: 700;
  line-height: 28px;
  list-style: none;
  cursor: pointer;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__text,
.faq-item__a p {
  flex: 1;
  min-width: 0; /* 言葉のまとまり（.nw）の間で折り返せるように */
}

.faq-item__mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 17px;
  font-weight: 900;
  line-height: 20px;
}

.faq-item__mark--a {
  background: var(--gold-500);
  color: #fff;
}

/* ＋（開くと−） */
.faq-item__icon {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  border-radius: 1px;
  background: var(--blue-700);
}

.faq-item__icon::before {
  left: 3px;
  top: 11px;
  width: 18px;
  height: 2px;
}

.faq-item__icon::after {
  left: 11px;
  top: 3px;
  width: 2px;
  height: 18px;
}

.faq-item[open] .faq-item__icon::after {
  display: none;
}

.faq-item__a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 16px;
  line-height: 30px;
}

/* =========================================================
   06 よくある質問（タブレット 768〜1023px）Figma 768 基準
   1列。6問目からは「質問をもっと見る」で開く
   ========================================================= */
@media (max-width: 1023px) {
  .faq__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .faq__col--rest {
    display: none;
  }

  .faq__list.is-open .faq__col--rest {
    display: flex;
  }

  .faq__more {
    display: flex;
  }

  .faq__more[aria-expanded="true"] {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .faq {
    padding: 80px 0;
  }

  .faq__circle--top {
    right: -52px;
    top: -62px;
    width: 200px;
    height: 200px;
  }

  .faq__circle--left {
    left: -60px;
    top: auto;
    bottom: -10px;
    width: 160px;
    height: 160px;
  }

  .faq__circle--right {
    right: -32px;
    top: auto;
    bottom: 100px;
    width: 100px;
    height: 100px;
  }

  .faq__drop {
    right: calc(var(--edge) + 6px);
    top: auto;
    bottom: 30px;
    width: 70px;
  }

  .faq__dots {
    left: auto;
    right: calc(var(--edge) + 80px);
    top: 158px;
  }

  .faq__title {
    margin-top: 14px;
    font-size: 36px;
    line-height: 52px;
  }

  .faq__underline {
    left: -4px;
    top: 40px;
    width: 80px;
    height: 12px;
  }

  .faq__lead {
    margin-top: 14px;
    font-size: 15px;
    line-height: 30px;
  }

  .faq__list,
  .faq__col {
    gap: 14px;
  }

  .faq__list {
    margin-top: 36px;
  }

  .faq__more {
    height: 59px;
    margin: 36px auto 0;
    padding: 0 48px;
    gap: 0.5em;
    border: 2px solid var(--blue-700);
    box-shadow: none;
    font-size: 16px;
    line-height: 19px;
  }
}

/* =========================================================
   06 よくある質問（スマホ 〜767px）Figma 375 基準（320・425 は下で調整）
   ========================================================= */
@media (max-width: 767px) {
  .faq {
    padding: 64px 0;
  }

  .faq__circle--top {
    right: -40px;
    top: -52px;
    width: 150px;
    height: 150px;
  }

  .faq__circle--left {
    left: -50px;
    top: auto;
    bottom: -10px;
    width: 130px;
    height: 130px;
  }

  .faq__circle--right {
    display: none;
  }

  .faq__drop {
    right: calc(var(--edge) - 1px);
    top: auto;
    bottom: 13px;
    width: 56px;
  }

  .faq__dots {
    left: auto;
    right: calc(var(--edge) + 10px);
    top: 108px;
    width: 45px;
    height: 45px;
  }

  .faq__title {
    margin-top: 12px;
    font-size: 24px;
    line-height: 36px;
  }

  .faq__underline {
    left: -3px;
    top: 29px;
    width: 56px;
    height: 10px;
  }

  .faq__lead {
    margin-top: 24px;
    font-size: 15px;
    line-height: 28px;
  }

  .faq__list,
  .faq__col {
    gap: 12px;
  }

  .faq__list {
    margin-top: 24px;
  }

  .faq__more {
    width: 100%;
    height: 59px;
    margin-top: 24px;
    gap: 0.5em;
    border: 2px solid var(--blue-700);
    box-shadow: none;
    font-size: 16px;
    line-height: 19px;
  }

  .faq-item {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .faq-item__q {
    gap: 10px;
    font-size: 14px;
    line-height: 22px;
  }

  .faq-item__mark {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .faq-item__a {
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    font-size: 14px;
    line-height: 26px;
  }
}

/* Figma 320（〜374px）：左下の丸・しずくの位置 */
@media (max-width: 374px) {
  .faq__circle--left {
    bottom: 144px;
  }

  .faq__drop {
    right: calc(var(--edge) - 6px);
    bottom: 9px;
  }
}

/* Figma 425（425〜767px）：左下の丸・しずくの位置 */
@media (min-width: 425px) and (max-width: 767px) {
  .faq__circle--left {
    bottom: 4px;
  }

  .faq__drop {
    right: calc(var(--edge) + 4px);
  }
}

/* =========================================================
   07 最終CTAとフッター（PC 1024px〜）Figma 1440 基準
   水中の写真を背景に、最終CTAとフッターをひと続きで中央ぞろえ
   ========================================================= */
.underwater {
  position: relative;
  overflow: clip;
  background: var(--navy-900);
  text-align: center;
}

/* 写真：1024〜1440pxは幅 max(画面幅, 1296px)で上を少し切る。
   それより広い画面は、2560pxで上を400px切る位置まで少しずつ上げる（Figma 2560） */
.underwater__bg img {
  position: absolute;
  left: 50%;
  top: min(max(100vw, 1296px) * -0.04167, 377.14px - 30.357vw);
  width: max(100%, 1296px);
  max-width: none;
  height: auto;
  transform: translateX(-50%);
}

/* 下を暗くして、フッターの文字を読みやすく */
.underwater__shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 420px;
  background: linear-gradient(rgba(5, 15, 51, 0), rgba(5, 15, 51, 0.45) 50%, rgba(5, 13, 41, 0.8));
}

.final-cta,
.site-footer {
  position: relative;
  z-index: 1;
}

.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
}

.final-cta__title {
  font-size: 48px;
  font-weight: 900;
  line-height: 68px;
  text-shadow:
    0 0 3px rgba(255, 255, 255, 0.95),
    0 0 6px rgba(255, 255, 255, 0.95),
    0 0 12px rgba(255, 255, 255, 0.95),
    0 0 22px rgba(255, 255, 255, 0.8),
    0 0 40px rgba(255, 255, 255, 0.8);
}

.final-cta__em {
  position: relative;
  z-index: 0;
}

.final-cta__underline {
  position: absolute;
  z-index: -1;
  left: 2px;
  top: 57px;
  width: 150px;
  max-width: none;
  height: 14px;
}

/* LINEボタン 中（317×72）：最終CTA用 */
.btn-line--md {
  min-width: 317px;
  height: 72px;
  margin-top: 30px;
  padding: 0 40px;
  gap: 14px;
  border-radius: 17px;
  font-size: 19px;
  line-height: 26px;
  box-shadow: 0 7px 17px rgba(5, 153, 77, 0.22);
}

.btn-line--md .btn-line__arrow {
  width: 13px;
  height: 10px;
}

.final-cta__note {
  margin-top: 16px;
  font-family: "Klee One", var(--font-sans);
  font-size: 24px;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: 0.04em;
}

/* ---------- フッター ---------- */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding-bottom: 40px;
  color: #fff;
}

/* 「事業を、その先へ。」は、見た目の中心に合わせて少し右へ */
.site-footer__hw {
  width: 420px;
  height: auto;
  margin-top: 40px;
  transform: translateX(10px);
  filter: drop-shadow(0 2px 10px rgba(5, 20, 64, 0.45));
}

.site-footer__logo {
  margin-top: 39px;
}

.site-footer__logo img {
  width: 241px;
  height: auto;
}

.site-footer__tagline {
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  letter-spacing: 0.22em;
  text-indent: 0.22em; /* 字間の分だけ右にずれるのを戻す */
}

.site-footer__nav {
  display: flex;
  gap: 56px;
  margin-top: 32px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.04em;
}

.site-footer__nav a,
.site-footer__legal a {
  text-decoration: none;
}

.site-footer__nav a:hover,
.site-footer__legal a:hover {
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  margin-top: 75px;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 16px;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__legal li + li::before {
  content: "｜";
  margin: 0 14px;
  color: rgba(255, 255, 255, 0.35);
}

.site-footer__copy small {
  font-size: inherit;
}

/* =========================================================
   07 最終CTAとフッター（タブレット 768〜1023px）Figma 768 基準
   ========================================================= */
@media (max-width: 1023px) {
  /* 写真は画面いっぱいに（上を合わせる） */
  .underwater__bg img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0;
    transform: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .underwater__shade {
    height: 440px;
    background: linear-gradient(rgba(5, 15, 51, 0), rgba(5, 15, 51, 0.45) 45%, rgba(5, 13, 41, 0.8));
  }

  .final-cta {
    padding-top: 130px;
  }

  .final-cta__title {
    font-size: 36px;
    line-height: 52px;
  }

  .final-cta__underline {
    left: -5px;
    top: 46px;
    width: 110px;
    height: 12px;
  }

  .final-cta__note {
    margin-top: 14px;
  }

  .site-footer {
    padding-bottom: 46px;
  }

  .site-footer__hw {
    width: 340px;
    margin-top: 174px;
    transform: translateX(8px);
  }

  .site-footer__logo {
    margin-top: 43px;
  }

  .site-footer__logo img {
    width: 224px;
  }

  .site-footer__tagline {
    letter-spacing: 0.2em;
    text-indent: 0.2em;
  }

  .site-footer__nav {
    gap: 48px;
    margin-top: 30px;
  }

  .site-footer__bottom {
    margin-top: 77px;
    font-size: 12px;
    line-height: 14px;
  }

  .site-footer__legal li + li::before {
    margin: 0 12px;
  }
}

/* =========================================================
   07 最終CTAとフッター（スマホ 〜767px）Figma 375 基準（320・425 は下で調整）
   ========================================================= */
@media (max-width: 767px) {
  .underwater__shade {
    height: 360px;
    background: linear-gradient(rgba(5, 15, 51, 0), rgba(5, 15, 51, 0.5) 45%, rgba(5, 13, 41, 0.85));
  }

  .final-cta {
    padding-top: 64px;
  }

  .final-cta__title {
    font-size: 24px;
    line-height: 36px;
  }

  .final-cta__underline {
    left: -3px;
    top: 31px;
    width: 74px;
    height: 10px;
  }

  .btn-line--md {
    margin-top: 24px;
  }

  .final-cta__note {
    margin-top: 12px;
    font-size: 20px;
    line-height: 30px;
  }

  .site-footer {
    padding-bottom: 32px;
  }

  .site-footer__hw {
    width: 212px;
    margin-top: 142px;
    transform: translateX(4px);
  }

  .site-footer__logo {
    margin-top: 41px;
  }

  .site-footer__logo img {
    width: 181px;
  }

  .site-footer__tagline {
    margin-top: 9px;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
  }

  .site-footer__nav {
    gap: 36px;
    margin-top: 53px;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0;
  }

  /* 区切り線の上下18。法的表記は中央ぞろえで、入らなければ「特定商取引法…」を次の行へ */
  .site-footer__bottom {
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
    padding-top: 18px;
    font-size: 12px;
    line-height: 14px;
  }

  .site-footer__legal {
    justify-content: center;
    gap: 6px 12px;
  }

  .site-footer__legal li + li::before {
    margin: 0 12px 0 0;
  }

  .site-footer__legal li:nth-child(3)::before {
    display: none;
  }

  .site-footer__copy {
    font-size: 11px;
    line-height: 13px;
  }
}

/* Figma 320（〜374px）：LINEボタンは幅いっぱい（280）、添え書きは18px */
@media (max-width: 374px) {
  .btn-line--md {
    align-self: stretch;
    min-width: 0;
    margin-inline: 20px;
  }

  .final-cta__note {
    font-size: 18px;
  }
}

/* Figma 425：下の余白は52（法的表記が1行に収まる分） */
@media (min-width: 425px) and (max-width: 767px) {
  .site-footer {
    padding-bottom: 52px;
  }
}

/* 伴走サポートの印：〜424pxは2行になるので角を小さく */
@media (max-width: 424px) {
  .plan__free {
    border-radius: 12px;
  }
}
