@charset "UTF-8";

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: #f5f5f7;
  color: #585858;
  font-family: Helvetica, Arial, Verdana, 'Noto Sans JP', "ヒラギノ角ゴ Pro W3", Hiragino Kaku Gothic Pro W3, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  background-color: #fff;
  border-left: #e5e5e5 1px solid;
  border-right: #e5e5e5 1px solid;
}

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
  margin: 0;
  padding: 0;
  outline: 0;
  vertical-align: baseline;
}

.wrapper {
  margin: 0 auto;
  padding: 80px 4%;
  text-align: center;
}

img {
  border: none;
  vertical-align: bottom;
  align-items: baseline;
}

.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

/* 文字--------------*/
a {
  text-decoration: none;
  color: #585858;
}

a:not(.cta-btn):hover img {
  position: relative;
  top: 3px;
  opacity: 0.9;
}

/* 文字--------------*/
.bg_gray {
  background-color: #EFEFEF;
}

.bg_yellow {
  background-color: #FFFAD4;
}

.bg_blue {
  background-color: #0067af;
}

.bg_green {
  background-color: #E1EFEF;
}

.bg_white {
  background-color: #fff;
}

.bg_lightgray {
  background-color: #f6f1e4;
}

.bg_lightgreen {
  background-color: #f2fafa;
}
.bg_orange {
  background-color: #FFFAEC;
}

.white {
  color: #fff;
}

.red {
  color: #d62b2b;
}

.bold {
  font-weight: bold;
}

/*余白
-------------------*/
.mb40 {
  margin-bottom: 40px;
}

.mt2 {
  margin-top: 2rem;
}

/*ヘッダー
-------------------------------------*/
header {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 0 5px rgb(0 0 0 / 10%);
  z-index: 80;
  align-items: center;
  display: flex;
  position: fixed;
  height: 80px;
  font-size: 1rem;
}

.logo {
  height: 50px;
  width: auto;
}

.logo_p {
  font-size: 66.6%;
  margin-left: 15px;
}

.header_inner {
  display: flex;
  align-items: center;
  width: 1024px;
  padding: 0 30px;
  margin: 0 auto;
  justify-content: space-between;
}

.header_inner ul {
  display: flex;
  align-items: center;
  height: 100%;
}

.header_inner ul li {
  list-style: none;
  margin-left: 30px;
}

.header_inner ul a {
  text-decoration: none;
}

.header_inner ul a:hover {
  color: #216cb3;
}

.header_btn {
  height: 80px;
  background-color: #f03232;
  display: flex;
  align-items: center;
}

.header_btn a {
  font-weight: bold;
  color: #fff;
  padding: 20px;
}

.header_btn a:hover {
  color: #fff !important;
}

.header_btn:hover {
  opacity: 0.8;
}
#reason,#price,#flow,#top,#form {
  scroll-margin-top: 80px;
}
/*fv
-------------------------------------*/
#top {
  padding-top: 80px;
}

/*cta
-------------------------------------*/

.floatbtn {
  display: none;
}


.btn a:not(.cta-btn):hover img {
  position: relative;
  bottom: 3px;
  opacity: 0.9;
}



.cv_btn {
  margin: 0 auto;
}

.relative {
  position: relative;
}

.cta {
  background-color: #fcf48e;
     text-align: center;
   padding: 40px;

}

.cta2 {text-align: center;
  padding: 2rem 4% 60px 4%;
}

.cv_btn {
  margin: 0 auto;
}
.btn_form {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
/* 治療費用
---------------------------- */
/* .price-container {
  max-width: 1024px;
} */

.price-tabs {
padding: 1rem 1rem 0 1rem;
  display: flex;
  flex-wrap: wrap;          /* 折り返しを許可 */
  justify-content: center;  /* 最後の2つの段を中央寄せ */
  gap: 0px;                 /* ボタン同士のすき間（お好みで） */

}

/* タブボタン（画像クリック） */
.price-tab {
  border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    flex: 0 0 auto; 
}

/* 画像はデフォルトでグレー（＝非アクティブ） */
.price-tab img {
  display: block;
  max-width: 100%;
  height: auto;
  filter: grayscale(100%) brightness(1);
  opacity: 0.5;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

/* アクティブタブ：カラー表示 */
.price-tab.is-active img {
  filter: none;
  opacity: 1;
  transform: translateY(3px); /* ちょっと浮かせたいとき */
}

/* ホバー時の軽い演出（任意） */
.price-tab:hover img {
  opacity: 0.8;
}

/* パネルの表示・非表示 */
.price-panel {
  display: none;
}

.price-panel.is-active {
  display: block;
}

/* ===== 共通 ===== */
.slider-item img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ===== SP：スライダー表示 ===== */
@media screen and (max-width: 767px) {

  .slider {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
  }
.slider-item img {
  width: 90%;
}
  .slider-window {
    width: 100%;
    overflow: hidden;
  }

  .slider-track {
    display: flex;
    transition: transform 0.4s ease;
  }

  .slider-item {
    flex: 0 0 100%;    
    box-sizing: border-box;
  }

  .slider-arrow,
  .slider-dots {
    display: block;
  }

  .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
  }
  .slider-prev { left: 8px;
  z-index: 80; }
  .slider-next { right: 8px;
  z-index: 80; }

  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 1rem;
  }

  .slider-dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    border: none;
  }
  .slider-dot.is-active {
    background: #333;
  }
}

