/**
 * フロントページ専用スタイル
 * Nozomi Theme
 */

/* ヒーローセクション（動画背景）のスタイル */
.video-background {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--text-light);
    text-align: center;
    padding: 0 20px;
}

.video-overlay h1 {
    font-size: 5vh;
    margin-bottom: 10px;
    font-family: var(--font-serif);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8); /* テキストシャドウを強化 */
}

/* 縦書きテキストのスタイル */
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-align: right;
    margin: 0;
    padding: 20px;
    border-radius: 5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.video-overlay h1.vertical-text {
    font-size: 5vh;
    right: 20%;
    font-weight: 700;
}

.video-overlay h2.vertical-text {
    font-size: 9vh;
    right: 24%;
    font-weight: 600;
    font-family: 'Shippori Mincho', serif;
    letter-spacing: 0.15em;
}

/* スマホ向けメディアクエリ - ビデオオーバーレイ */
@media (max-width: 768px) {
    /* フロントページでの全体的なフォントサイズ調整 */
    .news-title {
        font-size: 1.3rem !important;
    }
    
    .news-subtitle {
        font-size: 0.9rem !important;
    }
    
    .news-item a {
        font-size: 0.85rem !important;
    }
    
    .video-overlay h1.vertical-text {
        font-size: 3.5vh;
        right: 10%;
    }

    .video-overlay h2.vertical-text {
        font-size: 6vh;
        right: 17%;
    }
}

@media (max-width: 480px) {
    .video-overlay h1.vertical-text {
        font-size: 3vh;
        right: 8%;
    }

    .video-overlay h2.vertical-text {
        font-size: 5vh;
        right: 15%;
    }
}


/* トップページ専用のセクションスタイル */
.front-page .section {
    padding: 7.5vh 0;
}

.front-page .section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--text-dark);
    font-weight: 700;
    font-family: var(--font-serif);
}


/* 施設案内セクション（トップページ専用） */
#about .card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#about .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

#about .card-title {
    color: var(--primary-dark);
    font-weight: 700;
    font-family: var(--font-serif);
}

/* 温泉セクション共通スタイル */
.onsen-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    overflow: hidden;
    background: transparent;
}

/* タイトルエリア（左1/4）共通スタイル */
.onsen-title-area {
    width: 25%;
    height: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;   
}
.charm-1 {
    z-index: 3;
    background-color: #1B315E;
}
.charm-2 {
    z-index: 3;
    background-color: #F5B9A3;
}
.charm-3 {
    z-index: 3;
    background-color: #446C3A;
}
.charm-4 {
    z-index: 3;
    background-color: #FFF4E6;
}



/* セクションごとの文字色 */
.onsen-hero:nth-of-type(1) .section-title,
.onsen-hero:nth-of-type(3) .section-title {
    color: #ffffff;
}

.onsen-hero:nth-of-type(2) .section-title,
.onsen-hero:nth-of-type(4) .section-title {
    color: #333;
}


/* 市松模様のベース */
.onsen-title-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.3;
    z-index: -1;
}



/* タイトルスタイルの更新 */
.onsen-hero .section-title {
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 10;
    margin: 0;
    padding: 15px 40px;
    font-size: 1.8vw;
    text-align: center;
    background-color: transparent;
    font-weight: 600;
    font-family: 'Shippori Mincho', serif;
}

/* ナンバースタイル */
.onsen-hero .section-title .number {
    display: block;
    font-size: 1.8vw;
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 0.2em;
    writing-mode: horizontal-tb;
}

/* タイトルテキストの縦書き */
.onsen-hero .section-title .title-text.vertical-writing {
    display: block;
    writing-mode: vertical-rl;
    text-orientation: upright;
    margin: 0 auto;
    padding: 10px 0;
    letter-spacing: 0.1em;
}

/* 極上のほぐし処（charm-4）のフォントサイズを調整 */
.charm-4 .section-title .title-text.vertical-writing {
    font-size: 0.9em;
}

