:root {
  --bg: #0a0c11;
  --card: #151a25;
  --text: #eefaff;
  --muted: #a9b8c9;
  --accent: #6fe4ff;    /* 水色ライト */
  --accent-2: #ffc2ec;  /* 差し色ピンク */
  --border: #273042;
  --max: 1080px;
}

/* ========== ベース ========== */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "M PLUS Rounded 1c","Noto Sans JP", system-ui, sans-serif;
  line-height: 1.7;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container {
  width: min(92%, var(--max));
  margin-inline: auto;
  text-align: center;
}

/* ========== HERO（スライドショー対応） ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6rem 2rem 0;
  text-align: center;
  overflow: hidden;
  color: var(--text);
  background: #0a0c11; /* 画像は貼らない。黒ステージだけ */
}

/* スライド土台 */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 各スライド */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;

  opacity: 0;
  transform: scale(1.06); /* ちょい引きから入る */
  transition:
    opacity 1s ease,
    transform 3s ease;
}

/* 表示中だけ見せる */
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1); /* すっと寄る */
}

/* 下だけ暗くして文字読みやすく */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 80%,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.55) 60%,
    rgba(0,0,0,.8) 100%
  );
}

/* ヒーローテキスト */
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
  text-shadow: 0 4px 16px rgba(0,0,0,.8);
}

.kicker {
  letter-spacing: .2em;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 .5rem;
  font-size: .8rem;
  text-shadow:
    0 0 10px rgba(111,228,255,.6),
    0 8px 22px rgba(0,0,0,.7);
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: .04em;
  margin: .25rem 0 1rem;
  color: var(--text);
  text-shadow:
    0 0 10px var(--accent),
    0 10px 20px rgba(0,0,0,.8);
}
.hero__title .roman {
  font-size: .8em;
  color: var(--accent);
  text-shadow:
    0 0 12px rgba(111,228,255,.9),
    0 0 30px rgba(111,228,255,.6);
}

.hero-account {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem;
  margin: .5rem auto 1rem;
  background: rgba(20,25,37,.6);
  border: 1px solid rgba(111,228,255,.4);
  border-radius: 12px;
  padding: .4rem .75rem;
  width: fit-content;
  box-shadow: 0 10px 25px rgba(0,0,0,.7);
}

.account-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

.hero__lead {
  font-size: .95rem;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto 1.5rem;
  text-shadow: 0 6px 16px rgba(0,0,0,.8);
}

.hero-bottom {
  display: flex;
  justify-content: center;
  padding-bottom: 2rem;
}

/* ========== セクション共通 ========== */
.section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
}
.section--alt {
  background:
    radial-gradient(circle at 20% 15%, rgba(111,228,255,.15) 0%, transparent 70%),
    radial-gradient(circle at 80% 80%, rgba(255,194,236,.1) 0%, transparent 70%);
}

.section__title {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: .3rem .8rem;
  border-radius: 10px;
  color: var(--text);
  background: rgba(20,25,37,.6);
  border: 1px solid rgba(111,228,255,.4);
  box-shadow: 0 10px 30px rgba(111,228,255,.2);
  text-shadow: 0 0 10px rgba(111,228,255,.6);
}
.section__title::after {
  content: "✦";
  margin-left: .5rem;
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent-2);
}

.section__subtitle-inline {
  font-size: .8rem;
  font-weight: 400;
  color: var(--muted);
  margin-left: .5rem;
}

