/*
Theme Name: DS COMPANY
Theme URI: https://ds-company.example.com
Author: DS COMPANY
Description: 株式会社 DS COMPANY — 石綿除去・総合解体のコーポレートサイト用テーマ。大豊建設を参考にした高級感あるデザイン。
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ds-company
*/

/* ==========================================================================
   1. Variables
   ========================================================================== */
:root {
  --navy: #07397b;
  --navy-deep: #052d62;
  --navy-mid: #0a4a9c;
  --white: #ffffff;
  --off-white: #f5f4f0;
  --gray-light: #e0ddd8;
  --gray: #5f5f5f;
  --text: #1a1814;
  --gold: #a38036;
  --gold-light: #b8943d;
  --gold-pale: #c9a84c;

  --navy-rgb: 7, 57, 123;
  --navy-deep-rgb: 5, 45, 98;

  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-label: "Montserrat", sans-serif;

  --container: 1200px;
  --container-wide: 1440px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 88px;
  --header-inset-y: clamp(10px, 1.4vw, 16px);
  --header-inset-x: clamp(16px, 2.5vw, 32px);
  --header-gap: 5px;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding-top: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* Loading screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0c1829;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loading-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  animation: loadingFade 2s ease-in-out infinite;
}

.loading-logo {
  width: clamp(125px, 15vw, 145px);
  height: auto;
  image-rendering: auto;
  backface-visibility: hidden;
}

@keyframes loadingFade {
  0%, 100% {
    opacity: 0.25;
    transform: scale(0.93);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.loading-company-wordmark {
  display: block;
  width: clamp(180px, 22vw, 205px);
  height: auto;
  image-rendering: auto;
  backface-visibility: hidden;
}

.loading-bar-wrap {
  width: 140px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.loading-bar {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    #a38036,
    transparent
  );
  animation: loadingBar 2s ease-in-out infinite;
}

@media (min-width: 769px) {
  .loading-inner {
    gap: 23px;
  }

  .loading-logo {
    width: 165px;
  }

  .loading-company-wordmark {
    width: 235px;
  }

  .loading-bar-wrap {
    width: 160px;
  }
}

@keyframes loadingBar {
  0%   { left: -100%; }
  100% { left: 100%; }
}

html {
  margin-top: 0 !important;
}

#wpadminbar {
  display: none !important;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: none; transition: color .3s ease, opacity .3s ease; }
a:hover { color: var(--navy-mid); }

h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.4; font-weight: 700; color: var(--navy); }
p { margin: 0 0 1.5em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

::selection { background: var(--navy-mid); color: var(--white); }

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container--wide { max-width: var(--container-wide); }

.site-main { display: block; }

.en {
  font-family: var(--font-label);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px; overflow: hidden;
}

/* Section heading (English big + Japanese small) */
.heading-block { margin-bottom: 56px; }
.heading-block__en {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--navy);
}
.heading-block__en .dot { color: var(--gold); }
.heading-block--flush { margin-bottom: 0; }
.heading-block--tight { margin-bottom: 28px; }

.page-hero__en .dot { color: var(--gold); }

.u-muted { color: var(--gray); }
.u-text-center { text-align: center; }
.heading-block__ja {
  display: block;
  margin-top: 12px;
  font-family: var(--font-label);
  font-size: .8rem;
  letter-spacing: .3em;
  color: var(--navy);
}
.heading-block--light .heading-block__en { color: var(--white); }
.heading-block--light .heading-block__ja { color: rgba(255, 255, 255, 0.75); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 40px;
  font-family: var(--font-label);
  font-size: .82rem;
  letter-spacing: .14em;
  font-weight: 500;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  transition: all .3s ease;
}
.btn::after { content: "\2192"; transition: transform .3s ease; }
.btn:hover { background: var(--navy-mid); border-color: var(--navy-mid); color: var(--white); }
.btn:hover::after { transform: translateX(6px); }

.btn--gold { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-pale); border-color: var(--gold-pale); color: var(--navy-deep); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }

.btn--light { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--off-white); border-color: var(--off-white); color: var(--navy); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  padding: 1rem 2.5rem;
}
.btn--outline::after { content: none; }
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn--join {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
  padding: 1rem 2.5rem;
}
.btn--join::after { content: none; }
.btn--join:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-circle span { display: block; margin-top: -2px; }
.btn-circle:hover { background: var(--navy); color: var(--white); }

.home-section .btn-circle--light,
.home-join .btn-circle { border-color: var(--white); color: var(--white); }
.home-section .btn-circle--light:hover,
.home-join .btn-circle:hover { background: var(--white); color: var(--navy); }

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: var(--header-inset-y);
  left: var(--header-inset-x);
  right: var(--header-inset-x);
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: transparent;
  gap: var(--header-gap);
  padding: 0;
  box-sizing: border-box;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(158px, 13vw, 186px);
  padding: 0 1rem;
  background: #ffffff;
  flex-shrink: 0;
  height: 100%;
  box-sizing: border-box;
}

.header-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.header-logo img {
  height: clamp(77px, 7.3vw, 91px);
  width: auto;
  max-width: 100%;
  filter: none;
  display: block;
}

.header-nav {
  flex: 0 0 auto;
  width: auto;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
}

.header-nav ul {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  width: auto;
  height: 100%;
}

.header-nav ul li {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  height: 100%;
}

.header-nav ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 100%;
  padding: 0 clamp(0.85rem, 1.6vw, 1.65rem);
  text-decoration: none;
  border-right: 1px solid #e8e4dc;
  position: relative;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.header-nav ul li:first-child a {
  border-left: 1px solid #e8e4dc;
}

.header-nav ul li a .nav-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #5f5f5f;
  line-height: 1.2;
  transition: color 0.2s;
}

.header-nav ul li a .nav-ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #07397b;
  line-height: 1.2;
  transition: color 0.2s;
}

.header-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #a38036;
  transition: width 0.3s;
}

.header-nav ul li a:hover {
  background: rgba(250, 249, 246, 0.85);
}

.header-nav ul li a:hover .nav-en,
.header-nav ul li a:hover .nav-ja {
  color: #a38036;
}

.header-nav ul li a:hover::after {
  width: 100%;
}

/* SERVICE dropdown */
.header-nav ul li.has-dropdown {
  position: relative;
}

.has-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 280px;
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(7, 57, 123, 0.12);
  border-top: 2px solid #a38036;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 300;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  text-decoration: none;
  border-bottom: 1px solid #f0ede8;
  transition: background 0.2s ease;
}

.dropdown-item:last-child { border-bottom: none; }

.dropdown-item:hover { background: #f5f4f0; }

.dropdown-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  color: #a38036;
  font-weight: 700;
  width: 20px;
  flex-shrink: 0;
}

.dropdown-ja {
  font-size: 0.85rem;
  color: #07397b;
  font-weight: 500;
  flex: 1;
}

.dropdown-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: #a0a09a;
}

.header-tel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: clamp(196px, 17vw, 228px);
  padding: 0 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-shrink: 0;
  height: 100%;
  gap: 3px;
  box-sizing: border-box;
  text-align: center;
}

.header-tel-hours {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  color: #7a7670;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
}

.header-tel-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.95rem, 1.15vw, 1.12rem);
  font-weight: 700;
  color: #07397b;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.2;
}

.header-tel-number:hover {
  color: #a38036;
}

.header-contact-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(142px, 11vw, 162px);
  padding: 0 1rem;
  background: #07397b;
  color: #ffffff;
  text-decoration: none;
  flex-shrink: 0;
  height: 100%;
  transition: background 0.2s;
  gap: 4px;
  box-sizing: border-box;
}

.header-contact-btn:hover {
  background: #a38036;
  color: #ffffff;
}

.header-contact-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.2;
}

.header-contact-ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: var(--header-h);
  height: var(--header-h);
  background: #ffffff;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: #07397b;
  transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.ds-logo {
  width: 40px;
  height: 40px;
  flex: none;
}

.ds-logo__frame {
  fill: var(--navy);
  stroke: var(--white);
  stroke-width: 2.5;
}

.ds-logo__letter {
  fill: none;
  stroke: var(--white);
  stroke-width: 3;
}

@media (max-width: 1200px) {
  .header-nav ul li a {
    padding: 0 0.95rem;
    letter-spacing: 0.08em;
  }

  .header-tel {
    width: clamp(176px, 16vw, 210px);
  }

  .header-contact-btn {
    width: clamp(132px, 10vw, 150px);
  }
}

@media (max-width: 1024px) {
  :root {
    --header-inset-y: clamp(8px, 1.2vw, 12px);
    --header-inset-x: clamp(12px, 2vw, 20px);
    --header-gap: 4px;
  }

  .header-logo {
    width: clamp(140px, 16vw, 168px);
  }

  .header-nav ul li a {
    font-size: 0.62rem;
    padding: 0 0.7rem;
  }

  .header-tel {
    width: 168px;
    padding: 0 0.85rem;
  }

  .header-contact-btn {
    width: 128px;
  }
}

@media (max-width: 900px) {
  .site-header {
    justify-content: space-between;
  }

  .site-header > .header-tel,
  .site-header > .header-contact-btn {
    display: none;
  }

  .header-logo {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  .header-nav {
    position: fixed;
    top: calc(var(--header-inset-y) + var(--header-h) + var(--header-gap));
    right: var(--header-inset-x);
    flex: none;
    width: min(88vw, 320px);
    height: calc(100vh - var(--header-inset-y) - var(--header-h) - var(--header-gap));
    height: calc(100dvh - var(--header-inset-y) - var(--header-h) - var(--header-gap));
    background: #052d62;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    transform: translateX(calc(100% + 12px));
    transition: transform .4s ease;
    padding: 24px 0 48px;
    overflow-y: auto;
    z-index: 199;
    align-items: stretch;
    justify-content: flex-start;
  }

  .header-nav.is-open {
    transform: translateX(0);
  }

  .header-nav ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: auto;
  }

  .header-nav ul li {
    flex: none;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-nav ul li a {
    width: 100%;
    height: auto;
    padding: 18px 28px;
    color: rgba(255, 255, 255, 0.9);
    border-right: none;
    border-left: none;
    font-size: 0.82rem;
    justify-content: flex-start;
  }

  .header-nav ul li:first-child a {
    border-left: none;
  }

  .header-nav ul li a::after {
    display: none;
  }

  .header-nav ul li a:hover {
    color: #c9a84c;
    background: rgba(255, 255, 255, 0.04);
  }

  .header-nav__mobile-extra {
    display: block;
    padding: 24px 28px 0;
  }

  .header-nav__mobile-extra .header-tel {
    display: flex;
    background: transparent;
    padding: 0;
    min-width: 0;
    margin-bottom: 20px;
  }

  .header-nav__mobile-extra .header-tel-hours {
    color: rgba(255, 255, 255, 0.55);
  }

  .header-nav__mobile-extra .header-tel-number {
    color: #ffffff;
  }

  .header-nav__mobile-extra .header-contact-btn {
    display: flex;
    width: 100%;
    padding: 16px 24px;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (min-width: 901px) {
  .header-nav__mobile-extra {
    display: none;
  }
}

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: block;
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: var(--navy-deep);
  color: #fff;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* YouTube 背景動画 */
.hero-yt-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-yt-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  /* 16:9 アスペクト比でビューポートを確実にカバー */
  width: 100vw;
  height: 56.25vw;   /* 100vw ÷ 16 × 9 */
  min-height: 100%;
  min-width: 177.78vh; /* 100vh ÷ 9 × 16 */
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 45, 0.45);
  z-index: 1;
}

.hero-content {
  position: absolute;
  bottom: calc(17vw + 2rem);
  right: 4rem;
  z-index: 3;
  text-align: right;
  max-width: min(560px, 44vw);
}

.hero__title {
  margin: 0;
}

.hero-title-main {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: #ffffff;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-title-accent {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: #a38036;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
  margin: 0.8rem 0 0;
}

.hero-big-text {
  position: absolute;
  bottom: -0.15em;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  line-height: 0.85;
}

.hero-big-text__track {
  display: flex;
  width: max-content;
  animation: heroBigTextScroll 28s linear infinite;
  will-change: transform;
}

.hero-big-text-line {
  display: block;
  flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(5rem, 17vw, 20rem);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 0.9;
  padding-left: 0.05em;
  padding-right: 0.35em;
}

@keyframes heroBigTextScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-big-text__track {
    animation: none;
    width: 100%;
  }

  .hero-big-text-line:last-child {
    display: none;
  }
}

.hero__scroll-down {
  position: absolute;
  right: 2rem;
  bottom: 3rem;
  z-index: 4;
  font-family: var(--font-label);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  writing-mode: vertical-rl;
  pointer-events: none;
}

/* Scroll fade-in */
.fade-up,
.fade-in,
.js-fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible,
.fade-in.visible,
.js-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section__action { margin-top: 48px; }
.section__empty {
  color: rgba(255, 255, 255, .7);
  font-size: .95rem;
}

