@charset "utf-8";
/*
 * 都道府県別プレゼントページ 共通スタイル
 *
 * ページ全体：PC は 1440px、SP は 375px のデザインを固定寸法で組み（.stage）、
 *             app.js が入れる --z で画面幅に合わせて拡大縮小する。
 *             PC は @media (min-width: 1024px)、SP は @media (max-width: 1023px) に分けて書く。
 * 展示場一覧より下：/dm/summer-fair_2026/ のスタイルを .lower の中に限定して移植（組み方は上と同じ）。
 */

/* ==========================================================================
   基本
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  display: block;
}

:root {
  --am-main: #f63c00;
  --am-accent: #f19b2c;
  --am-ink: #333;
  --am-brown: #413224;
  --am-paper: #fcf5e9;
  --am-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --am-din: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --am-maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
}

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

body {
  font-family: var(--am-jp);
  color: var(--am-ink);
  line-height: 1.5;
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
  background: var(--am-paper);
  background-image: repeating-linear-gradient(
    45deg,
    #fae3c3 0 2.83px,
    rgba(250, 227, 195, 0) 2.83px 15.91px
  );
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

h1,
h2,
h3,
h4 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* PC / SP のどちらかだけに出す要素（表示するときは要素本来の display のまま） */
@media (min-width: 1024px) {
  .sp-only {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .pc-only {
    display: none !important;
  }
}

/* ==========================================================================
   ステージ（展示場一覧より上）
   ========================================================================== */
/* メインビジュアルの白地を画面の端まで伸ばす（高さは app.js が入れる） */
.bleed {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0;
  background: #fff;
  z-index: 0;
  pointer-events: none;
}

.stage {
  position: relative;
  z-index: 1;
  width: 1440px;
  margin: 0 auto;
  zoom: var(--z, 1);
}

@supports not (zoom: 1) {
  body {
    overflow-x: auto;
  }
}

.frame {
  position: relative;
  overflow: hidden;
}

/* 写真タイル（PC・SP 共通） */
.taikan-photos .photo-1 {
  background-image: url(../img/taikan1.webp);
}

.taikan-photos .photo-2 {
  background-image: url(../img/taikan2.webp);
}

.taikan-photos .photo-3 {
  background-image: url(../img/taikan3.webp);
}

.taikan-photos .photo-4 {
  background-image: url(../img/taikan4.webp);
}

.taikan-photos .photo-5 {
  background-image: url(../img/taikan5.webp);
}

.title .art,
.date,
.benefits-title .underline,
.same-title .deco,
.banner .art {
  display: block;
}

.title .art img,
.date img,
.benefits-title .underline img,
.same-title .deco img {
  width: 100%;
  height: 100%;
}

.card {
  flex: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.vivant-badge {
  display: block;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vivant-badge img {
  width: 100%;
  height: 100%;
}

.vivant-badge:focus-visible {
  outline: 3px solid #333;
  outline-offset: 4px;
}

.goods-cta .btn {
  background: var(--am-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.banner .btn:focus-visible {
  outline: 3px solid #333;
  outline-offset: 3px;
}

.taikan-head .underline {
  position: absolute;
  background: var(--am-main);
}

.taikan-head .pill {
  position: absolute;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--am-main);
}

.taikan-photos {
  overflow: hidden;
}

.taikan-photos .track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.taikan-photos .photo {
  flex: none;
  border-radius: 6px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 4px 4px 4.5px rgba(118, 71, 20, 0.25);
}

/* --------------------------------------------------------------------------
   PC（1440）
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .frame {
    width: 1440px;
    height: 4120px;
  }

  .mv {
    position: absolute;
    left: 0;
    top: 0;
    width: 1440px;
    height: 810px;
    overflow: hidden;
    background: #fff;
  }

  .body {
    position: absolute;
    left: 0;
    top: 810px;
    width: 1440px;
    height: 3310px;
  }

  /* メインビジュアル */
  .house {
    position: absolute;
    left: 0;
    top: -476px;
    width: 1440px;
    height: 1349px;
    background: url(../img/mv_house_pc.webp) center/cover no-repeat;
    -webkit-mask: url(../img/mv_wave_mask_pc.svg) -247px 806px/1934px 659px no-repeat;
    mask: url(../img/mv_wave_mask_pc.svg) -247px 806px/1934px 659px no-repeat;
  }

  .title {
    position: absolute;
    left: 244px;
    top: 13px;
    width: 730px;
    height: 312px;
  }

  .title .art {
    position: absolute;
    left: 0;
    top: 0;
    width: 730px;
    height: 312px;
  }

  .title .sub {
    position: absolute;
    left: 98px;
    top: 248px;
    width: 589px;
    height: 120px;
    background: url(../img/pc_sub.webp) center/100% 100% no-repeat;
  }

  .date {
    position: absolute;
    left: 167px;
    top: 361px;
    width: 228px;
    height: 228px;
  }

  .ginkgo-mv {
    position: absolute;
    left: 1039px;
    top: -44px;
    width: 416px;
    height: 375px;
    transform-origin: 100% 0;
    background: url(../img/mv_ginkgo_pc.webp) center/100% 100% no-repeat;
  }

  .brand {
    position: absolute;
    left: 38px;
    top: 24px;
    width: 102.851px;
    height: 48px;
    z-index: 3;
  }

  .acorns {
    position: absolute;
    left: 89px;
    top: 280px;
    width: 140px;
    height: 123px;
    background: url(../img/mv_acorns.webp) center/100% 100% no-repeat;
  }

  .vivant-badge {
    position: absolute;
    left: 907px;
    top: 601px;
    width: 346px;
    height: 185px;
  }

  /* 本文の装飾（いちょう） */
  .ginkgo-lt {
    position: absolute;
    left: -12px;
    top: -23px;
    width: 332px;
    height: 299px;
    transform-origin: 0 0;
    background: url(../img/ginkgo_lt.webp) center/100% 100% no-repeat;
  }

  .ginkgo-r {
    position: absolute;
    left: 1100px;
    top: 1103px;
    width: 355px;
    height: 320px;
    transform-origin: 100% 50%;
    background: url(../img/ginkgo_r.webp) center/100% 100% no-repeat;
  }

  .ginkgo-lb {
    position: absolute;
    left: -13px;
    top: 1686px;
    width: 368px;
    height: 332px;
    transform-origin: 0 50%;
    background: url(../img/ginkgo_lb.webp) center/100% 100% no-repeat;
  }

  .ginkgo-taikan {
    position: absolute;
    left: 1100px;
    top: 2760px;
    width: 355px;
    height: 320px;
    transform-origin: 100% 0;
    background: url(../img/ginkgo_r.webp) center/100% 100% no-repeat;
    z-index: 0;
  }

  /* WEB予約限定 */
  .web {
    position: absolute;
    left: 165px;
    top: 0;
    width: 1110px;
    padding: 60px 0;
  }

  .web-inner {
    position: relative;
    width: 1110px;
    height: 660px;
  }

  .web-title {
    position: absolute;
    left: 294px;
    top: 0;
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .web-title img {
    width: 40px;
    height: 50px;
  }

  .web-title img.deco-left {
    transform: scaleX(-1);
  }

  .web-title span {
    font-size: 70px;
    font-weight: 900;
    color: var(--am-main);
    white-space: nowrap;
    line-height: 1.2;
  }

  .quo {
    position: absolute;
    left: 0;
    top: 122px;
    width: 1110px;
    height: 420px;
  }

  .quo .ribbon {
    position: absolute;
    left: 330px;
    top: 0;
    width: 472px;
    height: 74.83px;
  }

  .quo .ribbon-t {
    position: absolute;
    left: 351px;
    top: 0;
    height: 55px;
    display: flex;
    align-items: center;
    font-size: 26.6px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    line-height: 1.2;
  }

  .quo .quo-brand {
    position: absolute;
    left: 0;
    top: 95px;
    font-family: var(--am-din);
    font-size: 55px;
    font-weight: 700;
    font-stretch: 88%;
    color: var(--am-accent);
    line-height: 1.2;
    white-space: nowrap;
  }

  .quo .quo-card {
    position: absolute;
    left: 109px;
    top: 99px;
    font-size: 45px;
    font-weight: 900;
    color: var(--am-accent);
    line-height: 1.2;
    white-space: nowrap;
  }

  .quo .quo-max {
    position: absolute;
    left: 124px;
    top: 153px;
    width: 120px;
    font-size: 60px;
    font-weight: 900;
    color: var(--am-accent);
    line-height: 1.1;
  }

  .quo .num {
    position: absolute;
    left: 244px;
    top: 27px;
    width: 428px;
    height: 253px;
    background: url(../img/pc_num6000.webp) center/100% 100% no-repeat;
  }

  .quo .quo-unit {
    position: absolute;
    left: 675px;
    top: 156px;
    width: 120px;
    font-size: 60px;
    font-weight: 900;
    color: var(--am-accent);
    line-height: 1.1;
  }

  .quo .quo-give {
    position: absolute;
    left: 802px;
    top: 103px;
    font-size: 110px;
    font-weight: 900;
    color: var(--am-accent);
    line-height: 1.1;
    white-space: nowrap;
  }

  .quo .quo-image {
    position: absolute;
    left: 666.4px;
    top: 74px;
    width: 137.55px;
    height: 105.5px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .quo .quo-image img {
    width: 123.876px;
    height: 83.799px;
    transform: rotate(-10.8deg);
  }

  .amount {
    position: absolute;
    left: 115px;
    top: 362px;
    width: 880px;
    height: 186px;
    background: url(../img/pc_amount.webp) center/100% 100% no-repeat;
  }

  .web .note {
    position: absolute;
    left: 135px;
    top: 548px;
    width: 840px;
    font-size: 12px;
    font-weight: 350;
    color: var(--am-brown);
    letter-spacing: -0.48px;
    line-height: 1.5;
  }

  /* 特典 */
  .benefits {
    position: absolute;
    left: 240px;
    top: 713px;
    width: 960px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .benefits-title {
    position: relative;
    width: 960px;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .benefits-title .underline {
    position: absolute;
    left: -130px;
    top: 31px;
    width: 1220px;
    height: 3px;
  }

  /* 線の太さぶん上下にはみ出させる（デザインの線は外側に付く） */
  .benefits-title .pill {
    position: relative;
    width: 550px;
    height: 59px;
    margin: -3px 0;
    background: #fff;
    border: 3px solid var(--am-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--am-main);
    line-height: 1;
  }

  /* カード画像は影のぶん上下左右に30pxの余白を含む。負のマージンで打ち消す */
  .card {
    width: 1020px;
    margin: -30px 0;
  }

  .card.benefit-1 {
    height: 372px;
    background-image: url(../img/pc_card1.webp);
  }

  .card.benefit-2 {
    height: 358px;
    background-image: url(../img/pc_card2.webp);
  }

  .card.benefit-3 {
    height: 358px;
    background-image: url(../img/pc_card3.webp);
  }

  .goods-cta {
    position: absolute;
    left: 362px;
    top: 1884px;
    width: 717px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .goods-cta .btn {
    width: 100%;
    height: 69px;
    border-radius: 10px;
    gap: 16px;
    padding: 10px;
    box-shadow: 0 6px 0 #5b1600;
    font-size: 26px;
    letter-spacing: -0.52px;
    white-space: nowrap;
  }

  .goods-cta .btn img {
    width: 24px;
    height: 24px;
    flex: none;
  }

  .goods-cta .note {
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: var(--am-brown);
    letter-spacing: -0.48px;
    line-height: 43px;
  }

  /* 同時開催中 */
  .same {
    position: absolute;
    left: 226px;
    top: 2037px;
    width: 989px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .same-title {
    position: relative;
    width: 989px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .same-title .deco {
    width: 20px;
    height: 45px;
  }

  .same-title .deco-l {
    transform: scaleX(-1);
  }

  .same-title span {
    font-size: 50px;
    font-weight: 900;
    color: var(--am-main);
    white-space: nowrap;
    line-height: 1.2;
  }

  .banner {
    position: relative;
    width: 960px;
    height: 518px;
  }

  .banner .art img {
    width: 960px;
    height: 518px;
    border-radius: 20px;
    object-fit: cover;
  }

  .banner .btn {
    position: absolute;
    left: 298px;
    top: 409px;
    width: 364px;
    height: 55px;
    background: #fbca00;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #7d0b0b;
    letter-spacing: -0.48px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.16);
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }

  .banner .banner-note {
    position: absolute;
    left: 308px;
    top: 476px;
    width: 344px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    line-height: 17px;
  }

  .banner .term {
    position: absolute;
    left: 832px;
    top: -22px;
    width: 150px;
    height: 150px;
    background: #000;
    border: 4px solid #faca01;
    border-radius: 120px;
  }

  /* 展示場で設備や性能のご体感 */
  .taikan {
    position: absolute;
    left: 0;
    top: 2707px;
    width: 1440px;
    padding-top: 47px;
  }

  .taikan-head {
    position: relative;
    height: 68px;
  }

  .taikan-head .underline {
    left: 110px;
    top: 32.5px;
    width: 1222px;
    height: 3px;
  }

  .taikan-head .pill {
    left: 464px;
    top: 0;
    width: 514px;
    height: 68px;
    border: 3px solid var(--am-main);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }

  .taikan-lead {
    width: 960px;
    margin: 25px auto 0;
    text-align: center;
    font-size: 21px;
    font-weight: 500;
    color: #3e3f3f;
    line-height: 40px;
  }

  /* .taikan の上端から 253px（本文の上端から 2960px） */
  .taikan-photos {
    position: absolute;
    left: 0;
    top: 253px;
    width: 1440px;
    height: 266px;
  }

  .taikan-photos .track {
    gap: 30px;
    transform: translateX(-169.08px);
    animation: photosScrollPc 45s linear infinite;
  }

  .taikan-photos .photo {
    width: 332.031px;
    height: 250px;
  }
}

/* タイル5枚ぶん（362.031px × 5）送ると最初の見た目に戻る */
@keyframes photosScrollPc {
  to {
    transform: translateX(-1979.235px);
  }
}

/* --------------------------------------------------------------------------
   SP（375）
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .stage {
    width: 375px;
  }

  .frame {
    width: 375px;
  }

  .mv {
    position: relative;
    width: 375px;
    height: 635px;
    overflow: hidden;
    background: #fff;
  }

  .body {
    position: relative;
    width: 375px;
    padding: 40px 17px;
    display: flex;
    justify-content: center;
  }

  .col {
    position: relative;
    width: 338px;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  /* メインビジュアル */
  .house {
    position: absolute;
    left: -170px;
    top: 37px;
    width: 639px;
    height: 598px;
    background: url(../img/mv_house_sp.webp) center/cover no-repeat;
    -webkit-mask: url(../img/mv_wave_mask_sp.svg) 56px 226px/602px 372px no-repeat;
    mask: url(../img/mv_wave_mask_sp.svg) 56px 226px/602px 372px no-repeat;
  }

  .ginkgo-mv {
    position: absolute;
    left: 202px;
    top: 247px;
    width: 184px;
    height: 166px;
    transform-origin: 100% 0;
    background: url(../img/mv_ginkgo_sp.webp) center/100% 100% no-repeat;
  }

  .title {
    position: absolute;
    left: 24px;
    top: 0;
    width: 323px;
    height: 242px;
  }

  .title .art {
    position: absolute;
    left: 0;
    top: 0;
    width: 323px;
    height: 242px;
  }

  .title .sub {
    position: absolute;
    left: 24px;
    top: 220.91px;
    width: 297px;
    height: 61px;
    background: url(../img/sp_sub.webp) center/100% 100% no-repeat;
  }

  .date {
    position: absolute;
    left: 1.5px;
    top: 267px;
    width: 167px;
    height: 170px;
  }

  .brand {
    position: absolute;
    left: 14px;
    top: 12px;
    width: 63px;
    height: 29.402px;
    z-index: 3;
  }

  .vivant-badge {
    position: absolute;
    left: 189px;
    top: 532px;
    width: 171px;
    height: 92px;
  }

  /* 本文の装飾（いちょう） */
  .ginkgo-lt {
    position: absolute;
    left: -26.5px;
    top: 484px;
    width: 213px;
    height: 192px;
    transform-origin: 0 50%;
    z-index: 0;
    background: url(../img/ginkgo_lt.webp) center/100% 100% no-repeat;
  }

  .ginkgo-r {
    position: absolute;
    left: 172.5px;
    top: 1792px;
    width: 199px;
    height: 179px;
    transform-origin: 100% 50%;
    z-index: 0;
    background: url(../img/ginkgo_r.webp) center/100% 100% no-repeat;
  }

  /* WEB予約限定 */
  .web {
    position: relative;
    z-index: 1;
    width: 100%;
  }

  .web-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

  .quo {
    position: relative;
    width: 335px;
    height: 261px;
    margin-left: 1.5px;
  }

  .quo .quo-sp {
    width: 100%;
    height: 100%;
  }

  .amount {
    width: 353px;
    height: 175px;
    margin: -20px 0;
    flex: none;
    background: url(../img/sp_amount.webp) center/100% 100% no-repeat;
  }

  .web .note {
    width: 100%;
    font-size: 10px;
    font-weight: 350;
    color: var(--am-brown);
    letter-spacing: -0.4px;
    line-height: 13.44px;
  }

  /* 特典 */
  .benefits {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    position: relative;
    z-index: 1;
  }

  .benefits-title {
    position: relative;
    width: 335px;
    height: 31px;
  }

  .benefits-title .underline {
    position: absolute;
    left: 0;
    top: 17px;
    width: 335px;
    height: 2px;
  }

  /* 線の太さぶん上下にはみ出させる */
  .benefits-title .pill {
    position: absolute;
    left: 60.5px;
    top: -2px;
    height: 35px;
    padding: 0 20px;
    background: #fff;
    border: 2px solid var(--am-main);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: var(--am-main);
    letter-spacing: 1.44px;
    line-height: 1.3;
  }

  /* カード画像は影のぶん左右18.5px・上下30pxの余白を含む */
  .card {
    width: 375px;
    margin: -30px -18.5px;
  }

  .card.benefit-1 {
    height: 509px;
    background-image: url(../img/sp_card1.webp);
  }

  .card.benefit-2 {
    height: 516px;
    background-image: url(../img/sp_card2.webp);
  }

  .card.benefit-3 {
    height: 479px;
    background-image: url(../img/sp_card3.webp);
  }

  /* 特典〜同時開催中はデザイン上30px間隔（列の間隔40pxから10px詰める） */
  .goods-cta,
  .same {
    position: relative;
    z-index: 1;
    margin-top: -10px;
  }

  .goods-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
  }

  .goods-cta .btn {
    position: relative;
    width: 322px;
    padding: 14px 34px;
    border-radius: 5px;
    box-shadow: 0 4px 0 #5b1600;
    text-align: center;
    font-size: 14px;
    letter-spacing: -0.28px;
    line-height: 18px;
  }

  .goods-cta .btn img {
    position: absolute;
    right: 11.5px;
    top: 17.25px;
    width: 21.5px;
    height: 21.5px;
  }

  .goods-cta .note {
    text-align: center;
    font-size: 10px;
    font-weight: 350;
    color: var(--am-brown);
    letter-spacing: -0.4px;
    line-height: 13.438px;
  }

  /* 同時開催中 */
  .same {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .same-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 100%;
  }

  .same-title .deco {
    width: 15px;
    height: 22px;
  }

  .same-title .deco-r {
    transform: scaleX(-1);
  }

  .same-title span {
    font-size: 26px;
    font-weight: 900;
    color: var(--am-main);
    white-space: nowrap;
    line-height: 1.2;
  }

  /* バナーは1枚画像。左上のバッジが枠の外にはみ出すぶんだけずらして置く */
  .banner {
    position: relative;
    width: 335px;
    height: 344px;
  }

  .banner .art {
    position: absolute;
    left: -17px;
    top: -71px;
    width: 352px;
    height: 415px;
  }

  .banner .art img {
    width: 100%;
    height: 100%;
  }

  /* 画像内のボタンに重ねる透明なリンク */
  .banner .btn {
    position: absolute;
    left: 95.67px;
    top: 304px;
    width: 144.33px;
    height: 29.33px;
    border-radius: 165px;
    transition: transform 0.2s ease;
  }

  /* 押せる範囲を縦44pxまで広げる */
  .banner .btn::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 44px;
  }

  /* 展示場で設備や性能のご体感 */
  /* 下の余白は .body の padding-bottom（40px）と合わせて50px */
  .taikan {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-bottom: 10px;
    position: relative;
    z-index: 1;
  }

  .taikan-head {
    position: relative;
    width: 335px;
    height: 58px;
  }

  .taikan-head .underline {
    left: 0;
    top: 28px;
    width: 335px;
    height: 2px;
  }

  .taikan-head .pill {
    left: 23px;
    top: -2px;
    width: 292px;
    height: 62px;
    border: 2px solid var(--am-main);
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1.44px;
    line-height: 1.4;
  }

  .taikan-lead {
    width: 355px;
    margin-top: 23px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #3e3f3f;
    letter-spacing: 0.75px;
    line-height: 1.4;
  }

  /* 375px幅を338px幅の列の中央に置く。影のぶん（9px）はレイアウトから外す */
  .taikan-photos {
    width: 375px;
    height: 179px;
    margin: 27px 0 -9px;
  }

  .taikan-photos .track {
    gap: 20px;
    transform: translateX(-416.953px);
    animation: photosScrollSp 45s linear infinite;
  }

  .taikan-photos .photo {
    width: 225.781px;
    height: 170px;
  }
}

/* タイル5枚ぶん（245.781px × 5）送ると最初の見た目に戻る */
@keyframes photosScrollSp {
  to {
    transform: translateX(-1645.858px);
  }
}

/* ホバー */
@media (hover: hover) {
  .vivant-badge:hover {
    transform: translateY(-4px) scale(1.02);
  }

  .goods-cta .btn:hover {
    transform: translateY(3px);
    box-shadow: 0 3px 0 #5b1600;
  }

  .banner .btn:hover {
    transform: translateY(-2px);
  }
}

@media (hover: hover) and (min-width: 1024px) {
  .banner .btn:hover {
    box-shadow: 3px 6px 8px rgba(0, 0, 0, 0.24);
  }
}

@media (hover: hover) and (max-width: 1023px) {
  .vivant-badge:hover {
    transform: translateY(-3px) scale(1.02);
  }

  .goods-cta .btn:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #5b1600;
  }
}

/* ==========================================================================
   画面に固定する導線（PC：右端のタブ／SP：下端のバー）
   ステージの外に置いて、拡大率に左右されない大きさで追従させる
   ========================================================================== */
.fixed-cta {
  position: fixed;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--am-main);
  color: #fff;
}

.fixed-cta:focus-visible {
  outline: 3px solid #333;
}

@media (min-width: 1024px) {
  .fixed-cta {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 73px;
    min-height: 381px;
    padding: 36px 0 37px;
    border-radius: 14px 0 0 14px;
    box-shadow: 0 3px 14px rgba(246, 60, 0, 0.35);
    font-family: var(--am-jp);
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    transition:
      transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
      box-shadow 0.25s ease;
  }

  .fixed-cta__text {
    width: 25px;
    word-break: break-all;
    text-align: center;
  }

  .fixed-cta:focus-visible {
    outline-offset: 3px;
  }
}

@media (hover: hover) and (min-width: 1024px) {
  .fixed-cta:hover {
    transform: translateY(-50%) translateX(-5px);
    box-shadow: 0 5px 20px rgba(246, 60, 0, 0.45);
  }
}

@media (min-width: 1024px) and (max-height: 560px) {
  .fixed-cta {
    display: none;
  }
}

@media (max-width: 1023px) {
  .fixed-cta {
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: min(100vw, 562px);
    flex-direction: column;
    gap: 1px;
    height: calc(65px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    font-family: var(--am-maru);
    box-shadow: 0 -3px 14px rgba(246, 60, 0, 0.3);
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .fixed-cta__sub {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
  }

  .fixed-cta__sub i {
    display: block;
    width: 2px;
    height: 13px;
    background: #fff;
    border-radius: 1px;
    transform: rotate(-22deg);
  }

  .fixed-cta__sub i.deco-right {
    transform: rotate(22deg);
  }

  .fixed-cta__text {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
  }

  .fixed-cta:focus-visible {
    outline-offset: -6px;
  }

  body {
    padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px));
  }
}

@media (hover: hover) and (max-width: 1023px) {
  .fixed-cta:hover {
    transform: translateX(-50%) translateY(-2px);
  }
}

/* ==========================================================================
   動き
   ========================================================================== */
/* いちょうの枝：付け根側から clip-path で開いて伸ばす */
.js [data-grow] {
  opacity: 0;
}

.js [data-grow].is-on {
  animation-duration: 1.5s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
}

.ginkgo-mv.is-on,
.ginkgo-r.is-on,
.ginkgo-taikan.is-on {
  animation-name: growFromRight;
}

@keyframes growFromRight {
  0% {
    opacity: 0;
    clip-path: inset(0 0 0 100%);
    transform: scale(0.88) rotate(-6deg);
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: scale(1) rotate(0);
  }
}

.ginkgo-lt.is-on,
.ginkgo-lb.is-on {
  animation-name: growFromLeft;
}

@keyframes growFromLeft {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: scale(0.88) rotate(6deg);
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: scale(1) rotate(0);
  }
}

.js [data-fade] {
  opacity: 0;
}

.js [data-fade].is-on {
  animation: fadeUp 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px) scale(1.03);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.js [data-hero] {
  opacity: 0;
}

.js [data-hero].is-on {
  animation: heroPop 0.85s cubic-bezier(0.34, 1.28, 0.64, 1) both;
}

@keyframes heroPop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.js [data-pop] {
  opacity: 0;
}

.js [data-pop].is-on {
  animation: pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes pop {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.js [data-rise] {
  opacity: 0;
  transform: translateY(34px);
}

.js [data-rise].is-on {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.85s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 落ち葉 */
.leaves {
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  overflow: hidden;
  contain: layout paint style;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.leaves.on {
  opacity: 1;
}

.leaves.paused .leaf-wrap,
.leaves.paused .leaf-spin {
  animation-play-state: paused;
}

.leaf-wrap {
  position: absolute;
  top: -280px;
  width: 0;
  will-change: transform;
  animation: fall linear infinite;
}

.leaf-spin {
  display: block;
  translate: -50% 0;
  will-change: transform;
  backface-visibility: hidden;
  animation: sway ease-in-out infinite alternate;
}

.leaf {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.leaf-a {
  background-image: url(../img/leaf1.webp);
}

.leaf-b {
  background-image: url(../img/leaf2.webp);
}

.leaf-c {
  background-image: url(../img/leaf3.webp);
}

.leaf-d {
  background-image: url(../img/leaf4.webp);
}

@keyframes fall {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, calc(100vh + 420px), 0);
  }
}

@keyframes sway {
  from {
    transform: translateX(-38px) rotate(var(--r0, -18deg));
  }
  to {
    transform: translateX(38px) rotate(var(--r1, 22deg));
  }
}

/* ==========================================================================
   展示場一覧〜フッター（/dm/summer-fair_2026/ から移植）
   上と同じく .stage に入れ、PC は 1440px、SP は 375px の固定幅で組んで --z で拡大縮小する。
   PC は @media (min-width: 1024px)、SP は @media (max-width: 1023px) に分けて書く。
   （元の 768px などの途中の切り替えは、375px 幅で効いていた値に揃えた）
   ========================================================================== */
:where(.lower) * {
  line-height: 1;
  font-family: var(--am-maru);
}

.lower {
  color: #231815;
}

:where(.lower) img {
  width: 100%;
  vertical-align: bottom;
}

:where(.lower) button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

:where(.lower) a,
:where(.lower) button {
  transition: 0.4s;
}

:where(.lower) a:hover,
:where(.lower) button:hover {
  opacity: 0.8;
}

/* ---------- 展示場一覧 ---------- */
.gw-guide {
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0 70px;
}

:where(.gw-guide) * {
  font-family: var(--am-jp);
}

.cv-guide {
  max-width: 960px;
  margin: 0 auto;
}

.cv-guide-heading {
  color: #3e3f3f;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
}

.cv-guide-heading__lead {
  display: block;
  font-size: 24px;
  margin-bottom: 18px;
}

/* 見出しの左右の「＼ ／」 */
.cv-guide-heading__title {
  position: relative;
  display: inline-block;
  padding: 0 52px;
}

.cv-guide-heading__title::before,
.cv-guide-heading__title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 50px;
  border-radius: 2px;
  background: currentColor;
}

.cv-guide-heading__title::before {
  left: 0;
  transform: translateY(-50%) rotate(-28deg);
}

.cv-guide-heading__title::after {
  right: 0;
  transform: translateY(-50%) rotate(28deg);
}

.cv-guide-sort {
  margin-top: 30px;
}

.cv-guide-sort-button-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.cv-guide-sort-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid #f19b2c;
  border-radius: 15px;
  color: #413224;
  font-size: 13px;
  background: transparent;
  cursor: pointer;
}

.cv-guide-sort-button.is-active {
  background: #f19b2c;
  color: #fff;
}

.cv-guide-list {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px 22.5px;
}

.cv-guide-empty {
  width: 100%;
  text-align: center;
  padding: 40px 0;
  color: #888;
}

/* カード：写真 → 展示場名 → 住所（左）とご来場予約ボタン（右） */
.cv-guide-item {
  position: relative;
  display: flex;
  flex-direction: column;
  width: calc((100% - 45px) / 3);
  color: #3e3f3f;
}

.cv-guide-item-image img {
  width: 100%;
  height: 207px;
  object-fit: cover;
  border-radius: 10px;
}

.cv-guide-item-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: 14px;
}

.cv-guide-item-title {
  font-size: 19px;
  line-height: 1.4;
  font-weight: 700;
}

.cv-guide-item-inner {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cv-guide-item-location {
  flex: 1;
  min-width: 0;
}

.cv-guide-item-address {
  font-size: 13px;
  line-height: 1.5;
}

.cv-guide-item-map-link {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  padding-bottom: 1px;
  border-bottom: 1px solid #333;
  font-size: 12px;
  color: #333;
}

.cv-guide-item-map-link::after {
  content: "";
  display: inline-block;
  width: 11px;
  height: 14px;
  margin-left: 3px;
  background: url(../img/lower/icon_map.svg) center/contain no-repeat;
}

.cv-guide-item-button {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 113px;
  height: 38px;
  border-radius: 19px;
  background: #f19b2c;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.cv-guide-item-button::after {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
  transform: rotate(45deg);
}

.cv-guide-event {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
}

.cv-guide-event span {
  width: 89px;
  height: 89px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e84709;
  color: #fff;
  font-size: 14px;
  text-align: center;
  line-height: 1.3;
}

@media (hover: hover) and (pointer: fine) {
  .cv-guide-sort-button:hover {
    background: #978460;
    border-color: #978460;
    color: #fff;
  }
}

@media (max-width: 1023px) {
  .gw-guide {
    padding: 40px 12px;
  }

  .cv-guide-heading {
    font-size: 26px;
  }

  .cv-guide-heading__lead {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .cv-guide-heading__title {
    padding: 0 30px;
  }

  .cv-guide-heading__title::before,
  .cv-guide-heading__title::after {
    width: 3px;
    height: 32px;
    border-radius: 1.5px;
  }

  .cv-guide-sort {
    margin-top: 20px;
  }

  .cv-guide-sort-button-list {
    justify-content: flex-start;
  }

  .cv-guide-sort-button {
    min-width: 56px;
    height: 28px;
    padding: 0 10px;
    border-radius: 14px;
  }

  .cv-guide-list {
    margin-top: 28px;
    flex-direction: column;
    gap: 32px;
  }

  .cv-guide-item {
    width: 100%;
  }

  .cv-guide-item-image img {
    height: 226px;
  }

  .cv-guide-item-content {
    margin-top: 12px;
  }

  .cv-guide-item-title {
    font-size: 17px;
  }

  .cv-guide-item-address {
    font-size: 13px;
  }

  .cv-guide-item-button {
    width: 110px;
    height: 36px;
    border-radius: 18px;
  }

  .cv-guide-event span {
    width: 72px;
    height: 72px;
    font-size: 12px;
  }
}

/* ---------- 一条をもっと知りたい方へ ---------- */
.knowmore {
  background-color: #ffeb94;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
  overflow: hidden;
}

.knowmore__cta {
  margin-bottom: 50px;
  text-align: center;
}

.knowmore__cta .gw-cta__button {
  display: inline-block;
  width: auto;
  max-width: 800px;
  vertical-align: top;
}

.knowmore__title {
  width: 100%;
  max-width: 692.5px;
  margin: 0 auto 50px;
}

.knowmore__title img {
  display: block;
  width: 100%;
  height: auto;
}

.knowmore__slider {
  position: relative;
}

.knowmore__slider .swiper-wrapper {
  overflow: visible;
}

.knowmore__slider .swiper-slide {
  width: 530px;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.knowmore__slider .swiper-button-prev,
.knowmore__slider .swiper-button-next {
  position: absolute;
  top: 50%;
  z-index: 10;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
}

.knowmore__slider .swiper-button-prev::after,
.knowmore__slider .swiper-button-next::after {
  display: none;
}

.knowmore__slider .swiper-button-prev {
  background-image: url(../img/lower/knowmore/arrow_prev.png);
}

.knowmore__slider .swiper-button-next {
  background-image: url(../img/lower/knowmore/arrow_next.png);
}

.knowmore__slider .swiper-pagination {
  position: relative;
  margin-top: 30px;
  text-align: center;
}

.knowmore__slider .swiper-pagination .swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  background: #cbcbcb;
  opacity: 1;
  margin: 0 10px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.knowmore__slider .swiper-pagination .swiper-pagination-bullet-active {
  background: #707070;
}

.knowmore__img img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

@media (min-width: 1024px) {
  .knowmore__slider .swiper-button-prev,
  .knowmore__slider .swiper-button-next {
    width: 48px;
    height: 48px;
    background-size: 48px 48px;
  }

  .knowmore__slider .swiper-button-prev {
    left: 45%;
    transform: translate(calc(-50% - 260px), -50%);
  }

  .knowmore__slider .swiper-button-next {
    left: 55%;
    transform: translate(calc(-50% + 260px), -50%);
  }
}

@media (max-width: 1023px) {
  .knowmore {
    padding: 30px 0;
  }

  .knowmore__cta {
    display: none;
  }

  .knowmore__title {
    width: 92%;
    margin: 20px auto 20px;
  }

  .knowmore__slider .swiper-slide {
    width: 90%;
  }

  .knowmore__slider .swiper-button-prev,
  .knowmore__slider .swiper-button-next {
    width: 38px;
    height: 38px;
    background-size: 38px 38px;
    transform: translateY(-50%);
  }

  .knowmore__slider .swiper-button-prev {
    left: 10px;
  }

  .knowmore__slider .swiper-button-next {
    right: 10px;
  }

  .knowmore__slider .swiper-pagination {
    margin-top: 10px;
  }

  .knowmore__slider .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 5px;
  }
}

/* ---------- 住宅ローン減税 ---------- */
.loan-tax {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 100px;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04)), url(../img/lower/loan-tax_bg_pc.png);
  background-size: cover, cover;
  background-position: center top, center top;
  background-repeat: repeat, repeat;
  background-color: #fff;
}

.loan-tax__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.loan-tax__img-wrap {
  position: relative;
}

.loan-tax__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.loan-tax__calc-link {
  position: absolute;
  bottom: 2.5%;
  right: 18%;
  width: 145px;
  height: 20px;
  z-index: 2;
}

.loan-tax__calc-link:focus-visible {
  outline: 3px solid #2595e6;
  outline-offset: 2px;
}

@media (max-width: 1023px) {
  .loan-tax {
    padding: 40px 15px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04)), url(../img/lower/loan-tax_bg_sp.png);
  }

  .loan-tax__calc-link {
    bottom: 0.5%;
    right: 61%;
    height: 18px;
  }
}

/* 計算条件モーダル（画面に固定するので .stage の外に置き、拡大率に左右されない大きさで出す） */
.calc-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.calc-modal[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
}

.calc-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.calc-modal__panel {
  position: relative;
  z-index: 1;
  width: 85%;
  max-width: 1000px;
  max-height: 80vh;
  overflow-y: auto;
  background: #f2f2f2;
  border-radius: 4px;
  padding: 40px;
}

.calc-modal__title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: #3e3f3f;
  margin: 0 0 24px;
}

