:root {
  --navy: #043279;
  --navy-lite: #108FCF;
  --navy-deep: #00255E;
  --key: #00CC84;
  --key-deep: #00875A;
  --white: #ffffff;
  --slate: #445d82;
  --slate-light: #eaf1fb;
  --slate-text: #33445e;
  --steel: #64738f;
  --line: #e3e8f0;
  --yellow: #eabb00;
  --red: #dd0000;
  --search-bg: #f7f9fc;
  --footer-bg: #dce6f6;
  --placeholder: #ededed;
  --grad-hero: linear-gradient(237.5deg, #eaf2fb 17%, #7aa9dd 74%);
  --grad-page-hero: linear-gradient(-50deg, #eaf2fb 5%, #7aa9dd 85%);
  --grad-icon: linear-gradient(180deg, #bfe0ff 0%, #0b3d91 100%);
  --grad-key: linear-gradient(-77deg, #5ce8b6 8%, #00cc84 26%, #009e67 82%);
  --grad-blue: linear-gradient(-72deg, #d6ecff 8%, #3f7fd1 26%, #072a63 83%);
  --grad-band: linear-gradient(97.7deg, #108FCF 6.5%, #043279 28.7%, #00255E 97%);
  --grad-card: linear-gradient(-15deg, #00255E 0%, #043279 24.5%, #108FCF 100%);
  --grad-cv-side: linear-gradient(133deg, #4a7ec2 5%, var(--navy) 90%);
  --shadow-key: 0 7px 17px rgba(0, 170, 112, .5);
  --shadow-navy: 0 7px 17px rgba(35, 61, 94, .45);
}

@media (max-width: 768px) {
  :root {
    --shadow-key: 0 4px 10px rgba(0, 170, 112, .5);
    --shadow-navy: 0 4px 10px rgba(35, 61, 94, .45);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility
}

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

a {
  color: var(--navy);
  text-decoration: none
}

a:hover {
  color: var(--navy-lite)
}

button {
  font-family: inherit;
  cursor: pointer
}

span {
  display: inline-block;
}

.leaflet-container img {
  max-width: none
}

.leaflet-pane {
  z-index: 2;
}

.leaflet-top,
.leaflet-bottom {
  z-index: 3;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(25px, 4.2vw, 50px)
}

section.border {
  border-bottom: 1px solid var(--line);
}

.page-header-wrap {
  display: flex;
  gap: 20px;
}

/* reveal */
#yuasa-root .reveal {
  opacity: 1
}

#yuasa-root.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2, .7, .2, 1)
}

#yuasa-root.js .reveal.in-view {
  opacity: 1;
  transform: none
}


/* ============================================================
   TOP PAGE（index.html 専用）
   ============================================================ */

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  padding-bottom: clamp(60px, 9.2vw, 110px)
}

.site-header {
  position: relative;
  z-index: 5
}

.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px clamp(25px, 4.2vw, 50px) 20px
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--navy);
  line-height: 1
}

.brand-y {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.3vw, 52px);
  letter-spacing: .05em
}

.brand-c {
  font-family: "Roboto Flex", "Roboto", sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.9vw, 35px);
  letter-spacing: .01em
}

.page-sub .brand-y {
  font-size: clamp(26px, 3.3vw, 40px)
}

.page-sub .brand-c {
  font-size: clamp(17px, 2.2vw, 27px)
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 22px;
  padding: 9px 25px 10px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .1em;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease
}

.pill svg {
  flex: 0 0 auto
}

.pill-official {
  background: var(--navy);
  color: var(--white);
}

.pill-official:hover {
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(35, 71, 126, .32)
}

.hero-stage {
  position: relative;
  min-height: 470px;
  margin-top: 5px;
  z-index: 3
}

.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 25px;
  text-align: center;
  padding: 50px clamp(150px, 20.8vw, 250px) 0;
  margin-top: 50px;
  color: var(--navy);
  pointer-events: none
}

.hero-copy .l1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap
}

.hero-copy .l1>span:first-child {
  font-weight: 600;
  font-size: clamp(29px, 4.2vw, 50px);
  line-height: 1
}

.cl-box {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  border: 4px solid var(--navy);
  padding: 1em 1.5em;
  background: var(--white);
}

.cl-box img {
  width: 240px;
}

.hero-copy .l2 {
  font-weight: 600;
  font-size: clamp(22px, 4.2vw, 50px);
  line-height: 1.1;
  white-space: nowrap
}

.hero-icons {
  display: contents
}

