/* 全体設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.tally-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.tally-wrapper-gray {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.tally-wrapper::after {
  content: "";
  position: absolute;
  bottom: 22px;
  right: 0;
  width: 146px;
  height: 40px;
  background-color: #ffffff;
}

.tally-wrapper-gray::after {
  content: "";
  position: absolute;
  bottom: 22px;
  right: 0;
  width: 146px;
  height: 40px;
  background-color: #f2f5f7;
}


body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
  color: #000;
}

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

.bg-light-gray {
  background-color: #f2f5f7;
}

.bg-white {
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

h1 {
  font-size: 1.8rem;
  padding: 1.5rem 0;
  line-height: 3.5rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.3rem;
}

ul {
  padding: 1rem;
}

li + li {
  margin-top: 0.5rem;
}

.container {
  padding: 0.5rem;
}

.left {
  text-align: left;
}

/* hero */
.hero {
  position: relative;

  width: 100vw;
  margin-left: calc(50% - 50vw);

  background-image: url("img/hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  padding: 20px 0 20px;
}

/* 黒オーバーレイ */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* テキスト */
.hero-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
}

/* ヘッダー */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  height: 80px;
  padding: 10px;
}

.key-visual {
  width: 100%;
  padding: 0 1rem 1rem;
  text-align: center;
}

.key-visual p {
  font-size: 1.5rem;
  font-weight: bold;
}

.bg-yellow {
  background-color: yellow;
}

.bg-pink {
  background-color: #d81b60;
  color: #FFF;
  padding: 0.5rem 2rem;
}

.deadline {
  background-color: #fff;
  text-align: center;
  padding: 2rem;
}

.red {
  color: red;
}

.black {
  color: black;
}

.pink {
  color: #d81b60;
}

.yellow {
  color: yellow;
}

.bold {
  font-weight: bold;
}

.border_bottom_red {
  border-bottom: solid 4px red;
}

.center-img {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.condition {
  background-color: #FFF;
  padding: 2rem;
  line-height: 2rem;
}

.point_img {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}

.bg-navy {
  background-color: #071b35;
}

.bg-navy h1, 
.bg-navy h2, 
.bg-navy h3, 
.bg-navy p {
  color: #FFF;
}

.white-box {
  background-color: #FFF;
  padding: 2rem;
}

.white-box h3,
.white-box p {
  color: #000;
}

.book {
  width: 10rem;
}

.btn-wrapper {
  padding: 4rem 0;
  text-align: center;
}

.line_btn {
  background-color: rgb(12, 199, 85);
  color: #fff;
  width: 320px;
  font-size: 24px;
  font-weight: bold;
  border-radius: 6px;
  line-height: 2.5;
  margin: 0 auto;
  text-align: center;
  border: none;
  cursor: pointer;

  img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
  }
}

.btn-caption {
  text-align: center;
  margin-top: 12px;
}

.btn-pink {
  display: inline-block;
  background-color: #e91e63;
  color: white;
  font-size: 1.5rem;
  padding: 1rem;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s;
  width: 100%;
  max-width: 400px;
}

.btn-pink:hover {
  background-color: #d81b60;
}

/* セクション */
.section-container {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

.section h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.section h3 {
  text-align: left;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.columns-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.columns-2 + .columns-2 {
  margin-top: 2rem;
}

.columns-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.columns-3 + .columns-3 {
  margin-top: 4rem;
}

.card {
  background: #f9f9f9;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 1.5rem;
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0 auto;
}

.card h3 {
  margin-bottom: 0.2rem;
}

img + h3 {
  margin-top: 1rem;
}

img + p {
  margin-top: 0.5rem;
}

.card .img-circle {
  width: 50%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.icon {
  width: 80px;
  margin: 0 auto 1rem;
}

.map iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* お客様の声 */
.testimonials {
  background-color: #f9f9f9;
  padding: 4rem 1rem;
}

.testimonial-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.testimonial-item img {
  border-radius: 50%;
  width: 60px;
  height: 60px;
}

.testimonial-item .content {
  flex: 1;
}

/* 施術の流れ、ビフォーアフター、院内の様子など共通 */
.steps, .gallery, .interior {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

/************************************************************
 患者様のご感想
************************************************************/
/* ====== 全体 ====== */
.voice-list {
  margin: 40px 0;
}

.voice-card {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  max-width: 800px;
  margin: 0 auto;
}

.voice-card + .voice-card {
  margin-top: 30px;
}

/* ====== 左：プロフィール ====== */
.voice-profile {
  width: 160px;
  flex-shrink: 0;
  text-align: center;
}

/* ====== アイコン（画像） ====== */
.voice-icon {
  width: 72px;
  margin: 0 auto 10px;
}

.voice-icon img { width: 100%; }

/* ====== 情報 ====== */
.voice-info {
  font-size: 14px;
  line-height: 1.8;
}

.voice-name {
  font-size: 16px;
  font-weight: 600;
}

.voice-attr {
  font-size: 13px;
  font-weight: 300;
}

.voice-issue {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

/* ====== 右：本文 ====== */
.voice-body { flex: 1; }

/* ====== レスポンシブ ====== */
@media (max-width: 640px) {
  .voice-card {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .voice-profile {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
  }

  .voice-icon {
    width: 56px;
    margin: 0;
  }

  .voice-info { font-size: 13px; }
}

/* よくあるご質問 */

.faq_detail {
  padding: 24px 12px;
  border-bottom: 2px solid #eaeaea;
  position: relative;
  cursor: pointer;
}

.faq_detail dt {
  font-size: 24px;
}

.faq_detail dt:before {
  position: absolute;
  top: 50%;
  right: 30px;
  width: 26px;
  height: 2px;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  background: #ee7773;
  content: "";
}

.faq_detail dt:after {
  position: absolute;
  top: 50%;
  right: 42px;
  width: 2px;
  height: 26px;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  background: #ee7773;
  content: "";
}

.faq_detail .active:after {
  display: none;
}

.faq_detail dd {
  display: none;
  padding-right: calc(80px + (1vw - 19.2px) * 1.9417);
  cursor: default;
  padding-top: 1rem;
}

.slide-in {
  animation: slideInFromRight 0.5s ease-out forwards;
}

.slide-out {
  animation: slideOutToRight 0.5s ease-in forwards;
}

/* フッター（仮） */
footer {
  text-align: center;
  font-size: 0.9rem;
  padding: 2rem 0;
  color: #999;
}

.pc_line_break {
  display: block;
}

.sp_line_break {
  display: none;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .section-container {
    padding: 2rem;
    max-width: 1000px;
    margin: auto;
  }

  .columns-2,
  .columns-3,
  .faq {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .faq_detail {
    padding: 1rem;
    padding-right: 3rem;
  }
  .faq_detail dt {
    line-height: 1.6;
    font-size: 18px;
  }
  .faq_detail dt:before {
    width: 22px;
    right: 11px;
  }
  .faq_detail dt:after {
    height: 22px;
    right: 20px;
  }
  .faq_detail dt span:before {
    left: -4rem;
  }
  .faq_detail dd {
    padding-right: 0;
  }

  .pc_line_break {
    display: none;
  }

  .sp_line_break {
    display: block;
  }
}

.default-place-card-container {
  display: none !important;
}