@import url('https://fonts.googleapis.com/css2?family=Hina+Mincho&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

/* Noto Serif JP ローカルフォント */
@font-face {
  font-family: "MyNotoSerif";
  src: url("../font/noto-serif-jp-v33-japanese_latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MyNotoSerif";
  src: url("../font/noto-serif-jp-v33-japanese_latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MyNotoSerif";
  src: url("../font/noto-serif-jp-v33-japanese_latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   江戸伝統園芸植物 - Design Tokens (1rem = 10px)
   ========================================================================== */

.sp-only {
  display: inline;
}
@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

main.edoengei {
  background-color: #f8f2f4;
}
main.edoengei-home{
  background-color: #fff;
}

.edo-hero,
.edo-section--nav,
.edo-section--about,
.edo-section--history,
.edo-section--links,
.edo-section--gardens,
.edo-section--learn,
.edo-separator {
  font-family: "MyNotoSerif", serif;
}

:root {
  --edo-green: #5b8c3e;
  --edo-green-dark: #3d6b2e;
  --edo-green-light: #e8f0e0;
  --edo-purple: #8b6a9e;
  --edo-pink: #d4728c;
  --edo-blue: #4a6a8a;
  --edo-orange: #d4885e;
  --edo-white: #fff;
  --edo-text: #333;
  --edo-text-light: #666;
  --edo-bg-cream: #f5f0eb;
  --edo-bg-pink: #fef6f8;
  --edo-bg-lavender: #ece6f0;
  --edo-bg-sage: #bfcfaa;
  --edo-bg-navy: #3d5a7a;
  --edo-content-width: 100rem;
  --edo-radius-pill: 2.4rem;
  --edo-radius-card: 0.8rem;
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */

.edo-hero {
  position: relative;
  overflow: hidden;
}

main.edoengei-home .edo-hero {
  background-image: -webkit-image-set(url("../images/top_bg_w1000.webp") 1x, url("../images/top_bg_w1000@2x.webp") 2x);
  background-image: image-set(url("../images/top_bg_w1000.webp") 1x, url("../images/top_bg_w1000@2x.webp") 2x);
  background-size: 100% auto;
  background-position: center top 37rem;
  background-repeat: no-repeat;
  margin-bottom: 5rem;
}

/* --- History-Types hero overlay --- */

.edo-hero--ht .edo-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  pointer-events: none;
}

.edo-hero--ht .edo-hero__overlay-inner {
  max-width: var(--edo-content-width);
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  pointer-events: auto;
}

.edo-hero--ht .edo-hero__overlay .edo-hero__title-img {
  width: 40rem;
  max-width: 80%;
  height: auto;
  display: block;
  opacity: 0.9;
  filter: drop-shadow(0 0.2rem 0.6rem rgba(0, 0, 0, 0.3));
}

.edo-hero--ht .edo-hero__overlay .edo-hero__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.edo-hero__menu {
  position: absolute;
  top: clamp(2rem, 1.228vw + 1.472rem, 2.7rem);
  right: 1.6rem;
  z-index: 10;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.edo-hero__menu.is-fixed {
  position: fixed;
  right: 1.6rem;
  z-index: 9998;
}

@media (min-width: 1000px) {
  .edo-hero__menu.is-fixed {
    right: 2.4rem;
  }
}

.edo-hero__menu.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-1rem);
}

.edo-hero__menu img {
  width: 5rem;
  height: 5rem;
  display: block;
}

.edo-hero__slider {
  width: 100%;
  position: relative;
}

.edo-hero__slider .slick-list {
  background-color: #f8f2f4;
}

.edo-hero__slide {
  width: 60rem;
  transition: opacity 0.4s;
}

.edo-hero__slider .slick-slide:not(.slick-current) {
  opacity: 0.5;
}

.edo-hero__slide img {
  width: 60rem;
  height: auto;
  display: block;
}

.edo-hero__slider .slick-dots {
  position: relative;
  bottom: auto;
  margin-top: 1.2rem;
}

.edo-hero__slider .slick-dots li {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0 0.5rem;
}

.edo-hero__slider .slick-dots li button {
  width: 1.2rem;
  height: 1.2rem;
  padding: 0;
}

.edo-hero__slider .slick-dots li button:before {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background-color: #fff;
  border: 0.15rem solid #991727;
  opacity: 1;
  font-size: 0;
  line-height: 0;
  box-sizing: border-box;
}

.edo-hero__slider .slick-dots li.slick-active button:before {
  background-color: #991727;
  border-color: #991727;
  opacity: 1;
}

.edo-hero__slider .slick-prev,
.edo-hero__slider .slick-next {
  z-index: 3;
  width: 4.4rem;
  height: 4.4rem;
  background-color: #991727;
  border: 0.2rem solid #fff;
  border-radius: 50%;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.15);
  opacity: 0.7;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edo-hero__slider .slick-prev:hover,
.edo-hero__slider .slick-next:hover {
  opacity: 0.9;
}

.edo-hero__slider .slick-prev:before,
.edo-hero__slider .slick-next:before {
  font-family: "Material Icons";
  font-size: 2.4rem;
  color: #fff;
  opacity: 1;
  line-height: 4.4rem;
  display: block;
  text-align: center;
  width: 4.4rem;
  height: 4.4rem;
}

.edo-hero__slider .slick-prev:before {
  content: "chevron_left";
}

.edo-hero__slider .slick-next:before {
  content: "chevron_right";
}

.edo-hero__slider .slick-prev {
  left: calc(50% - 30rem - 2.2rem);
}

.edo-hero__slider .slick-next {
  right: calc(50% - 30rem - 2.2rem);
}

.edo-hero__title-area {
  position: relative;
  padding: 0 1.6rem clamp(3rem, -0.02rem + 7.02vw, 7rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.edo-hero__title-img {
  width: 60rem;
  max-width: 90%;
  height: auto;
  display: block;
}

.edo-hero__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ==========================================================================
   Common
   ========================================================================== */

.edo-content {
  max-width: var(--edo-content-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.edo-section {
  padding: 4rem 0;
}

.edo-section__header {
  text-align: center;
  margin-bottom: 2.4rem;
}

.edo-heading {
  display: block;
  background-color: transparent;
  color: var(--edo-green-dark);
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  padding: 0;
  margin-bottom: 2.4rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.edo-section-title {
  background-color: var(--edo-white);
  color: var(--edo-text);
  font-size: 2rem;
  font-weight: 500;
  text-align: left;
  padding: 1.2rem 2rem;
  border: 0.2rem solid #991727;
  letter-spacing: 0.08em;
  line-height: 1.5;
  position: relative;
  margin: 0 2rem 2rem;
}

.edo-section-title::before,
.edo-section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0.2rem;
  height: 70%;
  background-color: #991727;
}

.edo-section-title::before {
  left: 0.8rem;
}

.edo-section-title::after {
  right: 0.8rem;
}

.edo-section-title--green {
  position: relative;
  max-width: var(--edo-content-width);
  margin: 0 auto 2rem;
  border-color: #1e542a;
}

.edo-section-title--green::before,
.edo-section-title--green::after {
  background-color: #1e542a;
}

.edo-section-title--purple {
  position: relative;
  max-width: var(--edo-content-width);
  margin: 0 auto 2rem;
  border-color: #323282;
}

.edo-section-title--purple::before,
.edo-section-title--purple::after {
  background-color: #323282;
}

[class*="edo-section-title__icon"] {
  font-size: 0.667em;
  vertical-align: 0.15em;
}

.edo-section-title__icon--purple {
  color: #323282;
}

.edo-section-title__icon--red {
  color: #991727;
}

.edo-section-title__icon--green {
  color: #1e542a;
}

.edo-sub-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--edo-text);
  margin-bottom: 2rem;
  padding: 1.2rem 0 1.2rem 2rem;
  border-left: 0.4rem solid var(--edo-pink);
  line-height: 1.4;
}

.edo-sub-heading::before {
  content: "◆ ";
  color: var(--edo-pink);
}

.edo-sub-heading--green {
  border-left-color: var(--edo-green);
}

.edo-sub-heading--green::before {
  color: var(--edo-green);
}

.edo-sub-heading--blue {
  border-left-color: var(--edo-blue);
}

.edo-sub-heading--blue::before {
  content: "◆ ";
  color: var(--edo-blue);
}

.edo-text {
  font-size: 1.5rem;
  line-height: 1.9;
  color: var(--edo-text);
  margin-bottom: 1.6rem;
}

.edo-text:last-child {
  margin-bottom: 0;
}

.edo-text--accent {
  color: #991727;
}

/* ==========================================================================
   Quick Navigation
   ========================================================================== */

.edo-section--nav {
  padding: 3.2rem 0 4rem;
}

.edo-section--nav > .edo-content {
  position: relative;
  z-index: 1;
}

.edo-content--nav {
  position: relative;
}

.edo-nav-illust {
  position: absolute;
  bottom: calc(100% - 1.2rem);
  right: clamp(0px, -7.544rem + 17.544vw, 10.0rem);
  width: clamp(50px, 26.471px + 7.353vw, 100px);
  height: auto;
  z-index: -1;
}

.edo-quicknav-wrap {
  position: relative;
  z-index: 1;
}

.edo-quicknav-frame {
  position: relative;
  margin: 1.2rem 0;
  padding: 1.2rem 1.6rem 1.6rem 3.6rem;
  border: 2px solid #a02030;
  background: #fff url("../images/bg_washi.webp") center / auto no-repeat;
}

.edo-quicknav-frame__bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1.6rem;
  background: #a02030;
}

.edo-quicknav-frame__bar::before,
.edo-quicknav-frame__bar::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0.8rem;
  height: 0.6rem;
  background: #555;
}

.edo-quicknav-frame__bar::before {
  top: -0.7rem;
}

.edo-quicknav-frame__bar::after {
  bottom: -0.7rem;
}

.edo-quicknav {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.edo-quicknav__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--edo-text);
  text-decoration: none;
  line-height: 1.4;
  border: none;
  transition: opacity 0.2s;
}

.edo-quicknav__item:hover {
  opacity: 0.8;
}

.edo-quicknav__item--pink { background-color: #e0e0ec; }
.edo-quicknav__item--purple { background-color: #f0e4e8; }
.edo-quicknav__item--green { background-color: #dde5df; }
.edo-quicknav__item--blue { background-color: #e0e8f0; }

.edo-quicknav__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.edo-quicknav__arrow img {
  width: 0.8rem;
  height: auto;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.edo-section--about {
  background-color: var(--edo-white);
  position: relative;
  padding: 0;
  overflow: hidden;
}

main.edoengei-home #sec-about::after {
  content: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: min(41.667%, calc(50% - 8.333rem));
  right: 0;
  background-color: #f1f1f6;
  z-index: 0;
}

@media (min-width: 431px) {
  main.edoengei-home #sec-about::after {
    content: "";
  }
}

#sec-about > .edo-about__layout {
  position: relative;
  z-index: 1;
}

#sec-about .edo-about__right {
  background-color: #f1f1f6;
}

/* 5:7 段組レイアウト */
.edo-about__layout {
  display: flex;
  flex-direction: column;
  max-width: var(--edo-content-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.edo-about__left {
  display: flex;
  flex-direction: row;
  min-height: 24rem;
  position: relative;
  background-image: url("../images/bg_pattern_purple.svg");
  background-size: auto;
  background-repeat: repeat;
}

.edo-about__left::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: calc((100vw - var(--edo-content-width)) / 2);
  background-image: url("../images/bg_pattern_purple.svg");
  background-size: auto;
  background-repeat: repeat;
}


.edo-about__bg {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem 2rem;
  position: relative;
}

.edo-about__illust {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40rem;
  height: auto;
}

.edo-about__photo {
  width: 80%;
  max-width: 28rem;
  height: auto;
  display: block;
  border: 1px solid #fff;
}

.edo-about__right {
  padding: 3rem 2rem;
}

.edo-about__right .edo-sub-heading {
  background-image: url("../images/h3_waku_bg.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-left: none;
  padding: 2rem 3rem;
  text-align: center;
  max-width: 48rem;
  margin-bottom: 2.4rem;
}

.edo-about__right .edo-sub-heading::before {
  content: "◆ ";
  color: var(--edo-pink);
}

.edo-note {
  border-top: 0.1rem solid #999;
  padding: 1.6rem 0 0;
  margin-top: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.edo-note__body {
  flex: 1;
  padding-bottom: 2.4rem;
}

.edo-note__illust {
  width: 12rem;
  height: auto;
  transform: scaleX(-1);
  flex-shrink: 0;
  align-self: flex-end;
}

@media (min-width: 768px) {
  .edo-note__body {
    padding-bottom: 0;
  }

  .edo-note__illust {
    display: none;
  }
}

.edo-note__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--edo-text);
  margin-bottom: 0.8rem;
}

.edo-note__text {
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--edo-text-light);
}

/* ==========================================================================
   Panoramic Image
   ========================================================================== */

.edo-panorama {
  width: 100%;
  max-width: var(--edo-content-width);
  margin: 0 auto;
  overflow: hidden;
}

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

/* ==========================================================================
   History Section
   ========================================================================== */

.edo-section--history {
  position: relative;
  background-color: var(--edo-bg-lavender);
  overflow: hidden;
}

.edo-section--history::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: min(58.333%, calc(50% + 8.333rem));
  right: 0;
  background-image: url("../images/bg_pattern_red.svg");
  background-size: auto;
  background-repeat: repeat;
  z-index: 0;
}

.edo-section--history > .edo-about__layout,
.edo-section--history > .edo-content {
  position: relative;
  z-index: 1;
}

.edo-section--history > .edo-content {
  padding-bottom: 4rem;
}

.edo-about__layout--reverse .edo-about__left {
  background-image: url("../images/bg_pattern_red.webp");
  background-size: auto;
  background-repeat: repeat;
}

.edo-about__layout--reverse .edo-about__left::before {
  right: auto;
  left: 100%;
  background-image: url("../images/bg_pattern_red.webp");
  background-size: auto;
  background-repeat: repeat;
}

.edo-about__layout--reverse .edo-about__bg {
  background-image: none;
}

.edo-history__stripe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4rem;
  background-image: url("../images/bg_pattern_purple.svg");
  background-size: auto;
  background-repeat: repeat;
}

/* ==========================================================================
   Link Cards (History, Types, Boom)
   ========================================================================== */

.edo-section--links {
  background-color: var(--edo-bg-sage);
  padding: 4rem 0;
}

.edo-linkcards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

@media (min-width: 641px) {
  .edo-linkcards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.edo-linkcards__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: url("../images/edo-linkcards.svg") center / 100% 100% no-repeat;
  border: none;
  padding: 1.6rem 3rem 1.6rem 2rem;
  text-decoration: none;
  color: var(--edo-text);
  aspect-ratio: 296.5 / 106.5;
  min-width: 0;
  background-size: 100% 100%;
}

.edo-linkcards__item::after {
  content: "";
  position: absolute;
  right: 1.6rem;
  top: 50%;
  width: 1.4rem;
  height: 1.4rem;
  border-top: 1px solid #991727;
  border-right: 1px solid #991727;
  transform: translateY(-50%) rotate(45deg);
}

.edo-linkcards__item:hover {
  opacity: 0.85;
}

@media (min-width: 768px) {
  .edo-linkcards__item {
    padding: 1.6rem 38% 1.6rem 2rem;
  }

  .edo-linkcards__item::after {
    display: none;
  }

  .edo-linkcards__item--history {
    background:
      url("../images/img_history.webp") right calc(100% - 6px) / 45% auto no-repeat,
      url("../images/edo-linkcards.svg") center / 100% 100% no-repeat;
    background:
      image-set(url("../images/img_history.webp") 1x, url("../images/img_history@2x.webp") 2x) right calc(100% - 6px) / 45% auto no-repeat,
      url("../images/edo-linkcards.svg") center / 100% 100% no-repeat;
  }

  .edo-linkcards__item--kind {
    background:
      url("../images/img_kind.webp") calc(100% - 10px) center / 31.5% auto no-repeat,
      url("../images/edo-linkcards.svg") center / 100% 100% no-repeat;
    background:
      image-set(url("../images/img_kind.webp") 1x, url("../images/img_kind@2x.webp") 2x) calc(100% - 10px) center / 31.5% auto no-repeat,
      url("../images/edo-linkcards.svg") center / 100% 100% no-repeat;
  }

  .edo-linkcards__item--boom {
    background:
      url("../images/img_boom.webp") calc(100% - 10px) center / 31.5% auto no-repeat,
      url("../images/edo-linkcards.svg") center / 100% 100% no-repeat;
    background:
      image-set(url("../images/img_boom.webp") 1x, url("../images/img_boom@2x.webp") 2x) calc(100% - 10px) center / 31.5% auto no-repeat,
      url("../images/edo-linkcards.svg") center / 100% 100% no-repeat;
  }
}

.edo-linkcards__illust {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 296.5 / 106.5;
  overflow: hidden;
}

.edo-linkcards__illust img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 641px) {
  .edo-linkcards__illust {
    display: none;
  }
}

.edo-linkcards__label {
  font-size: 1.5rem;
  color: #991727;
  line-height: 1.4;
}

.edo-linkcards__title {
  font-size: clamp(1.6rem, -1.048rem + 3.448vw, 2.4rem);
  font-weight: 500;
  /*line-height: 1.4;*/
  margin-top: 1.2rem;
}

/* ==========================================================================
   Species Grid (Gardens & Parks)
   ========================================================================== */

.edo-section--gardens {
  background-color: #eff3f0;
  background-image: url("../images/bg_green.webp");
  background-size: auto;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 4rem 0;
}

.edo-section--gardens .edo-sub-heading {
  background-color: var(--edo-white);
  padding: 1.6rem 2rem;
  border-radius: var(--edo-radius-card);
  border-left: 0.4rem solid var(--edo-green);
}

.edo-species-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.4rem;
}

