:root {
  --ink: #513f31;
  --muted: #877464;
  --line: #e9ddd4;
  --paper: #fffdf9;
  --soft: #f7f1ec;
  --button: #c29380;
  --accent: #d68a18;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #f7f2ed;
  font-family: "Noto Serif JP", serif;
}

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

button {
  font: inherit;
}

.site-shell {
  display: grid;
  grid-template-columns: minmax(360px, 30.9vw) 410px minmax(420px, 1fr);
  min-height: 100vh;
  background: var(--paper);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 52px 28px 36px;
  background:
    radial-gradient(circle at 50% 38%, rgba(219, 201, 188, 0.18), transparent 34%),
    linear-gradient(90deg, #fffdfb 0%, #f8f3ef 100%);
  border-right: 1px solid rgba(141, 116, 96, 0.08);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.brand-image {
  display: block;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-image.stack {
  width: 260px;
  max-width: 76vw;
}

.brand-image.horizontal {
  width: 132px;
}

.brand-large {
  margin-top: 2px;
}

.mark {
  position: relative;
  width: 72px;
  height: 92px;
  margin-bottom: 12px;
}

.mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #6f5a49;
  border-radius: 44px 44px 10px 10px;
  transform: rotate(9deg);
}

.mark::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 8px;
  width: 32px;
  height: 74px;
  border: 1px solid #6f5a49;
  border-radius: 28px 28px 3px 3px;
  transform: rotate(-12deg);
}

.mark-door {
  position: absolute;
  z-index: 1;
  left: 28px;
  top: 39px;
  width: 18px;
  height: 32px;
  border: 2px solid #d68a18;
  border-radius: 10px 10px 1px 1px;
}

.mark-door::before,
.mark-door::after {
  content: "";
  position: absolute;
  background: #6f5a49;
}

.mark-door::before {
  width: 1px;
  height: 48px;
  left: -23px;
  top: 15px;
  transform: rotate(-43deg);
}

.mark-door::after {
  width: 13px;
  height: 1px;
  left: -26px;
  top: 27px;
  box-shadow: 5px -8px 0 #6f5a49;
  transform: rotate(20deg);
}

.mark.mini {
  width: 31px;
  height: 42px;
  margin: 0 8px 0 0;
}

.mark.mini::before,
.mark.mini::after {
  border-width: 1px;
}

.mark.mini::after {
  left: 8px;
  top: 4px;
  width: 15px;
  height: 33px;
}

.mark.mini .mark-door {
  left: 12px;
  top: 17px;
  width: 9px;
  height: 15px;
  border-width: 1px;
}

.mark.mini .mark-door::before,
.mark.mini .mark-door::after {
  display: none;
}

.brand-script {
  display: block;
  margin-bottom: -3px;
  font-family: "Parisienne", cursive;
  font-size: 30px;
  color: #5f4b3d;
  transform: rotate(-6deg);
}

.brand-name {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 58px;
  font-weight: 600;
  color: #594536;
  letter-spacing: 0.04em;
}

.brand-name span {
  color: var(--accent);
}

.brand-sub {
  display: block;
  margin-top: 2px;
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.nav-links {
  display: grid;
  gap: 31px;
  margin-top: 62px;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  font-weight: 500;
}

.nav-links a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--button);
  transform: translateY(-1px);
}

.reserve-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 157px;
  min-height: 37px;
  padding: 8px 25px;
  border-radius: 999px;
  color: #fffdf9;
  background: linear-gradient(180deg, #c99b8a 0%, #bd8875 100%);
  box-shadow: 0 9px 18px rgba(123, 87, 69, 0.13);
  font-size: 14px;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.reserve-button::after {
  content: "›";
  margin-left: 12px;
  font-size: 20px;
  line-height: 0;
}

.sidebar .reserve-button {
  margin-top: 60px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}

.instagram-icon {
  position: relative;
  width: 26px;
  height: 26px;
  border: 3px solid #816b59;
  border-radius: 8px;
}

.instagram-icon::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid #816b59;
  border-radius: 50%;
}

.instagram-icon::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #816b59;
}

.line-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 25px;
  border-radius: 50%;
  background: #8b796b;
  color: #fff;
  font: 700 8px/1 "Cormorant Garamond", serif;
}

.copyright {
  margin: auto 0 0;
  align-self: flex-start;
  padding-left: 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  line-height: 1.9;
}

