/*
Theme Name: dondon-theme
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: Original WordPress theme for dondon project.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: dondon-theme
*/

:root {
  --color-bg: #f6f1eb;
  --color-paper: #ffffff;
  --color-text: #141414;
  --color-line: #ddd4ca;
  --color-navy: #0f2a44;
  --color-pink: #f15a95;
  --color-pink-strong: #e83984;
  --color-green: #32a56b;
  --color-orange: #f29421;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 22px;
  --shadow-soft: 0 10px 24px rgba(20, 20, 20, 0.08);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

body {
  margin: 0;
  color: var(--color-text);
  background: radial-gradient(circle at 20% 0%, #fffefc 0, var(--color-bg) 60%);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.6;
}

body.is-menu-open {
  overflow: hidden;
}

.l-container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.l-main {
  width: 100%;
}

.l-section {
  padding: 3.5rem 0;
}

.c-heading {
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin-bottom: 0.9rem;
  text-align: center;
}

.c-heading--hero {
  color: #fff;
  font-size: clamp(2.2rem, 4.3vw, 4.2rem);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.c-section-lead {
  color: #41362d;
  margin-bottom: 1.4rem;
  text-align: center;
}

.c-button-group {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 58px;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
}

.c-button--primary {
  color: #fff;
  background: linear-gradient(90deg, var(--color-pink-strong), var(--color-pink));
}

.c-button--secondary {
  color: #1c1c1c;
  background: #fff;
}

.c-button--ghost {
  color: var(--color-navy);
  border: 1px solid currentColor;
  background: #fff;
}

.c-card-grid {
  display: grid;
  gap: 1rem;
}

.c-card-grid--3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.c-card-grid--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.c-card {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
}

.c-card__link {
  display: block;
  padding: 1.25rem;
}

.c-card__title {
  font-size: 1.95rem;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.c-card__text {
  font-size: 1rem;
}

.l-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(5px);
}

.c-env-marker {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 120;
  min-width: 64px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.c-env-marker--dev {
  background: #d16800;
}

.c-env-marker--local {
  background: #2563eb;
}

.l-header__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.c-site-logo {
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  font-size: 1.1rem;
}

.l-header__nav {
  margin-left: auto;
}

.c-global-nav__list {
  display: flex;
  list-style: none;
  gap: 1.2rem;
  font-weight: 700;
  font-size: 0.84rem;
}

.c-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.c-header-actions__cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 1rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 0.84rem;
  background: linear-gradient(90deg, var(--color-pink-strong), var(--color-pink));
}

.c-header-actions__search {
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.c-menu-toggle {
  display: none;
}

.c-mobile-drawer[hidden] {
  display: none;
}

.c-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.c-mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100%;
  background: #fff;
  padding: 1rem;
  transform: translateX(100%);
  transition: transform 0.24s ease;
  overflow-y: auto;
}

.c-mobile-drawer.is-open .c-mobile-drawer__panel {
  transform: translateX(0);
}

.c-mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.36);
  border: 0;
  padding: 0;
}

.c-mobile-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.c-mobile-drawer__title {
  font-weight: 800;
  letter-spacing: 0.05em;
}

.c-mobile-drawer__close {
  border: 1px solid var(--color-line);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
}

.c-mobile-drawer__list {
  list-style: none;
  border-top: 1px solid var(--color-line);
}

.c-mobile-drawer__list a {
  display: block;
  padding: 0.95rem 0.2rem;
  border-bottom: 1px solid var(--color-line);
  font-weight: 700;
}

.p-home-fv {
  position: relative;
  min-height: 640px;
  background: #000 url("src/images/mv_bg-pc.png") center / cover no-repeat;
  isolation: isolate;
}

.p-home-fv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 33, 0.36), rgba(8, 16, 33, 0.72));
  z-index: -1;
}

.p-home-fv__visual {
  position: relative;
  min-height: 360px;
  padding-top: clamp(4.8rem, 14vh, 7.6rem);
}

.p-home-fv__title-image {
  width: min(680px, 82vw);
  margin-inline: auto;
}

.p-home-fv__badge {
  position: absolute;
  top: 2rem;
  right: clamp(1rem, 4vw, 3.4rem);
  width: 118px;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 5px solid #efcc66;
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 28% 22%, #f5d67e, #9a7428);
}

.p-home-fv__content {
  padding-bottom: 2.8rem;
  text-align: center;
}

.p-home-fv__lead {
  color: #fff;
  font-size: clamp(1rem, 1.6vw, 1.32rem);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.36);
  margin: 0.7rem 0 1.4rem;
}

.p-home-purpose {
  margin-top: -6px;
}

.p-home-fv .c-button-group {
  justify-content: center;
}

.p-home-purpose .c-card:nth-child(1) {
  border-color: #88c3a5;
}

.p-home-purpose .c-card:nth-child(1) .c-card__title {
  color: var(--color-green);
}

.p-home-purpose .c-card:nth-child(2) {
  border-color: #f4ba7c;
}

.p-home-purpose .c-card:nth-child(2) .c-card__title {
  color: var(--color-orange);
}

.p-home-purpose .c-card:nth-child(3) {
  border-color: #f8a6c2;
}

.p-home-purpose .c-card:nth-child(3) .c-card__title {
  color: var(--color-pink-strong);
}

.c-slider.swiper {
  position: relative;
  overflow: hidden;
  padding-bottom: 0.45rem;
}

.c-slider__track.swiper-wrapper {
  align-items: stretch;
}

.c-slider__slide {
  height: auto;
  padding: 0.7rem;
}

