@charset "UTF-8";


html {
  font-size: 1vw;
}


@media (min-width: 1441px) {
  html {
    font-size: 14.4px; 
  }
}

html {
  --beige-bg: #F5F4E6;
  --green-main: #8eab3f;
  --green-deep: #5f7a27;
  --gray-text: #555555;
  --brown-text: #4a3b30;
  --accent-orange: #f28c3c;
  --accent-red: #e14c3d;
  --accent-white: #ffffff;
  --border-radius-lg: 24px;
  
  
  --max-width: 81rem; 

  --page-bg: var(--beige-bg);
  --text-main: #000000;
  --text-sub: #777777;
  
  --font-sans: "Zen Kaku Gothic New", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Zen Antique Soft", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-display: "Syncopate", system-ui, sans-serif;
}

@keyframes hero-badge-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

* {
    box-sizing: border-box;
}

html{
   overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--page-bg);
  color: var(--text-main);
  line-height: 1.6667;
  letter-spacing: .1em;
  font-feature-settings: "palt";
  text-align: justify;
  line-break: strict;
  hanging-punctuation: last allow-end;
  overflow-x: hidden;
}

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

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


p{
  font-size: 1rem;
}
.page {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

.inner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.l-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 24px;
}


.section {
    padding: 5.5rem 0 8rem;
    position: relative;
}


.section-lead {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 2.4rem;
    line-height: 1.4444;
    margin-bottom: 15px;
}


.section-text {
    font-size: 1.2rem;
    letter-spacing: 0;
    }


.block-heading {
  text-align: center;
  margin-bottom: 2rem;
}


.block-title-ja {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  line-height: 1.5;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  width: 100%;
  margin: 0 auto;
}


.block-title-ja::before,
.block-title-ja::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background-color: #111;
  max-width: 38rem;
}


.block-title-en {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}


.btn {
  position: relative;  
  padding: 10px 18px 9px;
  border-radius: 999px;
  font-size: 1rem;
  letter-spacing: 0;
  width: 21rem;
  min-width: 230px;
  text-align: center;
  font-weight: 600;
}

.btn-primary {
  background: var(--green-main);
  color: var(--accent-white);
}


.btn::after {
  content: "";
  position: absolute;
  top: 47%;
  right: 18px;
  transform: translateY(-50%);

  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  min-width: 20px;
  min-height: 20px;
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.15s ease;
}

.btn--arrow::after {
  background-image: url("../img/icon-arrow.webp");
}

.btn--download::after {
  background-image: url("../img/icon-download.webp");
}

.btn.btn--arrow:hover::after {
  transform: translateY(-50%) translateX(8px);
}

/* .btn.btn--download:hover::after {
  transform: translateY(calc(-50% + 4px));
} */

@media (max-width: 1024px){
  .btn{
    font-size: 13px;
  }
} 

@media (max-width: 781px) {
  html {
    --max-width: 100%;
  }
  
  
  p{
    font-size: 1.7rem;
  }
  
  
  .inner{
    padding: 0 5rem;
  }
  .l-two-col {
    grid-template-columns: 1fr;
  }
  
}

@media (max-width: 520px){
  
  p{
    font-size: 3.7rem;
  }
  
  .section{
    padding: 13rem 0 16rem;
  }
  
  .btn{
    font-size: 16px;
  }
  
  .section-text{
    font-size: 3.9rem;
    line-height: 1.9;
  }
  
  .block-heading{
    margin-bottom: 5rem;
  }
  
  .block-title-ja,
  .section-lead{
    font-size: 5.3rem;
    letter-spacing: 0;
  }
  
  .block-title-en{
    font-size: 2.3rem;
    
  }
  .block-title-ja::before,
  .block-title-ja::after{
    display: none;
}
} 

.br-pc { display: inline; }

@media (max-width: 767px) {
  .br-pc { display: none; }
}

/* =========================
    HERO
    ========================= */
header.hero {
    padding-top: 100px; 
    padding-bottom: 20px;
    position: relative;
}

