/* Re:la専用スタイル */

/* dayservice-rela専用のpage-mv背景画像 */
.page-dayservice-rela .page-mv {
    background-image: url('../img/dayservice-rela/mv_day-service-rela02.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Re:la紹介セクションのスタイル */
.page-rela-specific .rela-concept-info,
.page-dayservice-rela .rela-concept-info {
    margin-top: 20px;
}

.page-rela-specific .rela-origin,
.page-dayservice-rela .rela-origin {
    font-size: 16px;
    color: #F4968D;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-rela-specific .rela-description,
.page-dayservice-rela .rela-description {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.page-rela-specific .dayservice-rela-img,
.page-dayservice-rela .dayservice-rela-img {
    width: 100%;
    height: 300px;
    background-image: url('../img/dayservice-rela/mv_day-service-rela.webp');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    margin-top: 30px;
}

/* 共通セクション設定 - Bootstrap基準 */
.page-rela-specific section .container-lg,
.page-dayservice-rela section .container-lg {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (max-width: 1199px) {

    .page-rela-specific section .container-lg,
    .page-dayservice-rela section .container-lg {
        max-width: 960px;
    }
}

@media (max-width: 991px) {

    .page-rela-specific section .container-lg,
    .page-dayservice-rela section .container-lg {
        max-width: 720px;
    }
}

@media (max-width: 767px) {

    .page-rela-specific section .container-lg,
    .page-dayservice-rela section .container-lg {
        max-width: 540px;
    }
}

@media (max-width: 575px) {

    .page-rela-specific section .container-lg,
    .page-dayservice-rela section .container-lg {
        max-width: 100%;
    }
}

/* メインビジュアル・ヒーローセクション */
.page-rela-specific .rela-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.page-rela-specific .rela-main-visual {
    text-align: center;
    padding: 40px 20px;
}

/* アニメーション用のスタイルは下部に移動 */

.page-rela-specific .rela-title {
    margin-bottom: 30px;
}

.page-rela-specific .rela-title .main-title {
    display: block;
    font-size: 24px;
    color: #666;
    margin-bottom: 10px;
}

.page-rela-specific .rela-title .facility-name {
    display: inline-block;
    font-size: 36px;
    font-weight: bold;
    color: #333;
}

.page-rela-specific .rela-title .sub-name {
    display: inline-block;
    font-size: 32px;
    color: #22BBB2;
    margin-left: 20px;
}

.page-rela-specific .rela-concept {
    margin: 40px auto;
    max-width: 1140px;
}

.page-rela-specific .concept-title {
    font-size: 20px;
    font-weight: bold;
    color: #F4968D;
    margin-bottom: 15px;
}

.page-rela-specific .concept-description {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.page-rela-specific .opening-info {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    margin: 30px 0;
}

.page-rela-specific .opening-date {
    font-size: 28px;
    font-weight: bold;
    color: #d9534f;
    margin-bottom: 10px;
}

.page-rela-specific .opening-location {
    font-size: 24px;
    color: #d9534f;
    font-weight: bold;
}

.page-rela-specific .facility-info {
    margin-top: 30px;
    font-size: 16px;
    line-height: 1.8;
}

/* カフェコンセプトセクション */
.page-rela-specific .cafe-concept-section {
    background: #fafafa;
}

.page-rela-specific .cafe-concept-section h3 {
    color: #F4968D;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

/* サービス選択セクション */
.page-rela-specific .service-selection-section {
    padding: 60px 0;
}

.page-rela-specific .service-item {
    margin-bottom: 30px;
}

.page-rela-specific .service-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.page-rela-specific .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-rela-specific .service-card h3 {
    color: #333;
    font-size: 20px;
    margin: 20px 0 15px;
    font-weight: bold;
}

.page-rela-specific .service-icon {
    border-radius: 10px;
    margin-bottom: 20px;
}

/* プログラムセクション */
.page-rela-specific .program-section {
    background: #f6f2e4;
    padding: 60px 0;
}

.page-rela-specific .schedule-table {
    width: 100%;
    margin: 20px 0;
}

.page-rela-specific .schedule-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.page-rela-specific .schedule-table strong {
    color: #F4968D;
}

.page-rela-specific .meal-schedule {
    margin-top: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.page-rela-specific .meal-schedule h4 {
    color: #F4968D;
    margin-bottom: 15px;
}

.page-rela-specific .exercise-schedule {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    height: 100%;
}

.page-rela-specific .exercise-schedule h3 {
    color: #333;
    margin-bottom: 20px;
}

.page-rela-specific .exercise-schedule h4 {
    color: #F4968D;
    margin: 20px 0 15px;
    font-size: 18px;
}

.page-rela-specific .exercise-schedule ul {
    list-style: none;
    padding: 0;
}

.page-rela-specific .exercise-schedule li {
    padding: 8px 0;
    border-bottom: 1px dotted #ddd;
}

.page-rela-specific .schedule-intro {
    background: #F4968D;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
}

/* ポイントカードセクション */
.page-rela-specific .point-card-section {
    padding: 60px 0;
}

.page-rela-specific .point-card-image {
    border-radius: 10px;
    overflow: hidden;
}

/* アクセス・料金セクション */
.page-rela-specific .access-price-section {
    background: #f8f8f8;
    padding: 60px 0;
}

.page-rela-specific .access-info h3,
.page-rela-specific .price-info h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-rela-specific .map-placeholder {
    border-radius: 10px;
    overflow: hidden;
}

.page-rela-specific .price-table {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
}

.page-rela-specific .price-table th {
    background: #F4968D;
    color: #fff;
    padding: 15px;
    text-align: left;
}

.page-rela-specific .price-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.page-rela-specific .price-info h4 {
    color: #F4968D;
    margin: 30px 0 15px;
    font-size: 18px;
}

.page-rela-specific .price-info ul {
    list-style: none;
    padding: 0;
}

.page-rela-specific .price-info li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.page-rela-specific .price-info li:before {
    content: "・";
    position: absolute;
    left: 0;
}

.page-rela-specific .service-list {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
}

.page-rela-specific .closing-message {
    font-size: 20px;
    color: #F4968D;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    display: inline-block;
}

/* セクション共通 */
.page-rela-specific .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.title-header {
    margin-bottom: 0;
    font-family: "Noto Sans JP", "Zen Kaku Gothic Antique";
}

.title-header .section-title {
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 26px;
    font-weight: 600;
}



/* 施設概要テーブルスタイル - 会社概要スタイル参考 */
.page-rela-specific .facility-info table,
.page-dayservice-rela .facility-info table {
    width: 100%;
    border-collapse: collapse;
    background-color: #f9f9f0;
    margin: 30px 0;
}

.page-rela-specific .facility-info th,
.page-rela-specific .facility-info td,
.page-dayservice-rela .facility-info th,
.page-dayservice-rela .facility-info td {
    border: 1px solid #e0e0e0;
    padding: 10px;
    text-align: left;
}

.page-rela-specific .facility-info th,
.page-dayservice-rela .facility-info th {
    width: 30%;
    font-weight: bold;
    background-color: #f9f9f0;
    padding: 20px 30px;
}

.page-rela-specific .facility-info td,
.page-dayservice-rela .facility-info td {
    width: 70%;
    background: #fff;
    padding: 20px 30px;
}

/* サービス概要スタイル */
.page-rela-specific .service-overview,
.page-dayservice-rela .service-overview {
    padding: 60px 0;
    background: #f6f2e4;
}

.page-rela-specific .service-overview p,
.page-dayservice-rela .service-overview p {
    font-size: 16px;
    line-height: 1.8;
    margin: 15px 0;
}

/* アクセスセクションスタイル */
.page-rela-specific .access-section,
.page-dayservice-rela .access-section {
    padding: 60px 0;
}

.page-rela-specific .access-section p,
.page-dayservice-rela .access-section p {
    font-size: 16px;
    margin: 20px 0;
}

.page-rela-specific .access-section iframe,
.page-dayservice-rela .access-section iframe {
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-rela-specific .rela-concept-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .page-rela-specific .rela-content {
        text-align: center;
    }

    .page-rela-specific .rela-logo-img {
        max-width: 150px;
    }

    .page-rela-specific .rela-title .facility-name,
    .page-rela-specific .rela-title .sub-name {
        display: block;
        margin: 10px 0;
    }

    .page-rela-specific .rela-title .sub-name {
        margin-left: 0;
    }

    .page-rela-specific .opening-date {
        font-size: 22px;
    }

    .page-rela-specific .opening-location {
        font-size: 20px;
    }

    .page-rela-specific .section-title {
        font-size: 24px;
    }

    .page-rela-specific .service-card {
        margin-bottom: 20px;
    }
}

/* ---------------------------------------------------------------------- */
/* アニメーション付きコンセプトセクション */
/* ---------------------------------------------------------------------- */

/* アニメーション変数 */
:root {
    --e-spring-2: cubic-bezier(.175, .885, .32, 1.275);
    --e-out-quart: cubic-bezier(.165, .84, .44, 1);
    --e-out-quad: cubic-bezier(0.5, 1, 0.89, 1);
}

/* ユーティリティクラス */
.uVisuallyHidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.uSpOnly {
    display: initial;
}

.uPcOnly {
    display: none;
}

@media (min-width: 768px) {
    .uSpOnly {
        display: none;
    }

    .uPcOnly {
        display: initial;
    }
}

/* コンセプトセクションのコンテナ */
.pConcept__inner {
    position: relative;
    z-index: 1;
    padding: 22.3vw 3.2vw 0;
    min-height: 80vw;
    background-color: #ffffff;
    overflow: hidden;
    font-size: 1.5vw;
}

@media (min-width: 1024px) {
    .pConcept__inner {
        padding: 150px 32px 0;
        min-height: 800px;
        font-size: 15px;
        max-width: 1280px;
        margin: 0 auto;
    }
}

/* 背景要素は削除済み */

/* テキストコンテンツ */
.pConcept__content {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
    z-index: 2;
}

/* ロゴ部分 - 背景に配置 */
.rela-logo-with-title {
    position: absolute;
    top: 40%;
    left: 60%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}

.rela-logo-with-title .rela-logo-img {
    max-width: 400px;
    height: auto;
}

@media (min-width: 1024px) {
    .rela-logo-with-title .rela-logo-img {
        max-width: 500px;
    }
}

/* コピータイトル */
.pConcept__copy {
    display: flex;
    flex-direction: column;
    gap: 1.8vw;
    font-size: 2.4vw;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .02em;
    color: #333;
}

@media (min-width: 1024px) {
    .pConcept__copy {
        gap: 18px;
        font-size: 24px;
    }
}

.pConcept__copy_text {
    overflow: hidden;
}

.char-headline {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 1s var(--e-out-quart);
    will-change: transform;
}

/* Re:laを強調 */
.char-headline.rela-name-highlight {
    color: #22BBB2;
}

.pConcept__copy.is-active .char-headline {
    transform: translateY(0);
}

/* 本文テキスト部分 */
.pConcept__text {
    display: flex;
    flex-direction: column;
    gap: 1.7vw;
    margin-top: 3.4vw;
    font-size: 1.5vw;
    font-weight: 500;
    line-height: 2.04;
    color: #555;

    /* マスキングアニメーション */
    -webkit-mask-image: linear-gradient(101deg, rgb(0, 0, 0) 30%, rgba(0, 0, 0, .02) 70%, rgba(255, 255, 255, 0));
    mask-image: linear-gradient(101deg, #000 30%, #00000005 70%, #fff0);
    -webkit-mask-position: 100% 0%;
    mask-position: 100% 0%;
    -webkit-mask-size: 500% 100%;
    mask-size: 500% 100%;
    transition: -webkit-mask-position 1.2s var(--e-out-quart), mask-position 1.2s var(--e-out-quart);
    will-change: mask-position;
}

@media (min-width: 1024px) {
    .pConcept__text {
        gap: 17px;
        margin-top: 34px;
        font-size: 15px;
    }
}

.pConcept__text.is-active {
    -webkit-mask-position: 0% 0%;
    mask-position: 0% 0%;
}

/* Re:laコンセプト内の要素スタイル */
.pConcept__text .concept-meaning {
    margin-bottom: 20px;
}

/* concept-titleクラスは削除済み - strongタグに統合 */

.pConcept__text .concept-description {
    margin-top: 15px;
    line-height: 1.8;
}

.pConcept__text .opening-info {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pConcept__text .opening-date {
    font-size: 2.8vw;
    font-weight: bold;
    color: #d9534f;
    margin-bottom: 10px;
}

.pConcept__text .opening-location {
    font-size: 2.4vw;
    color: #d9534f;
    font-weight: bold;
}

@media (min-width: 1024px) {
    .pConcept__text .opening-date {
        font-size: 28px;
    }

    .pConcept__text .opening-location {
        font-size: 24px;
    }
}

/* ---------------------------------------------------------------------- */
/* コンセプト詳細デザイン (Tailwind風) */
/* ---------------------------------------------------------------------- */

/* カスタムカラーとフォントを設定（Interをデフォルトとして使用） */
.concept-details {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: transparent;
    color: #333333;
}

/* 番号のスタイル */
.policy-index-num {
    font-size: 3rem;
    line-height: 1;
    font-weight: 700;
    color: #f7a0b5;
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* 楕円形の背景オブジェクト */
.policy-index-num::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.8);
    /* 白 */
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    z-index: -1;
    filter: blur(8px);
    /* ぼかし効果 */
}

/* 区切り線（1番目のポリシーの下にある線）を再現 */
.policy-divider {
    border-bottom: 1px solid #e5e7eb;
}

/* 背景のアクセント要素 (ポイントのイラスト) */
.policy-item-01::before,
.policy-item-02::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background-color: rgba(247, 160, 181, 0.1);
    z-index: -1;
}

/* 01: 左上円形 */
.policy-item-01::before {
    top: -60px;
    left: -60px;
    border-radius: 50%;
}

/* 02: 右下変形 (少し有機的な形) */
.policy-item-02::before {
    bottom: -60px;
    right: -60px;
    border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%;
}

/* モバイル対応: 小さな画面では背景のアクセントを非表示 */
@media (max-width: 768px) {

    .policy-item-01::before,
    .policy-item-02::before {
        display: none;
    }
}

/* policy-item-01とpolicy-item-02の幅調整 */
.policy-item-01,
.policy-item-02 {
    width: 80%;
}

/* policy-item-02を右寄せ */
.policy-item-02 {
    margin-left: auto;
}

/* モバイルでは幅100%に戻す */
@media (max-width: 768px) {

    .policy-item-01,
    .policy-item-02 {
        width: 100%;
        margin-left: 0;
    }
}

/* ---------------------------------------------------------------------- */
/* サービス概要 - contents-rowスタイル */
/* ---------------------------------------------------------------------- */

.page-dayservice-rela .service-overview .contents-row {
    margin: 50px 0;
}

.page-dayservice-rela .service-overview .contents-row .contents_details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-dayservice-rela .service-overview .contents-row .contents_details h3 {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.page-dayservice-rela .service-overview .contents-row .contents_details h3 span {
    background: #005d36;
    color: #fff;
    font-size: 1.6rem;
    padding: 6px 13px;
    border-radius: 40px;
    margin-right: 10px;
    flex-shrink: 0;
}

.page-dayservice-rela .service-overview .contents-row .contents_details p {
    line-height: 2rem;
}

.page-dayservice-rela .service-overview .contents-row .contents-img {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-dayservice-rela .service-overview .contents-row .contents-img img {
    box-shadow: 6px 6px 12px 0px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.page-dayservice-rela .service-overview .contents-row .contents-img p {
    text-align: center;
    margin-top: 20px;
}

/* ボタンスタイル */
.page-dayservice-rela .btn {
    margin-top: 20px;
}

@media (max-width: 992px) {
    .page-dayservice-rela .btn {
        width: 100%;
    }
}

.page-dayservice-rela .btn a {
    color: #fff;
    background-color: #005d36;
    max-width: 350px;
    width: 90%;
    text-align: center;
    border-radius: 50px;
    font-size: 1.4rem;
    padding: 15px 30px;
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s;
}

.page-dayservice-rela .btn a:hover {
    opacity: 0.8;
}

/* section-header、document-list、note-section等のスタイル */
.page-dayservice-rela .service-overview .contents-row .section-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.page-dayservice-rela .service-overview .contents-row .section-header:not(:first-child) {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.page-dayservice-rela .service-overview .contents-row .section-header .section-number {
    display: flex;
    align-items: center;
}

.page-dayservice-rela .service-overview .contents-row .section-header .section-number span {
    color: #718096;
    margin-right: 8px;
}

.page-dayservice-rela .service-overview .contents-row .section-header .section-number .vertical-line {
    height: 24px;
    border-right: 1px solid #cbd5e0;
    margin: 0 16px;
}

.page-dayservice-rela .service-overview .contents-row .section-header h2 {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.page-dayservice-rela .service-overview .contents-row .section-content {
    margin-bottom: 32px;
}

.page-dayservice-rela .service-overview .contents-row .section-content p {
    margin-bottom: 16px;
}

.page-dayservice-rela .service-overview .contents-row .document-list {
    margin-top: 24px;
}

.page-dayservice-rela .service-overview .contents-row .document-list .document-item {
    margin-bottom: 24px;
}

.page-dayservice-rela .service-overview .contents-row .document-list .document-item p {
    margin-bottom: 8px;
}

.page-dayservice-rela .service-overview .contents-row .download-button-container {
    margin-left: 16px;
}

.page-dayservice-rela .service-overview .contents-row .download-button {
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #cbd5e0;
    color: #2d3748;
    text-decoration: none;
    transition: opacity 0.3s;
}

.page-dayservice-rela .service-overview .contents-row .download-button:hover {
    opacity: 0.6;
}

.page-dayservice-rela .service-overview .contents-row .download-button span {
    margin-right: 8px;
}

.page-dayservice-rela .service-overview .contents-row .download-button .pdf-icon {
    width: 20px;
    height: 20px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-dayservice-rela .service-overview .contents-row .note-section {
    margin-left: 16px;
    margin-top: 32px;
    margin-bottom: 16px;
}

.page-dayservice-rela .service-overview .contents-row .requirement-list {
    list-style-type: disc;
    margin-left: 24px;
    margin-bottom: 16px;
}

.page-dayservice-rela .service-overview .contents-row .requirement-list li {
    margin-bottom: 4px;
}

.page-dayservice-rela .service-overview .contents-row .indent {
    margin-left: 24px;
    margin-bottom: 16px;
}

.page-dayservice-rela .service-overview .contents-row .important-notes {
    margin-top: 24px;
}

.page-dayservice-rela .service-overview .contents-row .important-notes .important-note {
    margin-bottom: 24px;
}

.page-dayservice-rela .service-overview .contents-row .important-notes .star-note {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4px;
}

.page-dayservice-rela .service-overview .contents-row .important-notes .star-note .star {
    font-size: 20px;
    margin-right: 4px;
}

/* レスポンシブ対応 */
@media (max-width: 640px) {
    .page-dayservice-rela .service-overview .contents-row .admission-requirements {
        padding: 12px;
    }

    .page-dayservice-rela .service-overview .contents-row .section-header .section-number .vertical-line {
        margin: 0 8px;
    }

    .page-dayservice-rela .service-overview .contents-row .section-header h2 {
        font-size: 16px;
    }

    .page-dayservice-rela .service-overview .contents-row .download-button {
        font-size: 12px;
    }
}

/* ---------------------------------------------------------------------- */
/* サービステーマリスト (theme_list) のデザイン */
/* ---------------------------------------------------------------------- */

.theme_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 50px;
}

/* サービスリスト項目 (li) のスタイル */
.theme_list li {
    overflow: visible !important;
    position: relative;
    z-index: 10;
    width: 100%;
    transform: translateY(0) !important;
    margin-top: 30px;
}

/* タブレット (640px - 767px) - 2列 */
@media screen and (min-width: 640px) and (max-width: 767px) {
    .theme_list li {
        width: calc(50% - 12px);
    }
}

/* 中画面 (768px - 1023px) - 3列 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .theme_list li {
        width: calc(33.33% - 16px);
    }
}

/* デスクトップ (1024px以上) - 3-2レイアウトとstaggering */
@media screen and (min-width: 1024px) {
    .theme_list {
        justify-content: center;
        align-items: flex-start;
    }

    /* すべてのliを同じサイズ: 33.33% */
    .theme_list li {
        width: calc(33.33% - 16px);
    }

    /* Staggering effect (2番目と4番目) */
    .theme_list li:nth-child(2),
    .theme_list li:nth-child(4) {
        transform: translateY(15%);
    }

    /* 1, 3, 5番目のリセット */
    .theme_list li:nth-child(1),
    .theme_list li:nth-child(3),
    .theme_list li:nth-child(5) {
        transform: translateY(0);
    }
}

/* カード本体 (theme-card) のスタイル */
.theme_list .theme-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    color: #fff;
    position: relative;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #008e66 0%, #004b36 100%);
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
}

/* 各カードの背景画像 */
.theme_list li:nth-child(1) .theme-card {
    background-image: url('../img/dayservice-rela/service-time.jpg');
}

.theme_list li:nth-child(2) .theme-card {
    background-image: url('../img/dayservice-rela/motion01.webp');
}

.theme_list li:nth-child(3) .theme-card {
    background-image: url('../img/dayservice-rela/service-bath.jpg');
}

.theme_list li:nth-child(4) .theme-card {
    background-image: url('../img/dayservice-rela/service-massage.jpg');
}

.theme_list li:nth-child(5) .theme-card {
    background-image: url('../img/dayservice-rela/service-meal.jpg');
}

/* 暗いオーバーレイ（画像が明るいため） */
.theme_list .theme-card::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: background 0.5s;
}

/* ホバー時は少し明るく */
.theme_list .theme-card:hover::before {
    background: rgba(0, 0, 0, 0.2);
}

/* 番号 (num) のスタイル */
.theme_list .num {
    position: absolute;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #004b36;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 30px;
    left: calc(50% - 32px);
    top: -32px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.theme_list .ttl {
    position: relative;
    z-index: 2;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 1.4;
    padding-top: 1em;
}

@media screen and (max-width: 480px) {
    .theme_list .ttl {
        font-size: 1.2rem;
    }
}


.theme_list .detail {
    position: relative;
    z-index: 2;
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

@media screen and (max-width: 480px) {
    .theme_list .detail {
        font-size: 0.8rem;
    }
}

/* Clickアイコンのスタイル - オレンジ系デザイン */
.theme_list .click-icon {
    position: absolute;
    z-index: 20;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #fdad18;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 9px 22px;
    border-radius: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    letter-spacing: 0.03em;
    animation: clickPulse 2.5s ease-in-out infinite;
}

/* Font Awesomeアイコンのスタイル */
.theme_list .click-icon i {
    margin-right: 6px;
    font-size: 1em;
    animation: iconBounce 1.2s ease-in-out infinite;
}

.theme_list .click-icon:hover {
    background: #e89b0d;
    transform: translateX(-50%) translateY(-2px);
    animation: none;
}

.theme_list .click-icon:hover i {
    animation: none;
}

/* ふわふわ浮くアニメーション */
@keyframes clickPulse {

    0%,
    100% {
        transform: translateX(-50%) translateY(0px);
    }

    50% {
        transform: translateX(-50%) translateY(-2px);
    }
}

/* アイコンのバウンスアニメーション */
@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-3px) rotate(-5deg);
    }

    75% {
        transform: translateY(-3px) rotate(5deg);
    }
}

@media screen and (max-width: 480px) {
    .theme_list .click-icon {
        font-size: 0.75rem;
        padding: 7px 18px;
        bottom: -14px;
    }

    .theme_list .click-icon i {
        margin-right: 4px;
        font-size: 0.95em;
    }
}

/* ---------------------------------------------------------------------- */
/* Re:la紹介セクション - 横並び調整 */
/* ---------------------------------------------------------------------- */

/* 既存のstyle.cssの競合を上書き - 重要度を高める */
.page-dayservice-rela .title-section .row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
}

/* デスクトップでrow-reverseを無効化 */
@media (min-width: 992px) {
    .page-dayservice-rela .title-section .row {
        flex-direction: row-reverse !important;
        align-items: flex-start;
    }
}

/* モバイルでは縦並び */
@media (max-width: 991px) {
    .page-dayservice-rela .title-section .row {
        flex-direction: column !important;
    }
}

.page-dayservice-rela .title-section .menu-box,
.page-dayservice-rela .title-section .text-box {
    display: flex;
    flex-direction: column;
}

/* menu-boxの余白調整 */
.page-dayservice-rela .title-section .row .menu-box {
    margin-bottom: 0 !important;
}

@media (max-width: 991px) {
    .page-dayservice-rela .title-section .row .menu-box {
        margin-bottom: 30px !important;
    }
}

/* プログラムセクション - 背景色削除と左寄せ */
.page-dayservice-rela .program-section .schedule {
    background-color: transparent !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* プログラムセクション - 画像を正方形に */
.page-dayservice-rela .program-section .contents-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
}

/* プログラムセクション - 背景色削除 */
.page-dayservice-rela .program-section.contents-section {
    background-color: transparent !important;
    background: none !important;
}

/* ポイントカードセクション - 背景色追加 */
.page-dayservice-rela .pointcard-section {
    background-color: #f6f2e4;
    padding: 60px 0;
}

/* ポイントカードコンテンツ（service-overview内） */
.page-dayservice-rela .service-overview .pointcard-content {
    margin-top: 60px;
    padding-top: 80px;
}

/* ポイントカード見出し上部の余白 */
.page-dayservice-rela .service-overview .pointcard-content .title-header {
    margin-top: 20px;
}

/* ポイントカードセクション - 1枚画像コンテナ（クリックでスライダー表示） */
.page-dayservice-rela .pointcard-section .pointcard-images,
.page-dayservice-rela .service-overview .pointcard-content .pointcard-images {
    display: block;
    height: 100%;
    padding-top: 60px;
    position: relative;
    cursor: pointer;
    padding-bottom: 25px;
}

/* ポイントカードセクション - 画像アイテム */
.page-dayservice-rela .pointcard-section .pointcard-image-item,
.page-dayservice-rela .service-overview .pointcard-content .pointcard-image-item {
    width: 100%;
}

/* ポイントカードセクション - 画像スタイル */
.page-dayservice-rela .pointcard-section .pointcard-image-item img,
.page-dayservice-rela .service-overview .pointcard-content .pointcard-image-item img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 1枚目の画像のみ表示 */
.page-dayservice-rela .pointcard-section .pointcard-image-item:nth-child(1) img,
.page-dayservice-rela .service-overview .pointcard-content .pointcard-image-item:nth-child(1) img {
    height: auto;
    width: 100%;
}

/* Clickアイコン */
.page-dayservice-rela .service-overview .pointcard-content .pointcard-images .click-icon {
    position: absolute;
    z-index: 20;
    bottom: 13px;
    left: 50%;
    transform: translateX(-50%);
    background: #fdad18;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 9px 22px;
    border-radius: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    letter-spacing: 0.03em;
    animation: clickPulse 2.5s ease-in-out infinite;
}

.page-dayservice-rela .service-overview .pointcard-content .pointcard-images .click-icon:hover {
    opacity: 0.85;
}

/* recreation-card用のクリックアイコン */
.recreation-card.clickable-card {
    position: relative;
    cursor: pointer;
    padding-bottom: 25px;
}

.recreation-card.clickable-card .click-icon {
    position: absolute;
    z-index: 20;
    bottom: 19px;
    left: 50%;
    transform: translateX(-50%);
    background: #fdad18;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 9px 22px;
    border-radius: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    letter-spacing: 0.03em;
    animation: clickPulse 2.5s ease-in-out infinite;
}

.recreation-card.clickable-card .click-icon:hover {
    opacity: 0.85;
}

/* 古い単一画像スタイル（後方互換性） */
.page-dayservice-rela .pointcard-section .pointcard-image,
.page-dayservice-rela .service-overview .pointcard-content .pointcard-image {
    display: flex;
    align-items: center;
    height: 100%;
}

.page-dayservice-rela .pointcard-section .pointcard-image img,
.page-dayservice-rela .service-overview .pointcard-content .pointcard-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
}

/* モバイル対応 */
@media (max-width: 768px) {

    .page-dayservice-rela .pointcard-section .pointcard-images,
    .page-dayservice-rela .service-overview .pointcard-content .pointcard-images {
        padding-top: 30px;
    }
}

/* ポイントカードセクション - テキスト中段寄せ */
.page-dayservice-rela .pointcard-section .pointcard-details,
.page-dayservice-rela .service-overview .pointcard-content .pointcard-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.page-dayservice-rela .pointcard-section .pointcard-details>p,
.page-dayservice-rela .service-overview .pointcard-content .pointcard-details>p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-dayservice-rela .pointcard-section .pointcard-details>p:first-child,
.page-dayservice-rela .service-overview .pointcard-content .pointcard-details>p:first-child {
    font-weight: 600;
    color: #008e66;
    font-size: 17px;
}

.page-dayservice-rela .pointcard-section .pointcard-philosophy,
.page-dayservice-rela .service-overview .pointcard-content .pointcard-philosophy {
    padding: 25px;
    border-radius: 10px;
    margin-top: 10px;
}

.page-dayservice-rela .pointcard-section .pointcard-philosophy p,
.page-dayservice-rela .service-overview .pointcard-content .pointcard-philosophy p {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 15px;
}

.page-dayservice-rela .pointcard-section .pointcard-philosophy p:last-child,
.page-dayservice-rela .service-overview .pointcard-content .pointcard-philosophy p:last-child {
    margin-bottom: 0;
}

/* イベントセクション - 背景色 */
.page-day-service .event-section,
.page-dayservice-rela .event-section {
    background: #f6f2e4 !important;
    padding: 60px 20px !important;
}

/* アクセスセクション - h4スタイル */
.page-dayservice-rela .access-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

/* 料金表セクション - オプション一覧テーブル */
.page-dayservice-rela .price-section .option-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-dayservice-rela .price-section .option-table thead th {
    background-color: #008e66;
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.page-dayservice-rela .price-section .option-table tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.page-dayservice-rela .price-section .option-table tbody tr:last-child td {
    border-bottom: none;
}

.page-dayservice-rela .price-section .option-table .category-header {
    background-color: #f0f0f0;
    font-weight: 600;
    color: #008e66;
    padding: 12px 15px;
    text-align: center;
}

.page-dayservice-rela .price-section .option-table tbody tr:hover {
    background-color: #f9f9f9;
}

.page-dayservice-rela .price-section .option-table tbody tr:has(.category-header):hover {
    background-color: #f0f0f0;
}

/* ---------------------------------------------------------------------- */
/* 画像ポップアップモーダル */
/* ---------------------------------------------------------------------- */

/* モーダル背景 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* モーダル内の画像 */
.modal-content {
    max-width: 70%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* 閉じるボタン */
.modal-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    line-height: 1;
    user-select: none;
}

.modal-close:hover {
    color: #fdad18;
    transform: rotate(90deg);
}

/* クリック可能なカードにカーソルポインター */
.clickable-card {
    cursor: pointer;
}

/* スライダー矢印ボタン */
.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 60px;
    font-weight: 300;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    z-index: 10001;
    padding: 10px 20px;
}

.modal-prev {
    left: 30px;
}

.modal-next {
    right: 30px;
}

.modal-prev:hover,
.modal-next:hover {
    color: #fdad18;
    transform: translateY(-50%) scale(1.2);
}

/* スライダーインジケーター */
.modal-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10001;
}

.modal-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-indicator.active {
    background: #fdad18;
    transform: scale(1.3);
}

.modal-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
    .modal-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }

    .modal-content {
        max-width: 95%;
        max-height: 85%;
    }

    .modal-prev,
    .modal-next {
        font-size: 40px;
        padding: 5px 10px;
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }

    .modal-indicators {
        bottom: 20px;
        gap: 8px;
    }

    .modal-indicator {
        width: 10px;
        height: 10px;
    }
}

/* 活動例コンテンツ（service-overview内） */
.page-dayservice-rela .service-overview .activities-content {
    margin-top: 0px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.page-dayservice-rela .service-overview .activities-content .title-header {
    margin-top: 20px;
    margin-bottom: 40px;
}

/* activities-contentにrecreation-sectionのスタイルを適用 */
.page-dayservice-rela .service-overview .activities-content .recreation-slider {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.page-dayservice-rela .service-overview .activities-content .recreation-slider .slick-prev,
.page-dayservice-rela .service-overview .activities-content .recreation-slider .slick-next {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    z-index: 1;
}

.page-dayservice-rela .service-overview .activities-content .recreation-slider .slick-prev:before,
.page-dayservice-rela .service-overview .activities-content .recreation-slider .slick-next:before {
    font-size: 40px;
    opacity: 1;
    color: #005d36;
}

.page-dayservice-rela .service-overview .activities-content .recreation-slider .slick-prev {
    left: -20px;
}

.page-dayservice-rela .service-overview .activities-content .recreation-slider .slick-next {
    right: -20px;
}

.page-dayservice-rela .service-overview .activities-content .recreation-slider .slick-dots {
    bottom: -40px;
    display: block !important;
}

.page-dayservice-rela .service-overview .activities-content .recreation-slider .slick-dots li button:before {
    font-size: 12px;
    color: #cccccc;
    opacity: 1;
}

.page-dayservice-rela .service-overview .activities-content .recreation-slider .slick-dots li.slick-active button:before {
    color: #005d36;
}

.page-dayservice-rela .service-overview .activities-content .recreation-slider .slick-slide {
    padding: 0 10px;
}

.page-dayservice-rela .service-overview .activities-content .recreation-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 500px;
    display: flex;
    flex-direction: column;
    margin: 20px 10px;
}

.page-dayservice-rela .service-overview .activities-content .recreation-card img {
    width: 100%;
    object-fit: cover;
    margin: 20px auto;
    max-width: 300px;
    aspect-ratio: 4/3;
}

.page-dayservice-rela .service-overview .activities-content .recreation-card h5 {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 15px;
    padding: 0 15px;
}

.page-dayservice-rela .service-overview .activities-content .recreation-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    text-align: center;
    padding: 0 20px 20px;
    flex-grow: 1;
}