/* ========== カード / PICK UP / YELL ========== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(240px,1fr));
  gap: 1rem;
}

.info-list {
  display: grid;
  gap: .75rem;
}

.card,
.info,
.info--link,
.yell__item {
  background: var(--card);
  border: 2px solid rgba(111,228,255,.4);
  border-radius: 16px;
  padding: 1rem;
  color: var(--text);
  box-shadow:
    0 14px 28px rgba(0,0,0,.8),
    4px 4px 0 rgba(111,228,255,.3);
  transition: all .22s ease;
  text-decoration: none;
}
.card:hover,
.info--link:hover,
.yell__item:hover {
  transform: translate(-3px,-3px) scale(1.01);
  box-shadow:
    0 18px 36px rgba(0,0,0,.9),
    6px 6px 0 rgba(255,194,236,.3);
  background: radial-gradient(circle at 15% 15%, rgba(111,228,255,.08) 0%, transparent 60%);
}

.card__body {
  display: grid;
  gap: .5rem;
}
.card__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.card__meta {
  font-size: .8rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

.info__title {
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: .25rem;
}

/* タグシール */
.badge {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  background: radial-gradient(circle at 30% 30%, rgba(255,194,236,.3), rgba(255,194,236,.05));
  border: 1px solid rgba(255,194,236,.6);
  color: var(--accent-2);
  text-shadow: 0 0 6px rgba(255,194,236,.8);
  box-shadow:
    0 10px 20px rgba(0,0,0,.6),
    2px 2px 0 rgba(111,228,255,.4);
}

/* ========== ABOUTブロック ========== */
.about {
  display: grid;
  gap: 1rem;
  grid-template-columns:160px 1fr;
  align-items: start;
  border: 2px solid rgba(111,228,255,.4);
  border-radius: 16px;
  padding: 1rem;
  background: var(--card);
  box-shadow:
    0 14px 28px rgba(0,0,0,.8),
    4px 4px 0 rgba(111,228,255,.3);
  margin: 1rem 0;
}
.about img {
  border-radius: 10px;
  max-width: 100%;
}

/* ========== YELLセクション ========== */
.yell {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 1rem;
}

/* ========== フッター ========== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  background: radial-gradient(1200px 600px at 50% -200px, rgba(111,228,255,.08), transparent);
}
.footer__grid {
  display: grid;
  grid-template-columns:1fr 2fr;
  gap:2rem;
}
.footer__links {
  list-style:none;
  padding:0;
  margin:.5rem 0 0;
  display:grid;
  gap:.25rem;
}
.footer__copy {
  text-align: center;
  color: var(--muted);
  margin-top: 2rem;
  font-size: .9rem;
}

/* ========== SNSアイコン ========== */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: radial-gradient(circle at 30% 30%, rgba(111,228,255,.4) 0%, rgba(20,25,37,0) 70%);
  border: 1px solid rgba(111,228,255,.6);
  color: var(--text);
  font-size: 15px;
  box-shadow:
    0 12px 24px rgba(0,0,0,.8),
    2px 2px 0 rgba(255,194,236,.4);
  transition: all .15s ease;
}
.social-link:hover {
  transform: translateY(-2px) scale(1.05) rotate(-2deg);
  box-shadow:
    0 18px 32px rgba(0,0,0,.9),
    3px 3px 0 rgba(255,194,236,.5);
  background: radial-gradient(circle at 30% 30%, rgba(255,194,236,.4) 0%, rgba(20,25,37,0) 70%);
  color: var(--accent);
}

/* ========== 固定ナビ（スマホ～PC共通で上部バーにしちゃう） ========== */
.mobile-topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(20,25,37,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: calc(env(safe-area-inset-top) + 6px) 0 4px;
}
.mobile-topnav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text);
  font-size: .72rem;
  opacity: .85;
  text-decoration: none;
}
.mobile-topnav a:hover {
  opacity: 1;
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent);
}

/* ========== レスポンシブ ========== */
@media (max-width:720px){
  body{ padding-top:calc(60px + env(safe-area-inset-top)); }
  .hero{ padding:5rem 1.25rem 0; }
  .hero-bottom{ padding-bottom:1.5rem; }
  .hero__title{ font-size:2rem; }
  .about{ grid-template-columns:1fr; }
}

/* これが今の .hero__lead の上書き版 */
.hero-bottom {
  display: flex;
  justify-content: center;
  padding-bottom: 2rem;
}

