/* ============================================================
   月鯨みはね 公式サイト 共通CSS
   出典: outputs/2026-07-04/site_mock_top.html（本人承認済みモック）から抽出・拡張
   ============================================================ */

:root{
  --color-bg-white:#F4F8FB;
  --color-navy:#1B2A5C;
  --color-blue-main:#5BB8E8;
  --color-blue-light:#8ED4F2;
  --color-gold:#C9A85C;
  --color-hover-orange:#E8703A;
  --font-jp:"Noto Sans JP", sans-serif;
  --font-en:"Jost", sans-serif;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-jp);
  color:var(--color-navy);
  background:var(--color-bg-white);
  line-height:1.8;
  overflow-x:hidden;
  /* 内容が短いページでもフッターが画面下端に付くようにする */
  display:flex;
  flex-direction:column;
  min-height:100vh;
}
footer{
  margin-top:auto;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
section{position:relative;}

/* 画像のドラッグ保存・スマホ長押し保存の抑止 */
img, video{
  -webkit-user-drag:none;
  user-drag:none;
  -webkit-touch-callout:none;
  user-select:none;
}

.en-label{
  font-family:var(--font-en);
  letter-spacing:0.18em;
  font-weight:600;
}

.container{
  max-width:1080px;
  margin:0 auto;
  padding:0 24px;
}

/* ============ HERO（トップページ専用：フルスクリーン海中） ============ */
.hero{
  position:relative;
  width:100%;
  height:100vh;
  min-height:560px;
  overflow:hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.35), transparent 45%),
    linear-gradient(160deg, #8ED4F2 0%, #5BB8E8 45%, #2E7BB8 100%);
}

.hero__image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  /* 顔（画像の右上寄り・高さ約2割の位置）が常に残るよう、切り取り基準を上寄り・右寄りに固定 */
  object-position:80% 30%;
  z-index:1;
}
@media (max-width:600px){
  .hero__image{ object-position:100% 24%; }
}

.hero__image.is-broken{
  display:none;
}

.hero.has-image .hero__moon,
.hero.has-image .hero__whale{ display:none; }
.hero.has-image .hero__light-rays{ opacity:0.45; }
.hero.has-image .bubble{ opacity:0.4; }
.hero.has-image .hero__logo-en{
  color:#FFFFFF;
  text-shadow:
    0 0 2px rgba(27,42,92,0.95),
    0 2px 6px rgba(27,42,92,0.75),
    0 0 18px rgba(27,42,92,0.85),
    0 0 42px rgba(27,42,92,0.55);
}
.hero.has-image .hero__logo-jp,
.hero.has-image .hero__logo-sub{
  color:#FFFFFF;
  text-shadow:
    0 0 2px rgba(27,42,92,0.95),
    0 1px 5px rgba(27,42,92,0.75),
    0 0 14px rgba(27,42,92,0.8);
}

.hero__light-rays{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.18) 32%, transparent 44%),
    linear-gradient(100deg, transparent 55%, rgba(255,255,255,0.12) 65%, transparent 78%);
  animation:rays-move 9s ease-in-out infinite;
  mix-blend-mode:screen;
}
@keyframes rays-move{
  0%,100%{ transform:translateX(0) translateY(0); opacity:0.8; }
  50%{ transform:translateX(-3%) translateY(1%); opacity:1; }
}

.hero__bubbles{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  overflow:hidden;
}
.bubble{
  position:absolute;
  bottom:-10%;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%, rgba(255,255,255,0.95), rgba(255,255,255,0.15) 60%, rgba(255,255,255,0.05) 100%);
  opacity:0.75;
  animation-name:bubble-rise;
  animation-timing-function:ease-in;
  animation-iteration-count:infinite;
}
@keyframes bubble-rise{
  0%{ transform:translateY(0) translateX(0); opacity:0; }
  10%{ opacity:0.8; }
  90%{ opacity:0.5; }
  100%{ transform:translateY(-115vh) translateX(30px); opacity:0; }
}
.b1{ left:6%;  width:14px; height:14px; animation-duration:11s; animation-delay:0s;}
.b2{ left:16%; width:22px; height:22px; animation-duration:14s; animation-delay:2s;}
.b3{ left:28%; width:9px;  height:9px;  animation-duration:9s;  animation-delay:1s;}
.b4{ left:41%; width:18px; height:18px; animation-duration:13s; animation-delay:4s;}
.b5{ left:53%; width:12px; height:12px; animation-duration:10s; animation-delay:3s;}
.b6{ left:64%; width:26px; height:26px; animation-duration:16s; animation-delay:0.5s;}
.b7{ left:73%; width:10px; height:10px; animation-duration:8s;  animation-delay:5s;}
.b8{ left:84%; width:16px; height:16px; animation-duration:12s; animation-delay:2.5s;}
.b9{ left:92%; width:8px;  height:8px;  animation-duration:9.5s; animation-delay:1.5s;}
.b10{left:36%; width:7px;  height:7px;  animation-duration:7.5s; animation-delay:6s;}
.b11{left:78%; width:20px; height:20px; animation-duration:15s; animation-delay:3.5s;}
.b12{left:10%; width:10px; height:10px; animation-duration:10.5s; animation-delay:4.5s;}

