@charset "UTF-8";
/* =====================================
	全体設定
===================================== */

html{
    font-size: 62.5%;
}

a{
	color:#2a2a2a;
	text-decoration:none;
    transition: 0.3s opacity ease;
}

a:hover{
	opacity: 0.8;
}

.sp{
	display:none !important;
}

body{
	position: relative;
	margin: 0 auto;
	font-size: 1.8rem;
    line-height: 1.5;
	text-align: left;
	text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;/*Chrome,Safari*/
	-ms-text-size-adjust: 100%;/*EgdeMobile*/
	-moz-text-size-adjust: 100%;/*firefox*/
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "palt";
    color: #3f4f5f;
    font-family: Noto Sans JP,sans-serif;
    font-weight: 400;
}

#wrapper{
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 8px 7px rgba(0, 0, 0, 0.08);
}

#wrapper img{
    max-width: 100%;
    height: auto;
}

/* =====================================
	main
===================================== */

.pr{
    position: relative;
}

.btn01{
    position: absolute;
    top: 1.17364%;
    right: 5.33%;
    width: 34.67%;
}

.btn01 img{
    width: 100%;
}

.btn02{
    position: absolute;
    bottom: 14.8%;
    left: 50%;
    transform: translateX(-50%);
    width: 88%;
}

.btn02 img{
    width: 100%;
}

.btn03{
    position: absolute;
    bottom: 14.5%;
    left: 50%;
    transform: translateX(-50%);
    width: 88%;
}

.btn03 img{
    width: 100%;
}

.price1{
    background-color: #019c8f;
    padding: 0 4%;
}

.price2{
    width: 100%;
}

/* =====================================
	plan graph tabs
===================================== */

.plan_ttl{
    margin-bottom: 11%;
}

.plan_graph{
    padding: 0 4%;
}

.effect{
    background-color: #e4faf4;
    padding-bottom: 20%;
}

.plan{
    margin-top: -20%;
}

.plan_others{
    margin: 5% 0;
}

.plan_others p{
    padding: 0 4%;
}

/* CTAボタン */
.cta a{
    display: block;
    width: 90%;
    margin: 0 auto 17%;
}

.cta a img{
    width: 100%;
}

.point{
    position: relative;
}

.point a{
    position: absolute;
    left: 50%;
    bottom: 7%;
    transform: translateX(-50%);
    width: 90%;
}

.point a img{
    width: 100%;
}

.plan_tabs{
    display: flex;
    justify-content: space-between;
    gap: 4px;
    align-items: flex-end;
}

.plan_tabs li{
    position: relative;
    z-index: 0; /* アイコン/背景との重なり制御用 */
    flex: 1;
    text-align: center;
    font-size: min(3.2vw,16px);
    padding: 10px 0;
    border: none;
    color: #ffffff;
    cursor: pointer;
    background: transparent; /* 背景色は ::after に移動 */
    border-radius: 10px 10px 0 0;
}

.plan_tabs li + li{
    border-left: none;
}

.plan_tabs li.active{
    color: #ffffff;
    padding: 12px 0;
}

.plan_tab_contents{
    background: #ffffff;
}

.plan_tab_content{
    display: none;
}

.plan_tab_content.active{
    display: block;
}

.plan_tab_content .plan_main{
    cursor: pointer;
    display: block;
    position: relative;
}

.plan_box + .plan_box{
    margin-top: 12px;
}

.plan_tab_content .plan_detail{
    display: none; /* タブ内の詳細はデフォルト非表示（閉じた状態） */
}

/* plan_tab_content 内の各 plan_box ごとの角丸制御 */
/* 1つ目の plan_main（閉じているときは下だけ丸める） */
.plan_tab_content .plan_box:first-child .plan_main img{
    border-radius: 0 0 10px 10px;
}

/* 1つ目が開いたときは角丸なし */
.plan_tab_content .plan_box:first-child:not(.is-closed) .plan_main img{
    border-radius: 0;
}

