/* カスタマイズ用CSS */

/*---------------------------------------------
  ヘッダー
---------------------------------------------*/

/**
 * [内容]: メインページのタブレット幅でヘッダーメニューアイコンを表示
 * [参考]: html > template > skc > assets > css > style.css
 */
 @media only screen and (min-width: 900px){
    .ec-headerNavSP{
        display: none;
    }
    .ec-itemNav__nav {
        display: inline-block;
    }
    .ec-itemNav__nav li {
        float: left;
        width: auto;
    }
    .ec-itemNav__nav li a {
        text-align: center;
        border-bottom: none;
    }
    .ec-itemNav__nav li ul {
        display: block;
        z-index: 100;
        position: absolute;
    }
    .ec-itemNav__nav li ul li {
        overflow: hidden;
        height: 0;
    }
    .ec-itemNav__nav > li:hover > ul > li {
        overflow: visible;
        height: auto;
    }
    .ec-itemNav__nav li ul li ul:before {
        content: "\f054";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 12px;
        color: white;
        position: absolute;
        top: 19px;
        right: auto;
        left: -20px;
    }
    .ec-itemNav__nav li ul li:hover > ul > li {
        overflow: visible;
        height: auto;
        width: auto;
    }
    .ec-drawerRole {
        display: none;
    }
    .ec-drawerRoleClose {
        display: none;
    }
    .ec-drawerRole.is_active {
        display: none;
    }
    .ec-drawerRoleClose.is_active {
        display: none;
    }
    .ec-overlayRole {
        display: none;
    }
    .have_curtain .ec-overlayRole {
        display: none;
    }
}

/**
 * タブレット幅（中画面 : 768px < width < 900px）において、メニューアイコンが猫アイコン部分と重ならないよう調整
 */
@media only screen and (max-width: 900px){
    .ec-headerLogo
    {
        padding-left: 50px;
    }
}

/**
 * New アイコン
 */
.plan-simulation-item {
    position: relative;
    /* 他のスタイル */
}
.new-label_pc {
    display: inline-block;
    color: red; /* テキストの色 */
    font-size: 0.8em;

    /* 新しい位置 */
    position: absolute;
    top: -15px; /* 適切な位置に調整 */
    left: -10px; /* 適切な位置に調整 */
}
.new-label_sp {
    display: inline-block;
    color: rgb(182,68,0); /* テキストの色 */
    font-size: 0.8em;

    /* 新しい位置 */
    position: absolute;
    top: 0px; /* 適切な位置に調整 */
    left: 5px; /* 適切な位置に調整 */
}
.mark-yellow {
    background: linear-gradient(transparent 60%, yellow 100%);
}

/*---------------------------------------------
  共通
---------------------------------------------*/

/**
 * blockBtn, inlineBtnの文字色を「青緑→白」へ変更（デフォルトの設定でaタグの文字が青緑に設定されているため）
 */
 a.ec-blockBtn--action,
 a.ec-blockBtn--cancel,
 a.ec-blockBtn--primary,
 a.ec-inlineBtn--action {
     color: #fff; /* 共通のスタイルを指定 */
 }
/**
 * Twitterアイコンを「X」に変更
 */
 .fa-twitter:before {
    content: '𝕏';
    font-family: unset;
    font-weight: bold;
}

/*---------------------------------------------
  Q＆A（/contents/faq）
---------------------------------------------*/

/**
 * Q&Aの「Q.」に当たる部分のカーソルをポインターに変更
 */
#topLP .lp_wrap .FaqTable th {
    cursor: pointer;
}

/*--------------------------------------------------
  プランシミュレーション（/products/plan_simulation）
--------------------------------------------------*/

