/* ***************************
mainVisual
*************************** */
.mainVisual {
  display: grid;
  background-color: var(--color-accent);
  background-image: linear-gradient(rgb(255 255 255 / .15), rgb(255 255 255 / .15));
}
.mainVisual__inner {
  justify-self: center;
  width: min(1200px, 100%);
  background-color: #fff;
  aspect-ratio: 1200 / 624;
  overflow: clip;
}
.mainVisual__sliders {
  display: grid;
  grid-template:
    ' slider1 spacer1 slider2 head  slider3 spacer2 slider4 ' auto
    / 214fr   3px     214fr   338fr 214fr   3px     214fr;

}
.mainVisual__head {
  grid-area: head;
}
.mainVisual__slider {
  &:nth-child(2) {
    grid-area: slider1;
  }
  &:nth-child(3) {
    grid-area: slider2;
  }
  &:nth-child(4) {
    grid-area: slider3;
  }
  &:nth-child(5) {
    grid-area: slider4;
  }

  .splide__slide.is-active img {
    animation: 2s ease forwards;
  }

  &:nth-child(2),
  &:nth-child(4) {
    .splide__slide.is-active img {
      animation-name: slideDown;
    }
  }

  &:nth-child(3),
  &:nth-child(5) {
    .splide__slide.is-active img {
      animation-name: slideUp;
    }
  }
}
@keyframes slideDown {
  0% {
    translate: 0 calc(-1 * 40 / 624 * 100%);
    opacity: 0;
  }
  20% {
    translate: 0 calc(-1 * 40 / 624 * 100%);
    opacity: 0;
  }
  100% {
    translate: 0 0;
    opacity: 1;
  }
}
@keyframes slideUp {
  0% {
    translate: 0 calc(40 / 624 * 100%);
    opacity: 0;
  }
  20% {
    translate: 0 calc(40 / 624 * 100%);
    opacity: 0;
  }
  100% {
    translate: 0 0;
    opacity: 1;
  }
}

.mainVisual__pager {
  padding: 12px 0 13px;
  background-color: #fff;
  .splide__controls {
    margin-top: 0;
  }
}

/* ***************************
lead
*************************** */
.lead {
  display: grid;
  grid-template-rows: 
    [full-start]
    var(--full)
    [content-start]
    auto
    [content-end]
    var(--full)
    [full-end];
  writing-mode: vertical-rl;
  block-size: 100%;
  min-inline-size: 790px;
}
.lead::before {
  position: fixed;
  display: block;
  width: 100vw;
  height: 100vh;
  inset: 0;
  background-image: url('/sp-bunkaweek/2025/common/styles/images/img_lead_bg.webp');
  background-size: cover;
  background-position: top center;
  z-index: -1;
  opacity: .17;
  content: '';
}
@media screen and (max-width: 800px) {
  .lead {
    min-inline-size: 530px;
  }
  .lead::before {
    background-image: url('/sp-bunkaweek/2025/common/styles/images/img_lead_bg_sp.webp');
  }
}
.lead__inner {
  grid-row: content;
  padding-top: 58px;
  padding-bottom: 296px;
}
@media screen and (max-width: 800px) {
  .lead__inner {
    padding-top: 30px;
    padding-bottom: 136px;
  }
}
.lead__title {
  position: relative;
  display: grid;
  justify-items: flex-start;
  row-gap: 4px;
  margin-block-end: clamp(17px, -2.976px + 5.122dvw, 38px);
  padding-inline-start: 23px;
}
@media screen and (max-width: 800px) {
  .lead__title {
    margin-block-end: 17px;
  }
}
.lead__title__sub {
  margin-inline-start: 4px;
  font-family: var(--font-family-garamond);
  font-size: calc(14 / 16 * 1rem);
  line-height: calc(16 / 14);
  letter-spacing: calc(.5 / 14 * 1em);
}
@media screen and (max-width: 800px) {
  .lead__title__sub {
    font-size: calc(12 / 16 * 1rem);
    line-height: calc(14 / 12);
  }
}
.lead__title__main {
  font-family: var(--font-family-serif);
  font-size: calc(32 / 16 * 1rem);
  line-height: calc(40 / 32);
  letter-spacing: calc(12 / 32 * 1em);
  font-weight: var(--font-weight-400);
}
.lead__title__main::before {
  position: absolute;
  display: block;
  width: 16px;
  height: 16px;
  inset-inline-start: 0;
  inset-block-end: calc(.5lh - 8px);
  margin-block: auto;
  background-image: url('/sp-bunkaweek/2025/common/styles/images/icon_heading02.svg');
  background-size: 100% 100%;
  content: '';
}
@media screen and (max-width: 800px) {
  .lead__title__main {
    font-size: calc(24 / 16 * 1rem);
    line-height: calc(30 / 24);
    letter-spacing: calc(8 / 24 * 1em);
  }
}
.lead__body {
  margin-inline-start: 51px;
  font-family: var(--font-family-serif);
  font-size: calc(16 / 16 * 1rem);
  line-height: clamp(25px, -0.3632px + 7.0455dvw, 56px);
  letter-spacing: calc(2 / 16 * 1em);
}
@media screen and (max-width: 800px) {
  .lead__body {
    margin-inline-start: 28px;
    font-size: calc(15 / 16 * 1rem);
    letter-spacing: calc(1 / 15 * 1em);
  }
}