.hero__lead {
  font-size: .95rem;
  color: var(--muted);
  max-width: min(80ch, 90%);
  margin: 0 auto 1.5rem;
  text-shadow: 0 6px 16px rgba(0,0,0,.8);
  line-height: 1.7;

  /* 👇 ここ追加・変更 */
  text-align: left;        /* 左寄せに変更 */
  padding-left: 1rem;      /* ちょい余白を足すと読みやすい */
}

/* スマホでも同じように左揃えに */
@media (max-width:720px){
  .hero__lead {
    max-width: 95%;
    text-align: left;
    padding-left: .5rem;
  }
}

/* --- INTRO CARD BASE --- */
.intro-card {
  background: rgba(20,22,27,0.4);            /* ちょい透けダーク：サイトの--cardに近い雰囲気ならここ変えてOK */
  border: 1px solid var(--accent, #7bdcff);  /* 既に --accent があるならそれを使う */
  border-radius: 8px;
  padding: 1.5rem 1.25rem;
  max-width: 800px;
  margin: 2rem auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  opacity: 0;
  transform: translateY(12px);
  animation: introFade 0.6s ease forwards;
}

/* 2つ目以降はちょい遅らせてズラして出てくると高級感でる */
.intro-card:nth-of-type(2) {
  animation-delay: .12s;
}

/* --- HEAD TITLE --- */
.intro-head {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text, #e9ecf1);
  letter-spacing: .08em;
  margin: 0 0 .75rem;
  position: relative;
  padding-bottom: .5rem;
  text-transform: uppercase;
}

/* タイトル下にアクセントライン */
.intro-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 140px;
  background: linear-gradient(
    90deg,
    var(--accent, #7bdcff) 0%,
    var(--accent-2, #ffdd57) 100%
  );
  border-radius: 999px;
}

/* --- BODY TEXT --- */
.intro-text {
  color: var(--text, #e9ecf1);
  font-size: 0.9rem;
  line-height: 1.7;
  letter-spacing: .03em;
  margin: 0;
  white-space: normal;
}

/* 引用元とか注意書きっぽいやつ */
.intro-note {
  margin-top: 1.5rem;
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--muted, #a6adb9);
  letter-spacing: .05em;
  text-align: right;
  opacity: .8;
}

/* --- ANIMATION KEYFRAMES --- */
@keyframes introFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 見出しやフェードなど、今のデザインはそのままでOK */

/* 全体を横並びに */
.intro-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: rgba(20,22,27,0.5);
  border: 1px solid var(--border, #232633);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 2rem auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  flex-wrap: wrap; /* スマホで縦になるように */
}

/* 左の画像 */
.intro-img {
  width: 200px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(0,0,0,0.5);
  flex-shrink: 0;
  transition: transform .3s ease;
}

.intro-img:hover {
  transform: scale(1.03);
}

/* 右側の文章部分 */
.intro-content {
  flex: 1;
  min-width: 260px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .intro-card {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .intro-img {
    width: 100%;
    max-width: 360px;
  }

  .intro-content {
    width: 100%;
  }
}

.main {
  background: url("images/background.png") repeat;
  background-size: 250px auto;           /* 柄の大きさを調整 */
  background-color: #b6e8ff;             /* 下地の水色 */
  border-radius: 20px;                   /* 少し丸くして柔らかさUP */
  padding: 2rem;
  box-shadow: 0 0 40px rgba(123,220,255,0.3); /* ほんのり光っぽく */
}

/* ===== ナビゲーション全体 ===== */
.mobile-topnav {
  background: #7bdcff;               /* 明るい水色 */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.8rem 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ===== 各リンク（文字部分） ===== */
.mobile-topnav a {
  color: #ffd95c;                    /* 通常は黄色 */
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.25s ease, transform 0.2s ease;
}

/* ===== ホバー時（紫に） ===== */
.mobile-topnav a:hover {
  color: #a47dff;                    /* 紫に変化 */
  transform: translateY(-2px);
}

/* ===== アクティブページ（現在の項目） ===== */
.mobile-topnav a.active {
  color: #ffffff;                    /* 白で強調 */
}

/* ===== スマホ対応（余白調整） ===== */
@media (max-width: 768px) {
  .mobile-topnav {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.6rem 0.4rem;
  }
}

.main {
  margin-top: 0rem;   /* 今より上に近づけたいなら小さめ */
}

#info.section {
  padding-top: 1.5rem;   /* デフォの3.5remより小さくする */
}

.section {
  padding: 3.5rem 0;
  border-top: none; /* ←ここをnoneに！ */
  background: transparent; /* ←背景グラデ削除 */
}

/* ─────────────── PICK UP タイトル ─────────────── */
.section__title {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);  /* 半透明黒で読みやすく */
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: .6rem .8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);          /* ぼかし効果 */
  -webkit-backdrop-filter: blur(6px);
}

/* 「（最近のお知らせ）」部分 */
.section__subtitle-inline {
  font-size: .8rem;
  font-weight: 400;
  color: #dcdcdc;
  margin-left: .5rem;
}

/* PICK UP タイトル帯（通常） */
.section__title {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: #fff;
  background: rgba(20,20,22,0.9); /* ←ここをちゃんと濃いめに固定 */
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: .6rem .8rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: box-shadow .25s ease, transform .25s ease;
}

/* PICK UP タイトル帯（ホバー時も同じ濃さのまま） */
.section__title:hover {
  background: rgba(20,20,22,0.9); /* ←透けさせないでそのまま */
  transform: translateY(-2px);    /* ちょい浮く演出だけ許す */
  box-shadow: 0 16px 32px rgba(0,0,0,0.6),
              0 0 16px rgba(123,220,255,0.4);
}

/* サブタイトル "(最近のお知らせ)" */
.section__subtitle-inline {
  font-size: .8rem;
  font-weight: 400;
  color: #dcdcdc;
  margin-left: .5rem;
}

/* PICK UPのタイトル部分を常に不透明に固定 */
#info .section__title {
  background: rgba(20, 20, 22, 0.95) !important; /* ←透けない濃さで固定 */
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: .6rem 1rem;
  display: inline-block;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

/* ホバーしても透明にならない */
#info .section__title:hover {
  background: rgba(20, 20, 22, 0.95) !important; /* ←hoverでも同じ色 */
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4),
              0 0 15px rgba(123, 220, 255, 0.4);
}