/* フィルターブロック */
#filter-block {
    letter-spacing: 0.1em;
}
#filter-block h5.card-title {
    padding: 0px;
    font-weight: 400;
    color: black;
    font-size: 2rem;
    text-align: left;
}
#filter-block .form-check {
    margin: 5px;
}
#filter-block h3{
    color: #425378;
}
#filter-block .accordion-button {
    font-size: 1.4rem;
    font-weight: bold;
    color: #425378!important;
    background-color: #edf7fb !important;
}
#filter-block .accordion-button:focus {
    color: #425378;
    box-shadow: none !important;
}
#filter-block .accordion-button:not(.collapsed)::after {
    box-shadow: none !important
}
/* 商品ブロック */
#product-block .col-md-4 {
    margin-top: 5px; /* 上側の余白を調整 */
    margin-bottom: 5px; /* 下側の余白を調整 */
}
#product-block h4 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.2em;
    padding: 0.3em;
    color: #425378;
    border-bottom: 4px solid #72c6c8;
    border-left: 10px solid #72c6c8;
}
#product-block .plan_caption {
    width: 96%;
    margin: 10px auto;
    color: #00b5d1;
    background-color: #edf7fb;
    text-align: center;
    padding: 0.2em;
    border-radius: 10px;
    font-size: 1.3rem;
}
#product-block .card {
    border-radius: 20px;
    box-shadow: 0px 0px 10px -5px rgb(0 0 0 / 70%);
    width: 100%;
    padding: 10px 0;
}
#product-block .card-body h5 {
    text-align: center;
    font-size: 1.7rem;
    line-height: 1.5;
}
#product-block .card-body h5 span {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.3;
}
#product-block .price_free {
    color: #ee4174;
    font-size: 2.5rem;
}
#product-block .plan_price {
    font-weight: 600;
    text-align: center;
    font-size: 2.5rem;
}
#product-block .ini_free {
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.5;
    background-color: #ee4174;
    color: #FFF;
    width: 86%;
    margin: 0 auto 15px;
    padding: 2px 0;
}
#product-block .ini_paid {
    background-color: #405174;
}
#product-block .linktxt {
    max-width: 1140px;
    text-align: right;
    padding: 1em 0;
}
#product-block .option-category {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5em 0;
    padding: 0.3em 1.0rem;
    border: none;
    line-height: 1.5;
    color: #405174;
}
#product-block .option-title {
    font-size: 1.5rem;
    letter-spacing: 0.1rem;
    padding: 0;
    margin: 0 0 10px 0;
    border: none;
    color: #425378;
    font-weight: 500;
    line-height: 1.4;
}
#discount-products ul > li {
    font-size: 1.2rem;
}
.discount-message {
    background: #3eb1ab;
    color: #fff;
    font-size: 1.2rem;
    padding: 4px 4px;
    box-sizing: border-box; /* paddingをボックス全体に含める */
}
@media (max-width: 1200px) {
    #product-block .col-md-4 {
        flex: 0 0 auto;
        width: 50%;
        margin-bottom: 10px !important;
    }
}
@media (max-width: 900px) {
    #product-block .col-md-4 {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 10px !important;
    }
}

/* 商品が選択されたときのスタイル */
#product-block .btn-check:checked + label.btn-label .card {
    box-shadow: 0 0 0 2px #00b5d1; 
}

/* サマリーブロック */
.sticky-bottom {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    z-index: 1020;
}
.border-radius-5 {
    border-radius: 5rem !important;
}
.border-summary {
    border: 3px solid #72c6c8;
}
.text-summary-cost {
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: #405174;
}
#summaryBtn .button-size {
    line-height: normal;
    white-space: normal;
    width: 200px;
}
#enqueteLink.s-three-button-paid {
    background-color: #6ca6bf;
    background-image: linear-gradient(to top right, #405174 0%, #70c4c6 70%);
}
#enqueteLink.s-three-button-paid:hover,
#enqueteLink.s-three-button-paid:active {
    background: linear-gradient(to top right, #70c4c6 0%, #405174 70%);
    background-color: #529ebf;
}
#enqueteLink.s-three-button:hover,
#enqueteLink.s-three-button:active {
    opacity: 100;
    color: #fff;
}
#enqueteLink.s-three-button-plan {
    font-size: 1.7rem;
    width: 200px;
    margin: auto;
    padding: 0.5em;
    line-height: 2.0;
}
.total-initial-cost,
.total-monthly-cost {
    font-size: 2.0rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
}
@media (max-width: 900px) {
    #summary-block .col-sm-6 {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 10px !important;
    }
    #summary-block .row.p-5 {
        padding: 1.5rem !important;
    }
    #summary-block .col-sm-2 {
        flex: 0 0 auto;
        width: 50%;
        margin-bottom: 10px !important;
    }
    #summary-block #summaryBtn {
        flex: 0 0 auto;
        width: 100%;
    }
    #summary-block .container {
        max-width: 100%;
    }
    #summary-block #pc-attentionContent {
        display: none !important;
    }
    #summary-block #sp-attentionContent {
        display: block !important;
    }
    #summaryBtn .button-size {
        width: 100% !important;
    }
    #enqueteLink.s-three-button-plan{
        width: 100% !important;
    }
}
@media (max-width: 1000px) {
    .container #filter-block {
        width: 100% !important;
    }
    .container #product-block {
        width: 100% !important;
    }
}
#summary-block #pc-attentionContent {
    display: block;
}
#summary-block #sp-attentionContent {
    display: none;
}

/*--------------------------------------------------
  プランシミュレーション非表示（/products/plan_simulation）
--------------------------------------------------*/
#filter-block,#product-block,#summary-block{
display: none;
}
