/* ==================================================
   Base
================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  line-height: 1.7;
  color: #444;

  /* 背景（PC） */
  background-image: url("img/artbeatlaboTop.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

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

a { color: #e95e95; text-decoration: underline; }
a:hover { text-decoration: none; }

/* ==================================================
   Header Layout
================================================== */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;

  background: rgba(251, 250, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(42,38,37,.06);
}


.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 16px;
  min-height: 64px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  position: relative;
  z-index: 250; /* nav overlay より手前 */
}

.site-logo a {
  color: #623838;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}

/* ==================================================
   Desktop Navigation
================================================== */

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
}

.site-nav a {
  display: block;
  padding: 6px 14px;
  border-radius: 999px;

  text-decoration: none;
  color: #623838;

  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);

  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.site-nav a:hover {
  background: #ffedf5;
  box-shadow: 0 3px 6px rgba(0,0,0,0.22);
  transform: translateY(-1px);
}

/* SNS (header) */
.header-sns { margin-left: 16px; }

.header-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #f3a6b5;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-sns img { width: 18px; height: 18px; }
.header-sns a:hover { transform: scale(1.08); opacity: 0.85; }

/* ==================================================
   Hamburger Button (hidden on desktop)
================================================== */

.nav-toggle {
  display: none;
  width: 40px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  z-index: 300; /* いつでも最前面 */
}

.nav-toggle span {
  position: absolute;
  left: 6px;
  width: 28px;
  height: 3px;
  background: #623838;
  border-radius: 2px;
  transition: 0.3s;
}

.nav-toggle span:nth-child(1) { top: 6px; }
.nav-toggle span:nth-child(2) { top: 14px; }
.nav-toggle span:nth-child(3) { top: 22px; }

.nav-toggle.open span:nth-child(1) { top: 14px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 14px; transform: rotate(-45deg); }

/* ==================================================
   Page Title
================================================== */

  .page-title {
    margin-top: 64px;              /* ヘッダー直下 */
    text-align: center;
    padding: clamp(100px, 18vw, 150px) 16px
             clamp(60px, 14vw, 120px)
  }

.page-title h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #ff3e9d;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.95),
    0 0 20px rgba(255, 255, 255, 0.90),
    0 0 35px rgba(255, 255, 255, 0.85),
    0 3px 6px rgba(0,0,0,0.28),
    0 6px 12px rgba(0,0,0,0.20);
}


/* ==================================================
   Main Panel
================================================== */

.site-main { padding: 0 16px 60px; }

.panel {
  max-width: 1100px;
  margin: 0 auto 24px;
  padding: 28px 22px 40px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.16);
}

/* ==================================================
   Sections
================================================== */

.section {
  padding: 20px 0;
  border-bottom: 1px dashed rgba(255, 168, 207, 0.7);
  scroll-margin-top: 90px;
}
.section:last-of-type { border-bottom: none; }

.section-heading {
  margin: 0 0 10px;
  font-size: 1.3rem;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: #ffe4f0;
  color: #bf3f7d;
}

.section-text {
  margin: 10px 0 16px;
  font-size: 0.95rem;
  color: #555;
}

.list-dots {
  list-style: disc;
  padding-left: 1.4em;
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: #555;
}

/* ==================================================
   What's New + Live (2 columns -> 1 column)
================================================== */

