/* ============================================
   カットステーション 店舗ページ スタイルシート
   ============================================ */

:root {
    --primary-blue: #0052cc;
    --secondary-blue: #00b4db;
    --accent-red: #e53e3e;
    --accent-blue: #3182ce;
    --text-dark: #1a202c;
    --text-main: #2d3748;
    --text-light: #4a5568;
    --bg-white: #ffffff;
    --bg-light: #f7fafc;
    --soft-blue: #ebf4ff;
    --border-color: #e2e8f0;
    --card-shadow: 0 10px 25px rgba(0, 82, 204, 0.1);
    --card-shadow-hover: 0 20px 40px rgba(0, 82, 204, 0.18);
    --border-radius: 32px;
}

/* ============================================
   Reset & Base
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* アクセシビリティ: スキップリンク */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--primary-blue);
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 8px;
    z-index: 10000;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
    outline: 3px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* アクセシビリティ: キーボード操作時のフォーカス視認性向上 */
:focus-visible {
    outline: 2.5px solid var(--primary-blue);
    outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.bg-gradient {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 48px 0;
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .section-padding {
        padding: 36px 0;
    }
}

.text-center {
    text-align: center;
}

/* 改行防止ユーティリティ */
.no-break {
    display: inline-block;
    white-space: nowrap;
    max-width: 100%;
}

/* ============================================
   Header (Glassmorphism & Enhanced Visibility)
   ============================================ */
header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 82, 204, 0.12);
    box-shadow: 0 4px 25px rgba(0, 82, 204, 0.08);
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.logo {
    font-size: clamp(1.3rem, 4.2vw, 1.7rem);
    font-weight: 900;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo i {
    font-size: 1.5rem;
}

header nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    header {
        padding: 12px 0;
    }
    header .container {
        padding: 0 14px;
    }
    .logo {
        font-size: 1.25rem;
        gap: 6px;
    }
    .logo i {
        font-size: 1.35rem;
    }
    header nav {
        gap: 6px;
    }
    header nav .btn {
        padding: 6px 12px;
        font-size: 0.78rem;
        border-radius: 20px;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 11px 0;
    }
    header .container {
        padding: 0 10px;
    }
    .logo {
        font-size: 1.15rem;
        gap: 5px;
    }
    .logo i {
        font-size: 1.25rem;
    }
    header nav {
        gap: 4px;
    }
    header nav .btn {
        padding: 5px 8px;
        font-size: 0.72rem;
        border-radius: 16px;
        gap: 3px;
    }
}

@media (max-width: 360px) {
    .logo {
        font-size: 1.08rem;
    }
    header nav .btn {
        padding: 4px 6px;
        font-size: 0.68rem;
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0066ff 100%);
    color: white !important;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
}

.btn-primary:hover::after {
    left: 120%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 82, 204, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue) !important;
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--soft-blue);
    transform: translateY(-2px);
}

/* ============================================
   Hero Section (Enhanced Gradient & Pattern)
   ============================================ */
.hero {
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 82, 204, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.07) 0%, transparent 40%),
        linear-gradient(135deg, #eaf2ff 0%, #ffffff 50%, #f0fdf4 100%);
    padding: 52px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        padding: 38px 0 28px;
    }
}

/* 幾何学クロスグリッド＆ドットメッシュ模様 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(0, 82, 204, 0.12) 1.2px, transparent 1.2px),
        linear-gradient(to right, rgba(0, 82, 204, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 82, 204, 0.03) 1px, transparent 1px);
    background-size: 24px 24px, 48px 48px, 48px 48px;
    background-position: 0 0, 0 0, 0 0;
    pointer-events: none;
    opacity: 0.85;
}

.hero h1 {
    font-size: clamp(1.35rem, 5.8vw, 3.4rem);
    color: var(--primary-blue);
    margin-bottom: 16px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: clamp(1.2rem, 5.2vw, 1.7rem);
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.12rem;
    }
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 24px;
    font-weight: 500;
}

@keyframes hero-badge-float {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 8px 24px rgba(229, 62, 62, 0.35);
    }
    50% {
        transform: translateY(-5px);
        box-shadow: 0 16px 32px rgba(229, 62, 62, 0.5);
    }
}

@keyframes hero-badge-shine {
    0% {
        left: -120%;
    }
    20%, 100% {
        left: 220%;
    }
}

.hero-badge {
    background: linear-gradient(135deg, #e53e3e 0%, #dd6b20 100%);
    color: white;
    padding: 11px 30px;
    border-radius: 50px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 0;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.06em;
    animation: hero-badge-float 3.2s ease-in-out infinite;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ============================================
   Emergency Notice Banner (緊急告知メッセージ)
   ============================================ */