/* マーカーのアニメーションを削除 */
@keyframes marker-animation {
    0% {
        width: 0;
    }
    100% {
        width: 0; /* 線を表示しない */
    }
}

/* 各セクションのマーカー色とスタイルを削除 */
.onsen-hero:nth-of-type(1) .section-title::after,
.onsen-hero:nth-of-type(2) .section-title::after,
.onsen-hero:nth-of-type(3) .section-title::after,
.onsen-hero:nth-of-type(4) .section-title::after {
    display: none;
}

/* タイトル下のマーカー効果を削除 */
.onsen-hero .section-title::after {
    display: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .onsen-hero .section-title {
        font-size: 2.8vw;
        padding: 12px 30px;
    }
    
    .onsen-hero .section-title .title-text.vertical-writing {
        font-size: 3em;
    }
    
    .charm-4 .section-title .title-text.vertical-writing {
        font-size: 2.5em;
    }
}

@media (max-width: 480px) {
    .onsen-hero .section-title {
        font-size: 3.8vw;
        padding: 10px 25px;
    }
    
    .onsen-hero .section-title .title-text.vertical-writing {
        font-size: 2.5em;
    }
    
    .charm-4 .section-title .title-text.vertical-writing {
        font-size: 2.2em;
    }
}

/* 2行タイトル用のスタイル */
.onsen-hero .section-title .title-top {
    display: block;
    font-size: 0.85em;
    margin-bottom: 0.3em;
}

.onsen-hero .section-title .title-bottom {
    display: block;
}


/* 写真エリア（右3/4） */
.onsen-image-area {
    width: 75%;
    height: 90vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

/* 写真のスタイル */
.full-width-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0;
    padding: 0;
}

/* オーバーレイとコンテンツ */
.onsen-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: transparent;
}

/* 説明文のスタイル */
.onsen-content {
    margin: auto 0 2rem 2rem;
    position: relative;
    background: transparent;
    box-shadow: none;
}

.onsen-content p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        -2px -2px 4px rgba(0, 0, 0, 0.9),
        2px -2px 4px rgba(0, 0, 0, 0.9),
        -2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 8px rgba(0, 0, 0, 0.9);
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* 1番目と3番目のセクションの説明文は右下に配置 */
.onsen-hero:nth-of-type(2n+1) .onsen-overlay {
    justify-content: flex-end;
    padding-right: 3rem;
}

/* 2番目と4番目のセクションの説明文は左下に配置 */
.onsen-hero:nth-of-type(2n) .onsen-overlay {
    justify-content: flex-start;
    padding-left: 3rem;
}
/* タイトルスタイルの更新 */
.onsen-hero .section-title {
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 10;
    margin: 0;
    padding: 15px 40px;
    font-size: 1.8vw;
    text-align: center;
    background-color: transparent;
    font-weight: 600;
    font-family: 'Shippori Mincho', serif;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .onsen-content {
        margin: auto 1rem 1.5rem 1rem;
    }

    .onsen-content p {
        font-size: 1.0rem;
    }

    .onsen-overlay {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .onsen-content {
        margin: auto 1rem 1rem 1rem;
    }

    .onsen-content p {
        font-size: 0.9rem;
    }

    .onsen-overlay {
        padding: 1rem;
    }
}

/* ホバーエフェクト */
.onsen-image-area:hover .full-width-image {
    transform: scale(1.05);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .onsen-hero {
        flex-direction: column !important;
        height: auto;
    }

    .onsen-title-area {
        width: 100%;
        height: auto;
        padding: 4vh 2vw;
    }

    .onsen-image-area {
        width: 100%;
        height: 60vh;
    }

    .full-width-image {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .onsen-title-area {
        padding: 3vh 2vw;
    }

    .onsen-image-area {
        height: 50vh;
    }

    .full-width-image {
        width: 100%;
        height: 100%;
    }
}

/* 予約セクション（トップページ専用） */
#reservations {
    background-color: var(--bg-light);
    text-align: center;
}

#reservations .reservation-info {
    max-width: 800px;
    margin: 0 auto;
}

