@charset "UTF-8";

/* ===============================================
   HERO SECTION（HTML版に合わせる）
   =============================================== */

header {
    background-color: var(--wp--preset--color--base);
}

.site-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1440px;
    width: 100%;
    height: clamp(72px, calc(72px + 26px * var(--fluid)), 98px);
    z-index: 998;
    background-color: var(--wp--preset--color--base);
    transition: background-color 0.3s ease, padding 0.3s ease;
    box-shadow: none;
}

.site-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: var(--wp--preset--color--base);
    z-index: -1;
    transition: box-shadow 0.3s ease;
    pointer-events: none;
    box-shadow: none;
}

.site-header.wp-block-group {
    padding: 
        clamp(15px, calc(15px + (30 - 15) * 1px * var(--fluid)), 30px) 
        75px 
        clamp(15px, calc(15px + (30 - 15) * 1px * var(--fluid)), 30px) 
        clamp(17px, calc(17px + (45 - 17) * 1px * var(--fluid)), 45px);
}

.site-header.is-scrolled {
    padding: clamp(8px, calc(8px + (15 - 8) * 1px * var(--fluid)), 15px) 65px clamp(8px, calc(8px + (15 - 8) * 1px * var(--fluid)), 15px) clamp(17px, calc(17px + (30 - 17) * 1px * var(--fluid)), 30px) !important;
}

.site-header.is-scrolled::before {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
}

.site-header.hero-topbar {
    height: auto;
    position: fixed;
}

body {
    padding-top: clamp(72px, calc(72px + 26px * var(--fluid)), 98px) !important;
}

.home main {
    padding-top: 0;
    padding-bottom: 0;
}

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

.hero-brand {
    display: flex;
    align-items: center;
    gap: clamp(20px, calc(20px + (88 - 20) * ((100vw - 782px) / (1440 - 782))), 88px);
}

.hero-brand.wp-block-group,
.hero-topnav.wp-block-group {
    padding: 0;
}

.hero-brand-title.wp-block-site-logo {
   width: 34vw;
   max-width: 490px;
}

.hero-brand-title.wp-block-site-logo img {
    width: 100%;
    height: auto;
    max-width: none;
}

.hero-brand-title img,
.hero-brand-title a {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}

.hero-copy-small {
    flex: 1;
    text-align: center;
    font-family: var(--wp--preset--font-family--serif);
    font-size: clamp(11px, calc(11px + (20 - 11) * 1px * var(--fluid)), 20px);
    letter-spacing: 0.1em;
}

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

.hero-topnav a {
    position: relative;
    padding-bottom: 3px;
    transition: opacity 0.3s ease;
}

.hero-topnav a:hover {
    opacity: 1;
}

.main-nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav-list li {
    margin: 0;
}

.hero-menu-btn-wrapper {
    margin-left: 0.8rem;
}

body.menu-open .site-header {
    background-color: transparent !important;
}

body.menu-open .site-header .hero-brand {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body.menu-open .site-header .main-nav-list {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body.menu-open .hero-menu-btn-wrapper {
    opacity: 1 !important;
    pointer-events: auto !important;
}

body.menu-open .site-header::before {
    content: none !important;
}


@media (min-width: 782px) and (max-width: 872px) {
    .site-header.wp-block-group{
        height: 75px;
    }
}

@media (min-width: 782px){
    .hero-copy-small {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        z-index: 10;
        white-space: nowrap;
    }
}

@media (max-width: 781px) {
    .hero-brand {
        gap: 2rem;
    }
    .hero-brand-title.wp-block-site-logo {
        width: 76vw;
    }
    
}

/* --- Main Visual --- */

.hero.wp-block-group,
.hero > .wp-block-group {
    margin-top: 0px;
    padding-top: 0;
}

.hero .wp-block-lazyblock-fp-hero{
    width: 150% ;
    margin-left: -25% !important;
    margin-right: -25% !important;
    
    max-width: none !important;
}


.hero-main {
    max-width: var(--wp--custom--spacing--inner-max-width);
    max-width: 1165px;
    width: 101%;
    margin: clamp(20px, 5vw, 72px) auto 0;
    position: relative;
    padding: 0;
}

.hero-visual-frame {
    position: relative;
    padding-bottom: 0;
}

.hero-visual-base {
    width: 100%;
    display: block;
}

.hero-visual-base02 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 1s ease;
}

.hero-side-label {
    position: absolute;
    top: 56%;
    width: .9rem;
    transform: translateY(-70%) rotate(0deg);
    margin-top: 0;
    padding-top: 0;
}

.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: 0;
    padding-top: 0;
}

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

