/* ============================================================
   NONBORI — style.css
   カラー: 赤 #FF0000 (R255 G0 B0) / 白 #FFFFFF
   フォント: M PLUS Rounded 1c → Zen Maru Gothic（Medium 500）
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'M PLUS Rounded 1c', 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  color: #FF0000;
  background: #FFFFFF;
  overflow-x: hidden;
}

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

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

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #FF0000;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 40px;
}

/* 各ページのヘッダーは丸みのある SVG を背景に
   （CSS background だと preserveAspectRatio が効かないブラウザがあるため img で配置） */
body.top-page header,
body.about-page header,
body.event-page header,
body.contact-page header {
  background: transparent;
}

/* TOP / About Us 用: ページ最上部 60px(SP 50px) に赤い帯を敷く。
   ヘッダーは常に右丸 SVG を表示。最上部ではこの帯が右丸の透明部分を埋めて
   全幅赤に見え、スクロールすると帯がページと一緒に流れて右丸が現れる仕組み。 */
body.top-page::before,
body.about-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #FF0000;
  z-index: 999; /* header(1000) より下、ページコンテンツより上 */
  pointer-events: none;
}

.header-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: block;
}

/* ナビリンク群（中央） */
.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-links a {
  display: flex;
  align-items: center;
}

.nav-links a img {
  height: 18px;
  width: auto;
}

