/* 診療時間・アクセス情報のスタイル */

.clinic-info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    align-items: stretch;
    background-color: white;
    border-radius: 30px;
    padding: 50px 40px;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
}

/* 診療時間セクション */
.schedule-section {
    margin-bottom: 0px;
    width: 50%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.schedule-table {
    margin-bottom: 0px;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.schedule-header {
    display: flex;
    gap: 70px;
    align-items: center;
    padding: 15px 0px 5px;
    margin-bottom: 10px;
    position: relative;
    width: fit-content;
}

.schedule-header::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000033;
}

.schedule-header span {
    font-weight: bold;
    color: #474747;
}

.schedule-header .days-header {
    display: flex;
    gap: 12px;
}

.schedule-header .days-header span {
    width: 20px;
    text-align: center;
}

.schedule-row {
    display: flex;
    align-items: center;
    gap: 15px;
    width: fit-content;
    position: relative;
}

/* 一番下の行だけに下線を追加 */
.schedule-row:last-of-type {
    position: relative;
}

.schedule-row:last-of-type::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 102.5%;
    height: 2px;
    background-color: #000033;
    left: -4.555px;
}

.time-label {
    width: auto;
    min-width: 120px;
    font-size: 16px;
    color: #333;
    flex-shrink: 0;
}

.time-note {
    font-size: 12px;
    color: #666;
    display: block;
    margin-top: 2px;
}

.days-container {
    display: flex;
    gap: 18px;
    align-items: center;
}

.day-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #ff717b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.day-indicator.closed {
    background-color: transparent;
}

.holiday-notice {
    border-radius: 25px;
    text-align: center;
    font-size: 16px;
    width: 100%;
    max-width: 600px;
}

/* 「休診日」文字だけに背景をつける */
.closed-label {
    display: inline-block;
    padding: 0px 15px;
    background-color: #ff717b;  /* サイトの濃いピンク */
    border-radius: 25px;
    color: #ffffff;  /* 白文字 */
    font-weight: bold;  /* 少し太めにすると見やすい */
}

.phone-number {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #474747;
    letter-spacing: 2px;
    width: 100%;
    max-width: 600px;
}

.schedule-table,
.info-row,
.phone-number {
    width: 100%;
    max-width: 600px;  /* すべて同じ幅 */
    margin-left: 0;  /* 念のため追加 */
    margin-right: 0;  /* 念のため追加 */
}


/* 託児情報と休診日を横並びに */
.info-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    margin: 10px 0;
    width: fit-content;  /* 100% → fit-content に変更 */
    max-width: 600px;
    gap: 1px;
}


.schedule-header,
.schedule-row,
.info-row {
    width: fit-content;  /* 内容に合わせた幅 */
}

.childcare-info {
    margin: 0;
    font-size: 12px;
    max-width: 198px;  /* 追加：最大幅を制限 */
    line-height: 1.4;   /* 追加：行間を調整 */
}

.holiday-notice {
    background: none !important;
    text-align: right;
    white-space: nowrap;
}

.holiday-notice {
    background: none !important;
    text-align: left;
    white-space: nowrap;
    min-width: 150px;  /* 最小幅を確保 */
}

/* 「休診日」ラベル */
.closed-label {
    display: inline-block;
    padding: 0px 15px;
    background-color: #ff717b;
    border-radius: 25px;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 5px;
}


/* 地図セクション */
.map-section {
    flex: 1;
    padding: 0;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 300px;  /* 最小の高さを確保 */
}

.map-container img {
    width: 100%;
    height: auto;
    display: block;
}

.access-info {
    text-align: center;
    flex-shrink: 0;  /* アクセス情報は縮まないようにする */
}

.station-info {
    font-size: 18px;
    margin-bottom: 0px;
    color: #666;
    line-height: 1.8;
}

.address00 {
    font-size: 13px !important;
    color: #666;
    line-height: 1.8;
}

/* レスポンシブ対応 */
@media (max-width: 968px) {
    .clinic-info-container {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .clinic-info-container {
        padding: 0px 20px 0px;
    }

    .time-label {
        font-size: 14px;
        width: 145px;
    }

    .days-container {
        gap: 16px;
    }

    .day-indicator {
        width: 14px;
        height: 14px;
    }

    .phone-number {
        font-size: 24px;
    }

    .schedule-section {
        gap: 0px;
        margin-bottom: 0px;
        width: 100%;
        max-width: 600px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    

    .schedule-header {
        display: flex;
        gap: 80px;
        align-items: center;
        padding: 5px 0px;
        margin-bottom: 10px;
        position: relative;
    }
    
    .schedule-header::after {
        content: '';
        position: absolute;
        bottom: -6;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #000033;
    }

    .schedule-row:last-of-type::after {
        bottom: -6px;
    }
    
    

    .schedule-header .days-header {
        display: flex;
        gap: 10px;
    }
    
    .schedule-row {
        display: flex;
        align-items: center;
        gap: 0px;
        padding: 1px 0px;
        margin-bottom: 10px;
    }
    
    /* 診療時間セクション全体を中央配置 */
    #time {
        text-align: center;
    }

    #time .clinic-info-container {
        display: inline-block;
        text-align: left;
    }
}

/* FAQ質問文の下線を削除 */
#qa .faq-question,
#qa .faq-question dt,
#qa .faq-question dt span {
  text-decoration: none !important;
}