@charset "utf-8";

/***************************************************
    _contentfreeinfo_pharmacy.css
    調剤薬局向けセミセルフレジ ページ専用スタイル
***************************************************/

/* --- 0. ページタイトル：ラベルで改行するレイアウト --- */
.pharmacy_page_ttl {
    display: block;
    margin: 0;
    color: #ffffff;
    font-weight: bold;
    font-size: 28px;
    line-height: 1.4;
}
.ttl_prefix {
    display: block;
    font-size: 0.8em;
    margin-bottom: 5px;
}
.ttl_text {
    display: block;
}

/* --- 0.1 ファーストビュー (FV) デザイン --- */
.fv_area {
    padding: 60px 0 !important;
    background: linear-gradient(to right, #066bb7 0%,#29bbec 100%);
    overflow: hidden;
}
.fv_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.fv_text_side {
    flex: 1.2;
}
.fv_image_side {
    flex: 0.8;
    text-align: right;
}
.fv_image_side img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
    border-radius: 10px;
}
.fv_sub_copy {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}
.fv_sub_copy span {
    background: rgba(0,0,0,0.2);
    padding: 4px 12px;
    border-radius: 4px;
}
.fv_tag_wrapper {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}
.fv_tag {
    background: #fff;
    color: #035fb4;
    font-weight: bold;
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- 1. 運用スタイルのカード型レイアウト --- */
.pharmacy_style_row {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    gap: 30px;
}
.style_item {
    flex: 1;
    border: 1px solid #cbcbcb;
    border-radius: 10px;
    background: #fff;
    padding-bottom: 20px;
    position: relative;
}
.style_item.best {
    border: 2px solid #035fb4;
    box-shadow: 0 4px 10px rgba(3, 95, 180, 0.1);
}
.style_item .imgBox {
    text-align: center;
    position: relative;
    padding: 10px 0;
}
.style_item .imgBox img {
    display: inline-block;
    vertical-align: top;
    max-width: 100%;
    height: auto;
}
.stamp_tag {
    position: absolute;
    top: -25px;
    left: -25px;
    width: 100px;
    z-index: 10;
    pointer-events: none;
}
.stamp_tag img {
    width: 100%;
    height: auto;
    transform: rotate(-15deg);
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}
.style_ttl {
    font-weight: bold;
    color: #035fb4;
    font-size: 18px;
    margin: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d8e6ea;
    text-align: left;
}
.style_txt {
    padding: 0 20px;
    font-size: 15px;
    text-align: left;
}

/* --- 2. メリットセクション：モダンバブルレイアウト --- */
.benefit_image_center {
    text-align: center;
    margin: 30px 0 40px;
}
.benefit_image_center img {
    max-width: 50%;
    height: auto;
    border-radius: 10px;
}
.pharmacy_benefit_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0 60px;
    justify-content: center;
}
.benefit_card {
    display: flex;
    flex-direction: column;
    width: calc(33.333% - 20px);
    min-height: 330px; 
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 20px;
    padding: 57px 25px 20px;
    box-sizing: border-box;
    position: relative; 
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    z-index: 1;
    text-align: center;
}
@media only screen and (min-width: 768px) {
    .benefit_card:hover {
        transform: translateY(-8px);
    }
}
.card_num {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 100px;
    font-weight: 800;
    color: #e5ebfd;
    line-height: 1;
    z-index: 0;
    font-family: 'Arial Black', sans-serif;
    user-select: none;
    opacity: 0.8;
}
.benefit_card::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 340px;
    background: #e5ebfd;
    border-radius: 50%;
    z-index: 1;
    opacity: 0.7;
}
.card_body {
    position: relative;
    z-index: 2;
    flex-grow: 1;
}
.card_ttl {
    font-weight: bold;
    color: #035fb4;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 40px;
    min-height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card_txt {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin: 0;
    text-align: justify;
}

/* --- 3. なぜ選ばれるのか --- */
.why_box_simple {
    margin: 60px 0 80px;
    padding: 30px 0;
    border-top: 1px solid #d8e6ea;
    border-bottom: 1px solid #d8e6ea;
    text-align: center;
}
.why_ttl {
    font-weight: bold;
    color: #035fb4;
    font-size: 20px;
    margin-bottom: 20px;
}
.why_txt {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.why_txt p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

/* --- 4. 注意点（デメリット） --- */
.pharmacy_caution_container {
    margin: 30px 0 60px;
    background: #fdfdfd;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    overflow: hidden;
}
.caution_item {
    display: flex;
    align-items: flex-start;
    padding: 25px 30px;
    border-bottom: 1px solid #e1e1e1;
}
.caution_item:last-child {
    border-bottom: none;
}
.caution_header {
    display: flex;
    align-items: center;
    width: 240px;
    flex-shrink: 0;
}
.caution_icon {
    font-size: 24px;
    margin-right: 15px;
    width: 32px;
    text-align: center;
}
.caution_ttl {
    font-weight: bold;
    font-size: 17px;
    color: #333;
}
.caution_body {
    padding-left: 20px;
    border-left: 1px solid #e1e1e1;
}

/* --- 5. NSIPS解説エリア --- */
.nsips_simple_area {
    margin: 40px 0 30px;
}
.nsips_definition_block {
    background: #f0f7ff;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}
.nsips_title {
    font-size: 22px;
    font-weight: bold;
    color: #035fb4;
    margin-bottom: 15px;
    border-left: 5px solid #035fb4;
    padding-left: 15px;
}
.nsips_benefit_list_modern {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.nsips_item {
    display: flex;
    align-items: flex-start;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e1e1e1;
}
.nsips_icon_box {
    width: 46px;
    height: 46px;
    background: #e5ebfd;
    color: #035fb4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    margin-right: 20px;
}

/* --- 6. 選定ポイント --- */
.pharmacy_selection_wrap {
    display: flex;
    gap: 40px;
    margin: 50px 0 80px;
    align-items: center; 
}
.selection_image_side { flex: 1.1; }
.selection_image_side img { max-width: 100%; border-radius: 15px; display: block; }
.selection_text_side { flex: 0.9; }
.point_content_item { margin-bottom: 35px; }
.point_icon {
    font-size: 24px;
    background: #e5ebfd;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.point_ttl { font-weight: bold; color: #035fb4; font-size: 17px; }

/* --- 7. 導入費用相場・補助金 --- */
.cost_impact_box {
    position: relative;
    background: #fff;
    border: 2px solid #035fb4;
    border-radius: 20px;
    padding: 50px 40px 35px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(3, 95, 180, 0.1);
    text-align: center;
}
.cost_label_badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #035fb4;
    color: #fff;
    padding: 8px 30px;
    border-radius: 50px;
    font-weight: bold;
}
.price_num {
    font-size: 60px;
    color: #035fb4;
    font-family: 'Arial Black', sans-serif;
}
.subsidy_main_content {
    background: #f8fbff;
    padding: 30px;
    border-radius: 15px;
}
.subsidy_card_ttl {
    font-weight: bold;
    color: #035fb4;
    font-size: 18px;
    margin-bottom: 12px !important;
    display: flex;
    align-items: center;
    gap: 10px;
}
.recommend_badge {
    background: #e87400; 
    color: #fff;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* --- 8. 製品案内ボックス --- */
.product_guide_modern {
    background: #fff;
    border-top: 5px solid #035fb4;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    margin: 80px 0 50px;
    padding: 60px 40px;
    overflow: hidden;
}
.product_main_ttl {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    color: #333;
    line-height: 1.5;
    margin-bottom: 30px;
}
.product_main_ttl span {
    color: #035fb4;
}
.product_intro_txt {
    display: block !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 50px !important;
    text-align: center !important;
    font-size: 16px;
    line-height: 1.8;
}
.product_feature_grid {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}
.product_feature_card {
    flex: 1;
    background: #f9fbfd;
    padding: 30px 25px;
    border-radius: 12px;
}
.feature_tag {
    font-size: 12px;
    font-weight: 800;
    color: #035fb4;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    display: inline-block;
}
.feature_ttl {
    font-weight: bold;
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}
.feature_line {
    width: 30px;
    height: 2px;
    background: #035fb4;
    margin-bottom: 20px;
}
.feature_txt {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

/* --- 9. CTAボタン --- */
.product_cta_area {
    text-align: center;
}
.btn_cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #035fb4; 
    color: #ffffff !important; 
    padding: 20px 60px;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none !important; 
    border-radius: 50px;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(3, 95, 180, 0.3);
}
.btn_cta:hover {
    background: #024a8d; 
    transform: translateY(-3px);
    color: #ffffff !important;
}

.mokuji a { color: #333; text-decoration: none; }
.mokuji a:hover { color: #035fb4; text-decoration: underline; }

/* --- 10. レスポンシブ調整（モバイル：767px以下） --- */
@media only screen and (max-width: 767px) {
    .pharmacy_page_ttl { font-size: 22px; }
    .ttl_prefix { margin-bottom: 2px; }
    
    /* FVモバイル：画像非表示 */
    .fv_area { padding: 40px 0 !important; }
    .fv_inner { display: block; }
    .fv_text_side { text-align: center; }
    .fv_image_side { display: none; }
    .fv_tag_wrapper { justify-content: center; flex-wrap: wrap; margin-top: 15px; }

    /* 目次モバイル */
    .mokuji {
        padding: 15px 10px;
        margin: 25px 0;
        background: #fff; 
        border: 1px solid #d8e6ea;
        border-radius: 8px;
        box-sizing: border-box;
    }
    .mokuji-midashi {
        text-align: center;
        font-weight: bold;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 1px solid #d8e6ea;
        color: #333;
        font-size: 15px;
    }
    .mokuji ol { margin: 0; padding: 0; list-style: none; counter-reset: mokuji-counter; }
    .mokuji ol li {
        display: flex; 
        align-items: flex-start;
        margin-bottom: 12px; 
        font-size: 13px;
        line-height: 2em; 
        counter-increment: mokuji-counter; 
    }
    .mokuji ol li::before {
        content: counter(mokuji-counter) "."; 
        flex-shrink: 0;
        width: 20px; 
        font-weight: bold;
        color: #333;
    }
    .mokuji ol li:last-child { margin-bottom: 0; }
    .mokuji ol li a { display: inline; line-height: 2em; color: #035fb4; text-decoration: underline; padding: 0; }

    /* メリットモバイル */
    .benefit_card { 
        width: 100%; 
        margin-bottom: 30px; 
        min-height: 280px; 
        padding: 76px 20px 40px; 
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        box-sizing: border-box;
        transform: none !important; 
    }
    .benefit_card::after {
        background: #e5ebfd; 
        width: 347px; 
        height: 287px;
        bottom: -150px;
        left: 50%; 
        opacity: 0.35;
    }
    .card_num { 
        color: #e5ebfd; 
        font-size: 80px; 
        top: -10px; 
        left: -5px; 
        opacity: 0.6; 
    }
    .card_ttl { font-size: 18px; margin-bottom: 47px; min-height: auto; text-align: center; font-weight: bold; }
    .card_txt { font-size: 14px; line-height: 1.7; text-align: justify; }

    /* 補助金モバイル調整 */
    .subsidy_card_ttl { flex-wrap: wrap; line-height: 1.4; }

    /* 製品案内モバイル：センター配置を強制 */
    .product_intro_txt { text-align: center !important; margin-bottom: 30px !important; }
    .product_guide_modern { padding: 40px 20px; }
    .product_feature_grid { flex-direction: column; }
    .product_main_ttl { font-size: 22px; }
    .btn_cta { display: flex; width: 100%; box-sizing: border-box; padding: 20px 10px; font-size: 16px; letter-spacing: 0; }

    .price_num { font-size: 48px; }
    .pharmacy_style_row { display: block; }
    .style_item { margin-bottom: 30px; }
    .benefit_image_center img { max-width: 80%; }
    .pharmacy_selection_wrap { display: block; }
    .selection_image_side { margin-bottom: 30px; text-align: center; }
    .selection_image_side img { max-width: 100%; margin: 0 auto; }
    .selection_text_side { padding-top: 0; }
    .caution_item { display: block; padding: 20px; }
    .caution_header { width: auto; margin-bottom: 10px; }
    .caution_body { padding-left: 0; border-left: none; border-top: 1px dashed #e1e1e1; padding-top: 10px; }
}