.phone-page {
  position: relative;
  z-index: 2;
  width: 410px;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 249, 0.92)),
    var(--paper);
  box-shadow:
    1px 0 0 rgba(139, 110, 91, 0.08),
    -1px 0 0 rgba(139, 110, 91, 0.05);
}

.salon-background {
  position: sticky;
  top: 0;
  height: 100vh;
  background:
    linear-gradient(90deg, rgba(245, 236, 228, 0.22), rgba(255, 255, 255, 0.04)),
    url("./assets/right-bg.jpg") center / cover no-repeat;
}

.hero {
  position: relative;
  height: auto;
  overflow: hidden;
  background: var(--paper);
}

.hero > img {
  width: 100%;
  height: auto;
  display: block;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(42px, 12vw, 72px);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 253, 249, 0) 0%,
    rgba(255, 253, 249, 0.72) 58%,
    var(--paper) 100%
  );
}

.mobile-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.brand-small {
  flex-direction: row;
  align-items: flex-start;
}

.brand-small .brand-image {
  margin-top: -2px;
}

.brand-small .brand-script {
  font-size: 14px;
  margin-bottom: -2px;
}

.brand-small .brand-name {
  font-size: 31px;
  line-height: 0.83;
}

.brand-small .brand-sub {
  margin-top: 0;
  font-size: 7px;
  letter-spacing: 0.12em;
}

.hamburger {
  width: 25px;
  height: 21px;
  display: grid;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
}

.hamburger span {
  display: block;
  height: 1px;
  background: #6e5747;
}

.hero-copy {
  margin-top: 35px;
  width: 185px;
}

.hero-copy p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 2.05;
  letter-spacing: 0.08em;
}

.reserve-button.small {
  min-width: 128px;
  min-height: 28px;
  padding: 5px 16px;
  font-size: 11px;
}

.section {
  padding: 13px 20px 13px;
  border-bottom: 1px solid rgba(218, 205, 194, 0.72);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #9b8375;
  font-family: "Parisienne", cursive;
  font-size: 26px;
  font-weight: 400;
  line-height: 0.95;
  transform: rotate(-4deg);
}

.section-title img {
  width: 34px;
  height: auto;
  opacity: 0.72;
  transform: rotate(4deg);
}

.concept {
  padding-top: 15px;
  padding-bottom: 13px;
}

.concept p {
  max-width: 326px;
  margin: 0 0 5px;
  font-size: 8.8px;
  line-height: 1.62;
  letter-spacing: 0.05em;
}

.gallery {
  padding-top: 12px;
  padding-bottom: 14px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.section-head .section-title {
  margin-bottom: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.gallery-carousel {
  position: relative;
}

.gallery-arrow,
.gallery-dots {
  display: none;
}

.gallery-card {
  position: relative;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(246, 240, 235, 0.78);
}

.gallery-card:not(.placeholder) > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-card.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(178, 151, 135, 0.48);
}

.gallery-card.placeholder figcaption {
  margin-top: 8px;
  color: #b19c8e;
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.placeholder-mark {
  width: 34px;
  height: auto;
  opacity: 0.36;
  mix-blend-mode: multiply;
}

.menu {
  padding-top: 13px;
  padding-bottom: 14px;
}

.section-title.centered {
  justify-content: center;
  transform: rotate(0deg);
}

.section-title.centered img {
  margin-left: -4px;
}

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

.menu-card {
  min-height: 146px;
  padding: 13px 12px 12px;
  border-radius: 4px;
  background: rgba(246, 240, 235, 0.84);
}

.menu-card h3 {
  margin: 0;
  text-align: center;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 15px;
  font-weight: 500;
}

.menu-sub {
  margin: 2px 0 8px;
  text-align: center;
  font-size: 7.4px;
  line-height: 1.35;
}

.menu-card dl {
  margin: 10px 0 0;
}

.menu-card dl div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid rgba(198, 181, 168, 0.42);
}

.menu-card dt,
.menu-card dd {
  margin: 0;
  font-size: 9.2px;
  line-height: 1.45;
}

.menu-card dt {
  color: #5e493a;
}

.menu-card dd {
  max-width: 88px;
  text-align: right;
  white-space: normal;
}

.menu-card small {
  font-size: 8px;
}

.menu-card dd.menu-detail {
  display: block;
  grid-column: 1 / -1;
  margin-top: 6px;
  font-size: 7.6px;
  line-height: 1.55;
  color: #756253;
  max-width: none;
  text-align: left;
}

.menu-card .note {
  margin: 8px 0 0;
  font-size: 7.6px;
  line-height: 1.55;
  color: #756253;
}

.menu-description {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid rgba(198, 181, 168, 0.42);
}

.menu-description p {
  margin: 0 0 8px;
  font-size: 7.8px;
  line-height: 1.55;
  color: #655244;
}

.menu-description strong {
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 10px;
  font-weight: 500;
}

.all-menu {
  margin-top: 12px;
}

.all-menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 128px;
  min-height: 32px;
  margin: 0 auto;
  padding: 7px 24px;
  border: 1px solid rgba(194, 166, 150, 0.56);
  border-radius: 999px;
  color: #fffdf9;
  background: linear-gradient(180deg, #c99b8a 0%, #bd8875 100%);
  box-shadow: 0 9px 18px rgba(123, 87, 69, 0.12);
  cursor: pointer;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  list-style: none;
}

.all-menu summary::-webkit-details-marker {
  display: none;
}

.all-menu summary::after {
  content: "＋";
  margin-left: 10px;
  font-size: 11px;
}

.all-menu[open] summary::after {
  content: "−";
}

.all-menu-cards {
  margin-top: 12px;
}

.all-menu:not([open]) .all-menu-cards {
  display: none;
}

.access {
  padding-top: 13px;
  padding-bottom: 14px;
}

address {
  font-style: normal;
  font-size: 9px;
  line-height: 1.58;
  letter-spacing: 0.03em;
}

.google-map {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid rgba(211, 194, 181, 0.78);
  background: rgba(246, 240, 235, 0.84);
}

.google-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  filter: sepia(0.13) saturate(0.78) brightness(1.04);
}

