@charset "UTF-8";

/* =============================================================
 * Shop LINE UP
 * =========================================================== */

:root {
  --shop-lineup-bg: #fde9e7;
  --shop-lineup-main: #dcafb5;
  --shop-lineup-text: #382f30;
  --shop-lineup-modal-border: #f5c5ca;
}

/* =============================================================
 * Shop layout adjustment
 * =========================================================== */

.l-shopLayout {
  gap: 0;
  padding-inline: 0;
}

/* =============================================================
 * Left column background
 * =========================================================== */

.l-shopLayout__side--left {
  position: relative;
	padding-right: 24px;
  isolation: isolate;
  background-color: var(--shop-lineup-bg);
  background-image:
    url("/wp-content/uploads/lineup/side-petal.webp"),
    url("/wp-content/uploads/lineup/slide-bg.webp");
  background-position:
    left top,
    left bottom;
  background-size:
    18% auto,
    calc((100vw - var(--shop-main-width)) / 2) auto;
  background-repeat:
    no-repeat,
    no-repeat;
  background-attachment:
    fixed,
    fixed;
}

.l-shopLayout__side--left::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(253, 233, 231, 0) 0%,
    rgba(253, 233, 231, 0) 58%,
    rgba(255, 255, 255, 0.04) 100%
  );
  content: "";
  pointer-events: none;
}

@media (max-width: 1032px) {
	.l-shopLayout__side--left {
		padding-right: 0;
	}
}

/* =============================================================
 * LINE UP container
 * =========================================================== */

.p-shopLineup {
  justify-content: flex-start;
  width: min(100%, 310px);
  padding-block: clamp(72px, 10vh, 128px) 64px;
}

.p-shopLineup__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 42px;
  gap: 20px;
  color: var(--shop-lineup-main);
}

.p-shopLineup__logo {
  display: block;
  width: 82px;
  height: auto;
  margin: 0;
  object-fit: contain;
}

.p-shopLineup__title {
  margin: 0;
  color: var(--shop-lineup-main);
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

/* =============================================================
 * Product list
 * =========================================================== */

.p-shopLineup__products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 130px));
  justify-content: center;
  align-items: start;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.p-shopLineup__item {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.p-shopLineup__item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: 130px;
  justify-self: center;
}

.p-shopLineup__link {
  display: grid;
  grid-template-rows: auto auto;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 9px;
  color: var(--shop-lineup-text);
  text-decoration: none;
}

.p-shopLineup__link p:empty,
.p-shopLineup__link br {
  display: none;
}

/*
 * 商品一覧ページ・商品詳細ページのどちらでも、
 * 親テーマや商品詳細CSSの画像指定に影響されないよう正方形を固定。
 */
.l-shopLayout__side--left .p-shopLineup__image {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  border-radius: 6px;
  background: #fff;
}

.l-shopLayout__side--left .p-shopLineup__image::before {
  display: none;
}

.l-shopLayout__side--left .p-shopLineup__image > img,
.l-shopLayout__side--left .p-shopLineup__noImage {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
}