.edo-species-card {
  position: relative;
  display: flex;
  align-items: stretch;
  background: url("../images/edo-species-card_sp.svg") center / 100% 100% no-repeat;
  border: none;
  text-decoration: none;
  color: var(--edo-text);
  padding: 0.8rem;
}

.edo-species-card:hover {
  opacity: 0.9;
}

.edo-species-card::after {
  content: "";
  position: absolute;
  right: 1.6rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  border-top: 1px solid #1b5a3c;
  border-right: 1px solid #1b5a3c;
  transform: translateY(-50%) rotate(45deg);
}

.edo-species-card__badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 1.2rem;
  flex: 1;
  gap: 0.4rem;
}

.edo-species-card__badge-icon {
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 0;
  margin-right: 0.4rem;
}

.edo-species-card__name {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.3;
  color: #991727;
}

.edo-species-card__furigana {
  font-size: 1.1rem;
  color: #991727;
  margin-top: 0;
}

.edo-species-card__photo {
  flex: 0 0 auto;
  width: 10rem;
  padding: 0.2rem 2.6rem 0.2rem 0;
}

.edo-species-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Learn More Section
   ========================================================================== */

/* --- Split Learn (もっと知る、学ぶ) --- */

.edo-split.edo-split--learn {
  background-image: url("../images/bg_pattern_blue.svg");
  margin-bottom: 5rem;
}

