@charset "UTF-8";

/* -------------------------------------------
ベース
------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'LINE Seed JP', 'Noto Sans JP', sans-serif;
  background: #c0fff2;
}

a:hover {
  opacity: 0.7;
}

/* -------------------------------------------
main-container
------------------------------------------- */
main.main-container {
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

/* -------------------------------------------
main-section
------------------------------------------- */
.main-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 64px;
  background: repeat center/auto url(../images/bg-pattern-02.webp);
  color: #40220f;

  @media (max-width: 768px) {
    padding: 64px 32px;
  }
}

/* 背景カラーリング */
.main-section--pickup {
  background:
    no-repeat center top/150% url(../images/bg-pickup-pc.webp),
    #fff4d5;

  @media (max-width: 768px) {
    background-image: url(../images/bg-pickup-sp.webp);
  }
}

.main-section--bg-secondary {
  background: repeat center/auto url(../images/bg-pattern-01.webp);
  color: #181c61;
}

.main-section--special {
  background:
    no-repeat center bottom/100% url(../images/bg-special-pc.webp),
    #fff4d5;

  @media (max-width: 768px) {
    background-image: url(../images/bg-special-sp.webp);
  }
}

.main-section__block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.main-section__block--gap-l {
  gap: 40px;
}

.main-section__block--gap-s {
  gap: 20px;
}

/* -------------------------------------------
 共通
------------------------------------------- */
/* title-img ------------------------------------------ */
.title-img {
  width: 100%;
  aspect-ratio: 372/74;
  max-width: 372px;
  margin-inline: auto;
}

.title-img img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

/* section-header ------------------------------------------ */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;

  align-items: center;
}