/* ==========================================================================
   6. Section base
   ========================================================================== */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--navy { background: var(--navy-mid); color: var(--white); }
.section--navy h1, .section--navy h2, .section--navy h3,
.section--deep h1, .section--deep h2, .section--deep h3 { color: var(--white); }
.section--deep { background: var(--navy-deep); color: var(--white); }
.section--white { background: var(--white); color: var(--text); }
.section--off-white { background: var(--off-white); color: var(--text); }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }

/* ==========================================================================
   7. About (front)
   ========================================================================== */
.about__layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about__heading { margin-bottom: 32px; }
.about__text {
  font-size: clamp(.92rem, 1.5vw, 1rem);
  line-height: 2.1;
  color: var(--gray);
  margin-bottom: 36px;
}
.about__img {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #cfcabd, #a7a294);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  letter-spacing: .2em;
  font-size: .72rem;
  color: rgba(0, 0, 0, .35);
}
.about__img img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   8. News
   ========================================================================== */
.news__layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.news__heading .heading-block { margin-bottom: 28px; }
.news__more { font-family: var(--font-label); font-size: .78rem; letter-spacing: .12em; color: var(--navy); }
.news__more:hover { color: var(--gold); }
.news__list { border-top: 1px solid var(--gray-light); }
.news__item {
  display: grid;
  grid-template-columns: 130px 120px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 26px 4px;
  border-bottom: 1px solid var(--gray-light);
  color: inherit;
}
.news__date { font-family: var(--font-label); font-size: .82rem; letter-spacing: .08em; color: var(--gray); }
.news__cat {
  justify-self: start;
  font-family: var(--font-label);
  font-size: .66rem;
  letter-spacing: .1em;
  padding: 4px 14px;
  border: 1px solid var(--navy);
  color: var(--navy);
}
.news__title { font-size: .98rem; font-weight: 500; line-height: 1.7; color: var(--navy); }
.news__item:hover .news__title { color: var(--navy-mid); }
.news__empty {
  padding: 26px 4px;
  color: var(--gray);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}

/* ==========================================================================
   9. Service (front)
   ========================================================================== */
.service-feature {
  display: grid;
  gap: clamp(48px, 8vw, 110px);
}
.service-feature__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
}
.service-feature__item:nth-child(even) .service-feature__media { order: 2; }
.service-feature__media { position: relative; }
.service-feature__img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #cfcabd, #a7a294);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-label); letter-spacing: .2em; font-size: .72rem; color: rgba(0,0,0,.35);
}
.service-feature__img img { width: 100%; height: 100%; object-fit: cover; }
.service-feature__block {
  position: relative;
  z-index: 2;
  background: var(--navy);
  color: var(--white);
  padding: clamp(32px, 5vw, 56px);
  margin: 0 0 0 -56px;
}
.service-feature__item:nth-child(even) .service-feature__block { margin: 0 -56px 0 0; }
.service-feature__num { font-family: var(--font-serif); font-style: italic; font-size: 2.4rem; line-height: 1; opacity: .7; }
.service-feature__name { font-size: clamp(1.4rem, 3vw, 2rem); margin: 8px 0 16px; letter-spacing: .04em; }
.service-feature__text { font-size: .92rem; line-height: 1.95; }

.service-sub {
  margin-top: clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-light);
  border: 1px solid var(--gray-light);
}
.service-sub__item {
  background: var(--white);
  padding: 40px 28px;
  transition: background .3s ease, color .3s ease;
}
.service-sub__item:hover { background: var(--navy); color: var(--white); }
.service-sub__num { font-family: var(--font-label); font-size: .7rem; letter-spacing: .2em; color: var(--gray); }
.service-sub__item:hover .service-sub__num { color: var(--gold-pale); }
.service-sub__name { font-size: 1.1rem; margin: 12px 0 10px; }
.service-sub__text { font-size: .82rem; color: var(--gray); line-height: 1.8; }
.service-sub__item:hover .service-sub__text { color: rgba(255,255,255,.7); }
.section--off-white .service-sub__item { background: var(--off-white); }

/* ==========================================================================
   10. Strength (front)
   ========================================================================== */
.strength__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 56px);
}
.strength__item { text-align: center; }
.strength__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  color: var(--gold-pale);
}
.strength__icon svg { width: 36px; height: 36px; }
.strength__title {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: .04em;
}
.strength__text {
  font-size: .9rem;
  line-height: 1.95;
  color: rgba(255, 255, 255, .72);
}

/* ==========================================================================
   11. Statement (legacy)
   ========================================================================== */
.statement { position: relative; text-align: center; }
.statement__lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 4vw, 2.8rem);
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 32px;
}
.statement__body {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(.95rem, 1.6vw, 1.05rem);
  line-height: 2.2;
  color: rgba(255,255,255,.82);
}

/* ==========================================================================
   10. Result slider
   ========================================================================== */
.result__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
}
.result__controls {
  display: flex;
  align-items: center;
  gap: 24px;
}
.slider { position: relative; }
.slider__viewport { overflow: hidden; }
.slider__track {
  display: flex;
  transition: transform .6s cubic-bezier(.65,.05,.36,1);
}
.slider__slide { flex: 0 0 100%; padding: 0 1px; }
@media (min-width: 901px) {
  .slider__slide { flex-basis: 33.3333%; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .slider__slide { flex-basis: 50%; }
}
.slider__nav {
  display: flex;
  gap: 12px;
}
.slider__btn {
  width: 56px; height: 56px;
  border: 1px solid var(--gray);
  background: transparent;
  color: var(--navy);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all .3s ease;
}
.section--navy .slider__btn,
.section--deep .slider__btn { border-color: rgba(255,255,255,.4); color: #fff; }
.slider__btn:hover { background: var(--navy-mid); border-color: var(--navy-mid); color: var(--white); }
.section--navy .slider__btn:hover,
.section--deep .slider__btn:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.slider__btn:disabled { opacity: .3; cursor: default; }

.proj-card { padding: 0 12px; }
.proj-card__link { display: block; color: inherit; }
.proj-card__thumb {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: linear-gradient(135deg, #cfcabd, #a7a294);
}
.proj-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.proj-card__link:hover .proj-card__thumb img { transform: scale(1.06); }
.proj-card__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-label); letter-spacing: .2em; font-size: .7rem; color: rgba(0,0,0,.3);
}
.proj-card__tag {
  position: absolute; top: 0; left: 0;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-label);
  font-size: .64rem;
  letter-spacing: .12em;
  padding: 7px 16px;
}
.proj-card__body { padding: 22px 4px 0; }
.section--navy .proj-card__body,
.section--deep .proj-card__body { color: #fff; }
.proj-card__title { font-size: 1.05rem; font-weight: 500; line-height: 1.6; margin-bottom: 14px; }
.proj-card__meta { display: grid; gap: 4px; font-size: .8rem; }
.proj-card__meta > div { display: flex; gap: 12px; }
.proj-card__meta dt { color: var(--gray); font-family: var(--font-label); font-size: .66rem; letter-spacing: .1em; min-width: 48px; }
.section--navy .proj-card__meta dt,
.section--deep .proj-card__meta dt { color: rgba(255, 255, 255, 0.55); }
.proj-card__meta dd { margin: 0; color: var(--gray); }
.section--navy .proj-card__meta dd { color: rgba(255,255,255,.7); }

.slide-no {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: .1em;
}

/* ==========================================================================
   11. Contents (alternating)
   ========================================================================== */
.contents-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  margin-bottom: clamp(48px, 7vw, 96px);
}
.contents-row:last-child { margin-bottom: 0; }
.contents-row:nth-child(even) .contents-row__media { order: 2; }
.contents-row__media {
  aspect-ratio: 5 / 4;
  background: linear-gradient(135deg, #cfcabd, #a7a294);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-label); letter-spacing: .2em; font-size: .72rem; color: rgba(0,0,0,.3);
}
.contents-row__media img { width: 100%; height: 100%; object-fit: cover; }
.contents-row__num { font-family: var(--font-serif); font-style: italic; font-size: 2rem; color: var(--navy); }
.contents-row__title { font-size: clamp(1.3rem, 3vw, 1.8rem); margin: 8px 0 18px; }
.contents-row__text { color: var(--gray); }

/* ==========================================================================
   12. Recruit banner
   ========================================================================== */
.recruit {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.recruit__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #cfcabd, #8a8778);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  letter-spacing: .2em;
  font-size: .72rem;
  color: rgba(0, 0, 0, .25);
}
.recruit__bg img { width: 100%; height: 100%; object-fit: cover; }
.recruit__overlay {
  position: absolute;
  inset: 0;
  background: rgba(var(--navy-deep-rgb), .78);
}
.recruit__inner { position: relative; z-index: 1; }
.recruit__en { font-family: var(--font-serif); font-style: italic; font-size: clamp(2.5rem, 7vw, 5rem); line-height: 1; color: var(--white); }
.recruit__dot { color: var(--gold); }
.recruit__ja { margin-top: 20px; font-size: clamp(1rem, 2vw, 1.15rem); letter-spacing: .08em; color: var(--white); }
.recruit__btn { margin-top: 36px; }

/* ==========================================================================
   Home Contact (front)
   ========================================================================== */
.home-contact { text-align: center; }
.home-contact__inner { position: relative; z-index: 1; }
.home-contact__lead {
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--white);
  margin-bottom: 40px;
}
.home-contact__contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 56px;
  margin-bottom: 44px;
}
.home-contact__item { text-align: center; }
.home-contact__label {
  display: block;
  font-size: .66rem;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 8px;
}
.home-contact__value {
  font-size: clamp(1.3rem, 3.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--white);
}
.home-contact__value:hover { color: var(--gold-pale); }

/* ==========================================================================
   13. Gallery
   ========================================================================== */
.gallery-sec { position: relative; overflow: hidden; }
.gallery-sec__watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(8rem, 26vw, 26rem);
  line-height: 1;
  color: rgba(var(--navy-rgb), .06);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.gallery-sec__inner { position: relative; z-index: 1; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}
.gallery-grid__item {
  background: linear-gradient(135deg, #cfcabd, #a7a294);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-label); font-size: .68rem; letter-spacing: .16em; color: rgba(0,0,0,.3);
}
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid__item--lg { grid-column: span 2; grid-row: span 2; }
.gallery-grid__item--navy { background: var(--navy); color: var(--white); }
.gallery-grid__item--navy .en { font-size: 1.4rem; }

/* ==========================================================================
   14. CTA
   ========================================================================== */
.cta { position: relative; text-align: center; overflow: hidden; }
.cta__bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(6rem, 20vw, 20rem);
  line-height: 1;
  color: rgba(255,255,255,.04);
  pointer-events: none;
  white-space: nowrap;
}
.cta__inner { position: relative; z-index: 1; }
.cta__lead { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.6rem, 5vw, 3rem); margin-bottom: 16px; }
.cta__desc { color: rgba(255,255,255,.75); margin-bottom: 40px; }
.cta__contacts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px;
  margin-bottom: 40px;
}
.cta__contact { text-align: left; }
.cta__contact-label { font-family: var(--font-label); font-size: .66rem; letter-spacing: .2em; color: rgba(255, 255, 255, 0.65); }
.cta__contact-value { font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 700; letter-spacing: .04em; color: var(--white); }
.cta__contact-value:hover { color: var(--gold-pale); }

/* ==========================================================================
   15. Page header (inner)
   ========================================================================== */
.page-hero {
  position: relative;
  height: 45vh;
  min-height: 360px;
  padding: 0;
  background: var(--navy-deep);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.page-hero__wire {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(var(--navy-rgb), .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--navy-rgb), .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 80%);
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  padding: 0 6% 3rem;
  width: 100%;
}

/* ラベル（英語・小・ゴールド）→ abt-hero__label に合わせる */
.page-hero__en {
  font-family: var(--font-label);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  line-height: 1;
  color: #a38036;
  margin: 0 0 0.75rem;
}
.page-hero__en .dot { display: none; }

/* タイトル（日本語・大・白・細字）→ abt-hero__title に合わせる */
.page-hero__ja {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.05em;
  line-height: 1.3;
  margin: 0;
}
.page-hero .breadcrumb { display: none; }

.breadcrumb {
  margin-top: 24px;
  font-family: var(--font-label);
  font-size: .72rem;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .55);
}
.breadcrumb a { color: rgba(255, 255, 255, .75); }
.breadcrumb a:hover { color: var(--gold-pale); }
.breadcrumb .sep { margin: 0 10px; color: rgba(255, 255, 255, 0.45); }

/* ==========================================================================
   16. Content / single
   ========================================================================== */
.content-area { padding: clamp(56px, 8vw, 100px) 0; background: var(--white); }
.content-area--narrow .container { max-width: 880px; }