.emergency-notice-banner {
    max-width: 680px;
    margin: 0 auto 20px;
    padding: 16px 22px;
    border-radius: 18px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    line-height: 1.5;
}

.emergency-notice-banner.type-alert {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe3e3 100%);
    border: 2px solid #f87171;
    color: #991b1b;
}
.emergency-notice-banner.type-alert .notice-icon-wrapper {
    background: #ef4444;
    color: #ffffff;
}

.emergency-notice-banner.type-warning {
    background: linear-gradient(135deg, #fffaf0 0%, #feebc8 100%);
    border: 2px solid #f6ad55;
    color: #9c4221;
}
.emergency-notice-banner.type-warning .notice-icon-wrapper {
    background: #dd6b20;
    color: #ffffff;
}

.emergency-notice-banner.type-info {
    background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
    border: 2px solid #63b3ed;
    color: #2b6cb0;
}
.emergency-notice-banner.type-info .notice-icon-wrapper {
    background: #3182ce;
    color: #ffffff;
}

.notice-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.notice-body {
    flex: 1;
}

.notice-title {
    font-size: 1.08rem;
    font-weight: 900;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.notice-badge {
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.12);
    font-weight: 700;
}

.notice-message {
    font-size: 0.92rem;
    font-weight: 500;
    opacity: 0.95;
}

@media (max-width: 576px) {
    .emergency-notice-banner {
        padding: 12px 14px;
        gap: 10px;
        border-radius: 14px;
    }
    .notice-icon-wrapper {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }
    .notice-title {
        font-size: 0.98rem;
    }
    .notice-message {
        font-size: 0.85rem;
    }
}

@keyframes hero-icon-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.18); opacity: 0.85; }
}

.hero-badge i {
    font-size: 1.1rem;
    color: white;
    display: inline-block;
    animation: hero-icon-pulse 2.2s infinite ease-in-out;
}

.hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.45) 50%,
        transparent 100%
    );
    transform: skewX(-22deg);
    animation: hero-badge-shine 3.8s infinite;
}

/* ============================================
   Price Cards (Premium Styling)
   ============================================ */
