:root {
  --green: #02a29a;
  --green-dark: #087b76;
  --green-deep: #113f3d;
  --mint: #edfbf8;
  --aqua: #c9f2ed;
  --ink: #173b3a;
  --gray: #617573;
  --line: rgba(2, 162, 154, 0.18);
  --shadow: 0 18px 50px rgba(2, 120, 114, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, sans-serif; font-size: 16px; line-height: 1.8; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 48px)); }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--green-deep); color: #fff; }
.skip-link:focus { top: 12px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 30; height: 94px; display: flex; align-items: center; }
.header-inner { width: min(1360px, calc(100% - 56px)); margin-inline: auto; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--green); font-weight: 800; line-height: 1; letter-spacing: 0.045em; }
.brand-mark { width: 39px; height: 39px; flex: 0 0 auto; position: relative; border: 4px solid currentColor; border-radius: 50% 50% 50% 12%; transform: rotate(-14deg); }
.brand-mark::after { content: ""; position: absolute; width: 13px; height: 13px; border-radius: 50%; background: currentColor; top: 8px; left: 9px; }
.brand-copy { white-space: nowrap; }
.brand small { display: block; margin-top: 8px; color: #6c7d7c; font-size: 9px; letter-spacing: 0.1em; font-weight: 600; }
.custom-logo-link { display: inline-flex; }
.custom-logo { width: auto; max-width: min(470px, 42vw); max-height: 54px; }
.mobile-company-name { display: none; }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); color: #496260; font-size: 14px; font-weight: 700; }
.primary-nav li, .footer-nav li { margin: 0; padding: 0; list-style: none; }
.primary-nav a { white-space: nowrap; transition: color 0.2s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--green); }
.primary-nav .nav-contact { padding: 12px 23px; border-radius: 99px; background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(2, 162, 154, 0.18); }
.primary-nav .nav-contact:hover, .primary-nav .nav-contact:focus-visible { color: #fff; background: var(--green-dark); }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; padding: 0; border: 0; background: transparent; color: var(--green); position: relative; }
.menu-toggle span { position: absolute; width: 26px; height: 2px; left: 10px; background: currentColor; border-radius: 99px; transition: 0.2s ease; }
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 30px; }