.edo-split--learn .edo-split__bg-left {
  background-image: url("../images/bg_pattern_blue.svg");
}

.edo-split--learn .edo-split__bg-right {
  background-color: #336699;
}

.edo-split--learn .edo-split__text-col {
  background-color: #336699;
}

.edo-section-title--learn {
  border-color: #336699;
}

.edo-section-title--learn .edo-section-title__icon {
  color: #336699;
}

.edo-section-title--learn::before,
.edo-section-title--learn::after {
  background-color: #336699;
}

.edo-split--learn .edo-text {
  color: var(--edo-white);
}

.edo-split--learn .edo-split__text-card {
  position: relative;
  overflow: visible;
  padding-bottom: 6rem;
}

.edo-split--learn .edo-split__text-card::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: 0;
  width: 10rem;
  height: 16rem;
  background: url("../images/img_onna.webp") no-repeat center bottom / contain;
  background-image: image-set(
    url("../images/img_onna.webp") 1x,
    url("../images/img_onna@2x.webp") 2x
  );
}

.edo-split--learn .edo-learn__cta {
  position: relative;
  text-align: center;
  margin-top: 2.4rem;
}

.edo-split--learn .edo-btn {
  background: #ebd1d4;
  border: none;
  color: var(--edo-text);
  padding: 1.4rem 4rem;
  justify-content: center;
  min-width: 20rem;
}

.edo-split--learn .edo-btn::after {
  color: #336699;
}

.edo-split--learn .edo-btn:hover {
  background-color: #c89090;
}

.edo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--edo-white);
  border: 0.2rem solid var(--edo-text);
  border-radius: 0;
  padding: 1.2rem 3.2rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--edo-text);
  text-decoration: none;
  transition: background-color 0.2s;
  margin-top: 1.6rem;
  position: relative;
}

.edo-btn::after {
  content: "＞";
  font-size: 1.2rem;
  position: absolute;
  right: 1.2rem;
}

.edo-btn:hover {
  background-color: #f5f5f5;
}

.edo-learn__cta {
  margin-top: 2rem;
  text-align: right;
}

/* ==========================================================================
   Hide common banner section
   ========================================================================== */

.edo-separator {
  width: 100%;
  height: 3.2rem;
  background-image: url("../images/bg_patteern_arrow.svg");
  background-size: 3.2rem;
  background-repeat: repeat-x;
  background-position: center;
}

.bnr-list {
  display: none;
}

.breadcrumb {
  max-width: var(--edo-content-width);
  margin: 0 auto;
}

/* ==========================================================================
   Tablet (min-width: 431px)
   ========================================================================== */