.entry-content { font-size: 1rem; line-height: 2.1; }
.entry-content > * { margin-bottom: 1.6em; }
.entry-content h2 {
  margin: 2.4em 0 1em;
  font-size: 1.5rem;
  padding-left: 18px;
  border-left: 4px solid var(--gold);
}
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 { margin: 2em 0 .8em; font-size: 1.2rem; color: var(--navy-mid); }
.entry-content a { color: var(--navy); text-decoration: underline; }
.entry-content a:hover { color: var(--gold); }
.entry-content img { border-radius: 2px; }
.entry-content blockquote {
  margin: 2em 0; padding: 24px 28px;
  background: var(--off-white); border-left: 4px solid var(--gold);
  font-family: var(--font-serif); font-style: italic; font-size: 1.1rem;
}

/* Project single */
.proj-detail__hero {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #cfcabd, #a7a294);
  margin-bottom: 48px;
  overflow: hidden;
  max-width: 70%;
  margin-inline: auto;
}
.proj-detail__hero img { width: 100%; height: 100%; object-fit: cover; }
.proj-detail__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.proj-detail__spec {
  background: var(--off-white);
  border-top: 3px solid var(--gold);
  padding: 32px;
  position: sticky;
  top: calc(var(--header-inset-y) + var(--header-h) + 24px);
}
.proj-detail__spec h2 { font-family: var(--font-label); font-size: .8rem; letter-spacing: .16em; color: var(--navy); margin-bottom: 20px; }
.proj-detail__spec dl { display: grid; gap: 0; }
.proj-detail__spec dt {
  font-size: .72rem; font-family: var(--font-label); letter-spacing: .1em; color: var(--gray);
  padding-top: 18px; border-top: 1px solid var(--gray-light);
}
.proj-detail__spec dt:first-of-type { border-top: none; padding-top: 0; }
.proj-detail__spec dd { margin: 4px 0 18px; font-weight: 500; }

.proj-nav {
  margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--gray-light);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--font-label); font-size: .78rem; letter-spacing: .08em;
}
.proj-nav__back { text-align: center; flex: 1 1 100%; order: -1; margin-bottom: 8px; }

/* ==========================================================================
   17. Archive (project list)
   ========================================================================== */
.proj-filter {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 48px;
}
.proj-filter a {
  font-family: var(--font-label);
  font-size: .74rem;
  letter-spacing: .1em;
  padding: 10px 22px;
  border: 1px solid var(--gray-light);
  color: var(--navy);
  background: #fff;
}
.proj-filter a:hover,
.proj-filter a.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px) 0;
}
.proj-grid .proj-card { padding: 0 12px; }

/* ==========================================================================
   18. Service page
   ========================================================================== */
.svc-list { display: grid; gap: 1px; background: var(--gray-light); border: 1px solid var(--gray-light); }
.svc-row {
  display: grid;
  grid-template-columns: 120px 1fr 1.2fr;
  gap: 32px;
  align-items: center;
  background: #fff;
  padding: 40px clamp(20px, 4vw, 48px);
}
.svc-row--link {
  color: inherit;
  text-decoration: none;
  transition: background 0.3s ease;
}
.svc-row--link:hover { background: var(--off-white); }
.svc-row__num { font-family: var(--font-serif); font-style: italic; font-size: 2.4rem; color: var(--navy); }
.svc-row__name { font-size: 1.4rem; letter-spacing: .04em; }
.svc-row__text { color: var(--gray); font-size: .92rem; }

/* ==========================================================================
   19. About page
   ========================================================================== */
.greeting {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
  margin-bottom: clamp(64px, 9vw, 120px);
}
.greeting__photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #cfcabd, #a7a294);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-label); letter-spacing: .2em; font-size: .7rem; color: rgba(0,0,0,.3);
}
.greeting__lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 28px;
  line-height: 1.5;
}
.greeting__sign { margin-top: 32px; font-size: .92rem; color: var(--gray); }
.greeting__sign strong { display: block; font-size: 1.3rem; color: var(--navy); letter-spacing: .08em; margin-top: 6px; }
.greeting__sign .en { font-size: .72rem; color: var(--gray); }

.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td {
  text-align: left;
  padding: 22px 8px;
  border-bottom: 1px solid var(--gray-light);
  vertical-align: top;
  font-size: .95rem;
}
.company-table th {
  width: 220px;
  font-family: var(--font-label);
  font-size: .76rem;
  letter-spacing: .1em;
  color: var(--gray);
  font-weight: 500;
}

/* ==========================================================================
   20. Contact page
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.contact-info__item { margin-bottom: 32px; }
.contact-info__label { font-family: var(--font-label); font-size: .68rem; letter-spacing: .16em; color: var(--navy); }
.contact-info__value { font-size: 1.3rem; font-weight: 700; letter-spacing: .04em; }
.contact-info__sub { font-size: .85rem; color: var(--gray); }

.contact-form,
.wpcf7-form { display: grid; gap: 24px; }
.form-field { display: grid; gap: 8px; }
.form-field p { margin: 0; }
.form-field label { font-family: var(--font-label); font-size: .78rem; letter-spacing: .08em; font-weight: 600; }
.form-field .req { color: var(--navy); margin-left: 6px; font-size: .7rem; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--gray-light);
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy);
}
.form-field input:focus,
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--gold); }
.form-field textarea { min-height: 180px; resize: vertical; }
.form-actions { margin-top: 8px; }
.form-actions p { margin: 0; }
.form-note { font-size: .82rem; color: var(--gray); }
.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.contact-message {
  margin-bottom: 24px;
  padding: 14px 18px;
  border-left: 4px solid var(--navy);
  background: #f5f4f0;
  line-height: 1.7;
}
.contact-message--success { border-left-color: #2f7d4a; }
.contact-message--error { border-left-color: #b42318; }
.wpcf7-not-valid-tip { margin-top: 6px; color: #b42318; font-size: .82rem; }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: 12px 16px; }

/* ==========================================================================
   20b. Front page — Mori Construction style sections
   ========================================================================== */

/* Section labels */
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #a38036;
  line-height: 1.3;
  text-align: right;
  margin: 0;
}
.section-label span { display: block; }

.section-label-wrap {
  display: inline-block;
  border-right: 4px solid #07397b;
  padding-right: 1rem;
  margin-bottom: 2rem;
}
.section-label-wrap--left {
  border-right: none;
  border-left: 4px solid #07397b;
  padding-right: 0;
  padding-left: 1rem;
  text-align: left;
}
.section-label-wrap--left .section-label { text-align: left; }
.section-label-wrap--gold-left {
  border-right: none;
  border-left: 4px solid #a38036;
  padding-right: 0;
  padding-left: 1rem;
  text-align: left;
}
.section-label-wrap--gold-left .section-label { text-align: left; }
.section-label-wrap--right {
  border-right: 4px solid #a38036;
  border-left: none;
}
.section-label-wrap--company { margin-bottom: 2.5rem; }

/* OUR BUSINESS grid */
.business-sec {
  position: relative;
  background: #ffffff;
  padding: 80px 0 0;
}

.business-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 6% 32px;
  gap: 2rem;
  scroll-margin-top: calc(var(--header-inset-y) + var(--header-h) + 24px);
}

.business-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #07397b;
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin: 0 0 1rem;
}

.business-desc {
  font-size: 0.88rem;
  color: #5a5652;
  line-height: 1.8;
  margin: 0;
}

.business-label-wrap {
  flex-shrink: 0;
  padding-right: 6%;
}

.business-label {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  border-right: 4px solid #07397b;
  padding-right: 1rem;
  gap: 0;
}

.business-label span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: #a38036;
  line-height: 1.3;
}

.business-grid {
  padding: 0 6% 60px;
}

.business-grid-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.business-grid-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.business-card {
  width: 100%;
  max-width: none;
  min-width: 0;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
  color: #fff;
}

.business-grid-top .business-card {
  height: 380px;
}

.business-grid-bottom .business-card {
  height: 220px;
}

/* グリッドカード フェードイン */
.business-grid-top .business-card,
.business-grid-bottom .business-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.business-grid-top .business-card.is-visible,
.business-grid-bottom .business-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.business-grid-bottom .business-card:nth-child(1) { transition-delay: 0s; }
.business-grid-bottom .business-card:nth-child(2) { transition-delay: 0.1s; }
.business-grid-bottom .business-card:nth-child(3) { transition-delay: 0.2s; }
.business-grid-bottom .business-card:nth-child(4) { transition-delay: 0.3s; }

.business-grid-bottom .business-card-body {
  padding: 1.25rem 1.5rem;
}

.business-grid-bottom .business-card-ja {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  margin-bottom: 0.25rem;
}

.business-grid-bottom .business-card-en {
  font-size: 0.62rem;
  margin-bottom: 0.4rem;
}

.business-grid-bottom .business-card:hover .business-card-desc {
  max-height: 60px;
}

.business-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.business-card-overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease;
}

.business-card-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(7, 57, 123, 0.92) 0%,
    rgba(7, 57, 123, 0.55) 42%,
    rgba(7, 57, 123, 0.18) 72%,
    rgba(7, 57, 123, 0.05) 100%
  );
  transition: background 0.4s ease;
}

.business-card:hover .business-card-overlay img {
  transform: scale(1.06);
}

.business-card:hover .business-card-overlay::after {
  background: linear-gradient(
    to top,
    rgba(7, 57, 123, 0.96) 0%,
    rgba(7, 57, 123, 0.62) 48%,
    rgba(7, 57, 123, 0.22) 78%,
    rgba(7, 57, 123, 0.08) 100%
  );
}

.business-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 2.5rem;
  z-index: 2;
}

.business-card-ja {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.4rem;
  letter-spacing: 0.04em;
}

.business-card-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: #a38036;
  font-weight: 600;
  margin: 0 0 0.8rem;
}

.business-card-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  transition: max-height 0.4s ease;
}

.business-card:hover .business-card-desc { max-height: 80px; }

.business-action {
  text-align: center;
  padding: 40px 6% 80px;
  margin: 0;
  position: relative;
  z-index: 2;
  background: #ffffff;
}

/* About pages (greeting / company profile) */
.abt-hero {
  position: relative;
  height: 45vh;
  min-height: 360px;
  background: var(--navy-deep);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.abt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--navy-rgb), .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--navy-rgb), .06) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.abt-hero__logo {
  position: absolute;
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
  pointer-events: none;
}

.abt-hero__logo img {
  width: clamp(180px, 28vw, 320px);
  height: auto;
  opacity: 0.06;
}

.abt-hero__inner {
  position: relative;
  z-index: 2;
  padding: 0 6% 3rem;
  width: 100%;
  box-sizing: border-box;
}

.abt-hero__label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: #a38036;
  margin: 0 0 0.75rem;
}

.abt-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.abt-breadcrumb {
  padding: 1.5rem 6%;
  background: #f5f4f0;
  font-size: 0.78rem;
  color: #7a7670;
}

.abt-breadcrumb a {
  color: #7a7670;
}

.abt-breadcrumb a:hover {
  color: #07397b;
}

.abt-breadcrumb .sep {
  margin: 0 0.5rem;
}

.abt-section-label {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #a38036;
  border-left: 3px solid #a38036;
  padding-left: 1rem;
  margin: 0 0 2rem;
}

.abt-greeting {
  background: #f5f4f0;
  padding: 80px clamp(20px, 6vw, 80px);
}

.abt-greeting__inner {
  display: grid;
  grid-template-columns: 33% 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
  width: min(100%, 1100px);
  margin-inline: auto;
}

.abt-greeting__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.abt-greeting__photo-area {
  height: 420px;
  background: #dedad2;
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}
.abt-greeting__photo-area img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.abt-greeting__photo-label {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: rgba(0, 0, 0, 0.2);
}

.abt-greeting__nameplate {
  background: #07397b;
  color: #ffffff;
  padding: 1.5rem 2rem;
  border-radius: 0 0 16px 16px;
}

.abt-greeting__role {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: #a38036;
  margin: 0 0 0.5rem;
}

.abt-greeting__name {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  margin: 0 0 0.35rem;
}

.abt-greeting__name-en {
  font-size: 0.95rem;
  font-style: italic;
  opacity: 0.6;
  margin: 0;
}

.abt-greeting__catch {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #07397b;
  margin: 0 0 2rem;
  line-height: 1.4;
}

.abt-greeting__body {
  font-size: 0.9rem;
  line-height: 2.2;
  color: #3a3632;
}

.abt-greeting__body p {
  margin: 0 0 1.5rem;
}

.abt-greeting__body p:last-child {
  margin-bottom: 0;
}

.abt-greeting__sign {
  margin-top: 3rem;
  border-top: 1px solid #e0ddd8;
  padding-top: 2rem;
}

.abt-greeting__sign-company {
  font-size: 0.82rem;
  color: #7a7670;
  margin: 0 0 0.5rem;
}

.abt-greeting__sign-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #07397b;
  margin: 0;
}

.abt-profile {
  background: #ffffff;
  padding: 80px 6%;
}

.abt-profile__inner {
  max-width: 960px;
}

.abt-info-table {
  width: 100%;
  border-collapse: collapse;
}

.abt-info-table tr {
  border-bottom: 1px solid #f0ede8;
}

.abt-info-table th,
.abt-info-table td {
  padding: 1.2rem 0;
  vertical-align: top;
  text-align: left;
}

