@charset "UTF-8";

html {
  scroll-behavior: smooth;
}

/* SP */
@media (max-width: 767px) {
  #outline  { scroll-margin-top: 16px; }
  #schedule { scroll-margin-top: 16px; }
  #access, #transport, #sandonkin { scroll-margin-top: -20px; }
}

/* PC・中間幅: 両カード横並びなので同じ値に */
@media (min-width: 768px) {
  #outline, #schedule { scroll-margin-top: 90px; }
}

#access, #transport, #sandonkin { scroll-margin-top: 20px; }

body {
  font-family: 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  overflow-x: hidden;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (min-width: 768px) {
  html { font-size: 18px; }
}


/* ==========================================
   TOP  （白背景）
========================================== */
.top {
  background: #fff;
  padding: 20px 24px 0;
  position: relative;
  z-index: 2;
}

.top__inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  min-height: 300px;
}

.top__badge {
  flex-shrink: 0;
  width: clamp(140px, 17vw, 230px);
  align-self: flex-start;
  will-change: transform, opacity;
  animation: popBounce 0.65s ease-out 0.2s both;
}

.top__logo-link {
  display: contents;
}

.top__logo {
  width: clamp(480px, 50vw, 1000px);
  flex-shrink: 0;
  margin-top: 80px;
  will-change: transform, opacity;
  animation: popBounce 0.65s ease-out both;
}

.top__mascot {
  flex-shrink: 0;
  width: clamp(130px, 18vw, 260px);
  align-self: flex-end;
  will-change: transform, opacity;
  animation: popBounceMascot 0.65s ease-out 0.4s both;
}

@keyframes popBounce {
  0%   { opacity: 0; transform: scale3d(0.3, 0.3, 1); }
  55%  { opacity: 1; transform: scale3d(1.12, 1.12, 1); }
  75%  { transform: scale3d(0.94, 0.94, 1); }
  90%  { transform: scale3d(1.04, 1.04, 1); }
  100% { opacity: 1; transform: scale3d(1, 1, 1); }
}

@keyframes popBounceMascot {
  0%   { opacity: 0; transform: translate3d(0, clamp(80px, 10vw, 150px), 0) scale3d(0.3, 0.3, 1); }
  55%  { opacity: 1; transform: translate3d(0, clamp(80px, 10vw, 150px), 0) scale3d(1.12, 1.12, 1); }
  75%  { transform: translate3d(0, clamp(80px, 10vw, 150px), 0) scale3d(0.94, 0.94, 1); }
  90%  { transform: translate3d(0, clamp(80px, 10vw, 150px), 0) scale3d(1.04, 1.04, 1); }
  100% { opacity: 1; transform: translate3d(0, clamp(80px, 10vw, 150px), 0) scale3d(1, 1, 1); }
}

@keyframes popBounceMascotSP {
  0%   { opacity: 0; transform: translate3d(0, 40px, 0) scale3d(0.3, 0.3, 1); }
  55%  { opacity: 1; transform: translate3d(0, 40px, 0) scale3d(1.12, 1.12, 1); }
  75%  { transform: translate3d(0, 40px, 0) scale3d(0.94, 0.94, 1); }
  90%  { transform: translate3d(0, 40px, 0) scale3d(1.04, 1.04, 1); }
  100% { opacity: 1; transform: translate3d(0, 40px, 0) scale3d(1, 1, 1); }
}

@keyframes popBounceMascotSP500 {
  0%   { opacity: 0; transform: translate3d(0, 100px, 0) scale3d(0.3, 0.3, 1); }
  55%  { opacity: 1; transform: translate3d(0, 100px, 0) scale3d(1.12, 1.12, 1); }
  75%  { transform: translate3d(0, 100px, 0) scale3d(0.94, 0.94, 1); }
  90%  { transform: translate3d(0, 100px, 0) scale3d(1.04, 1.04, 1); }
  100% { opacity: 1; transform: translate3d(0, 100px, 0) scale3d(1, 1, 1); }
}

