/* =====================================================
   佐倉ミント 公式サイト - common.css
   将来的にすべてのページで共通使用する想定
   index.html の <style> ブロックから分離 (STEP 3)
===================================================== */

/* =====================================================
   DESIGN TOKENS
===================================================== */
:root {
  --sakura:       #d45f8a;
  --sakura-light: #f5c6d8;
  --sakura-pale:  #fdf0f5;
  --sakura-dark:  #a03060;
  --mint:         #5aab8f;
  --mint-light:   #a8d8c8;
  --mint-pale:    #eaf6f1;
  --mint-dark:    #2d7a61;
  --brown:        #5c3a2e;
  --cream:        #fff9f5;
  --white:        #ffffff;
  --text-main:    #2d1a1a;
  --text-sub:     #7a5c5c;
  --text-muted:   #b08090;
  --border:       #f0d8e0;
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    32px;
  --shadow-sm:    0 2px 8px rgba(212,95,138,.10);
  --shadow:       0 6px 24px rgba(212,95,138,.14);
  --shadow-lg:    0 16px 48px rgba(212,95,138,.18);
  --nav-h:        68px;
  --font:         'M PLUS Rounded 1c', system-ui, sans-serif;
}

/* =====================================================
   RESET & BASE
===================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text-main);
  background: var(--cream);
  line-height: 1.7;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* =====================================================
   UTILITY
===================================================== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section--alt  { background: var(--sakura-pale); }
.section--mint { background: var(--mint-pale); }
.section--dark {
  background: linear-gradient(135deg, #2d1a1a 0%, #3d2035 60%, #1a2d2a 100%);
  color: var(--white);
}

.section-label {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--sakura);
  background: var(--sakura-pale);
  padding: .3rem .9rem;
  border-radius: 99px;
  border: 1px solid var(--sakura-light);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: .5rem;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-sub);
  margin-bottom: 2.5rem;
}

/* =====================================================
   BUTTONS
===================================================== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.6rem;
  border-radius: 99px;
  font-family: var(--font);
  font-size: .9rem; font-weight: 700;
  transition: all .2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--sakura); color: var(--white);
  box-shadow: 0 4px 16px rgba(212,95,138,.35);
}
.btn-primary:hover { background: var(--sakura-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
  border: 2px solid var(--sakura); color: var(--sakura); background: transparent;
}
.btn-outline:hover { background: var(--sakura-pale); }
.btn-mint {
  background: var(--mint); color: var(--white);
  box-shadow: 0 4px 16px rgba(90,171,143,.3);
}
.btn-mint:hover { background: var(--mint-dark); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--sakura); font-weight: 700; }
.btn-white:hover { background: var(--sakura-pale); }
.btn-sm { padding: .5rem 1.1rem; font-size: .82rem; }

/* =====================================================
   NAVIGATION
===================================================== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,249,245,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.navbar-logo { display: flex; align-items: center; gap: .6rem; }
.navbar-logo img { height: 44px; width: auto; }

.navbar-nav { display: flex; align-items: center; gap: .25rem; }
.navbar-nav a {
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 700;
  color: var(--text-main);
  transition: all .2s;
}
.navbar-nav a:hover { background: var(--sakura-pale); color: var(--sakura); }
.navbar-nav a.active { color: var(--sakura); }

.navbar-right { display: flex; align-items: center; gap: .5rem; }
.navbar-sns   { display: flex; align-items: center; gap: .15rem; }
.sns-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  color: var(--text-sub);
  transition: all .2s;
}
.sns-icon:hover { background: var(--sakura-pale); color: var(--sakura); }
.sns-icon svg { width: 18px; height: 18px; }

.navbar-contact {
  display: flex; align-items: center; gap: .4rem;
  padding: .45rem 1rem;
  border-radius: 99px;
  background: var(--sakura);
  color: var(--white);
  font-size: .82rem; font-weight: 700;
  transition: all .2s;
}
.navbar-contact:hover { background: var(--sakura-dark); }

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 36px; height: 36px;
  padding: 7px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .2s;
}
.hamburger:hover { background: var(--sakura-pale); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-main); border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* モバイルメニュー */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--cream);
  z-index: 99;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu nav a {
  display: block;
  padding: 1rem 0;
  font-size: 1.2rem; font-weight: 700;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
}
.mobile-menu nav a:hover { color: var(--sakura); }
.mobile-menu-sns { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.mobile-menu-sns a {
  display: flex; align-items: center; gap: .5rem;
  font-size: .9rem; color: var(--text-sub); font-weight: 500;
}

/* =====================================================
   HERO
===================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  overflow: hidden;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 70% at 75% 50%, rgba(90,171,143,.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 25% 30%, rgba(212,95,138,.15) 0%, transparent 60%),
    linear-gradient(160deg, #fff9f5 0%, #fdf0f5 40%, #eaf6f1 100%);
}
.hero-petal {
  position: absolute; z-index: 1;
  width: 12px; height: 16px;
  background: var(--sakura-light);
  border-radius: 50% 0 50% 0;
  opacity: .5;
  animation: float-petal linear infinite;
}
@keyframes float-petal {
  0%   { transform: translateY(-20px) rotate(0deg); opacity: .6; }
  100% { transform: translateY(100vh)  rotate(360deg); opacity: 0; }
}

.hero .container {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
  padding-top: 3rem; padding-bottom: 3rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  color: var(--mint-dark);
  background: var(--mint-pale);
  border: 1px solid var(--mint-light);
  padding: .3rem .9rem;
  border-radius: 99px;
  margin-bottom: 1.4rem;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: .7; }
}
.hero-name {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900; line-height: 1.1;
  color: var(--text-main);
  margin-bottom: .5rem;
}
.hero-name-en {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700; color: var(--sakura);
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-roles { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.hero-role {
  font-size: .8rem; font-weight: 700;
  padding: .3rem .85rem;
  border-radius: 99px; border: 1.5px solid;
}
.hero-role--sakura { color: var(--sakura);    border-color: var(--sakura-light); background: var(--sakura-pale); }
.hero-role--mint   { color: var(--mint-dark); border-color: var(--mint-light);   background: var(--mint-pale); }
.hero-role--brown  { color: var(--brown);     border-color: #d0b8ae;             background: #fdf6f2; }

.hero-catch {
  font-size: 1rem; color: var(--text-sub);
  margin-bottom: 2rem; line-height: 1.8;
}
.hero-text {
  position: relative;
  z-index: 2; /* 立ち絵より前面 */
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-sns { display: flex; align-items: center; gap: .5rem; }
.hero-sns-label { font-size: .78rem; color: var(--text-muted); font-weight: 500; }
.hero-sns a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white); color: var(--text-sub);
  transition: all .2s;
}
.hero-sns a:hover { border-color: var(--sakura); color: var(--sakura); }
.hero-sns a svg { width: 17px; height: 17px; }

