@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400..700&display=swap');

:root {
    /* ==========================================
       CONTAINER SETTINGS
       ========================================== */
    
    --container-padding-x: clamp(60px, 4vw, 80px);
    --container-width-mobile: 90%;
  
    /* ==========================================
       COLOR PALETTE
       ========================================== */
    
    /* Primary Colors */
    --color-primary: #437134;
    --color-secondary: #000;
    --color-text: #000;
    
    /* Background Colors */
    --color-background: #E7E6DA;
    --color-background2: #404A3B;
        
    /* Border Colors with Opacity */
    --color-primary-border: rgba(67, 113, 52, 0.5);
    --color-ivory-border: rgba(231, 230, 218, 0.5);
    --color-charcoal-border: rgba(64, 74, 59, 0.5);
    
    /* Gradient */
    --gradient-menu: linear-gradient(270deg, #345B2C 0%, #3E6E34 46.86%);
  
    /* ==========================================
       BORDER RADIUS
       ========================================== */
    
    --radius-sm: clamp(2px, 0.214rem, 3px);
    --radius-md: clamp(3px, 0.357rem, 5px);
  
    /* ==========================================
       TYPOGRAPHY - FONTS
       ========================================== */
    
    --font-latin: 'Libre Baskerville', serif;
    --font-japanese-gothic:'MFW-HiraKakuProN-W3', sans-serif;
    --font-japanese-mincho: 'MFW-PA1MinchoStdN-Medium', serif;
    
    /* ==========================================
       TYPOGRAPHY - UNIFIED FONT SIZES
       欧文・和文統一サイズ
       ========================================== */
    
    --font-size-xl: clamp(28px, 2.441rem, 34px);      /* 大見出し */
    --font-size-l: clamp(22px, 1.563rem, 28px);       /* 中見出し */
    --font-size-lm: clamp(20px, 1.63rem, 21px);       /* 中小見出し */
    --font-size-m: clamp(18px, 1.25rem, 18px);        /* 小見出し */
    --font-size-ms: clamp(16px, 1.15rem, 16px);       /* 極小見出し */
    --font-size-base: clamp(14px, 1rem, 14px);    /* 本文 */
    --font-size-s: clamp(13px, 0.857rem, 13px);       /* 小テキスト */
    --font-size-xs: clamp(12px, 0.8125rem, 12px);     /* 極小テキスト */
    --font-size-2xs: clamp(11px, 0.757rem, 11px);     /* 最小テキスト */
    --font-size-3xs: clamp(10px, 0.757rem, 10px);     /* 固定最小 */
}

/* PC（769px以上）では電話番号リンクを無効化 */
@media (min-width: 769px) {
    a[href^="tel:"] {
        pointer-events: none;
        cursor: default;
        color: inherit;
        text-decoration: none;
    }
}

/* ==========================================
   BASE STYLES
   ========================================== */
  
body {
    font-family: var(--font-japanese-gothic);
    font-size: var(--font-size-base);
    line-height: 1.75;
    letter-spacing: 0.01em;
    color: var(--color-secondary);
    background-color: var(--color-background);
}

a {
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
}

.wp-block-image.size-full img {
    width: 100%;
    max-width: inherit;
    border-radius: var(--radius-sm);
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

dt {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

/* ==========================================
   PARALLAX STYLES
   ========================================== */

/* パララックス用の画像ラッパー */
.parallax-item {
    position: relative;
    overflow: hidden;
}

.parallax-image-wrapper {
    position: relative;
    width: 100%;
    height: 130%;
    top: -15%;
    will-change: transform;
    transition: none;
}

.parallax-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* メニュー画像のパララックス */
.menu-image-item.parallax-item {
    position: relative;
    overflow: hidden;
}

.menu-image-item.parallax-item .parallax-image-wrapper {
    height: 130%;
    top: -15%;
}

/* アクセス画像のパララックス */
.access-info-image.parallax-item {
    overflow: hidden;
}

.access-info-image.parallax-item .parallax-image-wrapper {
    height: 130%;
    top: -15%;
}

/* About内画像のパララックス */
.railway-image.parallax-item {
    position: relative;
    overflow: hidden;
}

.railway-image.parallax-item .parallax-image-wrapper {
    height: 130%;
    top: -15%;
}

/* Aboutセクション背景のパララックス */
.railway-section.parallax-section {
    background-attachment: scroll;
}

/* モバイルではパララックスを軽くする */
@media (max-width: 768px) {
    .parallax-image-wrapper {
        height: 120% !important;
        top: -10% !important;
    }
    
    .railway-section.parallax-section {
        background-size: cover;
    }
}

/* ==========================================
   CONTAINER UTILITY CLASSES
   ========================================== */

.container {
    width: 100%;
    padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x);
}

@media (max-width: 900px) {
    .container {
        width: var(--container-width-mobile);
        padding-left: 0;
        padding-right: 0;
        margin: 0 auto;
    }
}

/* ==========================================
   LAYOUT
   ========================================== */

.wrapper {
    display: flex;
    justify-content: space-between;
}

.post-header {
    width: 32%;
    position: sticky;
    top: 380px;
    padding-bottom: 210px;
    align-self: flex-start;
    max-height: 100vh;
    color: var(--color-text);
}

.post-content {
    width: 57%;
}

.post-content figure img{
    width:100%;
    height: auto;
}

@media (max-width: 900px) {
    .wrapper {
        display: block;
    }
    .post-header {
        width: 100%;
        top: 0;
        padding: 0;
        max-height: inherit;
        position: static;
        margin-bottom: 30px;
    }

    .post-content {
        width: 100%;
    }
}

/* ==========================================
   POST META & CATEGORIES
   ========================================== */

.post-meta {
    display: flex;
    align-items: center;
    gap: 1em;
    font-size: var(--font-size-2xs);
    color: var(--color-background2);
    margin: 25px 0 10px 0;
    position: relative;
    z-index: 2;
}

.topics-grid .post-meta,
.topics-list .post-meta {
    justify-content: space-between;
    margin:16px 0 10px 0;
    gap:5px 0;
    flex-wrap: wrap;
}

.post-category {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1em;
}

.cat-item {
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-charcoal-border);
    font-family: var(--font-latin);
    padding: 2px 5px;
    text-transform: uppercase;
    font-size: var(--font-size-3xs);
}

.topics-grid .cat-item,
.topics-list .cat-item{
    color: var(--color-primary);
    border-color: var(--color-primary);
}

@media (max-width: 900px) {
    .post-meta {
        margin: 25px 0 10px 0;
    }
    .cat-item {
        color: var(--color-primary);
        border-color: var(--color-primary);
    }
}

@media (min-width: 769px) {

    .topic-card .post-thumbnail,
    .topic-item .post-thumbnail{
    mask-image: radial-gradient(#fff 100%, #fff 100%);
    border-radius: var(--radius-sm);
    }

 .topic-card .post-thumbnail a img,
.topic-item .post-thumbnail a img {
    /* filter: sepia(1); */
    transition: filter 0.4s ease, transform 0.4s ease;
}

.topic-card .post-thumbnail a:hover img,
.topic-item .post-thumbnail a:hover img {
    /* filter: sepia(0); */
    transform: scale(1.02);
}
}

.topic-sticky figure:before,.pickup figure:before {
    content: 'PICK UP';
    position: absolute;
    right: -60px;
    top: -20px;
    background: var(--color-primary);
    z-index: 1;
    transform: rotate(30deg);
    width: 180px;
    padding-top: 30px;
    text-align: center;
    color: var(--color-background);
    font-size: var(--font-size-xs);
    font-family: var(--font-latin);
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s ease-in all;
}
/* .topic-sticky figure:after,.pickup figure:after {
    content: '';
    position: absolute;
    left: -15px;
    bottom: -20px;
    background: var(--color-background);
    z-index: 1;
    transform: rotate(30deg);
    width: 85px;
    height: 40px;
    transition: .3s ease-in all;
} */

@media screen and (min-width:640.2px) {
.topic-sticky figure:hover:before,.pickup figure:hover:before {
    right: -100px;
    top: -65px;
    opacity: 0;
}
/* .topic-sticky figure:hover:after,.pickup figure:hover:after {        
    left: -30px;
    bottom: -50px;
    opacity: 0;
} */
}

.pickup figure {
    position: relative;
    mask-image: radial-gradient(#fff 100%, #fff 100%);
}
.pickup figure .post-meta {
    position: relative;
    z-index: 2;
}

/* ==========================================
   BORDER RADIUS UTILITY CLASSES
   ========================================== */

.rounded-sm {
    border-radius: var(--radius-sm);
}

.rounded-md {
    border-radius: var(--radius-md);
}

/* ==========================================
   TYPOGRAPHY UTILITY CLASSES
   統一命名規則: .text-{size}-{font-type}
   ========================================== */

/* XLサイズ (大見出し) */
.text-xl-latin {
    font-family: var(--font-latin);
    font-size: var(--font-size-xl);
    text-transform: uppercase;
    color: var(--color-primary);
}

/* Lサイズ (中見出し) */
.text-l-latin {
    font-family: var(--font-latin);
    font-size: var(--font-size-l);
    text-transform: uppercase;
    color: var(--color-primary);
}

.text-l-mincho {
    font-family: var(--font-japanese-mincho);
    font-size: var(--font-size-l);
}

/* LMサイズ (中小見出し) */
.text-lm-latin {
    font-family: var(--font-latin);
    font-size: var(--font-size-lm);
    text-transform: uppercase;
}

/* Mサイズ (小見出し) */
.text-m-mincho {
    font-family: var(--font-japanese-mincho);
    font-size: var(--font-size-m);
}

/* MSサイズ (極小見出し) */
.text-ms-mincho {
    font-family: var(--font-japanese-mincho);
    font-size: var(--font-size-ms);
}

/* BASEサイズ (本文) */
.text-base-gothic {
    font-family: var(--font-japanese-gothic);
    font-size: var(--font-size-base);
}

/* Sサイズ (小テキスト) */
.text-s-gothic {
    font-family: var(--font-japanese-gothic);
    font-size: var(--font-size-s);
}

.text-s-latin {
    font-family: var(--font-latin);
    font-size: var(--font-size-s);
    text-transform: uppercase;
}

/* XSサイズ (極小テキスト) */
.text-xs-gothic {
    font-family: var(--font-japanese-gothic);
    font-size: var(--font-size-xs);
}

.text-xs-latin {
    font-family: var(--font-latin);
    font-size: var(--font-size-2xs);
    text-transform: uppercase;
}

/* 2XSサイズ (最小テキスト) */
.text-2xs-gothic {
    font-family: var(--font-japanese-gothic);
    font-size: var(--font-size-2xs);
}

.text-2xs-latin {
    font-family: var(--font-latin);
    font-size: var(--font-size-2xs);
    text-transform: uppercase;
}

/* 3XSサイズ (固定最小) */
.text-3xs-gothic {
    font-family: var(--font-japanese-gothic);
    font-size: var(--font-size-3xs);
}

.text-3xs-latin {
    font-family: var(--font-latin);
    font-size: var(--font-size-3xs);
    text-transform: uppercase;
}
/* ==========================================
   TOP BANNER - HEADER - NAVIGATION
   （前のファイルから続き）
   ========================================== */

.top-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background-color: var(--color-primary);
    color: var(--color-background);
    padding: 5px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

@media (max-width: 810px) {
    .top-banner {
        padding: 10px 20px 10px 20px;
        align-items: flex-end;
    }
}

.top-banner.hidden {
    transform: translateY(-100%);
}

.top-banner-content {
    display: flex;
    align-items: center;
    gap: 1em;
    font-size: var(--font-size-s);
    line-height: 1.4;
}

@media (max-width: 900px) {
    .top-banner-content {
        justify-content: space-between;
    }
}

.top-banner-content span {
    display: block;
    width: fit-content;
    flex-shrink: 0;
}

.top-banner-content a {
    text-decoration: underline;
}

@media (min-width: 769px) {
.top-banner-content a:hover {
    text-decoration: none;
}
}

.top-banner-close {
    background: none;
    border: none;
    font-size: var(--font-size-m);
    position: relative;
    top: -1px;
    left: 1em;
    width: 1.1em;
    cursor: pointer;
}

@media (max-width: 900px) {
    .top-banner-close {
        left: 0;
    }
}

/* HEADER */
#hd_logo {
    width: 138px;
    height: 40px;
}
#hd_logo path {
        fill: var(--color-primary);
}
.home #hd_logo path {
        fill: #fff;
}
.home.scrolled #hd_logo path {
        fill: var(--color-primary);
}

