/* ==============================
   fonts
============================== */

body {
  font-family: "Noto Sans JP", sans-serif;
}

.site-header__nav-link,
.site-header__utility-list a,
.mobile-menu__nav-label,
.mobile-menu__utility-list a,
.hero__title,
.section-heading__title,
.content-card__title,
.site-footer__nav-list {
  font-family: "Jost", sans-serif;
}
/* ==============================
   Base
============================== */

:root {
  --color-text: rgb(51, 51, 51, 1);
  --color-accent: rgba(112, 180, 224, 1);
  --color-border: rgba(217, 217, 217, 1);
  --color-background: #fff;
  --content-width: 1120px;
  --narrow-width: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --image-radius: 32px;
}

.about__gallery img,
.cinnamon__image,
.interior__main-image,
.interior__gallery img,
.menu__main-image,
.menu__gallery img,
.tour__main-image,
.tour__gallery img,
.access__map img {
  border-radius: var(--image-radius);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;
  font-size: 14px;
  line-height: 1.8;
  background: var(--color-background);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure,
p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

h2,
h3 {
  font-weight: 600;
}


/* ==============================
   Common
============================== */

.section {
  padding: 48px 24px;
}

.section__inner {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.section__inner--narrow {
  width: min(100%, var(--narrow-width));
}

.section-heading {
  margin-bottom: 40px;
}

.section-heading--center {
  text-align: center;
}

.section-heading__title {
  color: var(--color-accent);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.2;
}

.section-action {
  margin-top: 40px;
  text-align: center;
}

.sp-only {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 56px;
  padding: 24px 70px;

  border: 1px solid var(--color-accent);
  border-radius: 999px;

  color: #fff;
  background-color: var(--color-accent);

  font-size: 20px;
  font-weight: 400;
  text-align: center;

  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  color: var(--color-accent);
  background-color: #fff;
}

.external-link::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 5px;
  background-image: url("../images/icon-external.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: -1px;
}

.content-card {
  padding: 48px;
  border-radius: 24px;
  background: #fff;
}

.content-card__heading {
  margin-bottom: 32px;
}

.content-card__heading--center {
  text-align: center;
}

.content-card__title {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
}

.content-card__title--accent {
  color: var(--color-accent);
}

.content-card__line {
  display: block;
  width: 64px;
  margin-top: 20px;
  border-top: 4px solid var(--color-accent);
}

.content-card__lead {
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
}

.content-card__lead--center,
.content-card__body--center {
  text-align: center;
}

.content-card__body p + p {
  margin-top: 16px;
}

.image-list {
  display: grid;
  gap: 24px;
}

.image-list--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-list__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
  Header Navigation
======================================== */

:root {
  --header-height: 140px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

main section[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
}

.site-header__nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.site-header__nav-link::after {
  content: none;
}

.site-header__nav-link:hover,
.site-header__nav-link:focus-visible,
.site-header__nav-link.is-active {
  color: var(--color-accent);
}

.mobile-menu__nav-link.is-active {
  color: var(--color-accent);
}

/* ========================================
  Section Background Decoration / PC
======================================== */

@media (min-width: 769px) {
  :root {
    --color-section-background: #f6f6f6;
  }

  body {
    overflow-x: hidden;
  }

  /* Aboutの背景をHeroより後ろに表示 */
  .hero {
    position: relative;
    z-index: 1;
  }

  /* 背景装飾を置くセクション */
  .about,
  .cinnamon,
  .interior,
  .menu,
  .tour,
  .access {
    position: relative;
    z-index: 0;
    isolation: isolate;
    overflow: visible;
  }

  /* グレー背景の共通設定 */
  .about::before,
  .cinnamon::before,
  .interior::before,
  .menu::before,
  .tour::before,
  .access::before {
    content: "";
    position: absolute;
    z-index: -1;
    display: block;
    background-color: var(--color-section-background);
    pointer-events: none;
  }


  /* About */
  .about::before {
    top: -265px;
    right: 0;
    width: 31.2vw;
    height: 631px;
  }


  /* Cinnamon Roll */
  .cinnamon::before {
    top: 295px;
    left: 0;
    width: 38.6vw;
    height: 687px;
  }


  /* Interior */
  .interior::before {
    top: 202px;
    right: 0;
    width: 44.8vw;
    height: 677px;
  }


  /* Menu */
  .menu::before {
    top: 0;
    left: 0;
    width: 100vw;
    height: 352px;
  }


  /* Tour */
  .tour::before {
    top: 285px;
    left: 0;
    width: 38.6vw;
    height: 516px;
  }


  /* Access */
  .access::before {
    top: 275px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
  }
}

/* ========================================
  Header Logo Vertical Center / PC
======================================== */

@media (min-width: 901px) {
  .site-header__inner {
    justify-content: flex-end;

    /* 絶対配置したロゴとナビが重ならないように確保 */
    padding-left: calc(min(300px, 30vw) + 40px);
  }

  .site-header__logo {
    position: absolute;
    top: 50%;
    left: max(24px, calc((100% - 1280px) / 2));
    z-index: 1;

    width: min(300px, 30vw);
    transform: translateY(-50%);
  }

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

/* ==============================
   Header
============================== */
.site-header {
  padding: 0 24px 10px;
  border-bottom: 1px solid var(--color-border);
}

.site-header__utility {
  display: flex;
  justify-content: flex-end;
}

.site-header__utility-list {
  display: flex;
}

.site-header__utility-list a {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 3px 24px;
  color: #fff;
  background-color: var(--color-accent);
  border-right: 2px solid #fff;
  font-size: 15px;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.site-header__utility-list li:last-child a {
  border-right: none;
}

.site-header__utility-list a:hover,
.site-header__utility-list a:focus-visible {
  color: var(--color-accent);
  background-color: #fff;
  box-shadow: inset 0 0 0 3px var(--color-accent);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1280px);
  margin: 20px auto 0;
  gap: 40px;
}

.site-header__logo img {
  display: block;
}

.site-header__logo {
  flex: 0 0 auto;
  width: min(300px, 30vw);
}

.site-header__nav {
  margin-left: auto;
}

.site-header__nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 36px;
}

.site-header__nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 500;
  color: #666666;
}

.site-header__nav-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}


/* ==============================
   Hero
============================== */

.hero {
  padding: 0 24px 0px;
}

.hero__slider {
  position: relative;
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.hero__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 40px;
  background: #eee;
}

.hero__image {
  filter: brightness(0.8);
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  filter: blur(8px);
  transition: 1.2s;

  transition:
    opacity 1.2s ease,
    filter 1.2s ease,
    transform 1.2s ease,
    visibility 1.2s ease;
}

.hero__slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  filter: blur(0);
  transform: scale(1);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 32px;
  color: #fff;
  text-align: center;
  pointer-events: none;
}