.abt-info-table th {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #a38036;
  font-weight: 500;
  width: 180px;
  padding-right: 1.5rem;
}

.abt-info-table td {
  font-size: 0.9rem;
  color: #3a3632;
  line-height: 1.8;
}

.abt-licenses {
  background: #f5f4f0;
  padding: 60px 6%;
}

.abt-licenses__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.abt-license-card {
  background: #ffffff;
  padding: 2rem;
  border-top: 3px solid #07397b;
}

.abt-license-card__num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: rgba(163, 128, 54, 0.35);
  line-height: 1;
  margin: 0 0 1rem;
}

.abt-license-card__ja {
  font-size: 0.9rem;
  font-weight: 700;
  color: #07397b;
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.abt-license-card__en {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: #a38036;
  margin: 0;
}

.abt-access {
  background: #ffffff;
  padding: 60px 6%;
}

.abt-access__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 48px);
  align-items: start;
}

.map-placeholder {
  height: 360px;
  background: #e0ddd8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(0, 0, 0, 0.25);
}

.abt-access__list {
  margin: 0;
  padding: 0;
}

.abt-access__item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f0ede8;
}

.abt-access__item:last-child {
  border-bottom: none;
}

.abt-access__item dt {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #a38036;
  font-weight: 500;
}

.abt-access__item dd {
  font-size: 0.9rem;
  color: #3a3632;
  line-height: 1.7;
  margin: 0;
}

.abt-cta {
  background: #07397b;
  padding: 60px 6%;
  text-align: center;
}

.abt-cta__lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: #ffffff;
  margin: 0 0 1.5rem;
}

.abt-cta__btn {
  display: inline-block;
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 0.8rem 2rem;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  transition: background 0.3s ease, color 0.3s ease;
}

.abt-cta__btn:hover {
  background: #ffffff;
  color: #07397b;
}

@media (max-width: 900px) {
  .abt-greeting__inner,
  .abt-access__grid {
    grid-template-columns: 1fr;
  }

  .abt-licenses__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .abt-info-table th {
    width: 130px;
  }
}

@media (max-width: 600px) {
  .abt-greeting,
  .abt-profile {
    padding: 60px clamp(20px, 6vw, 40px);
  }

  .abt-greeting__photo-area {
    height: 360px;
  }

  .abt-licenses__grid {
    grid-template-columns: 1fr;
  }

  .abt-info-table th,
  .abt-info-table td {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
  }

  .abt-info-table tr {
    padding: 1rem 0;
  }

  .abt-info-table th {
    padding-bottom: 0.25rem;
  }
}

/* ==========================================================================
   Strength page (str-*)
   ========================================================================== */

.str-hero .abt-hero__inner {
  padding-bottom: 3.5rem;
}

/* Lead */
.str-lead {
  background: #ffffff;
  padding: 80px 6% 64px;
  text-align: center;
}

.str-lead__inner {
  max-width: 720px;
  margin: 0 auto;
}

.str-lead__label {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  color: #a38036;
  margin: 0 0 1.25rem;
}

.str-lead__heading {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #07397b;
  font-weight: 400;
  margin: 0 0 1.5rem;
  line-height: 1.4;
}

.str-lead__body {
  font-size: 0.92rem;
  line-height: 2;
  color: #5a5652;
  margin: 0;
}

.str-photo-banner {
  position: relative;
  width: 100%;
  height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.str-photo-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 57, 123, 0) 30%,
    rgba(7, 57, 123, 0.55) 75%,
    rgba(7, 57, 123, 0.85) 100%
  );
}

.str-photo-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.str-photo-banner__label {
  color: #a38036;
  font-size: 13px;
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-bottom: 10px;
}

.str-photo-banner__heading {
  color: #ffffff;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0;
}

/* Strengths grid */
.str-grid-section {
  background: #f5f4f0;
  padding: 80px 6%;
}

.str-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.str-card {
  background: #ffffff;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.str-card:hover {
  box-shadow: 0 8px 32px rgba(7, 57, 123, 0.1);
  transform: translateY(-3px);
}

.str-card__head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.str-card__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 400;
  color: rgba(163, 128, 54, 0.3);
  line-height: 1;
}

.str-card__en {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: #a38036;
  font-weight: 500;
}

.str-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #07397b;
  margin: 0 0 0.85rem;
  line-height: 1.55;
}

.str-card__body {
  font-size: 0.82rem;
  line-height: 1.9;
  color: #5a5652;
  margin: 0;
}

.str-card__line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #07397b, #a38036);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.str-card:hover .str-card__line {
  transform: scaleX(1);
}

/* Stats bar */
.str-stats {
  background: #07397b;
  padding: 60px 6%;
}

.str-stats__inner {
  display: flex;
  justify-content: center;
  gap: clamp(40px, 8vw, 120px);
  flex-wrap: wrap;
}

.str-stats__item {
  text-align: center;
}

.str-stats__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 400;
  color: #ffffff;
  margin: 0;
  line-height: 1;
}

.str-stats__unit {
  font-size: 1rem;
  font-weight: 400;
  color: #a38036;
  margin-left: 0.25em;
  vertical-align: baseline;
}

.str-stats__label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.1em;
  margin: 0.6rem 0 0;
}

/* License highlight */
.str-license {
  background: #ffffff;
  padding: 80px 6%;
}

.str-license__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.str-license__head {
  margin-bottom: 3rem;
}

.str-license__title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #07397b;
  margin: 0.5rem 0 1rem;
}

.str-license__lead {
  font-size: 0.88rem;
  color: #5a5652;
  line-height: 1.8;
  margin: 0;
}

.str-license__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.str-license__card {
  border: 1px solid #e0ddd8;
  padding: 2rem 1.5rem;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.str-license__card:hover {
  border-color: #07397b;
  box-shadow: 0 4px 20px rgba(7, 57, 123, 0.08);
}

.str-license__card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.str-license__card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: rgba(163, 128, 54, 0.25);
  line-height: 1;
}

.str-license__card-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
  background: #07397b;
  padding: 0.2rem 0.55rem;
  margin-top: 0.25rem;
}

.str-license__card-ja {
  font-size: 0.88rem;
  font-weight: 700;
  color: #07397b;
  margin: 0 0 0.4rem;
  line-height: 1.5;
}

.str-license__card-en {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: #a38036;
  margin: 0 0 1rem;
}

.str-license__card-desc {
  font-size: 0.78rem;
  color: #5a5652;
  line-height: 1.8;
  margin: 0;
  border-top: 1px solid #f0ede8;
  padding-top: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .str-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .str-license__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .str-license__card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .str-lead {
    padding: 60px 6% 48px;
  }

  .str-photo-banner {
    height: 280px;
  }

  .str-photo-banner__inner {
    padding: 0 20px 28px;
  }

  .str-photo-banner__heading {
    font-size: 20px;
  }

  .str-grid-section {
    padding: 60px 6%;
  }

  .str-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .str-stats__inner {
    gap: 32px;
  }

  .str-license {
    padding: 60px 6%;
  }

  .str-license__grid {
    grid-template-columns: 1fr;
  }
}

/* Service detail page */
.svc-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.svc-hero__bg { position: absolute; inset: 0; z-index: 0; }
.svc-hero__bg .mc-placeholder { min-height: 100%; }

.svc-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 57, 123, 0.75);
  z-index: 1;
}

.svc-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 6%;
}

.svc-hero__num {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #a38036;
  margin: 0 0 0.75rem;
  line-height: 1;
}

.svc-hero__ja {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #fff;
}

.svc-hero__en {
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  color: #a38036;
  margin: 0;
}

.svc-breadcrumb-wrap { background: #fff; border-bottom: 1px solid #e0ddd8; }
.svc-breadcrumb-inner { padding: 1rem 6%; }

.svc-breadcrumb {
  font-size: 0.78rem;
  color: #7a7670;
}
.svc-breadcrumb a { color: #7a7670; }
.svc-breadcrumb a:hover { color: #07397b; }
.svc-breadcrumb .sep { margin: 0 0.5rem; }

.svc-main { background: #fff; padding: 80px 6%; }
.svc-main__inner {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.svc-main__lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  color: #07397b;
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.svc-main__body {
  font-size: 0.9rem;
  line-height: 2;
  color: #3a3632;
  margin-bottom: 3rem;
}

.svc-features__heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #07397b;
  border-left: 4px solid #a38036;
  padding-left: 1rem;
  margin: 0 0 1.5rem;
}

.svc-features__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.svc-features__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #3a3632;
  line-height: 1.7;
}

.svc-features__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #07397b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 2px;
}

.svc-flow__heading,
.svc-estimate__heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #07397b;
  margin: 0 0 1.25rem;
}

.svc-flow__list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.svc-flow__item {
  display: flex;
  gap: 1rem;
  position: relative;
  padding-bottom: 1.25rem;
}

.svc-flow__item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 1px;
  background: #e0ddd8;
}

.svc-flow__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #07397b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.svc-flow__text strong {
  display: block;
  font-size: 0.88rem;
  color: #07397b;
  font-weight: 500;
  padding-top: 0.35rem;
}

.svc-estimate {
  border: 1px solid #e0ddd8;
  padding: 1.5rem;
  background: #f5f4f0;
}

.svc-estimate__list { margin: 0 0 1rem; }
.svc-estimate__list > div { margin-bottom: 0.75rem; }
.svc-estimate__list dt {
  font-size: 0.72rem;
  color: #7a7670;
  margin-bottom: 0.25rem;
}
.svc-estimate__list dd {
  margin: 0;
  font-size: 0.88rem;
  color: #07397b;
  font-weight: 500;
}

.svc-estimate__note {
  font-size: 0.72rem;
  color: #7a7670;
  margin: 0;
  line-height: 1.6;
}

.svc-related {
  background: #f5f4f0;
  padding: 80px 6%;
}

.svc-related__heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #07397b;
  margin: 0 0 2rem;
}

.svc-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.svc-related__card {
  display: grid;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid #e0ddd8;
  padding: 1.5rem;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.svc-related__card:hover {
  background: #07397b;
  border-color: #07397b;
}

.svc-related__num {
  font-size: 0.72rem;
  color: #a38036;
  font-weight: 700;
}

.svc-related__ja {
  font-size: 1rem;
  font-weight: 500;
  color: #07397b;
}

.svc-related__en {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: #7a7670;
}

.svc-related__card:hover .svc-related__num,
.svc-related__card:hover .svc-related__ja,
.svc-related__card:hover .svc-related__en { color: #fff; }

.svc-page-cta {
  background: #07397b;
  padding: 80px 6%;
  color: #fff;
  text-align: center;
}

.svc-page-cta__title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  margin: 0 0 2rem;
  color: #fff;
}

.svc-page-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
}

.svc-page-cta__tel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1rem 2rem;
}

.svc-page-cta__tel span {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  opacity: 0.85;
}

.svc-page-cta__tel a {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #fff;
}

.svc-page-cta__tel a:hover { color: #a38036; }

/* Shared */
.mc-section {
  padding: 80px 6%;
}
.mc-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, #cfcabd, #a7a294);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: rgba(0, 0, 0, 0.35);
}
.mc-placeholder--cover { min-height: 100%; }

