﻿@charset "UTF-8";

:root {
  --main: #354155;
  --main-dark: #273244;
  --main-deep: #102a43;
  --header-navy: #122c46;
  --lab-blue: #0c3b60;
  --wine: #8f2445;
  --wine-hover: #a42c52;
  --main-light: #68758a;
  --accent: #d7b05a;
  --bg: #f4f5f7;
  --text: #222a33;
  --white: #fff;
  --header-h: 156px;
  --header-h-scroll: 72px;
  --side-space: 32px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif; line-height: 1.8; background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.pc-only { display: flex; }
.sp-only { display: none; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }

/* =========================
   HEADER
========================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  color: #fff;
  background: linear-gradient(180deg, rgba(16, 28, 42, .66) 0%, rgba(16, 28, 42, .30) 70%, rgba(16, 28, 42, .12) 100%);
  transition: height .38s ease, background .38s ease, box-shadow .38s ease;
}
.site-header.is-scrolled {
  height: var(--header-h-scroll);
  background: rgba(18, 44, 70, .97);
  box-shadow: 0 6px 22px rgba(0,0,0,.18);
}

/* 上段：ロゴ＋①説明文＋アクションボタン */
.header-top {
  position: relative;
  z-index: 3;
  width: calc(100% - (var(--side-space) * 2));
  height: 108px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  transition: height .38s ease, grid-template-columns .38s cubic-bezier(.2,.7,.2,1);
}
.site-header.is-scrolled .header-top {
  height: var(--header-h-scroll);
  grid-template-columns: 0 minmax(0,1fr) auto;
  gap: 0;
}

.header-brand-area {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: visible;
}
.site-logo {
  position: absolute;
  inset: 0 auto 0 0;
  width: 292px;
  display: flex;
  align-items: center;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .24s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.site-logo img {
  width: 100%;
  max-height: 76px;
  object-fit: contain;
  object-position: left center;
}
.site-header.is-scrolled .site-logo {
  opacity: 0;
  transform: translateY(-58px);
  pointer-events: none;
}

/* ① サイト説明 */
.header-utility {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .025em;
  color: rgba(255,255,255,.88);
  white-space: nowrap;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .22s ease, transform .34s ease;
}
.site-header.is-scrolled .header-utility {
  opacity: 0;
  transform: translateY(-24px);
  pointer-events: none;
}

/* ② 下段グローバルナビ */
.header-nav-row {
  position: absolute;
  z-index: 2;
  left: var(--side-space);
  right: var(--side-space);
  bottom: 8px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: rgba(17, 38, 58, .20);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: top .38s ease, bottom .38s ease, height .38s ease, background .38s ease, padding .38s ease, border-color .38s ease;
}
.global-nav {
  width: auto;
  max-width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3.2vw, 48px);
}
.global-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  transition: opacity .2s ease;
}
.global-nav a:hover { opacity: .68; }
.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}
.global-nav a:hover::after { transform: scaleX(1); }

