/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

/* 基本スタイル */
body {
    font-family: "Shippori Antique", sans-serif;
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* 全体のレイアウト */
#site-container {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

/* 背景動画 */
#background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    object-fit: cover;
    object-position: center center;
    transform: translate(-50%, -50%);
    z-index: -1;
    background-color: #000;
    
    /* モバイル最適化 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    will-change: transform;
    
    /* iOS Safari対応 */
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
    
    /* Android Chrome対応 */
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

/* 追加: 動画コンテナが画面全体を確実にカバーするためのスタイル */
#background-video::-webkit-media-controls {
    display: none !important;
}

#background-video::-webkit-media-controls-panel {
    display: none !important;
}

#background-video::-webkit-media-controls-play-button {
    display: none !important;
}

#background-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

/* レスポンシブ対応: デバイス別最適化 */

/* タブレット（横向き）対応 */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    #background-video {
        width: 100vw;
        height: 100vh;
        min-width: 100vw;
        min-height: 100vh;
    }
}

/* タブレット（縦向き）対応 */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    #background-video {
        width: 120vw;
        height: 100vh;
        min-width: 120vw;
        min-height: 100vh;
    }
}

/* スマートフォン（横向き）対応 */
@media (max-width: 767px) and (orientation: landscape) {
    #background-video {
        width: 120vw;
        height: 150vh;
        min-width: 120vw;
        min-height: 150vh;
        transform: translate(-50%, -50%);
    }
}

/* スマートフォン（縦向き）対応 */
@media (max-width: 767px) and (orientation: portrait) {
    #background-video {
        width: 160vw;
        height: 120vh;
        min-width: 160vw;
        min-height: 120vh;
        transform: translate(-50%, -50%);
    }
}

/* 非常に小さな画面（古いスマートフォン等）対応 */
@media (max-width: 320px) {
    #background-video {
        width: 180vw;
        height: 140vh;
        min-width: 180vw;
        min-height: 140vh;
    }
}

/* 高解像度ディスプレイ対応 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    #background-video {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* アスペクト比ベースのレスポンシブ対応 */
@media (min-aspect-ratio: 21/9) {
    /* 超ワイド画面 */
    #background-video {
        width: 100vw;
        height: 47.6vw; /* 21:9の比率 */
        min-height: 100vh;
    }
}

@media (min-aspect-ratio: 16/9) and (max-aspect-ratio: 21/9) {
    /* 一般的なワイド画面 */
    #background-video {
        width: 100vw;
        height: 56.25vw; /* 16:9の比率 */
        min-height: 100vh;
    }
}

@media (min-aspect-ratio: 4/3) and (max-aspect-ratio: 16/9) {
    /* 標準画面 */
    #background-video {
        width: 133.33vh; /* 4:3の比率 */
        height: 100vh;
        min-width: 100vw;
    }
}

@media (max-aspect-ratio: 4/3) {
    /* 縦長画面 */
    #background-video {
        width: 133.33vh;
        height: 100vh;
        min-width: 100vw;
    }
}

/* メインコンテンツエリア */
.content-wrapper-header {
    width: 100%;
    max-height: 90vh;
    padding: 0;
}

.content-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 200px 0 auto; /* PCサイズ：右側に400px余白 */
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FFFFFF;
}

.box-shadow-header {
    box-shadow: 0 -8px 3px -3px #000000, 8px 0 3px -3px #000000, -8px 0 3px -3px #000000;
}
.box-shadow-content {
    box-shadow: 8px 0 3px -3px #000000, -8px 0 3px -3px #000000;
}
.box-shadow-footer {
    box-shadow: 8px 0 3px -3px #000000, -8px 0 3px -3px #000000, 0 8px 3px -3px #000000;
}

/* ヘッダー部分 */
.header {
    width: 100%;
    max-width: 480px;
    position: relative;
    height: 110vh; /* ビューポートの高さいっぱいに */
    background-color: #FFFFFF;
    margin: 80px 200px 0 auto; /* PCサイズ：右側に400px余白 */
    padding: 0 0 50px;
    box-sizing: border-box;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}
/* スマホ表示時の調整 */
@media (max-width: 480px) {
.header {
    width: 100%;
    max-width: 480px;
    position: relative;
    height: 110vh; /* ビューポートの高さいっぱいに */
    background-color: #FFFFFF;
    margin: 80px 200px 0 auto; /* PCサイズ：右側に400px余白 */
    padding: 0 0 50px;
    box-sizing: border-box;
    border-radius:0;
    overflow: hidden;
}
}