.hero-icon {
  position: absolute;
  width: clamp(120px, 20vw, 220px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: var(--grad-icon);
  box-shadow: inset 0 0 0 3px #2e5fa3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35em;
  text-align: center;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease
}

.hero-icon img {
  width: 46%;
  height: auto
}

.hero-icon span {
  color: var(--white);
  font-weight: 600;
  font-size: clamp(12px, 1.7vw, 20px);
  letter-spacing: .11em;
  line-height: 1.25
}

.i-shaken {
  left: 6%;
  top: 0
}

.i-kaitori {
  right: 6%;
  top: 0
}

.i-coating {
  left: 0;
  top: 230px
}

.i-other {
  right: 0;
  top: 230px
}

.cityscape {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: auto;
  z-index: 2;
  pointer-events: none
}

.hero-glow-wrap {
  z-index: -1;
  min-height: 460px;
  position: relative;
}

.hero-glow {
  position: absolute;
  border-radius: 100%;
  pointer-events: none;
}

.hero-glow.g1 {
  width: 1060px;
  height: 360px;
  left: calc(10% - 530px);
  top: -250px;
  transform: rotate(10deg);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .8) 20%, rgba(255, 255, 255, .5) 70%, rgba(255, 255, 255, 0));
}

.hero-glow.g2 {
  width: 1060px;
  height: 360px;
  right: calc(10% - 530px);
  top: -250px;
  transform: rotate(-10deg);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .8) 20%, rgba(255, 255, 255, .5) 70%, rgba(255, 255, 255, 0));
}

.hero-glow.g3 {
  width: 1220px;
  height: 480px;
  left: calc(50% - 620px);
  bottom: 20px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, .5) 80%, rgba(255, 255, 255, 0))
}

/* ---------- SECTION HEAD ---------- */
.section-head {
  text-align: center;
  margin-bottom: clamp(40px, 5.4vw, 65px)
}

.section-head h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 60px);
  letter-spacing: .08em;
  color: var(--navy);
  line-height: 1
}

.section-head p {
  margin-top: 10px;
  font-weight: 600;
  font-size: clamp(14px, 1.7vw, 20px);
  letter-spacing: .2em;
  color: var(--slate)
}

/* ---------- SERVICE ---------- */
.services {
  padding: clamp(55px, 8.3vw, 100px) 0
}

.services .wrap {
  max-width: 1600px;
}

.service-row {
  display: flex;
  gap: clamp(35px, 4vw, 50px);
  align-items: center;
  margin-bottom: clamp(50px, 7.9vw, 95px)
}

.service-row:last-child {
  margin-bottom: 0
}

.service-row.rev {
  flex-direction: row-reverse
}

.service-media {
  flex: 0 0 clamp(320px, 38%, 440px);
  aspect-ratio: 440/349;
  background: #d9d9d9;
  overflow: hidden
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease
}

.service-media:hover img {
  transform: scale(1.05)
}

.service-body {
  flex: 1 1 0;
  min-width: 0
}

.service-title {
  font-weight: 600;
  font-size: clamp(20px, 3.5vw, 38px);
  letter-spacing: .15em;
  color: var(--navy);
  line-height: 1.1
}

.service-sub {
  margin-top: 20px;
  font-weight: 700;
  font-size: clamp(16px, 2.1vw, 25px);
  color: var(--slate);
  line-height: 1.5;
  letter-spacing: .15em;
}

.service-desc {
  margin-top: 15px;
  font-weight: 500;
  font-size: clamp(12px, 1.3vw, 16px);
  color: var(--slate);
  line-height: 2;
  letter-spacing: .1em;
}

.service-cta {
  margin-top: clamp(20px, 2.9vw, 35px);
  display: flex
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  border: 0;
  border-radius: 46px;
  padding: 20px 30px 25px 40px;
  color: var(--white);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease
}

.btn p {
  display: inline-flex;
  align-items: center;
}

.btn .btn-main {
  font-weight: 600;
  font-size: clamp(16px, 2.3vw, 28px);
  letter-spacing: .05em;
  line-height: 1
}

.btn .btn-sub {
  font-weight: 600;
  font-size: clamp(12px, 1.8vw, 21px);
  letter-spacing: .05em;
  line-height: 1;
  margin-left: .15em
}

.btn .arrow {
  display: inline-flex;
  flex: 0 0 auto
}

.btn-green {
  background: var(--grad-key);
  box-shadow: inset 0 0 0 1px #00cc84, var(--shadow-key)
}

.btn-green:hover {
  color: var(--white);
  transform: translateY(3px);
  box-shadow: inset 0 0 0 1px #00cc84, 0 3px 8px rgba(0, 170, 112, .85);
  filter: brightness(1.04)
}

.btn-blue {
  background: var(--grad-blue);
  box-shadow: inset 0 0 0 1px #1d4e9b, 0 4px 24px 2px rgba(0, 0, 0, .2)
}

.btn-blue:hover {
  color: var(--white);
  transform: translateY(3px);
  box-shadow: inset 0 0 0 1px #1d4e9b, 0 2px 12px 0 rgba(0, 0, 0, .28);
  filter: brightness(1.05)
}

/* ---------- SEARCH ---------- */
.search {
  background: var(--search-bg);
  padding: clamp(55px, 8.3vw, 100px) 0
}

.map-box {
  display: flex;
  margin: clamp(30px, 4.2vw, 50px) auto 0;
  max-width: 1080px;
  height: clamp(340px, 46vw, 525px);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(35, 61, 94, .1);
  background: var(--white)
}