header#mainHeader {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: top 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(163, 159, 137, 0.20), 0 6px 10px 0 rgba(205, 202, 187, 0.30);
    background: rgba(231, 230, 218, 0.8);
}

header#mainHeader::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    /* backdrop-filter: blur(10px); */
}

body.home header#mainHeader {
    background-color: transparent;
    box-shadow: none;
}

body.scrolled.home  header#mainHeader{
    box-shadow: 0 1px 3px 0 rgba(163, 159, 137, 0.20), 0 6px 10px 0 rgba(205, 202, 187, 0.30);
    background: rgba(231, 230, 218, 0.8);
}


header#mainHeader.with-banner {
    top: 34px;
}

@media (max-width: 810px) {

    body.home header#mainHeader {
        top: 12px;
    }
    body.home header#mainHeader.with-banner {
        top: 80px;
    }

    body.home header#mainHeader::before{
        display: none;
    }
    body.scrolled.home header#mainHeader{
    top:0;
    }
    body.scrolled.home header#mainHeader.with-banner {
        top: 78px;
    }

}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px var(--container-padding-x);
}

.home nav {
    width:89%;
    margin:0 auto;
    padding: 16px 0;
}

@media (max-width: 1080px) {
    nav,
    .home nav{
        width:100%;
        padding-right: 15px;
        padding-left: 10px;
    }
}



.nav-link {
    font-family: var(--font-latin);
    text-transform: uppercase;
    font-weight: 700;
    font-size: var(--font-size-s);
    text-decoration: none;
    transition: opacity 0.3s;
    color: var(--color-primary);
}

@media (min-width: 769px) {
.nav-link:hover {
    opacity: 0.7;
}
}

