@charset "UTF-8";
/* =========================================================
   東山奈央 ベストアルバム収録曲投票 特設サイト
   ベース：淡い水色 / 透明感
   ---------------------------------------------------------
   スケーラブル設計：1rem = 10px（デザイン幅）
   PC：1440px基準 / SP：390px基準 で画面幅に比例して拡縮
   ========================================================= */

html{ font-size:clamp(7.6px, calc(100vw / 144), 13.4px); }
@media (max-width:760px){
  html{ font-size:calc(100vw / 39); }
}

:root{
  --bg:        #eaf6fb;
  --bg-2:      #d6eef8;
  --aqua:      #8fd3ea;
  --aqua-deep: #4aa8cf;
  --navy:      #2e6788;
  --text:      #2d5870;
  --text-sub:  #5a7d92;
  --glass:     rgba(255,255,255,.28); /* 白座布団の透明度（下の波紋がぼやけて透ける） */
  --ripple-blur: 1.5px;               /* 波紋そのもののぼかし具合 */
  --glass-blur: 4px;                  /* 透けた波紋のぼかし具合 */
  --glass-bd:  rgba(255,255,255,.85);
  --line:      rgba(74,168,207,.35);
  --iris:      linear-gradient(100deg,#5cc3ee 0%,#8fb6ff 35%,#c4a8ff 62%,#ff9ec9 100%);
  --shadow:    0 1rem 4rem rgba(46,126,168,.14);
  --radius:    1.8rem;
  --ff:        "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --ff-en:     "Cormorant Garamond", "Times New Roman", serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  font-family:var(--ff);
  font-size:1.6rem;
  color:var(--text);
  line-height:1.9;
  letter-spacing:.04em;
  background:
    radial-gradient(120rem 70rem at 85% 10%, #ffffff 0%, transparent 60%),
    radial-gradient(90rem 60rem at 0% 60%, #dff3fb 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment:fixed;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:var(--aqua-deep); }
.sp{ display:none; }
.nw{ display:inline-block; }

/* =========================================================
   HERO（りぶフォーマット：ジャケ写コラージュ3段＋中央コピー）
   ========================================================= */
.hero{
  position:relative; z-index:3; /* 波紋より上に重ねて、トップには波紋を出さない */
  background:var(--bg);
  display:grid; place-items:center; grid-template-columns:minmax(0,1fr);
  overflow:hidden;
  padding:6rem 2rem 8rem; /* トップの高さ：ジャケット3段の帯に合わせてトリミング */
}
.hero__collage{
  --gap:1.2rem;
  --scale:.7; /* ジャケットの大きさ（1 = 3段で画面の高さいっぱい） */
  --size:calc(34rem * var(--scale));
  position:absolute; inset:-20% -15%;
  display:flex; flex-direction:column; justify-content:center; gap:var(--gap);
  transform:rotate(-6deg);
}
.hero__collage .row{
  display:flex; width:max-content; /* 間隔は画像側の margin で取る（-50%移動で継ぎ目がぴったり合うように） */
  animation:marquee 80s linear infinite;
}
.hero__collage .row[data-dir="right"]{ animation-direction:reverse; animation-duration:95s; }
.hero__collage .row img{
  width:var(--size); height:var(--size); object-fit:cover;
  flex:none; margin-right:var(--gap);
  border-radius:1rem;
  box-shadow:0 .6rem 2rem rgba(20,70,100,.18);
}
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

.hero__veil{
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 55% 50% at 50% 50%, rgba(234,246,251,.92) 0%, rgba(234,246,251,.6) 55%, rgba(214,238,248,.35) 100%),
    linear-gradient(180deg, rgba(234,246,251,.25) 0%, rgba(234,246,251,0) 40%, rgba(234,246,251,.9) 100%);
}

.hero__inner{
  position:relative; z-index:2; text-align:center;
  padding:8.4rem 6.4rem 4.4rem; /* 上はタブの分を空ける */
  border-radius:3.2rem;
  background:rgba(255,255,255,.34);
  border:1px solid var(--glass-bd);
  box-shadow:var(--shadow), inset 0 1px 0 #fff;
  backdrop-filter:blur(8px) saturate(1.15);
  -webkit-backdrop-filter:blur(8px) saturate(1.15);
  width:76rem; max-width:100%;
  animation:rise 1.4s cubic-bezier(.2,.7,.2,1) both .2s;
}
/* パネルの虹色の縁取り */
.hero__inner::before{
  content:""; position:absolute; inset:-1px; border-radius:inherit; padding:2px; pointer-events:none;
  background:linear-gradient(120deg, #9fe3ff, #b9b4ff 30%, #ffc4e1 55%, #b5f0ff 80%, #ffffff);
  background-size:100% 100%;
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
}
@keyframes rise{ from{ opacity:0; transform:translateY(2.4rem); filter:blur(6px);} to{ opacity:1; transform:none; filter:none; } }

.hero__label{
  /* 枠の内側・上端にくっついたタブ */
  position:absolute; z-index:3; left:50%; top:1px;
  transform:translateX(-50%);
  margin:0; padding:1rem 9.6rem .8rem;
  white-space:nowrap;
  border-radius:0 0 1.4rem 1.4rem;
  background:var(--iris); background-size:100% 100%; color:#fff; overflow:hidden;
  font-weight:700; font-size:1.8rem; line-height:1.4;
  letter-spacing:.14em;
  box-shadow:0 .4rem 1.6rem rgba(77,134,242,.25);
}
.hero__title{
  margin:0; font-weight:900; line-height:1.25;
  font-size:3.8rem;
  color:var(--navy);
}
.hero__line{ display:inline-block; }
.ichiban{
  display:block;
  font-size:10.4rem;
  white-space:nowrap;
  line-height:1.05; letter-spacing:.02em;
  margin:.08em 0 .06em;
  background:var(--iris);
  background-size:100% 100%;
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.ichiban__q{ display:inline-block; font-size:.6em; }
.ichiban__q--o{ vertical-align:.38em; margin-right:-.05em; } /* 「は文字の上端にそろえる */
.ichiban__q--c{ vertical-align:0; margin-left:-.05em; }      /* 」は文字の下端にそろえる */
@keyframes shimmer{ 0%,100%{ background-position:0% 50%; } 50%{ background-position:100% 50%; } }

.hero__sub{
  margin:1.8rem 0 .2rem; font-weight:700;
  font-size:2.2rem; letter-spacing:.12em;
}
.hero__album{
  margin:0; font-family:var(--ff-en); font-style:italic; font-weight:600;
  font-size:8rem; line-height:1.1; color:var(--navy);
  letter-spacing:.04em;
}
.hero__album-ttl{
  display:inline-block; padding:0 .12em 0 .02em; /* イタリックの端が切れないように */
  background:var(--iris); background-size:100% 100%;
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero__album-sub{ display:block; font-size:.45em; line-height:1; margin-top:-.15em; }
.hero__album-hy{ font-family:var(--ff); font-style:normal; font-weight:500; margin:0 .08em; }
/* ロゴ画像（虹色グラデ焼き込み済み：img/logo_iris.png、黒版は img/logo.png） */
.hero__logo{ display:block; width:39.6rem; max-width:90%; /* 元 44rem / 100% の90% */ height:auto; margin:.6rem auto 0; }
.hero__album small{ font-family:var(--ff); font-style:normal; font-size:.3em; font-weight:700; color:var(--text-sub); }

.hero__cta{
  display:inline-block; margin-top:2.6rem;
  padding:1.4rem 4.4rem; border-radius:999px;
  background:var(--navy); color:#fff; text-decoration:none;
  font-size:1.6rem; font-weight:700; letter-spacing:.16em;
  box-shadow:0 .8rem 2.4rem rgba(29,77,107,.3);
  transition:transform .3s, box-shadow .3s, background .3s;
}
.hero__cta:hover{ transform:translateY(-2px); background:var(--aqua-deep); box-shadow:0 1.2rem 3rem rgba(74,168,207,.45); }


.hero__scroll{
  display:none;
  position:absolute; z-index:2; left:50%; bottom:0; transform:translateX(-50%);
  width:1px; height:7rem; background:rgba(29,77,107,.25); overflow:hidden;
}
.hero__scroll span{
  position:absolute; left:0; top:0; width:100%; height:50%;
  background:var(--navy);
  animation:scrollline 2.2s cubic-bezier(.6,0,.3,1) infinite;
}
@keyframes scrollline{ 0%{ transform:translateY(-100%);} 100%{ transform:translateY(200%);} }

/* =========================================================
   共通セクション（りぶフォーマット：見出し＋下線＋ボックス）
   ========================================================= */
main, footer{ position:relative; z-index:2; }

/* ---------- 背景キャンバス（雫） ---------- */
#water{
  position:fixed; top:0; left:0; width:100%; height:100%;
  z-index:1; pointer-events:none;
  filter:blur(var(--ripple-blur)); /* 波紋そのもののぼかし */
}
/* 水面のゆらめき（光の網目を2層ずらして揺らす） */
.surface{
  position:fixed; top:0; left:0; width:100%; height:100%;
  z-index:0; pointer-events:none; overflow:hidden;
}
.surface::before, .surface::after{
  content:""; position:absolute; top:-50%; left:-50%; width:200%; height:200%;
  background-image:url("../img/water.png"); /* 継ぎ目なしの光の網目テクスチャ */
  background-size:50rem 50rem;
  opacity:.5;
  will-change:transform;
}
.surface::before{ animation:drift1 38s linear infinite alternate; }
.surface::after{ background-size:75rem 75rem; opacity:.35; animation:drift2 52s linear infinite alternate; }
@keyframes drift1{ from{ transform:translate3d(0,0,0); } to{ transform:translate3d(-6%,4%,0); } }
@keyframes drift2{ from{ transform:translate3d(0,0,0); } to{ transform:translate3d(5%,-5%,0); } }
.sec{
  width:88rem; max-width:100%; margin:0 auto;
  padding:11rem 2rem 0;
}
.sec__h{
  margin:0 0 3.2rem; padding-bottom:1.4rem;
  font-size:2.8rem; font-weight:900; color:var(--navy);
  position:relative; letter-spacing:.12em; line-height:1.5;
}
.sec__h::after{
  content:""; position:absolute; left:0; bottom:0; width:100%; height:2px;
  background:linear-gradient(90deg, var(--aqua-deep) 0%, #b9a6ff 50%, rgba(255,158,201,0) 100%);
  border-radius:2px;
}
.sec__h--sm{ font-size:2.2rem; }
.sec__en{
  display:block; font-family:var(--ff-en); font-style:italic; font-weight:500;
  font-size:.62em; color:var(--aqua-deep); letter-spacing:.1em; line-height:1.2;
}
.eyebrow{
  margin:0 0 1.4rem; font-family:var(--ff-en); font-style:italic;
  color:var(--aqua-deep); font-size:1.8rem; letter-spacing:.08em;
}

/* グラスカード共通 */
.spec, .notes, .item, .vote__box{
  background:var(--glass);
  border:1px solid var(--glass-bd);
  border-radius:var(--radius);
  box-shadow:var(--shadow), inset 0 1px 0 #fff;
  backdrop-filter:blur(var(--glass-blur));
  -webkit-backdrop-filter:blur(var(--glass-blur));
}

/* プレースホルダー */
.ph{
  position:relative; display:block; width:100%; height:0;
  color:var(--text-sub); font-family:var(--ff-en); font-style:italic; font-size:2rem; line-height:1.4;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.5) 0 1.2rem, rgba(255,255,255,.2) 1.2rem 2.4rem),
    linear-gradient(160deg, rgba(217,240,249,.55), rgba(191,227,242,.55));
  border:1px dashed rgba(74,168,207,.6);
  border-radius:var(--radius);
  overflow:hidden;
}
/* 比率は padding-top で確保（Safari の aspect-ratio＋flex の不具合回避） */
.ph > span{
  position:absolute; top:0; left:0; width:100%; height:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
}
.ph small{ font-family:var(--ff); font-style:normal; font-size:1.2rem; }
.ph--artist{ padding-top:125%; }
.ph--jacket{ padding-top:100%; border-radius:1.2rem; }
.intro__photo{ width:70%; margin:0 auto; } /* アー写の表示幅 */
/* アー写：横長(3:2)枠で全体を表示 */
.intro__artist{ position:relative; height:0; padding-top:66.6667%; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.intro__artist img{
  position:absolute; top:0; left:0; width:100%; height:100%;
  object-fit:cover; object-position:center;
}

/* ---------- INTRO ---------- */
.intro__grid{
  display:grid; grid-template-columns:minmax(0,1fr); gap:5.6rem; align-items:center;
}
.intro__text{ text-align:center; } /* アー写を横長にしたため、写真の下に文章を中央揃えで配置 */
.intro__lead{
  margin:0 0 2.2rem; font-size:2.1rem; font-weight:700; color:var(--navy); line-height:1.8;
}
.intro__body{ margin:0 0 1.8rem; font-size:1.6rem; }
.intro__body--em{ font-weight:700; color:var(--navy); font-size:1.7rem; }
.intro__body--em em{
  font-style:normal; font-size:1.35em; font-weight:900;
  background:var(--iris); -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* ---------- RELEASE ---------- */
.release__title{ margin:-.8rem 0 2.6rem; font-weight:700; font-size:1.8rem; }
.release__title{ text-spacing-trim:space-all; line-height:1.4; } /* ブラウザの括弧自動詰めを無効化（手動で調整） */
.release__name{ font-size:1.5em; }
.release__kakko{ margin-left:-.5em; }
/* Safari対策：gridの自動幅計算を使わず、カード幅を明示 */
.items{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:stretch; }
.item{ width:calc(50% - 1.2rem); padding:2.2rem; display:flex; flex-direction:column; }
/* ジャケット：初回盤(横長)と通常盤(正方形)で下の文字位置が揃うよう枠の比率を統一 */
.item__jk{ position:relative; flex:none; height:0; padding-top:89.25%; margin-bottom:1.8rem; }
.item__jk img{
  position:absolute; left:0; bottom:0; width:100%; height:100%;
  object-fit:contain; object-position:center bottom;
}
.item > .ph{ flex:none; margin-bottom:1.8rem; }
.item__body{ display:flex; flex-direction:column; flex:1 1 auto; }
.item__type{
  margin:0; font-size:2rem; font-weight:900; color:var(--navy);
  display:flex; flex-wrap:wrap; align-items:center;
}
.item__type span{
  margin-left:1.2rem;
  font-size:1.2rem; font-weight:700; color:#fff; background:var(--aqua-deep);
  padding:.1rem 1rem; border-radius:999px; letter-spacing:.08em;
}
.item__price{ margin:.6rem 0 2rem; font-family:var(--ff); font-weight:700; font-size:2rem; letter-spacing:.04em; color:var(--navy); line-height:1.3; flex:1 0 auto; }
.item__price small{ font-family:var(--ff); font-size:1.2rem; font-weight:500; color:var(--text-sub); }
.item__spec{ margin:0 0 2rem; font-size:1.4rem; color:var(--text-sub); line-height:1.75; flex:1; }

/* ---------- ボタン ---------- */
.btn{
  position:relative; display:flex; align-items:center; justify-content:center; gap:1rem;
  text-decoration:none; font-weight:700; letter-spacing:.14em;
  border-radius:999px; overflow:hidden;
  transition:transform .3s, box-shadow .3s, background-position .6s;
}
.btn--buy{
  padding:1.3rem 2rem; color:#fff; font-size:1.6rem;
  background:linear-gradient(100deg, var(--aqua-deep), var(--navy), var(--aqua-deep));
  background-size:200% 100%;
  background-position:100% 0; /* ホバーで光が左→右へ流れる */
  box-shadow:0 .6rem 1.8rem rgba(29,77,107,.25);
}
.btn--buy::after{ content:"→"; font-family:var(--ff-en); margin-left:1rem; }
.btn--buy:hover{ background-position:0 0; transform:translateY(-2px); }
.release__more{ margin-top:3.2rem; }
.btn--site{
  margin:0 auto; width:42rem; max-width:100%;
  padding:1.5rem 2rem; color:var(--navy); font-size:1.6rem;
  background:rgba(255,255,255,.75);
  border:2px solid var(--aqua-deep);
  box-shadow:0 .6rem 1.8rem rgba(46,126,168,.14);
}
.btn--site::after{ content:"→"; font-family:var(--ff-en); }
.btn--site:hover{ background:#fff; transform:translateY(-2px); box-shadow:0 .8rem 2.4rem rgba(74,168,207,.35); }

/* ---------- 募集要項 ---------- */
.guide__lead{ margin:0 0 2.4rem; font-size:1.7rem; font-weight:700; }
.spec{ margin:0; padding:.8rem 2.8rem; }
.spec__row{
  display:grid; grid-template-columns:17rem 1fr; gap:1.6rem; padding:2rem 0;
  border-bottom:1px solid var(--line);
}
.spec__row:last-child{ border-bottom:0; }
.spec dt{ font-weight:900; color:var(--navy); position:relative; padding-left:1.8rem; }
.spec dt::before{
  content:""; position:absolute; left:0; top:.75em; width:.8rem; height:.8rem;
  background:var(--aqua-deep); border-radius:50%;
}
.spec dd{ margin:0; }
.spec dd strong{ color:var(--navy); }

/* ---------- 注意事項 ---------- */
.notes{ padding:2.6rem 3rem; font-size:1.45rem; line-height:1.85; }
.notes__lead{ margin:0 0 1.4rem; font-weight:700; color:var(--navy); }
.notes ul{ margin:0; padding:0; list-style:none; }
.notes li{ position:relative; padding-left:1.2em; margin-bottom:.8rem; }
.notes li::before{ content:"・"; position:absolute; left:0; color:var(--aqua-deep); font-weight:900; }

/* ---------- VOTE ---------- */
.vote{ padding-bottom:14rem; }
.vote__box{
  text-align:center; padding:6.4rem 2rem;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.9), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(196,168,255,.25), transparent 50%),
    rgba(255,255,255,.22);
}
.vote__en{
  margin:0 0 2rem; font-family:var(--ff-en); font-style:italic; font-weight:600;
  font-size:3.8rem; line-height:1.3; color:var(--aqua-deep);
}
.btn--vote{
  margin:0 auto; width:42rem; max-width:100%;
  padding:2.2rem 2rem; font-size:2.4rem; color:#fff;
  background:var(--iris); background-size:100% 100%;
  box-shadow:0 1.2rem 3.4rem rgba(120,150,255,.38), inset 0 2px 0 rgba(255,255,255,.5);
}
.btn--vote:hover{ transform:translateY(-3px) scale(1.02); }
.btn--vote::before{
  content:""; position:absolute; top:0; left:-60%; width:40%; height:100%;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent);
  transform:skewX(-20deg);
  animation:shine 3.2s ease-in-out infinite;
}
@keyframes shine{ 0%,60%{ left:-60%; } 100%{ left:130%; } }
.vote__en .num{ font-variant-numeric:lining-nums; font-feature-settings:"lnum" 1; font-size:1.08em; line-height:1; } /* 1をライニング数字（大文字の高さ）に */
.vote__msg{ margin:2.4rem 0 0; font-weight:700; color:var(--navy); }

/* ---------- FOOTER ---------- */
.footer{
  padding:4.4rem 2rem 3.6rem; text-align:center;
  background:linear-gradient(180deg, rgba(29,77,107,.0), rgba(29,77,107,.08));
  border-top:1px solid var(--line);
}
.footer__links{ display:flex; justify-content:center; flex-wrap:wrap; gap:1rem 2.8rem; margin:0 0 1.8rem; padding:0; list-style:none; }
.footer__links a{ color:var(--navy); text-decoration:none; font-family:var(--ff-en); font-style:italic; font-size:1.8rem; letter-spacing:.08em; }
.footer__links a:hover{ color:var(--aqua-deep); }
.footer__copy{ margin:0; font-size:1.2rem; color:var(--text-sub); }

/* ---------- PAGE TOP ---------- */
.pagetop{
  position:fixed; right:1.8rem; bottom:1.8rem; z-index:5;
  width:4.8rem; height:4.8rem; border-radius:50%;
  background:rgba(255,255,255,.7); border:1px solid var(--glass-bd);
  box-shadow:var(--shadow); backdrop-filter:blur(8px);
  opacity:0; pointer-events:none; transition:opacity .4s;
}
.pagetop::before{
  content:""; position:absolute; left:50%; top:52%; width:1.2rem; height:1.2rem;
  border-top:2px solid var(--navy); border-left:2px solid var(--navy);
  transform:translate(-50%,-25%) rotate(45deg);
}
.pagetop.is-show{ opacity:1; pointer-events:auto; }

/* ---------- reveal ---------- */
.reveal{ opacity:0; transform:translateY(2.6rem); transition:opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in{ opacity:1; transform:none; }

/* =========================================================
   SP（390px基準で比例拡縮）
   ========================================================= */
@media (max-width:760px){
  body{ font-size:1.5rem; }
  .sp{ display:inline; }

  .hero{ padding:4rem 1.6rem 6rem; }
  .hero__collage{ --gap:.6rem; --size:calc(24rem * var(--scale)); }
  .hero__inner{ padding:6rem 1.8rem 3rem; border-radius:2.4rem; }
  .hero__label{ padding:.7rem 5.4rem .6rem; font-size:1.4rem; border-radius:0 0 1rem 1rem; }
  .hero__title{ font-size:2.2rem; }
  .ichiban{ font-size:5.6rem; }
  .hero__sub{ font-size:1.6rem; margin-top:1.4rem; }
  .hero__album{ font-size:4.6rem; }
  .hero__cta{ font-size:1.5rem; padding:1.4rem 4rem; }

  .sec{ width:auto; padding:7rem 2rem 0; }
  .sec__h{ font-size:2.2rem; margin-bottom:2.4rem; }
  .sec__h--sm{ font-size:1.8rem; }
  .eyebrow{ font-size:1.6rem; }

  .intro__grid{ grid-template-columns:1fr; gap:3.2rem; }
  .intro__photo{ width:100%; margin:0 auto; }
  .intro__text{ text-align:center; }
  .intro__lead{ font-size:1.7rem; }
  .intro__body{ font-size:1.5rem; }
  .intro__body--em{ font-size:1.6rem; }

  .release__title{ font-size:1.6rem; }
  .item{ width:100%; padding:1.8rem; }
  .item + .item{ margin-top:2.4rem; }
  .release__more{ margin-top:2.8rem; }
  .btn--site{ font-size:1.5rem; letter-spacing:.08em; }

  .guide__lead{ font-size:1.5rem; }
  .spec{ padding:.4rem 2rem; }
  .spec__row{ grid-template-columns:1fr; gap:.4rem; padding:1.6rem 0; }
  .notes{ padding:2.2rem 2rem; font-size:1.35rem; }

  .vote{ padding-bottom:9rem; }
  .vote__box{ padding:4.4rem 2rem; }
  .vote__en{ font-size:2.8rem; }
  .btn--vote{ font-size:2rem; padding:1.9rem 2rem; }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation:none !important; transition:none !important; }
  .reveal{ opacity:1; transform:none; }
}
