/* =========================================================
   Rhiannon Official Site - Unified Stylesheet
   Structure:
   1) Tokens / Base
   2) Shared components
   3) Page: Index
   4) Page: Profile
   5) Page: Schedule
========================================================= */

/* -----------------------------
   1) TOKENS / BASE
------------------------------ */

:root{
  --bg: #fff0f8;
  --surface: rgba(255,255,255,0.3);
  --text: #6b5a63;
  --subtext: #6b5a63;

  --brand: #ff69b4;
  --brand-strong:#ec8473;
  
  --accent-beige: #e6cfc3;
  --accent-main: #c9a45c;

  --pad: clamp(12px, 4vw, 24px);
  --gap: clamp(10px, 3.2vw, 18px);

  --radius: 16px;
  --shadow: 0 8px 24px rgba(0,0,0,.08);

  --chip: #f7d5d0;
  --chip-text:#ec8473;

  --footer-bg: rgba(236,132,115,0.5);
}

@media (prefers-color-scheme: dark){
  :root{
    --bg:#20161c;
    --surface:#2b1e25cc;
    --text:#f6eaf0;
    --subtext:#d6c2cc;
    --shadow: 0 10px 28px rgba(0,0,0,0.35);
    --chip:#3a2432;
    --chip-text:#ffd1e8;
  }
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html, body{ overflow-x:hidden; }

body{
  font-family:"Kiwi Maru", system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}

.pink {  
  color: var(--brand-strong);}


/* 共通：本文の左右余白 */
.page-index,
.page-schedule{
  padding: 0 var(--pad) calc(env(safe-area-inset-bottom));
}
.page-profile{
  /* プロフィールはカードレイアウトなので余白設計が違う */
  padding: 0;
}

/* リンクの基本 */
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

/* フルブリード（画面幅いっぱい）用ユーティリティ */
.fullbleed{
  width:100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

h1 {
    margin: calc(env(safe-area-inset-top) + 10px) 0 8px;
    font-family:"Meow Script", cursive; font-weight:400;
    font-size: clamp(64px, 7vw, 120px); color:var(--brand-strong); text-align:center;
  }
  .sub{ margin:0 0 18px; color:var(--sub); text-align:center; font-size:.95rem; }

/* -----------------------------
   2) SHARED COMPONENTS
------------------------------ */

/* 共通フッター */
.site-footer{
  text-align:center;
  color:#fff;
  background: var(--footer-bg);
  height: 5rem;
  line-height: 5rem;
}
.site-footer.fullbleed{
  width:100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* 共通ボタン */
.btn{
  display:inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  color:#fff;
  background-color: rgba(236,132,115,0.55);
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  transition: transform .2s;
  text-decoration:none;
}
.btn:hover{ transform: translateY(-2px); text-decoration:none; }
.btn:active{ transform: scale(0.98); }

/* 見出し（共通） */
.page-title{
  margin: calc(env(safe-area-inset-top) + 10px) 0 8px;
  font-family:"Meow Script", cursive;
  font-weight:400;
  font-size: clamp(28px, 7vw, 40px);
  color: var(--brand-strong);
  text-align:center;
}
.page-sub{
  margin:0 0 18px;
  color: var(--subtext);
  text-align:center;
  font-size:.95rem;
}

/* -----------------------------
   3) PAGE: INDEX (Links)
------------------------------ */

.page-index header.profile{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  overflow: hidden;
}

/* 画像(最大1080)とボタンの基準を揃える内側ラッパー */
.page-index .profile__inner{
  position: relative;
  width: min(100%, 1080px);
  margin: 0 auto;
}

/* フルブリードの中で画像は1080pxまで＆中央 */
.page-index .profile__img{
  display:block;
  width:100%;
  height:auto;
  margin: 0 auto;

  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: bottom;
  -webkit-mask-size: cover;
          mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
          mask-repeat: no-repeat;
          mask-position: bottom;
          mask-size: cover;
}

/* ボタン：画像の上に重ねる（左上） */
.page-index .profile__button{
  position:absolute;
  top: max(12px, env(safe-area-inset-top) + 8px);
  left: 12px;
  z-index:2;

  display:inline-block;
  padding: 0.55rem 1.0rem;
  font-size: 0.9rem;
  font-weight: 800;
  color:#fff;
  background: rgba(236,132,115,0.65);
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
  transition: transform .2s;
  text-decoration:none;
}
.page-index .profile__button:hover{ transform: translateY(-2px); text-decoration:none; }

/* 名前＋タグ */
.page-index .profile-head{
  text-align:center;
  padding: 2rem 0 2rem;
}
.page-index .profile__name{
  margin:0;
  font-family:"Meow Script", cursive;
  font-weight: 400;
  color: var(--brand-strong);
  font-size: clamp(28px, 8vw, 48px);
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(255,255,255,.75);
}
.page-index .profile__tag{
  margin:.35rem 0 0;
  font-size: clamp(12px, 3.8vw, 16px);
  color: var(--subtext);
  text-shadow: 0 2px 8px rgba(255,255,255,.75);
}

/* スケジュールボタン（index用） */
.page-index .Schedule__button{ }
.page-index .Schedule__button{ /* 既存クラスをbtnへ寄せる */
  display:inline-block;
  padding: 0.6rem 1.2rem;
  margin:1rem 0;
  background-color: rgba(236,132,115,0.5);
  color:#fff;
  font-size:0.9rem;
  font-weight:700;
  border-radius:12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  transition: transform .2s;
  text-decoration:none;
}
.page-index .Schedule__button:hover{ transform: translateY(-2px); text-decoration:none; }

/* リンクカード */
.page-index .link-list{
  max-width: min(940px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  padding-bottom: clamp(16px, 4vw, 28px);
}
.page-index .link-card{
  display:flex;
  align-items:center;
  gap: clamp(10px, 3.5vw, 18px);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(10px, 3.2vw, 16px);
  text-decoration:none;
  color: inherit;
  outline: 2px solid rgba(255,182,193,0.35);
  min-height: clamp(68px, 14vw, 96px);
  transition: transform .15s ease, box-shadow .15s ease;
  margin-bottom: 1.2rem;
}
.page-index .link-card:hover{
  box-shadow: 0 10px 24px rgba(0,0,0,0.12), var(--shadow);
  transform: translateY(-2px);
  text-decoration:none;
}
.page-index .link-card:active{ transform: scale(0.995); }

.page-index .link-card__icon{
  width: clamp(1.5rem, 12vw, 2rem);
  height: clamp(1.5rem, 12vw, 2rem);
  object-fit: cover;
  flex: 0 0 auto;
  background: rgba(255,255,255,0);
}
.page-index .link-card__body{
  display:flex;
  align-items:center;
  gap:.5rem;
  min-width:0;
}
.page-index .link-card__title,
.page-index .link-card__desc{
  font-size: clamp(14px, 4vw, 16px);
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
  margin:0;
}
.page-index .link-card__title{
  font-weight:700;
  color: var(--brand-strong);
  flex-shrink:0;
}
.page-index .group-divider{
  display:block;
  text-align:center;
  margin: 1rem 0;
  color: var(--subtext);
  text-shadow: 0 2px 8px rgba(255,255,255,.75);
  font-size:1.2rem;
  user-select:none;
}

/* =========================
   Index: Icon Row
========================= */

.page-index .icon-row{
  display: flex;
  justify-content: right;
  gap: clamp(14px, 4vw, 22px);
  margin: 1.2rem 0 1.6rem;
}

.page-index .icon-row a{
  width: 24px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-index .icon-row a:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
}

/* 2カラム横並びリンク行 */
.page-index .link-row-2col{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 1rem 0 1.4rem;
}

/* 中のミニカード */
.page-index .mini-card{
  display: flex;
  flex-direction: column;
  gap: .25rem;

  padding: .8rem .9rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);

  text-decoration: none;
  color: inherit;
outline: 2px solid rgba(255,182,193,0.35);
  min-width: 0; /* 折り返し対策 */
}

.page-index .mini-card__title{
  font-weight: 700;
  color: var(--brand-strong);
  font-size: .95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-index .mini-card__desc{
  font-size: .85rem;
  color: var(--subtext);
  line-height: 1.4;
}

/* お仕事カードだけ：1段目（アイコン＋タイトル）/ 2段目（説明）にする */
.page-index .link-card--job .link-card__body{
  flex-wrap: wrap;          /* 折り返し許可（2段にするため） */
  align-items: center;      /* 1段目は普通に中央寄せ */
}

/* タイトルは左側に残す */
.page-index .link-card--job .link-card__title{
  flex: 1 1 auto;
  min-width: 0;
}

/* 説明文は2段目に落として、右寄せ＆改行OK */
.page-index .link-card--job .link-card__desc{
  flex: 0 0 100%;           /* ← ここが肝！必ず2段目へ */
  margin-top: .25rem;
  text-align: right;        /* 右下っぽく見せる */
  white-space: normal;      /* 改行OK */
  line-height: 1.35;
  font-size: .85rem;
  color: var(--subtext);
}

/* -----------------------------
   4) PAGE: PROFILE
------------------------------ */

.page-profile .hero{
  position:relative;
  width:100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow:hidden;
  line-height:0;
}
.page-profile .hero img{
  display:block;
  width:100vw;
  height:auto;

  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat:no-repeat;
  -webkit-mask-size:cover;
          mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
          mask-repeat:no-repeat;
          mask-size:cover;
}

/* PCでヘッダー画像を1080pxに制限＆中央 */
@media (min-width:1080px){
  .page-profile .hero img{
    max-width:1080px;
    margin:0 auto;
  }
}

.page-profile .hero__name{
  position:absolute;
  inset:auto 0 1rem 0;
  text-align:center;
  font-family:"Meow Script",cursive;
  font-weight:400;
  font-size: clamp(28px, 8vw, 48px);
  color:#fff;
  text-shadow:0 3px 10px rgba(0,0,0,.45);
  letter-spacing:.5px;
  user-select:none;
}

.page-profile .wrap{
  width:min(1000px, 92vw);
  margin: clamp(16px, 4vw, 28px) auto;
  display:grid;
  gap: clamp(16px, 3vw, 24px);
}
@media (min-width: 900px){
  .page-profile .wrap{
    grid-template-columns: 1.1fr 0.9fr;
    align-items:start;
  }
}

.page-profile .card{
  bac

kground: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(16px, 3.5vw, 22px);
}

.page-profile .card h2{
  margin:0 0 .6rem;
  font-size: clamp(16px, 3.6vw, 20px);
  color: var(--brand-strong);
  font-family:"Noto Serif JP",serif;
}
.page-profile .about{
  font-family:"Noto Serif JP",serif;
}
.page-profile .rhiannon{
  font-size: clamp(14px, 3.6vw, 16px);
 line-height:1.2;
  color: var(--subtext);
  white-space:pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}
}
.page-profile .lead{
  font-size: clamp(14px, 3.6vw, 16px);
  line-height:1.8;
  color: var(--subtext);
  white-space:pre-wrap;
}
.page-profile .badge{
  display:inline-block;
  padding:.35rem .6rem;
  background:var(--chip);
  color:var(--chip-text);
  border-radius:12px;
  font-size:.9rem;
  line-height:1;
  margin:.25rem .35rem .25rem 0;
  white-space:nowrap;
}

.en-title{
  color: var(--accent-main);
  letter-spacing: .08em;
}

/* 定義リスト */
.page-profile .dl{
  display:grid;
  grid-template-columns: minmax(7ch, 160px) 1fr;
  gap:.5rem 1rem;
  font-size: clamp(14px, 3.5vw, 16px);
  line-height:1.8;
}
.page-profile .dl dt{
  font-weight:700;
  font-family:"Noto Serif JP",serif;
  color: var(--text); /* 黒固定はやめてダーク対応 */
}
.page-profile .dl dd{
  margin:0;
  color: var(--subtext);
}

/* 区切り */
.page-profile .sep{
  height:1px;
  background: linear-gradient(90deg, rgba(255,105,180,.25), rgba(255,105,180,.05), rgba(255,105,180,.25));
  margin: 1rem 0;
}

/* ===== Profile Gallery (swipe / snap) ===== */

/* Gallery 見出し */
.page-profile .gallery-title{
  margin: 2rem 0 .6rem;
  font-family: "Meow Script", cursive;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 400;
  color: var(--brand-strong);
  letter-spacing: .08em;
  text-align: left;
}

/* ほんのり装飾（任意） */

.page-profile .gallery{
  margin-top: 14px;
}

.page-profile .gallery__track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 12px;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;

  padding: 2px 2px 10px; /* 影が切れないように少し余白 */
}

.page-profile .gallery__item{
  margin: 0;
  scroll-snap-align: start;
}

.page-profile .gallery__item img{
  width: 100%;
  height: auto;
  display: block;

  border-radius: 14px;
  box-shadow: var(--shadow);

  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ヒント */
.page-profile .gallery__hint{
  margin: 8px 2px 0;
  font-size: 0.9rem;
  color: var(--sub);
  opacity: 0.9;
  text-align: right;
}

/* PCでは少し大きく見せる */
@media (min-width: 900px){
  .page-profile .gallery__track{ grid-auto-columns: 92%; }
}

/* スクロールバー（Chrome/Safari） */
.page-profile .gallery__track::-webkit-scrollbar{ height: 6px; }
.page-profile .gallery__track::-webkit-scrollbar-thumb{
  background: rgba(236,132,115,0.35);
  border-radius: 999px;
}
.page-profile .gallery__track::-webkit-scrollbar-track{ background: transparent; }



/* -----------------------------
   5) PAGE: SCHEDULE
------------------------------ */

/* セクション枠 */
.page-schedule section{
  margin: 3rem auto 28px;
  max-width: min(960px, 100%);
}

/* h2を全ページに効かせない！ → schedule内だけ */
.page-schedule .section-title{
  margin: 2rem 2px 0.6rem;
  font-size: clamp(20px, 6vw, 44px);
  color: #d63384;
  font-weight: 700;
}

.page-schedule h2{
  color: var(--accent-main);
  letter-spacing: .08em;
}

.page-schedule h2.stripe{
  position: relative;
}

.page-schedule h2.stripe::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background: -webkit-repeating-linear-gradient(-45deg, #EC8473, #EC8473 2px, #fff 2px, #fff 4px);
  background: repeating-linear-gradient(-45deg, #EC8473, #EC8473 2px, #fff 2px, #fff 4px);
}


/* 区切り線 */
.hr-double{
  border: none;
  height: 3px;
  margin: 1.5rem 0 1.8rem;
  background:
    linear-gradient(
      to right,
      transparent,
      rgba(236,132,115,.4),
      transparent
    );
  position: relative;
}
.hr-double::after{
  content:"";
  position:absolute;
  inset: 6px 0 0 0;
  height: 1px;
  background:
    linear-gradient(
      to right,
      transparent,
      rgba(236,132,115,.25),
      transparent
    );
}

.hr-soft{
  border: none;
  height: 1px;
  margin: 2rem 0 1.5rem;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(236,132,115,.6),
    transparent
  );
}

.hr-dot{
  border: none;
  border-top: 2px dotted rgba(236,132,115,.6);
  margin: 2rem 0 1.6rem;
}

.hr-heart{
  text-align: center;
  margin: 2.2rem 0 1.8rem;
  color: rgba(236,132,115,.75);
  font-size: 1.2rem;
  letter-spacing: .4rem;
  user-select: none;
}

/* リスト */
.page-schedule .list{
  list-style:none;
  padding:0;
  margin:0;
}
.page-schedule .list li{
  margin: 10px 0;
  line-height: 1.7;
  font-size: clamp(14px, 3.6vw, 16px);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.page-schedule .date{
  font-weight: 800;
  color: var(--brand-strong);
  margin-right: .5rem;
  white-space: nowrap;
}

.event{ padding: 10px 0; }

.event__row{
  display: flex;
  gap: .75rem;
  align-items: baseline; /* 日付と文字の高さ揃う */
}

.event__main{
  min-width: 0;          /* 折り返し有効化 */
  line-height: 1.7;
}

.event__detail{
  margin-left: calc(4.5ch + .75rem); /* dateの分だけインデント */
  margin-top: .2rem;
  color: var(--subtext);
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: .92em;
  opacity: .9;
}

.event__detail a{
  display: inline-block;
  padding: .15rem .5rem;
  color: var(--subtext);
  text-decoration: none;
}
.event__detail a:hover{ opacity: .85; }


/* スマホでも自然に改行 */
.event__main, .event__detail{
  word-break: break-word;
  overflow-wrap: anywhere;
}


/* カレンダー画像：丸みリセット＆中央 */
.page-schedule .calendar-wrap{
  width:100%;
  max-width: 500px;
  margin: 0 auto;
  display:grid;
  gap: 10px;
}
.page-schedule .calendar{
  display:block;
  width:100%;
  height:auto;
  border-radius: 0 !important; /* “どこかで丸い”対策 */
  justify-self: center;
  margin-bottom:1rem;
}
@media (min-width: 768px){
  .page-schedule .calendar{
    box-shadow: 0 12px 30px rgba(236,132,115,0.25);
  }
}

/* アマルコルドリンク：画像の下、右寄せ（かぶらない） */
.amarcord-link{
  justify-self: end;
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: .08em;

  color: #f2d6d6;
  background: linear-gradient(
    135deg,
    #8f3a3a,
    #a24b4b
  );

  border-radius: 999px;
  text-decoration: none;

  box-shadow:
    0 4px 12px rgba(0,0,0,.25),
    inset 0 0 0 1px rgba(255,255,255,.15);

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

.amarcord-link:hover{
  background: linear-gradient(
    135deg,
    #a24b4b,
    #b85b5b
  );
  box-shadow:
    0 6px 18px rgba(0,0,0,.35);
  transform: translateY(-1px);
}

.amarcord-link:active{
  transform: scale(0.97);
}

/* Backリンク */
.page-schedule .footer-link,
.page-profile .footer-link{
  text-align:center;
  margin: 3rem 0 16px;
}
.page-schedule .footer-link a
.page-profile .footer-link a{
  color: var(--brand-strong);
  font-weight: 700;
  text-decoration:none;
}
.page-schedule .footer-link a:hover,
.page-profile .footer-link a:hover{ text-decoration: underline; }
/* =========================================================
   Rhiannon Official Site - Unified Stylesheet
   Structure:
   1) Tokens / Base
   2) Shared components
   3) Page: Index
   4) Page: Profile
   5) Page: Schedule
========================================================= */

/* -----------------------------
   1) TOKENS / BASE
------------------------------ */

:root{
  --bg: #fff0f8;
  --surface: rgba(255,255,255,0.3);
  --text: #6b5a63;
  --subtext: #6b5a63;

  --brand: #ff69b4;
  --brand-strong:#ec8473;
  
  --accent-beige: #e6cfc3;
  --accent-main: #c9a45c;

  --pad: clamp(12px, 4vw, 24px);
  --gap: clamp(10px, 3.2vw, 18px);

  --radius: 16px;
  --shadow: 0 8px 24px rgba(0,0,0,.08);

  --chip: #f7d5d0;
  --chip-text:#ec8473;

  --footer-bg: rgba(236,132,115,0.5);
}

@media (prefers-color-scheme: dark){
  :root{
    --bg:#20161c;
    --surface:#2b1e25cc;
    --text:#f6eaf0;
    --subtext:#d6c2cc;
    --shadow: 0 10px 28px rgba(0,0,0,0.35);
    --chip:#3a2432;
    --chip-text:#ffd1e8;
  }
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html, body{ overflow-x:hidden; }

body{
  font-family:"Kiwi Maru", system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}

.pink {  
  color: var(--brand-strong);}


/* 共通：本文の左右余白 */
.page-index,
.page-schedule{
  padding: 0 var(--pad) calc(env(safe-area-inset-bottom));
}
.page-profile{
  /* プロフィールはカードレイアウトなので余白設計が違う */
  padding: 0;
}

/* リンクの基本 */
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

/* フルブリード（画面幅いっぱい）用ユーティリティ */
.fullbleed{
  width:100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

h1 {
    margin: calc(env(safe-area-inset-top) + 10px) 0 8px;
    font-family:"Meow Script", cursive; font-weight:400;
    font-size: clamp(64px, 7vw, 120px); color:var(--brand-strong); text-align:center;
  }
  .sub{ margin:0 0 18px; color:var(--sub); text-align:center; font-size:.95rem; }

/* -----------------------------
   2) SHARED COMPONENTS
------------------------------ */

/* 共通フッター */
.site-footer{
  text-align:center;
  color:#fff;
  background: var(--footer-bg);
  height: 5rem;
  line-height: 5rem;
}
.site-footer.fullbleed{
  width:100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* 共通ボタン */
.btn{
  display:inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  color:#fff;
  background-color: rgba(236,132,115,0.55);
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  transition: transform .2s;
  text-decoration:none;
}
.btn:hover{ transform: translateY(-2px); text-decoration:none; }
.btn:active{ transform: scale(0.98); }

/* 見出し（共通） */
.page-title{
  margin: calc(env(safe-area-inset-top) + 10px) 0 8px;
  font-family:"Meow Script", cursive;
  font-weight:400;
  font-size: clamp(28px, 7vw, 40px);
  color: var(--brand-strong);
  text-align:center;
}
.page-sub{
  margin:0 0 18px;
  color: var(--subtext);
  text-align:center;
  font-size:.95rem;
}

/* -----------------------------
   3) PAGE: INDEX (Links)
------------------------------ */

.page-index header.profile{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  overflow: hidden;
}

/* 画像(最大1080)とボタンの基準を揃える内側ラッパー */
.page-index .profile__inner{
  position: relative;
  width: min(100%, 1080px);
  margin: 0 auto;
}

/* フルブリードの中で画像は1080pxまで＆中央 */
.page-index .profile__img{
  display:block;
  width:100%;
  height:auto;
  margin: 0 auto;

  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: bottom;
  -webkit-mask-size: cover;
          mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
          mask-repeat: no-repeat;
          mask-position: bottom;
          mask-size: cover;
}

/* ボタン：画像の上に重ねる（左上） */
.page-index .profile__button{
  position:absolute;
  top: max(12px, env(safe-area-inset-top) + 8px);
  left: 12px;
  z-index:2;

  display:inline-block;
  padding: 0.55rem 1.0rem;
  font-size: 0.9rem;
  font-weight: 800;
  color:#fff;
  background: rgba(236,132,115,0.65);
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
  transition: transform .2s;
  text-decoration:none;
}
.page-index .profile__button:hover{ transform: translateY(-2px); text-decoration:none; }

/* 名前＋タグ */
.page-index .profile-head{
  text-align:center;
  padding: 2rem 0 2rem;
}
.page-index .profile__name{
  margin:0;
  font-family:"Meow Script", cursive;
  font-weight: 400;
  color: var(--brand-strong);
  font-size: clamp(28px, 8vw, 48px);
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(255,255,255,.75);
}
.page-index .profile__tag{
  margin:.35rem 0 0;
  font-size: clamp(12px, 3.8vw, 16px);
  color: var(--subtext);
  text-shadow: 0 2px 8px rgba(255,255,255,.75);
}

/* スケジュールボタン（index用） */
.page-index .Schedule__button{ }
.page-index .Schedule__button{ /* 既存クラスをbtnへ寄せる */
  display:inline-block;
  padding: 0.6rem 1.2rem;
  margin:1rem 0;
  background-color: rgba(236,132,115,0.5);
  color:#fff;
  font-size:0.9rem;
  font-weight:700;
  border-radius:12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  transition: transform .2s;
  text-decoration:none;
}
.page-index .Schedule__button:hover{ transform: translateY(-2px); text-decoration:none; }

/* リンクカード */
.page-index .link-list{
  max-width: min(940px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  padding-bottom: clamp(16px, 4vw, 28px);
}
.page-index .link-card{
  display:flex;
  align-items:center;
  gap: clamp(10px, 3.5vw, 18px);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(10px, 3.2vw, 16px);
  text-decoration:none;
  color: inherit;
  outline: 2px solid rgba(255,182,193,0.35);
  min-height: clamp(68px, 14vw, 96px);
  transition: transform .15s ease, box-shadow .15s ease;
  margin-bottom: 1.2rem;
}
.page-index .link-card:hover{
  box-shadow: 0 10px 24px rgba(0,0,0,0.12), var(--shadow);
  transform: translateY(-2px);
  text-decoration:none;
}
.page-index .link-card:active{ transform: scale(0.995); }

.page-index .link-card__icon{
  width: clamp(1.5rem, 12vw, 2rem);
  height: clamp(1.5rem, 12vw, 2rem);
  object-fit: cover;
  flex: 0 0 auto;
  background: rgba(255,255,255,0);
}
.page-index .link-card__body{
  display:flex;
  align-items:center;
  gap:.5rem;
  min-width:0;
}
.page-index .link-card__title,
.page-index .link-card__desc{
  font-size: clamp(14px, 4vw, 16px);
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
  margin:0;
}
.page-index .link-card__title{
  font-weight:700;
  color: var(--brand-strong);
  flex-shrink:0;
}
.page-index .group-divider{
  display:block;
  text-align:center;
  margin: 1rem 0;
  color: var(--subtext);
  text-shadow: 0 2px 8px rgba(255,255,255,.75);
  font-size:1.2rem;
  user-select:none;
}

/* =========================
   Index: Icon Row
========================= */

.page-index .icon-row{
  display: flex;
  justify-content: right;
  gap: clamp(14px, 4vw, 22px);
  margin: 1.2rem 0 1.6rem;
}

.page-index .icon-row a{
  width: 24px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-index .icon-row a:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
}

/* 2カラム横並びリンク行 */
.page-index .link-row-2col{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 1rem 0 1.4rem;
}

/* 中のミニカード */
.page-index .mini-card{
  display: flex;
  flex-direction: column;
  gap: .25rem;

  padding: .8rem .9rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);

  text-decoration: none;
  color: inherit;
outline: 2px solid rgba(255,182,193,0.35);
  min-width: 0; /* 折り返し対策 */
}

.page-index .mini-card__title{
  font-weight: 700;
  color: var(--brand-strong);
  font-size: .95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-index .mini-card__desc{
  font-size: .85rem;
  color: var(--subtext);
  line-height: 1.4;
}


/* -----------------------------
   4) PAGE: PROFILE
------------------------------ */

.page-profile .hero{
  position:relative;
  width:100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow:hidden;
  line-height:0;
}
.page-profile .hero img{
  display:block;
  width:100vw;
  height:auto;

  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat:no-repeat;
  -webkit-mask-size:cover;
          mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
          mask-repeat:no-repeat;
          mask-size:cover;
}

/* PCでヘッダー画像を1080pxに制限＆中央 */
@media (min-width:1080px){
  .page-profile .hero img{
    max-width:1080px;
    margin:0 auto;
  }
}

.page-profile .hero__name{
  position:absolute;
  inset:auto 0 1rem 0;
  text-align:center;
  font-family:"Meow Script",cursive;
  font-weight:400;
  font-size: clamp(28px, 8vw, 48px);
  color:#fff;
  text-shadow:0 3px 10px rgba(0,0,0,.45);
  letter-spacing:.5px;
  user-select:none;
}

.page-profile .wrap{
  width:min(1000px, 92vw);
  margin: clamp(16px, 4vw, 28px) auto;
  display:grid;
  gap: clamp(16px, 3vw, 24px);
}
@media (min-width: 900px){
  .page-profile .wrap{
    grid-template-columns: 1.1fr 0.9fr;
    align-items:start;
  }
}

.page-profile .card{
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(16px, 3.5vw, 22px);
}

.page-profile .card h2{
  margin:0 0 .6rem;
  font-size: clamp(16px, 3.6vw, 20px);
  color: var(--brand-strong);
  font-family:"Noto Serif JP",serif;
}
.page-profile .lead{
  font-size: clamp(14px, 3.6vw, 16px);
  line-height:1.8;
  color: var(--subtext);
  white-space:pre-wrap;
}
.page-profile .badge{
  display:inline-block;
  padding:.35rem .6rem;
  background:var(--chip);
  color:var(--chip-text);
  border-radius:12px;
  font-size:.9rem;
  line-height:1;
  margin:.25rem .35rem .25rem 0;
  white-space:nowrap;
}

.en-title{
  color: var(--accent-main);
  letter-spacing: .08em;
}

/* 定義リスト */
.page-profile .dl{
  display:grid;
  grid-template-columns: minmax(7ch, 160px) 1fr;
  gap:.5rem 1rem;
  font-size: clamp(14px, 3.5vw, 16px);
  line-height:1.8;
}
.page-profile .dl dt{
  font-weight:700;
  font-family:"Noto Serif JP",serif;
  color: var(--text); /* 黒固定はやめてダーク対応 */
}
.page-profile .dl dd{
  margin:0;
  color: var(--subtext);
}

/* 区切り */
.page-profile .sep{
  height:1px;
  background: linear-gradient(90deg, rgba(255,105,180,.25), rgba(255,105,180,.05), rgba(255,105,180,.25));
  margin: 1rem 0;
}

/* ===== Profile Gallery (swipe / snap) ===== */

/* Gallery 見出し */
.page-profile .gallery-title{
  margin: 2rem 0 .6rem;
  font-family: "Meow Script", cursive;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 400;
  color: var(--brand-strong);
  letter-spacing: .08em;
  text-align: left;
}

/* ほんのり装飾（任意） */

.page-profile .gallery{
  margin-top: 14px;
}

.page-profile .gallery__track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 12px;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;

  padding: 2px 2px 10px; /* 影が切れないように少し余白 */
}

.page-profile .gallery__item{
  margin: 0;
  scroll-snap-align: start;
}

.page-profile .gallery__item img{
  width: 100%;
  height: auto;
  display: block;

  border-radius: 14px;
  box-shadow: var(--shadow);

  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ヒント */
.page-profile .gallery__hint{
  margin: 8px 2px 0;
  font-size: 0.9rem;
  color: var(--sub);
  opacity: 0.9;
  text-align: right;
}

/* PCでは少し大きく見せる */
@media (min-width: 900px){
  .page-profile .gallery__track{ grid-auto-columns: 92%; }
}

/* スクロールバー（Chrome/Safari） */
.page-profile .gallery__track::-webkit-scrollbar{ height: 6px; }
.page-profile .gallery__track::-webkit-scrollbar-thumb{
  background: rgba(236,132,115,0.35);
  border-radius: 999px;
}
.page-profile .gallery__track::-webkit-scrollbar-track{ background: transparent; }



/* -----------------------------
   5) PAGE: SCHEDULE
------------------------------ */

/* セクション枠 */
.page-schedule section{
  margin: 3rem auto 28px;
  max-width: min(960px, 100%);
}

/* h2を全ページに効かせない！ → schedule内だけ */
.page-schedule .section-title{
  margin: 2rem 2px 0.6rem;
  font-size: clamp(20px, 6vw, 44px);
  color: #d63384;
  font-weight: 700;
}

.page-schedule h2{
  color: var(--accent-main);
  letter-spacing: .08em;
}

.page-schedule h2.stripe{
  position: relative;
}

.page-schedule h2.stripe::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background: -webkit-repeating-linear-gradient(-45deg, #EC8473, #EC8473 2px, #fff 2px, #fff 4px);
  background: repeating-linear-gradient(-45deg, #EC8473, #EC8473 2px, #fff 2px, #fff 4px);
}


/* 区切り線 */
.hr-double{
  border: none;
  height: 3px;
  margin: 1.5rem 0 1.8rem;
  background:
    linear-gradient(
      to right,
      transparent,
      rgba(236,132,115,.4),
      transparent
    );
  position: relative;
}
.hr-double::after{
  content:"";
  position:absolute;
  inset: 6px 0 0 0;
  height: 1px;
  background:
    linear-gradient(
      to right,
      transparent,
      rgba(236,132,115,.25),
      transparent
    );
}

.hr-soft{
  border: none;
  height: 1px;
  margin: 2rem 0 1.5rem;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(236,132,115,.6),
    transparent
  );
}

.hr-dot{
  border: none;
  border-top: 2px dotted rgba(236,132,115,.6);
  margin: 2rem 0 1.6rem;
}

.hr-heart{
  text-align: center;
  margin: 2.2rem 0 1.8rem;
  color: rgba(236,132,115,.75);
  font-size: 1.2rem;
  letter-spacing: .4rem;
  user-select: none;
}

/* リスト */
.page-schedule .list{
  list-style:none;
  padding:0;
  margin:0;
}
.page-schedule .list li{
  margin: 10px 0;
  line-height: 1.7;
  font-size: clamp(14px, 3.6vw, 16px);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.page-schedule .date{
  font-weight: 800;
  color: var(--brand-strong);
  margin-right: .5rem;
  white-space: nowrap;
}

.event{ padding: 10px 0; }

.event__row{
  display: flex;
  gap: .75rem;
  align-items: baseline; /* 日付と文字の高さ揃う */
}

.event__main{
  min-width: 0;          /* 折り返し有効化 */
  line-height: 1.7;
}

.event__detail{
  margin-left: calc(4.5ch + .75rem); /* dateの分だけインデント */
  margin-top: .2rem;
  color: var(--subtext);
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: .92em;
  opacity: .9;
}

.event__detail a{
  display: inline-block;
  padding: .15rem .5rem;
  color: var(--subtext);
  text-decoration: none;
}
.event__detail a:hover{ opacity: .85; }


/* スマホでも自然に改行 */
.event__main, .event__detail{
  word-break: break-word;
  overflow-wrap: anywhere;
}


/* カレンダー画像：丸みリセット＆中央 */
.page-schedule .calendar-wrap{
  width:100%;
  max-width: 500px;
  margin: 0 auto;
  display:grid;
  gap: 10px;
}
.page-schedule .calendar{
  display:block;
  width:100%;
  height:auto;
  border-radius: 0 !important; /* “どこかで丸い”対策 */
  justify-self: center;
  margin-bottom:1rem;
}
@media (min-width: 768px){
  .page-schedule .calendar{
    box-shadow: 0 12px 30px rgba(236,132,115,0.25);
  }
}

/* アマルコルドリンク：画像の下、右寄せ（かぶらない） */
.amarcord-link{
  justify-self: end;
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: .08em;

  color: #f2d6d6;
  background: linear-gradient(
    135deg,
    #8f3a3a,
    #a24b4b
  );

  border-radius: 999px;
  text-decoration: none;

  box-shadow:
    0 4px 12px rgba(0,0,0,.25),
    inset 0 0 0 1px rgba(255,255,255,.15);

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

.amarcord-link:hover{
  background: linear-gradient(
    135deg,
    #a24b4b,
    #b85b5b
  );
  box-shadow:
    0 6px 18px rgba(0,0,0,.35);
  transform: translateY(-1px);
}

.amarcord-link:active{
  transform: scale(0.97);
}

/* Backリンク */
.page-schedule .footer-link,
.page-profile .footer-link{
  text-align:center;
  margin: 3rem 0 16px;
}
.page-schedule .footer-link a
.page-profile .footer-link a{
  color: var(--brand-strong);
  font-weight: 700;
  text-decoration:none;
}
.page-schedule .footer-link a:hover,
.page-profile .footer-link a:hover{ text-decoration: underline; }