.lead[data-lang="en"] {
  writing-mode: horizontal-tb;
  min-inline-size: 0;
  .lead__inner {
    display: grid;
    justify-content: center;
    padding-right: var(--gap);
    padding-left: var(--gap);
  }
  .lead__title__main {
    letter-spacing: 0;
  }
  .lead__body {
    margin-inline-start: 0;
    font-size: calc(16 / 16 * 1rem);
    line-height: calc(30 / 16);
    letter-spacing: 0;
  }
}

/* ***************************
sectionHead
*************************** */
.sectionHead {
  position: relative;
  display: grid;
  padding-left: 42px;
}
@media screen and (max-width: 800px) {
  .sectionHead {
    padding-left: 33px;
  }
}
.sectionHead__main {
  font-family: var(--font-family-serif);
  font-size: calc(40 / 16 * 1rem);
  line-height: calc(50 / 40);
  font-weight: var(--font-weight-700);
}
.sectionHead__main::before {
  position: absolute;
  display: block;
  width: 30px;
  height: 26px;
  top: calc(.5lh - 13px);
  left: 0;
  background-image: url('/sp-bunkaweek/2025/common/styles/images/icon_heading01.svg');
  background-size: 100% 100%;
  content: '';
}
@media screen and (max-width: 800px) {
  .sectionHead__main {
    font-size: calc(24 / 16 * 1rem);
    line-height: calc(35 / 24);
  }
  .sectionHead__main::before {
    width: 25px;
    height: 20px;
    top: calc(.5lh - 10px);
  }
}
.sectionHead__sub {
  margin: 0;
  font-family: var(--font-family-garamond);
  font-size: calc(16 / 16 * 1rem);
  line-height: calc(20 / 16);
  color: var(--color-text-sub);
}
@media screen and (max-width: 800px) {
  .sectionHead__sub {
    font-size: calc(14 / 16 * 1rem);
    line-height: calc(19 / 14);
  }
}

/* ***************************
sixThemes
*************************** */
.sixThemes__head {
  margin-bottom: 42px;
}
@media screen and (max-width: 800px) {
  .sixThemes__head {
    margin-bottom: 31px;
  }
}

/* ***************************
themeCards
*************************** */
.themeCards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 40px;
}
@media screen and (max-width: 800px) {
  .themeCards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 30px;
  }
}
.themeCards__item {
  position: relative;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  row-gap: 0;
  padding: 0 21px;
  z-index: 0;
}
.themeCards__item::after {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  inset: 0;
  border-left: 1px solid var(--color-border);
  z-index: -1;
  content: '';
}
.themeCards__item:nth-child(3n)::after {
  border-right: 1px solid var(--color-border);
}
@media screen and (max-width: 800px) {
  .themeCards__item {
    padding: 0 9px;
  }
  .themeCards__item:nth-child(3n)::after {
    border-right: none;
  }
  .themeCards__item:nth-child(2n)::after {
    border-right: 1px solid var(--color-border);
  }
}