.hero-topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    
    padding: 30px 0 10px;
    background-color: var(--beige-bg); 
}

.hero-topbar.is-scrolled {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07); 
    padding: 10px 0; 
}

.hero-topbar-inner {
    max-width: 100rem;
    margin: 0 auto;
    padding: 0 25px 0 40px; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hero-brand{
  display: flex;
  align-items: center;
  gap: 6.5rem; 
}

.hero-brand-title{
  width: 34rem;
  min-width: 32rem;
  margin: 0;
}

.hero-copy-small{
  flex: 1;
  text-align: center;
  font-family: var(--font-serif);
  flex: 1;
  text-align: center;
  font-size: 1.35rem;
  letter-spacing: 0.1em;
}

.hero-topnav {
    font-family: var(--font-serif);
    color: var(--green-main);
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    opacity: .7;
}

.hero-topnav a {
    position: relative;
    padding-bottom: 3px;
    cursor: default;
}

/* .hero-topnav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: #111;
    transition: width 0.2s ease;
}

.hero-topnav a:hover::after {
    width: 100%;
} */

.hero-menu-btn {
    width: 2.8rem;
    height: 2.2rem;
    max-width: 65px;
    max-height: 50px;
    position: relative;
    border: none;
    background: none;
    margin-left: .8rem;    
    top: -.2rem;
    cursor: default;
}


.hero-menu-btn span,
.hero-menu-btn::before,
.hero-menu-btn::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    background: var(--green-main);
    height: .29rem;
}

.hero-menu-btn span {
    top: 50%;
    transform: translateY(-50%);
}

.hero-menu-btn::before {
    top: 0;
}

.hero-menu-btn::after {
    bottom: 0;
}

@media (min-width: 782px) {
  .hero-menu-btn {
    width: 3.61rem;  
    height: 2.64rem; 
    top: 0;         
  }

  .hero-menu-btn span,
  .hero-menu-btn::before,
  .hero-menu-btn::after {
    height: .45rem;       
    left: .15rem;    
    right: .15rem;
  }
}

/* --- main visual --- */

.hero-main {
    max-width: var(--max-width);
    margin: 5rem auto 0;
    position: relative;
    padding: 0;
}


@media (min-width: 782px){
  .hero-main{
    margin-top: 2.3rem; 
  }
}

.hero-visual-frame {
  position: relative;
}


.hero-visual-base {
    width: 100%;
    display: block;
    padding-top: 2.5rem;
}

