
body{
    line-height: 1.5;
}
.bread{
    display: none;
}
/* メインイメージ */
.mainimage{
    width: 1400px;
    height: 564px;
    margin: 0 auto;
}
.mainimage_inner{
    position: relative;
    width: 100%;
    height: 564px;
    margin: 0 auto;
    background: url(../images/selfshampoo/mainimage.jpg) no-repeat;
    background-size: contain;
    background-position: center;
  }
.mainimage_box{
    height: auto;
    border-radius: 10px;
    background-color: #ffffff80;
    position: absolute;
    top: 50%;
    right: 50px;
    padding: 45px 24px;
    transform: translate(0, -50%);
}
.mainimage_box p{
    font-size: 26px;
    color: #4A4949;
    position: relative;
    text-align: center;
}
.mainimage_subtitle span{
    background: linear-gradient(transparent 50%, #fffb00 50%);
}
.mainimage_tilte{
    font-size: 42px;
    font-family: "Yu Gothic",
  "Hiragino Kaku Gothic ProN",
  "Helvetica Neue",
  "Helvetica",
  "Hiragino Sans",
  "Arial",
  "Meiryo",
  sans-serif;
  color: var(--main-color);
  margin: 24px 0;
}
.mainimage_box ul{
    display: flex;
    flex-wrap: nowrap;
    margin-top: 40px;
    justify-content: center;
}
.mainimage_box ul li:first-of-type{
    margin-right: 24px;
}
/* タイトルスタイル */
h2{
    font-size: 32px;
    color: #0E2B04;
    font-weight: bold;
    text-align: center;
    margin-bottom: 24px;
    font-family: 'Atma';
  }

  h2 .english{
    font-size: 16px;
    color: var(--main-color);
    position: relative;
    top: -16px;
  }
/* お悩み */
.trouble_list{
    width: 956px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .trouble_list li{
    width: 30%;
    text-align: center;
  }
  .troble_list_top{
    background-color: #F3FAF7;
    padding: 16px 24px;
    border-radius: 35px;
    width: fit-content;
    margin: 0 auto;
    position: relative;
    margin-bottom: 16px;
  }
  .trouble_list_tilte{
    font-size: 14px;
    line-height: 1.5;
    font-weight: bold;
  }
  .troble_list_top::after{
    content: "";
    position: absolute;
    left: 50%;
    top: calc(100% - 8px);
    width: 16px;
    height: 16px;
    margin-left: -8px;
    background-color: #F3FAF7;
    transform: rotate(45deg);
  }
  .trouble_list_img{
    width: 120px;
    height: auto;
    margin: 0 auto 32px;
    position: relative;
  }
  .trouble_list_img img{
    width: 100%;
  }
  .trouble_copy{
    font-size: 22px;
    font-weight: bold;
    color: var(--main-color);
    text-align: center;
  }
/* 選べれる理由 */
.choose_list{
    width: 100%;
}
.choose_list li{
    margin-bottom: 24px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.choose_text h3{
    font-size: 24px;
    color: #4A4949;
    margin-bottom: 16px;
    font-weight: bold;
}
.choose_text{
    width: 50%;
    color: #4A4949;
    padding-top: 8px;
}
.choose_text h3 span{
    padding: 8px 16px;
    background-color: var(--main-color);
    border-radius: 24px;
    color: #ffffff;
    margin-right: 16px;
}

.equipment-list{
    display: flex;
    flex-wrap: wrap;
    /* gap: 0.8rem 1rem; */
    margin-top: 0.5rem;
    font-size: 14px;
  }
  .equipment-list span {
    background: #f5f5f5;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    white-space: nowrap;
  }
  .choose_list li img{
    width: 45%;
    height: auto;
    border-radius: 24px;
    margin-right: 32px;
  }
  .choose_text p{
    font-size: 14px;
    line-height: 1.5;
  }

  /* ご利用の流れ */
.guide_list{
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.guide_list li{
    width: 340px;
    border-radius: 24px;
    background-color: #F5F3F2;
    text-align: center;
    padding: 24px 16px;
}
.guide_list li p{
    font-size: 14px;
}
.step_no{
    font-size: 18px;
    font-weight: bold;
    margin: 0 auto;
    line-height: 38px;
    width: 120px;
    background-color: var(--main-color);
    margin-bottom: 24px;
    color: #ffffff;
    border-radius: 20px;
}
.guide_list li h4{
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 16px;
}
.guide_list{
    margin-bottom: 40px;
}
/* お客様の声 */
.reviews_list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-top: 40px;
}
.reviews_list li{
    background-color: #ffffff;
    width: 292px;
    padding: 60px 16px 24px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    border-radius: 24px;
    margin-bottom: 70px;
    box-shadow: 0 3px 16px rgb(0 0 0 / 16%);
}
.reviews_list li img{
    width: 80px;
    height: 80px;
    position: absolute;
    left: 50%;
    top: -40px;
    transform: translate(-50%, 0);
    /* border: 1px solid #333333; */
    border-radius: 40px;
}
/* 写真ギャラリー */
#reviews h3{
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 24px;
}
.gallery-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
  }
  
  .images {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1rem;
    padding: 1rem 0;
  }
  
  .images img {
    flex-shrink: 0;
    width: 280px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .gallery-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 2rem;
    cursor: pointer;
  }
  
  .gallery-button.left {
    left: 10px;
  }
  
  .gallery-button.right {
    right: 10px;
  }
  .btn_list{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
  }
   .btn_list li{
    margin: 16px;
   }
/* ご利用料金 */
/*タブ切り替え全体のスタイル*/
.tabs {
    margin-top: 50px;
    padding-bottom: 40px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 953px;
    margin: 0 auto;
}
  
  /*タブのスタイル*/
  .tab_item {
    width: calc(100%/2);
    height: 50px;
    /* border-bottom: 3px solid var(--main-color); */
    background-color: var(--main-color);
    line-height: 50px;
    font-size: 16px;
    text-align: center;
    color:#ffffff;
    display: block;
    float: left;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s ease;
  }
  .tab_item:hover {
    opacity: 0.75;
  }
  
  /*ラジオボタンを全て消す*/
  input[name="tab_item"] {
    display: none;
  }
  
  /*タブ切り替えの中身のスタイル*/
  .tab_content {
    display: none;
    padding: 40px 40px 0;
    clear: both;
    overflow: hidden;
  }
  
  /*選択されているタブのコンテンツのみを表示*/
  #tab1:checked ~ #tab1_content,
  #tab2:checked ~ #tab2_content {
    display: block;
  }
  
  /*選択されているタブのスタイルを変える*/
  .tabs input:checked + .tab_item {
    background-color:#ffffff;
    color:var(--main-color);
  }
