/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.0
*/

@font-face {
  font-family: "Bodoni 72 Book";
  src: url("fonts/Bodoni72-Book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins Light";
  src: url("fonts/Poppins-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-heading: "Bodoni 72 Book", "Bodoni 72", var(--serif);
  --type-scale-heading: 1.5;
  --type-scale-body: 1.2;
  --type-scale-menu: 1.2;
  --color-text: #222222;
  --color-sub-bg: #616161;
  --color-bg: #f9f9f9;
  --color-bg-2: #ebe4dd;
  --color-sub-bg-2: #a67122;
  --line-thickness: 1.5px;
  --text: var(--color-text);
  --muted: #8a8177;
  --accent: #b38a52;
  --bg: #f5f1ec;
  --line: #000000;
  --beige: var(--color-bg-2);
  --page-pad: 22px;
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --sans: "Yu Gothic", "YuGothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Times New Roman", serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  color: var(--text);
  background: white;
  line-height: 1.75;
  font-size: calc(14px * var(--type-scale-body));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page {
  flex: 1;
}
.site-body {
  flex: 1;
}
.profile-page-body {
  background: var(--color-bg);
}
.books-page-body {
  background: var(--color-bg-2);
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }

.page-hero {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  height: 80px;
  overflow: hidden;
  color: white;
}
body:not(.home) main.page {
  padding-top: calc(18px + 80px);
}
body.admin-bar .page-hero {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .page-hero {
    top: 46px;
  }
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 70%);
}
.page-hero--profile .hero__top {
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  padding: 0 var(--page-pad);
  height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.page-hero--profile .page-hero__emblem {
  justify-self: start;
  align-self: center;
  line-height: 0;
}
.page-hero--profile .page-hero__emblem img {
  width: 50px;
  height: auto;
  display: block;
}
.page-hero--profile .page-hero__title {
  width: min(32vw, 136px);
  justify-self: center;
  align-self: center;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.page-hero--profile .hero__menu {
  display: none;
}
.page-hero--profile .page-hero__menu {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero {
  position: relative;
  height: clamp(520px, 82vh, 760px);
  overflow: hidden;
  color: white;
  background: var(--color-bg);
  height: 600px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
  filter: grayscale(100%);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 20%, rgba(0,0,0,0.58) 90%);
}
.hero__top {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.home .menu {
  position: fixed;
  top: 20px;
  right: calc(20px + var(--safe-right));
  z-index: 12;
}
.home .hero__menu {
  margin-right: 47px;
}
body.admin-bar.home .menu {
  top: 52px;
}
@media (max-width: 782px) {
  body.admin-bar.home .menu {
    top: 66px;
  }
}
.hero-top__logo,
.hero-top__nav {
  display: none;
}
.hero-top__logo img {
  height: 36px;
  width: auto;
}
.hero-top__nav {
  align-items: center;
  gap: 26px;
  font-size: calc(13px * var(--type-scale-menu));
  letter-spacing: 0.08em;
  color: #f4f1ec;
  line-height: 1;
  align-self: center;
  font-family: "Poppins Light", "Poppins", var(--sans);
  font-weight: 300;
}
.hero-top__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 26px;
}
.hero-top__nav-list > li { margin: 0; }
.hero-top__nav-list > li > a {
  color: inherit;
  text-decoration: none;
  display: block;
}
.hero__menu {
  font-size: calc(13px * var(--type-scale-menu));
  letter-spacing: 0.14em;
  font-weight: 500;
  font-family: "Poppins Light", "Poppins", var(--sans);
  font-weight: 300;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  height: 38px;
}
.menu {
  width: 37px;
  height: 37px;
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}
.menu__icon {
  height: 100%;
  width: auto;
  display: block;
}
.menu span {
  width: 26px;
  height: 1px;
  background: white;
  display: block;
}
.menu span + span { margin-top: 5px; }

.hero__content {
  position: absolute;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
}
.hero__title-img {
  width: min(58vw, 312px);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}

.hero__brand {
  position: absolute;
  left: 30px;
  bottom: 25px;
  z-index: 2;
}
.hero__emblem {
  width: 188px;
  opacity: 0.95;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4));
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}
.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(78vw, 320px);
  background: #f9f5f0;
  box-shadow: -8px 0 24px rgba(0,0,0,0.18);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 11;
}
.menu-panel__inner {
  padding: 28px 22px;
  display: grid;
  gap: 16px;
  font-family: var(--sans);
  color: var(--text);
}
.menu-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-panel__title {
  margin: 0;
  font-size: calc(14px * var(--type-scale-menu));
  letter-spacing: 0.2em;
  font-family: "Poppins Light", "Poppins", var(--sans);
  font-weight: 300;
}
.menu-panel__close {
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: calc(16px * var(--type-scale-menu));
  line-height: 1;
  cursor: pointer;
}
.menu-panel__nav {
  display: grid;
  gap: 12px;
  font-size: calc(14px * var(--type-scale-menu));
  letter-spacing: 0.08em;
  font-family: "Poppins Light", "Poppins", var(--sans);
  font-weight: 300;
}
.menu-panel__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.menu-panel__nav-list > li { margin: 0; }
.menu-panel__nav-list > li > a {
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  color: inherit;
  text-decoration: none;
}
#vk-mobile-nav,
#vk-mobile-nav-menu-btn {
  display: none !important;
}