.hero__moon{
  position:absolute;
  top:8%;
  left:6%;
  width:74px;
  height:74px;
  z-index:3;
  opacity:0.9;
  filter:drop-shadow(0 0 10px rgba(255,255,255,0.5));
}
@media (max-width:600px){
  .hero__moon{ width:46px; height:46px; top:6%; left:5%; }
}

.hero__whale{
  position:absolute;
  bottom:14%;
  left:4%;
  width:180px;
  z-index:3;
  opacity:0.5;
}
@media (max-width:900px){
  .hero__whale{ width:120px; bottom:20%; opacity:0.4; }
}
@media (max-width:600px){
  .hero__whale{ width:90px; bottom:24%; }
}

.hero__nav{
  position:absolute;
  top:24px;
  right:32px;
  z-index:6;
  display:flex;
  gap:28px;
  background:rgba(244,248,251,0.68);
  backdrop-filter:blur(5px);
  padding:10px 20px;
  border-radius:14px;
}
.hero__nav a{
  font-family:var(--font-en);
  font-size:0.85rem;
  letter-spacing:0.12em;
  color:var(--color-navy);
  padding-bottom:3px;
  border-bottom:1px solid transparent;
  transition:border-color 0.25s ease, color 0.25s ease;
  white-space:nowrap;
}
.hero__nav a:hover{
  color:var(--color-hover-orange);
  border-bottom-color:var(--color-hover-orange);
}
@media (max-width:640px){
  .hero__nav{
    top:18px;
    right:16px;
    left:16px;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:12px 18px;
    background:rgba(244,248,251,0.55);
    backdrop-filter:blur(3px);
    padding:8px 12px;
    border-radius:10px;
  }
  .hero__nav a{ font-size:0.72rem; }
}

.hero__logo-block{
  position:absolute;
  top:90px;
  right:0;
  height:calc(100% - 90px);
  z-index:5;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:center;
  padding-right:6%;
  text-align:right;
}
.hero__logo-en{
  font-family:var(--font-en);
  font-weight:700;
  color:var(--color-navy);
  line-height:1;
  font-size:clamp(1.6rem, 6.2vh, 4.2rem);
  letter-spacing:0.12em;
  writing-mode:vertical-rl;
  text-orientation:mixed;
  white-space:nowrap;
  max-height:78vh;
  text-shadow:0 2px 18px rgba(255,255,255,0.65);
}
.hero__logo-jp{
  margin-top:18px;
  font-size:clamp(1rem, 2vw, 1.3rem);
  font-weight:700;
  color:var(--color-navy);
  letter-spacing:0.08em;
}
.hero__logo-sub{
  margin-top:6px;
  font-family:var(--font-en);
  font-size:0.72rem;
  letter-spacing:0.22em;
  color:var(--color-gold);
  font-weight:600;
}
@media (max-width:900px){
  .hero__logo-block{ padding-right:5%; }
  .hero__logo-en{ font-size:clamp(1.4rem, 5.2vh, 3.2rem); }
}
@media (max-width:600px){
  .hero__logo-block{
    top:0;
    height:100%;
    justify-content:flex-end;
    padding-right:4%;
    padding-bottom:16%;
    align-items:flex-end;
  }
  .hero__logo-en{ font-size:clamp(1.2rem, 4.6vh, 2.4rem); max-height:64vh; }
}