/* ===== PC：横3並び、スライダー無効 ===== */
@media screen and (min-width: 768px) {

  .slider {
    width: 100%;          /* PC幅 */
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
  }

  .slider-window,
  .slider-track {
    width: 100%;
  }

  .slider-track {
    display: flex;
    justify-content: space-between;
    transform: none !important;   /* JSの translateX を無効 */
  }

  .slider-item {
    flex: 0 0 calc(33.333% - 10px);  /* 3枚並び */
  }

  /* PCでは操作UI非表示 */
  .slider-arrow,
  .slider-dots {
    display: none !important;
  }
}
/*q&a
----------------------------*/
#qa {
  padding-bottom: 80px;
}

/*チェックボックスを消す*/
.checkbox {
  display: none;
}

/*アコーディオンの大きさと位置調整*/
.accordion {
  max-width: 960px;
  margin: 0 auto;
  text-align: justify;
  border-radius: 10px;
}

/*アコーディオンのラベルの設定*/
.accordion dt label {
  background-color: #0d4a8b;
  padding: 20px 30px;
  /* font-weight: 700; */
  display: flex;
  align-items: center;
  line-height: 1.5;
  position: relative;
  cursor: pointer;
  color: #fff;
  margin-top: 1rem;
}

.accordion dd {
  display: flex;
}

.title_q, .p_a {
  padding-right: 40px;
  padding-left: 40px;
}

.accordion dt label::after {
  content: "+";
  background-size: contain;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translate(0, -50%);
  transition: transform 0.3s ease;
  color: #fff;
}

.checkbox:checked~dl dt label::after {
  transform: translate(0, -50%) rotate(-45deg);
}

.accordion dd {
  height: 0;
  overflow: hidden;
  padding: 0 20px;
  border: solid 1px transparent;
  position: relative;
}

.checkbox:checked~dl dd {
  height: auto;
  padding: 20px 30px;
  background-color: #fff;
}

.icon_q {
  content: url(../images/q.png);
  position: absolute;
  top: 15%;
  left: 20px;
}

.icon_a {
  content: url(../images/a.png);
  position: absolute;
  top: 20px;
  left: 20px;
}


.a {
  position: relative;
}

.a::before {
  color: #66769e;
  content: "A";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 36px;
  left: -20px;
  position: absolute;
}



/*footer*/
footer {
  text-align: center;
  padding-top: 40px;
  width: 100%;
  font-size: 0.875rem;
  background-color: #888;
  color: #fff;
}

.footer_li {
  margin-top: 40px;
  margin-bottom: 20px;
  display: flex;
  list-style: none;
  justify-content: center;
}

.footer_li li {
  padding-left: 20px;
  padding-right: 20px;
}

.footer_li li a {
  color: #fff;
}

.footer_li li a:hover {
  color: #eee;
}

.left_border {
  border-left: 1px solid #fff;
}

.copyright {
  background-color: #888;
  color: #eee;
  padding-top: 15px;
  padding-bottom: 15px;
}


/* map */
.map {
  text-align: center;
}
.map_flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 63px;
  gap: 50px;
  margin-bottom: 60px;

}