#reservations .reservation-info p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

#reservations .btn-secondary {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* お知らせセクション（トップページ専用） */
#news {
    background-color: var(--bg-gray);
    position: relative;
}

#news .container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 50px;
}

/* お知らせヘッダー */
.news-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.news-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 10px;
    font-family: var(--font-serif);
    letter-spacing: 0.05em;
}

.news-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin: 0;
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
    font-weight: 500;
}



.news-item {
    padding: 15px 10px 15px 10px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#news .news-date {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-right: 20px;
    min-width: 100px;
    font-weight: 500;
}

#news .news-category {
    display: inline-block;
    padding: 2px 8px;
    background-color: var(--primary-dark);
    color: white;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 25px;
    font-weight: 500;
}

#news .news-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    flex: 1;
    font-size: 1rem;
    font-family: var(--font-serif);
    margin-left: 10px;
}

#news .news-item a:hover {
    color: var(--primary-dark);
}

/* スマホ時のレスポンシブ対応 */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 10px;
    }
    
    .news-meta {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        width: 100%;
    }
    
    #news .news-date {
        margin-right: 15px;
        min-width: auto;
        font-size: 0.85rem;
    }
    
    #news .news-category {
        margin-right: 0;
        font-size: 0.75rem;
    }
    
    #news .news-item a {
        margin-left: 0;
        font-size: 0.9rem;
        width: 100%;
        line-height: 1.4;
    }
}

#news .text-center {
    text-align: center;
    margin-bottom: 50px;
}

#news .container > .text-center {
    position: absolute;
    bottom: 20px;
    right: 20px;
    text-align: right;
    margin-bottom: 0;
}

.news-list-link {
    color: var(--primary-darker);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
/* 泉質セクション用のスタイル */
.onsen-hero-quality {
    position: relative;
}

.quality-image {
    object-position: center 50%; /* 画像の中央50%あたりを中心に表示（調整可能） */
    position: relative;
}

/* オーバーレイが画像の上に表示されるように z-index を調整 */
.onsen-hero-quality .onsen-overlay {
    z-index: 3; /* グラデーションより上に表示 */
}

/* 左側に画像、右側にテキストを配置するレイアウト */
.onsen-content-wrapper {
    display: flex;
    width: 100%;
    max-width: 1600px;
    margin: 10vh auto 0;
    border-radius: 0;
    overflow: hidden;
    justify-content: space-between;
}

.onsen-image-left {
    flex: 0 0 48%;
    width: 48%;
    max-width: 48%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* 画像の上に暗いオーバーレイを追加 */
.onsen-image-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
    pointer-events: none;
}

/* 画像の上にタイトルを配置 */
.onsen-image-left .section-title {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 5;
    margin: 0;
    padding: 10px 20px;
    background-color: rgba(51, 102, 53, 0.7);
    border-radius: 5px;
    font-size: 2rem;
    text-align: center;
    width: auto;
    writing-mode: horizontal-tb; /* 横書きに設定 */
}

.content-image {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin-top: 5vh;
    padding: 0;
    border-radius: 2vw;
    border: none;
    box-sizing: border-box;
    filter: brightness(1.15) contrast(1.1);
}

.image-caption {
    color: white;
    text-align: center;
    margin-top: 2vh;
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    width: 100%;
}

.onsen-text-right {
    flex: 0 0 45%;
    padding: 3vh 3vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
}

.onsen-text-right .section-title {
    color: #336635;
    text-align: left;
    margin-bottom: 20px;
    writing-mode: horizontal-tb; /* 横書きに変更 */
    position: relative;
    transform: none;
    left: auto;
    top: auto;
    font-size: 2.5rem;
}

.onsen-text-right .onsen-content {
    position: static;
    background-color: transparent;
    text-align: left;
    padding: 0;
}

.onsen-text-right .onsen-content p {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-size: clamp(1.1rem, 2vw, 2.0rem);
    margin-bottom: 2vh;
    font-weight: 500;
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .onsen-content-wrapper {
        flex-direction: column;
        width: 95%;
    }
    
    .onsen-image-left {
        max-width: 100%;
    }
    
    .onsen-text-right {
        padding: 2vh 4vw;
    }
    
    .onsen-text-right .section-title {
        font-size: 2rem;
    }
    
    .onsen-text-right .onsen-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .content-image {
        height: 40vh;
    }
    
    .onsen-text-right .onsen-content p {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
    }
    
    .image-caption {
        font-size: clamp(0.9rem, 3.5vw, 1.2rem);
    }
}

/* タイトルを画面中央上に配置 */
.onsen-hero-quality .section-title {
    position: absolute;
    top: 4vh;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    z-index: 10;
    margin: 0;
    padding: 1vh 2vw;
    border-radius: 0.5vw;
    font-size: clamp(1.5rem, 3vw, 3rem);
    text-align: center;
    background-color: transparent;
}

/* 画像の上のタイトルは非表示に */
.onsen-image-left .section-title {
    display: none;
}

/* 食事セクション用のスタイル */
.onsen-hero-food {
    position: relative;
}

.onsen-hero-food .section-title {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    z-index: 10;
    margin: 0;
    padding: 10px 30px;
    border-radius: 5px;
    font-size: 3vw;
    text-align: center;
    background-color: transparent;
}

.onsen-hero-food::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(121, 85, 72, 0.9), rgba(121, 85, 72, 0.5));
    z-index: 1;
    pointer-events: none;
}