.calc-modal__x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #666;
  font-size: 35px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calc-modal__body h3 {
  font-size: 15px;
  font-weight: 700;
  color: #3e3f3f;
  margin: 20px 0 8px;
}

.calc-modal__body h3:first-child {
  margin-top: 0;
}

.calc-modal__body p {
  font-size: 14px;
  line-height: 1.8;
  color: #000;
  margin: 0 0 4px;
}

@media (max-width: 1023px) {
  .calc-modal__panel {
    width: 92%;
    padding: 30px 20px;
  }

  .calc-modal__title {
    font-size: 18px;
  }

  .calc-modal__body p {
    font-size: 13px;
  }
}

/* 豪華賞品・限定グッズモーダル（動きは .campaign-modal と同じ。calc-modal と同じく .stage の外に置く） */
body.benefit-modal-is-open {
  overflow: hidden;
  touch-action: none;
}

.benefit-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.benefit-modal.is-open {
  display: flex;
}

.benefit-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.benefit-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1000px;
  max-height: min(92vh, 880px);
  max-height: min(92dvh, 880px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: #333;
  font-family: var(--am-jp);
}

/* × は線 2 本で描く */
.benefit-modal__x {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
}

.benefit-modal__x::before,
.benefit-modal__x::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 2px;
  background: #666;
}

