/*
Theme Name: Morimoto Kogyou Green
Theme URI: http://kazu1009.xsrv.jp/morimoto-kogyou/
Author: Manus AI
Description: 森本工業の採用・問い合わせ獲得向けWordPressテーマ。緑を基調に、プラント配管・設備配管・保温保冷工事の専門性と現場での機動力を表現します。
Version: 1.0.11
Text Domain: morimoto-kogyou-green
*/
:root {
  --mk-green: #058048;
  --mk-deep: #063f2b;
  --mk-dark: #08251d;
  --mk-lime: #56c271;
  --mk-mint: #effaf3;
  --mk-bg: #f4f8f1;
  --mk-text: #1a2b24;
  --mk-muted: #64736c;
  --mk-line: rgba(6,63,43,.13);
  --mk-white: #fff;
  --mk-shadow: 0 24px 70px rgba(6,63,43,.13);
  --mk-radius: 26px;
  --mk-font-ja: 'Noto Sans JP', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mk-font-en: 'Montserrat', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; --mk-scroll-y: 0; }
body { margin: 0; color: var(--mk-text); background: var(--mk-white); font-family: var(--mk-font-ja); line-height: 1.85; letter-spacing: .02em; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.sp-only { display: none; }
.site-header { position: fixed; inset: 22px 3vw auto 3vw; height: 76px; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 0 22px; background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.55); box-shadow: 0 18px 55px rgba(3,48,31,.13); backdrop-filter: blur(14px); }
.site-brand { display: flex; align-items: center; gap: 14px; min-width: 190px; }
.site-brand.text-brand, .footer-logo.text-brand { gap: 0; }
.logo-mark { width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, var(--mk-green), var(--mk-deep)); display: grid; place-items: center; color: #fff; font-family: var(--mk-font-en); font-weight: 900; font-size: 18px; letter-spacing: -.04em; box-shadow: 0 12px 30px rgba(5,128,72,.26); }
.brand-name { display: block; color: var(--mk-deep); font-weight: 900; line-height: 1.1; font-size: 20px; letter-spacing: .06em; }
.brand-sub { display: block; margin-top: 4px; color: var(--mk-muted); font-family: var(--mk-font-en); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; gap: 23px; align-items: center; font-size: 13px; font-weight: 800; color: var(--mk-deep); }
.main-nav a { position: relative; padding: 8px 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; transform: scaleX(0); transform-origin: left; background: var(--mk-green); transition: transform .25s ease; }
.main-nav a:hover::after { transform: scaleX(1); }
.header-cta, .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 24px; border-radius: 999px; background: var(--mk-green); color: #fff; font-weight: 900; font-size: 13px; letter-spacing: .08em; box-shadow: 0 16px 32px rgba(5,128,72,.25); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.header-cta:hover, .btn:hover { transform: translateY(-2px); background: #046f3f; box-shadow: 0 20px 42px rgba(5,128,72,.32); }
.btn.outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); box-shadow: none; }
.btn.light { background: #fff; color: var(--mk-deep); }
.btn.green-outline { background: #fff; color: var(--mk-green); border: 1px solid rgba(5,128,72,.25); box-shadow: none; }
.hamburger { display: none; width: 48px; height: 48px; border: 0; background: var(--mk-deep); border-radius: 999px; padding: 13px; }
.hamburger span { display: block; height: 2px; margin: 6px 0; background: #fff; }
.fixed-label { position: fixed; left: 18px; bottom: 32px; z-index: 60; writing-mode: vertical-rl; color: rgba(6,63,43,.35); font-family: var(--mk-font-en); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.side-contact { position: fixed; right: 0; top: 52%; z-index: 70; display: grid; transform: translateY(-50%); }
.side-contact a { writing-mode: vertical-rl; padding: 18px 12px; background: var(--mk-deep); color: #fff; border-bottom: 1px solid rgba(255,255,255,.18); font-family: var(--mk-font-en); font-weight: 900; font-size: 11px; letter-spacing: .14em; }
.hero { position: relative; min-height: 100vh; padding: 178px 8vw 120px; display: grid; align-items: center; overflow: hidden; color: #fff; background: radial-gradient(circle at 76% 20%, rgba(86,194,113,.72), transparent 28%), linear-gradient(135deg, rgba(6,63,43,.96), rgba(5,128,72,.88)), url('assets/images/industrial-abstract.svg') center/cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(to bottom, #000, transparent 86%); transform: translate3d(0, calc(var(--mk-scroll-y, 0) * 18px), 0); transition: transform .18s linear; }
.hero::after { content: ''; position: absolute; width: 620px; height: 620px; right: -170px; bottom: -210px; border-radius: 50%; border: 92px solid rgba(255,255,255,.08); transform: translate3d(calc(var(--mk-scroll-y, 0) * -18px), calc(var(--mk-scroll-y, 0) * 24px), 0) rotate(calc(var(--mk-scroll-y, 0) * 8deg)); transition: transform .18s linear; }
.hero-content { position: relative; z-index: 2; max-width: 1080px; animation: heroFadeUp .9s cubic-bezier(.2,.72,.18,1) .12s both; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--mk-lime); font-family: var(--mk-font-en); font-weight: 900; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 42px; height: 2px; background: currentColor; }
.hero-title { margin: 22px 0 24px; font-size: clamp(46px, 6.2vw, 88px); line-height: 1.12; font-weight: 900; letter-spacing: .035em; word-break: keep-all; overflow-wrap: normal; }
.hero-title-line, .heading-line { display: inline-block; }
@media (min-width: 641px) { .hero-title-line, .heading-line, .section-title, .copy-block h3, .banner-copy h2, .contact-box h2 { word-break: keep-all; overflow-wrap: normal; line-break: strict; } .hero-title-line, .heading-line { white-space: nowrap; } }
.hero-lead { max-width: 740px; margin: 0 0 36px; font-size: clamp(16px, 1.65vw, 20px); color: rgba(255,255,255,.91); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-stats { position: relative; z-index: 2; margin-top: 58px; display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); max-width: 760px; gap: 14px; animation: heroFadeUp .9s cubic-bezier(.2,.72,.18,1) .32s both; }
.stat { padding: 18px 20px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.stat strong { display: block; font-family: var(--mk-font-en); font-size: 30px; line-height: 1; }
.stat span { display: block; margin-top: 6px; font-size: 12px; font-weight: 800; color: rgba(255,255,255,.82); }
.scroll-indicator { position: absolute; right: 8vw; bottom: 44px; z-index: 2; font-family: var(--mk-font-en); font-size: 11px; letter-spacing: .2em; writing-mode: vertical-rl; color: rgba(255,255,255,.8); }
.section { position: relative; padding: 110px 8vw; overflow: hidden; }
.section > * { position: relative; z-index: 1; }
.section.reveal::before { content: ''; position: absolute; width: 280px; height: 280px; right: 5vw; top: 46px; border-radius: 50%; background: radial-gradient(circle, rgba(5,128,72,.10), rgba(5,128,72,0) 67%); opacity: 0; transform: translate3d(40px, 22px, 0) scale(.92); pointer-events: none; }
.section.reveal:nth-of-type(even)::before { right: auto; left: 4vw; background: radial-gradient(circle, rgba(86,194,113,.12), rgba(86,194,113,0) 68%); }
.section.reveal.is-visible::before { opacity: 1; transform: translate3d(0, 0, 0) scale(1); transition: opacity 1s cubic-bezier(.2,.72,.18,1), transform 1.2s cubic-bezier(.2,.72,.18,1); animation: softFloat 6.8s ease-in-out 1.1s infinite alternate; }
.section.alt { background: var(--mk-bg); }
.section-head { display: grid; grid-template-columns: minmax(280px, 430px) 1fr; gap: 52px; margin-bottom: 58px; align-items: start; }
.section-kicker { color: var(--mk-green); font-family: var(--mk-font-en); font-weight: 900; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; }
.section-title { margin: 10px 0 0; color: var(--mk-deep); font-size: clamp(30px, 4vw, 50px); line-height: 1.2; font-weight: 900; letter-spacing: .04em; }
.section-desc { margin: 10px 0 0; color: var(--mk-muted); font-size: 17px; max-width: 860px; }
.about-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 58px; align-items: center; }
.visual-card { min-height: 390px; border-radius: var(--mk-radius); overflow: hidden; position: relative; background: linear-gradient(135deg, rgba(5,128,72,.92), rgba(6,63,43,.94)), url('assets/images/piping-pattern.svg') center/cover; box-shadow: var(--mk-shadow); }
.visual-card::after { content: ''; position: absolute; inset: 42px; border: 1px solid rgba(255,255,255,.26); border-radius: 20px; }
.visual-card .visual-copy { position: absolute; left: 44px; right: 44px; bottom: 44px; color: #fff; z-index: 2; }
.visual-card strong { display: block; font-size: clamp(28px, 4vw, 48px); line-height: 1.15; font-weight: 900; }
.visual-card span { display: block; margin-top: 14px; color: rgba(255,255,255,.82); }
.copy-block h3 { margin: 0 0 22px; color: var(--mk-deep); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.32; font-weight: 900; }
.copy-block p { color: var(--mk-muted); font-size: 16px; }
.strength-grid, .service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card, .service-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--mk-line); border-radius: 22px; padding: 34px; box-shadow: 0 14px 46px rgba(6,63,43,.07); transition: transform .22s ease, box-shadow .22s ease; }
.card:hover, .service-card:hover { transform: translateY(-5px); box-shadow: 0 26px 70px rgba(6,63,43,.13); }
.card-num { color: rgba(5,128,72,.16); font-family: var(--mk-font-en); font-size: 50px; line-height: 1; font-weight: 900; }
.card h3, .service-card h3 { margin: 18px 0 12px; color: var(--mk-deep); font-size: 22px; line-height: 1.45; font-weight: 900; }
.card p, .service-card p, .service-card li { margin: 0; color: var(--mk-muted); }
.service-icon { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--mk-mint); color: var(--mk-green); font-family: var(--mk-font-en); font-weight: 900; font-size: 20px; }
.service-card ul { margin: 14px 0 0; padding-left: 1.2em; }
.split-banner { display: grid; grid-template-columns: .88fr 1.12fr; background: var(--mk-deep); color: #fff; }
.banner-visual { min-height: 430px; background: linear-gradient(135deg, rgba(5,128,72,.7), rgba(8,37,29,.92)), url('assets/images/recruit-abstract.svg') center/cover no-repeat; }
.banner-copy { padding: 72px 8vw 72px 68px; }
.banner-copy h2 { margin: 16px 0; font-size: clamp(32px, 4vw, 58px); line-height: 1.2; font-weight: 900; }
.banner-copy p { color: rgba(255,255,255,.82); }
.contact-box { background: linear-gradient(135deg, var(--mk-deep), var(--mk-green)); color: #fff; padding: 58px; border-radius: var(--mk-radius); box-shadow: var(--mk-shadow); position: relative; overflow: hidden; }
.contact-box::after { content: ''; position: absolute; width: 360px; height: 360px; right: -100px; top: -140px; border-radius: 50%; background: rgba(255,255,255,.08); transform: translate3d(0, 0, 0); }
.reveal.is-visible .contact-box::after { animation: softFloat 7s ease-in-out .4s infinite alternate; }
.contact-box h2 { position: relative; z-index: 1; margin: 0 0 16px; font-size: clamp(28px, 4vw, 46px); line-height: 1.28; }
.contact-box p, .contact-box .eyebrow, .contact-list { position: relative; z-index: 1; }
.contact-list { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.contact-list a { padding: 17px 22px; border-radius: 999px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28); color: #fff; font-weight: 900; }
.page-hero { position: relative; min-height: 430px; padding: 180px 8vw 90px; display: grid; align-items: end; color: #fff; overflow: hidden; background: linear-gradient(135deg, rgba(6,63,43,.95), rgba(5,128,72,.88)), url('assets/images/industrial-abstract.svg') center/cover; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 76px 76px; opacity: .5; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { margin: 16px 0 0; font-size: clamp(36px, 5vw, 76px); line-height: 1.15; font-weight: 900; }
.table-wrap { overflow: hidden; background: #fff; border: 1px solid var(--mk-line); border-radius: 22px; box-shadow: var(--mk-shadow); }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 22px 26px; border-bottom: 1px solid var(--mk-line); vertical-align: top; text-align: left; }
.info-table th { width: 260px; color: var(--mk-deep); background: var(--mk-mint); font-weight: 900; }
.info-table td { color: var(--mk-muted); }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-step { padding: 28px; border-left: 5px solid var(--mk-green); background: #fff; border-radius: 18px; box-shadow: 0 16px 44px rgba(6,63,43,.08); }
.process-step b { font-family: var(--mk-font-en); color: var(--mk-green); }
.process-step h3 { margin: 10px 0; color: var(--mk-deep); }
.clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.client-item { padding: 22px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--mk-line); font-weight: 800; color: var(--mk-deep); }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes numberPop { 0% { opacity: .18; transform: translateY(12px) scale(.94); filter: blur(2px); } 58% { opacity: 1; transform: translateY(-3px) scale(1.04); filter: blur(0); } 100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
@keyframes softFloat { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-16px, 18px, 0) scale(1.04); } }
@keyframes calmPulse { 0%, 100% { box-shadow: 0 0 0 rgba(86,194,113,0); } 50% { box-shadow: 0 0 0 10px rgba(86,194,113,.10); } }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .85s cubic-bezier(.2,.72,.18,1), transform .85s cubic-bezier(.2,.72,.18,1); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal .section-head, .reveal .about-grid, .reveal .service-card, .reveal .card, .reveal .process-step, .reveal .client-item, .reveal .contact-box, .reveal .banner-visual, .reveal .banner-copy { opacity: 0; transform: translateY(24px); transition: opacity .72s cubic-bezier(.2,.72,.18,1), transform .72s cubic-bezier(.2,.72,.18,1); }
.reveal.is-visible .section-head, .reveal.is-visible .about-grid, .reveal.is-visible .service-card, .reveal.is-visible .card, .reveal.is-visible .process-step, .reveal.is-visible .client-item, .reveal.is-visible .contact-box, .reveal.is-visible .banner-visual, .reveal.is-visible .banner-copy { opacity: 1; transform: translateY(0); }
.reveal.is-visible .service-card:nth-child(2), .reveal.is-visible .card:nth-child(2), .reveal.is-visible .process-step:nth-child(2), .reveal.is-visible .client-item:nth-child(2), .reveal.is-visible .banner-copy { transition-delay: .1s; }
.reveal.is-visible .service-card:nth-child(3), .reveal.is-visible .card:nth-child(3), .reveal.is-visible .process-step:nth-child(3), .reveal.is-visible .client-item:nth-child(3) { transition-delay: .18s; }
.reveal.is-visible .process-step:nth-child(4), .reveal.is-visible .card:nth-child(4) { transition-delay: .26s; }
.hero-stats .stat strong { animation: numberPop .82s cubic-bezier(.2,.72,.18,1) both; }
.hero-stats .stat:nth-child(2) strong { animation-delay: .12s; }
.hero-stats .stat:nth-child(3) strong { animation-delay: .22s; }
.hero-stats .stat { transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.hero-stats .stat:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.12); }
.reveal .card-num, .reveal .service-icon, .reveal .process-step b { display: inline-grid; place-items: center; transform-origin: center; }
.reveal.is-visible .card-num, .reveal.is-visible .service-icon, .reveal.is-visible .process-step b { animation: numberPop .78s cubic-bezier(.2,.72,.18,1) both, calmPulse 2.8s ease-in-out .8s 1; }
.reveal.is-visible .card:nth-child(2) .card-num, .reveal.is-visible .service-card:nth-child(2) .service-icon, .reveal.is-visible .process-step:nth-child(2) b { animation-delay: .12s, .9s; }
.reveal.is-visible .card:nth-child(3) .card-num, .reveal.is-visible .service-card:nth-child(3) .service-icon, .reveal.is-visible .process-step:nth-child(3) b { animation-delay: .22s, 1s; }
.reveal.is-visible .process-step:nth-child(4) b { animation-delay: .32s, 1.1s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-content, .hero-stats, .hero-stats .stat strong, .reveal.is-visible::before, .reveal.is-visible .contact-box::after, .reveal.is-visible .card-num, .reveal.is-visible .service-icon, .reveal.is-visible .process-step b { animation: none; } .hero::before, .hero::after { transform: none; transition: none; } .reveal, .reveal .section-head, .reveal .about-grid, .reveal .service-card, .reveal .card, .reveal .process-step, .reveal .client-item, .reveal .contact-box, .reveal .banner-visual, .reveal .banner-copy { opacity: 1; transform: none; transition: none; } }
.site-footer { padding: 74px 8vw 30px; background: var(--mk-dark); color: rgba(255,255,255,.82); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 50px; }
.footer-logo { display: flex; align-items: center; gap: 14px; color: #fff; }
.footer-title { margin-bottom: 14px; color: #fff; font-family: var(--mk-font-en); font-weight: 900; letter-spacing: .14em; }
.footer-nav { display: grid; gap: 8px; }
.copyright { margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--mk-font-en); font-size: 12px; color: rgba(255,255,255,.58); }
@media (max-width: 1040px) { .main-nav, .header-cta { display: none; } .hamburger { display: block; } .main-nav.is-open { display: grid; position: absolute; left: 0; right: 0; top: 84px; padding: 22px; background: #fff; box-shadow: var(--mk-shadow); } .section-head, .about-grid, .split-banner, .footer-grid { grid-template-columns: 1fr; } .strength-grid, .service-grid, .process, .hero-stats { grid-template-columns: 1fr; } .banner-copy { padding: 56px 8vw; } }
@media (max-width: 640px) { .hero-title-line, .heading-line { display: inline; white-space: normal; } .section.reveal::before { width: 190px; height: 190px; right: -54px; top: 28px; opacity: .75; } .section.reveal:nth-of-type(even)::before { left: -54px; } .site-header { inset: 12px 12px auto 12px; height: 66px; padding: 0 12px; } .site-brand { min-width: 0; gap: 10px; } .site-brand.text-brand { min-width: 0; } .brand-name { font-size: 16px; } .brand-sub { display: none; } .logo-mark { width: 44px; height: 44px; flex: 0 0 44px; } .hamburger { flex: 0 0 48px; } .hero { min-height: auto; padding: 136px 6vw 72px; overflow-x: hidden; } .hero-content { width: 100%; max-width: 100%; min-width: 0; } .eyebrow { display: flex; flex-wrap: wrap; align-items: flex-start; max-width: 100%; font-size: 10px; line-height: 1.6; letter-spacing: .08em; white-space: normal; overflow-wrap: anywhere; word-break: break-word; } .eyebrow::before { width: 28px; flex: 0 0 28px; margin-top: .72em; } .hero-title { max-width: 100%; font-size: clamp(36px, 10.8vw, 44px); line-height: 1.16; letter-spacing: 0; overflow-wrap: anywhere; word-break: keep-all; } .sp-only { display: block; } .hero-lead { width: 100%; max-width: 100%; font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; word-break: normal; } .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; width: 100%; max-width: 100%; } .hero-actions .btn { width: 100%; min-width: 0; min-height: 50px; padding: 13px 16px; white-space: normal; text-align: center; } .hero-stats { width: 100%; max-width: 100%; margin-top: 46px; gap: 12px; grid-template-columns: minmax(0, 1fr); } .stat { min-width: 0; padding: 18px; } .section { padding: 76px 6vw; } .page-hero { padding: 145px 6vw 70px; } .fixed-label, .side-contact, .scroll-indicator { display: none; } .contact-box { padding: 36px 24px; } .info-table th, .info-table td { display: block; width: 100%; padding: 16px 18px; } }
@media (max-width: 420px) { .hero { padding-left: 24px; padding-right: 24px; } .hero .eyebrow { display: block; font-size: 9px; letter-spacing: .04em; max-width: 100%; } .hero .eyebrow::before { display: block; margin: 0 0 10px; width: 30px; } .hero-title { font-size: clamp(34px, 10vw, 38px); line-height: 1.18; } .hero-lead { font-size: 14px; line-height: 1.85; } .stat strong { font-size: 27px; } }