.l-shopLayout__side--left .p-shopLineup__image > img {
  object-fit: cover;
  object-position: center;
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.p-shopLineup__noImage {
  place-items: center;
  box-sizing: border-box;
  border: 1px dashed var(--shop-lineup-main);
  color: var(--shop-lineup-main);
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}

.p-shopLineup__name {
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--shop-lineup-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
  overflow-wrap: anywhere;
}

@media (hover: hover) and (pointer: fine) {
  .p-shopLineup__link:hover .p-shopLineup__image > img {
    transform: scale(1.055);
    filter: brightness(0.88);
  }
}

.p-shopLineup__link:focus-visible {
  outline: 2px solid var(--shop-lineup-main);
  outline-offset: 5px;
}

/* =============================================================
 * Guide button
 * =========================================================== */

.p-shopLineup__guide {
  position: absolute;
  right: -60%;
  bottom: 7%;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 32px;
}

.p-shopLineup__guideButton {
  display: grid;
  grid-template-columns: 36px 1fr 12px;
  align-items: center;
  width: 197px;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  padding: 7px 12px 7px 10px;
  gap: 9px;
  border: 0;
  border-radius: 5px;
  background: #d9a8af;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.p-shopLineup__guideButton:hover {
  background: #ca969e;
}

.p-shopLineup__guideButton:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.p-shopLineup__guideIcon {
  position: relative;
  display: block;
  width: 32px;
  height: 28px;
}

.p-shopLineup__guideIcon::before {
  position: absolute;
  inset: 0;
  border-right: 16px solid transparent;
  border-bottom: 28px solid #fff;
  border-left: 16px solid transparent;
  content: "";
}

.p-shopLineup__guideIcon::after {
  position: absolute;
  top: 8px;
  left: 50%;
  color: #d9a8af;
  content: "!";
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  transform: translateX(-50%);
}

.p-shopLineup__guideText {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
}

.p-shopLineup__guideArrow {
  display: block;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

@media (max-width: 1032px) {
	.p-shopLineup__guide {
		right: 0;
	}
}

/* =============================================================
 * Notice dialog
 * =========================================================== */

.p-shopNotice {
  position: fixed;
  inset: 50% auto auto 50%;
  box-sizing: border-box;
  width: min(610px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100dvh - 80px);
  margin: 0;
  padding: 0;
  overflow: visible;
  transform: translate(-50%, -50%);
  border: 8px solid var(--shop-lineup-modal-border);
  background: #fff;
  color: #252122;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
}

.p-shopNotice:not([open]) {
  display: none;
}

.p-shopNotice::backdrop {
  background: rgba(38, 30, 30, 0.7);
}

.p-shopNotice__inner {
  max-height: calc(100dvh - 96px);
  padding: 48px 50px 54px;
  overflow-y: auto;
  background: #fff;
}

.p-shopNotice__close {
  position: absolute;
  top: -54px;
  right: -18px;
  display: flex;
  align-items: center;
  width: auto;
  min-width: 0;
  height: 32px;
  margin: 0;
  padding: 0;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.p-shopNotice__closeIcon {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
}

.p-shopNotice__closeIcon::before,
.p-shopNotice__closeIcon::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 27px;
  height: 2px;
  background: currentColor;
  content: "";
}

.p-shopNotice__closeIcon::before {
  transform: rotate(45deg);
}

.p-shopNotice__closeIcon::after {
  transform: rotate(-45deg);
}

.p-shopNotice__closeText {
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.p-shopNotice__header {
  display: grid;
  justify-items: center;
  margin-bottom: 40px;
  gap: 20px;
  text-align: center;
}

.p-shopNotice__warning {
  position: relative;
  display: block;
  width: 58px;
  height: 51px;
}

.p-shopNotice__warning::before {
  position: absolute;
  inset: 0;
  border-right: 29px solid transparent;
  border-bottom: 51px solid var(--shop-lineup-modal-border);
  border-left: 29px solid transparent;
  content: "";
}

.p-shopNotice__warning::after {
  position: absolute;
  top: 16px;
  left: 50%;
  color: #fff;
  content: "!";
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  transform: translateX(-50%);
}

.p-shopNotice__title {
  margin: 0;
  color: var(--shop-lineup-modal-border);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.p-shopNotice__content {
  display: grid;
  gap: 20px;
}

.p-shopNotice__section {
  margin: 0;
}

.p-shopNotice__heading {
  margin: 0 0 3px;
  color: #aaa4a4;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.p-shopNotice__text {
  margin: 0;
  color: #252122;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
}

body.is-shopNoticeOpen {
  overflow: hidden;
}

/* =============================================================
 * Tablet
 * =========================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
  .l-shopLayout__side--left {
    background-position:
      center top,
      center bottom;
    background-size:
      100% auto,
      100% auto;
    background-attachment:
      scroll,
      scroll;
  }

  .p-shopLineup {
    width: min(100%, 310px);
    padding: 64px 24px 80px;
  }

  .p-shopLineup__heading {
    margin-bottom: 34px;
    gap: 14px;
  }

  .p-shopLineup__logo {
    width: 72px;
  }

  .p-shopLineup__title {
    font-size: 18px;
  }

  .p-shopLineup__products {
    grid-template-columns: repeat(2, minmax(0, 110px));
    gap: 24px 16px;
  }

  .p-shopLineup__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 110px;
    justify-self: center;
  }

  .p-shopLineup__name {
    font-size: 11px;
  }

  .p-shopLineup__guide {
    justify-content: center;
    margin-top: 36px;
  }
}

/* =============================================================
 * Smartphone
 * =========================================================== */

@media (max-width: 600px) {
  .l-shopLayout__side--left {
	  padding-right: 0;
    background-position:
      center top,
      center bottom;
    background-size:
      auto 100%,
      100% auto;
    background-attachment:
      scroll,
      scroll;
  }

  .p-shopLineup {
    width: min(100%, 360px);
    padding-block: 56px 90px;
  }

  .p-shopLineup__heading {
    margin-bottom: 34px;
    gap: 14px;
  }

  .p-shopLineup__logo {
    width: 72px;
  }

  .p-shopLineup__title {
    font-size: 18px;
  }

  .p-shopLineup__products {
    grid-template-columns: repeat(2, minmax(0, 130px));
    gap: 26px 20px;
  }

  .p-shopLineup__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 130px;
    justify-self: center;
  }

  .p-shopLineup__name {
    font-size: 11px;
  }

  .p-shopLineup__guide {
    justify-content: flex-end;
    padding-inline: 10px;
  }

  .p-shopNotice {
    width: calc(100vw - 28px);
    max-height: calc(100dvh - 64px);
    border-width: 5px;
  }

  .p-shopNotice__inner {
    max-height: calc(100dvh - 74px);
    padding: 38px 22px 40px;
  }

  .p-shopNotice__close {
    top: -45px;
    right: -5px;
  }

  .p-shopNotice__header {
    margin-bottom: 30px;
  }

  .p-shopNotice__warning {
    width: 48px;
    height: 42px;
  }

  .p-shopNotice__warning::before {
    border-right-width: 24px;
    border-bottom-width: 42px;
    border-left-width: 24px;
  }

  .p-shopNotice__warning::after {
    top: 13px;
    font-size: 25px;
  }

  .p-shopNotice__title {
    font-size: 15px;
  }

  .p-shopNotice__content {
    gap: 18px;
  }

  .p-shopNotice__heading {
    font-size: 13px;
  }

  .p-shopNotice__text {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-shopLineup__image > img,
  .p-shopLineup__guideButton {
    transition: none;
  }
}

/* =============================================================
 * Mobile navigation LINE UP
 * ナビゲーション ref:1067 内へ動的LINE UPを表示
 * =========================================================== */

.p-headerLineup,
header.wp-block-template-part .p-headerLineup {
  display: none;
  visibility: hidden;
}

/* サイトエディター内ではLINE UPを非表示 */
.editor-styles-wrapper .p-headerLineup {
  display: none;
  visibility: hidden;
}

@media (max-width: 600px) {
  /*
   * ページ下部へ回り込んでいた通常の左LINE UPを非表示
   */
  .l-shopLayout__side--left {
    display: none;
  }

  /*
   * WordPress標準ハンバーガーメニューを開いたときだけ表示
   */
  .wp-block-navigation__responsive-container.is-menu-open
    .p-headerLineup {
    display: block;
    visibility: visible;
    box-sizing: border-box;
    width: 100%;
    margin: 32px 0 0;
    padding: 34px 20px 64px;
    border-top: 1px solid rgba(220, 175, 181, 0.55);
    background:
      url("/wp-content/uploads/lineup/side-petal.webp")
        left top / 46% auto no-repeat,
      var(--shop-lineup-bg);
  }

  .p-headerLineup__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 30px;
    gap: 14px;
    color: var(--shop-lineup-main);
  }

  .p-headerLineup__logo {
    display: block;
    width: 72px;
    height: auto;
    margin: 0;
    object-fit: contain;
  }

  .p-headerLineup__title {
    margin: 0;
    color: var(--shop-lineup-main);
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .p-headerLineup__body {
    width: 100%;
    margin: 0;
  }

  .p-headerLineup .p-shopLineup__products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 130px));
    justify-content: center;
    align-items: start;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 26px 20px;
  }

  .p-headerLineup .p-shopLineup__item {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
  }

  .p-headerLineup
    .p-shopLineup__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 130px;
    justify-self: center;
  }

  .p-headerLineup .p-shopLineup__link {
    display: grid;
    grid-template-rows: auto auto;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 9px;
    color: var(--shop-lineup-text);
    text-decoration: none;
  }

  .p-headerLineup .p-shopLineup__image {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    border-radius: 6px;
    background: #fff;
  }

  .p-headerLineup .p-shopLineup__image::before {
    display: none;
  }

  .p-headerLineup .p-shopLineup__image > img,
  .p-headerLineup .p-shopLineup__noImage {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
  }

  .p-headerLineup .p-shopLineup__image > img {
    object-fit: cover;
    object-position: center;
  }

  .p-headerLineup .p-shopLineup__noImage {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    border: 1px dashed var(--shop-lineup-main);
    color: var(--shop-lineup-main);
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
  }

  .p-headerLineup .p-shopLineup__name {
    display: block;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    color: var(--shop-lineup-text);
    font-family: "Noto Sans JP", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.55;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .p-headerLineup .p-shopLineup__link:focus-visible {
    outline: 2px solid var(--shop-lineup-main);
    outline-offset: 5px;
  }
}

/* =============================================================
 * Tablet LINE UP wrap adjustment
 * 768px〜1024px：左カラム内を2列で自然に折り返す
 * =========================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
  .l-shopLayout__side--left .p-shopLineup {
    box-sizing: border-box;
    width: 100%;
    max-width: 340px;
    padding: 64px 28px 80px;
  }

  .l-shopLayout__side--left .p-shopLineup__products {
    grid-template-columns: repeat(2, minmax(110px, 130px));
    justify-content: center;
    gap: 28px 20px;
  }

  .l-shopLayout__side--left .p-shopLineup__item,
  .l-shopLayout__side--left
    .p-shopLineup__item:last-child:nth-child(odd) {
    width: 100%;
    max-width: 130px;
  }

  .l-shopLayout__side--left
    .p-shopLineup__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .l-shopLayout__side--left .p-shopLineup__name {
    min-height: 0;
    font-size: 12px;
    line-height: 1.65;
    word-break: normal;
    overflow-wrap: break-word;
    line-break: strict;
  }

  .l-shopLayout__side--left .p-shopLineup__guide {
    justify-content: center;
    padding-inline: 0;
  }
}