.benefit-modal__x::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.benefit-modal__x::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.benefit-modal__x:hover {
  opacity: 0.7;
}

.benefit-modal__x:focus-visible {
  outline: 2px solid #0082c1;
  outline-offset: 2px;
}

.benefit-modal__body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* 地：斜めストライプ ＋（PC のみ）イチョウの飾り画像 */
.benefit-modal__inner {
  padding: 60px 50px 80px;
  background:
    url(../img/benefit-modal/bg_pc.webp) center top / 100% 100% no-repeat,
    repeating-linear-gradient(135deg, #fcefdc 0 10px, #fdf6ec 10px 12px);
}

.benefit-modal__sec + .benefit-modal__sec {
  margin-top: 70px;
}

/* 見出し：下に太線＋細線の二重線 */
.benefit-modal__title {
  max-width: 784px;
  margin: 0 auto 30px;
  position: relative;
  padding-bottom: 22px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: center;
  color: #3e3a39;
}

.benefit-modal__title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-top: 2px solid #3e3a39;
  border-bottom: 1px solid #3e3a39;
}

.benefit-modal__prize img {
  width: 100%;
  height: auto;
}

.benefit-modal__lead {
  margin-top: 44px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  color: #3e3a39;
}

.benefit-modal__sub {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.benefit-modal__goods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
  max-width: 810px;
  margin: 40px auto 0;
}