.reserve {
  padding-top: 22px;
  padding-bottom: 24px;
  background: rgba(246, 240, 235, 0.68);
}

.reserve .section-title {
  margin-bottom: 22px;
  font-size: 28px;
  line-height: 1;
}

.reserve p {
  margin: 0 0 16px;
  padding-top: 10px;
  font-size: 10.4px;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.reserve-button.line {
  width: 232px;
  min-height: 32px;
  font-size: 11px;
}

@media (max-width: 1080px) {
  .site-shell {
    grid-template-columns: minmax(260px, 31vw) minmax(360px, 410px) 1fr;
  }

  .brand-name {
    font-size: 50px;
  }

  .salon-background {
    opacity: 0.82;
  }
}

@media (max-width: 820px) {
  .site-shell {
    display: block;
    background: var(--paper);
  }

  .sidebar,
  .salon-background {
    display: none;
  }

  .phone-page {
    width: min(100%, 430px);
    margin: 0 auto;
    box-shadow: 0 0 0 1px rgba(139, 110, 91, 0.08);
  }

  .menu-cards {
    grid-template-columns: 1fr;
  }

  .menu-card {
    min-height: auto;
  }

  .gallery-grid {
    display: flex;
    gap: 14px;
    margin-left: -17px;
    margin-right: -17px;
    padding: 2px 17px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .gallery-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
  }

  .gallery-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(131, 108, 91, 0.28);
    border-radius: 50%;
    background: rgba(255, 253, 249, 0.82);
    box-shadow: 0 8px 18px rgba(96, 72, 55, 0.08);
    transform: translateY(-50%);
  }

  .gallery-arrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-top: 1px solid #705948;
    border-left: 1px solid #705948;
  }

  .gallery-arrow-prev {
    left: -4px;
  }

  .gallery-arrow-prev::before {
    transform: rotate(-45deg);
    margin-left: 4px;
  }

  .gallery-arrow-next {
    right: -4px;
  }

  .gallery-arrow-next::before {
    transform: rotate(135deg);
    margin-right: 4px;
  }

  .gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
  }

  .gallery-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 1px solid #c8b7aa;
    border-radius: 50%;
    background: transparent;
  }

  .gallery-dots button.is-active {
    background: #8d7665;
    border-color: #8d7665;
  }
}

@media (max-width: 430px) {
  .phone-page {
    width: 100%;
  }

  .hero-overlay {
    padding: 18px 16px;
  }

  .section {
    padding-left: 17px;
    padding-right: 17px;
  }

  .menu-card {
    padding-left: 10px;
    padding-right: 10px;
  }
}
