:root {
  --ink: #191817;
  --ink-soft: #5e5a55;
  --paper: #f5f1e9;
  --paper-light: #fbf9f5;
  --gold: #b88a45;
  --gold-light: #d9bd88;
  --line: rgba(25, 24, 23, 0.14);
  --radius: 24px;
  --shadow: 0 24px 70px rgba(31, 24, 15, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-light);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 128px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 200; padding: 12px 18px; background: #fff; color: #111; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 82px;
  display: flex;
  align-items: center;
  transition: background .25s ease, box-shadow .25s ease, height .25s ease;
}
.site-header.scrolled { height: 70px; background: rgba(251, 249, 245, .9); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: 18px; letter-spacing: .02em; }
.brand-mark { display: grid; place-items: center; width: 40px; aspect-ratio: 1; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: Georgia, serif; font-size: 12px; letter-spacing: -.08em; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 13px; font-weight: 700; }
.site-nav a { text-decoration: none; transition: color .2s ease; }
.site-nav a:not(.nav-cta):hover { color: var(--gold); }
.nav-cta { padding: 11px 18px; border: 1px solid var(--ink); border-radius: 999px; }
.nav-cta:hover { color: #fff; background: var(--ink); }
.menu-button { display: none; }

.hero { position: relative; min-height: 820px; padding: 170px 0 108px; overflow: hidden; background: radial-gradient(circle at 80% 10%, #f1e6d3 0, transparent 32%), linear-gradient(135deg, #fbfaf7, #f4efe6); }
.hero::before { content: ""; position: absolute; top: 0; left: calc(50% + 240px); width: 1px; height: 100%; background: var(--line); }
.hero-glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; top: 120px; right: -180px; border: 1px solid rgba(184, 138, 69, .2); box-shadow: 0 0 0 100px rgba(184, 138, 69, .035), 0 0 0 220px rgba(184, 138, 69, .025); }
.hero-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 72px; }
.eyebrow { margin: 0 0 22px; color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.hero h1 { margin: 0; font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(52px, 5.4vw, 78px); font-weight: 500; line-height: 1.18; letter-spacing: -.04em; }
.hero h1 span { color: var(--gold); }
.hero-lead { max-width: 580px; margin: 30px 0 0; color: var(--ink-soft); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 12px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--ink); }
.button-primary:hover { background: var(--gold); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.5); }
.button-ghost:hover { border-color: var(--gold); color: var(--gold); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 0; margin: 36px 0 0; list-style: none; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.hero-points li::before { content: "✓"; margin-right: 8px; color: var(--gold); }

.hero-visual { position: relative; min-height: 510px; }
.browser-card { position: absolute; width: 92%; top: 24px; right: 0; overflow: hidden; border: 1px solid rgba(32,28,22,.12); border-radius: 18px; background: #fff; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.browser-bar { height: 42px; display: flex; align-items: center; gap: 6px; padding: 0 15px; background: #eeeae4; }
.browser-bar span { width: 7px; height: 7px; border-radius: 50%; background: #c6bfb4; }
.browser-bar em { margin-left: auto; margin-right: auto; color: #888078; font-size: 9px; font-style: normal; letter-spacing: .06em; }
.browser-body { position: relative; min-height: 395px; padding: 67px 58px 32px; overflow: hidden; color: #f8f1e7; background: linear-gradient(120deg, rgba(11,11,10,.76), rgba(22,16,12,.25)), radial-gradient(circle at 74% 23%, #ae784e, transparent 20%), linear-gradient(135deg, #332a24, #8c6a4e 56%, #e1bd8b); }
.browser-body::after { content: ""; position: absolute; width: 340px; height: 340px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; top: -100px; right: -80px; }
.mock-label { font-family: Georgia, serif; font-size: 10px; letter-spacing: .2em; }
.mock-title { margin-top: 18px; font-family: Georgia, "Yu Mincho", serif; font-size: 40px; line-height: 1.35; }
.mock-button { display: inline-block; margin-top: 24px; padding: 10px 24px; border: 1px solid rgba(255,255,255,.7); font-size: 10px; letter-spacing: .16em; }
.mock-cards { position: absolute; right: 24px; bottom: 22px; display: flex; gap: 7px; }
.mock-cards span { width: 72px; height: 90px; background: rgba(255,255,255,.82); border-radius: 5px; box-shadow: 0 7px 20px rgba(0,0,0,.1); }
.mock-cards span:nth-child(2) { transform: translateY(-10px); background: #cda87c; }
.phone-card { position: absolute; width: 162px; height: 322px; left: 8px; bottom: 0; z-index: 2; overflow: hidden; padding: 12px; border: 7px solid #1d1b19; border-radius: 27px; background: #fff; box-shadow: 0 20px 55px rgba(28,22,15,.28); transform: rotate(-5deg); }
.phone-top { width: 52px; height: 9px; margin: -8px auto 8px; border-radius: 0 0 7px 7px; background: #1d1b19; }
.phone-hero { height: 112px; border-radius: 8px; background: linear-gradient(145deg, rgba(18,15,12,.2), rgba(18,15,12,.72)), linear-gradient(120deg, #bb9369, #4c382b); }
.phone-lines { display: grid; gap: 9px; margin: 22px 7px 0; }
.phone-lines i { display: block; height: 5px; border-radius: 3px; background: #e9e3da; }
.phone-lines i:nth-child(2) { width: 80%; }
.phone-lines i:nth-child(3) { width: 55%; }
.phone-button { height: 31px; margin: 22px 7px; border-radius: 3px; background: var(--ink); }
.status-card { position: absolute; z-index: 3; right: 0; bottom: 20px; display: grid; padding: 15px 20px; border: 1px solid rgba(184,138,69,.28); border-radius: 12px; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(31,24,15,.1); }
.status-card b { font-family: Georgia, serif; font-size: 14px; }
.status-card span { color: var(--ink-soft); font-size: 9px; letter-spacing: .1em; }

.section-heading { margin-bottom: 58px; }
.section-heading.narrow { max-width: 760px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(36px, 4vw, 54px); font-weight: 500; line-height: 1.42; letter-spacing: -.025em; }
.section-heading > p:last-child { margin: 22px 0 0; color: var(--ink-soft); }
.section-heading.split { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 90px; }
.section-heading.split > p { margin: 0 0 6px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit-card { min-height: 290px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.benefit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-number { display: inline-block; padding-bottom: 9px; border-bottom: 1px solid var(--gold); color: var(--gold); font-family: Georgia, serif; font-size: 12px; }
.benefit-card h3 { margin: 70px 0 12px; font-family: Georgia, "Yu Mincho", serif; font-size: 23px; font-weight: 500; }
.benefit-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.section-dark { color: #f6f1e8; background: #171614; }
.section-dark .section-heading > p:last-child { color: #aaa39a; }
.service-list { border-top: 1px solid rgba(255,255,255,.15); }
.service-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 34px; align-items: center; min-height: 168px; border-bottom: 1px solid rgba(255,255,255,.15); }
.service-item > span { color: var(--gold-light); font-family: Georgia, serif; font-size: 13px; }
.service-item h3 { margin: 0 0 7px; font-family: Georgia, "Yu Mincho", serif; font-size: 28px; font-weight: 500; }
.service-item p { margin: 0; color: #aaa39a; font-size: 14px; }
.service-item small { color: #706a62; font-family: Georgia, serif; letter-spacing: .12em; }

.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.work-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.work-image { position: relative; display: block; aspect-ratio: 1.36; overflow: hidden; background: #d9d1c6; }
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-image:hover img { transform: scale(1.03); }
.work-link { position: absolute; right: 18px; bottom: 18px; padding: 9px 14px; border-radius: 999px; color: #fff; background: rgba(17,16,15,.82); backdrop-filter: blur(8px); font-size: 11px; font-weight: 700; }
.work-content { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; padding: 31px; }
.work-type { margin: 0 0 10px; color: var(--gold); font-family: Georgia, serif; font-size: 10px; letter-spacing: .15em; }
.work-content h3 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: 24px; font-weight: 500; line-height: 1.5; }
.work-content ul { padding: 0; margin: 4px 0 0; list-style: none; color: var(--ink-soft); font-size: 11px; }
.work-content li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.work-visual-food { padding: 30px; background: linear-gradient(135deg, #dad1c0, #9b5e46); }
.food-browser { width: 100%; height: 100%; padding: 20px 24px; color: #4d2b21; background: #f7eee2; box-shadow: 0 18px 45px rgba(60,30,20,.18); transform: rotate(-1.5deg); }
.food-nav { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgba(78,43,32,.2); font-size: 8px; }
.food-title { display: grid; gap: 8px; margin-top: 28px; }
.food-title small { font-family: Georgia, serif; font-size: 8px; letter-spacing: .15em; }
.food-title strong { font-family: Georgia, "Yu Mincho", serif; font-size: 22px; font-weight: 500; }
.food-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 25px; }
.food-products i { display: block; height: 72px; background: linear-gradient(145deg, #d9ae7a, #874c39); }
.food-products i:nth-child(2) { background: linear-gradient(145deg, #b65f46, #f0c59d); }
.food-products i:nth-child(3) { background: linear-gradient(145deg, #6a362c, #d68b5c); }

.flow-section { background: var(--paper); }
.flow-list { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.flow-list li { min-height: 260px; padding: 28px 26px; border-right: 1px solid var(--line); }
.flow-list li:last-child { border-right: 0; }
.flow-list span { color: var(--gold); font-family: Georgia, serif; font-size: 12px; }
.flow-list h3 { margin: 80px 0 10px; font-family: Georgia, "Yu Mincho", serif; font-size: 20px; font-weight: 500; }
.flow-list p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.cta-section { padding: 126px 0; color: #fff; text-align: center; background: radial-gradient(circle at 20% 20%, rgba(184,138,69,.25), transparent 26%), #171614; }
.cta-inner { max-width: 830px; }
.cta-section h2 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(36px, 5vw, 58px); font-weight: 500; line-height: 1.45; }
.cta-section p:not(.eyebrow) { margin: 22px 0 32px; color: #b8b0a6; }
.button-light { color: var(--ink); background: #fff; }
.button-light:hover { color: #fff; background: var(--gold); }

.site-footer { padding: 34px 0; background: #0f0e0d; color: #8f8981; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner > div { display: flex; align-items: center; gap: 10px; color: #fff; font-family: Georgia, serif; }
.footer-inner .brand-mark { width: 31px; font-size: 9px; }
.footer-inner p, .footer-inner small { margin: 0; font-size: 11px; }

.not-found { min-height: 100vh; display: grid; place-items: center; color: #f7f1e8; background: #171614; text-align: center; }
.not-found main { padding: 32px; }
.not-found b { display: block; color: var(--gold); font: 80px Georgia, serif; }
.not-found h1 { font: 32px Georgia, "Yu Mincho", serif; }
.not-found p { color: #aaa39a; }
.not-found a { display: inline-block; margin-top: 20px; padding: 13px 22px; border-radius: 999px; color: #171614; background: #fff; text-decoration: none; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .12s; }

@media (max-width: 900px) {
  .container { width: min(100% - 36px, 720px); }
  .section { padding: 92px 0; }
  .site-header, .site-header.scrolled { height: 68px; }
  /*
   * Mobile Safariではbackdrop-filterを持つ要素がfixed要素の基準に
   * なるため、スクロール後だけメニュー背景がヘッダー内に縮んでいた。
   * モバイルでは不透明背景に切り替え、メニューを画面全体へ固定する。
   */
  .site-header.scrolled {
    background: #fbf9f5;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .brand-name { font-size: 16px; }
  .menu-button { display: grid; width: 42px; height: 42px; place-content: center; gap: 7px; border: 0; border-radius: 50%; background: var(--ink); }
  .menu-button span:not(.sr-only) { display: block; width: 18px; height: 1px; background: #fff; transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 68px 0 0; z-index: 110; display: flex; flex-direction: column; align-items: stretch; gap: 0; height: calc(100dvh - 68px); min-height: calc(100vh - 68px); padding: 30px 24px; overflow-y: auto; background: #fbf9f5; transform: translateX(100%); transition: transform .25s ease; }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .site-nav .nav-cta { margin-top: 24px; border: 0; text-align: center; color: #fff; background: var(--ink); }
  .hero { min-height: auto; padding: 132px 0 78px; }
  .hero::before { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero h1 { font-size: clamp(46px, 13vw, 68px); }
  .hero-visual { min-height: 450px; }
  .section-heading.split { grid-template-columns: 1fr; gap: 18px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 235px; }
  .benefit-card h3 { margin-top: 45px; }
  .service-item { grid-template-columns: 45px 1fr; padding: 26px 0; }
  .service-item small { display: none; }
  .works-grid { grid-template-columns: 1fr; }
  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .flow-list li:nth-child(2) { border-right: 0; }
  .flow-list li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 520px); }
  .brand-mark { width: 35px; }
  .hero h1 { font-size: 43px; }
  .hero-lead { font-size: 14px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-points { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 360px; }
  .browser-card { width: 100%; top: 0; }
  .browser-body { min-height: 290px; padding: 45px 28px; }
  .mock-title { font-size: 29px; }
  .mock-cards span { width: 47px; height: 62px; }
  .phone-card { width: 120px; height: 240px; border-width: 5px; border-radius: 20px; }
  .phone-hero { height: 78px; }
  .status-card { bottom: 6px; }
  .section-heading h2 { font-size: 34px; }
  .service-item { grid-template-columns: 34px 1fr; gap: 14px; }
  .service-item h3 { font-size: 23px; }
  .work-content { grid-template-columns: 1fr; }
  .work-content ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .work-content li { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; }
  .work-visual-food { padding: 18px; }
  .food-browser { padding: 14px; }
  .food-nav span { display: none; }
  .food-title strong { font-size: 17px; }
  .flow-list { grid-template-columns: 1fr; border-top: 0; }
  .flow-list li, .flow-list li:nth-child(2) { min-height: auto; padding: 24px 0; border-right: 0; border-top: 1px solid var(--line); }
  .flow-list li:nth-child(-n+2) { border-bottom: 0; }
  .flow-list h3 { margin-top: 25px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

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