/* base */
.mv_inner{
    display: block;
    width: 1200px;
    max-width: 100%;
    margin: auto;
}  

/* title */
.heading-1{
    font-size: clamp(2.4rem, 2vw, 3rem);
}

.heading-2{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: anchor-center;
    width: fit-content;
    margin: 0 auto 20px;
    padding: 0 30px;
    line-height: 1.4;
    text-align: center;
    font-size: clamp(2rem, 2vw, 2.7rem);
}

.heading-2:before{
    content: '';
    position: absolute;
    top: 50%;
    left:0;
    display: inline-block;
    width: 20px;
    height: 1px;
    background-color: #222;
}

.heading-2:after{
    content: '';
    position: absolute;
    top: 50%;
    right:0;
    display: inline-block;
    width: 20px;
    height: 1px;
    background-color: #222;
}

.heading-2 span{
    font-size: clamp(1.3rem, 1.5vw, 1.6rem);
    font-weight: normal;
}

.heading-3{
    border-bottom: double 4px #222;
    margin-bottom: 20px;
    font-size: clamp(1.7rem , 1.7vw, 2.2rem);
}

.section-introduction{
    margin: 20px 0;
    font-size: clamp(1.3rem, 1.5vw, 1.5rem);
}

@media screen and (min-width: 768px){

.heading-2{
    flex-direction: row;
    gap: 12px;
    padding: 0 55px;
}

.heading-2:before{
    width: 45px;
}

.heading-2:after{
    width: 45px;
}
}

/* anchor */
.anchor-link_wrap {
    margin: 30px 0 30px;
}

.anchor-link_wrap h2{
    margin: 30px 0 30px;
}

.anchor-link_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.anchor-link_list li {
    width: calc((100% - 8px) / 2);
}

.anchor-link_list li a{
    display: flex;
    flex-direction: column;
    gap:4px;
    align-items: center;
    color: #222;
    transition: all 0.2s;
    padding: 16px 16px 24px 15px;
    border: 2px solid #a5a5a5;
    border-radius: 10px;
    position: relative;
    font-size: clamp(1.3rem,2vw,1.7rem);
    font-weight: bold;
}

.anchor-link_list li a:after{
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #9c9c9c;
    border-bottom: 2px solid #9c9c9c;
    transform: rotate(45deg) translateX(-1px);
    position: absolute;
    bottom: 8px;
    margin: auto;
    /* right: 15px; */
}

.anchor-link_list li a:hover{
    opacity: 0.7;
}

.anchor-link_list li img{
    display: none;
}

.anchor-link_list li span{
    font-size: 1.3rem;
    font-weight: bold;
}

@media screen and (min-width: 768px){
    .anchor-link_list {
        gap: 12px;
        justify-content: center;
    }

    .anchor-link_list li {
        width: calc((100% - 48px) / 5);
    }

    .anchor-link_list li img{
        display: block;
        max-width: 100%;
    }

    .anchor-link_list li span{
        font-size: 1.5rem;
    }
}

/* product */
.feature_product-list{
    display: flex;
    flex-wrap: wrap;
    gap:30px 15px;
    padding-bottom: 70px;
}
.feature_product-list li{
    width:calc((100% - 15px) / 2);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.feature_product-list li a{
    display: flex;
    flex-direction: column;
    height: 100%;
    color:#222;
    line-height: 1.4;
}
.feature_product-list li a:hover{
    opacity: 0.7;
}
.feature_product-list li img{
    border:1px solid #ddd;
}
.block-items__item__name {
    text-decoration: none;
}
.block-items__item__price--unit{
    font-size: 1.6rem;
}
.block-product__desc{
    color: #888888;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    font-size: 1.1rem;
    margin-top: auto;
    padding-top: 10px;
}
.block-product__link-btn {
    margin-top: 10px;
    padding: 8px;
    background: #2848a6;
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    border-radius: 4px;
}

.return_anchor{
    margin-top: 20px;
}

.return_anchor a{
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    display: block;
    color: #222;
    text-decoration: underline;
}

.return_anchor a:hover{
    text-decoration: none;
}

@media screen and (min-width: 768px){
    .feature_product-list{
        gap:40px 20px;
    }
    .feature_product-list li{
        width: calc((100% - 60px) / 4);
    }
}

/* more_button */
/* 6番目以降の商品リスト */
 .hidden-items {
    max-height: 75px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
    /* フェードアウト効果（上から下へ） */
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
  }
  .expanded {
    max-height: max-content;
    mask-image: none;
    -webkit-mask-image: none;
  }
  /* もっと見るボタン */
  .moreButton_wrap{
    text-align: center;
  }
  .more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    user-select: none; /* テキスト選択禁止 */
  }
  .more-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
  }
  .more-button span {
    pointer-events: none; /* 内部の要素をクリックしてもボタンが反応するように */
  }
  .more-button .icon {
    margin-left: 8px;
    font-size: 20px;
    transition: transform 0.3s ease;
  }
  .expanded-button .icon {
    transform: rotate(180deg);
  }
@media screen and (min-width: 768px){
    .expanded {
        max-height: 3500px; /* すべてのアイテムが見える高さ（多めに確保） */
    }
}

/* movie */
.responsive {
    width: 100%;
    text-align: center;
    margin-bottom: 1em;
}
@media screen and (min-width: 768px) {
    .responsive iframe {
        width: 900px;
        height: 550px;
    }
}

/* feature */
.clum_ima_2{
    display: flex;
    flex-direction: column;
    align-items: center;
}
    
.feature-card{
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 1px #c0c0c0;
    border-radius: 4px;
}

