@charset "utf-8";
/* CSS Document */

/* パンくずリスト */
.breadcrumb {
    background: linear-gradient(to bottom, #ffffff 0%, #f5f5f5 100%);
    padding: 10px 0;
    border-bottom: 2px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.breadcrumb .container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb li {
    font-size: 13px;
    color: #555;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '|';
    margin: 0 15px;
    color: #666;
    font-weight: normal;
}

.breadcrumb a {
    color: #003d82;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.breadcrumb a:hover {
    background-color: #003d82;
    color: #ffffff;
    transform: translateY(-1px);
}

.breadcrumb li:last-child {
    color: #333;
    font-weight: 600;
}

/* ヒーロー画像 */
.hero-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 800;
    font-style: italic;
    margin: 0;
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: clamp(14px, 2.5vw, 18px);
    margin: 8px 0 0;
    letter-spacing: 0.2em;
    font-weight: 500;
}

/* 料金ページメイン */
.fee-page {
    padding: 0;
	margin: 60px 0;
}

.page-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* カレンダー用CSS変数 */
:root {
    --ink: #434343;
    --muted: #6c6c6c;
    --line: #e0e0e0;
    --bg: #ffffff;
    --paper: #ffffff;
    --accent: rgb(253,227,227);
    --sun: rgb(250,172,172);
    --sat: #9bcefe;
    --radius: 10px;
    --gap: 10px;
    --tbl-head-bg: #f8f9fa;
    --tbl-left-bg: #f8f9fa;
    --tbl-cell-bg: #ffffff;
}

.wrap {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

/* ヘッダー */
.hdr {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
    margin-bottom: 30px;
}

.monthbox {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.monthbox .btn {
    white-space: nowrap;
}

.ttl {
    grid-column: 2/3;
    min-width: 220px;
    text-align: center;
}

.ttl .ja {
    font-weight: 700;
    font-size: clamp(22px, 3.6vw, 30px);
    color: #003d82;
}

.ttl .en {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.14em;
}

.btn {
    appearance: none;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    padding: 9px 12px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #003d82;
    color: #ffffff;
}

.btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

#gr-prev {
    justify-self: start;
}

#gr-next {
    justify-self: end;
}

/* 凡例 */
.legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    font-size: 0.9rem;
    margin: 20px;
    align-items: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 0.95rem;
}

.legend-icon {
    width: 22px !important;
    height: 22px !important;
    max-width: none !important;
    object-fit: contain !important;
    filter: invert(55%) sepia(90%) saturate(2000%) hue-rotate(5deg) !important;
}

/* カレンダー */
.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--gap);
    margin-bottom: 50px;
}

/* 曜日ヘッダー */
.day-head {
    text-align: center;
    font-weight: 700;
    padding: 8px 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg);
    color: var(--muted);
}

.day-head.sun {
    color: var(--sun);
}

.day-head.sat {
    color: var(--sat);
}

/* 各日カード */
.cell {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 118px;
}

.cell.sat {
    background: #e8f4ff;
}

.cell.sun,
.cell.holiday {
    background: #ffecec;
}

.calendar a.cell {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.calendar a.cell:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-1px);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.headrow {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.date {
    font-weight: 700;
    font-size: clamp(18px, 2.2vw, 24px);
    min-width: 2ch;
}

.wk {
    font-weight: 700;
    font-size: clamp(11px, 1.5vw, 13px);
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
}

.wk.sun {
    color: var(--sun);
}

.wk.sat {
    color: var(--sat);
}

.price {
    white-space: nowrap;
    font-weight: 700;
    font-size: clamp(16px, 2.4vw, 22px);
}

/* 祝日名 */
.holiday-name {
    color: var(--sun);
    border: 1px solid color-mix(in oklab, var(--accent) 50%, #fff);
    background: #fff;
    border-radius: 999px;
    display: inline-block;
    font-size: 0.72rem;
    padding: 2px 8px;
    margin-top: 6px;
    white-space: nowrap;
    max-width: 12em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.muted {
    color: var(--muted);
    font-size: 0.9rem;
}

/* アイコン */
#gr-wrap .tags {
    display: flex;
    gap: 6px;
    margin-top: auto;
}

#gr-wrap .tags img.icon {
    width: 24px !important;
    height: 24px !important;
    max-width: none !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle;
    pointer-events: none;
}

#gr-wrap .tags img.icon.orange {
    filter: invert(55%) sepia(90%) saturate(2000%) hue-rotate(5deg) !important;
}

