/* ==========================================================================
   common.css — header / footer (shared across all pages)
   ========================================================================== */

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  padding: 0 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-white);
  transition: box-shadow 0.2s ease;
}

.header--scrolled {
  box-shadow: 0 0 2px #ccc;
}

.is-resizing .header,
.is-resizing .header * {
  transition: none !important;
}

.header__logo img {
  height: 40px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header__menu-item.is-current {
  color: var(--color-gold);
}

.header__reserve.is-current {
  background: var(--color-gold);
}

.header__menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  height: 36px;
  justify-content: center;
  color: var(--color-brown-dark);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header__menu-item:hover {
  color: var(--color-gold);
}

.header__menu-item-en {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 1px;
  line-height: 1;
}

.header__menu-item-jp {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.5px;
  line-height: 1;
}

.header__reserve {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 169px;
  height: 50px;
  background: var(--color-brown-dark);
  color: var(--color-white);
  transition: background 0.2s ease;
}

.header__reserve:hover {
  background: var(--color-gold);
}

.header__toggle {
  --toggle-gap: 6px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--toggle-gap);
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  z-index: 1100;
}

.header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-brown-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header--nav-open .header__toggle span:nth-child(1) {
  transform: translateY(calc(var(--toggle-gap) + 2px)) rotate(45deg);
}

.header--nav-open .header__toggle span:nth-child(2) {
  opacity: 0;
}

.header--nav-open .header__toggle span:nth-child(3) {
  transform: translateY(calc(-1 * (var(--toggle-gap) + 2px))) rotate(-45deg);
}

@media (max-width: 1199px) {
  .header {
    padding: 0 30px;
  }

  .header__toggle {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .header--nav-open .header__nav {
    transform: translateX(0);
  }

  .header__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .header__menu-item {
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    height: auto;
    padding: 16px 4px;
    gap: 12px;
    border-bottom: 1px solid var(--color-brown-light);
  }

  .header__reserve {
    margin-top: 30px;
    width: 100%;
  }

  .header__toggle {
    --toggle-gap: 4px;
    width: 30px;
    height: 30px;
  }

  .header__menu-item-jp {
    font-size: 1.2rem;
  }
}

@media (max-width: 767px) {
  .header {
    padding: 0 20px;
  }

  .header__logo img {
    height: 30px;
  }

  .header__nav {
    padding: 20px;
  }

  .header__toggle {
    width: 24px;
    height: 24px;
  }

  .header__menu-item-en {
    font-size: 1.8rem;
  }

  .header__menu-item-jp {
    font-size: 1rem;
  }
}

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

.footer {
  height: 60px;
  background: var(--color-footer-bg);
  display: flex;
  align-items: center;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copyright {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  letter-spacing: 0.7px;
  color: var(--color-gold);
}

.footer__icon img {
  width: 30px;
  height: 30px;
}

@media (max-width: 767px) {
  .footer {
    height: auto;
    padding: 16px 0;
  }

  .footer__copyright {
    font-size: 1.2rem;
  }
}

/* Reserve CTA (shared across all pages)
   ========================================================================== */

.reserve {
  position: relative;
  padding: 60px 0;
  text-align: center;
}

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

.reserve::before,
.reserve::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-gold);
}

.reserve::before {
  top: 20px;
}

.reserve::after {
  bottom: 20px;
}

.reserve__inner {
  max-width: 1440px;
  margin: 0 auto;
}

.reserve__line {
  width: 300px;
  margin: 0 auto 20px;
}

.reserve__line img {
  width: 100%;
  height: auto;
}

.reserve__lead {
  margin-top: 30px;
  font-family: var(--font-sans);
  line-height: 30px;
  letter-spacing: 0.8px;
  color: var(--color-white);
}

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

/* Map (shared across all pages)
   ========================================================================== */

.map {
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.google-map {
  width: 100%;
  height: 100%;
}

.google-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(85%) contrast(92%) brightness(104%);
}

/* Store Information (shared across all pages)
   ========================================================================== */

.store-info {
  position: relative;
  padding: 50px 0 60px;
}

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

.store-info__list {
  margin: 30px 0 0;
}

.store-info__row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  border-top: 1px solid var(--color-gold);
	padding: 8px 10px;
}