.c-txtsp{
    font-size: 14px;
    text-align: center;
    margin-bottom: 16px;
}
.menu_list{
    display: flex;
    justify-content: space-between;
    text-align: center;
    width: 100%;
    margin-bottom: 8px;
}
.menu_list li{
    width: 32%;
    border: 1px solid var(--main-color);
    border-radius: 10px;
    font-size: 14px;
}
.menu_list_title{
    line-height: 72px;
    text-align: center;
    margin-bottom: 20px;
    background-color: var(--main-color);
    color: #ffffff;
    font-weight: 600;
    font-size: 18px;
    border-radius: 10px 10px 0 0;
}
.menu_list_price{
    font-size: 28px;
    font-weight: 500;
}
.menu_list_inner{
    margin: 24px 0;
}
.menu_list_inner_title{
    font-size: 14px;
    width: 140px;
    background-color: #F5F3F2;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 8px;
    line-height: 26px;
    border-radius: 20px;
}
.menu_list_inner_appeal{
    font-size: 12px;
}
#menu .note{
  text-align: right;
  margin-bottom: 40px;
}
.campaign_text{
  font-size: 12px;
  color: #E51919;
  text-align: center;
  margin-bottom: 8px;
}
/* よくある質問 */
.QA_list{
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 3px 16px rgb(0 0 0 / 16%);
    padding: 24px;
  }
  .QA_box{
    margin-bottom: 32px;
  }
  .QA_list:not(last-child){
    margin-bottom: 24px;
  }
  .QA_list dt{
    font-size: 18px;
    font-weight: bold;
    color: var(--main-color);
    padding-left: 64px;
    position: relative;
    cursor: pointer;
    line-height: 2;
  }
  .QA_list dt::before{
    content: "Q";
    font-size: 24px;
    position: absolute;
    left: 0;
    top: -3px;
  }
  .QA_list dt::after{
    content: "";
    height: 16px;
    width: 14px;
    background: url(../images/arrow_g.svg) no-repeat;
    background-size: contain;
    transform: rotate(90deg);
    transition: 250ms;
    position: absolute;
    top: 40%;
    right: 0;
  }
  .QA_list dd{
    margin-top: 24px;
    font-size: 16px;
    line-height: 2;
    padding-left: 64px;
    position: relative;
  }
  .QA_list dd::before{
    content: "A";
    font-weight: bold;
    font-size: 24px;
    position: absolute;
    left: 0;
    top: -3px;
  }
  .QA_list dd{
    display: none;
  }
  .QA_list .active::after{
    transform: rotate(270deg);
    top: 40%;
    transition: 250ms;
  }
  /* アクセス */
  .access_box{
    text-align: center;
  }
  .access_box p{
    margin-bottom: 16px;
  }
  @media screen and (max-width: 768px){
    .contents_def {
        width: 100vw;
        padding: 40px 0;
    }
    .contents_bg {
        padding: 40px 0;
    }
    h2{
        font-size: 24px;
        margin-bottom: 32px;
      }
      h2 .english{
        font-size: 12px;
      }
      .mainimage{
        width: 100%;
        height: auto;
      }
        .mainimage_inner{
        position: relative;
        width: 100%;
        height: 200px;
        margin: 0 auto;
        background: url(../images/selfshampoo/mainimage_sp.jpg) no-repeat;
        background-size: cover;
    }
    .mainimage_tilte{
        font-size: 20px;
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translate(0, -50%);
        margin: 0;
    }
    .mainimage_box{
        position: relative;
        left: 0;
        top: 132px;
        background-color: #FCFFF8;
        border-radius: 0;
        padding: 16px;
        box-sizing: border-box;
    }
    .mainimage_box p{
        margin-bottom: 16px;
        font-size: 16px;
    }
    .mainimage_subtitle{
        font-size: 14px;
    }
    .mainimage_subtitle span{
        font-size: 20px;
        font-weight: 500;
    }
    .mainimage_box ul{
        flex-wrap: wrap;
        margin: 0 auto;
    }
    .mainimage_box ul li{
        margin-bottom: 16px;
    }
    .trouble_list{
        padding: 16px;
        box-sizing: border-box;
        width: 100%;
    }
    .trouble_list li{
        width: 100%;
    }
    .troble_list_top{
        border-radius: 40px;
        line-height: 24px;
    }
    .trouble_copy{
        font-size: 18px;
    }
    .guide_list{
        width: 100%;
        padding: 16px;
        box-sizing: border-box;
        flex-wrap: wrap;
    }
    .choose_text{
        width: 100%;
    }
    .choose_list .choose_text img{
        width: 100%;
        margin: 0 0 16px 0;
    }
    .choose_text h3{
        font-size: 18px;
    }
    .choose_text h3 span {
        padding: 8px 14px;
    }
    .guide_list li{
        width: 100%;
        margin-bottom: 16px;
    }
    .reviews_list li{
        width: 100%;
    }
    .btn_list{
      flex-wrap: wrap;
    }
    .tabs{
        width: calc(100% - 32px);
    }
    .tab_content{
        padding: 24px 24px 0;
    }
    .menu_list{
        flex-wrap: wrap;
    }
    .menu_list li{
        width: 100%;
        margin-bottom: 16px;
    }
  }