:root {
  --navy: #102d43;
  --navy-deep: #0a2233;
  --sky: #dfeef3;
  --sky-strong: #88b9cb;
  --ivory: #f7f3ea;
  --sand: #e8dcc8;
  --wood: #a97749;
  --brown: #6f4b2f;
  --ink: #1f2a30;
  --muted: #64717a;
  --white: #fff;
  --line: rgba(16, 45, 67, .14);
  --shadow: 0 20px 50px rgba(20, 39, 51, .12);
  --container: min(1160px, calc(100% - 48px));
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; min-width: 0; overflow-x: hidden; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: .035em; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
h1, h2, h3, p, dl, dd { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; }
p:last-child { margin-bottom: 0; }
.container { width: var(--container); margin-inline: auto; }
.section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--wood); font-size: .72rem; font-weight: 800; letter-spacing: .24em; }
.section-label::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-label--light { color: #d8e8ee; }
.section-title { margin-bottom: 0; color: var(--navy); font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.42; letter-spacing: .08em; }
.button { display: inline-flex; min-height: 56px; align-items: center; justify-content: center; gap: 14px; padding: 14px 25px; border: 1px solid transparent; border-radius: 3px; font-size: .9rem; font-weight: 700; line-height: 1.4; transition: transform .25s ease, background .25s ease, color .25s ease; }
.button::after { content: "→"; font-size: 1.15rem; transition: transform .25s ease; }
.button:hover { transform: translateY(-2px); }
.button:hover::after { transform: translateX(4px); }
.button:focus-visible, .text-link:focus-visible, .nav a:focus-visible, .menu-button:focus-visible { outline: 3px solid #e9b966; outline-offset: 4px; }
.button--primary { color: var(--white); background: var(--navy); }
.button--primary:hover { background: var(--navy-deep); }
.button--light { color: var(--navy); background: var(--white); }

.opening { position: fixed; z-index: 2000; inset: 0; display: grid; place-items: center; background: var(--ivory); transition: opacity .45s ease, visibility .45s ease; }
.opening.is-hidden { opacity: 0; visibility: hidden; }
.opening__mark { text-align: center; color: var(--navy); animation: openingIn .65s ease both; }
.opening__mark span { display: block; margin-bottom: 10px; font-size: .66rem; letter-spacing: .32em; }
.opening__mark strong { font: 600 clamp(2.4rem, 7vw, 4.4rem)/1.2 var(--serif); letter-spacing: .17em; }
@keyframes openingIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.header { position: sticky; z-index: 100; top: 0; width: 100%; border-bottom: 1px solid rgba(16,45,67,.08); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); }
.header__inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand strong { color: var(--navy); font: 600 1.6rem/1.1 var(--serif); letter-spacing: .12em; }
.brand span { margin-top: 7px; color: var(--muted); font-size: .55rem; letter-spacing: .25em; }
.nav { display: flex; align-items: center; gap: clamp(17px, 2vw, 30px); }
.nav a { position: relative; font-size: .76rem; font-weight: 700; letter-spacing: .07em; }
.nav a:not(.nav__cta)::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--navy); transform: scaleX(0); transition: transform .25s ease; }
.nav a:hover::after { transform: scaleX(1); }
.nav__cta { padding: 11px 18px; color: var(--white); background: var(--navy); }
.menu-button { display: none; width: 46px; height: 46px; padding: 10px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
.menu-button span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--navy); transition: .25s ease; }