#yuasa-map {
  flex: 1 1 auto;
  height: 100%;
  min-width: 0
}

.store-list {
  flex: 0 0 300px;
  height: 100%;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  background: var(--white);
  -webkit-overflow-scrolling: touch
}

.store-list::-webkit-scrollbar {
  width: 8px
}

.store-list::-webkit-scrollbar-thumb {
  background: rgba(35, 61, 94, .25);
  border-radius: 4px
}

.store-list-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
  font-family: inherit;
  cursor: pointer;
  transition: background .18s ease
}

.store-list-item:hover,
.store-list-item.is-active {
  background: #eef4fc
}

.store-list-item .sli-name {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  letter-spacing: .04em
}

.store-list-item .sli-addr {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--slate);
  line-height: 1.5;
  letter-spacing: .02em;
}

.leaflet-popup-content {
  font-family: "Noto Sans JP", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.6;
  width: auto;
  min-width: 240px;
}

.leaflet-popup-content>p {
  margin: 0;
}

.leaflet-popup-content .popup-name {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700
}

/* 取り扱いサービスのタグ（.svc-card .svc-works .w-tags span と同デザイン） */
.leaflet-popup-content .popup-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 5px 0;
}

.leaflet-popup-content .popup-tags span {
  background: var(--white);
  color: var(--slate-text);
  border-radius: 20px;
  padding: 3px 10px 4px;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .04em;
  border: 1px solid var(--line);
  line-height: 1;
}

.leaflet-popup-content .popup-addr {
  color: var(--slate);
  line-height: 1.6;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .02em;
}

.leaflet-popup-content .popup-tel {
  display: inline-block;
  color: var(--slate);
  font-weight: 600;
  text-decoration: none;
}

.leaflet-popup-content .popup-tel:hover {
  text-decoration: underline
}

.leaflet-popup-content .popup-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.leaflet-popup-content .popup-link:hover {
  text-decoration: underline
}

.leaflet-popup-content .popup-link .arrow {
  display: inline-flex;
  margin-left: 6px
}

.leaflet-popup-content .popup-link .arrow svg {
  display: block;
  width: 13px;
  height: auto
}

.leaflet-container a.leaflet-popup-close-button {
  color: var(--slate)
}

.list-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(30px, 3.8vw, 45px)
}

.btn-list {
  padding: 15px 25px 15px 35px
}

.btn-list .btn-main {
  font-size: clamp(18px, 1.7vw, 20px)
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--footer-bg);
  padding: clamp(35px, 4.2vw, 50px) 0
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "nav pill" "copy pill";
  align-items: start;
  column-gap: 25px;
  row-gap: 15px
}

.footer-nav {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  gap: 15px
}

.footer-nav a {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .2em;
  color: var(--navy)
}

.footer-nav a:hover {
  color: var(--navy-lite)
}

.footer-official {
  grid-area: pill;
  align-self: center
}

.copyright {
  grid-area: copy;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--navy)
}

/* sticky header option (add class "sticky" to .site-header to enable) */
.site-header.sticky {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

/* ============ TOP PAGE RESPONSIVE — breakpoint 768px ============ */
@media (max-width:768px) {
  .wrap {
    padding: 0 20px
  }

  .header-inner {
    padding: 20px 20px 15px
  }

  .page-header-actions {
    display: none
  }

  .brand {
    gap: 10px
  }

  .btn {
    padding: 10px 20px 15px 30px
  }

  .btn .arrow {
    max-width: 20px;
  }

  .hero {
    padding-bottom: clamp(50px, 16vw, 80px)
  }

  .hero-glow.g2,
  .hero-glow.g3 {
    display: none
  }

  .hero-stage {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(25px, 7vw, 40px);
  }

  .hero-copy {
    position: static;
    gap: 10px;
    padding: 20px 0;
    margin-top: 0;
  }

  .hero-copy,
  .hero-copy .l1 {
    gap: 15px;
  }

  .hero-copy .l2 {
    white-space: normal
  }

  .cl-box img {
    width: 80%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 500px
  }

  .hero-icon {
    position: static;
    width: 100%
  }

  .hero-icon span {
    font-size: clamp(9px, 2vw, 16px)
  }

  .hero-glow-wrap {
    position: absolute;
  }

  .service-row,
  .service-row.rev {
    flex-direction: column;
    gap: 20px;
    align-items: stretch
  }

  .service-media {
    flex: none;
    width: 100%;
    aspect-ratio: 330/240
  }

  .service-title {
    text-align: left;
    letter-spacing: .1em;
    line-height: 1.1
  }

  .service-sub {
    margin-top: 10px;
  }

  .service-desc {
    margin-top: 10px;
    line-height: 1.7;
    letter-spacing: .1em;
  }

  .service-cta {
    justify-content: center;
    margin-top: 25px
  }

  .map-box {
    flex-direction: column;
    height: auto
  }

  #yuasa-map {
    flex: none;
    height: 300px
  }

  .store-list {
    flex: none;
    height: 240px;
    border-left: 0;
    border-top: 1px solid var(--line)
  }

  .footer {
    padding: 35px 0
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px
  }

  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    order: 1
  }

  .footer-official {
    order: 2
  }

  .copyright {
    order: 3
  }
}

