@charset "utf-8";

/***************************************************
    _contentfreeinfo_medical_fee_revision.css
    小児近視の診療報酬改定 ページ専用スタイル
***************************************************/

/* --- 目次リンクのホバー調整 --- */
.mokuji a {
    color: #333333;
    text-decoration: none;
    transition: color 0.2s ease;
}
.mokuji a:hover {
    color: #035fb4;
    text-decoration: underline;
}

/* --- 1. 落とし穴セクション（3カラムカード型レイアウト） --- */
.medical_fee_revision_pitfall_container {
    display: flex;
    gap: 20px;
    margin: 30px 0 60px;
}
.pitfall_item {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fdfdfd;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    padding: 25px;
    box-sizing: border-box;
}
.pitfall_img {
    text-align: center;
    margin-bottom: 20px;
}
.pitfall_img img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.pitfall_header {
    margin-bottom: 15px;
}
.pitfall_ttl {
    font-weight: bold;
    font-size: 17px;
    color: #035fb4;
    margin: 0;
    text-align: center;
}
.pitfall_body {
    flex-grow: 1;
}
.pitfall_body p {
    margin: 0;
    line-height: 1.7;
    color: #444444;
}

/* --- 2. 対策セクション（モダンな横長カード＆バッジデザイン） --- */
.medical_fee_revision_countermeasure_container {
    margin: 30px 0 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.countermeasure_item {
    display: grid;
    grid-template-columns: 240px 1fr;
    grid-template-rows: auto 1fr;
    gap: 0 30px;
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    min-height: 300px;
    box-sizing: border-box;
}
.countermeasure_img {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    position: relative;
}
.countermeasure_img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* バッジのスタイル */
.countermeasure_num {
    position: absolute;
    top: -40px;
    left: -25px;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    color: #ffffff;
    background: #aa5600c7;
    padding: 12px 18px;
    border-radius: 50px;
    letter-spacing: 0.05em;
    line-height: 1.2;
    z-index: 2;
}
.countermeasure_num .badge_txt {
    display: block;
    font-size: 11px;
}
.countermeasure_num .badge_no {
    display: block;
    font-size: 26px;
    line-height: 1;
    margin-top: 2px;
}

.countermeasure_header {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 15px;
    align-self: start;
}
.countermeasure_ttl {
    font-size: 25px;
    font-weight: bold;
    color: #333333;
    margin: 0;
    line-height: 1.4;
}
.countermeasure_body {
    grid-column: 2;
    grid-row: 2;
    align-self: flex-start;
}
.countermeasure_body p {
    margin: 0 0 1em 0;
    line-height: 1.8;
    color: #444444;
}
.countermeasure_body p:last-child {
    margin-bottom: 0;
}

/* ガラスモーフィズム装飾 */
.countermeasure_glass_card {
    background: rgb(180 112 3 / 5%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgb(180 112 3 / 20%);
    border-radius: 12px;
    padding: 20px 25px;
    margin-top: 20px;
    box-shadow: 2px 4px 15px rgb(180 112 3 / 6%);
}
.countermeasure_glass_card p {
    font-size: 15px;
    color: #333333;
}
.countermeasure_glass_card p:last-child {
    margin-bottom: 0;
}

/* --- 3. ご案内カードセクション（CTA上部） --- */
.medical_fee_revision_cta_card {
    background: #f8fbff;
    border: none;
    border-radius: 12px;
    padding: 40px;
    margin: 60px 0 40px;
    box-shadow: 0 6px 20px rgba(3, 95, 180, 0.08);
}
.cta_card_ttl {
    font-size: 25px;
    font-weight: bold;
    color: #035fb4;
    margin: 0 0 30px 0;
    text-align: center;
}
.cta_card_inner {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-direction: row-reverse;
}
.cta_card_img {
    width: 35%;
    flex-shrink: 0;
}
.cta_card_img img {
    width: 100%;
    height: auto;
}
.cta_card_body {
    flex: 1;
}

/* 4隅の青い「」あしらい付きメッセージボックス */
.cta_message_box {
    background-color: #ffffff;
    padding: 25px 20px;
    margin: 0 0 20px 0 !important;
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    line-height: 1.8;
    border-radius: 0;
    background-image:
        linear-gradient(#035fb4, #035fb4), linear-gradient(#035fb4, #035fb4),
        linear-gradient(#035fb4, #035fb4), linear-gradient(#035fb4, #035fb4),
        linear-gradient(#035fb4, #035fb4), linear-gradient(#035fb4, #035fb4),
        linear-gradient(#035fb4, #035fb4), linear-gradient(#035fb4, #035fb4);
    background-repeat: no-repeat;
    background-position:
        top left, top left,
        top right, top right,
        bottom left, bottom left,
        bottom right, bottom right;
    background-size:
        20px 3px, 3px 20px,
        20px 3px, 3px 20px,
        20px 3px, 3px 20px,
        20px 3px, 3px 20px;
}

.cta_card_body p {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin: 0 0 1em 0;
}
.cta_card_body p:last-child {
    margin-bottom: 0;
}
.medical_fee_revision_cta_card .cta_card_link {
    text-align: center;
    margin-top: 25px;
}
.cta_card_link a {
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    background: #e87400;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(232, 116, 0, 0.2);
    transition: all 0.2s ease;
}
.cta_card_link a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* --- 5. 導入文（リード文）の読みやすさ向上・レイアウト調整 --- */
.contentFreeInfoPtn02Box .txtBox.medical_fee_intro_txt {
    width: 78%;
}
.contentFreeInfoPtn02Box .imgBox.medical_fee_intro_img {
    width: 20%;
    text-align: right;
    align-self: center;
}
.contentFreeInfoPtn02Box .txtBox.medical_fee_intro_txt p {
    line-height: 1.9;
    margin-bottom: 1.5em;
    font-size: 16px;
    color: #333333;
}
.contentFreeInfoPtn02Box .txtBox.medical_fee_intro_txt p:last-child {
    margin-bottom: 0;
}
.contentFreeInfoPtn02Box .txtBox.medical_fee_intro_txt strong {
    color: #000000;
    font-weight: bold;
}
.contentFreeInfoPtn02Box .txtBox.medical_fee_intro_txt .markerType01 {
    font-size: 20px;
}
.contentFreeInfoPtn02Box .imgBox.medical_fee_intro_img img {
    width: 100%;
    height: auto;
}

/* --- 4. モバイル対応 (767px以下) --- */
@media only screen and (max-width: 767px) {
    /* ページタイトル等、全般的な文字調整 */
    #pageHead h2 {
        font-size: 21px;
    }
    /* ▼ 変更：18pxに変更 */
    .ttlType01 {
        font-size: 18px;
        padding: 15px;
    }
    .mokuji a {
        display: block;
        line-height: 1.5em;
        font-size: 15px;
        padding: 0 0 15px 0;
    }

    /* 落とし穴セクション */
    .medical_fee_revision_pitfall_container {
        flex-direction: column;
        gap: 20px;
    }
    .pitfall_item {
        padding: 20px;
    }
    .pitfall_img {
        margin-bottom: 15px;
    }
    
    /* 対策セクション */
    .medical_fee_revision_countermeasure_container {
        gap: 20px;
    }
    .countermeasure_item {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 25px 20px;
        min-height: auto;
    }
    .countermeasure_img img {
        width: 80%;
        margin: 0 auto;
    }
    .countermeasure_header {
        margin-bottom: 0;
        margin-top: 5px;
    }
    .countermeasure_num {
        top: -20px;
        left: -15px;
        padding: 10px 15px;
    }
    .countermeasure_num .badge_txt {
        font-size: 10px;
    }
    .countermeasure_num .badge_no {
        font-size: 20px;
    }
    .countermeasure_ttl {
        font-size: 16px;
        line-height: 1.4;
    }
    .countermeasure_glass_card {
        padding: 15px;
    }

    /* ご案内カードセクション */
    .medical_fee_revision_cta_card {
        padding: 25px 20px;
        margin: 40px 0 30px;
    }
    /* ▼ 変更：18pxに変更 */
    .cta_card_ttl {
        font-size: 18px;
        line-height: 1.4;
        text-align: center;
        margin-bottom: 20px;
    }
    .cta_card_inner {
        flex-direction: column;
        gap: 20px;
    }
    .cta_card_img {
        width: 80%;
        margin: 0 auto;
    }
    .cta_message_box {
        font-size: 15px;
        padding: 20px 15px;
    }
    .cta_card_body p {
        font-size: 14px;
    }
    .medical_fee_revision_cta_card .cta_card_link {
        text-align: center;
        margin-top: 20px;
    }
    .cta_card_link a {
        font-size: 15px;
        line-height: 1.5;
        padding: 15px 30px;
    }

    /* 導入画像モバイル対応 */
    .contentFreeInfoPtn02Box .txtBox.medical_fee_intro_txt {
        width: auto;
    }
    .contentFreeInfoPtn02Box .txtBox.medical_fee_intro_txt .markerType01 {
        font-size: 18px;
    }
    .contentFreeInfoPtn02Box .imgBox.medical_fee_intro_img {
        width: auto;
        margin-top: 20px;
        text-align: center;
        align-self: auto;
    }
    .contentFreeInfoPtn02Box .imgBox.medical_fee_intro_img img {
        width: 50%;
        height: auto;
    }
}