/* メインビジュアルエリア（上部） */
.main-visual {
    position: relative;
    width: 100%;
    height: 45%;
    max-height: 435px;
}

/* メイン画像 */
.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* .logo-area {
    height: 40px;
    display: flex;
    align-items: center;
}

.logo-icon, .instagram-icon {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo-icon img, .instagram-icon img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.logo-area {
    width: 50%;
    height: auto;
}
.logo-icon {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 0 10px 0;
    background-color: #FFFFFF;
    border-radius: 0 0 5px 0;
}

.logo-icon img {
    height: 100%;
    width: auto;
    max-width: 85%;
    object-fit: contain;
} */
 /* ロゴエリア */
.logo-area {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
    width: auto;
    height: auto;
    background-color: transparent;
}

.logo-icon {
    height: auto;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
}

.logo-icon img {
    width: 60%;
    height: auto;
}

/* 右側の縦書きテキスト */
/* .vertical-text {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-family: "Noto Serif JP", serif;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
    height: calc(70% - 40px);
    display: flex;
    align-items: center;
} */

/* 縦書きテキストコンテナ - 2列レイアウト */
.vertical-text-container {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 10;
    display: flex;
    flex-direction: row-reverse;
}

/* 縦書きテキスト共通スタイル */
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: "Shippori Antique", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 8px;
    color: #161616;
    height: 100%;
}

.vertical-text .color-white {
    color: #191919;
}

/* 右側の列 */
.vertical-text.right-column {
    margin-left: 10px; /* 2列間の余白 */
}

/* 左側の列 - 風と津が同じ高さになるよう調整 */
.vertical-text.left-column {
    /*padding-top: 85px;  「風」と「津」が同じ高さになるよう調整 */
}

/* スマホ表示時の調整 */
@media (max-width: 480px) {
    .vertical-text {
        /*font-size: 14px;
        letter-spacing: 0.1em;*/
    }
    
    .vertical-text.right-column {
        margin-left: 5px;
    }
}

/* SNSアイコン */
/* .social-icons {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    height: 68px;
    display: flex;
    align-items: center;
}

.instagram-icon {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 0 68px 68px;
    background-color: #FFFFFF;
    border-radius: 0 0 0 5px;
}

.instagram-icon img {
    height: 60%;
    position: absolute;
    top: 0;
    right: 0;
} */

/* スライダーコンテナ */
/* .slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0 0 20px;
} */
.slider-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 55%;
}

/* スライダー */
.slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 0 60px 0 0;
}

.slider-inner {
    width: 100%;
    height: 100%;
}

.slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* サイド画像とメイン画像のコンテナ */
.side-images {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.slide-watercolor-left,
.slide-watercolor-right {
    width: 28%;
    height: auto;
    opacity: 0.8;
    object-fit: contain;
}

.main-image-container {
    position: relative;
    width: 44%;
    text-align: center;
    padding: 0 20px;
}

.slide-image {
    width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.slide-caption {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 24px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

/* スライダードット */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #fff;
}

/* コンテンツセクション */
.content-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 玉乃井とはセクション */
.about-tamanoi-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
    position: relative;
    background-color: #FAF9F5;
}

.illustration-container {
    width: 100%;
    padding-bottom: 30px;
}

.interior-illustration {
    width: 100%;
    height: auto;
    opacity: 0.9;
}

.about-content {
    width: 100%;
    max-width: 700px;
    padding: 30px;
}

.section-title {
    font-family: "Shippori Antique", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 32px;
    color: #191919;
    margin-bottom: 10px;
    text-align: left;
    letter-spacing: 2px;
}

.bar-title {
    color: #FFFFFF;
}

.section-subtitle {
    font-family: "Shippori Antique", sans-serif;

    font-size: 16px;
    /*margin-bottom: 25px;*/
    text-align: left;
    font-weight: normal;
    line-height: 1.6;
    letter-spacing: 1px;
}

.about-text {
    font-family: "Shippori Antique", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
    color: #191919;
    margin-bottom: 20px;
    text-align: justify;
}

/* ゲストセクション（多彩な客人、現在の玉乃井、これから、BAR玉乃井） */
.diverse-guests-section, .current-tamanoi-section, .future-tamanoi-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
    width: 100%;
    background-color: #FAF9F5;
}

.guests-photo-container, .current-photo-container, .future-photo-container {
    width: 100%;
    max-width: 600px;
    margin-bottom: 10px;
    padding: 0 30px;
    text-align: center;
}

.interior-photo {
    width: 100%;
    height: auto;
    /*border-radius: 5px;*/
    /*box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);*/
}

