/* ============================================
   海凪 澪 official site — Home (index) styles
   claude.ai/design「海凪 澪_Official」index.dc.html 由来
   ============================================ */

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #dbe7f1;
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(104, 196, 223, .35); }
a { color: inherit; }

/* スキップリンク（キーボード操作時のみ表示） */
.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 500;
  padding: 10px 18px;
  background: #1A3A5C;
  color: #fff;
  font-size: 13px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* 固定背景 + ベール */
.fx-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url('../images/bg.jpg') center top / cover no-repeat;
}
.fx-veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(250, 253, 255, .46) 0%, rgba(240, 247, 252, .56) 45%, rgba(233, 243, 250, .64) 100%);
}

/* アニメーション */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(46px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes floatGlow {
  0%, 100% { opacity: .45; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -54%) scale(1.16); }
}
@keyframes bubRise {
  0% { transform: translateY(0) translateX(0) scale(.9); opacity: 0; }
  12% { opacity: .9; }
  82% { opacity: .65; }
  100% { transform: translateY(-92vh) translateX(var(--bx, 12px)) scale(1.1); opacity: 0; }
}
@keyframes jellyFloat {
  0% { transform: translateY(70px); opacity: 0; }
  10% { opacity: .75; }
  88% { opacity: .6; }
  100% { transform: translateY(-94vh); opacity: 0; }
}
@keyframes jellyPulse {
  0%, 100% { transform: scale(1, 1); }
  50% { transform: scale(1.2, .8); }
}
@keyframes tentSway {
  0%, 100% { transform: scaleY(1) skewX(-6deg); }
  50% { transform: scaleY(1.26) skewX(6deg); }
}

.an1 { animation: fadeUp 1.1s cubic-bezier(.16, 1, .3, 1) .05s both; }
.an2 { animation: fadeUp 1.1s cubic-bezier(.16, 1, .3, 1) .26s both; }
.an3 { animation: fadeUp 1.1s cubic-bezier(.16, 1, .3, 1) .46s both; }
.an4 { animation: fadeUp 1.1s cubic-bezier(.16, 1, .3, 1) .66s both; }