/* キャラクターエリア */
.hero-visual {
  /* PC: position:static → .hero が absolute の基準点になる */
  position: static;
  /* インジケーターを hero-chara 右横に縦並びで配置するための flex */
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: .75rem;
}
/* [差し替えポイント] キャラクター立ち絵: images/chara_main.png */
.hero-chara {
  /* PC: .hero 基準の absolute 配置（カード廃止） */
  position: absolute;
  right: 8%;            /* テキストと立ち絵の一体感を高める */
  bottom: 0;
  height: 105%;         /* hero 全高を少し超える */
  width: auto;
  aspect-ratio: unset;
  border-radius: 0;
  overflow: visible;
  background: none;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
          mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
/* .hero-chara::after 削除: mask-image に移行 */
.hero-chara img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  /* display:none → JS が画像確認後に display:block に切り替える */
}
.hero-chara-placeholder {
  /* 画像未配置時のフォールバック表示 */
  /* absolute の .hero-chara 内で位置を持たせる */
  width: 280px; height: 373px;  /* 3:4 比率の仮サイズ */
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem; color: var(--sakura);
  font-size: .85rem; font-weight: 700;
  background: linear-gradient(160deg, var(--sakura-pale), var(--mint-pale));
  border-radius: var(--radius-lg);
}
.hero-chara-placeholder svg { opacity: .4; }