.hero__title {
  display: flex;
  justify-content: center;
  line-height: 1;
}

.hero__logo {
  width: clamp(240px, 30vw, 390px);
  height: auto;
}

.hero__lead {
  margin-top: 28px;
  font-size: 20px;
  font-weight: 600;
}

.hero__pagination {
  position: absolute;
  top: 50%;
  left: -34px;
  display: grid;
  gap: 14px;
  transform: translateY(-50%);
}

.hero__pagination-button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.hero__pagination-button.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.hero__pagination-button:focus-visible {
  outline: 3px solid rgba(112, 183, 221, 0.4);
  outline-offset: 4px;
}


/* ==============================
   About
============================== */

.about {
  padding-top: 56px;
}

.about__content {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.about__lead {
  font-size: 20px;
  font-weight: 600;
}

.about__text {
  margin-top: 28px;
  text-align: left;
}

.about__gallery {
  margin-top: 48px;
}


/* ==============================
   Cinnamon Roll
============================== */

.cinnamon__figure {
  margin-bottom: -1px;
}

.cinnamon__image {
  width: 100%;
}

.cinnamon__card {
  margin-top: 16px;
}


/* ==============================
   Interior
============================== */
.interior {
  padding-bottom: 128px;
}

.interior__feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 56px;
}

.interior__main-image {
  width: 100%;
}

.interior__gallery {
  margin-top: 56px;
}


/* ==============================
   Menu
============================== */
.menu {
  padding-top: 128px;
  padding-bottom: 128px;
}

.menu__feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.menu__main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu__carousel {
  margin-top: 48px;
  overflow: hidden;
}