body.home .nav-link,
body.home .language-toggle,
body.home .btn-reserve {
    color: var(--color-background);
}
body.home.scrolled .top-language .language-toggle,
body.home.scrolled header .nav-link{
    color: var(--color-primary);
}

.btn-reserve {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-japanese-mincho);
    font-size: var(--font-size-xs);
    gap: 8px;
    background-color: var(--color-background2);
    color: var(--color-background);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 45px 10px 15px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: opacity 0.5s;
    position: relative;
}

body.home nav .btn-reserve{
    background:transparent;
    transition: 0.5s;
}

body.home.scrolled nav .btn-reserve{
    background-color: var(--color-background2);
}

#topics .btn-reserve,
#access .btn-reserve{
    display: inline-flex;
    padding: 8px 45px 9px 15px;
    margin-bottom: 40px;
    font-size: var(--font-size-s);
    transition: all ease-in .2s;
}


@media (max-width: 900px) {
    #topics .btn-reserve{
        width: fit-content;
        margin-top:30px;
    }
    #topics .topics-header .btn-reserve{
        display: none;
    }

#mainHeader .btn-reserve {
        position: relative;
        bottom: inherit;
        right: inherit;
        transition: none;
    }

.scrolled #mainHeader .btn-reserve{
        border-radius: 0;
    }

#mainHeader .btn-reserve.hide-button {
            opacity: 1;
            transform: none;
            pointer-events: inherit;
        }
#mainHeader .btn-reserve span{
            display: none;
        }

}

@media (max-width: 810px) {
#mainHeader .btn-reserve {
        right: 70px;
        position: absolute;
        top: 16px;
    }
.scrolled #mainHeader .btn-reserve{
        border-radius: 0;
    }
}

.btn-reserve img {
    width: 1.2em;
}

.btn-reserve::after {
    content: '';
    background: url(img/btn_arrow.svg) no-repeat;
    background-size: 1.4em 1.4em;
    width: 1.4em;
    height: 1.4em;
    position: absolute;
    right: 15px;
    top: 13px;
}

@media (min-width: 769px) {
body.home nav .btn-reserve:hover,
.btn-reserve:hover {
    background-color: var(--color-primary);
}
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 34px;
}

@media (max-width: 810px) {
    .nav-menu {
        display: none;
    }
}

/* HAMBURGER & MOBILE MENU */
.hamburger {
    display: block;
    background: none;
    border: none;
    padding: 8px;
    position: relative;
    width: 30px;
    height: 24px;
    cursor: pointer;
}

@media (min-width: 811px) {
    .hamburger {
        display: none;
    }
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--color-primary);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-close .hamburger-line,
body.home .hamburger-line {
    background-color: var(--color-background);
}

body.home.scrolled .hamburger-line {
    background-color: var(--color-primary);
}

body.home.scrolled .mobile-menu-close .hamburger-line{
    background-color: var(--color-background);
}

.mobile-menu-overlay .hamburger-line:nth-child(1),
.hamburger-line:nth-child(1) {
    top: 4px;
}

.mobile-menu-overlay .hamburger-line:nth-child(2),
.hamburger-line:nth-child(2) {
    top: 11px;
}

.mobile-menu-overlay .hamburger-line:nth-child(3),
.hamburger-line:nth-child(3) {
    top: 18px;
}

.active .hamburger-line:nth-child(1){
    top: 11px;
    transform: rotate(26deg);
}

.active .hamburger-line:nth-child(2){
    top: 11px;
    transform: rotate(-26deg);
}

.active .hamburger-line:nth-child(3){
    opacity: 0;
}



.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;    
    background-color: rgba(64, 74, 59, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    z-index: 9999;
}

.mobile-menu-content {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    min-width:280px;
    background-color: var(--color-primary);
    padding: 150px 25px 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 100px;
    right: 15px;
    background: none;
    border: none;
    color: var(--color-background);
    font-size: 30px;
    width: 35px;
    height: 35px;
    z-index: 999;
    cursor: pointer;
}

.page-id-2 .mobile-menu-close {
    top: 105px;
}

.no-banner .mobile-menu-close {
    top: 25px;
    right: 16px;
}

.page-id-2 .no-banner .mobile-menu-close {
    top: 35px;
}

.page-id-2.scrolled .no-banner .mobile-menu-close {
    top: 25px;
}


.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.mobile-nav-links a {
    color: var(--color-ivory-border);
    font-family: var(--font-latin);
    font-size: var(--font-size-s);
    text-transform: uppercase;
    text-decoration: none;
}

.mobile-sns-title {
    color: var(--color-ivory-border);
    font-size: var(--font-size-s);
    margin-bottom: 10px;
    font-family: var(--font-latin);
}

.mobile-sns-links {
    display: flex;
    gap: 15px;
}

.mobile-sns-links svg {
    width: 24px;
    height: 24px;
}

/* ==========================================
   MAIN
   ========================================== */

main{
    margin-top: 80px;
}

main.with-banner {
    margin-top: 120px;
}

.single main {
    margin-top: 0;
}

.single main.with-banner {
    margin-top: 38px;
}

.home main{
    margin-top: -80px;
}

@media (max-width: 900px) {

    main,
    .single main {
        margin-top: 95px;
    }

    main.with-banner,
    .single main.with-banner {
        margin-top: 140px;
    }

    .home main.with-banner{
        margin-top: -80px;
    }

}

/* POST LIST */
.topics-list-area{
    margin-bottom: 120px;
}

.topics-list{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap:80px 24px;
}