/* サブタイトル "(最近のお知らせ)" */
#info .section__subtitle-inline {
  color: #dcdcdc;
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: .5rem;
}

/* PICK UPの各カード本体（通常時） */
#info-list > div {
  background: rgba(20, 20, 22, 0.9) !important;  /* しっかり濃い黒で固定 */
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  box-shadow: 0 20px 30px rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1rem 1.25rem;
  transition: box-shadow .25s ease, transform .25s ease;
}

/* ホバー時：透明にしないでそのままキープ */
#info-list > div:hover {
  background: rgba(20, 20, 22, 0.9) !important;  /* ←これで透け禁止 */
  transform: translateY(-2px); /* ふわっと浮くだけは残す。いらなかったら消してOK */
  box-shadow: 0 24px 40px rgba(0,0,0,0.7),
              0 0 20px rgba(123,220,255,0.3);
}

#info-list > div *:hover {
  opacity: 1 !important;
}

/* ===== PICK UP カードのホバー修正 ===== */
/* まず、通常の状態を強制的に決める */
#info-list .info {
  background: rgba(20,20,22,0.9);              /* 濃いまま */
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  box-shadow:
    0 20px 30px rgba(0,0,0,0.6);
  color: #fff;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: box-shadow .25s ease, transform .25s ease;
}

/* hoverしても透けさせないで、浮くだけにする */
#info-list .info:hover {
  background: rgba(20,20,22,0.9);              /* ←ここがいちばん大事。元の濃さのまま */
  transform: translateY(-2px);
  box-shadow:
    0 24px 40px rgba(0,0,0,0.7),
    0 0 20px rgba(123,220,255,0.3);
}

.section__title,
.intro-head,
.hero__title,
.account-name {
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: .05em;
}