.image-list--menu {
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  min-width: 1180px;
}

.menu__carousel {
  overflow: hidden;
}

.menu__gallery {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  min-width: max-content;
  gap: 18px;
}

.menu__gallery .image-list__item {
  flex-shrink: 0;
}

.menu__gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* PC */
@media (min-width: 769px) {
  .menu__gallery .image-list__item {
    width: clamp(220px, 22vw, 340px);
  }
}

/* SP */
@media (max-width: 768px) {
  .menu__gallery {
    gap: 12px;
  }

  .menu__gallery .image-list__item {
    width: 148px;
  }
}

/* ==============================
   Event
============================== */

.event {
  padding-inline: 0;
  padding-bottom: 0;
  padding-top: 0;
}

.event__media {
  position: relative;
  isolation: isolate;
  padding-block: 128px;
}

.event__image {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.event__card {
  position: relative;
  width: min(calc(100% - 48px), 860px);
  margin-inline: auto;
}


/* ==============================
   Tour
============================== */

.tour {
  padding-top: 128px;
  padding-bottom: 128px;
}

.tour__feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 56px;
}

.tour__main-image {
  width: 100%;
}

.tour__lead {
  font-size: 20px;
  font-weight: 600;
}

.tour__logo {
  width: min(100%, 420px);
  margin-top: 32px;
}

.tour__gallery {
  margin-top: 56px;
}


/* ==============================
   Access
============================== */

.access {
  padding-top: 0;
  padding-bottom: 128px;
}

.access__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
}

.access__information,
.access__map {
  background-color: #fff;
  position: relative;
  z-index: 1;
}

.access__information {
  padding: 32px;
}

.access__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.access__item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.access__item:last-child {
  border-bottom: 0;
}

.access__item dt {
  font-weight: 700;
}

.access__notice {
  max-width: 860px;
  margin: 56px auto 0;
  padding: 32px 40px;
  border-radius: 24px;
  background-color: rgba(253, 255, 217, 1);
}

.access__notice-title {
  margin-bottom: 16px;
  font-size: 24px;
}

.access__notice-list {
  padding-left: 1.4em;
  list-style: disc;
}

.access__map {
  overflow: hidden;
  min-height: 420px;
  background-color: #fff;
}

.access__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

@media (min-width: 769px) {
  .access__information,
  .access__map {
  border-radius: 24px;
}
}

/* 1440px前後ではAccessの値を1行で表示 */
@media (min-width: 1200px) {
  .access__layout {
    grid-template-columns: minmax(560px, 1fr) minmax(0, 1fr);
  }

  .access__item dd {
    white-space: nowrap;
  }
}

/* ==============================
   FAQ
============================== */

.faq {
  margin-top: 64px;
}

/* 閉じている状態 */
.faq__item {
  overflow: hidden;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  color: var(--color-text);
  background-color: #fff;

  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-radius 0.25s ease;
}

.faq__item + .faq__item {
  margin-top: 20px;
}

/* 開いている状態 */
.faq__item[open] {
  border-color: var(--color-accent);
  border-radius: 32px;
  color: #fff;
  background-color: var(--color-accent);
}


/* 質問部分 */
.faq__question {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 32px;

  color: inherit;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}