.hero { min-height: 760px; padding: 150px 0 85px; display: grid; align-items: center; position: relative; overflow: hidden; background: linear-gradient(116deg, #fff 8%, #f8ffff 54%, #edfffc 100%); }
.hero::after { content: ""; position: absolute; width: 650px; height: 650px; right: -200px; top: -180px; border: 100px solid rgba(2, 162, 154, 0.055); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 76px; }
.eyebrow, .section-label { margin: 0; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: 0.2em; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
h1, h2, h3, p { overflow-wrap: anywhere; }
.hero h1 { margin: 18px 0 24px; color: var(--green); font-size: clamp(44px, 4.2vw, 60px); line-height: 1.3; letter-spacing: 0.02em; }
.hero h1 span { display: block; }
.hero h1 span:first-child { white-space: nowrap; }
.hero-lead { max-width: 620px; margin: 0 0 34px; color: #486462; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-width: 210px; min-height: 58px; padding: 14px 24px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; font-size: 14px; font-weight: 700; transition: 0.22s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--green); color: #fff; box-shadow: 0 10px 26px rgba(2, 162, 154, 0.22); }
.button-secondary { background: #fff; color: var(--green); border: 1px solid var(--line); }
.hero-visual { min-height: 520px; position: relative; isolation: isolate; perspective: 900px; --back-x: 0px; --back-y: 0px; --art-x: 0px; --art-y: 0px; --front-x: 0px; --front-y: 0px; }
.hero-depth { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.hero-scene-back { z-index: 0; transform: translate3d(var(--back-x), var(--back-y), 0); transition: transform 0.8s cubic-bezier(0.2, 0.75, 0.25, 1); }
.scene-halo { position: absolute; width: 430px; height: 430px; left: 50%; top: 48%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(121, 231, 220, 0.54), rgba(2, 162, 154, 0.11) 54%, rgba(2, 162, 154, 0) 73%); transform: translate(-50%, -50%); animation: scene-breathe 9s ease-in-out infinite alternate; }
.scene-grid { position: absolute; width: 410px; height: 250px; left: 50%; bottom: 45px; opacity: 0.42; background-image: linear-gradient(rgba(2, 162, 154, 0.11) 1px, transparent 1px), linear-gradient(90deg, rgba(2, 162, 154, 0.11) 1px, transparent 1px); background-size: 34px 34px; transform: translateX(-50%) perspective(420px) rotateX(66deg); transform-origin: center bottom; -webkit-mask-image: radial-gradient(ellipse, #000 25%, transparent 72%); mask-image: radial-gradient(ellipse, #000 25%, transparent 72%); }
.hero-scene-art { z-index: 1; display: grid; place-items: center; transform: translate3d(var(--art-x), var(--art-y), 18px); transition: transform 0.65s cubic-bezier(0.2, 0.75, 0.25, 1); }
.hero-scene-art img { width: min(680px, 120%); max-width: none; filter: drop-shadow(0 28px 32px rgba(6, 87, 82, 0.14)); animation: scene-art-float 7.5s ease-in-out infinite; }
.hero-scene-front { z-index: 2; transform: translate3d(var(--front-x), var(--front-y), 42px); transition: transform 0.48s cubic-bezier(0.2, 0.75, 0.25, 1); }
.scene-chip { position: absolute; padding: 10px 16px; border: 1px solid rgba(2, 162, 154, 0.15); border-radius: 99px; background: rgba(255, 255, 255, 0.88); color: var(--green-dark); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; box-shadow: 0 12px 34px rgba(4, 91, 86, 0.13); backdrop-filter: blur(8px); }
.chip-training { left: 4px; top: 112px; animation: scene-chip-one 6.8s ease-in-out infinite; }
.chip-field { right: -12px; top: 185px; animation: scene-chip-two 7.4s ease-in-out infinite; }
.scene-node { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 9px rgba(2, 162, 154, 0.1); }
.node-one { left: 10%; bottom: 112px; }
.node-two { right: 8%; bottom: 105px; animation: scene-node-pulse 3.4s ease-in-out infinite; }
.hero-scene-caption { position: absolute; z-index: 3; right: -4px; bottom: 42px; margin: 0; padding: 17px 21px; border-radius: 16px; background: rgba(255, 255, 255, 0.92); color: var(--green); font-size: 14px; font-weight: 800; line-height: 1.65; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.hero-scene-caption small { display: block; margin-bottom: 4px; color: #77918f; font-size: 8px; letter-spacing: 0.16em; }
@keyframes scene-breathe { from { transform: translate(-52%, -49%) scale(0.94); opacity: 0.75; } to { transform: translate(-48%, -51%) scale(1.05); opacity: 1; } }
@keyframes scene-art-float { 0%, 100% { transform: translateY(0) rotate(-0.35deg); } 50% { transform: translateY(-10px) rotate(0.35deg); } }
@keyframes scene-chip-one { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes scene-chip-two { 0%, 100% { transform: translateY(-5px); } 50% { transform: translateY(6px); } }
@keyframes scene-node-pulse { 0%, 100% { opacity: 0.5; transform: scale(0.82); } 50% { opacity: 1; transform: scale(1); } }

.section { padding: 110px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 0.85fr; gap: 70px; align-items: end; margin-bottom: 52px; }
.section-heading.compact { grid-template-columns: 1fr; }
.section-heading h2, .about h2, .company h2, .contact h2, .archive-header h1, .entry-content h1 { margin: 10px 0 0; font-size: clamp(32px, 4vw, 50px); line-height: 1.4; letter-spacing: 0.04em; }
.section-heading > p, .about p { margin: 0; color: var(--gray); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { min-height: 390px; border: 1px solid var(--line); border-radius: 24px; background: #fff; overflow: hidden; transition: 0.25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-media { height: 168px; background-image: var(--service-image, url('../images/service-panorama.jpg')); background-size: 300% auto; background-repeat: no-repeat; }
.service-media-one { background-position: left center; }
.service-media-two { background-position: center center; }
.service-media-three { background-position: right center; }
.service-card-body { padding: 26px 30px 32px; }
.card-number { color: var(--green); font-size: 12px; font-weight: 800; }
.service-icon { width: 80px; height: 80px; margin: 30px 0; border-radius: 50%; background: var(--mint); color: var(--green); display: grid; place-items: center; font-size: 28px; }
.service-card h3 { margin: 16px 0 10px; font-size: 22px; }
.service-card p { margin: 0; color: var(--gray); font-size: 14px; }

.philosophy { background: #fff; }
.philosophy-main { --philosophy-x: 50%; --philosophy-y: 50%; margin-bottom: 20px; padding: 54px; border-radius: 30px; color: #fff; position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(135deg, var(--green-deep), #07928a); }
.philosophy-main::before { content: ""; position: absolute; z-index: 0; inset: 0; background: radial-gradient(440px circle at var(--philosophy-x) var(--philosophy-y), rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 66%); pointer-events: none; }
.philosophy-main > * { position: relative; z-index: 1; }
.philosophy-main p, .value-grid article > p { margin: 0; color: #9be5df; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; }
.philosophy-main h3 { margin: 18px 0 0; font-size: clamp(28px, 4vw, 48px); line-height: 1.55; letter-spacing: 0.04em; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-grid article { min-height: 215px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; }
.value-grid article > p { color: var(--green); }
.value-grid h3 { margin: 26px 0 0; font-size: 20px; line-height: 1.7; }
.value-grid h3.keep-line { white-space: nowrap; }

.about { background: var(--mint); }
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 82px; align-items: center; }
.about-visual { min-height: 430px; margin: 0; border-radius: 30px; position: relative; overflow: hidden; background: #bfeee8; box-shadow: var(--shadow); }
.about-visual img { width: 100%; height: 100%; min-height: 430px; position: absolute; inset: 0; object-fit: cover; object-position: 50% center; }
.about-visual::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(4, 75, 71, 0.72)); }
.about-visual figcaption { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 22px; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; }
.about h2 { margin-bottom: 24px; }

.flow-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.flow-grid li { min-height: 195px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #f7fcfb; position: relative; }
.flow-grid li:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 50%; right: -14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 13px; }
.flow-grid span { color: var(--green); font-size: 27px; font-weight: 800; }
.flow-grid h3 { margin: 24px 0 4px; font-size: 18px; }
.flow-grid p { margin: 0; color: var(--gray); font-size: 13px; }

.news { background: #fff; }
.news-list { border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 130px 120px 1fr 24px; gap: 20px; align-items: center; padding: 24px 6px; border-bottom: 1px solid var(--line); }
.news-item time { color: #778987; font-size: 13px; }
.news-category { padding: 3px 10px; border-radius: 99px; background: var(--mint); color: var(--green); font-size: 11px; text-align: center; font-weight: 700; }
.news-item strong { font-size: 14px; }
.empty-news { margin: 0; padding: 28px 6px; border-bottom: 1px solid var(--line); color: var(--gray); }

.company { background: #f7fcfb; }
.company-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 90px; }
.company-list { margin: 0; border-top: 1px solid var(--line); }
.company-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 21px 6px; border-bottom: 1px solid var(--line); }
.company-list dt { color: var(--green); font-weight: 800; }
.company-list dd { margin: 0; }
.company-map { grid-column: 1 / -1; height: clamp(280px, 40vw, 470px); margin-top: 18px; overflow: hidden; border-radius: 26px; background: #dce8e6; }
.company-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact { text-align: center; background: linear-gradient(135deg, #eefcf9, #dcf8f4); }
.contact-inner > p:not(.section-label) { color: var(--gray); }
.contact h2 { color: var(--green); }
.contact-page-button { margin-top: 28px; }
.contact-grid { max-width: 920px; margin: 38px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.contact-grid a { min-height: 130px; padding: 26px 28px; border-radius: 22px; position: relative; background: #fff; box-shadow: 0 12px 32px rgba(2, 120, 114, 0.08); }
.contact-grid small { display: block; color: var(--gray); margin-bottom: 8px; }
.contact-grid strong { color: var(--green); font-size: 17px; }
.contact-grid span { position: absolute; right: 28px; bottom: 24px; color: var(--green); font-size: 23px; }

.site-footer { padding: 68px 0 26px; background: var(--green-deep); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; }
.footer-brand { color: #fff; }
.footer-logo { display: block; width: auto; max-width: min(100%, 390px); height: auto; max-height: 72px; object-fit: contain; object-position: left center; }
.footer-brand small { color: #a5c5c2; }
.footer-address { max-width: 410px; margin: 28px 0 0; color: #b8cecc; font-size: 13px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.social-link { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(201, 242, 237, 0.42); border-radius: 50%; color: var(--aqua); transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.social-link:hover, .social-link:focus-visible { border-color: #fff; background: #fff; color: var(--green-deep); }
.social-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-link .social-icon-fill { fill: currentColor; stroke: none; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; font-size: 13px; }
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--aqua); }
.copyright { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); color: #9db9b7; font-size: 11px; }
.back-to-top { position: fixed; z-index: 20; right: 24px; bottom: 24px; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--green); color: #fff; font-size: 23px; line-height: 1; box-shadow: 0 10px 28px rgba(2, 120, 114, 0.25); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease; }
.back-to-top:hover, .back-to-top:focus-visible { background: var(--green-dark); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.content-page { min-height: 70vh; padding: 160px 0 100px; background: linear-gradient(116deg, #fff 8%, #f8ffff 54%, #edfffc 100%); }
.archive-header, .entry-content { margin-bottom: 46px; }
.content-page .entry-content { margin-bottom: 0; padding: clamp(28px, 5vw, 62px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 18px 50px rgba(2, 120, 114, 0.08); }
.post-list { border-top: 1px solid var(--line); }
.post-card { padding: 28px 4px; border-bottom: 1px solid var(--line); }
.post-card time, .entry-content time { color: var(--gray); font-size: 13px; }
.post-card h2 { margin: 8px 0; font-size: 24px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 26px; color: var(--gray); font-size: 13px; }
.breadcrumb a { color: var(--green-dark); text-decoration: none; }
.breadcrumb a:hover, .breadcrumb a:focus-visible { color: var(--green); text-decoration: underline; }
.entry-content h1 { margin-bottom: 28px; }
.entry-content > * { max-width: 100%; }
.entry-content a { color: var(--green); text-decoration: underline; }
.entry-content h2 { margin: 58px 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--green-dark); font-size: clamp(24px, 3vw, 32px); line-height: 1.45; }
.entry-content h3 { margin: 34px 0 14px; color: var(--ink); font-size: 20px; line-height: 1.5; }
.entry-content p { margin: 0 0 1.45em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.6em; padding-left: 1.45em; }
.entry-content li + li { margin-top: 0.45em; }
.entry-content li::marker { color: var(--green); }
.entry-content blockquote { margin: 30px 0; padding: 22px 26px; border-left: 4px solid var(--green); background: var(--mint); color: var(--gray); }
.entry-content table { width: 100%; margin: 28px 0; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 14px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--mint); color: var(--green-dark); }
.entry-content figure { margin: 32px 0; }
.entry-content figcaption { margin-top: 10px; color: var(--gray); font-size: 13px; }
.entry-content .wp-block-button__link { border-radius: 999px; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; }

.contact-page { min-height: 70vh; background: #f7fcfb; }
.contact-page-hero { padding: 170px 0 76px; background: linear-gradient(116deg, #fff 8%, #f8ffff 54%, #edfffc 100%); }
.contact-page-hero h1 { margin: 10px 0 18px; color: var(--green); font-size: clamp(40px, 6vw, 68px); line-height: 1.3; }
.contact-page-hero p:last-child { max-width: 680px; margin: 0; color: var(--gray); }
.contact-form-section { padding: 76px 0 110px; }
.contact-form-container { max-width: 930px; }
.inquiry-form { padding: clamp(28px, 5vw, 56px); border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
.form-field { display: grid; gap: 9px; color: var(--ink); font-weight: 700; }
.form-field-wide { grid-column: 1 / -1; }
.form-field em { margin-left: 6px; padding: 2px 7px; border-radius: 99px; background: var(--green); color: #fff; font-size: 11px; font-style: normal; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid rgba(23, 59, 58, 0.18); border-radius: 12px; background: #fbfefd; color: var(--ink); font: inherit; font-weight: 400; outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.form-field input, .form-field select { min-height: 54px; padding: 10px 14px; }
.form-field textarea { min-height: 190px; padding: 14px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(2, 162, 154, 0.1); }
.form-consent { margin-top: 26px; display: flex; justify-content: center; align-items: flex-start; gap: 10px; color: var(--gray); font-size: 14px; }
.form-consent input { margin-top: 6px; accent-color: var(--green); }
.form-consent a { margin-left: 4px; color: var(--green); text-decoration: underline; }
.turnstile-field { display: flex; justify-content: center; margin-top: 22px; }
.form-submit { min-width: 230px; min-height: 58px; margin: 32px auto 0; padding: 14px 28px; border: 0; border-radius: 99px; display: flex; align-items: center; justify-content: center; gap: 24px; background: var(--green); color: #fff; font-weight: 800; cursor: pointer; box-shadow: 0 10px 26px rgba(2, 162, 154, 0.22); transition: 0.22s ease; }
.form-submit:hover, .form-submit:focus-visible { transform: translateY(-2px); background: var(--green-dark); }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.contact-notice { margin-bottom: 24px; padding: 24px 28px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.contact-notice h2 { margin: 0 0 6px; font-size: 22px; }
.contact-notice p { margin: 0; }
.contact-notice-success { border-left: 5px solid var(--green); }
.contact-notice-error { border-left: 5px solid #c74444; }

@media (max-width: 1040px) {
  .primary-nav { gap: 17px; font-size: 13px; }
  .brand-copy { font-size: 14px; }
}

@media (max-width: 1199px) {
  .flow-grid li:not(:last-child)::after { display: none; }
}

@media (max-width: 1100px) {
  .site-header { height: 76px; }
  .header-inner { width: calc(100% - 36px); gap: 16px; }
  .menu-toggle { display: block; z-index: 2; }
  .primary-nav { display: none; position: fixed; z-index: 1; inset: 0; padding: 112px 32px 48px; background: rgba(7, 22, 21, 0.88); color: #fff; box-shadow: none; flex-direction: column; align-items: center; justify-content: center; gap: 24px; backdrop-filter: blur(7px); }
  .primary-nav a { color: #fff; font-size: 18px; }
  .site-header.is-menu-open .primary-nav { display: flex; }
  .site-header.is-menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
  .site-header.is-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-menu-open .menu-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
  .primary-nav .nav-contact { min-width: 210px; text-align: center; }
  body.is-menu-open { overflow: hidden; }
}

@media (max-width: 900px) {
  .hero { min-height: auto; padding: 125px 0 76px; }
  .hero-grid, .section-heading, .about-grid, .company-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { font-size: clamp(40px, 9.5vw, 54px); }
  .hero-visual { min-height: 470px; width: min(680px, 100%); margin-inline: auto; }
  .service-grid, .value-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 280px; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .company-grid { gap: 30px; }
}

@media (max-width: 620px) {
  .container, .narrow { width: calc(100% - 38px); }
  .header-inner { gap: 12px; }
  .brand-logo .custom-logo-link { display: none; }
  .mobile-company-name { display: block; max-width: calc(100vw - 105px); color: var(--green); font-size: 14px; font-weight: 800; letter-spacing: 0.02em; line-height: 1.35; white-space: nowrap; }
  .custom-logo { max-width: calc(100vw - 105px); max-height: 38px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-copy { font-size: 12px; }
  .brand small { font-size: 8px; }
  .section { padding: 78px 0; }
  .hero { padding-top: 116px; }
  .hero h1 { font-size: 35px; letter-spacing: 0; }
  .hero-lead { font-size: 15px; }
  .button { width: 100%; }
  .hero-visual { min-height: 350px; }
  .hero-scene-art img { width: 124%; }
  .scene-halo { width: 330px; height: 330px; }
  .scene-grid { width: 320px; bottom: 20px; }
  .scene-halo, .hero-scene-art img, .scene-chip, .scene-node { animation: none; }
  .chip-training { left: -4px; top: 66px; }
  .chip-field { right: -5px; top: 128px; }
  .hero-scene-caption { right: 0; bottom: 10px; }
  .section-heading { gap: 20px; margin-bottom: 34px; }
  .section-heading h2, .about h2, .company h2, .contact h2 { font-size: 31px; }
  .philosophy-main { padding: 34px 24px; }
  .about-grid { gap: 36px; }
  .about-visual { min-height: 330px; }
  .about-visual img { min-height: 330px; }
  .flow-grid { grid-template-columns: 1fr; gap: 44px; }
  .flow-grid li:not(:last-child)::after { content: "↓"; top: auto; right: auto; bottom: -36px; left: 50%; display: grid; transform: translateX(-50%); }
  .news-item { grid-template-columns: 96px 1fr 24px; gap: 10px; }
  .news-category { grid-column: 1; grid-row: 2; }
  .news-item strong { grid-column: 2 / 4; grid-row: 2; }
  .company-list > div { grid-template-columns: 1fr; gap: 4px; }
  .contact-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .contact-page-hero { padding: 130px 0 60px; }
  .contact-form-section { padding: 54px 0 78px; }
  .inquiry-form { padding: 24px 18px; }
  .form-submit { width: 100%; }
  .contact-grid strong { font-size: 14px; }
  .footer-nav { margin-top: 10px; }
  .back-to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
  .content-page { padding: 125px 0 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .scene-halo, .hero-scene-art img, .scene-chip, .scene-node { animation: none !important; }
  .hero-depth { transform: none !important; transition: none !important; }
}