/*
themeCard
--------------------------- */
.themeCard {
  position: relative;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  padding-top: 27px;
  z-index: 0;
  color: var(--color-text);
  text-decoration: none;
}
.themeCard::after {
  position: absolute;
  display: block;
  width: clamp(118px, 118 / 156 * 100%, 230px);
  top: 0;
  right: 0;
  left: 0;
  margin-inline: auto;
  border: 1px solid #e2e2e2;
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: -1;
  content: '';
}
.themeCard--protect,
.themeCard--support {
  --color-accent: #ff4d64;
}
.themeCard--eat,
.themeCard--learn-heal {
  --color-accent: #1c9179;
}
.themeCard--enjoy,
.themeCard--reside-use {
  --color-accent: #602376;
}
@media screen and (max-width: 800px) {
  .themeCard {
    padding-top: 14px;
  }
}

.themeCard__head {
  display: grid;
  row-gap: 8px;
  margin-bottom: 6px;
  text-align: center;
}
@media screen and (max-width: 800px) {
  .themeCard__head {
    row-gap: 0;
    margin-bottom: 3px;
  }
}
.themeCard__head__main {
  align-self: center;
  font-family: var(--font-family-serif);
  font-size: calc(30 / 16 * 1rem);
  line-height: calc(45 / 30);
  font-weight: var(--font-weight-700);
}
@media screen and (max-width: 800px) {
  .themeCard__head__main {
    font-size: calc(20 / 16 * 1rem);
    line-height: calc(26 / 20);
  }
}
.themeCard__head__sub {
  font-family: var(--font-family-garamond);
  font-size: calc(20 / 16 * 1rem);
  line-height: calc(22 / 20);
  color: var(--color-accent, currentColor);
}
@media screen and (max-width: 800px) {
  .themeCard__head__sub {
    font-size: calc(14 / 16 * 1rem);
    line-height: calc(16 / 14);
  }
}
.themeCard__img {
  text-align: center;
  overflow: hidden;
}
.themeCard__img img {
  width: 100%;
  vertical-align: middle;
  scale: 1;
  transform-origin: center;
  transition: scale var(--duration) var(--easing);
}
@media (any-hover: hover) {
  .themeCard:hover .themeCard__img img {
    scale: 1.1;
  }
}
.themeCard__more {
  position: relative;
  justify-self: flex-end;
  margin-top: 21px;
  padding-right: 32px;
  padding-bottom: 13px;
  font-family: var(--font-family-serif);
  font-size: calc(14 / 16 * 1rem);
  line-height: calc(20 / 14);
  letter-spacing: 0.15em;
  z-index: 0;
  transition: color var(--duration) var(--easing);
}
.themeCard__more::before,
.themeCard__more::after {
  position: absolute;
  display: block;
  z-index: -1;
  content: '';
}
.themeCard__more::before {
  width: 18px;
  height: 18px;
  right: 0;
  bottom: 0;
  background-color: var(--color-accent);
  border-radius: 50%;
}
.themeCard__more::after {
  width: 121px;
  height: 17px;
  right: 8px;
  background-color: currentColor;
  mask-image: url('/sp-bunkaweek/2025/common/styles/images/icon_themes_arrow.svg');
  mask-size: 100% 100%;
  bottom: 8px;
}
@media (any-hover: hover) {
  .themeCard:hover .themeCard__more {
    color: var(--color-active);
  }
}
@media screen and (max-width: 800px) {
  .themeCard__more {
    margin-top: 15px;
    font-size: calc(14 / 16 * 1rem);
    line-height: calc(19 / 14);
  }
  .themeCard__more::after {
    width: 53px;
    height: 17px;
    right: 8px;
    mask-image: url('/sp-bunkaweek/2025/common/styles/images/icon_themes_arrow_sp.svg');
    bottom: 8px;
  }
}