.reveal {
  opacity: 0;
  transform: translateY(52px) scale(.97);
  transition: opacity 1.1s cubic-bezier(.16, 1, .3, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* 環境演出（泡・クラゲ） */
.amb {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bub {
  position: absolute;
  bottom: -30px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .9), rgba(200, 232, 248, .28) 60%, rgba(170, 215, 240, .08));
  border: 1px solid rgba(220, 242, 252, .55);
  box-shadow: 0 0 10px rgba(190, 228, 248, .35);
  animation: bubRise linear infinite;
}
.jelly {
  position: absolute;
  bottom: -160px;
  width: 58px;
  height: 86px;
  animation: jellyFloat linear infinite;
}
.jbell {
  width: 58px;
  height: 40px;
  border-radius: 52% 52% 46% 46%;
  background: radial-gradient(ellipse at 50% 28%, rgba(232, 247, 253, .62), rgba(158, 210, 238, .26) 70%, rgba(140, 200, 232, .06));
  box-shadow: 0 0 26px rgba(175, 222, 246, .45);
  transform-origin: 50% 40%;
  animation: jellyPulse 4s ease-in-out infinite;
}
.jtent {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: -5px;
}
.jtent i {
  display: block;
  width: 2px;
  height: 38px;
  background: linear-gradient(180deg, rgba(190, 228, 248, .65), transparent);
  border-radius: 2px;
  transform-origin: top center;
  animation: tentSway 3.6s ease-in-out infinite;
}
.jtent i:nth-child(2) { height: 30px; animation-delay: .4s; }
.jtent i:nth-child(3) { height: 44px; animation-delay: .8s; }
.jtent i:nth-child(4) { height: 28px; animation-delay: 1.2s; }

/* ナビリンク */
.navlink {
  position: relative;
  display: block;
  padding: 6px 2px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #4A7FA5;
  text-decoration: none;
  transition: color .25s;
}
.navlink::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #68c4df;
  transform: translateX(-50%);
  transition: width .25s;
}
.navlink:hover, .navlink.on { color: #1A3A5C; }
.navlink:hover::after, .navlink.on::after { width: 100%; }

/* ライブ一覧（live-data.js が生成するマークアップと共通） */
.live-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(120, 160, 190, .34);
}
.live-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px 6px 28px 2px;
  border-bottom: 1px solid rgba(120, 160, 190, .26);
  transition: background .25s, padding-left .25s;
}
.live-item:hover { background: rgba(255, 255, 255, .28); padding-left: 10px; }
.live-item.ended { opacity: .6; }
.live-date {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  color: #1A3A5C;
}
.live-date small {
  display: block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .3em;
  color: #4A7FA5;
  text-transform: uppercase;
}
.live-venue {
  font-family: 'Shippori Mincho', serif;
  font-size: 20px;
  color: #1A3A5C;
  margin: 0;
}
.live-detail {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 13px;
  color: #4A7FA5;
  margin: 5px 0 0;
}
.live-status {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 9.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #7A909E;
  border: 1px solid rgba(140, 210, 235, .6);
  border-radius: 50px;
  padding: 5px 13px;
  white-space: nowrap;
}
.live-status.confirmed { color: #2f5f88; border-color: #68c4df; }
.live-status.ended { color: #7A909E; border-color: rgba(120, 160, 190, .4); }
.tweet-embed {
  grid-column: 1 / -1;
  display: flex;
  gap: 20px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(120, 160, 190, .3);
}
.tweet-embed-image {
  width: 120px;
  height: auto;
  border-radius: 4px;
  flex-shrink: 0;
  object-fit: cover;
}
.tweet-embed-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.tweet-embed-text {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  color: #4A7FA5;
  margin: 0;
  white-space: pre-line;
  overflow-wrap: break-word;
}
.tweet-embed-link {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #1A3A5C;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 58, 92, .4);
  align-self: flex-start;
}
.tweet-embed-link:hover { border-color: #1A3A5C; }

/* Movie スライダー（movie.html と共有するコンポーネント） */
.mv-slider { position: relative; width: 100%; overflow: hidden; }
.mv-slider__track { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.mv-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #cfe0ee;
  cursor: pointer;
  overflow: hidden;
}
.mv-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 6s ease;
}
.mv-slide:hover .mv-slide__img { transform: scale(1.05); }
.mv-slide__ov {
  position: absolute;
  inset: 0;
  background: rgba(16, 40, 68, .28);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.mv-slide:hover .mv-slide__ov { opacity: 1; }
.mv-slide__play {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1A3A5C;
  font-size: 24px;
  padding-left: 5px;
  transition: transform .25s;
}
.mv-slide:hover .mv-slide__play { transform: scale(1.08); }
.mv-slide__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 30px;
  background: linear-gradient(0deg, rgba(12, 34, 56, .82), transparent);
}
.mv-slide__title {
  font-family: 'Shippori Mincho', serif;
  font-size: 19px;
  color: #fff;
  margin: 0 0 4px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}
.mv-slide__date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  letter-spacing: .1em;
  color: rgba(210, 232, 246, .9);
  margin: 0;
}
.mv-slider__badge {
  position: absolute;
  top: 20px;
  right: 32px;
  z-index: 2;
  padding: 9px 18px;
  border-radius: 50px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #1A3A5C;
  text-decoration: none;
  transition: background .25s;
}
.mv-slider__badge:hover { background: #fff; }
.mv-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .5);
  color: #1A3A5C;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s;
}
.mv-slider__arrow:hover { background: #fff; }
.mv-slider__arrow--prev { left: 20px; }
.mv-slider__arrow--next { right: 20px; }
.mv-slider__counter {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  padding: 5px 16px;
  border-radius: 50px;
  background: rgba(16, 40, 68, .55);
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: .12em;
}

/* お問い合わせフォーム */
.field-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(120, 160, 190, .45);
  padding: 11px 2px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 15px;
  color: #1A3A5C;
  outline: none;
  transition: border-color .25s;
}
.field-input:focus { border-bottom-color: #68c4df; }
.field-input::placeholder { color: #9db3c2; }
textarea.field-input { resize: vertical; min-height: 110px; }

.sbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 40px;
  border-radius: 50px;
  border: 1px solid rgba(120, 160, 190, .55);
  background: rgba(255, 255, 255, .4);
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: .28em;
  color: #1A3A5C;
  cursor: pointer;
  transition: all .25s;
}
.sbtn:hover {
  background: rgba(255, 255, 255, .7);
  border-color: #68c4df;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(90, 160, 205, .22);
}

.contact-sns-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  letter-spacing: .1em;
  color: #1A3A5C;
  text-decoration: none;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.contact-sns-link:hover { border-bottom-color: #68c4df; }

/* SP ドロワー */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(78vw, 320px);
  background: rgba(20, 44, 68, .78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  z-index: 300;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  padding: 40px 40px 32px;
}
.drawer.open { transform: translateX(0); }
.drawer-links {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.drawer-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  letter-spacing: .2em;
  color: #fff;
  text-decoration: none;
  padding: 12px 0;
}
.drawer-sns {
  display: flex;
  gap: 14px;
  justify-content: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .25);
}
.drawer-sns a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(214, 240, 251, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* ハンバーガーボタン */
.artist-menu-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #1A3A5C;
  cursor: pointer;
  padding: 4px;
}
.artist-menu-btn span {
  display: block;
  height: 1.4px;
  width: 100%;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease, width .25s ease;
}
.artist-menu-btn span:nth-child(2) { width: 74%; }
.artist-menu-btn span:nth-child(3) { width: 48%; }
.artist-menu-btn:hover span:nth-child(2),
.artist-menu-btn:hover span:nth-child(3) { width: 100%; }
.artist-menu-btn:hover { color: #68c4df; }
.artist-menu-btn[aria-expanded="true"] span { width: 100%; }
.artist-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(28deg); }
.artist-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.artist-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-28deg); }

/* 動画モーダル */
.movie-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.movie-modal[hidden] { display: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .an1, .an2, .an3, .an4, .bub, .jelly, .jbell, .jtent i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .amb { display: none; }
}

/* レスポンシブ */
@media (max-width: 820px) {
  .nav-links-d { display: none !important; }
  .nav-burger { display: flex !important; }
  .hero-name { font-size: 64px !important; }
  .profile-grid { grid-template-columns: 1fr !important; text-align: center; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .live-item { grid-template-columns: auto 1fr !important; gap: 16px !important; }
  .live-date { font-size: 18px; }
  .live-status { grid-column: 2; justify-self: start !important; margin-top: 8px; }
  .tweet-embed { flex-direction: column; }
  .tweet-embed-image { width: 100%; max-width: 220px; }
  .mv-slide__play { width: 64px; height: 64px; font-size: 22px; }
  .mv-slide__title { font-size: 16px; }
  .mv-slider__arrow { width: 36px; height: 36px; font-size: 18px; }
  .mv-slider__badge { top: 14px; right: 16px; padding: 7px 14px; font-size: 9px; }
  .mv-slider__counter { right: 14px; bottom: 14px; padding: 4px 12px; font-size: 12px; }
}
@media (max-width: 480px) {
  .hero-name { font-size: 44px !important; }
  section { padding-left: 20px !important; padding-right: 20px !important; }
  .mv-slider-section { padding-left: 0 !important; padding-right: 0 !important; }
}
