@charset "UTF-8";

.fantasia-stationery-page {
  --fantasia-stationery-purple: #51226f;
  --fantasia-stationery-purple-deep: #38134e;
  --fantasia-stationery-gold: #bf812d;
  --fantasia-stationery-ink: #2e232b;
  --fantasia-stationery-paper: #fff8f2;
  margin: 0;
  color: var(--fantasia-stationery-ink);
  background: #fbf3ea;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "YuMincho", "Times New Roman", serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.fantasia-stationery-page *,
.fantasia-stationery-page *::before,
.fantasia-stationery-page *::after {
  box-sizing: border-box;
}

.fantasia-stationery-page img {
  display: block;
  max-width: 100%;
}

.fantasia-stationery-page a {
  color: inherit;
  text-decoration: none;
}

.fantasia-stationery-skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 8px 14px;
  color: #fff;
  background: var(--fantasia-stationery-purple);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.fantasia-stationery-skip-link:focus {
  transform: translateY(0);
}

.fantasia-stationery-nav-link-shop .fantasia-stationery-nav-ja {
  color: #f7ebff;
}

.fantasia-stationery-menu-button {
  display: none;
}

.fantasia-stationery-main {
  overflow: hidden;
}

.fantasia-stationery-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 2046 / 1150;
  margin: 0 auto;
}

.fantasia-stationery-hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
}

.fantasia-stationery-hero-copy {
  position: absolute;
  top: 50vw;
  left: 3.8vw;
  width: 30%;
}

.fantasia-stationery-hero-kicker,
.fantasia-stationery-hero-title,
.fantasia-stationery-hero-subtitle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.fantasia-stationery-hero-description {
  margin-top: auto;
  margin-bottom: 22px;
  font-size: clamp(13px, 1.16vw, 16px);
  font-weight: 600;
  line-height: 1.9;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.fantasia-stationery-hero-description p {
  margin: 0 0 20px;
}

.fantasia-stationery-shop-button {
  position: relative;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.fantasia-stationery-shop-button:hover,
.fantasia-stationery-shop-button:focus-visible {
  opacity: .8;
  transform: translateY(-2px);
}

.fantasia-stationery-shop-button-arrow {
  position: absolute;
  left: 26px;
  font-size: 32px;
  font-weight: 400;
}

.fantasia-stationery-products {
  position: relative;
  padding: 48px 24px 80px;
}

.fantasia-stationery-content-inner {
  position: relative;
  z-index: 1;
  width: min(1330px, 100%);
  margin: 0 auto;
}

.fantasia-stationery-section-title,
.fantasia-stationery-subsection-title {
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #2f252a;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.08em;
}

.fantasia-stationery-section-title {
  font-size: clamp(27px, 2.6vw, 39px);
}

.fantasia-stationery-section-title::before,
.fantasia-stationery-section-title::after,
.fantasia-stationery-subsection-title::before,
.fantasia-stationery-subsection-title::after {
  width: clamp(64px, 14vw, 170px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 123, 47, 0.75), transparent);
  content: "";
}

.fantasia-stationery-product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 70px;
  padding: 0;
  list-style: none;
}

.fantasia-stationery-product-card {
  min-width: 0;
  text-align: center;
}

.fantasia-stationery-product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(144, 108, 103, 0.12);
  border-radius: 9px;
  box-shadow: 0 5px 12px rgba(82, 54, 53, 0.06);
}

.fantasia-stationery-product-name {
  margin: 10px 0 0;
  font-size: clamp(17px, 1.65vw, 25px);
  line-height: 1.25;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.fantasia-stationery-product-en {
  margin: 1px 0 0;
  color: #8b675d;
  font-family: "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(12px, 1.04vw, 15px);
  font-style: italic;
  line-height: 1.3;
}

.fantasia-stationery-types {
  margin-top: 20px;
}

.fantasia-stationery-subsection-title {
  font-size: clamp(23px, 2.1vw, 32px);
}

.fantasia-stationery-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 76px;
  margin-top: 24px;
}

