/* ==========================================================================
   top.css — front page (front-page.php) only
   ========================================================================== */

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

.hero {
  position: relative;
  background: var(--color-white);
  padding-bottom: 120px;
  overflow: hidden;
}

.hero__visual {
  position: relative;
  max-width: 1440px;
  height: 1060px;
  margin: 0 auto;
}

.hero__logo {
  position: absolute;
  top: 223px;
  left: 10.76%;
  width: 12.5%;
  height: 179px;
}

.hero__photo-left {
  position: absolute;
  top: 480px;
  left: 3.47%;
  width: 29.17%;
  height: 490px;
  overflow: hidden;
}

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

.hero__photo-right {
  position: absolute;
  top: 0;
  left: 30.56%;
  width: 65.97%;
  height: 680px;
  overflow: hidden;
}

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

.hero__text {
  position: absolute;
  top: 730px;
  left: 38.19%;
  width: 55%;
  min-width: 400px;
}

.hero__heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 3rem;
  letter-spacing: 2.1px;
  line-height: 50px;
  color: var(--color-brown-dark);
}

.hero__lead {
  margin-top: 30px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.8rem;
  letter-spacing: 0.9px;
  line-height: 1.9;
  color: var(--color-brown-dark);
}

.hero__button {
  margin-top: 30px;
}

.hero__lead-br--tablet {
  display: none;
}

/* Topics
   ========================================================================== */

.topics {
  position: relative;
  background-image: url("../images/top/bg-texture.jpg");
  background-repeat: repeat;
  padding: 140px 0 120px;
}

.topics__decor {
  position: absolute;
  pointer-events: none;
}

.topics__decor--1 {
  top: -96px;
  left: 59.03%;
  width: 370px;
  height: 117px;
  transform: scaleY(-1);
}

.topics__decor--2 {
  top: 905px;
  left: 23.61%;
  width: 200px;
  height: 147px;
}

.topics__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: 20px;
  row-gap: 60px;
}

.topics__head {
  grid-column: 1;
  grid-row: 1;
}

.topics__button {
  grid-column: 2;
  grid-row: 1;
}

.topics__list {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  gap: 20px;
}

.topics__item {
  width: 320px;
}

.topics__photo {
  width: 320px;
  height: 427px;
  border: 1px solid var(--color-brown-light);
  overflow: hidden;
}

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

.topics__text {
  margin-top: 30px;
}

.topics__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topics__date {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  color: var(--color-brown);
}

.topics__category {
  display: inline-block;
  width: 85px;
  line-height: 1.6;
  text-align: center;
  border: 1px solid var(--color-brown);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.7px;
  color: var(--color-brown);
}

.topics__title {
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: 0.8px;
  color: var(--color-brown);
}


/* Menu
   ========================================================================== */

.menu {
  padding: 130px 0;
}

.menu__intro {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.menu__intro-text {
  width: 350px;
  flex-shrink: 0;
}

.menu__intro .menu__pairing--course {
  width: 600px;
  flex-shrink: 0;
  margin-top: 0;
}

.menu__lead {
  margin-top: 40px;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  line-height: 1.9;
  letter-spacing: 0.8px;
  color: var(--color-brown-dark);
}

.menu__intro-text .button {
  margin-top: 40px;
}

.menu__pairing-photo {
  position: relative;
  width: 100%;
  height: 390px;
  overflow: hidden;
}

.menu__pairing-photo--single {
  height: 450px;
}

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

.menu__pairing-caption {
  margin-top: 20px;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  line-height: 1.9;
  letter-spacing: 0.8px;
  color: var(--color-brown-dark);
}

.menu__pairing-duo {
  position: relative;
  width: 1000px;
  height: 689px;
  margin-top: 60px;
}

.menu__pairing--wine {
  position: absolute;
  top: 0;
  left: 0;
  width: 520px;
  z-index: 2;
}

.menu__pairing--tea {
  position: absolute;
  top: 219px;
  left: 480px;
  width: 520px;
  z-index: 1;
}

.menu__pairing-decor {
  position: absolute;
  top: 96px;
  left: 560px;
  width: 130px;
  height: 154px;
  z-index: 3;
  pointer-events: none;
  transform: rotate(180deg);
}

/* Gift / Takeout
   ========================================================================== */

.gift {
  position: relative;
}

.gift__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("../images/top/bg-texture-red.jpg");
  background-repeat: repeat;
}

