/* ==========================================================
   品川CC 公式マスコット 名前募集LP
   色はキャラクターデザインガイドライン v1.0 のカラー仕様から
   ========================================================== */

@font-face {
  font-family: 'SCC';
  src: url('fonts/shinagawacc2023.woff2') format('woff2');
  font-display: swap;
}

:root {
  --navy: #10386b;
  --navy-deep: #0b2e5e;
  --blue: #5e8ecb;
  --lav: #e3e5f3;
  --lav-2: #d6d3dd;
  --lav-3: #b7b7db;
  --lav-4: #a39cb1;
  --orange: #ea5504;
  --orange-2: #ed7100;
  --orange-deep: #ac3b00;
  --gray: #514f4e;
  --white: #fff;
  --paper: #f5f6fb;

  --ff-jp: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
  --ff-en: 'SCC', 'Noto Sans JP', sans-serif;

  --col: 480px;
  --header-h: 60px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--ff-jp);
  font-weight: 500;
  color: var(--navy-deep);
  background: var(--lav);
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
.sprite { position: absolute; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.en { font-family: var(--ff-en); letter-spacing: .08em; font-weight: 400; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.site-header__logo img { width: 140px; }
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(227,229,243,.85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .3s;
}
.is-scrolled .site-header::before { opacity: 1; }

/* ---------- レイアウト：中央カラム ---------- */
.column {
  position: relative;
  max-width: var(--col);
  margin: 0 auto;
  background: var(--white);
  overflow: hidden;
}

/* PC：左右の固定パネル */
.side { display: none; }
@media (min-width: 1080px) {
  body {
    background-color: var(--lav);
    background-image: radial-gradient(var(--lav-3) 1.2px, transparent 1.4px);
    background-size: 22px 22px;
  }
  .column { box-shadow: 0 0 0 2px var(--navy-deep), 0 30px 80px rgba(11,46,94,.18); }
  .site-header::before { display: none; }
  .site-header__logo { visibility: hidden; }
  .side {
    display: flex; align-items: center; justify-content: center;
    position: fixed; top: 0; bottom: 0;
    width: calc((100vw - var(--col)) / 2);
    overflow: hidden;
  }
  .side--left { left: 0; }
  .side--right { right: 0; }
  .side__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .side__label {
    font-weight: 900; font-size: 15px; letter-spacing: .2em;
    background: var(--navy-deep); color: var(--white);
    padding: .3em 1em; border-radius: 4px;
  }
  .side__lead { margin-top: 26px; font-size: clamp(16px, 1.6vw, 20px); font-weight: 900; letter-spacing: .06em; }
  .side__title {
    display: flex; flex-direction: column; align-items: center;
    margin: 6px 0 10px;
    font-size: clamp(56px, 6vw, 96px);
    font-weight: 900; line-height: 1.12; letter-spacing: .02em;
    color: var(--navy-deep);
  }
  .side__title .is-accent { color: var(--orange); }
  .side__en { font-family: var(--ff-en); font-size: 20px; letter-spacing: .24em; color: var(--blue); }
  .side__period {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    margin-top: 26px; font-family: var(--ff-en); font-size: 26px; letter-spacing: .06em;
  }
  .side__period .en { font-size: 13px; color: var(--orange); letter-spacing: .3em; }
  .side__result { margin-top: 8px; font-family: var(--ff-jp); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
  .side__logo { width: 200px; margin-top: 34px; }
  .side__arch { position: absolute; left: -12%; bottom: -8%; width: 70%; height: 40%; color: var(--white); opacity: .8; }

  .side__stage { position: relative; width: min(30vw, 400px); }
  .side__stage-arch { position: absolute; left: 50%; bottom: 4%; width: 110%; height: 70%; transform: translateX(-50%); color: var(--white); }
  .side__chara { position: relative; width: 82%; margin: 0 auto; }
  .side--right .bubble { margin-top: 18px; }
}
@media (min-width: 1080px) and (max-height: 760px) {
  .side__title { font-size: clamp(42px, 4.4vw, 66px); margin: 18px 0 6px; }
  .side__logo { margin-top: 20px; }
  .side__stage { width: min(26vw, 320px); }
}

/* 吹き出し */
.bubble {
  position: relative;
  background: var(--white);
  border: 2px solid var(--navy-deep);
  border-radius: 999px;
  padding: .5em 1.4em;
  font-weight: 900; font-size: 16px;
}
.bubble--down::before {
  content: ''; position: absolute; left: 50%; top: -10px; transform: translateX(-50%) rotate(45deg);
  width: 16px; height: 16px; background: var(--white);
  border-left: 2px solid var(--navy-deep); border-top: 2px solid var(--navy-deep);
}

/* ふわふわ */
.float { animation: float 4.2s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- KV ---------- */
.kv {
  position: relative;
  padding: calc(var(--header-h) + 28px) 20px 72px;
  background: var(--lav);
  text-align: center;
  overflow: hidden;
}
.kv__label {
  display: inline-block;
  font-weight: 900; font-size: 14px; line-height: 1.5; letter-spacing: .16em;
}
.kv__label strong {
  display: inline-block; margin-top: 4px;
  font-size: 18px; color: var(--white); background: var(--orange);
  padding: .1em .8em; border-radius: 4px; letter-spacing: .3em;
}
.kv__title {
  display: flex; flex-direction: column; align-items: center;
  margin-top: 16px;
}
.kv__lead-line {
  font-size: clamp(17px, 4.6vw, 21px); font-weight: 900; letter-spacing: .06em;
  opacity: 0; transform: translateY(18px); animation: rise .7s var(--ease) .1s forwards;
}
.kv__name {
  position: relative;
  margin-top: 2px;
  font-size: clamp(62px, 18vw, 86px); font-weight: 900; line-height: 1.1; letter-spacing: .04em;
  color: var(--orange);
  opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease) .3s forwards;
}
.kv__name::before, .kv__name::after {
  content: ''; position: absolute; top: 46%; width: 18px; height: 23px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 52'%3E%3Cpath d='M20 2C20 2 3 23 3 34a17 17 0 0 0 34 0C37 23 20 2 20 2z' fill='%235e8ecb'/%3E%3C/svg%3E");
}
.kv__name::before { left: -28px; transform: rotate(-20deg); }
.kv__name::after { right: -28px; transform: rotate(20deg); }
.kv__title span { display: block; }
@keyframes rise { to { opacity: 1; transform: none; } }

.kv__stage { position: relative; margin: 10px auto 0; width: 86%; }
.kv__arch { position: absolute; left: 50%; bottom: 6%; width: 118%; height: 74%; transform: translateX(-50%); color: var(--white); }
.kv__chara { position: relative; width: 78%; margin: 0 auto; }
.kv__period {
  position: relative;
  display: inline-flex; flex-direction: column; align-items: center;
  margin-top: 18px; padding: 10px 22px 8px;
  background: var(--white); border: 2px solid var(--navy-deep); border-radius: 10px;
}
.kv__period .en { font-size: 12px; letter-spacing: .3em; color: var(--orange); line-height: 1; }
.kv__date { font-family: var(--ff-en); font-size: 26px; letter-spacing: .04em; line-height: 1.3; }
.kv__date small { font-size: 12px; margin-left: 3px; color: var(--blue); }
.kv__result { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.kv__scroll { margin-top: 26px; font-family: var(--ff-en); font-size: 11px; letter-spacing: .3em; }
.kv__scroll span { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.kv__scroll span::after { content: ''; width: 1.5px; height: 34px; background: var(--navy-deep); transform-origin: top; animation: scrollLine 1.8s ease-in-out infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.kv__wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 22px; color: var(--white); }

.kv__drops .d { position: absolute; color: var(--blue); opacity: .55; animation: drift 6s ease-in-out infinite; }
.kv__drops .d1 { width: 22px; height: 29px; top: 24%; left: 8%; }
.kv__drops .d2 { width: 14px; height: 18px; top: 34%; right: 10%; animation-delay: -2s; color: var(--lav-3); opacity: 1; }
.kv__drops .d3 { width: 18px; height: 23px; top: 58%; left: 6%; animation-delay: -4s; color: var(--lav-3); opacity: 1; }
@keyframes drift { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-14px) rotate(8deg); } }

/* ---------- リード ---------- */
.lead {
  position: relative;
  padding: 72px 24px 88px;
  text-align: center;
}
.lead::before, .lead::after {
  content: ''; position: absolute; width: 120px; height: 66px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 110'%3E%3Cg fill='none' stroke='%23e3e5f3' stroke-width='14' stroke-linecap='round'%3E%3Cpath d='M8 108a92 92 0 0 1 184 0'/%3E%3Cpath d='M38 108a62 62 0 0 1 124 0'/%3E%3Cpath d='M68 108a32 32 0 0 1 64 0'/%3E%3C/g%3E%3C/svg%3E");
}
.lead::before { top: 30px; right: -36px; }
.lead::after { bottom: 40px; left: -40px; }
.lead__shout {
  display: inline-block;
  font-size: 20px; font-weight: 900; line-height: 1.6;
  color: var(--orange);
  margin-bottom: 44px;
}
.lead__text { font-size: 16px; line-height: 2.2; margin-top: 30px; }
.lead__text--big { font-size: 22px; font-weight: 900; line-height: 1.8; margin-top: 44px; }
.lead__name { font-style: normal; font-size: 30px; color: var(--orange); letter-spacing: .04em; }
.lead .btn { margin-top: 44px; }

/* ---------- セクション共通 ---------- */
.sec { position: relative; padding: 80px 20px; }
.sec__head { text-align: center; margin-bottom: 36px; }
.sec__en { font-family: var(--ff-en); font-size: 15px; letter-spacing: .3em; color: var(--orange); }
.sec__ja {
  display: inline-block; position: relative;
  margin-top: 6px;
  font-size: 26px; font-weight: 900; line-height: 1.5; letter-spacing: .06em;
}
.sec__lead { margin-top: 18px; font-size: 14px; line-height: 2; text-align: left; }
.card {
  background: var(--white);
  border: 2px solid var(--navy-deep);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--lav-3);
}

/* ---------- プロフィール ---------- */
.profile { background: var(--paper); }
.profile__card { display: grid; grid-template-columns: 38% 1fr; gap: 12px; align-items: center; padding: 22px 18px 22px 12px; }
.profile__img { background: var(--lav); border-radius: 14px; padding: 16px 10px 10px; }
.profile__list > div { padding: 9px 0; border-bottom: 1.5px dotted var(--lav-3); }
.profile__list > div:last-child { border-bottom: 0; }
.profile__list dt { font-size: 11px; font-weight: 700; color: var(--blue); letter-spacing: .14em; line-height: 1.4; }
.profile__list dd { font-size: 14px; font-weight: 700; line-height: 1.6; }
.profile__name dd .q { display: block; font-size: 28px; font-weight: 900; color: var(--orange); letter-spacing: .12em; line-height: 1.3; }
.profile__name dd small { display: block; font-size: 11px; font-weight: 500; color: var(--gray); }

/* ---------- 3つのひみつ ---------- */
.secrets { background: var(--white); }
.secret { position: relative; padding: 0 4px; }
.secret + .secret { margin-top: 64px; }
.secret__no { text-align: center; }
.secret__no .en {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy-deep); color: var(--white); font-family: var(--ff-jp); font-weight: 900; font-size: 20px; letter-spacing: .02em;
}
.secret__title { margin-top: 12px; text-align: center; font-size: 22px; font-weight: 900; line-height: 1.5; }
.secret__visual {
  position: relative;
  margin: 22px 0 18px;
  aspect-ratio: 4 / 3;
  background: var(--lav);
  border-radius: 20px;
  display: grid; place-items: center;
  overflow: hidden;
}
.secret__text { font-size: 14px; line-height: 2; }
.secret__visual--shi { grid-template-columns: 58% 1fr; align-items: center; padding: 0 6%; gap: 4%; }
.secret__visual--shi img { position: relative; width: 100%; }
.shi {
  font-size: clamp(96px, 30vw, 140px); font-weight: 900; line-height: 1; color: var(--lav-3);
  text-align: center;
}
.shi-eq { display: block; font-size: 12px; font-weight: 700; color: var(--navy); letter-spacing: .1em; margin-top: 6px; }
.secret__visual--arch { background: var(--navy); }
.big-arch { position: absolute; left: 50%; bottom: -2px; width: 70%; height: 46%; transform: translateX(-50%); color: var(--white); }
.bridge-words { position: relative; display: grid; gap: 8px; margin-bottom: 26%; text-align: center; }
.bridge-words li {
  display: inline-block;
  background: var(--white); color: var(--navy-deep);
  font-weight: 900; font-size: 16px; letter-spacing: .1em;
  padding: .15em 1.2em; border-radius: 999px;
}
.bridge-words i { font-style: normal; color: var(--orange); margin: 0 .25em; }
.secret__visual--shoes img { width: 78%; }
.kujira {
  margin-top: 64px; padding: 22px 20px;
  border-radius: 16px; background: var(--paper);
  border-left: 6px solid var(--blue);
  font-size: 14px; line-height: 2;
}
.kujira__label { font-weight: 900; font-size: 16px; margin-bottom: 6px; }

/* ---------- 相棒 ---------- */
.buddy { background: var(--lav); }
.buddy__talk { display: grid; gap: 18px; }
.buddy__img { width: 64%; margin: 0 auto; }
.talk {
  position: relative;
  padding: 16px 20px;
  background: var(--white);
  border: 2px solid var(--navy-deep);
  border-radius: 18px;
  font-weight: 700; font-size: 15px; line-height: 1.9;
}
.talk::after {
  content: ''; position: absolute; width: 18px; height: 18px; background: var(--white);
  border-right: 2px solid var(--navy-deep); border-bottom: 2px solid var(--navy-deep);
}
.talk--whale { margin-right: 18%; }
.talk--whale::after { left: 38%; bottom: -10px; transform: rotate(45deg); }
.talk--penguin { margin-left: 12%; }
.talk--penguin::after { left: 26%; top: -10px; transform: rotate(-135deg); }
.buddy__note { margin-top: 34px; text-align: center; font-weight: 900; font-size: 17px; line-height: 1.9; }

/* ---------- ギャラリー ---------- */
.cheer { background: var(--white); padding-left: 0; padding-right: 0; }
.cheer .sec__head { padding: 0 20px; }
.carousel__track {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 18% 14px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.pose {
  flex: 0 0 64%;
  scroll-snap-align: center;
  background: var(--lav);
  border-radius: 20px;
  padding: 22px 16px 16px;
  text-align: center;
}
.pose img { height: 200px; width: auto; margin: 0 auto; object-fit: contain; }
.pose p { margin-top: 12px; font-weight: 900; font-size: 13px; white-space: nowrap; letter-spacing: .02em; }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 14px; }
.carousel__btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--navy-deep); background: var(--white); color: var(--navy-deep);
  font-size: 18px; font-weight: 900; cursor: pointer;
}
.carousel__btn:hover { background: var(--navy-deep); color: var(--white); }
.carousel__count { font-size: 15px; font-weight: 900; min-width: 5em; text-align: center; letter-spacing: .1em; }

