@charset "UTF-8";

/* ------------------------------
  RESET & BASE
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
  font-size: 14px;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 750px;
  margin: 0 auto;
  background: #ffffef;
}

.titletx {
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  font-size: clamp(28px, 8vw, 61px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-align: center;
}

.titletx_small {
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  font-size: clamp(20px, 6vw, 48px);
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
  color: #9a7a35;
}

.imglast {
  margin-bottom: 0 !important;
}

/* ------------------------------
    SECTION ANIMATION
  ------------------------------ */
.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  box-sizing: border-box;
  position: relative;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------
    保証
  ------------------------------ */
.point {
  margin-top: -40px;
  padding: 0 20px 0;
  z-index: 1;
  position: relative;
}

.hosyo {
  background: #ffffef;
  padding: 80px 20px 40px;
  position: relative;
  margin-top: -56px;
}

/* ------------------------------
    お問い合わせ
  ------------------------------ */
.contact {
  background-image: url(../img/bg_contact@2x.jpg);
  background-position: center;
  background-size: cover;
  padding: 40px 20px;
}

.contact div {
  margin-top: 24px;
}

.contact div .subtx {
  width: 60%;
  text-align: center;
  margin: 0 auto 8px;
}

/* シンプルなふわふわアニメーション */
.btn-float {
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* ------------------------------
    ディレクター
  ------------------------------ */

.director {
  background-image: url(../img/bg_director@2x.jpg);
  background-position: center;
  background-size: cover;
  padding: 40px 20px 0;
}

.director img {
  margin-bottom: 40px;
}

/* ------------------------------
    CV BUTTON (固定)
  ------------------------------ */
.cv-fixed {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 90%;
  max-width: 600px;
  text-align: center;
  display: flex;
  gap: 4%;
}

.cv-fixed a {}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* ------------------------------
   accordion (固定)
  ------------------------------ */
.accordion {
  max-width: 750px;
  margin: 0 auto;
}

/* 見出し部分 */
.accordion-header {
  width: 100%;
  background: #b29046;
  /* 金色 */
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-top: 16px;
  font-family: "Noto Serif JP", serif;
  gap: 8px;
}

/* 矢印画像 */
.accordion-arrow {
  width: 22px;
  height: auto;
  transition: transform 0.3s ease;
}

/* 開いた状態で矢印を反転 */
.accordion-header.active .accordion-arrow {
  transform: rotate(180deg);
}

/* コンテンツ部分 */
.accordion-content {
  display: none;
  background: #fff;
  padding: 16px;
  font-size: 14px;
  border-top: none;
}

.accordion-content img {
  margin-top: 16px;
}

/* ------------------------------
リスク
  ------------------------------ */
.implant_ketsudan {
  margin-top: -2px;
}

/* ------------------------------
リスク
  ------------------------------ */

.risk {
  background: #322d43;
  padding: 40px 20px;
}

.whitecardbox {
  margin-bottom: 24px;
}

.whitecard {
  background: #fff;
  padding: 48px 8px 40px;
  z-index: 0;
  position: relative;
  margin-top: -40px;
}

.pointitem {
  width: 30%;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.titletx_small {
  color: #9a7a35;
  margin-bottom: 16px;
}

.whitecardimg {
  margin: 16px 0;
}

/* ------------------------------
5つの理由
  ------------------------------ */

.reson {
  background: #faf6db;
  padding: 40px 20px;
}

.smalltx {
  font-size: 12px;
}

/* ------------------------------
症例
  ------------------------------ */

.syorei {
  background-image: url(../img/bg_syorei@2x.jpg);
  background-position: center;
  background-size: cover;
  padding: 40px 20px 0;
}

.smalltx {
  font-size: 12px;
}

/* ------------------------------
その他症例
  ------------------------------ */
.sonotasyorei {
  background: #a58540;
  padding: 40px 20px;
}

.sonotasyorei h2 {
  color: #fff;
  margin-bottom: 16px;
}

.sonotasyorei .smalltx {
  color: #fff;
}

/* ------------------------------
他社と比べる
  ------------------------------ */
.tasya {
  background: #ededed;
  padding: 40px 20px;
}

/* ------------------------------
医療費控除について
  ------------------------------ */
.kojyo {
  background-image: url(../img/bg_kojyo@2x.jpg);
  background-position: center;
  background-size: cover;
  padding: 40px 20px;
}

.simulation {
  margin-top: 24px;
}

/* ------------------------------
料金
  ------------------------------ */
.price {
  padding: 40px 20px;
  background: #fff;
}

.simulation {
  margin-top: 24px;
}

/* ------------------------------
流れ
  ------------------------------ */
.flow {
  background: #d7cbb9;
  padding: 40px 20px;
}

.flow .flowlist {
  margin-top: 24px;
}

.simulation {
  margin-top: 24px;
}

/* ------------------------------
よくあるご質問
  ------------------------------ */
.question {
  background: #dcd7c7;
  padding: 40px 20px;
}

.question .flexq {
  display: flex;
  gap: 8px;
  align-items: center;
}

.question .accordion {
  border-bottom: 1px solid #a48b50;
  padding-bottom: 16px;
}

.question .accordion-header {
  background: none;
  padding: 0;
  color: #0d0100;
  font-family: "Noto Serif JP", serif;
}

.question .img_q {
  width: 48px;
}

.simulation {
  margin-top: 24px;
}

/* ------------------------------
    form
  ------------------------------ */
.formsection {
  padding: 40px 20px;
  background: #fff;
}

.new_reservation {
  margin-top: 24px;
}

#check_item_1 {
  display: none;
}

.radio {
  display: inline-block;
  padding-right: 2rem;
  /*  line-height: 4.2rem;*/
  cursor: pointer;
}

.radio:hover .inner {
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
  opacity: 0.5;
}

.radio input {
  display: none;
}

.radio input:checked+.outer .inner {
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}

.radio input:checked+.outer {
  border: 1px solid #a98a46;
}

.radio input:focus+.outer .inner {
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
  background-color: #098a46;
}

.radio .outer {
  height: 3.5rem;
  width: 3.5rem;
  display: block;
  float: left;
  margin: 0.4rem 2rem 0 0;
  border: 0.1rem solid #333333;
  /*  border-radius: 50%;*/
  background-color: #fff;
}

.radio .inner {
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  height: 2.5rem;
  width: 2.5rem;
  -webkit-transform: scale(0);
  transform: scale(0);
  display: block;
  margin: 0.4rem;
  /*  border-radius: 50%;*/
  background-color: #a98a46;
  opacity: 0;
}

.new_reservation label {
  display: block;
  color: #a98a46;
  margin-bottom: 8px;
  padding-left: 0;
}

.new_reservation label .sRequired {
  color: #fff;
  text-align: center;
  background-color: #534741;
  border-radius: 8px;
  padding: 4px 8px;
  display: inline-block;
  margin-left: 16px;
}

.new_reservation label .sRequired.opt {
  background-color: #b3b3b3;
}

.new_reservation label.radio {
  color: #333333;
}

#checkboxes .groupBoxCk #showiframe {
  width: 3.5rem;
  height: 3.5rem;
}

