/* Base: local system fonts keep text readable while images load. */
:root {
  color-scheme: light;
  --ink: #344039;
  --muted: #697466;
  --line: #e3e8df;
  --accent: #9cbd74;
  --link: #54713d;
  --content-width: 1160px;
  --page-gutter: 7vw;
  --section-inset: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 15px / 1.9 -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 400; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:hover { color: var(--link); }
button { font: inherit; }
img { display: block; max-width: 100%; }
address { font-style: normal; }
[hidden] { display: none !important; }
:where(a, button, [tabindex]):focus-visible { outline: 2px solid var(--link); outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 40; padding: 12px 20px; background: #fff; }
.skip-link:focus { top: 12px; }

/* Hero */
.hero { min-height: 680px; height: 100svh; }
.hero-layout { position: relative; height: 100%; }
.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 40%;
  height: 100%;
  padding: 64px 32px 64px var(--page-gutter);
}
.site-logo { margin-bottom: 28px; font-size: 25px; letter-spacing: .3em; line-height: 1.7; }
.hero-details { font-size: 14px; letter-spacing: .075em; line-height: 2.1; }
.hero-phone span { display: inline-block; white-space: nowrap; }
.hero-copyright { margin-top: 8px; color: var(--muted); font-size: 11px; letter-spacing: .065em; }
.primary-nav { margin-top: 52px; }
.primary-nav ul { display: flex; gap: 15px; }
.primary-nav li { writing-mode: vertical-rl; }
.primary-nav a {
  display: block;
  min-width: 34px;
  min-height: 170px;
  padding: 8px;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: .2em;
  line-height: 1.4;
  text-align: start;
  transition: color .2s ease;
}
.primary-nav a:hover { color: var(--link); }
.hero-visual { position: absolute; inset: 0 0 0 auto; width: 60%; height: 100%; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo-secondary { opacity: 0; animation: bouquet-fade 14s ease-in-out infinite; }
.hero.is-offscreen .hero-photo-secondary { animation-play-state: paused; }
@keyframes bouquet-fade {
  0%, 38%, 100% { opacity: 0; }
  48%, 88% { opacity: 1; }
}

/* Navigation */
.scroll-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 97%);
}
.scroll-logo { flex-shrink: 0; font-size: 18px; letter-spacing: .25em; }
.scroll-header nav { display: flex; align-items: center; gap: 32px; }
.scroll-header nav a { padding: 18px 0; font-size: 14px; letter-spacing: .08em; }
.menu-toggle { display: none; border: 0; padding: 10px 0 10px 16px; background: none; color: var(--ink); cursor: pointer; }

