/* =====================================================
   Reset / Base
===================================================== */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Noto Sans JP", sans-serif;
    background: white;
    color: var(--text-main);
    line-height: 1.7;

    /* スクロール設定 */
    overflow-x: hidden;   /* 横スクロール禁止 */
    overflow-y: auto;     /* 縦スクロールはhtml側で管理 */
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    overflow: visible;    /* body側でスクロールさせない */
}

/* リンク */
a {
    color: var(--text-accent);
    text-decoration: none;
    transition: 0.25s ease;
}
a:hover {
    color: var(--accent-dark);
    opacity: 0.9;
}

/* =====================================================
   Color Variables
===================================================== */
:root {
  --bg-main: #f4ffff;
  --bg-sub: #e7fafa;

  --card-bg: #f4ffff;
  --card-soft: #f4ffff;
  --card-border: #73b5b1;

  --text-main: #083332;
  --text-heading: #006e6a;
  --text-accent: #006e6a;
  --text-sub: #356c69;

  --accent: #44bfb7;
  --accent-light: #93dcd8;
  --accent-dark: #2fa59e;

  --line: #73b5b1;
  --shadow: rgba(68, 191, 183, 0.2);
}




/* =========================
   Opening（葉のみ・最軽量）
========================= */
#opening {
  position: fixed;
  inset: 0;
  background: #a7f9c3; /* 抹茶色 */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

/* 葉っぱ */
.leaf {
  width: 150px;
  height: 150px;
  background: url("./images/leaf.png") no-repeat center / contain;

  transform: translateY(-120vh) rotate(15deg);
  opacity: 0;

  animation: leaf-drop 2.0s cubic-bezier(.22,.61,.36,1) forwards;
}

/* 落下 → 着地で終了 */
@keyframes leaf-drop {
  0% {
    transform: translateY(-120vh) rotate(15deg);
    opacity: 0;
  }

  80% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
}


/* =====================================================
   Header（常時表示・画像文字 完成形）
===================================================== */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;

    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #4ac179;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    z-index: 999;
}

/* =====================================================
   ロゴ画像
===================================================== */
.sticky-header .logo {
    height: 50px;
    width: auto;
    display: block;
    flex-shrink: 0;
    cursor: pointer;
}

/* =====================================================
   ナビ（横並び）
===================================================== */
.sticky-header .nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 7.5px;
    margin: 0;
    padding: 0;
}

/* aタグ（画像前提） */
.sticky-header .nav li a {
    display: flex;
    align-items: center;
    padding: 0px 7.5px;
    border-radius: 0px;
}

/* ナビ画像文字 */
.sticky-header .header-menu {
    height: 50px;
    width: auto;
    display: block;
}


/* =====================================================
   固定ヘッダー分の余白
===================================================== */
body {
    padding-top: 60px;
}





/* =====================================================
   Sections（共通デザイン）
===================================================== */
section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

h2 {
    font-size: 2.0rem;
    margin-bottom: 20px;
    border-bottom: 5px solid var(--accent);
    padding-left: 10px;
    letter-spacing: 0.05em;
    color: var(--text-heading);
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-left: 10px;
    letter-spacing: 0.05em;
    color: var(--text-heading);
    text-align: center;
}




/* =====================================================
  ハロー画像
===================================================== */
.hero {
    width: 100%;
    overflow: hidden;
    line-height: 0;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;

    transform: scale(1.1);
    transform-origin: center;
}

.hero-overlay {
  position: absolute;
  width: 25%;          /* ← ここでサイズ調整 */
  max-width: 400px;    /* 大画面でデカくなりすぎ防止 */
  height: auto;

  top: 25%;
}





/* =============================
   NEWS セクション（横並びレイアウト）
============================= */
.news-section {
  display: flex;            /* 横並びにする */
  align-items: flex-start;  /* 上揃え */
  gap: 20px;                /* アイコンとの距離 */
  max-width: 900px;
  width: 100%;
  margin: 80px auto 0;
  padding: 0 20px;
}

/* NEWSアイコン */
.news-icon {
  width: 250px;     /* 好みで調整 */
  height: auto;
  flex-shrink: 0;   /* 縮まないよう固定 */
  margin-top: 8px;  /* 微調整 */
}

/* NEWS一覧 */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;            /* こちらが広がる */
  border-top: 1px solid #ddd;
}

/* 1つのNEWS */
.news-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}

/* 日付 */
.news-date {
  min-width: 110px;
  color: #666;
  font-weight: 600;
  font-size: 0.95rem;
}

/* NEWSリンク */
.news-list a {
  color: #1a1a1a;
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
  transition: all 0.2s ease;
}

.news-list a:hover {
  color: #4ac179;
  text-decoration: underline;
}



/* =====================================================
   Profile（縦並び＋画像は右に配置するレイアウト）
===================================================== */

.profile-section {
  width: 100%;
  padding: 40px 20px;
}

