@charset "utf-8";

/* CSS Document */

/* フォント */
.hiragino_f {
  font-family: HiraginoSans;
  font-size: 1em;
}
.hiragino_f_p {
    font-family: ヒラギノ明朝 Pro;
}
/* タイトル */
.heading-t {
    display: inline-block;
    position: relative;
    color: #333;
    font-size: 2.5em;
    font-weight: 800;;
    line-height: normal;
    color: #444;
}
.h_b {
  text-align: center;
  margin: 50px 0;
}

.heading-t:before {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background-color: #3476c0;
}
.co_lf {
    padding: 50px 20px 0;
}
.massage_p {
    padding-bottom: 20px;
}
.container.massage {
  margin-top: 50px;
  margin-bottom: 50px;
}
.cp_box input {
  display: none;
}
.cp_box label {
    /* font-weight: bold; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    cursor: pointer;
    text-align: center;
    border: 2px solid #0023a0;
    width: 300px;
    color: #0023a0;
    padding: 15px;
    margin-top: 50px;
}
.cp_box label:hover {
    transition: all 0.3s;
    color: #0023a0;
    background: #fff;
    border: 2px solid #0023a0;
}
/*＋マーク*/
.cp_box2 label::after {
  position: absolute;
  content: '';
  right: 16px;
  width: 16px;
  height: 16px;
  background: #fff;
  clip-path: polygon(0 40%, 40% 40%, 40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%);
}
.cp_box label:hover::after {
  color: #ffffff;
}
/*hover*/
.cp_box label:hover {
  transition: all 0.3s;
  color: #0023a0;
  background: #fff;
  border: 2px solid #0023a0;
}
.cp_box label:hover::after {
  background: #0023a0;
}
/*-マーク*/
.cp_box input:checked ~ label::after {
  background: #fff;
  clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%);
}
/*hover*/
.cp_box input:checked ~ label:hover::after {
  background: #0023a0;
}
.cp_box div.cp_container {
  position: relative;
  z-index: 10;
  overflow: hidden;
  height: 0;
  margin-top: -1px;
}
.cp_box input:checked ~ div.cp_container {
  transition: height 0.5s ease-in-out;
}
/* 高さを設定 */
.cp_box input:checked ~ div.cp_container {
  height: auto;
}
.takahashi_p {
    text-align: right;
    color: #000000;
    font-size: 1.5em;
}

/* @media screen and (min-width: 1400px) {
        #message {
        max-width: 1200px;
        margin: 0 auto;
    }
}
    */

/* ポップアップ */
/* ポップアップwindow部分 */
#overlay {
    visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 70;
    width: 100%;
    height: 100%;
}
/* オーバーレイの背景部分 */
#bg_gray {
    background: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 80;
}
/* ウィンドウ部分 */
#window {
    width: 50%;
    padding: 20px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 20px -6px rgba(0,0,0,0.6);
    z-index: 90;
    opacity: 0;
}
/* 閉じるボタン */
#btn_cloth {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #CE5D8B;
    border-radius: 5px;
    z-index: 100;
    cursor: pointer;
}
#btn_cloth:hover {
    opacity: 0.7;
}
#btn_cloth span,
#btn_cloth span::before {
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #fff;
}
#btn_cloth span {
    transform: rotate(45deg);
}
#btn_cloth span::before {
    content: "";
    position: absolute;
    bottom: 0;
    transform: rotate(-90deg);
}


/* クリックで表示 */
#popup:checked ~ #overlay {
    visibility: visible;
}
#popup:checked ~ #overlay #window {
    animation: fadein 500ms forwards;
    animation-timing-function: ease-in-out;
}
@keyframes fadein {
    100% {
        opacity: 1;
    }
}

#txt_label {
    text-decoration: underline;
    cursor: pointer;
}
#txt_label:hover {
    opacity: 0.7;
}


#msg a {
    display: inline-block;
    color: #fff;
    background: #CE5D8B;
    border-radius: 20px;
    padding: 0.5em 1.5em;
    text-decoration: none;
}
#msg a:hover {
    opacity: 0.7;
}
.t_catch {
  font-size: 2em;
  /* font-weight: 500; */
  line-height:normal;
  margin-bottom: 30px;
  font-family: ヒラギノ明朝 Pro;
}

