/* ============================================================
   地域おこし協力隊インターン募集サイト — SHARED STYLES
   ============================================================ */

/* Google Fonts は各 HTML の <link> タグで読み込む（@import はCSPのSRI適用不可のため） */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CSS CUSTOM PROPERTIES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
  --forest-900: #0F2409;
  --forest-800: #1A3310;
  --forest-700: #2D5A1E;
  --forest-600: #3D7A28;
  --forest-500: #4E9A32;
  --forest-400: #6BAE48;
  --forest-200: #D4E8CE;
  --forest-100: #EEF4EA;

  --sea-900: #051929;
  --sea-800: #0A2E52;
  --sea-700: #0E4378;
  --sea-600: #1456A0;
  --sea-500: #1976D2;
  --sea-100: #E3F2FD;
  --sea-50:  #EEF7FF;

  --n900: #0F0F0F;
  --n800: #1A1A1A;
  --n700: #2A2A2A;
  --n600: #4A4A4A;
  --n500: #6A6A6A;
  --n400: #9A9A9A;
  --n300: #C8C8C8;
  --n200: #E8E8E8;
  --n100: #F5F5F3;
  --white: #FFFFFF;

  --font-serif: 'Noto Serif JP', 'Georgia', serif;
  --font-sans: 'Noto Sans JP', 'Helvetica Neue', sans-serif;

  --max-w: 1160px;
  --nav-h: 72px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.11);
  --shadow-lg: 0 10px 48px rgba(0,0,0,0.16);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);

  /* Page-level theme tokens — overridden per sub-page */
  --page-primary:    var(--forest-600);
  --page-light:      var(--forest-100);
  --page-dark:       var(--forest-700);
  --page-darker:     var(--forest-800);
  --page-icon-bg:    rgba(45, 90, 30, 0.1);
  --page-icon-color: var(--forest-700);
}

/* Page theme: Forest (五戸) */
body.page--forest {
  --page-primary:    var(--forest-600);
  --page-light:      var(--forest-100);
  --page-dark:       var(--forest-700);
  --page-darker:     var(--forest-800);
  --page-icon-bg:    rgba(45, 90, 30, 0.1);
  --page-icon-color: var(--forest-700);
}
/* Page theme: Sea (階上) */
body.page--sea {
  --page-primary:    var(--sea-600);
  --page-light:      var(--sea-100);
  --page-dark:       var(--sea-700);
  --page-darker:     var(--sea-800);
  --page-icon-bg:    rgba(14, 67, 120, 0.08);
  --page-icon-color: var(--sea-600);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESET & BASE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
*, *::before, *::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--n800);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* prevent iOS Safari elastic overscroll from showing white edges */
  overscroll-behavior-x: none;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Force tap highlight off on all interactive elements */
a, button, [role="button"] {
  -webkit-tap-highlight-color: transparent;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NAVIGATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 9000;
  height: var(--nav-h);
  transition: background 400ms var(--ease), box-shadow 400ms var(--ease);
}

.navbar--transparent {
  background: transparent;
}

.navbar--solid {
  background: rgba(255,255,255,0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
}

.navbar__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 200ms;
}

.navbar__logo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 400ms;
}

.navbar--transparent .navbar__logo { color: rgba(255,255,255,0.95); }
.navbar--transparent .navbar__logo-dot { background: rgba(255,255,255,0.55); }
.navbar--solid .navbar__logo { color: var(--n800); }
.navbar--solid .navbar__logo-dot { background: var(--forest-600); }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar__link {
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 3px;
  white-space: nowrap;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 300ms var(--ease);
}

.navbar__link:hover::after,
.navbar__link--active::after { width: 100%; }

.navbar--transparent .navbar__link { color: rgba(255,255,255,0.85); }
.navbar--solid .navbar__link { color: var(--n600); }
.navbar--solid .navbar__link:hover { color: var(--n800); }

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 4px;
}

.navbar__toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 200ms, opacity 200ms;
}

.navbar--transparent .navbar__toggle { color: white; }
.navbar--solid .navbar__toggle { color: var(--n800); }

