@charset "UTF-8";
/* ==========================================================
   共通テーマページ
========================================================== */
.theme-page .com-header {
  background: linear-gradient(to bottom, rgba(243, 246, 247, 0.72) 0%, rgba(243, 246, 247, 0.45) 60%, rgba(243, 246, 247, 0) 100%);
}

.theme-page .com-header__logo__link,
.theme-page .com-header__logo__text__main,
.theme-page .com-header__logo__text__sub,
.theme-page .com-header__nav__item__ja {
  color: #303030;
}

.theme-page .com-header__nav__item,
.theme-page .com-header__nav__item:last-child {
  border: none;
}

.theme-page .com-header__nav__item:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #303030;
}

.theme-page .com-header__nav__item__en {
  color: #888;
}

.theme-page .com-header__nav__item.is-active .com-header__nav__item__ja {
  color: #7a6830;
}

.com-header__hamburger__bar {
  color: #7a6830;
  background: #303030;
}

/* ==========================================================
   ヒーロー共通
========================================================== */
.theme-hero {
  position: relative;
  background-color: #f3f6f7;
  overflow: hidden;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 31.25em;
}

.page-theme1 .theme-hero,
.page-theme2 .theme-hero {
  height: 31.25em;
}

.page-theme3 .theme-hero {
  height: 22.5em;
}

.theme-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  height: 100%;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 4%;
  padding-top: 6.75em;
  padding-bottom: 1.25em;
}

.page-theme3 .theme-hero__inner {
  flex-direction: row;
  justify-content: flex-start;
}

.theme-hero__photo {
  width: 43.25em;
  width: calc(100% - 450px);
  max-width: calc(100% - 450px);
  height: 22.375em;
  overflow: hidden;
  z-index: 0;
}

.theme-hero__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: .5em;
}

.page-theme1 .theme-hero__photo-img {
  object-position: center 30%;
}

.page-theme2 .theme-hero__photo-img {
  object-position: center 40%;
}

.theme-hero__theme-row {
  display: flex;
  align-items: baseline;
  gap: 0.75em;
  margin-bottom: 0.75em;
}

.theme-hero__theme-num {
  font-family: "Shippori Mincho", "游明朝", YuMincho, serif;
  font-size: 1.5em;
  font-weight: 500;
  color: #303030;
  line-height: 1;
}

.theme-hero__title {
  font-family: "Zen Old Mincho", "Shippori Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
  font-size: 2.625em;
  font-weight: 700;
  color: #303030;
  letter-spacing: 0.03em;
  line-height: 1.35;
  margin-bottom: .5em;
}

.theme-hero__chapnav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.theme-hero__chapnav__item {
  display: inline-block;
  width: auto;
  max-width: 100%;
  padding: 0.25em 0;
  font-family: "Zen Old Mincho", "Shippori Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
  font-size: 1.125em;
  font-weight: 400;
  color: #333;
  letter-spacing: 0;
}

@media all and (max-width: 1000px) {
  .theme-hero__chapnav__item {
    font-size: 1em;
  }
}

@media all and (max-width: 48em) {
  .theme-hero__chapnav__item {
    font-size: .875em;
  }
}

.theme-hero__chapnav__item:visited {
  color: #333;
}

