/* ローカルフォント読み込み - Noto Sans JP */
@font-face {
    font-family: 'Noto Sans JP';
    src: url('../font/Noto_Sans_JP/woff/NotoSansJP-Regular.woff2') format('woff2'),
         url('../font/Noto_Sans_JP/woff/NotoSansJP-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans JP';
    src: url('../font/Noto_Sans_JP/woff/NotoSansJP-Medium.woff2') format('woff2'),
         url('../font/Noto_Sans_JP/woff/NotoSansJP-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans JP';
    src: url('../font/Noto_Sans_JP/woff/NotoSansJP-Bold.woff2') format('woff2'),
         url('../font/Noto_Sans_JP/woff/NotoSansJP-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans JP';
    src: url('../font/Noto_Sans_JP/woff/NotoSansJP-Black.woff2') format('woff2'),
         url('../font/Noto_Sans_JP/woff/NotoSansJP-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    line-height: 1.4;
    color: #000000;
    background-color: #FFFFFF;
}

a{
    text-decoration: none;
}

/* コンテナ */
.container {
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

/* ヘッダー画像 */
.header-image {
    width: 100%;
    height: 187.5px;
    overflow: hidden;
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* メインコンテンツ */
.main-content {
    padding: 40px 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

/* CTAボタン */
.cta-button-container {
    display: flex;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #00B900;
}

.cta-button {
    background-color: #00B900;
    border: 2px solid #FFFFFF;
    border-radius: 8px;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.cta-button-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 185, 0, 0.3);
}

.cta-button span {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 16px;
    line-height: 1.448;
    color: #FFFFFF;
}

.cta-button svg {
    color: #FFFFFF;
    width: 16px;
    height: 16px;
}

/* セクション */
.section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* セクションヘッダー */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #E99BA9;
    border-radius: 8px;
}

.section-line {
    width: 24px;
    height: 1px;
    background-color: #FFFFFF;
}

.section-header h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 18px;
    line-height: 1.448;
    color: #FFFFFF;
    text-align: center;
    width: fit-content;
}

/* セクションコンテンツ */
.section-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 説明文 */
.description {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.448;
    color: #000000;
    text-align: left;
}

/* メリット */
.benefits-container {
    display: flex;
    flex-direction: column;
}

.benefits-header {
    background-color: #2CA9E2;
    border-radius: 8px 8px 0 0;
    padding: 4px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
}

.benefits-header h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 16px;
    line-height: 1.448;
    color: #FFFFFF;
}

.benefits-content {
    border: 2px solid #2CA9E2;
    border-radius: 0 8px 8px 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid #2CA9E2;
}


.benefit-icon {
    width: 16px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    color: #2CA9E2;
}

.benefit-item span {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.448;
    color: #000000;
    flex: 1;
}

/* 診療形態 */
.medical-types {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.medical-type {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
}

.medical-type.insurance {
    /* background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), #FFDBE2; */
    background-image: url('../img/insurance-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.medical-type.self-pay {
    /* background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), #FFDBE2; */
    background-image: url('../img/self-pay-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.medical-type-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background-color: #2CA9E2;
    border-radius: 8px;
    align-items: center;
}

.medical-type-header h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1em;
    color: #FFFFFF;
    text-align: center;
}

.medical-type-header p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1em;
    color: #FFFFFF;
    text-align: center;
}

.medical-type-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    align-items: flex-end;
}

.medical-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    width: 100%;
}

.tag {
    background-color: #FFFFFF;
    border: 1px solid #2CA9E2;
    border-radius: 8px;
    padding: 8px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.448;
    color: #2CA9E2;
    text-align: center;
    min-width: 147px;
    flex: 1;
    max-width: 148px;
}

.etc {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1em;
    color: #2CA9E2;
    text-align: center;
}

/* 情報ボックス */
.info-box {
    background-color: #0F5B7C;
    color: #FFFFFF;
    border-radius: 4px;
    padding: 12px;
}
.info-box p {
    font-size: 14px;
}

/* 注意書き */
.notes {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.note {
    display: flex;
    gap: 1.04px;
}

.note-mark {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 1.2;
    color: #FE0000;
}

.note p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 1.2;
    color: #FE0000;
    flex: 1;
}

/* 診療の流れ */
.flow-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

.flow-image img {
    width: 100%;
    object-fit: fill;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #2CA9E2;
}

.faq-question,
.faq-answer {
    display: flex;
    gap: 2.6px;
}

.faq-label {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 16px;
    line-height: 1.448;
}

.faq-label.q {
    color: #E99BA9;
}

.faq-label.a {
    color: #2CA9E2;
}

.faq-question p,
.faq-answer p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #000000;
    flex: 1;
}

.faq-question p {
    font-weight: 700;
}

.faq-answer p {
    font-weight: 400;
}

.faq-answer-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.note-small {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 1.4;
    color: #FE0000;
}

/* スケジュール情報 */
.schedule-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.schedule-type {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.schedule-label {
    background-color: #2CA9E2;
    border-radius: 4px;
    padding: 4px 8px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1em;
    color: #FFFFFF;
    display: inline-block;
    width: fit-content;
}

.schedule-details {
    display: flex;
    flex-direction: column;
}

.schedule-row {
    display: flex;
}

.schedule-day {
    width: 80px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.4;
    color: #000000;
}

.schedule-row span:last-child {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.4;
    color: #000000;
    flex: 1;
}

/* フッター画像 */
.footer-image {
    width: 100%;
    height: 79.79px;
    overflow: hidden;
}

.footer-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* レスポンシブ対応（viewportで制御するためシンプルに） */
@media (max-width: 320px) {
    .container {
        width: 320px;
    }
    
    .main-content {
        padding: 32px 12px;
    }
    
    .tag {
        min-width: 120px;
        max-width: 120px;
        font-size: 12px;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.6s ease-out;
}

/* 料金表 */
.cost-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cost-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cost-title {
    font-weight: 700;
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.cost-table th,
.cost-table td {
    border: 1px solid #000;
    padding: 8px;
    text-align: left;
    vertical-align: top;
}

.cost-table th {
    white-space: nowrap;
}