.hero-visual-base02{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.hero-side-label {
    position: absolute;
    top: 51%;
    width: 1.1rem;
    transform: translateY(-50%) rotate(0deg);
}


.hero-side-label.left {
    left: -4rem;
}


.hero-side-label.right {
    right: -4rem;
}
.hero-side-label img{
  display:block;
  width: 100%;
  height: auto;
}
.hero-visual-media{
  overflow: hidden;
  position: relative;
  z-index: -1;
}

.hero-book{
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
  z-index: 0;
}


.hero-book__mask{
  width: 71.1rem;
  aspect-ratio: 16 / 9;
  position: relative;

  -webkit-mask: url("../img/hero/book-mask.svg") center / contain no-repeat;
          mask: url("../img/hero/book-mask.svg") center / contain no-repeat;
  margin-bottom: 1.5rem;
}

.hero-book__video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-decos{
  position: absolute;
  inset: 0;
}
.hero-deco{
  position: absolute;
  left: var(--x);
  top:  var(--y);
  width: var(--w);
  height: auto;
  display: block;
transform: translateX(var(--tx, -50%));
}

.hero-deco__img{
  animation-duration: var(--dur, 6s);
  animation-delay: var(--delay, 0s);
  animation-timing-function: var(--ease, ease-in-out);
  animation-iteration-count: infinite;
  animation-fill-mode: both;

  transform-origin: var(--origin, center bottom);
}


.hero-deco--logo{ --x:82.3%; --y:-3%;  --w:12rem; }

.hero-deco--01{ --x:3.7%;  --y:8%; --w:4.8rem;}
.hero-deco--02{ --x:5%;  --y:68%; --w:6.8rem; }
.hero-deco--03{ --x:3.5%;  --y:81.5%; --w:7.8rem; }
.hero-deco--04{ --x:29.8%;  --y:80.5%; --w:6.8rem; }
.hero-deco--05{ --x:39.8%;  --y:88.5%; --w:7.8rem; }

.hero-deco--06{ --x:60.8%;  --y:88%; --w:7.8rem; }
.hero-deco--07{ --x:71%;  --y:91%; --w:5rem; }
/* .hero-deco--08{ --x:38%;  --y:91%; --w:7.8rem; } */

.hero-deco--09{ --x:80.2%;  --y:87%; --w:9.5rem; }
.hero-deco--10{ --x:89.5%;  --y:81.5%; --w:5.2rem; }
.hero-deco--11{ --x:8.4%;  --y:95%; --w:1.8rem; }

.hero-deco--12{ --x:99.52%; --y:72%; --w:8.5rem; --tx:-100%; }
.hero-deco--13{ --x:100%; --y:88%; --w:2rem; --tx:-100%; }

.anim-bounce-occasional { animation-name: bounce-occasional; }
.anim-float             { animation-name: float; }
.anim-sway              { animation-name: sway; }
.anim-wiggle            { animation-name: wiggle; }

/* bounce系：周期を微妙にズラす */
.hero-deco--02 .hero-deco__img{ --dur: 6.6s; --delay: -1.9s; }
.hero-deco--04 .hero-deco__img{ --dur: 7.2s; --delay: -4.1s; }
.hero-deco--05 .hero-deco__img{ --dur: 5.9s; --delay: -2.7s; }
.hero-deco--06 .hero-deco__img{ --dur: 8.1s; --delay: -6.0s; }
.hero-deco--10 .hero-deco__img{ --dur: 6.3s; --delay: -3.4s; }

/* wiggle系 */
.hero-deco--01 .hero-deco__img{ --dur: 4.7s; --delay: -1.1s; }
.hero-deco--03 .hero-deco__img{ --dur: 5.4s; --delay: -3.0s; }
.hero-deco--12 .hero-deco__img{ --dur: 6.8s; --delay: -5.2s; }

/* sway/float系 */
.hero-deco--07 .hero-deco__img{ --dur: 4.9s; --delay: -2.2s; --origin: center bottom; }
.hero-deco--11 .hero-deco__img{ --dur: 4.1s; --delay: -1.7s; --origin: center bottom; }
.hero-deco--09 .hero-deco__img{ --dur: 3.6s; --delay: -2.8s; }
.hero-deco--13 .hero-deco__img{ --dur: 5.2s; --delay: -0.9s; --origin: center bottom; }


.hero-badge-comingsoon {
  position: absolute;
  left: 10%;
  bottom: -2%;
  width: 11.5rem;
  pointer-events: none;
}

.hero-badge-text {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84%;
  height: auto;
}

/* ============================================================
   アニメーション CSS
   ============================================================ */


@keyframes bounce-occasional {
    0% { transform: translateY(0) scale(1); }
    3% { transform: translateY(-12px) scale(1.05); } 
    6% { transform: translateY(0) scale(0.95); } 
    9% { transform: translateY(-4px) scale(1.02); } 
    12% { transform: translateY(0) scale(1); } 
    100% { transform: translateY(0) scale(1); } 
}

.anim-bounce-occasional {
    animation-name: bounce-occasional;
    animation-duration: 6s; 
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.anim-float {
    animation-name: float;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes sway {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

.anim-sway {
    animation-name: sway;
    animation-duration: 4s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    transform-origin: center bottom; 
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0); }
    2% { transform: rotate(10deg); }
    4% { transform: rotate(-8deg); }
    6% { transform: rotate(6deg); }
    8% { transform: rotate(-4deg); }
    10% { transform: rotate(2deg); }
    12% { transform: rotate(0); }
    100% { transform: rotate(0); }
}

.anim-wiggle {
    animation-name: wiggle;
    animation-duration: 5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}


/* ============================================================
   タイミング調整用
   ============================================================ */

.delay-random { animation-delay: 0.5s; }
.delay-1s { animation-delay: 1s; }
.delay-2s { animation-delay: 2s; }
.delay-3s { animation-delay: 3s; }

.duration-slow { animation-duration: 8s; }
.duration-fast { animation-duration: 2s; }


.hero-lead {
    font-family: var(--font-serif);
    margin-top: 4.5rem;
    text-align: center;
    line-height: 2;
}

.hero-lead .lead-chunk{
  display: inline-block;
  white-space: nowrap;
}

.hero-lead p {
    margin: 0 0 4px;
    font-size: clamp(15px, 1.67rem, 24px);
}


.hero-info-bar {
  margin: 40px auto 0;
  max-width:57rem;
  background: url("../img/hero-info-wave-bg.svg") ;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  padding: 3rem 2rem;
  display: flex;
  justify-content: center;
  gap: 1.7rem;
  font-size: 1rem;
}


.hero-info-item {
  flex: 1 1 0;
  min-width: 0; 
  display: flex;
  align-items: center;
  gap: 1.5rem;
}


.hero-info-label {
    min-width: 5.5rem;
    text-align: center;
    padding: 5px 0;
    background: var(--text-main);
    color: var(--accent-white);
    letter-spacing: 0.05em;
}

.hero-info-meta {
    white-space: nowrap;
}

.hero-info-text {
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}


.section-heading-bg{
  overflow: hidden;
  white-space: nowrap;
  padding-inline: .5em;
  box-sizing: border-box;

  font-family: var(--font-display);
  font-size: 6.3rem;
  letter-spacing: .05em;
  font-weight: 700;
  color: var(--green-main);
}

.section-heading-bg__track{
  display: inline-flex;
  width: max-content;
  will-change: transform;
  animation: marquee var(--dur, 20s) linear infinite;
}

.section-heading-bg__item{
  white-space: nowrap;
  padding-right: 1em;
}

@keyframes marquee{
  to{ transform: translateX(-50%); }
}

.section-heading{
  text-align: center;
}


.section-title-ja {
  font-family: var(--font-serif);
  font-size: 3.887rem;
  line-height: 1.1;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}


.section-tag-en{
  display: inline-block;
  margin-bottom: 32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

@keyframes scroll-left{
  from{ transform: translateX(var(--from, 100%)); }
  to  { transform: translateX(var(--to, -100%)); }
}

@media (max-width: 781px) {

  header.hero{
    padding-top: 80px;
  }

  .hero-topbar {
    padding: 24px 0 10px;
  }
  
  .hero-topbar-inner { 
    flex-wrap: nowrap;
    row-gap: 10px;
    padding: 0 4.5rem;
  }

  .hero-main {
    padding-inline: 20px;
  }

  .hero-side-label{
    display: none;
  }

  
  .hero-book__mask{
    width: 80rem;
  }

  .hero-brand{
    gap: 5.5rem;
  }

  .hero-copy-small {
    order: 3;
    flex-basis: 100%;
    font-size: 11px;
  }
  
  .hero-lead{
    font-size: 1.9rem;
  }

  .hero-info-bar{
    max-width: 80rem;
    margin-top: 5rem;
  }

}

@media (max-width: 520px) {
  
  .section-heading-bg{
    font-size: 18rem;
    padding-bottom: 3rem;
  }
  
  .section-title-ja{
    font-size: 6rem;
    letter-spacing: 0;
    margin-bottom: 4px;
  }
  
  .section-tag-en{
    font-size: 2.5rem;
  }

  .hero-brand-title {
    width: 89%;       
    max-width: none;
    margin-bottom: 3px; 
  }

  .hero-copy-small {
    font-size: 3rem; 
    text-align: left;
  }

  .hero-brand{
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
  }
  .hero-topnav a{
    display: none;
  }
  
  .hero-menu-btn {
    width: 8rem;
    height: 6rem;
    top: -1.6rem;
  }
  .hero-menu-btn span, .hero-menu-btn::before, .hero-menu-btn::after{
    height: 0.92em;
  }

  
  .hero-visual-base {
    padding-top: 15rem;
  }
  
  .hero-book__mask{
    width: 170rem;
    max-width: none;

    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
  }

 .hero-topbar{
  background-color: var(--beige-bg);
  box-shadow: none; 
 }

  .hero-visual-frame {
    width: 170rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: none;
  }

  
  .hero-visual-media{
    padding-top: 9rem;
  }

  
  .hero-badge-comingsoon {
    left: 23%;
    bottom: -2%;
    width: 29rem;
}

  
  .hero-deco--logo{
      --x: 67.7%;
      --y: 76%;
      --w: 31rem;
  }

  
  .hero-deco--01 { --x: 70%; --y: 102%; --w: 11.8rem; transform: scale(-1, 1);}
  .hero-deco--02 { --x: 23%; --y: 110%; --w: 19.8rem;}
  .hero-deco--03{ --x:28%;  --y:137%; --w:19rem; }
  .hero-deco--04{ --x:25.8%;  --y:174.5%; --w:20rem; }
  .hero-deco--05{ --x:37%;  --y:195%; --w:17.8rem; }

  .hero-deco--06{ --x:65%;  --y:194%; --w:19rem; }
  .hero-deco--07{ --x:54%;  --y:198%; --w:12rem; }

  .hero-deco--09{ --x:73.2%;  --y:141%; --w:25rem; }
  .hero-deco--10{ --x:75.5%;  --y:165.5%; --w:12.2rem; }
  .hero-deco--11{ --x:21.4%;  --y:151%; --w:5rem; }

  .hero-deco--12{ --x:82.5%; --y:117%; --w:23.5rem; --tx:-100%; }
  .hero-deco--13{ --x:77%; --y:191%; --w:4rem; --tx:-100%; }

  
  .hero-lead{
    
    padding-top: 3rem;
    line-height: 1.6;
  }

  .hero-lead p {
    font-size: 4.3rem;
  }

  
  .hero-info-bar{
    background-image: none;
    position: relative;
    background-size: 100% auto;
    width: 100%;
    flex-direction: column;
    gap: 12px;
    font-size: 12px;
    margin-top: 10rem;
  }

  .hero-info-bar::before{
  content: "";
  position: absolute;
  inset: 0;                
  background: url("../img/hero-info-wave-bg-sp.svg") no-repeat center / contain;
  z-index: -1;
  pointer-events: none;
  }

  .hero-info-item{ flex-wrap: wrap; }
  .hero-info-label, .hero-info-meta{ white-space: nowrap; }
  .hero-info-label{
    padding: 4px 15px;
  }
  .hero-info-text{ flex-basis: 100%; }
}

@media (max-width: 520px) and (min-width: 350px){
  
  .hero-info-bar{
    max-width: 278px;
    width: 75%;
    padding: 9rem 12rem;
  }

  .hero-topbar-inner{
    gap: 0px;
  }

  .hero-main {
    margin-top: -9rem;
    padding-inline: 20px;
   
  }
}

@media (max-width: 349px) {
  
  .hero-info-bar{
      max-width: 95%;
      padding: 11rem 10rem;
  }

}
/* =======================
    DISCOVER / 目的別
    ======================= */
.discover-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: center;
    gap: 2.3rem;
    margin-top: 1rem; 
}

.discover-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.discover-card-image {
  position: relative;
  width: 100%; 
  aspect-ratio: 16.2 / 28; 
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: var(--brown-text);
}

.discover-card-image img{
  opacity: .8;
}

.discover-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}


.discover-card-comingsoon {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  color: var(--accent-white);
  text-transform: uppercase;
}

.discover-card-link--comingsoon .discover-card-image {
  filter: grayscale(10%);
}


.discover-card-frame {
  position: absolute;
  inset: 4.9rem 5.8rem;
  border: 3px solid var(--accent-white);
  display: flex;
  align-items: center;
  justify-content: center;
}


.discover-card-title {
  font-family: var(--font-serif);
  font-size: 2.9rem;
  color: var(--accent-white);
  letter-spacing: 0.4em;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.discover-card-title--tight {
  letter-spacing: -0.05em;
}


.discover-card-sub {
  position: absolute;
  top: 4.9rem;
  left: 5.8rem;
  transform: translateX(-100%);
  transform-origin: top right;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.9);
}


.discover-card-text {
  font-size: 1rem;
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 781px) {
  .discover-cards{
      grid-template-columns: repeat(4, minmax(0, .2fr));
  }
  .discover-card-frame{
        border: 2px solid var(--accent-white);
  }
}

@media (max-width: 520px) {
  
  .discover-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px; 
    justify-items: center;
    row-gap: 24px;
    margin-top: -2rem;
  }

  .discover-card {
    align-items: center;
  }

  
  .discover-card-image {
    width: 100%;     
    max-width: none;
    height: auto;  
    aspect-ratio: 1 / 1.5; 
    margin-bottom: 10px;
  }

  
  .discover-card-comingsoon{
    font-size: 4rem;
    text-align: center;
  }

  
  .discover-card-frame {
    inset: 8.5rem 15rem;
    padding-bottom: 1.2rem;
  }

  
  .discover-card-title {
    font-size: 7rem;
  }

  
  .discover-card-sub {
    top: 9rem;
    left: 15rem;
    font-size: 2.8rem;
    letter-spacing: 0;
    white-space: nowrap; 
  }

  
  .discover-card-text {
    font-size: 3.3rem;
    line-height: 1.63;
    letter-spacing: 0;
  }
}