/* ***************************
edoCastle
*************************** */
.edoCastle {
  display: grid;
  grid-template-columns: [head more] 340fr [body] 600fr;
  grid-template-rows: 
    [body-start]
    auto
    [head]
    max-content
    [more]
    max-content
    auto
    [body-end];
  column-gap: calc(40 / 980 * 100%);
  align-items: center;
  padding-bottom: 110px;
}
* + .edoCastle {
  margin-top: 153px;
}
@media screen and (max-width: 800px) {
  .edoCastle {
    grid-template-columns: [head body more] 100%;
    grid-template-rows: 
      [head] max-content
      [body] max-content
      [more] max-content;
    padding-bottom: 37px;
  }
  * + .edoCastle {
    margin-top: 79px;
  }
}
.edoCastle__head {
  grid-area: head;
}
@media screen and (max-width: 800px) {
  .edoCastle__head {
    margin-bottom: 33px;
  }
}
.edoCastle__body {
  grid-area: body;
}
.edoCastle__more {
  position: relative;
  grid-area: more;
  justify-self: flex-start;
  margin-top: 62px;
  padding-right: 25px;
}
@media screen and (max-width: 800px) {
  .edoCastle__more {
    margin-top: 40px;
    justify-self: center;
  }
}
.edoCastle__more__link {
  position: relative;
  display: grid;
  align-items: center;
  padding: 10px 60px 12px 36px;
  border: 1px solid var(--color-text);
  border-radius: calc(infinity * 1px);
  font-size: calc(16 / 16 * 1rem);
  line-height: calc(24 / 16);
  font-weight: var(--font-weight-300);
  color: var(--color-text);
  text-decoration: none;
  /* box-shadow: 2px 4px 0 var(--color-accent); */
}
.edoCastle__more__link::before,
.edoCastle__more__link::after {
  position: absolute;
  display: block;
  pointer-events: none;
  content: '';
}

.edoCastle__more__link::before {
  width: 100%;
  height: 100%;
  top: 4px;
  left: 6px;
  background-color: #ffced4;
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--duration) var(--easing);
}
.edoCastle__more__link::after {
  width: 65px;
  height: 9px;
  right: -25px;
  top: 0;
  bottom: 5px;
  margin-block: auto;
  background-color: var(--color-text);
  mask-image: url('/sp-bunkaweek/2025/common/styles/images/icon_slider_arrow.svg');
  mask-size: 100% 100%;
  scale: -1 1;
}
@media (any-hover: hover) {
  .edoCastle__more__link:hover::before {
    opacity: 1;
  }
}

/* ***************************
edoCastleSlider
*************************** */
.edoCastleSlider {
  .splide__slide img {
    aspect-ratio: 600 / 420;
    object-fit: contain;
  }
}

/* ***************************
noveltyGoods
*************************** */
.noveltyGoods {
  --full-bleed: calc(50vw - 50% + 20px);
  margin-inline: calc(-1 * var(--full-bleed));
  padding-inline: var(--full-bleed);
  padding-top: 77px;
  padding-bottom: 60px;
  background-color: #fffafa;
  background-image: url('/sp-bunkaweek/2025/common/styles/images/img_bg_texture.webp');
  background-position: center top;
}
@media screen and (max-width: 800px) {
  .noveltyGoods {
    padding-top: 37px;
    padding-bottom: 82px;
  }
}
.noveltyGoods__head {
  display: grid;
  justify-items: center;
  margin-bottom: 78px;
  text-align: center;
}
.noveltyGoods__head::before {
  display: block;
  width: 30px;
  height: 26px;
  margin-bottom: 12px;
  background-image: url('/sp-bunkaweek/2025/common/styles/images/icon_heading01.svg');
  background-size: 100% 100%;
  content: '';
}
@media screen and (max-width: 800px) {
  .noveltyGoods__head {
    margin-bottom: 36px;
  }
  .noveltyGoods__head::before {
    width: 25px;
    height: 20px;
    margin-bottom: 3px;
  }
}
.noveltyGoods__head__main {
  font-family: var(--font-family-serif);
  font-size: calc(40 / 16 * 1rem);
  line-height: calc(50 / 40);
  font-weight: var(--font-weight-700);
}
@media screen and (max-width: 800px) {
  .noveltyGoods__head__main {
    font-size: calc(24 / 16 * 1rem);
    line-height: calc(35 / 24);
  }
}
.noveltyGoods__head__sub {
  margin-top: 0;
  font-family: var(--font-family-garamond);
  font-size: calc(16 / 16 * 1rem);
  line-height: calc(20 / 16);
  color: var(--color-text-sub);
}
@media screen and (max-width: 800px) {
  .noveltyGoods__head__sub {
    font-size: calc(14 / 16 * 1rem);
    line-height: calc(19 / 14);
  }
}

