/* Room Page Animations */
@keyframes pulseOpacity {
    0% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        opacity: 0.2;
    }
}

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

@keyframes floatHorizontal {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes fadeInTop {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInBottom {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes borderPulse {
    0% {
        border-color: rgba(207, 46, 46, 0.5);
    }
    50% {
        border-color: rgba(207, 46, 46, 1);
    }
    100% {
        border-color: rgba(207, 46, 46, 0.5);
    }
}

@keyframes textShadowPulse {
    0% {
        text-shadow: 0 0 5px rgba(207, 46, 46, 0);
    }
    50% {
        text-shadow: 0 0 10px rgba(207, 46, 46, 0.3);
    }
    100% {
        text-shadow: 0 0 5px rgba(207, 46, 46, 0);
    }
}

@keyframes inkWashEffect {
    0% {
        text-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    50% {
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    }
    100% {
        text-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* 和紙テクスチャの基本クラス */
.washi-texture {
    position: relative;
    background-color: #f8f4e6; /* 淡い和紙色 */
    background-image: 
        linear-gradient(rgba(255, 250, 240, 0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 250, 240, 0.4) 1px, transparent 1px);
    background-size: 20px 20px;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.05);
}

/* 各セクションの和モダン背景スタイル */
.room-room__mv {
    position: relative;
    overflow: hidden;
    height: 75vh;
    max-height: 700px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.room-room__mv::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.5));
    z-index: 1;
}

.room-room-mv__inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.room-room-mv__inner::before {
    content: '客室';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 140px;
    color: rgba(255, 255, 255, 0.8);
    font-family: "Yu Mincho", "YuMincho", serif;
    writing-mode: vertical-rl;
    z-index: 3;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.6), 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.1em;
    animation: textFloatVertical 8s ease-in-out infinite;
}

@keyframes textFloatVertical {
    0% {
        transform: translate(-50%, -50%);
    }
    50% {
        transform: translate(-50%, -54%);
    }
    100% {
        transform: translate(-50%, -50%);
    }
}

.room-room__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 15s ease;
}

.room-room__mv:hover .room-room__img {
    transform: scale(1);
}

.room-decorative-element {
    position: absolute;
    z-index: 2;
    opacity: 0.6;
}

.room-decorative-element--top-right {
    top: 20px;
    right: 20px;
    width: 150px;
    height: 150px;
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 0h2v20H9V0zm25.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm-20 20l1.732 1-10 17.32-1.732-1 10-17.32zM58.16 4.134l1 1.732-17.32 10-1-1.732 17.32-10zm-40 40l1 1.732-17.32 10-1-1.732 17.32-10zM80 9v2H60V9h20zM20 69v2H0v-2h20zm79.32-55l-1 1.732-17.32-10L82 4l17.32 10zm-80 80l-1 1.732-17.32-10L2 84l17.32 10z' fill='%23ffffff' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
    animation: floatVertical 10s ease-in-out infinite;
}

.room-decorative-element--bottom-left {
    bottom: 20px;
    left: 20px;
    width: 180px;
    height: 180px;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: floatHorizontal 12s ease-in-out infinite;
}

.room-room__mv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #cf2e2e;
    z-index: 4;
}

.room-room__mv .japanese-pattern-overlay {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 2;
}

.room-main__title {
    position: relative;
    padding: 60px 0;
    background-color: #f0ebe0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c49a6c' fill-opacity='0.08'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.03) inset;
}

.room-main__title-top,
.room-main__title-bottom,
.room-main__title-text {
    position: relative;
    z-index: 2;
    color: #333;
}

.room-nav-container {
    background-color: #2c2c2c;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23cf2e2e' fill-opacity='0.07' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    padding: 30px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.room-hanare {
    background-color: #f5f2ea;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c49a6c' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    padding: 80px 0;
    position: relative;
}

.room-hanare::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(245, 242, 234, 0.7) 0%, rgba(245, 242, 234, 0.4) 100%);
    pointer-events: none;
}

.room-hanare__inner {
    position: relative;
    z-index: 2;
}

.room-wayousitu {
    background-color: #eae6dd;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23b3a187' fill-opacity='0.06' fill-rule='evenodd'/%3E%3C/svg%3E");
    padding: 80px 0;
    position: relative;
}

.room-wayousitu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(234, 230, 221, 0.9) 0%, rgba(234, 230, 221, 0.7) 100%);
    pointer-events: none;
}

.room-wayousitu__inner {
    position: relative;
    z-index: 2;
}

.room-yousitu {
    background-color: #e0d9c9;
    background-image: 
        linear-gradient(45deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0, 0, 0, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.03) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0;
    padding: 80px 0;
    position: relative;
}