.hero { display: grid; min-height: calc(100svh - 78px); grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--ivory); }
.hero__copy { display: flex; align-items: center; padding: clamp(70px, 8vw, 120px) max(34px, calc((100vw - 1160px) / 2)) clamp(60px, 8vw, 110px); }
.hero__copy-inner { width: min(100%, 590px); }
.kicker { margin-bottom: 24px; color: var(--sky-strong); font-size: .73rem; font-weight: 800; letter-spacing: .28em; }
.hero h1 { margin-bottom: 26px; color: var(--navy); font-size: clamp(3rem, 3.8vw, 4rem); line-height: 1.3; letter-spacing: .06em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero__lead { max-width: 38rem; margin-bottom: 30px; color: #3b4b54; font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 2; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.text-link { display: inline-flex; min-height: 50px; align-items: center; gap: 10px; border-bottom: 1px solid var(--navy); color: var(--navy); font-size: .86rem; font-weight: 700; }
.text-link::after { content: "→"; }
.hero__note { margin: 14px 0 0; color: var(--muted); font-size: .75rem; }
.hero__visual { position: relative; min-height: 620px; overflow: hidden; }
.hero__visual picture, .hero__visual img { width: 100%; height: 100%; }
.hero__visual img { object-fit: cover; object-position: 58% center; animation: heroScale 8s ease-out both; }
@keyframes heroScale { from { transform: scale(1.035); } to { transform: scale(1); } }
.hero__quality { position: absolute; bottom: 40px; left: 0; display: flex; flex-direction: column; min-width: 255px; padding: 18px 25px; color: white; background: rgba(16,45,67,.92); }
.hero__quality span { margin-bottom: 5px; font-size: .58rem; letter-spacing: .2em; }
.hero__quality strong { font: 600 1rem/1.4 var(--serif); letter-spacing: .09em; }
.hero__sample { position: absolute; top: 24px; right: 24px; padding: 7px 12px; color: var(--navy); background: rgba(255,255,255,.88); font-size: .58rem; font-weight: 800; letter-spacing: .18em; }

.intro { padding: clamp(90px, 11vw, 155px) 0; background: var(--white); }
.intro__head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: end; gap: clamp(50px, 9vw, 130px); margin-bottom: 64px; }
.intro__text { margin-bottom: 5px; font-size: 1.02rem; line-height: 2.15; }
.strengths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strength-card { position: relative; min-width: 0; padding: 42px 34px 44px; }
.strength-card + .strength-card { border-left: 1px solid var(--line); }
.strength-card__number { display: block; margin-bottom: 26px; color: var(--sky-strong); font: 500 1.7rem/1 var(--serif); }
.strength-card h3 { margin-bottom: 14px; color: var(--navy); font-size: 1.28rem; line-height: 1.55; }
.strength-card p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }

.services { padding: clamp(90px, 11vw, 150px) 0; background: var(--ivory); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .62fr); align-items: end; gap: 50px; margin-bottom: 50px; }
.section-head > p { margin-bottom: 8px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-card { min-width: 0; background: var(--white); box-shadow: 0 8px 28px rgba(20,39,51,.07); transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card__image { position: relative; overflow: hidden; }
.service-card__image picture { display: block; }
.service-card__image img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.service-card:nth-child(3) .service-card__image img { object-position: 63% center; }
.service-card:hover img { transform: scale(1.03); }
.service-card__image > span { position: absolute; right: 12px; bottom: 12px; padding: 5px 9px; color: var(--navy); background: rgba(255,255,255,.9); font-size: .55rem; font-weight: 800; letter-spacing: .18em; }
.service-card__body { padding: 26px 26px 30px; }
.service-card__body > p:first-child { margin-bottom: 12px; color: var(--sky-strong); font: 600 1rem/1 var(--serif); }
.service-card h3 { margin-bottom: 10px; color: var(--navy); font-size: 1.42rem; }
.service-card__body > p:last-child { color: var(--muted); font-size: .88rem; }

.transformation { padding: clamp(90px, 11vw, 150px) 0; background: var(--white); }
.transformation__head { max-width: 840px; margin-bottom: 48px; }
.transformation__head .section-title { margin-bottom: 22px; }
.transformation__head > p:not(.section-label) { max-width: 650px; color: var(--muted); }
.image-label { display: inline-flex; padding: 6px 12px; border: 1px solid var(--line); color: var(--navy); font-size: .72rem; font-weight: 700; }
.transformation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.transformation-card { overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.transformation-card__visual { position: relative; overflow: hidden; }
.transformation-card__visual img { aspect-ratio: 16 / 9; object-fit: cover; }
.transformation-card__visual > span { position: absolute; right: 0; bottom: 0; padding: 8px 14px; color: var(--white); background: var(--navy); font-size: .67rem; font-weight: 700; }
.transformation-card__body { padding: 26px 28px 30px; }
.transformation-card__body > span { color: var(--sky-strong); font-size: .65rem; font-weight: 800; letter-spacing: .2em; }
.transformation-card h3 { margin: 7px 0 21px; color: var(--navy); font-size: 1.4rem; }
.process { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.process p { margin: 0; color: var(--muted); font-size: .78rem; }
.process strong { display: block; margin-bottom: 4px; color: var(--wood); font-size: .63rem; letter-spacing: .14em; }
.process i { color: var(--sky-strong); font-style: normal; }

.craft { display: grid; min-height: 760px; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); background: var(--navy); }
.craft__visual { min-width: 0; overflow: hidden; }
.craft__visual picture, .craft__visual img { width: 100%; height: 100%; }
.craft__visual img { object-fit: cover; object-position: 59% center; }
.craft__copy { display: grid; align-items: center; padding: clamp(70px, 8vw, 120px); color: rgba(255,255,255,.86); }
.craft__copy > div { max-width: 520px; }
.craft .section-title { margin-bottom: 28px; color: var(--white); }
.craft__copy p:not(.section-label) { margin-bottom: 18px; }
.craft__list { margin: 34px 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.craft__list div { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.craft__list dt { color: #9cc5d4; font-size: .72rem; }
.craft__list dd { color: white; font-family: var(--serif); letter-spacing: .08em; }

.area { padding: clamp(75px, 9vw, 110px) 0; background: var(--sky); }
.area__inner { display: grid; grid-template-columns: 130px minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(34px, 6vw, 80px); }
.area__mark { position: relative; height: 90px; }
.area__mark span { position: absolute; right: 0; left: 0; height: 2px; background: var(--navy); transform-origin: left center; }
.area__mark span:nth-child(1) { top: 58px; transform: rotate(-7deg); }
.area__mark span:nth-child(2) { top: 42px; transform: rotate(4deg); opacity: .65; }
.area__mark span:nth-child(3) { top: 27px; transform: rotate(-2deg); opacity: .35; }
.area__inner h2 { margin-bottom: 0; color: var(--navy); font-size: clamp(1.75rem, 3vw, 2.45rem); line-height: 1.5; }
.area__inner > p { margin-bottom: 0; color: #415762; }

.contact { position: relative; min-height: 610px; display: grid; align-items: center; overflow: hidden; color: white; isolation: isolate; }
.contact__background { position: absolute; z-index: -2; inset: 0; }
.contact__background img { height: 100%; object-fit: cover; object-position: center; }
.contact::after { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(10,34,51,.76); }
.contact__inner { padding-block: 85px; text-align: center; }
.contact .section-label { justify-content: center; }
.contact h2 { margin-bottom: 24px; font-size: clamp(2rem, 4.5vw, 3.8rem); line-height: 1.45; letter-spacing: .08em; }
.contact__inner > p:not(.section-label) { margin-bottom: 32px; font-size: 1.02rem; }

.footer { padding: 58px 0 30px; color: rgba(255,255,255,.78); background: var(--navy-deep); }
.footer__inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr) auto; align-items: end; gap: 40px; }
.brand--footer strong { color: white; }
.brand--footer span { color: rgba(255,255,255,.55); }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: .73rem; }
.footer__proposal { margin: 0; text-align: right; font-size: .62rem; letter-spacing: .13em; }
.footer__proposal span { color: rgba(255,255,255,.5); letter-spacing: .08em; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }

@media (max-width: 1020px) {
  :root { --container: min(100% - 36px, 820px); }
  .menu-button { display: block; position: relative; z-index: 102; }
  .nav { position: fixed; z-index: 101; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 90px 28px 40px; background: rgba(247,243,234,.99); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s ease; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 1rem; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { display: flex; min-height: auto; flex-direction: column; }
  .hero__copy { order: 2; padding: 60px max(24px, calc((100vw - 820px) / 2)) 72px; }
  .hero__copy-inner { width: min(100% - 48px, 820px); margin-inline: auto; }
  .hero__visual { min-height: 58svh; order: 1; }
  .hero h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); }
  .craft__copy { padding: 70px 50px; }
  .area__inner { grid-template-columns: 100px minmax(0, .8fr) minmax(0, 1.2fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__proposal { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); text-align: left; }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 28px, 560px); }
  body { line-height: 1.85; letter-spacing: .025em; }
  .header__inner { min-height: 70px; }
  .brand strong { font-size: 1.35rem; }
  .brand span { font-size: .48rem; }
  .hero { display: flex; min-height: auto; flex-direction: column; }
  .hero__copy { order: 2; padding: 44px 14px 58px; }
  .hero__copy-inner { width: min(100% - 28px, 560px); margin-inline: auto; }
  .hero__visual { min-height: 58svh; order: 1; }
  .hero__visual img { object-position: 62% center; }
  .hero__quality { bottom: 18px; min-width: 220px; padding: 14px 18px; }
  .hero__sample { top: 14px; right: 14px; }
  .hero h1 { font-size: clamp(2.25rem, 10vw, 3.35rem); line-height: 1.38; }
  .hero h1 span { white-space: normal; }
  .hero__lead br { display: none; }
  .hero__actions { display: grid; gap: 12px; }
  .hero__actions .button { width: 100%; }
  .text-link { width: fit-content; }
  .intro__head, .section-head { grid-template-columns: 1fr; gap: 30px; }
  .intro__head { margin-bottom: 44px; }
  .strengths { grid-template-columns: 1fr; }
  .strength-card { padding: 30px 24px; }
  .strength-card + .strength-card { border-top: 1px solid var(--line); border-left: 0; }
  .service-grid, .transformation-grid { grid-template-columns: 1fr; }
  .service-grid { gap: 18px; }
  .service-card { display: grid; grid-template-columns: minmax(130px, .8fr) minmax(0, 1.2fr); }
  .service-card__image, .service-card__image picture, .service-card__image img { height: 100%; }
  .service-card__image img { aspect-ratio: auto; min-height: 240px; }
  .service-card__body { display: flex; flex-direction: column; justify-content: center; padding: 24px 20px; }
  .craft { min-height: auto; grid-template-columns: 1fr; }
  .craft__visual { height: 62svh; }
  .craft__copy { padding: 64px max(14px, calc((100vw - 560px) / 2)); }
  .craft__copy > div { width: min(100% - 28px, 560px); margin-inline: auto; }
  .area__inner { grid-template-columns: 1fr; gap: 24px; }
  .area__mark { width: 120px; height: 65px; }
  .contact { min-height: 610px; }
  .contact__inner > p:not(.section-label) br { display: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__links { display: grid; grid-template-columns: repeat(2, 1fr); }
  .footer__proposal { grid-column: auto; }
}

@media (max-width: 430px) {
  .hero__visual { min-height: 52svh; }
  .hero h1 { font-size: clamp(2rem, 9.2vw, 2.4rem); }
  .hero__lead { font-size: .94rem; }
  .button { width: 100%; min-height: 54px; padding-inline: 18px; font-size: .82rem; }
  .service-card { grid-template-columns: 1fr; }
  .service-card__image img { min-height: 0; aspect-ratio: 16 / 10; }
  .process { gap: 10px; }
  .process p { font-size: .72rem; }
  .craft__visual { height: 54svh; }
}

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