@media (min-width: 431px) {
  .edo-hero__slide {
    width: 60rem;
  }

  .edo-hero__slide img {
    width: 60rem;
    height: auto;
  }

  .edo-quicknav-frame {
    padding: 2rem 2.4rem 2rem 5rem;
  }

  .edo-quicknav {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

}

@media (min-width: 768px) {
  .edo-about__layout {
    flex-direction: row;
  }

  .edo-about__left {
    flex: 5;
    min-height: auto;
  }

  .edo-section-title {
    position: absolute;
    top: 6rem;
    left: 3.2rem;
    right: 3.2rem;
    z-index: 2;
    margin: 0;
  }

  .edo-section-title--green {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    max-width: var(--edo-content-width);
    margin: 0 auto 2rem;
  }

  .edo-about__bg {
    padding-top: 17rem;
  }

  .edo-about__layout--equal .edo-about__left {
    flex: 1;
  }

  .edo-about__layout--equal .edo-about__right {
    flex: 1;
  }

  .edo-about__layout--reverse {
    flex-direction: row-reverse;
  }

  .edo-about__layout--reverse .edo-about__left {
    flex: 5;
  }

  .edo-about__layout--reverse .edo-about__right {
    flex: 7;
    padding: 17rem 6rem 3rem 3.2rem;
  }

  .edo-about__right {
    flex: 7;
    padding: 17rem 3.2rem 3rem;
  }

  .edo-split--learn .edo-split__bg-left {
    width: 50%;
  }

  .edo-split--learn .edo-split__photo-col {
    width: 50%;
  }

  .edo-split--learn .edo-split__photo-frame img {
    max-width: 90%;
  }

  .edo-split--learn .edo-split__text-col {
    background: none;
  }

  .edo-split--learn .edo-split__text-card::after {
    width: 12rem;
    height: 19rem;
    right: -5rem;
  }

  .edo-split--learn .edo-btn {
    min-width: 24rem;
  }

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

  .edo-species-card {
    background-image: url("../images/edo-species-card.svg");
  }

  .edo-species-card::after {
    display: none;
  }

  .edo-species-card__badge {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.6rem;
    flex: 2;
    gap: 0;
  }

  .edo-species-card__badge-icon {
    width: 3.6rem;
    height: 3.6rem;
    margin-bottom: 0.8rem;
    margin-right: 0;
  }

  .edo-species-card__name {
    font-size: 2.4rem;
  }

  .edo-species-card__furigana {
    font-size: 1.2rem;
    margin-top: 0.4rem;
  }

  .edo-species-card__photo {
    flex: 3;
    width: auto;
    padding: 1.6rem 3rem 1.6rem 0;
  }

  .edo-quicknav {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   Desktop (min-width: 1000px)
   ========================================================================== */

@media (min-width: 1000px) {
  .edo-hero__slide {
    width: 60rem;
  }

  .edo-hero__slide img {
    width: 60rem;
    height: auto;
  }

  .edo-hero__title-area {
    padding: 0 3.2rem 7rem;
  }

  .edo-quicknav__item {
    font-size: 1.6rem;
  }

  .edo-section {
    padding: 5rem 0;
  }

  .edo-section--about {
    padding: 0;
  }

  .edo-content {
    padding: 0 3.2rem;
  }

  .edo-text {
    font-size: 1.6rem;
  }

  .edo-section-title {
    font-size: 2.2rem;
    padding: 1.4rem 3.2rem;
    left: 3.2rem;
    right: 3.2rem;
  }

  .edo-section-title--green {
    position: relative;
    left: auto;
    right: auto;
    max-width: var(--edo-content-width);
    margin: 0 auto 2rem;
  }

  .edo-sub-heading {
    font-size: 2.2rem;
  }

  .edo-heading {
    font-size: 2.6rem;
  }

  .edo-about__right {
    padding: 17rem 4rem 4rem;
  }



  .edo-about__photo {
    max-width: 32rem;
  }

  .edo-species-card__badge {
    min-width: 14rem;
    padding: 2rem;
  }

  .edo-species-card__badge-icon {
    width: 4.5rem;
    height: 4.5rem;
  }

  .edo-species-card__name {
    font-size: 3rem;
  }

  .edo-species-card__furigana {
    font-size: 1.4rem;
  }

  .edo-history__stripe {
    width: 6rem;
  }

}

@media (min-width: 1000px) {
  main.edoengei-home .edo-hero {
    background-image: -webkit-image-set(url("../images/top_bg.webp") 1x, url("../images/top_bg@2x.webp") 2x);
    background-image: image-set(url("../images/top_bg.webp") 1x, url("../images/top_bg@2x.webp") 2x);
    background-size: auto;
    background-position: center top clamp(36rem, 35.25rem + 1.75vw, 37rem);
  }
}

/* ==========================================================================
   Split Layout (2-Column Background)
   ========================================================================== */

.edo-split {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 0;
  font-family: "MyNotoSerif", serif;
  background-image: url("../images/bg_pattern_purple.svg");
  background-size: auto;
  background-repeat: repeat;
}

.edo-split__bg {
  position: absolute;
  inset: 0;
  display: none;
  z-index: 0;
  pointer-events: none;
}

.edo-split__bg-left {
  position: relative;
  background-image: url("../images/bg_pattern_purple.svg");
  background-size: auto;
  background-repeat: repeat;
}

.edo-split__bg-illust {
  display: none;
}

.edo-split__bg-right {
  flex: 1;
  background-color: #f1f1f6;
}

.edo-split__photo-col {
  margin: 0 -1.6rem;
  padding: 2.4rem 1.6rem;
}

.edo-split__text-col {
  background-color: #f1f1f6;
  margin: 0 -1.6rem;
  padding: 2.4rem 1.6rem 0;
}

.edo-split__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--edo-content-width);
  margin: 0 auto;
  padding: 0 1.6rem;
}

.edo-split__title-bar {
  width: 100%;
  margin-bottom: 3.2rem;
}

.edo-split__title-bar .edo-section-title {
  margin: 0;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
}

.edo-split__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.edo-split__photo-col {
  width: 100%;
  margin: 0 auto 2.4rem;
}

.edo-split__photo-frame img {
  max-width: 80vw;
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #fff;
  margin: 0 auto;
}

.edo-split__text-col {
  flex: 1;
  min-width: 0;
}

.edo-split__text-card {
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.edo-split__nav-bar {
  width: 100%;
  padding: 2rem 4rem;
  position: relative;
  z-index: 1;
}

.edo-split__nav-wrap {
  margin: 0 -1.6rem -4rem;
  padding: 2.4rem 1.6rem 4rem;
  background-color: #f1f1f6;
}

.edo-split__nav-bar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.edo-split__nav-bar a {
  text-decoration: none;
  color: #444;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
}

.edo-split__nav-bar a::after {
  content: "";
  position: absolute;
  bottom: -0.4rem;
  left: 0;
  width: 0;
  height: 0.2rem;
  background: var(--edo-purple);
  transition: width 0.3s;
}

.edo-split__nav-bar a:hover {
  color: var(--edo-purple);
}

.edo-split__nav-bar a:hover::after {
  width: 100%;
}

@media (min-width: 768px) {
  .edo-split__bg {
    display: flex;
    flex-direction: row;
  }

  .edo-split__bg-left {
    width: calc(50vw - 8.333rem);
    flex: none;
  }

  .edo-split__bg-illust {
    display: block;
    position: absolute;
    bottom: 0;
    left: max(0px, calc(50vw - 50rem));
    width: 140px;
    height: auto;
    pointer-events: none;
  }

  .edo-split__bg-right {
    flex: 1;
  }

  .edo-split__photo-col {
    background: none;
    margin: 0;
    padding: 0;
  }

  .edo-split__photo-frame img {
    max-width: 33rem;
  }

  .edo-split__text-col {
    background: none;
    margin: 0;
    padding: 0;
  }

  .edo-split__nav-wrap {
    width: 100%;
    margin: 0;
    padding: 0;
    background: none;
  }

  .edo-split__inner {
    padding: 0 2rem;
  }

  .edo-split__content {
    flex-direction: row;
    margin-bottom: 3.2rem;
  }

  .edo-split--learn .edo-split__content {
    margin-bottom: 0;
  }

  .edo-split__photo-col {
    width: calc(50vw - 8.333rem);
    flex-shrink: 0;
    margin: 0;
    padding-right: 4rem;
  }

  .edo-split__photo-frame {
    height: 100%;
    aspect-ratio: auto;
  }

  .edo-split__photo-frame img {
    margin-left: auto;
    margin-right: 0;
  }

  .edo-split__text-col {
    flex: 1;
    padding-left: 0;
  }

  .edo-split__text-card {
    padding-left: 4rem;
  }
}

@media (min-width: 1000px) {
  .edo-split__inner {
    padding: 0;
  }

  .edo-split__photo-col {
    width: calc(var(--edo-content-width) * 5.1 / 12);
  }

  .edo-split--learn .edo-split__photo-col {
    width: calc(var(--edo-content-width) / 2);
  }
}

/* --- Split Reverse (history) --- */

.edo-split--reverse {
  background-color: transparent;
  background-image: url("../images/bg_pattern_red.svg");
  background-size: auto;
  background-repeat: repeat;
}

.edo-split--reverse .edo-split__bg-left {
  background-color: var(--edo-bg-lavender);
  background-image: none;
}

.edo-split--reverse .edo-split__bg-right {
  background-image: url("../images/bg_pattern_red.svg");
  background-size: auto;
  background-repeat: repeat;
  background-color: transparent;
}

.edo-split--reverse .edo-split__photo-col {
  background: none;
}

.edo-split--reverse .edo-split__text-col {
  background-color: var(--edo-bg-lavender);
}

.edo-split--reverse .edo-split__nav-wrap {
  background-color: var(--edo-bg-lavender);
}

.edo-split--reverse .edo-linkcards {
  align-self: stretch;
  background-color: var(--edo-bg-lavender);
  margin: 0 -1.6rem;
  padding: 3.2rem 1.6rem 4rem;
}

.edo-split--reverse .edo-split__nav-bar a::after {
  background: #991727;
}

.edo-split--reverse .edo-split__nav-bar a:hover {
  color: #991727;
}

@media (min-width: 768px) {
  .edo-split--reverse .edo-linkcards {
    background-color: transparent;
    margin: 0 0 4rem;
    padding: 0;
  }

  .edo-split--reverse .edo-split__content {
    flex-direction: row-reverse;
  }

  .edo-split--reverse .edo-split__photo-col {
    background: none;
    padding-right: 0;
    padding-left: 4rem;
  }

  .edo-split--reverse .edo-split__bg-left {
    width: calc(100% - (50vw - 8.333rem));
  }

  .edo-split--reverse .edo-split__bg-right {
    width: calc(50vw - 8.333rem);
    flex: none;
  }

  .edo-split--reverse .edo-split__photo-frame img {
    margin-left: 0;
    margin-right: auto;
  }

  .edo-split--reverse .edo-split__text-card {
    padding-left: 0;
    padding-right: 4rem;
  }
}


/* ==========================================================================
   History-Types Page
   ========================================================================== */

/* --- Page Heading (history-types) --- */

.edo-ht-heading-section {
  background-image: url("../images/bg_pink.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 3.2rem 0;
  font-family: "MyNotoSerif", serif;
}

.edo-ht-page-heading {
  background-color: var(--edo-white);
  color: var(--edo-text);
  font-size: 2.2rem;
  font-weight: 500;
  text-align: center;
  padding: 1.2rem 2rem;
  border: 0.2rem solid #991727;
  letter-spacing: 0.08em;
  line-height: 1.5;
  position: relative;
}

.edo-ht-page-heading::before,
.edo-ht-page-heading::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0.2rem;
  height: 70%;
  background-color: #991727;
}

.edo-ht-page-heading::before {
  left: 0.8rem;
}

.edo-ht-page-heading::after {
  right: 0.8rem;
}

/* --- Section Heading (h3 with waku frame) --- */

.edo-ht-section-heading {
  text-align: center;
  margin-bottom: 3.2rem;
  padding: 2rem 4rem;
  background-image: url("../images/h3_waku_bg.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.edo-ht-section-heading__label {
  font-size: clamp(1.7rem, 1.323rem + 0.877vw, 2.2rem);
  font-weight: 500;
  color: #991727;
  letter-spacing: 0.06em;
}

.edo-ht-section-heading__title {
  font-size: clamp(2.4rem, 1.796rem + 1.404vw, 3.2rem);
  font-weight: 500;
  color: var(--edo-text);
  letter-spacing: 0.12em;
}

/* --- History Intro (image + text) --- */

.edo-ht-intro {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 2rem;
}

.edo-ht-intro__img {
  width: 100%;
  flex-shrink: 0;
}

.edo-ht-intro__img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--edo-radius-card);
}

.edo-ht-intro__text {
  flex: 1;
  position: relative;
}

.edo-ht-intro__text::after {
  content: none;
}

@media (min-width: 768px) {
  .edo-ht-intro__text {
    padding-bottom: 14rem;
  }

  .edo-ht-intro__text::after {
    content: "";
    display: block;
    width: 7.8rem;
    height: 13.4rem;
    background: url("../images/bg_illust_history.svg") no-repeat center / contain;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}


/* --- History Section --- */

.edo-ht-section--history {
  position: relative;
  padding: 4rem 0 0;
  font-family: "MyNotoSerif", serif;
  background-image: url("../images/history-types/bg_edo_history_01.webp");
  background-image: image-set(
    url("../images/history-types/bg_edo_history_01.webp") 1x,
    url("../images/history-types/bg_edo_history_01@2x.webp") 2x
  );
  background-size: auto;
  background-position: center top;
  background-repeat: no-repeat;
}

.edo-ht-stripe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4rem;
  background-image: url("../images/bg_pattern_purple.svg");
  background-size: auto;
  background-repeat: repeat;
}

/* --- Timeline --- */

.edo-ht-section--timeline {
  background-image: url("../images/history-types/bg_edo_history_02.webp");
  background-image: image-set(
    url("../images/history-types/bg_edo_history_02.webp") 1x,
    url("../images/history-types/bg_edo_history_02@2x.webp") 2x
  );
  background-size: auto;
  background-position: center center;
  background-repeat: no-repeat;
}

.edo-ht-timeline-title {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 3.2rem;
  font-family: "MyNotoSerif", serif;
}

.edo-ht-timeline-title__line {
  flex: 1;
  height: 0.1rem;
  background: #a1002a;
}

.edo-ht-timeline-title__frame {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20rem;
  height: 6rem;
  background: url("../images/h3_bg_kikkou_bg.svg") center / contain no-repeat;
}

.edo-ht-timeline-title__text {
  font-size: 2rem;
  font-weight: 500;
  color: #a1002a;
  letter-spacing: 0.2em;
}

.edo-ht-timeline__illust {
  max-width: 100rem;
  margin: 0 auto;
  text-align: center;
}

.edo-ht-timeline__illust img {
  width: 100%;
  height: auto;
  display: block;
}

.edo-ht-section--timeline .edo-ht-timeline__illust {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.edo-ht-section--timeline .edo-ht-timeline__illust img {
  min-width: 60rem;
}

.edo-ht-timeline__row {
  display: flex;
  gap: 1.6rem;
  padding: 2rem 0;
  border-bottom: 0.1rem solid rgba(139, 106, 158, 0.25);
}

.edo-ht-timeline__row:last-child {
  border-bottom: none;
}

.edo-ht-timeline__era {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0.8rem;
  min-width: 6rem;
  flex-shrink: 0;
}

.edo-ht-timeline__year {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--edo-purple);
  white-space: nowrap;
}

.edo-ht-timeline__period {
  font-size: 1.3rem;
  color: var(--edo-text-light);
  text-align: center;
  line-height: 1.4;
  margin-top: 0.4rem;
}

.edo-ht-timeline__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  flex: 1;
  min-width: 0;
}

