:root {
  --ink: #252824;
  --muted: #6f6a60;
  --line: rgba(37, 40, 36, .16);
  --paper: #f4efe7;
  --paper-deep: #eee4d3;
  --white: #fffdf8;
  --accent: #b86245;
  --accent-dark: #914832;
  --green: #526b57;
  --yellow: #e4b95c;
  --shadow: 0 24px 60px rgba(70, 55, 37, .09);
  --radius: 12px;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  line-height: 1.45;
  letter-spacing: -.025em;
  font-weight: 600;
}
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.screen-reader-text, .skip-link {
  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:focus { z-index: 9999; width: auto; height: auto; padding: 12px 18px; margin: 10px; clip: auto; background: var(--white); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  border-bottom: 1px solid transparent; transition: .25s ease;
}
.site-header.is-scrolled {
  background: rgba(246, 241, 231, .94);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; line-height: 1; }
.brand-logo { display: block; width: 209px; height: auto; }
.brand-footer .brand-logo { width: 188px; }
.primary-nav { display: flex; gap: 30px; align-items: center; }
.nav-list { display: flex; gap: 28px; align-items: center; margin: 0; padding: 0; list-style: none; }
.nav-list a { position: relative; color: #464239; font-size: 13px; font-weight: 700; }
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -7px;
  height: 1px; background: var(--accent); transition: .2s;
}
.nav-list a:hover::after { right: 0; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span:not(.screen-reader-text) { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--ink); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 58px; padding: 0 28px;
  border: 1px solid var(--accent-dark); border-radius: 2px;
  color: var(--white); background: var(--accent-dark);
  font-weight: 800; transition: background .2s, transform .2s;
}
.button:hover { background: var(--ink); transform: translateY(-2px); }
.button-small { min-height: 44px; padding: 0 21px; font-size: 13px; }
.button-light { color: var(--ink); border-color: var(--white); background: var(--white); }
.button-light:hover { color: var(--white); border-color: var(--ink); background: var(--ink); }
.text-link {
  display: inline-flex; gap: 13px; align-items: center; padding: 15px 0;
  border-bottom: 1px solid var(--ink); font-weight: 700; font-size: 13px;
}

.hero {
  position: relative; min-height: 800px; padding: 170px 0 120px;
  overflow: hidden; background: var(--paper);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 25%, var(--yellow) 25% 50%, var(--green) 50% 75%, var(--paper-deep) 75% 100%);
}
.hero-shape {
  position: absolute; width: 480px; height: 480px; right: -180px; top: -160px;
  border-radius: 44% 56% 64% 36% / 42% 37% 63% 58%;
  background: #e8d7bd; transform: rotate(18deg);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.07fr .93fr;
  gap: 88px; align-items: center;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px;
  color: var(--accent-dark); font-size: 13px; font-weight: 800; letter-spacing: .08em;
}
.hero-label::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
.hero h1 { max-width: 720px; margin-bottom: 30px; font-size: clamp(46px, 5vw, 72px); }
.hero h1 em { position: relative; color: var(--accent-dark); font-style: normal; }
.hero h1 em::after {
  content: ""; position: absolute; z-index: -1; left: -2%; right: -2%; bottom: .06em;
  height: .23em; background: rgba(228, 185, 92, .55); transform: rotate(-1.5deg);
}
.hero-lead { max-width: 620px; margin-bottom: 36px; color: var(--muted); font-size: 17px; line-height: 2.05; }
.hero-actions { display: flex; gap: 28px; align-items: center; }
.hero-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.work-board {
  position: relative; width: min(100%, 430px); min-height: 480px; padding: 52px 46px;
  border: 1px solid rgba(38, 36, 31, .22); background: #fffcf5;
  box-shadow: 18px 20px 0 #d6c5a8; transform: rotate(1.2deg);
}
.work-board::before {
  content: ""; position: absolute; width: 94px; height: 30px; left: 50%; top: -16px;
  background: rgba(214, 190, 146, .62); transform: translateX(-50%) rotate(-2deg);
}
.board-kicker { margin-bottom: 28px; color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.board-message {
  margin-bottom: 28px; font-family: "Yu Mincho", "YuMincho", serif;
  font-size: clamp(30px, 3vw, 41px); line-height: 1.65; letter-spacing: .02em;
}
.board-line { width: 72%; height: 7px; margin: -22px 0 32px 5px; background: rgba(200, 93, 61, .32); transform: rotate(-2deg); }
.board-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.board-tags span {
  padding: 6px 11px; border: 1px solid var(--line); border-radius: 99px;
  color: #4b473f; background: var(--paper); font-size: 11px; font-weight: 700;
}
.board-note { position: absolute; right: 30px; bottom: 22px; margin: 0; color: var(--muted); font-size: 11px; }

.metrics { position: relative; z-index: 4; background: var(--white); }
.metrics-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 38px 0; border-bottom: 1px solid var(--line);
}
.metric { padding: 0 36px; border-right: 1px solid var(--line); }
.metric:first-child { padding-left: 0; }
.metric:last-child { padding-right: 0; border: 0; }
.metric > span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.metric strong { display: block; margin: 4px 0; font-family: "Yu Mincho", serif; font-size: 34px; font-weight: 600; letter-spacing: -.03em; }
.metric strong small { margin-left: 7px; color: var(--accent); font-family: sans-serif; font-size: 12px; letter-spacing: 0; }
.metric p { margin: 0; color: var(--muted); font-size: 13px; }

