@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/NotoSansJP-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --bg: #fffdf8;
  --cream: #fff7e8;
  --cream-2: #fffaf2;
  --orange: #f28c18;
  --orange-dark: #d96f08;
  --yellow: #f7c84b;
  --green: #8bae3c;
  --coral: #e98683;
  --blue: #4db5ce;
  --brown: #392f2a;
  --muted: #766c66;
  --line: #e9d9bf;
  --white: #fff;
  --shadow: 0 16px 46px rgba(102, 74, 35, .11);
  --container: 1180px;
  --radius: 26px;
  --header-height: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
  margin: 0;
  color: var(--brown);
  background: var(--bg);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .045em;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(77, 181, 206, .72); outline-offset: 4px; }

.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 16px; color: #fff; background: var(--brown); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 48px), 780px); margin-inline: auto; }
.section { position: relative; padding: 108px 0; overflow: clip; }
.section--cream { background: var(--cream-2); }
.section--soft { background: radial-gradient(circle at 8% 15%, rgba(247, 200, 75, .12), transparent 24%), radial-gradient(circle at 95% 84%, rgba(139, 174, 60, .1), transparent 20%), var(--cream); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--orange-dark); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { width: 30px; height: 1px; background: currentColor; content: ""; }
.section-title { margin: 0; font-size: clamp(30px, 3vw, 42px); font-weight: 400; line-height: 1.45; letter-spacing: .08em; }
.section-lead { max-width: 760px; margin: 20px 0 0; color: var(--muted); }
.heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.heading-row .section-lead { max-width: 500px; margin: 0; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; min-height: 56px; align-items: center; justify-content: center; gap: 18px; padding: 12px 28px; white-space: nowrap; border: 1px solid transparent; border-radius: 999px; font-weight: 700; letter-spacing: .04em; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.button::after { content: "→"; font-size: 17px; }
.button--primary { color: var(--white); background: var(--orange); box-shadow: 0 12px 28px rgba(242, 140, 24, .27); }
.button--secondary { color: var(--orange-dark); background: rgba(255, 255, 255, .88); border-color: rgba(242, 140, 24, .42); }
.button:hover { transform: translateY(-3px); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--orange-dark); font-weight: 700; }
.text-link::after { content: "→"; }
.note { padding: 18px 20px; color: var(--muted); background: var(--cream); border-radius: 16px; font-size: 13px; }
.stock-note { margin-top: 26px; color: var(--muted); font-size: 11px; }

.site-header { position: sticky; z-index: 50; top: 0; height: var(--header-height); background: rgba(255, 253, 248, .94); border-bottom: 1px solid rgba(233, 217, 191, .6); backdrop-filter: blur(12px); }
.header-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; flex: 0 0 auto; align-items: center; gap: 13px; }
.brand-mark { width: 56px; height: 56px; overflow: hidden; border-radius: 50%; background: url("../images/hiraku-logo-original.jpg") center 14% / 260%; box-shadow: 0 7px 22px rgba(242, 140, 24, .12); }
.brand-name { color: var(--orange-dark); font-family: Arial, sans-serif; font-size: 25px; font-weight: 400; letter-spacing: .2em; line-height: 1; }
.brand-tagline { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.global-nav { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.global-nav a:not(.nav-cta) { position: relative; padding: 8px 0; }
.global-nav a:not(.nav-cta)::after { position: absolute; right: 0; bottom: 1px; left: 0; height: 1px; background: var(--orange); content: ""; transform: scaleX(0); transition: transform 180ms ease; }
.global-nav a:hover::after, .global-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; min-height: 46px; align-items: center; padding: 0 20px; color: var(--white); background: var(--orange); border-radius: 999px; }
.hamburger { display: none; width: 46px; height: 46px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
.hamburger-lines, .hamburger-lines::before, .hamburger-lines::after { display: block; width: 19px; height: 1px; background: var(--brown); content: ""; transition: transform 180ms ease; }
.hamburger-lines { position: relative; }
.hamburger-lines::before { position: absolute; top: -6px; }
.hamburger-lines::after { position: absolute; top: 6px; }
.hamburger[aria-expanded="true"] .hamburger-lines { background: transparent; }
.hamburger[aria-expanded="true"] .hamburger-lines::before { top: 0; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger-lines::after { top: 0; transform: rotate(-45deg); }
.mobile-menu { position: fixed; z-index: 49; top: var(--header-height); right: 0; bottom: 0; left: 0; overflow-y: auto; padding: 28px 24px 40px; background: rgba(255, 253, 248, .99); }
.mobile-menu nav { display: grid; }
.mobile-menu a { padding: 17px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
.mobile-menu .button { margin-top: 24px; color: #fff; }

.site-footer { position: relative; padding: 72px 0 28px; overflow: hidden; background: #fff5e2; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.5fr; gap: 80px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 90px; height: 90px; border-radius: 50%; }
.footer-copy { margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 28px; align-content: start; font-size: 13px; }
.footer-nav a { padding-bottom: 10px; border-bottom: 1px solid rgba(233, 217, 191, .9); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 62px; padding-top: 22px; color: var(--muted); border-top: 1px solid var(--line); font-size: 10px; }

.subpage-header { padding: 82px 0 70px; background: radial-gradient(circle at 86% 10%, rgba(247, 200, 75, .2), transparent 24%), var(--cream-2); }
.breadcrumb { margin: 0 0 22px; color: var(--muted); font-size: 11px; }
.page-title { margin: 0; color: var(--brown); font-size: clamp(38px, 5vw, 64px); font-weight: 400; line-height: 1.35; letter-spacing: .08em; }
.page-intro { max-width: 720px; margin: 20px 0 0; color: var(--muted); }
.cta-section { padding: 90px 0; color: var(--white); background: radial-gradient(circle at 12% 15%, rgba(255,255,255,.28), transparent 24%), radial-gradient(circle at 90% 82%, rgba(255,255,255,.24), transparent 20%), linear-gradient(135deg, #f39a24, #ef7e0d); text-align: center; }
.cta-section h2 { margin: 0; font-size: clamp(30px, 3.2vw, 44px); font-weight: 400; letter-spacing: .08em; }
.cta-section p { margin: 18px 0 28px; }
.cta-section .button--secondary { color: var(--orange-dark); background: var(--white); border: 0; }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .global-nav { gap: 15px; font-size: 12px; }
  .global-nav a:nth-child(5) { display: none; }
}

@media (max-width: 900px) {
  :root { --header-height: 68px; }
  body { font-size: 15px; }
  .container, .narrow { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 74px 0; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 20px; }
  .brand-tagline, .global-nav { display: none; }
  .hamburger { display: grid; }
  .heading-row { display: block; margin-bottom: 34px; }
  .heading-row .section-lead { margin-top: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 560px) {
  .section-title { font-size: 28px; }
  .button-row { display: grid; }
  .button { width: 100%; min-height: 52px; padding-inline: 20px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 7px; }
  .subpage-header { padding: 52px 0; }
  .page-title { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