.hero-book__mask {
    max-width: 1018px;
    width: 87%;
    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: 3.5rem;
}

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

.hero-decos {
    position: absolute;
    inset: 0;
    pointer-events: none;
    padding-top: 0;
}

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

.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:81%; --y:-11%; --w:11.15rem;}
.hero-deco--01 { --x: 3.7%; --y: 2%; --w:4.5rem;}
.hero-deco--02 { --x:5%; --y:63%; --w:6rem; }
.hero-deco--03 { --x:3%; --y:78.5%; --w:7rem; }
.hero-deco--04 { --x:29.8%; --y:79.5%; --w:6rem; }
.hero-deco--05 { --x:40.8%; --y:88.5%; --w:7rem; }
.hero-deco--06 { --x:60.8%; --y:88%; --w:7rem; }
.hero-deco--07 { --x:71%; --y:91%; --w:3.7rem;}
.hero-deco--09 { --x:79.7%; --y:86%; --w:7.3rem; }
.hero-deco--10 { --x:89%; --y:79.5%; --w:4.8rem;}
.hero-deco--11 { --x:8.4%; --y:95%; --w:1.5rem; }
.hero-deco--12 { --x:94.52%; --y:70%; --w:7rem;}
.hero-deco--13 { --x:99%; --y:88%; --w:1.6rem;}

/* アニメーション定義 */
.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; }

@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); }
}

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

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

@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); }
}

/* バッジ */
.hero-badge-comingsoon {
    position: absolute;
    left: 10%;
    bottom: -2%;
    width: clamp(60px, 11.5vw, 166px);
    pointer-events: none;
}

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

.hero-lead {
    font-family: var(--wp--preset--font-family--serif);
    margin-top: clamp(60px, calc(60px + (65 - 60) * ((100vw - 375px) / (1440 - 375))), 65px);
    text-align: center;
    font-size: clamp(16px, calc(16px + (24 - 16) * 1px * var(--fluid)), 24px);;
    line-height: 2;
}

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

.hero-lead p {
    margin: 0 0 4px;
    text-align: center !important;
}

.hero-info-bar {
  margin-bottom: 60px !important;
  max-width: clamp(400px, 57vw, 821px);
  background: url("../img/hero/hero-info-wave-bg.svg") no-repeat center / contain;
  padding: clamp(25px, 3vw, 43px) clamp(15px, 2vw, 29px);
  display: flex;
  justify-content: center;
  gap: clamp(15px, 1.7vw, 25px);
  font-size: var(--font-gothic-14);
}

.hero-info-item {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(1px, 1.5vw, 22px);
}

