/* ==========================================================================
   江戸伝統園芸植物 - ウメ　文字
   ========================================================================== */

/* 文字
   ========================================================================== */
.edo-text-s{
  font-size: 1.4rem;
  line-height:1.25em;
}
.edo-text-word{
  color: #991727;
}

.ume-title {
  position: relative;
  font-size: 1.8rem;
  color: #991727;
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

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

main.sakura .ume-title::before {
  background-image: url("../images/sakura.svg");
}

main.tsutsuji .ume-title::before {
  background-image: url("../images/tsutsuji.svg");
}

main.sakurasou .ume-title::before {
  background-image: url("../images/sakurasou.svg");
}

/* 下線 */
.ume-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #991727;
  margin-top: 8px;
}

/* table
   ========================================================================== */
.ume-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #3a7d2c;
  font-size: 1.6rem;
}

.ume_table_title{
  font-family: 'Hina Mincho', serif;
  font-size: 2.2rem;
  font-weight: 600;
}

/* セル */
.ume-table th,
.ume-table td {
  padding: 16px;
  vertical-align: top;
  line-height:1.35em;
}

/* 左側 */
.ume-table th {
  width: 35%;
  text-align: left;
  font-weight: bold;
}

.ume-table .ume_j{
  background: #faf9ee;
}
.ume-table .ume_c{
  background: #f8efec;
}
.ume-table .ume_g{
  background: #f2faf0;
}

/* 説明文 */
.ume-table th p {
  margin-top: 8px;
  font-weight: normal;
}

/* 右側 */
.ume-table td {
  width: 65%;
  border-left: 2px dashed #999;
}

/* dlレイアウト */
.ume-table dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 16px;
  margin: 0;
}

.ume-table dt {
  font-weight: bold;
}

.ume-table dd {
  margin: 0 0 10px 0;
}

/* レスポンシブ */
@media (max-width: 768px) {
	
.ume-table {
  border: 0px;
}
	
  .ume-table tr {
    display: block;
    margin-bottom: 16px;
    border: 2px solid #3a7d2c;
  }

  .ume-table th,
  .ume-table td {
    display: block;
    width: 100%;
    border: none;
  }

  .ume-table td {
    border-top: 1px dashed #999;
  }

  .ume-table dl {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   江戸伝統園芸植物 - サクラ
   ========================================================================== */

/* リスト
   ========================================================================== */
.flower-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* 1ブロック */
.flower-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* 画像 */

.flower-img {
  width: 200px;
  height: 200px;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
  border-radius: 0.8rem;
}

.flower-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* テキスト */
.flower-title {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.4;
}

.flower-body p {
  margin: 0;
  font-size: 1.6rem;
  line-height:1.35em;
}


@media (min-width: 768px) {
  .flower-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2.4rem;
  }

  .flower-item {
    flex-direction: column;
    flex: 1 1 calc((100% - 4.8rem) / 3);
    max-width: calc((100% - 4.8rem) / 3);
    gap: 1.2rem;
  }

  .flower-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
  }

  main.tsutsuji .flower-list {
    flex-direction: column;
    gap: 32px;
  }

  main.tsutsuji .flower-item {
    flex-direction: row;
    flex: none;
    max-width: none;
    align-items: flex-start;
    gap: 16px;
  }

  main.tsutsuji .flower-img {
    width: 200px;
    height: 200px;
    aspect-ratio: auto;
  }
}

/* ==========================================================================
   江戸伝統園芸植物 - ハナショウブ
   ========================================================================== */

/* リスト
   ========================================================================== */

.type-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 各アイテム */
.type-item {
  font-size: 1.6rem;
  line-height: 1.7;

  overflow: hidden;
}

/* ラベル */
.type-label {
  display: inline;
  margin-right: 12px;
  padding: 4px 12px;
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
  white-space: nowrap;
  line-height: 1.2;
}

/* テキスト */
.type-item p {
  margin: 0;
}

/* 色 */
.type-label.edo {
  background: #4a7fb8;
}