.food-image {
    object-position: center 50%;
    position: relative;
}

/* 左右反転レイアウト */
.onsen-content-wrapper.reverse {
    flex-direction: row-reverse;
}

.onsen-text-left {
    flex: 0 0 45%;
    padding: 3vh 3vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: auto;
}

.onsen-text-left .onsen-content {
    position: static;
    background-color: transparent;
    text-align: left;
    padding: 0;
}

.onsen-text-left .onsen-content p {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-size: clamp(1.1rem, 2vw, 2.0rem);
    margin-bottom: 2vh;
    font-weight: 500;
    line-height: 1.6;
}

.onsen-image-right {
    flex: 0 0 48%;
    width: 48%;
    max-width: 48%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.content-image {
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin-top: 5vh;
    padding: 0;
    border-radius: 30px;
    border: none;
    box-sizing: border-box;
    filter: brightness(1.15) contrast(1.1);
}

.image-caption {
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 2.0rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    width: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .onsen-content-wrapper.reverse {
        flex-direction: column;
    }
    
    .onsen-image-right {
        max-width: 100%;
    }
}

/* ほぐし処セクション用のスタイル */
.onsen-hero-relaxation {
    position: relative;
}

.onsen-hero-relaxation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(188, 170, 164, 0.9), rgba(188, 170, 164, 0.5));
    z-index: 1;
    pointer-events: none;
}

.relaxation-image {
    object-position: center 50%;
    position: relative;
}

.onsen-hero-relaxation .section-title {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    z-index: 10;
    margin: 0;
    padding: 10px 30px;
    border-radius: 5px;
    font-size: 3vw;
    text-align: center;
    background-color: transparent;
}

/* レスポンシブ対応を追加 */
@media (max-width: 768px) {
    .onsen-hero-relaxation .section-title {
        font-size: 2rem;
    }
}

.onsen-image-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
    pointer-events: none;
}

/* ソーシャルメディアセクション */
#social-media {
    background-color: var(--bg-gray);
    position: relative;
    padding: 7.5vh 0;
}

#social-media .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

#social-media .section-title {
    position: relative;
}

#social-media .social-list {
    list-style: none;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
    border-top: 3px solid var(--primary-dark);
    padding: 2vh 0;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
}

#social-media .social-item {
    padding: 2vh 0;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    border-bottom: none;
    border-right: 1px solid var(--border-color);
    box-sizing: border-box;
    width: 25%;
    margin: 0;
}

#social-media .social-item:first-child {
    border-left: none;
}