body.menu-open .menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}
body.menu-open .menu-panel {
  transform: translateX(0);
}

main.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 18px var(--page-pad) 18px;
}
.books-page-body main.page {
  background: transparent;
  box-shadow: none;
}
.page h1,
.page h2,
.page h3,
.page h4,
.page h5,
.page h6,
.page .wp-block-heading {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.page h1:not(.page-title)::before,
.page h1:not(.page-title)::after,
.page h2::before,
.page h2::after,
.page h3::before,
.page h3::after,
.page h4::before,
.page h4::after,
.page h5::before,
.page h5::after,
.page h6::before,
.page h6::after,
.page .wp-block-heading::before,
.page .wp-block-heading::after {
  content: none;
}
.section {
  margin-bottom: 52px;
}
.section.links {
  margin-bottom: 26px;
}
.section.history {
  margin-bottom: 0;
}

.profile__name {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 6px;
}
.profile {
  background: var(--color-bg);
}
.profile__name h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: calc(22px * var(--type-scale-heading));
  letter-spacing: 0.08em;
  font-weight: 600;
}
.profile__name span {
  font-size: calc(14px * var(--type-scale-heading));
  color: #000;
  letter-spacing: 0.08em;
  font-family: "Poppins Light", "Poppins", var(--sans);
  font-weight: 300;
}
.profile__tag {
  font-size: calc(15px * var(--type-scale-body));
  margin-top: 0;
  margin-bottom: 12px;
}
.profile__mosaic {
  display: grid;
  grid-template-columns: 0.75fr 1.5fr 0.75fr;
  gap: 8px;
  padding: 10px;
  margin-bottom: 14px;
  align-items: stretch;
}
.profile__mosaic-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
}
.profile__mosaic-img--main {
  object-position: center;
}
.profile__mosaic-img--soft {
  opacity: 0.22;
  filter: none;
  height: 100%;
  align-self: stretch;
}
.profile__mosaic-img--left {
  object-position: right center;
}
.profile__mosaic-img--right {
  object-position: left center;
}
.profile__text {
  color: #5a5148;
  font-size: calc(13px * var(--type-scale-body));
  line-height: 1.9;
  display: grid;
  gap: 10px;
  margin-bottom: 0;
}
.profile__text p { margin: 0; }

.cta-btn {
  display: block;
  width: 180px;
  margin: 6px auto 0;
}
.cta-btn img { width: 100%; height: auto; }
.home .cta-btn {
  width: 234px;
}

.section__heading {
  display: grid;
  gap: 0px;
  /* margin-bottom: 10px; */
}
.section__heading h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: calc(18px * var(--type-scale-heading));
  letter-spacing: 0.12em;
  font-weight: 500;
}