@media (max-width: 900px) {
    .topics-list{
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .topics-list{
        grid-template-columns: 1fr 1fr;
        gap:40px 16px;
    }
}

.topics-header{
    margin-bottom: 40px;
}

.topics-header p{
    color: var(--color-primary);
    position: relative;
    z-index: 2;
}

.pagination{
    margin-top:70px;
}

.page-numbers{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    color: var(--color-background2);
    gap:1em;
}

/* POST CONTENT */
.post-content {
    padding: 80px 0 120px 0;
    min-height: 50vh;
}

@media (max-width: 900px) {
    .post-content {
        padding: 30px 0;
    }
}
.modal-body h2,
.modal-body p,
.modal-body figure,
.modal-body ul,
.modal-body ol,
.post-content p,
.post-content figure,
.post-content ul,
.post-content ol {
    margin-bottom: 2em;
}

.modal-body ul li,
.post-content ul li {
    list-style-type: disc;
    margin-left: 1.2em;
}

.modal-body ol li,
.post-content ol li {
    list-style: decimal;
    margin-left: 1.2em;
}

.modal-body p a,
.post-content p a {
    color: var(--color-primary);
    text-decoration: underline;
}
@media (min-width: 769px) {
  .modal-body p a:hover,
.post-content p a:hover {
    text-decoration: none;
}
}

.post-content h2{
    font-family: var(--font-japanese-mincho);
    font-size: var(--font-size-lm);
}

.post-content h3{
    font-family: var(--font-japanese-mincho);
    font-size: var(--font-size-m);
}

.post-content p.back {
    text-align: center;
}

.post-content p.back a {
    color: var(--color-secondary);
}

.post-content img {
    border-radius: var(--radius-sm);
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.post-date {
    color: var(--color-background2);
}

hr {
    border:none;
    border-bottom: 1px solid var(--color-background2);
    margin: 80px 0 30px 0;
}

/* RESERVATION SECTION */
.reservation-section {
    position: relative;
    padding: 80px 0;
    background-image: url('img/reserve.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    margin: auto;
}

/* 予約セクションのパララックス背景 */
/* @media (min-width: 769px) {
    .reservation-section {
        will-change: background-position;
    }
} */

@media (max-width: 900px) {
    .reservation-section {
        background-image: url('img/reserve-m.jpg');
    }
}

.reservation-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-background);
}

.reservation-content .text-lm-latin {
    margin-bottom: 12px;
}

.reservation-text {
    margin-bottom: 30px;
}

.reservation-buttons {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 900px) {
    .reservation-buttons {
        max-width: inherit;
    }
}

.reservation-buttons li:first-of-type {
    margin-bottom: 30px;
}

.reservation-buttons li:first-of-type a {
    background: rgba(230, 228, 216, 0.20);
    backdrop-filter: blur(6px);
    color: var(--color-background);
    padding: 48px 24px;
    border-radius: var(--radius-md);
    transition: background-color 0.3s;
    display: block;
    position: relative;
    font-family: var(--font-japanese-mincho);
    text-decoration: none;
}

.reservation-buttons li:first-of-type a::after {
    content: '';
    background: url(img/btn_arrow.svg) no-repeat;
    background-size: 1.4em 1.4em;
    width: 1.4em;
    height: 1.4em;
    position: absolute;
    right: 24px;
    top: 45%;
}

@media (min-width: 769px) {
.reservation-buttons li:first-of-type a:hover {
    background-color: rgba(64, 74, 59, 0.9);
}
}

.reservation-tel {
    font-family: var(--font-latin);
    font-size: var(--font-size-lm);
    display: block;
}

.reservation-hours {
    font-family: var(--font-japanese-gothic);
    font-size: var(--font-size-xs);
    display: block;
}

@media (max-width: 900px) {
    .reservation-buttons li:first-of-type {
        margin-bottom: 15px;
    }
    .reservation-buttons li:last-of-type a {
        background: rgba(230, 228, 216, 0.20);
        backdrop-filter: blur(6px);
        color: var(--color-background);
        padding: 38px 24px;
        border-radius: var(--radius-md);
        transition: background-color 0.3s;
        display: block;
        position: relative;
        font-family: var(--font-japanese-mincho);
        text-decoration: none;
    }
    
    .reservation-buttons li:last-of-type a::after {
        content: '';
        background: url(img/btn_arrow.svg) no-repeat;
        background-size: 1.4em 1.4em;
        width: 1.4em;
        height: 1.4em;
        position: absolute;
        right: 24px;
        top: 45%;
    }

    .reservation-tel {
        font-size: var(--font-size-ms);
    }
}

/* FOOTER */
#footer {
    background-color: var(--color-background2);
    color: var(--color-background);
    padding-top: 54px;
    padding-bottom: 27px;
}

#footer .container {
    display: flex;
    justify-content: space-between;
}

.footer-logo-section {
    order: 1;
}

.footer-nav-section {
    order: 2;
}

.footer-related-section {
    order: 3;
    width: 290px;
}

@media (max-width: 900px) {
    #footer .container {
        flex-direction: column;
    }
    .footer-nav-section {
        order: 1;
    }

    .footer-related-section {
        order: 2;
        /* margin: 0 auto 64px auto; */
        width: 100%;
    }

    .footer-logo-section {
        order: 3;
    }
}

.footer-logo-section {
    text-align: center;
}

.footer-logo {
    margin-bottom: 12px;
}

.footer-copyright {
    font-size: var(--font-size-2xs);
    color: var(--color-ivory-border);
}

.footer-nav-section {
    display: flex;
    gap: 6.5em;
}

@media (max-width: 900px) {
    .footer-nav-section {
        flex-direction: column;
        gap: 20px;
    }

    .footer-logo img {
        width: 110px;
    }

    .footer-nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 1em;
    }
}

.footer-nav-links li {
    margin-bottom: 10px;
}

.footer-nav-links li a {
    color: var(--color-background);
    font-family: var(--font-latin);
    transition: opacity 0.3s;
    text-decoration: none;
}

@media (min-width: 769px) {
.footer-nav-links a:hover {
    opacity: 0.7;
}
}

@media (max-width: 900px) {
    .footer-sns-section {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 34px;
        gap: 1em;
    }
}

.footer-sns-title {
    margin-bottom: 14px;
    color: var(--color-ivory-border);
    font-weight: 400;
}

.footer-sns-section dd {
    margin-bottom: 15px;
}

.footer-sns-section dd a {
    display: flex;
    align-items: center;
    gap: 1em;
    color: var(--color-background);
    transition: opacity 0.3s;
    font-family: var(--font-latin);
    font-size: var(--font-size-3xs);
    text-transform: uppercase;
    text-decoration: underline;
}

@media (min-width: 769px) {
.footer-sns-section dd a:hover {
    opacity: 0.7;
    text-decoration: none;
}
}

.footer-sns-section dd svg {
    width: 20px;
    height: 20px;
}

.footer-related-title {
    font-family: var(--font-japanese-mincho);
    margin-bottom: 10px;
}

.footer-related-image {
    margin-bottom: 10px;
}

.footer-related-image img {
    border-radius: var(--radius-md);
    transition: 0.5s;
}

@media (min-width: 769px) {
.footer-related-image a img:hover {
    transform: translateY(5px);
}
}

@media (max-width: 900px) {
    .footer-related-image img {
        width: 100%;
    }
}

.footer-related-text {
    font-size: var(--font-size-2xs);
    color: var(--color-ivory-border);
}

.bt-link {
    display: none;
}

@media (max-width: 900px) {
    .bt-link {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 40px;
        line-height: 40px;
        background:#fff;
        text-align: center;
        font-size: var(--font-size-2xs);
        display: block;
        z-index: 999;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.is-active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 600px;
    max-height: 90vh;
    z-index: 1;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 90%;
        max-height: 90vh;
    }
}

.modal.is-active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-body {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-sm);
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100%;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.modal-body img {
    max-width: 100%;
    height: auto;
    display: block;
}

.modal-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: var(--color-primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
    transition: background 0.2s ease;
    color: var(--color-background);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-close:hover {
    background: #f0f0f0;
    color: var(--color-primary);
}

.modal.is-closing {
    opacity: 0;
}

.modal.is-closing .modal-content {
    transform: scale(0.9);
    opacity: 0;
}

/* スクロールアニメーション用クラス */
.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .scroll-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

/* LANGUAGE TOGGLE */

.language-wrapper{
    position: relative;
}

#mobileMenu .language-wrapper{
    top:20px;
}

.top-language.language-wrapper {
    z-index: 3;
    position: absolute;
    top: 100px;
    left:var(--container-padding-x);
}

.page-id-2 .top-language.language-wrapper {
    left:6%;
}

.top-language.language-wrapper.with-banner{
    top: 140px;
}
.page-id-2 .top-language.language-wrapper.with-banner{
    top: 120px;
}


@media (max-width: 900px) {
    .top-language.language-wrapper,
    .page-id-2 .top-language.language-wrapper{
        left:20px;
     }

    .page-id-2.scrolled .top-language.language-wrapper{
        top: 23px;
    }

    .top-language.language-wrapper.with-banner,
    .page-id-2 .top-language.language-wrapper.with-banner{
        top: 160px;
    }

}