/* Instagramアイコン（右端固定） */
.nav-instagram {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.nav-instagram img {
  height: 26px;
  width: auto;
}

/* TOPへ戻るリンク（nav-links 内・EVENT の左隣） */
.nav-top {
  display: flex;
  align-items: center;
}

.nav-top img {
  height: 18px;
  width: auto;
  display: block;
}

/* ============================================================
   MAIN — ヘッダー分の余白
   ============================================================ */
main {
  padding-top: 0;
}

/* ============================================================
   共通セクション見出し
   ============================================================ */
.section-heading {
  display: block;
  margin: 0 auto;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  position: relative;
  overflow: hidden;
}

.footer-img {
  width: 100%;
  display: block;
}

.copyright {
  position: absolute;
  left: 0;
  right: 0;
  top: 60%;
  transform: translateY(-50%);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: 0.05em;
}

/* ============================================================
   ボタン（共通）
   ============================================================ */
.btn {
  display: inline-block;
  padding: 8px 24px;
  border: 2px solid #FF0000;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #FF0000;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: 'M PLUS Rounded 1c', 'Zen Maru Gothic', sans-serif;
  letter-spacing: 0.05em;
}

.btn:hover {
  background: #FF0000;
  color: #FFFFFF;
}

/* ============================================================
   INDEX — HERO
   画像下端の丸い部分まで完全に見せるため、固定高さは設けず
   100% 幅で自然なアスペクト比のまま表示する。
   ============================================================ */
.hero {
  width: 100%;
  line-height: 0; /* 画像下の隙間を除去 */
  margin-top: 0;
}

.hero img {
  width: 100%;
  display: block;
}

/* ============================================================
   INDEX — WHAT IS NONBORI
   ============================================================ */
.what-is {
  padding: 140px 40px 160px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.what-is .section-heading {
  max-width: 620px;
  margin-bottom: 64px;
}

.what-is p {
  font-size: 18px;
  line-height: 2.2;
  color: #FF0000;
}

/* ============================================================
   INDEX — EVENT（背景ゾーン＋カード）
   ============================================================ */
.event-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 108px 36px 160px;
  /* 背景SVG: width 95% × aspect 1.8:1 ≒ 52.8vw + 余裕 */
  min-height: 60vw;
}

/* 背景SVG：画面右端揃え・最背面（左に少し伸ばす） */
.event-bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 95%;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

/* TOPページ用：EVENT 見出し（nav-event.svg を使用、白） */
.event-section-heading {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 360px;
  margin: 0 auto 120px;
}

/* TOPページ用：event-section 内の new-event-wrap を中央寄せ＆bg の前面に */
.event-section .new-event-wrap {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  gap: 36px;
}

/* TOPページ用：カード内のサイズも少し拡大 */
.event-section .new-event-card .card-image img {
  max-width: 320px;
}

.event-section .new-event-card .event-type-badge {
  font-size: 14px;
}

.event-section .new-event-card .event-date,
.event-section .new-event-card .event-venue,
.event-section .new-event-card .event-tags {
  font-size: 17px;
  line-height: 1.75;
}

.event-section .new-event-placeholder {
  min-height: 290px;
  border-radius: 56px;
}

.event-section .btn-pill {
  padding: 13px 36px;
  font-size: 16px;
  border-radius: 26px;
}

/* TOPページ用：色反転（赤背景上に白文字・白枠） */
.event-section .new-event-card .event-type-badge,
.event-section .new-event-card .event-date,
.event-section .new-event-card .event-venue,
.event-section .new-event-card .event-tags {
  color: #FFFFFF;
}

.event-section .new-event-placeholder {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #FF0000;
}

.event-section .btn-pill {
  background: #FFFFFF;
  color: #FF0000;
  border-color: #FFFFFF;
}

.event-section .btn-pill:hover {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* TOPページのみ：詳細ボタンを左カラム内でやや左寄りに中央寄せ */
.event-section .new-event-card .card-footer {
  justify-content: center;
  padding-right: 80px;
}

/* ============================================================
   INDEX — ABOUT PREVIEW（メンバー2カラム、bio なし）
   ============================================================ */
.about-preview {
  padding: 80px 40px 96px;
  max-width: 900px;
  margin: 0 auto;
}

.about-preview .section-heading {
  max-width: 320px;
  margin-bottom: 56px;
}

.member-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  margin-bottom: 48px;
}

.member-photo {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
}

/* JPG 写真の親要素にだけ赤枠（SVG 版は枠を内蔵しているため対象外） */
.member-photo:has(img[src$=".jpg"]) {
  border: 2px solid #FF0000;
}

.member-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* mibo: 元画像の下半分に顔があるので顔アップに */
.member-photo img[src*="mibo"] {
  transform: scale(1.8);
  transform-origin: center 68%;
}

/* メンバー名：肩書(現状サイズ)＋名前(大きめ)を別スケールで表示するため、
   同じSVGを2枚使い overflow で上下に切り出す（全ページ共通の土台） */
.mn-title,
.mn-name {
  display: block;
  width: max-content;
  overflow: hidden;
  line-height: 0;
}
.mn-title img,
.mn-name img { display: block; }

/* TOP ページ（PC） */
.member-name-only .mn-title { height: 22px; }
.member-name-only .mn-title img { height: 82px; }
.member-name-only .mn-name { height: 53px; margin-top: 19px; }
.member-name-only .mn-name img { height: 118.6px; margin-top: -65.8px; }
/* 肩書・名前の左端を揃える（各SVG内の文字開始位置のズレを相殺） */
.member-name-only .mn-title img[src*="yuichiro"] { margin-left: -18.7px; }
.member-name-only .mn-name  img[src*="haru"]     { margin-left: -11.4px; }
.member-name-only .mn-name  img[src*="mibo"]     { margin-left: -23.1px; }

/* HARU: name左、photo右（reverse）*/
.member-row.reverse .member-photo { order: 2; }
.member-row.reverse .member-name-only { order: 1; }
.member-row.reverse .member-info { order: 1; }

/* ============================================================
   ABOUT PAGE — HERO（ストーリー見出し）
   ============================================================ */
.about-story {
  width: 100%;
  line-height: 0;
}

.about-story img {
  width: 100%;
}

/* ============================================================
   ABOUT PAGE — メンバー（bio あり）
   ============================================================ */
.members-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 140px 40px 80px;
}

.member-row-bio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 40px;
  margin-bottom: 72px;
}

.member-row-bio .member-photo {
  max-width: 260px;
}

.member-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ABOUT ページ（PC） */
.member-name-svg .mn-title { height: 20px; }
.member-name-svg .mn-title img { height: 76px; }
.member-name-svg .mn-name { height: 50px; margin-top: 17px; }
.member-name-svg .mn-name img { height: 110.2px; margin-top: -61.1px; }

.member-bio {
  font-size: 14px;
  line-height: 2;
  color: #FF0000;
}

/* HARU: name-info左、photo右 */
.member-row-bio.reverse .member-photo { order: 2; }
.member-row-bio.reverse .member-info  { order: 1; }

/* ============================================================
   ABOUT PAGE — お仕事のご相談
   ============================================================ */