.benefit-modal__goods-item {
  display: flex;
  flex-direction: column;
}

.benefit-modal__goods-fig {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.benefit-modal__goods-fig img {
  width: 100%;
  height: auto;
}

.benefit-modal__copy {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.benefit-modal__notes {
  margin-top: 16px;
}

.benefit-modal__notes p {
  font-size: 12px;
  line-height: 1.7;
}

.benefit-modal__foot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border: none;
  background: #231815;
  color: #fff;
  font-family: var(--am-jp);
  font-size: 16px;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.benefit-modal__foot:hover {
  opacity: 0.92;
}

.benefit-modal__foot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.benefit-modal__foot-icon {
  position: relative;
  width: 18px;
  height: 18px;
}

.benefit-modal__foot-icon::before,
.benefit-modal__foot-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 1.5px;
  background: currentColor;
}

.benefit-modal__foot-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.benefit-modal__foot-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 1023px) {
  .benefit-modal__panel {
    max-width: 420px;
  }

  .benefit-modal__x {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }

  .benefit-modal__x::before,
  .benefit-modal__x::after {
    width: 24px;
    height: 1px;
    background: #999;
  }

  .benefit-modal__inner {
    padding: 50px 16px 40px;
    background: repeating-linear-gradient(135deg, #fcefdc 0 8px, #fdf6ec 8px 10px);
  }

  .benefit-modal__sec + .benefit-modal__sec {
    margin-top: 44px;
  }

  .benefit-modal__title {
    margin-bottom: 20px;
    padding-bottom: 16px;
    font-size: 20px;
  }

  .benefit-modal__lead {
    margin-top: 24px;
    font-size: 16px;
  }

  .benefit-modal__sub {
    font-size: 12px;
  }

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

  .benefit-modal__copy {
    font-size: 11px;
  }

  .benefit-modal__notes {
    margin-top: 12px;
  }

  .benefit-modal__foot {
    padding: 14px;
  }
}

/* 『VIVANT』キャラバン 展示場キャンペーンモーダル（/lp/guide/ の .campaign-modal と同じデザイン。calc-modal と同じく .stage の外に置く） */
body.campaign-modal-is-open {
  overflow: hidden;
  touch-action: none;
}

.campaign-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}
.campaign-modal.is-open {
  display: flex;
}