@media (max-width: 640px) {
    .top-language.language-wrapper,
    .page-id-2 .top-language.language-wrapper{
        top: 90px;
    }

}

.language-toggle {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-size: var(--font-size-xs);
    transition: color 0.3s;
    color: var(--color-primary);
    font-family: var(--font-latin);
    padding-left:1.5em;
}

#mobileMenu .language-toggle,
.page-id-2 .language-toggle{
    color: var(--color-ivory-border);
} 

.language-toggle::before{
    content: '';
    position: absolute;
    top: 0.7em;
    left:0;
    bottom: 0;
    display: block;
    width: 0.8em;
    height: 0.5em;
    clip-path: polygon(100% 13%, 50% 100%, 0 13%, 8% 0, 50% 73%, 92% 0);
    transition: transform 0.5s;
    background: var(--color-primary);
}

#mobileMenu .language-toggle::before,
.page-id-2 .language-toggle::before{
    background: var(--color-background);
}

.language-toggle.active::before{
    transform: rotate(180deg);
}

body.scrolled .top-language .language-toggle {
    color: var(--color-primary);
}

body.scrolled .language-toggle::before{
    background-color: var(--color-primary);
}

.language-dropdown {
    font-family: var(--font-latin);
    font-size: var(--font-size-xs);
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-background);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    margin-top: 8px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.language-toggle.active + .language-dropdown {
    max-height: 200px;
    opacity: 1;
}

#mobileMenu .language-dropdown {
    display: flex;
    flex-wrap: wrap;
}

.language-link {
    display: block;
    padding: 10px 16px;
    background: var(--color-background);
    color: var(--color-text);
    text-decoration: none;
    transition: background-color 0.3s;
    white-space: nowrap;
}
@media (min-width: 769px) {
.language-link:hover {
    background-color: rgba(67, 113, 52, 0.1);
}
}

/* ファイルは次のパートへ続きます（Hero Slideshow以降）*/
/* ==========================================
   HERO SLIDESHOW
   （前のファイルから続き）
   ========================================== */
   .hero-slideshow {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

.hero-slide {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-slide-wrapper {
    display: flex;
    height: 100vh;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 0;
    will-change: transform;
    margin: 0;
    padding: 0;
    list-style: none;
    width: max-content;
    transform: translate3d(-170%, 0, 0);
    
}

.slide {
    flex-shrink: 0;
    width: 85vw;
    height: 100vh;
    position: relative;
    clip-path: url(#waveClip);
    margin-right: -1px;
}

.img-parallax-container {
    position: absolute;
    top: 0;
    left: -30%;
    width: 160%;
    height: 100%;
    will-change: transform;
}

.img-parallax-container picture,
.img-parallax-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wave-line-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 20;
}

svg.defs-svg {
    position: absolute;
    width: 0;
    height: 0;
}

@media (max-width: 900px) {
    .hero-slide-wrapper {
        display: block;
        width: 100%;
        height: 100%;
        left: 0;
        transform: none;
        position: relative;
    }
    
    .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        margin-right: 0;
        clip-path: inset(0 0 0 100%);
        visibility: hidden;
    }

    .slide:first-child {
        clip-path: inset(0 0 0 0%);
        visibility: visible;
        z-index: 1;
    }

    .wave-line-svg {
        display: none;
    }
    
    .img-parallax-container {
        left: -15%;
        width: 130%;
    }
}

.hero-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    pointer-events: none;
}

.hero-logo-decorative:first-of-type{
    position: absolute;
    top:50vh;
    left:5.5%;
    font-size: var(--font-size-s);
    color: var(--color-background);
    text-transform: uppercase;
}

.hero-logo-decorative:last-of-type{
    position: absolute;
    top:50vh;
   right:5.5%;
    font-size: var(--font-size-s);
    color: var(--color-background);
    text-transform: uppercase;
}

.hero-brand-name{
    animation: blurFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    filter: blur(15px);
    opacity: 0;
}

@keyframes blurFadeIn {
    0% {
      filter: blur(15px);
      opacity: 0;
      transform: scale(0.95);
    }
    100% {
      filter: blur(0);
      opacity: 1;
      transform: scale(1);
    }
  }

.hero-brand-name img {
    width: 180px;
    height: auto;
}

@media (max-width: 900px) {
    .hero-logo-decorative:first-of-type{
        left:5%;
    }
    
    .hero-logo-decorative:last-of-type{
       right:5%;
    }
    .hero-brand-name img {
        width: 150px;
    }
}

.hero-banner {
    position: absolute;
    bottom: 40px;
    left: 5.5%;
    z-index: 10;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    width:100%;
    max-width: 430px;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
}

/* .hero-banner:hover {
    transform: translateY(-3px);
} */

@media (max-width: 900px) {
    .hero-banner {
        left: 50%;
        transform: translateX(-50%);
        bottom: 110px;
        width: 90%;
    }
}