@media (max-width:768px) and (min-width:521px) {
  .service-media {
    max-width: 520px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    width: 100%
  }
}

@media(max-width:320px) {
  .btn .btn-sub {
    display: none;
  }
}


/* ============================================================
   下層ページ共通（車検 / 中古車買取 / コーティング）
   レイアウト骨格 = .page-*
   セクション背景は .page-section.is-alt で交互に切り替える
   ============================================================ */

.page-wrap {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.3vw, 40px);
}

.page-section {
  padding: clamp(55px, 8.3vw, 100px) 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

/* 背景違い（白 ⇄ グレー の交互配置用） */
.page-section.is-alt {
  background: var(--search-bg);
}

/* セクション末尾に .cv-band を敷く場合 */
.page-section.has-band {
  padding-bottom: 0;
}

/* セクション全面を子要素で埋める場合 */
.page-section.is-flush {
  padding: 0;
}

.page-head {
  text-align: center;
  margin-bottom: clamp(40px, 5.4vw, 65px);
}

.page-head .eyebrow {
  font-weight: 600;
  font-size: clamp(14px, 1.7vw, 20px);
  letter-spacing: .2em;
  color: var(--slate);
  line-height: 1;
}

.page-head .main-title {
  margin-top: clamp(10px, 1.7vw, 20px);
  font-weight: 700;
  font-size: clamp(20px, 3.5vw, 35px);
  letter-spacing: .08em;
  color: var(--navy);
  line-height: 1.35;
}

/* ---------- HEADER ---------- */
.page-header {
  position: relative;
  z-index: 5;
}

.page-header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 35px clamp(20px, 4.2vw, 50px);
}

.page-logo {
  display: block;
  flex: 0 1 auto;
  margin-top: 20px;
}

.page-logo img {
  width: clamp(220px, 32vw, 400px);
  height: auto;
}

.page-logo.is-wide img {
  width: clamp(240px, 34vw, 430px);
}

.page-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.page-pill-official {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  padding: 10px 25px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  font-size: calc(12px, 2vw, 15px);
  transition: transform .18s ease, box-shadow .18s ease;
}

.page-pill-official:hover {
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(35, 71, 126, .3);
}

.circle-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid currentColor;
  flex: 0 0 auto;
}

.circle-arrow svg {
  display: block;
}

.page-pill-store {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--white);
  color: var(--navy);
  border-radius: 40px;
  padding: 10px 25px;
  box-shadow: inset 0 0 0 1px var(--navy);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .1em;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease;
}

.page-pill-store:hover {
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px var(--navy), 0 6px 16px rgba(35, 71, 126, .2);
}

.page-pill-store svg {
  flex: 0 0 auto;
}

.page-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 45px;
  height: 45px;
  background: none;
  border: 0;
  padding: 8px;
  flex: 0 0 auto;
}

.page-hamburger span {
  display: block;
  height: 3px;
  width: 30px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .3s ease, opacity .2s ease;
}

.page-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.page-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.page-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ハンバーガーオーバーレイ：ページ全体に被さる形で開き、
   背面コンテンツは #000 75% の半透明マスクで覆う（全ページ共通）。
   右余白は JS が .page-hamburger の実際の右端に合わせて --menu-edge に反映する
   （ウィンドウ幅が広がっても .page-hamburger と右端が揃うようにするため）。 */
.page-menu {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 90px var(--menu-edge, 20px) 40px;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, background-color .3s ease, visibility 0s linear .3s;
}

.page-menu.is-open {
  background: rgba(0, 0, 0, .75);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .3s ease, background-color .3s ease;
}

.pmm-panel {
  width: 100%;
  max-width: 380px;
  max-height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, .96);
  border-radius: 14px;
  padding: 30px 0;
  transform: translateY(-16px);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}

.page-menu.is-open .pmm-panel {
  transform: translateY(0);
  opacity: 1;
}

.page-menu .min-text {
  display: none;
}

.page-menu a {
  width: 100%;
  text-align: center;
  padding: 0 0 15px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .14em;
  color: var(--navy);
}

.page-menu a.page-pill-official {
  width: auto;
  padding: 10px 25px;
  color: var(--white);
  margin: 10px auto 5px;
  font-size: clamp(11px, 2vw, 15px)
}

.page-menu a.page-pill-official:hover {
  color: var(--white);
}