.hero__scroll{
  position:absolute;
  bottom:34px;
  left:50%;
  transform:translateX(-50%);
  z-index:6;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.hero__scroll span{
  font-family:var(--font-en);
  font-size:0.7rem;
  letter-spacing:0.3em;
  color:var(--color-navy);
}
.hero__scroll .line{
  width:1px;
  height:46px;
  background:linear-gradient(to bottom, var(--color-navy), transparent);
  position:relative;
  overflow:hidden;
}
.hero__scroll .line::after{
  content:"";
  position:absolute;
  top:-100%;
  left:0;
  width:100%;
  height:100%;
  background:linear-gradient(to bottom, transparent, var(--color-gold));
  animation:scroll-line-move 2.2s ease-in-out infinite;
}
@keyframes scroll-line-move{
  0%{ top:-100%; }
  60%{ top:100%; }
  100%{ top:100%; }
}
/* 本番画像の上ではロゴと同じ「白＋濃紺の光彩」で視認性を確保する */
.hero.has-image .hero__scroll span{
  color:#FFFFFF;
  text-shadow:
    0 0 2px rgba(27,42,92,0.95),
    0 1px 5px rgba(27,42,92,0.75),
    0 0 14px rgba(27,42,92,0.8);
}
.hero.has-image .hero__scroll .line{
  background:linear-gradient(to bottom, #FFFFFF, transparent);
  filter:drop-shadow(0 0 3px rgba(27,42,92,0.85));
}

/* ============ 共通セクション見出し ============ */
.section-heading{
  text-align:center;
  margin-bottom:44px;
}
.section-heading .en{
  font-family:var(--font-en);
  font-size:clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing:0.22em;
  color:var(--color-gold);
  font-weight:700;
}
.section-heading .jp{
  margin-top:8px;
  font-size:0.95rem;
  letter-spacing:0.12em;
  color:var(--color-navy);
  font-weight:500;
}

/* PC幅でのみ有効な改行（スマホでは自然な折り返しに任せる） */
.br-pc{
  display:none;
}
@media (min-width:601px){
  .br-pc{
    display:inline;
  }
}

/* ============ ABOUT抜粋（トップページ用） ============ */
.about{
  padding:100px 0 90px;
  background:var(--color-bg-white);
  text-align:center;
}
.about__lead{
  font-size:clamp(1.3rem, 3vw, 1.7rem);
  font-weight:700;
  margin-bottom:26px;
  color:var(--color-navy);
}
.about__text{
  max-width:640px;
  margin:0 auto 34px;
  font-size:0.98rem;
  color:var(--color-navy);
}
.about__more{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-en);
  font-size:0.85rem;
  letter-spacing:0.14em;
  color:var(--color-navy);
  border-bottom:1px solid var(--color-gold);
  padding-bottom:4px;
  transition:color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.about__more:hover{
  color:var(--color-hover-orange);
  border-color:var(--color-hover-orange);
  transform:translateX(4px);
}

/* ============ LINKS ============ */
.links{
  padding:90px 0;
  background:linear-gradient(180deg, #EAF5FC 0%, var(--color-bg-white) 100%);
}
.links__grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:22px;
}
@media (max-width:800px){
  .links__grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:420px){
  .links__grid{ grid-template-columns:1fr; }
}
.link-btn{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:30px 12px;
  border:1.5px solid var(--color-gold);
  border-radius:20px;
  background:#FFFFFF;
  transition:background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.link-btn:hover{
  background:#FFF7EC;
  transform:translateY(-4px);
  box-shadow:0 10px 24px rgba(201,168,92,0.25);
}
.link-btn .icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
}
.link-btn .icon svg{
  width:26px;
  height:26px;
  fill:var(--color-navy);
  transition:fill 0.25s ease, transform 0.25s ease;
}
.link-btn:hover .icon svg{
  fill:var(--color-gold);
  transform:scale(1.08);
}
.link-btn .label{
  font-family:var(--font-en);
  font-size:0.85rem;
  letter-spacing:0.1em;
  font-weight:600;
  color:var(--color-navy);
}
.link-btn .desc{
  font-size:0.78rem;
  color:var(--color-navy);
  text-align:center;
  line-height:1.6;
}

/* ============ CONTACT誘導 ============ */
.contact-cta{
  padding:90px 0 100px;
  text-align:center;
  background:var(--color-bg-white);
}
.contact-cta__text{
  font-size:1rem;
  margin-bottom:30px;
  color:var(--color-navy);
}
.contact-cta__btn{
  display:inline-block;
  padding:18px 52px;
  background:var(--color-navy);
  color:#FFFFFF;
  font-family:var(--font-en);
  font-size:0.9rem;
  letter-spacing:0.14em;
  font-weight:600;
  border-radius:40px;
  transition:background 0.25s ease, transform 0.2s ease;
}
.contact-cta__btn:hover{
  background:var(--color-hover-orange);
  transform:translateY(-3px);
}

/* ============ FOOTER ============ */
footer{
  background:var(--color-navy);
  color:#EAF2FA;
  padding:56px 0 28px;
}
.footer__nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:28px;
  margin-bottom:30px;
}
.footer__nav a{
  font-family:var(--font-en);
  font-size:0.78rem;
  letter-spacing:0.14em;
  color:#EAF2FA;
  border-bottom:1px solid transparent;
  padding-bottom:3px;
  transition:border-color 0.25s ease, color 0.25s ease;
}
.footer__nav a:hover{
  color:var(--color-gold);
  border-color:var(--color-gold);
}
.footer__credit{
  text-align:center;
  font-size:0.72rem;
  color:#B9C6DD;
  margin-bottom:10px;
}
.footer__credit a{
  color:#B9C6DD;
  border-bottom:1px solid rgba(185,198,221,0.5);
  transition:color 0.25s ease, border-color 0.25s ease;
}
.footer__credit a:hover{
  color:var(--color-gold);
  border-color:var(--color-gold);
}
.footer__copyright{
  text-align:center;
  font-family:var(--font-en);
  font-size:0.72rem;
  letter-spacing:0.08em;
  color:#8CA0C2;
}

/* 全体レスポンシブ微調整 */
@media (max-width:375px){
  .about{ padding:70px 0 60px; }
  .links{ padding:60px 0; }
  .contact-cta{ padding:60px 0 70px; }
}

/* ============================================================
   下層ページ共通レイアウト（about/activity/links/guideline/contact）
   ============================================================ */

/* ヘッダー（白ベース） */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 32px;
  background:rgba(244,248,251,0.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(27,42,92,0.08);
}
.site-header__logo{
  font-family:var(--font-en);
  font-size:0.95rem;
  font-weight:700;
  letter-spacing:0.1em;
  color:var(--color-navy);
}
.site-header__logo span{
  display:block;
  font-family:var(--font-jp);
  font-size:0.68rem;
  letter-spacing:0.14em;
  color:var(--color-gold);
  margin-top:2px;
  font-weight:500;
}
.site-nav{
  display:flex;
  flex-wrap:wrap;
  gap:20px 24px;
}
.site-nav a{
  font-family:var(--font-en);
  font-size:0.8rem;
  letter-spacing:0.12em;
  color:var(--color-navy);
  padding-bottom:3px;
  border-bottom:1px solid transparent;
  transition:border-color 0.25s ease, color 0.25s ease;
  white-space:nowrap;
}
.site-nav a:hover{
  color:var(--color-hover-orange);
  border-bottom-color:var(--color-hover-orange);
}
.site-nav a[aria-current="page"]{
  color:var(--color-hover-orange);
  border-bottom-color:var(--color-hover-orange);
}
@media (max-width:700px){
  .site-header{
    flex-direction:column;
    align-items:flex-start;
    padding:14px 20px;
  }
  .site-nav{
    gap:10px 16px;
  }
  .site-nav a{ font-size:0.72rem; }
}

/* ページタイトル階層（英字大＝金／日本語小＝紺） */
.page-title{
  padding:64px 0 48px;
  text-align:center;
  background:linear-gradient(180deg, #EAF5FC 0%, var(--color-bg-white) 100%);
}
.page-title .en{
  font-family:var(--font-en);
  font-size:clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing:0.16em;
  color:var(--color-gold);
  font-weight:700;
  line-height:1.1;
}
.page-title .jp{
  margin-top:12px;
  font-size:clamp(0.9rem, 2vw, 1.05rem);
  letter-spacing:0.1em;
  color:var(--color-navy);
  font-weight:500;
}

/* 見出し英字のゴールドグラデーション（対応ブラウザのみ。非対応時は既存のcolor:var(--color-gold)が使われる） */
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .page-title .en,
  .section-heading .en{
    background:linear-gradient(180deg, #F1E3B5 0%, #C9A85C 50%, #8F6D2E 100%);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    color:transparent;
  }
}

/* 下層ページ本文共通 */
.page-section{
  padding:70px 0;
}
.page-section + .page-section{
  border-top:1px solid rgba(27,42,92,0.08);
}
.page-section__heading{
  font-family:var(--font-en);
  font-size:clamp(1.1rem, 2.6vw, 1.5rem);
  letter-spacing:0.14em;
  color:var(--color-navy);
  font-weight:700;
  margin-bottom:28px;
  padding-bottom:12px;
  border-bottom:2px solid var(--color-gold);
  display:table;
  margin-left:auto;
  margin-right:auto;
}
.page-section__lead{
  max-width:720px;
  margin:0 auto 32px;
  font-size:0.98rem;
  color:var(--color-navy);
}
.page-section__lead--narrow{
  max-width:640px;
}

/* PROFILE定義リスト（about.html） */
.profile-visual{
  position:relative;
  width:100%;
  max-width:360px;
  aspect-ratio:3/4;
  margin:0 auto 48px;
  border-radius:24px;
  overflow:hidden;
  /* 立ち絵動画の背景色（実測 #F2F6FA）に合わせて枠の境目を消す */
  background:#F2F6FA;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 30px rgba(27,42,92,0.08);
}
/* 立ち絵レイヤー：動画（最前面）→ ポスター画像 → 鯨SVG（最終フォールバック）の順 */
.profile-visual__poster,
.profile-visual__video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.profile-visual__poster{ z-index:2; }
.profile-visual__video{ z-index:3; }
/* 動きを控える設定の環境では動画を止め、静止画（ポスター）を見せる */
@media (prefers-reduced-motion: reduce){
  .profile-visual__video{ display:none; }
}
.profile-visual svg{
  width:60%;
  opacity:0.6;
}
.profile-visual__caption{
  position:absolute;
  bottom:14px;
  left:0;
  right:0;
  text-align:center;
  font-size:0.7rem;
  letter-spacing:0.08em;
  color:rgba(255,255,255,0.85);
  text-shadow:0 1px 4px rgba(27,42,92,0.6);
}

.profile-list{
  max-width:640px;
  margin:0 auto 48px;
}
.profile-list dl{
  display:grid;
  grid-template-columns:140px 1fr;
  gap:0;
}
.profile-list dt,
.profile-list dd{
  padding:16px 0;
  border-bottom:1px solid rgba(27,42,92,0.12);
}
.profile-list dt{
  font-family:var(--font-en);
  font-size:0.8rem;
  letter-spacing:0.14em;
  color:var(--color-gold);
  font-weight:700;
}
.profile-list dd{
  font-size:0.92rem;
  color:var(--color-navy);
}
.profile-list dt{
  align-self:stretch;
  display:flex;
  align-items:center;
}

/* LIKESアイコン（about.html） */
.likes-icons{
  display:flex;
  align-items:flex-start;
  gap:28px;
  flex-wrap:wrap;
}
.likes-icons__item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  text-align:center;
}
.likes-icons__circle{
  width:88px;
  height:88px;
  border-radius:50%;
  background:#FFFFFF;
  border:1px solid #C5DCEB;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--color-navy);
  flex-shrink:0;
}
.likes-icons__circle svg{
  width:40px;
  height:40px;
}
.likes-icons__label{
  font-family:var(--font-jp);
  font-weight:500;
  font-size:0.9rem;
  color:var(--color-navy);
}
.likes-icons__sub{
  font-size:0.75rem;
  color:#5A6B8C;
}
@media (max-width:600px){
  .likes-icons{
    gap:16px;
  }
  .likes-icons__circle{
    width:64px;
    height:64px;
  }
  .likes-icons__circle svg{
    width:30px;
    height:30px;
  }
  .likes-icons__label{
    font-size:0.78rem;
  }
  .likes-icons__sub{
    font-size:0.66rem;
  }
}
@media (max-width:560px){
  .profile-list dl{
    grid-template-columns:1fr;
  }
  .profile-list dt{
    padding-bottom:4px;
    border-bottom:none;
  }
  .profile-list dd{
    padding-top:0;
  }
}

.credit-box{
  max-width:640px;
  margin:0 auto;
  padding:28px 32px;
  background:#FFFFFF;
  border:1.5px solid var(--color-gold);
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  text-align:left;
}
.credit-box__icon{
  width:64px;
  height:64px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid rgba(27,42,92,0.15);
  flex-shrink:0;
}
.credit-box__body{
  flex:0 1 auto;
  min-width:0;
}
@media (max-width:420px){
  .credit-box{
    flex-direction:column;
    text-align:center;
  }
  .credit-box__links{
    justify-content:center;
  }
}
.credit-box__title{
  font-family:var(--font-en);
  font-size:0.85rem;
  letter-spacing:0.12em;
  color:var(--color-navy);
  font-weight:700;
  margin-bottom:16px;
}
.credit-box__links{
  display:flex;
  justify-content:flex-start;
  gap:24px;
  flex-wrap:wrap;
}
.credit-box__links a{
  font-family:var(--font-en);
  font-size:0.8rem;
  letter-spacing:0.1em;
  color:var(--color-navy);
  border-bottom:1px solid var(--color-gold);
  padding-bottom:3px;
  transition:color 0.25s ease, border-color 0.25s ease;
}
.credit-box__links a:hover{
  color:var(--color-hover-orange);
  border-color:var(--color-hover-orange);
}

/* activity.html 用 */
.skill-list{
  max-width:720px;
  margin:0 auto 8px;
  display:grid;
  gap:16px;
}
.skill-list li{
  display:flex;
  align-items:baseline;
  gap:16px;
  padding:18px 24px;
  background:#FFFFFF;
  border-radius:14px;
  border:1px solid rgba(27,42,92,0.1);
}
.skill-list .skill-name{
  font-weight:700;
  color:var(--color-navy);
  min-width:120px;
}
.skill-list .skill-note{
  font-size:0.88rem;
  color:var(--color-navy);
}

.history-list{
  max-width:720px;
  margin:0 auto;
  display:grid;
  gap:0;
}
.history-list li{
  display:grid;
  grid-template-columns:200px 1fr;
  gap:16px;
  padding:18px 4px;
  border-bottom:1px solid rgba(27,42,92,0.12);
}
.history-list .period{
  font-family:var(--font-en);
  font-size:0.82rem;
  letter-spacing:0.06em;
  color:var(--color-gold);
  font-weight:600;
}
.history-list .desc{
  font-size:0.9rem;
  color:var(--color-navy);
}
@media (max-width:560px){
  .history-list li{
    grid-template-columns:1fr;
    gap:4px;
  }
}

/* guideline.html 用 */
.guideline-body{
  max-width:720px;
  margin:0 auto;
}
.guideline-body h2{
  font-family:var(--font-jp);
  font-size:1.15rem;
  color:var(--color-navy);
  font-weight:700;
  margin:40px 0 18px;
  padding-bottom:8px;
  border-bottom:2px solid var(--color-gold);
}
.guideline-body h2:first-child{
  margin-top:0;
}
/* 切り抜きガイドラインの小見出し（ファンアート側のh2と同じ見た目） */
.guideline-body h3{
  font-family:var(--font-jp);
  font-size:1.15rem;
  color:var(--color-navy);
  font-weight:700;
  margin:40px 0 18px;
  padding-bottom:8px;
  border-bottom:2px solid var(--color-gold);
}
/* ガイドライン大区切り（ファンアート／切り抜き） */
.guideline-body h2.section-divider{
  font-size:1.45rem;
  text-align:center;
  letter-spacing:0.06em;
  margin:0 0 40px;
  padding-bottom:14px;
  border-bottom:2px solid var(--color-gold);
}
.kirinuki-body{
  margin-top:88px;
}
.guideline-body p{
  font-size:0.94rem;
  color:var(--color-navy);
  margin-bottom:16px;
}
.guideline-body ul,
.guideline-body ol{
  margin:0 0 16px 1.4em;
  font-size:0.94rem;
  color:var(--color-navy);
}
.guideline-body ul{ list-style:disc; }
.guideline-body ol{ list-style:decimal; }
.guideline-body li{
  margin-bottom:8px;
}
.guideline-body li ul,
.guideline-body li ol{
  margin-top:8px;
}
.guideline-note{
  max-width:720px;
  margin:48px auto 0;
  padding:24px 28px;
  background:#FFFFFF;
  border:1.5px dashed rgba(27,42,92,0.3);
  border-radius:16px;
  text-align:center;
  font-size:0.88rem;
  color:var(--color-navy);
}

/* ファンアート向け参考資料（三面図） */
.ref-section{
  max-width:720px;
  margin:72px auto 0;
}
.ref-section__title{
  font-size:1.15rem;
  font-weight:700;
  color:var(--color-navy);
  border-bottom:2px solid var(--color-gold);
  padding-bottom:10px;
  margin-bottom:16px;
}
.ref-section__lead{
  font-size:0.92rem;
  margin-bottom:24px;
}
.ref-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}
@media (max-width:800px){
  .ref-grid{ grid-template-columns:1fr; }
}
.ref-item{
  margin:0;
}
.ref-item__zoom{
  display:block;
  width:100%;
  margin:0;
  padding:0;
  background:none;
  font:inherit;
  cursor:zoom-in;
  border-radius:16px;
  overflow:hidden;
  border:1.5px solid rgba(27,42,92,0.15);
  transition:transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ref-item__zoom:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(27,42,92,0.18);
  border-color:var(--color-gold);
}
.ref-item img{
  width:100%;
  height:auto;
  display:block;
}
.ref-item figcaption{
  margin-top:10px;
  text-align:center;
  font-size:0.88rem;
  font-weight:500;
  color:var(--color-navy);
}
.ref-section__note{
  margin-top:22px;
  font-size:0.8rem;
  color:rgba(27,42,92,0.75);
  text-align:center;
}

