/*
Theme Name: Shizenkan
Description: Asahi自然観 オフィシャルWordPressテーマ
Version: 1.0.0
Text Domain: shizenkan
*/

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
    transition: background-color 0.5s;
}

/* Clips */
.clip-winter {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.clip-winter-reverse {
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}

.clip-green {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
}

.clip-green-top {
    clip-path: polygon(0 10%, 50% 0, 100% 10%, 100% 100%, 0 100%);
}

/* Loader */
#loader {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 0;
}

/* Visibility Helpers */
.season-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.season-content.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu Animation */
.hamburger-line {
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

.nav-open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.info-row {
    border-bottom: 1px dashed rgba(0, 91, 172, 0.2);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    border-radius: 6px;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Nav Item Visibility Helpers */
.nav-item-winter {
    display: none;
}

.nav-item-green {
    display: none;
}

body.season-winter .nav-item-winter {
    display: inline-block;
}

body.season-green .nav-item-green {
    display: inline-block;
}

/* For Mobile Flex Layout */
body.season-winter .mobile-item-winter {
    display: block;
}

body.season-green .mobile-item-green {
    display: block;
}

.mobile-item-winter,
.mobile-item-green {
    display: none;
}

/* Sub-page mobile nav link */
.mobile-nav-link {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.5rem;
    width: 100%;
    max-width: 20rem;
    transition: color 0.2s;
}

/* WordPress 管理バー表示時に固定ヘッダーをずらす */
.admin-bar header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar header {
        top: 46px;
    }
}

/* ============================================================
   下層ページ 共通スタイル
   ============================================================ */

/* ===== サブページローダー非表示 ===== */
body:not(.home) #loader {
    display: none !important;
}

/* ===== サブページ Hero ===== */
.hero-sub {
    clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
    min-height: 60vh;
}

/* ===== 斜めクリップ（冬ページ系） ===== */
.clip-down {
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    padding-bottom: 7rem;
}
.clip-up {
    clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
    padding-top: 7rem;
}
.clip-up-down {
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    padding-top: 5rem;
    padding-bottom: 6rem;
}
.clip-band {
    clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
    padding-top: 7rem;
    padding-bottom: 7rem;
}
.clip-diag-down {
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    padding-bottom: 8rem;
}
.clip-diag-up {
    clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
    padding-top: 8rem;
}

/* ===== グリーンページ用 クリップ ===== */
.hero-shrine {
    min-height: 100vh;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
    position: relative;
}
.clip-g-down {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
    padding-bottom: 9rem;
}
.clip-g-up {
    clip-path: polygon(0 8%, 50% 0, 100% 8%, 100% 100%, 0 100%);
    padding-top: 9rem;
}
.clip-g-band {
    clip-path: polygon(0 5%, 50% 0, 100% 5%, 100% 95%, 50% 100%, 0 95%);
    padding-top: 8rem;
    padding-bottom: 8rem;
}

/* アクティビティページ：斜めクリップ内の余白拡大（カード・見出しが切れないように） */
.clip-g-slash-down--activity {
    padding-bottom: 14rem !important;
}
@media (min-width: 768px) {
    .clip-g-slash-down--activity { padding-bottom: 18rem !important; }
}
.clip-g-band--activity {
    margin-top: 3rem;
    padding-top: 10rem !important;
    padding-bottom: 10rem !important;
}
@media (min-width: 768px) {
    .clip-g-band--activity {
        margin-top: 4.5rem;
        padding-top: 12rem !important;
        padding-bottom: 12rem !important;
    }
}
.clip-g-up--activity {
    padding-top: 11rem !important;
}
@media (min-width: 768px) {
    .clip-g-up--activity { padding-top: 14rem !important; }
}

/* 宿泊ページ：白い斜めクリップ下の余白拡大（予約ボタンが切れないように） */
.clip-down--cottage {
    padding-bottom: 11rem !important;
}
@media (min-width: 768px) {
    .clip-down--cottage { padding-bottom: 15rem !important; }
}