/* タイトル → 本文＋画像 の縦構造 */
.profile-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

/* ▼ 1. プロフィールタイトル画像 ---------------- */
.profile-title-img {
  width: 100%;
  text-align: center;
}

.profile-title-img img {
  width: 260px;
  max-width: 90%;
  display: block;
  margin: 0 auto;
}

/* ▼ 2. 本文＋画像を横並び ----------------------- */
.profile-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
  flex-wrap: wrap;
}

/* ▼ 2-1. テキストブロック ---------------------- */
.profile-text {
  flex: 1;
  min-width: 250px;
  background: rgba(211, 253, 255, 0.9);
  padding: 25px 20px;
  border-radius: 12px;
  position: relative;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s ease-out;
}

.profile-text.active {
  opacity: 1;
  transform: translateX(0);
}

.profile-text h3,
.profile-text p,
.profile-table td,
.profile-table th {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* ▼ 2-2. 右側の画像 ----------------------------- */
.profile-image {
  width: 380px;
  max-width: 45%;
  flex-shrink: 0;
  background: url('images/holox.png') no-repeat center;
  background-size: contain;
  padding: 10px 0;
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s ease-out;
}

.profile-image.active {
  opacity: 1;
  transform: translateX(0);
}

.profile-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow);
  display: block;
}

/* ▼ DATA表 ------------------------------------ */
.profile-table {
  width: 100%;
  max-width: 600px;
  margin-top: 20px;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(68,191,183,0.2);
  background: rgba(255,255,255,0.9);
}

.profile-table th,
.profile-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.95rem;
}

.profile-table th {
  background: #44bfb7;
  color: #ffffff;
  font-weight: 600;
  border-bottom: 2px solid #cbffd8;
}

.profile-table td {
  background: #f4ffff;
  color: #083332;
  border-bottom: 1px solid #cbffd8;
}

/* 角丸 */
.profile-table tr:first-child th:first-child { border-top-left-radius: 10px; }
.profile-table tr:first-child th:last-child { border-top-right-radius: 10px; }
.profile-table tr:last-child td:first-child { border-bottom-left-radius: 10px; }
.profile-table tr:last-child td:last-child { border-bottom-right-radius: 10px; }





/* =====================================================
   Intro block
===================================================== */
.iroha1 {
    margin-top: 40px;
    line-height: 1.8;
    color: var(--text-main);
    text-shadow: 0 0 3px rgba(255,255,255,0.35);
}

/* =====================================================
   Content Links / Card List
===================================================== */
.content-grid {
    margin-top: 40px;
}

.content-links {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 12px;
    font-weight: 700;
}

.content-links li a {
    display: block;
    padding: 18px;
    background: var(--card-soft);
    border-left: 5px solid var(--accent);
    border-radius: 6px;
    transition: background 0.3s, transform 0.3s;
    color: var(--text-main);
    box-shadow: 0 2px 6px var(--shadow);
    text-shadow: var(--shadow);
}
.content-links li a:hover {
    background: var(--accent-light);
    transform: translateX(6px);
}

/* =====================================================
   Links
===================================================== */
.links-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* 小さい画面で折り返し */
  padding: 0;
  margin: 0;
}

.links-grid a {
  display: block;
  width: 200px;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(68,191,183,0.2);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.links-grid a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.links-grid a:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(68,191,183,0.3);
}


/* =====================================================
   推しポイント セクション
===================================================== */
.oshi-section {
  padding: 20px;
}

/* =====================================================
   推しカード（35P風＋あなたの背景ぼかし仕様を統合）
===================================================== */

.charm-card {
  position: relative;
  padding: 24px;
  border-radius: 18px;
  margin-bottom: 40px;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  overflow: hidden;
  border: 5px solid #10daa4;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* 背景画像（控えめ） */
.charm-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/iroha3.png");
  background-repeat: repeat;       /* 繰り返す */
  background-size: 200px auto;      /* 1つのパターンの大きさ */
  background-position: top left;   /* 開始位置 */
  opacity: 0.25;
  z-index: -1;
}

.charm-card > * {
  position: relative;
  z-index: 1;
}

/* タイトル */
.charm-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--text-accent);
}