.section { padding: 132px 0; }
.eyebrow { margin-bottom: 18px; color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.section-heading {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 90px;
  align-items: end; margin-bottom: 66px;
}
.section-heading h2, .challenge-copy h2, .faq-copy h2 { margin: 0; font-size: clamp(35px, 3.7vw, 50px); }
.section-heading > p { max-width: 500px; margin: 0; color: var(--muted); }
.section-heading-compact { display: block; }

.services-section { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-grid-four { grid-template-columns: repeat(2, 1fr); }
.service-card {
  position: relative; min-height: 550px; padding: 40px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fffdf9; overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.service-card:nth-child(2) { background: #f2eadc; }
.service-card:nth-child(3) { background: #edf0e8; }
.service-card:nth-child(4) { background: #f5e5de; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card-featured { color: var(--ink); background: #fffdf9; }
.service-card-featured p, .service-card-featured li, .service-card-featured .service-en { color: var(--muted); }
.service-number {
  position: absolute; right: 27px; top: 18px; color: rgba(38, 36, 31, .1);
  font-family: "Yu Mincho", serif; font-size: 70px; line-height: 1;
}
.service-card-featured .service-number { color: rgba(38, 36, 31, .1); }
.service-icon {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 66px;
  border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); background: transparent;
  font-size: 22px;
}
.service-card-featured .service-icon { color: var(--ink); background: transparent; }
.service-en { margin-bottom: 10px; color: var(--accent-dark); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.service-card h3 { margin-bottom: 20px; font-size: 27px; }
.service-card p:not(.service-en), .service-card li { color: var(--muted); font-size: 14px; }
.service-card ul { margin: 26px 0 0; padding: 21px 0 0; border-top: 1px solid var(--line); list-style: none; }
.service-card li { position: relative; padding-left: 18px; margin: 6px 0; }
.service-card li::before { content: "・"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.service-card-featured li::before { color: var(--accent); }

.challenge-section { color: var(--paper); background: #3e4e43; }
.challenge-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 110px; }
.challenge-section .eyebrow { color: #e9c26c; }
.challenge-copy > p:last-child { max-width: 450px; margin-top: 30px; color: rgba(255,255,255,.67); }
.challenge-list { border-top: 1px solid rgba(255,255,255,.22); }
.challenge-item { display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding: 29px 8px; border-bottom: 1px solid rgba(255,255,255,.22); }
.challenge-item span { color: #e9c26c; font-size: 11px; font-weight: 900; }
.challenge-item p { margin: 0; font-size: 16px; font-weight: 700; }

.strengths-section { background: var(--paper); }
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.strength-card { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: #fffdf8; }
.strength-card span {
  display: inline-grid; width: 40px; height: 40px; place-items: center; margin-bottom: 58px;
  border-radius: 50%; color: var(--white); background: var(--accent); font-size: 11px; font-weight: 900;
}
.strength-card:nth-child(2) span { background: var(--green); }
.strength-card:nth-child(3) span { color: var(--ink); background: var(--yellow); }
.strength-card h3 { font-size: 24px; }
.strength-card p { margin: 0; color: var(--muted); font-size: 14px; }

.engagement-section { background: var(--white); }
.engagement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.engagement-card {
  position: relative; padding: 38px; border-top: 3px solid var(--accent);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius); background: #fffdf8;
}
.engagement-card:nth-child(2) { border-top-color: var(--green); }
.engagement-card:nth-child(3) { border-top-color: var(--yellow); }
.engagement-card h3 { margin-bottom: 18px; font-size: 25px; }
.engagement-card > p:not(.service-en) { min-height: 116px; color: var(--muted); font-size: 14px; }
.engagement-card strong { display: block; padding-top: 20px; border-top: 1px solid var(--line); color: var(--accent-dark); font-size: 13px; }

.flow-section { background: #f0e4d2; }
.flow-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.flow-list li { display: grid; grid-template-columns: 110px 1fr; gap: 40px; padding: 36px 12px; border-bottom: 1px solid var(--line); }
.flow-list > li > span { color: var(--accent); font-size: 12px; font-weight: 900; }
.flow-list h3 { margin-bottom: 7px; font-size: 22px; }
.flow-list p { margin: 0; color: var(--muted); }

.faq-section { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; }
.faq-copy > p:last-child { margin-top: 26px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 28px 56px 28px 10px; cursor: pointer; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 12px; top: 22px; width: 34px; height: 34px;
  display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 50%;
  color: var(--accent); background: transparent; font-size: 20px; font-weight: 400;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 56px 26px 10px; color: var(--muted); }

.footer-cta { padding: 94px 0; color: var(--white); background: var(--accent); }
.footer-cta-inner { display: flex; gap: 50px; align-items: center; justify-content: space-between; }
.footer-cta .eyebrow { color: #f3d894; }
.footer-cta h2 { margin-bottom: 15px; font-size: clamp(34px, 4vw, 50px); }
.footer-cta p:last-child { margin: 0; color: rgba(255,255,255,.78); }
.footer-bottom { min-height: 180px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; align-items: center; background: var(--white); }
.footer-bottom > p { margin: 0; color: var(--muted); font-size: 13px; }
.copyright { text-align: right; }

.content-main { min-height: 60vh; padding: 160px 0 100px; background: var(--paper); }
.content-shell { max-width: 900px; }
.content-card { margin-bottom: 24px; padding: 54px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.content-card h1 { font-size: clamp(34px, 5vw, 54px); }
.content-card h1 a:hover { color: var(--accent); }
.entry-content { color: var(--muted); }
.entry-content > * { max-width: 100%; }
.entry-content a { color: var(--accent-dark); text-decoration: underline; }
.entry-content input:not([type="submit"]), .entry-content textarea, .entry-content select {
  width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 2px; background: #fff; font: inherit;
}
.entry-content input[type="submit"] {
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 2px;
  color: #fff; background: var(--accent); font: inherit; font-weight: 800; cursor: pointer;
}

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

.proof-section { background: var(--white); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proof-card { padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: #fffdf8; }
.proof-card:nth-child(2) { background: #edf0e8; }
.proof-card:nth-child(3) { background: #f2eadc; }
.proof-value { margin-bottom: 38px; color: var(--accent-dark); font-family: "Yu Mincho", serif; font-size: 27px; font-weight: 700; }
.proof-card h3 { margin-bottom: 15px; font-size: 23px; }
.proof-card > p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.about-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; margin-top: 22px; padding: 58px; color: var(--paper); background: var(--green); border-radius: var(--radius); }
.about-panel .eyebrow { color: #f3d894; }
.about-panel h2 { margin: 0; font-size: clamp(34px, 3.4vw, 47px); }
.about-copy > p { color: rgba(255,255,255,.82); }
.about-copy dl { margin: 30px 0 0; }
.about-copy dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.22); }
.about-copy dt { color: #f3d894; font-size: 12px; font-weight: 800; }
.about-copy dd { margin: 0; color: rgba(255,255,255,.88); font-size: 14px; }

.contact-hero { min-height: calc(100vh - 180px); padding: 160px 0 100px; background: var(--paper); }
.contact-panel { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; padding: 64px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.contact-panel h1 { margin-bottom: 24px; font-size: clamp(42px, 5vw, 64px); }
.contact-lead { color: var(--muted); font-size: 17px; }
.contact-action { align-self: center; padding: 38px; border-radius: var(--radius); background: var(--paper-deep); }
.contact-action h2 { margin-bottom: 14px; font-size: 28px; }
.contact-action > p { color: var(--muted); font-size: 14px; }
.contact-action .button { width: 100%; margin: 12px 0 18px; }
.contact-note { margin: 0; font-size: 12px !important; }
.privacy-note { margin-top: 24px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fffdf8; }
.privacy-note h2 { font-size: 22px; }
.privacy-note p { margin: 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 18px; margin-top: 18px; font-size: 12px; }
.footer-links a { border-bottom: 1px solid var(--line); }

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

@media (max-width: 980px) {
  .nav-toggle { display: block; z-index: 3; }
  .primary-nav {
    position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center;
    padding: 30px; background: rgba(246,241,231,.99); opacity: 0; visibility: hidden; transition: .25s;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: 20px; }
  .nav-list a { font-size: 18px; }
  .hero-inner, .section-heading, .challenge-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 145px; }
  .hero-inner { gap: 64px; }
  .hero-visual { min-height: 470px; }
  .section-heading { gap: 25px; }
  .service-grid, .strength-grid, .engagement-grid, .proof-grid { grid-template-columns: 1fr; }
  .about-panel, .contact-panel { grid-template-columns: 1fr; gap: 42px; }
  .service-card { min-height: auto; }
  .service-icon, .strength-card span { margin-bottom: 40px; }
  .engagement-card > p:not(.service-en) { min-height: auto; }
  .challenge-grid, .faq-grid { gap: 55px; }
  .footer-bottom { grid-template-columns: 1fr 1fr; padding: 50px 0; }
  .footer-bottom > p:nth-child(2) { text-align: right; }
  .copyright { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .header-inner { min-height: 68px; }
  .brand-logo { width: 176px; }
  .brand-footer .brand-logo { width: 188px; }
  .hero { min-height: auto; padding: 118px 0 86px; }
  .hero h1 { font-size: 41px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero-inner { gap: 50px; }
  .hero-visual { min-height: 405px; }
  .work-board { min-height: 390px; padding: 42px 29px; box-shadow: 11px 13px 0 #d6c5a8; }
  .board-message { font-size: 29px; }
  .board-note { right: 20px; }
  .metrics-grid { grid-template-columns: 1fr; padding: 10px 0; }
  .metric, .metric:first-child, .metric:last-child { padding: 22px 5px; border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .section { padding: 88px 0; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2, .challenge-copy h2, .faq-copy h2 { font-size: 36px; }
  .service-card, .strength-card, .engagement-card, .proof-card { padding: 29px; }
  .about-panel, .contact-panel { padding: 34px 24px; }
  .about-copy dl > div { grid-template-columns: 1fr; gap: 5px; }
  .contact-hero { padding-top: 110px; }
  .contact-panel h1 { font-size: 39px; }
  .challenge-item { grid-template-columns: 42px 1fr; }
  .challenge-item p { font-size: 15px; }
  .flow-list li { grid-template-columns: 38px 1fr; gap: 14px; padding: 28px 4px; }
  .footer-cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-bottom { display: block; }
  .footer-bottom > * { margin-bottom: 18px !important; text-align: left !important; }
  .content-main { padding-top: 110px; }
  .content-card { padding: 30px 22px; }
}