.campaign-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.campaign-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  max-height: min(92vh, 880px);
  max-height: min(92dvh, 880px);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  font-family: "Noto Sans JP", sans-serif;
}
.campaign-modal__panel *,
.campaign-modal__panel *::before,
.campaign-modal__panel *::after {
  font-family: "Noto Sans JP", sans-serif;
}
.campaign-modal__panel {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
@media screen and (min-width: 960px) {
  .campaign-modal__panel {
    max-width: 1000px;
  }
}

.campaign-modal__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.campaign-modal__x {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: #333;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 959px) {
  .campaign-modal__x {
    top: 0.5%;
    right: 1%;
  }
}
.campaign-modal__x:hover {
  opacity: 0.85;
}
.campaign-modal__x:focus-visible {
  outline: 2px solid #0082c1;
  outline-offset: 2px;
}

.campaign-modal__body {
  flex: 1;
  min-height: 0;
  background: url("/dm/summer-fair_2026/assets/images/campaign-modal_bg_pc.jpg") repeat;
  background-size: cover;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
@media screen and (max-width: 959px) {
  .campaign-modal__body {
    background-image: url("/dm/summer-fair_2026/assets/images/campaign-modal_bg_sp.jpg");
  }
}

.campaign-modal__inner {
  padding: 70px 53.5px;
  background: linear-gradient(90deg, #810C0C 0%, #C81D1D 51%, #810C0C 100%);
}
@media screen and (max-width: 959px) {
  .campaign-modal__inner {
    padding: 40px 20px;
  }
}

.campaign-modal__fig {
  margin: 0 0 16px;
  min-height: 120px;
  background: #f5f5f5;
  border: 1px dashed #ddd;
  border-radius: 8px;
}
.campaign-modal__fig:last-child {
  margin-bottom: 0;
}
.campaign-modal__fig img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
  border-radius: 8px;
}
.campaign-modal__fig:has(img) {
  min-height: 0;
  background: none;
  border: none;
  padding: 0;
}
.campaign-modal__fig--visit {
  max-width: 784px;
  margin: 0 auto 16px;
}
.campaign-modal__fig--quo {
  max-width: 784px;
  margin: 0 auto;
}

.campaign-modal__notes {
  max-width: 780px;
  margin: 0 auto 24px;
  text-align: left;
}
.campaign-modal__notes p {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  margin: 0;
}

.campaign-modal__notes.notes-top {
  margin-top: -60px;
  margin-left: 0;
}
@media screen and (max-width: 768px) {
  .campaign-modal__notes.notes-top {
    max-width: 60.8955223881%;
    top: -60px;
    position: relative;
  }
  .campaign-modal__notes.notes-top p {
    font-size: 13px;
  }
}

.campaign-modal__notes.notes-bottom {
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  .campaign-modal__notes.notes-bottom {
    margin-top: 0;
  }
  .campaign-modal__notes.notes-bottom p {
    font-size: 13px;
  }
}

.campaign-modal__foot {
  flex-shrink: 0;
  width: 100%;
  margin: 0;
  padding: 16px;
  border: none;
  background: #413224;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}
.campaign-modal__foot:hover {
  opacity: 0.92;
}
.campaign-modal__foot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

/* ---------- 商品ラインアップ ---------- */
.product-lineup {
  background-color: #f3f3f3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
  overflow: hidden;
}

.product-lineup__title {
  width: 100%;
  max-width: 610px;
  margin: 0 auto 50px;
}

.product-lineup__title img {
  display: block;
  width: 100%;
  height: auto;
}

.product-lineup__slider {
  position: relative;
}

/* レイアウト幅は固定し、拡大は transform で行う（width の transition で下ブロックが揺れない） */
.product-lineup__slider .swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  transform: translateZ(0);
  transition: transform 0.4s ease;
}

.product-lineup__slider .swiper-slide.swiper-slide-active {
  z-index: 2;
}

.product-lineup__slider .product-lineup__slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-lineup__slider .product-lineup__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.product-lineup__slider .swiper-button-prev,
.product-lineup__slider .swiper-button-next {
  position: absolute;
  z-index: 10;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
}

.product-lineup__slider .swiper-button-prev::after,
.product-lineup__slider .swiper-button-next::after {
  display: none;
}

.product-lineup__slider .swiper-button-prev {
  background-image: url(../img/lower/knowmore/arrow_prev.png);
}

.product-lineup__slider .swiper-button-next {
  background-image: url(../img/lower/knowmore/arrow_next.png);
}

.product-lineup__slider .swiper-pagination {
  position: relative;
  margin-top: 30px;
  text-align: center;
}

.product-lineup__slider .swiper-pagination .swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  background: #cbcbcb;
  opacity: 1;
  margin: 0 10px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.product-lineup__slider .swiper-pagination .swiper-pagination-bullet-active {
  background: #707070;
}

.product-lineup__img img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

@media (min-width: 1024px) {
  .product-lineup__slider {
    min-height: 600px;
  }

  .product-lineup__slider .swiper-slide {
    width: 565px !important;
    margin: 0 80px;
  }

  .product-lineup__slider .swiper-slide.swiper-slide-active {
    transform: scale(1.26726);
  }

  .product-lineup__slider .product-lineup__slide {
    min-height: 600px;
  }

  .product-lineup__slider .product-lineup__content {
    padding: 40px 0;
  }

  /* 矢印は画像（外観写真）の見た目の縦中央付近へ */
  .product-lineup__slider .swiper-button-prev,
  .product-lineup__slider .swiper-button-next {
    top: 39%;
    width: 48px;
    height: 48px;
    background-size: 48px 48px;
  }

  .product-lineup__slider .swiper-button-prev {
    left: 42%;
    transform: translate(calc(-50% - 300px), -50%);
  }

  .product-lineup__slider .swiper-button-next {
    left: 58%;
    transform: translate(calc(-50% + 300px), -50%);
  }
}

@media (max-width: 1023px) {
  .product-lineup {
    padding: 40px 0;
  }

  .product-lineup__title {
    width: 85%;
    margin-bottom: 0;
  }

  .product-lineup__slider .swiper-slide {
    width: 100% !important;
    max-width: 565px;
    margin: 0 auto;
  }

  .product-lineup__slider .swiper-slide.swiper-slide-active {
    transform: translateZ(0) scale(1.1);
  }

  .product-lineup__slider .product-lineup__slide {
    min-height: 330px;
  }

  .product-lineup__slider .product-lineup__content {
    padding: 10px 0;
  }

  .product-lineup__slider .swiper-button-prev,
  .product-lineup__slider .swiper-button-next {
    top: 45%;
    width: 38px;
    height: 38px;
    background-size: 38px 38px;
    transform: translateY(-100%);
  }

  .product-lineup__slider .swiper-button-prev {
    left: 5px;
  }

  .product-lineup__slider .swiper-button-next {
    right: 5px;
  }

  .product-lineup__slider .swiper-pagination {
    margin-top: 0;
  }

  .product-lineup__slider .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }

  .product-lineup__img img {
    width: 72%;
    margin-inline: auto;
  }
}

/* ---------- 相談導線 ---------- */
.gw-cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 70px;
  background-color: #ffeb94;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.gw-cta__call {
  max-width: 560px;
  width: 100%;
}

