@charset "UTF-8";

/* ==========================================================================
   Hero Section
   ========================================================================== */
.p-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  /* 最も古いブラウザ向けのフォールバック (URLバー問題あり) */
  height: 100svh;
  /* svhをサポートするブラウザ向けのフォールバック (最小ビューポート) */
  height: 100dvh;
  /* dvhをサポートするブラウザ向けの理想的な解決策 */
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.p-hero__bg {
  position: absolute;
  inset: 0;
  /* Parallax setup: Taller than container to allow movement */
  height: 120%;
  top: -10%;
  background-image: url("../images/top-webp/top-fv-sp.webp");
  background-size: cover;
  background-position: center;
  z-index: -1;
  will-change: transform;
  /* Optimize performance */
}

@media screen and (min-width : 768px) {
  .p-hero__bg {
    background-image: url("../images/top-webp/main-fv-pc.webp");
  }
}

.p-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.p-hero__content {
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-white);
  padding-bottom: 80px;
  /* Space for slider */
}

.p-hero__title {
  font-family: var(--font-english);
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.p-hero__subtitle {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--color-accent);
  line-height: 1.8;
}

.p-hero__btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid var(--color-white);
  color: var(--color-white);
  font-family: var(--font-english);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
  transition: all 0.3s;
  width: fit-content;
}

@media screen and (max-width : 767px) {
  .p-hero__btn {
    padding: 1rem 1.2rem;
  }
}

.p-hero__btn:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

@media screen and (min-width: 768px) {
  .p-hero__title {
    font-size: 4.5rem;
  }

  .p-hero__subtitle {
    font-size: 1.125rem;
  }
}

/* Scroll Indicator */
.p-hero__scroll {
  position: absolute;
  bottom: 240px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white);
  z-index: 10;
}

@media screen and (min-width : 768px) {
  .p-hero__scroll {
    bottom: 240px;
    left: 50%;
  }
}

.p-hero__scroll span {
  font-family: var(--font-english);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.p-hero__chevron {
  width: 20px;
  height: 20px;
  border-bottom: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(45deg);
  }

  40% {
    transform: translateY(10px) rotate(45deg);
  }

  60% {
    transform: translateY(5px) rotate(45deg);
  }
}

@media screen and (min-width: 768px) {
  .p-hero__scroll {
    bottom: 280px;
  }
}

/* Infinite Slider (Marquee) */
.p-hero__slider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(249, 249, 247, 0.1);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  z-index: 5;
}

.p-hero__slider-track {
  display: flex;
  width: max-content;
  /* Animation starts paused, JS will add class to run it */
}

.p-hero__slider-track.is-running {
  animation: marquee 60s linear infinite;
}

.p-hero__slider-track:hover {
  animation-play-state: paused;
}

.p-hero__slide {
  width: 250px;
  height: 160px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.p-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  opacity: 0.9;
}

.p-hero__slide:hover img {
  transform: scale(1.1);
  opacity: 1;
}

