:root {
  --green: #007947;
  --green-dark: #005f3b;
  --green-soft: #eaf5e7;
  --mint: #44c5aa;
  --sky: #27acd2;
  --ink: #1d1d1d;
  --muted: #666;
  --line: #9fd9ca;
  --seminar-bg: #d7f0fa;
  --seminar-blue: #2484c6;
  --seminar-tab: #666;
  --footer: #d9ecd4;
  --white: #fff;
  --content: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  width: min(var(--content), calc(100% - 40px));
  min-height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
  width: 137px;
}

.brand img {
  width: 100%;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #252525;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.global-nav a:not(.nav-button) {
  padding: 20px 0;
}

.global-nav a:not(.nav-button):hover {
  color: var(--green);
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 16px;
  border-radius: 3px;
  color: var(--white);
  font-size: 14px;
  line-height: 1;
}

.nav-button-primary {
  background: var(--green);
}

.nav-button-secondary {
  background: #18a669;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--green);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  background: #d9ebd3;
}

.hero-picture {
  display: block;
  width: 100%;
  background: #d9ebd3;
}

.hero-image {
  width: min(1330px, 100%);
  margin: 0 auto;
}

.entry-badge {
  position: absolute;
  right: max(22px, calc((100vw - 1120px) / 2 + 10px));
  top: 0;
  transform: translateY(-50%);
  width: clamp(86px, 11vw, 139px);
  border-radius: 50%;
  transition: transform 0.2s ease;
  z-index: 18;
}

.entry-badge.is-following {
  position: fixed;
  right: 50px;
  top: var(--entry-badge-follow-top);
}

.entry-badge:hover {
  transform: translateY(calc(-50% - 3px));
}

.concept-section {
  position: relative;
  background: linear-gradient(180deg, #f7fcf4 0%, #edf7e9 100%);
  padding: 104px 0 72px;
}

.section-inner {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.section-inner-narrow {
  width: min(1186px, calc(100% - 40px));
}

.section-title {
  display: flex;
  justify-content: center;
}

.section-title img {
  height: auto;
}

.section-title-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.section-title-en {
  color: var(--green);
  font-size: 44px;
  font-weight: 900;
}

.section-title-ja {
  margin-top: 13px;
  color: #111;
  font-size: 17px;
  font-weight: 800;
}

.concept-catchcopy {
  width: fit-content;
  max-width: 100%;
  margin: 34px auto 20px;
  padding: 0 12px 10px;
  border-bottom: 2px dotted var(--green);
  color: var(--green);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.concept-catchcopy small {
  font-size: 20px;
  font-weight: 900;
}

.concept-lead {
  width: min(760px, 100%);
  margin: 0 auto;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
  text-align: center;
}

.concept-cards {
  width: min(1186px, 100%);
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 380px));
  justify-content: center;
  gap: 22px;
}

.concept-card {
  position: relative;
  min-height: 300px;
  padding: 46px 24px 26px;
  border: 2px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  text-align: center;
}

.card-number {
  position: absolute;
  left: 16px;
  top: -24px;
  color: var(--mint);
  font-size: 39px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
}

.card-icon {
  height: 69px;
  width: auto;
  margin: 0 auto 24px;
}

.concept-card h2 {
  margin: 0;
  color: #111;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.7;
}

.concept-card h2 span {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 2px dotted var(--green);
}

.concept-card p {
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;
  color: #555;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

.concept-card-line {
  display: block;
  white-space: nowrap;
}

.map-section {
  position: relative;
  padding: 74px 0 150px;
  background: var(--white);
}

.section-character,
.footer-character {
  position: absolute;
  z-index: 3;
  height: auto;
  pointer-events: none;
}

.map-character {
  top: -28px;
  left: calc(50% + 150px);
  width: 60px;
}

.hall-map {
  width: 80%;
  margin: 42px auto 0;
  overflow: hidden;
}

.hall-map img {
  width: 100%;
  border-radius: 1px;
}

.section-heading-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.section-heading-en {
  color: #555;
  font-size: 46px;
  font-weight: 900;
}

.section-heading-ja {
  margin-top: 8px;
  color: #111;
  font-size: 16px;
  font-weight: 800;
}

.section-heading-text-access .section-heading-en {
  color: var(--sky);
}

.seminar-section {
  position: relative;
  scroll-margin-top: 56px;
  padding: 100px 0 150px;
  background: var(--seminar-bg);
}

.seminar-character {
  top: -68px;
  left: max(24px, calc(50% - 520px));
  width: 87px;
}

.seminar-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.seminar-title-en {
  color: var(--seminar-blue);
  font-size: 46px;
  font-weight: 900;
}

.seminar-title-ja {
  margin-top: 8px;
  color: #111;
  font-size: 16px;
  font-weight: 800;
}

.seminar-lead {
  width: min(900px, 100%);
  margin: 42px auto 0;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
}

.seminar-schedule {
  width: min(1186px, 100%);
  margin: 44px auto 0;
  overflow: visible;
  border: 1px solid #999;
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: var(--white);
}

.seminar-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: 0 -1px;
  background: var(--seminar-bg);
}

.seminar-tab {
  position: relative;
  min-height: 74px;
  padding: 10px 20px;
  border: 1px solid #999;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background: var(--seminar-tab);
  color: var(--white);
  font-family: inherit;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.25;
  cursor: pointer;
}

.seminar-tab.is-active {
  z-index: 2;
  background: var(--white);
  color: #111;
}

.seminar-tab.is-active::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 3px;
  background: var(--white);
  content: "";
}