/* ==========================================
   波区切り画像
========================================== */
.wave-sep {
  background: #fff;
  line-height: 0;
  font-size: 0;
  position: relative;
  z-index: 0;
  margin-top: -2px;
  margin-bottom: -2px;
}

.wave-sep--flip {
  background: #fff;
}

.wave-sep img {
  display: block;
  width: 100%;
}

.wave-sep--flip img {
  transform: scaleY(-1);
}

/* ==========================================
   OUTLINE  開催概要・スケジュール
========================================== */
.outline {
  background: #0073c8;
  padding: 24px 24px 48px;
  position: relative;
  z-index: 1;
  margin-top: -4px;
}

.outline__inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.outline__card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 36px;
  flex: 1 1 100%;
  max-width: 100%;
}

.outline__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.outline__heading {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 900;
  color: #163c6e;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 2px dotted #a8cce8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.outline__heading i {
  font-size: 0.85em;
  flex-shrink: 0;
  color: #0073c8;
}

.outline__list {
  display: grid;
  grid-template-columns: 5em 1fr;
  gap: 10px 16px;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.7;
}

.outline__list dt {
  font-weight: 700;
  color: #163c6e;
  padding-top: 2px;
}

.outline__list dd {
  color: #333;
  text-align: justify;
}

.outline__items {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.7;
}

.outline__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.outline__item-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0f7ff;
  border-radius: 6px;
  padding: 5px 14px;
}

.outline__item-num {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 700;
  color: #163c6e;
  flex-shrink: 0;
}

.outline__item-label {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  font-weight: 700;
  color: #163c6e;
}

.outline__item-body {
  color: #333;
  padding-left: 14px;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.75;
  text-align: justify;
}

.outline__item-key {
  color: #163c6e;
  font-weight: 700;
}

.outline__item-body .access__btn-group {
  margin-top: 12px;
  justify-content: flex-start;
  flex: none;
}

.outline__subitems {
  list-style: none;
  counter-reset: sub-counter;
  margin-top: 4px;
}

.outline__subitems li {
  display: flex;
  gap: 0.2em;
  margin-bottom: 4px;
  text-align: justify;
}

.outline__subitems li::before {
  font-weight: 700;
  color: #163c6e;
  flex-shrink: 0;
  white-space: nowrap;
}

.outline__subitems li:nth-child(1)::before { content: '①'; }
.outline__subitems li:nth-child(2)::before { content: '②'; }
.outline__subitems li:nth-child(3)::before { content: '③'; }
.outline__subitems li:nth-child(4)::before { content: '④'; }
.outline__subitems li:nth-child(5)::before { content: '⑤'; }

.outline__schedule {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}

.outline__schedule li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e0eaf5;
}

.outline__schedule li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.outline__time {
  flex-shrink: 0;
  font-weight: 900;
  color: #163c6e;
  font-size: 1.05em;
  min-width: 3.5em;
}

.outline__detail {
  color: #333;
  line-height: 1.6;
  text-align: justify;
}

@media (max-width: 767px) {
  .outline {
    padding: 32px 16px;
  }
  .outline__inner {
    gap: 16px;
  }
  .outline__card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 24px 20px;
  }
  .outline__cols {
    grid-template-columns: 1fr;
    gap: 28px 0;
  }
}

/* ---- 要求スローガン ---- */
.outline__slogans {
  max-width: 1600px;
  margin: 0 auto 56px;
  padding: 0 24px;
}