/* ***************************
supplGrid
*************************** */
.supplGrid {
  display: grid;
  grid-template-columns: [img] minmax(0, 1fr) [head desc] minmax(0, 1fr);
  grid-template-rows:
    [img-start head]
    max-content
    [desc]
    minmax(0, 1fr)
    [img-end];
  column-gap: 10px;
}
@media screen and (max-width: 800px) {
  .supplGrid {
    grid-template-columns: [head img desc] 100%;
    grid-template-rows:
      [head] max-content
      [img] max-content
      [desc] max-content;
  }
}
.supplGrid__head {
  grid-area: head;
  margin-bottom: 6px;
}
@media screen and (max-width: 800px) {
  .supplGrid__head {
    margin-bottom: 14px;
  }
}
.supplGrid__img {
  grid-area: img;
  margin-top: -35px;
  text-align: center;
}
@media screen and (max-width: 800px) {
  .supplGrid__img {
    margin-top: 0;
    margin-bottom: 10px;
  }
}
.supplGrid__img img {
  vertical-align: middle;
}
.supplGrid__desc {
  grid-area: desc;
  padding-right: 16px;
  padding-left: 16px;
  font-size: calc(18 / 16 * 1rem);
  line-height: calc(32 / 18);
}
@media screen and (max-width: 800px) {
  .supplGrid__desc {
    padding-right: 0;
    padding-left: 0;
    font-size: calc(16 / 16 * 1rem);
    line-height: calc(30 / 16);
  }
}

/* ***************************
noveltyHead, noveltyBody
*************************** */
.noveltyHead {
  padding: 11px 10px 11px;
  background-color: #fff;
  border: solid var(--color-border);
  border-width: 1px 0;
  font-family: var(--font-family-serif);
  font-size: calc(24 / 16 * 1rem);
  line-height: calc(35 / 24);
  font-weight: var(--font-weight-700);
  text-align: center;
}
* + .noveltyHead {
  margin-top: 80px;
}
.noveltyHead:has(+ *) {
  margin-bottom: 18px;
}
@media screen and (max-width: 800px) {
  .noveltyHead {
    padding: 13px 10px 14px;
    font-size: calc(20 / 16 * 1rem);
    line-height: calc(30 / 20);
  }
  * + .noveltyHead {
    margin-top: 60px;
  }
  .noveltyHead:has(+ *) {
    margin-bottom: 20px;
  }
}
.noveltyBody {
  display: flex;
  column-gap: 20px;
  row-gap: 26px;
  font-size: calc(18 / 16 * 1rem);
  line-height: calc(32 / 18);
}
.noveltyBody__item {
  order: 1;
  width: 100%;
  padding-right: 16px;
  padding-left: 16px;
}
@media print, screen and (min-width: 801px) {
  .noveltyBody__item.img-right {
    order: 2;
  }
}
@media screen and (max-width: 800px) {
  .noveltyBody {
    flex-wrap: wrap;
    font-size: calc(16 / 16 * 1rem);
    line-height: calc(30 / 16);
  }
  .noveltyBody__item {
    padding-right: 0;
    padding-left: 0;
  }
}
.noveltyBody__img {
  text-align: center;
}