/* ===== スキーゲレンデ 写真グリッド ===== */
.ski-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 220px 220px 554px;
    gap: 10px;
}
.ski-grid .sg-p1 { grid-column: 1 / 8;  grid-row: 1 / 3; }
.ski-grid .sg-p2 { grid-column: 8 / 13; grid-row: 1 / 2; }
.ski-grid .sg-p3 { grid-column: 8 / 13; grid-row: 2 / 3; }
.ski-grid .sg-p4 { grid-column: 1 / 13; grid-row: 3 / 4; }
.ski-grid-alt .sg-p1 { grid-column: 6 / 13; grid-row: 1 / 3; }
.ski-grid-alt .sg-p2 { grid-column: 1 / 6;  grid-row: 1 / 2; }
.ski-grid-alt .sg-p3 { grid-column: 1 / 6;  grid-row: 2 / 3; }
.ski-grid-alt .sg-p4 { grid-column: 1 / 13; grid-row: 3 / 4; }
@media (max-width: 767px) {
    .ski-grid,
    .ski-grid.ski-grid-alt {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 180px 180px 554px 180px;
    }
    .ski-grid .sg-p1,
    .ski-grid-alt .sg-p1 { grid-column: 1 / 3; grid-row: 1 / 2; }
    .ski-grid .sg-p2,
    .ski-grid-alt .sg-p2 { grid-column: 1 / 2; grid-row: 2 / 3; }
    .ski-grid .sg-p3,
    .ski-grid-alt .sg-p3 { grid-column: 2 / 3; grid-row: 2 / 3; }
    .ski-grid .sg-p4,
    .ski-grid-alt .sg-p4 { grid-column: 1 / 3; grid-row: 3 / 4; }
}
.ski-photo {
    overflow: hidden;
    border-radius: 1rem;
    position: relative;
    background: #d1d5db;
}
.ski-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.ski-photo:hover img { transform: scale(1.05); }

/* ===== ゲレンデ概要テーブル ===== */
.overview-row {
    display: grid;
    grid-template-columns: 10rem 1fr;
    border-bottom: 1px dashed rgba(0, 91, 172, 0.15);
    padding: 0.75rem 0;
    gap: 1rem;
    align-items: baseline;
}
.overview-row:last-child { border-bottom: none; }
.overview-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #005bac;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.overview-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.6;
}
@media (max-width: 640px) {
    .overview-row { grid-template-columns: 8rem 1fr; }
}