/* ---------- お披露目の報告（紺地のカード） ---------- */
.announce {
  position: relative;
  margin-top: 40px; padding: 26px 22px 24px;
  background: var(--navy); color: var(--white);
  border-radius: 20px;
  overflow: hidden;
}

.announce__label { font-weight: 900; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.announce__label .en { background: var(--orange); color: var(--white); padding: .1em .6em; border-radius: 4px; font-size: 14px; }
.announce__date { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.announce__date .en { font-size: 58px; letter-spacing: .02em; }
.announce__date small { font-family: var(--ff-en); font-size: 16px; color: var(--lav-3); letter-spacing: .1em; }
.announce__time { margin-left: 6px; font-size: 20px; font-weight: 900; }
.announce__venue { margin-top: 10px; font-size: 20px; font-weight: 900; }
.announce__row { display: grid; grid-template-columns: 1fr 42%; align-items: center; gap: 8px; margin-top: 8px; }
.announce__match { font-size: 12px; line-height: 1.7; }
.announce__match strong { display: block; margin-top: 2px; font-size: 17px; letter-spacing: .04em; }
.announce__match strong span { white-space: nowrap; }
.announce__match i { font-style: normal; color: var(--orange-2); font-size: 13px; margin: 0 .2em; }
.announce__note { margin-top: 16px; padding-top: 14px; border-top: 1.5px dashed rgba(255,255,255,.35); font-size: 13px; line-height: 1.9; }
/* 高彩度の地に置くため白ふちをつける（ガイドライン「背景使用規定」） */
.announce__chara {
  width: 100%; margin-right: -8px;
  filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff);
}

/* ---------- 注意事項 ---------- */
.notes { background: var(--white); }
.acc details { border-bottom: 1.5px solid var(--lav-2); }
.acc details:first-child { border-top: 2px solid var(--navy-deep); }
.acc summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 16px 36px 16px 4px;
  font-weight: 900; font-size: 15px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--ff-en); font-size: 22px; color: var(--orange); transition: transform .2s;
}
.acc details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc details p { padding: 0 4px 18px; font-size: 13px; line-height: 1.95; }