.hero-info-label {
  min-width: clamp(50px, 5.5vw, 79px);
  text-align: center;
  padding: clamp(4px, 0.35vw, 5px) 0;
  background: var(--wp--preset--color--black);
  color: var(--wp--preset--color--white);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

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

.hero-info-text {
  flex: 1;
  min-width: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis; 
  line-height: 1.5;
  font-size: 14px;
  font-weight: 400;
  max-height: calc(1.5em * 2);
}

.hero-info-text a {
  color: inherit;
  text-decoration: none;
}

.hero-info-text a:hover {
  opacity: 0.7;
}

@media (max-width: 1100px){
    .hero-side-label{
        display: none;
    }
    .hero-main{
        width: 95vw;
        max-width: none;
    }
    .hero-book__mask{
        width: 83vw;
    }
} 

@media (max-width: 782px) {
  .hero-info-bar {
    flex-direction: column;
    max-width: 85vw;
    gap: clamp(15px, 3vw, 20px);
    background: url("../img/hero/hero-info-wave-bg-tablet.svg") no-repeat center / contain;
    background-size: cover;
    border-radius: 1em;
    padding: 40px;
    }

    .hero-topbar {
        flex-wrap: wrap;
        row-gap: 10px;
        padding: 0 clamp(18px, 4.5vw, 35px);
    }

    .hero-brand {
        gap: clamp(20px, 5.5vw, 43px);
    }

    .hero-copy-small {
        order: 3;
        flex-basis: 100%;
    }
    
    .hero-main {
        width: 107vw;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .hero-book__mask {
        width: 93vw;
    }

}

@media (max-width: 520px) {
    .hero.wp-block-group,
    .hero > .wp-block-group {
        margin-top: 85px;
        margin-bottom: 30px;
    }
    .hero-info-bar{
        max-width: 87vw;
        background: url("../img/hero/hero-info-wave-bg-sp.svg") no-repeat center / contain;
        padding-inline: clamp(39px, calc(39px + 45 * (100vw - 381px) / 139), 84px);
        padding-block: 5.3rem 4rem;
        margin-block: clamp(10px, calc(20px - 10 * (100vw - 381px) / 139), 20px) 2.2rem;
        margin-block-end: clamp(0px, calc(0px + (150 - 0) * ((100vw - 375px) / (1440 - 375))), 150px) !important;
        gap: 0;
    }
        header.hero {
        padding-top: 15px;
        padding-bottom: 35px;
    }

    .hero.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
        width: 100% ;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-main {
        padding-inline: 20px;
        padding-top: 0;
        margin-top: clamp(-80px, calc(-80px + (-60 - (-80)) * ((100vw - 375px) / (520 - 375))), -60px)
    }

    .hero-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .hero-topnav a {
        display: none;
    }

    .hero-visual-base {
        padding-top: 0;
    }

    .hero-book__mask {
        width: 150vw;
        max-width: none;
        top: -5%;
        left: 50%;
        transform: translateX(-56%);
        margin-bottom: 0;
    }

    .hero-topbar {
        gap: 0;
    }

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

    .hero-visual-media {
        padding-top: 0;
    }

    .hero-badge-comingsoon {
        left: 23%;
        bottom: -2%;
        width: clamp(110px, 29vw, 151px);
    }

    .hero-lead {
        margin-top: 10px;
        padding: 1rem 4rem clamp(5px, calc(5px + (40 - 5) * ((100vw - 375px) / (520 - 375))), 40px);
        line-height: 1.6;
    }

    .hero-info-item {
        flex-wrap: wrap;
        margin-bottom: 1.4rem;
    }

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

    .hero-info-label {
        padding: 1px 11px;
    }

    .hero-info-text {
        flex-basis: 100%;
    }
    .hero-deco--logo { --x: 67.7%; --y: 72.5%; --w: 31vw; }
    .hero-deco--01 { --x: 70%; --y: 102%; --w: 11.8vw; transform: scale(-1, 1); }
    .hero-deco--02 { --x: 23%; --y: 110%; --w: 18.8vw; }
    .hero-deco--03 {
    --x: clamp(25%, calc(25% + 5 * (100vw - 381px) / 139), 30%);
    --y: clamp(125%, calc(135% - 14 * (100vw - 381px) / 139), 139%);
    --w: 17vw;
    }
    .hero-deco--04 { 
        --x: 23%; 
        --y: clamp(745px, calc(745px + 175 * (100vw - 381px) / 139), 920px);
        --w: 16vw; 
    }
    .hero-deco--05 { 
        --x: 35%; 
        --y: clamp(803px, calc(803px + 180 * (100vw - 381px) / 139), 983px);
        --w: 16vw;
    }
    .hero-deco--06 { 
        --x: 65%; 
        --y: clamp(799px, calc(799px + 183 * (100vw - 381px) / 139), 982px);
        --w: 16.5vw; 
    }
    .hero-deco--07 { 
        --x: 54%; 
        --y: clamp(811px, calc(811px + 183 * (100vw - 381px) / 139), 994px);
        --w: 9.5vw;
    }
    .hero-deco--09 { 
        --x: 75.2%; 
        --y: clamp(125%, calc(139% - 12 * (100vw - 381px) / 139), 142%);
        --w: 21.5vw; 
    }
    .hero-deco--10 { 
        --x: 78.5%; 
        --y: 168.5%; 
        --w: 10.2vw; 
    }
    .hero-deco--11 { --x: 21.4%; --y: 153%; --w: 4.3vw; }
    .hero-deco--12 { --x: 81.5%; --y: 118%; --w: 21.5vw; --tx: -100%; }
    .hero-deco--13 { --x: 77%; --y: 193%; --w: 3.5vw; --tx: -100%;}
}

@media (max-width: 380px){

    .hero-info-bar{
        max-width: 90vw;
        padding-inline: 4rem 4rem;
        padding-block: 3rem 2rem;
    }
    .hero-deco--03 { --x: 25.5%; --y: 138%; --w: 17vw; }
    .hero-deco--04 { --x: 23%; --y: 202%; --w: 16vw; }
    .hero-deco--05 { --x: 35%; --y: 219%; --w: 16vw;}
    .hero-deco--06 { --x: 65%; --y: 219%; --w: 16.5vw; }
    .hero-deco--07 { --x: 54%; --y: 222.5%; --w: 9.5vw;}
    .hero-deco--10 { --x: 78.5%; --y: 172.5%; --w: 10.2vw; }
    .hero-deco--11 { --x: 21.4%; --y: 155%; --w: 4.3vw; }
    .hero-deco--13 { --x: 78%; --y: 209%; --w: 3.5vw; --tx: -100%;}
    
}

.has-base-background-color{
    background: transparent;
}

/* ===============================================
   DISCOVER SECTION
   =============================================== */
.discove{
    margin-top: 0 !important;
    margin-bottom: clamp(50px, calc(50px + (110 - 50) * ((100vw - 375px) / (1440 - 375))), 110px) !important;
    background: transparent !important;
}

.discove.has-base-background-color {
    background: transparent !important;
}

.discover-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: center;
    gap: clamp(25px, calc(25px + (30 - 25) * ((100vw - 375px) / (1440 - 375))), 30px);
    margin-top:0;
    .has-base-background-color {
    background-color: tr;
    }   
    padding-top: 0 !important;
}

body.front-page .discover-card :where(.wp-block-group),
body.home .discover-card :where(.wp-block-group){
  padding: 0;
}

.discover-card {
  position: relative;
  cursor: pointer;
  padding: 0 !important;
  margin: 0 !important; 
}

.discover-card .wp-block-button__link{
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
}

.discover-card .wp-block-button__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.discover-card :where(.discover-card-image, .discover-card-overlay, .discover-card-text){
  pointer-events: none;
}

.discover-card :where(.wp-block-button, .wp-block-button__link){
  pointer-events: auto;
}

.discover-card :where(.wp-block-button__link:focus-visible){
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

.discover-card .wp-block-button__link::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
}

.discover-card-image {
    position: relative;
    width: clamp(120px, 16.2vw, 233px);
    aspect-ratio: 233 / 403;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: clamp(12px, 1.4vw, 20px);
    background-color: var(--wp--preset--color--text-brown);
}

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

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

.discover-card-comingsoon {
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(13px, 1.1vw, 16px);
    letter-spacing: 0.25em;
    color: var(--wp--preset--color--white);
    text-transform: uppercase;
}

.discover-card-frame {
    position: absolute;
    inset: clamp(30px, 4.9vw, 70px) clamp(35px, 5.8vw, 83px);
    border: clamp(2px, 0.21vw, 3px) solid var(--wp--preset--color--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.discover-card-title {
    font-family: var(--wp--preset--font-family--serif);
    font-size: clamp(20px, 2.9vw, 42px);
    color: var(--wp--preset--color--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: clamp(30px, 4.9vw, 70px);
    left: clamp(35px, 5.8vw, 83px);
    transform: translateX(-100%);
    transform-origin: top right;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--wp--preset--font-family--serif);
    font-size: clamp(12px, 1vw, 14px);
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.9);
}

.discover-card-text {
    font-size: clamp(12px, 1vw, 14px);
    text-align: center;
    line-height: 1.5;
}

@media (max-width: 1200px){
    .discover-cards {
        padding: 0 clamp(20px, calc(15px + (35 - 20) * ((100vw - 375px) / (1200 - 375))), 35px);
    }
} 

/* ===============================================
   ABOUT SECTION
   =============================================== */

.about {
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
    position: relative;
}

.about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--wp--preset--color--primary);
    z-index: 0;
    pointer-events: none;
}