.guests-text-content, .current-text-content, .future-text-content {
    width: 100%;
    max-width: 700px;
    padding: 0 30px;
}

.guests-text {
    font-family: "Shippori Antique", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
    color: #191919;
    margin-bottom: 20px;
    text-align: justify;
}

.bar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
    width: 100%;
    background-color: #000000;
}

.bar-content {
    width: 100%;
    max-width: 700px;
    padding: 0 24px;
    color: #FFFFFF;
}

.photo-container_bar {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.bar-text{
    color: #FFFFFF;
    font-family: "Shippori Antique", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
    margin-bottom: 20px;
    text-align: justify;
}

/* 予約ボタン */
.reservation-button {
    margin-top: 30px;
    text-align: center;
}

.btn-reservation {
    width: 80%;
    display: inline-block;
    background-color: #d13038;
    color: #FFFFFF;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);

    font-family: "Shippori Antique", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}

.btn-reservation:hover {
    background-color: #b02730;
    transform: translateY(-2px);
}

/* 玉乃井の人々セクション */
.people-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
    width: 100%;
    background-color: #FFFFFF;
}

.people-content {
    width: 100%;
    max-width: 700px;
    padding: 0 24px;
    color: #FFFFFF;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.person-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
}

.person-image {
    width: 100%;
    position: relative;
    padding-top: 120%; /* アスペクト比を1:1（正方形）に固定 */
    overflow: hidden;
}

.person-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像のアスペクト比を保ちながら、指定された領域いっぱいに表示 */
    object-position: center; /* 画像の中央を表示 */
}

.person-info {
    padding: 6px 0 0;
}

.person-name {
    font-size: 14px;
    margin: 0 0 5px;
    color: #191919;
    font-family: "Shippori Antique", sans-serif;

}

.person-role {
    font-size: 10px;
    color: #191919;
    margin: 0;
    font-family: "Shippori Antique", sans-serif;
line-height: 1.2em;
}

/* レスポンシブ設定を上書き */
@media (max-width: 768px), (max-width: 480px) {
    .people-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2列固定を維持 */
    }
}

/* イベントカレンダーセクション */
.event-section {
    margin-top: 40px;
    padding: 0 24px;
    background-color: #FFFFFF;
}

.event-title {
    font-size: 22px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: normal;
    font-family: "Shippori Antique", sans-serif;

}

.calendar-container {
    width: 100%;
    margin-bottom: 50px;
}

.google-calendar {
    width: 100%;
    height: 300px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.google-calendar iframe {
    width: 100%;
    height: 100%;
}

.calendar-placeholder {
    font-size: 18px;
    color: #999;
    text-align: center;
}

/* Instagram セクション */
.instagram-section {
    width: 100%;
    margin-bottom: 50px;
}

.instagram-title {
    font-size: 22px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: normal;
}

/* Instagram フィード用スタイル */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    position: relative;
}

.insta-post {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 3px;
    position: relative;
}

.insta-image-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.insta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insta-post:hover .insta-image {
    transform: scale(1.05);
}

.insta-hover-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    color: white;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-post:hover .insta-hover-info {
    opacity: 1;
}

.insta-date {
    font-size: 11px;
    display: block;
}

/* ローディング表示 */
.insta-loading {
    text-align: center;
    padding: 40px 0;
    color: #666;
    grid-column: 1 / -1;
}