@media (max-width: 719px) {
  .home .section__heading h3 {
    font-size: calc(22px * var(--type-scale-heading));
  }
  .news-page-body .section__heading h3 {
    font-size: calc(22px * var(--type-scale-heading));
  }
  .profile__name {
    gap: 8px;
    flex-wrap: nowrap;
  }
  .profile__name h2 {
    font-size: clamp(21px, 7.4vw, 30px);
    letter-spacing: 0.06em;
    white-space: nowrap;
  }
  .profile__name span {
    font-size: clamp(14.5px, 5.3vw, 20px);
    letter-spacing: 0.06em;
    white-space: nowrap;
  }
  .profile__tag {
    font-size: clamp(13px, 4.4vw, 17px);
    letter-spacing: 0.06em;
    white-space: nowrap;
  }
  .profile-page-body .profile-page__name {
    gap: 8px;
    flex-wrap: nowrap;
  }
  .profile-page-body .profile-page__name-ja {
    font-size: clamp(20px, 6.5vw, 30px);
    letter-spacing: 0.06em;
    white-space: nowrap;
  }
  .profile-page-body .profile-page__name-en {
    font-size: clamp(13.5px, 4.5vw, 20px);
    letter-spacing: 0.06em;
    white-space: nowrap;
  }
  .profile-page-body .profile-page__role {
    font-size: clamp(12.5px, 4vw, 16px);
    letter-spacing: 0.06em;
    white-space: nowrap;
  }
  .profile-page .profile-page__top,
  .profile-section__content {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.section__heading--line::after {
  content: "";
  display: block;
  width: 100%;
  height: var(--line-thickness);
  background: var(--line);
}

.news__list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.news__list > li {
  margin: 0;
  padding: 0;
}
.news__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px 0;
  border-bottom: var(--line-thickness) solid var(--line);
  margin: 0;
  text-decoration: none;
  color: inherit;
}
.news__text {
  font-size: calc(12.5px * var(--type-scale-body));
  line-height: 1.6;
  color: #4d453d;
}
.news__accent,
.news__highlight {
  color: var(--accent);
  font-weight: 500;
}
.news__cta {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 0;
  display: block;
  background: url("images/common/news_btn.webp") center / contain no-repeat;
  color: transparent;
  position: relative;
}
.news__cta::after {
  content: none;
}
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 6px;
  font-size: calc(11px * var(--type-scale-body));
  color: #4d453d;
}
.news-pagination__link {
  color: inherit;
  text-decoration: none;
}
.news-pagination__link.is-active {
  font-weight: 600;
}
.news-pagination__sep {
  color: var(--line);
}
.news-pagination__ellipsis {
  color: #8f8378;
}
.news-pagination__arrow {
  font-size: calc(12px * var(--type-scale-body));
}
.news__back {
  display: inline-block;
  margin-top: 14px;
  font-size: calc(12px * var(--type-scale-body));
  color: #2b5ea5;
  text-decoration: underline;
}

.schedule-page-body {
  background: var(--color-bg);
}
.schedule {
  color: #4d453d;
}
.schedule__content {
  padding: 0 16px;
}
.schedule__filter {
  display: grid;
  justify-items: center;
  margin: 20px 0 24px;
}
.schedule__select {
  position: relative;
  width: min(220px, 70%);
}
.schedule__select::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1px solid #6a5f55;
  border-bottom: 1px solid #6a5f55;
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}
.schedule__select select {
  width: 100%;
  padding: 8px 36px 8px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: white;
  color: var(--text);
  font-size: calc(16px * var(--type-scale-body));
  font-weight: 600;
  text-align: center;
  appearance: none;
}
.schedule__month {
    margin: 0;
  }
  .schedule__month + .schedule__month {
    margin-top: 30px;
  }