.edo-ht-timeline__card {
  background: var(--edo-white);
  border-radius: var(--edo-radius-card);
  overflow: hidden;
  border: 0.1rem solid #e0dcd6;
}

.edo-ht-timeline__card-header {
  padding: 0.8rem 1.2rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--edo-white);
}

.edo-ht-timeline__card--pink .edo-ht-timeline__card-header {
  background-color: var(--edo-pink);
}

.edo-ht-timeline__card--green .edo-ht-timeline__card-header {
  background-color: var(--edo-green);
}

.edo-ht-timeline__card--purple .edo-ht-timeline__card-header {
  background-color: var(--edo-purple);
}

.edo-ht-timeline__card--brown .edo-ht-timeline__card-header {
  background-color: var(--edo-orange);
}

.edo-ht-timeline__card--blue .edo-ht-timeline__card-header {
  background-color: var(--edo-blue);
}

.edo-ht-timeline__card img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  display: block;
}

.edo-ht-timeline__caption {
  padding: 1rem 1.2rem;
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--edo-text);
}

/* --- Types Section --- */

.edo-ht-section--types {
  /*background-color: var(--edo-white);*/
  padding: 4rem 0;
  font-family: "MyNotoSerif", serif;
  background-image: url("../images/history-types/bg_edo_history_01.webp");
  background-image: image-set(
    url("../images/history-types/bg_edo_history_01.webp") 1x,
    url("../images/history-types/bg_edo_history_01@2x.webp") 2x
  );
  background-size: auto;
  background-position: center top;
  background-repeat: no-repeat;
}

.edo-ht-types-list {
  margin-top: 2.4rem;
}

.edo-ht-types-group {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--edo-white);
  background-color: var(--edo-green);
  padding: 0.8rem 2rem;
  border-radius: var(--edo-radius-pill);
  display: inline-block;
  margin: 2.4rem 0 1.6rem;
  letter-spacing: 0.08em;
}

.edo-ht-types-group:first-child {
  margin-top: 0;
}

.edo-ht-types-item {
  display: flex;
  gap: 1.6rem;
  padding: 1.6rem 0;
  border-bottom: 0.1rem solid #e8e4e0;
  align-items: flex-start;
}

.edo-ht-types-item:last-child {
  border-bottom: none;
}

.edo-ht-types-item__photo {
  width: 10rem;
  height: 7.5rem;
  flex-shrink: 0;
  border-radius: var(--edo-radius-card);
  overflow: hidden;
}

.edo-ht-types-item__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.edo-ht-types-item__info {
  flex: 1;
  min-width: 0;
}

.edo-ht-types-item__name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--edo-text);
  margin-bottom: 0.4rem;
}

.edo-ht-types-item__name span {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--edo-text-light);
  margin-left: 0.4rem;
}

.edo-ht-types-item__period {
  font-size: 1.4rem;
  color: var(--edo-text-light);
  margin-bottom: 0.4rem;
}

.edo-ht-types-item__desc {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--edo-text);
}

/* --- Types Table --- */

.edo-ht-types-intro {
  position: relative;
}

.edo-ht-types-intro::after {
  content: none;
}

@media (min-width: 768px) {
  .edo-ht-types-intro {
    padding-right: 20rem;
  }

  .edo-ht-types-intro::after {
    content: "";
    display: block;
    width: 14rem;
    height: 12.5rem;
    background: url("../images/bg_illust_types.svg") no-repeat center / contain;
    position: absolute;
    right: 0;
    bottom: 0;
  }
}

.edo-ht-types-table-wrap {
  background: #fff;
  padding: 3.2rem 2.4rem;
  margin-top: 3.2rem;
  border-radius: var(--edo-radius-card);
}

.edo-ht-types-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "MyNotoSerif", serif;
  border: 0.1rem solid #9b4c68;
}

.edo-ht-types-table th,
.edo-ht-types-table td {
  padding: 1.6rem 2rem;
  font-size: 1.5rem;
  line-height: 2;
  color: var(--edo-text);
  vertical-align: top;
  text-align: left;
  display: block;
  width: 100%;
}

.edo-ht-types-table th {
  font-weight: 700;
  white-space: nowrap;
  background: #f5e8e9;
  color: #000;
  border-bottom: 0.1rem solid #9b4c68;
}

.edo-ht-types-table td {
  border-bottom: 0.1rem solid #9b4c68;
}

.edo-ht-types-table tr:last-child th,
.edo-ht-types-table tr:last-child td {
  border-bottom: none;
}

@media (min-width: 768px) {
  .edo-ht-types-table th,
  .edo-ht-types-table td {
    display: table-cell;
    width: auto;
  }

  .edo-ht-types-table th {
    width: 9rem;
  }
}

.edo-ht-types-table__note {
  margin-top: 2rem;
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--edo-text-light);
}

@media (min-width: 1000px) {
  .edo-ht-types-table th {
    width: 12rem;
    font-size: 1.6rem;
  }

  .edo-ht-types-table td {
    font-size: 1.6rem;
  }
}

.edo-ht-types-table__underlined {
  text-decoration: underline dashed #9b4c68;
  text-underline-offset: 0.2em;
}

.edo-ht-types-table__boxed {
  border: 1px solid #9b4c68;
  background-color: #f5e8e9;
  padding: 0.1em 0.3em;
}

/* --- Boom Section --- */

.edo-ht-section--boom {
  /*background-color: var(--edo-bg-cream);*/
  background-image: url("../images/history-types/bg_edo_history_03.webp"), url("../images/history-types/bg_edo_history_01.webp");
  background-image:
    image-set(
      url("../images/history-types/bg_edo_history_03.webp") 1x,
      url("../images/history-types/bg_edo_history_03@2x.webp") 2x
    ),
    image-set(
      url("../images/history-types/bg_edo_history_01.webp") 1x,
      url("../images/history-types/bg_edo_history_01@2x.webp") 2x
    );
  background-size: auto, auto;
  background-position: center bottom, center top;
  background-repeat: no-repeat, no-repeat;
  position: relative;
  padding: 4rem 0 8rem;
  font-family: "MyNotoSerif", serif;
}