#social-media .social-item:last-child {
    border-right: none;
}

#social-media .social-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 1vh;
    display: block;
    object-fit: scale-down;
    padding: 0.2rem;
    max-width: 2.5rem;
}

#social-media .social-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-serif);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    height: 100%;
}

#social-media .social-item a span {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#social-media .social-item a:hover {
    color: var(--primary-dark);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    #social-media {
        padding: 5vh 0;
    }
    
    #social-media .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    #social-media .social-list {
        width: 85%;
        padding: 2vh 0;
    }
    
    #social-media .social-item {
        padding: 1.5vh 0;
    }
    
    #social-media .social-icon {
        width: 2.2rem;
        height: 2.2rem;
    }
    
    #social-media .social-item a {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    #social-media {
        padding: 4vh 0;
    }
    
    #social-media .container {
        padding: 0 15px;
    }
    
    #social-media .section-title {
        font-size: 1.8rem;
    }
    
    #social-media .social-list {
        width: 90%;
        padding: 1.5vh 0;
    }
    
    #social-media .social-item {
        padding: 1vh 0;
    }
    
    #social-media .social-icon {
        width: 2.0rem;
        height: 2.0rem;
    }
    
    #social-media .social-item a {
        font-size: 0.85rem;
    }
}

.update-bubble {
    position: absolute;
    top: 20px;
    right: 5%;
    background-color: var(--primary-dark);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
    letter-spacing: 0.05em;
}

.update-bubble::before {
    content: '';
    position: absolute;
    left: 25px;
    bottom: -12px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid var(--primary-dark);
}

@media (max-width: 768px) {
    .update-bubble {
        font-size: 0.9rem;
        padding: 8px 20px;
        right: 3%;
        top: 15px;
    }
}

@media (max-width: 480px) {
    .update-bubble {
        font-size: 0.8rem;
        padding: 6px 16px;
        right: 2%;
        top: 12px;
    }
}

/* その他の情報セクション */
#other-info-section {
    background-color: var(--bg-gray);
    position: relative;
    width: 100%;
    padding: 3vh 0;
    display: flex;
    border: none !important;
    border-width: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

#other-info-section .container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
    border: none !important;
    border-width: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

#other-info-section .section-title {
    position: relative;
    font-family: var(--font-serif);
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 2.5rem;
    padding: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    #other-info-section {
        padding: 2vh 0;
    }
    
    #other-info-section .section-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    #other-info-section {
        padding: 1.5vh 0;
    }
    
    #other-info-section .section-title {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
}

/* アクセス・観光情報セクション */
#info-section {
    background-color: var(--bg-light);
    position: relative;
    width: 100%;
    height: 50vh;
    padding: 0;
    display: flex;
    border: none !important;
    border-width: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

#info-section .container {
    max-width: 100%;
    margin: 0;
    display: flex;
    padding: 0;
    width: 100%;
    border: none !important;
    border-width: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* 共通スタイル */
.info-box {
    flex: 1;
    position: relative;
    overflow: hidden;
    padding: 0;
    border: none !important;
    border-width: 0 !important;
    background: transparent;
    box-shadow: none !important;
    border-radius: 0;
    outline: none !important;
}

/* アクセス・観光情報共通リンクスタイル */
.access-link,
.tourism-link {
    display: block;
    text-decoration: none;
    width: 100%;
    height: 50vh;
    position: relative;
    border-radius: 0;
    border: none !important;
    border-width: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.access-image-container,
.tourism-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
    border: none !important;
    border-width: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.access-image,
.tourism-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    border: none !important;
    border-width: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* ホバー時のエフェクト */
.access-link:hover .access-image,
.tourism-link:hover .tourism-image {
    transform: scale(1.05);
}

/* 画像オーバーレイ - 非表示に */
.image-overlay {
    display: none !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    #info-section {
        flex-direction: column;
        height: auto;
        border: none !important;
        border-width: 0 !important;
        box-shadow: none !important;
        outline: none !important;
    }

    #info-section .container {
        flex-direction: column;
        border: none !important;
        border-width: 0 !important;
        box-shadow: none !important;
        outline: none !important;
    }

    .info-box {
        width: 100%;
        height: 40vh;
        border: none !important;
        border-width: 0 !important;
        box-shadow: none !important;
        outline: none !important;
    }

    .access-link,
    .tourism-link {
        height: 40vh;
        border: none !important;
        border-width: 0 !important;
        box-shadow: none !important;
        outline: none !important;
    }
}