.gift__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.gift__photo {
  width: 500px;
  height: 500px;
  flex-shrink: 0;
  overflow: hidden;
}

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

.gift__text {
  position: relative;
  width: 440px;
  height: 440px;
  flex-shrink: 0;
  border: 1px solid var(--color-gold);
}

.gift__text .section-heading {
  position: absolute;
  top: 54px;
  left: 70px;
}

.gift__decor {
  position: absolute;
  width: 80px;
  height: 80px;
  pointer-events: none;
}

.gift__decor--1 {
  top: 10px;
  left: 350px;
}

.gift__decor--2 {
  top: 350px;
  left: 10px;
  transform: rotate(180deg);
}

.gift__lead {
  position: absolute;
  top: 170px;
  left: 70px;
  width: 350px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  line-height: 1.9;
  letter-spacing: 0.8px;
  color: var(--color-yellow);
}

.gift__text .button {
  position: absolute;
  top: 320px;
  left: 70px;
}

/* Salon de 雅
   ========================================================================== */

.salon {
  padding: 130px 0;
}

.salon__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.salon__photo {
  width: 600px;
  height: 450px;
  flex-shrink: 0;
  overflow: hidden;
}

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

.salon__text {
  width: 350px;
  flex-shrink: 0;
}

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

.salon__decor {
  width: 350px;
  height: auto;
}

.salon__decor img {
  width: 100%;
  height: 100%;
}

.salon__decor--2 {
  margin-top: 12px;
  transform: rotate(180deg);
}

.salon__lead {
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  line-height: 1.9;
  letter-spacing: 0.8px;
  color: var(--color-brown-dark);
}

.salon__text .button {
  margin-top: 40px;
}

/* Reserve CTA / Map / Store Information moved to common.css (shared across all pages) */

/* ==========================================================================
   Responsive — tablet (768px〜1199px) / SP (〜767px)
   ========================================================================== */