/* ---------- HERO / FIRSTVIEW（全下層ページ共通） ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-page-hero);
}

.page-hero-stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(25px, 4.6vw, 55px);
  padding: 0 clamp(20px, 3.3vw, 40px) clamp(150px, 20vw, 240px);
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero-stage::before,
.page-hero-stage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0) 100%);
  z-index: -1;
}

.page-hero-stage::before {
  width: 1000px;
  height: 620px;
  left: -330px;
  top: -40px;
}

.page-hero-stage::after {
  width: 1000px;
  height: 460px;
  right: -75px;
  top: -150px;
}

.page-hero-img-wrap {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}

.page-hero-title {
  font-weight: 600;
  font-size: clamp(24px, 3.3vw, 40px);
  line-height: 1.4;
  letter-spacing: .1em;
  color: var(--navy);
  white-space: pre-line;
}

.page-hero-title .en-eyebrow {
  display: block;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: .24em;
  color: var(--slate-text);
  margin-bottom: 10px;
}

.page-hero-lead {
  margin-top: 30px;
  font-weight: 500;
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.8;
  letter-spacing: .08em;
  color: var(--slate-text);
}

.page-hero-note {
  margin-top: 15px;
  font-weight: 500;
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: .08em;
  color: var(--slate-text);
}

.page-points {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-point {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 15px;
}

.page-point .chk {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

.page-point .txt {
  font-weight: 700;
  font-size: clamp(12px, 1.5vw, 18px);
  letter-spacing: .08em;
  line-height: 1.3;
  padding-bottom: 3px;
}

.page-point .txt p {
  display: inline-block;
}

.page-point .hl {
  color: var(--key);
  font-size: 130%;
  line-height: 1;
}

.page-point .big {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 200%;
}

/* 実績エンブレム（画像版 / テキスト版 共通の配置） */
.emblem {
  position: absolute;
  right: 0;
  top: 0;
  width: 165px;
  height: auto;
  z-index: 1;
}

/* ---------- HERO CV バー ---------- */
.page-hero-cv {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(35px, 5vw, 50px);
  z-index: 4;
  width: min(880px, calc(100% - clamp(40px, 10vw, 80px)));
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(35, 61, 94, .18);
}

.page-hero-cv-main {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3.8vw, 45px);
  padding: 40px clamp(20px, 3.3vw, 40px);
  flex-wrap: wrap;
}

.page-cv-copy {
  line-height: 1.4;
}

.page-cv-copy .c1 {
  font-weight: 600;
  font-size: clamp(14px, 1.4vw, 17px);
  letter-spacing: .08em;
  color: var(--slate-text);
}

.page-cv-copy .c2 {
  font-weight: 700;
  font-size: clamp(15px, 1.8vw, 22px);
  letter-spacing: .05em;
  color: var(--key-deep);
}

/* 「〇〇無料！」訴求（CVバー内） */
.cv-free {
  font-weight: 700;
  font-size: clamp(15px, 1.7vw, 20px);
  line-height: 1.53;
  letter-spacing: .05em;
  color: var(--key-deep);
}

/* ---------- 予約ボタン ---------- */
.btn-reserve {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  border-radius: 46px;
  padding: 15px 25px 20px 35px;
  color: var(--white);
  background: var(--grad-key);
  box-shadow: inset 0 0 0 1px #00cc84, var(--shadow-key);
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-reserve:hover {
  color: var(--white);
  transform: translateY(3px);
  box-shadow: inset 0 0 0 1px #00cc84, 0 3px 8px rgba(0, 170, 112, .85);
  filter: brightness(1.04);
}

.cv-band .btn-reserve,
.float-cv .btn-reserve {
  box-shadow: inset 0 0 0 1px #00cc84, var(--shadow-navy);
}

.btn-reserve .label {
  font-weight: 700;
  font-size: clamp(16px, 2vw, 24px);
  letter-spacing: .05em;
  line-height: 1;
}

.btn-reserve .label .min-text {
  display: none;
}

.btn-reserve .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1.5px solid var(--white);
  flex: 0 0 auto;
}

.min-text {
  display: none;
}

/* ---------- イントロ ---------- */
.page-intro {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto clamp(40px, 5vw, 60px);
}

.page-intro .eb {
  font-weight: 600;
  font-size: clamp(16px, 2vw, 24px);
  letter-spacing: .1em;
  color: var(--slate);
}

.page-intro .hl {
  margin-top: 15px;
  font-weight: 700;
  font-size: clamp(17px, 2.5vw, 30px);
  line-height: 1.55;
  letter-spacing: .1em;
  color: var(--navy);
}

.page-intro .desc {
  margin-top: 20px;
  font-weight: 500;
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.8;
  letter-spacing: .08em;
  color: var(--slate);
}

/* ============================================================
   TOPICS（下層ページ共通 / .page-hero 直下の最新トピックス）
   .topics-inner … 画像 + テキストの左右レイアウト（SPで縦積み）
   ============================================================ */