.fantasia-stationery-type-card {
  min-width: 0;
}

.fantasia-stationery-type-header {
  display: flex;
  min-height: 72px;
  padding: 0 18px;
  align-items: flex-start;
  gap: 42px;
}

.fantasia-stationery-type-label {
  position: relative;
  flex: 0 0 190px;
  margin: 0;
  padding: 5px 26px 16px;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  background-image: url(../img/stationery/ribbon.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.fantasia-stationery-type-copy {
  margin: 3px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.fantasia-stationery-type-image {
  width: 100%;
  height: auto;
}

@media (max-width: 1120px) {
  .fantasia-stationery-brand {
    flex-basis: 290px;
  }

  .fantasia-stationery-nav-link {
    padding-inline: 7px;
  }

  .fantasia-stationery-nav-en {
    font-size: 13px;
  }

  .fantasia-stationery-hero-description {
    margin-bottom: 12px;
    line-height: 1.7;
  }

  .fantasia-stationery-hero-description p {
    margin-bottom: 12px;
  }

  .fantasia-stationery-shop-button {
    min-height: 54px;
  }

  .fantasia-stationery-type-grid {
    gap: 38px;
  }

  .fantasia-stationery-type-header {
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .fantasia-stationery-header {
    padding: 8px;
  }

  .fantasia-stationery-header-frame {
    min-height: 74px;
    padding: 8px 56px 8px 14px;
  }

  .fantasia-stationery-brand {
    flex-basis: 290px;
    max-width: calc(100% - 58px);
    margin-left: 16px;
  }

  .fantasia-stationery-menu-button {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 17px;
    display: flex;
    width: 42px;
    height: 42px;
    padding: 9px 7px;
    align-items: stretch;
    justify-content: space-around;
    flex-direction: column;
    background: var(--fantasia-stationery-purple);
    border: 0;
    border-radius: 4px;
    transform: translateY(-50%);
    cursor: pointer;
  }

  .fantasia-stationery-menu-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .fantasia-stationery-menu-button[aria-expanded="true"] .fantasia-stationery-menu-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .fantasia-stationery-menu-button[aria-expanded="true"] .fantasia-stationery-menu-line:nth-child(2) {
    opacity: 0;
  }

  .fantasia-stationery-menu-button[aria-expanded="true"] .fantasia-stationery-menu-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .fantasia-stationery-nav {
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    left: 0;
    display: none;
    padding: 10px;
    background: rgba(255, 251, 247, 0.98);
    border: 1px solid rgba(183, 119, 48, 0.45);
    box-shadow: 0 10px 20px rgba(66, 39, 46, 0.13);
  }

  .fantasia-stationery-nav.fantasia-stationery-nav-open {
    display: block;
  }

  .fantasia-stationery-nav-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fantasia-stationery-nav-item,
  .fantasia-stationery-nav-item-shop {
    border: 0;
    border-bottom: 1px solid rgba(97, 66, 71, 0.12);
  }

  .fantasia-stationery-nav-link-shop {
    margin: 5px;
  }

  .fantasia-stationery-hero {
    display: block;
    padding-top: 12vw;
  }

  .fantasia-stationery-hero-art {
    position: relative;
    width: 100%;
    height: clamp(330px, 78vw, 560px);
    object-fit: cover;
    object-position: 70% top;
  }

  .fantasia-stationery-hero-copy {
    position: relative;
    width: 100%;
    padding: 28px clamp(24px, 7vw, 64px) 38px;
    background:
      radial-gradient(circle at 92% 12%, rgba(226, 184, 213, 0.22), transparent 25%),
      #fff;
  }

  .fantasia-stationery-hero-kicker,
  .fantasia-stationery-hero-title,
  .fantasia-stationery-hero-subtitle {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
  }

  .fantasia-stationery-hero-kicker {
    margin: 0;
    color: var(--fantasia-stationery-purple-deep);
    font-size: 17px;
    letter-spacing: 0.08em;
  }

  .fantasia-stationery-hero-title {
    margin: 3px 0 0;
    color: var(--fantasia-stationery-purple);
    font-size: clamp(58px, 16vw, 92px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.18em;
  }

  .fantasia-stationery-hero-subtitle {
    display: flex;
    margin: 0 0 20px;
    align-items: center;
    gap: 16px;
    color: #c7822b;
    font-family: "Segoe Script", "Times New Roman", cursive;
    font-size: 22px;
    font-style: italic;
  }

  .fantasia-stationery-hero-subtitle::before,
  .fantasia-stationery-hero-subtitle::after {
    width: 52px;
    height: 1px;
    background: #d19b52;
    content: "";
  }

  .fantasia-stationery-hero-description {
    margin: 0 0 22px;
    font-size: 15px;
  }

  .fantasia-stationery-products {
    min-height: 1680px;
    padding-bottom: 390px;
  }

  .fantasia-stationery-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 18px;
  }

  .fantasia-stationery-type-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .fantasia-stationery-footer-inner {
    padding-inline: 32px;
  }
}

@media (max-width: 620px) {
  .fantasia-stationery-brand {
    flex-basis: 225px;
  }

  .fantasia-stationery-header-frame::before,
  .fantasia-stationery-header-frame::after {
    display: none;
  }

  .fantasia-stationery-nav-list {
    grid-template-columns: 1fr;
  }

.fantasia-stationery-hero-copy {
    position:relative;
    top: inherit;
    left:inherit;
    width:100%;
    background-color: inherit;
}


  .fantasia-stationery-hero-art {
    height:auto;
  }

  .fantasia-stationery-hero-copy {
    padding-inline:0 0 22px;
  }

  .fantasia-stationery-hero-description br {
    display: none;
  }

  .fantasia-stationery-shop-button {
    min-height:inherit;
  }

  .fantasia-stationery-shop-button-arrow {
    left: 18px;
  }

  .fantasia-stationery-products {
    min-height: 1450px;
    padding: 38px 16px 390px;
    background-size: 920px auto;
  }

  .fantasia-stationery-section-title,
  .fantasia-stationery-subsection-title {
    gap: 10px;
    letter-spacing: 0.03em;
  }

  .fantasia-stationery-section-title::before,
  .fantasia-stationery-section-title::after,
  .fantasia-stationery-subsection-title::before,
  .fantasia-stationery-subsection-title::after {
    width: 34px;
  }

  .fantasia-stationery-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
    margin-bottom: 56px;
  }

  .fantasia-stationery-product-name {
    font-size: 17px;
    white-space: normal;
  }

  .fantasia-stationery-type-header {
    min-height: 64px;
    padding: 0;
    gap: 23px;
  }

  .fantasia-stationery-type-label {
    flex-basis: 125px;
    padding: 6px 14px;
    font-size: 19px;
  }

  .fantasia-stationery-type-label::after {
    right: -22px;
    border-top-width: 21px;
    border-right-width: 22px;
    border-bottom-width: 21px;
  }

  .fantasia-stationery-type-copy {
    font-size: 12px;
  }

  .fantasia-stationery-type-image {
    margin-top: 2px;
  }

  .fantasia-stationery-footer {
    min-height: 330px;
    margin-top: -330px;
  }

  .fantasia-stationery-footer-inner {
    min-height: 330px;
    padding: 76px 20px 36px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 20px;
  }

  .fantasia-stationery-operator,
  .fantasia-stationery-social {
    grid-column: 1;
  }

  .fantasia-stationery-operator {
    min-width: 0;
    padding: 18px 30px 12px;
  }

  .fantasia-stationery-operator p {
    font-size: 16px;
  }

  .fantasia-stationery-social {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-self: stretch;
  }

  .fantasia-stationery-social-link {
    width: 100%;
    padding-inline: 10px;
    font-size: 12px;
  }

  .fantasia-stationery-footer-flower {
    width: 54vw;
  }
}

@media (prefers-reduced-motion: reduce) {

  .fantasia-stationery-page *,
  .fantasia-stationery-page *::before,
  .fantasia-stationery-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}