/* ========================================================================== 
   観光情報ページ専用スタイル (main-content-sightseeing.css)
   ========================================================================== */

/* --- 0. 全体挙動 --- */
html {
    scroll-behavior: smooth; /* ページ内ジャンプを滑らかにする */
}

/* --- 1. ページヒーローエリア --- */
.page-hero {
    width: 100%;
    min-height: 200px;
    height: 12.5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 140px; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 背景を少し暗くして文字を読みやすく */
    z-index: -1;
}

.page-hero .hero-content {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.page-hero .section-title {
    color: #fff;
    font-size: 36px;
    margin: 0;
    line-height: 1.2;
}

.page-hero .section-title span {
    display: block;
    font-size: 14px;
    letter-spacing: 0.2em;
    margin-top: 5px;
    font-weight: normal;
}

@media (max-width: 768px) {
    .page-hero { height: 200px; min-height: auto; margin-top: 60px; }
    .page-hero .section-title { font-size: 28px; }
}

/* --- 2. イントロダクション (見出しエリア) --- */
.section-padding-concept { 
    margin-top: 60px;
    margin-bottom: 40px;
    padding: 0 20px; 
}

.section-title-area {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.main-facility-title {
    font-size: 32px;
    color: #5f4528; /* アネックスブラウン */
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.main-facility-title span {
    display: block;
    font-size: 16px;
    color: #8b6a3e; /* ゴールド系 */
    margin-top: 8px;
    text-transform: uppercase;
}

/* --- 2.5 イントロダクション (他ページ共通コンセプトボックス) --- */
.room-concept-box.facility-concept-box {
    background: linear-gradient(135deg, #7a5a34 0%, #5f4528 100%);
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 30px 0 10px; 
    margin-top: 40px;
    margin-bottom: 0; 
    text-align: center;
}

.room-concept-box.facility-concept-box .section-title-area {
    background: transparent !important;
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.room-concept-box.facility-concept-box .section-title-area::before {
    content: "QUALITY";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 160px;
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
}

.room-concept-box.facility-concept-box .section-title {
    color: #ffffff !important;
    position: relative;
    z-index: 2;
    font-size: 40px;
    font-weight: bold;
    margin: 20px 0 0;
    display: inline-block;
}

.room-concept-box.facility-concept-box .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #d2c3aa; /* ベージュ系アクセントライン */
    margin: 10px auto 0;
}

.room-concept-box.facility-concept-box .concept-lead {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.7 !important; 
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 20px;
    font-size: 19px;
    position: relative;
    z-index: 2;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .room-concept-box.facility-concept-box { padding: 25px 0 5px; }
    .room-concept-box.facility-concept-box .section-title-area::before { font-size: 80px; }
    .room-concept-box.facility-concept-box .section-title { font-size: 28px; }
    .room-concept-box.facility-concept-box .concept-lead { font-size: 16px; line-height: 1.6 !important; margin-bottom: 15px; }
}

/* --- 3. 主要観光スポット詳細 (facility-section) --- */
.facility-section {
    padding: 80px 0;
    border-bottom: 1px solid #d2c3aa;
}

.facility-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: center;
    padding: 0 20px;
}

.facility-container.reverse { flex-direction: row-reverse; }

.facility-visual { 
    flex: 1.2; 
    position: relative; 
    overflow: hidden; /* コピーライトのはみ出し防止 */
}

.facility-visual img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 10px 30px rgba(95, 69, 40, 0.1); }
.facility-info { flex: 1; }

.facility-tag {
    display: inline-block;
    background: #8b6a3e;
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.facility-name {
    font-size: 26px;
    color: #5f4528;
    margin-bottom: 20px;
    line-height: 1.4;
}

.facility-name span { display: block; font-size: 14px; color: #a6937c; font-weight: normal; }
.facility-desc { font-size: 15px; line-height: 1.8; color: #443e38; margin-bottom: 25px; }

.facility-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.facility-features li { font-size: 14px; display: flex; align-items: center; gap: 10px; color: #5f4528; }

.facility-spec {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    font-size: 14px;
}

.facility-spec th {
    width: 30%;
    background: #f3eee4;
    padding: 10px;
    border: 1px solid #d2c3aa;
    color: #5f4528;
    text-align: left;
}

.facility-spec td { padding: 10px; border: 1px solid #d2c3aa; color: #443e38; }

.facility-benefit {
    background: #fcfaf5;
    border-left: 4px solid #8b6a3e;
    padding: 15px;
    font-size: 14px;
    border-radius: 0 4px 4px 0;
    color: #5f4528;
}

/* --- 4. 観光スポット・グリッドエリア --- */
.facility-grid-section {
    padding: 80px 20px;
    background: #f3eee4;
}

.grid-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(95, 69, 40, 0.05);
    transition: transform 0.3s ease;
}

.grid-item:hover { transform: translateY(-5px); }

.grid-img { 
    position: relative; 
    overflow: hidden; /* コピーライトのはみ出し防止 */
}

.grid-img img { width: 100%; height: 200px; object-fit: cover; object-position: top;}
.grid-item h4 { padding: 15px 15px 5px; color: #5f4528; font-size: 18px; }
.grid-item p { padding: 0 15px 20px; font-size: 14px; color: #443e38; line-height: 1.6; }

/* --- 5. アクセス・サポート情報 (下段テーブル) --- */
.info-tables-section { padding: 20px 20px 80px; }
.info-wrapper { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
.info-table-block h3 { font-size: 20px; color: #5f4528; border-left: 5px solid #8b6a3e; padding-left: 15px; margin-bottom: 25px; }

/* --- 6. アニメーション & 共通 --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* --- 7. SP対応 --- */
@media (max-width: 992px) {
    .grid-container { grid-template-columns: repeat(2, 1fr); }
    .info-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .facility-container, .facility-container.reverse { flex-direction: column; gap: 30px; }
    .grid-container { grid-template-columns: 1fr; }
    .main-facility-title { font-size: 24px; }
    .facility-visual { width: 100%; }
}

/* --- 8. アンカーリンク着地位置調整 --- */
[id] {
    scroll-margin-top: 160px; 
}

@media (max-width: 768px) {
    .facility-section[id] {
        scroll-margin-top: 30px; 
    }
    .grid-item[id] {
        scroll-margin-top: 110px; 
    }
}

/* --- 9. 著作権表示（コピーライト） --- */
/* トップページのデザイン（黒い透かし背景）を反映 */
.copyright-tag {
    position: absolute;
    right: 0;           /* 右端に固定 */
    bottom: 0;          /* 下端に固定 */
    background: rgba(0, 0, 0, 0.5); /* 黒い透かし背景 */
    color: #fff;
    font-size: 10px;    /* トップページと統一 */
    padding: 2px 10px;
    letter-spacing: 0.05em;
    z-index: 2;
    pointer-events: none;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .copyright-tag {
        font-size: 9px;
        padding: 1px 8px;
    }
}