.schedule__month-title {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: calc(18px * var(--type-scale-heading));
  letter-spacing: 0.1em;
  color: var(--color-sub-bg-2);
}
.schedule__month-list {
  border-top: var(--line-thickness) solid var(--line);
  padding-top: 14px;
  display: grid;
  gap: 16px;
}
.schedule__item-title {
  margin: 0 0 6px;
  font-size: calc(13.5px * var(--type-scale-body));
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding-left: 18px;
}
.schedule__item-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: calc(10px * var(--type-scale-body));
  height: calc(10px * var(--type-scale-body));
  background: url("images/common/bestseller_point.webp") center / contain no-repeat;
  transform: translateY(-50%);
}
.schedule__item-text {
    margin: 0;
    font-size: calc(13px * var(--type-scale-body));
    line-height: 1.7;
    color: #6a5f55;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .schedule__item {
    min-width: 0;
  }
  .schedule__item-text a,
  .schedule__item-text a:visited {
    color: #cc0033;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

.photos-page-body {
    background: var(--color-bg);
  }
.error404 {
    background: var(--color-bg);
  }
.error404 .schedule__content {
    display: block;
    width: 100%;
  }
.travel-title {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  column-gap: 12px;
}
.travel-title::after {
  grid-column: 1 / -1;
}
.travel-title__range {
  font-size: calc(12px * var(--type-scale-body));
  color: #a3998c;
  letter-spacing: 0.12em;
  font-family: "Poppins Light", "Poppins", var(--sans);
  font-weight: 300;
  justify-self: end;
}
.photos__content {
  max-width: 680px;
  margin: 0 auto;
}
.travel-photos .schedule__content {
  padding: 0 8px;
}
.travel-intro__single {
  margin: 0 0 12px;
}
.travel-intro__single img {
  width: 100%;
  height: auto;
  display: block;
}
.travel-intro__text {
  margin: 0 0 6px;
  font-size: calc(12.5px * var(--type-scale-body));
  color: #6a5f55;
}
.travel-intro__instagram {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: calc(11px * var(--type-scale-body));
  color: #8a8177;
  text-decoration: none;
  margin-bottom: 18px;
}
.travel-intro__instagram img {
  width: 14px;
  height: 14px;
  display: block;
}
.travel-list {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}
.travel-card {
  background: white;
  border: 1px solid #e2dad1;
  border-radius: 4px;
  padding: 10px 8px 12px;
}
.travel-card__link {
  display: block;
  color: inherit;
}
.travel-card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: calc(16px * var(--type-scale-heading));
  letter-spacing: 0.08em;
  text-align: center;
  font-weight: 500;
}
.travel-card__date {
  margin: -5px 0 10px;
  font-size: calc(11px * var(--type-scale-body));
  color: #a3998c;
  text-align: center;
  letter-spacing: 0.08em;
}
.travel-card__photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.travel-card__photos--single {
  grid-template-columns: 1fr;
}
.travel-card__photos--single .travel-card__photo {
  width: 100%;
  max-width: calc(50% - 3px);
  justify-self: center;
}
.travel-card__photo {
  background: white;
  border: none;
  padding: 2px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0;
}
.travel-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.travel-detail__content,
.not-found__content {
  max-width: 540px;
  margin: 0 auto;
  width: 100%;
}
.travel-detail__date,
.not-found__title {
  margin: 0 0 12px;
  font-size: calc(16px * var(--type-scale-heading));
  color: var(--color-sub-bg-2);
  letter-spacing: 0.08em;
}
.travel-detail__date::after,
.not-found__title::after {
  content: "";
  display: block;
  height: var(--line-thickness);
  background: var(--line);
  margin-top: 8px;
}
.travel-detail__text,
.not-found__text {
  margin: 0 0 16px;
  font-size: calc(13.5px * var(--type-scale-body));
  color: #5a5148;
  line-height: 1.9;
}
.travel-detail__photo {
  margin: 12px auto;
  background: white;
  border: none;
  padding: 6px;
  max-width: 92%;
}
.travel-detail__photo img {
  width: 100%;
  height: auto;
  display: block;
}
.travel-detail__photo-group {
  position: relative;
  margin: 18px 0 22px;
  padding-bottom: 18px;
}
.travel-detail__photo--wide {
  max-width: 100%;
}
.travel-detail__photo--small {
  position: absolute;
  right: -4px;
  bottom: -10px;
  width: 42%;
  margin: 0;
}
.travel-detail__back,
.not-found__back {
  margin-top: 12px;
}

