@charset "UTF-8";

.l-site-wrapper {
  min-height: 100vh;
}

/* ========================================
   Header
======================================== */
.l-header {
  --menu-line-color: #f6dfff;
  position: fixed;
  top: 45px;
  left: 0;
  width: 100%;
  z-index: 1100;
  pointer-events: none;
}

.l-header.is-header-blue {
  --menu-line-color: #3957cc;
}

.l-header.is-header-pink {
  --menu-line-color: #f6dfff;
}

.l-header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 50px;
}

.l-header__logo,
.l-header__menu-button {
  pointer-events: auto;
}

.l-header__logo {
  position: relative;
  z-index: 1102;
  flex: 0 0 158px;
  width: 158px;
  margin: 0;
}

.l-header__logo a {
  display: block;
}

.l-header__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.l-header__menu-button {
  position: relative;
  z-index: 1102;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 38px;
  padding: 0;
  border: none;
  background: transparent;
  appearance: none;
  cursor: pointer;
}

.l-header__menu-line {
  position: absolute;
  left: 0;
  display: block;
  width: 50px;
  height: 4px;
  border-radius: 999px;
  background: var(--menu-line-color);
  transform-origin: center;
  transition:
    transform 0.35s ease,
    opacity 0.25s ease,
    background-color 0.25s ease;
}

.l-header__menu-line:nth-child(1) {
  top: 4px;
}

.l-header__menu-line:nth-child(2) {
  top: 17px;
}

.l-header__menu-line:nth-child(3) {
  top: 30px;
}

/* 開いた時 → 2本の× */
body.is-menu-open .l-header__menu-line:nth-child(1) {
  top: 17px;
  transform: rotate(45deg);
}

body.is-menu-open .l-header__menu-line:nth-child(2) {
  opacity: 0;
}

body.is-menu-open .l-header__menu-line:nth-child(3) {
  top: 17px;
  transform: rotate(-45deg);
}

/* ========================================
   Global Menu Overlay
======================================== */
.l-global-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

body.is-menu-open .l-global-menu-overlay {
  opacity: 0.5;
  visibility: visible;
  pointer-events: auto;
}

/* ========================================
   Global Menu
======================================== */
.l-global-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  pointer-events: none;
}

body.is-menu-open .l-global-menu,
body.is-menu-closing .l-global-menu {
  pointer-events: auto;
}

.l-global-menu__bg,
.l-global-menu__inner,
.l-global-menu__list a,
.l-global-menu__button {
  pointer-events: auto;
}

.l-global-menu__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, 62.434964vh);
  height: auto;
  aspect-ratio: 600 / 961;
  background: url("../img/common/global-menu_bg.webp") top right / 100% 100%
    no-repeat;
  opacity: 0;
  visibility: hidden;
  transform-origin: top right;
  transform: translate(110px, -180px) rotate(-20deg);
  transition:
    transform 0.6s ease,
    opacity 0.35s ease,
    visibility 0.35s ease;
}

body.is-menu-open .l-global-menu__bg {
  opacity: 1;
  visibility: visible;
  transform: translate(0, 0) rotate(0deg);
}

body.is-menu-closing .l-global-menu__bg {
  opacity: 0;
  visibility: hidden;
  transform: translate(110px, -180px) rotate(-20deg);
}

.l-global-menu__inner {
  position: absolute;
  top: 34%;
  bottom: 13.5%;
  right: 26.153846%;
  width: 48.076923%;
  height: auto;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.is-menu-open .l-global-menu__inner {
  opacity: 1;
  transition-delay: 0.55s;
}

body.is-menu-closing .l-global-menu__inner {
  opacity: 0;
  transition-delay: 0s;
}

/* ========================================
   Global Menu Contents
======================================== */
.l-global-menu__list {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-global-menu__item + .l-global-menu__item {
  margin-top: 20px;
}

.l-global-menu__item a {
  display: inline-block;
  color: #263a87;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.l-global-menu__item a:hover {
  opacity: 0.7;
  transform: translateX(6px);
}

.l-global-menu__buttons {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.l-global-menu__button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 8px 14px;
  border: 1px solid #ef8d72;
  color: #ef8d72;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  background: transparent;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    opacity 0.3s ease;
}

.l-global-menu__button:hover {
  color: #fff;
  background: #ef8d72;
}

.l-global-menu__sns {
  margin-top: 16px;
}

.l-global-menu__sns-label,
.l-footer__sns-label {
  margin: 0 0 10px;
  color: #263a87;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.c-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-global-menu__sns .c-social-links {
  justify-content: flex-start;
}

.c-social-links a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #263a87;
  border-radius: 50%;
  color: #263a87;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;
}

.c-social-links svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (hover: hover) and (pointer: fine) {
  .c-social-links a:hover {
    color: #fff;
    background: #263a87;
    transform: translateY(-3px);
  }
}

/* ========================================
   Menu Open Scroll Lock
======================================== */
body.is-menu-open,
body.is-menu-closing {
  overflow: hidden;
}

/* ========================================
   Container
======================================== */
.l-container {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
}

/* ========================================
   Common Pager
======================================== */
.c-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 60px;
}