.insta-loading-icon {
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top: 3px solid #d13038;
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* エラー表示 */
.instagram-error {
    text-align: center;
    padding: 20px;
    color: #666;
    grid-column: 1 / -1;
}

/* フォローボタン */
.instagram-follow {
    text-align: center;
    margin-top: 25px;
}

.instagram-follow-link {
    display: inline-block;
    font-size: 14px;
    color: #191919;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #d13038;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.instagram-follow-link:hover {
    background-color: #d13038;
    color: white;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* お問い合わせボタン */
.event-contact {
    margin-top: 30px;
    text-align: center;
}

.contact-btn {
    display: inline-block;
    background-color: #d13038;
    color: white;
    padding: 20px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.contact-btn:hover {
    background-color: #b02730;
    transform: translateY(-2px);
}

/* ヘッダーレイアウト用のスタイル（index.htmlから移行） */
.header-wrapper {
    width: 100%;
    max-width: 480px; /* モバイルデザイン向けに幅を制限 */
    margin: 0 auto;
    position: relative;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
}

.logo-center {
    flex: 1;
}

/* スライダーエリアの統合スタイル */
.slider-container {
    position: absolute;
    bottom: -120px;
    width: 100%;
    height: 75%;
    /* overflow: hidden; */
}

/* slickスライダー用のカスタムスタイル */
.slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 0 60px 0 0;
}

.slick-slide {
    height: 100%;
}

.slick-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ドットナビゲーションのカスタマイズ */
.slick-dots {
    top: -50px;
    left: 30px;
    width: auto !important;
}

.slick-dots li button:before {
    font-size: 12px;
    color: white;
    opacity: 0.5;
    /*text-shadow: 0 1px 3px rgba(0, 0, 0, 1);*/
}

.slick-dots li.slick-active button:before {
    color: #d13038;
    opacity: 1;
    /*text-shadow: 0 1px 3px rgba(0, 0, 0, 1);*/
}

.slick-list {
    height: 100%;
}

.slick-track {
    height: 100%;
}

/* コンテンツセクションの位置調整 */
.content-wrapper {
    margin-top: 0;
}

/* フッター */
.site-footer {
    width: 100%;
    padding: 0 0 80px;
}

.footer-container {
    width: 100%;
    max-width: 480px;
    margin: 0 200px 0 auto; /* PCサイズ：右側に400px余白 */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 0 0 20px 20px; /* 上部の左右角を20pxの半径で丸くする */
    overflow: hidden; /* 角が丸くなった部分で内容を切り取るために必要 */
}
@media (max-width: 480px) {
.site-footer {
    width: 100%;
    padding: 0 0 0;
}
.footer-container {
    width: 100%;
    max-width: 480px;
    margin: 0 200px 0 auto; /* PCサイズ：右側に400px余白 */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 0; /* 上部の左右角を20pxの半径で丸くする */
    overflow: hidden; /* 角が丸くなった部分で内容を切り取るために必要 */
}

}
/* 詩の部分 */
.footer-poem {
    /* display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    height: 200px; */
    width: 33%;
    text-align: center;
    margin: 8rem auto 0;
}

.poem-line {
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 2px;
}

/* ロゴと著作権 */
.footer-logo-copyright {
    width: 70%;
    text-align: center;
    margin: 8rem auto 2rem;
}

.footer-logo {
    width: 60%;
    text-align: center;
    margin: 0 auto 15px;
}

.footer-logo-img {
    width: 100%;
    height: auto;
}

.copyright {
    font-size: 12px;
    color: #666;
    font-family: "Shippori Antique", sans-serif;

}

/* 墨汁にじみ出るアニメーション用の基本スタイル */
.fade-in-section {
    opacity: 0;
    filter: blur(10px);
    visibility: hidden;
    overflow: hidden;
    position: relative;
    transition: 
        opacity 2.4s cubic-bezier(0.33, 1, 0.68, 1),
        filter 2.8s cubic-bezier(0.33, 1, 0.68, 1),
        transform 3.0s cubic-bezier(0.34, 1.56, 0.64, 1),
        visibility 0s linear 0.3s;
    will-change: opacity, visibility, filter, transform;
}

/* 基本的な拡大縮小効果（デフォルト） */
.fade-in-section.ink-scale {
    transform: scale(0.96);
}

.fade-in-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    opacity: 0;
    z-index: -1;
    border-radius: 5px;
    transition: opacity 1.2s ease;
}

.fade-in-section.is-visible {
    opacity: 1;
    filter: blur(0);
    visibility: visible;
    transition: 
        opacity 2.4s cubic-bezier(0.33, 1, 0.68, 1),
        filter 2.8s cubic-bezier(0.33, 1, 0.68, 1),
        transform 3.0s cubic-bezier(0.34, 1.56, 0.64, 1),
        visibility 0s linear;
}

/* 各方向からの変形が完了した状態 */
.fade-in-section.ink-scale.is-visible {
    transform: scale(1);
}

.fade-in-section.ink-top.is-visible {
    transform: translateY(0);
}

.fade-in-section.ink-bottom.is-visible {
    transform: translateY(0);
}

.fade-in-section.ink-left.is-visible {
    transform: translateX(0);
}

.fade-in-section.ink-right.is-visible {
    transform: translateX(0);
}

.fade-in-section.is-visible::before {
    opacity: 0;
}

/* 各セクションごとに少しずつ異なるアニメーション時間を設定 */
.about-tamanoi-section .fade-in-section {
    transition-delay: 0.1s;
}

.diverse-guests-section .fade-in-section {
    transition-delay: 0.1s;
}

.current-tamanoi-section .fade-in-section {
    transition-delay: 0.15s;
}

.future-tamanoi-section .fade-in-section {
    transition-delay: 0.1s;
}

.bar-section .fade-in-section {
    transition-delay: 0.2s;
}

.people-section .fade-in-section {
    transition-delay: 0.15s;
}

/* 画像に特別なにじみ効果 */
.interior-photo, .interior-illustration {
    position: relative;
    overflow: hidden;
}

.interior-photo::after, .interior-illustration::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, transparent 60%, rgba(0, 0, 0, 0.1) 100%);
    mix-blend-mode: overlay;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.is-visible .interior-photo::after, .is-visible .interior-illustration::after {
    opacity: 1;
}