/* 三面図ライトボックス */
.ref-lightbox{
  border:none;
  padding:0;
  background:transparent;
  overflow:visible;
  /* 共通リセット（*{margin:0}）で消えるdialog標準の中央寄せを復元 */
  margin:auto;
  opacity:0;
  transform:translateY(18px) scale(0.97);
  transition:
    opacity 0.35s ease,
    transform 0.4s cubic-bezier(0.22, 0.8, 0.36, 1),
    overlay 0.4s ease allow-discrete,
    display 0.4s ease allow-discrete;
}
.ref-lightbox[open]{
  opacity:1;
  transform:none;
}
@starting-style{
  .ref-lightbox[open]{
    opacity:0;
    transform:translateY(18px) scale(0.97);
  }
}
.ref-lightbox::backdrop{
  background:
    radial-gradient(ellipse at 50% -10%, rgba(142,212,242,0.22), transparent 55%),
    linear-gradient(180deg, rgba(16,26,60,0.92) 0%, rgba(8,13,33,0.95) 100%);
  backdrop-filter:blur(3px);
  opacity:0;
  transition:
    opacity 0.4s ease,
    overlay 0.4s ease allow-discrete,
    display 0.4s ease allow-discrete;
}
.ref-lightbox[open]::backdrop{
  opacity:1;
}
@starting-style{
  .ref-lightbox[open]::backdrop{
    opacity:0;
  }
}
.ref-lightbox__bubbles{
  position:fixed;
  inset:0;
  pointer-events:none;
  overflow:hidden;
  z-index:0;
}
.ref-lightbox__bubbles span{
  position:absolute;
  bottom:-4vh;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0.12) 60%, rgba(255,255,255,0.04) 100%);
  opacity:0;
  animation:lb-bubble-rise 9s ease-in infinite;
}
.ref-lightbox__bubbles span:nth-child(1){ left:8%;  width:12px; height:12px; animation-duration:10s; animation-delay:0.5s; }
.ref-lightbox__bubbles span:nth-child(2){ left:18%; width:20px; height:20px; animation-duration:13s; animation-delay:2s; }
.ref-lightbox__bubbles span:nth-child(3){ left:30%; width:8px;  height:8px;  animation-duration:8s;  animation-delay:4s; }
.ref-lightbox__bubbles span:nth-child(4){ left:70%; width:10px; height:10px; animation-duration:9s;  animation-delay:1s; }
.ref-lightbox__bubbles span:nth-child(5){ left:82%; width:18px; height:18px; animation-duration:14s; animation-delay:3s; }
.ref-lightbox__bubbles span:nth-child(6){ left:92%; width:9px;  height:9px;  animation-duration:8.5s; animation-delay:5.5s; }
@keyframes lb-bubble-rise{
  0%{ transform:translateY(0); opacity:0; }
  10%{ opacity:0.7; }
  85%{ opacity:0.4; }
  100%{ transform:translateY(-108vh); opacity:0; }
}
.ref-lightbox__img{
  display:block;
  position:relative;
  z-index:1;
  max-width:min(92vw, 1600px);
  max-height:86vh;
  width:auto;
  height:auto;
  border-radius:12px;
  border:1px solid rgba(201,168,92,0.45);
  box-shadow:0 18px 60px rgba(0,0,0,0.5);
}
.ref-lightbox__close{
  position:absolute;
  top:-14px;
  right:-14px;
  width:36px;
  height:36px;
  border-radius:50%;
  border:none;
  background:#FFFFFF;
  color:var(--color-navy);
  font-size:1.3rem;
  line-height:1;
  cursor:pointer;
  box-shadow:0 4px 14px rgba(0,0,0,0.35);
  /* 画像（z-index:1）より必ず前面に出す */
  z-index:2;
  transition:color 0.25s ease, transform 0.25s ease;
}
.ref-lightbox__close:hover{
  color:var(--color-hover-orange);
  transform:scale(1.08);
}
@media (max-width:600px){
  .ref-lightbox__close{
    top:-8px;
    right:0;
  }
}
@media (prefers-reduced-motion: reduce){
  .ref-lightbox,
  .ref-lightbox::backdrop{ transition:none; transform:none; }
  .ref-lightbox__bubbles span{ animation:none; opacity:0; }
}