/* 2つ目・3つ目（閉じているときは全体を丸める） */
.plan_tab_content .plan_box:nth-child(n+2) .plan_main img{
    border-radius: 10px;
}

/* 2つ目・3つ目が開いたときは上だけ丸める */
.plan_tab_content .plan_box:nth-child(n+2):not(.is-closed) .plan_main img{
    border-radius: 10px 10px 0 0;
}

.plan_main::after{
    content: '';
    position: absolute;
    right: 4.7vw;
    top: 51%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("../img/arrow_open.png");  /* 開いている時：下向き矢印 */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2; /* 白丸の前面 */
}

.plan_box.is-closed .plan_main::after{
    background-image: url("../img/arrow_closed.png"); /* 閉じている時：上向き矢印 */
}

@media screen and (min-width:769px){
  .plan_tabs li{
      font-size: 24px; /* PC時：タブ文字を大きく */
  }

  .plan_main::after{
      right: 32px;
      width: 40px;
      height: 40px;
  }
}

/* タブの文字は最前面に */
.plan_tab_label{
    position: relative;
    z-index: 2;
    display: block;
    font-weight: 500;
}

/* タブ本体の背景を ::after で描画（アイコンの前面に出す） */
.plan_tabs li::after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 10px 10px 0 0;
    background: #8aaca9; /* 非アクティブ色 */
    z-index: 1;
}

.plan_tabs li.active::after{
    background: #ff6325; /* アクティブ色 */
}

/* タブアイコン（背景の後ろに出す＋少し上に飛び出させる） */
.plan_tabs li::before{
    content: '';
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%) translateY(8px); /* 少しだけ背景の後ろから出す */
    width: 72px;
    height: 72px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    pointer-events: none;
    z-index: 0; /* 背景(::after)より後ろ */
    opacity: 0.45; /* 非アクティブ時はアイコンを淡く */
}

.plan_tabs li.active::before{
    opacity: 1; /* アクティブ時アイコンはくっきり */
}

.plan_tabs li:nth-child(1)::before{
    background-image: url("../img/medicine01_img.png");
}

.plan_tabs li:nth-child(2)::before{
    background-image: url("../img/medicine02_img.png");
}

.plan_tabs li:nth-child(3)::before{
    background-image: url("../img/medicine03_img.png");
}

@media screen and (min-width:769px){
  /* タブ（PC時） */
  .plan_tabs li{
      font-size: 24px;      /* PC時：タブ文字を大きく */
  }
  .plan_tabs li.active{
      padding: 18px 0;      /* アクティブ時だけ高さアップ */
  }
  .plan_main::after{
      right: 32px;          /* PC時の矢印位置 */
      width: 40px;
      height: 40px;
  }
  .plan_tabs li::before{
      width: 93px;          /* PC時のタブアイコンを大きく */
  }

  /* FAQ（PC時） */
  .question_q{
     _font-size: 24px;
  }
  .question_item{
      padding: 25px 30px 30px;
  }
}

/* =====================================
	question accordion
===================================== */

.question{
    background-color: #f6fbff;
}

.question_contents{
    margin-top: -15%;
    padding: 0 4%;
    position: relative;
}

.question_item + .question_item{
    margin-top: 12px;
}

.question_q{
    font-weight: 700;
    cursor: pointer;
    position: relative;
    padding-right: 3em;
    font-size: 3.8vw;
}

.question_q::before,
.question_q::after{
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 14px;
    height: 2px;
    background: #c4c4c4;
    transform: translateY(-50%);
}

/* 横線（常に表示） */
.question_q::before{
}

/* 縦線：横線を90度回転させてプラスを構成 */
.question_q::after{
    transform: translateY(-50%) rotate(90deg);
    opacity: 0; /* デフォルトは非表示（マイナス状態） */
}

.question_item.is-closed .question_q::after{
    opacity: 1; /* 閉じたときだけ縦線を表示してプラスにする */
}