.section-new-live {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.section-new-live .column { flex: 1 1 0; }

/* ==================================================
   Photo Grid
================================================== */

.photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

.photo-box {
  flex: 1 1 22%;
  text-align: center;
  font-size: 0.8rem;
  background: #fffdf5;
  border-radius: 18px;
  padding: 8px 6px 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.photo-box img { border-radius: 12px; margin-bottom: 4px; }
.photo-box p { margin: 0; color: #555; }

/* ==================================================
   Member
================================================== */

.member-row {
  display: flex;
  align-items: stretch;
  gap: 32px;
  margin-top: 16px;
}

.member-box {
  flex: 1 1 22%;
  background: #fef6ff;
  border-radius: 20px;
  padding: 14px 16px 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}

.member-box .member-vocal{
  padding:0;
  box-shadow:none;  
}

.member-box img {
  max-width: 220px;
  max-height: 220px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto 16px;
  border-radius: 100px;
}

/* Vocal（ケイ）だけ “続きを読む” */
.member-vocal .member-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
  overflow: hidden;
}

.member-vocal.open .member-text {
  -webkit-line-clamp: unset;
}

.member-vocal .more-btn {
  margin: 18px auto 0;
  padding: 8px 20px;
  border-radius: 20px;
  border: none;
  background: #f2a7b5;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  display: block;
}

/* SNS box */
.sns-box { margin-top: 40px; text-align: center; }
.sns-text { font-size: 0.95rem; margin-bottom: 12px; color: #555; }

.sns-instagram {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: #f6b1c3;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}
.sns-instagram:hover { background: #f28ca8; }

/* ==================================================
   Contact
================================================== */

.contact-form {
  max-width: 520px;
  margin: 0 auto;
  font-size: 0.9rem;
}

.form-group { margin-bottom: 12px; }
.form-group label { display: block; margin-bottom: 4px; color: #555; }

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid #ffc4db;
  background: #fff9fc;
  color: #444;
  padding: 8px 12px;
  font: inherit;
}

.form-group input { border-radius: 999px; }
.form-group textarea { border-radius: 18px; }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff84b5;
  box-shadow: 0 0 0 3px rgba(255, 132, 181, 0.25);
  background: #ffffff;
}

.form-actions { margin-top: 16px; text-align: center; }

.form-actions button {
  border: none;
  border-radius: 999px;
  padding: 10px 28px;
  font: inherit;
  cursor: pointer;
  background: linear-gradient(90deg, #ff84b5, #ffc46d);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.form-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.28);
}

/* ==================================================
   Footer
================================================== */

.site-footer {
  margin-top: 64px;
  padding: 32px 16px 40px;
  background: linear-gradient(
    180deg,
    rgba(255, 214, 230, 0.95),
    rgba(255, 190, 210, 0.95)
  );
  color: #623838;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
}

.footer-copy {
  font-size: 0.8rem;
  margin: 0 0 16px;
  opacity: 0.8;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-nav a {
  text-decoration: none;
  color: #623838;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-nav a:hover {
  background: #ffedf5;
  transform: translateY(-1px);
}

.footer-sns a {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 999px;
  background: #f28ca8;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-sns a:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

/* ==================================================
   Responsive (Mobile)
================================================== */

@media (max-width: 800px) {
  /* 背景：横幅に合わせて、縦はループ */
  body {
    background-attachment: scroll;
    background-size: 100% auto;
    background-repeat: repeat-y;
    background-position: center top;
  }

  /* メニュー開いている間スクロール禁止（任意だけどおすすめ） */
  body.menu-open { overflow: hidden; }

  /* hamburger visible */
  .nav-toggle { display: block; }

  /* header sns hidden on mobile */
  .header-sns { display: none; }

  /* overlay nav */
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 200;

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

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  /* 背景だけ別レイヤー */
  .site-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(255, 214, 230, 0.95) 0%,
      rgba(255, 214, 230, 0.85) 30%,
      rgba(255, 240, 245, 0.85) 100%
    );
    backdrop-filter: blur(4px);
    z-index: -1;
  }

  .site-nav.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* メニュー表示中はヘッダー帯を消して、ナビ背景を上まで見せる */
  body.menu-open .site-header {
    background: transparent;
    backdrop-filter: none;
  }

  /* モバイル用の縦並び */
  .site-nav ul {
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: 18px;
    font-size: 1.2rem;
  }

  .site-nav li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .header-inner {
    min-height: 45px;      /* ← 少しだけ細く */
    padding: 4px 12px;     /* ← 上下余白を圧縮 */
  }

  .site-logo a {
    font-size: 0.95rem;    /* ロゴもわずかに縮小 */
  }

  .nav-toggle {
    height: 28px;          /* ハンバーガーもバランス調整 */
  }

  /* one-column */
  .section-new-live { flex-direction: column; }
  .photo-grid { flex-direction: column; }
  .photo-box { flex: 1 1 100%; }
  .member-row { flex-direction: column; }
  .member-box { flex: 1 1 100%; }


  /* =========================
     全体の基準文字サイズ
  ========================= */
  body {
    font-size: 14px; /* PCより一段落とす */
    line-height: 1.65;
  }

  /* =========================
     ページタイトル
  ========================= */
  .page-title {
    padding: 80px 16px 60px;
  }

  .page-title h1 {
    font-size: clamp(1.9rem, 7vw, 2.4rem);
  }

  /* =========================
     セクション見出し
  ========================= */
  .section-heading {
    font-size: 1.1rem;
  }

  /* =========================
     本文テキスト
  ========================= */
  .section-text {
    font-size: 0.85rem;
  }

  .list-dots {
    font-size: 0.8rem;
  }

  /* =========================
     メンバー紹介
  ========================= */
  .member-box {
    font-size: 0.8rem;
  }

  .member-vocal .more-btn {
    font-size: 0.8rem;
    padding: 6px 18px;
  }

  /* =========================
     ナビゲーション（全画面）
  ========================= */
  .site-nav ul {
    font-size: 1.05rem;
  }

  /* =========================
     フッター
  ========================= */
  .footer-nav a {
    font-size: 0.8rem;
  }

  .footer-copy {
    font-size: 0.7rem;
  }


}