/* 1. 全体をまるくかわいく */
html, body {
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.7;
  font-weight: 400;
}

/* 2. 見出しはちょい太めでポップに */
.section__title,
.intro-head,
.hero__title,
.account-name {
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: .05em;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;         /* ←上端そろえ */
  max-width: var(--max);
  margin: 0 auto;
}

/* スマホでは縦積み */
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* フッター全体の高さをギュッとする */
.site-footer {
  background: #141414; /* 好きな黒でOK。今のダーク系維持するならここ合わせてね */
  border-top: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 -10px 20px rgba(0,0,0,0.8);

  /* ← ここが一番効く。上下の余白をかなり減らす */
  padding: 1rem 1rem 1.5rem;

  margin-top: 0;

  color: var(--text);
  text-align: left;
}

/* 左右2カラム部分 */
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;          /* ← 前よりちょい狭い */
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

/* スマホは縦並び */
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* 見出し（CONTENTS / ABOUT THIS SITE） */
.site-footer h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .5rem;   /* ← 下の余白を短く */
  letter-spacing: .08em;
}

/* リンクのリスト */
.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;           /* ← ここ詰める */
  display: grid;
  gap: .25rem;         /* ← ここも詰める */
}

.footer__links a {
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  line-height: 1.4;
}

.footer__links a:hover {
  color: #a47dff;
}

/* ABOUT THIS SITE の説明テキスト */
.site-footer p {
  margin: 0;
  font-size: .7rem;
  line-height: 1.5;
  color: var(--muted);
}

/* コピーライトの位置と余白をフッター本体に近づける */
.footer__copy {
  text-align: center;
  color: var(--muted);
  font-size: .65rem;
  line-height: 1.4;
  letter-spacing: .03em;

  margin-top: 1rem;     /* ← ここを小さくして下に引っ張らない */
}

/* ===== フッター配置調整 ===== */
.footer__grid {
  display: flex;
  justify-content: center;  /* 中央基準 */
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  text-align: left; /* 左寄せをデフォに */
}

/* 左側（CONTENTS）は左寄せ */
.footer__grid > div:first-child {
  flex: 1;
  text-align: left;
}

/* 右側（ABOUT THIS SITE）は中央寄せ */
.footer__grid > div:last-child {
  flex: 1;
  text-align: center;
}

/* スマホでも同じ配置を維持 */
@media (max-width: 768px) {
  .footer__grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__grid > div:first-child {
    text-align: left;
    width: 100%;
  }

  .footer__grid > div:last-child {
    text-align: center;
    width: 100%;
  }
}

/* ===== フッター（最終版） ===== */

/* フッター全体の見た目＆高さ */
.site-footer {
  background: #141414;
  border-top: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 -10px 20px rgba(0,0,0,0.8);
  padding: 1rem 1rem 1.5rem;
  margin-top: 0;
  color: var(--text);
}

/* 2ブロック横並びさせる本体 */
.footer__grid {
  display: flex;
  flex-wrap: wrap;         /* スマホのとき縦に落ちる用 */
  justify-content: center; /* 全体は中央に集めとく */
  align-items: flex-start;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

/* 左ブロック（CONTENTS） */
.footer__grid > div:first-child {
  flex: 1 1 200px;   /* 小さい画面では幅200pxから確保 */
  text-align: left;  /* ←左揃え固定 */
}

/* 右ブロック（ABOUT THIS SITE） */
.footer__grid > div:last-child {
  flex: 1 1 200px;
  text-align: center; /* ←中央揃え固定 */
}

/* スマホのときの挙動 */
@media (max-width: 768px) {
  .footer__grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer__grid > div:first-child {
    width: 100%;
    text-align: left;   /* ←スマホでもCONTENTSは左寄せのまま */
  }

  .footer__grid > div:last-child {
    width: 100%;
    text-align: center; /* ←スマホでもABOUTは真ん中 */
  }
}

/* 見出し（CONTENTS / ABOUT THIS SITE） */
.site-footer h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .5rem;
  letter-spacing: .08em;
}