.outline__slogans-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.outline__slogans-heading::before {
  content: '＼';
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.outline__slogans-heading::after {
  content: '／';
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.outline__slogan-list {
  counter-reset: slogan-counter;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: max-content;
  margin: 0 auto;
}

.outline__slogan-list li {
  counter-increment: slogan-counter;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.5;
  text-align: justify;
}

.outline__slogan-list li::before {
  content: counter(slogan-counter);
  background: #fff;
  color: #0073c8;
  border-radius: 50%;
  width: 1.8rem;
  height: 1.8rem;
  line-height: 1.8rem;
  text-align: center;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
  display: inline-block;
}

@media (max-width: 767px) {
  .outline__slogans {
    padding: 0 8px;
    margin-bottom: 24px;
  }
  .outline__slogan-list {
    max-width: 100%;
  }
  .outline__slogan-list li {
    font-size: clamp(1.2rem, 5.5vw, 1.5rem);
  }
}

/* ==========================================
   MESSAGES  （青背景）
========================================== */
.messages {
  background: #0073c8;
  padding: 32px 24px 44px;
}

.messages__inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.messages__heading {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 80vw;
  max-width: 1200px;
  margin-inline: auto;
}

.messages__bubble {
  display: inline-flex;
  flex-shrink: 0;
  width: 30%;
  min-width: 150px;
  max-width: 366px;
  opacity: 0;
  transform: scale3d(0.3, 0.3, 1);
  transform-origin: center;
  will-change: transform, opacity;
}

.messages__bubble.is-visible {
  animation: popBounce 0.5s 0.1s ease-out forwards;
}

.messages__bubble-img {
  display: block;
  width: 100%;
  height: auto;
}

.messages__title {
  flex: 1;
  min-width: 0;
  opacity: 0;
  transform: scale3d(0.3, 0.3, 1);
  will-change: transform, opacity;
}

.messages__title.is-visible {
  animation: popBounce 0.65s 0.3s ease-out forwards;
}

/* PC: 3列横並び */
.messages__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.messages__cards > img {
  width: 100%;
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  will-change: transform, opacity;
}

.messages__cards > img.is-visible {
  animation: cardAppear 0.5s ease-out forwards;
}


@keyframes cardAppear {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* PC: atsumarou・akabeko サイズアップ */
@media (min-width: 1200px) {
  .top__logo {
    margin-bottom: -60px;
  }
  .top__badge {
    width: clamp(200px, 19vw, 300px);
    margin-top: 60px;
  }
  .top__mascot {
    width: clamp(200px, 21vw, 340px);
  }
}

/* 中間幅: ヒーローロゴ幅 */
@media (max-width: 1199px) and (min-width: 768px) {
  .top__inner {
    position: relative;
  }
  .top__logo {
    width: 60vw;
    max-width: none;
  }
  .top__badge {
    position: absolute;
    top: 0;
    left: 20px;
    width: clamp(168px, 20vw, 276px);
  }
  .top__mascot {
    position: absolute;
    bottom: 0;
    right: 20px;
    width: clamp(156px, 22vw, 312px);
  }
}

/* messages 中間幅: カード2列 */
@media (max-width: 1399px) and (min-width: 768px) {
  .messages__cards {
    grid-template-columns: 1fr 1fr;
  }
  .messages__cards > img:nth-child(1) {
    grid-column: 1 / 3;
    width: calc(50% - 12px);
    justify-self: center;
  }
}

/* SP: 縦並び */
@media (max-width: 767px) {
  .messages__heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 88vw;
  }

  .messages__bubble {
    width: 45%;
    min-width: 120px;
    max-width: 283px;
  }

  .messages__title {
    width: 100%;
  }

  .messages__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .messages__cards > img:nth-child(1) {
    width: 100%;
    justify-self: auto;
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top__logo,
  .top__badge {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .top__mascot {
    animation: none;
    opacity: 1;
    transform: translate3d(0, clamp(80px, 10vw, 150px), 0);
  }
  .messages__bubble,
  .messages__title,
  .messages__cards > img {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .top__mascot {
    transform: translate3d(0, 40px, 0);
  }
}

@media (max-width: 767px) and (min-width: 500px) and (prefers-reduced-motion: reduce) {
  .top__mascot {
    transform: translate3d(0, 100px, 0);
  }
}

/* ==========================================
   ACCESS  （白背景）
========================================== */
.access {
  background: #fff;
  padding: 40px 20px 64px;
}

.access__header {
  max-width: 1600px;
  margin: 0 auto 20px;
  padding: 0 4px;
}

.access__title {
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 900;
  color: #163c6e;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5em;
}

.access__title i {
  font-size: 0.85em;
  flex-shrink: 0;
  color: #0073c8;
}

.access__address {
  font-size: 0.72em;
  font-weight: 400;
}

.access__inner {
  max-width: 1600px;
  margin: 0 auto;
}

.access__grid {
  display: grid;
  gap: 16px;
}

.access__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.access__grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 599px) {
  .access__grid--3,
  .access__grid--2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.access__grid-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.access__grid-item {
  overflow: hidden;
  border: 2px solid #0073c8;
  border-radius: 8px;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.access__grid--3 > .access__grid-item {
  align-self: start;
}

.access__grid-item > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
  transform: scale3d(1, 1, 1);
  transition: transform 0.35s ease;
  will-change: transform;
}

.access__grid-item:hover > img {
  transform: scale3d(1.06, 1.06, 1);
}

.access__note--card {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 14px 16px;
  background: #f0f7ff;
  border-radius: 10px;
}

.access__btn-group {
  display: flex;
  gap: 16px;
  flex: 2;
  align-items: center;
  justify-content: center;
}

.access__btn-group .access__btn {
  flex: 1;
  justify-content: center;
}


.access__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.access__note-icon {
  color: #0073c8;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  flex-shrink: 0;
  margin-top: 0.1em;
}

.access__note-text {
  flex: 1;
}

.access__note-heading {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  font-weight: 700;
  color: #163c6e;
  margin-bottom: 5px;
}

.access__note-body {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: #444;
  line-height: 1.7;
  text-align: justify;
}

.access__note-link {
  color: #E6367A;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.access__note-link:hover {
  color: #c01e5e;
}



@media (max-width: 767px) {
  .access__note--card {
    padding: 12px 14px;
  }
  .access__btn-group {
    flex-direction: column;
    align-items: center;
    flex: none;
    width: 100%;
    gap: 16px;
  }
  .access__btn-group .access__btn {
    flex: none;
    width: 90%;
  }
  .outline__item-body .access__btn-group {
    align-items: stretch;
    width: calc(100% + 14px);
    margin-left: -14px;
  }
  .outline__item-body .access__btn-group .access__btn {
    width: 100%;
  }
}

.access__btn {
  display: inline-flex;
  align-items: center;
  width: auto;
  gap: 7px;
  background: #E6367A;
  color: #fff;
  text-decoration: none;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  font-weight: 700;
  white-space: nowrap;
  padding: 9px 20px;
  border-radius: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, transform 0.15s;
  will-change: transform;
}

.access__btn:hover,
.access__btn:focus-visible {
  background: #c01e5e;
  transform: translateY(-2px);
}

.access__btn--map {
  background: #1a73e8;
}

.access__btn--map:hover,
.access__btn--map:focus-visible {
  background: #1557b0;
}

@media (max-width: 767px) {
  .access__btn {
    font-size: 1rem;
    padding: 11px 20px;
  }
}

/* ==========================================
   MODAL
========================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.is-open {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.modal__content {
  position: relative;
  z-index: 1;
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.modal.is-open .modal__content {
  animation: modalIn 0.22s ease-out forwards;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.93);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.modal__img {
  display: block;
  max-width: 90vw;
  max-height: calc(100vh - 180px);
  width: auto;
  height: auto;
  border-radius: 8px;
}

.modal__download {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 9px 24px;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s;
}

.modal__download:hover {
  background: rgba(255, 255, 255, 0.28);
}

.modal__close {
  align-self: flex-end;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ==========================================
   FOOTER
========================================== */
.footer {
  background: #163c6e;
  color: #fff;
  padding: 24px 20px;
}

.footer__inner {
  max-width: 1600px;
  margin: 0 auto;
}

.footer__committee {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
}

.footer__orgs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 40px;
  max-width: 1000px;
  margin-inline: auto;
}

.footer__org {
  flex: 1 1 400px;
}

.footer__org-name {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}

.footer__org-link {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.footer__org-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__org-link i {
  font-size: 0.9em;
  flex-shrink: 0;
}

.footer__org-sub {
  font-size: 0.78em;
  font-weight: 400;
  opacity: 0.8;
}

.footer__org-address {
  font-size: clamp(0.8rem, 1.3vw, 0.9rem);
  margin-bottom: 6px;
  line-height: 1.8;
  opacity: 0.9;
}

.footer__org-contact {
  font-size: clamp(0.8rem, 1.3vw, 0.9rem);
  line-height: 1.8;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.footer__org-contact i {
  width: 1.1em;
  text-align: center;
  flex-shrink: 0;
  opacity: 0.85;
}

.footer__org-contact a {
  color: #fff;
  text-decoration: none;
}

.footer__org-contact a:hover {
  text-decoration: underline;
}

.footer__copy {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 32px;
}

.sp-br {
  display: none;
}

.wide-br {
  display: none;
}

@media (min-width: 1600px) {
  .wide-br {
    display: block;
  }
}

@media (max-width: 767px) {
  .sp-br {
    display: block;
  }

  .footer__orgs {
    gap: 28px;
  }

  .footer__org {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ==========================================
   RESPONSIVE  SP  ≤ 767px
========================================== */
@media (max-width: 767px) {
  .top {
    padding: 16px 12px 0;
    margin-bottom: -40px;
  }

  .top__inner {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    align-content: flex-start;
    min-height: auto;
    gap: 0;
  }

  /* ロゴ：1行目・全幅・中央揃え */
  .top__logo {
    order: 1;
    flex: 0 0 90%;
    width: 90%;
    min-width: 0;
    margin: 40px auto -32px;
  }

  /* バッジ：2行目・左下 */
  .top__badge {
    order: 2;
    width: calc(50% - 25px);
    align-self: flex-end;
    flex-shrink: 0;
    margin-top: 0;
    margin-left: 20px;
  }

  /* 赤べこ：2行目・右下（波に重なる） */
  .top__mascot {
    order: 3;
    width: calc(50% - 25px);
    align-self: flex-end;
    flex-shrink: 0;
    margin-right: 20px;
    animation-name: popBounceMascotSP;
  }

  .messages {
    padding: 20px 16px 28px;
  }

  .messages__inner {
    gap: 18px;
  }
}

@media (max-width: 767px) and (min-width: 500px) {
  .top__mascot {
    animation-name: popBounceMascotSP500;
  }
}

@media (max-width: 767px) {

  .access {
    padding: 24px 12px 48px;
  }
}

/* ==========================================
   SITE NAV  （固定ナビゲーション）
========================================== */

/* PC・中間幅: 右上固定 */
.sitenav {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 200;
}

.sitenav__list {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 12px;
}

.sitenav__item {
  display: flex;
}

.sitenav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: rgba(0, 115, 200, 0.9);
  color: #fff;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 28px;
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.15s;
  will-change: transform;
}

.sitenav__link:hover,
.sitenav__link:focus-visible {
  background: #163c6e;
  transform: translateY(-1px);
}

.sitenav__link--pink {
  background: rgba(230, 54, 122, 0.9);
}

.sitenav__link--pink:hover,
.sitenav__link--pink:focus-visible {
  background: #c01e5e;
}

.sitenav__link i {
  font-size: 0.88em;
  flex-shrink: 0;
}

/* 中間幅: 0.7倍縮小 */
@media (max-width: 1199px) and (min-width: 768px) {
  .sitenav__list {
    gap: 10px;
  }
  .sitenav__link {
    font-size: 1rem;
    padding: 9px 18px;
    border-radius: 24px;
    gap: 6px;
  }
  .outline__item-body .access__btn-group {
    flex-direction: column;
    align-items: stretch;
    width: calc(100% + 14px);
    margin-left: -14px;
    margin-top: 8px;
  }
  .outline__item-body .access__btn-group .access__btn {
    flex: none;
    width: 100%;
  }
}

/* SP: ボトムナビ */
@media (max-width: 767px) {
  body {
    padding-bottom: 0;
  }

  .footer {
    padding-bottom: calc(24px + 60px + env(safe-area-inset-bottom));
  }

  .sitenav {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #d0e4f5;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
  }

  .sitenav__list {
    gap: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .sitenav__item {
    flex: 1;
  }

  .sitenav__link {
    flex-direction: column;
    justify-content: center;
    background: none;
    color: #0073c8;
    padding: 0 2px;
    height: 60px;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-size: 0.62rem;
    gap: 3px;
    width: 100%;
    transition: background 0.15s;
    will-change: auto;
  }

  .sitenav__link:hover,
  .sitenav__link:focus-visible {
    background: #f0f7ff;
    transform: none;
  }

  .sitenav__link--pink {
    background: none;
    color: #E6367A;
  }

  .sitenav__link--pink:hover,
  .sitenav__link--pink:focus-visible {
    background: #fff0f5;
  }

  .sitenav__link i {
    font-size: 1.2rem;
  }
}

/* ==========================================
   SANDONKIN  賛同金のお願い
========================================== */
.sandonkin {
  background: #fff;
  padding: 40px 20px 64px;
}

.sandonkin__inner {
  max-width: 1600px;
  margin: 0 auto;
}

.sandonkin__card {
  background: #f0f7ff;
  border-radius: 12px;
  padding: 20px;
}

@media (min-width: 768px) {
  .sandonkin__card {
    padding: 32px;
  }
}

.sandonkin__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.sandonkin__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 32px;
}

.sandonkin__right {
  padding-left: 32px;
}

.sandonkin__lead {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: #333;
  line-height: 1.8;
  text-align: justify;
}

.sandonkin__amount {
  margin-top: auto;
}

.sandonkin__subheading {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 900;
  color: #163c6e;
  margin-bottom: 10px;
}


.sandonkin__amount-row {
  display: flex;
  align-items: center;
  gap: 40px;
}

.sandonkin__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: clamp(1.32rem, 1.98vw, 1.5rem);
  line-height: 1.4;
  color: #333;
  text-align: center;
  flex-shrink: 0;
  width: auto;
  background: #fff;
  border-radius: 10px;
  padding: clamp(16px, 1.2vw, 20px) clamp(16px, 2.4vw, 40px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.sandonkin__bubble {
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
  background: rgba(230, 54, 122, 0.9);
  color: #fff;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.26vw, 1.15rem);
  line-height: 1.5;
  text-align: center;
  padding: clamp(12px, 0.98vw, 16px) clamp(14px, 1.22vw, 20px);
  border-radius: 16px;
  opacity: 0;
  transform: scale3d(0.3, 0.3, 1);
  transform-origin: center;
  will-change: transform, opacity;
}

.sandonkin__bubble.is-visible {
  animation: popBounce 0.5s ease-out forwards;
}

.sandonkin__bubble::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 8px 16px 8px 0;
  border-color: transparent rgba(230, 54, 122, 0.9) transparent transparent;
}

.sandonkin__list strong {
  font-size: 1.2em;
}

.sandonkin__label {
  font-weight: 700;
  color: #0073c8;
}

.sandonkin__yen {
  font-size: 0.7em;
  vertical-align: baseline;
}

.sandonkin__transfer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.sandonkin__transfer-item {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.7;
  color: #333;
  text-align: justify;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.sandonkin__transfer-index {
  font-weight: 900;
  color: #0073c8;
}

.sandonkin__account {
  font-weight: 700;
  color: #163c6e;
}

.sandonkin__num {
  font-size: 1.2em;
  letter-spacing: 0.2em;
}

@media (max-width: 1099px) {
  .sandonkin__body {
    grid-template-columns: 1fr;
  }

  .sandonkin__left {
    padding-right: 0;
    padding-bottom: 20px;
  }

  .sandonkin__right {
    padding-left: 0;
    padding-top: 20px;
  }
}

@media (max-width: 767px) {
  .sandonkin {
    padding: 24px 12px 48px;
  }
}

@media (max-width: 600px) {
  .sandonkin__amount-row {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .sandonkin__list {
    width: 100%;
  }

  .sandonkin__bubble {
    align-self: center;
  }

  .sandonkin__bubble::before {
    left: 50%;
    top: -16px;
    transform: translateX(-50%);
    border-width: 0 8px 16px 8px;
    border-color: transparent transparent rgba(230, 54, 122, 0.9) transparent;
  }
}