.theme-hero__chapnav__item:hover {
  color: #7a6830;
  padding-left: 0.25em;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.theme-hero__wave {
  margin-top: -.1em;
  width: 100%;
  height: 2.5em;
  z-index: 4;
  line-height: 0;
  background-image: url("../img/nami_down_blue.png");
  background-repeat: repeat-x;
  z-index: 100;
}

.theme-hero--with-photo .theme-hero__title {
  max-width: 9.5em;
}

.theme-hero--with-photo .theme-hero__chapnav {
  max-width: 27em;
}

@media all and (max-width: 56.25em) {
  .page-theme1 .theme-hero,
  .page-theme2 .theme-hero,
  .page-theme3 .theme-hero {
    height: auto;
  }
  .theme-hero--with-photo .theme-hero__photo {
    width: 100%;
    max-width: 100%;
    height: 15em;
    margin-bottom: 1.5em;
  }
  .theme-hero__inner {
    padding-top: 6em;
    padding-bottom: 2em;
    flex-direction: column;
  }
  .theme-hero__title {
    font-size: 2em;
    margin-bottom: 1em;
    max-width: none;
  }
  .theme-hero__theme-row {
    margin-bottom: .35em;
  }
  .theme-hero__theme-num {
    font-family: "Shippori Mincho", "游明朝", YuMincho, serif;
    font-size: 1.125em;
    font-weight: 500;
    color: #303030;
    line-height: 1;
  }
}

@media all and (max-width: 48em) {
  .theme-hero__title {
    font-size: clamp(1.75rem, 5vw, 2.625em);
    margin-bottom: .5em;
    max-width: none;
  }
  .theme-hero__chapnav {
    max-width: none;
  }
}

/* ==========================================================
   セクション共通
========================================================== */
.theme-section {
  padding: 5em 0 3em;
  background-color: #ffffff;
}

.theme-section--alt {
  background-color: #f7f6f3;
}

.theme-section__header {
  padding-bottom: .5em;
  margin-bottom: 2em;
  border-bottom: 0.125em solid #dbdbdb;
}

.theme-section__heading {
  font-family: "Zen Old Mincho", "Shippori Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
  font-size: 1.625em;
  font-weight: 700;
  color: #303030;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.theme-section__subtitle {
  font-size: 0.875em;
  color: #888;
  margin-top: 0.625em;
  line-height: 1.7;
}

.theme-section__intro {
  font-size: 1em;
  line-height: 1.9;
  color: #333;
  margin-bottom: 1em;
}

@media all and (max-width: 48em) {
  .theme-section {
    padding: 3em 0 1.5em;
  }
  .theme-section__heading {
    font-size: clamp(1.5rem, 4vw, 1.625em);
  }
  .theme-section__intro {
    font-size: 0.9375em;
  }
}

/* ==========================================================
   記事共通
========================================================== */
.theme-article {
  padding: 3em 0 0;
}

.theme-article__layout {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 3em;
  align-items: flex-start;
  padding-bottom: 3em;
}

.theme-article__text-col {
  flex: 1 1 0;
  min-width: 0;
}

.page-theme1 .theme-article__layout::after,
.page-theme2 .theme-article__layout::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2.5em;
  width: 2.75em;
  aspect-ratio: 76.524 / 49.436;
  background: url("../img/endofarticle.svg") no-repeat center/contain;
}

.theme-article__title {
  font-family: "Shippori Mincho", "Zen Old Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
  font-size: 1.5em;
  font-weight: 700;
  color: #303030;
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin-bottom: 0.875em;
}

.theme-article__num {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: inherit;
  font-weight: 400;
  color: #303030;
  letter-spacing: 0;
  margin-right: 0.5em;
  white-space: nowrap;
}

.theme-article__sub {
  font-size: large;
  margin-left: 3.5em;
}

.theme-article__sub2 {
  font-size: large;
}

.theme-article__img-col {
  flex: 0 0 24.625em;
  width: 24.625em;
}

.theme-article__img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

.theme-article__caption {
  font-size: 0.875em;
  color: #616161;
  margin-top: 0.375em;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.theme-article__text {
  font-size: 1em;
  line-height: 1.75;
  color: #333;
  margin-bottom: 0.875em;
  padding-left: .75em;
}

.theme-article__text:last-child {
  margin-bottom: 0;
}

.theme-article--no-img .theme-article__layout {
  display: block;
}

.theme-article--no-img .theme-article__text-col {
  max-width: 42.5em;
}

.theme-article__img-dummy {
  width: 100%;
  padding-top: 66%;
  position: relative;
  background-color: #d0cdc6;
  border: medium solid red;
}

.theme-article__img-dummy::after {
  content: "写真";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #a8a49c;
  font-size: 0.8125em;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
}

@media all and (max-width: 56.25em) {
  .theme-article__img-col {
    flex: 0 0 20em;
    width: 20em;
  }
  .theme-article__layout {
    gap: 2em;
  }
}

@media all and (min-width: 48em) {
  .theme-article__text:last-child {
    padding-bottom: 2em;
  }
}

@media all and (max-width: 48em) {
  .theme-article {
    padding: 1em 0;
  }
  .theme-article__layout {
    flex-direction: column;
    gap: 1.25em;
    padding-bottom: 2.5em;
  }
  .theme-article__img-col {
    flex: 0 0 auto;
    width: 100%;
  }
  .theme-article__title {
    font-size: clamp(1.125rem, 4vw, 1.5em);
  }
  .theme-article__sub {
      margin-left: 0em;
  }

  .theme-article__text {
    font-size: .9375em;
    padding-left: 0;
  }
  .page-theme1 .theme-article__layout::after,
  .page-theme2 .theme-article__layout::after {
    display: none;
  }
}

/* ==========================================================
   終章共通
========================================================== */
.theme-ending {
  padding: 5em 0 6.25em;
}

.theme-ending__header {
  padding-bottom: .5em;
  margin-bottom: 2.5em;
  border-bottom: 0.125em solid #dbdbdb;
}

.theme-ending__heading {
  font-family: "Zen Old Mincho", "Shippori Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
  font-size: 1.75em;
  font-weight: 700;
  color: #303030;
  letter-spacing: 0.04em;
}

.theme-ending__layout {
  display: flex;
  flex-direction: row;
  gap: 3.25em;
  align-items: flex-start;
}

.theme-ending__img-col {
  flex: 0 0 23.75em;
  width: 23.75em;
}

.theme-ending__img {
  width: 100%;
  height: auto;
  display: block;
}

.theme-ending__text-col {
  flex: 1 1 0;
  min-width: 0;
}

.theme-ending__text {
  font-size: 1em;
  line-height: 2;
  color: #333;
  margin-bottom: 1em;
  max-width: 47.5em;
}

.theme-ending__text:last-child {
  margin-bottom: 0;
}

.page-theme1 .theme-ending {
  background-color: #f7f6f3;
}

.page-theme1 .theme-ending__img {
  border: 0.0625em solid #ddd;
}

.page-theme3 .theme-ending {
  background-color: #fff;
}

.page-theme3 .theme-ending__text {
  max-width: 100%;
}

@media all and (max-width: 48em) {
  .theme-ending {
    padding: 3em 0 3.75em;
  }
  .theme-ending__layout {
    flex-direction: column;
    gap: 1.5em;
  }
  .theme-ending__img-col {
    flex: 0 0 auto;
    width: 100%;
    max-width: 22.5em;
    margin: 0 auto;
  }
  .theme-ending__heading {
    font-size: clamp(1.5rem, 4vw, 1.75em);
  }
  .theme-ending__text {
    font-size: .9375em;
    line-height: 1.75;
  }
}

/* ==========================================================
   グリッド / カード共通
========================================================== */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75em;
  margin-bottom: 2.5em;
}