/* Mobile menu — compact dropdown */
@media (max-width: 860px) {
  .navbar__links {
    display: none;
    position: absolute;
    top: calc(var(--nav-h) + 6px);
    right: 16px;
    width: 220px;
    background: rgba(255,255,255,0.55);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.14), 0 1px 4px rgba(0,0,0,0.06);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 8998;
    overflow: hidden;
    padding-top: 0;
  }

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

  .navbar__links li { width: 100%; }

  .navbar__link {
    display: block;
    padding: 14px 20px;
    color: var(--n700) !important;
    border-bottom: 1px solid var(--n100);
    font-size: 0.9rem;
    font-family: var(--font-sans);
    font-weight: 400;
    letter-spacing: 0.03em;
    width: 100%;
    text-align: left;
    transition: background 150ms;
  }
  .navbar__links li:last-child .navbar__link { border-bottom: none; }
  .navbar__link:hover,
  .navbar__link:active { background: rgba(255,255,255,0.45); color: var(--n900) !important; }
  .navbar__link--active { color: var(--forest-700) !important; font-weight: 500; }
  .navbar__link::after { display: none; }
  .navbar__toggle { display: flex; }

  /* Hamburger → × animation */
  .navbar__toggle span {
    transition: transform 280ms var(--ease), opacity 200ms;
  }
  .navbar__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .navbar__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .navbar__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SOCIAL LINKS (Instagram / Website buttons)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1.5px solid;
  transition: background 180ms, color 180ms;
  text-decoration: none;
}
.social-link--forest {
  border-color: var(--forest-600);
  color: var(--forest-700);
}
.social-link--forest:hover { background: var(--forest-100); }
.social-link--sea {
  border-color: var(--sea-600);
  color: var(--sea-700);
}
.social-link--sea:hover { background: var(--sea-100); }
.social-link svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PAGE HERO (sub-pages)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page-hero {
  position: relative;
  height: 62vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.06);
  transition: transform 8s linear;
}

.page-hero:is(:hover, :focus-within) .page-hero__bg {
  transform: scale(1);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.28) 55%,
    rgba(0,0,0,0.08) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding: 56px 32px;
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
  color: white;
}

.page-hero__tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.45);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 10px;
}

.page-hero__sub {
  font-size: 0.95rem;
  opacity: 0.78;
  font-weight: 300;
  letter-spacing: 0.06em;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LAYOUT UTILITIES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 32px;
}

.section { padding-block: 96px; }
.section--sm { padding-block: 64px; }
.section--gray { background: var(--n100); }

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

@media (max-width: 780px) {
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .section { padding-block: 64px; }
  .section--sm { padding-block: 48px; }
  .container { padding-inline: 20px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TYPOGRAPHY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 20px;
}

.body-text {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  line-height: 2;
  color: var(--n600);
}

.divider {
  width: 48px;
  height: 2px;
  margin-block: 20px;
  border-radius: 1px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BUTTONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: all 200ms var(--ease);
  white-space: nowrap;
}

.btn--lg { padding: 18px 48px; font-size: 1rem; }

.btn--forest {
  background: var(--forest-700);
  color: white;
  border-color: var(--forest-700);
}
.btn--forest:hover {
  background: var(--forest-800);
  border-color: var(--forest-800);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 90, 30, 0.35);
}

.btn--sea {
  background: var(--sea-700);
  color: white;
  border-color: var(--sea-700);
}
.btn--sea:hover {
  background: var(--sea-800);
  border-color: var(--sea-800);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 67, 120, 0.35);
}

.btn--outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.55);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TIMELINE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.timeline {
  position: relative;
  padding-left: 36px;
}

.timeline__line {
  position: absolute;
  left: 7px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: var(--n200);
}

.timeline__item {
  position: relative;
  padding-bottom: 48px;
}
.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: -36px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--n200);
}

.timeline__day {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.timeline__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline__entry {
  display: flex;
  gap: 16px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--n600);
}

