/* ===============================
   酒むすめ - style.css
   ぬくもり居酒屋ミニマル
================================== */

/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  background:
    linear-gradient(
      rgba(247, 243, 232, 0.5),
      rgba(247, 243, 232, 0.5)
    ),
    url("/assets/img/bg_wood_light.webp");
  background-size: cover;
  background-attachment: fixed;
}

/* ===== Section Base ===== */
section {
  padding: 100px 20px;
  text-align: center;
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 40px;
}

h3 {
  margin-top: 15px;
  font-size: 1.2rem;
}

p {
  font-size: 0.95rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  max-width: 1200px;   /* ← 最大横幅制限 */
  margin: 0 auto;      /* 中央寄せ */
  padding: 60px 20px 0;
}

.hero img {
  width: 100%;
  max-height: 70vh;    /* ← 高さ制限 */
  object-fit: cover;
  border-radius: 25px;
}

.hero-text {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(247, 243, 232, 0.9);
  padding: 20px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.hero-text h1 {
  font-size: 2rem;
}

.hero-text p {
  font-size: 1rem;
  margin-top: 8px;
}

.hero-title {
  text-align: center;
  margin-bottom: 30px;
}

.hero-title h1 {
  font-size: 2.2rem;
}

.hero-title h1 span {
  display: inline;
}

.hero-title p {
  font-size: 1rem;
  margin-top: 8px;
}

.hero-title h1 .line1 {
  font-size: 1.8rem;
  font-weight: 500;
}

.hero-title h1 .line2 {
  font-size: 2.4rem;   /* ← ここ大きく */
  font-weight: 700;
}

/* ===== About ===== */
.about p {
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Member Pages ===== */
.page-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 0;
}

.back-link {
  text-decoration: none;
  color: inherit;
  opacity: 0.85;
}

.back-link:hover {
  opacity: 1;
}

.member-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 80px;
}

.member-hero {
  padding: 0;
  text-align: left;
}

.member-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.member-hero-image img {
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.member-tag {
  display: inline-block;
  background: #fffdf8;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.member-name {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.member-catch {
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.member-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.meta-item {
  background: #fffdf8;
  border-radius: 18px;
  padding: 10px 14px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.meta-label {
  display: block;
  font-size: 0.8rem;
  opacity: 0.75;
}

.meta-value {
  display: block;
  font-weight: 700;
}

.member-desc {
  max-width: 40em;
  margin-bottom: 18px;
}

.member-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 16px;
  background: #fffdf8;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(59, 47, 47, 0.2);
  box-shadow: none;
}

.member-section {
  padding: 70px 0 0;
  text-align: left;
}

.member-section h2 {
  margin-bottom: 18px;
}

.member-list {
  list-style: none;
  padding-left: 0;
  background: #fffdf8;
  border-radius: 25px;
  padding: 18px 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.member-list li + li {
  margin-top: 10px;
}

.member-event {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  background: #fffdf8;
  border-radius: 25px;
  padding: 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.member-event img {
  border-radius: 18px;
}

/* ===== Members ===== */
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.member-card {
  background: #fffdf8;
  padding: 20px;
  border-radius: 25px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.member-card img {
  border-radius: 20px;
}

/* ===== Events ===== */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.event-card {
  background: #fffdf8;
  padding: 20px;
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.event-card img {
  border-radius: 20px;
}

/* ===== Footer ===== */
footer {
  padding: 40px 20px;
  text-align: center;
  font-size: 0.8rem;
  background: #efe7d6;
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .member-grid,
  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ===== Responsive for member pages ===== */
@media (max-width: 900px) {
  .member-hero-inner {
    grid-template-columns: 1fr;
  }

  .member-event {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  section {
    padding: 70px 15px;
  }

  .hero-title h1 span {
    display: block;
  }

  .member-grid,
  .event-grid {
    grid-template-columns: 1fr;
  }

  .hero-text {
    width: 90%;
    padding: 15px 20px;
  }

  h1 {
    font-size: 1.8rem;
  }
}