.mc-btn {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.mc-btn--outline {
  border: 1px solid #07397b;
  padding: 0.9rem 2.5rem;
  color: #07397b;
  background: transparent;
}
.mc-btn--outline:hover { background: #07397b; color: #fff; }
.mc-btn--navy {
  background: #07397b;
  color: #fff;
  padding: 0.9rem 2rem;
}
.mc-btn--navy:hover { background: #0a4a9c; color: #fff; }
.mc-btn--white {
  background: #fff;
  color: #07397b;
  padding: 0.9rem 2rem;
}
.mc-btn--white:hover { background: #f5f4f0; color: #07397b; }

.mc-section__action { margin-top: 3rem; text-align: center; }

.mc-sub-card__num { font-style: normal; }

/* 1. OUR BUSINESS */
.mc-business { background: #fff; }

.mc-business__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
}

.mc-business__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #07397b;
  margin: 0 0 1.25rem;
  line-height: 1.45;
}

.mc-business__lead {
  font-size: 0.88rem;
  line-height: 2;
  color: #5a5652;
  margin: 0;
}

.mc-business__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mc-feature-card {
  position: relative;
  display: block;
  height: 420px;
  overflow: hidden;
  color: #fff;
}
.mc-feature-card__media,
.mc-feature-card__media .mc-placeholder {
  position: absolute;
  inset: 0;
  min-height: 100%;
}
.mc-feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.mc-feature-card__media .mc-placeholder {
  transition: transform 0.7s ease;
}
.mc-feature-card:hover .mc-feature-card__media img,
.mc-feature-card:hover .mc-feature-card__media .mc-placeholder {
  transform: scale(1.05);
}
.mc-feature-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(7, 57, 123, 0.85), transparent);
  z-index: 1;
}
.mc-feature-card__body {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 2rem;
  max-width: 90%;
}
.mc-feature-card__en {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  opacity: 0.7;
  margin: 0 0 0.5rem;
}
.mc-feature-card__ja {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #fff;
}
.mc-feature-card__desc {
  font-size: 0.82rem;
  line-height: 1.8;
  opacity: 0.8;
  margin: 0;
}

.mc-business__sub {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.mc-sub-card {
  display: grid;
  gap: 0.35rem;
  border: 1px solid #e0ddd8;
  padding: 1.5rem;
  color: inherit;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.mc-sub-card:hover {
  background: #07397b;
  border-color: #07397b;
  color: #fff;
}
.mc-sub-card:hover .mc-sub-card__num,
.mc-sub-card:hover .mc-sub-card__en,
.mc-sub-card:hover .mc-sub-card__ja { color: #fff; }

.mc-sub-card__num {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  color: #e0ddd8;
  transition: color 0.3s ease;
}
.mc-sub-card__en {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: #a38036;
  transition: color 0.3s ease;
}
.mc-sub-card__ja {
  font-size: 0.95rem;
  font-weight: 500;
  color: #07397b;
  transition: color 0.3s ease;
}

/* 2. WHY CHOOSE US */
.mc-why { background: #f5f4f0; }

.mc-why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}

.mc-why__label-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}
.mc-why__label-row .section-label-wrap { margin-bottom: 0; }

.mc-why__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #07397b;
  line-height: 1.35;
  margin: 0 0 2rem;
}
.mc-why__title span { display: block; }

.mc-why__list {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
}

.mc-why__item {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
}

.mc-why__num {
  width: 30px;
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #a38036;
}

.mc-why__dash {
  color: #c0bab4;
  margin: 0 0.8rem;
}

.mc-why__text {
  font-size: 0.88rem;
  color: #3a3632;
}

.mc-why__media {
  min-height: 500px;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.mc-why__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 3. Photo break */
.mc-photo-break {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
}
.mc-photo-break img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.mc-photo-break .mc-placeholder { min-height: 400px; }

/* 4. OUR WORKS */
.mc-works { background: #07397b; color: #fff; }

.mc-works__inner {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.mc-works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.mc-works__photo {
  display: block;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #cfcabd, #a7a294);
}
.mc-works__photo img,
.mc-works__photo .mc-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.5s ease;
}

.mc-works__label-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}
.mc-works__label-row .section-label-wrap { margin-bottom: 0; }

.mc-works__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 1.5rem;
}
.mc-works__title span { display: block; }

.mc-works__lead {
  font-size: 0.88rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 2rem;
}

.mc-works__filters-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.75rem;
}

.mc-works__filter-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mc-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.mc-filter-btn__icon { color: #a38036; }
.mc-filter-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.mc-filter-btn:hover .mc-filter-btn__icon { color: #fff; }

/* 5. RECRUIT */
.mc-recruit { background: #07397b; color: #fff; }

.mc-recruit__inner {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.mc-recruit__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #a38036;
  margin: 0 0 1.5rem;
}

.mc-recruit__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 1.5rem;
  color: #fff;
}
.mc-recruit__title span { display: block; }

.mc-recruit__lead {
  font-size: 0.88rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 2rem;
}

.mc-recruit__list {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
}

.mc-recruit__item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.mc-recruit__num {
  width: 30px;
  flex-shrink: 0;
  font-weight: 700;
  color: #a38036;
}

.mc-recruit__dash {
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0.8rem;
}

.mc-recruit__text { font-size: 0.88rem; color: #fff; }

.mc-recruit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.mc-recruit__photo {
  height: 200px;
  overflow: hidden;
}
.mc-recruit__photo .mc-placeholder { min-height: 200px; }

/* 6. COMPANY INFORMATION */
.mc-company { background: #f5f4f0; }

.mc-company__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mc-info-card {
  position: relative;
  display: block;
  aspect-ratio: 492 / 290;
  height: auto;
  overflow: hidden;
  color: #fff;
}
.mc-info-card__media,
.mc-info-card__media .mc-placeholder {
  position: absolute;
  inset: 0;
  min-height: 100%;
}
.mc-info-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 57, 123, 0.75), transparent 55%);
  z-index: 1;
  overflow: hidden;
}

.mc-info-card__overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mc-info-card--greeting .mc-info-card__overlay img {
  inset: auto;
  width: 125%;
  height: 112%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center 28%;
}

.mc-info-card__overlay:has(img) {
  background: none;
}

.mc-info-card__overlay:has(img)::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(7, 57, 123, 0.75), transparent 55%);
}
.mc-info-card__body {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 2rem;
  max-width: 85%;
}
.mc-info-card__ja {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}
.mc-info-card--greeting .mc-info-card__ja,
.mc-info-card--company .mc-info-card__ja {
  color: var(--gold);
}
.mc-info-card__en {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: #a38036;
  margin: 0 0 1rem;
}
.mc-info-card__desc {
  font-size: 0.82rem;
  line-height: 1.8;
  opacity: 0.85;
  margin: 0;
}

.mc-info-card__btn {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: #07397b;
  font-size: 1.6rem;
  line-height: 1;
  transition: background 0.3s ease, color 0.3s ease;
}
.mc-info-card:hover .mc-info-card__btn {
  background: #a38036;
  color: #fff;
}

/* 7. CONTACT CTA */
.mc-contact {
  position: relative;
  min-height: 500px;
  padding: 80px 6%;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.mc-contact__bg .mc-placeholder { min-height: 100%; }

.mc-contact__overlay {
  position: absolute;
  inset: 0;
  background: #07397b;
  z-index: 1;
}

.mc-contact__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.mc-contact__heading {
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 1rem;
}

.mc-contact__lead {
  font-size: 0.88rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 2.5rem;
}

.mc-contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
}

.mc-contact__tel {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.mc-contact__tel-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
}

a.mc-contact__tel-num,
a.mc-contact__tel-num:link,
a.mc-contact__tel-num:visited,
a.mc-contact__tel-num:hover,
a.mc-contact__tel-num:active {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 700;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  text-decoration: none;
}

.mc-contact__btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: #a38036;
  color: #fff;
  padding: 1rem 2.5rem;
  font-weight: 700;
  min-width: 180px;
  transition: background 0.3s ease;
}
.mc-contact__btn:hover { background: #b8943d; color: #fff; }

.mc-contact__btn-en {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}

.mc-contact__btn-ja {
  font-size: 1.05rem;
}

/* Footer — Mori style */
.site-footer.site-footer--mc {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  color: #07397b;
}

.site-footer.site-footer--mc a {
  color: #07397b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer.site-footer--mc a:hover {
  color: #a38036;
}

.footer-corner-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(1200px, 106vw);
  height: min(924px, 82vh);
  min-width: 672px;
  min-height: 516px;
  z-index: 2;
  pointer-events: none;
}

.footer-corner-accent__svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* 名刺右下アクセント：角→内側 = ネイビー(最太)・グレー・薄灰(最細) */
.footer-corner-accent .fca-light {
  fill: #d9d7d1;
}

.footer-corner-accent .fca-gray {
  fill: #7d7b73;
}

.footer-corner-accent .fca-navy {
  fill: #07397b;
}

.footer-mc-main,
.footer-mc-bottom,
.site-footer.site-footer--mc > *:not(.footer-corner-accent) {
  position: relative;
  z-index: 1;
}

.footer-mc-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem clamp(24px, 5vw, 64px);
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 48px var(--gutter) 40px;
}

.footer-mc-top__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 0 1 320px;
}

.footer-mc-brand {
  display: block;
  margin: 0 0 0.75rem;
  padding: 0;
  background: transparent;
  width: fit-content;
  max-width: 100%;
  min-height: calc(40px * 2.7375);
  overflow: visible;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  max-width: none;
  display: block;
  margin: 0;
  padding: 0;
  background: transparent;
  mix-blend-mode: normal;
  transform: translateX(-39.6px) scale(2.7375);
  transform-origin: left top;
}

.footer-mc-brand img {
  background: transparent;
}

.footer-mc-brand img:not(.footer-logo-img) {
  width: 52px;
  height: auto;
  filter: none;
}

.footer-mc-brand:not(:has(.footer-logo-img)) {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: auto;
  min-height: 0;
}

.footer-mc-brand__name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #07397b;
}

.footer-mc-company-name {
  margin: 0 0 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #07397b;
}

.footer-mc-address {
  font-style: normal;
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  line-height: 1.8;
  color: #7a7670;
}
.footer-mc-address a { color: #07397b; }
.footer-mc-address a:hover { color: #a38036; }

.instagram-icon {
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  fill: none;
  stroke-width: 2.2;
}
.instagram-icon__dot { stroke: none; }

.footer-instagram {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  margin-top: 22px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.72);
  color: #07397b;
}
.footer-instagram .instagram-icon {
  width: 32px;
  height: 32px;
}
.site-footer.site-footer--mc .footer-instagram:focus-visible {
  outline: 2px solid #a38036;
  outline-offset: 3px;
}

.footer-mc-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(28px, 3vw, 48px);
  row-gap: 2rem;
  width: min(100%, 760px);
  flex: 1 1 auto;
  max-width: 760px;
}

/* ノートPC幅では会社情報の下に折り返すため、メニュー群を中央に保つ */
@media (min-width: 769px) and (max-width: 1199px) {
  .footer-mc-nav {
    margin-inline: auto;
  }
}

@media (min-width: 769px) {
  .footer-mc-nav__col {
    width: max-content;
    max-width: 100%;
    justify-self: center;
  }
}

.footer-mc-nav__heading {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  margin: 0 0 1.25rem;
}

.footer-mc-nav__heading-row {
  display: contents;
}

.footer-mc-nav__toggle {
  display: none;
}

.footer-mc-nav__heading-ja {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.footer-mc-nav__heading-en {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: #a38036;
  line-height: 1.2;
}

.footer-mc-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.footer-mc-nav__list a {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding-left: 0.9rem;
  color: #07397b;
  font-weight: 500;
  transition: color 0.2s ease;
}
.footer-mc-nav__list a::before {
  content: '';
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 0.38rem;
  height: 1px;
  background: #a38036;
}
.footer-mc-nav__item-ja {
  font-size: 0.82rem;
  line-height: 1.45;
}
.footer-mc-nav__item-en {
  font-size: 0.54rem;
  letter-spacing: 0.16em;
  color: #9a9690;
  line-height: 1.3;
}
.footer-mc-nav__list a:hover {
  color: #a38036;
}

.footer-mc-bottom {
  padding: 1.25rem 6%;
}

.footer-mc-bottom p {
  margin: 0;
  font-size: 0.72rem;
  color: #7a7670;
}

@media (max-width: 768px) {
  .footer-corner-accent {
    width: min(816px, 100vw);
    height: min(624px, 67vh);
    min-width: 576px;
    min-height: 432px;
  }
}

/* ==========================================================================
   21. Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); }
.site-footer:not(.site-footer--mc) a { color: rgba(255,255,255,.8); }
.site-footer:not(.site-footer--mc) a:hover { color: var(--gold-pale); }

/* MCフッター（白背景・ヘッダー同色テキスト）— 汎用 .site-footer より後に定義 */
.site-footer.site-footer--mc {
  background: #ffffff;
  color: #07397b;
}

.site-footer.site-footer--mc a {
  color: #07397b;
}

.site-footer.site-footer--mc a:hover {
  color: #a38036;
}
.footer-main {
  padding: clamp(64px, 8vw, 96px) 0 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.footer-brand .ds-logo { width: 48px; height: 48px; }
.footer-brand__name { font-family: var(--font-label); font-size: 1.1rem; letter-spacing: .16em; color: var(--white); }
.footer-brand__tag { font-size: .64rem; letter-spacing: .2em; color: rgba(255, 255, 255, 0.65); }
.footer-about { font-size: .85rem; line-height: 1.9; max-width: 380px; }
.footer-col__title { font-family: var(--font-label); font-size: .76rem; letter-spacing: .16em; color: rgba(255, 255, 255, 0.85); margin-bottom: 20px; }
.footer-list { list-style: none; display: grid; gap: 12px; font-size: .88rem; }
.footer-contact dt { font-family: var(--font-label); font-size: .64rem; letter-spacing: .12em; color: var(--gray); margin-top: 14px; }
.footer-contact dd { margin: 2px 0 0; font-size: .92rem; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-label); font-size: .68rem; letter-spacing: .08em;
}

/* ==========================================================================
   22. Pagination
   ========================================================================== */
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 48px; height: 48px; padding: 0 14px;
  border: 1px solid var(--gray-light); background: #fff;
  font-family: var(--font-label); font-size: .82rem; color: var(--navy);
}
.pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination a:hover { border-color: var(--navy); color: var(--navy); }

/* ==========================================================================
   23. Responsive — 900px
   ========================================================================== */