/* ===== 料金テーブル ===== */
.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.price-table th,
.price-table td { padding: 0.75rem 1rem; text-align: center; font-size: 0.9rem; }
.price-table thead th { background: #005bac; color: white; font-weight: 700; font-size: 0.8rem; }
.price-table thead th:first-child { border-radius: 0.75rem 0 0 0; }
.price-table thead th:last-child  { border-radius: 0 0.75rem 0 0; }
.price-table tbody tr:nth-child(even) { background: #f8faff; }
.price-table tbody tr:nth-child(odd)  { background: #ffffff; }
.price-table tbody td { border-bottom: 1px solid #e5e7eb; font-weight: 600; color: #1a1a1a; }
.price-table tbody td:first-child { text-align: left; font-weight: 700; color: #005bac; white-space: nowrap; }
.price-table .price-amount { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 900; }
.price-table tbody tr.row-season td { background: #1a1a1a !important; color: #ffeb3b !important; }
.price-table tbody tr.row-season td:first-child { color: #ffeb3b !important; }
.price-table tbody tr.row-season .price-amount { color: #ffeb3b; }

/* ===== レンタルテーブル ===== */
.rental-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.rental-table th { background: #005bac; color: white; padding: 0.75rem 1rem; font-weight: 700; text-align: center; }
.rental-table th.sub { background: #1a6fc4; font-size: 0.8rem; font-weight: 600; }
.rental-table td { padding: 0.75rem 1rem; text-align: center; border-bottom: 1px solid #e5e7eb; vertical-align: middle; }
.rental-table td.item-cell { text-align: center; font-weight: 700; color: #1a1a1a; background: #f8fafc; line-height: 1.6; }
.rental-table td.item-cell .or { font-size: 0.7rem; font-weight: 600; color: #6b7280; }
.rental-table td.item-cell .sub-name { font-size: 0.75rem; font-weight: 500; color: #374151; }
.rental-table td.price-cell { font-weight: 700; color: #005bac; font-family: 'Montserrat', sans-serif; }
.rental-table tbody tr:hover td { background: #eff6ff; }
.rental-table td.item-cell:hover { background: #f0f4f8; }

/* ===== レッスン情報 ===== */
.lesson-info-row { display: flex; gap: 0; border-bottom: 1px solid #e5e7eb; }
.lesson-info-label { width: 9rem; flex-shrink: 0; background: #f8fafc; padding: 0.9rem 1rem; font-weight: 700; font-size: 0.85rem; color: #005bac; border-right: 2px solid #005bac; }
.lesson-info-value { padding: 0.9rem 1rem; font-size: 0.875rem; line-height: 1.8; color: #374151; }
@media (max-width: 640px) {
    .lesson-info-row { flex-direction: column; }
    .lesson-info-label { width: 100%; border-right: none; border-bottom: 2px solid #005bac; }
}

/* ===== サービスデーカレンダー ===== */
.cal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 767px) { .cal-grid { grid-template-columns: 1fr; } }
.cal-month { background: white; border-radius: 1rem; overflow: hidden; box-shadow: 0 4px 20px -4px rgba(0,91,172,0.12); border: 1px solid #e5e7eb; }
.cal-month-header { background: #005bac; color: white; padding: 0.75rem 1rem; display: flex; align-items: baseline; gap: 0.5rem; }
.cal-month-name-ja { font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 900; font-size: 1.2rem; }
.cal-month-name-en { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.75rem; opacity: 0.75; letter-spacing: 0.1em; }
.cal-month-year { font-family: 'Montserrat', sans-serif; font-size: 0.75rem; opacity: 0.6; margin-left: auto; }
.cal-day-header { display: grid; grid-template-columns: repeat(7, 1fr); background: #e8f0fb; padding: 0.25rem 0.5rem; }
.cal-day-header span { text-align: center; font-size: 0.65rem; font-weight: 700; color: #4b5563; padding: 0.25rem 0; }
.cal-day-header span:first-child { color: #e53e3e; }
.cal-day-header span:last-child  { color: #005bac; }
.cal-body { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; padding: 0.5rem; }
.cal-cell { position: relative; aspect-ratio: 3/4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 0.75rem; font-weight: 600; color: #374151; border-radius: 6px; cursor: default; padding: 3px 0; }
.cal-cell.sun { color: #e53e3e; }
.cal-cell.sat { color: #005bac; }
.cal-cell.empty { opacity: 0; pointer-events: none; }
.cal-cell.inactive { color: #d1d5db; }
.cal-cell.has-event { background: rgba(255,255,255,0.06); }
.cal-day-num { line-height: 1; }
.cal-dots { display: flex; gap: 3px; flex-wrap: wrap; justify-content: center; max-width: 100%; }
.cal-dot { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; }
@media (max-width: 480px) { .cal-dot { width: 16px; height: 16px; } }
.cal-cell[title]:hover::after { content: attr(title); position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.85); color: white; font-size: 0.6rem; white-space: nowrap; padding: 3px 6px; border-radius: 4px; z-index: 10; pointer-events: none; }
.legend-grid { display: grid; grid-template-columns: 1fr; gap: 0.6rem; }
@media (min-width: 640px) { .legend-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem 2rem; } }
.legend-item { display: flex; align-items: flex-start; gap: 0.6rem; }
.legend-dot { width: 1rem; height: 1rem; border-radius: 50%; flex-shrink: 0; margin-top: 0.15rem; }
.legend-text { display: flex; flex-direction: column; gap: 0.15rem; }
.legend-name { font-size: 0.8rem; font-weight: 700; color: #f3f4f6; line-height: 1.2; }
.legend-schedule { font-size: 0.7rem; font-weight: 500; color: #9ca3af; line-height: 1.3; }
.legend-star { width: 1rem; height: 1rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #d69e2e; font-size: 1rem; line-height: 1; }

/* ===== レストラン 施設写真 ===== */
.facility-exterior { aspect-ratio: 16 / 9; background: #d1d5db; border-radius: 1.25rem; overflow: hidden; position: relative; }
.facility-interior { aspect-ratio: 4 / 3; background: #d1d5db; border-radius: 1rem; overflow: hidden; position: relative; }
.facility-exterior img, .facility-interior img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.facility-exterior:hover img, .facility-interior:hover img { transform: scale(1.04); }
.menu-feature-img { aspect-ratio: 4 / 3; background: #d1d5db; border-radius: 1.25rem; overflow: hidden; position: relative; }
.menu-feature-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.menu-feature-img:hover img { transform: scale(1.05); }
.menu-small-img { aspect-ratio: 1 / 1; background: #d1d5db; border-radius: 0.75rem; overflow: hidden; position: relative; }
.menu-small-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.menu-small-img:hover img { transform: scale(1.07); }
.facility-tab-btn { padding: 0.6rem 1.5rem; border-radius: 9999px; font-weight: 700; font-size: 0.875rem; transition: all 0.25s; cursor: pointer; border: 2px solid transparent; }
.facility-tab-btn.active { background: #005bac; color: white; }
.facility-tab-btn:not(.active) { background: white; color: #6b7280; border-color: #e5e7eb; }
.facility-tab-btn:not(.active):hover { border-color: #005bac; color: #005bac; }

/* ===== 宿泊・各棟 ===== */
/* 各棟タブ：横スクロールが分かるようスクロールバーを表示 */
.tab-wrap {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #9ca3af #f3f4f6; /* つまみ / トラック (Firefox) */
}
.tab-wrap::-webkit-scrollbar {
  height: 8px;
}
.tab-wrap::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 9999px;
}
.tab-wrap::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 9999px;
}
.tab-wrap::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}
.tab-btn { flex-shrink: 0; padding: 0.55rem 1.4rem; border-radius: 9999px; font-weight: 700; font-size: 0.875rem; cursor: pointer; border: 2px solid #1a1a1a; transition: all 0.2s; font-family: 'Zen Kaku Gothic New', sans-serif; }
/* 各棟紹介：正式名が長いため折り返し＋幅上限 */
#cottage-types .tab-wrap .tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  max-width: 13.5rem;
}
#cottage-types .tab-wrap .tab-btn .tab-btn-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  line-height: 1.2;
}
#cottage-types .tab-wrap .tab-btn .tab-btn-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
#cottage-types .tab-wrap .tab-btn .tab-btn-cap {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.88;
}
#cottage-types .tab-wrap .tab-btn.active .tab-btn-cap {
  opacity: 0.95;
}
@media (min-width: 768px) {
  #cottage-types .tab-wrap .tab-btn { max-width: 16rem; font-size: 0.8125rem; }
  #cottage-types .tab-wrap .tab-btn .tab-btn-cap { font-size: 0.72rem; }
}
.tab-scroll-hint { opacity: 0.85; }
.tab-btn.active { background: #1a1a1a; color: #ffeb3b; }
.tab-btn:not(.active) { background: white; color: #1a1a1a; }
.tab-btn:not(.active):hover { background: #f3f4f6; }
.cottage-panel { display: none; }
.cottage-panel.active { display: block; }
.floor-plan-wrap { aspect-ratio: 4 / 3; background: #d1d5db; border-radius: 1rem; overflow: hidden; position: relative; }
.floor-plan-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-img-wrap { aspect-ratio: 4 / 3; background: #d1d5db; border-radius: 0.75rem; overflow: hidden; position: relative; cursor: pointer; }
.gallery-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-img-wrap:hover img { transform: scale(1.06); }
.gallery-label { position: absolute; bottom: 8px; left: 10px; background: rgba(0,0,0,0.55); color: #fff; font-size: 0.6rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; letter-spacing: 0.08em; pointer-events: none; }
.spec-chip { display: inline-flex; flex-direction: column; align-items: center; gap: 0.1rem; background: #f3f4f6; border-radius: 0.75rem; padding: 0.5rem 1rem; }
.spec-chip .sc-label { font-size: 0.7rem; color: #6b7280; font-weight: 700; letter-spacing: 0.05em; }
.spec-chip .sc-val   { font-size: 1rem; font-weight: 900; color: #1a1a1a; font-family: 'Montserrat', sans-serif; }
.amenity-tbl { width: 100%; border-collapse: collapse; }
.amenity-tbl tr { border-bottom: 1px solid rgba(255,255,255,0.08); }
.amenity-tbl td { padding: 0.875rem 1rem; font-size: 0.875rem; vertical-align: top; }
.amenity-tbl td.a-label { font-weight: 700; color: #ffeb3b; width: 6rem; white-space: nowrap; border-right: 1px solid rgba(255,255,255,0.12); }
.amenity-tbl td.a-val { color: rgba(255,255,255,0.8); line-height: 1.8; }
.pay-tag { display: inline-block; background: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 0.375rem; padding: 0.25rem 0.625rem; font-size: 0.75rem; font-weight: 600; color: #374151; margin: 0.2rem 0.15rem; }
.cancel-row { display: flex; align-items: center; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px dashed #e5e7eb; }
.cancel-row:last-child { border-bottom: none; }
.cancel-when { font-weight: 700; font-size: 0.875rem; color: #374151; min-width: 7rem; }
.cancel-pct  { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.3rem; color: #1a1a1a; min-width: 3.5rem; }
.cancel-bar-track { flex: 1; height: 0.45rem; background: #f3f4f6; border-radius: 9999px; overflow: hidden; }
.cancel-bar-fill  { height: 100%; border-radius: 9999px; background: #1a1a1a; }
.rental-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
@media (max-width: 640px) { .rental-grid { grid-template-columns: 1fr; } }
.rental-item { background: white; border-radius: 0.75rem; padding: 0.7rem 1rem; display: flex; justify-content: space-between; align-items: center; border: 1px solid #e5e7eb; }
.ri-name  { font-size: 0.8rem; font-weight: 600; color: #374151; }
.ri-price { font-family: 'Montserrat', sans-serif; font-weight: 700; color: #1a1a1a; font-size: 0.875rem; }
.bbq-photo { aspect-ratio: 16 / 9; background: #d1d5db; border-radius: 1.25rem; overflow: hidden; position: relative; }
.bbq-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.info-row { display: flex; border-bottom: 1px solid #e5e7eb; }
.info-row:last-child { border-bottom: none; }
.info-label { flex-shrink: 0; width: 10rem; padding: 1rem; font-weight: 700; font-size: 0.85rem; color: #1a1a1a; background: #fafafa; border-right: 2px solid #1a1a1a; }
.info-val { padding: 1rem 1.25rem; font-size: 0.875rem; color: #374151; line-height: 1.8; }
@media (max-width: 640px) {
    .info-row { flex-direction: column; }
    .info-label { width: 100%; border-right: none; border-bottom: 2px solid #1a1a1a; }
}

/* ===== アクセス ===== */
.map-frame { width: 100%; aspect-ratio: 16 / 9; border-radius: 1.25rem; overflow: hidden; box-shadow: 0 20px 60px -10px rgba(0,0,0,0.18); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.access-card { border-radius: 1.25rem; border: 1px solid #e5e7eb; background: white; overflow: hidden; box-shadow: 0 4px 24px -4px rgba(0,0,0,0.08); transition: box-shadow 0.3s, transform 0.3s; }
.access-card:hover { box-shadow: 0 12px 40px -8px rgba(0,0,0,0.12); transform: translateY(-3px); }
.access-card-header { background: #1a1a1a; color: white; padding: 1rem 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.access-card-header .icon-wrap { width: 2.5rem; height: 2.5rem; background: rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.access-card-body { padding: 1.25rem; }
.route-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px dashed #e5e7eb; }
.route-row:last-child { border-bottom: none; }
.route-from { font-weight: 700; font-size: 0.9rem; color: #1a1a1a; min-width: 8rem; }
.route-arrow { color: #9ca3af; font-size: 0.75rem; flex-shrink: 0; }
.route-time { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.1rem; color: #1a1a1a; flex-shrink: 0; }
.route-note { font-size: 0.75rem; color: #6b7280; margin-left: auto; }

/* ===== 空気神社 写真グリッド ===== */
.shrine-photo-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 280px 360px; gap: 12px; }
.shrine-photo-grid .sp-1 { grid-column: 1 / 7;  grid-row: 1 / 2; }
.shrine-photo-grid .sp-2 { grid-column: 7 / 13; grid-row: 1 / 2; }
.shrine-photo-grid .sp-3 { grid-column: 1 / 5;  grid-row: 2 / 3; }
.shrine-photo-grid .sp-4 { grid-column: 5 / 13; grid-row: 2 / 3; }
@media (max-width: 767px) {
    .shrine-photo-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 200px 260px 260px; }
    .shrine-photo-grid .sp-1 { grid-column: 1 / 3; grid-row: 1 / 2; }
    .shrine-photo-grid .sp-2 { grid-column: 1 / 2; grid-row: 2 / 3; }
    .shrine-photo-grid .sp-3 { grid-column: 2 / 3; grid-row: 2 / 3; }
    .shrine-photo-grid .sp-4 { grid-column: 1 / 3; grid-row: 3 / 4; }
}
.shrine-photo { background: #d1d5db; border-radius: 1.25rem; overflow: hidden; position: relative; }
.shrine-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.shrine-photo:hover img { transform: scale(1.04); }

/* ===== 空気神社 参拝ステップ ===== */
.origin-img { aspect-ratio: 3 / 4; background: #d1d5db; border-radius: 2rem; overflow: hidden; position: relative; }
.origin-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.step-card { background: white; border-radius: 1.5rem; overflow: hidden; box-shadow: 0 4px 30px -4px rgba(0,0,0,0.10); transition: transform 0.3s, box-shadow 0.3s; }
.step-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -8px rgba(0,0,0,0.15); }
.step-photo { aspect-ratio: 4 / 3; background: #d1d5db; position: relative; overflow: hidden; }
.step-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.step-card:hover .step-photo img { transform: scale(1.05); }
.step-number { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 3.5rem; line-height: 1; color: #1a1a1a; opacity: 0.1; position: absolute; top: 0.5rem; right: 1rem; }
.deco-circle { position: absolute; border-radius: 50%; pointer-events: none; }

/* ===== アクティビティ ===== */
.hero-activity { min-height: 100vh; clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%); position: relative; }
.clip-g-slash-down { clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); padding-bottom: 8rem; }
.clip-g-slash-up   { clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%); padding-top: 7rem; }
.activity-card { border-radius: 2rem; overflow: hidden; position: relative; background: white; box-shadow: 0 8px 40px -8px rgba(45,106,79,0.15); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.activity-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px -12px rgba(45,106,79,0.25); }
.activity-img { position: relative; overflow: hidden; }
.activity-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.activity-card:hover .activity-img img { transform: scale(1.06); }
.activity-featured { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 0; border-radius: 2rem; overflow: hidden; box-shadow: 0 12px 60px -12px rgba(0,0,0,0.15); }
@media (max-width: 767px) { .activity-featured { grid-template-columns: 1fr; } }
.af-photo { background: #d1d5db; position: relative; overflow: hidden; min-height: 320px; }
.af-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.activity-featured:hover .af-photo img { transform: scale(1.04); }
.facility-card { background: white; border-radius: 1.5rem; overflow: hidden; box-shadow: 0 4px 24px -4px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; }
.facility-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -8px rgba(45,106,79,0.18); }
.facility-img { position: relative; overflow: hidden; background: #d1d5db; }
.facility-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.facility-card:hover .facility-img img { transform: scale(1.06); }
.green-band { background: linear-gradient(135deg, #2d6a4f 0%, #52b788 100%); }
@keyframes bounceY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.bounce-y { animation: bounceY 1.8s ease-in-out infinite; }

/* ===== FAQ アコーディオン ===== */
.tab-scroll { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tab-scroll::-webkit-scrollbar { display: none; }
.faq-tab, .cat-tab {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 1.4rem; border-radius: 9999px;
    font-weight: 700; font-size: 0.875rem; cursor: pointer;
    border: 2px solid #1a1a1a; transition: all 0.2s; white-space: nowrap;
    background: white; color: #1a1a1a;
}
.faq-tab.active, .cat-tab.active { background: #1a1a1a; color: #ffeb3b; }
.faq-tab:not(.active):hover, .cat-tab:not(.active):hover { background: #f3f4f6; }
.faq-panel, .cat-panel { display: none; }
.faq-panel.active, .cat-panel.active { display: block; }
.acc-item { border-bottom: 1px solid #e5e7eb; overflow: hidden; }
.acc-item:first-child { border-top: 1px solid #e5e7eb; }
.acc-btn { width: 100%; display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 0; text-align: left; background: transparent; border: none; cursor: pointer; font-family: 'Zen Kaku Gothic New', sans-serif; }
.acc-btn:hover .acc-q-text { opacity: 0.75; }
.acc-q-label { flex-shrink: 0; width: 2rem; height: 2rem; background: #1a1a1a; color: #ffeb3b; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 0.875rem; margin-top: 0.1rem; }
.acc-q-text { font-weight: 700; font-size: 1rem; color: #1a1a1a; line-height: 1.6; flex: 1; transition: opacity 0.2s; }
.acc-icon { flex-shrink: 0; width: 1.5rem; height: 1.5rem; color: #9ca3af; transition: transform 0.3s ease; margin-top: 0.25rem; }
.acc-btn.open .acc-icon { transform: rotate(180deg); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.acc-body.open { grid-template-rows: 1fr; }
.acc-body-inner { overflow: hidden; }
.acc-a-wrap { display: flex; gap: 1rem; padding: 0 0 1.25rem 3rem; }
.acc-a-label { flex-shrink: 0; width: 2rem; height: 2rem; background: #f3f4f6; color: #6b7280; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 0.875rem; margin-top: 0.1rem; }
.acc-a-text { font-size: 0.9rem; color: #374151; line-height: 1.9; flex: 1; }

/* ===== パンフレットカード ===== */
.pamphlet-card { background: white; border-radius: 1.5rem; overflow: hidden; border: 1px solid #e5e7eb; box-shadow: 0 4px 24px -4px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; }
.pamphlet-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -8px rgba(0,0,0,0.14); }
.pamphlet-thumb { aspect-ratio: 3 / 4; background: #e5e7eb; position: relative; overflow: hidden; }
.pamphlet-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pamphlet-card:hover .pamphlet-thumb img { transform: scale(1.04); }

/* ===== お知らせ フィルタタブ ===== */
.news-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.3rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    border: 2px solid #1a1a1a;
    transition: all 0.2s;
    white-space: nowrap;
    background: white;
    color: #1a1a1a;
    text-decoration: none;
}
.news-filter-tab.active { background: #1a1a1a; color: #ffeb3b; }
.news-filter-tab:not(.active):hover { background: #f3f4f6; }

/* ===== お知らせ 本文（prose相当） ===== */
.news-content { color: #374151; line-height: 2; font-size: 0.9375rem; }
.news-content h2 { font-size: 1.375rem; font-weight: 900; color: #1a1a1a; margin: 2em 0 0.75em; padding-bottom: 0.4em; border-bottom: 2px solid #e5e7eb; }
.news-content h3 { font-size: 1.125rem; font-weight: 700; color: #1a1a1a; margin: 1.75em 0 0.5em; }
.news-content p { margin: 0 0 1.2em; }
.news-content ul, .news-content ol { padding-left: 1.5em; margin: 0 0 1.2em; }
.news-content li { margin-bottom: 0.4em; }
.news-content a { color: #005bac; text-decoration: underline; }
.news-content a:hover { opacity: 0.75; }
.news-content img { border-radius: 0.75rem; max-width: 100%; height: auto; margin: 1.5em auto; display: block; }
.news-content blockquote { border-left: 4px solid #e5e7eb; padding: 0.5em 1em; margin: 1.2em 0; color: #6b7280; }
.news-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.875rem; }
.news-content th { background: #1a1a1a; color: white; padding: 0.6em 1em; text-align: left; font-weight: 700; }
.news-content td { padding: 0.6em 1em; border-bottom: 1px solid #e5e7eb; }
.news-content tr:nth-child(even) td { background: #f9fafb; }

/* ===== お知らせ ページネーション ===== */
.news-pagination ul { display: flex; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.news-pagination li a,
.news-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.75rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    border: 2px solid #e5e7eb;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.2s;
}
.news-pagination li a:hover { border-color: #005bac; color: #005bac; }
.news-pagination li span.current { background: #005bac; border-color: #005bac; color: white; }
.news-pagination li span.dots { border-color: transparent; color: #9ca3af; }

/* ===== 朝日町観光ガイド ===== */
.tourism-cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.8125rem;
    border: 2px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
}
.tourism-cat-pill-active {
    border-color: #2d6a4f;
    background: #2d6a4f;
    color: #fff;
}
.tourism-cat-pill-muted { opacity: 0.85; }
.tourism-timeline { list-style: none; margin: 0; padding: 0; }
.tourism-timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 1.25rem;
    padding-bottom: 2rem;
}
.tourism-timeline-item:last-child { padding-bottom: 0; }
.tourism-timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 2.5rem;
    flex-shrink: 0;
}
.tourism-timeline-dot {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #2d6a4f;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}
.tourism-timeline-line {
    flex: 1;
    width: 3px;
    min-height: 2rem;
    margin-top: 0.35rem;
    background: linear-gradient(180deg, #52b788 0%, #d8f3dc 100%);
    border-radius: 2px;
}
.tourism-timeline-body {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 24px -4px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

/* ===== プライバシーポリシー ===== */
.privacy-section { border-top: 1px solid #e5e7eb; padding-top: 2.5rem; }
.privacy-heading {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 1.125rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 1.25rem;
}
.privacy-num {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    background: #1a1a1a;
    color: #ffeb3b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 0.875rem;
}
.privacy-body { padding-left: 3.125rem; color: #4b5563; font-size: 0.9rem; line-height: 2; }
.privacy-list { list-style: none; padding: 0; margin: 0; space-y: 0.5rem; }
.privacy-list li { padding-left: 1.25em; position: relative; margin-bottom: 0.4em; }
.privacy-list li::before { content: '・'; position: absolute; left: 0; color: #9ca3af; }

/* ===== お問い合わせフォーム ===== */
.contact-field-wrap { display: flex; flex-direction: column; gap: 0.375rem; }
.contact-label { font-weight: 700; font-size: 0.875rem; color: #1a1a1a; display: flex; align-items: center; gap: 0.5rem; }
.contact-required { background: #1a1a1a; color: #ffeb3b; font-size: 0.65rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 9999px; letter-spacing: 0.04em; }
.contact-optional  { background: #e5e7eb; color: #6b7280; font-size: 0.65rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 9999px; }
.contact-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.875rem;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 0.9375rem;
    color: #1a1a1a;
    background: #f9fafb;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
}
.contact-input:focus {
    border-color: #1a1a1a;
    background: white;
    box-shadow: 0 0 0 3px rgba(26,26,26,0.08);
}
.contact-input::placeholder { color: #9ca3af; }
.contact-select { padding-right: 2.5rem; cursor: pointer; }
.contact-error { font-size: 0.8rem; color: #ef4444; font-weight: 700; margin-top: 0.25rem; }

/* ===== 宿泊・ゲレンデ共通 ライトボックス ===== */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 0.5rem; box-shadow: 0 25px 60px rgba(0,0,0,0.6); }
#lightbox-close { position: absolute; top: 1.25rem; right: 1.5rem; color: #fff; font-size: 2rem; cursor: pointer; opacity: 0.7; transition: opacity 0.2s; line-height: 1; }
#lightbox-close:hover { opacity: 1; }
