/*
Theme Name: cocodemo08
Theme URI: https://www.centerlight.net/
Author: Center Light LLC
Author URI: https://www.centerlight.net/
Description: 解体・建設会社向けWordPressテーマ。青空と実写を活かした明るく好印象なデザイン。受注に繋がる導線設計と最新セキュリティを標準装備。
Version: 3.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cocodemo08
Domain Path: /languages
Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
  --navy: #163a63;        /* 信頼の濃紺(差し色) */
  --navy-2: #1d4b7e;
  --blue: #2f7bc4;        /* 青空ブルー(主役アクセント) */
  --blue-light: #eaf3fb;
  --sky: #4a9fe0;
  --gold: #d8a13a;        /* 差し色の金 */
  --gold-deep: #b5822a;
  --ink: #1c2430;         /* 本文の濃色 */
  --paper: #ffffff;
  --paper-2: #f4f7fa;     /* うっすら青みの白 */
  --paper-3: #eef2f6;
  --gray: #6a7482;
  --gray-2: #9aa3b0;
  --line: #e2e8ef;
  --white: #ffffff;

  --wrap: 1200px;
  --wrap-wide: 1440px;
  --font-mincho: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-gothic: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 10px 40px rgba(22,58,99,0.10);
  --shadow-lg: 0 20px 60px rgba(22,58,99,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-gothic);
  font-weight: 400;
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: 0.02em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