/* =======================
ABOUT OBANAZAWA
======================= */
.about {
background: var(--green-main);
color: var(--beige-bg);
position: relative;
overflow: hidden;
}

.about .section-heading-bg{
    color: var(--beige-bg);
}

.about .l-two-col {
  grid-template-columns: 3fr 1.6fr;
}


.about-body {
    margin-top: 2.2rem;
}

.about-map {
  position: relative;
  align-self: center;
  justify-self: center;
}

@media (max-width: 1024px) {
  
  .about-badge{
        width: 10rem;
  }
}

@media (max-width: 781px) {
  .l-two-col {
    grid-template-columns: 1fr;
  }
  
  .about-badge {
    width: 13.5rem;
    top: 7.7rem;
  }
}

@media (max-width: 520px) {
  .about .l-two-col{
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
  .about .about-map{ 
    order: -1; 
    width: 55%;
  }
  .about .about-body{ order: 0; }
  
  .about-badge {
      width: 12rem;
  }
  .about .section-lead{
    text-align: center;
  }
}

/* =======================
MODEL COURSE
======================= */
.model-card {
  border-radius: 28px;
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 2.7fr);
  column-gap: 40px;
  padding: 32px 0; 
  align-items: center;
}


.model-card-number {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--green-main);
  line-height: 1;
}

