/* denkapack_price.css
-------------------------------------------------------------------------------------------------*/

.price .page_nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.price .page_nav li {
    font-weight: bold;
    text-align: center;
    color: #fff;
    display: grid;
    grid-template-rows: subgrid;
    position: relative;
}
.price .page_nav li::after {
    content: "";
    display: block;
    width: 100%;
    height: 6px;
    background: url(/common/img/service/denka/denkapack/price/arrow_down.svg) no-repeat center;
    position: absolute;
    bottom: 3px;
}
.price .page_nav .ecocute {
    background-color: #ED8599;
}
.price .page_nav .ecocute_ido {
    background-color: #5082C4;
}
.price .page_nav .ihcooking {
    background-color: #F29600;
}
.price .page_nav .aircon {
    background-color: #27B189;
}
.price .page_nav li a {
    display: grid;
    align-items: center;
    color: #fff !important;
    text-decoration: none !important;
    line-height: 1.2;
    padding: 6px 5px 12px;
}
.price h4 {
    color: #fff;
    line-height: 1;
    padding: 10px 10px 7px;
    margin: 24px 0 22px;
    font-size: 20px;
}
.price h4.ecocute {
    background-color: #ED8599;
}
.price h4.ecocute_ido {
    background-color: #5082C4;
}
.price h4.ihcooking {
    background-color: #F29600;
}
.price h4.aircon {
    background-color: #27B189;
}
.price h5 {
    font-size: 19px;
    font-weight: bold;
    color: #AF9B6C;
}
.price .tab_container + h5 {
    margin-top: 50px;
}
.price .tab {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 10px;
    position: relative;
}
.price .tab2 {
        grid-template-columns: repeat(2, 1fr);
}
.price .tab::after {
    content: "";
    display: block;
    width: auto;
    height: 2px;
    background-color: #AF9B6C;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.price .tab li {
    padding: 6px 0 4px;
    font-weight: bold;
    text-align: center;
    background-color: #BEBEBE;
    color: #fff;
    border: solid 2px #fff;
    position: relative;
    cursor: pointer;
}
.price .tab li.is-active {
    background-color: #fff;
    color: #AE9B6C;
    border: solid 2px #AF9B6C;
    border-bottom: #fff;
    z-index: 2;
}
.price .tab.one_line li {
    padding: 14px 0 12px;
}
.price .tab_content {
    display: none;
}
.price .tab_content.is-show {
    display: block;
}
.price h6 {
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: bold;
}
.price .select_outer {
    margin-top: 16px;
}
.price .select_outer + .select_outer {
    border-top: solid 1px #707070;
    padding-top: 16px;
}
.price .select {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 8px;
}
.price .comparison {
    display: grid;
    grid-auto-flow: column;   /* 横方向に並べる */
    grid-auto-columns: auto;  /* 各アイテムの幅を自動に */
    grid-template-columns: 155px repeat(auto-fit, minmax(180px, 1fr));
    grid-template-rows: auto;
    gap: 5px;
    overflow-x: auto;         /* はみ出たら横スクロール */
    white-space: nowrap;      /* テキストの折り返し防止 */
    text-align: center;
}
.price .comparison dl {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 8; /* 8行分 */
    gap: 0;
    /* place-items: center; */
    padding: 10px;
    background-color: #FAFAFA;
}
.price .ihcooking + .tab_container .comparison dl {
    grid-row: span 10; /* 10行分 */
}
.price .comparison dl.is-hide {
    display: none;
}
.price .comparison .item_koumoku {
    background-color: #E5E5E5;
    position: sticky;
    left: 0;
    z-index: 10;
}
.price .comparison dt {
    display: grid;
    align-items: center;
    padding: 6px;
}
.price .comparison dd {
    display: grid;
    align-items: center;
    padding: 8px;
    position: relative;
}
.price .comparison .model,
.price .comparison .josu,
.price .comparison .type,
.price .comparison .shiyo,
.price .comparison .color,
.price .comparison .price_maker,
.price .comparison .price_plan_3s,
.price .comparison .price_plan_3i,
.price .comparison .tokucho,
.price .comparison .function,
.price .comparison .hojokin {
    border-top: solid 1px #fff;
    /* border-top: solid 1px #ccc; */
    /* width: 100%; */
}
.price .comparison .shiyo,
.price .comparison .tokucho {
    white-space: normal;
}
.price .comparison .price_plan_3s,
.price .comparison .price_plan_2s,
.price .comparison .price_plan_s,
.price .comparison .price_plan_3i,
.price .comparison .price_plan_2i {
    padding: 32px 0 0;
}
.price .comparison .price_plan_s,
.price .comparison .price_plan_2i {
    padding-bottom: 20px;
}

.price .comparison .price_plan_3s + .function {
    margin-top: 10px;
}
.price .price_lease {
    display: block;
    margin-bottom: 7px;
    position: absolute;
    top: 8px;
    width: 100%;
    text-align: center;
}
.price dl:not(.item_koumoku) .price_plan_3s,
.price .price_plan_3s .plan_name,
.price dl:not(.item_koumoku) .price_plan_3i,
.price .price_plan_3i .plan_name {
    font-size: 22px;
    color: #7FB855;
}
.price dl:not(.item_koumoku) .price_plan_2s,
.price .price_plan_2s .plan_name,
.price dl:not(.item_koumoku) .price_plan_2i,
.price .price_plan_2i .plan_name {
    font-size: 22px;
    color: #4E84C2;
}
.price dl:not(.item_koumoku) .price_plan_s,
.price .price_plan_s .plan_name {
    font-size: 22px;
    color: #DA6A75;
}
.price .comparison .button_function {
    display: block;
    margin: auto;
    padding: 1px 10px;
    font-size: 12px;
    border-radius: 100vmax;
    background-color: #707070;
    color: #fff !important;
    text-decoration: none !important;
    /* max-width: 140px; */
}
.price .comparison .button_function:hover {
    background-color: #FFE971;
    color: #000 !important;
}