.type-label.edokei {
  background: #5fa96b;
}

.type-label.higo {
  background: #c46a3a;
}

.type-label.ise {
  background: #c86a7a;
}

.type-label.nagai {
  background: #5aa7d8;
}

/* レスポンシブ */
@media (max-width: 600px) {
  .type-label {
    float: none;
    display: inline-block;
    margin-bottom: 6px;
  }
}

/* ==========================================================================
   江戸伝統園芸植物 - 桜草
   ========================================================================== */

/* --- Mame Heading --- */

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

.edo-tsubaki-mame-heading__title_l {
  font-size: clamp(1.7rem, 1.17rem + 1.23vw, 2.4rem);
  font-weight: 900;
  color: #1e542a;
  letter-spacing: 0.12em;
}

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

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

/* 画像
   ========================================================================== */
/* 画像ラッパー */
.edo-content-inner-img_l {
  width: 80%;
  margin: 0 auto; /* 中央寄せ */
  padding-bottom: 30px;
}

/* 画像自体 */
.edo-content-inner-img_l img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.8rem;
}

main.sakurasou .edo-content-inner-img_l {
  margin-bottom: clamp(0rem, 7.018vw - 3.018rem, 4rem);
}

/* スマホ */
@media (max-width: 600px) {
  .edo-content-inner-img_l {
    width: 100%;
  }
}

/* ==========================================================================
   江戸伝統園芸植物 - もっと知る、学ぶ
   ========================================================================== */

/* ==========================================================================
   もっと知る、学ぶ - main.learn
   ========================================================================== */

main.learn .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.learn .edo-ht-page-heading {
  border-color: #1e542a;
}

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

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

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

/* ==========================================================================
   江戸伝統園芸植物 - 椿
   ========================================================================== */

/* 区切り線
   ========================================================================== */
.divider {
  border: none;
  border-top: 1px solid #991727; 
  margin: 10px 0;
}

/* ポップアップ
   ========================================================================== */
.edo-tsubaki-park__img img {
  transition: opacity 0.3s ease;
}

.edo-tsubaki-park__card:hover .edo-tsubaki-park__img img {
  opacity: 0.8;
}



/* =======================
   Lightbox全体
======================= */
#edo-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  z-index: 9999;
}

/* 非表示制御 */
#edo-lightbox[hidden] {
  display: none;
}

/* =======================
   背景オーバーレイ
======================= */
.edo-lightbox__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