@media only screen and (max-width:768px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }

  body {
    width: 100%;
    max-width: 100%;
  }

  .container {
    border-left: none;
    border-right: none;
    /* overflow: hidden; */
    width: 100%;
  }

  img {
    max-width: 100% !important;
  }

  .wrapper {
    padding: 50px 4%;
  }

  .pb2 {
    padding-bottom: 1rem;
  }

  .mt2 {
    margin-top: 2rem;
  }

  .mb40 {
    margin-bottom: 1rem;
  }

  .logo {
    height: 40px;
    align-items: center;
  }

  header {
    /* padding: 0 1rem; */
    height: 60px;
    width: 100%;
  }

  .header_inner {
    max-width: 100%;
    padding: 0;
  }

  .header_inner ul {
    display: block;
    align-items: center;
    height: 100%;
  }

  /* ハンバーガーメニュー */
  .hamburger-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
  }



  .menu-btn {
    position: relative;
    top: 0.5rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 9999;

  }

  .menu-text {
    position: absolute;
    top: -2rem;
    text-align: center;
    font-size: 14px;
    color: #023983;
    font-weight: bold;
  }

  .menu-btn span, .menu-btn span:before, .menu-btn span:after {
    content: '';
    display: block;
    height: 4px;
    width: 2rem;
    background-color: #023983;
    position: absolute;
  }

  .menu-btn span {
    top: 50%;
    transform: translateY(-50%);
  }

  .menu-btn span:before {
    top: -10px;
  }

  .menu-btn span:after {
    top: 10px;
  }

  /* ボタンタップ時はｘにする */
  #menu-btn-check:checked~.menu-btn span {
    background-color: rgba(255, 255, 255, 0);
  }

  #menu-btn-check:checked~.menu-btn span::before {
    top: 0;
    transform: rotate(45deg);
    background-color: #023983;
  }

  #menu-btn-check:checked~.menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
    background-color: #023983;
  }

  #menu-btn-check {
    display: none;
  }

  .menu-content ul {
    padding: 70px 10px;
  }

  .menu-content ul li {
    border-bottom: solid 1px #023983;
    list-style: none;
  }

  .menu-content ul li a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    padding: 1rem;
    position: relative;
    color: #585858;
  }

  .menu-content ul li a::before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: solid 2px #023983;
    border-right: solid 2px #023983;
    transform: rotate(45deg);
    position: absolute;
    right: 1rem;
    top: 26px;
  }
  .menu-content ul li.header_btn a::before {
    border: none !important;
    content: "";
  }
  .header_btn {
    background:none;
    height: auto;
  }
  
  /* ボタン押していないときは非表示 */
  .menu-content {
    width: 100vw;
    height: 60vh;
    position: fixed;
    top: 0;
    left: 100%;
    background-color: #fffffff0;
    transition: all 0.5s;
    z-index: 9998;
  }
  #menu-btn-check:checked ~ .menu-content {
    left: 0;
  }
  #reason,#price,#flow,#top,#form {
    scroll-margin-top: 60px;
  }
  /* footer */
  footer {
    padding-top: 0;
    padding-bottom: 7vh;
  }


  .footer_li {
    display: block;
    margin-bottom: 0;
  }

  .footer_li li {
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid #fff;
  }

  .left_border {
    border-left: none;
  }

  .copyright {
    font-size: 0.75rem;
  }

  /* cta */
  .cta {
   padding: 1rem;
  }

.btn_form {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
  .cta p {
    font-size: 0.9rem;
  }

  .w80 {
    width: 80%;
  }
  .btn_inner {
    position: fixed;
    z-index: 80;
    left: 0%;
    bottom: 0px;
    display: flex;
  }
.btn_tel {
  margin: 0 1rem;
  margin-top: 1rem;
}
  .map iframe {
    width: 100%;
  }
  .map_flex {
    display: block;
    padding: 0;
  margin-bottom: 0;

}
  /* qa */
  #qa {
  padding-bottom: 2rem;
}
  .accordion {
    margin: 0 1rem;
  }
.accordion dl{
  margin-top: 10px;

}
  .accordion dt label {
    padding: 0.5rem;
  }

  .accordion dt label::after {
    width: 3vw;
    height: 3vw;
    right: 0.5rem;
  }

  .checkbox:checked~dl dt label::after {
    transform: translate(0, -50%) rotate(-45deg);
  }


  .icon_q {
    width: 5%;
    left: 0.5rem;
  }

  .title_q {
    font-size: 1rem;
    line-height: 1.4;
    padding-right: 1.4rem;
    padding-left: 8%;
    color: #fff;
    font-weight: 500;
  }

  .checkbox:checked~dl dd {
    height: auto;
    padding: 10px 1rem;
    font-size: 1rem;
  }

  .icon_a {
    width: 5%;
    top: 10px;
    left: 0.5rem;
  }

  .p_a {
    padding-right: 0;
    font-size: 1rem;
    line-height: 1.5;
    padding-right: 0px;
    padding-left: 5%;
  }
.price-tabs {
    padding: 0 1rem;
}
   .price-tab {
    border: none;
    background: none;
    cursor: pointer;

    /* ここがポイント：1段に3個（100 ÷ 3） */
    flex: 0 0 33.3333%;
    box-sizing: border-box;
  }

  /* スマホ用ボタン画像はタブの幅いっぱいにフィット */
  .price-tab img.sp {
    width: 100%;
    height: auto;
    display: block;
  }

  /* もしPC用ボタン画像が表示されていたら隠す（念のため） */
  .price-tab img.pc {
    display: none;
  }
   .price-tab:nth-child(n + 4) {
    flex: 0 0 50%;
  }
}