.about .section-heading-bg {
    color: var(--wp--preset--color--base);
}

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

.about-body {
    margin-top: clamp(15px, 2.2vw, 32px);
    width: 100%;
}

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

.about-map img {
    width: 100%;
    height: auto;
}

@media (max-width: 1200px){
    .about .l-two-col{
        padding-left: clamp(25px, calc(25px + (30 - 25) * ((100vw - 375px) / (1440 - 375))), 30px);
        padding-right: clamp(25px, calc(25px + (30 - 25) * ((100vw - 375px) / (1440 - 375))), 30px);
    }
}

@media (max-width: 781px) {
    .discover-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .about{
        padding-top: 0;
    }

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

@media (max-width: 520px) {

    .discover-card-image {
        margin-bottom: 10px;
    }

    .discover-card-comingsoon {
        font-size: clamp(13px, 3.5vw, 18px);
    }

    .discover-card-text {
        font-size: clamp(12px, 3.3vw, 17px);
        line-height: 1.63;
    }

    .about .l-two-col {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }

    .about .about-map {
        order: -1;
        width: 55%;
    }

    .about .about-body {
        order: 0;
    }

    .about .section-lead {
        text-align: center !important;
    }
}

/* ========================================
   メインナビゲーション(リストブロック)
   ======================================== */

.main-nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav-list li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav-list a {
    text-decoration: none;
    font-size: var(--font-serif-16);
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

header.site-header.wp-block-group {
    padding: clamp(15px, 2vw, 30px) clamp(17px, 5vw, 75px);
}

/* ハンバーガーメニューボタン */
.hero-menu-btn-wrapper {
    position: absolute;
    top: clamp(7px, 2vw, 25px);
    right: clamp(15px, 3vw, 30px);
    z-index: 10001;
    margin: 0;
    margin-right: -0.3rem !important;
    transition: top 0.3s ease, right 0.3s ease;
}

.is-scrolled .hero-menu-btn-wrapper {
    top: clamp(4px, 1vw, 6px);
    right: clamp(15px, 2vw, 15px);
}

.hero-menu-btn-wrapper .wp-block-button__link {
    background: transparent !important;
    border: none;
    color: transparent;
    padding: 0;
    font-size: 0;
    cursor: pointer;
    position: relative;
    /* 幅: 375pxで30px、1440pxで51px */
    width: clamp(30px, calc(28.03px + 1.97vw), 51px);
    /* 高さ: 375pxで22.5px、1440pxで38px */
    height: clamp(22.5px, calc(20.95px + 1.46vw), 38px);
    min-width: auto;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    border-radius: 0;
}

/* ハンバーガーメニューの線 */
.hero-menu-btn-wrapper .wp-block-button__link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    /* 線の太さ: 375pxで3.8px、1440pxで6.5px */
    height: clamp(3.8px, calc(2.85px + 0.254vw), 6.5px);
    background: var(--wp--preset--color--primary);
    box-shadow: 
        0 clamp(9.35px, calc(8.34px + 0.949vw), 15.75px) 0 0 var(--wp--preset--color--primary),
        0 clamp(18.7px, calc(16.68px + 1.899vw), 31.5px) 0 0 var(--wp--preset--color--primary);
    transition: all 0.3s ease;
}

.hero-menu-btn-wrapper .wp-block-button__link::after {
    content: "";
    position: absolute;
    left: 0;
    top: clamp(9.35px, calc(8.34px + 0.949vw), 15.75px);
    width: 100%;
    height: clamp(3.8px, calc(2.85px + 0.254vw), 6.5px);
    background: transparent;
    transform: rotate(0deg);
    transition: all 0.3s ease;
}

body.menu-open .hero-menu-btn-wrapper .wp-block-button__link::before {
    height: clamp(3.8px, calc(2.85px + 0.254vw), 6.5px) !important;
    top: 50% !important;
    transform: translateY(-50%) rotate(30deg) !important;
    box-shadow: none !important;
    background: var(--wp--preset--color--white) !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
}

body.menu-open .hero-menu-btn-wrapper .wp-block-button__link::after {
    height: clamp(3.8px, calc(2.85px + 0.254vw), 6.5px) !important;
    top: 50% !important;
    transform: translateY(-50%) rotate(-30deg) !important;
    background: var(--wp--preset--color--white) !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
}

@media (max-width: 872px) {
    .main-nav-list {
        display: none;
    }
}

/* ========================================
   ハンバーガードロワーメニュー（リストブロック）
   ======================================== */

.hamburger-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 370px;
    max-width: 90vw;
    height: 100vh;
    font-family: var(--wp--preset--font-family--serif);
    background: var(--wp--preset--color--base);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 21;
    transition: right 0.3s ease;
}