.room-yousitu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(224, 217, 201, 0.8) 0%, rgba(224, 217, 201, 0.5) 100%);
    pointer-events: none;
}

.room-yousitu__inner {
    position: relative;
    z-index: 2;
}

.room-wasitu {
    background-color: #f0e9dd;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c49a6c' fill-opacity='0.05'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    padding: 80px 0;
    position: relative;
}

.room-wasitu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(240, 233, 221, 0.9) 0%, rgba(240, 233, 221, 0.6) 100%);
    pointer-events: none;
}

.room-wasitu__inner {
    position: relative;
    z-index: 2;
}

.room-chekkuin-out {
    background-color: #eeebe5;
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 0h2v20H9V0zm25.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm-20 20l1.732 1-10 17.32-1.732-1 10-17.32zM58.16 4.134l1 1.732-17.32 10-1-1.732 17.32-10zm-40 40l1 1.732-17.32 10-1-1.732 17.32-10zM80 9v2H60V9h20zM20 69v2H0v-2h20zm79.32-55l-1 1.732-17.32-10L82 4l17.32 10zm-80 80l-1 1.732-17.32-10L2 84l17.32 10zm96.546-75.84l-1.732 1-10-17.32 1.732-1 10 17.32zm-100 100l-1.732 1-10-17.32 1.732-1 10 17.32zM38.16 24.134l1 1.732-17.32 10-1-1.732 17.32-10zM60 29v2H40v-2h20zm19.32 5l-1 1.732-17.32-10L62 24l17.32 10zm16.546 4.16l-1.732 1-10-17.32 1.732-1 10 17.32zM111 40h-2V20h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zM40 49v2H20v-2h20zm19.32 5l-1 1.732-17.32-10L42 44l17.32 10zm16.546 4.16l-1.732 1-10-17.32 1.732-1 10 17.32zM91 60h-2V40h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm24.026 3.294l1 1.732-17.32 10-1-1.732 17.32-10zM39.32 74l-1 1.732-17.32-10L22 64l17.32 10zm16.546 4.16l-1.732 1-10-17.32 1.732-1 10 17.32zM71 80h-2V60h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm24.026 3.294l1 1.732-17.32 10-1-1.732 17.32-10zM120 89v2h-20v-2h20zm-84.134 9.16l-1.732 1-10-17.32 1.732-1 10 17.32zM51 100h-2V80h2v20zm3.134.84l1.732 1-10 17.32-1.732-1 10-17.32zm24.026 3.294l1 1.732-17.32 10-1-1.732 17.32-10zM100 109v2H80v-2h20zm19.32 5l-1 1.732-17.32-10 1-1.732 17.32 10zM31 120h-2v-20h2v20z' fill='%23b3a187' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    padding: 80px 0;
    position: relative;
}

.room-chekkuin-out::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(238, 235, 229, 0.8) 0%, rgba(238, 235, 229, 0.5) 100%);
    pointer-events: none;
}

.room-chekkuin-out__inner {
    position: relative;
    z-index: 2;
}

/* テキスト色の調整 */
.room-section__title-main,
.room-section__title-sub,
.room-section__title-number,
.room-hanare__top-text,
.room-hanare__bottom-text,
.room-wayousitu__top-text,
.room-wayousitu__bottom-text,
.room-yousitu__top-text,
.room-yousitu__bottom-text,
.room-wasitu__top-text,
.room-wasitu__bottom-text,
.room-chekkuin-out__text-title,
.room-chekkuin-out__text,
.room-accordion__title-text {
    color: #333;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}

.room-text-revers {
    color: #333 !important;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5) !important;
}

/* 和風装飾パターンオーバーレイ */
.japanese-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c49a6c' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

/* Room Navigation Styles */
.room-nav-container {
    background-color: #000;
    padding: 30px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.room-nav-container.sticky {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.room-nav__list {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
}

.room-nav__item {
    text-align: center;
    position: relative;
}

.room-nav__item::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 70%;
    background-color: rgba(255, 255, 255, 0.2);
}

.room-nav__item:last-child::after {
    display: none;
}

.room-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    font-family: "Yu Mincho", "YuMincho", serif;
    transition: all 0.3s ease;
    position: relative;
}

.room-nav__link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: #cf2e2e;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.room-nav__link:hover {
    color: #cf2e2e;
}

.room-nav__link:hover::before {
    width: 70%;
}

.room-nav__link.active {
    color: #cf2e2e;
}

.room-nav__link.active::before {
    width: 70%;
}