.gw-cta__call img,
.gw-cta__button img {
  display: block;
  width: 100%;
  height: auto;
}

.gw-cta__button {
  display: block;
  max-width: 800px;
  width: 100%;
  filter: drop-shadow(0 6px 0 #5b1600);
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

/* ホバーは .goods-cta .btn と同じ（押し込むように下げて影を縮める） */
@media (hover: hover) {
  .gw-cta__button:hover {
    opacity: 1;
    transform: translateY(3px);
    filter: drop-shadow(0 3px 0 #5b1600);
  }
}

@media (max-width: 1023px) {
  .gw-cta {
    padding: 40px 15px 50px;
    gap: 20px;
  }

  /* SP は画面下端の固定バーで誘導する */
  .gw-cta__button {
    display: none;
  }
}

/* ---------- フッター ---------- */
.footer {
  background: #231815;
  padding: 20px 0;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer__inner {
  flex-direction: column;
  text-align: center;
}

.footer__link a {
  color: #fff;
  font-size: 14px;
  display: inline-block;
}

.footer__link a:first-child {
  margin-right: 25px;
}

.footer__sns {
  display: flex;
}

.footer__sns > a {
  background: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.footer__sns > a + a {
  margin-left: 6px;
}

.footer__sns > a > img {
  width: 20px;
  transform: translateY(50%);
  display: block;
  margin: auto;
}

.footer__sns > a.youtube > img {
  transform: translateY(95%);
}

.footer__copyright {
  width: 100%;
  max-width: 1000px;
  display: block;
  margin: 17px auto 0;
  padding-top: 17px;
  letter-spacing: 0.02em;
  font-size: 10px;
  text-align: center;
  border-top: 1px solid #fff;
}

@media (min-width: 1024px) {
  .footer__inner {
    margin: auto;
    width: 1000px;
    align-items: center;
    display: flex;
    justify-content: space-between;
    text-align: unset;
    flex-direction: unset;
  }
}

@media (max-width: 1023px) {
  .footer__inner {
    width: 90.625%;
    margin: auto;
  }

  .footer__sns {
    width: 100%;
    justify-content: center;
    margin-top: 3.4482758621%;
  }

  .footer__copyright {
    width: 90.625%;
    margin-top: 15px;
    padding-top: 15px;
  }
}

/* ==========================================================================
   動きを減らす設定・印刷
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .leaves {
    display: none;
  }
  [data-grow],
  [data-fade],
  [data-pop],
  [data-rise],
  [data-hero] {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .taikan-photos .track {
    animation: none;
  }
}

@media print {
  .leaves,
  .bleed,
  .fixed-cta {
    display: none !important;
  }
  [data-grow],
  [data-fade],
  [data-pop],
  [data-rise],
  [data-hero] {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
    animation: none !important;
  }
}
