:root {
  --navy: #071d2d;
  --navy-2: #0d2b40;
  --navy-3: #03121d;
  --gold: #b78a2d;
  --gold-light: #d8bb71;
  --silver: #aeb5ba;
  --light: #f4f5f6;
  --line: #d9dde0;
  --text: #20252a;
  --muted: #667079;
  --white: #fff;
  --container: 1200px;
  --shadow: 0 18px 50px rgba(7, 29, 45, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 138px; }
body { margin: 0; color: var(--text); font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; line-height: 1.85; background: var(--white); }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.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; }
.skip-link { position: fixed; z-index: 2000; left: 16px; top: -80px; background: var(--navy); color: #fff; padding: 10px 16px; transition: top .2s; }
.skip-link:focus { top: 16px; }
.serif { font-family: "Noto Serif JP", "Yu Mincho", serif; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(7,29,45,.09); backdrop-filter: blur(12px); }
.header-main { height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-logo { display: block; width: clamp(220px, 24vw, 310px); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 28px; color: #fff; background: var(--navy); font-size: 14px; font-weight: 600; letter-spacing: .06em; transition: .25s; }
.header-contact:hover { background: var(--gold); }
.global-nav { border-top: 1px solid rgba(7,29,45,.08); }
.global-nav ul { display: flex; align-items: center; justify-content: center; gap: clamp(30px, 4vw, 62px); min-height: 52px; margin: 0 auto; padding-top: 0; padding-bottom: 0; list-style: none; }
.global-nav a { position: relative; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.global-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--gold); transition: right .25s; }
.global-nav a:hover::after { right: 0; }
.menu-button { display: none; }
.hero { background: var(--navy); }
.hero picture, .hero img { display: block; width: 100%; }
.hero-actions { display: flex; justify-content: center; gap: 16px; padding: 28px 24px 31px; background: linear-gradient(115deg, var(--navy-3), var(--navy-2)); }
.button { display: inline-flex; justify-content: center; align-items: center; min-width: 230px; min-height: 54px; padding: 12px 24px; border: 1px solid transparent; font-weight: 600; letter-spacing: .06em; transition: .25s; cursor: pointer; }
.button--light { color: var(--navy); background: #fff; border-color: #fff; }
.button--light:hover { color: #fff; background: transparent; }
.button--gold { color: #fff; background: var(--gold); border-color: var(--gold); }
.button--gold:hover { color: var(--gold-light); background: transparent; border-color: var(--gold-light); }
.section { position: relative; padding: clamp(78px, 9vw, 126px) 0; overflow: hidden; }
.section-heading { max-width: 820px; margin: 0 auto 50px; text-align: center; }
.section-heading--left { margin-left: 0; text-align: left; }
.section-heading__en { margin: 0 0 8px; color: var(--gold); font-family: Montserrat, sans-serif; font-weight: 700; letter-spacing: .18em; font-size: 13px; }
.section-heading h2 { margin: 0; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: clamp(30px, 4vw, 46px); line-height: 1.4; }
.section-heading h2::after { content: ""; display: block; width: 54px; height: 2px; margin: 22px auto 0; background: var(--gold); transform: skewX(-25deg); }
.section-heading--left h2::after { margin-left: 0; }
.section-heading > p:last-child { margin: 20px 0 0; color: var(--muted); }
.section-heading--dark h2, .section-heading--dark > p:last-child { color: #fff; }
.section--about::before { content: ""; position: absolute; right: -11%; top: -90px; width: 42%; height: 240px; background: var(--light); transform: skewX(-26deg); opacity: .75; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 110px); align-items: center; }
.about-visual { position: relative; min-height: 470px; }
.about-image { position: absolute; inset: 0 42px 20px 0; width: calc(100% - 42px); height: calc(100% - 20px); object-fit: cover; object-position: center; clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%); box-shadow: var(--shadow); }
.about-badge { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; min-width: 215px; padding: 24px 28px; color: #fff; background: var(--navy); box-shadow: var(--shadow); }
.about-badge strong { color: var(--gold-light); font-family: Montserrat, sans-serif; font-size: 19px; letter-spacing: .1em; }
.about-badge span { margin-top: 4px; font-size: 12px; letter-spacing: .16em; }
.about-content .lead { margin: 0 0 26px; color: var(--navy); font-size: clamp(25px, 3.2vw, 39px); line-height: 1.65; }
.about-content > p:not(.lead) { color: #4c555c; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--gold); }
.section--problems, .section--company { background: var(--light); }
.problem-grid, .service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.problem-card { position: relative; min-height: 230px; padding: 34px 32px; background: #fff; border: 1px solid #e3e6e8; transition: .25s; }
.problem-card::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 4px; background: var(--gold); transform: skewX(-30deg); transform-origin: left; }
.problem-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.problem-card span { color: var(--silver); font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 700; }
.problem-card h3 { margin: 18px 0 10px; color: var(--navy); font-size: 20px; }
.problem-card p { margin: 0; color: var(--muted); font-size: 15px; }
.service-grid { gap: 28px; }
.service-card { position: relative; padding: 40px 34px 38px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(7,29,45,.035); overflow: hidden; transition: .3s; }
.service-card::after { content: ""; position: absolute; right: -54px; bottom: -72px; width: 145px; height: 145px; border: 1px solid rgba(183,138,45,.35); transform: rotate(35deg); }
.service-card:hover { color: #fff; background: var(--navy); transform: translateY(-7px); }
.service-card:hover h3, .service-card:hover p { color: #fff; }
.service-card__number { color: var(--gold); font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.service-card__icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 25px 0 20px; color: var(--navy); border: 1px solid var(--silver); font-family: Montserrat, sans-serif; font-size: 23px; font-weight: 700; transform: skewX(-8deg); }
.service-card:hover .service-card__icon { color: var(--gold-light); border-color: var(--gold-light); }
.service-card h3 { margin: 0 0 13px; color: var(--navy); font-size: 21px; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }
.business-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; max-width: 920px; margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.business-list li { position: relative; padding: 20px 22px 20px 58px; color: var(--navy); border-bottom: 1px solid var(--line); }
.business-list li::before { content: counter(list-item, decimal-leading-zero); position: absolute; left: 18px; color: var(--gold); font-family: Montserrat, sans-serif; font-size: 12px; font-weight: 700; }
.section--featured-service-alt { background: var(--light); }
.featured-service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 7vw, 90px); align-items: center; }
.featured-service--reverse .featured-service__visual { order: 2; }
.featured-service__visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.featured-service__visual img { width: 100%; height: 260px; padding: 12px; object-fit: contain; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 28px rgba(7,29,45,.06); }
.featured-service__content .section-heading__en { margin: 0 0 7px; }
.featured-service__content h2 { margin: 0 0 24px; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: clamp(29px, 4vw, 42px); }
.featured-service__content .lead { margin: 0 0 20px; color: var(--navy); font-size: clamp(22px, 2.7vw, 30px); line-height: 1.6; }
.featured-service__content > p:not(.section-heading__en, .lead) { color: #4c555c; }
.featured-service__note { font-size: 12px; }
.section--yg { background: #faf7f7; }
.yg-layout .section-heading { margin-bottom: 38px; }
.yg-showcase { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.55fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.yg-showcase__package img { display: block; width: 100%; height: auto; }
.yg-showcase__panel { padding: clamp(28px, 4vw, 52px); text-align: center; border: 4px double #cfd1d2; background: rgba(255,255,255,.2); }
.yg-showcase__tools { display: block; width: min(100%, 720px); margin: 0 auto clamp(26px, 3vw, 42px); }
.yg-showcase__copy { color: #111; font-size: clamp(15px, 1.6vw, 20px); font-weight: 500; line-height: 1.85; }
.yg-showcase__copy p { margin: 0 0 10px; }
.yg-showcase__panel .text-link { margin-top: 18px; }
.section--clean-room { background: #fff; }
.clean-room-layout .section-heading { margin-bottom: 28px; }
.clean-room-intro { margin: 0 0 clamp(38px, 5vw, 64px); color: #111; font-size: clamp(16px, 1.8vw, 21px); font-weight: 500; line-height: 1.8; text-align: center; }
.clean-room-intro span { white-space: nowrap; }
.clean-room-gallery { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(42px, 8vw, 110px); align-items: center; max-width: 1080px; margin: 0 auto; }
.clean-room-gallery figure { margin: 0; }
.clean-room-gallery img { display: block; width: 100%; height: auto; }
.clean-room-copy { margin-top: clamp(38px, 5vw, 62px); color: #111; font-size: clamp(16px, 1.7vw, 20px); font-weight: 500; line-height: 1.85; text-align: center; }
.clean-room-copy p { margin: 0 0 12px; }
.clean-room-copy .clean-room-copy__note { font-weight: 700; }
.clean-room-copy .text-link { margin-top: 12px; }
.section--strength { color: #fff; background: linear-gradient(125deg, var(--navy-3), var(--navy-2)); }
.section--strength::before { content: ""; position: absolute; left: -10%; top: -100px; width: 55%; height: 230px; border: 1px solid rgba(255,255,255,.08); transform: skewX(-30deg); }
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.strength-item { position: relative; padding: 28px clamp(20px, 3vw, 38px); text-align: center; border-right: 1px solid rgba(255,255,255,.16); }
.strength-item:last-child { border-right: 0; }
.strength-item__number { position: absolute; top: 0; left: 20px; color: var(--gold-light); font-family: Montserrat, sans-serif; font-size: 12px; }
.strength-item__symbol { margin-bottom: 20px; color: #fff; font-size: 46px; line-height: 1; }
.strength-item h3 { margin: 0 0 12px; font-family: "Noto Serif JP", serif; font-size: 23px; }
.strength-item p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; }
.products-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: center; }
.product-tags { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product-tags > span, .product-tags > button { display: grid; place-items: center; min-height: 86px; padding: 12px; color: var(--navy); font-weight: 600; text-align: center; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: .2s; }
.product-tags > button { position: relative; padding-right: 32px; cursor: pointer; }
.product-tags > button > span { position: absolute; right: 12px; color: var(--gold); font-size: 19px; font-weight: 400; transition: .2s; }
.product-tags > button:hover, .product-tags > button:focus-visible { color: #fff; background: var(--navy); outline: 0; }
.product-tags > button:hover > span, .product-tags > button:focus-visible > span { color: var(--gold-light); transform: rotate(90deg); }
.product-gallery { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 8px; }
.product-gallery__heading { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 18px; margin: 20px 0 4px; }
.product-gallery__heading p { margin: 0; color: var(--gold); font-family: Montserrat, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.product-gallery__heading h3 { margin: 0; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: 22px; }
.product-gallery figure { position: relative; aspect-ratio: 3 / 4; margin: 0; overflow: hidden; background: var(--navy); box-shadow: 0 9px 25px rgba(7,29,45,.08); }
.product-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, opacity .3s ease; }
.product-gallery figcaption { position: absolute; inset: auto 0 0; padding: 26px 12px 10px; color: #fff; background: linear-gradient(transparent, rgba(3,18,29,.86)); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.product-gallery figure:hover img { opacity: .86; transform: scale(1.045); }
.product-modal[hidden] { display: none; }
.product-modal { position: fixed; z-index: 2000; inset: 0; display: grid; place-items: center; padding: 28px; opacity: 0; transition: opacity .32s ease; }
.product-modal__backdrop { position: absolute; inset: 0; background: rgba(3,18,29,.82); backdrop-filter: blur(5px); opacity: 0; transition: opacity .32s ease; }
.product-modal__dialog { position: relative; width: min(100%, 1060px); max-height: calc(100vh - 56px); overflow-y: auto; background: #fff; box-shadow: 0 28px 90px rgba(0,0,0,.35); opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .32s ease, transform .42s cubic-bezier(.22,1,.36,1); }
.product-modal.is-open { opacity: 1; }
.product-modal.is-open .product-modal__backdrop, .product-modal.is-open .product-modal__dialog { opacity: 1; }
.product-modal.is-open .product-modal__dialog { transform: translateY(0) scale(1); }
.product-modal__close { position: absolute; z-index: 2; top: 18px; right: 18px; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255,255,255,.4); background: transparent; cursor: pointer; }
.product-modal__close::before, .product-modal__close::after { content: ""; position: absolute; left: 11px; top: 21px; width: 22px; height: 2px; background: #fff; }
.product-modal__close::before { transform: rotate(45deg); }
.product-modal__close::after { transform: rotate(-45deg); }
.product-modal__close:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.product-modal__header { padding: 34px clamp(28px, 5vw, 58px); color: #fff; background: linear-gradient(115deg, var(--navy-3), var(--navy-2)); }
.product-modal__header p { margin: 0 0 4px; color: var(--gold-light); font-family: Montserrat, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.product-modal__header h2 { margin: 0; padding-right: 52px; font-family: "Noto Serif JP", serif; font-size: clamp(27px, 4vw, 40px); }
.product-modal__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; padding: clamp(30px, 5vw, 58px); }
.product-modal__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-modal__gallery img { width: 100%; height: 210px; object-fit: contain; border: 1px solid var(--line); background: #fff; }
.product-modal__gallery--yg { grid-template-columns: 1fr; }
.product-modal__gallery--yg img:first-child { height: 280px; }
.product-modal__gallery--yg img:last-child { height: 90px; border: 0; }
.product-modal__lead { margin: 0 0 22px; color: var(--navy); font-size: clamp(23px, 3vw, 31px); line-height: 1.6; }
.product-modal__content > p:not(.product-modal__lead) { margin: 0 0 14px; color: #4c555c; font-size: 14px; }
.product-modal__content .product-modal__note { color: var(--muted); font-size: 12px; }
.button--modal { min-width: 220px; margin-top: 12px; color: #fff; background: var(--navy); }
.button--modal:hover { background: var(--gold); }
body.has-modal { overflow: hidden; }
.section--cases { background: linear-gradient(180deg, #f4f5f6 0 65%, #fff 65%); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card { min-height: 275px; padding: 38px; background: #fff; border-top: 4px solid var(--navy); box-shadow: var(--shadow); }
.case-card__category { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.case-card h3 { margin: 22px 0 14px; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: 22px; }
.case-card p { margin: 0; color: var(--muted); }
.flow-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.flow-list li { position: relative; padding: 10px 18px 0; text-align: center; }
.flow-list li:not(:last-child)::after { content: ""; position: absolute; top: 31px; right: -11px; width: 22px; height: 1px; background: var(--gold); }
.flow-list li span { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 22px; color: #fff; background: var(--navy); border-radius: 50%; font-family: Montserrat, sans-serif; font-weight: 700; box-shadow: 0 0 0 7px #edf0f2; }
.flow-list h3 { margin: 0 0 10px; color: var(--navy); font-size: 17px; }
.flow-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.section--news { padding-block: 72px; border-top: 1px solid var(--line); }
.news-layout { display: grid; grid-template-columns: 280px 1fr; gap: 70px; align-items: start; }
.news-layout .section-heading { margin-bottom: 0; }
.news-list article { display: grid; grid-template-columns: 115px 90px 1fr; gap: 20px; align-items: center; padding: 21px 0; border-bottom: 1px solid var(--line); }
.news-list time { color: var(--muted); font-family: Montserrat, sans-serif; font-size: 13px; }
.news-list span { padding: 3px 8px; color: #fff; background: var(--navy); font-size: 11px; text-align: center; }
.news-list p { margin: 0; }
.news-list p a:hover { color: var(--gold); }
.news-entry { max-width: 900px; margin: 70px auto 0; padding: clamp(28px, 5vw, 60px); background: #fff; box-shadow: var(--shadow); }
.news-entry h1 { margin: 8px 0 16px; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: clamp(28px, 4vw, 42px); }
.news-entry time { color: var(--muted); font-family: Montserrat, sans-serif; font-size: 13px; }
.news-entry__content { margin-top: 36px; }
.page-main { background: var(--light); }
.page-hero { position: relative; overflow: hidden; padding: clamp(58px, 8vw, 92px) 0; color: #fff; background: linear-gradient(115deg, var(--navy-3), var(--navy-2)); }
.page-hero::after { content: ""; position: absolute; top: -80%; right: 8%; width: 180px; height: 260%; border-left: 1px solid rgba(255,255,255,.12); border-right: 1px solid rgba(255,255,255,.08); transform: skewX(-32deg); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__en { margin: 0 0 6px; color: var(--gold-light); font-family: Montserrat, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.page-hero h1 { margin: 0; font-family: "Noto Serif JP", serif; font-size: clamp(30px, 5vw, 48px); line-height: 1.4; }
.page-content-section { padding-block: clamp(58px, 8vw, 96px); }
.page-content { max-width: 960px; padding: clamp(28px, 6vw, 70px); background: #fff; box-shadow: var(--shadow); }
.page-content > :first-child { margin-top: 0; }
.page-content > :last-child { margin-bottom: 0; }
.page-content h2 { margin: 2.4em 0 .8em; padding-bottom: 12px; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: clamp(23px, 3vw, 30px); border-bottom: 2px solid var(--gold); }
.page-content h3 { margin: 2em 0 .6em; color: var(--navy); font-size: clamp(19px, 2.4vw, 23px); }
.page-content p, .page-content li { color: #4c555c; }
.page-content a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.page-content ul, .page-content ol { padding-left: 1.5em; }
.page-content__empty { margin: 0; padding: 16px; color: #8b2020; background: #fff3f3; border-left: 4px solid #9b2828; }
.company-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: stretch; }
.company-data { margin: 0; background: #fff; }
.company-data > div { display: grid; grid-template-columns: 140px 1fr; border-bottom: 1px solid var(--line); }
.company-data dt, .company-data dd { margin: 0; padding: 13px 18px; }
.company-data dt { color: var(--navy); font-weight: 700; background: #edf0f2; }
.company-data a { text-decoration: underline; text-underline-offset: 3px; }
.map-placeholder { display: grid; place-items: center; min-height: 100%; background: linear-gradient(135deg, #d5d9dc, #f7f7f7); border: 1px solid #cfd4d7; }
.map-placeholder > div { width: 100%; height: 100%; color: var(--navy); text-align: center; }
.map-placeholder iframe { display: block; width: 100%; height: 100%; min-height: 450px; }
.map-placeholder span { font-family: Montserrat, sans-serif; font-size: 42px; font-weight: 700; letter-spacing: .1em; }
.section--contact { padding-bottom: 110px; color: #fff; background: var(--navy-3); }
.contact-bg { position: absolute; inset: 0; opacity: .13; background: linear-gradient(125deg, transparent 0 48%, #fff 48% 49%, transparent 49% 100%); }
.contact-inner { position: relative; }
.contact-info { display: grid; grid-template-columns: repeat(2, minmax(0, 330px)); justify-content: center; gap: 20px; margin-bottom: 34px; }
.contact-info > * { display: flex; flex-direction: column; align-items: center; padding: 22px; border: 1px solid rgba(255,255,255,.26); }
.contact-info span { color: var(--gold-light); font-family: Montserrat, sans-serif; font-size: 12px; letter-spacing: .16em; }
.contact-info strong { font-family: Montserrat, sans-serif; font-size: clamp(24px, 3vw, 34px); letter-spacing: .04em; }
.contact-info small { color: rgba(255,255,255,.6); }
.contact-form { max-width: 900px; margin: 0 auto; padding: clamp(28px, 5vw, 60px); color: var(--text); background: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.2); }
.form-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.form-row > br { display: none; }
.form-row > p { display: contents; }
.form-row label { grid-column: 1; color: var(--navy); font-weight: 700; }
.form-row label small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.6; }
.form-row em { display: inline-block; margin-left: 6px; padding: 1px 6px; color: #fff; background: #9b2828; font-size: 10px; font-style: normal; }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 13px 14px; border: 1px solid #cdd3d6; background: #fafafa; border-radius: 0; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid rgba(183,138,45,.25); border-color: var(--gold); }
.contact-form .wpcf7-form > p { margin: 0; }
.contact-form .form-row > .wpcf7-form-control-wrap,
.contact-form .form-row > p > .wpcf7-form-control-wrap { grid-column: 2; display: block; width: 100%; min-width: 0; }
.contact-form .wpcf7-form-control-wrap input,
.contact-form .wpcf7-form-control-wrap select,
.contact-form .wpcf7-form-control-wrap textarea { display: block; width: 100%; max-width: none; }
.contact-form .wpcf7-not-valid-tip { margin-top: 6px; color: #9b2828; font-size: 12px; }
.contact-form .wpcf7-response-output { margin: 24px 0 0 !important; padding: 12px 16px !important; border: 0 !important; border-left: 4px solid var(--gold) !important; background: var(--light); }
.contact-form .wpcf7-response-output:empty { display: none; }
.contact-form .wpcf7 form.sent .wpcf7-response-output { border-left-color: #2b8a52 !important; }
.contact-form .wpcf7 form.invalid .wpcf7-response-output,
.contact-form .wpcf7 form.failed .wpcf7-response-output { border-left-color: #9b2828 !important; }
.privacy-check { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 30px 0 20px; }
.privacy-check .wpcf7-form-control-wrap,
.privacy-check .wpcf7-form-control,
.privacy-check .wpcf7-list-item { display: block; margin: 0; }
.privacy-check .wpcf7-list-item label { display: inline-flex; flex-direction: row; align-items: center; cursor: pointer; }
.privacy-check input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.privacy-check .wpcf7-list-item-label { display: inline; }
.privacy-check a { color: var(--text); font-weight: 700; text-decoration-line: underline; text-decoration-color: var(--text); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: color .2s ease; }
.privacy-check a:hover { color: var(--gold); text-decoration: none; }
.privacy-check a:focus-visible { color: var(--gold); outline: 2px solid var(--gold); outline-offset: 3px; text-decoration: none; }
.button--submit { display: flex; width: min(100%, 390px); margin: 0 auto; color: #fff; background: var(--navy); border-color: var(--navy); }
.contact-form .wpcf7-submit { display: flex; justify-content: center; align-items: center; width: min(100%, 390px); min-height: 54px; margin: 0 auto; padding: 12px 24px; color: #fff; background: var(--navy); border: 1px solid var(--navy); border-radius: 0; font-weight: 600; letter-spacing: .06em; cursor: pointer; transition: .25s; }
.contact-form .wpcf7-submit:hover { background: var(--gold); border-color: var(--gold); }
.contact-form .wpcf7-spinner { display: block; margin: 14px auto 0; }
.form-setup-message { margin: 0; padding: 16px; color: #8b2020; background: #fff3f3; border-left: 4px solid #9b2828; }
.button--submit:hover { background: var(--gold); border-color: var(--gold); }
.form-note { margin: 20px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.form-message { max-width: 900px; margin: 0 auto 20px; padding: 16px 20px; background: #fff; border-left: 4px solid var(--gold); }
.form-message--success { color: #175b36; border-left-color: #2b8a52; }
.form-message--error { color: #8b2020; border-left-color: #9b2828; }
.contact-confirm { min-height: 300px; }
.contact-confirm__en { margin: 0 0 4px; color: var(--gold); font-family: Montserrat, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-align: center; }
.contact-confirm h3 { margin: 0; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: clamp(25px, 4vw, 36px); text-align: center; }
.contact-confirm__intro, .contact-complete__text { margin: 14px 0 30px; color: var(--muted); text-align: center; }
.contact-confirm__list { margin: 0; border-top: 1px solid var(--line); }
.contact-confirm__list > * { margin: 0; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.contact-confirm__list dt { float: left; width: 220px; clear: left; color: var(--navy); font-weight: 700; }
.contact-confirm__list dd { min-height: 58px; margin-left: 220px; white-space: pre-wrap; overflow-wrap: anywhere; }
.contact-confirm__actions { display: grid; grid-template-columns: minmax(180px, 260px) minmax(240px, 390px); justify-content: center; gap: 16px; margin-top: 34px; }
.contact-confirm__back, .contact-confirm__send { min-height: 54px; padding: 12px 20px; border-radius: 0; font-weight: 600; cursor: pointer; transition: .25s; }
.contact-confirm__back { color: var(--navy); background: #fff; border: 1px solid var(--navy); }
.contact-confirm__send { color: #fff; background: var(--navy); border: 1px solid var(--navy); }
.contact-confirm__back:hover { color: #fff; background: var(--navy); }
.contact-confirm__send:hover { background: var(--gold); border-color: var(--gold); }
.contact-confirm__back:disabled, .contact-confirm__send:disabled { opacity: .55; cursor: wait; }
.contact-confirm-error { margin: 0 0 20px; padding: 12px 16px; color: #8b2020; background: #fff3f3; border-left: 4px solid #9b2828; }
.contact-complete__home { display: flex; justify-content: center; align-items: center; width: min(100%, 320px); min-height: 54px; margin: 36px auto 0; padding: 12px 24px; color: #fff; background: var(--navy); border: 1px solid var(--navy); border-radius: 0; font-weight: 600; letter-spacing: .06em; cursor: pointer; transition: .25s; }
.contact-complete__home:hover { background: var(--gold); border-color: var(--gold); }
.contact-complete__home:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
.site-footer { color: rgba(255,255,255,.75); background: #020c13; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; align-items: center; padding-block: 55px; }
.footer-brand img { width: min(280px, 70vw); filter: brightness(0) invert(1); }
.footer-brand p { margin: 15px 0 0; color: rgba(255,255,255,.65); font-family: "Noto Serif JP", serif; }
.footer-address { display: grid; grid-template-columns: repeat(2, auto); gap: 40px; font-size: 13px; }
.footer-address p { margin: 0; }
.footer-address .footer-privacy { grid-column: 1 / -1; justify-self: end; margin-top: -18px; }
.footer-privacy a { display: inline-flex; align-items: center; gap: 9px; color: var(--gold-light); border-bottom: 1px solid rgba(216,187,113,.7); transition: color .2s ease, border-color .2s ease; }
.footer-privacy a:hover { color: #fff; border-color: transparent; }
.footer-privacy a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px max(24px, calc((100% - var(--container))/2)); border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.page-top { position: fixed; z-index: 900; right: clamp(18px, 3vw, 42px); bottom: clamp(18px, 3vw, 38px); display: grid; place-items: center; width: 58px; height: 58px; padding: 0; background: var(--navy); border: 1px solid rgba(216,187,113,.75); border-radius: 0; box-shadow: 0 12px 32px rgba(3,18,29,.25); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .35s ease, visibility .35s ease, transform .35s ease, background-color .25s ease; cursor: pointer; }
.page-top::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(255,255,255,.12); }
.page-top span { width: 13px; height: 13px; border-top: 2px solid var(--gold-light); border-left: 2px solid var(--gold-light); transform: translateY(4px) rotate(45deg); transition: border-color .25s ease, transform .25s ease; }
.page-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.page-top:hover { background: var(--gold); }
.page-top:hover span { border-color: #fff; transform: translateY(1px) rotate(45deg); }
.page-top:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }
@media (prefers-reduced-motion: reduce) { .product-modal, .product-modal__backdrop, .product-modal__dialog { transition: none; } }
@media (prefers-reduced-motion: reduce) { .page-top, .page-top span { transition: none; } }
@media (max-width: 1100px) {
  html { scroll-padding-top: 76px; }
  .header-main { height: 76px; }
  .menu-button { display: grid; gap: 5px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
  .menu-button__line { display: block; width: 28px; height: 2px; background: var(--navy); transition: .25s; }
  .menu-button[aria-expanded="true"] .menu-button__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-button__line:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] .menu-button__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .global-nav { position: fixed; inset: 76px 0 auto; display: none; padding: 28px 24px 34px; background: #fff; border-top: 0; box-shadow: 0 16px 30px rgba(0,0,0,.12); }
  .global-nav.is-open { display: block; }
  .global-nav ul { width: min(100%, var(--container)); min-height: 0; flex-direction: column; align-items: stretch; gap: 0; }
  .global-nav li { border-bottom: 1px solid var(--line); }
  .global-nav a { display: block; padding: 15px 4px; }
  .about-grid, .products-layout, .company-grid, .featured-service { grid-template-columns: 1fr; }
  .featured-service--reverse .featured-service__visual { order: 0; }
  .yg-showcase { grid-template-columns: minmax(220px, .65fr) minmax(0, 1fr); gap: 28px; }
  .about-visual { max-width: 650px; width: 100%; margin-inline: auto; }
  .problem-grid, .service-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .strength-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .strength-item:nth-child(2) { border-right: 0; }
  .strength-item { padding-block: 38px; border-bottom: 1px solid rgba(255,255,255,.16); }
  .product-tags { grid-template-columns: repeat(3, 1fr); }
  .product-gallery { grid-template-columns: repeat(3, 1fr); }
  .flow-list { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .flow-list li:nth-child(3)::after, .flow-list li:nth-child(6)::after { display: none; }
  .news-layout { grid-template-columns: 1fr; gap: 10px; }
  .footer-inner { align-items: flex-start; }
  .footer-address { grid-template-columns: 1fr; gap: 10px; }
  .footer-address .footer-privacy { grid-column: 1; justify-self: start; margin-top: 8px; }
}
@media (max-width: 680px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .header-main { gap: 8px; }
  .site-logo { width: 170px; }
  .header-actions { gap: 6px; }
  .header-contact { min-height: 40px; padding-inline: 11px; font-size: 11px; }
  .hero { overflow: hidden; }
  .hero picture { display: block; width: 100%; transform: none; }
  .hero picture img { width: 100%; height: auto; object-fit: contain; }
  .hero-actions { flex-direction: column; padding-inline: 16px; }
  .button { width: 100%; min-width: 0; }
  .section { padding-block: 72px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2 { font-size: 30px; }
  .about-visual { min-height: 350px; }
  .about-image { inset: 0 25px 28px 0; width: calc(100% - 25px); height: calc(100% - 28px); }
  .about-badge { min-width: 180px; padding: 18px 20px; }
  .about-badge strong { font-size: 15px; }
  .problem-grid, .service-grid, .case-grid, .strength-grid { grid-template-columns: 1fr; }
  .business-list { grid-template-columns: 1fr; }
  .featured-service__visual img { height: 200px; }
  .yg-showcase { grid-template-columns: 1fr; }
  .yg-showcase__package { max-width: 500px; margin-inline: auto; }
  .yg-showcase__panel { padding: 26px 18px; }
  .yg-showcase__copy br { display: none; }
  .clean-room-gallery { grid-template-columns: 1fr; gap: 28px; }
  .clean-room-gallery figure { max-width: 620px; margin-inline: auto; }
  .clean-room-intro br, .clean-room-copy br { display: none; }
  .problem-card { min-height: 0; }
  .strength-item { border-right: 0; }
  .product-tags { grid-template-columns: repeat(2, 1fr); }
  .product-tags > span, .product-tags > button { min-height: 72px; font-size: 13px; }
  .product-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-gallery__heading { display: block; margin-top: 12px; }
  .product-gallery__heading h3 { margin-top: 4px; font-size: 20px; }
  .product-modal { padding: 12px; }
  .product-modal__dialog { max-height: calc(100vh - 24px); }
  .product-modal__close { top: 13px; right: 13px; width: 40px; height: 40px; }
  .product-modal__close::before, .product-modal__close::after { left: 9px; top: 18px; }
  .product-modal__body { grid-template-columns: 1fr; }
  .product-modal__gallery img { height: 160px; }
  .product-modal__gallery--yg img:first-child { height: 220px; }
  .flow-list { grid-template-columns: 1fr; row-gap: 25px; }
  .flow-list li { display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; text-align: left; }
  .flow-list li span { grid-row: 1 / span 2; margin: 0; }
  .flow-list li:not(:last-child)::after { left: 28px; right: auto; top: 65px; width: 1px; height: 45px; }
  .flow-list h3, .flow-list p { grid-column: 2; }
  .news-list article { grid-template-columns: 90px 76px; gap: 10px; }
  .news-list p { grid-column: 1 / -1; padding-top: 4px; }
  .company-data > div { grid-template-columns: 1fr; }
  .company-data dt { padding-bottom: 7px; }
  .company-data dd { padding-top: 7px; }
  .map-placeholder { min-height: 280px; }
  .map-placeholder iframe { min-height: 380px; }
  .contact-info { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 8px; }
  .form-row label,
  .contact-form .form-row > .wpcf7-form-control-wrap,
  .contact-form .form-row > p > .wpcf7-form-control-wrap { grid-column: 1; }
  .contact-confirm__list dt { float: none; width: auto; padding-bottom: 4px; border-bottom: 0; }
  .contact-confirm__list dd { min-height: 0; margin-left: 0; padding-top: 4px; }
  .contact-confirm__actions { grid-template-columns: 1fr; }
  .footer-inner, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom { gap: 13px; }
  .page-top { width: 50px; height: 50px; }
}