/* ---------- 主催 ---------- */
.about { padding: 64px 24px 72px; background: var(--paper); text-align: center; }
.about__en { font-family: var(--ff-en); font-size: 13px; letter-spacing: .3em; color: var(--blue); }
.about__logo { width: 220px; margin: 16px auto 0; }
.about__text { margin-top: 24px; font-size: 13px; line-height: 2; text-align: left; }
.about__link { display: inline-block; margin-top: 22px; font-weight: 900; font-size: 14px; text-underline-offset: 5px; }

/* ---------- フッター ---------- */
.footer { position: relative; background: var(--navy-deep); color: var(--white); text-align: center; padding: 44px 20px 56px; }
.footer__wave { position: absolute; left: 0; top: -21px; width: 100%; height: 22px; color: var(--navy-deep); }
.footer img { width: 170px; margin: 0 auto; }
.footer__copy { margin-top: 18px; font-size: 11px; opacity: .8; }

/* ---------- スクロール表示 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- 名前の由来 ---------- */
.origin { background: var(--paper); }
.formula {
  position: relative; overflow: hidden;
  display: grid; justify-items: center; gap: 10px;
  padding: 28px 20px 30px;
  background: var(--white);
  border: 2px solid var(--navy-deep); border-radius: 20px;
  box-shadow: 6px 6px 0 var(--lav-3);
}
.formula__word {
  position: relative; z-index: 1;
  display: grid; justify-items: center; gap: 2px;
  font-size: 26px; font-weight: 900; letter-spacing: .08em;
  background: var(--lav); border-radius: 12px; padding: 10px 24px;
  min-width: 70%;
}
.formula__word small { font-size: 11px; font-weight: 700; color: var(--gray); letter-spacing: .02em; }
.formula__op { position: relative; z-index: 1; font-size: 20px; font-weight: 900; color: var(--blue); line-height: 1; }
.formula__op--eq { color: var(--orange); }
.formula__name {
  position: relative; z-index: 1;
  font-size: 40px; font-weight: 900; letter-spacing: .06em; color: var(--orange);
}
.formula__arch { position: absolute; left: 50%; bottom: -6px; width: 92%; height: 46%; transform: translateX(-50%); color: var(--lav); }
.origin__text { margin-top: 24px; font-size: 14px; line-height: 2; }

/* ---------- お披露目の報告 ---------- */
.report { background: var(--white); }
.report__talk { margin: 34px 12% 0 0; text-align: center; font-size: 16px; }
.report__talk::after { left: 46%; }
.report__img { width: 62%; margin: -6px auto 0; }
.report__thanks { margin-top: 26px; text-align: center; font-weight: 900; font-size: 16px; line-height: 1.9; }