/* 右側の＋・− */
.faq__question::after {
  content: "+";
  margin-left: auto;

  color: var(--color-accent);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.faq__item[open] .faq__question::after {
  content: "−";
  color: #fff;
}


/* 左側のQ */
.faq__mark {
  flex: 0 0 auto;
  color: var(--color-accent);
  font-family: "Jost", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}

.faq__item[open] .faq__mark {
  color: #fff;
}


/* 回答部分 */
.faq__answer {
  margin: 0 32px 24px 80px;
  padding-top: 18px;

  color: inherit;
  font-size: 14px;
  border-top: 1px solid var(--color-border);
}

/* 開いた時の区切り線 */
.faq__item[open] .faq__answer {
  color: #fff;
  border-top-color: rgba(255, 255, 255, 0.55);
}

/* 回答内に個別の文字色が指定されていても白にする */
.faq__item[open] .faq__answer * {
  color: inherit;
}

/* ==============================
   Contact
============================== */

.contact {
  padding-inline: 0;
  padding-bottom: 0;
  padding-top: 0;
}

.contact__media {
  position: relative;
  isolation: isolate;
  padding-block: 128px;
}

.contact__image {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.contact__card {
  position: relative;
  width: min(calc(100% - 48px), 760px);
  margin-inline: auto;
  text-align: center;
}

.contact__lead {
  font-size: 20px;
  font-weight: 600;
}


/* ==============================
   Footer
============================== */

.site-footer {
  border-top: 1px solid var(--color-border);
  background-color: #f6f6f6;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  align-items: start;
  width: min(100%, var(--content-width));
  margin-inline: auto;
  padding: 40px 24px;
  gap: 48px;
}

.site-footer__logo {
  width: 180px;
}

.site-footer__nav-list {
  display: grid;
  grid-template-columns: repeat(5, max-content);
  gap: 14px 36px;
  font-size: 18px;
  font-weight: 500;
}

.site-footer__sns-list {
  display: flex;
  gap: 20px;
}

.site-footer__sns-list img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.site-footer__copyright {
  padding: 12px 24px;
  border-top: 1px solid var(--color-border);
  font-family: "Jost", sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
}

.site-footer__copyright small {
  font: inherit;
}


/* ==============================
   Responsive
============================== */

@media (max-width: 900px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header__logo {
    width: 240px;
  }

  .site-header__nav-list {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero__pagination {
    display: none;
  }

  .interior__feature,
  .menu__feature,
  .tour__feature,
  .access__layout {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__nav-list {
    grid-template-columns: repeat(3, max-content);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .section {
    padding: 64px 20px;
  }

  .site-header {
    padding-inline: 20px;
  }

  .site-header__utility-list a {
    padding-inline: 10px;
    font-size: 12px;
  }

  .site-header__nav-icon {
    width: 30px;
    height: 30px;
  }

  .site-header__nav-link {
    font-size: 15px;
  }

  .hero {
    padding-inline: 20px;
  }

  .hero__content {
    padding: 20px;
  }

  .hero__lead {
    margin-top: 16px;
  }

  .image-list--three {
    grid-template-columns: 1fr;
  }

  .content-card {
    padding: 32px 24px;
  }

  .event__image,
  .contact__image {
    min-height: 640px;
  }

  .access__information {
    padding: 24px 20px;
  }

  .access__item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .access__notice {
    padding: 24px;
  }

  .faq__question {
    padding: 18px 20px;
    font-size: 16px;
  }

  .faq__answer {
    margin-inline: 20px;
  }

  .site-footer__nav-list {
    grid-template-columns: repeat(2, max-content);
  }
}

@media (min-width: 769px) {
  .interior__feature {
    align-items: start;
  }

  /* ========================================
    Requested PC adjustments
  ======================================== */

  .site-header {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .site-header__utility-list a {
    min-height: 0;
    padding: 1px 24px;
    line-height: 1.5;
  }

  .site-header__inner {
    align-items: center;
    flex-direction: row;
    margin-top: 19px;
    padding-bottom: 20px;
  }

  .hero__logo {
    width: 282px;
    height: 144px;
    object-fit: contain;
  }

  .hero__pagination-button:not(.is-active) {
    border-color: #d9d9d9;
    background-color: #d9d9d9;
  }

  .section-heading__title {
    font-size: clamp(40px, 4.45vw, 64px);
  }

  .button {
    min-width: clamp(220px, 19vw, 260px);
    padding: clamp(16px, 1.65vw, 24px) clamp(42px, 4.85vw, 70px);
    font-size: clamp(16px, 1.4vw, 20px);
  }

  .about__content {
    max-width: 820px;
  }

  .about__text {
    max-width: 592px;
    margin-inline: auto;
  }

  .menu__carousel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .menu__gallery .image-list__item {
    width: clamp(190px, 17vw, 257px);
    max-width: 257px;
    max-height: 222px;
    aspect-ratio: 257 / 222;
  }

  .menu__gallery img {
    width: 100%;
    height: 100%;
    max-height: 222px;
    aspect-ratio: 257 / 222;
  }

  /* PC FAQ: match the SP radius and color-transition behavior. */
  .faq__item,
  .faq__item[open] {
    border-radius: 28px;
  }

}

.text-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--color-accent);
}
