:root {
  --ink: #171917;
  --muted: #5e635d;
  --orange: #f97316;
  --orange-dark: #dd5c08;
  --green: #405534;
  --sage: #e7ecdf;
  --peach: #fff1e4;
  --line: #ece9e2;
  --max-width: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.site-header {
  min-height: 92px;
  width: min(var(--max-width), calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { font-size: 30px; transform: rotate(-24deg); display: inline-block; }
.nav { display: flex; align-items: center; gap: 54px; margin-left: auto; }
.nav a { position: relative; padding: 35px 0; font-weight: 700; font-size: 16px; }
.nav a.current { color: var(--orange); }
.nav a.current::after { content: ""; position: absolute; left: 0; right: 0; bottom: 24px; height: 3px; border-radius: 5px; background: var(--orange); }

.outline-button, .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.outline-button { min-height: 46px; padding: 0 25px; border: 1.5px solid var(--orange); color: var(--orange); }
.outline-button:hover { background: var(--orange); color: #fff; }

.hero { width: min(var(--max-width), calc(100% - 64px)); min-height: 510px; margin: 20px auto 10px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; padding: 50px 0 80px; }
.hero h1 { margin: 0; max-width: 680px; font-size: clamp(48px, 4.6vw, 66px); line-height: 1.16; letter-spacing: -.07em; font-weight: 900; white-space: nowrap; }
.hero p { max-width: 510px; margin: 25px 0 31px; color: #464b46; font-size: 18px; line-height: 1.85; }
.primary-button { gap: 12px; min-height: 58px; padding: 0 28px; background: var(--orange); color: white; font-size: 18px; box-shadow: 0 8px 20px rgba(249, 115, 22, .17); }
.primary-button:hover { background: var(--orange-dark); transform: translateY(-2px); }

.hero-art { height: 530px; position: relative; display: grid; place-items: center; }
.hero-art img { width: min(100%, 510px); max-height: 515px; object-fit: contain; position: relative; z-index: 2; animation: gentle-float 5s ease-in-out infinite; }
.peach-shape { position: absolute; z-index: 0; background: #ffd7ae; border-radius: 50%; opacity: .85; }
.peach-shape-one { width: 275px; height: 225px; left: 18%; top: 22%; transform: rotate(27deg); }
.peach-shape-two { width: 190px; height: 145px; right: 1%; bottom: 13%; transform: rotate(-22deg); }

.services { width: min(var(--max-width), calc(100% - 64px)); margin: 15px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 39px 0 42px; }
.service-item { display: grid; grid-template-columns: 76px 1fr; gap: 19px; align-items: start; }
.service-icon { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: #fff8f1; color: var(--green); }
.service-icon svg { width: 40px; height: 40px; }
.service-item h3 { margin: 7px 0 12px; font-size: 19px; letter-spacing: -.03em; }
.service-item h3::after { content: ""; display: block; width: 30px; height: 3px; margin-top: 12px; border-radius: 3px; background: var(--orange); }
.service-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.about { min-height: 235px; margin-top: 8px; padding: 61px 32px; background: var(--peach); position: relative; overflow: hidden; display: grid; place-items: center; }
.about-content { position: relative; z-index: 1; max-width: 750px; text-align: center; }
.about h2 { margin: 0; font-size: 34px; letter-spacing: -.05em; }
.about p { margin: 20px auto 0; color: #555a52; font-size: 17px; line-height: 1.8; }
.about-decoration { position: absolute; width: 210px; height: 210px; border: 32px solid #95a484; border-radius: 50%; opacity: .72; }
.about-left { left: -93px; bottom: -142px; }
.about-note { position: absolute; right: 7vw; bottom: 18px; color: var(--orange); font-size: 100px; transform: rotate(-12deg); opacity: .9; }

.contact { width: min(var(--max-width), calc(100% - 64px)); margin: 0 auto; padding: 54px 0; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.contact h2 { margin: 0 0 9px; font-size: 27px; letter-spacing: -.04em; }
.contact p { margin: 0; color: var(--muted); line-height: 1.75; }
.text-link { color: var(--orange); font-weight: 800; white-space: nowrap; }

.site-footer { border-top: 1px solid var(--line); padding: 32px; text-align: center; color: #444942; font-size: 14px; }
.site-footer p { margin: 0 0 13px; font-size: 16px; }
.site-footer div { display: flex; justify-content: center; gap: 17px; flex-wrap: wrap; }
.site-footer a:hover { color: var(--orange); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.detail-page { width: min(980px, calc(100% - 64px)); margin: 46px auto 100px; }
.detail-hero { max-width: 760px; padding: 42px 0 52px; }
.detail-kicker { margin: 0 0 16px; color: var(--orange); font-weight: 800; letter-spacing: .12em; font-size: 14px; }
.detail-hero h1 { margin: 0; font-size: clamp(42px, 5vw, 64px); line-height: 1.18; letter-spacing: -.06em; }
.detail-hero > p:last-child { max-width: 650px; margin: 23px 0 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.detail-list { border-top: 1px solid var(--line); }
.detail-list article { display: grid; grid-template-columns: 88px 1fr; gap: 18px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.detail-list span { color: var(--orange); font-size: 18px; font-weight: 800; }
.detail-list h2, .story-block h2, .contact-card h2 { margin: 0 0 9px; font-size: 24px; letter-spacing: -.04em; }
.detail-list p, .story-block p, .contact-card p { margin: 0; color: var(--muted); line-height: 1.8; }
.notice { margin-top: 54px; padding: 30px 34px; border-left: 5px solid var(--orange); background: var(--peach); }
.notice strong { font-size: 19px; }
.notice p { margin: 10px 0 0; color: #555a52; line-height: 1.75; }
.story-block { display: grid; grid-template-columns: 84px 1fr; gap: 26px; max-width: 780px; padding: 38px 0; border-top: 1px solid var(--line); }
.story-number { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: var(--green); background: #fff8f1; font-size: 29px; }
.policy-page { max-width: 860px; }
.policy-content { max-width: 760px; padding-top: 6px; }
.policy-content h2 { margin: 34px 0 10px; font-size: 22px; letter-spacing: -.03em; }
.policy-content p { margin: 0; color: var(--muted); line-height: 1.9; }
.contact-card { max-width: 740px; padding: 44px; background: var(--peach); border-radius: 18px; }
.contact-card .primary-button { margin-top: 28px; }

@keyframes gentle-float { 50% { transform: translateY(-10px) rotate(1deg); } }

@media (max-width: 900px) {
  .site-header, .hero, .services, .contact { width: min(100% - 40px, 620px); }
  .site-header { min-height: 72px; }
  .nav { display: none; }
  .outline-button { margin-left: auto; min-height: 40px; padding: 0 15px; font-size: 14px; }
  .brand { font-size: 20px; }
  .brand-mark { font-size: 25px; }
  .hero { grid-template-columns: 1fr; min-height: auto; margin-top: 20px; }
  .hero-copy { padding: 39px 0 0; }
  .hero h1 { font-size: clamp(42px, 11vw, 62px); white-space: normal; }
  .hero p { font-size: 16px; }
  .hero-art { height: 365px; margin: 10px -12px 0; }
  .hero-art img { max-height: 390px; }
  .services { grid-template-columns: 1fr 1fr; gap: 29px 20px; padding: 31px 0 36px; }
  .service-item { grid-template-columns: 58px 1fr; gap: 11px; }
  .service-icon { width: 52px; height: 52px; }
  .service-icon svg { width: 31px; height: 31px; }
  .service-item h3 { margin-top: 4px; font-size: 16px; }
  .service-item p { font-size: 13px; }
  .about { padding: 52px 25px; }
  .about h2 { font-size: 27px; }
  .about p { font-size: 15px; }
  .about-note { right: 4vw; font-size: 65px; }
  .detail-page { width: min(100% - 40px, 620px); margin: 22px auto 62px; }
  .detail-hero { padding: 30px 0 38px; }
  .detail-hero > p:last-child { font-size: 16px; }
}

@media (max-width: 520px) {
  .site-header, .hero, .services, .contact { width: min(100% - 32px, 420px); }
  .outline-button { font-size: 13px; }
  .hero-copy { padding-top: 26px; }
  .primary-button { min-height: 52px; font-size: 16px; }
  .hero-art { height: 300px; }
  .services { grid-template-columns: 1fr; gap: 25px; }
  .service-item { grid-template-columns: 65px 1fr; }
  .service-icon { width: 57px; height: 57px; }
  .contact { padding: 40px 0; align-items: start; flex-direction: column; }
  .detail-page { width: min(100% - 32px, 420px); }
  .detail-list article, .story-block { grid-template-columns: 52px 1fr; gap: 15px; padding: 26px 0; }
  .detail-list h2, .story-block h2, .contact-card h2 { font-size: 20px; }
  .detail-list p, .story-block p, .contact-card p { font-size: 15px; }
  .story-number { width: 45px; height: 45px; font-size: 22px; }
  .notice, .contact-card { padding: 28px 23px; }
  .site-footer { padding: 30px 16px; }
  .site-footer div { gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art img { animation: none; }
}