/* .hero-latest: index.html から HTML ごと削除済み（Phase2 YouTube再設計で別枠化） */
/* [差し替えポイント] 最新動画サムネイル: images/latest_thumb.jpg */
.hero-latest-thumb {
  width: 64px; height: 40px; border-radius: 6px;
  overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, var(--sakura-light), var(--mint-light));
}
.hero-latest-info { flex: 1; min-width: 0; }
.hero-latest-badge {
  font-size: .68rem; font-weight: 700;
  color: var(--mint-dark); background: var(--mint-pale);
  padding: .15rem .5rem; border-radius: 99px;
  display: inline-block; margin-bottom: .25rem;
}
.hero-latest-title {
  font-size: .83rem; font-weight: 700; color: var(--text-main);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-latest-ch { font-size: .72rem; color: var(--text-muted); margin-top: .1rem; }

/* =====================================================
   NEWS
===================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  display: flex; flex-direction: column; gap: .7rem;
  box-shadow: var(--shadow-sm);
  transition: all .25s;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card-meta  { display: flex; align-items: center; gap: .5rem; }
.news-tag {
  font-size: .7rem; font-weight: 700;
  padding: .2rem .65rem; border-radius: 99px;
  letter-spacing: .05em;
}
.news-tag--info   { color: var(--sakura);    background: var(--sakura-pale); }
.news-tag--pr     { color: var(--mint-dark); background: var(--mint-pale); }
.news-tag--notice { color: var(--brown);     background: #fdf6f2; }
.news-date  { font-size: .75rem; color: var(--text-muted); }
.news-title { font-size: 1rem; font-weight: 700; line-height: 1.4; }
.news-body  { font-size: .85rem; color: var(--text-sub); line-height: 1.6; }
.news-link  {
  font-size: .82rem; font-weight: 700; color: var(--sakura);
  display: inline-flex; align-items: center; gap: .25rem;
}

/* =====================================================
   YOUTUBE / LIVE
===================================================== */
.youtube-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem; align-items: start;
}
/* チャンネルリンクカード（iframe不使用） */
.youtube-channel-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
/* [差し替えポイント] チャンネルバナー: images/youtube_banner.png (16:9) */
.youtube-channel-banner {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--sakura-pale) 0%, var(--mint-pale) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem;
  position: relative; overflow: hidden;
}
.youtube-channel-banner img {
  width: 100%; height: 100%; object-fit: cover;
}
.youtube-channel-banner-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.35);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .75rem;
}
.youtube-play-btn {
  width: 64px; height: 64px;
  background: rgba(255,0,0,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: transform .2s, background .2s;
}
.youtube-play-btn:hover { transform: scale(1.1); background: #ff0000; }
.youtube-play-btn svg { width: 28px; height: 28px; margin-left: 4px; }
.youtube-channel-banner-text {
  color: #fff; font-size: 1rem; font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
/* ダミーバナー（画像なし時） */
.youtube-banner-dummy {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .5rem;
  color: var(--sakura); font-size: .85rem; font-weight: 700;
}
.youtube-banner-dummy svg { opacity: .35; width: 48px; height: 48px; }
.youtube-channel-card-body { padding: 1.2rem 1.4rem; }

/* 将来iframe差し替え構造
   以下のコメント内ブロックで .youtube-channel-card を丸ごと置き換える
   <div class="youtube-embed" style="border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:16/9;">
     <iframe src="https://www.youtube.com/embed/{VIDEO_ID}"
       title="佐倉ミント 動画"
       frameborder="0"
       allow="accelerometer;autoplay;clipboard-write;encrypted-media;gyroscope;picture-in-picture"
       allowfullscreen loading="lazy"
       style="width:100%;height:100%;">
     </iframe>
   </div>
*/

.youtube-info {}
.youtube-ch {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
/* [差し替えポイント] チャンネルアイコン: images/youtube_icon.png */
.youtube-ch-icon {
  width: 52px; height: 52px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, var(--sakura-light), var(--mint-light));
}
.youtube-ch-icon img { width: 100%; height: 100%; object-fit: cover; }
.youtube-ch-name { font-size: 1rem; font-weight: 700; }
.youtube-ch-sub  { font-size: .8rem; color: var(--text-muted); margin-top: .15rem; }
.youtube-subscribe-btn {
  display: flex; align-items: center; gap: .45rem;
  padding: .6rem 1.2rem;
  background: #ff0000; color: #fff;
  border-radius: 99px; font-size: .85rem; font-weight: 700;
  transition: all .2s; margin-left: auto; flex-shrink: 0;
}
.youtube-subscribe-btn:hover { background: #cc0000; }
.youtube-subscribe-btn svg { width: 16px; height: 16px; }

.youtube-stat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .75rem; margin-bottom: 1rem;
}
.youtube-stat {
  background: var(--sakura-pale);
  border: 1px solid var(--sakura-light);
  border-radius: var(--radius-sm);
  padding: .9rem; text-align: center;
}
.youtube-stat-n { font-size: 1.5rem; font-weight: 900; color: var(--sakura); }
.youtube-stat-l { font-size: .72rem; color: var(--text-muted); margin-top: .1rem; }

/* =====================================================
   PROFILE
===================================================== */
.profile-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem; align-items: start;
}
/* [差し替えポイント] プロフィール画像: images/profile_main.png */
.profile-img {
  border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--sakura-pale), var(--mint-pale));
  box-shadow: var(--shadow);
}
.profile-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.profile-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem; color: var(--sakura); font-size: .85rem; font-weight: 700;
}
.profile-quote {
  font-size: 1rem; font-weight: 700; color: var(--sakura-dark);
  background: var(--sakura-pale);
  border-left: 4px solid var(--sakura);
  padding: .9rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.5rem; line-height: 1.7;
}
.profile-bio { font-size: .95rem; color: var(--text-sub); margin-bottom: 1.8rem; line-height: 1.8; }
.profile-data {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .8rem; margin-bottom: 1.8rem;
}
.profile-data-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
}
.profile-data-label { font-size: .7rem; font-weight: 700; color: var(--text-muted); letter-spacing: .05em; text-transform: uppercase; margin-bottom: .2rem; }
.profile-data-value { font-size: .9rem; font-weight: 700; color: var(--text-main); }
.profile-tags-section { margin-bottom: 1rem; }
.profile-tags-title { font-size: .78rem; font-weight: 700; color: var(--text-muted); letter-spacing: .05em; text-transform: uppercase; margin-bottom: .5rem; }
.profile-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.profile-tag {
  font-size: .8rem; font-weight: 700;
  padding: .3rem .75rem; border-radius: 99px;
  border: 1.5px solid var(--sakura-light);
  color: var(--sakura-dark); background: var(--white);
  transition: all .2s;
}
.profile-tag:hover { background: var(--sakura-pale); }
.profile-tag--mint { border-color: var(--mint-light); color: var(--mint-dark); }
.profile-tag--mint:hover { background: var(--mint-pale); }