.hamburger-menu::before {
content: "";
    content: "";
    position: absolute;
    left: -27px;
    top: 0;
    bottom: 0;
    width: 40px;
    background-image: url(../img/common/header-deco.svg);
    background-repeat: repeat-y;
    background-size: 50px 58px;
    background-position: center top;
    -webkit-transform: translateZ(0);
    display: block;
    image-rendering: auto;
    pointer-events: none;
    z-index: 0;
}

.hamburger-menu.wp-block-group {
    padding-top:10% ;
    padding-bottom: 2rem;
    padding-left: 3rem ;
    padding-right: 3rem ;
    font-size: var(--font-serif-18);
}

body.menu-open .hamburger-menu {
    right: 0;
}

.hamburger-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.hamburger-nav-list li {
    list-style: none;
    margin: 0 0 .3rem 0;
}

.hamburger-menu hr {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.hamburger-nav-list a {
    display: block;
    text-decoration: none;
    padding: .15rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-sns-box {
    border-radius: .5rem;
    margin-top: .4rem;
    padding: 1rem 1.3rem .4rem;
    position: relative;
    z-index: 1;
}

body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 21;
    opacity: 1;
    transition: opacity 0.3s ease;
}

@media (max-width: 1024px){
    .main-nav-list{
        gap: 1rem;
    }
} 

@media (max-width: 768px) {
    .main-nav-list {
        display: none;
    }
    
    .hamburger-menu {
        width: 280px;
    }
    
    .hero-menu-btn-wrapper .wp-block-button__link {
        width: clamp(30px, 8vw, 42px);
        height: clamp(22px, 6vw, 31px);
    }
    .hamburger-menu.wp-block-group{
        padding-top: 23%;
    }

}

/* ========================================
   固定ページ一覧テンプレート用スタイル
   ======================================== */

/* ページヘッダー */
.page-header {
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

/* レスポンシブ：タブレット */
@media (max-width: 1024px) {
    .course-grid,
    .sightseeing-grid,
    .souvenir-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
}

/* レスポンシブ：スマホ */
@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0 1.5rem;
    }
    
    .course-grid,
    .sightseeing-grid,
    .souvenir-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .page-lead {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* ===============================================
   FOOTER
   =============================================== */
footer{
    margin-top: 0;
    position: relative;
    z-index: 20;
}
.footer {
  position: relative;
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
  padding: clamp(33px, 5vw, 72px) clamp(0px, 2.22vw, 32px)  clamp(38px, 5vw, 72px) ;
  z-index: 1;
}

.footer-inner {
  max-width: var(--wp--custom--spacing--inner-max-width);
  margin: 0 auto;
  font-size: var(--font-gothic-14);
}

.footer-inner.wp-block-group {
  padding: 0 !important;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(20px, 2vw, 29px);
  margin-bottom: clamp(25px, 3.5vw, 50px);
}

.footer-top.wp-block-group {
  padding: 0 !important;
}

.footer-nav {
  display: flex;
  gap: clamp(50px, 7vw, 101px);
}

.footer-nav-col {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.56vw, 8px);
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-list li {
  margin: 0 0 clamp(6px, 0.56vw, 8px) 0;
}

.footer-nav-list a,
.footer-nav-col a {
  color: var(--wp--preset--color--white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-nav-list a:hover,
.footer-nav-col a:hover {
  opacity: 0.7;
}

.footer-download-wrapper.wp-block-buttons {
  margin: 0;
  justify-content: center;
  width: 100%;
  max-width: 330px;
}

.footer-divider {
  height: 2px;
  background-color: rgba(255, 255, 255, 0.7);
  margin: clamp(40px, 2.5vw, 36px) 0;
  border: none;
}

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

.footer-info.wp-block-group {
  padding: 0 !important;
}

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

.footer-org.wp-block-group {
  padding: 0 !important;
}

.footer-org-name,
.footer-org-logo {
  max-width: clamp(240px, 24vw, 346px);
  margin: 0 auto clamp(10px, 1vw, 14px);
}

.footer-org-name img,
.footer-org-logo img {
  width: 100%;
  height: auto;
}

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

.footer-org-address {
  font-size: clamp(13px, 1.2vw, 15px);
  margin-bottom: clamp(8px, 1.2vw, 12px) !important;
}

.footer-org-contact {
  font-size: clamp(12px, 1.1vw, 14px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(16px, 1.39vw, 20px);
}

.footer-copy {
  font-size: clamp(10px, 0.9vw, 13px);
  margin-top: clamp(25px, 3.5vw, 35px) !important;
}

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

@media (max-width: 781px) {
  .footer-inner {
    padding-inline: 20px;
  }

    .footer-nav.wp-block-columns {
    grid-template-columns: repeat(2, 1fr);
    flex-wrap: wrap !important;
  }
  .footer-nav.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column{
    flex-basis: auto;
    margin-bottom: 1rem;
  }

  .footer-copy {
    font-size: clamp(10px, 1.3vw, 10px);
  }
}

@media (max-width: 782px) {
  .footer-nav-list li {
    margin-bottom: var(--space-xs);
  }
}
/* =======================
BACK TO TOP BUTTON
======================= */
.page-top-btn {
  position: absolute;
  right: 24px;
  top: -72px;
  width: 2.8rem;
  height: 2.8rem;
  min-width: 20px;
  min-height: 20px;

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

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

.page-top-btn::before {
  content: "";
  display: block;
  width: .8rem;
  height: .8rem;
  color: var(--wp--preset--color--black);
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(135deg);
  position: relative;
    top: 3px;
    left: 11px;
}

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

@media (max-width: 781px) {
  .page-top-btn {
    top: -5
    65px;
    right: 16px;
    min-width: 40px;
    min-height: 40px;
  }
  .page-top-btn::before{
    width: 10px;
    height: 8px;
    top: 2px;
    left: 9px;
  }
}