.question_a{
    display: none; /* デフォルトは閉じた状態 */
    margin-top: 8px;
    border-top: 1px solid #e0e0e0;
    padding-top: 8px;
}

.question_item{
    background: #ffffff;
    border-radius: 10px;
    padding: 12px 12px 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.question_a p{
    letter-spacing: 0.08em;
    line-height: 1.8;
}
.question_a p span {
    font-size: 1.3rem;
    line-height: 1.5;
    display: inline-block;
}
@media screen and (min-width:769px){
  .question_q{
      font-size: 24px;
  }

  .question_item{
      padding: 25px 30px 30px;
  }
}

/* =====================================
	notes accordion
===================================== */

.notes{
    padding: 0 4%;
}

.notes_contents{
    margin-top: 16px;
}

.notes_ttl{
    font-size: 7vw;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.08em;
    margin: 10% 0 2%;
    color: #019c8f;
}

.notes_item{
    position: relative;
}

.notes_item + .notes_item{
    margin-top: 12px;
}

.notes_q{
    background: #019c8f;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    border-radius: 999px;
    padding: 10px 52px 10px 16px;
    font-size: 3.6vw;
}

.notes_q::before{
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff; /* 後ろの白丸 */
    transform: translateY(-50%);
}

.notes_q::after{
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    background:
      linear-gradient(#019c8f, #019c8f) center / 14px 2px no-repeat; /* 横線のみ = マイナス */
}

.notes_item.is-closed .notes_q::after{
    background:
      linear-gradient(#019c8f, #019c8f) center / 14px 2px no-repeat,
      linear-gradient(#019c8f, #019c8f) center / 2px 14px no-repeat; /* プラス（縦線追加） */
}

.notes_a{
    display: none; /* デフォルトは閉じた状態 */
    margin-top: -5%;
    font-size: 1.4rem;
    padding-top: 10%;
    border-right: 2px solid rgb(1, 156, 143);
    border-bottom: 2px solid rgb(1, 156, 143);
    border-left: 2px solid rgb(1, 156, 143);
    border-image: initial;
    border-top: none;
    overflow: hidden;
    border-radius: 0 0 16px 16px;
}

.notes_a p{
    padding: 0 5% 5%;
}

.footer_read{
    text-align: center;
    padding: 5%;
    line-height: 1.8;
    font-size: 4vw;
    position: relative;
}

.footer_read::after{
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 90%;
    border-bottom: 3px dotted #ffffff; /* 白のドット線 */
}

._type02 .notes_a{
    margin-top: -8%;
}

@media screen and (min-width:769px){
  .notes_q{
      font-size: 24px;
  }

  .notes_ttl{
      font-size: 50px; /* PC時は見出しを大きく */
  }

  .notes_a{
      margin-top: -4%;
      letter-spacing: 0.08em;
      line-height: 1.8;
      padding-top: 7%;
      font-size: 100%;
  }

 .notes_q{
      padding: 10px 52px 10px 42px;
  }
  .footer_read{
    font-size: 24px;
}
  ._type02 .notes_a{
      margin-top: -6%;
      padding-top: 10%;
  }
}

/* =====================================
	footer
===================================== */

footer{
    width: 100%;
    background: #03c39a;
    color: #fff;
    margin-top: 10%;
}

footer ul{
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10%;
    font-size: min(2.8125vw,18px);
}
footer ul li a{
    color: #fff;
}

.floatBtn{
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.6s all ease;
    width: 100%;
    padding: 15px 0;
    background-color: rgba(255,255,255,0.85);
    z-index: 100; /* フローティングボタンを最前面に */
}

.floatBtn a{
    display: table;
    margin: 0 auto;
}

.is-hidden {
    visibility: hidden;
    opacity: 0;
}


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

.pc{
	display:none !important;
}

.sp{
	display:block !important;
}

a:hover{
	opacity: 1;
}

body{
	font-size: 3.2552vw;
    width: 100%;
    overflow-x: hidden;
    min-width: inherit;
}

.floatBtn{
    padding: 2vw 6vw 15px;
}
}