/* スクロール時：ロゴ位置にfavicon、①非表示、②を1段ヘッダー化 */
.scroll-favicon {
  position: absolute;
  left: 0;
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(calc(-50% + 18px)) scale(.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity .26s .08s ease, transform .38s .06s cubic-bezier(.2,.7,.2,1);
}
.scroll-favicon img { width: 46px; height: 46px; object-fit: contain; }
.site-header.is-scrolled .header-nav-row {
  top: 0;
  bottom: auto;
  height: var(--header-h-scroll);
  padding-left: 60px;
  padding-right: 350px;
  background: transparent;
  border-color: transparent;
}
.site-header.is-scrolled .scroll-favicon {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  pointer-events: auto;
}
.site-header.is-scrolled .global-nav {
  width: 100%;
  justify-content: space-between;
  gap: 14px;
}
.site-header.is-scrolled .global-nav a {
  min-height: 66px;
  font-size: 13px;
}

/* ③ ④ */
.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-action {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  line-height: 1.35;
  border: 0;
  box-shadow: 0 5px 15px rgba(0,0,0,.14);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.header-action:hover { transform: translateY(-1px); }
.lab-button {
  width: 174px;
  min-height: 64px;
  padding: 9px 12px;
  gap: 9px;
  background: rgba(12, 59, 96, .94);
  font-size: 12px;
}
.lab-button i { flex: 0 0 auto; font-size: 15px; }
.apply-button {
  width: 142px;
  min-height: 64px;
  padding: 10px 14px;
  gap: 12px;
  background: rgba(143, 36, 69, .97);
  font-size: 14px;
}
.apply-button:hover { background: var(--wine-hover); }
.apply-button i { font-size: 14px; }

/* スクロール時は「別ボタン」に見せず、固定ヘッダーの一部として馴染ませる */
.site-header.is-scrolled .header-actions {
  align-self: stretch;
  align-items: stretch;
  gap: 0;
}
.site-header.is-scrolled .header-action {
  min-height: var(--header-h-scroll);
  box-shadow: none;
  transform: none;
}
.site-header.is-scrolled .lab-button {
  width: 184px;
  background: rgba(255,255,255,.045);
}
.site-header.is-scrolled .lab-button:hover { background: rgba(255,255,255,.09); }
.site-header.is-scrolled .apply-button {
  width: 150px;
  background: #8c2947;
}
.site-header.is-scrolled .apply-button:hover { background: #9b3151; }

.menu-button, .sp-menu { display: none; }

/* =========================
   HERO
========================= */
.hero { position: relative; min-height: 100svh; height: 100svh; overflow: hidden; color: #fff; background: var(--main-dark); }
.hero-slider, .hero-slide, .hero-overlay { position: absolute; inset: 0; }
.hero-slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 2.2s ease-in-out;
  animation: none;
  will-change: opacity, transform;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  animation: hero-zoom-out 6s cubic-bezier(.22, .61, .36, 1) forwards;
}

@keyframes hero-zoom-out {
  0% { transform: scale(1.10); }
  100% { transform: scale(1); }
}
.hero-overlay { background: linear-gradient(90deg, rgba(23,30,41,.80) 0%, rgba(25,33,45,.50) 45%, rgba(25,33,45,.22) 100%), linear-gradient(180deg, rgba(17,23,32,.32) 0%, rgba(17,23,32,.10) 55%, rgba(17,23,32,.60) 100%); }
.hero-content-wrap { position: relative; z-index: 2; width: min(calc(100% - 86px), var(--max)); height: 100%; margin: 0 auto; display: flex; align-items: center; padding-top: 90px; padding-bottom: 150px; }
.hero-content { max-width: 760px; margin-left: 64px; }
.hero-lead { margin: 0 0 16px; font-size: clamp(18px, 2vw, 28px); line-height: 1.7; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; letter-spacing: .04em; }
.hero h1 { margin: 0 0 30px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(36px, 4.8vw, 68px); font-weight: 500; line-height: 1.35; letter-spacing: .04em; }
.hero-buttons { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-btn { display: inline-flex; align-items: center; gap: 12px; min-width: 370px; padding: 14px 24px; border-radius: 999px; background: var(--accent); color: #102a43; font-weight: 800; font-size: 14px; line-height: 1.45; box-shadow: 0 8px 24px rgba(0,0,0,.14); transition: transform .2s ease, filter .2s ease; }
.hero-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.hero-btn i { color: #102a43; font-size: 14px; }

/* 01 02 03: window bottom */
.hero-benefits {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  width: min(calc(100% - 86px), var(--max));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.28);
}
.benefit-card { min-height: 122px; padding: 18px 28px; display: flex; align-items: center; gap: 20px; background: rgba(31,41,55,.62); backdrop-filter: blur(8px); border-right: 1px solid rgba(255,255,255,.24); }
.benefit-card:first-child { border-left: 1px solid rgba(255,255,255,.24); }
.benefit-no { font-family: Georgia, "Times New Roman", serif; font-size: 34px; color: var(--accent); opacity: .95; }
.benefit-card p { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.6; letter-spacing: .03em; }

/* arrows: same side inset as header */
.slider-arrow { position: absolute; z-index: 4; top: 49%; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(16,22,30,.34); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; backdrop-filter: blur(4px); transition: background .2s ease, transform .2s ease; }
.slider-arrow:hover { background: rgba(16,22,30,.58); transform: translateY(-1px); }
.slider-prev { left: var(--side-space); }
.slider-next { right: var(--side-space); }
.slider-dots { position: absolute; z-index: 5; right: calc(var(--side-space) + 4px); bottom: 142px; display: flex; gap: 8px; }
.slider-dots button { width: 8px; height: 8px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.slider-dots button.is-active { background: #fff; }

/* =========================
   SECTIONS
========================= */
.section { padding: 105px 0; }
.section-gray { background: var(--bg); }
.section-dark { background: var(--main); color: #fff; }
.section-en { margin: 0 0 14px; color: var(--main); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.section-en.light { color: #fff; }
.section h2, .contact-cta h2 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(30px, 4vw, 48px); font-weight: 500; line-height: 1.45; letter-spacing: .03em; }
.section-copy { max-width: 850px; margin: 34px 0 0; font-size: 16px; }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
.heading-note { margin: 0; color: #5c6571; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #cfd4da; border: 1px solid #cfd4da; }
.service-card { padding: 38px; background: #fff; }
.service-card > span { display: block; margin-bottom: 40px; font-family: Georgia, serif; font-size: 18px; color: var(--main-light); }
.service-card h3 { margin: 0 0 16px; font-size: 22px; }
.service-card p { margin: 0; color: #59616b; font-size: 14px; }
.flow-list { margin-top: 48px; border-top: 1px solid #d9dde2; }
.flow-item { display: grid; grid-template-columns: 160px 1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid #d9dde2; }
.flow-item b { color: var(--main); letter-spacing: .08em; }
.flow-item h3 { margin: 0 0 6px; font-size: 20px; }
.flow-item p { margin: 0; color: #626b75; }
.profile-block { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.section-dark .section-en { color: #d5dbe4; }
.profile-copy p { margin: 0 0 20px; color: #e7eaf0; }
.faq-list { margin-top: 44px; border-top: 1px solid #d8dde3; }
.faq-list details { border-bottom: 1px solid #d8dde3; padding: 0 6px; }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 22px 42px 22px 0; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 17px; font-size: 28px; font-weight: 300; color: var(--main); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: 0 0 24px; color: #626b75; }

/* CTA */
.contact-cta { padding: 78px 0 68px; color: #fff; background: radial-gradient(circle at 10% 0%, rgba(255,255,255,.11), transparent 30%), linear-gradient(110deg, #5e6b7f 0%, #354155 42%, #273244 100%); }
.cta-top { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.cta-top p { max-width: 680px; margin: 16px 0 0; }
.cta-faq { flex: 0 0 auto; background: #fff; color: var(--main-dark); border-radius: 999px; padding: 12px 28px; font-weight: 700; }
.cta-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.cta-buttons a { background: #fff; color: var(--main-dark); border-radius: 10px; min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: transform .2s ease, box-shadow .2s ease; }
.cta-buttons a:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.cta-buttons small { color: var(--accent); letter-spacing: .18em; font-weight: 700; }
.cta-buttons strong { font-size: 18px; }
.cta-note { margin: 18px 0 0; font-size: 12px; opacity: .75; }

/* Footer */
.site-footer { background: #1e2732; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr; gap: 70px; padding-top: 56px; padding-bottom: 52px; }
.footer-brand img { width: 280px; margin-bottom: 20px; }
.footer-brand p { margin: 0; color: #c8ced6; font-size: 13px; }
.site-footer h3 { margin: 0 0 14px; font-size: 12px; letter-spacing: .12em; color: #aab3bf; }
.site-footer .footer-grid > div:not(.footer-brand) a { display: block; margin: 7px 0; font-size: 13px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); }
.footer-bottom-inner { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; }
.footer-bottom-inner p { margin: 0; }

/* mid-size PC */
@media (max-width: 1220px) and (min-width: 901px) {
  :root { --side-space: 24px; }
  .header-top { grid-template-columns: 250px minmax(0, 1fr) auto; gap: 18px; }
  .site-logo { width: 250px; }
  .header-utility { font-size: 11px; }
  .global-nav { gap: clamp(16px, 2vw, 28px); }
  .global-nav a { font-size: 11.5px; }
  .lab-button { width: 156px; font-size: 11px; }
  .apply-button { width: 126px; font-size: 13px; }
  .site-header.is-scrolled .header-top { grid-template-columns: 0 minmax(0,1fr) auto; }
  .site-header.is-scrolled .header-nav-row { padding-left: 60px; padding-right: 314px; }
  .site-header.is-scrolled .global-nav { gap: 12px; }
  .site-header.is-scrolled .lab-button { width: 166px; }
  .site-header.is-scrolled .apply-button { width: 132px; }
  .hero-content { margin-left: 52px; }
}

/* =========================
   SMARTPHONE
========================= */
@media (max-width: 900px) {
  :root {
    --header-h: 68px;
    --header-h-scroll: 68px;
    --side-space: 16px;
  }

  .pc-only { display: none !important; }
  .sp-only { display: inline; }
  .container { width: min(calc(100% - 32px), var(--max)); }

  /* ヘッダー：スクロール前後で高さと位置を固定 */
  .site-header,
  .site-header.is-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: 68px;
    min-height: 68px;
    max-height: 68px;
    background: rgba(18, 44, 70, .98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: none;
    transition: background .25s ease, box-shadow .25s ease;
  }

  .header-top,
  .site-header.is-scrolled .header-top {
    width: calc(100% - 28px);
    height: 68px;
    min-height: 68px;
    max-height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0;
    transform: none;
    transition: none;
  }

  .header-brand-area,
  .site-header.is-scrolled .header-brand-area {
    flex: 1 1 auto;
    height: 100%;
  }

  .site-logo,
  .site-header.is-scrolled .site-logo {
    position: absolute;
    left: 0;
    top: 50%;
    bottom: auto;
    width: auto;
    height: auto;
    opacity: 1;
    transform: translateY(-50%);
    transition: none;
    pointer-events: auto;
  }

  .site-logo picture { display: block; }

  .site-logo img {
    display: block;
    width: auto;
    height: 44px;
    max-height: none;
    object-fit: contain;
    transform: none;
    transition: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .scroll-favicon { display: none; }

  /* ハンバーガーボタン */
  .menu-button {
    width: 44px;
    height: 44px;
    margin-left: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding: 11px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    transform: none;
    cursor: pointer;
  }

  .menu-button:hover { background: rgba(255,255,255,.09); }
  .menu-button span { display: block; width: 100%; height: 2px; background: #fff; transition: transform .25s ease, opacity .25s ease; }
  .menu-button.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-button.is-open span:nth-child(2) { opacity: 0; }
  .menu-button.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* スマホメニュー */
  .sp-menu {
    position: absolute;
    inset: var(--header-h) 0 auto 0;
    z-index: 1001;
    padding: 12px 20px 20px;
    background: rgba(18,44,70,.99);
    display: none;
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .sp-menu.is-open { display: block; }
  .sp-menu a { display: block; padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; font-weight: 700; }
  .sp-menu .sp-lab-link { color: #d7b05a; }

  /* ヒーロー */
  .hero { height: auto; min-height: 100svh; padding-top: var(--header-h); display: flex; flex-direction: column; }
  .hero-content-wrap { position: relative; flex: 1 1 auto; width: calc(100% - 32px); min-height: 56svh; align-items: center; padding: 54px 0 34px; }
  .hero-content { max-width: 100%; margin-left: 0; }
  .hero-lead { font-size: clamp(16px, 4.5vw, 22px); line-height: 1.75; }
  .hero h1 { font-size: clamp(34px, 9vw, 52px); margin-bottom: 26px; }
  .hero-buttons { width: 100%; }
  .hero-btn { width: 100%; min-width: 0; padding: 13px 18px; border-radius: 10px; justify-content: flex-start; font-size: 13px; }
  .hero-benefits { position: relative; left: auto; bottom: auto; transform: none; width: calc(100% - 32px); margin: 0 auto 24px; grid-template-columns: 1fr; border: 0; gap: 8px; }
  .benefit-card { min-height: 76px; padding: 12px 18px; border: 1px solid rgba(255,255,255,.25) !important; border-radius: 8px; background: rgba(31,41,55,.70); }
  .benefit-no { font-size: 24px; }
  .benefit-card p { font-size: 16px; }
  .benefit-card p br { display: none; }
  .slider-arrow { display: none; }
  .slider-dots { right: 18px; bottom: auto; top: calc(var(--header-h) + 16px); }

  /* 共通コンテンツ */
  .section { padding: 74px 0; }
  .section-heading-row { display: block; margin-bottom: 32px; }
  .heading-note { margin-top: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px; }
  .service-card > span { margin-bottom: 18px; }
  .flow-item { grid-template-columns: 1fr; gap: 10px; }
  .profile-block { grid-template-columns: 1fr; gap: 30px; }
  .contact-cta { padding: 62px 0 52px; }
  .cta-top { display: block; }
  .cta-faq { display: inline-block; margin-top: 22px; }
  .cta-buttons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 16px 0; }
}

@media (max-width: 480px) {
  .hero-content-wrap { min-height: 58svh; padding-top: 42px; }
  .hero h1 { font-size: 34px; }
  .section h2, .contact-cta h2 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ==================================================
   DESKTOP ADJUSTMENTS
================================================== */
@media (min-width: 901px) {

  /* 非スクロール時：ナビ先頭の矢印 */
  .site-header:not(.is-scrolled) .global-nav a::before {
    content: "\25B6";
    display: inline-block;
    margin-right: 7px;
    font-size: 8px;
    line-height: 1;
    color: #fff;
    opacity: .85;
    transform: translateY(-1px);
  }

  /* スクロール時：透明な上段がナビ操作を遮らないようにする */
  .site-header.is-scrolled .header-top { pointer-events: none; }
  .site-header.is-scrolled .header-actions { pointer-events: auto; }
  .site-header.is-scrolled .header-nav-row,
  .site-header.is-scrolled .global-nav,
  .site-header.is-scrolled .global-nav a { pointer-events: auto; }

  /* ヒーローコピーエリア */
  .hero-content {
    position: relative;
    padding: 28px 34px 30px;
    transform: translateY(18px);
    background: linear-gradient(
      135deg,
      rgba(255,255,255,.15) 0%,
      rgba(255,255,255,.08) 45%,
      rgba(255,255,255,.05) 100%
    );
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 6px;
    -webkit-backdrop-filter: blur(10px) saturate(115%);
    backdrop-filter: blur(10px) saturate(115%);
    box-shadow: 0 14px 40px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.12);
  }

  .hero-lead {
    font-size: 24px;
    line-height: 1.75;
  }

  .hero h1 {
    font-size: 52px;
    line-height: 1.5;
  }

  .hero-buttons {
    gap: 12px;
    margin-top: 30px;
  }

  .hero-btn {
    width: 420px;
    min-width: 420px;
    min-height: 58px;
    padding: 15px 24px;
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.5;
    display: flex;
    align-items: center;
  }

  .hero-btn i {
    margin-right: 12px;
    font-size: 16px;
    flex-shrink: 0;
  }
}

/* ==================================================
   SUBPAGE 2
   2カラム下層ページ
================================================== */

/* 1. 下層ページ・非スクロール時ヘッダー
   構造・エフェクトは既存のまま、色だけ調整 */
@media (min-width: 901px) {
  .subpage2 .site-header:not(.is-scrolled) {
    color: var(--main-deep);
    background: linear-gradient(135deg, #f4f6f8 0%, #e9eef3 56%, #dce4eb 100%);
    box-shadow: 0 4px 16px rgba(20, 35, 50, .07);
  }

  .subpage2 .site-header:not(.is-scrolled) .header-top { background: rgba(255,255,255,.22); }
  .subpage2 .site-header:not(.is-scrolled) .header-utility { color: #3e4c5c; }
  .subpage2 .site-header:not(.is-scrolled) .site-logo img { content: url("./img/logo-dark.png"); }

  .subpage2 .site-header:not(.is-scrolled) .header-nav-row {
    bottom: 0;
    background: rgba(255,255,255,.38);
    border-top: 1px solid rgba(35, 52, 70, .07);
    border-bottom: 1px solid rgba(35, 52, 70, .10);
    box-shadow: 0 5px 14px rgba(20, 35, 50, .055);
  }

  .subpage2 .site-header:not(.is-scrolled) .global-nav a { color: #26384a; }
  .subpage2 .site-header:not(.is-scrolled) .global-nav a::before { color: #41566a; opacity: .68; }
  .subpage2 .site-header:not(.is-scrolled) .global-nav a::after { background: #354f67; }
  .subpage2 .site-header:not(.is-scrolled) .global-nav a:hover { color: #102a43; opacity: 1; }

  .subpage2 .site-header:not(.is-scrolled) .lab-button {
    color: #fff;
    background: #0c3b60;
    box-shadow: 0 5px 15px rgba(12,59,96,.18);
  }
  .subpage2 .site-header:not(.is-scrolled) .lab-button:hover { background: #104b78; }

  .subpage2 .site-header:not(.is-scrolled) .apply-button {
    color: #fff;
    background: #8f2445;
    box-shadow: 0 5px 15px rgba(143,36,69,.18);
  }
  .subpage2 .site-header:not(.is-scrolled) .apply-button:hover { background: #a42c52; }

}

/* 2. 下層ページ全体 */
.subpage2-main {
  padding-top: var(--header-h);
  background: #f5f6f8;
}

/* 3. ページ導入エリア */
.subpage2-intro {
  position: relative;
  overflow: hidden;
  padding: 34px 0 104px;
  color: #fff;
  background: linear-gradient(115deg, #405066 0%, #2c394b 45%, #1d2938 100%);
}

.subpage2-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(126deg, rgba(255,255,255,.055) 0 16%, transparent 16% 29%, rgba(255,255,255,.026) 29% 45%, transparent 45% 100%);
  pointer-events: none;
}

.subpage2-intro::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -190px;
  top: -285px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 68px rgba(255,255,255,.016), 0 0 0 140px rgba(255,255,255,.012);
  pointer-events: none;
}

.subpage2-intro-inner { position: relative; z-index: 1; }

/* パンくずを導入エリア内に統合 */
.subpage2-breadcrumb { margin-bottom: 42px; }
.subpage2-breadcrumb ol {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  font-size: 11.5px;
  line-height: 1.4;
  color: rgba(255,255,255,.65);
}
.subpage2-breadcrumb li { display: flex; align-items: center; }
.subpage2-breadcrumb li + li::before { content: "/"; margin: 0 10px; color: rgba(255,255,255,.34); }
.subpage2-breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.78); transition: color .2s ease; }
.subpage2-breadcrumb a:hover { color: #fff; }
.subpage2-breadcrumb i { font-size: 10px; }

/* ページタイトル */
.subpage2-title-wrap {
  max-width: 1000px;
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr);
  gap: 25px;
}

.subpage2-title-line {
  width: 4px;
  min-height: 92px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e6c56e, #b99032);
}

.subpage2-title-wrap h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .055em;
}

.subpage2-lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 14px;
  line-height: 1.95;
}

/* 4. 本文エリア */
.subpage2-content {
  position: relative;
  z-index: 2;
  margin-top: -54px;
  padding-bottom: 110px;
}

.subpage2-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
}

/* 5. 本文カード */
.subpage2-article {
  min-width: 0;
  padding: 58px 62px 76px;
  background: #fff;
  border: 1px solid rgba(35, 48, 62, .065);
  box-shadow: 0 18px 45px rgba(25, 38, 52, .075);
}

.subpage2-section + .subpage2-section { margin-top: 74px; }

.subpage2-article h2 {
  position: relative;
  margin: 0 0 32px;
  padding-bottom: 20px;
  color: var(--main-deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(27px, 2.3vw, 36px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .025em;
}

.subpage2-article h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  background: linear-gradient(90deg, #d7b05a, #b68a31);
}

.subpage2-article h3 {
  margin: 42px 0 18px;
  padding: 12px 0 12px 17px;
  border-left: 3px solid #405066;
  color: #26384a;
  font-size: 20px;
  line-height: 1.6;
}

.subpage2-article p {
  margin: 0 0 24px;
  color: #36414d;
  font-size: 15.5px;
  line-height: 2.08;
  letter-spacing: .01em;
}

.subpage2-list {
  margin: 26px 0 0;
  padding: 22px 24px 22px 46px;
  background: #f6f8fa;
  border-left: 3px solid #d7b05a;
}
.subpage2-list li { margin: 8px 0; color: #36414d; line-height: 1.85; }

.subpage2-image { margin: 34px 0 0; }
.subpage2-image img { width: 100%; height: auto; }
.subpage2-image figcaption { margin-top: 9px; color: #7a828c; font-size: 12px; text-align: center; }

/* 6. サイドバー */
.subpage2-sidebar { position: relative; }

.subpage2-side-panel {
  position: static;
  top: auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(35, 48, 62, .08);
  box-shadow: 0 14px 34px rgba(25, 38, 52, .07);
}

.subpage2-side-heading {
  position: relative;
  padding: 22px 22px 21px;
  color: #fff;
  background: linear-gradient(120deg, #405066 0%, #2b394b 58%, #1d2938 100%);
}

.subpage2-side-heading::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: 0;
  width: 42px;
  height: 3px;
  background: #d7b05a;
}

.subpage2-side-heading span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255,255,255,.56);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
}

.subpage2-side-heading h2 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.5; }

.subpage2-side-menu { margin: 0; padding: 0; list-style: none; }
.subpage2-side-menu li + li { border-top: 1px solid #e9ecf0; }

.subpage2-side-menu a {
  position: relative;
  min-height: 62px;
  padding: 15px 16px 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #2f3944;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.55;
  transition: background .2s ease, color .2s ease, padding-left .2s ease;
}

.subpage2-side-menu a:hover { padding-left: 24px; color: #102a43; background: #f6f8fa; }
.subpage2-side-menu i { flex: 0 0 auto; color: #b58b37; font-size: 12px; }

/* JSで aria-current="page" が付いた場合にも対応 */
.subpage2-side-menu a[aria-current="page"] {
  color: #102a43;
  background: linear-gradient(90deg, rgba(215,176,90,.13), rgba(215,176,90,.035));
}

.subpage2-side-menu a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #d7b05a;
}

/* サイドCTA */
.subpage2-side-cta {
  position: relative;
  margin-top: 20px;
  min-height: 108px;
  padding: 20px 52px 20px 21px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #8f2445, #731a37);
  box-shadow: 0 12px 28px rgba(87, 23, 43, .16);
  transition: transform .2s ease, box-shadow .2s ease;
}

.subpage2-side-cta:hover { transform: translateY(-2px); box-shadow: 0 15px 32px rgba(87, 23, 43, .22); }
.subpage2-side-cta span { margin-bottom: 4px; color: rgba(255,255,255,.62); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.subpage2-side-cta strong { font-size: 14px; line-height: 1.55; }
.subpage2-side-cta i { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 17px; }

/* 7. Tablet / Smartphone */
@media (max-width: 900px) {
  .subpage2-main { padding-top: var(--header-h); }
  .subpage2-intro { padding: 25px 0 76px; }
  .subpage2-breadcrumb { margin-bottom: 30px; }
  .subpage2-title-wrap { grid-template-columns: 3px minmax(0, 1fr); gap: 18px; }
  .subpage2-title-line { width: 3px; min-height: 72px; }
  .subpage2-title-wrap h1 { font-size: 31px; }
  .subpage2-lead { margin-top: 12px; font-size: 13px; line-height: 1.85; }
  .subpage2-content { margin-top: -36px; padding-bottom: 72px; }
  .subpage2-layout { grid-template-columns: 1fr; gap: 42px; }
  .subpage2-article { padding: 38px 26px 50px; }
  .subpage2-section + .subpage2-section { margin-top: 58px; }
  .subpage2-article h2 { font-size: 27px; }
  .subpage2-article p { font-size: 15px; line-height: 1.95; }
}

@media (max-width: 480px) {
  .subpage2-intro { padding: 22px 0 64px; }
  .subpage2-breadcrumb ol { font-size: 10.5px; }
  .subpage2-title-wrap h1 { font-size: 27px; }
  .subpage2-article { padding: 34px 20px 44px; }
  .subpage2-article h2 { font-size: 24px; }
  .subpage2-article h3 { font-size: 18px; }
}

/* ==================================================
   スマホメニュー展開時：背景コンテンツをぼかす
================================================== */
@media (max-width: 900px) {
  body::after {
    content: "";
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    background: rgba(15, 30, 45, .18);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
  }

  body:has(.sp-menu.is-open)::after {
    opacity: 1;
    visibility: visible;
  }

  .site-header { z-index: 1000; }
}

/* ==================================================
   スマホ：ページトップボタン
================================================== */

.page-top {
  display: none;
}

@media (max-width: 900px) {

  .page-top {
    position: fixed;
    right: 14px;
    bottom: 18px;
    z-index: 850;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    background: rgba(18, 44, 70, .94);

    border: 1px solid rgba(215,176,90,.75);
    border-radius: 50%;

    box-shadow: 0 5px 16px rgba(0,0,0,.18);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    pointer-events: none;

    transition:
      opacity .25s ease,
      visibility .25s ease,
      transform .25s ease,
      background .2s ease;
  }

  .page-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);

    pointer-events: auto;
  }

  .page-top i {
    font-size: 15px;
  }

  .page-top:hover {
    background: #122c46;
  }

  /* ハンバーガーメニュー展開中は隠す */
  body:has(.sp-menu.is-open) .page-top {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

}

/* ==================================================
   提供サービス：2プランカード
================================================== */

.service-plan-grid {
  margin-top: 48px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 30px;
}

/* ---------------------------------
   カード本体
--------------------------------- */

.service-plan-card {
  position: relative;

  min-width: 0;

  padding: 48px 46px 52px;

  background: #fff;

  border: 1px solid #dfe3e8;
  border-top: 5px solid var(--wine);

  box-shadow:
    0 12px 30px rgba(25, 38, 52, .055);

  display: flex;
  flex-direction: column;
}

.service-plan-card--support {
  border-top-color: var(--main-deep);
}

/* ---------------------------------
   英字ラベル
--------------------------------- */

.service-plan-label {
  margin: 0 0 14px;

  color: var(--wine);

  font-size: 11px;
  font-weight: 800;

  line-height: 1;

  letter-spacing: .22em;
}

.service-plan-card--support .service-plan-label {
  color: var(--main-deep);
}

/* ---------------------------------
   プラン名
--------------------------------- */

.service-plan-card h3 {
  margin: 0;

  color: var(--main-deep);

  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  font-size: clamp(25px, 2.2vw, 32px);

  font-weight: 600;
  line-height: 1.55;

  letter-spacing: .02em;
}

/* ---------------------------------
   料金
--------------------------------- */

.service-plan-price {
  min-height: 88px;

  margin: 22px 0 20px;

  display: flex;
  align-items: flex-end;

  gap: 4px;

  color: var(--wine);
}

.service-plan-tax {
  margin-bottom: 10px;

  color: #4d5660;

  font-size: 12px;
  font-weight: 600;
}

.service-plan-price strong {
  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size: clamp(44px, 4vw, 56px);

  font-weight: 700;
  line-height: 1;

  letter-spacing: -.025em;
}

.service-plan-yen {
  margin-bottom: 8px;

  font-size: 13px;
  font-weight: 700;
}

/* ---------------------------------
   サービス内容
--------------------------------- */

.service-plan-list {
  margin: 0 0 34px;
  padding: 0;

  list-style: none;
}

.service-plan-list li {
  display: flex;
  align-items: flex-start;

  gap: 13px;

  margin: 0;
  padding: 9px 0;

  color: #3f4853;

  font-size: 15px;
  line-height: 1.7;
}

.service-plan-list i {
  flex: 0 0 auto;

  margin-top: .42em;

  color: var(--wine);

  font-size: 13px;
}

.service-plan-card--support .service-plan-list i {
  color: var(--main-deep);
}

/* ---------------------------------
   CTA
--------------------------------- */

.service-plan-button {
  width: 100%;
  min-height: 56px;

  margin-top: auto;

  padding: 13px 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  color: #fff;

  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;

  text-align: center;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease;
}

.service-plan-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 8px 20px rgba(0, 0, 0, .13);

  filter: brightness(1.04);
}

.service-plan-button--wine {
  background:
    linear-gradient(
      110deg,
      #b23b5c 0%,
      #8f2445 55%,
      #741a38 100%
    );
}

.service-plan-button--navy {
  background:
    linear-gradient(
      110deg,
      #194c70 0%,
      #123b5c 55%,
      #102a43 100%
    );
}

/* ---------------------------------
   右上タグ
--------------------------------- */

.service-plan-badge {
  position: absolute;

  top: 0;
  right: 0;

  min-width: 104px;

  padding: 10px 15px;

  color: #fff;

  background: var(--main-deep);

  font-size: 11px;
  font-weight: 700;

  line-height: 1.3;

  text-align: center;
}

.service-plan-card--standard .service-plan-badge {
  background:
    linear-gradient(
      110deg,
      #a62f51 0%,
      #8f2445 58%,
      #731a37 100%
    );
}

/* ==================================================
   スマホ
================================================== */

@media (max-width: 900px) {

  .service-plan-grid {
    margin-top: 34px;

    grid-template-columns: 1fr;

    gap: 24px;
  }

  .service-plan-card {
    padding:
      36px 26px 32px;
  }

  .service-plan-card h3 {
    font-size: 25px;
  }

  .service-plan-price {
    min-height: auto;

    margin:
      19px 0 17px;
  }

  .service-plan-price strong {
    font-size: 45px;
  }

  .service-plan-list {
    margin-bottom: 28px;
  }

  .service-plan-list li {
    gap: 11px;

    padding: 7px 0;

    font-size: 14px;
  }

  .service-plan-button {
    min-height: 54px;

    padding:
      12px 18px;

    font-size: 14px;
  }

  .service-plan-badge {
    min-width: 92px;

    padding:
      8px 12px;

    font-size: 10px;
  }

}

/* ==================================================
   小型スマホ
================================================== */

@media (max-width: 480px) {

  .service-plan-card {
    padding:
      32px 20px 28px;
  }

  .service-plan-card h3 {
    font-size: 23px;
  }

  .service-plan-price strong {
    font-size: 41px;
  }

}

/* ==================================================
   SUBPAGE 1
   サイドバーなし・1カラム下層ページ
   body class="subpage subpage2 subpage1" で使用
================================================== */

.subpage1-content {
  position: relative;
  z-index: 2;
  margin-top: -54px;
  padding-bottom: 110px;
}

.subpage1-panel {
  width: 100%;
  min-width: 0;
  padding: 58px 62px 76px;
  background: #fff;
  border: 1px solid rgba(35, 48, 62, .065);
  box-shadow: 0 18px 45px rgba(25, 38, 52, .075);
}

.subpage1-section-head {
  max-width: 860px;
  margin-bottom: 44px;
}

.subpage1-section-label {
  margin: 0 0 10px;
  color: var(--wine);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .20em;
}

.subpage1-section-head h2,
.subpage1-block h2 {
  position: relative;
  margin: 0 0 26px;
  padding-bottom: 18px;
  color: var(--main-deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(27px, 2.3vw, 36px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .025em;
}

.subpage1-section-head h2::after,
.subpage1-block h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  background: linear-gradient(90deg, #d7b05a, #b68a31);
}

.subpage1-section-head > p:not(.subpage1-section-label),
.subpage1-block > p {
  margin: 0;
  color: #4a5560;
  font-size: 15.5px;
  line-height: 2;
}

.subpage1-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.subpage1-link-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #dfe4e9;
  box-shadow: 0 8px 24px rgba(25, 38, 52, .055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.subpage1-link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 65, 85, .20);
  box-shadow: 0 16px 32px rgba(25, 38, 52, .10);
}

.subpage1-link-card > a {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.subpage1-link-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e9edf1;
}

.subpage1-link-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(20, 35, 50, .09) 100%);
  pointer-events: none;
}

.subpage1-link-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}

.subpage1-link-card:hover .subpage1-link-image img {
  transform: scale(1.035);
}

.subpage1-link-body {
  flex: 1 1 auto;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
}

.subpage1-link-category {
  margin: 0 0 9px;
  color: var(--wine);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .10em;
}

.subpage1-link-card h3 {
  margin: 0 0 14px;
  color: var(--main-deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: .015em;
}

.subpage1-link-excerpt {
  margin: 0 0 24px;
  color: #5d6670;
  font-size: 13.5px;
  line-height: 1.85;
}

.subpage1-link-more {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #e7eaee;
  color: #34485c;
  font-size: 12px;
  font-weight: 700;
}

.subpage1-link-more i {
  color: var(--accent);
  font-size: 13px;
  transition: transform .2s ease;
}

.subpage1-link-card:hover .subpage1-link-more i {
  transform: translateX(4px);
}

.subpage1-block {
  margin-top: 74px;
}

.subpage1-block > p + .subpage1-link-grid {
  margin-top: 32px;
}

@media (max-width: 900px) {
  .subpage1-content {
    margin-top: -36px;
    padding-bottom: 72px;
  }

  .subpage1-panel {
    padding: 38px 26px 50px;
  }

  .subpage1-section-head {
    margin-bottom: 32px;
  }

  .subpage1-section-head h2,
  .subpage1-block h2 {
    font-size: 27px;
  }

  .subpage1-section-head > p:not(.subpage1-section-label),
  .subpage1-block > p {
    font-size: 15px;
    line-height: 1.95;
  }

  .subpage1-link-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .subpage1-link-card h3 {
    font-size: 20px;
  }

  .subpage1-link-body {
    padding: 22px 22px 20px;
  }

  .subpage1-block {
    margin-top: 58px;
  }

  .subpage1-block > p + .subpage1-link-grid {
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .subpage1-panel {
    padding: 34px 20px 44px;
  }

  .subpage1-section-head h2,
  .subpage1-block h2 {
    font-size: 24px;
  }

  .subpage1-link-card h3 {
    font-size: 19px;
  }

  .subpage1-link-body {
    padding: 20px 18px 18px;
  }
}

/* ==================================================
   サイドバー：各メニューパネル間の余白
================================================== */

.subpage2-sidebar .subpage2-side-panel {
  margin-bottom: 24px;
}

.subpage2-sidebar .subpage2-side-panel:last-child {
  margin-bottom: 0;
}

/* ==================================================
   SSGform
   お申し込み・お問い合わせフォーム共通
================================================== */

.application-form-panel {
  max-width: 100%;
}

.application-form-head {
  max-width: 860px;
  margin-bottom: 42px;
}

.application-form-head h2 {
  position: relative;
  margin: 0 0 26px;
  padding-bottom: 18px;
  color: var(--main-deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(27px, 2.3vw, 36px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .025em;
}

.application-form-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  background: linear-gradient(90deg, #d7b05a, #b68a31);
}

.application-form-head > p:not(.subpage1-section-label) {
  margin: 0;
  color: #4a5560;
  font-size: 15.5px;
  line-height: 2;
}

.application-form {
  max-width: 960px;
  margin: 0 auto;
  border-top: 1px solid #dde2e7;
}

.form-honeypot {
  display: none;
}

.application-form-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid #e4e7eb;
}

.application-form-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--main-deep);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.form-required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 20px;
  padding: 2px 7px;
  color: #fff;
  background: #b3262e;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
}

.application-form-field {
  min-width: 0;
}

.application-form input,
.application-form select {
  width: 100%;
  min-height: 52px;
  padding: 11px 14px;
  color: #273244;
  background: #fff;
  border: 1px solid #cfd5dc;
  border-radius: 4px;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.application-form select {
  cursor: pointer;
}

.application-form input:hover,
.application-form select:hover {
  border-color: #aeb7c1;
}

.application-form input:focus,
.application-form select:focus {
  outline: none;
  border-color: #405a73;
  box-shadow: 0 0 0 3px rgba(64, 90, 115, .10);
  background: #fff;
}

.application-form input:required:invalid:not(:focus):not(:placeholder-shown) {
  border-color: #cfd5dc;
}

.application-form-submit {
  padding-top: 38px;
  text-align: center;
}

.application-form-submit p {
  margin: 0 0 16px;
  color: #67717c;
  font-size: 12.5px;
  line-height: 1.7;
}

.application-form-submit button {
  width: min(100%, 460px);
  min-height: 60px;
  padding: 15px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
  background: linear-gradient(110deg, #a62f51 0%, #8f2445 58%, #731a37 100%);
  border: 0;
  border-radius: 6px;
  box-shadow: 0 9px 22px rgba(115, 26, 55, .18);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.application-form-submit button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 27px rgba(115, 26, 55, .24);
  filter: brightness(1.04);
}

.application-form-submit button i {
  flex: 0 0 auto;
  font-size: 14px;
}

@media (max-width: 900px) {
  .application-form-head {
    margin-bottom: 32px;
  }

  .application-form-head h2 {
    font-size: 27px;
  }

  .application-form-head > p:not(.subpage1-section-label) {
    font-size: 15px;
    line-height: 1.95;
  }

  .application-form-row {
    grid-template-columns: 1fr;
    gap: 11px;
    padding: 22px 0;
  }

  .application-form input,
  .application-form select {
    min-height: 50px;
    font-size: 16px;
  }

  .application-form-submit {
    padding-top: 30px;
  }

  .application-form-submit button {
    min-height: 58px;
    padding: 14px 20px;
  }
}

@media (max-width: 480px) {
  .application-form-head h2 {
    font-size: 24px;
  }

  .application-form-row {
    padding: 20px 0;
  }

  .application-form-submit button {
    width: 100%;
    font-size: 14px;
  }
}

/* ==================================================
   フォーム：入力欄下の注意書き
================================================== */

.application-form .form-note {
  margin: 7px 0 0;

  color: #b3262e;

  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.65;

  letter-spacing: 0;
}

/* スマホ */
@media (max-width: 900px) {

  .application-form .form-note {
    margin-top: 6px;

    font-size: 11px;
    line-height: 1.6;
  }

}

/* ==================================================
   コンサル希望日時
================================================== */

.consult-date-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 160px;
  gap: 12px;
  align-items: center;
}

.consult-date-row + .consult-date-row {
  margin-top: 14px;
}

.consult-date-label {
  color: var(--main-deep);
  font-size: 13px;
  font-weight: 700;
}

.consult-date-row input,
.consult-date-row select {
  margin: 0;
}

/* スマホ */
@media (max-width: 900px) {

  .consult-date-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .consult-date-row + .consult-date-row {
    margin-top: 22px;
  }

  .consult-date-label {
    font-size: 13px;
  }

}

/* ==================================================
   お問い合わせフォーム：テキストエリア調整
================================================== */

.application-form textarea {
  display: block;

  width: 100%;
  min-width: 0;

  min-height: 220px;

  padding: 14px;

  color: #273244;
  background: #fff;

  border: 1px solid #cfd5dc;
  border-radius: 4px;

  font: inherit;
  font-size: 15px;
  line-height: 1.7;

  resize: vertical;

  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.application-form textarea:hover {
  border-color: #aeb7c1;
}

.application-form textarea:focus {
  outline: none;

  border-color: #405a73;

  box-shadow:
    0 0 0 3px rgba(64, 90, 115, .10);
}

/* スマホ */
@media (max-width: 900px) {

  .application-form textarea {
    width: 100%;

    min-height: 200px;

    font-size: 16px;
  }

}

/* ==================================================
   代表者プロフィール
   簡易紹介＋公式サイトへの導線
================================================== */

.profile-intro {
  width: 100%;
}

/* ---------------------------------
   写真＋プロフィール
--------------------------------- */

.profile-intro-main {
  display: grid;

  grid-template-columns:
    320px
    minmax(0, 1fr);

  gap: 46px;

  align-items: start;
}

/* ---------------------------------
   写真
--------------------------------- */

.profile-intro-photo {
  min-width: 0;
}

.profile-intro-photo img {
  display: block;

  width: 100%;
  height: auto;

  border-radius: 4px;

  box-shadow:
    0 8px 24px rgba(25, 38, 52, .10);
}

/* ---------------------------------
   右側プロフィール
--------------------------------- */

.profile-intro-body {
  min-width: 0;

  padding-top: 2px;
}

.subpage2-article .profile-intro-kana {
  margin: 0 0 8px;

  color: #a77e2d;

  font-size: 11px;
  font-weight: 700;

  line-height: 1.5;

  letter-spacing: .18em;
}

.subpage2-article .profile-intro-name {
  margin: 0 0 24px;
  padding: 0;

  border: 0;

  color: var(--main-deep);

  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  font-size: 31px;
  font-weight: 600;

  line-height: 1.45;

  letter-spacing: .04em;
}

/* 資格 */
.profile-intro-qualification {
  margin: 0 0 24px;
  padding-left: 22px;
}

.profile-intro-qualification li {
  margin: 5px 0;

  color: #36414d;

  font-size: 14px;
  line-height: 1.7;
}

/* 紹介文 */
.subpage2-article .profile-intro-body > p:not(.profile-intro-kana) {
  margin: 0 0 20px;

  color: #36414d;

  font-size: 15px;
  line-height: 2;
}

/* ---------------------------------
   公式プロフィールへのボタン
--------------------------------- */

.profile-intro-link {
  margin-top: 42px;

  display: flex;

  justify-content: center;
}

.profile-intro-link a {
  width: min(100%, 430px);
  min-height: 58px;

  padding: 14px 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 16px;

  color: #fff;

  background:
    linear-gradient(
      110deg,
      #a62f51 0%,
      #8f2445 58%,
      #731a37 100%
    );

  border-radius: 999px;

  box-shadow:
    0 8px 20px rgba(115, 26, 55, .16);

  font-size: 14px;
  font-weight: 700;

  line-height: 1.5;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease;
}

.profile-intro-link a:hover {
  transform: translateY(-2px);

  box-shadow:
    0 11px 25px rgba(115, 26, 55, .22);

  filter: brightness(1.04);
}

.profile-intro-link i {
  flex: 0 0 auto;

  font-size: 14px;
}

/* ==================================================
   Smartphone
================================================== */

@media (max-width: 900px) {

  .profile-intro-main {
    grid-template-columns: 1fr;

    gap: 28px;
  }

  .profile-intro-photo {
    width: min(100%, 360px);

    margin: 0 auto;
  }

  .profile-intro-body {
    padding-top: 0;
  }

  .subpage2-article .profile-intro-name {
    font-size: 27px;
  }

  .profile-intro-link {
    margin-top: 34px;
  }

}

/* ==================================================
   Small Smartphone
================================================== */

@media (max-width: 480px) {

  .profile-intro-photo {
    width: 100%;
  }

  .subpage2-article .profile-intro-name {
    font-size: 25px;
  }

  .profile-intro-link a {
    width: 100%;

    min-height: 56px;

    padding: 13px 20px;

    font-size: 14px;
  }

}

/* ==================================================
   事務所概要テーブル
================================================== */

.profile-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.profile-table th,
.profile-table td {
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.8;
}

.profile-table th {
  width: 30%;
  color: var(--main-deep);
  font-weight: 700;
  white-space: nowrap;
}

.profile-table td {
  color: var(--text);
}

.profile-table .text-sm {
  font-size: 12px;
  color: #888;
}

/* ==================================================
   Smartphone
================================================== */

@media (max-width: 900px) {

  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
    padding: 8px 0;
    border-bottom: none;
  }

  .profile-table th {
    color: var(--main-deep);
    font-size: 13px;
    margin-top: 10px;
  }

  .profile-table td {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
  }

  .profile-table tr:last-child td {
    border-bottom: none;
  }

}

/* ==================================================
   WORDPRESS PLAN
   WordPressサイトプラン専用
   body class="subpage subpage2 wp-plan-page"
================================================== */

/* ---------- こんな方へ ---------- */
.wp-plan-page .wp-target-list {
  margin-top: 24px;
  border-top: 1px solid #dfe4e7;
}

.wp-plan-page .wp-target-item {
  position: relative;
  padding: 22px 8px 22px 22px;
  border-bottom: 1px solid #dfe4e7;
}

.wp-plan-page .wp-target-item::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 0;
  width: 4px;
  height: 26px;
  border-radius: 2px;
  background: #637887;
}

.wp-plan-page .wp-target-item h3 {
  margin: 0 0 7px;
  padding-left: 0;
  border-left: 0;
  font-size: 1.05rem;
  line-height: 1.65;
}

.wp-plan-page .wp-target-item p {
  margin: 0;
}

/* ---------- このプランでできること・身につくこと ---------- */
.wp-plan-page .wp-learning-block {
  margin-top: 28px;
  padding: 24px 26px;
  border: 1px solid #e1e5e8;
  border-radius: 10px;
  background: #fff;
}

.wp-plan-page .wp-learning-block:first-of-type {
  margin-top: 22px;
}

.wp-plan-page .wp-learning-block h3 {
  margin-top: 0;
}

.wp-plan-page .wp-learning-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 18px;
}

.wp-plan-page .wp-learning-col {
  padding: 20px 21px;
  border-radius: 8px;
}

.wp-plan-page .wp-learning-process {
  background: #f4f6f7;
  border: 1px solid #e1e6e9;
}

.wp-plan-page .wp-learning-outcome {
  background: #fbf6e9;
  border: 1px solid #eadfc8;
}

.wp-plan-page .wp-learning-label {
  display: block;
  margin-bottom: 10px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.wp-plan-page .wp-learning-outcome .wp-learning-label {
  color: #82662f;
}

.wp-plan-page .wp-learning-col ul {
  margin: 0;
  padding-left: 1.2em;
}

.wp-plan-page .wp-learning-col li + li {
  margin-top: 7px;
}

/* ---------- このプランでは行わないこと ---------- */
.wp-plan-page .wp-notdo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.wp-plan-page .wp-notdo-card {
  padding: 20px 22px;
  border: 1px solid #e2e6e9;
  border-radius: 10px;
  background: #fff;
}

.wp-plan-page .wp-notdo-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.wp-plan-page .wp-notdo-card p {
  margin-bottom: 0;
}

/* ---------- お申し込みから完成までのSTEP ---------- */
.wp-plan-page .wp-step-list {
  position: relative;
  margin-top: 30px;
}

.wp-plan-page .wp-step-list::before {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: 33px;
  width: 2px;
  background: #d2dbe0;
}

.wp-plan-page .wp-step {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 24px;
}

.wp-plan-page .wp-step:last-child {
  padding-bottom: 0;
}

.wp-plan-page .wp-step-no {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #243b4a;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 7px #fff;
}

.wp-plan-page .wp-step-no small {
  display: block;
  margin-right: 3px;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .06em;
}

.wp-plan-page .wp-step-body {
  position: relative;
  padding: 19px 22px 20px;
  border: 1px solid #dbe2e6;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(28, 47, 60, .035);
}

.wp-plan-page .wp-step-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  border-radius: 10px 0 0 10px;
  background: #d9e3e8;
}

.wp-plan-page .wp-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.wp-plan-page .wp-step-head h3 {
  margin: 0;
  padding-left: 0;
  border-left: 0;
}

.wp-plan-page .wp-step-meta {
  flex: none;
  padding: 5px 10px;
  border-radius: 999px;
  background: #edf2f5;
  color: #405865;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}

.wp-plan-page .wp-step-body p {
  margin: 0;
}

.wp-plan-page .wp-step-body p + p {
  margin-top: 8px;
}

.wp-plan-page .wp-schedule-note {
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 3px solid #7e8a92;
  background: #f7f8f9;
  font-size: .92rem;
}

/* ---------- 料金 ---------- */
.wp-plan-page .wp-price-box {
  margin-top: 24px;
  padding: 28px 30px;
  border: 1px solid #d9dfe3;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.wp-plan-page .wp-price-name {
  margin: 0 0 8px;
  font-weight: 700;
}

.wp-plan-page .wp-price {
  margin: 0;
  color: #b64040;
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.4;
}

.wp-plan-page .wp-price span {
  color: #555;
  font-size: .9rem;
  font-weight: 500;
}

.wp-plan-page .wp-price-desc {
  margin: 14px 0 0;
  text-align: left;
}

.wp-plan-page .wp-option-box {
  margin-top: 22px;
  padding: 22px 24px;
  border: 1px solid #e7caca;
  border-radius: 10px;
  background: #fdf1f1;
}

.wp-plan-page .wp-option-box h3 {
  margin-top: 0;
}

.wp-plan-page .wp-option-price {
  color: #b64040;
  font-size: 1.12rem;
}

/* ---------- スマホ ---------- */
@media (max-width: 760px) {
  .wp-plan-page .wp-target-item {
    padding: 18px 4px 18px 18px;
  }

  .wp-plan-page .wp-target-item::before {
    top: 22px;
    height: 24px;
  }

  .wp-plan-page .wp-notdo-grid,
  .wp-plan-page .wp-learning-cols {
    grid-template-columns: 1fr;
  }

  .wp-plan-page .wp-learning-block {
    padding: 20px;
  }

  .wp-plan-page .wp-step-list::before {
    left: 24px;
  }

  .wp-plan-page .wp-step {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 13px;
  }

  .wp-plan-page .wp-step-no {
    width: 50px;
    height: 50px;
    font-size: .82rem;
    box-shadow: 0 0 0 5px #fff;
  }

  .wp-plan-page .wp-step-head {
    display: block;
  }

  .wp-plan-page .wp-step-meta {
    display: inline-block;
    margin-top: 8px;
  }

  .wp-plan-page .wp-step-body {
    padding: 17px 18px;
  }

  .wp-plan-page .wp-price-box {
    padding: 24px 20px;
  }
}