/* ***************************
supplList
*************************** */
.supplList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 87px;
  align-items: flex-start;
}
* + .supplList {
  margin-top: 85px;
}
@media screen and (max-width: 800px) {
  .supplList {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    row-gap: 46px;
  }
  * + .supplList {
    margin-top: 40px;
  }
}
.supplList__item {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  row-gap: 4px;
  padding-right: 14px;
  padding-left: 14px;
}
.supplList__item--img {
  padding-left: 0;
}
@media screen and (max-width: 800px) {
  .supplList__item {
    padding-right: 0;
    padding-left: 0;
    row-gap: 5px;
  }
}
.supplList__head {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: span 2;
  align-items: flex-start;
}
.supplList__head__num {
  grid-column: 1 / 2;
  display: flex;
  align-items: center;
  margin-top: 1px;
  font-family: var(--font-family-garamond);
  font-size: calc(28 / 16 * 1rem);
  line-height: calc(28 / 28);
}
.supplList__head__num::after {
  display: block;
  margin-left: 11px;
  margin-right: 11px;
  border-left: 1px solid var(--color-border);
  height: 20px;
  content: '';
}
@media screen and (max-width: 800px) {
  .supplList__head__num {
    margin-top: 2px;
    font-size: calc(28 / 16 * 1rem);
    line-height: calc(24 / 28);
  }
}
.supplList__head__text {
  grid-column: 2 / 3;
  font-family: var(--font-family-serif);
  font-size: calc(20 / 16 * 1rem);
  line-height: calc(28 / 20);
  font-weight: var(--font-weight-700);
}
@media screen and (max-width: 800px) {
  .supplList__head__text {
    font-size: calc(18 / 16 * 1rem);
    line-height: calc(24 / 18);
  }
}
.supplList__desc {
  grid-column: 2 / 3;
  overflow-wrap: anywhere;
  font-size: calc(18 / 16 * 1rem);
  line-height: calc(32 / 18);
}
@media screen and (max-width: 800px) {
  .supplList__desc {
    grid-column: 1 / 3;
    font-size: calc(16 / 16 * 1rem);
    line-height: calc(30 / 16);
  }
}
.supplList__imgs {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}
.supplList__imgs img {
  width: 100%;
}

/* ***************************
myCatalog
*************************** */
.myCatalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 15px;
  row-gap: 26px;
}
* + .myCatalog {
  margin-top: 42px;
}
@media screen and (max-width: 800px) {
  .myCatalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  * + .myCatalog {
    margin-top: 33px;
  }
}
.myCatalog__item figure {
  display: grid;
  row-gap: 4px;
  justify-items: center;
  font-size: calc(14 / 16 * 1rem);
  line-height: calc(20 / 14);
}
.myCatalog__item img {
  width: 100%;
}

/* ***************************
dlLink
*************************** */
.dlLink {
  text-align: center;
}
* + .dlLink {
  margin-top: 48px;
}
@media screen and (max-width: 800px) {
  * + .dlLink {
    margin-top: 24px;
  }
}
.dlLink a {
  font-size: calc(18 / 16 * 1rem);
  line-height: calc(34 / 18);
  font-weight: var(--font-weight-700);
}
.dlLink a::after {
  display: inline-block;
  width: 17px;
  background-color: var(--color-active);
  margin: -2px calc(6 / 18 * 1em) 0;
  mask-image: url('/sp-bunkaweek/2025/common/styles/images/icon_download.svg');
  mask-size: 100% 100%;
  aspect-ratio: 17 / 15;
  vertical-align: middle;
  content: '';
}

/* ***************************
note
*************************** */
.note {
  padding-left: 1.5em;
  font-size: calc(14 / 16 * 1rem);
  line-height: calc(22 / 14);
}
* + .note {
  margin-top: 34px;
}
.note li::before {
  position: absolute;
  margin-left: -1.5em;
  content: '※';
}