.topics {
  padding: clamp(35px, 5vw, 60px) 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.topics-inner {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 3.3vw, 40px);
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(20px, 4.5vw, 50px);
  background: var(--search-bg);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.topics-media {
  flex: 0 0 clamp(200px, 28vw, 340px);
  border-radius: 8px;
  overflow: hidden;
  background: var(--placeholder);
}

.topics-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.topics-body {
  flex: 1 1 auto;
  min-width: 0;
}

.topics-label {
  font-weight: 600;
  font-size: clamp(12px, 1.4vw, 15px);
  letter-spacing: .2em;
  line-height: 1;
  color: var(--slate);
}

.topics-title {
  margin-top: 12px;
  font-weight: 700;
  font-size: clamp(16px, 1.9vw, 22px);
  line-height: 1.5;
  letter-spacing: .05em;
  color: var(--navy);
}

.topics-text {
  margin-top: 15px;
  font-weight: 500;
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.9;
  letter-spacing: .06em;
  color: var(--slate);
}

@media (max-width: 768px) {
  .topics-inner {
    flex-direction: column;
  }

  .topics-media {
    flex: 0 0 auto;
    width: 100%;
  }
}

/* ============================================================
   カードグリッド
   .col-grid  … グリッド本体。列数は .col2 / .col3 / .col4 で指定
   .col-card  … カード本体。デザイン差分は -ptn1 / -ptn2 で展開
   ============================================================ */



.col-grid {
  display: grid;
  gap: 20px;
}

.col-card {
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 30px 20px;
}

/* ptn1: グレー背景（白セクション・グレーセクション問わず既定） */
.col-card-ptn1 {
  background: var(--search-bg);
}

.is-alt .col-card-ptn1 {
  background: var(--white);
}

/* ptn2: 白背景 */
.col-card-ptn2 {
  background: var(--white);
}

.col-card .card-title {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .08em;
  color: var(--slate);
  margin-bottom: 20px;
}

/* ---------- ベネフィットカード（.col-grid の上に敷く余白プリセット） ---------- */
.benefit-grid {
  gap: clamp(30px, 4.2vw, 50px);
  margin: 0 auto;
}

.benefit-grid.col2 {
  max-width: 900px;
}

.benefit-grid.col3 {
  grid-template-columns: repeat(3, minmax(0, 325px));
  justify-content: center;
  gap: clamp(25px, 4.6vw, 55px);
  max-width: 1085px;
}

.benefit-grid .row2 {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 325px));
  justify-content: center;
  gap: clamp(25px, 4.2vw, 50px);
}

.benefit-card {
  border-radius: 20px;
  background: var(--grad-card);
  padding: 40px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.benefit-card .ico {
  width: clamp(96px, 10.4vw, 216px);
  height: clamp(66.4px, 7.2vw, 150.4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 20px;
}

.benefit-card .b-title {
  font-weight: 600;
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.42;
  letter-spacing: .08em;
  color: var(--white);
}

.benefit-card .b-desc {
  font-weight: 500;
  font-size: clamp(12px, 1.5vw, 14px);
  line-height: 1.54;
  letter-spacing: .08em;
  color: var(--white);
}

/* アイコン未確定時のプレースホルダ（.ico と併用するモディファイア。
   サイズは各コンテキストの .ico 側で指定） */
.ico.ico-ph {
  background: var(--placeholder);
}

/* ---------- お悩みカード（TROUBLES） ---------- */
.col-card.trouble-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 30px 20px 35px;
}

.trouble-card .t-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  background: var(--yellow);
  color: var(--white);
  padding: 5px 10px;
}

.trouble-card .t-tag .tt-l {
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .08em;
}

.trouble-card .t-tag .tt-n {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .03em;
}

.trouble-card .ico {
  width: clamp(95px, 10vw, 300px);
  height: clamp(95px, 10vw, 300px);
  padding: 1.5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--search-bg);
  border: 1px solid var(--slate);
  border-radius: 100%;
}

.is-alt .trouble-card .ico {
  background: var(--search-bg);
}

.trouble-card .t-text {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.53;
  letter-spacing: .08em;
  color: var(--slate);
}

.trouble-solve {
  margin-top: clamp(30px, 5.2vw, 70px);
  text-align: center;
  font-weight: 500;
  font-size: clamp(14px, 2vw, 22px);
  line-height: 1.7;
  letter-spacing: .08em;
  color: var(--slate);
}

.trouble-solve *+b {
  padding-top: 10px;
}

.trouble-solve b {
  color: var(--navy);
  font-weight: 700;
  font-size: 120%;
  display: inline-block;
  line-height: 1.4;
}

/* ---------- フロー ---------- */
.flow-bar {
  border-radius: 10px;
  background: var(--search-bg);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex;
  align-items: stretch;
  padding: 0 10px;
}

/* グレーセクション上では白抜きにする */
.page-section.is-alt .flow-bar {
  background: var(--white);
}

.flow-step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 45px 5px 30px;
}

.flow-step .step-pill {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  background: var(--yellow);
  color: var(--white);
  border-radius: 48px;
  padding: 5px 15px;
  white-space: nowrap;
}

.flow-step .step-pill .s-txt {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .08em;
}

.flow-step .step-pill .s-num {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .08em;
}

.flow-step .step-label {
  font-weight: 600;
  font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: .08em;
  line-height: 1.4;
  color: var(--slate);
  white-space: pre-line;
}