.hero-banner-image {
    width: 105px;
    border-radius: 4px 0 0 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-banner-image img {
   aspect-ratio: 1/1;
    object-fit: cover;
}

.hero-banner-content {
    flex: 1;
    padding:8px 15px;
    height: 105px;
    border-radius: 0 4px 4px 0;
    background-color: var(--color-background);
}


.hero-banner-label {
    font-family: var(--font-latin);
    font-size: var(--font-size-s);
    color: var(--color-background2);
    margin-bottom: 10px;
    border-bottom: 1px solid var(--color-background2);
    line-height: 1.1;
    text-transform: uppercase;
    display: inline-block;
}

.hero-banner-text {
    font-size: var(--font-size-s);
    line-height: 1.4;
}

.hero-banner-arrow {
    border-left:1px dashed  var(--color-background2);
    background-color: var(--color-background);
    height: 105px;
    padding: 0 5px;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-banner-arrow span{
    position: relative;
    font-family: var(--font-latin);
    font-size: var(--font-size-s);
    color: var(--color-background2);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin-top: -1em;
}

.hero-banner-arrow span::after{
    content: '';
    position: absolute;
    bottom: -1.1em;
    left: 0.5em;
    display: block;
    width: 0.8em;
    height: 0.5em;
    clip-path: polygon(100% 13%, 50% 100%, 0 13%, 8% 0, 50% 73%, 92% 0);
    transition: transform 0.5s;
    background: var(--color-background2);
}

@media (max-width: 900px) {
    .hero-banner-image {
        width: 87px;
    }
    .hero-banner-content,
    .hero-banner-arrow  {
       height: 87px;
    }
    .hero-banner-text {
        font-size: var(--font-size-xs);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    right:5.5%;
    z-index: 10;
}

.scroll-text {
    font-size: var(--font-size-s);
    color: var(--color-background);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.scroll-line-container {
    width: 145px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 40%;
    background-color: var(--color-background);
    animation: scrollLineMove 2s ease-in-out infinite;
}

@keyframes scrollLineMove {
    0% {
        left: -40%;
    }
    100% {
        left: 100%;
    }
}

@media (max-width: 900px) {
    .scroll-text {
        text-transform: lowercase;
    }
    .scroll-indicator {
        bottom: 50px;
        left:5%;
    }

    .scroll-line-container{
        position: absolute;
        top: 12px;
        right:0;
    }


}

/* ==========================================
   TOPICS SECTION
   ========================================== */

.topics-section{
    padding: 120px 0;
}

.topics-section .container{
    display: grid;
    grid-template-columns: 1fr 3fr;
}

.topics-grid-wrapper {
    position: relative;
}

.topics-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 80px 24px;
}

.topics-title{
    font-family: var(--font-latin);
    font-size: var(--font-size-l);
    text-transform: uppercase;
    color: var(--color-primary);
}

.topics-subtitle{
    margin-bottom: 40px;
}

.topics-nav {
    display: none;
}

@media (max-width: 900px) {
    .topics-section .container{
        grid-template-columns: 1fr;
    }
    
    .topics-subtitle{
        margin-bottom:0;
    }
    
    .topics-subtitle br{
        display: none;
    }
    
    .topics-grid-wrapper {
        position: relative;
        overflow: hidden;
        margin: 0 -20px;
        padding: 0 20px;
    }
    
    .topics-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
    }
    
    .topics-grid::-webkit-scrollbar {
        display: none;
    }
    
    .topic-card {
        flex: 0 0 calc(50% - 8px);
        scroll-snap-align: start;
    }
    
    .topics-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top:0;
        width: 36px;
        height:36px;
        background-color: var(--color-background2);
        color:var(--color-background); 
        border: none;
        border-radius: 50%;
        line-height: 1;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        user-select: none;
        margin-top: calc((100vw * 0.7 - 8px) * 0.75 / 2 - 16px);
    }
    
    .topics-nav:hover {
        background-color: var(--color-primary);
    }
    
    .topics-nav:active {
        background-color:var(--color-primary);
        transform: translateY(-20%) scale(0.95);
    }
    
    .topics-nav:disabled,
    .topics-nav.disabled {
        opacity: 0.5;
        pointer-events: none;
    }
    
    .topics-nav-prev {
        left: 5px;
    }
    
    .topics-nav-next {
        right: 5px;
    }
}

@media (max-width: 768px) {
    .topics-grid{
        gap: 16px;
    }
    
    .topic-card {
        flex: 0 0 calc(50% - 8px);
    }
}

@media (min-width: 901px) {
    #topics .btn-reserve.sp-block{
        display: none!important;
    }
}

/* ==========================================
   MENU SECTION
   ========================================== */

.menu-wrapper {
    display: flex;
    position: relative;
  }
    
  .menu-sidebar {
    background: var(--gradient-menu);
    color:var(--color-background);
    padding: 180px 40px 60px 40px;
    position: sticky;
    top: 0;
    height:100dvh;
    flex-shrink: 0;
    width:20%;
  }
   
  .menu-sidebar-title {
    font-family: var(--font-latin);
    font-size: var(--font-size-l);
    text-transform: uppercase;
  }

  .menu-sidebar-hours{
    color: var(--color-ivory-border);
}
  
  @media (max-width:900px) {
    .menu-sidebar {
        width:50px;
      padding:180px 0 60px 0;
    }

    .menu-sidebar-hours{
        margin-top:20px;
        margin-left:10px;
    }

    .menu-sidebar-hours,
    .menu-sidebar-title {
        writing-mode: vertical-rl;
    text-orientation: mixed;
    text-transform: uppercase;
  }
}

  .menu-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:1px;
  }
    
  .menu-image-item img {
    width:100%;
    height: 100%;
    /* aspect-ratio: 1/1.333; */
    object-fit:contain;
  }

  @media (max-width: 900px) {
    .menu-images {
      display: block;
      overflow: hidden;
      position: relative;
      touch-action: pan-y;
    }
    
    .menu-images-inner {
      display: flex;
      transition: transform 0.3s ease-out;
      will-change: transform;
    }
    
    .menu-image-item {
      flex-shrink: 0;
      width: 100%;
    }
    
    .menu-image-item img {
      user-select: none;
      pointer-events: none;
    }
  }
    
  .menu-details-wrapper {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap:1em;
    padding:40px 40px 80px 40px;
    align-items: flex-end;
  }

  @media (max-width: 1150px) {
    .menu-details-wrapper {
    grid-template-columns: 2fr 1.2fr;
  }
}
  
  @media (max-width: 900px) {
    .menu-details-wrapper {
      grid-template-columns: 1fr;
      padding:20px 20px 80px 20px;
      gap:40px;
    }
  }
  
  .menu-category-title {
    font-family: var(--font-latin);
    font-size: var(--font-size-l);
    color: var(--color-primary);
    display: inline-block;
    /* border-bottom: 1px solid var(--color-primary); */
  }
  
  .menu-category-hours {
    color: var(--color-primary);
    margin-bottom: 30px;
  }
  
  .menu-category-subtitle {
    font-family: var(--font-japanese-mincho);
    font-size: var(--font-size-m);
    margin-bottom: 20px;
  }

.list-disc{
    margin-top:30px;
}

.list-disc dt{
    color: var(--color-primary);
}

.list-disc dt::before{
    content:'';
    display: inline-block;
    width:0.4em;
    height: 0.4em;
    background:var(--color-primary);
    border-radius: 50%;
    margin-right:1em;
}

.list-disc dd{
color: var(--color-background2);
font-size: var(--font-size-s);
margin-left:1.5em;
}

  .menu-btn-area p.btn{
    margin-bottom:20px;
    text-transform: uppercase;
}

.menu-btn-area .btn-reserve{
    padding: 20px 45px 20px 15px;
    font-size: var(--font-size-ms);
    white-space: nowrap;
}

.menu-btn-area .btn-reserve::after{
    top:32%;
}

.menu-btn-area .btn-reserve span{
    font-family: var(--font-japanese-gothic);
    font-size: var(--font-size-s);
}

  .menu-pdfs {
   display: flex;
   align-items: center;
   flex-wrap: wrap;
   gap:1em;
  }
  
  .menu-pdf-link {
    margin-bottom: 10px;
    text-decoration: underline;
    color: var(--color-background2);
    transition: background-color 0.3s;
  }
  
  .menu-pdf-link:hover {
    color: var(--color-primary);
    text-decoration: none;
  }
  
  .menu-pdf-icon {
    margin-right: 0.5em;
  }
  
/* ==========================================
   RAILWAY SECTION
   ========================================== */

   @media (min-width: 769px) {
    .pc-none {
      display: none;
    }
  }

   .railway-section {
    background:url(img/about-bg.jpg) no-repeat center;
    background-size: cover;
    margin: 0 auto;
    padding-top: 6vw;
    padding-bottom: 6vw;
    transition: padding 0.2s linear;
    overflow: hidden;
  }

  .railway-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
  }
    
  .railway-card {
    background-color: var(--color-background);
    max-width: 450px;
    padding: 64px 20px 44px 20px;
    margin:0 auto;
    text-align: center;
    color: var(--color-primary);
    border-radius: var( --radius-md);
  }
  
  @media (max-width: 768px) {
    .railway-card {
      padding:60px 20px;
    }
  }
  
  .railway-tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    gap:1em;
    font-size: var(--font-size-3xs);
    text-transform: uppercase;
  }
  
  .railway-tab {
    font-family: var(--font-latin);
    font-size: var(--font-size-s);
    text-transform: uppercase;
  }
  
  .railway-image {
    margin-bottom: 24px;
    border-radius: var(--radius-sm);
    overflow: hidden;
  }
  
  .railway-image img{
    border-radius: var(--radius-sm);
  }
  
  .railway-title {
    font-family: var(--font-latin);
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-base);
    line-height: 1.3;
  }
  
  .railway-subtitle {
    font-family: var(--font-japanese-mincho);
    font-size: var(--font-size-ms);
    margin-bottom: 20px;
  }

  .railway-description p {
    margin-bottom: 20px;
  }