.price-cards {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.price-card {
    background: white;
    border: 2px solid rgba(226, 232, 240, 0.9);
    padding: 44px 32px;
    border-radius: 28px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    box-shadow: 0 12px 36px rgba(0, 82, 204, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 82, 204, 0.16);
}

.price-card.card-adult {
    border: 2px solid var(--primary-blue);
    background: linear-gradient(180deg, #dbeafe 0%, #f0f7ff 55%, #ffffff 100%);
}

.price-card.card-child {
    border: 2px solid #10b981;
    background: linear-gradient(180deg, #d1fae5 0%, #f0fdf4 55%, #ffffff 100%);
}

/* コーナーリボン (地域最安級) */
.card-ribbon-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 110px;
    height: 110px;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
}

.card-ribbon {
    position: absolute;
    top: 22px;
    right: -34px;
    width: 145px;
    padding: 6px 0;
    color: #ffffff;
    font-size: 0.73rem;
    font-weight: 900;
    text-align: center;
    transform: rotate(45deg);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.03em;
    line-height: 1;
    white-space: nowrap;
}

.card-ribbon.ribbon-adult {
    background: linear-gradient(135deg, #0052cc 0%, #003399 100%);
}

.card-ribbon.ribbon-child {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.price-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 900;
}

.price-card h3 span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

.price-card .amount {
    font-size: clamp(2.5rem, 8vw, 3.2rem);
    font-weight: 900;
    color: var(--primary-blue);
    margin: 16px 0 8px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.price-card.card-child .amount {
    color: #059669;
}

.price-card .amount span {
    font-size: 1.2rem;
    font-weight: 700;
}

/* ============================================
   Images
   ============================================ */
.img-decorated {
    border: 8px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 24px;
    width: 100%;
    height: auto;
    display: block;
}

.feature-img {
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 769px) {
    .feature-card-item {
        max-width: 420px !important;
    }
    .feature-img {
        height: 240px;
        width: 100%;
        object-fit: cover;
    }
    .feature-card-item:hover .feature-img {
        transform: translateY(-4px);
        box-shadow: 0 15px 35px rgba(0, 82, 204, 0.18);
    }
}

/* ============================================
   Calendar Section
   ============================================ */
.calendar-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    max-width: 500px;
    margin: 0 auto 40px;
    border: 1px solid var(--border-color);
}

.calendar-header {
    text-align: center;
    margin-bottom: 16px;
}

#calendar-month {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--primary-blue);
    display: block;
    width: 100%;
}


.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    width: 100%;
}

.calendar-weekday {
    text-align: center;
    font-weight: 700;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.calendar-weekday.sun { color: var(--accent-red); }
.calendar-weekday.sat { color: var(--accent-blue); }

.calendar-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    font-weight: 700;
    border-radius: 12px;
    margin: 2px;
    min-height: 54px;
    transition: all 0.2s ease;
}

.day-number {
    font-size: 1.05rem;
    line-height: 1.2;
    font-weight: 800;
    color: #2d3748; /* 平日は黒基調 */
}

/* 土日祝のみ日付の数字をカラー表示 */
.calendar-day.sun .day-number,
.calendar-day.holiday .day-number {
    color: #e53e3e; /* 日曜・祝日は赤色 */
}

.calendar-day.sat .day-number {
    color: #3182ce; /* 土曜日は青色 */
}

.day-info {
    font-size: 0.65rem;
    margin-top: 4px;
    font-weight: 500;
    line-height: 1;
}

/* 通常営業 */
.calendar-day.normal {
    background-color: var(--soft-blue);
    border: 1px solid #b8daff;
}
.calendar-day.normal .day-info {
    color: var(--text-light);
}

/* 延長営業 (10:00〜20:00 / 21:00) */
.calendar-day.extended {
    background-color: #e0e7ff;
    border: 1px solid #c7d2fe;
}
.calendar-day.extended .day-info {
    color: #1e3a8a;
    font-weight: 500;
}

/* 時短営業 A (10:00〜18:00) */
.calendar-day.short-a {
    background-color: #f0fff4;
    border: 1px solid #9ae6b4;
}
.calendar-day.short-a .day-info {
    color: #276749;
}

/* 時短営業 B (15:00〜19:00) */
.calendar-day.short-b, .calendar-day.short {
    background-color: #fffaf0;
    border: 1px solid #fbd38d;
}
.calendar-day.short-b .day-info, .calendar-day.short .day-info {
    color: #dd6b20;
}

/* 時短営業 C (13:00〜19:00) */
.calendar-day.short-c {
    background-color: #faf5ff;
    border: 1px solid #d6bcfa;
}
.calendar-day.short-c .day-info {
    color: #6b46c1;
}

/* 時短営業 D (14:00〜19:00) */
.calendar-day.short-d {
    background-color: #fff5f5;
    border: 1px solid #feb2b2;
}
.calendar-day.short-d .day-info {
    color: #c53030;
}

/* 休業日 */
.calendar-day.closed {
    background-color: #edf2f7;
}
.calendar-day.closed .day-number {
    text-decoration: none;
    opacity: 0.45;
}
.calendar-day.closed .day-info {
    color: #a0aec0;
}

/* 今日の日付強調 (各区分の凡例色に合わせた濃いカラーでゆっくり明滅) */
@keyframes pulse-today {
    0% {
        box-shadow: 0 0 0 2.5px var(--pulse-color, #0052cc), 0 0 8px var(--pulse-color-fade, rgba(0, 82, 204, 0.4));
    }
    50% {
        box-shadow: 0 0 0 4.5px var(--pulse-color-fade, rgba(0, 82, 204, 0.4)), 0 0 16px var(--pulse-color-fade, rgba(0, 82, 204, 0.15));
    }
    100% {
        box-shadow: 0 0 0 2.5px var(--pulse-color, #0052cc), 0 0 8px var(--pulse-color-fade, rgba(0, 82, 204, 0.4));
    }
}

.calendar-day.today {
    position: relative;
    z-index: 2;
    animation: pulse-today 2.2s infinite ease-in-out;
    font-weight: 900;
    --pulse-color: #0052cc;
    --pulse-color-fade: rgba(0, 82, 204, 0.4);
}

.calendar-day.normal.today {
    --pulse-color: #0052cc;
    --pulse-color-fade: rgba(0, 82, 204, 0.4);
}

.calendar-day.short-a.today {
    --pulse-color: #276749;
    --pulse-color-fade: rgba(39, 103, 73, 0.4);
}

.calendar-day.short-b.today,
.calendar-day.short.today {
    --pulse-color: #c05621;
    --pulse-color-fade: rgba(192, 86, 33, 0.4);
}

.calendar-day.short-c.today {
    --pulse-color: #6b46c1;
    --pulse-color-fade: rgba(107, 70, 193, 0.4);
}

.calendar-day.short-d.today {
    --pulse-color: #c53030;
    --pulse-color-fade: rgba(197, 48, 48, 0.4);
}


.calendar-day.closed.today {
    --pulse-color: #4a5568;
    --pulse-color-fade: rgba(74, 85, 104, 0.4);
}

/* 凡例のスタイル */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-light);
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.legend-item.today-legend {
    animation: pulse-today 2.2s infinite ease-in-out;
    font-weight: 700;
}
.legend-item.legend-normal.today-legend {
    --pulse-color: #0052cc;
    --pulse-color-fade: rgba(0, 82, 204, 0.4);
}
.legend-item.legend-extended.today-legend {
    --pulse-color: #1e3a8a;
    --pulse-color-fade: rgba(30, 58, 138, 0.4);
}
.legend-item.legend-short-a.today-legend {
    --pulse-color: #276749;
    --pulse-color-fade: rgba(39, 103, 73, 0.4);
}
.legend-item.legend-short-b.today-legend {
    --pulse-color: #c05621;
    --pulse-color-fade: rgba(192, 86, 33, 0.4);
}
.legend-item.legend-short-c.today-legend {
    --pulse-color: #6b46c1;
    --pulse-color-fade: rgba(107, 70, 193, 0.4);
}
.legend-item.legend-short-d.today-legend {
    --pulse-color: #c53030;
    --pulse-color-fade: rgba(197, 48, 48, 0.4);
}

.legend-item.legend-closed.today-legend {
    --pulse-color: #4a5568;
    --pulse-color-fade: rgba(74, 85, 104, 0.4);
}
.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    display: inline-block;
}
.legend-color.normal {
    background-color: var(--soft-blue);
    border: 1px solid #b8daff;
}
.legend-color.extended {
    background-color: #e0e7ff;
    border: 1px solid #c7d2fe;
}
.legend-color.short-a {
    background-color: #f0fff4;
    border: 1px solid #9ae6b4;
}
.legend-color.short-b, .legend-color.short {
    background-color: #fffaf0;
    border: 1px solid #fbd38d;
}
.legend-color.short-c {
    background-color: #faf5ff;
    border: 1px solid #d6bcfa;
}
.legend-color.short-d {
    background-color: #fff5f5;
    border: 1px solid #feb2b2;
}

.legend-color.closed {
    background-color: #edf2f7;
}

/* ============================================
   Footer
   ============================================ */
footer {
    background: #1a202c !important;
    color: white !important;
    padding: 60px 0 30px;
    text-align: center;
    margin-top: 80px;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white !important;
}

.footer-logo i {
    color: var(--secondary-blue);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: color 0.2s;
    font-weight: 500;
}

.footer-links a:hover {
    color: white !important;
}

.footer-copy {
    opacity: 0.5;
    font-size: 0.85rem;
    margin-top: 16px;
    color: white !important;
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--primary-blue);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 82, 204, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Fade In
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Flow (ご来店の流れ)
   ============================================ */
.flow-steps {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.flow-step {
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 30px 24px;
    border-radius: var(--border-radius);
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 230px;
    box-shadow: 0 10px 30px rgba(0, 82, 204, 0.04);
    transition: all 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 82, 204, 0.3);
    box-shadow: 0 20px 40px rgba(0, 82, 204, 0.15);
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--primary-blue);
    color: white;
    font-size: 1.1rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 10px rgba(0, 82, 204, 0.3);
}