.store-info__row:last-child {
  border-bottom: 1px solid var(--color-gold);
}

.store-info__label {
  width: 130px;
  flex-shrink: 0;
  font-family: var(--font-sans);
  line-height: 1.5;
  letter-spacing: 0.8px;
  color: var(--color-yellow);
}

.store-info__value {
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.5;
  letter-spacing: 0.8px;
  color: var(--color-white);
}

.store-info__access {
  margin: 8px 0;
  padding: 0;
  list-style: none;
}

.store-info__access li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-sans);
  /* line-height: 24px; */
  letter-spacing: 0.8px;
  color: var(--color-white);
  margin-top: 4px;
}

.store-info__icon {
  display: block;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--color-yellow);
}

/* Page Headline banner (shared across subpages: about, menu, gift-takeout, salon-de-miyabi, reservation, 404)
   ========================================================================== */

.headline {
  position: relative;
  height: 300px;
  overflow: hidden;
}

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

.headline__photo {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  z-index: -1;
}

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

.headline__inner {
  position: relative;
  height: 100%;
  padding: 0 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.headline__label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.28rem;
  color: var(--color-gold);
}

.headline__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 4rem;
  letter-spacing: 0.28rem;
  color: var(--color-yellow);
}

/* Breadcrumbs (shared across subpages)
   ========================================================================== */

.breadcrumbs {
  padding: 20px 50px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 1.4rem;
}

.breadcrumbs__current {
  color: var(--color-gold);
}

.breadcrumbs__sep {
  color: var(--color-brown-dark);
}

.breadcrumbs a {
  color: var(--color-brown-dark);
}

@media (max-width: 1199px) {
  /* Reserve CTA
     ---------------------------------------------------------------------- */
  .reserve__inner {
    padding: 0 6%;
  }

  .reserve__line {
    width: 240px;
  }

  .reserve__lead {
    text-align: center;
  }

	.reserve .button {
		margin-top: 30px;
	}

  /* Map
     ---------------------------------------------------------------------- */
  .map {
    height: 400px;
  }

  /* Store Information
     ---------------------------------------------------------------------- */
  .store-info {
    padding: 40px 0 50px;
  }

	.store-info__row {
		gap: 10px;
	}

	.store-info__label {
		width: 100px;
	}

	.store-info__access {
		margin: 8px 0;
		padding: 0;
	}

	.store-info__access li {
		margin-top: 0;
	}

  /* Headline / Breadcrumbs
     ---------------------------------------------------------------------- */
 .headline {
			height: 250px;
		}

  .headline__inner {
    padding: 0 8%;
  }

  .headline__title {
    font-size: 3.2rem;
  }

  .headline__label {
    font-size: 1.2rem;
  }

  .breadcrumbs {
    padding: 16px 30px 0;
  }
}

@media (max-width: 767px) {
  /* Reserve CTA
     ---------------------------------------------------------------------- */
  .reserve {
    padding: 40px 0;
  }

  .reserve__inner {
    padding: 0 8%;
  }

  .reserve__line {
    width: 200px;
  }

  .reserve__lead {
    font-size: 1.4rem;
    text-align: left;
    width: fit-content;
    margin: 20px auto 0;
  }

	.reserve .button {
		margin-top: 20px;
	}

  /* Map
     ---------------------------------------------------------------------- */
  .map {
    height: 280px;
  }

  /* Store Information
     ---------------------------------------------------------------------- */
  .store-info {
    padding: 30px 0 40px;
  }

  .store-info__row {
    flex-direction: column;
    gap: 0;
    padding: 6px;
  }

  .store-info__label {
    width: auto;
    line-height: 1.4;
    font-size: 1.4rem;
  }

  .store-info__value {
    line-height: 1.6;
    font-size: 1.4rem;
  }

  .store-info__row--hours .store-info__value {
    line-height: 1.6;
    padding: 0;
  }

  /* Headline / Breadcrumbs
     ---------------------------------------------------------------------- */
  .headline {
    height: 100px;
  }

  .headline__inner {
    padding: 0 4%;
  }

  .headline__title {
    font-size: 2.4rem;
  }

  .headline__label {
    font-size: 1rem;
  }

  .breadcrumbs {
    padding: 12px 20px 0;
    font-size: 1.2rem;
  }
}