.c-pager__item,
.c-pager__ellipsis {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 47px;
  height: 47px;
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.c-pager__item {
  color: #3957cc;
  background: #fff;
  border-radius: 50%;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    opacity 0.3s ease;
}

.c-pager__item.is-active {
  color: #fff;
  background: #3957cc;
}

.c-pager__item:not(.c-pager__item--arrow):not(.is-active):hover {
  color: #fff;
  background: #3957cc;
}

.c-pager__item--arrow {
  background: #1d130d;
}

.c-pager__item--arrow:hover {
  opacity: 0.7;
}

.c-pager__item--arrow img {
  display: block;
  width: 10px;
  height: 17px;
}

.c-pager__ellipsis {
  width: auto;
  min-width: 20px;
  height: auto;
  color: #3957cc;
  background: transparent;
  border-radius: 0;
}

/* ========================================
   Footer
======================================== */
.l-footer {
  padding: 180px 0 60px;
  text-align: center;
}

.l-footer__inner {
  width: min(100% - 40px, 920px);
  margin: 0 auto;
}

.l-footer__logo-link {
  display: block;
  width: 290px;
  margin: 0 auto;
}

.l-footer__logo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.l-footer__nav {
  margin-top: 52px;
}

.l-footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-footer__legal-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(38, 58, 135, 0.28);
  list-style: none;
}

.l-footer__nav-list a,
.l-footer__legal-list a {
  color: #263a87;
  font-size: 14px;
  font-weight: 700;
  transition: opacity 0.25s ease;
}

.l-footer__nav-list a:hover,
.l-footer__legal-list a:hover {
  opacity: 0.62;
}

.l-footer__sns {
  margin-top: 38px;
}

