@charset "UTF-8";

.fantasia-page {
  --fantasia-ink: #2b2422;
  --fantasia-gold: #b78a3f;
  --fantasia-paper: #fbf6ef;
  --fantasia-content: 1400px;
  margin: 0;
  min-width: 320px;
  color: var(--fantasia-ink);
  background: var(--fantasia-paper);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", Georgia, serif;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}

.fantasia-page * {
  box-sizing: border-box;
}


.fantasia-page{
  background-image: url(../img/fantasia/main_bg.png);
  background-repeat:repeat-y;
  background-size: 100%;
}
.fantasia-page img {
  max-width: 100%;
}

.fantasia-page a {
  color: inherit;
}

.fantasia-container {
  width: min(calc(100% - 48px), var(--fantasia-content));
  margin-inline: auto;
}

.fantasia-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.fantasia-header {
  position: absolute;
  z-index: 10;
  top: clamp(6px, 0.8vw, 16px);
  left: 50%;
  width: min(calc(100% - clamp(12px, 1.62vw, 33px)), 2013px);
  min-height: clamp(76px, 7.67vw, 157px);
  transform: translateX(-50%);
  background: url("../img/fantasia/header_bg.png") center / 100% 100% no-repeat;
  filter: drop-shadow(0 4px 7px rgb(13 5 25 / 42%));
}

.fantasia-header__inner {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: inherit;
  margin-inline: auto;
  padding-left: 4.4%;
  padding-right: 10.55%;
}

.fantasia-brand {
  display: block;
  flex: 0 0 30.25%;
  max-width: 518px;
  line-height: 0;
}

.fantasia-brand__image {
  display: block;
  width: 100%;
  height: auto;
}

.fantasia-menu-button {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid rgb(130 92 40 / 55%);
  border-radius: 50%;
  background: rgb(255 250 243 / 84%);
  cursor: pointer;
}

.fantasia-menu-button__line {
  display: block;
  width: 21px;
  height: 1px;
  margin: 5px auto;
  background: #5f4529;
  transition: transform 220ms ease, opacity 220ms ease;
}

.fantasia-nav {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 3.12%;
}

.fantasia-nav__list {
  display: grid;
  grid-template-columns: 10% 12.5% 26% 18% 17.5% 16%;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fantasia-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.fantasia-nav__item:nth-child(-n + 4)::after {
  position: absolute;
  top: 18%;
  right: 0;
  width: 1px;
  height: 64%;
  background: linear-gradient(to bottom, transparent, rgb(94 65 47 / 58%) 13%, rgb(94 65 47 / 58%) 87%, transparent);
  content: "";
}

.fantasia-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(44px, 4.8vw, 96px);
  padding: 0 clamp(3px, 0.55vw, 11px);
  color: #2d2224;
  text-decoration: none;
  text-align: center;
  transition: color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.fantasia-nav__primary,
.fantasia-nav__secondary {
  display: block;
  white-space: nowrap;
}

.fantasia-nav__primary {
  font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(13px, 1.28vw, 26px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0.015em;
}

.fantasia-nav__secondary {
  margin-top: 0.32em;
  color: #7f6871;
  font-size: clamp(10px, 0.78vw, 16px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.015em;
}

.fantasia-nav__item--project .fantasia-nav__primary {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  font-size: clamp(12px, 1.12vw, 23px);
  line-height: 1;
}

.fantasia-nav__primary--second {
  margin-top: 0.2em;
}

.fantasia-nav__link--shop {
  width: 100%;
  min-height: 0;
  aspect-ratio: 400 / 151;
  padding: 0.35em 0.5em 0.42em;
  border: 1px solid rgb(89 64 102 / 34%);
  border-radius: clamp(7px, 0.55vw, 11px);
  color: #fffaf4 !important;
  background: linear-gradient(145deg, #735b8e, #604779);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%), 0 1px 2px rgb(53 36 60 / 16%);
  text-shadow: 0 1px 1px rgb(38 21 49 / 32%);
}

.fantasia-nav__link--shop .fantasia-nav__secondary {
  margin-top: 0.3em;
  color: #fffaf4;
}

.fantasia-nav__link:hover,
.fantasia-nav__link:focus-visible {
  color: #956b2b;
  filter: brightness(1.04);
  transform: translateY(-1px);
  outline: none;
}

.fantasia-nav__link:focus-visible {
  outline: 2px solid #9c6d31;
  outline-offset: 3px;
}

.fantasia-nav__link--shop:hover,
.fantasia-nav__link--shop:focus-visible {
  color: #fff;
  filter: brightness(1.09) drop-shadow(0 2px 3px rgb(50 33 60 / 22%));
}

.fantasia-main {
  display: block;
  overflow: hidden;
}

.fantasia-hero {
  width: 100%;
  line-height: 0;
}

.fantasia-hero__image {
  display: block;
  width: 100%;
  height: auto;
}

.fantasia-portals {
  position: relative;
  padding: 0 clamp(92px, 10vw, 145px);
}

.fantasia-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.25vw, 34px);
}

.fantasia-card {
  position: relative;
  isolation: isolate;
  aspect-ratio: 947 / 1570;
  min-width: 0;
  filter: drop-shadow(0 5px 6px rgb(91 56 26 / 12%));
  transition: transform 240ms ease, filter 240ms ease;
}

.fantasia-card:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 9px 10px rgb(91 56 26 / 18%));
}

.fantasia-card__visual {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.fantasia-card__art {
  position: absolute;
  z-index: 10;
  top: 10.9%;
  left: 7.5%;
  width: 85%;
  height: auto;
}

.fantasia-card__frame {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.fantasia-card__copy {
  position: absolute;
  z-index: 3;
  top: 68.5%;
  left: 7.5%;
  width: 85%;
  text-align: center;
}

.fantasia-card__title {
  margin: 0;
  font-size: clamp(20px, 1.7vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.fantasia-card__subtitle {
  margin: 7px 0 0;
  font-size: clamp(11px, 1.05vw, 16px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.015em;
}

.fantasia-card__link {
  position: absolute;
  z-index: 4;
  bottom: 5.8%;
  left: 50%;
  display: block;
  width: 76%;
  transform: translateX(-50%);
  border-radius: 999px;
  line-height: 0;
  transition: filter 180ms ease;
}

.fantasia-card__link:hover,
.fantasia-card__link:focus-visible {
  filter: brightness(1.05) drop-shadow(0 3px 3px rgb(84 55 29 / 22%));
  outline: none;
}

.fantasia-card__button {
  display: block;
  width: 100%;
  height: auto;
}

.fantasia-portals__divider {
  display: block;
  width: min(91%, 1400px);
  height: auto;
  margin: clamp(75px, 9vw, 130px) auto 0;
}

.fantasia-news {
  position: relative;
  min-height: clamp(370px, 31vw, 465px);
  padding: clamp(24px, 2vw, 34px) 0 clamp(76px, 7vw, 105px);
}

.fantasia-news__art {
  position: absolute;
  z-index: 0;
  right: -2.5%;
  bottom: 0;
  width: min(64%, 900px);
  height: auto;
  pointer-events: none;
}

.fantasia-news__container {
  position: relative;
  z-index: 1;
}

.fantasia-news__content {
  width: 52%;
  padding-top: clamp(12px, 2.3vw, 34px);
}

.fantasia-news__heading-row {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  margin-bottom: 15px;
}

.fantasia-news__title {
  width: clamp(260px, 27vw, 300px);
  margin: 0;
  line-height: 0;
}

.fantasia-news__title-image {
  display: block;
  width: 100%;
  height: auto;
}

.fantasia-news__more {
  display: block;
  width: clamp(91px, 8.5vw, 116px);
  flex: 0 0 auto;
  line-height: 0;
  transition: transform 180ms ease, filter 180ms ease;
}

.fantasia-news__more:hover,
.fantasia-news__more:focus-visible {
  transform: translateX(3px);
  filter: brightness(1.04);
  outline: none;
}

.fantasia-news__more-image {
  display: block;
  width: 100%;
  height: auto;
}

.fantasia-news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fantasia-news-list__item {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: baseline;
  gap: 20px;
  min-height: 41px;
  padding: 8px 0 7px;
  border-bottom: 1px solid rgb(174 140 104 / 22%);
  font-size: clamp(14px, 1.18vw, 17px);
}

.fantasia-news-list__date {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fantasia-news-list__link {
  text-decoration: none;
  transition: color 180ms ease;
}

.fantasia-news-list__link:hover,
.fantasia-news-list__link:focus-visible {
  color: #996d2f;
  outline: none;
}

.fantasia-news-list__link.disabled,
.fantasia-news-list__link.disabled:hover,
.fantasia-news-list__link.disabled:focus-visible{
  color:var(--fantasia-ink);
  cursor: default;
}

.fantasia-footer {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: clamp(215px, 18vw, 275px);
  overflow: hidden;
}

.fantasia-footer__flower {
  position: absolute;
  z-index: 10;
  bottom: 0;
  height: auto;
  pointer-events: none;
}

.fantasia-footer__flower--left {
  left: 0;
  width: min(31vw, 360px);
}

.fantasia-footer__flower--right {
  right: 0;
  width: min(23vw, 240px);
}

.fantasia-footer__ornament {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50%;
  width: 100%;
  min-width: 920px;
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
}

.fantasia-footer__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  min-height: inherit;
  padding: 74px 0 45px;
}

.fantasia-footer__company {
  grid-column: 2;
  min-width: 390px;
  text-align: center;
  font-family: 'Times New Roman', Times, serif;
}

.fantasia-footer__operator {
  margin: 0;
  font-size: clamp(17px, 1.55vw, 30px);
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.fantasia-footer__name {
  margin: 3px 0 0;
  font-size: clamp(17px, 1.5vw, 25px);
  line-height: 1.3;
  letter-spacing: 0.17em;
}

.fantasia-social {
  display: none;
  grid-column: 3;
  justify-self: end;
  width: clamp(174px, 15vw, 205px);
  margin: 0 10px 0 34px;
}

.fantasia-social__link {
  display: block;
  line-height: 0;
  transition: transform 180ms ease, filter 180ms ease;
}

.fantasia-social__link + .fantasia-social__link {
  margin-top: 7px;
}

.fantasia-social__link:hover,
.fantasia-social__link:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.04) drop-shadow(0 2px 2px rgb(81 54 28 / 14%));
  outline: none;
}

.fantasia-social__image {
  display: block;
  width: 100%;
  height: auto;
}


.btn-greeting{
  text-align: center;
  padding:0 0 30px;
}
.btn-greeting a{
  margin:0 auto;
}

.btn-greeting img{
  width:696px;
  height: 206px;
  aspect-ratio: 750 / 220;
}


@media (max-width: 1050px) {
  .fantasia-card-grid {
    grid-template-columns: repeat(2, minmax(0, 390px));
    justify-content: center;
    gap: 40px 36px;
  }

  .fantasia-card__title {
    font-size: clamp(24px, 3vw, 31px);
  }

  .fantasia-card__subtitle {
    font-size: clamp(13px, 1.6vw, 16px);
  }

  .fantasia-news__content {
    width: 57%;
  }

  .fantasia-footer__company {
    min-width: 340px;
  }
}

@media (max-width: 980px) {
  .fantasia-header {
    top: 6px;
    width: calc(100% - 12px);
    min-height: clamp(70px, 11vw, 86px);
    background-size: auto 100%;
  }

  .fantasia-header__inner {
    padding-inline: clamp(24px, 4.4vw, 44px);
  }

  .fantasia-brand {
    flex: 0 1 auto;
    width: min(68vw, 390px);
    max-width: calc(100% - 64px);
  }

  .fantasia-menu-button {
    position: relative;
    z-index: 2;
    display: block;
    flex: 0 0 auto;
  }

  .fantasia-menu-button[aria-expanded="true"] .fantasia-menu-button__line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .fantasia-menu-button[aria-expanded="true"] .fantasia-menu-button__line:nth-child(2) {
    opacity: 0;
  }

  .fantasia-menu-button[aria-expanded="true"] .fantasia-menu-button__line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .fantasia-nav {
    position: absolute;
    top: calc(100% - 7px);
    right: clamp(10px, 2.5vw, 24px);
    left: clamp(10px, 2.5vw, 24px);
    z-index: 1;
    width: auto;
    margin: 0;
    padding: 14px clamp(14px, 3vw, 24px) 18px;
    border: 1px solid rgb(179 137 75 / 48%);
    border-radius: 5px;
    background:
      linear-gradient(rgb(255 250 244 / 96%), rgb(250 241 231 / 97%)),
      url("../img/fantasia/header_bg.png") center / cover no-repeat;
    box-shadow: 0 12px 28px rgb(15 8 25 / 26%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-9px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .fantasia-nav--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .fantasia-nav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }

  .fantasia-nav__item {
    min-height: 52px;
    border-bottom: 1px solid rgb(89 64 42 / 18%);
  }

  .fantasia-nav__item:nth-child(-n + 4)::after {
    display: none;
  }

  .fantasia-nav__link {
    min-height: 52px;
    padding: 7px 5px;
  }

  .fantasia-nav__primary {
    font-size: clamp(16px, 3vw, 20px);
  }

  .fantasia-nav__secondary {
    font-size: clamp(11px, 2vw, 14px);
  }

  .fantasia-nav__item--project .fantasia-nav__primary {
    font-size: clamp(15px, 2.7vw, 18px);
  }

  .fantasia-nav__item--shop {
    padding: 7px 0;
    border-bottom: 0;
  }

  .fantasia-nav__link--shop {
    width: min(100%, 230px);
    min-height: 52px;
    aspect-ratio: auto;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {

  .btn-greeting img{
  width:70%;
  height:auto;
  aspect-ratio: 750 / 220;
}


  .fantasia-container {
    width: min(calc(100% - 32px), var(--fantasia-content));
  }

  .fantasia-portals {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left:0;
    padding-right:0;
  }

  .fantasia-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
  }

  .fantasia-card__title {
    font-size: clamp(17px, 4.4vw, 25px);
  }

  .fantasia-card__subtitle {
    margin-top: 4px;
    font-size: clamp(9px, 2.2vw, 13px);
  }

  .fantasia-portals__divider {
    width: 120%;
    max-width: none;
    margin-top: 68px;
    transform: translateX(-8%);
  }

  .fantasia-news {
    padding: 30px 0 50px;
  }

  .fantasia-news__art {
    right: -15%;
    width: 110%;
    display: none;
  }

  .fantasia-news__content {
    width: 100%;
    padding-top: 0;
  }

  .fantasia-news__heading-row {
    justify-content: space-between;
    gap: 18px;
  }

  .fantasia-news__title {
    width: min(40vw, 320px);
  }

  .fantasia-news-list__item {
    grid-template-columns: 105px 1fr;
    gap: 12px;
    font-size: 14px;
  }

  .fantasia-footer {
    /*min-height: 310px;*/
  }

  .fantasia-footer__flower--left {
    width: 20vw;
  }

  .fantasia-footer__flower--right {
    width: 10vw;
  }

  .fantasia-footer__ornament {
    bottom: 93px;
    min-width: 760px;
  }

  .fantasia-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 62px 0 32px;
  }

  .fantasia-footer__company {
    min-width: 0;
  }

  .fantasia-social {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 23px 0 0;
    gap: 8px;
  }

  .fantasia-social__link {
    width: min(44vw, 190px);
  }

  .fantasia-social__link + .fantasia-social__link {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .fantasia-header__inner {
    padding-inline: 22px;
  }

  .fantasia-brand {
    max-width: calc(100% - 58px);
  }

  .fantasia-menu-button {
    width: 42px;
    height: 42px;
    padding: 8px;
  }

  .fantasia-nav {
    padding-block: 12px 15px;
  }

  .fantasia-nav__list {
    grid-template-columns: 1fr;
  }

  .fantasia-nav__item {
    min-height: 46px;
  }

  .fantasia-nav__link {
    min-height: 46px;
  }

  .fantasia-nav__item--shop {
    padding-top: 9px;
  }
}

@media (max-width: 460px) {
  .fantasia-card-grid {
    /*grid-template-columns: minmax(0, 340px);*/
            grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 18px;
  }

  .fantasia-card__title {
    font-size: 18px;
  }

  .fantasia-card__subtitle {
    font-size: 9px;
  }

  .fantasia-news {
    padding-bottom: 70px;
  }

  .fantasia-news__art {
    right: -26%;
    width: 140%;
  }

  .fantasia-news-list__item {
    display: block;
  }

  .fantasia-news-list__date {
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fantasia-page * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