.c-slider__slide .c-card__link {
  height: 100%;
}

.c-slider__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: linear-gradient(120deg, #16314f, #4f6a7f);
  margin-bottom: 0.65rem;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.c-slider__thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-slider__thumb-fallback {
  font-size: 0.72rem;
  color: #e8dece;
  font-weight: 700;
}

.c-card__meta {
  font-size: 0.78rem;
  font-weight: 700;
  color: #5f5a4d;
}

.c-slider__nav {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #c8b9a9;
  background: #fff;
  border-radius: 999px;
  color: #2a2119;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.c-slider__nav.swiper-button-prev::after,
.c-slider__nav.swiper-button-next::after {
  content: none;
}

.c-slider__nav.swiper-button-prev,
.c-slider__nav.swiper-button-next {
  top: 50%;
  transform: translateY(-50%);
}

.c-slider__nav.swiper-button-prev {
  left: -12px;
}

.c-slider__nav.swiper-button-next {
  right: -12px;
}

.c-slider__nav.swiper-button-disabled {
  opacity: 0.32;
  pointer-events: none;
}

.c-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  justify-content: center;
}

.c-tabs__button {
  min-width: 130px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: #fff;
  padding: 0.45rem 1rem;
  font-weight: 700;
}

.c-tabs__button.is-active {
  color: #fff;
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.c-tabpanels__panel {
  background: #fff;
  border-radius: var(--radius-s);
  border: 1px solid var(--color-line);
  overflow: hidden;
}

.c-timetable-list {
  list-style: none;
}

.c-timetable-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid #eee3d8;
  align-items: center;
}

.c-timetable-list li:first-child {
  border-top: 0;
}

.c-timetable-list time {
  font-weight: 800;
  color: var(--color-navy);
}

.c-news-list {
  list-style: none;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-m);
  padding: 0.6rem 1rem;
}

.c-news-list__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.6rem;
  align-items: start;
  padding: 0.75rem 0;
  border-top: 1px dashed #e1d7ca;
}

.c-news-list__item:first-child {
  border-top: 0;
}

.c-news-list__item time {
  font-weight: 700;
  color: #604f40;
}

.p-home-info__grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.p-home-info .c-heading {
  text-align: left;
}

.p-home-info .c-section-lead {
  text-align: left;
}

.p-home-about .c-heading,
.p-home-about .c-section-lead {
  text-align: left;
}

.p-home-about {
  color: #fff;
  background: linear-gradient(90deg, #10253f, #172d4b);
}

.p-home-about__content {
  display: grid;
  gap: 1rem;
  max-width: 760px;
}

.p-sub {
  padding: 2rem 0 3.5rem;
}

.c-breadcrumb {
  font-size: 0.84rem;
  color: #5a4a3b;
  margin-bottom: 1rem;
}

.c-breadcrumb span {
  margin: 0 0.35rem;
}

.p-sub-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 1rem;
  align-items: start;
}

.p-sub-layout__main,
.p-sub-layout__side {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-m);
  padding: 1.15rem;
}

.c-heading--left {
  text-align: left;
  margin-bottom: 1rem;
}

.p-sub-header {
  margin-bottom: 1rem;
}

.c-filter-bar {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.c-filter-bar__item {
  border: 1px solid var(--color-line);
  background: #fff;
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-size: 0.78rem;
}

.c-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.c-post-card {
  border: 1px solid #eee5da;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.c-post-card__link {
  display: block;
}

.c-post-card__thumb {
  aspect-ratio: 16 / 10;
  background: #ece3d8;
}

.c-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-post-card__thumb-fallback {
  height: 100%;
  min-height: 160px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  color: #766757;
}

.c-post-card__title,
.c-post-card__meta {
  padding-inline: 0.75rem;
}

.c-post-card__title {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0.75rem 0 0.15rem;
}

.c-post-card__meta {
  color: #5f5a4d;
  font-size: 0.75rem;
  margin-bottom: 0.8rem;
}

.c-side-heading {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.c-side-event-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.c-side-event-list__item a {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 0.55rem;
  align-items: center;
}

.c-side-event-list__thumb {
  aspect-ratio: 4 / 3;
  background: #ece3d8;
  border-radius: 8px;
  overflow: hidden;
}

.c-side-event-list__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-side-event-list__thumb-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 0.64rem;
  color: #7a6a5b;
}

.c-side-event-list__title {
  font-size: 0.8rem;
  line-height: 1.45;
}

.c-article__hero {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: #ece3d8;
}

.c-article__hero img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}

.c-article__hero-fallback {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: #766757;
}

.c-sub-heading {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.c-article__meta-box {
  border: 1px solid #eee4d8;
  border-radius: 12px;
  padding: 0.85rem;
  margin-bottom: 1rem;
}

.c-detail-list {
  display: grid;
  gap: 0.35rem;
}

.c-detail-list > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.6rem;
  font-size: 0.88rem;
}

.c-detail-list dt {
  color: #6b5b4e;
}

.c-article__body {
  font-size: 0.95rem;
}

.c-status-alert {
  margin-bottom: 1rem;
  border: 1px solid #d53d3d;
  background: #fff2f2;
  border-radius: 12px;
  padding: 0.8rem 1rem;
}

.c-status-alert__label {
  font-weight: 800;
  color: #b01919;
}

.c-status-alert__text {
  margin-top: 0.25rem;
}

.c-event-lead {
  margin-bottom: 0.8rem;
  font-size: 1.02rem;
  color: #4f4033;
}