/* リンクのリスト（CONTENTSの中身） */
.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .25rem;
}

.footer__links a {
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  line-height: 1.4;
}
.footer__links a:hover {
  color: #a47dff;
}

/* ABOUT THIS SITEの文章 */
.site-footer p {
  margin: 0;
  font-size: .7rem;
  line-height: 1.5;
  color: var(--muted);
}

/* コピーライト */
.footer__copy {
  text-align: center;
  color: var(--muted);
  font-size: .65rem;
  line-height: 1.4;
  letter-spacing: .03em;
  margin-top: 1rem;
}

/* ===== footer layout fix ===== */

/* フッター内だけ、.container の text-align: center; を無効化 */
.site-footer .container {
  text-align: initial;
}

/* 2カラムレイアウトを明示して左右の役割を決める */
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 左右を均等幅で並べる */
  column-gap: 2rem;
  row-gap: 1rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

/* 左カラム（CONTENTS）は左寄せ */
.footer__grid > div:first-child {
  text-align: left;
}

/* 右カラム（ABOUT THIS SITE）は中央寄せ */
.footer__grid > div:last-child {
  text-align: center;
}

/* スマホのときは縦並びにして、同じ揃えルールを維持 */
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid > div:first-child {
    text-align: left;
  }

  .footer__grid > div:last-child {
    text-align: center;
  }
}

/* ===== footer ABOUT中央揃え修正版 ===== */

/* footerの中身全体レイアウトをflexに */
.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* 左右を分けて配置 */
  align-items: flex-start;
  gap: 2rem;
}

/* 左ブロック（CONTENTS）は左寄せ */
.footer__grid > div:first-child {
  flex: 1;
  text-align: left;
}

/* 右ブロック（ABOUT THIS SITE）はブロック自体を中央に */
.footer__grid > div:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;   /* ← ブロック全体を中央配置 */
  justify-content: center;
  text-align: center;    /* ← テキストも中央寄せ */
}

/* スマホでは縦並び */
@media (max-width: 768px) {
  .footer__grid {
    flex-direction: column;
    align-items: center;
  }

  .footer__grid > div:first-child {
    text-align: left;
    width: 100%;
  }

  .footer__grid > div:last-child {
    text-align: center;
    width: 100%;
  }
}

/* ===== フッター配置・確定版 ===== */

/* containerのcenter揃えを解除 */
.site-footer .container {
  text-align: initial;
}

/* 左右をフレックスで中央に収める */
.footer__grid {
  display: flex;
  justify-content: center;  /* 全体を中央基準に配置 */
  align-items: flex-start;
  gap: 4rem;                /* 左右の間隔 */
  flex-wrap: wrap;          /* スマホで縦積みにする */
  max-width: 900px;
  margin: 0 auto;
}

/* 左カラム（CONTENTS） */
.footer-left {
  text-align: left;
  min-width: 200px;
}

/* 右カラム（ABOUT THIS SITE） */
.footer-right {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 360px;
}

/* スマホ対応：縦並びで整列 */
@media (max-width: 768px) {
  .footer__grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .footer-left {
    width: 100%;
    text-align: left;
    max-width: 300px;
  }

  .footer-right {
    width: 100%;
    text-align: center;
    align-items: center;
  }
}

.footer-right {
  margin:0% auto;
}

/* ===== フッター配置：左右バランス再構成 ===== */

.footer__grid {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* 左側（CONTENTS） */
.footer-left {
  text-align: left;
  flex: 1;
}

/* 右側（ABOUT THIS SITE）を中央に固定配置 */
.footer-right {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: fit-content;
}

/* スマホ対応（縦積みにして整列） */
@media (max-width: 768px) {
  .footer__grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: static;
  }

  .footer-right {
    position: static;
    transform: none;
    margin-top: 1rem;
  }
}

.mobile-topnav {
  background: #7bdcff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0rem 0; /* ← ここを小さくする（元が0.8rem） */
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.mobile-topnav span {
  margin-top: 10px;
}

