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

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

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;
  color: #000;
  line-height: 3.5rem;
}

h2 {
  font-size: 1.5rem;
  color: #000;
}

h3 {
  font-size: 1.3rem;
  color: #000;
}

ul {
  padding: 1rem;
}

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

.container {
  padding: 0.5rem;
}

.left {
  text-align: left;
}

/* ヘッダー */
.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 {
  color: red;
  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;
}

.pink {
  color: #d81b60;
}

.yellow {
  color: yellow;
}

.bold {
  font-weight: bold;
}

.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;
}

.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;
}

/* よくあるご質問 */

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

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

.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;
  }
}