.timeline__time {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 600;
  min-width: 52px;
  padding-top: 2px;
  opacity: 0.65;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   INFO TABLE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.info-table th {
  text-align: left;
  padding: 14px 20px;
  font-weight: 600;
  width: 160px;
  min-width: 120px;
  vertical-align: top;
  white-space: nowrap;
}

.info-table td {
  padding: 14px 20px;
  vertical-align: top;
  line-height: 1.75;
  color: var(--n600);
  word-break: break-word;
  overflow-wrap: break-word;
}

.info-table tr { border-bottom: 1px solid var(--n200); }
.info-table tr:last-child { border-bottom: none; }

/* Scrollable fallback (all sizes — prevents horizontal overflow on old browsers) */
.info-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 560px) {
  /* Explicitly convert every table element to block — cross-browser safe */
  .info-table,
  .info-table thead,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .info-table th {
    padding: 14px 16px 4px;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: var(--n400) !important;
    background: transparent !important;
    border-bottom: none;
    white-space: normal;
    width: 100%;
    min-width: unset;
  }
  .info-table td {
    padding: 4px 16px 14px;
  }
  .info-table tr {
    border-bottom: 1px solid var(--n200) !important;
    padding: 0;
  }
  .info-table tr:last-child { border-bottom: none !important; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FEATURE CARD
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.feature-card {
  padding: 36px 28px;
  border-radius: 8px;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card__icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.feature-card__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.feature-card__text {
  font-size: 0.87rem;
  line-height: 1.75;
  color: var(--n600);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TARGET / ELIGIBILITY CARD
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.target-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.target-card__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--page-light);
}

.target-card__body h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.target-card__body p {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--n600);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CTA SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cta-section {
  padding-block: 96px;
  text-align: center;
  color: white;
}

.cta-section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.4;
}

.cta-section__sub {
  font-size: 1rem;
  opacity: 0.82;
  margin-bottom: 40px;
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.8;
}

.cta-section__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FADE ANIMATIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
[data-fade] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
}
[data-fade].is-visible { opacity: 1; transform: none; }
[data-fade-d="1"] { transition-delay: 100ms; }
[data-fade-d="2"] { transition-delay: 200ms; }
[data-fade-d="3"] { transition-delay: 320ms; }
[data-fade-d="4"] { transition-delay: 440ms; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BREADCRUMB
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 0;
  font-size: 0.8rem;
  color: var(--n400);
  border-bottom: 1px solid var(--n200);
  margin-bottom: 64px;
}
.breadcrumb a { color: var(--n400); transition: color 150ms; }
.breadcrumb a:hover { color: var(--page-primary); }
.breadcrumb__sep { opacity: 0.5; }
.breadcrumb__current { color: var(--page-primary); font-weight: 500; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   OVERVIEW GRID / TAGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.overview__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}
.overview__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TAG
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.tag--forest { background: var(--forest-100); color: var(--forest-700); }
.tag--sea    { background: var(--sea-100);    color: var(--sea-700); }
.tag--page   { background: var(--page-light); color: var(--page-dark); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   INFO BOX (sticky sidebar)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.info-box {
  background: var(--page-light);
  border-radius: 10px;
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.info-box__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  color: var(--page-darker);
}
.info-box__row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.84rem;
}
.info-box__label {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--page-dark);
  min-width: 60px;
}
.info-box__value { color: var(--n600); line-height: 1.6; }
.info-box__cta {
  margin-top: 24px;
  display: block;
  text-align: center;
  padding: 14px;
  background: var(--page-dark);
  color: white;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background 200ms, transform 200ms;
}
.info-box__cta:hover {
  background: var(--page-darker);
  transform: translateY(-1px);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ACTIVITY GRID / CARDS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* ── Activity slideshow (共通) ── */
/* PC: slideshow + cards side by side */
.exp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.exp-layout .activity-slideshow {
  margin: 0;
  min-height: 360px;
  height: 100%;
}
.exp-layout .activity-grid,
.exp-layout .exp-grid { grid-template-columns: repeat(2, 1fr); }

.activity-slideshow {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
}
.activity-slideshow__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}
.activity-slideshow__slide.is-active { opacity: 1; }
.activity-slideshow__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  display: block;
}
.activity-slideshow__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.activity-slideshow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none; cursor: pointer; padding: 0;
  transition: background 200ms, transform 200ms;
}
.activity-slideshow__dot.is-active { background: white; transform: scale(1.3); }
.activity-slideshow__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.32);
  border: none; color: white; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: background 200ms;
}
.activity-slideshow__arrow:hover { background: rgba(0,0,0,0.58); }
.activity-slideshow__arrow--prev { left: 12px; }
.activity-slideshow__arrow--next { right: 12px; }

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.activity-grid--purpose { grid-template-columns: repeat(2, 1fr); }