.flow-step .step-chevron {
  position: absolute;
  right: -13px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  z-index: 2;
  color: var(--line);
}

.flow-step:last-child .step-chevron {
  display: none;
}

/* 各ステップに説明文が付くパターン */
.flow-bar.is-detail {
  margin-top: 15px;
}

.flow-bar.is-detail .flow-step {
  flex-direction: column;
  justify-content: flex-start;
  padding: 35px 15px 30px;
}

.flow-step .step-desc {
  margin-top: 15px;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .06em;
  color: var(--slate);
}


/* ---------- FAQ ---------- */
.faq-box {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 10px;
  background: var(--search-bg);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}

/* グレーセクション上では白抜きにする */
.page-section.is-alt .faq-box {
  background: var(--white);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-q {
  width: 100%;
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 20px;
  text-align: left;
}

.faq-q .q-text {
  flex: 1 1 auto;
  font-weight: 600;
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.5;
  letter-spacing: .08em;
  color: var(--slate);
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--navy);
  transform: translateY(-50%);
  transition: transform .3s ease, opacity .3s ease;
}

.faq-icon::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  transform: translateY(-50%) rotate(0);
  opacity: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-a-inner {
  padding: 0 30px 30px;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: .08em;
  color: var(--steel);
}


/* ---------- CV帯 ---------- */
.cv-band {
  margin-top: clamp(35px, 5vw, 60px);
  background: var(--grad-band);
  padding: clamp(30px, 3.3vw, 40px) 0;
}

/* ページ末尾の最終CV */
.cv-band.is-final {
  margin-top: 0;
  padding: clamp(40px, 5vw, 60px) 0;
}

.cv-band-inner {
  max-width: 975px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3.3vw, 40px);
  flex-wrap: nowrap;
}

.cv-band .band-copy {
  min-width: 0;
  font-weight: 500;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.7;
  letter-spacing: .08em;
  color: var(--white);
}

.cv-band .band-copy b {
  font-weight: 700;
  font-size: clamp(17px, 2.1vw, 25px);
  color: var(--key);
}

.cv-band .band-cta {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: inherit;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.band-free {
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 18px);
  letter-spacing: .05em;
  color: var(--white);
}

.band-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.3vw, 28px);
  letter-spacing: .04em;
  color: var(--white);
}

.band-tel:hover {
  color: var(--white);
}

/* ---------- フッター ---------- */
.page-footer {
  background: var(--footer-bg);
  padding: 45px 0 150px;
}

.page-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.f-license {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-footer-left .f-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.page-footer-left .f-nav a {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--navy);
}

.page-footer-left .f-nav a:hover {
  color: var(--navy-lite);
}

.page-footer-left .f-copy {
  margin-top: 20px;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--navy);
}

.page-footer .f-official {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  padding: 10px 25px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .1em;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease;
}

.page-footer .f-official:hover {
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(35, 71, 126, .3);
}

/* ---------- 追従CV ---------- */
.float-cv {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--grad-band);
  padding: 30px clamp(15px, 3.3vw, 40px);
}

.float-cv-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 3.3vw, 40px);
  flex-wrap: wrap;
}

.float-cv .fcv-copy {
  line-height: 1.35;
  color: var(--white);
}

.float-cv .fcv-copy .c1 {
  font-weight: 600;
  font-size: clamp(13px, 1.4vw, 17px);
  letter-spacing: .08em;
}

.float-cv .fcv-copy .c2 {
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 22px);
  letter-spacing: .05em;
}

.float-cv .fcv-copy .c2.stack {
  display: block;
}

.float-cv .fcv-search {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--white);
  color: var(--navy);
  border-radius: 48px;
  padding: 10px 30px;
  box-shadow: inset 0 0 0 1.2px var(--navy);
  font-weight: 600;
  font-size: clamp(13px, 1.3vw, 16px);
  letter-spacing: .04em;
  white-space: nowrap;
  transition: transform .18s ease;
}

.float-cv .fcv-search:hover {
  color: var(--navy);
  transform: translateY(-2px);
}

.float-cv .fcv-search svg {
  flex: 0 0 auto;
}

/* ============================================================
   長文の改行制御
   <br> ではなく文節ごとの <span> を inline-block にして
   コンテナ幅に応じて文節単位で折り返す
   ============================================================ */
.page-intro .hl span,
.page-intro .desc span,
.page-hero-lead span,
.page-hero-note span,
.benefit-card .b-title span,
.benefit-card .b-desc span,
.trouble-card .t-text span,
.trouble-solve span,
.flow-step .step-desc span,
.cv-band .band-copy span,
.cv-free span,
.price-row.total .r-label span {
  display: inline-block;
}

/* ============================================================
   下層ページ共通 RESPONSIVE
   ============================================================ */