.consultation {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 60px 40px 160px;
  margin-bottom: 120px;
  /* 背景SVG (about-work-bg.svg) の下に余白を確保 */
  min-height: 60vw;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 背景SVG：画面左端揃え・最背面 */
.consultation-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 90%;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.consultation-heading {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 540px;
  margin: 0 auto 40px;
}

.consultation-text {
  position: relative;
  z-index: 1;
  font-size: 18px;
  line-height: 2;
  color: #FFFFFF;
  margin: 0 auto;
  max-width: 800px;
}

.consultation-btn-wrap {
  position: relative;
  z-index: 1;
  margin-top: 28px;
}

.consultation-btn-wrap .btn {
  background: #FFFFFF;
  color: #FF0000;
  border-color: #FFFFFF;
  font-size: 15px;
  padding: 12px 36px;
}

.consultation-btn-wrap .btn:hover {
  background: #FF0000;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* ============================================================
   EVENT PAGE — 共通カードスタイル
   ============================================================ */
.event-page-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.event-page-heading {
  display: block;
  max-width: 280px;
  margin: 60px auto 56px;
}

/* NEW!! セクション */
.new-event-wrap {
  display: flex;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 64px;
}

/* 左カラム：枠なし・左揃え・上下中央 */
.new-event-card {
  flex: 1;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.new-event-card .card-image {
  width: 100%;
  line-height: 0;
  padding: 0 0 16px;
  display: flex;
  justify-content: flex-start;
}

.new-event-card .card-image img {
  width: 100%;
  max-width: 240px;
}

.new-event-card .card-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* 右カラム：placeholder（赤枠付き）— img を入れたら自動で枠内に収まる */
.new-event-placeholder {
  flex: 1.5;
  background: #FFFFFF;
  border: 2px solid #FF0000;
  border-radius: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  color: #FF0000;
  font-size: 18px;
  letter-spacing: 0.05em;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: opacity 0.2s;
}

a.new-event-placeholder:hover {
  opacity: 0.85;
}

.new-event-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 16px;
}

.new-event-card .event-type-badge {
  font-size: 11px;
  color: #FF0000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.new-event-card .event-date,
.new-event-card .event-venue,
.new-event-card .event-tags {
  font-size: 13px;
  line-height: 1.6;
  color: #FF0000;
}

.new-event-card .card-footer {
  padding: 20px 0 0;
  display: flex;
  justify-content: flex-start;
}

/* デザイナー指定の楕円ボタン形状を再現 */
.btn-pill {
  padding: 10px 28px;
  font-size: 13px;
  border-radius: 20px;
  border-width: 2px;
  background: #FF0000;
  color: #FFFFFF;
}

.btn-pill:hover {
  background: transparent;
  color: #FF0000;
}

/* UPCOMING セクション */
.upcoming-heading {
  display: block;
  margin: 64px 0 32px;
  max-width: 220px;
}

.upcoming-events {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.upcoming-card {
  display: flex;
  gap: 24px;
  align-items: center;
  border: 2px solid #FF0000;
  border-radius: 16px;
  padding: 20px 24px;
}

.upcoming-card .uc-left {
  flex: 1;
}

.upcoming-card .uc-type {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #FF0000;
  margin-bottom: 4px;
}

.upcoming-card .uc-title {
  font-size: 22px;
  font-weight: 500;
  color: #FF0000;
  line-height: 1.2;
  margin-bottom: 8px;
}

.upcoming-card .uc-date,
.upcoming-card .uc-venue {
  font-size: 13px;
  color: #FF0000;
  line-height: 1.8;
}

/* ARCHIVE */
.archive-heading {
  display: block;
  margin: 64px 0 32px;
  max-width: 200px;
}

.archive-events {
  display: flex;
  gap: 20px;
  margin-bottom: 80px;
}

.archive-card {
  flex: 1;
}

.archive-card img {
  width: 100%;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 40px;
  text-align: center;
}

.contact-heading-img {
  max-width: 420px;
  margin: 0 auto 48px;
}

.contact-lead {
  font-size: 14px;
  line-height: 2.2;
  color: #FF0000;
  margin-bottom: 32px;
}

.contact-apply-link {
  text-align: center;
  margin-bottom: 56px;
}

/* フォーム */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: #FF0000;
  letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #FF0000;
  border-radius: 12px;
  background: transparent;
  color: #FF0000;
  font-family: 'M PLUS Rounded 1c', 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 14px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 0, 0, 0.35);
  font-weight: 500;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #FF0000;
  background: rgba(255, 0, 0, 0.03);
}

/* 時間レンジ（駐車場利用時間など） */
.time-range {
  display: flex;
  align-items: center;
  gap: 12px;
}

.time-range .time-input {
  flex: 1;
  width: auto;
  min-width: 0;
}

.time-range-sep {
  color: #FF0000;
  font-weight: 700;
  font-size: 16px;
}

/* time input の clock アイコンを赤に（WebKit / Chrome / Edge） */
.time-input::-webkit-calendar-picker-indicator {
  filter: invert(15%) sepia(99%) saturate(7400%) hue-rotate(355deg) brightness(95%) contrast(115%);
  opacity: 1;
  cursor: pointer;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23FF0000' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-select option {
  color: #000;
  background: #fff;
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
}

.form-submit {
  margin-top: 8px;
  width: 100%;
  padding: 16px;
  border: 2px solid #FF0000;
  border-radius: 20px;
  background: transparent;
  color: #FF0000;
  font-family: 'M PLUS Rounded 1c', 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: background 0.2s, color 0.2s;
}

.form-submit:hover {
  background: #FF0000;
  color: #FFFFFF;
}

/* ============================================================
   APPLY PAGE — ASOBO! 出店申請フォーム
   ============================================================ */
.apply-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}

.apply-title {
  font-size: 28px;
  font-weight: 500;
  color: #FF0000;
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

.apply-event-info {
  color: #FF0000;
  margin-bottom: 56px;
  padding: 36px 32px;
  border: 2px solid #FF0000;
  border-radius: 20px;
  text-align: center;
}

.apply-event-logo {
  display: block;
  max-width: 240px;
  margin: 0 auto 24px;
}

.apply-event-catch {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 24px;
}

.apply-event-lead {
  font-size: 14px;
  line-height: 1.9;
  text-align: left;
  margin: 0 0 28px;
}

.apply-event-details {
  text-align: left;
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 24px;
}

.apply-event-details dt {
  font-weight: 700;
  margin-top: 18px;
}

.apply-event-details dt:first-child {
  margin-top: 0;
}

.apply-event-details dd {
  margin: 4px 0 0;
}

.apply-event-details a {
  color: #FF0000;
  text-decoration: underline;
  word-break: break-all;
}

.apply-event-emphasis {
  font-size: 17px;
  font-weight: 700;
}

.apply-event-note {
  font-size: 13px;
  line-height: 1.8;
  text-align: left;
  margin: 0 0 20px;
}

.apply-event-closing {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  margin: 0;
}

.apply-section-heading {
  font-size: 18px;
  font-weight: 500;
  color: #FF0000;
  border-bottom: 2px solid #FF0000;
  padding-bottom: 8px;
  margin: 40px 0 8px;
  letter-spacing: 0.05em;
}

.apply-section-heading:first-of-type {
  margin-top: 0;
}

.form-radio-group,
.form-check-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-radio-group.horizontal {
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
}

.form-radio-label,
.form-check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #FF0000;
  cursor: pointer;
}

.form-radio-input,
.form-check-input {
  accent-color: #FF0000;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  margin: 0;
}

.apply-kiyaku-link {
  margin: 8px 0 16px;
  font-size: 14px;
  color: #FF0000;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.apply-kiyaku-link a {
  text-decoration: underline;
  color: #FF0000;
}

.apply-kiyaku-link a:hover {
  opacity: 0.7;
}

.apply-kiyaku-sep {
  color: rgba(255, 0, 0, 0.5);
}

.apply-inline-link {
  text-decoration: underline;
  color: #FF0000;
}

.apply-inline-link:hover {
  opacity: 0.7;
}

.apply-result {
  margin-top: 24px;
  padding: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}

.apply-result.is-success,
.apply-result.is-error {
  padding: 16px 20px;
  border: 2px solid #FF0000;
  border-radius: 20px;
  color: #FF0000;
}

.apply-result.is-error {
  background: rgba(255, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .apply-section {
    padding: 40px 24px 60px;
  }

  .apply-title {
    font-size: 22px;
  }

  .apply-event-info {
    padding: 28px 20px;
  }

  .apply-event-logo {
    max-width: 180px;
  }

  .apply-event-catch {
    font-size: 18px;
  }

  .apply-event-lead,
  .apply-event-details {
    font-size: 13px;
  }

  .apply-event-emphasis {
    font-size: 15px;
  }

  .apply-event-note {
    font-size: 12px;
  }

  .apply-event-closing {
    font-size: 13px;
  }

  .apply-section-heading {
    font-size: 16px;
  }

  .form-radio-group.horizontal {
    flex-direction: column;
    gap: 12px;
  }
}

/* ============================================================
   RESPONSIVE — スマホ (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* ── ヘッダー ── */
  header {
    height: 50px;
    padding: 0 16px;
  }

  body.top-page::before,
  body.about-page::before {
    height: 50px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a img {
    height: 11px;
  }

  .nav-instagram {
    right: 16px;
  }

  .nav-instagram img {
    height: 18px;
  }

  .nav-top img {
    height: 11px;
  }

  main {
    padding-top: 0;
  }

  /* ── WHAT IS ── */
  .what-is {
    padding: 96px 24px 112px;
    text-align: left;
  }

  .what-is .section-heading {
    max-width: 280px;
    margin-bottom: 40px;
  }

  .what-is p {
    font-size: 13px;
    line-height: 2;
  }

  /* ── EVENT ── */
  .event-section {
    padding: 60px 24px;
    min-height: 39vw; /* aspect 1.8:1 × 幅70% ≒ 39vw */
  }

  .event-bg {
    width: 70%;
  }

  .event-section .new-event-wrap {
    flex-direction: column;
  }

  /* ── ABOUT PREVIEW ── */
  .about-preview {
    padding: 60px 24px 72px;
  }

  .about-preview .section-heading {
    max-width: 200px;
    margin-bottom: 36px;
  }

  .member-row {
    gap: 16px;
    margin-bottom: 32px;
  }

  .member-photo img {
    max-width: 140px;
  }

  /* ── ABOUT PAGE ── */
  .members-section {
    padding: 60px 24px;
  }

  .member-row-bio {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 48px;
  }

  .member-row-bio .member-photo img {
    max-width: 140px;
  }

  .member-bio {
    font-size: 12px;
    line-height: 1.9;
  }

  .member-info .member-name-svg img {
    max-width: 160px;
  }

  .consultation {
    padding: 60px 24px;
    min-height: 39vw;
  }

  .consultation-bg {
    width: 70%;
  }

  .consultation-heading {
    max-width: 240px;
    margin-bottom: 20px;
  }

  .consultation-text {
    font-size: 13px;
  }

  /* ── EVENT PAGE ── */
  .event-page-section {
    padding: 0 24px;
  }

  .new-event-wrap {
    flex-direction: column;
  }

  .upcoming-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .archive-events {
    flex-direction: column;
  }

  /* ── CONTACT ── */
  .contact-section {
    padding: 60px 24px;
    text-align: left;
  }

  .contact-heading-img {
    max-width: 200px;
    margin: 0 0 28px;
  }

  .contact-lead {
    font-size: 13px;
    text-align: left;
  }
}

/* UPCOMING section（白背景上にテキスト見出し＋赤枠カード） */
.upcoming-section {
  width: 100%;
  padding: 80px 0 100px;
}

/* デザイナーの「文字だけSVG」差し替えまでの仮テキスト見出し */
.upcoming-heading-text {
  font-size: 36px;
  font-weight: 700;
  color: #FF0000;
  text-align: center;
  letter-spacing: 0.15em;
  margin: 0 auto 48px;
}

.upcoming-cards-inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 768px) {
  .upcoming-section {
    padding: 56px 0 72px;
  }

  .upcoming-heading-text {
    font-size: 26px;
    margin-bottom: 32px;
  }

  .upcoming-cards-inner {
    width: 100%;
    padding: 0 24px;
  }
}

/* ============================================================
   SP VERSION — フルレイアウト（max-width: 768px）
   PC版に影響しないよう、SP専用要素のみ表示／PC専用要素は隠す
   ============================================================ */

/* SP only / PC only — display 切替 */
.sp-only { display: none; }

@media (max-width: 768px) {
  .pc-only { display: none !important; }
  .sp-only { display: block; }
  .sp-only.is-flex { display: flex; }

  /* base */
  body { padding-top: 0; overflow-x: hidden; }
  main { padding-top: 0; max-width: 100%; }

  /* PC用の赤い帯擬似要素を SP では無効化（SPヘッダーを覆い隠さないように） */
  body.top-page::before,
  body.about-page::before {
    display: none;
    content: none;
  }

  /* ── SP HEADER（fixed：ハンバーガーだけ浮かせる、最上面） ── */
  .sp-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 50px;
    background: transparent !important;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 16px;
    z-index: 9999;
    pointer-events: none;
  }
  .sp-hamburger-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    line-height: 0;
    pointer-events: auto; /* ボタン自体は押せるように */
  }
  /* 2 種類のアイコンを重ねて、bg に応じて表示切替 */
  .sp-hamburger-btn img {
    height: 18px;
    width: auto;
    display: block;
  }
  .sp-hamburger-btn .sp-hb-red { display: none; }

  /* 白背景の上ではハンバーガーを赤に */
  .sp-header.is-on-white .sp-hb-white { display: none; }
  .sp-header.is-on-white .sp-hb-red { display: block; }

  /* ── SP MENU OVERLAY（展開時 / SVG）── */
  .sp-menu-overlay {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 10000; /* SP ヘッダー (9999) より上に */
    overflow-y: auto;
  }
  .sp-menu-overlay[hidden] { display: none !important; }

  .sp-menu-panel {
    position: relative;
    width: 100%;
    max-width: 390px;
    line-height: 0;
  }
  .sp-menu-img {
    display: block;
    width: 100%;
    height: auto;
  }
  /* SVG上に重ねる透明なクリック領域（各メニュー項目に対応） */
  .sp-menu-hot {
    position: absolute;
    left: 0;
    width: 88%;
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .sp-menu-hot-close {
    left: auto;
    right: 0;
    top: 2%;
    width: 24%;
    height: 13%;
  }

  /* ── SP HERO（TOP）── */
  .sp-hero {
    width: 100%;
    line-height: 0;
  }
  .sp-hero img { width: 100%; display: block; }

  /* ── SP WHAT IS（TOP）── */
  .sp-what-is {
    padding: 120px 24px 120px;
    text-align: center;
  }
  .sp-what-is .sp-heading {
    display: block;
    margin: 0 auto 40px;
    max-width: 320px;
  }
  .sp-what-is p {
    color: #FF0000;
    font-size: 17px;
    font-weight: 500;
    line-height: 2;
  }

  /* ── SP TOP EVENT セクション（背景SVG＋オーバーレイ） ── */
  .sp-top-event {
    position: relative;
    width: 100%;
    line-height: 0;
    /* SVG viewBox 389.22 × 1060.07 で高さを完全固定（ロード状態に依存しない） */
    aspect-ratio: 389.22 / 1060.07;
  }
  .sp-top-event > .sp-bg {
    width: 100%;
    height: 100%;
    display: block;
  }
  .sp-top-event-overlay {
    position: absolute;
    inset: 0;
    line-height: 1.5;
  }
  /* 白プレースホルダ内に asobo-characters-left.svg を配置 */
  .sp-event-placeholder-img {
    position: absolute;
    left: 50%;
    /* SVG viewBox 389.22 × 1060.07: 白枠の中心 ≒ y 454 → 42.8% */
    top: 42.8%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: auto;
    pointer-events: none;
  }
  /* ASOBO 文字（オーバーレイ・クリックで ASOBO ページへ） */
  .sp-event-asobo-title {
    position: absolute;
    left: 50%;
    top: 66%;
    transform: translate(-50%, -50%);
    width: 55%;
    display: block;
    text-decoration: none;
  }
  .sp-event-asobo-title img {
    width: 100%;
    height: auto;
    display: block;
  }
  /* ASOBO の下、日付・会場・タグ */
  .sp-event-info {
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    color: #FFFFFF;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 700;
  }
  .sp-event-info .sp-event-info-tag {
    font-size: 13px;
    margin-top: 4px;
  }
  /* 白ピル "詳細をみる" の中央
     SVG 内の白ピル位置 (rect y 874-913, 中心 893) → 84.2% */
  .sp-event-btn {
    position: absolute;
    left: 50%;
    top: 84.2%;
    transform: translate(-50%, -50%);
    color: #FF0000;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    width: 35%;
    text-align: center;
    padding: 8px 0;
    /* 見栄え調整 */
    line-height: 1;
  }
  /* 白プレースホルダ全体をクリック可能にする透明リンク */
  .sp-event-placeholder-link {
    position: absolute;
    left: 7%;
    top: 27%;
    width: 86%;
    height: 32%;
    display: block;
  }

  /* ── SP ABOUT セクション（TOP page）── */
  .sp-top-about {
    padding: 120px 24px 120px;
    text-align: center;
  }
  .sp-top-about .sp-heading {
    display: block;
    margin: 0 auto 48px;
    max-width: 360px;
  }
  .sp-member-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
  }
  .sp-member-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
  }
  /* PC版と同じく、写真(jpg)のときだけ赤い外枠を付ける */
  .sp-member-photo:has(img[src$=".jpg"]) {
    border: 2px solid #FF0000;
  }
  .sp-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  /* Mibo の写真：PC版と同じ顔アップ設定 */
  .sp-member-photo img[src*="mibo"] {
    transform: scale(1.8);
    transform-origin: center 68%;
  }
  /* SP は肩書・名前を中央揃え（各SVGは title/name とも viewBox 中央基準のため
     ウィンドウを中央寄せすれば文字も中央で揃う） */
  .sp-member-name { display: flex; flex-direction: column; align-items: center; }
  .sp-member-name .mn-title { height: 16px; }
  .sp-member-name .mn-title img { height: 53px; }
  .sp-member-name .mn-name { height: 38px; margin-top: 10px; }
  .sp-member-name .mn-name img { height: 74.8px; margin-top: -37.8px; }

  /* ── SP FOOTER（曲線＋コピーライト） ── */
  .sp-footer {
    position: relative;
    width: 100%;
    line-height: 0;
  }
  .sp-footer > img {
    width: 100%;
    display: block;
  }
  .sp-footer .copyright {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    bottom: auto;
    text-align: center;
    color: #FFFFFF;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.04em;
    transform: translateY(-50%);
  }

  /* ============================================================
     EVENT PAGE — SP
     ============================================================ */

  /* NEW!! + ASOBOカード */
  .sp-event-new {
    padding: 80px 24px 96px;
    text-align: center;
  }
  .sp-event-new .sp-heading {
    display: block;
    margin: 0 auto 48px;
    max-width: 240px;
  }
  .sp-asobo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  /* 白背景の placeholder（アソボキャラを内側に表示） */
  .sp-asobo-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #FFFFFF;
    border: 2px solid #FF0000;
    border-radius: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    position: relative;
  }
  .sp-asobo-placeholder-img {
    max-width: 60%;
    height: auto;
    pointer-events: none;
  }
  .sp-asobo-title {
    display: block;
    max-width: 60%;
    margin: 0 auto;
    text-decoration: none;
  }
  .sp-asobo-title img {
    width: 100%;
    height: auto;
    display: block;
  }
  .sp-asobo-info {
    text-align: center;
    color: #FF0000;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 700;
  }
  .sp-asobo-info .sp-asobo-tags {
    display: inline-block;
    font-size: 13px;
    margin-top: 4px;
  }
  .sp-asobo-btn {
    display: inline-block;
    background: #FF0000;
    color: #FFFFFF;
    border: 2px solid #FF0000;
    border-radius: 100px;
    padding: 12px 36px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 8px;
  }

  /* UPCOMING（SVG背景にカード内容オーバーレイ） */
  .sp-upcoming {
    position: relative;
    width: 100%;
    line-height: 0;
    /* viewBox 389.22 × 2526.36 で高さ固定 */
    aspect-ratio: 389.22 / 2526.36;
  }
  .sp-upcoming-bg {
    width: 100%;
    height: 100%;
    display: block;
  }
  .sp-upcoming-overlay {
    position: absolute;
    inset: 0;
    line-height: 1.5;
  }
  /* 各 placeholder の下に配置するカード本体 */
  .sp-uc-card {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    color: #FFFFFF;
    padding: 0 24px;
  }
  /* placeholder rect の y 座標から計算した % 位置（直下） */
  /* placeholder1: y 349-692 / 2526 → bottom 27.4%, content starts ~28% */
  .sp-uc-card-1 { top: 28%; }
  /* placeholder2: y 1042-1385 → bottom 54.8% */
  .sp-uc-card-2 { top: 55.5%; }
  /* placeholder3: y 1774-2117 → bottom 83.8% */
  .sp-uc-card-3 { top: 84.5%; }

  .sp-uc-title {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
  }
  .sp-uc-meta {
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
    margin: 0 0 14px;
  }
  .sp-uc-btn {
    display: inline-block;
    background: #FFFFFF;
    color: #FF0000;
    border: 2px solid #FFFFFF;
    border-radius: 100px;
    padding: 8px 28px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
  }

  /* ARCHIVE */
  .sp-archive {
    padding: 96px 24px 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .sp-archive .sp-heading {
    display: block;
    margin: 0 auto 24px;
    max-width: 240px;
  }
  .sp-archive-card {
    display: block;
    width: 86%;
    text-decoration: none;
    line-height: 0;
  }
  .sp-archive-card img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* ============================================================
     ABOUT PAGE — SP
     ============================================================ */
  .sp-about-hero {
    width: 100%;
    line-height: 0;
  }
  .sp-about-hero img { width: 100%; display: block; }

  .sp-members {
    padding: 120px 24px 64px;
    text-align: center;
  }
  .sp-members .sp-member-block {
    margin-bottom: 56px;
  }
  .sp-members .sp-member-bio {
    color: #FF0000;
    font-size: 12px;
    line-height: 1.9;
    font-weight: 500;
    max-width: 320px;
    margin: 8px auto 0;
  }

  /* お仕事のご相談（SVG + 本文オーバーレイ + 透明ボタンリンク） */
  .sp-work-inquiry {
    position: relative;
    width: 100%;
    line-height: 0;
    /* SVG viewBox 389.22 × 617.06 で高さ固定 */
    aspect-ratio: 389.22 / 617.06;
    margin-bottom: 80px;
  }
  .sp-work-inquiry > img {
    width: 100%;
    height: 100%;
    display: block;
  }
  /* 見出し (上部 baked) と白ピル (y ≒ 70%) の間に本文を白文字で配置 */
  .sp-wi-text {
    position: absolute;
    left: 50%;
    top: 53%;
    transform: translate(-50%, -50%);
    width: 90%;
    margin: 0;
    text-align: center;
    color: #FFFFFF;
    font-size: 12.5px;
    line-height: 1.8;
    font-weight: 700;
  }
  /* SVG 内の白ピル上に赤文字「お問い合わせはこちら」 */
  .sp-wi-btn-link {
    position: absolute;
    left: 25.4%;
    top: 69.8%;
    width: 49.3%;
    height: 6.5%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF0000;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
  }

  /* ============================================================
     CONTACT PAGE — SP
     ============================================================ */
  .sp-contact {
    padding: 56px 24px 96px;
    text-align: center;
  }
  .sp-contact .sp-contact-heading {
    color: #FF0000;
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 24px;
  }
  .sp-contact .sp-contact-lead {
    color: #FF0000;
    font-size: 12px;
    line-height: 1.9;
    font-weight: 500;
    text-align: center;
    margin: 0 0 32px;
  }
  .sp-contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .sp-contact-form input,
  .sp-contact-form select,
  .sp-contact-form textarea {
    width: 100%;
    border: 2px solid #FF0000;
    border-radius: 100px;
    /* iOS select 潰れ対策: height でなく min-height + padding で揃える */
    min-height: 50px;
    padding: 14px 20px;
    color: #FF0000;
    font-size: 13px;
    font-family: inherit;
    background: transparent;
    box-sizing: border-box;
    font-weight: 700;
    line-height: 1.2;
    appearance: none;
    -webkit-appearance: none;
  }
  /* select に右側の矢印（赤）を表示 */
  .sp-contact-form select {
    min-height: 52px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%23FF0000' d='M6 8L0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 10px 7px;
    padding-right: 40px;
  }
  .sp-contact-form textarea {
    min-height: 140px;
    border-radius: 24px;
    line-height: 1.6;
    resize: vertical;
  }
  .sp-contact-form input::placeholder,
  .sp-contact-form textarea::placeholder {
    color: #FF0000;
    opacity: 0.7;
  }
  .sp-contact-form .sp-submit-btn {
    background: #FF0000;
    color: #FFFFFF;
    border: 2px solid #FF0000;
    border-radius: 100px;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
  }
}