.new_reservation input,
.new_reservation select,
.new_reservation textarea {
  vertical-align: bottom;
  box-sizing: border-box;
  border: 0.1rem solid #a98a46;
  border-radius: 8px;
  line-height: 1.23;
  width: 100%;
  padding: 16px;
  background-color: #ffffff;
}

.new_reservation textarea {}

textarea::placeholder,
input::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #b3b3b3;
  opacity: 1;
  /* Firefox */
}

.new_reservation select option {
  color: #333;
}

.new_reservation>div {
  margin-bottom: 2.5rem;
}

.datepicker {
  width: 50rem !important;
}

.datepicker--cell {
  height: auto !important;
  padding: 0.5rem 0;
}

.datepicker--day-name {
  color: #a98a46;
}

.new_reservation .select_time select {
  width: 13.3rem;
  margin-right: 2.2rem;
}

.new_reservation .btnStyle {
  border: none;
}

.vir-label {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: max-content max-content;
  justify-content: center;
  cursor: pointer;
}

.vir-content {
  color: #4d4d4d;
  font-weight: bold;
}

.vir-checkbox {
  border: 0.1rem solid #d2d2d2;
  display: block;
  width: 40px;
  height: 40px;
  position: relative;
}

#check_item_1:checked+.vir-label .vir-checkbox::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 2rem;
  border-right: 0.4rem solid #a98a46;
  border-bottom: 0.4rem solid #a98a46;
  transform: translate(-50%, -60%) rotate(45deg) scale(0.7);
  transform-origin: center;
}

