/* MUSUBI企画 — 色・余白・書体はここから調整できます。 */
:root {
  color-scheme: light;
  --paper: #faf7f2;
  --white: #fffdf9;
  --ink: #493a2a;
  --brown: #654c34;
  --muted: #6e604f;
  --sand: #cbb38d;
  --beige: #efe7db;
  --line: #ded5c8;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK 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: 110px; }
/* 横方向のはみ出し・バウンスを抑え、縦スクロールと拡大操作を保ちます。 */
html, body { overflow-x: clip; overscroll-behavior-x: none; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 14px; line-height: 1.9; -webkit-font-smoothing: antialiased; touch-action: pan-y pinch-zoom; }
::selection { background: var(--sand); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure, p, h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 500; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--brown); outline-offset: 6px; }
.container { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 104px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--brown); font-size: 10px; font-weight: 600; letter-spacing: .18em; line-height: 1.6; }
.eyebrow > span { width: 24px; height: 1px; background: currentColor; }
h2 { margin-top: 19px; font-family: var(--serif); font-size: clamp(27px, 3vw, 36px); line-height: 1.65; letter-spacing: .055em; }
.mobile-only, .small-break { display: none; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 20px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250, 247, 242, .96); border-bottom: 1px solid rgba(222, 213, 200, .65); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(1320px, calc(100% - 80px)); height: 90px; margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand-name { font-family: Georgia, var(--serif); font-size: 24px; font-weight: 500; letter-spacing: .085em; white-space: nowrap; }
.brand-name > span { margin-left: 5px; font-family: var(--serif); font-size: 20px; letter-spacing: .09em; }
.brand-mark { display: block; width: 42px; height: 42px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding-block: 12px; font-size: 11px; font-weight: 500; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 5px; left: 0; height: 1px; background: var(--brown); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-nav a:hover::after { transform: scaleX(1); }
.header-contact { display: inline-flex; align-items: center; justify-content: space-between; gap: 23px; min-height: 44px; padding: 12px 19px; background: var(--brown); border: 1px solid var(--brown); border-radius: 3px; color: var(--white); font-size: 11px; transition: background .2s; }
.header-contact:hover, .button-dark:hover { background: var(--ink); }
.header-contact > span { font-size: 17px; line-height: 1; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-orbit { position: absolute; top: -405px; right: -370px; width: 1160px; height: 1160px; border: 1px solid #e8dfd2; border-radius: 50%; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.03fr; align-items: center; gap: 10px; min-height: 635px; padding-top: 35px; padding-bottom: 25px; }
.hero-copy { position: relative; z-index: 2; padding-block: 30px; }
.hero-category { margin-top: 24px; font-size: 11px; letter-spacing: .08em; }
h1 { margin: 21px 0 28px; font-family: var(--serif); font-size: clamp(45px, 5.1vw, 68px); font-weight: 500; line-height: 1.52; letter-spacing: .045em; }
.headline-accent { position: relative; }
.headline-accent::after { position: absolute; z-index: -1; right: 4px; bottom: 1px; left: 0; height: 9px; background: #e4d5be; content: ""; }
.hero-description { color: #746655; font-size: 14px; line-height: 2.15; letter-spacing: .035em; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 42px; min-height: 55px; padding: 14px 25px; border-radius: 3px; font-size: 12px; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--brown); color: var(--white); }
.button > span { font-size: 20px; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-block: 10px; font-size: 11px; }
.circle-arrow { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--sand); border-radius: 50%; font-size: 14px; transition: background .2s; }
.text-link:hover .circle-arrow { background: var(--beige); }
.hero-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; padding-block: 21px 27px; }
.hero-bottom > p { color: var(--muted); font-family: var(--serif); font-size: 12px; letter-spacing: .12em; }
.hero-bottom > a { display: flex; align-items: center; gap: 16px; font-size: 8px; letter-spacing: .15em; }
.hero-bottom > a > span { font-size: 20px; }

/* HTML / CSSで描く制作イメージ。実績・実際の製品画面ではありません。 */
.hero-art { position: relative; min-width: 0; width: 100%; }
.art-stage { position: relative; aspect-ratio: 550 / 510; width: 100%; }
.hero-art figcaption { margin-top: 3px; text-align: right; color: var(--muted); font-size: 10px; letter-spacing: .02em; }
.art-orbit { position: absolute; border: 1px solid #d8c9b3; border-radius: 50%; }
.art-orbit-one { top: 12%; left: 7%; width: 89%; height: 82%; transform: rotate(-25deg); }
.art-orbit-two { top: 4%; left: 23%; width: 69%; height: 101%; transform: rotate(-42deg); opacity: .5; }
.orbit-dot { position: absolute; z-index: 2; width: 9px; height: 9px; background: var(--sand); border-radius: 50%; }
.orbit-dot-one { top: 24%; left: 8%; }
.orbit-dot-two { right: 13%; bottom: 1%; width: 6px; height: 6px; background: var(--brown); }
.brand-seal { position: absolute; z-index: 4; top: 1%; right: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 118px; height: 118px; background: #f6f0e6; border: 1px solid #e7dccb; border-radius: 50%; box-shadow: 0 8px 25px #57422608; transform: rotate(9deg); }
.seal-mark { display: block; width: 64px; height: 64px; }
.seal-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-seal > span:last-child { font-size: 6px; letter-spacing: .14em; }
.website-preview { position: absolute; z-index: 2; top: 13%; left: 1%; width: 84%; border: 1px solid #dfd4c4; border-radius: 7px; overflow: hidden; background: var(--white); box-shadow: 0 18px 44px #60482712; transform: rotate(-5deg); }
.window-bar { display: flex; justify-content: space-between; align-items: center; height: 28px; padding-inline: 11px; background: #f5f1ea; border-bottom: 1px solid #e7dfd3; color: #786c5c; font-size: 6px; letter-spacing: .14em; }
.window-dots { display: flex; gap: 4px; }
.window-dots i { display: block; width: 4px; height: 4px; background: #d3c4af; border-radius: 50%; }
.window-plus { font-size: 12px; }
.sample-website { padding: 0 16px 14px; background: #f0f0e8; color: #33443b; }
.sample-nav { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 48px; }
.sample-nav > span { font-size: 5px; letter-spacing: .06em; }
.sample-nav .sample-wordmark { font-family: Georgia, serif; font-size: 20px; letter-spacing: -.05em; }
.sample-nav b { margin-left: 5px; font-size: 11px; font-weight: 400; }
.sample-gallery-hero { position: relative; overflow: hidden; }
.sample-architecture { width: 100%; height: auto; }
.sample-gallery-hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, #1d332b50, transparent 65%); content: ""; }
.sample-gallery-title { position: absolute; z-index: 1; left: 7%; bottom: 13%; color: #fffdf2; }
.sample-gallery-title > span { font-size: 5px; letter-spacing: .18em; }
.sample-gallery-title p { margin-top: 7px; font-family: Georgia, serif; font-size: clamp(18px, 2.5vw, 32px); line-height: 1.1; letter-spacing: -.03em; }
.sample-gallery-index { position: absolute; z-index: 1; right: 5%; bottom: 6%; color: #fffdf2; font-size: 5px; letter-spacing: .12em; }
.sample-gallery-heading { display: flex; align-items: center; justify-content: space-between; margin-block: 11px 7px; }
.sample-gallery-heading > span:first-child { font-family: Georgia, serif; font-size: 12px; }
.sample-gallery-heading > span:last-child { font-size: 5px; letter-spacing: .08em; }
.sample-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sample-gallery > div > span:last-child { display: block; margin-top: 4px; font-size: 5px; }
.sample-project { display: block; height: 48px; overflow: hidden; position: relative; }
.sample-project-courtyard { background: linear-gradient(140deg, #a6afa0 40%, #d0c5af 40%); }
.sample-project-courtyard::after { position: absolute; top: 12%; left: 32%; width: 35%; height: 90%; border: 8px solid #e0d7c6; border-bottom: 0; border-radius: 40px 40px 0 0; background: #748171; content: ""; }
.sample-project-room { background: linear-gradient(90deg, #cec2ac 25%, #ebe4d5 25% 72%, #a6957a 72%); }
.sample-project-room::after { position: absolute; right: 11%; bottom: 12%; width: 55%; height: 20%; border-radius: 3px; background: #6e7a68; box-shadow: 0 4px 0 #a49478; content: ""; }
.sample-project-objects { background: #bfc4b3; }
.sample-project-objects::after { position: absolute; left: 36%; bottom: 9%; width: 28%; height: 70%; border-radius: 30% 30% 42% 42%; background: linear-gradient(90deg, #82644d, #bd9c7b 65%, #a68461); content: ""; }
.system-preview { position: absolute; z-index: 3; top: 51%; right: -1%; width: 66%; overflow: hidden; background: #fffdfa; border: 1px solid #ded3c3; border-radius: 7px; box-shadow: 0 20px 45px #6048271c; transform: rotate(5deg); }
.sample-dashboard { display: grid; grid-template-columns: 39px 1fr; min-height: 209px; }
.dashboard-sidebar { display: flex; align-items: center; flex-direction: column; gap: 12px; padding-block: 12px; background: #ede6da; }
.dashboard-symbol { font-family: Georgia, serif; font-weight: bold; font-size: 16px; }
.sidebar-item { display: grid; place-items: center; width: 21px; height: 21px; color: #7d6f5b; font-size: 12px; line-height: 1; }
.sidebar-item.selected { background: var(--brown); border-radius: 3px; color: white; }
.dashboard-main { padding: 14px; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: center; font-size: 9px; font-weight: 600; }
.dashboard-avatar { display: grid; place-items: center; width: 18px; height: 18px; background: #e9dec9; border-radius: 50%; font-family: Georgia, serif; font-size: 9px; }
.dashboard-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.dashboard-stats > div { padding: 7px 10px; background: #f5f1e9; border: 1px solid #eee6d9; border-radius: 3px; }
.dashboard-stats > div > span { display: block; font-size: 6px; line-height: 1.6; }
.dashboard-stats strong { display: block; margin-block: 1px; font-family: Georgia, serif; font-size: 25px; font-weight: 400; line-height: 1.3; }
.dashboard-stats small { margin-left: 3px; font-family: var(--sans); font-size: 8px; }
.stat-caption { color: var(--muted); }
.dashboard-chart { margin-top: 10px; }
.chart-title { display: flex; justify-content: space-between; font-size: 6px; }
.chart-title b { margin-left: 6px; }
.chart-bars { display: flex; justify-content: space-around; align-items: flex-end; gap: 11px; height: 51px; margin-top: 5px; padding-inline: 8px; border-bottom: 1px solid #d9cfbd; background: repeating-linear-gradient(to top, transparent 0, transparent 16px, #ece6db 16px, #ece6db 17px); }
.chart-bars > span { width: 17px; height: var(--bar-height); background: #c9b28e; border-radius: 2px 2px 0 0; }
.chart-bars > span:nth-last-child(-n+2) { background: #7f6547; }
.chart-labels { display: flex; justify-content: space-around; margin-top: 4px; font-size: 4px; }

/* Service strip */
.service-ribbon { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f2ede4; }
.ribbon-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 90px; }
.ribbon-inner > span:not(.ribbon-knot, .ribbon-caption) { font-size: 15px; letter-spacing: .07em; }
.ribbon-inner small { margin-left: 14px; font-size: 8px; letter-spacing: .08em; color: var(--muted); }
.ribbon-knot { color: #ab906a; font-family: Georgia, serif; font-size: 26px; }
.ribbon-caption { padding-left: 28px; border-left: 1px solid #d5c9b7; color: var(--muted); font-size: 11px; }

/* Services */
.services-heading { margin-top: 0; font-family: Georgia, serif; font-size: clamp(27px, 3vw, 36px); letter-spacing: .08em; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 45px; }
.section-intro { padding-bottom: 5px; color: var(--muted); font-size: 14px; line-height: 2.1; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.service-card { display: flex; flex-direction: column; position: relative; padding: 34px 38px 0; border: 1px solid var(--line); border-radius: 5px; background: #fffdf9; }
.service-card-system { background: #f3eee5; }
.service-card-top { position: relative; display: flex; align-items: center; height: 68px; margin-bottom: 28px; }
.service-number { align-self: flex-start; color: #d1c1aa; font-family: Georgia, serif; font-size: 16px; line-height: 1; }
.service-icon { width: 70px; height: 62px; margin-left: 21px; stroke: #8c7150; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.service-label { margin-left: auto; color: var(--muted); font-size: 8px; letter-spacing: .11em; }
.service-benefit { font-size: 13px; letter-spacing: .035em; }
.service-card h3 { margin-top: 7px; font-family: var(--serif); font-size: 29px; letter-spacing: .03em; }
.service-description { min-height: 89px; margin-top: 19px; color: var(--muted); font-size: 14px; line-height: 2.1; }
.service-list { display: grid; gap: 10px; margin-block: 24px 31px; list-style: none; }
.service-list li { position: relative; padding-left: 21px; font-size: 13px; }
.service-list li::before { position: absolute; top: 7px; left: 2px; width: 8px; height: 5px; border-bottom: 1px solid #9d815b; border-left: 1px solid #9d815b; transform: rotate(-45deg); content: ""; }
.service-link { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 19px; border-top: 1px solid var(--line); font-size: 11px; }
.service-link > span { font-size: 20px; transition: transform .2s; }
.service-link:hover > span { transform: translate(3px, -3px); }
.service-example { margin-bottom: 26px; padding: 16px 18px; border-left: 2px solid var(--sand); background: var(--paper); }
.service-example h4 { font-size: 12px; font-weight: 600; }
.service-example p { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.9; }

/* Selected work — 公開サイトのスクリーンショットを掲載。 */
.works { border-top: 1px solid var(--line); }
.work-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: var(--white); }
.work-cover { display: flex; flex-direction: column; justify-content: center; gap: 14px; min-width: 0; padding: 32px; background: var(--beige); }
.work-browser { overflow: hidden; border: 1px solid #d4c7b5; border-radius: 5px; background: var(--white); box-shadow: 0 12px 28px #493a2a12; }
.work-browser-bar { display: flex; align-items: center; gap: 14px; min-height: 30px; padding: 7px 12px; background: var(--paper); color: var(--muted); font-size: 10px; line-height: 1.5; }
.work-browser-dots { display: flex; flex-shrink: 0; gap: 4px; }
.work-browser-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--sand); }
.work-browser img { width: 100%; height: auto; }
.work-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: 45px; }
.work-category { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.work-content h3 { margin-top: 23px; font-family: Georgia, var(--serif); font-size: clamp(24px, 2.7vw, 34px); line-height: 1.5; letter-spacing: .025em; }
.work-content h3 > span { font-family: var(--serif); font-size: .6em; }
.work-description { margin-top: 19px; color: var(--muted); font-size: 14px; line-height: 2.1; }
.work-visit { display: inline-flex; align-items: center; gap: 32px; min-height: 44px; margin-top: 26px; padding-block: 10px; border-bottom: 1px solid var(--sand); font-size: 12px; transition: color .2s, border-color .2s; }
.work-visit:hover { color: var(--brown); border-color: var(--brown); }
.work-visit > span { font-size: 20px; }

/* Approach */
.approach { background: #eee7dc; }
.approach-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.approach-intro h2 { font-size: 38px; line-height: 1.75; }
.approach-intro h2 > span { color: #8c7150; }
.approach-intro > p:last-of-type { margin-top: 24px; color: var(--muted); font-size: 14px; line-height: 2.2; }
.connection-art { position: relative; width: 160px; height: 83px; margin-top: 39px; }
.connection-art > span { position: absolute; top: 4px; left: 0; width: 102px; height: 67px; border: 1px solid #a08763; border-radius: 50%; transform: rotate(30deg); }
.connection-art > span:nth-child(2) { top: 7px; left: 58px; border-color: #c1ac8b; transform: rotate(-30deg); }
.connection-art > i { position: absolute; top: 55px; right: 9px; width: 5px; height: 5px; background: #a68a64; border: 4px solid #eee7dc; border-radius: 50%; box-sizing: content-box; }
.approach-points { align-self: center; }
.approach-point { display: flex; gap: 25px; padding-block: 29px; border-bottom: 1px solid #d7cbb9; }
.approach-point:first-child { padding-top: 5px; }
.point-number { flex: 0 0 28px; padding-top: 20px; color: #a18a69; font-family: Georgia, serif; font-size: 17px; }
.point-english { color: #6e604f; font-size: 8px; letter-spacing: .15em; }
.approach-point h3 { margin-block: 7px 12px; font-family: var(--serif); font-size: 24px; letter-spacing: .02em; }
.approach-point div > p:last-child { color: var(--muted); font-size: 14px; line-height: 2.1; }

/* Process */
.flow-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 35px; padding-top: 18px; list-style: none; }
.flow-list > li { position: relative; }
.flow-list > li:not(:last-child)::after { position: absolute; top: 33px; left: 92px; width: calc(100% - 67px); height: 1px; background: var(--line); content: ""; }
.step-number { display: flex; align-items: center; justify-content: center; gap: 6px; width: 71px; height: 71px; border: 1px solid #d9c9b2; border-radius: 50%; color: #806445; font-family: Georgia, serif; font-size: 23px; }
.step-number > small { padding-top: 5px; font-family: var(--sans); font-size: 6px; letter-spacing: .06em; }
.flow-list h3 { margin-block: 23px 12px; font-family: var(--serif); font-size: 19px; }
.flow-list p { color: var(--muted); font-size: 14px; line-height: 2; }

/* About */
.about { padding-top: 30px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.about-visual { position: relative; display: flex; justify-content: center; align-items: center; aspect-ratio: 1 / 1.08; padding: 62px 48px; overflow: hidden; background: #eee6d9; border: 1px solid #e9dfd0; }
.about-logo { width: 100%; max-width: 325px; }
.about-visual-bottom { position: absolute; right: 27px; bottom: 23px; left: 27px; display: flex; justify-content: space-between; color: #8b765a; font-size: 7px; letter-spacing: .1em; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 2.2; }
.business-info { margin: 25px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.business-info > div { display: grid; grid-template-columns: 88px 1fr; gap: 10px; margin-top: 12px; font-size: 12px; }
.business-info dt { color: var(--muted); }
.business-info dd { margin: 0; }

/* Native, keyboard-accessible questions */
.faq { padding-block: 65px 95px; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.5fr; gap: 70px; }
.faq h2 { font-size: 29px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; gap: 14px; min-height: 76px; padding-block: 20px; cursor: pointer; list-style: none; font-size: 14px; }
.faq-list summary::-webkit-details-marker { display: none; }
.question-mark { align-self: flex-start; color: #9e825d; font-family: Georgia, serif; font-size: 19px; line-height: 1.3; }
.faq-toggle { position: relative; flex: 0 0 12px; width: 12px; height: 12px; margin-left: auto; }
.faq-toggle::before, .faq-toggle::after { position: absolute; top: 5px; left: 0; width: 12px; height: 1px; background: #977e5c; content: ""; }
.faq-toggle::after { transform: rotate(90deg); transition: transform .2s; }
details[open] .faq-toggle::after { transform: rotate(0); }
.faq-answer { padding: 0 28px 24px 35px; color: var(--muted); font-size: 14px; line-height: 2.1; }

/* Contact & footer */
.contact { position: relative; overflow: hidden; padding-block: 70px; background: #5a4631; color: var(--paper); }
.contact-orbit { position: absolute; top: -160px; right: 8%; width: 640px; height: 640px; border: 1px solid #99816645; border-radius: 50%; pointer-events: none; }
.contact-orbit::after { position: absolute; top: 45px; left: 120px; width: 530px; height: 530px; border: 1px solid #99816635; border-radius: 50%; content: ""; }
.contact-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.contact .eyebrow { color: #d8c2a1; }
.contact h2 { font-size: 36px; }
.contact-copy > p:not(.eyebrow) { margin-top: 19px; color: #e0d5c7; font-size: 14px; line-height: 2.1; }
.contact-copy { min-width: 0; }
.contact-guide { margin-top: 26px; padding-top: 22px; border-top: 1px solid #9a8267; }
.contact-guide h3 { font-size: 14px; font-weight: 600; }
.contact-guide p { margin-top: 7px; color: #e0d5c7; font-size: 12px; line-height: 2; }
.contact-guide a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 8px; font-size: 12px; text-decoration: underline; text-underline-offset: 5px; }
.contact-note { margin-top: 12px; color: #e0d5c7; font-size: 12px; line-height: 1.9; }
.contact-action { width: 360px; max-width: 100%; }
.contact-email { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 23px; border: 1px solid #d8c4a6; border-radius: 3px; background: var(--paper); color: var(--ink); transition: background .2s, transform .2s; }
.contact-email:hover { background: #eee2ce; transform: translateY(-2px); }
.contact-link-label { display: block; font-size: 14px; }
.contact-address { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; }
.contact-address > span { min-width: 0; overflow-wrap: anywhere; }
.contact-icon { width: 16px; height: 16px; flex-shrink: 0; }
.contact-email > span:first-child { min-width: 0; }
.contact-link-arrow { font-size: 24px; }
.contact-phone { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-top: 16px; padding-block: 10px; }
.contact-phone > span:first-child { color: #ddcdb7; font-size: 9px; }
.contact-phone strong { display: inline-flex; align-items: center; gap: 7px; font-family: Georgia, serif; font-size: 20px; font-weight: 400; white-space: nowrap; }
.contact-phone > span:last-child { font-size: 18px; }
.contact-phone:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.contact a:focus-visible { outline-color: #e8d2ad; }
.site-footer { padding-top: 36px; }
.footer-main { display: flex; align-items: center; gap: 32px; padding-bottom: 27px; }
.footer-main .brand-name { font-size: 20px; }
.footer-main .brand-name > span { font-size: 17px; }
.footer-main > p { color: var(--muted); font-family: var(--serif); font-size: 10px; letter-spacing: .06em; }
.back-to-top { display: flex; align-items: center; gap: 15px; min-height: 44px; margin-left: auto; font-size: 10px; letter-spacing: .1em; }
.back-to-top > span { font-size: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 21px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.footer-bottom > small { font-size: 9px; }

/* Tablet */
@media (min-width: 1440px) {
  .hero-grid { min-height: 685px; }
}
@media (max-width: 1100px) {
  .container { width: calc(100% - 72px); }
  .header-inner { width: calc(100% - 48px); gap: 20px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 10px; }
  .brand-name { font-size: 21px; }
  .brand-name > span { font-size: 18px; }
  .header-contact { gap: 15px; padding-inline: 14px; font-size: 10px; }
  .hero-grid { min-height: 570px; grid-template-columns: 1fr 1fr; gap: 4px; }
  .hero-actions { gap: 17px; }
  .button { padding-inline: 20px; gap: 25px; }
  .sample-website { padding: 0 12px 12px; }
  .brand-seal { width: 95px; height: 95px; }
  .seal-mark { width: 54px; height: 54px; }
  .sample-dashboard { grid-template-columns: 32px 1fr; min-height: 190px; }
  .dashboard-main { padding: 10px; }
  .dashboard-stats { margin-top: 7px; }
  .dashboard-stats > div { padding: 5px 7px; }
  .dashboard-stats strong { font-size: 22px; }
  .dashboard-chart { margin-top: 7px; }
  .chart-bars { height: 42px; }
  .ribbon-inner { gap: 15px; }
  .ribbon-inner > span:not(.ribbon-knot, .ribbon-caption) { font-size: 13px; }
  .ribbon-inner small { display: block; margin-left: 0; font-size: 7px; }
  .ribbon-caption { padding-left: 20px; font-size: 10px; }
  .service-card { padding-inline: 28px; }
  .service-card h3 { font-size: 26px; }
  .approach-grid { gap: 65px; }
  .about-grid { gap: 50px; }
  .faq-grid { gap: 45px; }
}

/* Compact tablet: keep navigation visible, no JavaScript needed. */
@media (max-width: 900px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 20px; height: auto; padding-top: 13px; }
  .brand { width: fit-content; }
  .header-contact { grid-column: 2; grid-row: 1; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 35px; width: 100%; margin: 5px 0 0; }
  .main-nav a { padding-block: 10px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; padding-top: 43px; }
  .hero-copy { padding-block: 10px; }
  h1 { font-size: 63px; }
  .hero-art { width: min(560px, 83%); margin: -40px -6px 0 auto; }
  .art-stage { aspect-ratio: 550 / 500; }
  .hero-orbit { top: 170px; right: -330px; width: 900px; height: 900px; }
  .system-preview { top: 50%; }
  .sample-dashboard { min-height: 200px; }
  .dashboard-main { padding: 13px; }
  .dashboard-stats strong { font-size: 26px; }
  .chart-bars { height: 47px; }
  .hero-bottom { padding-top: 0; }
  .section { padding-block: 80px; }
  .section-heading { display: block; }
  .section-intro { margin-top: 20px; }
  .service-grid { gap: 20px; }
  .service-card { padding-inline: 23px; }
  .service-card-top { flex-wrap: wrap; margin-bottom: 40px; }
  .service-label { width: 100%; margin-top: 10px; }
  .service-card h3 { font-size: 23px; }
  .service-description { min-height: 126px; }
  .service-list { min-height: 186px; align-content: start; }
  .work-cover { padding: 25px; }
  .work-content { padding: 28px; }
  .approach-grid { gap: 35px; }
  .approach-intro h2 { font-size: 31px; }
  .approach-point { gap: 15px; }
  .approach-point h3 { font-size: 20px; }
  .flow-list { gap: 24px; }
  .flow-list h3 { font-size: 16px; }
  .flow-list > li:not(:last-child)::after { width: calc(100% - 72px); }
  .about-grid { gap: 35px; }
  .about-visual { padding: 60px 25px; aspect-ratio: 1 / 1.45; }
  .about-visual-bottom { right: 18px; left: 18px; font-size: 5px; }
  .faq-grid { grid-template-columns: 1fr; gap: 25px; }
  .contact h2 { font-size: 31px; }
  .contact-action { width: 300px; flex-shrink: 0; }
  .contact-phone { gap: 8px; }
  .contact-phone > span:first-child { font-size: 8px; }
  .contact-phone strong { font-size: 18px; }
  .footer-main { flex-wrap: wrap; gap: 16px; }
  .footer-main > p { order: 3; width: 100%; }
}

@media (min-width: 601px) and (max-width: 740px) {
  .contact-inner { flex-direction: column; align-items: flex-start; gap: 30px; }
  .contact-action { width: 100%; max-width: 400px; }
}

@media (max-width: 740px) {
  .work-card { grid-template-columns: minmax(0, 1fr); }
  .work-cover { padding: 22px; }
  .work-content { padding: 30px 26px; }
  .work-content h3 { margin-top: 19px; font-size: 28px; }
}

/* Phone */
@media (max-width: 600px) {
  html { scroll-padding-top: 122px; }
  .container { width: calc(100% - 44px); }
  .section { padding-block: 62px; }
  .header-inner { width: calc(100% - 32px); padding-top: 10px; }
  .brand { gap: 5px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 18px; letter-spacing: .05em; }
  .brand-name > span { margin-left: 3px; font-size: 15px; }
  .header-contact { gap: 12px; padding: 9px 11px; font-size: 10px; }
  .header-contact > span { font-size: 15px; }
  .main-nav { justify-content: space-between; gap: 8px; margin-top: 7px; }
  .main-nav a { padding-block: 10px 12px; font-size: 12px; }
  .eyebrow { gap: 8px; font-size: 8px; letter-spacing: .15em; }
  .eyebrow > span { width: 20px; }
  .hero-grid { padding-top: 30px; padding-bottom: 0; }
  .hero-category { margin-top: 20px; font-size: 9px; letter-spacing: .025em; }
  h1 { margin-block: 16px 22px; font-size: clamp(40px, 10.9vw, 61px); line-height: 1.55; letter-spacing: .035em; }
  .headline-accent::after { height: 6px; bottom: 0; }
  .hero-description { font-size: 13px; line-height: 2.1; }
  .hero-actions { gap: 22px; margin-top: 26px; }
  .button { min-height: 49px; padding: 12px 18px; gap: 23px; font-size: 10px; }
  .button > span { font-size: 18px; }
  .text-link { gap: 9px; font-size: 10px; }
  .circle-arrow { width: 26px; height: 26px; font-size: 12px; }
  .hero-art { width: 100%; max-width: 430px; margin: 23px auto 0; }
  .art-stage { aspect-ratio: 350 / 345; }
  .hero-art figcaption { margin-top: 12px; font-size: 10px; }
  .hero-orbit { top: 350px; right: -150px; width: 600px; height: 600px; }
  .brand-seal { top: 0; right: -3px; width: 82px; height: 82px; gap: 0; }
  .seal-mark { width: 48px; height: 48px; }
  .brand-seal > span:last-child { font-size: 5px; }
  .website-preview { top: 12%; left: 1%; width: 85%; border-radius: 5px; }
  .window-bar { height: 21px; padding-inline: 8px; font-size: 4px; }
  .window-dots { gap: 3px; }
  .window-dots i { width: 3px; height: 3px; }
  .sample-website { padding: 0 10px 9px; }
  .sample-nav { min-height: 36px; }
  .sample-nav > span { font-size: 3px; }
  .sample-nav .sample-wordmark { font-size: 15px; }
  .sample-gallery-title p { font-size: clamp(17px, 5.5vw, 26px); }
  .sample-gallery-title > span { font-size: 3px; }
  .sample-gallery-heading { margin-block: 8px 5px; }
  .sample-gallery-heading > span:first-child { font-size: 9px; }
  .sample-gallery-heading > span:last-child { font-size: 4px; }
  .sample-gallery { gap: 5px; }
  .sample-project { height: 33px; }
  .sample-gallery > div > span:last-child { font-size: 3px; }
  .system-preview { top: 49%; right: 0; width: 68%; border-radius: 5px; }
  .sample-dashboard { grid-template-columns: 27px 1fr; min-height: 161px; }
  .dashboard-sidebar { gap: 8px; padding-block: 8px; }
  .dashboard-symbol { font-size: 12px; }
  .sidebar-item { width: 17px; height: 17px; font-size: 10px; }
  .dashboard-main { padding: 9px; }
  .dashboard-heading { font-size: 6px; }
  .dashboard-avatar { width: 14px; height: 14px; font-size: 7px; }
  .dashboard-stats { gap: 5px; margin-top: 7px; }
  .dashboard-stats > div { padding: 5px; }
  .dashboard-stats > div > span { font-size: 4px; }
  .dashboard-stats strong { font-size: 20px; }
  .dashboard-stats small { font-size: 6px; }
  .dashboard-chart { margin-top: 6px; }
  .chart-title { font-size: 5px; }
  .chart-bars { gap: 6px; height: 38px; margin-top: 3px; padding-inline: 3px; }
  .chart-labels { font-size: 3px; }
  .art-orbit-one { height: 87%; }
  .art-orbit-two { height: 97%; }
  .orbit-dot-two { bottom: 0; }
  .hero-bottom { margin-top: 22px; padding-bottom: 24px; }
  .hero-bottom > p { font-size: 8px; letter-spacing: .025em; }
  .hero-bottom > a { gap: 8px; font-size: 6px; letter-spacing: .08em; }
  .hero-bottom > a > span { font-size: 16px; }
  .ribbon-inner { justify-content: center; gap: 23px; min-height: 86px; }
  .ribbon-inner > span:not(.ribbon-knot, .ribbon-caption) { font-size: 12px; letter-spacing: .01em; }
  .ribbon-inner small { margin-top: 2px; font-size: 6px; letter-spacing: .05em; }
  .ribbon-knot { font-size: 21px; }
  .ribbon-caption { display: none; }
  h2 { margin-top: 15px; font-size: 27px; line-height: 1.7; letter-spacing: .03em; }
  .mobile-only { display: block; }
  .section-heading { margin-bottom: 29px; }
  .section-intro { margin-top: 15px; font-size: 13px; }
  .service-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card { padding: 25px 25px 0; }
  .service-card-top { flex-wrap: nowrap; height: 58px; margin-bottom: 22px; }
  .service-number { font-size: 15px; }
  .service-icon { width: 58px; height: 53px; margin-left: 16px; }
  .service-label { width: auto; max-width: 130px; margin-top: 0; font-size: 7px; }
  .service-benefit { font-size: 12px; }
  .service-card h3 { margin-top: 5px; font-size: 26px; }
  .service-description { min-height: 0; margin-top: 15px; font-size: 14px; }
  .service-list { min-height: 0; gap: 9px; margin-block: 23px 25px; }
  .service-list li { font-size: 13px; }
  .service-link { padding-block: 18px; font-size: 12px; }
  .approach-grid { grid-template-columns: 1fr; gap: 35px; }
  .approach-intro { position: relative; }
  .approach-intro h2 { font-size: 30px; }
  .approach-intro > p:last-of-type { margin-top: 19px; font-size: 14px; }
  .connection-art { position: absolute; top: 48px; right: -10px; transform: scale(.65); transform-origin: right top; }
  .approach-point { gap: 17px; padding-block: 24px; }
  .point-number { flex-basis: 22px; font-size: 15px; }
  .approach-point h3 { font-size: 22px; }
  .approach-point div > p:last-child { font-size: 14px; }
  .flow-list { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .flow-list > li { display: grid; grid-template-columns: 61px 1fr; grid-template-rows: auto 1fr; column-gap: 22px; padding-block: 16px 26px; }
  .step-number { grid-column: 1; grid-row: 1 / 3; width: 60px; height: 60px; gap: 5px; font-size: 22px; }
  .step-number > small { font-size: 5px; }
  .flow-list h3 { grid-column: 2; grid-row: 1; margin-block: 0 7px; font-size: 19px; }
  .flow-list p { grid-column: 2; grid-row: 2; font-size: 14px; }
  .flow-list > li:not(:last-child)::after { top: 85px; left: 30px; width: 1px; height: calc(100% - 79px); }
  .about { padding-top: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-visual { padding: 57px 62px; aspect-ratio: 1.05 / 1; }
  .about-logo { max-width: 240px; }
  .about-visual-bottom { right: 20px; bottom: 17px; left: 20px; font-size: 6px; }
  .about-copy > p:not(.eyebrow) { font-size: 14px; }
  .business-info { margin-top: 22px; }
  .business-info > div { grid-template-columns: 70px 1fr; }
  .faq-grid { gap: 20px; }
  .faq h2 { font-size: 27px; }
  .faq-list summary { gap: 11px; min-height: 79px; font-size: 14px; }
  .question-mark { padding-top: 2px; font-size: 18px; }
  .faq-answer { padding: 0 20px 22px 29px; font-size: 14px; }
  .contact { padding-block: 54px; }
  .contact-inner { flex-direction: column; align-items: flex-start; gap: 35px; }
  .contact h2 { font-size: 29px; line-height: 1.8; }
  .contact-copy > p:not(.eyebrow) { margin-top: 16px; font-size: 13px; }
  .contact-action { width: 100%; min-width: 0; }
  .contact-email { padding: 17px 20px; }
  .contact-link-label { font-size: 14px; }
  .contact-phone > span:first-child { font-size: 9px; }
  .contact-phone strong { font-size: 20px; }
  .contact-orbit { top: -110px; right: -360px; }
  .site-footer { padding-top: 28px; }
  .footer-main { padding-bottom: 25px; gap: 14px; }
  .footer-main .brand-name { font-size: 18px; }
  .footer-main .brand-name > span { font-size: 15px; }
  .footer-main > p { font-size: 9px; }
  .back-to-top { gap: 10px; font-size: 10px; }
  .footer-bottom { flex-wrap: wrap; gap: 8px; padding-block: 18px; font-size: 8px; }
  .footer-bottom > small { font-size: 8px; }
}

@media (max-width: 360px) {
  .contact-phone { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .contact-phone > span:first-child { grid-column: 1 / -1; }
  h1 { font-size: 36px; }
  .art-stage { aspect-ratio: 350 / 410; }
  .container { width: calc(100% - 36px); }
  .header-inner { width: calc(100% - 24px); }
  .brand-name { font-size: 16px; }
  .brand-name > span { font-size: 13px; }
  .header-contact { gap: 8px; padding-inline: 9px; font-size: 8px; }
  .main-nav a { font-size: 11px; }
  .hero-actions { gap: 14px; }
  .button { padding-inline: 14px; gap: 15px; }
  .small-break { display: block; }
  .hero-art figcaption { margin-top: 21px; font-size: 9px; }
  .sample-dashboard { min-height: 150px; }
  .dashboard-main { padding: 7px; }
  .chart-bars { height: 32px; }
  .ribbon-inner { gap: 17px; }
  .ribbon-inner > span:not(.ribbon-knot, .ribbon-caption) { font-size: 11px; }
  .service-card { padding-inline: 20px; }
  .service-card h3 { font-size: 23px; }
  .service-label { font-size: 6px; }
  .connection-art { opacity: .55; transform: scale(.5); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