/* contact.html 用 */
.contact-notes{
  max-width:640px;
  margin:0 auto 40px;
  padding:24px 28px;
  background:#FFFFFF;
  border-radius:16px;
  border:1px solid rgba(27,42,92,0.1);
}
.contact-notes p{
  font-size:0.9rem;
  color:var(--color-navy);
  margin-bottom:10px;
}
.contact-notes p:last-child{
  margin-bottom:0;
}

.work-info{
  max-width:720px;
  margin:0 auto 48px;
  text-align:left;
}
.work-info h2{
  font-family:var(--font-jp);
  font-size:1.15rem;
  color:var(--color-navy);
  font-weight:700;
  margin:40px 0 18px;
  padding-bottom:8px;
  border-bottom:2px solid var(--color-gold);
}
.work-info h2:first-child{
  margin-top:0;
}
.work-info p{
  font-size:0.94rem;
  color:var(--color-navy);
  margin-bottom:16px;
}
.work-info ul{
  margin:0 0 16px 1.4em;
  font-size:0.94rem;
  color:var(--color-navy);
  list-style:disc;
}
.work-info li{
  margin-bottom:8px;
}

/* 制定日・最終更新日の注記（guideline.html / privacy.html 共通） */
.policy-date{
  margin-top:32px;
  text-align:right;
  font-size:0.85rem;
  color:rgba(27,42,92,0.6);
}