.l-footer__copyright {
  margin: 30px 0 0;
  color: rgba(38, 58, 135, 0.72);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ========================================
   Page Background / Sticky Footer
======================================== */
.l-page-bg {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.l-page-bg > main {
  flex: 1;
}

/* ========================================
   404
======================================== */
.l-page-bg--not-found {
  background: #f16f53;
}

.p-not-found {
  display: grid;
  min-height: 720px;
  padding: 180px 20px 80px;
  place-items: center;
}

.p-not-found__inner {
  width: min(100%, 760px);
  padding: 72px 56px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  color: #263a87;
  text-align: center;
}

.p-not-found__code {
  margin: 0;
  font-size: clamp(88px, 10vw, 150px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.p-not-found__label {
  margin: 24px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.p-not-found__title {
  margin: 18px 0 0;
  font-size: 30px;
  line-height: 1.5;
}

.p-not-found__text {
  margin: 22px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
}

.p-not-found__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 56px;
  margin-top: 36px;
  padding: 12px 28px;
  border: 1px solid #263a87;
  background: #263a87;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: opacity 0.25s ease;
}

.p-not-found__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 28px;
}

.p-not-found__nav a {
  color: #263a87;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .p-not-found__primary:hover,
  .p-not-found__nav a:hover {
    opacity: 0.62;
  }
}

@media screen and (max-width: 767px) {
  .p-not-found {
    min-height: 600px;
    padding: 110px 20px 56px;
  }

  .p-not-found__inner {
    padding: 48px 22px;
    border-radius: 18px;
  }

  .p-not-found__code {
    font-size: 78px;
  }

  .p-not-found__label {
    margin-top: 18px;
    font-size: 10px;
  }

  .p-not-found__title {
    margin-top: 14px;
    font-size: 21px;
  }

  .p-not-found__text {
    font-size: 13px;
    line-height: 1.9;
  }

  .p-not-found__text br {
    display: none;
  }

  .p-not-found__primary {
    width: 100%;
    min-width: 0;
    margin-top: 28px;
  }

  .p-not-found__nav {
    gap: 10px 18px;
    margin-top: 24px;
  }

  .p-not-found__nav a {
    font-size: 11px;
  }
}

/* ========================================
   Main Offset (for fixed header)
======================================== */
.l-main {
  padding: 120px 0 0;
}

@media screen and (max-width: 1023px) {
  .l-main {
    padding: 146px 0 0;
  }
}

@media screen and (max-width: 767px) {
  .l-main {
    padding: 80px 0 0;
  }
}

/* ========================================
   Tablet
======================================== */
@media screen and (max-width: 1023px) {
  .l-header__inner {
    padding: 0 30px;
  }

  .l-header__logo {
    width: 130px;
    flex-basis: 130px;
  }

  .l-header__menu-button {
    width: 40px;
    height: 32px;
  }

  .l-header__menu-line {
    width: 40px;
    height: 3px;
  }

  .l-header__menu-line:nth-child(1) {
    top: 4px;
  }

  .l-header__menu-line:nth-child(2) {
    top: 14px;
  }

  .l-header__menu-line:nth-child(3) {
    top: 24px;
  }

  body.is-menu-open .l-header__menu-line:nth-child(1),
  body.is-menu-open .l-header__menu-line:nth-child(3) {
    top: 14px;
  }

  .l-global-menu__bg {
    width: min(100vw, 560px, 62.434964vh);
    height: auto;
    aspect-ratio: 600 / 961;
    background-position: top right;
    background-size: 100% 100%;
    transform: translate(90px, -150px) rotate(-20deg);
  }

  body.is-menu-closing .l-global-menu__bg {
    transform: translate(90px, -150px) rotate(-20deg);
  }

  .l-global-menu__inner {
    top: 34%;
    bottom: 13.5%;
    right: 24.107143%;
    width: 53.571429%;
    height: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }

  .l-global-menu__inner::-webkit-scrollbar {
    display: none;
  }

  .l-global-menu__item a {
    font-size: 22px;
  }

  .l-global-menu__item + .l-global-menu__item {
    margin-top: 20px;
  }

  .l-global-menu__button {
    min-height: 56px;
    font-size: 18px;
  }

  .l-global-menu__sns {
    margin-top: 14px;
  }

  .c-pager {
    gap: 14px;
  }

  .c-pager__item,
  .c-pager__ellipsis {
    width: 42px;
    height: 42px;
    font-size: 21px;
  }

  .c-pager__item--arrow img {
    width: 10px;
    height: 17px;
  }

  .l-footer {
    padding: 120px 0 60px;
  }

  .l-footer__inner {
    width: min(100% - 60px, 760px);
  }

  .l-footer__logo-link {
    width: 240px;
  }
}

/* ========================================
   SP
======================================== */
@media screen and (max-width: 767px) {
  .l-header {
    top: 12px;
  }

  .l-header__inner {
    align-items: center;
    padding: 0 14px;
  }

  .l-header__logo {
    width: 85px;
    flex: 0 0 85px;
  }

  .l-header__menu-button {
    width: 26px;
    height: 20px;
  }

  .l-header__menu-line {
    width: 26px;
    height: 3px;
    border-radius: 999px;
  }

  .l-header__menu-line:nth-child(1) {
    top: 0;
  }

  .l-header__menu-line:nth-child(2) {
    top: 8px;
  }

  .l-header__menu-line:nth-child(3) {
    top: 16px;
  }

  body.is-menu-open .l-header__menu-line:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
  }

  body.is-menu-open .l-header__menu-line:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
  }

  .l-global-menu__bg {
    width: min(100vw, 370px, 62.434964vh);
    height: auto;
    aspect-ratio: 600 / 961;
    background-position: top right;
    background-size: 100% 100%;
    transform: translate(68px, -120px) rotate(-20deg);
  }

  body.is-menu-open .l-global-menu__bg {
    transform: translate(0, 0) rotate(0deg);
  }

  body.is-menu-closing .l-global-menu__bg {
    transform: translate(68px, -120px) rotate(-20deg);
  }

  .l-global-menu__inner {
    top: 34%;
    bottom: 13.5%;
    right: 25.135135%;
    width: 51.351351%;
    height: auto;
  }

  .l-global-menu__list {
    line-height: 1.3;
  }

  .l-global-menu__item + .l-global-menu__item {
    margin-top: 12px;
  }

  .l-global-menu__item a {
    font-size: 16px;
    line-height: 1.3;
  }

  .l-global-menu__buttons {
    gap: 6px;
    margin-top: auto;
    padding-top: 14px;
  }

  .l-global-menu__button {
    min-height: 40px;
    padding: 4px 7px;
    font-size: 13px;
    line-height: 1.4;
  }

  .l-global-menu__sns {
    margin-top: 9px;
  }

  .l-global-menu__sns-label {
    margin-bottom: 5px;
    font-size: 8px;
  }

  .l-global-menu__sns .c-social-links {
    gap: 7px;
  }

  .l-global-menu__sns .c-social-links a {
    width: 27px;
    height: 27px;
  }

  .l-global-menu__sns .c-social-links svg {
    width: 13px;
    height: 13px;
  }

  .l-container {
    width: min(100% - 41px, 1280px);
  }

  .c-pager {
    gap: 8px;
    margin-top: 48px;
  }

  .c-pager__item,
  .c-pager__ellipsis {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .c-pager__item--arrow {
    width: 42px;
    height: 42px;
  }

  .c-pager__item--arrow img {
    width: 9px;
    height: 15px;
  }

  .c-pager__ellipsis {
    min-width: 18px;
  }

  .l-footer {
    padding: 70px 0 32px;
  }

  .l-footer__inner {
    width: min(100% - 40px, 520px);
  }

  .l-footer__logo-link {
    width: 115px;
  }

  .l-footer__nav {
    margin-top: 34px;
  }

  .l-footer__nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }

  .l-footer__nav-list a {
    font-size: 12px;
  }

  .l-footer__legal-list {
    gap: 8px 16px;
    margin-top: 16px;
    padding-top: 16px;
  }

  .l-footer__legal-list a {
    font-size: 10px;
  }

  .l-footer__sns {
    margin-top: 30px;
  }

  .l-footer__copyright {
    margin-top: 24px;
    font-size: 9px;
  }
}

@media screen and (max-width: 1023px) and (max-height: 700px) {
  .l-global-menu__inner {
    top: 32%;
    bottom: 13.5%;
  }

  .l-global-menu__item + .l-global-menu__item {
    margin-top: 12px;
  }

  .l-global-menu__item a {
    font-size: 18px;
    line-height: 1.2;
  }

  .l-global-menu__buttons {
    gap: 6px;
    padding-top: 12px;
  }

  .l-global-menu__button {
    min-height: 40px;
    padding: 4px 6px;
    font-size: 14px;
  }
}

@media screen and (max-width: 767px) and (max-height: 700px) {
  .l-global-menu__item a {
    font-size: 16px;
  }

  .l-global-menu__button {
    font-size: 13px;
  }
}

/* ========================================
   Lower page common inner width
======================================== */
.lower-page .p-column__inner,
.p-column-detail__inner,
.lower-page .p-information__inner,
.lower-page .p-lineup-sort__inner,
.lower-page .p-lineup-grid__inner,
.lower-page .p-product-detail__inner,
.lower-page .p-stores__inner {
  margin-left: auto;
  margin-right: auto;
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .lower-page .p-column__inner,
  .p-column-detail__inner,
  .lower-page .p-information__inner,
  .lower-page .p-lineup-sort__inner,
  .lower-page .p-lineup-grid__inner,
  .lower-page .p-product-detail__inner,
  .lower-page .p-stores__inner {
    width: 89.5833%;
    padding-left: 0;
    padding-right: 0;
    max-width: none;
  }
}

/* SP */
@media screen and (max-width: 767px) {
  .lower-page .p-column__inner,
  .p-column-detail__inner,
  .lower-page .p-information__inner,
  .lower-page .p-lineup-sort__inner,
  .lower-page .p-lineup-grid__inner,
  .lower-page .p-product-detail__inner,
  .lower-page .p-stores__inner {
    width: 89.0667%;
    padding-left: 0;
    padding-right: 0;
    max-width: none;
  }
}

/* ========================================
   Demo Store Modal Base
======================================== */
.p-demo-store-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.p-demo-store-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.p-demo-store-modal__overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.p-demo-store-modal.is-open .p-demo-store-modal__overlay {
  opacity: 1;
}

.p-demo-store-modal__dialog {
  position: relative;
  z-index: 1;
  outline: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.p-demo-store-modal.is-open .p-demo-store-modal__dialog {
  opacity: 1;
}

body.is-demo-store-modal-open {
  overflow: hidden;
}

/* ========================================
   c-link-arrow
======================================== */
.c-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.c-link-arrow::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.c-link-arrow:hover::before {
  transform: translateX(3px);
}