/* ==========================================
   ACCESS & INFORMATION SECTION
   ========================================== */

.access-info-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: stretch;
    }
  
    .access-info-image {
      order: 1;
      overflow: hidden;
    }

    .access-info-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
  
    .access-info-content {
      order: 2;
      padding: 120px 60px 100px 60px;
    }
    
  @media (max-width: 900px) {
      .access-info-grid {
        grid-template-columns: 1fr;
    }
  
    .access-info-content {
      order: 1;
      width:90%;
      margin:0 auto;
      padding: 80px 0;
    }
      .access-info-image {
      order: 2;
    }
  }

  .access-info-title {
    font-family: var(--font-latin);
    font-size: var(--font-size-l);
    color: var(--color-primary);
    margin-bottom: 40px;
    line-height: 1.3;
    text-transform: uppercase;
  }
  
  .access-info-shop-name {
    font-family: var(--font-latin);
    font-size: var(--font-size-ms);
    color: var(--color-background2);
  }
  
  .access-info-shop-subtitle {
    color: var(--color-background2);
    font-size: var(--font-size-s);
    margin-bottom:20px;
  }
  
  .access-info-address {
    color: var(--color-background2);
    line-height: 2.5;
    margin-bottom: 20px;
  }
  
#access hr{
    margin:0 0 40px 0;
}
  
.access-info-value span{
    padding-bottom: 10px;
}

  .access-info-row {
    display: grid;
    grid-template-columns: 7em 1fr;
    gap:1em;
    margin-bottom: 30px;
  }

  .access-info-hours-item {
    display: flex;
    gap:1em;
  }

  .access-info-hours-item dt{
    flex-shrink: 0;
    width:4em;
  }

/* ==========================================
   FAQ SECTION
   ========================================== */

   .faq-section {
    background-color: var(--color-background2);
    color: var(--color-background);
    padding: 60px 0;
  }
  
  @media (max-width: 900px) {
    .faq-section {
      padding: 80px 0;
    }
  }
  
  .faq-section .container {
    display: grid;
    grid-template-columns: 1fr 3fr;
  }
  
  @media (max-width: 900px) {
    .faq-section .container {
      grid-template-columns: 1fr;
    }
  }
  
  .faq-header {
    margin-bottom: 40px;
    width: 8em;
  }
  
  .faq-title {
    font-family: var(--font-latin);
    font-size: var(--font-size-l);
  }
  
  .faq-subtitle {
    font-family: var(--font-japanese-gothic);
  }
  
  .faq-item details {
    cursor: pointer;
  }
  
  .faq-item summary {
    display: flex;
    align-items: center;
    margin: 0 0 5px 0;
    padding-right: 1em;
    cursor: pointer;
    user-select: none;
    list-style: none; /* Firefoxでもmarkerを消す */
  }
  
  .faq-item summary::-webkit-details-marker {
    display: none;
  }
  
  .faq-question-wrapper {
    display: flex;
    align-items: center;
    gap: 2em;
    border-bottom: 1px solid var(--color-ivory-border);
    position: relative;
    width: 100%;
  }
  
  .faq-q-icon {
    font-family: var(--font-latin);
    font-size: var(--font-size-l);
    color: var(--color-background);
  }
  
  .faq-question {
    font-family: var(--font-japanese-gothic);
  }
  
  /* 矢印アイコン */
  .faq-item details summary::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0.5em;
    bottom: 0;
    display: block;
    width: 0.6em;
    height: 0.4em;
    margin: auto;
    clip-path: polygon(100% 13%, 50% 100%, 0 13%, 8% 0, 50% 73%, 92% 0);
    transition: transform 0.3s ease-out;
    background: var(--color-background);
  }
  
  .faq-item details[open] summary::after {
    transform: rotate(180deg);
  }
  
  /* 回答部分 - 初期状態 */
/* 回答部分 - 初期状態 */
.faq-answer-wrapper {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: 
      max-height 0.4s ease,
      opacity 0.4s ease,
      padding-top 0.4s ease,
      padding-bottom 0.4s ease;
    display: flex;
    align-items: flex-start;
    gap: 1em;
    padding: 0 20px 0 44px;
  }
  
  /* JSがない環境用フォールバック（JS有効時は無効化） */
  html:not(.js-enabled) .faq-item details[open] .faq-answer-wrapper {
    max-height: 500px;
    opacity: 1;
    padding: 6px 20px 20px 44px;
  }
  
  .faq-a-icon {
    font-family: var(--font-latin);
    font-size: var(--font-size-ms);
    flex-shrink: 0;
  }
  
  .faq-answer-text {
    margin: 0;
    line-height: 1.8;
  }
  
  /* ==========================================
   CONTACT FORM STYLES
   ========================================== */


/* 入力画面のみ表示 */
.mw_wp_form_confirm .flow01,
.mw_wp_form_input .flow02 {
    display: none;
}


p.contact-lead a{
    text-decoration: none;
    font-size: var(--font-size-m);
    font-family: var(--font-latin);
    color: var(--color-background2);
}

/* フローチャート */
.flow_chart {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    margin: 40px 0 60px 0;
    list-style: none;
    position: relative;
    width: 100%;
}

.flow_chart li {
    position: relative;
    padding: 4px 30px 4px 30px;
    margin: 0 !important;
    background-color: #c7d3c3;
    flex: 1;
    color: var(--color-secondary);
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
    list-style: none !important;
    text-align: center;
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 50%, calc(100% - 25px) 100%, 0 100%, 25px 50%);
    margin-left: -24px !important;
}

/* 最初のli */
.flow_chart li:first-child {
    margin-left: 0 !important;
    padding-left: 30px;
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 50%, calc(100% - 25px) 100%, 0 100%);
}

/* 最後のli */
.flow_chart li:last-child {
    padding-right: 30px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 25px 50%);
}

/* 最初かつ最後（1つだけの場合） */
.flow_chart li:first-child:last-child {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    margin-left: 0 !important;
}

/* アクティブなステップ */
.flow_chart li.active {
    background-color:var(--color-primary);
    color:var(--color-background);
    font-weight: normal;
    z-index: 2;
}

/* 矢印は削除 */
.flow_chart li::after {
    display: none;
}

@media (max-width: 768px) {
    .flow_chart {
        gap: 0;
        margin: 30px 0 40px 0;
    }
    
    .flow_chart li {
        padding: 12px 20px 12px 20px;
        font-size: var(--font-size-s);
        clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
        margin-left: -18px !important;
    }
    
    .flow_chart li:first-child {
        margin-left: 0 !important;
        padding-left: 20px;
        clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
    }
    
    .flow_chart li:last-child {
        padding-right: 20px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 18px 50%);
    }
    
    .flow_chart li:first-child:last-child {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        margin-left: 0 !important;
    }
}