.seminar-tab:focus-visible,
.seminar-reserve-button:focus-visible {
  outline: 3px solid rgba(36, 132, 198, 0.45);
  outline-offset: -4px;
}

.seminar-panel {
  overflow-x: auto;
  padding: 50px 30px 10px;
  border-top: 1px solid #999;
}

.seminar-panel img {
  width: 100%;
  min-width: 680px;
  margin: 0 auto;
}

.seminar-reserve-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  width: min(510px, calc(100% - 40px));
  min-height: 62px;
  margin: 24px auto 38px;
  padding: 12px 27px 12px 34px;
  border: 1px solid #333;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 4px 0 #333;
  color: #333;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.seminar-reserve-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #333;
}

.seminar-reserve-button img {
  flex: 0 0 auto;
  width: 39px;
}

.access-section {
  position: relative;
  padding: 100px 0 150px;
  background: var(--white);
}

.access-character {
  top: -52px;
  left: max(24px, calc(50% - 520px));
  width: 63px;
}

.access-layout {
  width: 100%;
  margin: 40px auto 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.google-map {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid #d9d9d9;
}

.google-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.access-copy h2 {
  margin: 0 0 12px;
  color: #111;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}

.access-copy h3 {
  margin: 18px 0 8px;
  color: var(--sky);
  font-size: 20px;
  font-weight: 900;
}

.access-copy p {
  margin: 0 0 12px;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.access-copy strong {
  position: relative;
  display: inline-block;
  padding-left: 17px;
  margin-bottom: 2px;
  color: var(--sky);
  font-size: 18px;
  font-weight: 900;
}

.access-copy strong::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--sky);
  content: "";
}

.access-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  min-height: 76px;
  margin: 0 auto;
  padding: 0 84px;
  border: 0;
  border-radius: 8px;
  background: #59acd1;
  color: var(--white);
  font-family: inherit;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: none;
}

.access-button-icon {
  position: absolute;
  right: 32px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--white);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.access-button[aria-expanded="true"] {
  border-radius: 8px 8px 0 0;
}

.access-more {
  width: 100%;
  margin: 0 auto;
  padding: 34px 38px 40px;
  background: #e4f3f9;
  color: #111;
}

.access-more h2 {
  margin: 0 0 10px;
  color: #4da0c8;
  font-size: 24px;
  font-weight: 900;
}

.access-more h2:not(:first-child) {
  margin-top: 44px;
}