/* =======================
   本体
======================= */
.edo-lightbox__inner {
  position: relative;
  width: 90%;
  max-width: 900px;
  margin: 0 auto;

  top: 50%;
  transform: translateY(-50%);

  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

/* =======================
   画像
======================= */
.edo-lightbox__img {
  width: 100%;
  height: auto;
  display: block;

  aspect-ratio: auto;
  object-fit: contain;
}

/* =======================
   テキスト
======================= */
.edo-lightbox__text {
  padding: 20px;
}

.edo-lightbox__name {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.edo-lightbox__desc {
  font-size: 1.4rem;
  line-height: 1.6;
}

/* =======================
   ×ボタン（ここがメイン）
======================= */
.edo-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;

  width: 44px;
  height: 44px;

  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  color: #fff;

  font-size: 24px;
  line-height: 44px;
  text-align: center;

  cursor: pointer;
  z-index: 10000;
}

/* hover */
.edo-lightbox__close:hover {
  background: rgba(0,0,0,0.9);
}


/* ==========================================================================
   江戸伝統園芸植物 - 背景
   ========================================================================== */

.edo-ume-about {
    padding: 0;
    background: image-set(url(../images/ume/bg_ume_mon.webp) 1x, url(../images/ume/bg_ume_mon@2x.webp) 2x) center 20rem no-repeat, image-set(url(../images/bg_ume.webp) 1x, url(../images/bg_ume@2x.webp) 2x) center bottom no-repeat, #eff3f0;
}

.edo-sakura-about {
    padding: 0;
    background: image-set(url(../images/sakura/bg_sakura_mon.webp) 1x, url(../images/sakura/bg_sakura_mon@2x.webp) 2x) center 20rem no-repeat, image-set(url(../images/bg_sakura.webp) 1x, url(../images/bg_sakura@2x.webp) 2x) center bottom no-repeat, #eff3f0;
}

.edo-tsutsuji-about {
    padding: 0;
    background: image-set(url(../images/tsutsuji/bg_tsutsuji_mon.webp) 1x, url(../images/tsutsuji/bg_tsutsuji_mon@2x.webp) 2x) center 20rem no-repeat, image-set(url(../images/bg_tsutsuji.webp) 1x, url(../images/bg_tsutsuji@2x.webp) 2x) center bottom no-repeat, #eff3f0;
}

.edo-hanasyoubu-about {
    padding: 0;
    background: image-set(url(../images/hanasyoubu/bg_hanasyoubu_mon.webp) 1x, url(../images/hanasyoubu/bg_hanasyoubu_mon@2x.webp) 2x) center 20rem no-repeat, image-set(url(../images/bg_hanasyoubu.webp) 1x, url(../images/bg_hanasyoubu@2x.webp) 2x) center bottom no-repeat, #eff3f0;
}

.edo-sakurasou-about {
    padding: 0;
    background: image-set(url(../images/sakurasou/bg_sakurasou_mon.webp) 1x, url(../images/sakurasou/bg_sakurasou_mon@2x.webp) 2x) center 20rem no-repeat, image-set(url(../images/bg_sakurasou.webp) 1x, url(../images/bg_sakurasou@2x.webp) 2x) center bottom no-repeat, #eff3f0;
}


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

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

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

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

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

/* =======================
   もっと知る、学ぶ
======================= */
.edo-learn-about {
  padding: 0;
  background:
    image-set(
      url("../images/learn/bg_learn_mon.webp") 1x,
      url("../images/learn/bg_learn_mon@2x.webp") 2x
    ) center top -10rem no-repeat,
    #f1f4f8;

}

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

main.learn .edo-content-inner {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  margin-top:30px;
  margin-bottom:20px;
}

main.learn .txt_center {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  margin-top:30px;
  margin-bottom:20px;
	text-align: center;
}

.edo-learn-about__img {
  margin-top: 3.2rem;
  text-align: center;
}

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

/* =======================
   タイトル背景
======================= */

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

/* =======================
   タイトル
======================= */

.section-title {
  position: relative;
  padding: 16px 0; 
  text-align: center;
}

/* 下線 */
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 2px;
  background: #99b2cc;
}

/* アイコン */
.section-title__icon {
  position: absolute;
  left: 30px;
  bottom: 0;

  width: 48px;
  height: auto;
}

/* テキスト */
.section-title__text {
  font-size: 2.4rem;
  font-weight: 500;
  margin: 0;

  display: inline-block;
}

/* レスポンシブ */
@media (max-width: 600px) {
  .section-title {
    padding: 12px 0;
  }

  .section-title__icon {
    width: 32px;
    left: 20px;
  }

  .section-title__text {
    font-size: 1.8rem;
  }
}

/* =======================
   写真パネル
======================= */

.edo-learn-diagram {
  padding: 2rem 0 clamp(0rem, 23.529vw - 10.118rem, 4rem);
  /* 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-learn-diagram .section-title__text {
  line-height: 1.2;
}
@media (min-width: 768px) {
  .edo-learn-diagram .section-title__text {
    line-height: 1;
  }
}

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

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

.edo-learn-diagram__col-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: #9b4c68;
  margin-top: 0;
  margin-bottom: 1.6rem;
  letter-spacing: 0.06em;
}

.edo-learn-diagram__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.2rem;
}

@media (min-width: 768px) {
  .edo-learn-diagram__columns {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

/* =======================
   ボタン
======================= */

.blue-button {
  position: relative;
  display: block;
  width: fit-content;
  margin: 30px auto;

  background: #336699;
  color: #fff;
  text-decoration: none;

  padding: 20px 60px;
  font-size: 2rem;
  font-weight: 500;
  text-align: center;

  transition: 0.3s;
}

/* 右上アイコン */
.blue-button::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;

    width: 1.8rem;
    height: 1.8rem;

  background-image: image-set(
    url("../images/out_icon_blue.webp") 1x,
    url("../images/out_icon_blue@2x.webp") 2x
  );
  background-size: contain;
  background-repeat: no-repeat;
}