.model-card-image {
  border-radius: 24px;
  overflow: hidden;
}

.model-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 520px){
  .model-card{
    grid-template-columns: 1fr;
    row-gap: 16px;
    padding: 0px 20px 24px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .model-card-image{ 
    order: -1;
    margin-bottom: 5rem;
  }
  
  .model-card-number{
    font-size: 9.5rem;
    margin-bottom: 2.5rem;
  }

  .model-course .model-card-number,
  .model-course .section-lead{
    text-align: center;
  }
  .model-course .section-lead{
    line-height: 1.8;
  }
}

/* =======================
LINKS
======================= */

.links{
background: var(--accent-white);
    padding: 7rem 0 8rem;
}


.links-feature-wrap {
  margin: 0 auto 5.5rem;
}

.links-feature-card {
  border-radius: 2em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5px;
  align-items: stretch;
  color: var(--accent-white);
  background-color: var(--green-main);
  overflow: hidden;
}

.feature-card-body {
  padding: 5em 3.5em 5.5em;
}

.links-feature-card-number {
font-size: 14px;
letter-spacing: 0.3em;
color: var(--accent-red);
margin-bottom: 8px;
}

.links-feature-image{
  position: relative;
  overflow: hidden;
  min-height: 0;
  min-width: 0;
}

.links-feature-image img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.links-feature-link {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--green-main);
  color: var(--accent-white);
  font-size: 12px; 
  letter-spacing: 0.2em;
}