/* =====================================================
   WORKS PREVIEW
===================================================== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem; margin-bottom: 2.5rem;
}
.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm);
  background: var(--sakura-pale);
  cursor: pointer; transition: all .25s;
  display: block;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* [差し替えポイント] 各作品画像: images/works/work_01.png など */
.work-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.work-card:hover img { transform: scale(1.06); }
.work-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(45,26,26,.85) 0%, rgba(45,26,26,.3) 50%, transparent 100%);
  opacity: 0; transition: opacity .3s;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.2rem;
}
.work-card:hover .work-card-overlay { opacity: 1; }
.work-card-cat   { font-size: .7rem; font-weight: 700; color: var(--sakura-light); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .3rem; }
.work-card-title { font-size: .95rem; font-weight: 700; color: #fff; line-height: 1.3; }
.work-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem; color: var(--sakura);
  font-size: .78rem; font-weight: 700; text-align: center; padding: 1rem;
}
.work-placeholder svg { opacity: .4; width: 40px; height: 40px; }
.work-cat-badge {
  position: absolute; top: .8rem; left: .8rem;
  font-size: .68rem; font-weight: 700;
  padding: .2rem .65rem; border-radius: 99px;
  backdrop-filter: blur(6px);
}
.work-cat-badge--3d    { background: rgba(90,171,143,.9);  color: #fff; }
.work-cat-badge--l2d   { background: rgba(212,95,138,.9);  color: #fff; }
.work-cat-badge--illus { background: rgba(92,58,46,.85);   color: #fff; }
.work-cat-badge--anim  { background: rgba(160,48,96,.9);   color: #fff; }
.work-cat-badge--goods { background: rgba(45,122,97,.9);   color: #fff; }
.work-cat-badge--pr    { background: rgba(186,117,23,.9);  color: #fff; }

/* =====================================================
   PR実績
===================================================== */
.pr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.pr-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; gap: 1.2rem; align-items: flex-start;
  transition: all .25s;
}
.pr-card:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.3); }
.pr-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  /* [差し替えポイント] クライアントロゴ: images/pr/pr_*.png */
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); overflow: hidden;
}
.pr-icon img { width: 100%; height: 100%; object-fit: contain; }
.pr-icon svg { width: 26px; height: 26px; }
.pr-year  { font-size: .7rem; font-weight: 700; color: var(--sakura-light); letter-spacing: .08em; margin-bottom: .3rem; }
.pr-name  { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .4rem; line-height: 1.3; }
.pr-desc  { font-size: .83rem; color: rgba(255,255,255,.7); line-height: 1.6; }
.pr-link  {
  font-size: .78rem; font-weight: 700; color: var(--sakura-light);
  display: inline-flex; align-items: center; gap: .2rem; margin-top: .5rem;
}
.pr-link:hover { color: #fff; }
.pr-badge {
  display: inline-block; font-size: .68rem; font-weight: 700;
  padding: .15rem .6rem; border-radius: 99px;
  background: var(--sakura); color: #fff; margin-bottom: .5rem;
}

/* =====================================================
   COMMISSION
===================================================== */
.commission-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
}
.commission-status {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1.1rem; border-radius: 99px;
  font-size: .85rem; font-weight: 700; margin-bottom: 1.5rem;
}
.commission-status--open   { background: var(--mint-pale);  color: var(--mint-dark); border: 2px solid var(--mint-light); }
.commission-status--closed { background: #fdf6f2;           color: var(--brown);     border: 2px solid #d0b8ae; }
.commission-status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-open--dot   { background: var(--mint); animation: pulse 2s infinite; }
.status-closed--dot { background: var(--brown); }

.commission-categories { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 2rem; }
.commission-cat {
  display: flex; align-items: center; gap: .6rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .75rem 1rem;
  font-size: .85rem; font-weight: 700; color: var(--text-main);
}
.commission-cat svg { width: 18px; height: 18px; color: var(--sakura); flex-shrink: 0; }
.commission-cta {
  background: var(--sakura-pale); border: 1.5px solid var(--sakura-light);
  border-radius: var(--radius); padding: 1.8rem;
}
.commission-cta-title { font-size: 1.2rem; font-weight: 900; margin-bottom: .5rem; }
.commission-cta-desc  { font-size: .9rem; color: var(--text-sub); margin-bottom: 1.5rem; line-height: 1.7; }
.commission-cta-note  { font-size: .78rem; color: var(--text-muted); margin-top: 1rem; line-height: 1.6; }
.commission-flow { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.commission-flow-title { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.commission-steps { display: flex; flex-direction: column; }
.commission-step { display: flex; gap: 1rem; padding: .8rem 0; }
.commission-step:not(:last-child) { border-bottom: 1px dashed var(--border); }
.step-num {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  background: var(--sakura); color: #fff;
  font-size: .78rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.step-text { font-size: .87rem; line-height: 1.5; padding-top: .2rem; }
.step-text strong { display: block; font-weight: 700; color: var(--text-main); margin-bottom: .1rem; }
.step-text span   { color: var(--text-sub); }

/* =====================================================
   SHOP
===================================================== */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.shop-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all .25s;
  display: block;
}
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* [差し替えポイント] ショップバナー: images/shop/booth_*.png */
.shop-card-img { aspect-ratio: 16 / 9; overflow: hidden; }
.shop-card-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700; color: var(--sakura); text-align: center; padding: 1rem;
}
.shop-card-body     { padding: 1.2rem 1.3rem; }
.shop-card-platform { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .35rem; }
.shop-card-name     { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.shop-card-desc     { font-size: .83rem; color: var(--text-sub); margin-bottom: 1rem; line-height: 1.6; }

/* =====================================================
   GUIDELINE & CONTACT
===================================================== */
.guideline-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.guideline-list  { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.5rem; }
.guideline-item {
  display: flex; align-items: flex-start; gap: .75rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .85rem 1rem;
  font-size: .87rem; color: var(--text-sub); line-height: 1.5;
}
.guideline-item svg { width: 18px; height: 18px; color: var(--mint); flex-shrink: 0; margin-top: .1rem; }

.contact-methods { display: flex; flex-direction: column; gap: .75rem; }
.contact-method {
  display: flex; align-items: center; gap: .9rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem;
  color: var(--text-main); transition: all .2s;
}
.contact-method:hover { border-color: var(--sakura); box-shadow: var(--shadow-sm); }
.contact-method-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-method-icon svg { width: 20px; height: 20px; }
.contact-method-icon--x    { background: #000; color: #fff; }
.contact-method-icon--yt   { background: #ff0000; color: #fff; }
.contact-method-icon--mail { background: var(--sakura-pale); color: var(--sakura); }
.contact-method-label { font-size: .78rem; color: var(--text-muted); font-weight: 500; }
.contact-method-value { font-size: .92rem; font-weight: 700; }

.all-links-grid { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.link-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem 1rem; border: 1px solid var(--border);
  border-radius: 99px; font-size: .8rem; font-weight: 700;
  color: var(--text-sub); background: var(--white); transition: all .2s;
}
.link-pill:hover { border-color: var(--sakura); color: var(--sakura); }
.link-pill svg { width: 14px; height: 14px; }

/* =====================================================
   FOOTER
===================================================== */
.footer {
  background: linear-gradient(135deg, #2d1a1a 0%, #3d2035 100%);
  color: rgba(255,255,255,.75);
  padding: 3rem 0 1.5rem;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.footer-logo img { height: 40px; width: auto; }
.footer-tagline { font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,.6); }
.footer-col-title {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: .9rem;
}
.footer-col-links { display: flex; flex-direction: column; gap: .45rem; }
.footer-col-links a { font-size: .85rem; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-col-links a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.5rem; flex-wrap: wrap; gap: .5rem;
}
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-sns-mini { display: flex; gap: .5rem; }
.footer-sns-mini a {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: all .2s;
}
.footer-sns-mini a:hover { border-color: var(--sakura); color: var(--sakura); }
.footer-sns-mini svg { width: 15px; height: 15px; }

/* =====================================================
   SECTION DIVIDER
===================================================== */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sakura-light), var(--mint-light), transparent);
  opacity: .4;
}

/* =====================================================
   ANIMATIONS
===================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-up    { animation: fadeInUp .7s ease both; }
.anim-up-d1 { animation-delay: .1s; }
.anim-up-d2 { animation-delay: .2s; }
.anim-up-d3 { animation-delay: .3s; }

/* scroll-reveal（JS連携） */
.reveal { opacity: 0; transform: translateY(30px); transition: all .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =====================================================
   RESPONSIVE
===================================================== */

/* 900px: 2カラム → 1カラム切り替え、hero-visualは縮小表示 */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    /* SP: visual(キャラ)→text の順で表示 */
    grid-template-areas: "visual" "text";
    padding-top: 1.5rem; padding-bottom: 2rem;
  }
  /* hero-visual: SP では min-height リセット・grid-area指定 */
  .hero-visual {
    grid-area: visual;
    position: static;
    min-height: 0;      /* PC の min-height をリセット */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .hero-text {
    grid-area: text;
  }
  /* hero-chara: SP フロー配置・高さは画像比率に任せる */
  .hero-chara {
    position: relative;   /* absolute 解除 */
    right: auto; bottom: auto;
    height: auto;         /* 高さ固定しない・画像比率維持 */
    width: 65%;           /* 幅基準で自然比率が保たれる */
    max-width: 280px;
    max-height: clamp(200px, 55vw, 320px); /* 上限のみ設定 */
    overflow: hidden;     /* max-height超え分をクリップ */
    background: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0 auto;
    /* 下部フェード維持 */
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
            mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    pointer-events: none;
  }
  /* 最新動画カードは900px以下では非表示 */
  .hero-latest { display: none; }
  .youtube-wrap    { grid-template-columns: 1fr; }
  .profile-inner   { grid-template-columns: 1fr; }
  .profile-img     { max-width: 280px; aspect-ratio: 1 / 1; margin: 0 auto; }
  .commission-inner { grid-template-columns: 1fr; }
  .guideline-inner  { grid-template-columns: 1fr; }
  .footer-top       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .section { padding: 3.5rem 0; }

  /* ナビ: デスクトップ要素を隠してハンバーガー表示 */
  .navbar-nav     { display: none; }
  .navbar-sns     { display: none; }
  .navbar-contact { display: none; }
  .hamburger      { display: flex; }
  .mobile-menu    { display: block; }

  /* ===== SP HERO 全体修正 ===== */
  /* min-height解除: コンテンツ量で高さが決まるようにする */
  .hero { min-height: 0; }
  .hero .container {
    padding-top: .75rem;
    padding-bottom: 1.5rem;
    gap: .75rem; /* テキストとキャラの隙間を詰める */
  }

  /* キャラ: 768px以下でも同じフロー配置（900pxから継承） */
  .hero-visual {
    flex-direction: column;
    align-items: center;
  }
  /* 768px: キャラを大きく・顔が見えるように */
  .hero-chara {
    width: 80%;
    max-width: 320px;
    max-height: clamp(240px, 65vw, 380px);
  }

  /* SP: バッジ非表示（ロールタグ・紹介文と重複） */
  .hero-badge { display: none; }

  /* 名前 */
  .hero-name {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
    margin-bottom: .25rem;
  }
  .hero-name-en { margin-bottom: .5rem; }

  /* SP: ロールタグ非表示（紹介文で代替） */
  .hero-roles { display: none; }

  /* キャッチコピー */
  .hero-catch { font-size: .88rem; margin-bottom: 1rem; line-height: 1.7; }
  /* SP: インジケーター非表示 */
  .hero-indicator { display: none; }
  /* SP: hero-visual の flex を解除してキャラを中央配置 */
  .hero-visual { display: block; }

  /* CTA: 2列×2段グリッド */
  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    margin-bottom: 1rem;
    width: 100%;
  }
  .hero-buttons .btn { justify-content: center; font-size: .85rem; padding: .6rem .5rem; }

  /* SNSアイコン: 横並び・中央寄せ・コンパクト */
  .hero-sns {
    flex-wrap: nowrap;
    justify-content: center;
    gap: .4rem;
  }
  .hero-sns-label { display: none; }
  .hero-sns a { width: 34px; height: 34px; }
  .hero-sns a svg { width: 15px; height: 15px; }

  .works-grid          { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .commission-categories { grid-template-columns: 1fr; }
  .profile-data        { grid-template-columns: 1fr; }
  .footer-top          { grid-template-columns: 1fr; }
  .footer-col:last-child { display: none; }
}

@media (max-width: 480px) {
  .works-grid   { grid-template-columns: 1fr; }
  /* 480px: ボタン2列維持 */
  .hero-buttons { grid-template-columns: 1fr 1fr; }
  .hero-buttons .btn { font-size: .8rem; padding: .55rem .4rem; }
  .news-grid    { grid-template-columns: 1fr; }
  /* 480px: キャラ顔〜上半身優先 */
  .hero-chara {
    width: 78%;
    max-width: 300px;
    max-height: clamp(220px, 62vw, 360px);
  }
  .hero .container { padding-top: .5rem; padding-bottom: 1rem; gap: .6rem; }
  /* キャッチを短縮表示しやすく */
  .hero-catch { font-size: .84rem; }
  /* SP: hero内 .btn-outline をグレー化（色の散らかり防止） */
  .hero-buttons .btn-outline {
    border-color: var(--border);
    color: var(--text-sub);
    box-shadow: none;
  }
  .hero-buttons .btn-outline:hover {
    border-color: var(--sakura-light);
    color: var(--sakura);
  }
  /* SP: chara img を幅基準・顔優先 */
  .hero-chara img {
    width: 100%;
    height: auto;         /* 高さ固定せず自然比率を維持 */
    object-fit: cover;
    object-position: top center; /* 顔・上半身を優先表示 */
  }
}

/* =====================================================
   Hero チャラクターインジケーター（差分切替UI枠）
   JS切替は後回し。HTML/CSS構造のみ。
===================================================== */
.hero-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  align-self: center;
  position: relative;
  z-index: 3;
  max-height: 80vh;     /* 画面高さに収まるよう上限 */
  overflow: hidden;     /* 前後ボタンで送る */
}

/* 前後送りボタン */
.hero-indicator-prev,
.hero-indicator-next {
  width: 32px; height: 20px;
  border: none; background: none;
  color: var(--sakura);
  font-size: .75rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: .6; transition: opacity .2s;
  flex-shrink: 0;
}
.hero-indicator-prev:hover,
.hero-indicator-next:hover { opacity: 1; }
.hero-indicator-prev[disabled],
.hero-indicator-next[disabled] { opacity: .2; cursor: default; }

/* インジケーターリスト（縦スクロールはJSで制御） */
.hero-indicator-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  overflow: hidden;
}

.hero-indicator-dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--cream);
  cursor: pointer;
  padding: 0;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  flex-shrink: 0;
}
.hero-indicator-dot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  pointer-events: none;
}
/* 画像未配置時のフォールバック */
.hero-indicator-dot img[src=""],
.hero-indicator-dot img:not([src]) {
  display: none;
}
.hero-indicator-dot.active {
  border-color: var(--sakura);
  box-shadow: 0 0 0 2px var(--sakura-pale), 0 2px 8px rgba(212,95,138,.3);
  transform: scale(1.08);
}
.hero-indicator-dot:hover:not(.active) {
  border-color: var(--sakura-light);
  transform: scale(1.05);
}