/* 各方向からのフェード用の初期値 */
.fade-in-section.ink-top {
    transform: translateY(-20px);
}

.fade-in-section.ink-bottom {
    transform: translateY(20px);
}

.fade-in-section.ink-left {
    transform: translateX(-20px);
}

.fade-in-section.ink-right {
    transform: translateX(20px);
}

/* 墨汁が流れるようなアニメーション効果 - 各方向パターン */
/* 右下から */
@keyframes inkFlowRightBottom {
    0% {
        clip-path: inset(100% 100% 0 0);
    }
    30% {
        clip-path: inset(70% 70% 0 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

/* 左下から */
@keyframes inkFlowLeftBottom {
    0% {
        clip-path: inset(100% 0 0 100%);
    }
    30% {
        clip-path: inset(70% 0 0 70%);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

/* 右上から */
@keyframes inkFlowRightTop {
    0% {
        clip-path: inset(0 100% 100% 0);
    }
    30% {
        clip-path: inset(0 70% 70% 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

/* 左上から */
@keyframes inkFlowLeftTop {
    0% {
        clip-path: inset(0 0 100% 100%);
    }
    30% {
        clip-path: inset(0 0 70% 70%);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

/* 上から */
@keyframes inkFlowTop {
    0% {
        clip-path: inset(0 0 100% 0);
    }
    30% {
        clip-path: inset(0 0 70% 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

/* 下から */
@keyframes inkFlowBottom {
    0% {
        clip-path: inset(100% 0 0 0);
    }
    30% {
        clip-path: inset(70% 0 0 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

/* 左から */
@keyframes inkFlowLeft {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    30% {
        clip-path: inset(0 70% 0 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

/* 右から */
@keyframes inkFlowRight {
    0% {
        clip-path: inset(0 0 0 100%);
    }
    30% {
        clip-path: inset(0 0 0 70%);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

.ink-reveal {
    position: relative;
}

.ink-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0 100% 100% 0);
    z-index: 5;
    animation: inkFlowRightTop 1.5s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

/* 各方向のインク効果クラス */
.ink-reveal.from-right-top::before {
    animation-name: inkFlowRightTop;
}

.ink-reveal.from-left-top::before {
    animation-name: inkFlowLeftTop;
}

.ink-reveal.from-right-bottom::before {
    animation-name: inkFlowRightBottom;
}

.ink-reveal.from-left-bottom::before {
    animation-name: inkFlowLeftBottom;
}

.ink-reveal.from-top::before {
    animation-name: inkFlowTop;
}

.ink-reveal.from-bottom::before {
    animation-name: inkFlowBottom;
}

.ink-reveal.from-left::before {
    animation-name: inkFlowLeft;
}

.ink-reveal.from-right::before {
    animation-name: inkFlowRight;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    /* タブレットサイズ：右側に80px余白 */
    .content-wrapper {
        margin: 0 80px 0 auto;
    }
    
    .header {
        margin: 80px 80px 0 auto;
    }
    
    .footer-container {
        margin: 0 80px 0 auto;
    }
}

@media (max-width: 768px) {
    /* スマホサイズ：中央寄せに戻す */
    .content-wrapper {
        margin: 0 auto;
    }
    
    .header {
        margin: 0;
    }

    .main-visual {
        height: 50%;
    }
    
    .footer-container {
        margin: 0 auto;
    }
    
    .side-images {
        flex-direction: column;
    }
    
    .slide-watercolor-left,
    .slide-watercolor-right {
        display: none;
    }
    
    .main-image-container {
        width: 90%;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .people-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-poem {
        width: 60%;
        gap: 20px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .main-visual {
        height: 50%;
    }

    .logo-text {
        font-size: 14px;
    }
    
    .slide-caption {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 22px;
margin-top:20px;
    }
    
    .people-grid {
        grid-template-columns: 1fr;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-poem {
        width: 45%;
        gap: 15px;
        height: 100%;
    }
}