@media (min-width: 767px) {
  .faq-q {
    gap: 15px;
    padding: 25px 30px;
  }

  .col-grid {
    gap: clamp(15px, 2.4vw, 40px);
  }

  .col-grid.col2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .col-grid.col3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .col-grid.col4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .btn-reserve .arrow {
    width: 20px;
    height: 20px;
  }

  .page-hero-img-wrap .emblem {
    display: none;
  }

  .page-hero-img {
    aspect-ratio: 649 / 366;
    max-width: 600px;
  }

  .page-hero-info {
    flex: 0 0 clamp(400px, 41%, 470px);
    position: relative;
    min-width: calc(100% - 650px);
  }

}

/* .page-hero-info が最大幅470pxに達する約1200px未満は、右上絶対配置の
   エンブレム（幅165〜190px）と見出し・直後のポイント行が衝突しうるため
   右余白を確保する。1200px以上は素の余白で衝突しない */
@media (min-width: 767px) and (max-width: 1200px) {

  .page-hero-info .page-hero-title,
  .page-hero-info .page-points {
    padding-right: 185px;
  }
}

@media (max-width: 768px) {

  .page-logo {
    margin-top: 0;
  }

  .page-logo img {
    width: clamp(180px, 56vw, 240px);
  }

  .page-logo.is-wide img {
    width: clamp(200px, 60vw, 280px);
  }

  .page-header-actions {
    display: none;
  }

  .page-menu .min-text {
    display: block;
  }

  .page-header-inner {
    align-items: center;
    padding: 20px 20px 10px;
  }

  .page-menu a.page-pill-official {
    letter-spacing: .1rem;
  }

  .page-menu a.page-pill-official span {
    padding-bottom: 3px;
  }

  .page-menu a.page-pill-official span span {
    display: none;
  }

  .page-hero {
    padding-bottom: 30px;
  }

  .page-hero-stage {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 25px;
    padding: 15px 20px 20px;
  }

  .page-hero-img-wrap {
    order: 2;
    flex: 1;
    max-width: calc(100% + 20px);
    position: relative;
    overflow: visible;
    margin-left: -20px;
  }

  .page-hero-img {
    aspect-ratio: 649 / 366;
    overflow: hidden;
    display: block;
  }

  .page-hero-img-wrap .emblem {
    width: clamp(95px, 26vw, 120px);
    position: absolute;
    right: -20px;
    top: -20px;
    z-index: 1;
  }

  .page-hero-info {
    flex-basis: auto;
  }

  .page-hero-info .emblem {
    display: none;
  }

  .page-hero-lead {
    margin-top: 20px;
  }

  .page-points {
    margin-top: 20px;
    gap: 2px;
  }

  .page-point .hl {
    font-size: 120%;
  }

  .page-point .big {
    font-size: 150%;
  }

  .page-point .txt p {
    line-height: 1.7;
  }

  .page-hero-cv {
    position: relative;
    flex-direction: column;
    width: calc(100% - 40px);
    bottom: inherit;
  }

  .page-hero-cv-main {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }

  .page-cv-copy {
    text-align: center;
    line-height: 1.6;
  }

  /* グリッドは1列。TROUBLES だけ2列を維持 */
  .col-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
    gap: 20px;
  }

  .col-grid.trouble-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
    gap: 15px;
  }

  .benefit-grid,
  .benefit-grid.col2,
  .benefit-grid.col3 {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 20px;
  }

  .benefit-grid .row2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .col-card.trouble-card {
    padding: 25px 10px;
    gap: 15px;
  }

  .trouble-card .t-text {
    font-size: 13px;
  }

  .flow-bar {
    flex-direction: column;
    padding: 10px 0 0;
  }

  .flow-step {
    padding: 40px 20px;
  }

  .flow-bar.is-detail .flow-step {
    padding: 40px 25px 30px;
  }

  .flow-step:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .flow-step:last-child {
    padding-bottom: 30px;
  }

  .flow-step .step-desc {
    margin-top: 10px;
  }

  .flow-step .step-chevron {
    display: none;
  }

  .benefit-card .ico {
    margin-bottom: 10px;
  }

  .cv-band-inner {
    flex-direction: column;
    text-align: center;
  }

  .cv-band .band-cta {
    align-items: center;
  }

  .btn-reserve .label .max-text {
    display: none;
  }

  .btn-reserve .label .min-text {
    display: inline-block;
  }

  .cv-band .btn-reserve .label {
    font-size: clamp(16px, 1.6vw, 24px);
  }

  .page-footer {
    padding: 45px 0 130px;
  }

  .page-footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }

  .page-footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-footer-left .f-nav {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .float-cv {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .float-cv .fcv-copy {
    display: none;
  }

  .float-cv-inner {
    gap: 10px;
  }

  .btn-reserve {
    padding: 10px 20px 15px 30px;
  }
}

@media (max-width: 450px) {
  .max-text {
    display: none;
  }

  .min-text {
    display: inline-block;
  }

  .btn-reserve {
    padding: 10px 15px 10px 25px;
  }

  .btn-reserve .label {
    font-size: 13px;
  }

  .float-cv .fcv-search {
    font-size: 11px;
    padding: 10px 20px;
  }

  .col-grid.trouble-grid {
    grid-template-columns: none;
  }
}