.edo-ht-section--boom::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(250, 248, 245, 0.9);
  z-index: 0;
}

.edo-ht-section--boom > .edo-content {
  position: relative;
  z-index: 1;
}

.edo-ht-boom-intro {
  position: relative;
  margin-bottom: 3.2rem;
}

.edo-ht-boom-intro::after {
  content: none;
}

@media (min-width: 768px) {
  .edo-ht-boom-intro {
    padding-right: 20rem;
  }

  .edo-ht-boom-intro::after {
    content: "";
    display: block;
    width: 14rem;
    height: 14.5rem;
    background: url("../images/bg_illust_boom.svg") no-repeat center / contain;
    position: absolute;
    right: 0;
    bottom: 0;
  }
}

.edo-ht-boom-subtitle {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--edo-text);
  margin-bottom: 1.6rem;
  padding: 1rem 0 1rem 1.6rem;
  border-left: 0.4rem solid var(--edo-pink);
}

.edo-ht-boom-shoguns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-bottom: 3.2rem;
}

.edo-ht-boom-shogun {
  background: var(--edo-white);
  border: 0.1rem solid #e0dcd6;
  border-radius: var(--edo-radius-card);
  padding: 1.6rem;
}

.edo-ht-boom-shogun__title {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--edo-purple);
  margin-bottom: 0.4rem;
}

.edo-ht-boom-shogun__desc {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--edo-text);
}

.edo-ht-boom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

.edo-ht-boom-item {
  background: var(--edo-white);
  border: 0.1rem solid #e0dcd6;
  border-radius: var(--edo-radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.edo-ht-boom-item__icon {
  width: 8rem;
  height: 6rem;
  margin-bottom: 1.2rem;
}

.edo-ht-boom-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.edo-ht-boom-item__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--edo-text);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.edo-ht-boom-item__desc {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--edo-text-light);
}

/* --- Parks / Bottom Section --- */

.edo-ht-section--parks {
  /*background-color: #fff;*/
  padding: 4rem 0;
  font-family: "MyNotoSerif", serif;
}

.edo-ht-section--parks .edo-content{
  background-color: #fff;
  padding-bottom: 3.6rem;
  padding-top: 5rem;
}

.edo-ht-parks-heading {
  font-size: clamp(2rem, 1.547rem + 1.053vw, 2.6rem);
  font-weight: 500;
  color: #fff;
  background: url("../images/h3_bg_pink.svg") center / 95% 100% no-repeat;
  text-align: center;
  padding: 1rem 2rem;
  margin-bottom: -2.5rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  max-width: var(--edo-content-width);
  margin-left: auto;
  margin-right: auto;
}

.edo-ht-section--parks .edo-text {
  margin-bottom: 2.4rem;

}

.edo-ht-parks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.6rem 2rem;
  /*background-color: #fff;*/
  /*padding: 2rem;*/
}

.edo-ht-parks-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--edo-text);
}

a.edo-ht-parks-card:hover {
  opacity: 0.8;
}

.edo-ht-parks-card__img {
  overflow: hidden;
  border-radius: 0.4rem;
}

.edo-ht-parks-card__img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.edo-ht-parks-card__label {
  font-size: 1.3rem;
  text-align: center;
  margin-top: 0.8rem;
  color: var(--edo-text);
}

.edo-ht-parks__heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--edo-white);
  background-color: var(--edo-pink);
  text-align: center;
  padding: 1.6rem 2rem;
  border-radius: var(--edo-radius-card);
  margin-bottom: 2.4rem;
  line-height: 1.5;
}

.edo-ht-parks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.edo-ht-parks__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--edo-text);
  transition: transform 0.2s;
}

.edo-ht-parks__card:hover {
  transform: translateY(-0.2rem);
}

.edo-ht-parks__card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 0.3rem solid var(--edo-white);
  display: block;
}

.edo-ht-parks__name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.8rem;
  text-align: center;
}

/* ==========================================================================
   History-Types Responsive - SP背景画像 (max-width: 767px)
   ========================================================================== */