@media screen and (min-width: 768px) {
  .p-hero__slide {
    width: 380px;
    height: 220px;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

  /* Shift by half because images are duplicated */
}

/* ==========================================================================
   Concept Section
   ========================================================================== */
.p-concept {
  padding: 6rem 0;
  background-color: var(--color-base);
}

.p-concept__inner {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.p-concept__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.p-concept__divider {
  width: 60px;
  height: 1px;
  background-color: var(--color-accent);
  margin-bottom: 2rem;
}

.p-concept__desc {
  font-size: 0.875rem;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.p-concept__image {
  position: relative;
}

.p-concept__img-wrapper {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.p-concept__img-wrapper img {
  width: 100%;
  height: auto;
  transition: transform 0.7s;
}

.p-concept__img-wrapper:hover img {
  transform: scale(1.05);
}

.p-concept__decoration {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  width: 8rem;
  height: 8rem;
  background-color: rgba(206, 188, 178, 0.2);
  border-radius: 50%;
  z-index: 1;
  filter: blur(20px);
}

@media screen and (min-width: 768px) {
  .p-concept {
    padding: 8rem 0;
  }

  .p-concept__inner {
    flex-direction: row;
    align-items: center;
    gap: 5rem;
  }

  .p-concept__text {
    width: 50%;
  }

  .p-concept__image {
    width: 50%;
  }

  .p-concept__title {
    font-size: 2.25rem;
  }
}

/* ==========================================================================
   Features (3 Promises) Section
   ========================================================================== */
.p-features {
  padding: 6rem 0;
  background-color: var(--color-white);
}

.p-features__divider {
  width: 1px;
  height: 3rem;
  background-color: var(--color-main);
  margin: 1.5rem auto 0;
}

.p-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.p-features__item {
  text-align: left;
}

.p-features__img {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 3 / 4;
}

.p-features__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.p-features__item:hover .p-features__img img {
  transform: scale(1.1);
}

.p-features__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.1);
  transition: background-color 0.5s;
}

.p-features__item:hover .p-features__overlay {
  background-color: transparent;
}

.p-features__title {
  font-family: var(--font-english);
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.p-features__item:hover .p-features__title {
  color: var(--color-accent);
}

.p-features__subtitle {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.p-features__desc {
  font-size: 0.875rem;
  line-height: 2;
  color: var(--color-text-light);
}

@media screen and (min-width: 768px) {
  .p-features {
    padding: 8rem 0;
  }

  .p-features__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

/* ==========================================================================
   Menu Preview Section
   ========================================================================== */
.p-menu-preview {
  padding: 6rem 0;
  background-color: var(--color-base);
  overflow: hidden;
}

.p-menu-preview__inner {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.p-menu-preview__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.p-menu-preview__desc {
  font-size: 0.875rem;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.p-menu-preview__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-english);
  letter-spacing: 0.1em;
  color: var(--color-text);
  font-size: 0.875rem;
  transition: color 0.3s;
}

.p-menu-preview__link:hover {
  color: var(--color-accent);
}

.p-menu-preview__arrow {
  transition: transform 0.3s;
}

.p-menu-preview__link:hover .p-menu-preview__arrow {
  transform: translateX(5px);
}

.p-menu-preview__cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.p-menu-preview__card {
  background-color: var(--color-white);
  padding: 2rem;
  border: 1px solid #f0f0f0;
  transition: border-color 0.3s;
  position: relative;
}

.p-menu-preview__card:hover {
  border-color: var(--color-main);
}

.p-menu-preview__full-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.p-menu-preview__card-title {
  font-family: var(--font-english);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.p-menu-preview__card-desc {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.p-menu-preview__card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.p-menu-preview__price {
  font-family: var(--font-num);
  font-size: 1.125rem;
  color: var(--color-text);
}

.p-menu-preview__icon {
  color: var(--color-accent);
  font-size: 1.25rem;
}

@media screen and (min-width: 1024px) {
  .p-menu-preview {
    padding: 8rem 0;
  }

  .p-menu-preview__inner {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .p-menu-preview__intro {
    width: 35%;
  }

  .p-menu-preview__cards {
    width: 65%;
    flex-direction: row;
  }

  .p-menu-preview__card {
    flex: 1;
  }
}

/* ==========================================================================
   Flow Section
   ========================================================================== */
.p-flow {
  padding: 6rem 0;
  background-color: var(--color-white);
  position: relative;
}

.p-flow__list {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

/* Center Line */
.p-flow__line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #e5e5e5;
  transform: translateX(15px);
  /* Align with mobile layout */
  display: none;
}

@media screen and (min-width: 768px) {
  .p-flow__line {
    display: block;
    left: 50%;
    transform: translateX(-50%);
  }
}

.p-flow__item {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.p-flow__content {
  width: 100%;
}

.p-flow__image {
  width: 100%;
}

.p-flow__box {
  background-color: var(--color-base);
  padding: 2rem;
  border: 1px solid var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  position: relative;
  width: 100%;
  max-width: 500px;
}

.p-flow__num {
  position: absolute;
  top: -1rem;
  left: -1rem;
  font-family: var(--font-english);
  font-size: 2.5rem;
  font-weight: bold;
  color: rgba(212, 175, 55, 0.2);
  /* Accent with opacity */
  line-height: 1;
}

.p-flow__title {
  font-family: var(--font-english);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.p-flow__desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.p-flow__img-wrapper {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.p-flow__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.p-flow__img-wrapper:hover img {
  transform: scale(1.05);
}

.p-flow__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1rem;
  height: 1rem;
  background-color: var(--color-accent);
  border: 4px solid var(--color-white);
  border-radius: 50%;
  z-index: 2;
  display: none;
}

@media screen and (min-width: 768px) {
  .p-flow__item {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .p-flow__dot {
    display: block;
  }

  .p-flow__content,
  .p-flow__image {
    width: 50%;
    display: flex;
  }

  /* Default Alignment (Content Left, Image Right) */
  .p-flow__content {
    justify-content: flex-end;
  }

  .p-flow__image {
    justify-content: flex-start;
  }

  /* Reverse Alignment (Image Left, Content Right) */
  .p-flow__item--reverse {
    flex-direction: row-reverse;
  }

  .p-flow__item--reverse .p-flow__content {
    justify-content: flex-start;
  }

  .p-flow__item--reverse .p-flow__image {
    justify-content: flex-end;
  }
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.p-gallery {
  padding: 6rem 0;
  background-color: var(--color-base);
}

.p-gallery__header {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
}

.p-gallery__title {
  text-align: left;
  margin-bottom: 0.5rem;
}

.p-gallery__subtitle {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.p-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.p-gallery__item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
}

.p-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.p-gallery__item:hover img {
  transform: scale(1.1);
}

.p-gallery__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.p-gallery__item:hover .p-gallery__overlay {
  opacity: 1;
}

.p-gallery__overlay span {
  color: var(--color-white);
  font-family: var(--font-english);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media screen and (min-width: 768px) {
  .p-gallery {
    padding: 8rem 0;
  }

  .p-gallery__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .p-gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   Voice Section
   ========================================================================== */
.p-voice {
  padding: 6rem 0;
  background-color: var(--color-white);
}

.p-voice__stars {
  color: var(--color-accent);
  letter-spacing: 0.2em;
  font-size: 1rem;
  margin-top: 1rem;
}

.p-voice__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.p-voice__card {
  background-color: var(--color-base);
  padding: 2.5rem;
  position: relative;
}

.p-voice__quote {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: rgba(206, 188, 178, 0.2);
  line-height: 1;
}

.p-voice__text {
  font-size: 0.875rem;
  line-height: 2;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.p-voice__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.p-voice__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #ddd;
}

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

.p-voice__name {
  font-size: 0.75rem;
  font-weight: bold;
}

.p-voice__meta {
  font-size: 0.625rem;
  color: var(--color-text-light);
}

@media screen and (min-width: 768px) {
  .p-voice {
    padding: 8rem 0;
  }

  .p-voice__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.p-cta {
  padding: 6rem 0;
  background-color: rgba(206, 188, 178, 0.1);
  /* Main color light */
}

.p-cta__box {
  background-color: var(--color-white);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.p-cta__map {
  width: 100%;
  height: 300px;
  background-color: #f0f0f0;
}

.p-cta__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-cta__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.p-cta__address {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.p-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.p-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-family: var(--font-english);
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  transition: all 0.3s;
  text-align: center;
}

.p-cta__btn--primary {
  background-color: var(--color-text);
  color: var(--color-white);
}

.p-cta__btn--primary:hover {
  background-color: var(--color-accent);
}

.p-cta__btn--secondary {
  border: 1px solid var(--color-text);
  color: var(--color-text);
}

.p-cta__btn--secondary:hover {
  background-color: var(--color-text);
  color: var(--color-white);
}

@media screen and (min-width: 768px) {
  .p-cta {
    padding: 8rem 0;
  }

  .p-cta__box {
    padding: 4rem;
    flex-direction: row;
    gap: 4rem;
  }

  .p-cta__map {
    width: 50%;
    height: auto;
    min-height: 300px;
  }

  .p-cta__content {
    width: 50%;
  }

  .p-cta__buttons {
    flex-direction: row;
  }

  .p-cta__btn {
    flex: 1;
  }
}