.takahashi_img {
  width: 100%;
  height: 100%; /* 高さを親に合わせる */
  object-fit: cover;
  object-position: center center; /* 安定して中央表示 */
}
.massage_flex {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  align-items:  flex-start;
  padding: 0 20px;
}
.imgsize {
  width: 30%;
  max-width: 20%;
  overflow: hidden;
}
/* メッセージタイトル */
.massage_t {
  border-bottom: 1px solid #204490;
  width: 92%;
  margin: 0 auto;
  margin-bottom: 30px;
}
.t_catch_text {
  padding-bottom: 20px;
}

/* 料金表 */
.tabs {
  margin: 30px auto;
  font-family: sans-serif;
}

input[type="radio"] {
  display: none;
}

.tab-labels {
  display: flex;
}

/* タブラベル共通スタイル */
.tab_item {
  display: flex;
  align-items: center;
  flex: 1;
  text-align: center;
  border: 1px solid #204490;
  /* border-bottom: none; /* ← 下線は付けない！ */
  padding: 15px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
  background-color: #fff;
  justify-content: center;
  margin-bottom: 0;
    border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* タブの間の線がダブらないように左右だけ調整 */
.tab_item:not(:first-child) {
  border-left: none;
}

/* 選択中のラベル */
input#tab1:checked ~ .tab-labels label[for="tab1"],
input#tab2:checked ~ .tab-labels label[for="tab2"],
input#tab3:checked ~ .tab-labels label[for="tab3"] {
  /* background: #5ab4bd; */
  color: #fff;
  /* border: 1px solid #204490; */
  /* border-bottom: none; /* 下線なし（tab_contentsとつなぐ） */
  z-index: 2;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
transform: translateY(-1px);
}

input#tab1:checked ~ .tab-labels label[for="tab1"] {
  background: #f5faff;
}
input#tab2:checked ~ .tab-labels label[for="tab2"] {
  background: #f8f8ff;
}
input#tab3:checked ~ .tab-labels label[for="tab3"] {
  background: #fffaf0;
}

/* コンテンツ部分 */
.tab_contents {
  position: relative;
  overflow: hidden;
  top: -2px; /* ラベルとつなぐように微調整 */
  border: 2px solid #204490;
  /*border-top: none; /* ← ラベルの下線と重ならないように */
}

/* 各タブの中身（デフォルト非表示） */
.tab_content {
  display: none;
}

/* 表示対象のタブ中身を表示 */
input#tab1:checked ~ .tab_contents .content1,
input#tab2:checked ~ .tab_contents .content2,
input#tab3:checked ~ .tab_contents .content3 {
  display: block;
}

.tab_content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.tab_check {
  text-align: left;
}
.pc_tab_check {
  padding-left: 60px;
  margin-bottom: 50px;
}

@media screen and (max-width: 769px) {
  .container.massage {
    max-width: none;
  }
}

@media screen and (min-width: 768px) {

}

@media screen and (min-width: 999px) {
    #flow {
    max-width: 1200px;
    margin: 0 auto;
    }
    #message {
        max-width: 900px;
        margin: 0 auto;
    }
    #analysis {
        max-width: 100%;
        margin: 0 auto;
    }
     .container.massage {
      max-width: 850px;
    }
    .massage_t {
      width: 95%;
    }
    .sp_display {
      display: none;
    }
    .price_pcsize {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
    }
    .co_lf {
      padding-right: 25px;
      padding-left: 25px;
    }
    .hiragino_f {
      font-size: 1.3em;
    }
    .takahashi_p {
      font-size: 2em;
    }
  }

    @media screen and (max-width: 1000px) {
    .imgsize {
      max-width: none;
    }
    .pc_display {
      display: none;
    }
    }

    @media screen and (min-width: 1200px) {
  .container.massage {
    max-width: 1080px;
  }
  .t_catch {
    font-size: 3em;
  }
}
    @media screen and (min-width: 1400px) {
  /* .container.massage {
    max-width: 1340px;
  }
    */
}