/* ========== Base (共通) ========== */
body {
  font-family: "Shippori Mincho", serif;
  line-height: 1.9;
  color: #3b2e2e;
  background-color: rgba(245, 220, 231, 0.8);
  margin: 0;
}

h1 {
  color: #f4b6d2;
  font-size: 60px;
  font-family: "Shippori Mincho", serif;
  margin: 0;
}

h2,
.section-heading-main {
  font-family: "Great Vibes", "Shippori Mincho", serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #cd11b7;
  margin: 0 0 20px;
}

h2 { font-size: 40px; }

.section-heading-sub {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-size: 0.9em;
  color: #a47a83;
}

/* ===== Hero ===== */
.hero {
  background-image: url("../img/miruarine_illust/miruarine_illust01.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Intro ===== */
.intro {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 60px;
  padding: 60px 10%;
}

.intro-text { flex: 1; text-align: left; }

.intro-text h2 {
  font-family: "Shippori Mincho", serif;
  color: #b14bb1;
  font-size: 2.4rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.intro-text p {
  font-size: 1.4rem;
  line-height: 2.2;
  color: #3a2e2e;
}

.intro-image { flex: 1; text-align: center; }

.intro-image h3 {
  font-family: "Shippori Mincho", serif;
  color: #5c3b87;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.intro-image img {
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
}

/* ===== Gallery ===== */
.gallery {
  text-align: center;
  padding: 60px 20px;
}

.gallery h2 {
  font-family: "Great Vibes", "Shippori Mincho", serif;
  font-size: 2.6rem;
  color: #1114e8;
  margin-bottom: 50px;
}

.gallery-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.gallery-item h3 {
  font-family: "Shippori Mincho", serif;
  font-size: 1.4rem;
  color: #5c3b87;
  margin-bottom: 15px;
}

.gallery-item img {
  width: 80%;
  max-width: 500px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover { transform: scale(1.03); }

/* ===== Text styling ===== */
h3, p { text-align: center; }
p {
  font-size: 1.2rem;
  line-height: 1.8;
}

.greeting-title {
  font-size: 1.8rem;
  color: #5c3b87;
  text-align: center;
  margin: 40px 0 10px;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

footer small {
  color: #5c3b87;
  font-size: 0.9rem;
}

.x-button img {
  width: 32px;
  height: 32px;
  transition: opacity 0.3s ease;
}

.x-button img:hover {
  opacity: 0.7;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .hero {
    background-size: contain;
    background-position: center top;
    min-height: 60vh;
  }

  h1 { font-size: 36px; }
  h2 { font-size: 28px; }

  .intro {
    flex-direction: column;
    padding: 32px 6%;
    gap: 24px;
  }

  .intro-text p {
    font-size: 1.1rem;
    line-height: 1.9;
  }

  .intro-image img {
    width: 100%;
    max-width: 300px;
  }

  .gallery h2 { font-size: 2rem; }

  .gallery-item img {
    width: 100%;
    max-width: 350px;
  }
}

@media (min-width: 601px) and (max-width: 960px) {
  .hero { min-height: 70vh; background-position: center top; }
  h1 { font-size: 48px; }
  h2 { font-size: 32px; }

  .intro {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 48px 8%;
  }

  .intro-image img {
    width: 85%;
    max-width: 400px;
  }

  .gallery-item img {
    width: 90%;
    max-width: 400px;
  }
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.x-buttons {
  display: flex;
  justify-content: center;
  gap: 20px; /* シェアとフォローの間隔 */
}

.x-buttons a img {
  width: 32px;
  height: 32px;
  transition: opacity 0.3s ease;
}

.x-buttons a img:hover {
  opacity: 0.7;
}
.x-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.x-buttons a {
  display: flex;
  flex-direction: column; /* アイコンの下に文字 */
  align-items: center;
  text-decoration: none;
}

.x-buttons img {
  width: 32px;
  height: 32px;
  transition: opacity 0.3s ease;
}

.x-buttons a span {
  font-size: 0.8rem;
  color: #5c3b87;
  margin-top: 4px;
}

.x-buttons img:hover {
  opacity: 0.7;
}