.books {
  background: var(--beige);
  padding: 18px 0 26px;
  border-radius: 0;
  width: 100%;
  margin-left: 0;
  transform: none;
}
.books__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  margin: 12px 0 16px;
}
.home .books__grid {
  margin-bottom: 0;
}
.book {
  position: relative;
  display: grid;
  gap: 0px;
  text-align: center;
  align-content: start;
  min-width: 0;
}
.book__cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  /*background: #f8f4ee;
  border: 1px solid #e0d7cc;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);*/
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b1a394;
  font-size: calc(10px * var(--type-scale-body));
  padding: 6%;
  overflow: visible;
  min-width: 0;
}
.book__cover > img:not(.badge) {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.book__title {
  margin: 0;
  font-size: calc(11.5px * var(--type-scale-body));
  line-height: 1.5;
  color: #5a5147;
  min-height: 2.8em;
}
.badge {
  position: absolute;
  bottom: 3px;
  left: -2px;
  width: 56px;
  height: auto;
}
.badge--new { width: 56px; }
.badge--milion { width: 56px; }

.links__group {
  display: grid;
  gap: 10px;
}
.links__group--more { margin-top: 6px; }
.links__grid {
  display: grid;
  gap: 14px;
}
.links__label { justify-self: start; }
.links__label img {
  height: 22px;
  width: auto;
  display: block;
}
.links__label:first-of-type {
  margin-top: 24px;
}
.link-block {
  display: grid;
  gap: 6px;
}
.link-card {
  display: block;
  /*border: 1px solid var(--line);*/
  border-radius: 2px;
  overflow: hidden;
  background: white;
  width: 100%;
}
.link-card img {
  width: 100%;
  height: auto;
  display: block;
}
.link__desc {
  margin: 0 2px;
  font-size: calc(11px * var(--type-scale-body));
  color: var(--muted);
}
.links__mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.mini-item {
  display: grid;
  gap: 4px;
  align-content: start;
}
.link-card.mini { border-radius: 2px; }
.mini__caption {
  margin: 0 2px;
  font-size: calc(10px * var(--type-scale-body));
  color: var(--muted);
  line-height: 1.4;
}
.mini__icon {
  width: calc(10px * var(--type-scale-body));
  height: calc(10px * var(--type-scale-body));
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
}

.footer {
  background: #1c1c1c;
  color: #eaeaea;
  text-align: center;
  padding: 10px 12px;
  font-size: calc(11px * var(--type-scale-body));
  font-family: "Poppins Light", "Poppins", var(--sans);
  font-weight: 300;
}

.topics {
  padding-top: 8px;
  margin-bottom: 0;
}
.topics__header {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-align: center;
}
.topics__back {
  display: inline-block;
  margin-top: 18px;
  font-size: calc(12px * var(--type-scale-body));
  color: #2b5ea5;
  text-decoration: underline;
}

.page-title {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: calc(26px * var(--type-scale-heading));
  letter-spacing: 0.12em;
  font-weight: 500;
}
.page-title::after {
  content: "";
  display: block;
  height: var(--line-thickness);
  background: var(--line);
  margin-top: 8px;
}
.news-page-body .page-title {
  margin-bottom: 0;
}
.profile-page__heading {
  margin-bottom: 0;
}
.profile-page__top {
  display: grid;
  gap: 16px;
}
.profile-page__photo {
  border-radius: 2px;
  overflow: hidden;
  margin: 0;
}
.profile-page__photo img {
  width: 100%;
  height: auto;
  display: block;
}
.profile-page__name {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--sans);
  letter-spacing: 0.08em;
}
.profile-page__name-ja {
  font-size: calc(22px * var(--type-scale-heading));
  font-family: var(--serif);
  font-weight: 600;
}
.profile-page__name-en {
  font-size: calc(12px * var(--type-scale-heading));
  font-family: "Poppins Light", "Poppins", var(--sans);
  font-weight: 300;
}
.profile-page__role {
  margin: -4px 0 12px;
  font-size: calc(13px * var(--type-scale-heading));
  color: #4f463d;
}
.profile-page__bio {
  display: grid;
  gap: 10px;
  font-size: calc(14.5px * var(--type-scale-body));
  color: #4f463d;
  line-height: 1.9;
}
.profile-page__bio p { margin: 0; }
.profile-section__label {
  margin-bottom: 12px;
}
.profile-section__content {
  display: grid;
  gap: 10px;
}
.profile-books,
.profile-history {
  display: grid;
  gap: 10px;
}
.profile-books__label,
.profile-history__label {
  height: 22px;
  width: auto;
  display: block;
  margin-bottom: 6px;
}
.profile-books__image {
  width: 80%;
  margin: 0 auto;
}
.profile-books__image img {
  width: 100%;
  height: auto;
  display: block;
}
.profile-books__list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: calc(12px * var(--type-scale-body));
  color: #4f463d;
  line-height: 1.8;
}
.profile-books__list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}
.profile-books__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: calc(10px * var(--type-scale-body));
  height: calc(10px * var(--type-scale-body));
  background: url("images/common/bestseller_point.webp") center / contain no-repeat;
  transform: translateY(-50%);
}
.profile-books__title {
  font-size: calc(13.5px * var(--type-scale-body));
  font-weight: 600;
  color: #3f3832;
}
.profile-books__meta {
  font-size: calc(12px * var(--type-scale-body));
  color: #8a8177;
  margin-left: 4px;
}
.profile-history__list {
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 16px;
  row-gap: 0;
  font-size: calc(12px * var(--type-scale-body));
}
.profile-history__item {
  display: contents;
  font-size: inherit;
  color: #4f463d;
  line-height: 1.7;
}
.profile-history__item dd {
  font-size: calc(14px * var(--type-scale-body));
  margin: 0;
  position: relative;
  grid-column: 2;
  padding-left: 18px;
  padding-bottom: 16px;
  border-left: none;
  background-image: repeating-linear-gradient(
    to bottom,
    #b8b8b8 0,
    #b8b8b8 2px,
    transparent 2px,
    transparent 6px
  );
  background-position: left top;
  background-size: 1px 6px;
  background-repeat: repeat-y;
  --history-align: calc(0.7em + 1px);
}
.profile-history__item dd::before {
  content: "";
  position: absolute;
  left: 0;
  top: var(--history-align);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b8b8b8;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.profile-history__item:first-of-type dd::after,
.profile-history__item:last-of-type dd::after {
  content: "";
  position: absolute;
  left: 0;
  width: 2px;
  transform: translateX(-50%);
  background: var(--color-bg);
  z-index: 1;
}
.profile-history__item:first-of-type dd::after {
  top: 0;
  height: calc(var(--history-align) - 2px);
}
.profile-history__item:last-of-type dd::after {
  top: calc(var(--history-align) + 2px);
  bottom: 0;
}
.profile-history__item dt {
  font-weight: 600;
  color: #b8b8b8;
  font-size: calc(18px * var(--type-scale-body));
  line-height: 1.2;
  text-align: right;
  padding-right: 4px;
  padding-bottom: 16px;
  grid-column: 1;
}
.profile-history__item:last-of-type dt,
.profile-history__item:last-of-type dd {
  padding-bottom: 0;
}
.profile-history__line {
  display: block;
}
.profile-page__back {
  margin-top: 18px;
  display: inline-block;
}

.books-page__content {
  padding: 0 12px;
}
.book-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  border: none;
  background: transparent;
  margin-bottom: 56px;
}
.book-categories__label {
  width: 100%;
  font-size: calc(14px * var(--type-scale-body));
  color: #4f463d;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.book-categories a {
  font-size: calc(12px * var(--type-scale-body));
  padding: 6px 8px;
  border: 1px solid #bfb4aa;
  border-radius: 2px;
  background: #f8f4ee;
  color: #4f463d;
  text-align: center;
  line-height: 1.4;
}
.book-section {
  margin-bottom: 70px;
}
.book-section h2 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: calc(18px * var(--type-scale-heading));
  letter-spacing: 0.08em;
  line-height: 1.2;
  padding-bottom: 6px;
  border-bottom: var(--line-thickness) solid var(--line);
}
.book-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.book-card {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  min-width: 0;
}
.book-card__image {
  background: transparent;
  border: none;
  aspect-ratio: 220 / 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8%;
  overflow: visible;
  position: relative;
  min-width: 0;
}
.book-card__image img:not(.badge) {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  min-width: 0;
  min-height: 0;
}
.book-card__title {
  margin: 0 0 12px;
  font-size: calc(13.5px * var(--type-scale-body));
  line-height: 1.2;
  color: #4f463d;
  text-align: center;
  min-height: 3.2em;
}
.book-card__links {
  display: flex;
  justify-content: center;
  font-size: calc(11px * var(--type-scale-body));
  min-height: 0;
  width: 100%;
  margin-top: auto;
  padding-bottom: 27px;
}
.book-card__links a {
  color: inherit;
  background: transparent;
  border: none;
  padding: 0;
  width: 100%;
  margin: 0;
  display: block;
  align-items: center;
  justify-content: center;
}
.book-card__buy img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 720px) {
  :root { --page-pad: 40px; }
  .hero__title-img { width: 312px; }
  .hero__emblem { width: 216px; }
  main.page { max-width: 860px; padding: 24px var(--page-pad) 24px; }
  .profile__name h2 { font-size: calc(22px * var(--type-scale-heading)); }
  .profile__name span { font-size: calc(14px * var(--type-scale-heading)); }
  .profile__tag { font-size: calc(14px * var(--type-scale-body)); }
  .books__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .links__grid { gap: 16px; }
  .page-title { font-size: calc(30px * var(--type-scale-heading)); }
  .books-page__content { padding: 0 16px; }
  .book-categories { gap: 10px; }
  .book-card__title { font-size: calc(13.5px * var(--type-scale-body)); }
  .profile-page__top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
  .profile-page__name-ja { font-size: calc(22px * var(--type-scale-heading)); }
  .profile-page__name-en { font-size: calc(14px * var(--type-scale-heading)); }
  .profile-page__role { font-size: calc(13px * var(--type-scale-heading)); }
  .profile-page__bio { font-size: calc(13px * var(--type-scale-body)); }
  .profile-books__label,
  .profile-history__label {
    height: 22px;
    width: auto;
  }
  .profile-books__list { font-size: calc(12.5px * var(--type-scale-body)); }
  .profile-history__item {
    font-size: calc(12.5px * var(--type-scale-body));
  }
  .profile-history__item dt { font-size: calc(18px * var(--type-scale-body)); }
  .profile-history__list {
    font-size: calc(12.5px * var(--type-scale-body));
  }
  .profile-history__item dd { font-size: calc(14px * var(--type-scale-body)); }
  .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .travel-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .travel-detail__content,
  .not-found__content { max-width: 620px; }
}