.links-block {
margin-bottom: 5rem;
}


.links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.3rem;
  width:100%;
}


.link-card {
  background: var(--beige-bg);
  border-radius: 1em;
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: calc((100% - (2.3rem * 3)) / 4);
  max-width: none; 
}

.link-card-icon {
  flex-shrink: 0;
    max-width: 25%;
}


.link-card-label {
    font-size: 1.15rem;
    font-family: var(--font-serif);
    line-height: 1.5;
}


.link-card-sub {
font-size: 11px;
color: var(--gray-text);
}


.links-banner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.3rem;
}


.links-banner-logo {
  flex: 0 1 calc((100% - 3 * 2.3rem) / 4);
  max-width: calc((100% - 3 * 2.3rem) / 4);
}


@media (max-width: 781px) {
  
  .links{
    padding-bottom: 6rem;
  }
  
  .links-feature-wrap{
    max-width: 100rem; 
    margin-bottom: 10rem;
  }

  
  .links-block{
    margin-bottom: 10rem;
  }

  
  .link-card {
    flex: 0 1 calc((100% - 2 * 2.3rem) / 3);
    max-width: calc((100% - 2 * 2.3rem) / 3);
  }
  
  
  .link-card-label{
    font-size: 1.6rem;
  }
  
  .links-banner-logo {
    flex: 0 1 calc((100% - 2 * 2.3rem) / 3);
    max-width: calc((100% - 2 * 2.3rem) / 3);
  }
}