.theme-card {
  background: #ffffff;
  border: 0.0625em solid #dedad4;
  display: flex;
  flex-direction: column;
}

.theme-card__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #d0cdc6;
  position: relative;
  flex-shrink: 0;
}

.theme-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.theme-card__img:hover {
  transform: scale(1.03);
}

.theme-card__body {
  padding: 1em 1.125em 1.25em;
  flex: 1;
}

.theme-card__provider {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875em;
  font-weight: 700;
  color: #303030;
  margin-bottom: 0.625em;
  letter-spacing: 0.02em;
}

.theme-card__text {
  font-size: 0.8125em;
  color: #666;
  line-height: 1.8;
}

.theme-grid-note {
  text-align: center;
  font-size: 0.8125em;
  color: #888;
  letter-spacing: 0.04em;
  padding: 1em 0 0;
}

@media all and (max-width: 56.25em) {
  .theme-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25em;
  }
}

@media all and (max-width: 33.75em) {
  .theme-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   ページナビ共通
========================================================== */
.theme-pagenav {
  background: #ffffff;
  border-top: 0.0625em solid #e0ddd7;
  border-bottom: 0.0625em solid #e0ddd7;
  padding: 1.5em 0;
}

.theme-pagenav__inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.theme-pagenav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1em;
  color: #7a6830;
  letter-spacing: 0.04em;
  transition: opacity 0.2s ease;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
}

.theme-pagenav__link:hover {
  opacity: 0.7;
}

.theme-pagenav__arrow {
  padding-left: 0 .25em;
  font-size: 1.75em;
}

.theme-pagenav__label {
  font-size: 1em;
  color: #888;
  display: block;
  margin-bottom: 0.125em;
}

.theme-pagenav__title {
  font-size: 1em;
  color: #303030;
}

@media all and (max-width: 37.5em) {
  .theme-pagenav__inner {
    flex-direction: row;
    gap: 1em;
    align-items: flex-start;
  }
  .theme-pagenav__title {
    font-size: 1em;
    color: #303030;
  }
}

/* ==========================================================
   モーダル共通
========================================================== */
.theme-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
}

.theme-modal.is-open {
  display: flex;
}

.theme-modal__overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 3em 1.25em 1.25em;
}

.theme-modal__img {
  display: block;
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: pointer;
}

.theme-modal__close {
  position: fixed;
  top: 0.875em;
  right: 1.125em;
  width: 2.375em;
  height: 2.375em;
  background: rgba(255, 255, 255, 0.15);
  border: 0.0625em solid rgba(255, 255, 255, 0.45);
  border-radius: 0.125em;
  font-size: 1.25em;
  cursor: pointer;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2001;
  transition: background 0.2s ease;
  line-height: 1;
  padding: 0;
}

.theme-modal__close:hover {
  background: rgba(255, 255, 255, 0.25);
}