@media (max-width: 1023px) {
  .hero__content { width: 100%; }
  .hero__title-img {
    width: 70vw;
    max-width: none;
    margin: 0 auto;
  }
  .home main.page {
    padding-top: 0;
  }
  .home .profile {
    width: calc(100% + (var(--page-pad) * 2));
    margin-left: calc(-1 * var(--page-pad));
    margin-right: calc(-1 * var(--page-pad));
    padding: 26px var(--page-pad);
    border-radius: 0;
    margin-top: 0;
  }
  .home .profile .cta-btn {
    margin: 30px auto 18px;
    justify-self: center;
  }
  .home .news .cta-btn,
  .home .books .cta-btn {
    margin: 30px auto 0;
  }
  .home .books {
    position: relative;
    z-index: 0;
  }
  .home .books::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: var(--beige);
    z-index: -1;
  }
}

@media (min-width: 1024px) {
  :root { --page-pad: 48px; }
  body { background: var(--bg); }
  .books-page-body { background: var(--color-bg-2); }
  .schedule-page-body { background: var(--color-bg); }
  .news-page-body { background: white; }
  .photos__content { max-width: 760px; }
  .travel-detail__content,
  .not-found__content { max-width: 680px; }
  .travel-detail__photo { max-width: 88%; }
  .travel-detail__photo--small { right: 0; }
  .menu-backdrop,
  .menu-panel { display: none; }
  .hero__top {
    top: 0;
    right: 0;
    left: 0;
    height: 80px;
    padding: 0 var(--page-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
  .hero-top__logo,
  .hero-top__nav {
    display: flex;
  }
  .hero-top__logo {
    height: 100%;
    align-items: center;
  }
  .hero-top__nav {
    margin-left: auto;
    justify-content: flex-end;
    height: 100%;
    align-items: center;
  }
  .hero__menu,
  .menu,
  .page-hero__menu {
    display: none;
  }
  .page-hero--profile .hero__top {
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
    display: flex;
    line-height: 1;
  }
  .page-hero--profile .page-hero__menu {
    display: none;
  }
  .page-hero--profile .page-hero__emblem {
    display: flex;
    align-items: center;
    height: 100%;
  }
  .page-hero--profile .page-hero__title {
    margin-left: 0;
  }
  .books-page__content { padding: 0 24px; }
  .schedule__content { padding: 0 24px; }
  .page-title { font-size: calc(32px * var(--type-scale-heading)); }
  main.page {
    background: white;
/*    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    border-radius: 10px;*/
    padding: 30px var(--page-pad) 30px;
  }
  body:not(.home) main.page {
    padding-top: calc(30px + 80px);
  }
  .profile-page-body main.page {
    background: transparent;
    box-shadow: none;
  }
  .hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .hero__title-img { width: 344px; }
  .links__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
  }
  .links__mini { grid-template-columns: repeat(4, 1fr); }
  .book-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home { background: white; }
  .home .hero__top {
    top: 20px;
    right: 20px;
    left: auto;
    height: auto;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
  }
  .home .hero-top__logo,
  .home .hero-top__nav {
    display: none;
  }
  .home .hero__menu { display: inline-flex; }
  .home .menu { display: grid; }
  .home .menu-backdrop,
  .home .menu-panel { display: block; }
  .home main.page {
    max-width: 1100px;
    margin: 0 auto;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0 var(--page-pad) 60px;
  }
  .home .hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .profile-page__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .profile-history__list {
    font-size: calc(12.5px * var(--type-scale-body));
  }
  .profile-history__item dd { font-size: calc(14px * var(--type-scale-body)); }
  .home .hero__bg {
    content: url("images/index/01_top_base_pc.webp");
    object-position: center;
  }
  .home .hero__title-img { width: 384px; }
  .home .hero__content { top: 51%; }
  .home .section { margin-bottom: 70px; }
  .home .section__heading h3 {
    text-transform: lowercase;
    font-size: calc(18px * var(--type-scale-heading));
    letter-spacing: 0.08em;
  }
  .home .section__heading h3::first-letter {
    text-transform: uppercase;
  }
  .home .profile {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    column-gap: 60px;
    row-gap: 0;
    align-items: start;
    background: var(--color-bg);
    border-radius: 6px;
    padding: 85px 28px;
    position: relative;
    z-index: 0;
    margin-bottom: 0;
  }
  .home .profile::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: var(--color-bg);
    z-index: -1;
  }
  .home .profile__mosaic {
    grid-column: 1;
    grid-row: 1 / span 4;
    margin-bottom: 0;
    background: transparent;
    border: none;
    padding: 0;
  }
  .home .profile__mosaic-img { border-radius: 0; }
  .home .profile__name,
  .home .profile__tag,
  .home .profile__text,
  .home .cta-btn {
    grid-column: 2;
  }
  .home .profile__text {
    font-size: calc(14px * var(--type-scale-body));
    line-height: 1.9;
    color: #5a5148;
  }
  .home .profile__tag { margin: -10px 0 8px; }
  .home .profile .cta-btn {
    margin: 12px 0 0;
    width: 260px;
    justify-self: start;
  }
  .home .news {
    max-width: 700px;
    margin: 0 auto;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .home .news .section__heading {
    justify-items: stretch;
  }
  .home .news .section__heading h3 {
    text-align: left;
    font-size: calc(28px * var(--type-scale-heading));
    letter-spacing: 0.12em;
    justify-self: start;
  }
  .news-page-body .news .section__heading {
    justify-items: stretch;
  }
  .news-page-body .news .section__heading h3 {
    text-align: left;
    font-size: calc(28px * var(--type-scale-heading));
    letter-spacing: 0.12em;
    justify-self: start;
  }
  .news-page-body .page-title {
    margin-bottom: 0;
  }
  .home .books .section__heading h3,
  .home .links .section__heading h3 {
    font-size: calc(28px * var(--type-scale-heading));
    letter-spacing: 0.12em;
  }
  .home .news .section__heading--line::after,
  .news-page-body .news .section__heading--line::after {
    content: "";
    display: block;
    height: var(--line-thickness);
    background: var(--line);
  }
  .home .news__list {
    margin: 2px 0 0;
    border-top: none;
  }
  .news-page-body .news__list {
    margin: 2px 0 22px;
    border-top: none;
  }
  .home .news__item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 18px 44px;
    text-align: left;
  }
  .news-page-body .news__item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 18px 44px;
    text-align: left;
  }
  .home .news__text {
    text-align: left;
  }
  .news-page-body .news__text {
    text-align: left;
  }
  .home .news__cta {
    position: static;
    transform: none;
  }
  .news-page-body .news__cta {
    position: static;
    transform: none;
  }
  .home .news .cta-btn {
    width: 260px;
    margin: 30px auto 0;
  }
  .home .books .cta-btn {
    width: 260px;
    margin: 30px auto 0;
  }
  .home .profile .cta-btn {
    margin: 30px 0 0;
  }
  .news-page-body .news {
    max-width: 700px;
    margin: 0 auto;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .schedule-page-body .schedule {
    max-width: 700px;
    margin: 0 auto;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .home .books__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    padding: 0 32px;
  }
  .home .books {
    position: relative;
    z-index: 0;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    margin-left: auto;
    margin-right: auto;
    padding: 56px 0;
    transform: none;
  }
  .home .books::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: var(--beige);
    z-index: -1;
  }
  .home .links {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 56px 0;
  }
  .home .links__group {
    padding: 0 32px;
  }
  .home .links__grid > .link-block--solo {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 28px) / 2);
    max-width: none;
  }
}