.formDes {
  border: 0.1rem solid #a98a46;
  padding: 16px;
  box-sizing: border-box;
  line-height: 1.7;
  color: #000000;
  border-radius: 8px;
  height: 30rem;
  overflow-y: scroll;
}

.formDes::-webkit-scrollbar {
  width: 1rem;
  height: 10rem;
}

.formDes::-webkit-scrollbar-track {
  /*    background-color: #d4aa70;*/
  border-radius: 100px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.formDes::-webkit-scrollbar-thumb {
  background-color: #e4e4e4;
  border-radius: 100px;
}

.new_reservation select {
  width: 100%;
  /* background-image: url(../img/selectshop.png);
  color: #A98A46; */
  background-size: 3rem 1.7rem;
  background-position: calc(100% - 1rem) center;
  background-repeat: no-repeat;
}

.new_reservation select option {
  background-color: #fff;
}

#errors {
  color: #f23c52;
  text-align: center;
}

.reservation-row {
  display: flex;
  gap: 1rem;
}

.reservation-row input[type="text"] {
  width: 50%;
}

.reservation-row select {}

#webBlock select {
  color: #b3b3b3;
}

#webBlock select.has-value {
  color: #000;
}

#webBlock select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='0.8rem' height='0.5rem' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23333333'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2rem center;
  background-size: 0.8rem 0.5rem;
  padding-right: 2rem;
}

input[type="date"] {
  appearance: none;
}

/* ------------------------------
    エリア
  ------------------------------ */

.area {
  background: #ededed;
  padding: 40px 20px;
}

.area .tenkai {
  width: 80%;
  margin: 24px auto;
}

/* ====== 院カード（共通） ====== */

.clinicacc {
  margin-top: 0;
}

/* 2カラムのカード部分 */
.clinicacc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* これを追加（重要） */
.clinicacc-panel {
  grid-column: 1 / -1;
  /* グリッドを2カラムまたいで1行ぶち抜き */
  margin-top: 16px;
  /* カードとの間隔。お好みで調整 */
}

.clinicacc-item {
  position: relative;
}

.clinicacc-trigger {
  width: 100%;
  border-radius: 8px;
  border: 2px solid #b29046;
  background: #fff;
  color: #b29046;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  font-family: "Noto Serif JP", serif;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.clinicacc-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.clinicacc-access {
  margin-top: 4px;
  font-size: 12px;
}

/* 選択中カード */
.clinicacc-trigger[aria-expanded="true"] {
  background: #b29046;
  color: #fff;
  border-color: #b29046;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

/* 吹き出しの三角形 */
.clinicacc-trigger[aria-expanded="true"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%);
  border-width: 10px 12px 0 12px;
  border-style: solid;
  border-color: #b29046 transparent transparent transparent;
}

/* 詳細は横幅100％ */
.clinicacc-detail-wrap {
  margin-top: 32px;
  width: 100%;
}

.clinicacc-panel {
  width: 100%;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #eee;
}

.clinicacc-panel+.clinicacc-panel {
  margin-top: 16px;
}

.clinicacc-panel[hidden] {
  display: none;
}

.clinicacc-detail-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.clinicacc-map {
  margin-top: 12px;
  min-height: 120px;
  background: #f7f7f7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #666;
}

/* ------------------------------
    FOOTER
  ------------------------------ */
footer {
  text-align: center;
  padding: 40px 0 100px;
  font-size: 12px;
  color: #999;
}

/* ------------------------------
    光るボタン
  ------------------------------ */
.shine-btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.shine-btn img {
  display: block;
  width: 100%;
  height: auto;
}

/* 光の帯 */
.shine-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  pointer-events: none;
  animation: shine 4s ease-in-out infinite;
}

/* 光の動き（よりゆっくり） */
@keyframes shine {
  0% {
    left: -75%;
  }

  20% {
    left: 125%;
  }

  100% {
    left: 125%;
  }
}