@media (max-width: 1199px) {
  /* Hero
     ---------------------------------------------------------------------- */
  .hero {
    padding-bottom: 60px;
  }

  .hero__visual {
    max-width: 100%;
    height: auto;
  }

  .hero__photos {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 73.6111%; /* true 1440:1060 ratio — keeps photo/logo aspect ratio accurate */
    margin-bottom: -17.5%; /* pulls hero__text up into the naturally empty space below photo-left, without distorting the ratio above */
  }

  .hero__logo {
    top: 6%;
    height: 16.8868%;
  }

  .hero__photo-left {
    top: 30%;
    height: 46.2264%;
  }

  .hero__photo-right {
    top: 0;
    height: 64.1509%;
  }

  .hero__text {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 50px;
    padding: 0 6%;
  }

  .hero__heading {
    font-size: 2.4rem;
    line-height: 1.5;
  }

  .hero__lead {
		width: 84%;
    font-size: 1.6rem;
    line-height: 1.7;
  }

  .hero__lead-br {
    display: none;
  }

  /* Topics
     ---------------------------------------------------------------------- */
  .topics {
    padding: 100px 0;
  }

  .topics__decor--1 {
    top: -80px;
    left: auto;
    right: 20px;
    width: 300px;
    height: auto;
  }

  .topics__decor--2 {
    top: auto;
    left: 20%;
    bottom: -100px;
    width: 160px;
    height: auto;
  }

  .topics__list {
    flex-wrap: wrap;
  }

  .topics__item {
    width: calc((100% - 40px) / 3);
  }

  .topics__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 320 / 427;
  }

	.topics__text {
		margin-top: 20px;
	}

  .topics__date {
    font-size: 1.6rem;
  }

	.topics__title {
		margin-top: 8px;
	}

  /* Menu
     ---------------------------------------------------------------------- */
  .menu {
    padding: 100px 0;
  }

  .menu__intro {
    flex-direction: column;
    gap: 40px;
  }

  .menu__intro-text {
    width: 100%;
  }

  .menu__intro .menu__pairing--course {
    width: 100%;
    margin-top: 0;
  }

	.menu__lead {
		margin-top: 30px;
	}

  .menu__pairing-photo,
  .menu__pairing-photo--single {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .menu__pairing-duo {
    width: 100%;
    height: auto;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .menu__pairing--wine,
  .menu__pairing--tea {
    position: static;
    width: 100%;
  }

  .menu__pairing-decor {
    display: none;
  }

  /* Gift / Takeout
     ---------------------------------------------------------------------- */
  .gift__inner {
    flex-direction: column;
    gap: 40px;
    padding: 100px 0;
  }

  .gift__photo {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .gift__text {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }

  .gift__text .section-heading {
    top: 12.2727%;
    left: 15.9091%;
  }

  .gift__decor {
    width: 18.1818%;
    height: 18.1818%;
  }

  .gift__decor--1 {
    top: 2.2727%;
    left: 79.5455%;
  }

  .gift__decor--2 {
    top: 79.5455%;
    left: 2.2727%;
  }

  .gift__lead {
    top: 38.6364%;
    left: 15.9091%;
    width: 79.5455%;
  }

  .gift__text .button {
    top: 72.7273%;
    left: 15.9091%;
  }

  /* Salon de 雅
     ---------------------------------------------------------------------- */
  .salon {
    padding: 100px 0;
  }

  .salon__inner {
    flex-direction: column;
    gap: 40px;
  }

  .salon__text {
    width: 100%;
  }

  .salon__text .section-heading {
    width: 350px;
    margin: 0;
  }

  .salon__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  /* Reserve CTA / Map / Store Information moved to common.css */
}

@media (min-width: 768px) and (max-width: 1199px) {
  .hero__lead-br--tablet {
    display: inline;
  }
}

@media (max-width: 767px) {
  /* Hero
     ---------------------------------------------------------------------- */
  .hero__text {
		margin-top: 30px;
    padding: 0 8%;
  }

  .hero__heading {
    font-size: 1.7rem;
  }

  .hero__lead {
		width: 100%;
		margin-top: 20px;
    font-size: 1.4rem;
    line-height: 1.6;
  }

  /* Topics
     ---------------------------------------------------------------------- */
  .topics {
    padding: 60px 0;
  }

  .topics__inner {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  .topics__head {
    grid-column: 1;
    grid-row: 1;
  }

  .topics__list {
    grid-column: 1;
    grid-row: 2;
    flex-direction: column;
    gap: 40px;
  }

  .topics__button {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
  }

  .topics__item {
    width: 100%;
  }

	.topics__text {
		margin-top: 15px;
	}

	.topics__category {
		width: 75px;
		font-size: 1.2rem;
	}

	.topics__date {
		font-size: 1.4rem;
	}

  .topics__title {
    font-size: 1.4rem;
		margin-top: 4px;
  }

  .topics__decor--1 {
    top: -60px;
    left: auto;
    right: 20px;
    width: 240px;
    height: auto;
  }

  .topics__decor--2 {
    top: auto;
    left: 50%;
    bottom: -90px;
    width: 150px;
    height: auto;
  }

  /* Menu
     ---------------------------------------------------------------------- */
  .menu {
    padding: 60px 0;
  }

  .menu__lead,
  .menu__pairing-caption {
    font-size: 1.4rem;
  }

  .menu__pairing-caption {
		margin-top: 15px;
    line-height: 1.6;
  }

	.menu__pairing-duo {
    margin-top: 30px;
    gap: 30px;
  }

  /* Gift / Takeout
     ---------------------------------------------------------------------- */
  .gift__inner {
    padding: 60px 8%;
  }

  .gift__text {
		display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    height: auto;
    max-width: 100%;
  }

  .gift__text .section-heading,
  .gift__lead,
  .gift__text .button {
    position: static;
    top: auto;
    left: auto;
    width: 70%;
		margin: 6% auto 0;
  }

  .gift__lead {
    margin-top: 20px;
    font-size: 1.4rem;
  }

  .gift__text .button {
		width: 70%;
    margin: 30px auto 50px;
  }

  .gift__decor {
    width: 60px;
    height: 60px;
  }

  .gift__decor--1 {
    top: 5px;
    left: auto;
    right: 5px;
  }

  .gift__decor--2 {
    top: auto;
    bottom: 5px;
    left: 5px;
  }

  /* Salon de 雅
     ---------------------------------------------------------------------- */
  .salon {
    padding: 60px 0;
  }

  .salon__lead {
    font-size: 1.4rem;
  }

	.salon__decor {
		width: 100%;
		max-width: 350px;
		height: auto;
	}

  .salon__text .section-heading {
    width: 100%;
		max-width: 350px;
  }

  /* Reserve CTA / Map / Store Information moved to common.css */
}