@media (max-width: 520px) {
  
    .links{
    padding: 12rem 0 12rem;
  }
  
  .links-feature-wrap{
    margin-bottom: 17rem;
  }
  
  .links-block {
    margin-bottom: 17rem;
  }
  .links-feature-card {
    grid-template-columns: 1fr;
  }

  .feature-card-body {
    text-align: center;
    padding: 6em 5em 3.5em;
  }

  .links-feature-image{
    height: auto;
    aspect-ratio: 16 / 10.3;
  }

  .links-feature-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .links-grid{
    gap: 4rem;
    justify-content: left;
  }
  
  .link-card {
    flex: 0 1 calc((100% - 1 * 2.3rem) / 2);
    max-width: calc((100% - 1 * 4rem) / 2);
    padding: 4.2rem 2.2rem;
    justify-content: flex-start;
    gap: 6px;
  }
  .link-card-icon{
    max-width: 29%;
  }
  
  .link-card-label{
    font-size: 3.2rem;
    letter-spacing: 0;
    line-height: 1.2;
  }
  
  .links-banner-logo {
    flex: 0 1 calc((100% - 1 * 2.3rem) / 2);
    max-width: calc((100% - 1 * 2.3rem) / 2);
  }
}

/* =======================
SNS & EVENTS
======================= */

.sns-events-section {
  background: var(--accent-white);
  padding-bottom: 56px;
}

.sns-events {
  padding-top: 20px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin: 0 auto;
  /*padding-inline: 32px;*/
}

.sns-events .section-lead{
    margin-bottom: 5px;
}


.sns-box,
.events-box {
  background: var(--accent-white);
  border-radius: 1.5em;
  padding: 2rem 1rem 3rem;
  background-color: var(--beige-bg);
  text-align: center;
}


.sns-icons {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 3rem;
}


.sns-icon{
    width: 3.4rem;
    min-width: 20px;
}


.events-season-list {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 8px;
}