@media (max-width: 480px) {
    .info-box {
        height: 35vh;
        border: none !important;
        border-width: 0 !important;
        box-shadow: none !important;
        outline: none !important;
    }

    .access-link,
    .tourism-link {
        height: 35vh;
        border: none !important;
        border-width: 0 !important;
        box-shadow: none !important;
        outline: none !important;
    }
}

/* 特定のセクションのレイアウトを反転 */
.onsen-hero:nth-of-type(2n) {
    flex-direction: row-reverse;
}

.onsen-hero:nth-of-type(2n+1) {
    flex-direction: row;
}

.onsen-hero:nth-of-type(2n) .onsen-title-area,
.onsen-hero:nth-of-type(2n+1) .onsen-title-area {
    margin-right: 0;
    margin-left: 0;
}

.onsen-hero:nth-of-type(2n) .onsen-image-area,
.onsen-hero:nth-of-type(2n+1) .onsen-image-area {
    margin-left: 0;
    margin-right: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .onsen-hero,
    .onsen-hero:nth-of-type(1),
    .onsen-hero:nth-of-type(2),
    .onsen-hero:nth-of-type(3),
    .onsen-hero:nth-of-type(4) {
        flex-direction: column;
    }

    .onsen-title-area {
        width: 100%;
        height: auto;
        padding: 4vh 2vw;
    }

    .onsen-image-area {
        width: 100%;
        height: 60vh;
    }

    .full-width-image {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .onsen-title-area {
        padding: 3vh 2vw;
    }

    .onsen-image-area {
        height: 50vh;
    }

    .full-width-image {
        width: 100%;
        height: 100%;
    }
}



/* Info Page Styles */
.info-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

.info-hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.info-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.info-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.info-hero-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 400;
    margin: 1rem 0 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.info-section {
    background-color: var(--bg-gray);
    padding: 7.5vh 0;
}

.info-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.info-card-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    padding: 1.5rem;
    margin: 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.info-card-content {
    padding: 1.5rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 0.5rem;
}

.info-item-text {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

.info-note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.info-note p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0.5rem 0;
}

.info-map-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.info-map {
    width: 100%;
    height: 400px;
    border: none;
}

.info-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .info-hero {
        height: 40vh;
    }

    .info-container {
        max-width: 90%;
    }

    .info-card-title {
        font-size: 1.6rem;
        padding: 1.2rem;
    }

    .info-card-content {
        padding: 1.2rem;
    }

    .info-item-title {
        font-size: 1.3rem;
    }

    .info-item-text {
        font-size: 1.0rem;
    }

    .info-map {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .info-hero {
        height: 35vh;
    }

    .info-container {
        max-width: 95%;
    }

    .info-card-title {
        font-size: 1.4rem;
        padding: 1rem;
    }

    .info-card-content {
        padding: 1rem;
    }

    .info-item-title {
        font-size: 1.2rem;
    }

    .info-item-text {
        font-size: 0.95rem;
    }

    .info-map {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .info-hero {
        height: 30vh;
    }

    .info-container {
        max-width: 100%;
        padding: 0 15px;
    }

    .info-card-title {
        font-size: 1.3rem;
        padding: 0.8rem;
    }

    .info-card-content {
        padding: 0.8rem;
    }

    .info-item-title {
        font-size: 1.1rem;
    }

    .info-item-text {
        font-size: 0.9rem;
    }

    .info-map {
        height: 250px;
    }
}

.charm-image {
    width: 20vh;
    height: auto;
    vertical-align: middle;
} 