/* Shared section layout */
.main-content { padding: 56px var(--page-gutter) 64px; }
.content-container { max-width: var(--content-width); margin: 0 auto; border-left: 1px solid var(--line); }
.section { padding: 64px 0; }
.section-title {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin-bottom: 36px;
  padding-left: var(--section-inset);
  color: #485342;
  font: 400 31px / 1.2 Georgia, "Times New Roman", serif;
  letter-spacing: .025em;
}
.section-title::before { content: ""; position: absolute; inset: -4px auto -4px -2px; width: 3px; background: var(--accent); }
.section-label { color: var(--muted); font: 12px / 1.8 -apple-system, BlinkMacSystemFont, "Yu Gothic", YuGothic, Meiryo, sans-serif; letter-spacing: .06em; }
.section-body { margin-left: var(--section-inset); }
.section-intro { margin-bottom: 26px; color: #65705f; font-size: 15px; line-height: 2.1; }
.text-link { display: inline-block; font-size: 14px; text-decoration: underline; }

/* Shop story and services */
.story-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.story-lead { font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif; font-size: clamp(21px, 2.3vw, 29px); line-height: 2; letter-spacing: .12em; }
.story-copy { font-size: 15px; line-height: 2.3; }
.story-copy p + p { margin-top: 24px; }
.service-list { display: grid; gap: 72px; margin: 48px 0; }
.service-list li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 7%; min-width: 0; }
.service-visual { position: relative; margin: 0 14px 14px 0; }
.service-visual::before { content: ""; position: absolute; inset: 20px -14px -14px 20px; background: #f0f2eb; }
.service-photo { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #f5f6f1; }
.service-copy { padding: 20px 0; }
.service-number { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; color: #7f9271; font: 20px / 1 Georgia, serif; }
.service-number::after { content: ""; width: 48px; height: 1px; background: #b7c5a8; }
.service-list h3 { margin-bottom: 18px; font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif; font-size: clamp(21px, 2vw, 26px); line-height: 1.7; letter-spacing: .075em; }
.service-list p { max-width: 28em; color: var(--muted); font-size: 15px; line-height: 2.2; }
.service-list li:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.service-list li:nth-child(even) .service-visual { grid-column: 2; grid-row: 1; }
.service-list li:nth-child(even) .service-copy { grid-column: 1; grid-row: 1; padding-left: 24px; }
.service-list li:nth-child(2) .service-photo { aspect-ratio: 3 / 2; }
.service-list li:nth-child(n+3) .service-visual { width: 68%; justify-self: center; }
.service-list li:nth-child(n+3) .service-photo { aspect-ratio: 4 / 5; }
.service-list li:nth-child(3) .service-photo { object-position: 50% 55%; }
.service-list li:nth-child(4) .service-photo { object-position: 50% 35%; }

/* Instagram: the HTML feed stays usable without JavaScript. */
.gallery-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 28px; font-size: 15px; }
.instagram-account { letter-spacing: .04em; white-space: nowrap; }
.post-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #bcc9ad transparent;
  padding: 4px 4px 18px;
  margin: -4px;
}
.post-card { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; scroll-snap-align: start; }
.post-card article, .post-card a { display: block; height: 100%; }
.post-image { position: relative; overflow: hidden; background: #f5f6f1; aspect-ratio: 4 / 5; }
.post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card a:hover .post-image img { transform: scale(1.025); }
.post-badge { position: absolute; top: 12px; right: 12px; color: #fff; background: #344039b8; padding: 3px 8px; font-size: 11px; letter-spacing: .1em; }
.post-copy { padding: 18px 0 8px; }
.post-copy time { color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.post-copy h3 { margin: 8px 0; font-size: 15px; line-height: 1.7; }
.post-copy p { color: var(--muted); font-size: 14px; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-link { display: inline-block; margin-top: 15px; font-size: 12px; border-bottom: 1px solid var(--line); }
.gallery-footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 24px; }
.gallery-footer > p { color: var(--muted); font-size: 12px; }
.gallery-controls { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.gallery-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; cursor: pointer; }
.gallery-controls button:hover:not(:disabled) { border-color: var(--accent); background: #f6f8f2; }
.gallery-controls button:disabled { opacity: .35; cursor: default; }
.gallery-position { min-width: 40px; text-align: center; color: var(--muted); font-size: 12px; }

/* Shop, access and contact */
.shop-link { display: flex; align-items: center; justify-content: center; max-width: 540px; height: 132px; }
.shop-link img { width: 200px; height: auto; max-height: 86px; object-fit: contain; }
.shop-layout { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
.shop-map iframe { display: block; width: 100%; height: 400px; border: 0; }
.map-link { display: inline-block; margin-top: 12px; color: var(--muted); font-size: 14px; text-decoration: underline; }
.shop-details dl { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px 16px; margin-bottom: 28px; }
.shop-details dt { color: var(--muted); font-size: 14px; padding-top: 2px; }
.shop-details dd { overflow-wrap: anywhere; }
.shop-details p { color: #65705f; font-size: 15px; line-height: 2.1; }
.shop-details a:hover { text-decoration: underline; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.phone-link { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; min-height: 44px; border: 1px solid var(--line); padding: 9px 22px; font-size: 14px; }
.phone-link span { font-size: 15px; letter-spacing: .08em; }
.line-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 9px 22px; border-radius: 3px; background: #087c3b; color: #fff; font-size: 15px; letter-spacing: .04em; transition: background .2s ease; }
.line-link:hover { background: #06642f; color: #fff; }
.site-footer { padding: 24px; background: #68705f; color: #fff; text-align: center; font-size: 11px; letter-spacing: .06em; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* Tablet */
@media (min-width: 761px) and (max-width: 1024px) {
  .hero-content { padding-left: 5vw; padding-right: 24px; }
  .hero-details { font-size: 12px; }
  .primary-nav ul { gap: 4px; }
  .scroll-header nav { gap: 20px; }
  .story-layout { gap: 32px; }
  .service-list { gap: 56px; }
  .service-list li { gap: 6%; }
  .service-list li:nth-child(even) .service-copy { padding-left: 0; }
  .service-list li:nth-child(n+3) .service-visual { width: 82%; }
  .post-card { flex-basis: calc((100% - 24px) / 2); }
  .shop-layout { gap: 28px; }
  .shop-details dl { grid-template-columns: 64px minmax(0, 1fr); gap: 10px 12px; }
}

/* Mobile: the same breakpoints govern layout and navigation. */
@media (max-width: 760px) {
  :root { --page-gutter: 24px; --section-inset: 20px; }
  html { scroll-padding-top: 80px; }
  .hero { height: auto; min-height: 100svh; }
  .hero-layout { display: flex; flex-direction: column; min-height: 100svh; }
  .hero-visual { position: relative; inset: auto; order: 0; width: 100%; height: 42svh; min-height: 240px; max-height: 420px; flex-shrink: 0; }
  .hero-content { order: 1; flex: 1; align-items: center; width: 100%; height: auto; padding: 32px 20px 36px; text-align: center; }
  .site-logo { margin-bottom: 18px; font-size: 23px; }
  .hero-details { font-size: 12px; line-height: 2; }
  .hero-copyright { display: none; }
  .primary-nav { margin-top: 30px; }
  .primary-nav ul { justify-content: center; gap: 12px; }
  .primary-nav a { min-height: 146px; font-size: 13px; }
  .scroll-header { min-height: 56px; padding: 0 24px; }
  .scroll-logo { font-size: 17px; }
  .menu-toggle { display: block; font-size: 14px; letter-spacing: .08em; }
  .scroll-header nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); background: #fff; }
  .scroll-header.menu-open nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .scroll-header nav a { padding: 12px 0; }
  .main-content { padding-block: 24px 32px; }
  .section { padding: 40px 0; }
  .section-title { margin-bottom: 28px; font-size: 27px; column-gap: 14px; }
  .section-label { font-size: 11px; }
  .section-intro { font-size: 14px; }
  .story-layout { grid-template-columns: 1fr; gap: 26px; }
  .story-lead { font-size: 23px; line-height: 1.9; }
  .story-copy { font-size: 14px; line-height: 2.2; }
  .desktop-break { display: none; }
  .service-list { gap: 44px; margin: 36px 0; }
  .service-list li, .service-list li:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .service-visual { width: 90%; }
  .service-list li:nth-child(even) .service-visual { grid-column: 1; grid-row: auto; justify-self: end; }
  .service-list li:nth-child(even) .service-copy { grid-column: 1; grid-row: auto; padding-left: 0; }
  .service-list li:nth-child(n+3) .service-visual { width: 75%; justify-self: start; }
  .service-list li:nth-child(4) .service-visual { justify-self: end; }
  .service-copy { padding: 18px 0 0; }
  .service-number { margin-bottom: 12px; font-size: 18px; }
  .service-list h3 { margin-bottom: 12px; font-size: 21px; }
  .service-list p { font-size: 14px; }
  .gallery-heading { display: block; margin-bottom: 22px; font-size: 14px; }
  .instagram-account { margin-top: 8px; }
  .post-slider { gap: 16px; }
  .post-card { flex-basis: 86%; }
  .gallery-footer { display: block; }
  .gallery-controls { justify-content: flex-end; margin-top: 18px; }
  .shop-link { height: 86px; }
  .shop-link img { width: 190px; max-height: 72px; }
  .shop-layout { grid-template-columns: 1fr; gap: 28px; }
  .shop-map iframe { height: 320px; }
  .shop-details dl { grid-template-columns: 64px minmax(0, 1fr); gap: 10px 12px; margin-bottom: 24px; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .phone-link, .line-link { justify-content: center; }
  .site-footer { padding: 22px 16px; font-size: 11px; letter-spacing: .025em; }
}

@media (max-width: 360px) {
  :root { --page-gutter: 20px; --section-inset: 16px; }
  .hero-content { padding-inline: 16px; }
  .hero-details { font-size: 12px; letter-spacing: .04em; }
}

/* Respect reduced motion; hidden hero images do not animate offscreen. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