.room-nav__number {
    font-size: 12px;
    color: #cf2e2e;
    margin-bottom: 5px;
}

.room-nav__title {
    font-size: 16px;
    letter-spacing: 0.1em;
}

/* ボタンリップルエフェクト */
.button-ripple-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* インク風の効果 */
.ink-wash-effect {
    animation: inkWashEffect 1s ease-in-out;
    position: relative;
}

.ink-wash-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 90%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(207, 46, 46, 0.1) 0%, rgba(207, 46, 46, 0) 70%);
    z-index: -1;
    opacity: 0;
    animation: inkSpread 0.8s ease-out forwards;
}

@keyframes inkSpread {
    0% {
        opacity: 0;
        width: 0;
        height: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        width: 150%;
        height: 150%;
    }
}

/* Entrance Animations */
.room-section__title.animate,
.room-hanare__text-box.animate,
.room-wayousitu__text-box.animate,
.room-yousitu__text-box.animate,
.room-wasitu__text-box.animate {
    animation: fadeInBottom 1s ease-out forwards;
}

.room-hanare-zen-symbol.animate,
.room-wayousitu-zen-symbol.animate,
.room-yousitu-zen-symbol.animate,
.room-wasitu-zen-symbol.animate {
    animation: scaleIn 1.5s ease-out forwards;
}

/* Zen Kanji Animations */
.room-floating-kanji {
    animation: floatVertical 10s ease-in-out infinite;
    color: rgba(207, 46, 46, 0.1);
    font-size: 120px;
    font-family: "Yu Mincho", "YuMincho", serif;
    position: absolute;
    right: 5%;
    bottom: 10%;
    z-index: -1;
}

.room-hanare-zen-symbol,
.room-wayousitu-zen-symbol,
.room-yousitu-zen-symbol,
.room-wasitu-zen-symbol {
    color: rgba(207, 46, 46, 0.08);
    font-size: 180px;
    font-family: "Yu Mincho", "YuMincho", serif;
    position: absolute;
    right: 5%;
    bottom: 0;
    z-index: -1;
    line-height: 1;
}

.room-hanare-zen-symbol {
    animation: floatHorizontal 12s ease-in-out infinite;
}

.room-wayousitu-zen-symbol {
    animation: floatVertical 15s ease-in-out infinite;
}

.room-yousitu-zen-symbol {
    animation: floatHorizontal 14s ease-in-out infinite;
}

.room-wasitu-zen-symbol {
    animation: floatVertical 13s ease-in-out infinite;
}

/* Button Hover Animations */
.room-hanare-btn:hover,
.room-wayousitu-btn:hover,
.room-yousitu-btn:hover,
.room-wasitu-btn:hover {
    animation: borderPulse 2s infinite;
}

/* 和風ボタンスタイル */
.room-hanare-btn,
.room-wayousitu-btn,
.room-yousitu-btn,
.room-wasitu-btn {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid #cf2e2e;
    color: #333;
    background-color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-family: "Yu Mincho", "YuMincho", serif;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.room-hanare-btn:hover,
.room-wayousitu-btn:hover,
.room-yousitu-btn:hover,
.room-wasitu-btn:hover {
    background-color: #cf2e2e;
    color: #fff;
}

/* Title Text Animations */
.room-section__title-main {
    animation: textShadowPulse 4s infinite;
}

/* Custom Scroll Animation */
html {
    scroll-behavior: smooth;
}

/* Animation Delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Japanese Modern Style Utility Classes */
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.jp-accent {
    position: relative;
    display: inline-block;
}

.jp-accent::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #cf2e2e;
}

/* Responsive animation adjustments */
@media (max-width: 768px) {
    .room-nav__list {
        flex-wrap: wrap;
    }
    
    .room-nav__item {
        width: 50%;
        margin-bottom: 10px;
    }
    
    .room-nav__item::after {
        display: none;
    }
    
    .room-nav__link {
        padding: 8px;
    }
    
    .room-nav__title {
        font-size: 14px;
    }
    
    .room-floating-kanji,
    .room-hanare-zen-symbol,
    .room-wayousitu-zen-symbol,
    .room-yousitu-zen-symbol,
    .room-wasitu-zen-symbol {
        animation-duration: 8s;
        font-size: 120px;
    }
}

@media (max-width: 480px) {
    .room-nav__item {
        width: 100%;
    }
    
    .room-floating-kanji,
    .room-hanare-zen-symbol,
    .room-wayousitu-zen-symbol,
    .room-yousitu-zen-symbol,
    .room-wasitu-zen-symbol {
        font-size: 100px;
    }
} 