.flow-step h3 {
    font-size: 1.15rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 900;
}

.flow-step p {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: left;
    line-height: 1.6;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .info-table th, .info-table td { display: block; width: 100%; }
    .info-table th { padding-bottom: 6px; border-bottom: none; }
    .info-table td { padding-top: 6px; }
    
    header nav .btn-outline {
        display: none;
    }

    .flow-step {
        max-width: 100%;
    }
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 82, 204, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: rgba(0, 82, 204, 0.3);
    box-shadow: 0 10px 25px rgba(0, 82, 204, 0.08);
}

.faq-question {
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.9rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    margin-left: 12px;
    flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    padding-top: 16px;
    margin-top: 4px;
}

/* カレンダーの土日の日付の配色 */
.calendar-day.sun {
    color: var(--accent-red);
}
.calendar-day.sun.closed {
    color: rgba(229, 62, 62, 0.5);
}

.calendar-day.sat {
    color: var(--accent-blue);
}
.calendar-day.sat.closed {
    color: rgba(49, 130, 206, 0.5);
}

/* リアルタイム営業中・ご案内ステータスカード */
@keyframes status-ping {
    75%, 100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.status-notice-card {
    max-width: 440px;
    margin: 16px auto 0;
    padding: 16px 20px;
    background: linear-gradient(135deg, #e6fffa 0%, #ebf8ff 100%);
    border: 1.5px solid #81e6d9;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.12);
    text-align: center;
    transition: all 0.3s ease;
}

.status-badge-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
}

.status-dot-container {
    position: relative;
    display: inline-flex;
    height: 12px;
    width: 12px;
}

.status-dot-pulse {
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background-color: #10b981;
    opacity: 0.75;
    animation: status-ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.status-dot-core {
    position: relative;
    display: inline-flex;
    border-radius: 50%;
    height: 12px;
    width: 12px;
    background-color: #059669;
}

.status-text-open {
    color: #047857;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.status-main-msg {
    font-size: 1.25rem;
    font-weight: 900;
    color: #065f46;
    margin: 4px 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.status-time-stamp {
    font-size: 0.72rem;
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 700;
    margin-left: 4px;
}

.status-sub-note {
    font-size: 10px !important;
    color: #648a7b !important;
    margin: 4px 0 0 !important;
    font-weight: 400 !important;
    opacity: 0.75 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
}

/* 営業開始前カードのスタイル */
.status-notice-card.before-open {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
    border: 1.5px solid #93c5fd;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
}

.status-dot-pulse.before-open {
    background-color: #3b82f6;
}

.status-dot-core.before-open {
    background-color: #2563eb;
}

.status-text-before-open {
    color: #1d4ed8;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.status-main-msg.before-open {
    color: #1e40af;
}

.status-time-stamp.before-open {
    color: #1d4ed8;
    background: rgba(59, 130, 246, 0.12);
}

.status-sub-note.before-open {
    color: #3b82f6 !important;
}

@media (max-width: 480px) {
    .status-sub-note {
        font-size: 9.5px !important;
        letter-spacing: -0.03em !important;
    }
}

/* スクロール移動先の余白位置補正 (ヘッダー被り・位置調整) */
#price,
#status-banner-container,
#calendar,
#faq,
#recruit,
#features,
#flow {
    scroll-margin-top: 80px;
}

/* ============================================
   Feature Cards Hover & Image Zoom Animation
   ============================================ */
.feature-card-item {
    background: white;
    border-radius: 28px;
    padding: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px rgba(0, 82, 204, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.feature-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 82, 204, 0.14);
    border-color: rgba(0, 82, 204, 0.2);
}

.feature-img-wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.feature-card-item img.feature-img {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.feature-card-item:hover img.feature-img {
    transform: scale(1.06);
}

/* ============================================
   Info Table Visual Styling (Pictogram Badges & Mobile Fix)
   ============================================ */
.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 82, 204, 0.05);
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.info-table tr:not(:last-child) td {
    border-bottom: 1px solid #edf2f7;
}

.info-table th {
    background: white;
    color: var(--primary-blue);
    font-weight: 900;
    white-space: nowrap !important;
    vertical-align: top;
    padding: 18px 20px;
    text-align: left;
    width: 110px;
    border-bottom: 1px solid #edf2f7;
}

.info-table td {
    background: white;
    padding: 18px 20px;
    color: var(--text-dark);
    line-height: 1.75;
    vertical-align: top;
}

@media (max-width: 600px) {
    .info-table th {
        padding: 14px 12px;
        font-size: 0.9rem;
        width: 85px;
    }
    .info-table td {
        padding: 14px 12px;
        font-size: 0.9rem;
    }
}

/* スマホ専用 固定ボトムナビゲーション (Sticky Bottom Navigation) */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 82, 204, 0.15);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 8px 12px;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    body {
        padding-bottom: 64px; /* ボトムナビにかぶらないよう下の余白を確保 */
    }
    .back-to-top {
        bottom: 76px; /* ボトムナビの上部にずらして被りを防止 */
        right: 16px;
    }
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    transition: all 0.2s ease;
    flex: 1;
    padding: 4px 0;
}