@media (max-width: 767px) {
  .edo-ht-section--history {
    background-image: url("../images/history-types/bg_edo_history_sp_01.webp");
    background-image: image-set(
      url("../images/history-types/bg_edo_history_sp_01.webp") 1x,
      url("../images/history-types/bg_edo_history_sp_01@2x.webp") 2x
    );
    background-size: 140%;
  }

  .edo-ht-section--timeline {
    background-image:
      url("../images/history-types/bg_edo_history_sp_02.webp"),
      url("../images/history-types/bg_edo_history_sp_03.webp"),
      url("../images/history-types/bg_edo_history_sp_04.webp");
    background-image:
      image-set(
        url("../images/history-types/bg_edo_history_sp_02.webp") 1x,
        url("../images/history-types/bg_edo_history_sp_02@2x.webp") 2x
      ),
      image-set(
        url("../images/history-types/bg_edo_history_sp_03.webp") 1x,
        url("../images/history-types/bg_edo_history_sp_03@2x.webp") 2x
      ),
      image-set(
        url("../images/history-types/bg_edo_history_sp_04.webp") 1x,
        url("../images/history-types/bg_edo_history_sp_04@2x.webp") 2x
      );
    background-size: 140%, 140%, 140%;
    background-position: center top, center 33%, center 66%;
    background-repeat: no-repeat, no-repeat, no-repeat;
  }

  .edo-ht-section--types {
    background-image: url("../images/history-types/bg_edo_history_sp_05.webp");
    background-image: image-set(
      url("../images/history-types/bg_edo_history_sp_05.webp") 1x,
      url("../images/history-types/bg_edo_history_sp_05@2x.webp") 2x
    );
    background-size: 140%;
  }

  .edo-ht-section--boom {
    background-image: url("../images/history-types/bg_edo_history_sp_06.webp");
    background-image: image-set(
      url("../images/history-types/bg_edo_history_sp_06.webp") 1x,
      url("../images/history-types/bg_edo_history_sp_06@2x.webp") 2x
    );
    background-size: 140%;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .edo-ht-section--parks {
    background-image: url("../images/history-types/bg_edo_history_sp_07.webp");
    background-image: image-set(
      url("../images/history-types/bg_edo_history_sp_07.webp") 1x,
      url("../images/history-types/bg_edo_history_sp_07@2x.webp") 2x
    );
    background-size: 140%;
    background-position: center top;
    background-repeat: no-repeat;
  }
}

/* ==========================================================================
   History-Types Responsive - Tablet (min-width: 431px)
   ========================================================================== */

@media (min-width: 431px) {
  .edo-ht-timeline__cards {
    grid-template-columns: repeat(2, 1fr);
  }


  .edo-ht-boom-shoguns {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .edo-ht-types-item__photo {
    width: 14rem;
    height: 10rem;
  }

  .edo-ht-parks__grid {
    grid-template-columns: repeat(6, 1fr);
  }

}

/* ==========================================================================
   History-Types Responsive - Tablet (min-width: 768px)
   ========================================================================== */

@media (min-width: 768px) {
  .edo-ht-intro {
    flex-direction: row;
    align-items: flex-start;
  }

  .edo-ht-intro__img,
  .edo-ht-intro__text {
    width: calc(50% - 1.5rem);
    flex: none;
  }

  .edo-ht-parks-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   History-Types Responsive - Desktop (min-width: 1000px)
   ========================================================================== */

@media (min-width: 1000px) {
  .edo-ht-page-heading {
    font-size: 2.6rem;
    padding: 1.4rem 3.2rem;
  }

  .edo-ht-section-heading {
    padding: 2rem 6rem;
    margin-bottom: 7rem;
  }


  .edo-ht-stripe {
    width: 6rem;
  }

  .edo-ht-timeline__era {
    min-width: 9rem;
  }

  .edo-ht-timeline__year {
    font-size: 1.6rem;
  }

  .edo-ht-timeline__period {
    font-size: 1.4rem;
  }

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

  .edo-ht-timeline__card img {
    height: 16rem;
  }

  .edo-ht-timeline__card-header {
    font-size: 1.5rem;
  }

  .edo-ht-timeline__caption {
    font-size: 1.5rem;
  }

  .edo-ht-types-item__photo {
    width: 16rem;
    height: 12rem;
  }

  .edo-ht-types-item__name {
    font-size: 2.2rem;
  }

  .edo-ht-types-item__desc {
    font-size: 1.6rem;
  }


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

  .edo-ht-boom-shogun__desc {
    font-size: 1.6rem;
  }

  .edo-ht-boom-item__title {
    font-size: 1.8rem;
  }

  .edo-ht-boom-item__desc {
    font-size: 1.6rem;
  }

  .edo-ht-parks__heading {
    font-size: 2.4rem;
  }

  .edo-ht-parks__name {
    font-size: 1.8rem;
  }


  .edo-ht-parks-card__label {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   椿（つばき）ページ - main.tsubaki
   ========================================================================== */

main.tsubaki .edo-ht-heading-section {
  background-image: url("../images/asagara_waku.webp");
  background-image: image-set(
    url("../images/asagara_waku.webp") 1x,
    url("../images/asagara_waku@2x.webp") 2x
  );
  background-size: auto;
  background-position: center;
  background-repeat: repeat;
}

main.tsubaki .edo-ht-page-heading {
  border-color: #1e542a;
}

main.tsubaki .edo-ht-page-heading::before,
main.tsubaki .edo-ht-page-heading::after {
  background-color: #1e542a;
}

main.tsubaki .edo-ht-heading-section {
  position: relative;
  z-index: 1;
}

main.tsubaki {
  font-family: "MyNotoSerif", serif;
  background-color: #eff3f0;
}

/* --- Plant Heading with Icon --- */

.edo-tsubaki-plant-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 57.7rem;
  margin: 0 auto 3.2rem;
  background: url("../images/edo_waku_green_02.webp") center / 100% 100% no-repeat;
  padding: 2rem 2rem;
  position: relative;
}

.edo-tsubaki-plant-heading__icon {
  position: absolute;
  left: clamp(1.2rem, 0.318rem + 2.105vw, 3.2rem);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.edo-tsubaki-plant-heading__icon img {
  width: 3.2rem;
  height: 3.2rem;
}

.edo-tsubaki-plant-heading__text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding-left: clamp(0rem, 3.515rem - 0.351vw, 2rem);
}

.edo-tsubaki-plant-heading__label {
  font-size: clamp(1.7rem, 1.323rem + 0.877vw, 2.2rem);
  font-weight: 500;
  color: #1e542a;
  letter-spacing: clamp(0em, 0.759vw - 0.327rem, 0.12em);
  white-space: nowrap;
  margin-right: 4px;
}

.edo-tsubaki-plant-heading__title {
  font-size: clamp(2.4rem, 1.495rem + 2.105vw, 3.6rem);
  font-weight: 500;
  color: #1e542a;
  letter-spacing: clamp(0em, 0.759vw - 0.327rem, 0.12em);
  line-height: 1;
}

.edo-tsubaki-plant-heading__suffix {
  font-size: clamp(1.7rem, 1.323rem + 0.877vw, 2.2rem);
  font-weight: 500;
  color: #1e542a;
}

/* --- Sub-headings with ❋ --- */

.edo-tsubaki-subheading {
  font-size: 1.6rem;
  font-weight: 500;
  color: #991727;
  margin: 3.2rem 0 1.2rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.edo-tsubaki-subheading:first-of-type {
  margin-top: 0;
}

/* --- About Section --- */

.edo-tsubaki-about {
  padding: 0;
  background:
    image-set(
      url("../images/tsubaki/bg_tsubaki_mon.webp") 1x,
      url("../images/tsubaki/bg_tsubaki_mon@2x.webp") 2x
    ) center 20rem no-repeat,
    image-set(
      url("../images/bg_tsubaki.webp") 1x,
      url("../images/bg_tsubaki@2x.webp") 2x
    ) center bottom no-repeat,
    #eff3f0;

}

.edo-tsubaki-about > .edo-content {
  max-width: 100rem;
  background-color: #fff;
  padding-top: 4rem;
  padding-bottom: 4rem;
  position: relative;
}

main.tsubaki .edo-content-inner {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.edo-tsubaki-about__img {
  margin-top: clamp(3.2rem, 6.667vw + 0.333rem, 7rem);
  text-align: center;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.edo-tsubaki-about__img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.4rem;
}

/* --- Mame (豆知識) Heading --- */

.edo-tsubaki-mame-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../images/makimono_frame.svg") center center / 100% 100% no-repeat;
  padding: 2.6rem 3.2rem 2rem;
  margin-bottom: 3.2rem;
  gap: 2rem;
}

.edo-tsubaki-mame-heading__title {
  font-size: clamp(1.7rem, 1.247rem + 1.053vw, 2.3rem);
  font-weight: 500;
  color: #1e542a;
  letter-spacing: 0.12em;
}

.edo-tsubaki-mame-heading__divider {
  height: 3.2rem;
  width: auto;
  flex-shrink: 0;
}

.edo-tsubaki-mame-heading__badge {
  height: clamp(3rem, 2.547rem + 1.053vw, 3.6rem);
  width: auto;
  flex-shrink: 0;
}

/* --- Diagram Section --- */

.edo-tsubaki-diagram {
  padding: 2rem 0 0;
  background-image: image-set(
    url("../images/bg_pattern_01.webp") 1x,
    url("../images/bg_pattern_01@2x.webp") 2x
  );
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

.edo-tsubaki-diagram .edo-text {
  margin-bottom: 3.2rem;
}

.edo-tsubaki-diagram__columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.2rem;
}

.edo-tsubaki-diagram__col-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: #9b4c68;
  margin-top: 0;
  margin-bottom: 1.6rem;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.edo-tsubaki-diagram__col-heading::before {
  content: "";
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
  background: url("../images/tsubaki.svg") center / contain no-repeat;
  flex-shrink: 0;
}

.edo-tsubaki-diagram__col-heading--ume::before {
  background-image: url("../images/ume.svg");
}

.edo-tsubaki-diagram__col-heading--sakura::before {
  background-image: url("../images/sakura.svg");
}

.edo-tsubaki-diagram__col-heading--tsutsuji::before {
  background-image: url("../images/tsutsuji.svg");
}

.edo-tsubaki-diagram__col-heading--syoubu::before {
  background-image: url("../images/syoubu.svg");
}

.edo-tsubaki-diagram__image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .edo-tsubaki-diagram{
    padding-bottom: 4rem;
  }

  .edo-tsubaki-diagram__columns {
    grid-template-columns: 1fr 1fr;
    gap: 3.2rem;
  }

  .edo-tsubaki-diagram__col--full {
    grid-column: 1 / -1;
    max-width: 800px;
    margin: 0 auto;
  }

  .edo-tsubaki-diagram__col--full > .edo-tsubaki-diagram__col-heading--syoubu {
    margin-top: 4rem;
    margin-bottom: 2.6rem;
  }
}

/* --- Flower Types Gallery --- */

.edo-tsubaki-types {
  padding: 4rem 0;
}

.edo-tsubaki-types__heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--edo-text);
  text-align: center;
  margin-bottom: 2.4rem;
  letter-spacing: 0.08em;
}

.edo-tsubaki-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.6rem;
}

.edo-tsubaki-gallery__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.edo-tsubaki-gallery__img {
  overflow: hidden;
  border-radius: 0.4rem;
  width: 100%;
}

.edo-tsubaki-gallery__img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.edo-tsubaki-gallery__label {
  font-size: 1.3rem;
  text-align: center;
  margin-top: 0.8rem;
  color: var(--edo-text);
  font-weight: 700;
}

/* --- Park Section --- */

.edo-tsubaki-park {
  padding: clamp(3rem, 1.754vw + 2.246rem, 4rem) 0 4rem;
}

main.sakurasou .edo-tsubaki-park {
  padding-top: clamp(0rem, 7.018vw - 3.018rem, 4rem);
}

/*.edo-tsubaki-park .edo-ht-parks-heading {*/
/*  background-image: url("../images/waku_green_fill.svg");*/
/*}*/

.edo-tsubaki-park .edo-content {
  background-color: #fff;
  padding-top: 5rem;
  padding-bottom: clamp(1rem, 4.561vw - 0.961rem, 3.6rem);
}

.edo-tsubaki-park .edo-content-inner {
  margin-bottom: 4rem;
}

.edo-tsubaki-park__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.6rem;
  margin-bottom: 3.2rem;
}

.edo-tsubaki-park__card {
  display: flex;
  flex-direction: column;
}

.edo-tsubaki-park__img {
  overflow: hidden;
  border-radius: 0.4rem;
}

.edo-tsubaki-park__img img {
  width: 100%;
  /*aspect-ratio: 4 / 3;*/
  object-fit: cover;
  display: block;
}

.edo-tsubaki-park__label {
  font-size: 1.3rem;
  text-align: center;
  margin-top: 0.8rem;
  color: var(--edo-text);
  line-height: 1.4;
}

.edo-tsubaki-park__info {
  margin-top: 2.4rem;
}