.activity-card {
  background: white;
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--page-primary);
  transition: transform 300ms var(--ease);
}
.activity-card:hover { transform: translateY(-4px); }
.activity-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: var(--page-icon-bg);
  color: var(--page-icon-color);
}
.activity-card__icon svg { width: 24px; height: 24px; flex-shrink: 0; }
.activity-card__title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--page-darker);
}
.activity-card__desc { font-size: 0.8rem; color: var(--n600); line-height: 1.6; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   STAY CARD (shared)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.stay-card { display: grid; gap: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); }
.stay-card__subtitle { font-size: 0.78rem; color: var(--n400); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.stay-card__title { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
.stay-card__desc { font-size: 0.87rem; color: var(--n600); line-height: 1.7; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   STAY MAP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.stay-map {
  margin-top: 24px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--n200);
}
.stay-map iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PARTNER CARD
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.partner-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: start;
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PARTNER INFO BLOCK
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.partner-info-block {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--page-light);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--page-darker);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   UTILITY CLASSES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.partner-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.partner-role  { font-size: 0.78rem; color: var(--n400); margin-bottom: 4px; }
.partner-name  { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; }
.tag-group     { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.btn--ghost    { border-color: rgba(255,255,255,0.3); }
.notice        { margin-top: 28px; font-size: 0.85rem; color: var(--n400); padding: 12px 20px; background: white; border-radius: 6px; display: inline-flex; align-items: center; gap: 8px; }
.mb-section    { margin-bottom: 40px; }
.section-header        { text-align: center; margin-bottom: 48px; }
.section-header--sm    { margin-bottom: 40px; }
.section-header--lg    { margin-bottom: 64px; }
.container--narrow     { max-width: 760px; }
.eyebrow--page         { color: var(--page-primary); }
.divider--page         { background: var(--page-primary); }
.cta-section__footnote { margin-top: 32px; font-size: 0.82rem; opacity: 0.65; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.footer {
  background: #0D0D0D;
  color: rgba(255,255,255,0.55);
  padding: 72px 32px 40px;
}

.footer__inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 32px;
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: white;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.footer__tagline {
  font-size: 0.82rem;
  line-height: 1.8;
}

.footer__nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer__nav-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.footer__nav-col a {
  display: block;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  transition: color 150ms;
}
.footer__nav-col a:hover { color: white; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

@media (max-width: 780px) {
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav-grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
  .footer__nav-grid { grid-template-columns: 1fr; }
  .footer { padding: 56px 20px 32px; }
}

@media (max-width: 600px) {
  .page-hero__content { padding: 36px 20px; }
  .page-hero__title { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .page-hero { min-height: 320px; }
  .btn--lg { padding: 14px 24px; font-size: 0.9rem; }
  .btn { white-space: normal; text-align: center; }
  .cta-section { padding-block: 64px; }
  .cta-section__title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .cta-section__buttons { flex-direction: column; align-items: center; gap: 12px; }
  .cta-section__buttons .btn { width: 100%; max-width: 320px; justify-content: center; }
  /* Shared sub-page components */
  .overview__grid { grid-template-columns: 1fr; }
  .overview__grid > div:last-child { order: -1; }
  .info-box { position: static; }
  .exp-layout { grid-template-columns: 1fr; }
  .exp-layout .activity-slideshow { order: -1; height: 200px; min-height: unset; margin-bottom: 24px; }
  .activity-slideshow { height: 200px; }
  .activity-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .activity-grid--purpose { grid-template-columns: 1fr 1fr; gap: 10px; }
  .activity-card { padding: 16px 10px; }
  .activity-card__icon { width: 40px; height: 40px; margin-bottom: 10px; border-radius: 10px; }
  .activity-card__icon svg { width: 20px; height: 20px; }
  .activity-card__title { font-size: 0.82rem; }
  .activity-card__desc { font-size: 0.74rem; }
  .partner-card { grid-template-columns: 1fr; padding: 28px 24px; }
  .partner-card > div:first-child { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .breadcrumb { margin-bottom: 32px; }
}

@media (max-width: 400px) {
  .container { padding-inline: 16px; }
  .section { padding-block: 48px; }
}