.bottom-nav-item i {
    font-size: 1.15rem;
    color: var(--primary-blue);
}

.bottom-nav-item.highlight i {
    color: #10b981;
}

.bottom-nav-item.map-highlight i {
    color: #e53e3e;
}

/* グランドオープン記念 絵文字飛び出しエフェクト */
.emoji-particle {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    font-size: 1.6rem;
    user-select: none;
    animation: emoji-pop 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes emoji-pop {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(0, 0) scale(0.5) rotate(0deg);
    }
    40% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) scale(1.35) rotate(var(--rot));
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(calc(var(--tx) * 1.25), calc(var(--ty) - 45px)) scale(0.7) rotate(calc(var(--rot) * 1.4));
    }
}

/* ============================================
   Instagram スタイル (高品質カード・ボタン)
   ============================================ */
.btn-insta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.28) !important;
    text-decoration: none !important;
}

.btn-insta:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 10px 28px rgba(220, 39, 67, 0.42) !important;
    opacity: 0.96 !important;
}

.insta-banner-card {
    background: linear-gradient(135deg, #fff5f8 0%, #ffffff 50%, #fdf2f8 100%);
    border: 2px solid #fbcfe8;
    border-radius: 28px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 12px 36px rgba(225, 48, 108, 0.08);
    margin-top: 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

.insta-banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.insta-banner-card:hover {
    border-color: #f472b6;
    box-shadow: 0 18px 45px rgba(225, 48, 108, 0.15);
    transform: translateY(-4px);
}

.insta-icon-lg {
    font-size: 3.2rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 12px;
}

.insta-card-btn {
    width: 100% !important;
    max-width: 360px !important;
    padding: 12px 18px !important;
    border-radius: 50px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    line-height: 1.3 !important;
}

.insta-card-btn i {
    font-size: 1.4rem !important;
    margin-bottom: 2px !important;
}

.insta-btn-main {
    font-size: 1.02rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.insta-btn-sub {
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.9;
}

@media (max-width: 600px) {
    .insta-banner-card {
        padding: 24px 16px;
        border-radius: 20px;
        margin-top: 28px;
    }
    .insta-icon-lg {
        font-size: 2.5rem;
        margin-bottom: 8px;
    }
    .insta-banner-card h3 {
        font-size: 1.15rem !important;
    }
    .insta-banner-card p {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    .insta-card-btn {
        padding: 10px 14px !important;
        border-radius: 40px !important;
    }
    .insta-btn-main {
        font-size: 0.92rem;
    }
    .insta-btn-sub {
        font-size: 0.72rem;
    }
}

/* ============================================
   Route Guide Section (店舗への入り方・ご来店ルート)
   ============================================ */
.route-guide-section {
    background: #f8fafc;
    position: relative;
}

.route-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.route-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.9);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.route-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 82, 204, 0.12);
    border-color: rgba(59, 130, 246, 0.4);
}

.route-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f1f5f9;
}

.route-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.route-card:hover .route-img {
    transform: scale(1.05);
}

.route-step-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 900;
    padding: 6px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.04em;
    z-index: 2;
}

.route-card-body {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.route-card-title {
    font-size: 1.15rem;
    font-weight: 900;
    color: #1e3a8a;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.route-card-desc {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.route-card-highlight {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 12px;
    background: #eff6ff;
    border-radius: 8px;
    color: #1d4ed8;
    font-size: 0.84rem;
    font-weight: 700;
    border-left: 3px solid #3b82f6;
}

@media (max-width: 960px) {
    .route-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .route-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 28px auto 0;
    }
    .route-card-title {
        font-size: 1.08rem;
    }
    .route-card-desc {
        font-size: 0.88rem;
    }
}

/* ============================================
   Print Styles (印刷用最適化)
   ============================================ */
@media print {
    header,
    footer,
    .mobile-bottom-nav,
    .back-to-top,
    .btn,
    .insta-banner-card,
    .skip-link,
    #status-banner-container,
    .emoji-particle {
        display: none !important;
    }

    body {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 12pt;
    }

    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .price-card,
    .calendar-container,
    .info-table {
        box-shadow: none !important;
        border: 1px solid #cccccc !important;
        break-inside: avoid;
    }
}



