/* Header and first view follow the supplied Esperio composition. */
html { scroll-padding-top: 96px; }
.topline { display: none; }
.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  height: 108px;
  background: transparent;
  border: 0;
}
.header-inner {
  width: calc(100% - 6%);
  max-width: 1780px;
  gap: clamp(18px, 2.5vw, 48px);
}
.brand { align-items: center; }
.brand-logo {
  width: clamp(170px, 13.5vw, 225px);
  height: auto;
}
.brand-sub {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  margin-top: 8px;
  font-size: .7rem;
  letter-spacing: .5em;
  text-indent: .5em;
}
.nav { gap: clamp(13px, 1.5vw, 30px); }
.nav > a,
.nav-group-button {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(.72rem, .85vw, .9rem);
  font-weight: 700;
  letter-spacing: .02em;
  color: #173b2c;
}
.nav > a { white-space: nowrap; }
.nav .nav-shop {
  color: #fff;
  background: var(--green);
  padding: 14px 19px;
  border-radius: 28px;
}
.nav .nav-shop:hover { color: #fff; background: #26664d; }
.outbound { font-family: sans-serif; font-size: .72rem; }
.nav-group { position: relative; }
.nav-group-button {
  border: 0;
  background: transparent;
  display: flex;
  gap: 6px;
  align-items: center;
  cursor: pointer;
  padding: 14px 0;
  white-space: nowrap;
}
.nav-group-button:hover { color: var(--green-2); }
.nav-group-button span { font-family: sans-serif; font-size: 1rem; }
.nav-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: -18px;
  width: 285px;
  padding: 12px 0;
  background: rgba(255,253,248,.98);
  box-shadow: 0 12px 28px #173b2c30;
  border-top: 3px solid var(--green);
}
.nav-group.open .nav-submenu,
.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu { display: block; }
.nav-submenu a {
  display: block;
  padding: 12px 20px;
  font-size: .86rem;
  line-height: 1.55;
  white-space: normal;
}
.nav-submenu a:hover { background: #eff3e9; }
.visual-hero {
  height: clamp(560px, 37vw, 680px);
  min-height: 0;
  display: block;
  position: relative;
  background: #eee6d8;
  overflow: hidden;
}
.hero-image { position: absolute; inset-block: 0; overflow: hidden; }
.hero-image-food { left: 0; width: 54%; background: #e8dccb; }
.hero-image-room { right: 0; width: 54%; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-food img {
  position: absolute;
  left: -3%;
  top: -25%;
  width: auto;
  max-width: none;
  height: 150%;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 84%, transparent 100%);
}
.hero-image-room img { object-position: 50% 46%; }
.hero-veil {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(251,248,242,0) 30%,
    rgba(251,248,242,.32) 37%,
    rgba(251,248,242,.92) 45%,
    rgba(251,248,242,.94) 58%,
    rgba(251,248,242,.48) 68%,
    rgba(251,248,242,0) 83%);
}
.visual-hero .hero-copy {
  position: absolute;
  top: 54%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: min(40vw, 650px);
  padding: 0;
  display: block;
  text-align: center;
  z-index: 2;
}
.visual-hero h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.3rem, 3.35vw, 3.8rem);
  line-height: 1.44;
  letter-spacing: .12em;
  font-weight: 600;
  white-space: nowrap;
  margin: 0 0 22px;
}
.visual-hero .hero-desc {
  max-width: none;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
  line-height: 2;
  font-size: clamp(.81rem, .95vw, 1rem);
  letter-spacing: .02em;
}
.hero-sign {
  display: block;
  font: italic 2rem "Brush Script MT", "Segoe Script", cursive;
  color: #477950;
  transform: rotate(-7deg);
  margin-top: 40px;
}
.hero-tiles { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-tiles :is(a,button) {
  height: clamp(190px, 15vw, 257px);
  position: relative;
  display: block;
  overflow: hidden;
  border-right: 2px solid #fff;
  background: #657360;
}
.hero-tiles :is(a,button):last-child { border-right: 0; }
.hero-tiles img { height: 100%; object-fit: cover; transition: transform .45s; }
.hero-tiles :is(a,button):hover img { transform: scale(1.045); }
.hero-tiles :is(a,button):nth-child(2) img { object-position: center 52%; }
.hero-tiles :is(a,button):nth-child(3) img { object-position: center 50%; }
.hero-tiles :is(a,button):nth-child(4) img { object-position: center 55%; }
.hero-tiles :is(a,button):after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, #071c16a8);
}
.hero-tiles span {
  position: absolute;
  left: clamp(16px, 2.4vw, 43px);
  right: clamp(16px, 2.4vw, 43px);
  bottom: 25px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: white;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(.92rem, 1.4vw, 1.5rem);
  font-weight: 700;
  text-shadow: 0 1px 6px #0008;
}
.hero-tiles b {
  width: 34px; height: 34px;
  flex: none;
  display: grid; place-items: center;
  border: 1px solid #fff;
  border-radius: 50%;
  font: 400 1rem sans-serif;
}
.latest-news { padding: clamp(50px, 6vw, 85px) 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.latest-news-inner { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); }
.latest-news-heading .section-kicker { margin-bottom: 11px; }
.latest-news-heading h2 { color: var(--green); font-family: "Yu Mincho","Hiragino Mincho ProN",serif; font-size: clamp(1.85rem, 2.4vw, 2.8rem); font-weight: 600; letter-spacing: .08em; }
.news-all { display: inline-flex; align-items: center; gap: 22px; margin-top: 32px; padding-bottom: 7px; border-bottom: 1px solid currentColor; color: var(--green); font-size: .8rem; font-weight: 700; }
.news-all:hover, .news-row:hover .news-title, .news-row:focus-visible .news-title { color: var(--green-2); }
.latest-news-list { border-top: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: 105px 72px minmax(0, 1fr) 18px; gap: clamp(12px, 2vw, 28px); align-items: center; min-height: 76px; padding: 16px 8px; border-bottom: 1px solid var(--line); }
.news-row time { color: #637069; font: 400 .75rem/1.75 "Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans JP",system-ui,sans-serif; letter-spacing: .02em; white-space: nowrap; }
.news-type { padding: 4px 5px; color: var(--green); border: 1px solid #b3c7b6; font-size: .68rem; line-height: 1.35; text-align: center; white-space: nowrap; }
.news-title { font-size: .87rem; font-weight: 600; line-height: 1.6; transition: color .2s; }
.news-arrow { color: var(--green); text-align: right; font-size: 1rem; }
.intro { display: block; }
.intro-copy { padding: 0; text-align: center; }
.intro-copy .section-kicker { margin-bottom: 22px; }
.intro-copy h2 {
  width: fit-content;
  margin: 0 auto 38px;
  color: var(--green);
  font-size: clamp(2.4rem, 4.3vw, 4.6rem);
  line-height: 1.48;
  letter-spacing: .07em;
}
.intro-highlight { position: relative; z-index: 0; white-space: nowrap; }
.intro-highlight::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -.02em;
  right: -.01em;
  bottom: .08em;
  height: .19em;
  background: var(--yellow);
  transform: rotate(-1deg);
}
.intro-copy > p:not(.section-kicker) {
  max-width: 790px;
  margin: 0 auto 19px;
  font-size: .97rem;
  line-height: 2.25;
}
.intro-copy .text-link { margin-top: 23px; }
.intro-gallery {
  display: grid;
  grid-template-columns: 1.45fr 1fr .85fr;
  gap: 16px;
  margin-top: 70px;
}
.intro-gallery figure { position: relative; height: 340px; margin: 0; overflow: hidden; background: #e9e4d9; }
.intro-gallery img { width: 100%; height: 100%; object-fit: cover; }
.intro-gallery-oven img { object-position: center 59%; }
.intro-gallery-workshop img { object-position: center 55%; }
.intro-gallery-soup img { object-position: center 62%; }
.intro-gallery figure::after { content: ""; position: absolute; inset: 54% 0 0; background: linear-gradient(transparent,rgba(13,40,31,.58)); }
.intro-gallery figcaption {
  position: absolute; z-index: 1; left: 22px; bottom: 18px;
  color: #fff; font-family: "Yu Mincho","Hiragino Mincho ProN",serif;
  font-size: .95rem; font-weight: 700; letter-spacing: .08em;
  text-shadow: 0 1px 5px rgba(0,0,0,.5);
}
.info-band { background: var(--paper); }
.info-inner { min-height: 80px; }
.info-label { font-family: "Yu Mincho", serif; font-size: .95rem; letter-spacing: .06em; }
.workshop { background: #f0f2ec; }
.workshop-grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: 9%; align-items: center; }
.workshop-grid img { height: 430px; object-fit: cover; }
.workshop-copy .section-title { margin-bottom: 25px; color: var(--green); }
.workshop-copy p:not(.section-kicker) { font-size: .91rem; line-height: 2.15; margin-bottom: 29px; }
.places article { scroll-margin-top: 95px; }
.footer .brand-logo { filter: brightness(0) invert(1); width: 200px; }
.footer .brand-sub { color: white; }
@media (max-width: 1320px) {
  .header-inner { width: calc(100% - 42px); }
  .nav { gap: 11px; }
  .nav > a, .nav-group-button { font-size: .72rem; }
  .nav .nav-shop { padding: 12px 13px; }
  .brand-logo { width: 165px; }
}
@media (max-width: 1120px) {
  html { scroll-padding-top: 74px; }
  .header {
    position: relative;
    height: 74px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .header-inner { width: calc(100% - 42px); }
  .brand-logo { width: 154px; }
  .brand-sub { font-size: .56rem; margin-top: 5px; }
  .menu-button { display: block; font-size: .84rem; }
  .nav {
    display: none; position: absolute;
    top: 74px; left: 0; right: 0;
    padding: 12px 22px 24px;
    background: var(--paper);
    box-shadow: 0 15px 25px #0c2c1c22;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    white-space: normal;
  }
  .nav.open { display: flex; }
  .nav > a, .nav-group-button {
    display: block;
    width: 100%;
    text-align: left;
    font-size: .95rem;
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
  }
  .nav .nav-shop { color: #fff; border-radius: 2px; padding: 15px; margin-top: 14px; }
  .nav-group-button { display: flex; justify-content: space-between; }
  .nav-submenu {
    position: static; width: auto;
    box-shadow: none;
    background: #f1f4ed;
    border-top: 0;
    padding: 0;
  }
  .nav-group:hover .nav-submenu,
  .nav-group:focus-within .nav-submenu { display: none; }
  .nav-group.open .nav-submenu { display: block; }
  .nav-submenu a { font-size: .87rem; padding: 12px 17px; }
  .visual-hero { height: 570px; }
  .visual-hero .hero-copy { width: min(54vw, 580px); }
  .visual-hero h1 { font-size: clamp(2.2rem, 4vw, 3.1rem); }
}
@media (max-width: 700px) {
  .visual-hero { height: auto; padding-top: 71vw; background: var(--cream); }
  .hero-image { bottom: auto; height: 71vw; }
  .hero-image-food { width: 57%; }
  .hero-image-room { width: 48%; }
  .hero-image-food img {
    top: -13%; left: -20px; height: 125%;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-image-room img { object-position: 51% 50%; }
  .hero-veil {
    bottom: auto;
    height: 71vw;
    background: none;
  }
  .visual-hero .hero-copy {
    position: relative; top: auto; left: auto;
    transform: none;
    width: 100%;
    padding: 36px 24px 44px;
  }
  .visual-hero h1 {
    white-space: normal;
    font-size: clamp(1.9rem, 6.6vw, 2.75rem);
    line-height: 1.55;
    letter-spacing: .05em;
    margin-bottom: 16px;
  }
  .visual-hero .hero-desc { font-size: .86rem; line-height: 1.9; }
  .visual-hero .hero-desc br { display: none; }
  .hero-sign { font-size: 1.5rem; margin-top: 23px; }
  .hero-tiles { grid-template-columns: repeat(2, 1fr); }
  .hero-tiles :is(a,button) { height: 37vw; min-height: 150px; border-bottom: 2px solid white; }
  .hero-tiles :is(a,button):nth-child(2) { border-right: 0; }
  .hero-tiles span { left: 13px; right: 13px; bottom: 14px; font-size: .87rem; }
  .hero-tiles b { width: 28px; height: 28px; font-size: .82rem; }
  .latest-news { padding: 54px 0 60px; }
  .latest-news-inner { grid-template-columns: 1fr; gap: 25px; }
  .latest-news-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; }
  .latest-news-heading .section-kicker { grid-column: 1 / -1; }
  .latest-news-heading h2 { font-size: 2rem; }
  .news-all { margin: 0 0 3px; gap: 8px; font-size: .72rem; }
  .news-row { grid-template-columns: auto 1fr 18px; gap: 8px 12px; padding: 17px 4px; }
  .news-row time { font-size: .75rem; }
  .news-type { justify-self: start; font-size: .62rem; }
  .news-title { grid-column: 1 / 3; grid-row: 2; font-size: .84rem; }
  .news-arrow { grid-column: 3; grid-row: 1 / 3; }
  .intro-copy h2 { font-size: clamp(1.9rem, 6.8vw, 2.8rem); letter-spacing: .035em; margin-bottom: 26px; }
  .intro-copy > p:not(.section-kicker) { text-align: left; font-size: .9rem; line-height: 2; }
  .intro-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 45px; }
  .intro-gallery figure { height: 200px; }
  .intro-gallery .intro-gallery-oven { grid-column: 1 / -1; height: 250px; }
  .intro-gallery figcaption { left: 12px; bottom: 12px; font-size: .78rem; }
  .info-inner { min-height: 0; }
  .workshop-grid { grid-template-columns: 1fr; gap: 30px; }
  .workshop-grid img { height: 290px; }
}
@media (max-width: 380px) {
  .hero-tiles span { font-size: .76rem; }
  .hero-tiles b { width: 25px; height: 25px; }
}

/* Match the recruit site copyright lettering. */
.footer-bottom { font-family: "Helvetica Neue", "Noto Sans JP", "Yu Gothic", sans-serif; font-size: .62rem; letter-spacing: .1em; }

.footer .footer-top { grid-template-columns: 1.25fr 1fr 1fr 1.3fr; gap: clamp(24px,3vw,42px); }
.footer-top > * { min-width: 0; }
.footer .footer-links li { font-size: .875rem; line-height: 2; }
.footer-links li + li { margin-top: 9px; }
.footer-links a:hover, .footer-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.footer-actions { display: grid; gap: 13px; align-content: start; }
.footer-action { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.8); border-radius: 4px; font-size: .875rem; font-weight: 700; line-height: 1.6; text-align: center; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.footer-action-recruit { color: #fff; background: transparent; }
.footer-action-recruit:hover { background: #fff; color: var(--green); border-color: #fff; }
.footer-action-shop { background: var(--yellow); border-color: var(--yellow); color: #113d2f; }
.footer-action-shop:hover { background: #ffe28b; border-color: #ffe28b; }
.access-placeholder { min-height: 60vh; padding: 150px 0 100px; background: #f7f8f3; }
.access-placeholder h1 { margin-top: 18px; color: var(--green); font-family: "Yu Mincho","Hiragino Mincho ProN",serif; font-size: clamp(2rem,3.5vw,3.6rem); font-weight: 600; line-height: 1.5; }
@media (max-width: 1100px) {
  .footer .footer-top { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
  .footer-brand-block, .footer-actions { grid-column: 1 / -1; }
  .footer-actions { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 620px; }
}
@media (max-width: 540px) {
  .footer .footer-top { gap: 28px 20px; }
  .footer-actions { grid-template-columns: 1fr; }
  .access-placeholder { padding: 120px 0 75px; }
  .access-placeholder h1 { font-size: clamp(1.75rem,7vw,2.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-action { transition: none; }
}

.workshop { background: var(--green); color: #f7f8f3; }
.workshop-copy .section-kicker { color: rgb(219, 231, 216); }
.workshop-copy .section-title { color: #fff; }
.workshop-copy .text-link { color: #fff; border-color: rgba(255,255,255,.75); gap: 25px; transition: opacity .2s ease; }
.workshop-copy .text-link:hover,
.workshop-copy .text-link:focus-visible { gap: 25px; opacity: .8; }

.recruit-notice { background: #f7f8f3; }
.home-shop { background: #e5ebe5; }
.recruit-notice-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 50px; align-items: center; }
.recruit-notice .section-title { margin: 16px 0 18px; color: var(--green); }
.recruit-notice p:not(.section-kicker) { max-width: 640px; font-size: .95rem; line-height: 2; }
.recruit-notice .solid-button { min-width: 235px; }
@media (max-width: 700px) {
  .recruit-notice-inner { grid-template-columns: 1fr; gap: 30px; }
  .recruit-notice .solid-button { justify-self: start; }
}

/* Keep the pizza crop within the photo area at every card size. */
.food-photo-pizza { overflow: hidden; }
.food-card .food-photo-pizza img { transform: scale(1.42); transform-origin: center 62%; }
.food-card:hover .food-photo-pizza img { transform: scale(1.484); }

/* Move each home-page link arrow without shifting its text or underline. */
:is(.text-link, .news-all).arrow-motion,
:is(.text-link, .news-all).arrow-motion:hover,
:is(.text-link, .news-all).arrow-motion:focus-visible { gap: var(--arrow-gap, 25px); opacity: 1; }
.place :is(.text-link, .news-all).arrow-motion { --arrow-gap: 12px; }
:is(.text-link, .news-all).arrow-motion span { display: inline-block; transition: transform .2s ease; }

@media (prefers-reduced-motion: reduce) {
  .food-card .food-photo-pizza img,
  :is(.text-link, .news-all).arrow-motion span { transition: none; }
}

/* Begin the second sentence on a new line and avoid short trailing lines. */
.food-intro-sentence { display: block; text-wrap: balance; }

/* Keep the two food-introduction sentences on exactly two desktop lines. */
@media (min-width: 1001px) {
  .food .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: end;
    gap: 32px;
  }
  .food .section-title {
    font-size: clamp(2.05rem, 3.1vw, 2.65rem);
    white-space: nowrap;
  }
  .food .section-lead { max-width: none; }
  .food-intro-sentence { white-space: nowrap; text-wrap: nowrap; }
}

.news-all.arrow-motion { --arrow-gap: 22px; }
.food-card .food-detail-link { --arrow-gap: 12px; margin-top: 16px; font-size: .8125rem; }