.events-season-pill {
  width: 3.4rem;
  height: auto;
  aspect-ratio: 1 / 1;
  min-width: 55px;
  min-height: 55px;
  border-radius: 50%;

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

.events-season-pill img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.sns-icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 520px) {
  .sns-events {
    grid-template-columns: 1fr;
    padding-inline: 0px;
    gap: 35px;
  }
  .sns-events .section-lead{
    margin-bottom: 0;
  }
  
  .events-season-list,
  .sns-icons{
    gap: 5rem;
    align-items: center;
    justify-content: space-around;
  }

  .sns-box,
  .events-box {
      padding: 9rem 5rem 9.5rem;
  }
  
  .sns-icon {
    width: 10rem;
  }
  .sns-icon-img{
    width: 100%;
    height: auto;
  }
}

/* =======================
FOOTER
======================= */
footer {
  position: relative;
  background: var(--green-main);
  color: var(--accent-white);
  
  padding-top: 5rem;
  padding-bottom: 5rem;
}


.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
    font-size: 1rem;
}


.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3.5rem;
}


.footer-nav {
  display: flex;
  gap: 7rem;
}

.footer-nav-col {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-download-btn {
  align-self: flex-start;
  white-space: nowrap;
  background: var(--accent-white);
  color: var(--green-main);
  padding-top: 12px;
  padding-bottom: 11px;
}


.footer-divider {
  height: 2px;
  background-color: rgba(255, 255, 255, 0.7);
  margin: 2.5rem 0;
}


.footer-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-org {
  line-height: 1.9;
}

.footer-org-name,
.footer-org-address,
.footer-org-contact {
  margin: 0;
}


.footer-org-name{
    max-width: 24rem;
    margin: auto auto 1rem auto;
}

.footer-org-contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}


.footer-copy {
  font-size: .9rem;
}

@media (max-width: 1024px){
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 781px) {
  
  .footer-inner {
    padding-inline: 20px;
    font-size: 1.7rem;
  }
  
  .footer-copy {
    font-size: 1.3rem;
  }
}

@media (max-width: 520px){
  footer {
    
    padding-top: 9rem;
    padding-bottom: 10rem;
  }
  .footer-inner{
    padding: 0 5vw;
  }
  
  .footer-org-name{
    max-width: 56rem;
    margin: auto auto 3rem auto;
  }
  .footer-org-contact{
    gap: 1rem;
    line-height: 1.4;
    margin-top: 5px;
  }
  .footer-download-btn{
    min-width: 100%;
  }
  
  .footer-divider {
    margin: 8.5rem 0;
  }
  .footer-nav{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
  }
   .footer-nav-col:nth-child(3){
    grid-column: 1 / -1;
  }

  .footer-org-item{
    flex: 0 0 27%;  
    white-space: nowrap;
  }
  
  .footer-nav-col{
    font-size: 3.7rem;
    margin-bottom: 2rem;
  }
  
  .footer-copy {
    font-size: 2.5rem;
    width: 67rem;
  }

  .footer-info {
   gap: 5rem;
}
}

/* =======================
BACK TO TOP BUTTON
======================= */

.page-top-btn {
  position: absolute;
  right: 24px;
  top: -72px;
  width: 3.2rem;
  height: 3.2rem;
  min-width: 25px;
  min-height: 25px;

  border-radius: 999px;
  border: 1px solid var(--text-main);
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  z-index: 100;

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


.page-top-btn::before {
  content: "";
  display: block;
  width: 1rem;
  height: 1rem;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(135deg);
  position: relative;
  top: 2px;
}

.page-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 781px) {
  .page-top-btn {
    right: 16px;
    bottom: 16px;
    min-width: 40px;
    min-height: 40px;
  }
  .page-top-btn::before{
    width: 10px;
    height: 10px;
  }
}

/* =======================
ふわっと アニメーション
======================= */
.motion-enabled .reveal{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .7s ease, transform .7s ease;
}
.motion-enabled .reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* =======================
no link
======================= */
.footer-download-btn,
.footer-nav-col a{
  pointer-events: none;
  opacity: .7;
}