@media (max-width: 900px) {
  .hero-content {
    right: var(--gutter);
    bottom: calc(14vw + 1.5rem);
    max-width: none;
  }

  .hero-big-text-line {
    font-size: clamp(3rem, 14vw, 8rem);
  }

  .hero-big-text__track {
    animation-duration: 22s;
  }

  .about__layout { grid-template-columns: 1fr; }
  .about__media { order: -1; }

  .strength__grid { grid-template-columns: 1fr; gap: 48px; }

  .news__layout { grid-template-columns: 1fr; }
  .service-feature__item,
  .service-feature__item:nth-child(even) .service-feature__media { grid-template-columns: 1fr; order: 0; }
  .service-feature__block,
  .service-feature__item:nth-child(even) .service-feature__block { margin: -40px 20px 0; }
  .service-sub { grid-template-columns: repeat(2, 1fr); }

  .contents-row,
  .contents-row:nth-child(even) .contents-row__media { grid-template-columns: 1fr; order: 0; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }

  .proj-grid { grid-template-columns: repeat(2, 1fr); }

  .proj-detail__layout { grid-template-columns: 1fr; }
  .proj-detail__spec { position: static; }

  .greeting { grid-template-columns: 1fr; }
  .greeting__photo { max-width: 360px; }

  .svc-row { grid-template-columns: 80px 1fr; }
  .svc-row__text { grid-column: 1 / -1; }

  .contact-layout { grid-template-columns: 1fr; }

  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }

  .mc-section,
  .mc-contact { padding: 60px 5%; }

  .business-header { flex-direction: column; padding: 0 5% 40px; }
  .business-label-wrap { padding-right: 0; align-self: flex-end; }

  .business-grid-top {
    grid-template-columns: 1fr;
  }

  .business-grid-bottom {
    grid-template-columns: 1fr 1fr;
  }

  .business-grid-top .business-card {
    height: 280px;
  }

  .business-action { padding: 0 5% 60px; }

  .svc-main__inner,
  .svc-related__grid { grid-template-columns: 1fr; }

  .header-nav .has-dropdown .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-top: none;
    min-width: 100%;
    display: none;
    background: #f5f4f0;
  }

  .header-nav.is-open .has-dropdown:hover .dropdown-menu,
  .header-nav.is-open .has-dropdown:focus-within .dropdown-menu {
    display: block;
  }

  .header-nav .dropdown-item { padding: 0.75rem 1.25rem; }
  .header-nav .dropdown-en { display: none; }

  .mc-business__head { flex-direction: column; }
  .mc-business__cards,
  .mc-business__sub,
  .mc-company__cards { grid-template-columns: 1fr; }

  .mc-why__inner,
  .mc-works__inner,
  .mc-recruit__inner { grid-template-columns: 1fr; }

  .mc-why__media { order: -1; min-height: 320px; }
  .mc-works__grid-wrap { order: -1; }

  .mc-business__sub { grid-template-columns: repeat(2, 1fr); }

  .footer-mc-nav { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   24. Responsive — 600px
   ========================================================================== */
@media (max-width: 600px) {
  body { font-size: 15px; }

  .hero-content {
    right: 1.25rem;
    bottom: calc(16vw + 1rem);
  }

  .hero-big-text-line {
    font-size: clamp(2.4rem, 16vw, 5rem);
  }

  .hero-big-text__track {
    animation-duration: 18s;
  }

  .hero__scroll-down {
    right: 1rem;
    bottom: 2rem;
    font-size: .58rem;
  }

  .mc-business__sub { grid-template-columns: 1fr; }
  .business-grid-bottom { grid-template-columns: 1fr; }
  .mc-works__grid { grid-template-columns: repeat(2, 1fr); }
  .mc-feature-card { height: 320px; }
  .mc-contact__actions { flex-direction: column; }
  .mc-contact__tel,
  .mc-contact__btn { width: 100%; }

  .footer-mc-nav { grid-template-columns: 1fr; }

  .news__item { grid-template-columns: 1fr; gap: 6px; }
  .news__cat { margin: 4px 0; }

  .service-sub { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .gallery-grid__item--lg { grid-column: span 2; grid-row: span 1; }

  .proj-grid { grid-template-columns: 1fr; }
  .proj-grid .proj-card,
  .proj-card { padding: 0; }

  .svc-row { grid-template-columns: 1fr; gap: 12px; padding: 28px 20px; }

  .company-table th { width: 110px; }
  .company-table th, .company-table td { padding: 16px 4px; font-size: .88rem; }

  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }

  .cta__contacts { flex-direction: column; align-items: center; }
  .cta__contact { text-align: center; }

  .btn { padding: 16px 30px; }
}

/* ==========================================================================
   SERVICE HERO — 事業詳細ページ abt-hero 拡張
   ========================================================================== */

/* 右奥に浮かぶ番号デコレーション */
.svc-hero-num-deco {
  position: absolute;
  right: 6%;
  bottom: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* ==========================================================================
   PHOTO OVERLAP — サービス詳細 FIELD WORK ブロック
   ========================================================================== */

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #a38036;
  margin: 2.5rem 0 1.5rem;
}

/* FIELD WORK 写真重なりブロック wrapper */
.svc-main__content {
  overflow: visible;
}

.photo-overlap {
  position: relative !important;
  height: 400px;
  margin: 0 0 3rem;
  overflow: visible;
}

/* フェードイン（scroll-reveal.js が is-visible を付与） */
.photo-overlap:not(.is-visible) {
  opacity: 0;
  transform: translateY(28px);
}
.photo-overlap {
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.photo-overlap.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.photo-overlap-num {
  position: absolute;
  right: 24px;
  top: -30px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 4.5rem;
  color: #e0ddd8;
  z-index: 1;
  line-height: 1;
  pointer-events: none;
}

.photo-overlap-main {
  position: absolute !important;
  left: 0;
  top: 0;
  width: 78% !important;
  height: 310px;
  overflow: hidden;
  z-index: 2;
}

.photo-overlap-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.photo-overlap:hover .photo-overlap-main img {
  transform: scale(1.07);
}

.photo-overlap-sub {
  position: absolute !important;
  right: 0;
  bottom: 0;
  width: 50% !important;
  height: 240px;
  overflow: hidden;
  border: 6px solid #ffffff;
  box-shadow: 0 14px 36px rgba(7, 57, 123, 0.22);
  z-index: 3;
}

.photo-overlap-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.photo-overlap:hover .photo-overlap-sub img {
  transform: scale(1.1);
}

.photo-overlap-tag {
  position: absolute;
  left: 0;
  top: -14px;
  background: #07397b;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  padding: 0.5rem 1rem;
  z-index: 4;
}

/* サブ写真なし：メイン写真を全幅 */
.photo-overlap.no-sub .photo-overlap-main {
  width: 100% !important;
  height: 350px;
}

@media (max-width: 900px) {
  .photo-overlap { height: 320px; }
  .photo-overlap-main { height: 240px; }
  .photo-overlap-sub { width: 52% !important; height: 180px; }
}

@media (max-width: 768px) {
  .photo-overlap { height: 260px; }
  .photo-overlap-main { width: 100% !important; height: 190px; }
  .photo-overlap-sub { display: none; }
  .photo-overlap-num { font-size: 3rem; }
}

/* ==========================================================================
   SCROLL FADE-IN
   ========================================================================== */

/* 初期状態：非表示 */
[data-scroll-fade] {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ビューポートに入ったら表示 */
[data-scroll-fade].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.abt-greeting__inner[data-scroll-fade].is-visible {
  margin-inline: auto;
}

.abt-hero__inner[data-scroll-fade],
.abt-hero__inner[data-scroll-fade].is-visible,
.page-hero__inner[data-scroll-fade],
.page-hero__inner[data-scroll-fade].is-visible {
  padding: 0 6% 3rem;
  margin: 0;
  width: 100%;
  max-width: none;
}

.str-hero .abt-hero__inner[data-scroll-fade],
.str-hero .abt-hero__inner[data-scroll-fade].is-visible {
  padding-bottom: 3.5rem;
}

/* 遅延バリエーション */
[data-scroll-fade][data-delay="1"] { transition-delay: 0.1s; }
[data-scroll-fade][data-delay="2"] { transition-delay: 0.2s; }
[data-scroll-fade][data-delay="3"] { transition-delay: 0.3s; }
[data-scroll-fade][data-delay="4"] { transition-delay: 0.4s; }
[data-scroll-fade][data-delay="5"] { transition-delay: 0.5s; }

/* prefers-reduced-motion 対応 */
@media (prefers-reduced-motion: reduce) {
  [data-scroll-fade] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   HERO BACKGROUND ANIMATION
   ========================================================================== */

.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(163, 128, 54, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 128, 54, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: heroGridMove 16s linear infinite;
}

@keyframes heroGridMove {
  0%   { background-position: 0 0; }
  100% { background-position: 80px 80px; }
}

.hero-bg-glow {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 128, 54, 0.14), transparent 70%);
  top: -140px;
  right: -100px;
  animation: heroGlowMove 9s ease-in-out infinite;
}

@keyframes heroGlowMove {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-40px, 30px); }
}

/* パーティクル canvas */
.hero-bg-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-particles { display: none; }
}

/* ヒーロー内の既存テキストを前面に（装飾要素は absolute を維持） */
.page-hero > *:not(.hero-bg-grid):not(.hero-bg-glow):not(.hero-bg-particles):not(.page-hero__wire),
.abt-hero > *:not(.hero-bg-grid):not(.hero-bg-glow):not(.hero-bg-particles):not(.svc-hero-num-deco):not(.abt-hero__logo) {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-bg-glow {
    width: 240px;
    height: 240px;
  }
}

/* ==========================================================================
   PROJECT ARCHIVE — カード3列グリッド
   ========================================================================== */

/* ── フィルターバー ── */
.proj-filter-bar {
  background: #f5f4f0;
  padding: 40px 6% 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.82rem;
  padding: 0.45rem 1.2rem;
  border: 1px solid #e0ddd8;
  background: transparent;
  color: #07397b;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  border-radius: 0;
}

.filter-btn.active,
.filter-btn:hover {
  background: #07397b;
  color: #fff;
  border-color: #07397b;
}

/* ── グリッド背景 ── */
.proj-cards-bg {
  background: #f5f4f0;
  padding: 32px 6% 80px;
}

/* 空の工事種別でもフッターの下に余白を残さない */
body.post-type-archive-project {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.post-type-archive-project > #main {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  width: 100%;
}

body.post-type-archive-project .proj-cards-bg {
  flex: 1 0 auto;
}

body.post-type-archive-project > .site-footer {
  flex: 0 0 auto;
  width: 100%;
}

/* ── グリッド ── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── カード ── */
.project-card {
  background: #ffffff;
  border-top: 3px solid #07397b;
  text-decoration: none;
  display: block;
  width: 100%;
  transition: transform 0.3s, border-top-color 0.3s;
  overflow: hidden;
}

/* 絞り込み対象外のカードを、カード自身の display 指定より優先して隠す */
.project-card[hidden] {
  display: none !important;
}

.project-card:hover {
  transform: translateY(-4px);
  border-top-color: #a38036;
}

.project-card-img {
  height: 220px;
  overflow: hidden;
}

.project-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.project-card:hover .project-card-img img {
  transform: scale(1.05);
}

.proj-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #cfcabd, #a7a294);
}

.project-card-body {
  padding: 1.2rem 1.4rem 1.6rem;
}

.project-card-cat {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: #a38036;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.project-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #07397b;
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.project-card-sub {
  font-size: 0.78rem;
  color: #7a7670;
  margin-bottom: 0.7rem;
}

.project-card-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.project-card-meta span {
  font-size: 0.7rem;
  border: 1px solid #e0ddd8;
  padding: 0.15rem 0.6rem;
  color: #7a7670;
  font-family: 'Montserrat', sans-serif;
}

/* ── 0件表示 ── */
.project-empty {
  text-align: center;
  padding: 80px 20px;
  color: #5a5652;
  font-size: 0.9rem;
  line-height: 2;
}

.project-empty-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.7rem 2rem;
  border: 1px solid #07397b;
  color: #07397b;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.25s, color 0.25s;
}

.project-empty-btn:hover {
  background: #07397b;
  color: #fff;
}

/* ── レスポンシブ ── */
@media (max-width: 900px) {
  .project-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .project-grid { grid-template-columns: 1fr; }
  .proj-filter-bar { padding: 24px 5% 0; }
  .proj-cards-bg { padding: 24px 5% 60px; }
}

/* ==========================================================================
   31. Responsive navigation (desktop layout remains unchanged at 1280px+)
   ========================================================================== */