.c-purpose-tags {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.c-purpose-tags__item {
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: #fff;
  padding: 0.2rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.c-purpose-tags__item--asobu {
  border-color: #88c3a5;
  color: var(--color-green);
}

.c-purpose-tags__item--taberu {
  border-color: #f4ba7c;
  color: var(--color-orange);
}

.c-purpose-tags__item--moriagaru {
  border-color: #f8a6c2;
  color: var(--color-pink-strong);
}

.c-related-link {
  margin-top: 1rem;
}

.c-related-link a {
  color: var(--color-navy);
  text-decoration: underline;
}

.c-map-box {
  margin-top: 1rem;
  border: 1px solid #eee4d8;
  border-radius: 12px;
  padding: 0.9rem;
}

.c-map-placeholder {
  min-height: 230px;
  border-radius: 8px;
  border: 1px dashed #ccbca9;
  background: #f8f3ec;
  display: grid;
  place-items: center;
  color: #665646;
  margin: 0.6rem;
}

.p-event-detail {
  padding-top: 1.6rem;
}

.p-event-detail__article {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-m);
  padding: clamp(1rem, 2vw, 1.6rem);
}

.p-event-detail__breadcrumb {
  margin-bottom: 1rem;
}

.p-event-detail__header {
  margin-bottom: 1rem;
}

.p-event-detail__title {
  margin-bottom: 0;
}

.p-event-detail__summary {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1rem, 2vw, 1.4rem);
  margin-bottom: 1.5rem;
  align-items: start;
}

.p-event-detail__summary-media {
  border-radius: 14px;
  overflow: hidden;
  background: #ece3d8;
}

.p-event-detail__summary-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.p-event-detail__summary-fallback {
  min-height: 260px;
  display: grid;
  place-items: center;
  color: #766757;
}

.p-event-detail__summary-meta {
  border: 1px solid #e7dccc;
  border-radius: 14px;
  background: #fffaf4;
  padding: 0.9rem;
}