.edo-tsubaki-park__info-box {
  background: #f5f0eb;
  border: 0.1rem solid #ddd;
  border-radius: var(--edo-radius-card);
  padding: 2rem;
  margin-top: 1.6rem;
}

.edo-tsubaki-park__info-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--edo-text);
  margin-bottom: 0.8rem;
}

.edo-tsubaki-park__link {
  color: #991727;
  text-decoration: underline;
}

.edo-tsubaki-park__info-note {
  font-size: 1.3rem;
  color: var(--edo-text-light);
  line-height: 1.8;
}

/* --- Yukari (ゆかりのツバキ) --- */

.edo-tsubaki-yukari__heading {
  font-size: 1.8rem;
  font-weight: 500;
  color: #1e542a;
  background: linear-gradient(to right, #1e542a 0.6rem, #f0ebe0 0.6rem);
  padding: 1rem 1.6rem 1rem 2rem;
  margin: 4rem 0 0;
  line-height: 1.5;
}

.edo-tsubaki-yukari__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  background-image: image-set(
    url("../images/samekomon.png") 1x,
    url("../images/samekomon@2x.png") 2x
  );
  background-repeat: repeat;
  padding: 2.4rem;
}

.edo-tsubaki-yukari__img {
  flex-shrink: 0;
}

.edo-tsubaki-yukari__img img {
  width: 100%;
  max-width: 28rem;
  height: auto;
  display: block;
  border-radius: 0.4rem;
}

.edo-tsubaki-yukari__name {
  font-size: 1.8rem;
  font-weight: 500;
  color: #fff;
  background: #9b4c68;
  padding: 0.8rem 1.6rem;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.edo-tsubaki-yukari__ruby {
  font-size: 1.4rem;
  font-weight: 400;
}

@media (min-width: 431px) {
  .edo-tsubaki-yukari__card {
    flex-direction: row;
    align-items: flex-start;
  }

  .edo-tsubaki-yukari__img {
    width: 28rem;
  }

  .edo-tsubaki-yukari__body {
    flex: 1;
  }
}

/* --- Lightbox --- */

.edo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edo-lightbox[hidden] {
  display: none;
}

.edo-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.edo-lightbox__content {
  position: relative;
  max-width: 70rem;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.edo-lightbox__close {
  position: absolute;
  top: -4rem;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 3.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.edo-lightbox__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.4rem 0.4rem 0 0;
}

.edo-lightbox__caption {
  background: #fff;
  padding: 2rem 2.4rem;
  border-radius: 0 0 0.4rem 0.4rem;
}

.edo-lightbox__name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--edo-text);
  margin-bottom: 0.8rem;
}

.edo-lightbox__desc {
  font-size: 1.4rem;
  color: var(--edo-text-light);
  line-height: 1.8;
}

/* --- External Links --- */

.edo-tsubaki-extlinks {
  padding: 0 0 4rem;
}

.edo-tsubaki-extlinks__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

.edo-tsubaki-extlinks__card {
  display: block;
  position: relative;

  background: #e5f0e1;
  border: 0.1rem solid #ccc;
  border-left: 0.4rem solid #1e542a;
  padding: 1.6rem 4rem 1.6rem 1.6rem;
  text-decoration: none;
  color: var(--edo-text);
  transition: opacity 0.2s;
}

/*.edo-tsubaki-extlinks__card_2 {*/
/*  background: #e5f0e1;*/
/*}*/

.edo-tsubaki-extlinks__card:hover {
  opacity: 0.7;
}

.edo-tsubaki-extlinks__card--red {
  border-left-color: #991727;
}

.edo-tsubaki-extlinks__card--green {
  border-left-color: #1e542a;
  background: #d1e2c8;
}

.edo-tsubaki-extlinks__icon {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 1.8rem;
  height: 1.8rem;
}

.edo-tsubaki-extlinks__name {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.edo-tsubaki-extlinks__desc {
  display: block;
  font-size: 1.3rem;
  color: var(--edo-text-light);
}

@media (min-width: 768px) {
  .edo-tsubaki-extlinks {
    padding-top: 4rem;
  }

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

/* --- Related Plant Section --- */

.edo-tsubaki-related {
  padding: 4rem 0;
  background-color: #e8f0e0;
}

.edo-tsubaki-related__note {
  font-size: 1.3rem;
  color: var(--edo-text-light);
  margin-bottom: 1.6rem;
  text-align: center;
}

.edo-tsubaki-related__card {
  background: #fff;
  border-radius: var(--edo-radius-card);
  overflow: hidden;
}

.edo-tsubaki-related__heading {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  background: #1e542a;
  padding: 1.6rem 2rem;
  text-align: center;
}

.edo-tsubaki-related__body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.4rem;
}

.edo-tsubaki-related__img {
  flex-shrink: 0;
}

.edo-tsubaki-related__img img {
  width: 100%;
  max-width: 30rem;
  height: auto;
  border-radius: 0.4rem;
  display: block;
}

.edo-tsubaki-related__text {
  flex: 1;
}

/* --- Tsubaki Responsive - Tablet (min-width: 431px) --- */

@media (min-width: 431px) {
  .edo-tsubaki-gallery {
    grid-template-columns: repeat(5, 1fr);
  }

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

  .edo-tsubaki-related__body {
    flex-direction: row;
    align-items: flex-start;
  }

  .edo-tsubaki-related__img {
    width: 30rem;
  }
}

/* --- Tsubaki Responsive - Desktop (min-width: 1000px) --- */

@media (min-width: 768px) {
  .edo-tsubaki-plant-heading {
    padding: 2.4rem 4rem;
  }

  .edo-tsubaki-plant-heading__icon {
    width: 6.4rem;
    height: 6.4rem;
  }

  .edo-tsubaki-plant-heading__icon img {
    width: 3.6rem;
    height: 3.6rem;
  }




  .edo-tsubaki-colors__title {
    font-size: 2.2rem;
  }

  .edo-tsubaki-types__heading {
    font-size: 2.2rem;
  }

  .edo-tsubaki-gallery__label {
    font-size: 1.5rem;
  }

  .edo-tsubaki-park__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .edo-tsubaki-park__label {
    font-size: 1.5rem;
  }

  .edo-tsubaki-related__heading {
    font-size: 2.4rem;
  }
}

/* ==========================================================================
   Local Menu Overlay
   ========================================================================== */

.edo-local-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #eff3f0;
  color: #991727;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-family: "MyNotoSerif", serif;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.edo-local-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.edo-local-menu__inner {
  max-width: 100rem;
  margin: 0 auto;
  padding: 10rem 2rem 4rem;
}

.edo-local-menu__close {
  position: fixed;
  right: 1.6rem;
  z-index: 10000;
  width: 5rem;
  height: 5rem;
  background: rgba(255, 255, 255, 0.85);
  border: 0.1rem solid #991727;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

@media (min-width: 1000px) {
  .edo-local-menu__close {
    right: 2.4rem;
  }
}

.edo-local-menu__close::before,
.edo-local-menu__close::after {
  content: "";
  position: absolute;
  width: 2rem;
  height: 0.2rem;
  background-color: #991727;
}

.edo-local-menu__close::before {
  transform: rotate(45deg);
}

.edo-local-menu__close::after {
  transform: rotate(-45deg);
}

.edo-local-menu__title {
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 3.2rem;
}

.edo-local-menu__heading {
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 2.4rem;
  margin-bottom: 1.2rem;
}

.edo-local-menu__link {
  display: block;
  color: #991727;
  text-decoration: none;
  font-size: 1.6rem;
  padding: 0.6rem 0;
}

.edo-local-menu__link:hover {
  text-decoration: underline;
}

.edo-local-menu__link.edo-local-menu__heading {
  font-size: 1.8rem;
  padding: 0;
  margin-top: 2.4rem;
  margin-bottom: 1.2rem;
}

.edo-local-menu__sublist {
  padding-left: 1.6rem;
}

.edo-local-menu__sublink {
  display: block;
  color: #991727;
  text-decoration: none;
  font-size: 1.5rem;
  padding: 0.5rem 0;
  line-height: 2;
}

.edo-local-menu__sublink:hover {
  text-decoration: underline;
}

@media (min-width: 1000px) {
  .edo-local-menu__inner {
    padding: 14rem 4rem 6rem;
  }

  .edo-local-menu__title {
    font-size: 3.2rem;
  }

  .edo-local-menu__heading {
    font-size: 2.2rem;
  }

  .edo-local-menu__columns {
    display: flex;
    gap: 6rem;
  }

  .edo-local-menu__link {
    font-size: 1.8rem;
  }

  .edo-local-menu__link.edo-local-menu__heading {
    font-size: 2.2rem;
  }

  .edo-local-menu__sublink {
    font-size: 1.6rem;
  }
}