@media (max-width: 1279px) {
  :root {
    --header-h: clamp(64px, 6.25vw, 80px);
    --header-inset-y: clamp(8px, 1.25vw, 16px);
    --header-inset-x: clamp(10px, 2vw, 24px);
    --header-gap: 4px;
  }

  body.is-nav-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    touch-action: none;
  }

  .site-header {
    justify-content: space-between;
  }

  body.is-nav-open .site-header {
    z-index: 10000;
  }

  .site-header > .header-tel,
  .site-header > .header-contact-btn {
    display: none;
  }

  .header-logo {
    position: relative;
    z-index: 202;
    flex: 0 0 var(--header-h);
    width: var(--header-h);
    min-width: var(--header-h);
    max-width: var(--header-h);
    height: var(--header-h);
    aspect-ratio: 1 / 1;
    padding: 6px;
    justify-content: center;
  }

  .header-logo a {
    width: 100%;
    height: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .header-logo img {
    flex: 0 0 auto;
    width: calc(var(--header-h) - 12px);
    height: auto;
    max-width: calc(var(--header-h) - 12px);
    max-height: calc(var(--header-h) - 12px);
    object-fit: contain;
    transform: scale(1.32);
    transform-origin: center;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: min(92vw, 400px);
    height: 100vh;
    height: 100dvh;
    height: var(--drawer-viewport-height, 100dvh);
    padding: calc(var(--header-inset-y) + var(--header-h) + 24px) 0 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #052d62;
    background-color: #052d62;
    opacity: 1;
    border: 0;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.4s;
    -webkit-overflow-scrolling: touch;
  }

  .header-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .header-nav > ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: auto;
  }

  .header-nav > ul > li {
    position: relative;
    display: flex;
    flex: none;
    width: 100%;
    height: auto;
    min-height: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header-nav > ul > li > a {
    width: 100%;
    min-height: 56px;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 28px clamp(24px, 4vw, 36px);
    border: 0;
  }

  .header-nav > ul > li > a .nav-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.56rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.82);
  }

  .header-nav > ul > li > a .nav-ja {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ffffff;
  }

  .header-nav > ul > li:first-child > a {
    border-left: 0;
  }

  .header-nav > ul > li > a::after {
    display: none;
  }

  .header-nav > ul > li > a:hover,
  .header-nav > ul > li > a:focus-visible {
    background: rgba(255, 255, 255, 0.05);
  }

  .header-nav > ul > li > a:hover .nav-en,
  .header-nav > ul > li > a:hover .nav-ja,
  .header-nav > ul > li > a:focus-visible .nav-en,
  .header-nav > ul > li > a:focus-visible .nav-ja {
    color: #c9a84c;
  }

  .header-nav > ul > .has-dropdown {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px;
  }

  .header-nav > ul > .has-dropdown > a {
    grid-column: 1;
  }

  .nav-accordion-toggle {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    width: 56px;
    min-height: 56px;
    padding: 0;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: #ffffff;
    cursor: pointer;
  }

  .nav-accordion-toggle span::before,
  .nav-accordion-toggle span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
  }

  .nav-accordion-toggle span::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .nav-accordion-toggle[aria-expanded="true"] {
    color: #c9a84c;
  }

  .nav-accordion-toggle[aria-expanded="true"] span::after {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .header-nav .has-dropdown .dropdown-menu {
    position: static;
    grid-column: 1 / -1;
    display: block;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    border: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition:
      max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.25s ease,
      visibility 0.4s;
  }

  .header-nav .has-dropdown.is-accordion-open .dropdown-menu {
    max-height: 620px;
    opacity: 1;
    visibility: visible;
  }

  .header-nav .dropdown-item {
    min-height: 52px;
    padding: 13px clamp(24px, 4vw, 36px);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }

  .header-nav .dropdown-item:hover,
  .header-nav .dropdown-item:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }

  .header-nav .dropdown-num {
    color: #c9a84c;
  }

  .header-nav .dropdown-ja {
    color: rgba(255, 255, 255, 0.92);
  }

  .header-nav .dropdown-en {
    display: none;
  }

  .header-nav__mobile-extra {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px clamp(24px, 4vw, 36px) 0;
  }

  .header-nav__mobile-extra .header-tel {
    display: flex;
    width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    align-items: flex-start;
    background: transparent;
    backdrop-filter: none;
  }

  .header-nav__mobile-extra .header-tel-hours {
    color: rgba(255, 255, 255, 0.58);
  }

  .header-nav__mobile-extra .header-tel-number {
    min-height: 44px;
    color: #ffffff;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
  }

  .header-nav__mobile-extra .header-tel-number::before {
    content: '☎';
    color: #c9a84c;
    font-size: 0.9em;
  }

  .header-nav__mobile-extra .header-contact-btn {
    display: flex;
    width: 100%;
    height: 50px;
    min-height: 50px;
    flex: 0 0 50px;
    padding: 8px 24px;
    border: 1px solid var(--gold);
    background: var(--gold);
  }

  .header-nav__mobile-extra .header-contact-btn:hover,
  .header-nav__mobile-extra .header-contact-btn:focus-visible {
    background: var(--gold-light);
  }

  .mobile-instagram-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 58px;
    min-height: 58px;
    padding: 0;
    border: 0;
    color: #ffffff;
    background: transparent;
    align-self: flex-start;
  }

  .mobile-instagram-btn:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 3px;
  }

  .nav-toggle {
    position: relative;
    z-index: 10002;
    display: flex;
    width: var(--header-h);
    min-width: 64px;
    height: var(--header-h);
  }

  .nav-toggle,
  .nav-accordion-toggle,
  .header-nav a {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-toggle:focus-visible,
  .nav-accordion-toggle:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: -4px;
  }

  .nav-drawer-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    height: var(--drawer-viewport-height, 100dvh);
    background: rgba(3, 18, 40, 0.72);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s;
  }

  .nav-drawer-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 767px) {
  .header-logo {
    flex-basis: var(--header-h);
    width: var(--header-h);
  }

  .header-nav {
    width: min(100%, 360px);
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 1279px) {
  .header-nav,
  .nav-drawer-overlay,
  .header-nav .has-dropdown .dropdown-menu,
  .nav-accordion-toggle span::before,
  .nav-accordion-toggle span::after {
    transition-duration: 0.01ms;
  }
}

/* ==========================================================================
   32. Responsive inner-page heroes
   ========================================================================== */
@media (max-width: 1279px) {
  .page-hero,
  .abt-hero {
    height: clamp(320px, 40vh, 420px);
    min-height: 320px;
    overflow: hidden;
  }

  .page-hero__inner,
  .abt-hero__inner {
    padding: 0 clamp(24px, 5vw, 56px) clamp(36px, 5vw, 52px);
  }

  .page-hero__en,
  .abt-hero__label {
    font-size: clamp(0.66rem, 1.2vw, 0.72rem);
    line-height: 1.5;
    letter-spacing: clamp(0.18em, 0.5vw, 0.28em);
  }

  .page-hero__ja,
  .abt-hero__title {
    max-width: 100%;
    font-size: clamp(1.85rem, 4vw, 2.7rem);
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .abt-hero__logo {
    right: clamp(24px, 5vw, 56px);
  }

  .abt-hero__logo img {
    width: clamp(150px, 25vw, 260px);
  }

  .svc-hero-num-deco {
    right: clamp(20px, 5vw, 56px);
    bottom: 1rem;
    font-size: clamp(5rem, 12vw, 8rem);
  }

  .svc-breadcrumb-inner {
    padding: 0.9rem clamp(24px, 5vw, 56px);
  }

  .svc-breadcrumb {
    line-height: 1.8;
    overflow-wrap: anywhere;
  }

  .hero-bg-glow {
    width: clamp(260px, 34vw, 360px);
    height: clamp(260px, 34vw, 360px);
  }
}

@media (max-width: 767px) {
  .page-hero,
  .abt-hero {
    height: clamp(280px, 52vh, 340px);
    min-height: 280px;
  }

  .page-hero__inner,
  .abt-hero__inner {
    padding: 0 20px 32px;
  }

  .page-hero__ja,
  .abt-hero__title {
    font-size: clamp(1.65rem, 7.5vw, 2.15rem);
    letter-spacing: 0.035em;
  }

  .abt-hero__logo {
    right: 20px;
  }

  .abt-hero__logo img {
    width: clamp(120px, 42vw, 180px);
  }

  .svc-hero-num-deco {
    right: 16px;
    bottom: 0.5rem;
    font-size: clamp(4.5rem, 24vw, 6.5rem);
  }

  .svc-breadcrumb-inner {
    padding-inline: 20px;
  }

  .hero-bg-grid {
    background-size: 32px 32px;
  }

  .hero-bg-glow {
    width: 220px;
    height: 220px;
  }
}

/* ==========================================================================
   33. Responsive front page and MC footer
   ========================================================================== */
@media (max-width: 1279px) {
  .hero {
    width: 100%;
    max-width: 100%;
  }

  .hero-big-text {
    max-width: 100%;
  }

  .hero-big-text-line {
    font-size: clamp(4.5rem, 14vw, 11rem);
  }

  .hero-big-text__track {
    animation-duration: 26s;
  }

  .hero__scroll-down {
    right: clamp(1.25rem, 3vw, 2rem);
    bottom: clamp(2rem, 4vw, 3rem);
  }

  .business-sec {
    padding-top: clamp(64px, 7vw, 80px);
  }

  .business-header {
    padding: 0 clamp(32px, 5vw, 64px) 32px;
    gap: clamp(24px, 4vw, 48px);
  }

  .business-title {
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  }

  .business-desc {
    max-width: 680px;
    font-size: clamp(0.82rem, 1.2vw, 0.9rem);
  }

  .business-label-wrap {
    padding-right: 0;
  }

  .business-label span {
    font-size: clamp(0.86rem, 1.5vw, 1.05rem);
  }

  .business-grid {
    padding: 0 clamp(32px, 5vw, 64px) 52px;
  }

  .business-grid-top,
  .business-grid-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .business-grid-top {
    margin-bottom: 14px;
  }

  .business-grid-top .business-card {
    height: clamp(300px, 31vw, 380px);
  }

  .business-grid-bottom .business-card {
    height: clamp(230px, 24vw, 280px);
  }

  .business-action {
    padding: 32px clamp(32px, 5vw, 64px) 72px;
  }

  .mc-section,
  .mc-contact {
    padding: clamp(64px, 7vw, 80px) clamp(32px, 5vw, 64px);
  }

  .mc-why__inner {
    gap: clamp(32px, 4vw, 52px);
  }

  .mc-why__media {
    min-height: clamp(380px, 42vw, 500px);
  }

  .mc-why__title {
    font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  }

  .mc-works__inner {
    gap: clamp(28px, 3.5vw, 44px);
  }

  .mc-works__photo {
    height: clamp(160px, 16vw, 200px);
  }

  .mc-company__cards {
    gap: clamp(12px, 2vw, 18px);
  }

  .mc-photo-break {
    height: clamp(240px, 28vw, 320px);
  }

  .mc-contact {
    min-height: 440px;
  }

  .footer-corner-accent {
    width: min(900px, 100vw);
    height: min(700px, 72vh);
    min-width: 0;
    min-height: 0;
  }

  .footer-mc-main {
    padding: 44px clamp(32px, 5vw, 64px) 36px;
  }

  .footer-logo-img {
    transform: translateX(-30.4px) scale(2.1);
  }

  .footer-mc-brand {
    min-height: 84px;
  }

  .footer-mc-nav {
    gap: clamp(24px, 4vw, 40px);
  }

  .footer-mc-bottom {
    padding-inline: clamp(32px, 5vw, 64px);
  }
}

@media (max-width: 768px) {
  .mc-works__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mc-works__photo {
    aspect-ratio: 4 / 3;
    height: auto;
  }
}

@media (max-width: 767px) {
  .hero-big-text-line {
    font-size: clamp(3rem, 16vw, 7.5rem);
  }

  .hero-big-text__track {
    animation-duration: 21s;
  }

  .hero__scroll-down {
    right: 0.85rem;
    bottom: 1.5rem;
  }

  .business-sec {
    padding-top: 56px;
  }

  .business-header {
    flex-direction: column;
    padding: 0 20px 32px;
  }

  .business-title {
    font-size: clamp(1.65rem, 7.5vw, 2.1rem);
    line-height: 1.45;
  }

  .business-desc {
    line-height: 1.9;
  }

  .business-desc br,
  .mc-works__lead br,
  .mc-contact__lead br {
    display: none;
  }

  .business-label-wrap {
    align-self: flex-end;
  }

  .business-label {
    border-right-width: 3px;
    padding-right: 0.75rem;
  }

  .business-grid {
    padding: 0 20px 40px;
  }

  .business-grid-top,
  .business-grid-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  .business-grid-top .business-card,
  .business-grid-bottom .business-card {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 250px;
  }

  .business-card-body,
  .business-grid-bottom .business-card-body {
    padding: 1.25rem;
  }

  .business-card-ja,
  .business-grid-bottom .business-card-ja {
    font-size: clamp(1.25rem, 6vw, 1.6rem);
  }

  .business-card-desc,
  .business-grid-bottom .business-card-desc {
    max-height: none;
    font-size: 0.78rem;
  }

  .business-action {
    padding: 24px 20px 56px;
  }

  .mc-section,
  .mc-contact {
    padding: 56px 20px;
  }

  .mc-why__media {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }

  .mc-why__title {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .mc-why__item {
    align-items: flex-start;
  }

  .mc-why__text {
    line-height: 1.7;
  }

  .mc-works__title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  .mc-filter-btn {
    min-height: 44px;
    padding: 0.65rem 0.9rem;
  }

  .mc-info-card {
    aspect-ratio: 4 / 3;
  }

  .mc-info-card__body {
    padding: 1.25rem;
  }

  .mc-info-card__btn {
    right: 1rem;
    bottom: 1rem;
    width: 48px;
    height: 48px;
  }

  .mc-photo-break {
    height: 200px;
  }

  .mc-contact {
    min-height: 0;
  }

  .mc-contact__lead {
    line-height: 1.9;
  }

  .mc-contact__actions {
    flex-direction: column;
  }

  .mc-contact__tel,
  .mc-contact__btn {
    width: 100%;
    min-height: 56px;
  }

  .footer-corner-accent {
    width: 100vw;
    height: min(480px, 56vh);
    opacity: 0.82;
  }

  .footer-mc-main {
    padding: 52px 24px 44px;
    gap: 48px 24px;
  }

  .footer-logo-img {
    transform: translateX(-29.7px) scale(2.05);
  }

  .footer-mc-brand {
    min-height: 82px;
    margin-bottom: 12px;
  }

  .footer-mc-company-name {
    margin-bottom: 18px;
    font-size: 1.05rem;
    letter-spacing: 0.07em;
  }

  .footer-mc-address {
    font-size: 0.88rem;
    line-height: 1.9;
  }

  .footer-instagram {
    width: 60px;
    height: 60px;
    margin-top: 24px;
  }

  .footer-instagram .instagram-icon {
    width: 38px;
    height: 38px;
  }

  .footer-mc-nav {
    gap: 40px 20px;
    max-width: none;
    justify-content: start;
  }

  .footer-mc-nav__col {
    border-top: 1px solid #e8e4dc;
    padding-top: 20px;
  }

  .footer-mc-nav__heading {
    gap: 5px;
    margin-bottom: 20px;
  }

  .footer-mc-nav__heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .footer-mc-nav__col--accordion .footer-mc-nav__heading {
    flex: 1 1 auto;
    margin-bottom: 0;
  }

  .footer-mc-nav__toggle {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(7, 57, 123, 0.18);
    border-radius: 50%;
    background: transparent;
    color: #07397b;
  }

  .footer-mc-nav__toggle::before,
  .footer-mc-nav__toggle::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 1px;
    background: currentColor;
    transition: transform 0.25s ease;
  }

  .footer-mc-nav__toggle::after {
    transform: rotate(90deg);
  }

  .footer-mc-nav__col--accordion.is-open .footer-mc-nav__toggle::after {
    transform: rotate(0deg);
  }

  .footer-mc-nav__col--accordion .footer-mc-nav__list {
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s ease, margin-top 0.35s ease, opacity 0.25s ease, visibility 0.35s ease;
  }

  .footer-mc-nav__col--accordion.is-open .footer-mc-nav__list {
    max-height: 720px;
    margin-top: 20px;
    opacity: 1;
    visibility: visible;
  }

  .footer-mc-nav__heading-ja {
    font-size: 1.12rem;
  }

  .footer-mc-nav__heading-en {
    font-size: 0.7rem;
  }

  .footer-mc-nav__list {
    gap: 16px;
  }

  .footer-mc-nav__list a {
    min-height: 50px;
    justify-content: center;
    padding-left: 1.15rem;
  }

  .footer-mc-nav__item-ja {
    font-size: 1rem;
  }

  .footer-mc-nav__item-en {
    font-size: 0.62rem;
  }

  .footer-mc-bottom {
    padding: 24px 24px 30px;
  }

  .footer-mc-bottom p {
    font-size: 0.78rem;
  }
}

/* 1500px幅での見え方を基準に、画面幅に合わせて縮小する */
@media (min-width: 769px) {
  .footer-corner-accent {
    width: auto;
    height: min(145%, 34.2vw);
    min-width: 0;
    min-height: 0;
    aspect-ratio: 520 / 400;
  }
}

/* ==========================================================================
   34. Responsive service detail
   ========================================================================== */
.photo-overlap-main--placeholder {
  display: flex;
  align-items: stretch;
  background: #f5f4f0;
  border: 1px dashed #a38036;
}

.photo-overlap-placeholder {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #7a7670;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-align: center;
}

.photo-overlap-placeholder__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #a38036;
  color: #a38036;
  font-size: 1.4rem;
  transform: rotate(45deg);
}

@media (max-width: 1279px) {
  .svc-main {
    padding: clamp(64px, 7vw, 80px) clamp(32px, 5vw, 64px);
  }

  .svc-main__inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: clamp(32px, 4vw, 52px);
  }

  .svc-main__lead {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  }

  .svc-main .section-label {
    text-align: left;
    margin-top: 2.25rem;
  }

  .photo-overlap {
    height: 380px;
  }

  .photo-overlap-main {
    height: 290px;
  }

  .photo-overlap-sub {
    width: 48% !important;
    height: 210px;
  }

  .photo-overlap.no-sub .photo-overlap-main {
    height: 330px;
  }

  .svc-page-cta {
    padding: clamp(64px, 7vw, 80px) clamp(32px, 5vw, 64px);
  }
}