.access-more h3 {
  margin: 14px 0 4px;
  color: #4da0c8;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
}

.access-more p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.parking-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.parking-list section {
  padding-right: 18px;
  border-right: 1px solid #63afd2;
}

.parking-list section:last-child {
  border-right: 0;
}

.site-footer {
  position: relative;
  background: var(--footer);
  padding: 100px 0 22px;
}

.footer-character-left {
  top: -42px;
  left: max(24px, calc(50% - 580px));
  width: 69px;
}

.footer-character-right {
  top: -52px;
  right: max(24px, calc(50% - 580px));
  width: 110px;
}

.footer-inner {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.sponsor-box {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 54px 74px 48px;
  border-radius: 24px;
  background: var(--white);
}

.sponsor-box dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px 34px;
  align-items: center;
}

.sponsor-box dl > div {
  display: contents;
}

.sponsor-box dt {
  color: #222;
  font-size: 16px;
  font-weight: 800;
}

.sponsor-box dd {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.support-logos {
  display: flex;
  align-items: center;
  gap: 42px;
  flex-wrap: wrap;
}

.support-logos img:nth-child(1) {
  width: 271px;
}

.support-logos img:nth-child(2) {
  width: 198px;
}

.support-logos img:nth-child(3) {
  width: 256px;
}

.footer-links {
  width: min(1200px, 100%);
  margin: 46px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #333;
  font-size: 16px;
  font-weight: 700;
}

.policy-links {
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}

.policy-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.policy-links a::after {
  content: " >";
  text-decoration: none;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 330px;
  min-height: 64px;
  border: 2px solid #4f7040;
  border-radius: 999px;
  background: var(--white);
  color: #2e3b25;
  font-size: 18px;
  font-weight: 800;
}

.contact-button img {
  width: 26px;
  height: auto;
  margin-left: 10px;
}

.copyright-line {
  width: 100%;
  height: 1px;
  margin-top: 44px;
  background: var(--white);
}

.copyright {
  margin: 20px 0 0;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 58px;
  }

  .nav-toggle {
    display: block;
  }

  .global-nav {
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 20px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  .global-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .global-nav a:not(.nav-button) {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .nav-button {
    min-height: 40px;
    margin-top: 12px;
    font-size: 13px;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .concept-cards {
    grid-template-columns: 1fr;
    width: min(380px, 100%);
    gap: 34px;
  }

  .access-layout {
    grid-template-columns: 1fr;
    width: min(560px, 100%);
  }

  .sponsor-box dl {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sponsor-box dl > div {
    display: block;
  }

  .sponsor-box dt {
    margin-bottom: 8px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .parking-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .parking-list section:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .section-inner,
  .section-inner-narrow,
  .footer-inner {
    width: min(100% - 28px, var(--content));
  }

  .brand {
    width: 122px;
  }

  .hero {
    min-height: 0;
    padding: 0;
  }

  .hero-image {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .entry-badge {
    right: 14px;
    top: 0;
    width: 94px;
  }

  .entry-badge.is-following {
    right: 14px;
  }

  .concept-section {
    padding: 68px 0 54px;
  }

  .section-title-en {
    font-size: 36px;
  }

  .section-title-ja {
    margin-top: 8px;
    font-size: 14px;
  }

  .concept-catchcopy {
    width: fit-content;
    max-width: 100%;
    margin: 26px auto 14px;
    padding: 0 10px 8px;
    font-size: 24px;
    white-space: normal;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .concept-catchcopy span {
    display: block;
    font-size: 24px;
  }

  .concept-catchcopy small {
    display: block;
    margin-top: 4px;
    font-size: 16px;
  }

  .concept-lead {
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.7;
    text-align: left;
  }

  .pc-break {
    display: none;
  }

  .concept-card {
    min-height: 286px;
    padding: 34px 20px 24px;
  }

  .concept-card h2 {
    font-size: 18px;
    line-height: 1.6;
  }

  .concept-card p {
    margin-top: 12px;
    font-size: 14px;
    text-align: center;
  }

  .card-icon {
    height: 55px;
    margin-bottom: 16px;
  }

  .map-section {
    padding: 56px 0 95px;
  }

  .section-heading-en {
    font-size: 34px;
  }

  .section-heading-ja {
    margin-top: 6px;
    font-size: 14px;
  }

  .map-character {
    top: -20px;
    right: 15%;
    left: auto;
    width: 48px;
  }

  .hall-map {
    width: 100%;
    margin-top: 30px;
  }

  .seminar-section {
    padding: 100px 0 58px;
  }

  .seminar-character {
    top: -45px;
    left: 18px;
    width: 70px;
  }

  .seminar-lead {
    margin-top: 32px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
  }

  .seminar-title-en {
    font-size: 36px;
  }

  .seminar-title-ja {
    margin-top: 6px;
    font-size: 14px;
  }

  .seminar-schedule {
    margin-top: 44px;
  }

  .seminar-tab {
    min-height: 54px;
    padding: 9px 4px;
    font-size: 18px;
  }

  .seminar-panel {
    padding: 32px 14px 10px;
  }

  .seminar-panel img {
    width: 620px;
    max-width: none;
    min-width: 620px;
  }

  .seminar-reserve-button {
    width: calc(100% - 28px);
    min-height: 66px;
    margin: 20px auto 30px;
    padding: 12px 18px 12px 24px;
    font-size: 14px;
  }

  .seminar-reserve-button img {
    width: 34px;
  }

  .access-section {
    padding: 100px 0 56px;
  }

  .access-copy h2 {
    font-size: 16px;
  }

  .access-copy h3 {
    font-size: 14px;
  }

  .access-copy p {
    font-size: 12px;
  }

  .access-copy strong {
    padding-left: 14px;
    font-size: 14px;
  }

  .access-copy strong::before {
    width: 8px;
    height: 8px;
  }

  .access-character {
    top: -40px;
    left: 18px;
    width: 52px;
  }

  .access-button {
    min-height: 54px;
    padding: 0 48px 0 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .access-button-icon {
    right: 12px;
    width: 28px;
    height: 28px;
    font-size: 27px;
  }

  .access-more {
    padding: 28px 22px 32px;
  }

  .access-more h2 {
    font-size: 18px;
  }

  .access-more h3 {
    font-size: 14px;
  }

  .access-more p {
    font-size: 12px;
  }

  .parking-list {
    grid-template-columns: 1fr;
  }

  .parking-list section {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid #63afd2;
  }

  .parking-list section:last-child {
    border-bottom: 0;
  }

  .sponsor-box {
    padding: 30px 22px;
    border-radius: 14px;
  }

  .footer-character-left {
    top: -30px;
    left: 16px;
    width: 58px;
  }

  .footer-character-right {
    top: -42px;
    right: 16px;
    width: 92px;
  }

  .sponsor-box dt,
  .sponsor-box dd {
    font-size: 13px;
    line-height: 1.6;
  }

  .support-logos {
    gap: 14px;
  }

  .support-logos img:nth-child(1) {
    width: 230px;
  }

  .support-logos img:nth-child(2) {
    width: 178px;
  }

  .support-logos img:nth-child(3) {
    width: 230px;
  }

  .policy-links {
    justify-content: center;
    gap: 18px;
  }

  .contact-button {
    width: 100%;
    min-width: 0;
    min-height: 58px;
  }
}

.sp-button-line {
  display: inline;
}

@media (max-width: 560px) {
  .seminar-reserve-label {
    display: block;
  }

  .sp-button-line {
    display: block;
    white-space: nowrap;
  }
}

/* ============================================
   Contents Page Styles
   ============================================ */

/* --- Hero Section --- */
.contents-hero {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  height: clamp(500px, 46vw, 600px);
}

.contents-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contents-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.contents-hero-overlay {
  position: absolute;
  inset: 0;
  background: #00a279;
  clip-path: polygon(0 0, 56% 0, 41% 100%, 0 100%);
  z-index: 1;
}

.contents-hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--content), calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
}

.contents-hero-title-block {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.contents-hero-title-img {
  width: min(340px, 50vw);
  height: auto;
}

.contents-hero-text {
  position: absolute;
  left: 0;
  top: 230px;
  max-width: 44%;
  color: var(--white);
}

.contents-hero-heading {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.contents-hero-lead {
  margin: 20px 0 0;
  font-size: clamp(14px, 1.25vw, 16px);
  font-weight: 500;
  line-height: 1.95;
  opacity: 0.95;
}

/* --- Midokoro Section --- */
.contents-midokoro-section {
  position: relative;
  padding: 100px 0 60px;
  background: #d7ebd7;
  overflow: hidden;
}

/* Decorative Illustrations */
.contents-deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  height: auto;
}

.contents-deco-cloud-01 {
  top: 70px;
  left: 3%;
  width: 96px;
  opacity: 0.8;
}

.contents-deco-cloud-02 {
  top: 200px;
  left: 7%;
  width: 76px;
  opacity: 0.6;
}

.contents-deco-cloud-03 {
  top: 60px;
  right: 14%;
  width: 86px;
  opacity: 0.7;
}

.contents-deco-cloud-04 {
  top: 180px;
  right: 4%;
  width: 68px;
  opacity: 0.6;
}

.contents-deco-ballon {
  top: 30px;
  right: 6%;
  width: 76px;
  animation: contents-float 4s ease-in-out infinite;
}

@keyframes contents-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.contents-midokoro-section .section-inner {
  position: relative;
  z-index: 2;
}

.contents-midokoro-title {
  display: flex;
  justify-content: center;
}

.contents-midokoro-title-img {
  width: min(440px, 75vw);
  height: auto;
}

.contents-midokoro-cards {
  width: min(1080px, 100%);
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 345px));
  justify-content: center;
  gap: 28px;
}

.contents-midokoro-card {
  text-align: center;
  padding: 36px 26px 30px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: none;
}

.contents-midokoro-icon {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.contents-midokoro-card h3 {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 2px dotted #007a48;
  color: #007a48;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.3;
}

.contents-midokoro-card p {
  margin: 18px 0 0;
  color: #444;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
  text-align: left;
}

/* --- Check List --- */
.contents-check-list {
  list-style: none;
  margin: 72px auto 0;
  padding: 0;
  width: min(780px, 80%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contents-check-list li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  border: 1.5px solid #00a675;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 4px 4px 0 #00a675;
  font-size: 20px;
  font-weight: 800;
  color: #007a48;
  letter-spacing: 0.02em;
}

.contents-check-list li img {
  position: absolute;
  left: 24px;
  width: 28px;
  height: 28px;
}

/* --- Slide Section --- */
.contents-slide-section {
  overflow: hidden;
  padding: 40px 0 100px;
  background: #d7ebd7;
}

.contents-slide-track {
  display: flex;
  gap: 15px;
  width: fit-content;
  animation: contents-slide-scroll 30s linear infinite;
}

.contents-slide-track img {
  flex: 0 0 auto;
  width: calc(25vw - 15px);
  min-width: 280px;
  max-width: 380px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

@keyframes contents-slide-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 7.5px));
  }
}

.contents-slide-section:hover .contents-slide-track {
  animation-play-state: paused;
}

/* --- MOKU-TOWN Section --- */
.contents-moku-section {
  position: relative;
  padding: 100px 0 100px;
  background: var(--white);
}

.contents-deco-people-01 {
  position: absolute;
  top: -65px;
  right: max(24px, calc(50% - 460px));
  width: 105px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.contents-moku-title {
  display: flex;
  justify-content: center;
}

.contents-moku-title-img {
  width: min(540px, 80vw);
  height: auto;
}

.contents-moku-lead {
  width: min(920px, 100%);
  margin: 44px auto 0;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  line-height: 2.1;
  text-align: center;
}

.contents-moku-grid {
  width: min(1030px, 100%);
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 485px);
  justify-content: center;
  gap: 36px 30px;
  align-items: stretch;
}

.contents-moku-card {
  width: 485px;
  height: 100%;
  box-sizing: border-box;
  border: 1px solid #d7ebd7;
  border-radius: 12px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: 0 0 36px;
  transition: box-shadow 0.2s ease;
}

.contents-moku-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.contents-moku-card h3 {
  margin: 0;
  padding: 35px 20px 24px;
  color: #00944d;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
}

.contents-moku-card-img-wrap {
  padding: 0 36px;
  width: 100%;
  box-sizing: border-box;
}

.contents-moku-card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.contents-moku-card-body {
  padding: 20px 36px 0px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contents-moku-card-body p {
  margin: 0 0 30px;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
  text-align: left;
}

.contents-moku-card-body .contents-detail-button {
  margin-top: auto;
  margin-bottom: 0;
}

/* --- Detail Button (Switch Press Animation) --- */
.contents-detail-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(320px, 100%);
  min-height: 52px;
  margin: 28px auto 0;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: #007849;
  box-shadow: 4px 4px 0 #1d1d1d;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}

.contents-detail-button:hover {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 #1d1d1d;
}

.contents-detail-button:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 #1d1d1d;
}

.contents-detail-button span {
  display: block;
  width: 100%;
  text-align: center;
  letter-spacing: 0.04em;
}

.contents-detail-button img {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: auto;
  pointer-events: none;
}

/* --- Other Contents Section --- */
.contents-other-section {
  position: relative;
  padding: 100px 0 0;
  background: #d7ebd7;
}

.contents-deco-people-02 {
  position: absolute;
  top: -70px;
  left: max(24px, calc(50% - 460px));
  width: 95px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.contents-other-title {
  margin: 0 0 48px;
  color: #111;
  font-size: 30px;
  font-weight: 900;
  text-align: center;
  line-height: 1.4;
}

.contents-other-list {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contents-other-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  align-items: center;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  box-shadow: none;
}

.contents-other-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.contents-other-card-text {
  padding: 40px 20px 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contents-other-card-text h3 {
  margin: 0;
  color: #00944d;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.2;
  border-bottom: 3px dotted #78c482;
  padding-bottom: 14px;
  width: 100%;
}

.contents-other-card-text p {
  margin: 20px 0 0;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}

.contents-other-card-text .contents-detail-button {
  margin: 30px 0 0;
  align-self: flex-start;
}

.contents-other-card-img {
  padding: 45px 35px 45px 15px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contents-other-card-img img {
  width: 380px;
  height: 250px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

/* --- Back to Top --- */
.contents-back-to-top-wrap {
  padding: 60px 0 70px;
  text-align: center;
  background: transparent;
}

.contents-back-to-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(320px, 100%);
  min-height: 54px;
  margin: 0 auto;
  padding: 12px 20px;
  border: 2px solid #007849;
  border-radius: 999px;
  background: var(--white);
  filter: drop-shadow(4px 4px 0 #1d1d1d);
  color: #111;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
  box-sizing: border-box;
}

.contents-back-to-top:hover {
  transform: translate(4px, 4px);
  filter: drop-shadow(0 0 0 transparent);
  background: var(--white);
  color: #111;
}

.contents-back-to-top:active {
  transform: translate(4px, 4px);
  filter: drop-shadow(0 0 0 transparent);
}

.contents-back-to-top span {
  display: block;
  width: 100%;
  text-align: center;
  letter-spacing: 0.04em;
}

.contents-back-to-top img {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: auto;
  pointer-events: none;
}

/* --- Contents Footer --- */
.site-footer-contents {
  padding: 0 0 50px;
  background: #d7ebd7;
  border: 0;
  margin: 0;
}

.site-footer-contents .footer-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.site-footer-contents .copyright-line {
  display: none;
}

.site-footer-contents .copyright {
  margin: 0;
  font-size: 14px;
  color: #444;
  text-align: center;
}

/* --- Nav current state --- */
.global-nav a.is-current {
  color: var(--green);
  position: relative;
}

.global-nav a.is-current::after {
  content: "";
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
}

/* ============================================
   Contents Page Responsive
   ============================================ */

@media (max-width: 900px) {
  .contents-hero {
    position: relative;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #00a279;
    overflow: hidden;
  }

  .contents-hero-overlay {
    display: none;
  }

  /* 上部分：ページ名とキャッチコピー（緑背景） */
  .contents-hero-inner {
    order: 1;
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 44px 24px 64px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #00a279;
    /* 下辺を斜めにカット（左下深く、右下浅い） */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
  }

  .contents-hero-title-block {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto 20px;
    text-align: center;
  }

  .contents-hero-title-img {
    width: min(280px, 70vw);
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .contents-hero-text {
    position: static;
    top: auto;
    left: auto;
    max-width: 100%;
    color: var(--white);
    text-align: center;
    margin: 0 auto;
  }

  .contents-hero-heading {
    font-size: clamp(22px, 5.2vw, 30px);
    font-weight: 900;
    line-height: 1.4;
  }

  .contents-hero-lead {
    margin: 16px auto 0;
    font-size: clamp(13px, 3.4vw, 15px);
    font-weight: 500;
    line-height: 1.75;
    max-width: 440px;
    text-align: left;
  }

  /* 下部分：メイン画像（写真） */
  .contents-hero-bg {
    order: 2;
    position: relative;
    inset: auto;
    width: 100%;
    height: 250px;
    margin-top: -40px;
    z-index: 1;
  }

  .contents-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .contents-midokoro-section {
    padding: 70px 0 40px;
  }

  .contents-midokoro-cards {
    grid-template-columns: 1fr;
    width: min(380px, 100%);
    gap: 24px;
  }

  .contents-deco-people-01 {
    top: -50px;
    right: 5%;
    width: 85px;
  }

  .contents-moku-section {
    padding: 70px 0;
  }

  .contents-moku-grid {
    grid-template-columns: 1fr;
    width: min(485px, 100%);
    gap: 28px;
  }

  .contents-moku-card {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .contents-deco-people-02 {
    top: -55px;
    left: 6%;
    width: 75px;
  }

  .contents-other-section {
    padding: 70px 0 0;
  }

  .contents-other-card {
    grid-template-columns: 1fr;
  }

  .contents-other-card-text h3 {
    font-size: 26px;
  }

  .contents-other-card-img {
    padding: 0 36px 36px;
    width: 100%;
    box-sizing: border-box;
  }

  .contents-other-card-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .contents-back-to-top-wrap {
    padding: 70px 0;
  }
}

@media (max-width: 560px) {
  .contents-hero-inner {
    padding: 36px 18px 52px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%);
  }

  .contents-hero-title-img {
    width: 200px;
  }

  .contents-hero-heading {
    font-size: 21px;
  }

  .contents-hero-lead {
    font-size: 13px;
    line-height: 1.7;
  }

  .contents-hero-bg {
    height: 210px;
    margin-top: -32px;
  }

  .contents-deco-cloud-01 { width: 55px; }
  .contents-deco-cloud-02 { width: 45px; }
  .contents-deco-cloud-03 { width: 50px; }
  .contents-deco-cloud-04 { width: 40px; }
  .contents-deco-ballon { width: 45px; top: 10px; }

  .contents-midokoro-section {
    padding: 60px 0 30px;
  }

  .contents-midokoro-title-img {
    width: min(300px, 75vw);
  }

  .contents-midokoro-cards {
    margin-top: 36px;
  }

  .contents-midokoro-icon {
    width: 70px;
    height: 70px;
  }

  .contents-midokoro-card h3 {
    font-size: 24px;
  }

  .contents-midokoro-card p {
    font-size: 14px;
  }

  .contents-check-list {
    width: calc(100% - 28px);
    margin-top: 48px;
    gap: 12px;
  }

  .contents-check-list li {
    padding: 14px 18px 14px 48px;
    font-size: 15px;
  }

  .contents-check-list li img {
    left: 14px;
    width: 22px;
    height: 22px;
  }

  .contents-slide-section {
    padding: 20px 0 60px;
  }

  .contents-slide-track img {
    width: 240px;
    min-width: 200px;
  }

  .contents-deco-people-01 {
    top: -42px;
    right: 4%;
    width: 70px;
  }

  .contents-moku-section {
    padding: 60px 0;
  }

  .contents-moku-title-img {
    width: min(300px, 80vw);
  }

  .contents-moku-lead {
    margin-top: 24px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
    text-align: left;
  }

  .contents-moku-card h3 {
    font-size: 22px;
    padding: 20px 16px 14px;
  }

  .contents-moku-card-img-wrap {
    padding: 0 16px;
  }

  .contents-moku-card-body {
    padding: 16px 16px 0;
  }

  .contents-moku-card-body p {
    font-size: 14px;
  }

  .contents-detail-button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 10px 20px;
    font-size: 17px;
  }

  .contents-deco-people-02 {
    top: -46px;
    left: 5%;
    width: 60px;
  }

  .contents-other-section {
    padding: 60px 0 0;
  }

  .contents-other-title {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .contents-other-card-text {
    padding: 24px 20px;
  }

  .contents-other-card-text h3 {
    font-size: 22px;
  }

  .contents-other-card-text p {
    font-size: 14px;
  }

  .contents-other-card-img {
    padding: 0 20px 24px;
  }

  .contents-back-to-top-wrap {
    padding: 60px 0;
  }

  .contents-back-to-top {
    min-width: 200px;
    min-height: 48px;
    font-size: 15px;
  }

  .global-nav a.is-current::after {
    bottom: 10px;
  }
}

/* ==============================
   Terms Page (ご利用にあたって)
   ============================== */
.terms-page {
  padding: 40px 0 80px;
  background: var(--white);
}

.terms-inner {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
}

.terms-breadcrumb {
  font-size: 14px;
  color: #666;
  font-weight: 600;
}

.terms-breadcrumb a {
  color: #666;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.terms-breadcrumb span {
  margin: 0 4px;
}

.terms-page-title {
  margin: 40px 0 0;
  padding-bottom: 16px;
  border-bottom: 2px solid #ddd;
  font-size: 32px;
  font-weight: 900;
  color: #222;
  line-height: 1.3;
}

.terms-title-slash {
  display: inline-block;
  color: var(--green);
  font-size: 38px;
  font-weight: 900;
  margin-right: 8px;
}

.terms-body {
  margin-top: 40px;
}

.terms-body p {
  margin: 16px 0 0;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
}

.terms-body p:first-child {
  margin-top: 0;
}

.terms-body h2 {
  margin: 48px 0 0;
  padding: 0 0 0 16px;
  border-left: 4px solid var(--green);
  font-size: 20px;
  font-weight: 800;
  color: #222;
  line-height: 1.4;
}

.terms-body h2 + p {
  margin-top: 16px;
}

.terms-body ul,
.terms-body ol {
  margin: 16px 0 0;
  padding-left: 24px;
}

.terms-body ul li,
.terms-body ol li {
  margin: 8px 0 0;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
}

.terms-body ul li:first-child,
.terms-body ol li:first-child {
  margin-top: 0;
}

.terms-body a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Contact Area (Footer) --- */
.contact-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contact-mail-info {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  text-align: center;
}

.contact-mail-info a {
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
}

/* --- Terms Page Responsive --- */
@media (max-width: 900px) {
  .terms-page {
    padding: 30px 0 60px;
  }

  .terms-page-title {
    margin-top: 30px;
    font-size: 26px;
  }

  .terms-title-slash {
    font-size: 30px;
  }

  .terms-body h2 {
    font-size: 18px;
    margin-top: 36px;
  }

  .terms-body p {
    font-size: 14px;
  }

  .terms-body ul li,
  .terms-body ol li {
    font-size: 14px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .policy-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