/* フォームテーブル */
.form_table {
    margin-bottom: 60px;
}

.form_table dl {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-primary-border);
    align-items: center;
}

.form_table dt {
    font-weight: normal;
    padding-top: 12px;
}

.form_table dt.required {
    position: relative;
}

/* 必須ラベル */
.form_table dt.required::after {
    content: '必須';
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background-color: var(--color-background2);
    color: #ffffff;
    font-size: var(--font-size-xs);
    border-radius: 3px;
    vertical-align: middle;
}

.form_table dd {
    margin: 0;
}

/* フォーム入力欄 */
.form_table input[type="text"],
.form_table input[type="email"],
.form_table input[type="tel"],
.form_table textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-ivory-border);
    border-radius: var(--radius-sm);
    background-color:#f1f1f1;
    color: var(--color-secondary);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form_table input[type="text"]:focus,
.form_table input[type="email"]:focus,
.form_table input[type="tel"]:focus,
.form_table textarea:focus {
    outline: none;
    border-color: var(--color-background);
    background-color: rgba(234, 240, 234, 0.8);
}

.form_table textarea {
    min-height: 150px;
    resize: vertical;
}

/* ラジオボタン */
.form_table input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 24px;
    height: 24px;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
}

.form_table .mwform-radio-field {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form_table .mwform-radio-field label {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding: 6px 20px 6px 50px;
    transition: all 0.3s ease;
    user-select: none;
}

/* カスタムラジオボタン（丸）の外枠 */
.form_table .mwform-radio-field label::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-charcoal-border);
    border-radius: 50%;
    background-color: rgba(234, 240, 234, 0.8);
    transition: all 0.3s ease;
    pointer-events: none;
}

/* チェック時の内側の丸 - :has()を使用 */
.form_table .mwform-radio-field label:has(input[type="radio"]:checked)::after {
    content: '';
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: var(--color-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
    pointer-events: none;
}


@media (max-width: 900px) {
    .form_table dl {
        grid-template-columns:1fr;
    }

    .form_table .mwform-radio-field label {
        padding: 10px 16px 10px 45px;
    }
    
    .form_table input[type="radio"] {
        left: 12px;
        width: 22px;
        height: 22px;
    }
    
    .form_table .mwform-radio-field label::before {
        left: 12px;
        width: 22px;
        height: 22px;
    }
    
    .form_table .mwform-radio-field label:has(input[type="radio"]:checked)::after {
        left: 17px;
        width: 10px;
        height: 10px;
    }
}

/* チェックボックスも同様に修正 */
.privacy-ck input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 28px;
    height: 28px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
}

.privacy-ck label:has(input[type="checkbox"]:checked)::before {
    background-color: var(--color-background);
    border-color: var(--color-text);
}

.privacy-ck label:has(input[type="checkbox"]:checked)::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 14px;
    border-right: 3px solid var(--color-secondary);
    border-bottom: 3px solid var(--color-secondary);
    pointer-events: none;
}
/* プライバシーセクション */
.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h2 {
    font-size: var(--font-size-lm);
    font-family: var(--font-japanese-gothic-b);
    margin-bottom: 20px;
    color: var(--color-text);
}

.privacy-intro {
    margin-bottom: 24px;
    line-height: 1.8;
}

/* チェックボックスカスタムスタイル */
.privacy-ck {
    margin: 30px 0;
}

.privacy-ck input[type="checkbox"] {
    display: none;
}

.privacy-ck label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 40px;
    font-size: var(--font-size-base);
    line-height: 1.6;
    user-select: none;
    transition: opacity 0.3s ease;
}

.privacy-ck label:hover {
    opacity: 0.7;
}

.privacy-ck label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 2px solid var(--color-charcoal-border);
    border-radius: var(--radius-sm);
    background-color: rgba(234, 240, 234, 0.3);
    transition: all 0.3s ease;
}

.privacy-ck input[type="checkbox"]:checked + label::before {
    background-color: var(--color-text);
    border-color: var(--color-text);
}

.privacy-ck input[type="checkbox"]:checked + label::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 14px;
    border-right: 3px solid var(--color-secondary);
    border-bottom: 3px solid var(--color-secondary);
}

/* プライバシースクロールエリア */
.privacy-scroll-area {
    max-height: 200px;
    overflow-y: scroll;
    padding: 24px;
    background-color: rgba(180, 180, 180, 0.3);
    border: 1px solid var(--color-ivory-border);
    border-radius: var(--radius-md);
    margin-top: 20px;
    font-size: var(--font-size-s);
    line-height: 1.8;
}

.privacy-scroll-area::-webkit-scrollbar {
    width: 8px;
}

.privacy-scroll-area::-webkit-scrollbar-track {
    background: rgba(164, 194, 164, 0.1);
    border-radius: 4px;
}

.privacy-scroll-area::-webkit-scrollbar-thumb {
    background: var(--color-text);
    border-radius: 4px;
}

.privacy-scroll-area::-webkit-scrollbar-thumb:hover {
    background: rgba(164, 194, 164, 0.8);
}

.privacy-scroll-area h3 {
    font-size: var(--font-size-base);
    font-family: var(--font-japanese-gothic-b);
    margin-bottom: 16px;
    margin-top: 32px;
    color: var(--color-text);
}

.privacy-scroll-area h3:first-child {
    margin-top: 0;
}

.privacy-scroll-area h4 {
    font-size: var(--font-size-s);
    font-family: var(--font-japanese-gothic-b);
    margin-bottom: 12px;
    margin-top: 24px;
    color: var(--color-text);
}

.privacy-scroll-area p {
    margin-bottom: 16px;
}

.privacy-scroll-area ul,
.privacy-scroll-area ol {
    margin-bottom: 16px;
    padding-left: 1.5em;
}

.privacy-scroll-area ul li {
    list-style-type: disc;
    margin-bottom: 8px;
}

.privacy-scroll-area ol li {
    list-style-type: decimal;
    margin-bottom: 8px;
}

.privacy-scroll-area a {
    color: var(--color-text);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

@media (min-width: 769px) {
    .privacy-scroll-area a:hover {
        opacity: 0.7;
        text-decoration: none;
    }
}

.privacy-scroll-area .ggl {
    padding-left: 1em;
}

/* ボタングループ */
.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

.btn-group input[type="submit"],
.btn-group button {
    /* min-width: 200px;
    display: inline-flex;
    align-items: center;
    padding:0 24px;
    height: 48px;
    border: 1px solid var(--color-text);
    color: var(--color-text); */
    font-size: var(--font-size-s);
    /* text-align: center; */
    transition: all 0.4s ease;
}
.btn-group span:empty {
  display: none;
}


@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

/* 確認画面用のテキスト */
.flow02 {
    text-align: center;
    margin: 40px 0;
    font-size: var(--font-size-base);
    line-height: 1.8;
}

/* エラーメッセージ */
.error {
    color: #ff2f2f;
    font-size: var(--font-size-s);
    margin-top: 8px;
    display: block;
    border-color: #ff2f2f !important;
}