.title-number {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  background: linear-gradient(0deg, transparent 0, #ff9e4a 0, #ff9e4a 0.3em, transparent 0.3em, transparent 100%);

  @media (max-width: 768px) {
    font-size: 1.5rem;
  }
}

.title {
  font-weight: 800;
  font-size: 1.875rem;
  line-height: 1.2;
  text-align: center;

  @media (max-width: 768px) {
    font-size: 1.5rem;
  }
}

.title-note {
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.2;
  text-align: center;

  @media (max-width: 768px) {
    font-size: 0.8125rem;
  }
}

/* text-block ------------------------------------------ */
.text-block {
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  gap: 1em;
  line-height: 1.4;
}

/* 文字サイズ */

@media (min-width: 769px) {
  .text-block--size-l {
    font-size: 1.125rem;
  }
}

/* zoom-icon ------------------------------------------ */
.zoom-icon {
  position: relative;

  &::after {
    content: '';
    display: block;
    width: 24px;
    aspect-ratio: 1/1;
    position: absolute;
    bottom: 0;
    right: 0;
    background: no-repeat center/ cover url(../images/icon-zoom.svg);
  }
}

/* tab-wrap ------------------------------------------ */
.tab-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.tab-wrap input {
  display: none;
}

.tab-btn-list {
  width: 100%;
  height: auto;
  border-bottom: 3px solid #181c62;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.tab-btn {
  cursor: pointer;
  flex: 1;
  max-width: 160px;
  background: #aaabbe;
  color: #fff;
  min-height: 42px;
  text-align: center;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-weight: bold;
  font-size: 1rem;

  &:hover {
    opacity: 0.7;
  }
}

.tab-btn--small {
  max-width: 104px;
}

/* activeになった場合 */
.tab-wrap:has(#tab-goods-01:checked) .tab-btn[for='tab-goods-01'],
.tab-wrap:has(#tab-goods-02:checked) .tab-btn[for='tab-goods-02'],
.tab-wrap:has(#tab-taipei-01:checked) .tab-btn[for='tab-taipei-01'],
.tab-wrap:has(#tab-taipei-02:checked) .tab-btn[for='tab-taipei-02'],
.tab-wrap:has(#tab-taipei-03:checked) .tab-btn[for='tab-taipei-03'] {
  background: #181c62;
}

.tab-contents {
  display: none;
  opacity: 0;
  transition: opacity 0.5s;
}

/* activeになった場合 */

.tab-wrap input[type='radio']:checked+.tab-contents {
  display: block;
  opacity: 1;

  @starting-style {
    opacity: 0;
  }
}

/* attention ------------------------------------------ */
.attention {
  width: fit-content;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  font-size: 0.6875rem;
  line-height: 1.2;
}

.attention__item {
  display: flex;
  gap: 0.1em;

  &::before {
    content: '※';
  }
}

/* tag ------------------------------------------ */
.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.tag {
  border: 1px solid;
  border-radius: 999px;
  color: #000000;
  padding: 4px 8px;
  line-height: 1;
  font-size: 0.6875rem;
}

/* -------------------------------------------
project
------------------------------------------- */
.project-list {
  width: 100%;
  max-width: 890px;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-inline: auto;
  align-items: stretch;

  @media (max-width: 768px) {
    flex-direction: column;
  }
}

.project-item {
  border: #da5437 1px solid;
  background: #fff;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  justify-content: center;

  @media (min-width: 769px) {
    min-width: 254px;
  }
}

.project-item__title {
  background: #da5437;
  color: #fff;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  display: flex;
  gap: 10px;
  padding: 10px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-size: 1rem;
  flex-wrap: wrap;
}

.project-item__title-label {
  border: 1px solid #fff;
  padding: 3px 6px;
}

.project-item__detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.4;
  color: #181c62;
  font-weight: bold;
  flex: 1;
  justify-content: center;
  align-items: center;

  @media (max-width: 768px) {
    aspect-ratio: 345/89;
  }
}

/* -------------------------------------------
goods-list
------------------------------------------- */
.goods-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: 912px;
  margin-inline: auto;
  justify-content: center;
}

.goods-card {
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: calc((100% - 10px) / 2);

  @media (max-width: 768px) {
    padding: 12px;
  }
}

.goods-card--1-column {
  margin-inline: 1px;
}

.goods-card__picture {
  width: 100%;
  aspect-ratio: 1/1;

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.goods-card__title {
  font-size: 0.875rem;
  font-weight: bold;
  line-height: 1.2;
}

.goods-card__price {
  text-align: end;
  font-size: 0.875rem;
  font-weight: bold;
  line-height: 1.2;
}

.goods-card__unit {
  font-size: 0.6875rem;
}

/* -------------------------------------------
banner-list
------------------------------------------- */
.banner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.banner {
  max-width: 400px;
}

.banner--s {
  max-width: 385px;
}

/* -------------------------------------------
book-list
------------------------------------------- */
.book-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(227px, 1fr));
  gap: 20px;

  @media (max-width: 768px) {
    gap: 8px;
    grid-template-columns: repeat(2, 1fr);
  }
}

.book-card {
  background: #fff;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: subgrid;
  grid-row: 4 span;
  gap: 12px;
  padding: 20px;
}

.book-card__picture {
  width: 100%;
  aspect-ratio: 187/262;

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.book-card__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.book-card__info-title {
  background: #181c62;
  color: #fff;
  min-height: 23px;
  font-size: 0.75rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-card__info-detail {
  color: #000000;
  font-size: 0.875rem;
  font-weight: bold;
  text-align: center;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-card__footer {
  display: flex;
  justify-content: center;
}

.book-card__button {
  background: #181c62;
  color: #fff;
  min-height: 40px;
  padding: 4px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: bold;
  width: 100%;
  max-width: 139px;

  &::after {
    content: '';
    display: block;
    height: 1em;
    aspect-ratio: 5/8;
    flex: 0 0 auto;
    background: no-repeat center / contain url(../images/icon-btn-arrow.svg);
  }
}

.book-card__button-inner {
  text-align: center;
  flex: 1;
}

/* -------------------------------------------
modal-book
------------------------------------------- */
.modal-book {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 633px;
}

.book-info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  @media (max-width: 768px) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

.book-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  @media (max-width: 768px) {
    flex-direction: column;
  }
}

.book-info__title {
  background: #000;
  color: #fff;
  padding: 5px;
  min-height: 23px;
  font-size: 0.75rem;
  align-items: center;
  justify-content: center;
  width: 93px;
  display: flex;

  @media (max-width: 768px) {
    width: 100%;
  }
}

.book-info__detail {
  font-weight: bold;
  font-size: 0.875rem;

}

.book-picture-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;

  @media (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.book-picture {
  aspect-ratio: 187/262;

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* -------------------------------------------
モーダル
------------------------------------------- */
html:has(dialog[open]) {
  overflow: hidden;
}

dialog:has(.l_modal) {
  padding: 0;
  max-width: 62.5rem;
  width: 100%;
  background: transparent;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s,
    transform 0.5s,
    overlay 1s allow-discrete,
    display 1s allow-discrete;
  margin: auto;
  border: 0;
}

dialog[open] {
  opacity: 1;
  transform: translateY(0);
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition:
    opacity 0.5s ease-out,
    overlay 1s allow-discrete,
    display 1s allow-discrete;
}

dialog[open]::backdrop {
  opacity: 1;
}

.l_modal {
  width: fit-content;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 12px;
}

.l_modal__content {
  background: #fff;
  border-radius: 0.75rem;
  color: #121212;
  z-index: 20;
  top: 50%;
  left: 50%;
  margin: 0;
  max-width: 90vw;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
}

@starting-style {
  dialog[open] {
    opacity: 0;
    transform: translateY(20px);
  }

  dialog[open]::backdrop {
    opacity: 0;
  }
}

/* 閉じるボタン */
.l_modal_close-btn-text {
  display: flex;
  width: fit-content;
  font-size: 0.75rem;
  margin-inline: auto;
  padding: 8px 24px;
  border: 1px solid #121212;
  font-weight: bold;
  border-radius: 9999px;
  font-weight: 800;
  gap: 3px;
  align-items: center;

  &::before {
    content: '';
    display: block;
    width: 1em;
    height: 1em;
    background: no-repeat left center/1em url('../images/icon-close-line.svg');
  }
}

.l_modal:has(.l_modal_close-btn) {
  padding-top: 0.375rem;
  padding-right: 0.375rem;
}

.modal_close-btn-area {
  position: sticky;
  bottom: 0;
  padding-block: 1rem;
  background: #fff;
  border-top: 1px solid #ACACAC;
}

/* -------------------------------------------
年齢確認
------------------------------------------- */

#modal-ageCheck {
  position: fixed;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  background: #000;
  display: none;
  top: 50%;
  left: 50%;
  z-index: 9999;
  transform: translateX(-50%) translateY(-50%);
  justify-content: center;
  align-items: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

#modal-ageCheck.show {
  opacity: 1;
  visibility: visible;
  display: flex;
}

.t-ageCheckModal {
  display: flex;
  align-items: center;
  border-radius: 10px;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  box-sizing: border-box;
  width: min(100vw, 520px);
  height: min(100vw, 340px);
  border: solid 4px #ff0000;
  background: #ffffff;
  text-align: center;
}

.t-ageCheckModal__head {
  color: #e40d0d;
  letter-spacing: 0.1rem;
  font-weight: bold;
  font-size: 2rem;
  margin: 0;
}

.t-ageCheckModal__text {
  margin: 1rem 0;
  letter-spacing: 0.1rem;
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.6;
}

.t-ageCheckModal__choice-wrapper {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  width: 100%;
}

.t-ageCheckModal__choice,
.t-ageCheckModal__choice-no {
  display: inline-block;
  box-sizing: border-box;
  padding: 2% 0;
  width: 40%;
  height: auto;
  border-radius: 4px;
  background-color: #18bd67;
  color: white;
  text-align: center;
  text-decoration: none;
  text-indent: 0;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

:is(.t-ageCheckModal__choice, .t-ageCheckModal__choice-no):hover {
  opacity: 0.7;
}

.t-ageCheckModal__choice-no {
  border: 1px solid #b3b3b3;
  background-color: #f9f9f9;
  color: #333333;
}

@media screen and (max-width: 600px) {
  .t-ageCheckModal-wrapper {
    width: 90%;
  }
}

.t-ageCheckModal {
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

#modal-ageCheck.show .t-ageCheckModal {
  transform: scale(1);
}

/* スクロールバー対策 */
body.modal-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0);
}

/* -------------------------------------------
 言語切り替え
------------------------------------------- */

.lang-btn {
  height: 60px;
  width: 60px;
  position: fixed;
  right: 10px;
  bottom: 10px;
  background: #181c61;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.lang-btn-up {
  right: 10px;
  bottom: 100px;
  transition: all 1s;
}

.lang-content {
  background-color: #181c619f;
  border-radius: 99999px;
  display: none;
  width: 60px;
  padding-bottom: 60px;
  position: fixed;
  z-index: 1;
  right: 10px;
  bottom: 10px;
}

.lang-content-up {
  bottom: 100px;
  transition: all 1s;
}

.lang-content li a {
  background-color: #fff;
  border-radius: 50%;
  color: #181c61;
  font-weight: bold;
  font-size: 1.2rem;
  display: block;
  height: 50px;
  padding-top: 12px;
  margin: 5px auto;
  text-align: center;
  width: 50px;
}

.lang:hover .lang-content {
  display: block;
  transition: all 0.5s;
}

#lang:checked~.lang-content {
  display: block;
  transition: all 0.5s;
}

.lang-check {
  display: none;
}

.lang img {
  width: 80%;
  filter: brightness(0) invert(1);
}

/* ページに合わせて内容調整 */
.lang {
  font-family: var(--font-base);
}

@media (min-width: 769px) {
  .lang-btn {
    z-index: 52;
  }

  .lang-content {
    z-index: 51;
  }
}

/* -------------------------------------------
レスポンシブ対応
------------------------------------------- */
@media (min-width: 769px) {
  .sp {
    display: none;
  }
}

@media (max-width: 768px) {
  .pc {
    display: none;
  }
}

/* MV下テキスト */
.mv_lead_area {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 64px 45px 0;
  background: repeat center / auto url(../images/bg-pattern-02.webp);
  color: #40220f;

  @media (max-width: 768px) {
    padding: 32px 27px 0;
  }

}

.mv_lead_area .text {
  color: #181C61;
  line-height: 1.5;
}

.mv_lead_area .bg_color {
  background-color: #fff;
}