/* 404.html 用 */
.notfound-body{
  max-width:520px;
  margin:0 auto;
  text-align:center;
}
.notfound-body p{
  font-size:0.94rem;
  color:var(--color-navy);
  margin-bottom:12px;
}

/* activity.html ピックアップ */
.pickup-grid{
  /* 「これまでの活動」と同じ列幅に揃える */
  max-width:720px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px 24px;
}
@media (max-width:700px){
  .pickup-grid{ grid-template-columns:1fr; }
}
.pickup-item{
  display:block;
}
.pickup-item img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:16px;
  border:1.5px solid rgba(27,42,92,0.15);
  transition:transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pickup-item:hover img{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(27,42,92,0.18);
  border-color:var(--color-gold);
}
.pickup-item__label{
  display:block;
  margin-top:10px;
  text-align:center;
  font-size:0.88rem;
  font-weight:500;
  color:var(--color-navy);
}
.pickup-more{
  max-width:720px;
  margin:48px auto 0;
}
.pickup-more__title{
  font-size:1rem;
  font-weight:700;
  color:var(--color-navy);
  border-bottom:2px solid var(--color-gold);
  display:table;
  margin:0 auto 18px;
  padding-bottom:8px;
}
.pickup-more ul{
  text-align:center;
}
.pickup-more li{
  margin-bottom:10px;
}
.pickup-more a{
  font-size:0.92rem;
  color:var(--color-navy);
  border-bottom:1px solid var(--color-gold);
  padding-bottom:2px;
  transition:color 0.25s ease, border-color 0.25s ease;
}
.pickup-more a:hover{
  color:var(--color-hover-orange);
  border-color:var(--color-hover-orange);
}
.notfound-whale{
  display:block;
  width:220px;
  max-width:60%;
  margin:32px auto;
  opacity:0.4;
}
.notfound-body .contact-cta__btn{
  margin-top:8px;
}