/* hover */
.blue-button:hover {
  background: #3b5a7d;
}

/* SP */
@media (max-width: 600px) {
  .blue-button {
    padding: 14px 40px;
    font-size: 1.6rem;
  }

  .blue-button::after {
    width: 10px;   /* 少し小さめ */
    height: 10px;
    top: 8px;
    right: 8px;
  }
}

/* =======================
   表
======================= */
.info-table {
  max-width: 900px;
  margin: 0 auto 20px auto;
  padding: 20px;

  background: #ffffff;
  width: 80%;
}

.info-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;

  border: 2px solid #336699;
}

.info-table th,
.info-table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  font-size: 1.4rem;
  line-height: 1.6;
}

/* 左カラム */
.info-table th {
  width: 180px;
  font-weight: bold;
  white-space: nowrap;
}

/* ===== 横線 ===== */
.info-table tr {
  position: relative;
}

.info-table tr::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;

  height: 1px;
  background: #99b2cc;
}

/* 最終行 */
.info-table tr:last-child::after {
  display: none;
}

/* レスポンシブ */
@media (max-width: 600px) {
  .info-table {
    padding: 10px;
    width: 100%;
  }

  .info-table table,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    /*margin-bottom: 4px;*/
    padding-bottom: 0;
  }

  .info-table td {
    /*margin-bottom: 12px;*/
  }

  .info-table tr::after {
    left: 10px;
    right: 10px;
  }
}

/* =======================
   刊行物
======================= */
/* =======================
   全体
======================= */
.publication {
  padding: 0 20px 60px 20px;
}

.publication__inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  box-sizing: border-box;
  border-top: 10px solid #99b2cc;
}

/* =======================
   上部
======================= */
.publication__header {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

/* 本アイコン */
.publication__label {
  width: 140px;
  height: 140px;

  background-image: url("../images/learn/back_book.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  color: #fff;
  font-size: 2.5rem;
  font-weight: 500;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

/* テキスト */
.publication__text {
  font-size: 1.5rem;
  line-height: 1.9;
}

.publication__text p:first-child {
  margin-bottom: 16px;
}

/* 問い合わせ行 */
.publication__text .contact {
  position: relative;
  padding-left: 24px;
}

/* 青ひし形 */
.publication__text .contact::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;

  width: 12px;
  height: 12px;
  background: #6f8fb3;
  transform: rotate(45deg);
}

/* =======================
   グリッド
======================= */
.publication__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* =======================
   カード
======================= */
.publication__item img {
  width: 100%;
  display: block;
  border-radius: 0.8rem;
}

/* タイトル */
.publication__item .title {
  position: relative;
  padding-left: 16px;
  margin-top: 12px;

  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.6;
}

/* 菱形 */
.publication__item .title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;

  width: 8px;
  height: 8px;
  background: #6f8fb3;
  transform: rotate(45deg);
}

/* サブ */
.publication__item .sub {
  margin-top: 4px;
  font-size: 1.4rem;
  line-height: 1.6;
  color: #666;
}

/* 注釈 */
.publication__note {
  margin-top: 30px;
  font-size: 1.6rem;
  text-align: center;
  color: #666;
}

/* ボタン */
.publication__btn {
  text-align: center;
  margin-top: 40px;
}

/* =======================
   レスポンシブ
======================= */
@media (max-width: 900px) {
  .publication__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .publication {
    padding: 0 15px 40px;
  }

  .publication__inner {
    padding: 20px;
  }

  .publication__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .publication__label {
    width: 100px;
    height: 100px;
  }

  .publication__grid {
    grid-template-columns: 1fr;
  }
}