.feature-card .box-title{
    position: absolute;
    display: inline-block;
    top: -9px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: clamp(1.5rem,1.7vw,1.8rem);
    background: #FFF;
    color: #404040;
    font-weight: bold;
}

.feature-card .highlight {
    background: linear-gradient(transparent 60%, #d0f1ff 60%);
}

@media screen and (min-width: 768px) {
    .feature-2{
        display: flex;
        gap:24px;
    }

    .feature-2_list{
        width: calc((100% - 24px) /2);
    }

    .feature-3{
        display: flex;
        gap:16px;
    }

    .feature-card{
        width: calc((100% - 32px) /3);
    }
}

/* spec-table */
.table-wrap{
    padding-bottom:40px;
}

.figure_00{
    margin: auto;
    width: fit-content;
}

.figure_00 th,
.figure_00 td {
    border: 1px #222 solid;
    padding:8px;
    line-height: 1.4;
    font-size: clamp(1.2rem, 1.2vw, 1.4rem);
}

.figure_00 th:first-child {
    writing-mode: vertical-rl;
}

.figure_00 .bold_txt {
    font-weight: bold;
    text-align: center;
    background-color: #ededed;
}

.figure_01{
    background: #eeeeee;
    display: block;
    padding: 16px;
    border-radius: 8px;
}

.figure_01 th, 
.figure_01 td {
    padding: 8px 0;
    line-height: 1.4;
    font-size: clamp(1.2rem, 1.2vw, 1.4rem);
}

.figure_01 .midashi_towel04 {
    font-size: 1.8rem;
}

/* feature_list */
.feature_list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 24px;
    padding-bottom: 40px;
}

.feature_list > li{
    width: 100%;
    -ms-flex-direction: row;
    flex-direction: row;
}

.feature_list > li a{
    display: flex;
  	flex-direction: column;
    color:#333;
}

.feature_list > li a:hover{
    opacity: 0.7;
}

.feature_list > li img{
    width: 100%;
    vertical-align: bottom;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.feature_list > li .name{
    margin: 8px 0;
    line-height: 1.4;
    font-size: 1.5rem;
    font-weight: bold;
}

.feature_list > li .comment{
    line-height: 1.4;
    color: #555;
    font-size: 1.2rem;
}

@media screen and (min-width: 600px){
    .feature_list > li {
        width: calc((100% - 24px) / 2);
        -ms-flex-direction: column;
        flex-direction: column;
    }
    
    .feature_list > li .name{
        font-size: 1.8rem;
    }
    
    .feature_list > li .comment{
        font-size: 1.3rem;
    }
}


/* sidenavi */
#side_navi{
    display: none;
}

.section-navi{
    margin-top: -50px;
    padding-top: 50px;
    padding-bottom: 60px;
}

@media screen and (min-width: 1400px) and (min-height: 550px){
    /* 初期表示はサイドメニューが表示された状態 */
    #side_navi {
        position: fixed;
        display: block;
        z-index: 100;
        right: -130px; 
        bottom: 30px;
        transition: all 0.3s ease; 
    }
    /* 非表示時のスタイル */
    #side_navi.hidden {
        right: -130px;
    }
    #side_navi.visible{
        right: -130px; 
    }
    #side_navi.visible.hidden{
        right: 0; 
    }
    /* トグルボタンのスタイル */
    .toggle-btn {
        position: absolute;
        left: -34px;
        top: 50%;
        transform: translateY(-50%);
        background-color: #efefef;
        border: 1px solid #dfdfdf;
        border-radius: 5px 0 0 5px;
        border-right: none;
        padding: 25px 10px;
        cursor: pointer;
        z-index: 1000;
        transition: all 0.3s ease;
        font-size: 1.4rem;
    }
    #side_navi .toggle-btn {
        opacity: 0;
        cursor: default;
    }
    #side_navi.visible .toggle-btn,
    #side_navi.visible.hidden .toggle-btn{
        opacity: 1;
        cursor: pointer;
    }
    .item_navi {
        position: relative;
        border-radius: 10px 0 0 10px;
        width: 130px;
        padding: 15px 10px;
        text-align: center;
        background: #efefef;
        border: 1px solid #dfdfdf;
        border-right: none;
    }
    .snav li {
        margin-top: 5px;
        position: relative;
    }
    .snav li a {
        display: flex;
        align-items: center;
        position: relative;
        color: #222;
        padding: 2px 2px 2px 14px;
        min-height: 15px;
        border: 1px solid #b3b3b3;
        border-radius: 5px;
        background: #fff;
        line-height: 1.3;
        font-size: 1rem;
        font-weight: bold;
        text-align: left;
        transition: all 0.2s;
    }
    .snav li a:before{
        content: "";
        position: absolute;
        top: 39%;
        left: 5px;
        color: #bf0000;
        border-style: solid;
        border-color: transparent;
        border-width: 0.35em 0.5em;
        border-right-color: currentColor;
        border-left: 0;
    }
    .snav li a:hover {
        color: #fff;
        background: #bf0000;
    }
    .snav li a.active {
        color: #fff;
        background: #bf0000;
    }
    .section-navi{
        margin-top: -90px;
        padding-top: 90px;
        padding-bottom: 80px;
    }
}
@media screen and (min-width: 1500px) and (min-height: 650px){
    #side_navi {
        right: -150px; 
    }
    /* 非表示時のスタイル */
    #side_navi.hidden {
        right: -150px;
    }
    #side_navi.visible{
        right: -150px; 
    }
    .item_navi {
        width: 150px;
        padding: 15px 10px;
    }
    .snav li {
        margin-top: 5px;
    }
    .snav li a {
        padding: 10px 5px 10px 17px;
        min-height: 15px;
        font-size: 1.2rem;
    }
}