h1,h2,h3,h4 { font-family: var(--font-mincho); font-weight: 600; line-height: 1.4; letter-spacing: 0.04em; color: var(--navy); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-wide { width: 100%; max-width: var(--wrap-wide); margin-inline: auto; padding-inline: 24px; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ==== Section head ==== */
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head__en { display: inline-block; font-family: var(--font-gothic); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.3em; color: var(--blue); text-transform: uppercase; margin-bottom: 14px; position: relative; padding-bottom: 14px; }
.sec-head__en::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 40px; height: 2px; background: var(--gold); }
.sec-head__ja { font-size: clamp(1.6rem, 3.2vw, 2.4rem); color: var(--navy); }
.sec-head--light .sec-head__ja { color: #fff; }
.sec-head--light .sec-head__en { color: #bfe0ff; }

/* ==== Buttons ==== */
.btn { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-gothic); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.08em; padding: 17px 42px; border: 2px solid var(--navy); color: var(--navy); background: transparent; position: relative; overflow: hidden; transition: color 0.4s var(--ease); cursor: pointer; border-radius: 4px; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--navy); transform: translateX(-101%); transition: transform 0.45s var(--ease); z-index: -1; }
.btn:hover { color: #fff; }
.btn:hover::before { transform: translateX(0); }
.btn--solid { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--solid::before { background: var(--gold-deep); }
.btn--solid:hover { color: #fff; }
.btn--light { border-color: #fff; color: #fff; }
.btn--light::before { background: #fff; }
.btn--light:hover { color: var(--navy); }
.btn__arrow { width: 18px; height: 2px; background: currentColor; position: relative; }
.btn__arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }

/* ==== Header ==== */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 20px 0; transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(28,36,48,0.45), rgba(28,36,48,0)); opacity: 1; transition: opacity 0.4s var(--ease); z-index: -1; }
.site-header.scrolled { padding: 12px 0; background: rgba(255,255,255,0.97); box-shadow: 0 2px 24px rgba(22,58,99,0.10); }
.site-header.scrolled::before { opacity: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-mincho); font-weight: 700; font-size: 1.4rem; letter-spacing: 0.14em; color: #fff; transition: color 0.4s; }
.brand__en { font-size: 0.6rem; letter-spacing: 0.3em; color: #cfe4f7; margin-top: 3px; transition: color 0.4s; }
.scrolled .brand__name { color: var(--navy); }
.scrolled .brand__en { color: var(--blue); }
.brand__logo-img, .custom-logo { max-height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 38px; }
.nav ul { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav a { color: #fff; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.06em; position: relative; padding: 6px 0; transition: color 0.4s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold); transition: width 0.35s var(--ease); }
.nav a:hover::after { width: 100%; }
.scrolled .nav a { color: var(--ink); }
.scrolled .nav a:hover { color: var(--blue); }
.nav__cta { padding: 11px 26px !important; background: var(--gold); color: #fff !important; border-radius: 4px; font-weight: 600; }
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--gold-deep); color: #fff !important; }
.scrolled .nav__cta { color: #fff !important; }

.menu-toggle { display: none; }

/* ==== Hero ==== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(22,58,99,0.72) 0%, rgba(22,58,99,0.4) 40%, rgba(22,58,99,0.05) 72%, rgba(22,58,99,0) 100%); z-index: 1; }
/* 背景動画 */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s var(--ease); }
.hero__video.is-ready { opacity: 1; }
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--video .hero__bg img.hero__poster { z-index: 0; }
.hero--video .hero__video { z-index: 0; }
.hero__inner { position: relative; z-index: 2; padding-top: 80px; }
.hero__tag { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 28px; font-size: 0.78rem; letter-spacing: 0.2em; color: #fff; font-weight: 600; background: rgba(216,161,58,0.92); padding: 8px 20px; border-radius: 3px; }
.hero__title { font-size: clamp(2.4rem, 6.2vw, 4.6rem); color: #fff; line-height: 1.3; letter-spacing: 0.03em; margin-bottom: 28px; text-shadow: 0 2px 24px rgba(16,30,50,0.35); }
.hero__title .accent { color: #ffd97a; }
.hero__lead { font-size: clamp(1rem, 1.7vw, 1.18rem); color: #f0f5fb; max-width: 560px; line-height: 2; margin-bottom: 42px; font-family: var(--font-gothic); text-shadow: 0 1px 12px rgba(16,30,50,0.3); }
.hero__actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 3; font-size: 0.62rem; letter-spacing: 0.28em; color: #fff; writing-mode: vertical-rl; display: flex; align-items: center; gap: 16px; }
.hero__scroll::after { content: ""; width: 2px; height: 56px; background: linear-gradient(#fff, transparent); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ==== Reveal ==== */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ==== Intro ==== */
.intro { padding: 120px 0; background: var(--paper); position: relative; }
.intro__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; }
.intro__en { font-size: 0.72rem; letter-spacing: 0.3em; color: var(--blue); font-weight: 700; margin-bottom: 18px; }
.intro__title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--navy); margin-bottom: 28px; line-height: 1.55; }
.intro__text { color: #46505f; line-height: 2.1; font-size: 1.02rem; }
.intro__text p + p { margin-top: 20px; }
.intro__figure { position: relative; }
.intro__figure img { width: 100%; height: 520px; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow-lg); }
.intro__figure::before { content: ""; position: absolute; top: -16px; right: -16px; width: 130px; height: 130px; border-top: 3px solid var(--gold); border-right: 3px solid var(--gold); z-index: 1; }
.intro__stats { display: flex; gap: 44px; margin-top: 44px; flex-wrap: wrap; }
.stat__num { font-family: var(--font-mincho); font-size: 2.8rem; color: var(--blue); line-height: 1; font-weight: 700; }
.stat__num small { font-size: 1.1rem; margin-left: 4px; color: var(--gold-deep); }
.stat__label { font-size: 0.82rem; color: var(--gray); letter-spacing: 0.08em; margin-top: 8px; }

/* ==== Services ==== */
.services { padding: 120px 0; background: var(--paper-2); position: relative; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.svc-card { position: relative; overflow: hidden; background: #fff; border-radius: 6px; box-shadow: var(--shadow); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card__img { position: relative; height: 240px; overflow: hidden; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.svc-card:hover .svc-card__img img { transform: scale(1.07); }
.svc-card__no { position: absolute; top: 16px; left: 18px; font-family: var(--font-mincho); font-size: 0.95rem; color: #fff; letter-spacing: 0.15em; z-index: 2; background: rgba(22,58,99,0.85); padding: 4px 14px; border-radius: 3px; }
.svc-card__body { padding: 30px 28px 34px; }
.svc-card__en { font-size: 0.66rem; letter-spacing: 0.2em; color: var(--blue); font-weight: 700; margin-bottom: 10px; }
.svc-card__title { font-size: 1.35rem; color: var(--navy); margin-bottom: 16px; }
.svc-card__text { font-size: 0.92rem; color: #5a6472; line-height: 1.95; }
.svc-card__link { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 0.82rem; letter-spacing: 0.08em; color: var(--gold-deep); font-weight: 600; }
.svc-card__link .btn__arrow { width: 22px; background: var(--gold-deep); }
.svc-card__link .btn__arrow::after { border-color: var(--gold-deep); }

/* ==== Features ==== */
.features { position: relative; padding: 140px 0; overflow: hidden; }
.features__bg { position: absolute; inset: 0; z-index: 0; }
.features__bg img { width: 100%; height: 100%; object-fit: cover; }
.features__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(22,58,99,0.92), rgba(22,58,99,0.72)); }
.features__inner { position: relative; z-index: 2; }
.features__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 20px; }
.feat { padding: 40px 32px; background: rgba(255,255,255,0.97); border-radius: 6px; border-top: 4px solid var(--gold); }
.feat__no { font-family: var(--font-mincho); font-size: 1.6rem; color: var(--blue); letter-spacing: 0.1em; margin-bottom: 16px; font-weight: 700; }
.feat__title { font-size: 1.28rem; color: var(--navy); margin-bottom: 14px; }
.feat__text { font-size: 0.9rem; color: #5a6472; line-height: 1.95; }

/* ==== Works ==== */
.works { padding: 120px 0; background: var(--paper); }
.works__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { position: relative; overflow: hidden; aspect-ratio: 3/2; border-radius: 6px; box-shadow: var(--shadow); }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.work-card:hover img { transform: scale(1.08); }
.work-card__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; background: linear-gradient(to top, rgba(22,58,99,0.88) 0%, rgba(22,58,99,0.1) 55%, transparent 100%); }
.work-card__cat { font-size: 0.68rem; letter-spacing: 0.16em; color: #ffd97a; font-weight: 700; margin-bottom: 6px; }
.work-card__title { font-size: 1.15rem; color: #fff; }

/* ==== CTA ==== */
.cta-band { position: relative; padding: 110px 0; text-align: center; overflow: hidden; }
.cta-band__bg { position: absolute; inset: 0; z-index: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(22,58,99,0.9), rgba(47,123,196,0.78)); }
.cta-band__inner { position: relative; z-index: 2; }
.cta-band__en { font-size: 0.74rem; letter-spacing: 0.3em; color: #bfe0ff; font-weight: 700; margin-bottom: 16px; }
.cta-band__title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); color: #fff; margin-bottom: 18px; }
.cta-band__text { color: #eaf3fb; margin-bottom: 38px; font-size: 1.02rem; }

/* ==== Footer ==== */
.site-footer { background: var(--navy); color: #cfd9e5; padding: 76px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand__name { font-family: var(--font-mincho); font-size: 1.5rem; color: #fff; letter-spacing: 0.12em; margin-bottom: 6px; }
.footer-brand__en { font-size: 0.62rem; letter-spacing: 0.28em; color: #bfe0ff; margin-bottom: 20px; }
.footer-brand__text { font-size: 0.88rem; line-height: 1.9; color: #a9b7c6; max-width: 340px; }
.footer-col__title { font-size: 0.8rem; letter-spacing: 0.16em; color: #ffd97a; font-weight: 700; margin-bottom: 22px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: #cfd9e5; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 12px; }
.footer-bottom__copy { font-size: 0.78rem; color: #90a0b3; letter-spacing: 0.05em; }
.footer-bottom__credit { font-size: 0.78rem; color: #90a0b3; }
.footer-bottom__credit a { color: #bfe0ff; }

/* ==== Page hero (下層) ==== */
.page-hero { position: relative; padding: 190px 0 84px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(22,58,99,0.85), rgba(22,58,99,0.55)); }
.page-hero__en { font-size: 0.74rem; letter-spacing: 0.3em; color: #ffd97a; font-weight: 700; margin-bottom: 12px; }
.page-hero__title { font-size: clamp(2rem, 4.6vw, 3.2rem); color: #fff; }

.page-body { padding: 84px 0 110px; background: var(--paper); }
.page-body .wrap { max-width: 860px; }
.page-body h2 { font-size: 1.7rem; color: var(--navy); margin: 50px 0 22px; padding-left: 18px; border-left: 4px solid var(--gold); }
.page-body h3 { font-size: 1.3rem; color: var(--navy-2); margin: 36px 0 16px; }
.page-body p { margin-bottom: 20px; color: #46505f; line-height: 2.05; }
.page-body ul, .page-body ol { margin: 0 0 24px 1.4em; }
.page-body li { margin-bottom: 10px; color: #46505f; }
.page-body img { margin: 30px 0; border-radius: 6px; }
.page-body table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.page-body th, .page-body td { padding: 14px 18px; border: 1px solid var(--line); text-align: left; }
.page-body th { background: var(--navy); color: #fff; font-weight: 600; }
.page-body tr:nth-child(even) td { background: var(--paper-2); }

/* ==== FAQ ==== */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { font-family: var(--font-mincho); font-size: 1.15rem; color: var(--navy); padding: 24px 0 24px 44px; position: relative; }
.faq-q::before { content: "Q"; position: absolute; left: 0; top: 22px; font-family: var(--font-mincho); color: var(--blue); font-size: 1.4rem; font-weight: 700; }
.faq-a { padding: 0 0 26px 44px; position: relative; color: #46505f; }
.faq-a::before { content: "A"; position: absolute; left: 0; top: -2px; font-family: var(--font-mincho); color: var(--gold-deep); font-size: 1.4rem; font-weight: 700; }

/* ==== Contact ==== */
.contact-map { width: 100%; height: 420px; border: 0; border-radius: 6px; }
.contact-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0; }
.contact-info__item { text-align: center; padding: 30px 20px; background: var(--paper-2); border-top: 3px solid var(--gold); border-radius: 4px; }
.contact-info__label { font-size: 0.72rem; letter-spacing: 0.16em; color: var(--blue); font-weight: 700; margin-bottom: 12px; }
.contact-info__value { font-family: var(--font-mincho); font-size: 1.1rem; color: var(--navy); }

.wpcf7-form p { margin-bottom: 20px; }
.wpcf7-form label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 8px; letter-spacing: 0.05em; }
.wpcf7-form input[type=text], .wpcf7-form input[type=email], .wpcf7-form input[type=tel], .wpcf7-form textarea, .wpcf7-form select { width: 100%; padding: 14px 16px; border: 1px solid var(--line); background: #fff; font-size: 1rem; font-family: inherit; color: var(--ink); transition: border 0.3s; border-radius: 4px; }
.wpcf7-form input:focus, .wpcf7-form textarea:focus { border-color: var(--blue); outline: none; }
.wpcf7-form input[type=submit] { background: var(--gold); color: #fff; border: 0; padding: 16px 60px; font-size: 1rem; font-weight: 600; letter-spacing: 0.1em; cursor: pointer; transition: all 0.35s var(--ease); border-radius: 4px; }
.wpcf7-form input[type=submit]:hover { background: var(--gold-deep); }

/* ==== Blog ==== */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.post-item { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.post-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-item .post-thumbnail img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-item .entry-header, .post-item .entry-content { padding: 0 24px; }
.post-item .entry-title { font-size: 1.2rem; margin: 18px 0 10px; }
.post-item .entry-title a { color: var(--navy); }
.post-item .entry-title a:hover { color: var(--blue); }
.post-item .entry-content { padding-bottom: 24px; color: #5a6472; }
.read-more { display: inline-block; margin-top: 14px; font-size: 0.82rem; letter-spacing: 0.08em; color: var(--gold-deep); font-weight: 600; }

/* ==== Responsive ==== */
@media (max-width: 1024px) {
  .intro__grid { grid-template-columns: 1fr; gap: 48px; }
  .services__grid, .features__list { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .menu-toggle { display: flex; flex-direction: column; gap: 6px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; z-index: 1100; }
  .menu-toggle span { display: block; width: 26px; height: 2px; background: #fff; transition: 0.35s var(--ease); }
  .scrolled .menu-toggle span { background: var(--navy); }
  .menu-toggle[aria-expanded="true"] span { background: #fff; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav { position: fixed; inset: 0; background: rgba(22,58,99,0.98); flex-direction: column; justify-content: center; transform: translateX(100%); transition: transform 0.5s var(--ease); gap: 0; }
  .nav.open { transform: translateX(0); }
  .nav ul { flex-direction: column; gap: 8px; text-align: center; }
  .nav a { font-size: 1.15rem; padding: 16px; color: #fff !important; }
  .nav__cta { margin-top: 20px; }
  .services__grid, .features__list, .works__grid, .contact-info { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .intro, .services, .works, .cta-band { padding: 74px 0; }
  .features { padding: 84px 0; }
  .intro__figure img { height: 340px; }
  .page-hero { padding: 140px 0 56px; }
}

/* ==== 事業内容ページ：左右交互カラム ==== */
.svc-detail { padding: 90px 0; background: var(--paper); }
.svc-detail__lead { max-width: 800px; margin: 0 auto 70px; text-align: center; color: #46505f; font-size: 1.05rem; line-height: 2.1; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 90px; }
.svc-row:last-child { margin-bottom: 0; }
.svc-row--rev .svc-row__media { order: 2; }
.svc-row__media { position: relative; }
.svc-row__media img { width: 100%; height: 440px; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow-lg); }
.svc-row__media::before { content: ""; position: absolute; width: 120px; height: 120px; z-index: 1; }
.svc-row__media::before { top: -16px; left: -16px; border-top: 3px solid var(--gold); border-left: 3px solid var(--gold); }
.svc-row--rev .svc-row__media::before { left: auto; right: -16px; border-left: 0; border-right: 3px solid var(--gold); }
.svc-row__no { font-family: var(--font-mincho); font-size: 3.2rem; color: var(--blue-light); line-height: 1; margin-bottom: 6px; font-weight: 700; }
.svc-row__en { font-size: 0.72rem; letter-spacing: 0.28em; color: var(--blue); font-weight: 700; margin-bottom: 14px; }
.svc-row__title { font-size: clamp(1.5rem, 2.8vw, 2rem); color: var(--navy); margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.svc-row__text { color: #46505f; line-height: 2.05; margin-bottom: 22px; }
.svc-row__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.svc-row__list li { position: relative; padding-left: 26px; color: var(--navy); font-size: 0.92rem; font-weight: 500; }
.svc-row__list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

/* ==== 施工実績ページ：3列グリッドギャラリー ==== */
.works-gallery { padding: 90px 0; background: var(--paper); }
.works-gallery__lead { max-width: 800px; margin: 0 auto 60px; text-align: center; color: #46505f; font-size: 1.05rem; line-height: 2.1; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work-item { position: relative; overflow: hidden; border-radius: 8px; box-shadow: var(--shadow); background: #fff; }
.work-item__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.work-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.work-item:hover .work-item__img img { transform: scale(1.08); }
.work-item__cat { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(22,58,99,0.88); color: #fff; font-size: 0.66rem; letter-spacing: 0.12em; font-weight: 600; padding: 5px 14px; border-radius: 3px; }
.work-item__body { padding: 22px 22px 26px; }
.work-item__title { font-size: 1.12rem; color: var(--navy); margin-bottom: 8px; }
.work-item__desc { font-size: 0.86rem; color: #5a6472; line-height: 1.85; }

@media (max-width: 1024px) {
  .works-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .svc-row { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .svc-row--rev .svc-row__media { order: 0; }
  .svc-row__media img { height: 260px; }
  .svc-row__list { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .svc-detail, .works-gallery { padding: 56px 0; }
}

/* ==== お問い合わせページ ==== */
.contact-page { padding: 90px 0 0; background: var(--paper); }
.contact-page__lead { max-width: 820px; margin: 0 auto 60px; text-align: center; color: #46505f; font-size: 1.05rem; line-height: 2.1; }
.contact-layout { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 56px; align-items: start; }
.contact-block__title { font-size: 1.4rem; color: var(--navy); margin-bottom: 28px; display: flex; flex-direction: column; gap: 4px; }
.contact-block__en { font-size: 0.66rem; letter-spacing: 0.24em; color: var(--blue); font-weight: 700; }

/* フォーム */
.contact-form-col .cf7-row { margin-bottom: 22px; }
.contact-form-col .cf7-half { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form-col label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--navy); letter-spacing: 0.04em; }
.contact-form-col .cf7-req { display: inline-block; background: var(--gold); color: #fff; font-size: 0.66rem; padding: 2px 8px; border-radius: 3px; margin-left: 8px; vertical-align: middle; letter-spacing: 0.05em; }
.contact-form-col input[type=text], .contact-form-col input[type=email], .contact-form-col input[type=tel], .contact-form-col textarea, .contact-form-col select {
  width: 100%; padding: 14px 16px; margin-top: 8px; border: 1px solid var(--line); background: #fff; font-size: 1rem; font-family: inherit; color: var(--ink); transition: border 0.3s, box-shadow 0.3s; border-radius: 5px;
}
.contact-form-col input:focus, .contact-form-col textarea:focus, .contact-form-col select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(47,123,196,0.12); }
.contact-form-col textarea { resize: vertical; min-height: 140px; }
/* ハニーポット（スパム対策・非表示） */
.cf7-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
/* プライバシー同意 */
.cf7-privacy { margin: 24px 0; padding: 16px 20px; background: var(--paper-2); border-radius: 6px; font-size: 0.9rem; color: #46505f; }
.cf7-privacy a { color: var(--blue); text-decoration: underline; }
.cf7-privacy input[type=checkbox] { margin-right: 8px; }
/* 送信ボタン */
.cf7-submit { text-align: center; }
.contact-form-col input[type=submit], .contact-form-col .wpcf7-submit {
  background: var(--gold); color: #fff; border: 0; padding: 16px 70px; font-size: 1.05rem; font-weight: 600; letter-spacing: 0.1em; cursor: pointer; transition: all 0.35s var(--ease); border-radius: 5px; font-family: inherit;
}
.contact-form-col input[type=submit]:hover, .contact-form-col .wpcf7-submit:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(181,130,42,0.3); }
.wpcf7-spinner { margin: 0 auto; display: block; }
.wpcf7 form .wpcf7-response-output { margin: 20px 0 0; padding: 14px 18px; border-radius: 5px; font-size: 0.92rem; }
.wpcf7 form.sent .wpcf7-response-output { border: 1px solid #46b450; background: #edfaef; color: #1a7a2e; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border: 1px solid #dc3232; background: #fdf0f0; color: #a92626; }
.wpcf7-not-valid-tip { color: #dc3232; font-size: 0.82rem; margin-top: 6px; }
.contact-noform { padding: 30px; background: var(--paper-2); border-radius: 8px; border-left: 4px solid var(--gold); color: #46505f; line-height: 2; }
.contact-noform p { margin-bottom: 12px; }

/* 連絡先カラム */
.contact-card { background: var(--navy); color: #fff; padding: 28px 26px; border-radius: 8px; text-align: center; margin-bottom: 24px; }
.contact-card__label { font-size: 0.78rem; letter-spacing: 0.12em; color: #bfe0ff; margin-bottom: 10px; }
.contact-card__tel { font-family: var(--font-mincho); font-size: 2rem; color: #fff; font-weight: 700; letter-spacing: 0.04em; display: block; }
.contact-card__tel:hover { color: #ffd97a; }
.contact-card__note { font-size: 0.82rem; color: #cfd9e5; margin-top: 8px; }
.contact-dl { border-top: 1px solid var(--line); margin-bottom: 28px; }
.contact-dl__row { display: flex; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.contact-dl__row dt { width: 40%; font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.contact-dl__row dd { width: 60%; color: #46505f; font-size: 0.9rem; }
.contact-flow__title { font-size: 1rem; color: var(--navy); font-weight: 600; margin-bottom: 16px; padding-left: 12px; border-left: 3px solid var(--gold); }
.contact-flow__list { list-style: none; }
.contact-flow__list li { display: flex; align-items: center; gap: 14px; padding: 10px 0; color: #46505f; font-size: 0.9rem; }
.contact-flow__list li span { flex-shrink: 0; width: 30px; height: 30px; background: var(--blue-light); color: var(--blue); font-family: var(--font-mincho); font-weight: 700; font-size: 0.85rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* 地図 */
.contact-map-wrap { margin-top: 80px; }
.contact-map-wrap .contact-block__title { margin-bottom: 12px; }
.contact-access__addr { color: #46505f; margin-bottom: 30px; }
.contact-map { display: block; width: 100%; height: 450px; border: 0; }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-col .cf7-half { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .contact-page { padding: 56px 0 0; }
  .contact-map { height: 320px; }
  .contact-map-wrap { margin-top: 56px; }
}

/* ==== ESG・SDGsページ ==== */
.sus-intro { padding: 90px 0 30px; background: var(--paper); }
.sus-intro__lead { max-width: 900px; margin: 0 auto; text-align: center; color: #46505f; font-size: 1.08rem; line-height: 2.2; }

/* ESG 3本柱 */
.esg { padding: 70px 0 90px; background: var(--paper); }
.esg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.esg-card { position: relative; padding: 48px 34px 40px; background: #fff; border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.esg-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--blue), var(--gold)); }
.esg-card__key { font-family: var(--font-mincho); font-size: 3.4rem; font-weight: 700; color: var(--blue-light); line-height: 1; margin-bottom: 8px; }
.esg-card__en { font-size: 0.68rem; letter-spacing: 0.22em; color: var(--blue); font-weight: 700; margin-bottom: 6px; }
.esg-card__title { font-size: 1.4rem; color: var(--navy); margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.esg-card__text { font-size: 0.92rem; color: #5a6472; line-height: 1.95; }

/* 重点SDGs */
.sdg-focus { padding: 90px 0; background: var(--paper-2); }
.sdg-focus__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.sdg-focus__item { display: flex; gap: 22px; align-items: flex-start; background: #fff; padding: 26px; border-radius: 8px; box-shadow: var(--shadow); }
.sdg-focus__icon { width: 108px; height: 108px; flex-shrink: 0; border-radius: 6px; }
.sdg-focus__title { font-size: 1.12rem; color: var(--navy); margin-bottom: 10px; line-height: 1.5; }
.sdg-focus__text { font-size: 0.88rem; color: #5a6472; line-height: 1.9; }

/* 全17目標 */
.sdg-all { padding: 100px 0; background: var(--navy); position: relative; }
.sdg-all__lead { text-align: center; color: #cfe0f0; margin-bottom: 44px; font-size: 1rem; }
.sdg-all__poster { max-width: 1000px; margin: 0 auto; background: #fff; padding: 32px; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.sdg-all__poster img { width: 100%; height: auto; display: block; border-radius: 6px; }
.sdg-all__note { max-width: 900px; margin: 40px auto 0; text-align: center; font-size: 0.72rem; color: #8ba3bd; line-height: 1.8; }

@media (max-width: 1024px) {
  .esg-grid { grid-template-columns: 1fr; }
  .sdg-all__poster { padding: 24px; }
}
@media (max-width: 768px) {
  .sus-intro { padding: 56px 0 20px; }
  .esg { padding: 50px 0 60px; }
  .sdg-focus, .sdg-all { padding: 60px 0; }
  .sdg-focus__grid { grid-template-columns: 1fr; }
  .sdg-focus__item { flex-direction: column; align-items: center; text-align: center; }
  .sdg-all__poster { padding: 16px; border-radius: 10px; }
}

/* ==== 施工実績の個別ページ ==== */
.work-single { padding: 80px 0 100px; background: var(--paper); }
.work-single__layout { display: grid; grid-template-columns: 1.5fr 0.8fr; gap: 48px; align-items: start; }
.work-single__figure { margin: 0 0 30px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); }
.work-single__figure img { width: 100%; height: auto; display: block; }
.work-single__summary { font-size: 1.15rem; color: var(--navy); line-height: 2; font-weight: 500; margin-bottom: 26px; padding-left: 18px; border-left: 4px solid var(--gold); }
.work-single__content { color: #46505f; line-height: 2.05; }
.work-single__content p { margin-bottom: 18px; }

.work-spec { position: sticky; top: 100px; background: var(--paper-2); border-radius: 10px; padding: 30px 28px; border-top: 4px solid var(--gold); }
.work-spec__title { font-size: 1.2rem; color: var(--navy); margin-bottom: 20px; text-align: center; }
.work-spec__list { margin-bottom: 26px; }
.work-spec__row { padding: 14px 2px; border-bottom: 1px solid var(--line); }
.work-spec__row:first-child { border-top: 1px solid var(--line); }
.work-spec__row dt { font-size: 0.74rem; letter-spacing: 0.08em; color: var(--blue); font-weight: 700; margin-bottom: 5px; }
.work-spec__row dd { font-family: var(--font-mincho); font-size: 1.05rem; color: var(--navy); }
.work-spec__cta { width: 100%; justify-content: center; }

.work-single__nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 70px; padding-top: 30px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.work-single__nav a { font-size: 0.9rem; color: var(--blue); }
.work-single__nav a:hover { color: var(--navy); }
.work-single__nav-list { font-weight: 600; letter-spacing: 0.06em; padding: 10px 26px; border: 1px solid var(--navy); border-radius: 4px; color: var(--navy) !important; transition: all 0.3s var(--ease); }
.work-single__nav-list:hover { background: var(--navy); color: #fff !important; }
.work-single__nav-prev, .work-single__nav-next { flex: 1; min-width: 120px; }
.work-single__nav-next { text-align: right; }

@media (max-width: 900px) {
  .work-single__layout { grid-template-columns: 1fr; gap: 32px; }
  .work-spec { position: static; }
}
@media (max-width: 768px) {
  .work-single { padding: 50px 0 70px; }
  .work-single__nav { flex-direction: column; gap: 14px; text-align: center; }
  .work-single__nav-prev, .work-single__nav-next { text-align: center; }
}