.p-event-detail__purpose-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.p-event-detail__purpose-tag {
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: #fff;
  padding: 0.24rem 0.68rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.p-event-detail__purpose-tag--asobu {
  border-color: #88c3a5;
  color: var(--color-green);
}

.p-event-detail__purpose-tag--taberu {
  border-color: #f4ba7c;
  color: var(--color-orange);
}

.p-event-detail__purpose-tag--moriagaru {
  border-color: #f8a6c2;
  color: var(--color-pink-strong);
}

.p-event-detail__meta-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.p-event-detail__meta-item {
  display: grid;
  gap: 0.15rem;
}

.p-event-detail__meta-label {
  font-size: 0.82rem;
  color: #6b5b4e;
  font-weight: 700;
}

.p-event-detail__meta-value {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.p-event-detail__section-title {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.3;
  margin: 0 0 0.8rem;
  padding: 0.2rem 0 0.45rem;
  border-bottom: 2px solid #efe3d3;
  position: relative;
}

.p-event-detail__section-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 86px;
  height: 2px;
  background: var(--color-pink-strong);
}

.p-event-detail__content,
.p-event-detail__info,
.p-event-detail__map {
  margin-top: 1.2rem;
}

.p-event-detail__content-body {
  font-size: 0.98rem;
}

.p-event-detail__content-body > * + * {
  margin-top: 0.8rem;
}

.p-event-detail__info-wrap {
  border: 1px solid #eadfcf;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.p-event-detail__info-table {
  width: 100%;
  border-collapse: collapse;
}

.p-event-detail__info-table th,
.p-event-detail__info-table td {
  padding: 0.72rem 0.85rem;
  border-top: 1px solid #f0e6d8;
  font-size: 0.92rem;
  text-align: left;
  vertical-align: top;
}

.p-event-detail__info-table tr:first-child th,
.p-event-detail__info-table tr:first-child td {
  border-top: 0;
}

.p-event-detail__info-table th {
  width: 146px;
  background: #fbf5ec;
  color: #5f5042;
  font-weight: 700;
}

.p-event-detail__map-embed-wrap {
  width: 100%;
  border: 1px solid #eadfcf;
  border-radius: 12px;
  overflow: hidden;
  background: #f8f3ec;
}

.p-event-detail__map-embed {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.p-event-detail__map-caption {
  margin-top: 0.55rem;
  color: #5d4e41;
  font-size: 0.9rem;
}

.c-area-list-block {
  margin-top: 1rem;
}

.c-area-list {
  list-style: none;
  border-top: 1px solid #eee4d8;
}

.c-area-list li a {
  display: block;
  padding: 0.72rem 0;
  border-bottom: 1px solid #eee4d8;
  font-size: 0.9rem;
}

.l-footer {
  background: #fff;
  border-top: 1px solid var(--color-line);
}

.l-footer__inner {
  text-align: center;
  color: #4a4038;
  padding: 0.85rem 1rem;
}

.c-mobile-footer-nav {
  display: none;
}

:root {
  --dondon-green: #4f9b61;
  --dondon-red: #d8583b;
  --dondon-orange: #ef9a3f;
  --dondon-dark: #1d1a17;
  --dondon-cream: #f5f0e8;
  --dondon-olive: #b5a24b;
  --dondon-brown: #6b4d2d;
}

.page-home-landing {
  background: #f5efe7;
  color: var(--dondon-dark);
  line-height: 1.5;
}

.page-home-landing img {
  display: block;
  max-width: 100%;
}

.page-home-landing a {
  color: inherit;
  text-decoration: none;
}

.page-home-landing .wrap {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.page-home-landing .fix-images {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}

.page-home-landing .fix-waku {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}

.page-home-landing .fix-waku img {
  position: absolute;
  display: block;
  width: clamp(90px, 8vw, 150px);
  height: auto;
  pointer-events: none;
}

.page-home-landing .fix-waku img:nth-child(1) {
  top: 0;
  left: 0;
}

.page-home-landing .fix-waku img:nth-child(2) {
  top: 0;
  right: 0;
}

.page-home-landing .fix-waku img:nth-child(3) {
  bottom: 0;
  left: 0;
}

.page-home-landing .fix-waku img:nth-child(4) {
  bottom: 0;
  right: 0;
}

.page-home-landing .fix-btns {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 35;
  pointer-events: auto;
}

.page-home-landing .fix-btns .side-btn {
  position: relative;
  right: auto;
  top: auto;
  display: block;
  width: 58px;
  background: transparent;
  padding: 0;
}

.page-home-landing .fix-btns .side-btn img {
  width: 100%;
  height: auto;
  display: block;
}

.page-home-landing .stripes {
  background: url("src/images/bg-pc.png") center/cover no-repeat;
}

.page-home-landing .hero {
  --info-bar-height: 50px;
  height: calc(100vh - var(--info-bar-height));
  min-height: 520px;
  padding: 0;
  overflow: hidden;
  background: url("src/images/mv_bg-pc.png") center/cover no-repeat;
}

.page-home-landing .hero-inner {
  position: relative;
  width: min(1200px, calc(100% - 2rem));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
}

.page-home-landing .hero-title {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: auto;
  transform: translateY(0);
}

.page-home-landing .hero-title img {
  width: 100%;
  height: auto;
  display: block;
}

.page-home-landing .menu-btn {
  position: absolute;
  top: 0;
  right: 28px;
  width: 58px;
  height: 58px;
  background: var(--dondon-dark);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 5;
}

.page-home-landing .menu-btn span {
  width: 24px;
  height: 3px;
  border-radius: 999px;
  display: block;
}

.page-home-landing .menu-btn span:nth-child(1) { background: var(--dondon-green); }
.page-home-landing .menu-btn span:nth-child(2) { background: var(--dondon-red); }
.page-home-landing .menu-btn span:nth-child(3) { background: var(--dondon-orange); }

.page-home-landing .side-btn {
  position: absolute;
  right: 0;
  width: 54px;
  padding: 12px 8px;
  color: #fff;
  background: var(--dondon-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  writing-mode: vertical-rl;
  letter-spacing: 0.08em;
  z-index: 4;
}

.page-home-landing .side-btn.leaflet { top: 300px; }
.page-home-landing .side-btn.map { top: 410px; }

.page-home-landing .hero-illustration {
  position: absolute;
  top: 36px;
  width: 220px;
  z-index: 1;
}

.page-home-landing .hero-illustration.left { left: -14px; }
.page-home-landing .hero-illustration.right { right: -14px; }

.page-home-landing .hero-illustration img {
  width: 100%;
  height: auto;
}

.page-home-landing .hero-don-text {
  position: absolute;
  z-index: 2;
  color: rgba(29, 26, 23, 0.15);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-shadow: 0 0 0 #000;
}

.page-home-landing .hero-don-text.top-left { top: 120px; left: 140px; }
.page-home-landing .hero-don-text.bottom-left { bottom: 40px; left: 190px; }
.page-home-landing .hero-don-text.right { top: 160px; right: 190px; }

.page-home-landing .emblem-wrap {
  position: relative;
  width: min(560px, 82%);
  margin: 0 auto;
  z-index: 3;
  text-align: center;
}

.page-home-landing .date-badge {
  position: absolute;
  left: 14px;
  top: 26px;
  width: 120px;
  height: 120px;
  background: #bf1f2a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transform: rotate(-6deg);
}

.page-home-landing .date-badge .d1,
.page-home-landing .date-badge .d2 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.page-home-landing .date-badge .day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 6px;
  border-radius: 50%;
  background: #fff;
  color: #bf1f2a;
  font-size: 0.72rem;
  vertical-align: middle;
}

.page-home-landing .emblem-circle {
  width: 480px;
  height: 480px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  border: 8px dotted #d3af6b;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.page-home-landing .emblem-circle .kai {
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  line-height: 1.4;
  font-weight: 800;
  color: var(--dondon-dark);
}

.page-home-landing .emblem-circle .title {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.12;
  font-weight: 900;
  color: #c7242c;
  letter-spacing: 0.04em;
}

.page-home-landing .emblem-circle .title .accent {
  color: #ef9a3f;
}

.page-home-landing .emblem-circle .sub-logo {
  margin-top: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #76706a;
}

.page-home-landing .mascot {
  position: relative;
  width: 170px;
  margin: -32px auto 0;
  z-index: 4;
}

.page-home-landing .mascot img {
  width: 100%;
  height: auto;
}

.page-home-landing .mascot-caption {
  margin-top: 0.5rem;
  text-align: center;
  color: #fff;
  font-size: 0.72rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.page-home-landing .info-bar {
  --info-bar-height: 72px;
  background: var(--dondon-olive);
  color: #fff;
  padding: 0.9rem 0;
}

.page-home-landing .info-bar .wrap {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.page-home-landing .info-bar .label {
  padding-right: 1.2rem;
  border-right: 1px solid rgba(255,255,255,0.5);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.page-home-landing .intro {
  padding-bottom: 65px;
}

.page-home-landing .intro-inner {
  padding: 2.2rem 0 1.3rem;
  background: #f7f2eb;
}

.page-home-landing .intro .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-home-landing .intro h2 {
  margin: 0 auto;
  text-align: center;
  line-height: 1;
  color: #2f2b29;
}

.page-home-landing .intro h2 img {
  display: block;
  width: min(100%, 980px);
  height: auto;
  margin: 0 auto;
}

.page-home-landing .intro h2 .c-green { color: var(--dondon-green); font-weight: 900; }
.page-home-landing .intro h2 .c-red { color: var(--dondon-red); font-weight: 900; }
.page-home-landing .intro h2 .c-orange { color: var(--dondon-orange); font-weight: 900; }

.page-home-landing .nav-cards {
  width: min(100%, 980px);
  margin: 1rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.page-home-landing .nav-card_btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home-landing .nav-card_btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.page-home-landing .nav-card_btn img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
}

.page-home-landing .nav-card {
  padding: 1.3rem 1rem 1.1rem;
  background: #2d9f60;
  color: #fff;
  text-align: center;
  border-radius: 10px;
}

.page-home-landing .nav-card.c2 { background: #de5a45; }
.page-home-landing .nav-card.c3 { background: #ee9d45; }

.page-home-landing .nav-card .small {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.page-home-landing .nav-card h3 {
  margin: 0.5rem 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.page-home-landing .nav-card .dots {
  letter-spacing: 0.25em;
  opacity: 0.9;
  margin-bottom: 0.8rem;
}

.page-home-landing .nav-card p {
  font-size: 0.78rem;
  opacity: 0.95;
}

.page-home-landing .content-section {
  padding: 6rem 0 6rem;
}

.page-home-landing .section-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.1rem;
  align-items: start;
}

.page-home-landing .section-label {
  padding-top: 0.5rem;
}

.page-home-landing .section-label .big-kanji {
  display: inline-block;
  font-size: clamp(2.2rem, 3vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  height: 180px;
  margin-bottom: 0.5rem;
}

.page-home-landing .section-label h3 {
  margin-bottom: 0.4rem;
  font-size: 1.4rem;
  font-weight: 800;
}

.page-home-landing .section-label .dots {
  margin-bottom: 1rem;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
}

.page-home-landing .section-label.don .big-kanji,
.page-home-landing .section-label.don h3,
.page-home-landing .section-label.don .dots { color: var(--dondon-green); }
.page-home-landing .section-label.don2 .big-kanji,
.page-home-landing .section-label.don2 h3,
.page-home-landing .section-label.don2 .dots { color: var(--dondon-red); }
.page-home-landing .section-label.donn3 .big-kanji,
.page-home-landing .section-label.donn3 h3,
.page-home-landing .section-label.donn3 .dots { color: var(--dondon-orange); }

.page-home-landing .card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.page-home-landing .card {
  display: flex;
  flex-direction: column;
}

.page-home-landing .cap-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.page-home-landing .card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.96rem;
  font-weight: 700;
  padding-bottom: 0.45rem;
}

.page-home-landing .arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1b1715;
  color: #fff;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.page-home-landing .underline {
  width: 100%;
  height: 7px;
  border-radius: 999px;
}

.page-home-landing .don .underline { background: var(--dondon-green); }
.page-home-landing .don2 .underline { background: var(--dondon-red); }
.page-home-landing .donn3 .underline { background: var(--dondon-orange); }

.page-home-landing .stripe-section {
  padding: 4rem 0;
}

.page-home-landing .cut-card-outer {
  position: relative;
  width: min(72vw, 760px);
  max-width: 760px;
  margin: 0 auto 3rem;
  padding: 3rem 2rem 2rem;
}

.page-home-landing .cut-card {
  position: relative;
  background: rgba(245, 240, 233, 0.96);
  padding: 5rem 3rem 4rem;
  clip-path: polygon(
    0 10%,
    10% 0,
    90% 0,
    100% 10%,
    100% 90%,
    90% 100%,
    10% 100%,
    0 90%
  );
  box-shadow: 0 0 0 1px rgba(29, 26, 23, 0.04);
}

.page-home-landing .cut-card-badge {
  position: absolute;
  left: 50%;
  top: 1rem;
  transform: translateX(-50%);
  z-index: 3;
}

.page-home-landing .cut-card-badge img {
  display: block;
  width: 240px;
  height: auto;
}

.page-home-landing .list-item {
  position: relative;
  margin-bottom: 1.5rem;
}

.page-home-landing .list-item.right {
  text-align: right;
}

.page-home-landing .list-item .row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  min-height: 26px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  color: #2d2a28;
  letter-spacing: 0.02em;
}

.page-home-landing .list-item.right .row {
  justify-content: flex-end;
}

.page-home-landing .list-item .bar {
  width: 76%;
  max-width: 380px;
  height: 7px;
  margin-top: 0.28rem;
  border-radius: 999px;
  opacity: 0.95;
}

.page-home-landing .list-item.right .bar {
  margin-left: auto;
}

.page-home-landing .list-item .bar.green { background: var(--dondon-green); }
.page-home-landing .list-item .bar.red { background: var(--dondon-red); }
.page-home-landing .list-item .bar.orange { background: var(--dondon-orange); }

.page-home-landing .stripe-illust,
.page-home-landing .lantern-deco,
.page-home-landing .stripe-pine {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.page-home-landing .stripe-illust {
  width: 112px;
}

.page-home-landing .lantern-deco {
  width: 160px;
}

.page-home-landing .stripe-pine {
  width: 200px;
}

.page-home-landing .stripe-illust.left { left: 0; top: 120px; }
.page-home-landing .stripe-illust.right { right: 0; top: 60px; }
.page-home-landing .lantern-deco.left { left: 22px; top: 0; }
.page-home-landing .lantern-deco.right { right: 22px; top: -42px; }
.page-home-landing .stripe-pine { left: 54px; top: -58px; }

.page-home-landing .cut-card-outer:nth-child(2) .stripe-illust.left { top: 238px; }
.page-home-landing .cut-card-outer:nth-child(2) .stripe-illust.right { top: 54px; }

.page-home-landing .cut-card-outer:nth-child(2) .cut-card {
  padding-top: 3.4rem;
}

.page-home-landing .photo-band-wrap {
  overflow: hidden;
  position: relative;
  background: #f8f3ec;
  border-top: 4px solid rgba(29, 26, 23, 0.12);
  border-bottom: 4px solid rgba(29, 26, 23, 0.12);
}

.page-home-landing .photo-band {
  display: flex;
  width: max-content;
  animation: photo-band-scroll 22s linear infinite;
}

.page-home-landing .photo-band img {
  width: clamp(220px, 24vw, 360px);
  height: 180px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

@keyframes photo-band-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.page-home-landing .news-section {
  background: #5f4434;
  color: #fff;
  padding: 2.2rem 0;
}

.page-home-landing .news-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.2rem;
  align-items: start;
}

.page-home-landing .news-logo {
  text-align: center;
}

.page-home-landing .news-logo .cap-text {
  display: inline-block;
  writing-mode: vertical-rl;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.page-home-landing .news-logo .d { color: var(--dondon-green); }
.page-home-landing .news-logo .o { color: var(--dondon-orange); }
.page-home-landing .news-logo .n2 { color: var(--dondon-red); }

.page-home-landing .news-logo h4 {
  margin-top: 1.2rem;
  font-size: 1.6rem;
  font-weight: 800;
}

.page-home-landing .news-logo .dots {
  margin-top: 0.5rem;
  letter-spacing: 0.4em;
  color: var(--dondon-orange);
}

.page-home-landing .news-list {
  display: grid;
  gap: 1rem;
}

.page-home-landing .news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.36);
  font-size: 0.96rem;
}

.page-home-landing .news-item .date {
  font-weight: 800;
  margin-right: 0.7rem;
}

.page-home-landing .sponsor-banner-wrap {
  padding: 3rem 0 2.5rem;
}

.page-home-landing .sponsor-banner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.page-home-landing .sponsor-banner .inner {
  position: relative;
  padding: 2.1rem 2rem;
  overflow: hidden;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-home-landing .sponsor-banner .bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.page-home-landing .sponsor-banner h4,
.page-home-landing .sponsor-banner .dots {
  position: relative;
  z-index: 1;
}

.page-home-landing .sponsor-banner h4 {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}

.page-home-landing .sponsor-banner .dots {
  letter-spacing: 0.35em;
  color: var(--dondon-green);
}

.page-home-landing .corner {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 4px solid var(--dondon-green);
  z-index: 1;
}

.page-home-landing .corner.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.page-home-landing .corner.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.page-home-landing .corner.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.page-home-landing .corner.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.page-home-landing .stripe-thin {
  height: 42px;
}

.page-home-landing footer {
  background: #f5efe7;
  padding: 2.5rem 0 2rem;
}

.page-home-landing .footer-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: center;
}

.page-home-landing .footer-logo img {
  width: 180px;
  margin: 0 auto;
}

.page-home-landing .footer-org {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.page-home-landing .footer-info .dots {
  letter-spacing: 0.35em;
  margin-bottom: 0.8rem;
  color: var(--dondon-orange);
}

.page-home-landing .footer-office {
  margin-bottom: 1rem;
  font-weight: 700;
}

.page-home-landing .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.page-home-landing .footer-contact div {
  background: #1b1715;
  color: #fff;
  padding: 0.8rem 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.page-home-landing .copyright {
  padding: 0.9rem 1rem;
  text-align: center;
  color: #fff;
  background: #1b1715;
  font-size: 0.72rem;
}

body.page-template-page-home {
  background: #f3efe8;
}

body.page-template-page-home .l-header {
  display: none;
}

body.page-template-page-home .l-footer {
  display: none;
}

body.page-template-page-home .l-main {
  padding-top: 0;
}

@media (max-width: 900px) {
  .page-home-landing .hero-inner {
    min-height: 480px;
  }

  .page-home-landing .hero-illustration,
  .page-home-landing .hero-don-text,
  .page-home-landing .side-btn,
  .page-home-landing .stripe-illust,
  .page-home-landing .lantern-deco,
  .page-home-landing .stripe-pine {
    display: none;
  }

  .page-home-landing .emblem-circle {
    width: min(75vw, 360px);
    height: min(75vw, 360px);
  }

  .page-home-landing .date-badge {
    width: 88px;
    height: 88px;
    left: 8px;
    top: 20px;
  }

  .page-home-landing .section-grid,
  .page-home-landing .news-grid,
  .page-home-landing .footer-grid {
    grid-template-columns: 1fr;
  }

  .page-home-landing .nav-cards,
  .page-home-landing .card-grid,
  .page-home-landing .photo-band {
    grid-template-columns: 1fr;
  }

  .page-home-landing .section-label .big-kanji {
    writing-mode: horizontal-tb;
    height: auto;
  }

  .page-home-landing .cut-card {
    padding: 2.6rem 1rem 1rem;
  }
}

body.page-template-page-home .l-header {
  display: none;
}

body.page-template-page-home .l-footer {
  display: none;
}

body.page-template-page-home .l-main {
  padding-top: 0;
}

.p-home-top {
  position: relative;
  background: var(--color-bg);
  padding-bottom: 2rem;
  overflow: hidden;
}

.p-home-top::before,
.p-home-top::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  background: #111;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.p-home-top::before {
  left: -36px;
  top: 0;
  transform: translateY(-32%);
}

.p-home-top::after {
  right: -36px;
  top: 0;
  transform: translateY(-32%);
}

.p-home-top__hero {
  position: relative;
  z-index: 1;
  background: var(--color-bg);
  padding: 1.4rem 0 0;
}

.p-home-top__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 1.6rem;
  position: relative;
  z-index: 1;
}

.p-home-top__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.p-home-top__brand-mark {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #111;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.12);
}

.p-home-top__brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-home-top__brand-copy {
  display: flex;
  align-items: center;
  min-width: 0;
}

.p-home-top__title-art {
  display: block;
  width: min(100%, 620px);
  height: auto;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.12));
}

.p-home-top__close {
  position: relative;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #111;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  flex-shrink: 0;
}

.p-home-top__close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 4px;
  background: #fff;
  border-radius: 999px;
}

.p-home-top__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.p-home-top__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.p-home-top__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  gap: 1.3rem 1.1rem;
  align-items: end;
  padding-top: 0.1rem;
}

.p-home-top__menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1rem;
  align-items: center;
}

.p-home-top__menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 90px;
  border-radius: 22px;
  padding: 0 1.1rem 0 1.35rem;
  font-size: clamp(1.05rem, 1.2vw, 1.55rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #1a1a1a;
  border: 4px solid rgba(0, 0, 0, 0.82);
  box-shadow: 0 7px 0 rgba(0, 0, 0, 0.8);
}

.p-home-top__menu-item.is-green {
  background: linear-gradient(180deg, #47a66b 0%, #2d8d5b 100%);
}

.p-home-top__menu-item.is-red {
  background: linear-gradient(180deg, #f76a56 0%, #d84a38 100%);
}

.p-home-top__menu-item.is-orange {
  background: linear-gradient(180deg, #f2a449 0%, #df8c2a 100%);
}

.p-home-top__arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.p-home-top__actions {
  display: grid;
  gap: 1rem;
  width: min(100%, 340px);
  justify-self: end;
}

.p-home-top__action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  border-radius: 22px;
  padding: 0.8rem 1rem;
  font-size: clamp(1.06rem, 1.22vw, 1.7rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  border: 4px solid rgba(0, 0, 0, 0.8);
  box-shadow: 0 7px 0 rgba(0, 0, 0, 0.8);
}

.p-home-top__action.is-dark {
  background: linear-gradient(180deg, #232323 0%, #101010 100%);
  color: #fff;
}

.p-home-top__action.is-red {
  background: linear-gradient(180deg, #f76a56 0%, #d84a38 100%);
  color: #1a1a1a;
}

.p-home-top__character {
  grid-column: 2;
  display: flex;
  justify-content: flex-end;
  padding-top: 0.2rem;
}

.p-home-top__character img {
  width: min(210px, 32vw);
  height: auto;
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.18));
}

.p-home-top__stripes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.2rem;
  min-height: 36px;
  overflow: hidden;
  background-image: url("src/images/bg-pc.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.p-home-top__stripe {
  display: block;
  min-height: 36px;
  background: transparent;
}

.p-home-top__gallery {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  min-height: 200px;
}

.p-home-top__gallery-card {
  overflow: hidden;
  border-radius: 12px;
  background: #d9d1c7;
  border: 3px solid rgba(0, 0, 0, 0.15);
  min-height: 200px;
}

.p-home-top__gallery-card.is-large {
  grid-column: span 2;
}

.p-home-top__gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
}

@media (min-width: 961px) {
  .c-slider.swiper {
    padding-inline: 2rem;
  }

  .c-slider__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 960px) {
  body.page-template-page-home {
    background: #f3efe8;
  }

  .l-container {
    width: min(var(--container), calc(100% - 1.2rem));
  }

  .l-section {
    padding: 2rem 0;
  }

  .l-header__inner {
    min-height: 72px;
  }

  .c-env-marker {
    top: 8px;
    right: 54px;
    font-size: 0.64rem;
    min-width: 56px;
    padding: 0.28rem 0.5rem;
  }

  .l-header__nav,
  .c-header-actions {
    display: none;
  }

  .c-menu-toggle {
    margin-left: auto;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: #fff;
    padding: 0 10px;
  }

  .c-menu-toggle__line {
    width: 100%;
    height: 2px;
    background: #222;
  }

  .p-home-top {
    padding-bottom: 1.4rem;
  }

  .p-home-top__hero {
    padding-top: 0.8rem;
  }

  .p-home-top__header {
    align-items: flex-start;
    padding: 0.8rem 0 1.1rem;
  }

  .p-home-top__brand {
    gap: 0.75rem;
  }

  .p-home-top__brand-mark {
    width: 62px;
    height: 62px;
  }

  .p-home-top__title-art {
    width: min(100%, 300px);
  }

  .p-home-top__close {
    width: 42px;
    height: 42px;
  }

  .p-home-top__close span {
    width: 20px;
    height: 3px;
  }

  .p-home-top__content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .p-home-top__menu {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .p-home-top__menu-item {
    min-height: 68px;
    border-radius: 18px;
    border-width: 3px;
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.8);
    font-size: 1rem;
    padding: 0 0.9rem 0 1rem;
  }

  .p-home-top__actions {
    width: 100%;
    justify-self: stretch;
    gap: 0.8rem;
  }

  .p-home-top__action {
    min-height: 62px;
    border-radius: 18px;
    border-width: 3px;
    font-size: 1rem;
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.8);
  }

  .p-home-top__character {
    grid-column: auto;
    justify-content: center;
  }

  .p-home-top__character img {
    width: min(150px, 42vw);
  }

  .p-home-top__stripes {
    min-height: 28px;
    margin-top: 0.7rem;
  }

  .p-home-top__stripe {
    min-height: 28px;
  }

  .p-home-top__gallery {
    grid-template-columns: 1fr;
    margin-top: 1.2rem;
  }

  .p-home-top__gallery-card.is-large {
    grid-column: auto;
  }

  .p-home-top__gallery-card,
  .p-home-top__gallery-card img {
    min-height: 160px;
  }

  .c-card-grid--3col,
  .c-card-grid--2col {
    grid-template-columns: 1fr;
  }

  .c-card__title {
    font-size: 2.2rem;
  }

  .c-card__link {
    padding: 1rem 1.2rem;
  }

  .c-slider.swiper {
    overflow: visible;
    padding-right: 1rem;
  }

  .c-slider__slide {
    min-height: 0;
  }

  .c-slider__thumb {
    margin-bottom: 0.5rem;
  }

  .c-tabs {
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .c-tabs__button {
    min-width: 120px;
    flex: 0 0 auto;
  }

  .c-news-list__item {
    grid-template-columns: 66px 1fr;
  }

  .p-sub {
    padding: 1rem 0 2rem;
  }

  .p-sub-layout {
    grid-template-columns: 1fr;
  }

  .p-event-detail {
    padding-top: 1rem;
  }

  .p-event-detail__article {
    padding: 0.95rem;
  }

  .p-event-detail__summary {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .p-event-detail__summary-fallback {
    min-height: 190px;
  }

  .p-event-detail__summary-meta {
    padding: 0.8rem;
  }

  .p-event-detail__meta-value {
    font-size: 0.92rem;
  }

  .p-event-detail__info-table th,
  .p-event-detail__info-table td {
    display: block;
    width: 100%;
    border-top: 0;
  }

  .p-event-detail__info-table tr {
    display: block;
    border-top: 1px solid #f0e6d8;
  }

  .p-event-detail__info-table tr:first-child {
    border-top: 0;
  }

  .p-event-detail__info-table th {
    padding-bottom: 0.2rem;
  }

  .p-event-detail__info-table td {
    padding-top: 0.2rem;
  }

  .p-event-detail__map-embed {
    height: 300px;
  }

  .p-sub-layout__main,
  .p-sub-layout__side {
    padding: 0.9rem;
  }

  .c-heading--left {
    text-align: center;
  }

  .c-filter-bar {
    justify-content: center;
  }

  .c-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .c-article__hero img {
    max-height: 300px;
  }

  .c-detail-list > div {
    grid-template-columns: 74px 1fr;
  }

  .c-purpose-tags {
    justify-content: center;
  }

  .c-side-event-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .c-side-event-list__item a {
    grid-template-columns: 64px 1fr;
  }

  .p-home-info__grid {
    grid-template-columns: 1fr;
  }

  .p-home-info .c-heading,
  .p-home-info .c-section-lead,
  .p-home-about .c-heading,
  .p-home-about .c-section-lead {
    text-align: center;
  }

  .l-footer {
    padding-bottom: 70px;
  }

  .c-mobile-footer-nav {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    background: #fff;
    border-top: 1px solid var(--color-line);
  }

  .c-mobile-footer-nav__list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .c-mobile-footer-nav__item a {
    display: grid;
    place-items: center;
    min-height: 62px;
    padding: 0.3rem;
    font-size: 0.68rem;
    text-align: center;
    border-left: 1px solid #f0e8de;
    gap: 0.2rem;
  }

  .c-mobile-footer-nav__icon {
    width: 20px;
    height: 20px;
    border: 1px solid #76818f;
    border-radius: 999px;
    display: inline-block;
    position: relative;
  }

  .c-mobile-footer-nav__item:nth-child(1) .c-mobile-footer-nav__icon {
    border-radius: 4px;
  }

  .c-mobile-footer-nav__item:nth-child(1) .c-mobile-footer-nav__icon::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    left: 4px;
    top: 4px;
    border: 1px solid #76818f;
    border-top: 0;
  }

  .c-mobile-footer-nav__item:nth-child(2) .c-mobile-footer-nav__icon::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid #76818f;
    border-radius: 999px;
    left: 5px;
    top: 5px;
  }

  .c-mobile-footer-nav__item:nth-child(3) .c-mobile-footer-nav__icon::before {
    content: "";
    position: absolute;
    width: 9px;
    height: 10px;
    border: 1px solid #76818f;
    border-radius: 2px;
    left: 5px;
    top: 4px;
  }

  .c-mobile-footer-nav__item:nth-child(4) .c-mobile-footer-nav__icon::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #76818f;
    left: 4px;
    top: 6px;
  }

  .c-mobile-footer-nav__item:nth-child(5) .c-mobile-footer-nav__icon {
    border: 0;
  }

  .c-mobile-footer-nav__item:nth-child(5) .c-mobile-footer-nav__icon::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 5px;
    width: 18px;
    height: 1px;
    background: #76818f;
    box-shadow: 0 5px 0 #76818f, 0 10px 0 #76818f;
  }

  .c-mobile-footer-nav__label {
    line-height: 1.1;
  }

  .c-mobile-footer-nav__item:first-child a {
    border-left: 0;
  }
}