@media (max-width: 900px) {
  .svc-main__inner {
    grid-template-columns: 1fr;
  }

  .svc-main__sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .svc-flow,
  .svc-estimate {
    height: 100%;
    padding: 1.5rem;
    border: 1px solid #e0ddd8;
  }

  .svc-flow {
    background: #ffffff;
  }
}

@media (max-width: 768px) {
  .svc-main {
    padding: 56px 20px;
  }

  .svc-main__body {
    margin-bottom: 2.25rem;
  }

  .svc-main__sidebar {
    grid-template-columns: 1fr;
  }

  .svc-main .section-label {
    margin: 2rem 0 1.25rem;
  }

  .photo-overlap,
  .photo-overlap.no-sub {
    height: 300px;
    margin-bottom: 2.25rem;
  }

  .photo-overlap-main,
  .photo-overlap.no-sub .photo-overlap-main {
    width: 100% !important;
    height: 238px;
  }

  .photo-overlap-sub {
    display: block;
    right: 8px;
    bottom: 0;
    width: 46% !important;
    height: 132px;
    border-width: 4px;
    box-shadow: 0 10px 24px rgba(7, 57, 123, 0.2);
  }

  .photo-overlap-num {
    top: -26px;
    right: 8px;
    font-size: 3.5rem;
  }

  .photo-overlap-tag {
    top: -12px;
    max-width: calc(100% - 56px);
    padding: 0.45rem 0.75rem;
    font-size: 0.58rem;
    line-height: 1.4;
  }

  .photo-overlap.is-placeholder,
  .photo-overlap.no-sub.is-placeholder {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .photo-overlap.is-placeholder .photo-overlap-main {
    height: 100%;
  }

  .svc-page-cta {
    padding: 56px 20px;
  }

  .svc-page-cta__actions {
    flex-direction: column;
  }

  .svc-page-cta__tel,
  .svc-page-cta__actions .mc-btn {
    width: 100%;
    min-height: 56px;
  }
}

/* ==========================================================================
   35. Responsive ABOUT / PROJECT / CONTACT pages
   ========================================================================== */
@media (max-width: 1279px) {
  .abt-greeting,
  .abt-profile,
  .abt-access {
    padding: clamp(64px, 7vw, 80px) clamp(32px, 5vw, 64px);
  }

  .abt-greeting__inner {
    grid-template-columns: minmax(280px, 36%) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 52px);
  }

  .abt-greeting__photo-area {
    height: clamp(380px, 42vw, 420px);
  }

  .abt-info-table th {
    width: 150px;
  }

  .abt-access__grid {
    gap: clamp(28px, 4vw, 44px);
  }

  .abt-cta {
    padding: clamp(56px, 6vw, 64px) clamp(32px, 5vw, 64px);
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proj-filter-bar {
    padding: 32px clamp(32px, 5vw, 64px) 0;
  }

  .proj-cards-bg {
    padding: 28px clamp(32px, 5vw, 64px) 72px;
  }

  .project-card-img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .filter-btn {
    min-height: 44px;
    padding: 0.55rem 1.2rem;
  }

  .proj-detail__layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: clamp(32px, 4vw, 52px);
  }

  .proj-detail__spec {
    padding: 28px;
  }

  .contact-layout {
    gap: clamp(32px, 5vw, 64px);
  }

  .contact-info__value {
    overflow-wrap: anywhere;
  }

  .contact-form,
  .wpcf7-form {
    width: 100%;
  }

  .wpcf7-form p {
    display: grid;
    gap: 8px;
    margin: 0;
  }

  .wpcf7-form label {
    font-size: 0.82rem;
    line-height: 1.8;
    color: #07397b;
  }

  .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
  }

  .wpcf7-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  .wpcf7-form textarea,
  .wpcf7-form select {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid #e0ddd8;
    border-radius: 0;
    background: #ffffff;
    color: #07397b;
    font: inherit;
  }

  .wpcf7-form textarea {
    min-height: 180px;
    resize: vertical;
  }

  .wpcf7-form input:focus,
  .wpcf7-form textarea:focus,
  .wpcf7-form select:focus {
    outline: 2px solid rgba(163, 128, 54, 0.22);
    border-color: #a38036;
  }

  .wpcf7-form .wpcf7-submit {
    min-width: 200px;
    min-height: 56px;
    padding: 14px 32px;
    border: 1px solid #a38036;
    border-radius: 0;
    background: #a38036;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }

  .wpcf7-form .wpcf7-spinner {
    align-self: center;
    margin: 0 0 0 12px;
  }
}

@media (max-width: 900px) {
  .abt-greeting__inner,
  .abt-access__grid,
  .proj-detail__layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .abt-greeting__photo {
    width: min(100%, 440px);
    margin-inline: auto;
  }

  .proj-detail__spec {
    position: static;
  }

  .contact-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .contact-info > .u-muted {
    grid-column: 1 / -1;
  }

  .contact-info__item {
    margin: 0;
    padding: 20px;
    border-left: 3px solid #a38036;
    background: #f5f4f0;
  }
}

@media (max-width: 768px) {
  .abt-greeting,
  .abt-profile,
  .abt-access {
    padding: 56px 20px;
  }

  .abt-greeting__photo-area {
    height: auto;
    aspect-ratio: 3 / 4;
    border-radius: 10px 10px 0 0;
  }

  .abt-greeting__nameplate {
    padding: 1.25rem;
    border-radius: 0 0 10px 10px;
  }

  .abt-greeting__catch {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
  }

  .abt-greeting__body {
    line-height: 2;
  }

  .abt-greeting__body br {
    display: none;
  }

  .abt-info-table,
  .abt-info-table tbody {
    display: block;
    width: 100%;
  }

  .abt-info-table tbody {
    display: grid;
    gap: 12px;
  }

  .abt-info-table tr {
    display: block;
    padding: 1rem 1.1rem;
    border: 0;
    border-left: 3px solid #a38036;
    background: #f5f4f0;
  }

  .abt-info-table th,
  .abt-info-table td {
    display: block;
    width: 100%;
    padding: 0;
  }

  .abt-info-table th {
    margin-bottom: 0.45rem;
    padding: 0;
  }

  .abt-info-table td {
    line-height: 1.75;
    overflow-wrap: anywhere;
  }

  .map-placeholder {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .map-placeholder iframe {
    width: 100%;
    height: 100%;
  }

  .abt-access__item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1rem 0;
  }

  .abt-cta {
    padding: 48px 20px;
  }

  .abt-cta__btn {
    min-height: 48px;
    padding: 0.85rem 1.5rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .proj-filter-bar {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 24px 20px 4px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .filter-btn {
    flex: 0 0 auto;
  }

  .proj-cards-bg {
    padding: 24px 20px 56px;
  }

  .project-card-body {
    padding: 1.1rem 1.2rem 1.4rem;
  }

  .proj-detail__hero {
    max-width: 100%;
    margin-bottom: 32px;
  }

  .entry-content {
    font-size: 0.95rem;
    line-height: 1.95;
    overflow-wrap: anywhere;
  }

  .entry-content img {
    width: 100%;
    height: auto;
  }

  .proj-detail__spec {
    padding: 24px 20px;
  }

  .proj-nav {
    margin-top: 48px;
    padding-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .proj-nav__back {
    grid-column: 1 / -1;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .contact-info > .u-muted {
    grid-column: auto;
  }

  .contact-info__value {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: clamp(1.05rem, 6vw, 1.3rem);
  }

  .contact-form,
  .wpcf7-form {
    gap: 20px;
  }

  .form-field input,
  .form-field textarea {
    min-height: 52px;
  }

  .form-actions .btn,
  .wpcf7-form .wpcf7-submit {
    width: 100%;
    min-height: 56px;
  }

  .wpcf7-form .wpcf7-spinner {
    justify-self: center;
    margin: 8px 0 0;
  }
}

/* 400px以下でもファーストビュー動画を縮小せず全面表示する */
@media (max-width: 400px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero > video {
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
  }
}
