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

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

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

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

.left {
  text-align: left;
}

/* ヘッダー */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: white;
  border-bottom: 1px solid #ddd;
}

.header-logo {
  height: 64px;
}

.logo {
  height: 120px;
  margin: 0 auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  font-weight: bold;
  color: #444;
}

.main-nav a:hover {
  color: #e91e63;
}

/* ファーストビュー */
.hero {
  width: 100%;
  padding: 8rem 6rem;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
    url("img/hero-background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  display: flex;
  justify-content: center;
}

.hero-content {
  display: flex;
  justify-content: center; /* 必要に応じて */
  align-items: center;     /* 必要に応じて */
  flex-wrap: wrap;         /* スマホで折り返す場合 */
  gap: 2rem;
}

.hero-left {
  flex: 1 1 350px;
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center;     /* 縦方向の中央揃え */
  max-width: 80%;
}

.hero-right {
  flex: 1 1 350px;
  max-width: 80%;
}

.hero-right h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #FFF;
}

.hero-right p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #FFF;
}

.btn-pink,
.btn-green {
  display: inline-block;
  background-color: #e91e63;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s;
}

.btn-green {
  background-color: #4caf50;
}

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

.btn-green:hover {
  background-color: #43a047;
}

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

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

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

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

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

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

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

.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 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.faq-item {
  background-color: #f5f5f5;
  padding: 1rem;
  border-radius: 6px;
}

.faq-item h4 {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

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

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 4rem 2rem;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-right {
    max-width: 100%;
  }

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

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