#gr-wrap .tags img.icon.gray {
    filter: invert(88%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(92%) contrast(90%) !important;
}

/* 料金表 */
.price-sections {
    margin-top: 50px;
    display: grid;
    gap: 40px;
}

.table-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--tbl-cell-bg);
    overflow: hidden;
    padding: 30px;
	margin: 0 0 20px;
}

.section-title {
    text-align: center;
    font-weight: 700;
    font-size: clamp(18px, 2.2vw, 22px);
    color: #003d82;
    margin: 0 0 20px;
}

.table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    table-layout: auto;
    font-size: clamp(11px, 1.4vw, 16px);
}

.table th,
.table td {
    border: 1px solid var(--line);
    padding: clamp(10px, 1.8vw, 18px) clamp(8px, 1.4vw, 16px);
    vertical-align: middle;
    text-align: center;
    color: var(--ink);
    word-break: break-word;
}

.table thead th {
    background: var(--tbl-head-bg);
    font-weight: 700;
}

.table .col-label {
    background: var(--tbl-left-bg);
    font-weight: 700;
}

.table-note {
    color: var(--muted);
    font-size: 0.82rem;
    border: none;
    margin: 10px 0 0;
    text-align: center;
}

/* 曜日バッジ */
.day-badge {
    display: inline-block;
    background: #f0f0f0;
    color: #333;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    margin-right: 4px;
    white-space: nowrap;
}

/* 料金行 */
.price-row {
    margin: 6px 0;
}

.price-row:first-child {
    margin-top: 0;
}

.price-row:last-child {
    margin-bottom: 0;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero-image {
        height: 250px;
    }
    
    .wrap {
        padding-left: 15px;
        padding-right: 15px;
    }
	
	.fee-page {
    padding: 0;
	margin: 0;
}
    
    .calendar {
        display: block;
    }
    
    .day-head {
        display: none;
    }
    
    .calendar .cell,
    .calendar a.cell {
        display: grid !important;
        grid-template-columns: auto 1fr auto;
        grid-auto-rows: min-content;
        column-gap: 12px;
        row-gap: 6px;
        align-items: center;
        padding: 10px 12px;
        min-height: auto;
        margin-bottom: 10px;
    }
    
    #gr-wrap .headrow {
        grid-column: 1 / 3;
        grid-row: 1;
        margin: 0;
        gap: 8px;
        min-width: 0;
    }
    
    #gr-wrap .price {
        grid-column: 3 / 4;
        grid-row: 1;
        justify-self: end;
        align-self: center;
        white-space: nowrap;
        font-size: 1.6rem;
        font-weight: 700;
        text-align: right;
        min-width: 0;
    }
    
    #gr-wrap .holiday-name {
        grid-column: 1 / -1;
        grid-row: 2;
        margin: 2px 0;
        white-space: normal;
        font-size: 0.65rem;
        padding: 2px 6px;
        max-width: 70%;
    }
    
    #gr-wrap .tags {
        grid-column: 1 / -1;
        grid-row: 3;
        margin-top: 2px;
    }
    
    .legend {
        gap: 12px;
    }
    
    .table {
        font-size: 0.82rem;
    }
    
    .table th,
    .table td {
        padding: 6px 4px;
    }
    
    .ttl {
        min-width: 0;
    }
    
    .ttl .ja {
        font-size: clamp(14px, 4.2vw, 24px);
    }
    
    .monthbox .btn {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .day-badge {
        font-size: 0.5rem;
        padding: 2px 6px;
    }
}