/* =====================================================
   左：文章　右：画像
===================================================== */
.charm-flex {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.charm-text {
  flex: 1;
  line-height: 1.7;
}

.charm-image-wrap {
  flex: 0 0 40%;
}

.charm-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

/* =====================================================
   下の動画群（横並び・自動レスポンシブ）
===================================================== */
.charm-video-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.video-box {
  position: relative;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.video-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* 初期状態：左から隠れている */
.charm-card {
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

/* active クラスがついたら横スライドで登場 */
.charm-card.active {
  transform: translateX(0);
  opacity: 1;
}





/* =====================================================
   Footer
===================================================== */
.footer {
    text-align: center;
    padding: 25px;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
    color: var(--text-sub);
    background: var(--bg-sub);
    margin-top: 60px;
}



/* =====================================================
   スマホ対応
===================================================== */
@media (max-width: 768px) {

  /* =========================
     全体レイアウト
  ========================= */
  section {
    padding: 50px 16px;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }


  /* =========================
     ヘッダー
  ========================= */
  .sticky-header {
    flex-wrap: wrap;
    padding: 10px 12px;
  }

  .sticky-header .logo {
    height: 34px;
  }

  .sticky-header .nav ul {
    gap: 10px;
    font-size: 0.85rem;
  }

  .sticky-header .nav li a {
    padding: 6px 8px;
  }


  /* =========================
     ヒーロー画像
  ========================= */
  .hero img {
    transform: scale(1.02); /* スマホでは拡大控えめ */
  }


  /* =========================
     NEWS セクション
  ========================= */
  .news-section {
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
  }

  .news-icon {
    width: 180px;
    margin-bottom: 20px;
  }

  .news-list li {
    flex-direction: column;
    gap: 6px;
  }

  .news-date {
    min-width: auto;
    font-size: 0.85rem;
  }


  /* =========================
     プロフィール
  ========================= */
  .profile-body {
    flex-direction: column;
    align-items: center;
  }

  .profile-text {
    transform: translateX(0);
    opacity: 1;
  }

  .profile-image {
    max-width: 90%;
    transform: translateX(0);
    opacity: 1;
  }

  .profile-table {
    font-size: 0.9rem;
  }


  /* =========================
     外部リンクカード
  ========================= */
  .links-grid {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .links-grid a {
    width: 80%;
    height: auto;
  }


  /* =========================
     推しポイント
  ========================= */
  .charm-flex {
    flex-direction: column;
  }

  .charm-image-wrap {
    width: 100%;
  }

  .charm-image {
    max-width: 100%;
  }

  .charm-video-row {
    grid-template-columns: 1fr;
  }

}



/* =========================
   holoX ユニットカード
========================= */
.unit-card.holox-card {
  background: rgba(20, 20, 20, 0.92);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 28px;
  padding: 28px;
  margin-bottom: 40px;
}

/* ヘッダー */
.holox-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}


.unit-name {
  font-family: "Cinzel", "Noto Serif JP", serif;
  font-size: 4.0rem;
  letter-spacing: 0.3em;
  color: white;
  margin: 0;
  text-align: center;
}


/* 説明文 */
.unit-catch {
  color: #e6e6e6;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 22px;
  text-align: center;
}

.unit-description {
  color: #eaeaea;
  margin: 18px auto;
  line-height: 1.7;
}

.unit-description li {
  margin-bottom: 6px;
}

/* おすすめ枠 */
.unit-recommend {
  margin-top: 22px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  color: #ffffff;
}

.unit-recommend-title {
  font-weight: bold;
  margin-bottom: 6px;
  letter-spacing: 0.06em;
}


/* =========================
   メンバー一覧（背景付き）
========================= */
.unit-members.holox-bg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 175px;
  gap: 16px;

  padding: 20px;
  overflow-x: auto;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 20px;
  position: relative;
}

/* 背景暗幕 */
.unit-members.holox-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(156, 143, 143, 0.35);
  border-radius: 20px;
  z-index: 0;
}

/* =========================
   メンバーカード
========================= */
.member-card {
  position: relative;
  z-index: 1;

  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 12px;
  text-align: center;

  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.member-card:hover {
  transform: translateY(-2px);
}

.member-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 8px;
}

.member-role {
  font-size: 0.8rem;
  font-weight: bold;
  margin: 4px 0;
}

.member-name {
  font-size: 0.95rem;
  font-weight: bold;
  color: #333;
}

/* =========================
   個別カラー強調
========================= */
.highlight1 { border: 2px solid #441495; background: #e2cbff; }
.highlight2 { border: 2px solid #b84a67; background: #fdb3b4; }
.highlight3 { border: 2px solid #fe68ad; background: #ffc5e0; }
.highlight4 { border: 2px solid #ab0e0c; background: #d27373; }
.highlight5 { border: 2px solid #44bfb7; background: #b7fffb; }


/* =========================
   ユニットリンク（展開トリガー）
========================= */
.unit-links {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.unit-link {
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: bold;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.unit-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}


/* =========================
   動画リスト（展開エリア）
========================= */
.unit-video-list {
  display: none;
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* 表示中 */
.unit-video-list.active {
  display: block;
}

/* 説明文 */
.video-list-lead {
  font-size: 0.95rem;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* 動画一覧 */
.unit-video-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.unit-video-list li {
  margin-bottom: 8px;
}

/* 動画リンク */
.unit-video-list a {
  color: #ffffff;
  text-decoration: none;
  padding-left: 1.2em;
  position: relative;
}

.unit-video-list a::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #cccccc;
  font-size: 0.8rem;
}

.unit-video-list a:hover {
  text-decoration: underline;
}









