/*

Theme Name: Ichidai Original Theme

Theme URI: https://www.ichi-dai.co.jp/

Author: WEBEE LAB.

Author URI: https://www.ichi-dai.co.jp/

Description: 株式会社一大向けの完全オリジナルWordPressテーマ。静的HTMLをWP化し、新着情報・固定ページ・レスポンシブ・画像アセットを統合。

Version: 2.5.0

Requires at least: 6.0

Tested up to: 6.5

Requires PHP: 8.0

Text Domain: ichidai-original

*/



/* ============================================================

   株式会社一大 - メインスタイルシート

   Design Direction: Architectural Luxury / Refined Monochrome

   ============================================================ */



/* ── Google Fonts ── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@300;400&display=swap');



/* ── CSS Variables ── */

:root {

  --white:       #FFFFFF;

  --off-white:   #F6F5F2;

  --stone:       #EEECE8;

  --light-grey:  #D8D5D0;

  --mid-grey:    #8A8580;

  --dark-grey:   #4A4845;

  --charcoal:    #2A2825;

  --navy:        #192240;

  --navy-mid:    #243358;

  --black:       #111010;

  --gold:        #B8996A;

  --gold-light:  #D4B88A;



  --font-display: 'Cormorant Garamond', 'Noto Serif JP', Georgia, serif;

  --font-body:    'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;



  --fs-xs:   0.75rem;

  --fs-sm:   0.875rem;

  --fs-base: 1rem;

  --fs-md:   1.125rem;

  --fs-lg:   1.375rem;

  --fs-xl:   1.75rem;

  --fs-2xl:  2.25rem;

  --fs-3xl:  3rem;

  --fs-4xl:  3.75rem;

  --fs-5xl:  5rem;



  --space-xs:  0.5rem;

  --space-sm:  1rem;

  --space-md:  1.5rem;

  --space-lg:  2.5rem;

  --space-xl:  4rem;

  --space-2xl: 6rem;

  --space-3xl: 9rem;



  --max-width: 1200px;

  --header-h: 80px;



  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);

}



/* ── Reset & Base ── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }



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



body {

  font-family: var(--font-body);

  font-weight: 400;

  color: var(--charcoal);

  background: var(--white);

  line-height: 1.85;

  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;

}



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

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

button { cursor: pointer; border: none; background: none; font-family: inherit; }



/* ── Utility ── */

.container {

  width: 100%;

  max-width: var(--max-width);

  margin-inline: auto;

  padding-inline: clamp(1.25rem, 5vw, 3rem);

}



.section-padding {

  padding-block: clamp(4rem, 10vw, var(--space-3xl));

}



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

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }



/* ── Section Label ── */

.section-label {

  display: inline-block;

  font-family: var(--font-display);

  font-size: var(--fs-sm);

  font-weight: 400;

  letter-spacing: 0.25em;

  color: var(--gold);

  text-transform: uppercase;

  margin-bottom: var(--space-sm);

}



/* ── Section Heading ── */

.section-heading {

  font-family: var(--font-display);

  font-size: clamp(1.95rem, 3.35vw, 3.25rem);

  font-weight: 300;

  line-height: 1.2;

  letter-spacing: 0.02em;

  color: var(--charcoal);

  margin-bottom: var(--space-md);

}



.section-heading span {

  display: block;

  font-size: 0.5em;

  font-weight: 300;

  letter-spacing: 0.12em;

  color: var(--mid-grey);

  margin-bottom: 0.4em;

  font-family: var(--font-body);

}



.section-lead {

  font-size: clamp(var(--fs-base), 1.5vw, var(--fs-md));

  font-weight: 300;

  line-height: 2;

  color: var(--dark-grey);

  max-width: 660px;

}



.section-lead.center { margin-inline: auto; }



/* ── Divider ── */

.divider {

  width: 40px;

  height: 1px;

  background: var(--gold);

  margin-bottom: var(--space-lg);

}

.divider.center { margin-inline: auto; }



/* ── Buttons ── */

.btn {

  display: inline-flex;

  align-items: center;

  gap: 0.75rem;

  padding: 1rem 2.25rem;

  font-family: var(--font-body);

  font-size: var(--fs-sm);

  font-weight: 500;

  letter-spacing: 0.1em;

  transition: var(--transition);

  text-align: center;

  white-space: nowrap;

}



.btn-primary {

  background: var(--navy);

  color: var(--white);

  border: 1px solid var(--navy);

}

.btn-primary:hover {

  background: var(--navy-mid);

  border-color: var(--navy-mid);

}



.btn-outline {

  background: transparent;

  color: var(--navy);

  border: 1px solid var(--navy);

}

.btn-outline:hover {

  background: var(--navy);

  color: var(--white);

}



.btn-gold {

  background: var(--gold);

  color: var(--white);

  border: 1px solid var(--gold);

}

.btn-gold:hover {

  background: var(--gold-light);

  border-color: var(--gold-light);

}



.btn-white {

  background: var(--white);

  color: var(--navy);

  border: 1px solid var(--white);

}

.btn-white:hover {

  background: transparent;

  color: var(--white);

}



.btn svg, .btn::after {

  flex-shrink: 0;

  transition: transform var(--transition);

}

.btn:hover svg, .btn:hover::after { transform: translateX(4px); }



.btn-arrow::after {

  content: '→';

  font-size: 1rem;

}



/* ============================================================

   HEADER

   ============================================================ */

.site-header {

  position: fixed;

  top: 0;

  left: 0;

  right: 0;

  z-index: 1000;

  height: var(--header-h);

  display: flex;

  align-items: center;

  transition: background var(--transition), box-shadow var(--transition);

}



.site-header.is-scrolled {

  background: rgba(26, 34, 64, 0.97);

  backdrop-filter: blur(8px);

  box-shadow: 0 1px 0 rgba(255,255,255,0.08);

}



.site-header:not(.is-scrolled) {

  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 100%);

}



.header-inner {

  width: 100%;

  max-width: var(--max-width);

  margin-inline: auto;

  padding-inline: clamp(1.25rem, 5vw, 3rem);

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: var(--space-lg);

}



.header-logo {

  display: flex;

  flex-direction: column;

  gap: 2px;

}



.header-logo__ja {

  font-size: 1.125rem;

  font-weight: 700;

  letter-spacing: 0.12em;

  color: var(--white);

  line-height: 1;

}



.header-logo__en {

  font-family: var(--font-display);

  font-size: 0.625rem;

  letter-spacing: 0.3em;

  color: rgba(255,255,255,0.55);

  text-transform: uppercase;

}



.header-nav {

  display: flex;

  align-items: center;

  gap: clamp(0.75rem, 1.8vw, 1.75rem);

}



.header-nav a {

  font-size: 0.7rem;

  letter-spacing: 0.08em;

  color: rgba(255,255,255,0.8);

  transition: color var(--transition);

  position: relative;

  padding-bottom: 2px;

}

.header-nav a::after {

  content: '';

  position: absolute;

  bottom: 0;

  left: 0;

  width: 0;

  height: 1px;

  background: var(--gold);

  transition: width var(--transition);

}

.header-nav a:hover { color: var(--white); }

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



.header-cta {

  display: flex;

  align-items: center;

  gap: var(--space-sm);

}



.header-tel {

  display: flex;

  flex-direction: column;

  align-items: flex-end;

  gap: 1px;

}

.header-tel__num {

  font-size: 1.05rem;

  font-weight: 700;

  letter-spacing: 0.05em;

  color: var(--white);

  display: flex;

  align-items: center;

  gap: 0.4rem;

}

.header-tel__num svg { width: 14px; height: 14px; }

.header-tel__note {

  font-size: 0.625rem;

  letter-spacing: 0.1em;

  color: rgba(255,255,255,0.55);

}



.header-contact-btn {

  padding: 0.6rem 1.25rem;

  font-size: var(--fs-xs);

  letter-spacing: 0.12em;

  background: var(--gold);

  color: var(--white);

  border: 1px solid var(--gold);

  transition: var(--transition);

}

.header-contact-btn:hover {

  background: var(--gold-light);

  border-color: var(--gold-light);

}



/* Hamburger */

.nav-toggle {

  display: none;

  flex-direction: column;

  gap: 5px;

  width: 28px;

  padding: 4px 0;

}

.nav-toggle span {

  display: block;

  height: 1px;

  background: var(--white);

  transition: var(--transition);

}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }

.nav-toggle.is-open span:nth-child(2) { opacity: 0; }

.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }



/* Mobile Nav */

.mobile-nav {

  position: fixed;

  top: 0;

  right: -100%;

  width: min(360px, 85vw);

  height: 100dvh;

  background: var(--navy);

  z-index: 999;

  transition: right var(--transition-slow);

  padding: 100px var(--space-lg) var(--space-xl);

  overflow-y: auto;

  display: flex;

  flex-direction: column;

  gap: var(--space-xl);

}

.mobile-nav.is-open { right: 0; }



.mobile-nav__links {

  display: flex;

  flex-direction: column;

  gap: var(--space-md);

}

.mobile-nav__links a {

  font-size: var(--fs-base);

  letter-spacing: 0.1em;

  color: rgba(255,255,255,0.8);

  padding-bottom: var(--space-md);

  border-bottom: 1px solid rgba(255,255,255,0.08);

  display: block;

  transition: color var(--transition);

}

.mobile-nav__links a:hover { color: var(--gold); }



.mobile-nav__contact {

  display: flex;

  flex-direction: column;

  gap: var(--space-sm);

}



.mobile-nav__tel {

  font-size: 1.5rem;

  font-weight: 700;

  color: var(--white);

  letter-spacing: 0.05em;

  display: block;

  text-align: center;

  padding: var(--space-md);

  border: 1px solid rgba(255,255,255,0.2);

}



.overlay {

  position: fixed;

  inset: 0;

  background: rgba(0,0,0,0.6);

  z-index: 998;

  opacity: 0;

  pointer-events: none;

  transition: opacity var(--transition);

}

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



/* ============================================================

   HERO SLIDER

   ============================================================ */

.hero {

  position: relative;

  height: 100svh;

  min-height: 580px;

  overflow: hidden;

}



.hero-slides {

  position: absolute;

  inset: 0;

}



.hero-slide {

  position: absolute;

  inset: 0;

  opacity: 0;

  transition: opacity 1.4s ease;

}

.hero-slide.is-active { opacity: 1; }



.hero-slide__bg {

  position: absolute;

  inset: 0;

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  transform: scale(1.06);

  transition: transform 8s ease;

}

.hero-slide.is-active .hero-slide__bg { transform: scale(1); }



/* Hero background placeholders - architectural dark gradients */

/* Hero backgrounds: real photos set via inline style — no gradient override needed */



/* Architectural grid overlay */

.hero-slide__bg::before {

  content: '';

  position: absolute;

  inset: 0;

  background-image:

    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),

    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);

  background-size: 80px 80px;

}



.hero-slide__overlay {

  position: absolute;

  inset: 0;

  background: linear-gradient(

    to right,

    rgba(0,0,0,0.6) 0%,

    rgba(0,0,0,0.3) 60%,

    rgba(0,0,0,0.15) 100%

  );

}



.hero-content {

  position: relative;

  z-index: 2;

  height: 100%;

  display: flex;

  align-items: center;

}



.hero-inner {

  width: 100%;

  max-width: var(--max-width);

  margin-inline: auto;

  padding-inline: clamp(1.25rem, 5vw, 3rem);

  padding-top: var(--header-h);

  display: grid;

  grid-template-columns: 1fr;

}



/* Stack all slide-content panels in the same grid cell */

.hero-slide-content {

  grid-area: 1 / 1;

  visibility: hidden;

  pointer-events: none;

}

.hero-slide-content.is-active {

  visibility: visible;

  pointer-events: auto;

}



.hero-slide__content {

  max-width: 680px;

}



.hero-slide__label {

  font-family: var(--font-body);

  font-size: var(--fs-xs);

  letter-spacing: 0.3em;

  color: var(--gold);

  text-transform: uppercase;

  margin-bottom: 1.5rem;

  opacity: 0;

  transform: translateY(20px);

  transition: opacity 0.8s 0.3s ease, transform 0.8s 0.3s ease;

}



.hero-slide__heading {

  font-family: var(--font-display);

  font-size: clamp(2.05rem, 5.2vw, 4.35rem);

  font-weight: 300;

  line-height: 1.15;

  letter-spacing: 0.03em;

  color: var(--white);

  margin-bottom: 1.5rem;

  opacity: 0;

  transform: translateY(25px);

  transition: opacity 0.8s 0.5s ease, transform 0.8s 0.5s ease;

}



.hero-slide__text {

  font-size: clamp(var(--fs-sm), 1.5vw, var(--fs-base));

  font-weight: 300;

  line-height: 2;

  color: rgba(255,255,255,0.75);

  margin-bottom: 2.5rem;

  opacity: 0;

  transform: translateY(20px);

  transition: opacity 0.8s 0.7s ease, transform 0.8s 0.7s ease;

}



.hero-slide__actions {

  display: flex;

  flex-wrap: wrap;

  gap: var(--space-sm);

  opacity: 0;

  transform: translateY(20px);

  transition: opacity 0.8s 0.9s ease, transform 0.8s 0.9s ease;

}



.hero-slide.is-active .hero-slide__label,

.hero-slide.is-active .hero-slide__heading,

.hero-slide.is-active .hero-slide__text,

.hero-slide.is-active .hero-slide__actions,

.hero-slide-content.is-active .hero-slide__label,

.hero-slide-content.is-active .hero-slide__heading,

.hero-slide-content.is-active .hero-slide__text,

.hero-slide-content.is-active .hero-slide__actions {

  opacity: 1;

  transform: translateY(0);

}



/* Hero Controls */

.hero-controls {

  position: absolute;

  bottom: clamp(1.5rem, 4vw, 3rem);

  left: clamp(1.25rem, 5vw, 3rem);

  z-index: 3;

  display: flex;

  align-items: center;

  gap: var(--space-md);

}



.hero-dots {

  display: flex;

  gap: 10px;

}

.hero-dot {

  width: 24px;

  height: 2px;

  background: rgba(255,255,255,0.3);

  cursor: pointer;

  transition: var(--transition);

}

.hero-dot.is-active { background: var(--gold); width: 40px; }



.hero-scroll {

  position: absolute;

  bottom: clamp(1.5rem, 4vw, 3rem);

  right: clamp(1.25rem, 5vw, 3rem);

  z-index: 3;

  display: flex;

  align-items: center;

  gap: 0.75rem;

  font-size: var(--fs-xs);

  letter-spacing: 0.2em;

  color: rgba(255,255,255,0.5);

  text-transform: uppercase;

  writing-mode: vertical-lr;

}

.hero-scroll::before {

  content: '';

  width: 1px;

  height: 50px;

  background: linear-gradient(to bottom, var(--gold), transparent);

  animation: scrollLine 1.8s ease infinite;

}



@keyframes scrollLine {

  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }

  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }

  51%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }

  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }

}



/* ============================================================

   SECTION: 課題提起 (Pain Points)

   ============================================================ */

.pain-section {

  background: var(--off-white);

}



.pain-grid {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: var(--space-xl) var(--space-3xl);

  align-items: start;

}



.pain-intro { grid-column: 1; }



.pain-list {

  grid-column: 2;

  display: flex;

  flex-direction: column;

  gap: var(--space-md);

}



.pain-item {

  display: flex;

  gap: var(--space-md);

  padding: var(--space-md) var(--space-lg);

  background: var(--white);

  border-left: 3px solid var(--gold);

  transition: var(--transition);

}

.pain-item:hover {

  box-shadow: 0 8px 32px rgba(0,0,0,0.07);

  transform: translateX(4px);

}



.pain-item__icon {

  font-size: 1.5rem;

  flex-shrink: 0;

  line-height: 1.6;

}



.pain-item__text {

  font-size: var(--fs-sm);

  font-weight: 500;

  line-height: 1.7;

  color: var(--charcoal);

}



.pain-answer {

  grid-column: 1 / -1;

  background: var(--navy);

  color: var(--white);

  padding: var(--space-xl);

  text-align: center;

}



.pain-answer__text {

  font-size: clamp(var(--fs-base), 2vw, var(--fs-lg));

  font-weight: 300;

  line-height: 2;

  letter-spacing: 0.05em;

}



.pain-answer__text strong {

  color: var(--gold-light);

  font-weight: 500;

}



/* ============================================================

   SECTION: 選ばれる理由 (Reasons to Choose)

   ============================================================ */

.reasons-section {

  background: var(--white);

}



.reasons-intro {

  max-width: 700px;

  margin-bottom: var(--space-2xl);

}



.reasons-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 2px;

  background: var(--light-grey);

}



.reason-card {

  background: var(--white);

  padding: clamp(1.75rem, 4vw, 3rem);

  transition: var(--transition);

  position: relative;

  overflow: hidden;

}

.reason-card::before {

  content: '';

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  height: 2px;

  background: var(--gold);

  transform: scaleX(0);

  transition: transform var(--transition);

}

.reason-card:hover { background: var(--off-white); }

.reason-card:hover::before { transform: scaleX(1); }



.reason-card__num {

  font-family: var(--font-display);

  font-size: 3.5rem;

  font-weight: 300;

  color: var(--stone);

  line-height: 1;

  margin-bottom: var(--space-sm);

  letter-spacing: -0.02em;

}



.reason-card__title {

  font-size: var(--fs-base);

  font-weight: 700;

  color: var(--navy);

  margin-bottom: var(--space-sm);

  letter-spacing: 0.04em;

  line-height: 1.4;

}



.reason-card__body {

  font-size: var(--fs-sm);

  font-weight: 300;

  line-height: 1.9;

  color: var(--dark-grey);

}



/* ============================================================

   SECTION: サービス紹介

   ============================================================ */

.services-section {

  background: var(--off-white);

}



.services-header {

  display: flex;

  justify-content: space-between;

  align-items: flex-end;

  margin-bottom: var(--space-2xl);

  gap: var(--space-lg);

  flex-wrap: wrap;

}



.services-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 1px;

  background: var(--light-grey);

}



.service-card {

  background: var(--white);

  padding: clamp(1.75rem, 3vw, 2.5rem);

  transition: var(--transition);

  display: flex;

  flex-direction: column;

  gap: var(--space-md);

}

.service-card:hover {

  background: var(--navy);

}

.service-card:hover .service-card__title,

.service-card:hover .service-card__body,

.service-card:hover .service-card__link {

  color: var(--white);

}

.service-card:hover .service-card__icon-wrap {

  background: rgba(255,255,255,0.1);

  border-color: rgba(255,255,255,0.2);

}

.service-card:hover .service-card__icon { color: var(--gold-light); }



.service-card__icon-wrap {

  width: 52px;

  height: 52px;

  border: 1px solid var(--light-grey);

  display: flex;

  align-items: center;

  justify-content: center;

  transition: var(--transition);

}



.service-card__icon {

  font-size: 1.5rem;

  color: var(--navy);

  transition: var(--transition);

}



.service-card__title {

  font-size: var(--fs-base);

  font-weight: 700;

  color: var(--charcoal);

  letter-spacing: 0.04em;

  line-height: 1.4;

  transition: var(--transition);

}



.service-card__body {

  font-size: var(--fs-xs);

  font-weight: 300;

  line-height: 2;

  color: var(--dark-grey);

  transition: var(--transition);

  flex: 1;

}



.service-card__link {

  font-size: var(--fs-xs);

  letter-spacing: 0.15em;

  color: var(--gold);

  display: flex;

  align-items: center;

  gap: 0.5rem;

  transition: var(--transition);

  margin-top: auto;

}

.service-card:hover .service-card__link { color: var(--gold-light); }



/* ============================================================

   SECTION: 施工事例

   ============================================================ */

.works-section {

  background: var(--charcoal);

}



.works-section .section-heading { color: var(--white); }

.works-section .section-lead { color: rgba(255,255,255,0.6); }

.works-section .section-label { color: var(--gold); }



.works-header {

  display: flex;

  justify-content: space-between;

  align-items: flex-end;

  margin-bottom: var(--space-2xl);

  gap: var(--space-lg);

  flex-wrap: wrap;

}



.works-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 2px;

}



.work-card {

  position: relative;

  overflow: hidden;

  aspect-ratio: 4/3;

  background: var(--navy);

  cursor: pointer;

}



.work-card__img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform var(--transition-slow);

}

/* .work-card__img is no longer used (replaced by .work-card__bg) */



/* Work card photo backgrounds — set via .work-card__bg inline style */

.work-card { background: var(--charcoal); }

.work-card__bg {

  position: absolute;

  inset: 0;

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  transition: transform var(--transition-slow);

}

.work-card:hover .work-card__bg { transform: scale(1.07); }



.work-card__overlay {

  position: absolute;

  inset: 0;

  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);

  opacity: 0.85;

  transition: opacity var(--transition);

}

.work-card:hover .work-card__overlay { opacity: 1; }



.work-card__info {

  position: absolute;

  bottom: 0;

  left: 0;

  right: 0;

  padding: clamp(1rem, 3vw, 1.75rem);

}



.work-card__cat {

  font-size: var(--fs-xs);

  letter-spacing: 0.2em;

  color: var(--gold);

  text-transform: uppercase;

  display: block;

  margin-bottom: 0.4rem;

}



.work-card__title {

  font-size: var(--fs-sm);

  font-weight: 500;

  color: var(--white);

  line-height: 1.5;

}



.work-card__area {

  font-size: var(--fs-xs);

  color: rgba(255,255,255,0.55);

  margin-top: 0.3rem;

  letter-spacing: 0.05em;

}



/* Work card photo background handled by .work-card__bg */



/* ============================================================

   SECTION: 業種別対応

   ============================================================ */

.industries-section {

  background: var(--white);

}



.industries-grid {

  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 2px;

  background: var(--stone);

  margin-top: var(--space-2xl);

}



.industry-card {

  background: var(--white);

  padding: clamp(1.5rem, 3vw, 2.5rem) var(--space-md);

  text-align: center;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: var(--space-sm);

  transition: var(--transition);

  text-decoration: none;

}

.industry-card:hover {

  background: var(--navy);

}

.industry-card:hover .industry-card__icon { color: var(--gold-light); }

.industry-card:hover .industry-card__name { color: var(--white); }

.industry-card:hover .industry-card__desc { color: rgba(255,255,255,0.65); }



.industry-card__icon {

  font-size: 2rem;

  color: var(--navy);

  transition: var(--transition);

}



.industry-card__name {

  font-size: var(--fs-sm);

  font-weight: 700;

  color: var(--charcoal);

  letter-spacing: 0.05em;

  line-height: 1.4;

  transition: var(--transition);

}



.industry-card__desc {

  font-size: var(--fs-xs);

  font-weight: 300;

  color: var(--mid-grey);

  line-height: 1.8;

  transition: var(--transition);

}



/* ============================================================

   SECTION: エリア対応

   ============================================================ */

.area-section {

  background: var(--off-white);

}



.area-inner {

  display: grid;

  grid-template-columns: 1fr 1.2fr;

  gap: var(--space-3xl);

  align-items: start;

}



.area-intro { }



.area-map-block {

  position: relative;

}



.area-map-visual {

  width: 100%;

  background: var(--navy);

  aspect-ratio: 1;

  display: flex;

  align-items: center;

  justify-content: center;

  position: relative;

  overflow: hidden;

}



.area-map-visual::before {

  content: '';

  position: absolute;

  inset: 20px;

  border: 1px solid rgba(255,255,255,0.1);

}



.area-map-visual::after {

  content: '';

  position: absolute;

  inset: 40px;

  border: 1px solid rgba(255,255,255,0.05);

}



.area-map-label {

  font-family: var(--font-display);

  font-size: clamp(1rem, 3vw, 1.5rem);

  font-weight: 300;

  letter-spacing: 0.2em;

  color: rgba(255,255,255,0.7);

  text-align: center;

  position: relative;

  z-index: 1;

}



.area-tags-title {

  font-size: var(--fs-sm);

  font-weight: 700;

  color: var(--navy);

  letter-spacing: 0.08em;

  margin-top: var(--space-lg);

  margin-bottom: var(--space-sm);

}



.area-tags {

  display: flex;

  flex-wrap: wrap;

  gap: var(--space-xs);

}



.area-tag {

  display: inline-block;

  padding: 0.35rem 0.85rem;

  font-size: var(--fs-xs);

  letter-spacing: 0.08em;

  color: var(--charcoal);

  border: 1px solid var(--light-grey);

  background: var(--white);

  transition: var(--transition);

  text-decoration: none;

}

.area-tag:hover, .area-tag.is-main {

  background: var(--navy);

  color: var(--white);

  border-color: var(--navy);

}



.area-note {

  margin-top: var(--space-lg);

  padding: var(--space-md);

  background: var(--white);

  border-left: 3px solid var(--gold);

}

.area-note p {

  font-size: var(--fs-sm);

  font-weight: 300;

  line-height: 1.9;

  color: var(--dark-grey);

}



/* ============================================================

   SECTION: ご依頼の流れ (Process)

   ============================================================ */

.process-section {

  background: var(--navy);

}



.process-section .section-heading { color: var(--white); }

.process-section .section-lead { color: rgba(255,255,255,0.6); }

.process-section .section-label { color: var(--gold); }

.process-section .divider { background: var(--gold); }



.process-steps {

  display: flex;

  flex-direction: column;

  gap: 0;

  margin-top: var(--space-2xl);

  position: relative;

}



.process-steps::before {

  content: '';

  position: absolute;

  top: 0;

  bottom: 0;

  left: 28px;

  width: 1px;

  background: linear-gradient(to bottom, var(--gold), transparent);

}



.process-step {

  display: grid;

  grid-template-columns: 56px 1fr;

  gap: var(--space-lg);

  padding-bottom: var(--space-xl);

  position: relative;

}



.process-step__num {

  width: 56px;

  height: 56px;

  border: 1px solid var(--gold);

  display: flex;

  align-items: center;

  justify-content: center;

  font-family: var(--font-display);

  font-size: 1.25rem;

  font-weight: 300;

  color: var(--gold);

  letter-spacing: 0.05em;

  background: var(--navy);

  position: relative;

  z-index: 1;

  flex-shrink: 0;

}



.process-step__body { padding-top: 0.75rem; }



.process-step__title {

  font-size: var(--fs-base);

  font-weight: 700;

  color: var(--white);

  letter-spacing: 0.05em;

  margin-bottom: var(--space-xs);

}



.process-step__text {

  font-size: var(--fs-sm);

  font-weight: 300;

  line-height: 1.9;

  color: rgba(255,255,255,0.65);

}



.process-step__note {

  display: inline-block;

  margin-top: 0.5rem;

  padding: 0.3rem 0.75rem;

  background: rgba(184,153,106,0.15);

  border: 1px solid rgba(184,153,106,0.3);

  font-size: var(--fs-xs);

  color: var(--gold-light);

  letter-spacing: 0.05em;

}



/* ============================================================

   SECTION: FAQ

   ============================================================ */

.faq-section {

  background: var(--white);

}



.faq-inner {

  display: grid;

  grid-template-columns: 1fr 1.5fr;

  gap: var(--space-3xl);

  align-items: start;

}



.faq-intro { position: sticky; top: calc(var(--header-h) + 2rem); }



.faq-list {

  display: flex;

  flex-direction: column;

  gap: 0;

}



.faq-item {

  border-bottom: 1px solid var(--stone);

}



.faq-question {

  width: 100%;

  text-align: left;

  padding: var(--space-md) 0;

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: var(--space-md);

  cursor: pointer;

  transition: var(--transition);

}

.faq-question:hover .faq-q-text { color: var(--navy); }



.faq-q-badge {

  font-family: var(--font-display);

  font-size: 1.25rem;

  font-weight: 400;

  color: var(--gold);

  flex-shrink: 0;

  line-height: 1;

}



.faq-q-text {

  font-size: var(--fs-sm);

  font-weight: 500;

  color: var(--charcoal);

  line-height: 1.6;

  flex: 1;

  transition: var(--transition);

}



.faq-q-icon {

  width: 20px;

  height: 20px;

  position: relative;

  flex-shrink: 0;

}

.faq-q-icon::before,

.faq-q-icon::after {

  content: '';

  position: absolute;

  background: var(--charcoal);

  transition: var(--transition);

}

.faq-q-icon::before {

  width: 100%;

  height: 1px;

  top: 50%;

  left: 0;

  transform: translateY(-50%);

}

.faq-q-icon::after {

  width: 1px;

  height: 100%;

  left: 50%;

  top: 0;

  transform: translateX(-50%);

}

.faq-item.is-open .faq-q-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }



.faq-answer {

  max-height: 0;

  overflow: hidden;

  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);

}

.faq-item.is-open .faq-answer { max-height: 500px; }



.faq-answer__inner {

  padding: 0 0 var(--space-md) 2.25rem;

  font-size: var(--fs-sm);

  font-weight: 300;

  line-height: 2;

  color: var(--dark-grey);

}



/* ============================================================

   SECTION: 会社情報

   ============================================================ */

.company-section {

  background: var(--off-white);

}



.company-inner {

  display: grid;

  grid-template-columns: 1.2fr 1fr;

  gap: var(--space-3xl);

  align-items: start;

}



.company-table {

  width: 100%;

  border-collapse: collapse;

}

.company-table tr {

  border-bottom: 1px solid var(--stone);

}

.company-table tr:first-child {

  border-top: 1px solid var(--stone);

}

.company-table th {

  width: 35%;

  padding: var(--space-md) var(--space-sm);

  font-size: var(--fs-xs);

  font-weight: 500;

  letter-spacing: 0.08em;

  color: var(--mid-grey);

  text-align: left;

  vertical-align: top;

}

.company-table td {

  padding: var(--space-md) var(--space-sm);

  font-size: var(--fs-sm);

  font-weight: 300;

  line-height: 1.9;

  color: var(--charcoal);

  vertical-align: top;

}



.company-visual {

  position: relative;

}



.company-visual__inner {

  aspect-ratio: 4/5;

  background: var(--charcoal);

  position: relative;

  overflow: hidden;

}



.company-visual__inner::before {

  content: '';

  position: absolute;

  inset: 20px;

  border: 1px solid rgba(255,255,255,0.1);

  z-index: 2;

  pointer-events: none;

}



.company-visual__text {

  position: absolute;

  inset: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  z-index: 3;

}



.company-visual__label {

  font-family: var(--font-display);

  font-size: clamp(1.5rem, 4vw, 2.5rem);

  font-weight: 300;

  letter-spacing: 0.25em;

  color: rgba(255,255,255,0.7);

  writing-mode: vertical-rl;

}



.company-cta {

  margin-top: var(--space-xl);

  padding: var(--space-lg);

  background: var(--navy);

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: var(--space-md);

  flex-wrap: wrap;

}



.company-cta__text {

  font-size: var(--fs-sm);

  font-weight: 300;

  color: rgba(255,255,255,0.8);

  line-height: 1.8;

}

.company-cta__text strong {

  display: block;

  font-size: var(--fs-base);

  font-weight: 700;

  color: var(--white);

  margin-bottom: 0.25rem;

}



/* ============================================================

   SECTION: メインCTA

   ============================================================ */

.cta-section {

  background: var(--charcoal);

  text-align: center;

  position: relative;

  overflow: hidden;

}



.cta-section::before {

  content: '';

  position: absolute;

  inset: 0;

  background-image:

    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),

    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);

  background-size: 60px 60px;

}



.cta-inner {

  position: relative;

  z-index: 1;

}



.cta-section .section-heading {

  color: var(--white);

  margin-bottom: var(--space-md);

}

.cta-section .section-label { color: var(--gold); }



.cta-lead {

  font-size: var(--fs-base);

  font-weight: 300;

  line-height: 2;

  color: rgba(255,255,255,0.7);

  max-width: 580px;

  margin: 0 auto var(--space-xl);

}



.cta-options {

  display: grid;

  grid-template-columns: repeat(2, auto);

  gap: var(--space-md);

  justify-content: center;

}



.cta-box {

  background: rgba(255,255,255,0.06);

  border: 1px solid rgba(255,255,255,0.12);

  padding: var(--space-xl) var(--space-2xl);

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: var(--space-sm);

  transition: var(--transition);

}

.cta-box:hover { background: rgba(255,255,255,0.1); }



.cta-box__label {

  font-size: var(--fs-xs);

  letter-spacing: 0.2em;

  color: var(--gold);

  text-transform: uppercase;

}



.cta-box__tel {

  font-size: clamp(1.5rem, 4vw, 2.25rem);

  font-weight: 700;

  color: var(--white);

  letter-spacing: 0.05em;

  line-height: 1;

}



.cta-box__sub {

  font-size: var(--fs-xs);

  color: rgba(255,255,255,0.5);

  letter-spacing: 0.08em;

}



.cta-note {

  margin-top: var(--space-lg);

  font-size: var(--fs-xs);

  color: rgba(255,255,255,0.4);

  letter-spacing: 0.05em;

}



/* ============================================================

   FOOTER

   ============================================================ */

.site-footer {

  background: var(--black);

  padding-block: var(--space-2xl) var(--space-lg);

}



.footer-top {

  display: grid;

  grid-template-columns: 1.5fr repeat(3, 1fr);

  gap: var(--space-2xl);

  padding-bottom: var(--space-2xl);

  border-bottom: 1px solid rgba(255,255,255,0.08);

  margin-bottom: var(--space-lg);

}



.footer-brand__logo {

  font-size: 1.25rem;

  font-weight: 700;

  letter-spacing: 0.12em;

  color: var(--white);

  margin-bottom: var(--space-sm);

}



.footer-brand__en {

  font-family: var(--font-display);

  font-size: var(--fs-xs);

  letter-spacing: 0.3em;

  color: rgba(255,255,255,0.35);

  text-transform: uppercase;

  margin-bottom: var(--space-md);

  display: block;

}



.footer-brand__address {

  font-size: var(--fs-xs);

  font-weight: 300;

  line-height: 2;

  color: rgba(255,255,255,0.45);

}



.footer-brand__tel {

  font-size: 1.125rem;

  font-weight: 700;

  color: var(--white);

  margin-top: var(--space-sm);

  display: block;

  letter-spacing: 0.05em;

}



.footer-nav__title {

  font-size: var(--fs-xs);

  letter-spacing: 0.2em;

  color: var(--gold);

  text-transform: uppercase;

  margin-bottom: var(--space-md);

}



.footer-nav__links {

  display: flex;

  flex-direction: column;

  gap: 0.75rem;

}



.footer-nav__links a {

  font-size: var(--fs-xs);

  font-weight: 300;

  color: rgba(255,255,255,0.5);

  letter-spacing: 0.05em;

  transition: color var(--transition);

}

.footer-nav__links a:hover { color: var(--white); }



.footer-bottom {

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: var(--space-md);

  flex-wrap: wrap;

}



.footer-copyright {

  font-size: var(--fs-xs);

  font-weight: 300;

  color: rgba(255,255,255,0.3);

  letter-spacing: 0.08em;

}



.footer-legal {

  display: flex;

  gap: var(--space-md);

}

.footer-legal a {

  font-size: var(--fs-xs);

  color: rgba(255,255,255,0.3);

  transition: color var(--transition);

  letter-spacing: 0.05em;

}

.footer-legal a:hover { color: rgba(255,255,255,0.6); }



/* ============================================================

   FLOATING CTA (Mobile)

   ============================================================ */

.float-cta {

  position: fixed;

  bottom: 0;

  left: 0;

  right: 0;

  z-index: 900;

  display: none;

  background: var(--navy);

  border-top: 1px solid rgba(255,255,255,0.1);

  padding: 0.75rem var(--space-sm);

  gap: 0.5rem;

}



.float-cta__tel, .float-cta__form {

  flex: 1;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 0.5rem;

  padding: 0.875rem;

  font-size: var(--fs-xs);

  font-weight: 700;

  letter-spacing: 0.08em;

  text-align: center;

  transition: var(--transition);

}



.float-cta__tel {

  background: var(--charcoal);

  color: var(--white);

  border: 1px solid rgba(255,255,255,0.15);

}

.float-cta__form {

  background: var(--gold);

  color: var(--white);

}



/* ============================================================

   BREADCRUMB

   ============================================================ */

.breadcrumb {

  background: var(--off-white);

  padding: var(--space-sm) 0;

  margin-top: var(--header-h);

}



.breadcrumb__list {

  display: flex;

  flex-wrap: wrap;

  gap: 0.5rem;

  align-items: center;

}



.breadcrumb__item {

  display: flex;

  align-items: center;

  gap: 0.5rem;

  font-size: var(--fs-xs);

  color: var(--mid-grey);

}

.breadcrumb__item::after {

  content: '/';

  color: var(--light-grey);

}

.breadcrumb__item:last-child::after { display: none; }

.breadcrumb__item a { color: var(--mid-grey); transition: color var(--transition); }

.breadcrumb__item a:hover { color: var(--navy); }

.breadcrumb__item:last-child { color: var(--charcoal); }



/* ============================================================

   PAGE HERO (Subpages)

   ============================================================ */

.page-hero {

  background: var(--navy);

  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem));

  padding-bottom: clamp(3rem, 8vw, 6rem);

  position: relative;

  overflow: hidden;

}



.page-hero::before {

  content: '';

  position: absolute;

  inset: 0;

  background-image:

    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),

    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);

  background-size: 60px 60px;

}



.page-hero__label {

  font-family: var(--font-body);

  font-size: var(--fs-xs);

  letter-spacing: 0.3em;

  color: var(--gold);

  text-transform: uppercase;

  margin-bottom: var(--space-sm);

  position: relative;

  z-index: 1;

}



.page-hero__heading {

  font-family: var(--font-display);

  font-size: clamp(var(--fs-2xl), 5vw, var(--fs-4xl));

  font-weight: 300;

  letter-spacing: 0.03em;

  color: var(--white);

  line-height: 1.2;

  margin-bottom: var(--space-md);

  position: relative;

  z-index: 1;

}



.page-hero__text {

  font-size: clamp(var(--fs-sm), 1.5vw, var(--fs-base));

  font-weight: 300;

  line-height: 2;

  color: rgba(255,255,255,0.65);

  max-width: 620px;

  position: relative;

  z-index: 1;

}



/* ============================================================

   SCROLL ANIMATIONS

   ============================================================ */

.fade-up {

  opacity: 0;

  transform: translateY(36px);

  transition: opacity 0.7s ease, transform 0.7s ease;

}

.fade-up.is-visible {

  opacity: 1;

  transform: translateY(0);

}



.fade-in {

  opacity: 0;

  transition: opacity 0.8s ease;

}

.fade-in.is-visible { opacity: 1; }



/* Stagger delays */

.stagger-1 { transition-delay: 0.1s; }

.stagger-2 { transition-delay: 0.2s; }

.stagger-3 { transition-delay: 0.3s; }

.stagger-4 { transition-delay: 0.4s; }

.stagger-5 { transition-delay: 0.5s; }

.stagger-6 { transition-delay: 0.6s; }



/* ============================================================

   RESPONSIVE

   ============================================================ */

@media (max-width: 1024px) {

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

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

  .industries-grid { grid-template-columns: repeat(3, 1fr); }

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

  .area-inner { grid-template-columns: 1fr; }

  .area-map-block { display: none; }

  .faq-inner { grid-template-columns: 1fr; }

  .faq-intro { position: static; }

  .company-inner { grid-template-columns: 1fr; }

  .company-visual { display: none; }

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

  .pain-intro { grid-column: 1; }

  .pain-list { grid-column: 1; }

}



@media (max-width: 768px) {

  :root { --header-h: 64px; }



  .header-nav { display: none; }

  .header-tel { display: none; }

  .header-contact-btn { display: none; }

  .nav-toggle { display: flex; }



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

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

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

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

  .works-grid .work-card:nth-child(n+4) { display: none; }

  .footer-top { grid-template-columns: 1fr; gap: var(--space-xl); }

  .cta-options { grid-template-columns: 1fr; }

  .float-cta { display: flex; }



  .process-steps::before { left: 22px; }

  .process-step { grid-template-columns: 46px 1fr; }

  .process-step__num { width: 46px; height: 46px; font-size: 1rem; }



  .hero-scroll { display: none; }

}



@media (max-width: 480px) {

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

  .hero-slide__actions { flex-direction: column; }

  .hero-slide__actions .btn { width: 100%; justify-content: center; }

  body { padding-bottom: 70px; }

}







/* ===== WordPress dynamic sections / News / Contact ===== */

.news-section{position:relative;background:#f7f4ed;overflow:hidden}.news-section:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(184,153,106,.10),transparent 45%),radial-gradient(circle at 85% 15%,rgba(20,24,32,.08),transparent 30%);pointer-events:none}.news-head{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-bottom:2.5rem;position:relative}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem;position:relative}.news-card{display:flex;flex-direction:column;min-height:220px;padding:1.5rem;border:1px solid rgba(20,24,32,.08);background:rgba(255,255,255,.78);backdrop-filter:blur(14px);border-radius:22px;text-decoration:none;color:inherit;box-shadow:0 18px 45px rgba(20,24,32,.08);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.news-card:hover{transform:translateY(-6px);box-shadow:0 24px 65px rgba(20,24,32,.13);border-color:rgba(184,153,106,.35)}.news-card__meta{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:#b8996a;margin-bottom:.9rem}.news-card__title{font-family:var(--font-serif);font-size:1.2rem;line-height:1.65;margin:0 0 .75rem;color:#151515}.news-card__excerpt{font-size:.92rem;line-height:1.9;color:#555;margin:0 auto 1.2rem 0}.news-card__more{margin-top:auto;font-size:.82rem;color:#8d6f41;letter-spacing:.08em;font-weight:700}.news-empty{padding:2rem;border:1px dashed rgba(184,153,106,.45);border-radius:20px;background:rgba(255,255,255,.65);color:#555}.news-archive{background:#f7f4ed}.news-archive-list{display:grid;gap:1rem}.news-archive-item{display:grid;grid-template-columns:170px 1fr;gap:1.5rem;padding:1.5rem;background:#fff;border-radius:22px;border:1px solid rgba(20,24,32,.08);box-shadow:0 16px 40px rgba(20,24,32,.06);text-decoration:none;color:inherit}.news-archive-date{font-size:.84rem;color:#9b7b4c;letter-spacing:.08em}.news-archive-title{font-family:var(--font-serif);font-size:1.35rem;margin:0 0 .5rem}.news-archive-excerpt{color:#555;line-height:1.9;margin:0}.wp-pagination{display:flex;justify-content:center;gap:.5rem;margin-top:2.5rem}.wp-pagination .page-numbers{display:grid;place-items:center;min-width:42px;height:42px;border-radius:999px;background:#fff;border:1px solid rgba(20,24,32,.09);text-decoration:none;color:#151515}.wp-pagination .current{background:#151515;color:#fff}.single-article{max-width:900px;margin:auto;background:#fff;border-radius:28px;padding:clamp(2rem,5vw,4rem);box-shadow:0 20px 60px rgba(20,24,32,.08)}.single-article h1{font-family:var(--font-serif);font-size:clamp(2rem,4vw,3.2rem);line-height:1.35}.single-article__meta{color:#9b7b4c;letter-spacing:.08em;margin-bottom:2rem}.single-article__content{line-height:2;color:#333}.single-article__content h2{margin-top:2.5rem}.contact-panel{display:grid;grid-template-columns:1.1fr .9fr;gap:2rem;align-items:stretch}.contact-card{background:#fff;border-radius:28px;padding:clamp(1.6rem,4vw,3rem);box-shadow:0 18px 55px rgba(20,24,32,.08);border:1px solid rgba(20,24,32,.08)}.contact-card h2{font-family:var(--font-serif);font-size:clamp(1.8rem,3vw,2.6rem);margin:0 0 1rem}.contact-info-list{display:grid;gap:1rem;margin-top:1.8rem}.contact-info-list div{padding:1rem;border-radius:18px;background:#f7f4ed}.contact-form-placeholder{border:1px dashed rgba(184,153,106,.55);background:#fbfaf7;border-radius:22px;padding:1.25rem;line-height:1.9;color:#555}.theme-page-content{max-width:960px;margin:0 auto;background:#fff;border-radius:24px;padding:clamp(1.5rem,4vw,3rem);box-shadow:0 18px 55px rgba(20,24,32,.07)}.alignwide{max-width:1180px}.screen-reader-text{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}@media(max-width:960px){.news-head{display:block}.news-grid{grid-template-columns:1fr}.news-archive-item{grid-template-columns:1fr}.contact-panel{grid-template-columns:1fr}}





/* ============================================================

   v1.1 Updates: original logo + built-in inquiry forms

   ============================================================ */

.header-logo{align-items:center;flex-direction:row;gap:.72rem;min-width:max-content}.header-logo__mark{width:44px;height:44px;border-radius:999px;object-fit:contain;box-shadow:0 8px 22px rgba(0,0,0,.24);background:#d80b79}.header-logo__text{display:flex;flex-direction:column;gap:2px}.footer-brand__logoWrap{display:flex;align-items:center;gap:.9rem;margin-bottom:var(--space-sm)}.footer-brand__mark{width:52px;height:52px;border-radius:999px;object-fit:contain;box-shadow:0 12px 26px rgba(0,0,0,.35);background:#d80b79}.footer-brand__logoWrap .footer-brand__logo{margin-bottom:.15rem}.footer-brand__logoWrap .footer-brand__en{margin-bottom:0}.contact-panel--form{grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);align-items:start}.contact-card--form{padding:clamp(1.4rem,3.2vw,2.4rem)}.ichidai-form-wrap{width:100%}.ichidai-form{margin-top:1.3rem}.ichidai-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.1rem}.ichidai-form__field{display:flex;flex-direction:column;gap:.45rem}.ichidai-form__field--full{grid-column:1/-1}.ichidai-form label{font-size:.86rem;font-weight:700;letter-spacing:.04em;color:var(--charcoal)}.ichidai-form label span{display:inline-flex;margin-left:.35rem;padding:.08rem .45rem;border-radius:999px;background:rgba(184,153,106,.14);color:#9b7b4c;font-size:.68rem;line-height:1.5;vertical-align:middle}.ichidai-form input[type=text],.ichidai-form input[type=email],.ichidai-form input[type=tel],.ichidai-form select,.ichidai-form textarea{width:100%;border:1px solid rgba(20,24,32,.12);background:#fff;border-radius:14px;padding:.92rem 1rem;font:inherit;font-size:.95rem;line-height:1.6;color:var(--charcoal);transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}.ichidai-form textarea{resize:vertical;min-height:160px}.ichidai-form input:focus,.ichidai-form select:focus,.ichidai-form textarea:focus{outline:none;border-color:rgba(184,153,106,.72);box-shadow:0 0 0 4px rgba(184,153,106,.16);background:#fffdf9}.ichidai-form__privacy{display:flex!important;align-items:flex-start;gap:.65rem;margin-top:1.2rem;padding:1rem;border-radius:16px;background:#f7f4ed;color:#444;font-size:.9rem!important;font-weight:500!important}.ichidai-form__privacy input{margin-top:.42rem;accent-color:#b8996a}.ichidai-form__privacy a{text-decoration:underline;text-underline-offset:.18em}.ichidai-form__submit{margin-top:1.25rem;justify-content:center;width:100%;border-radius:999px}.ichidai-form-message{padding:1rem 1.1rem;border-radius:16px;margin:0 0 1rem;font-weight:700;line-height:1.7}.ichidai-form-message--success{background:rgba(24,128,83,.10);border:1px solid rgba(24,128,83,.24);color:#11643f}.ichidai-form-message--error{background:rgba(176,48,48,.09);border:1px solid rgba(176,48,48,.24);color:#8d2424}.ichidai-form__hp{position:absolute!important;left:-9999px!important;opacity:0!important;height:0!important;overflow:hidden!important}.mobile-nav .header-logo__mark{display:none}@media(max-width:1100px){.header-logo__mark{width:38px;height:38px}.header-logo__ja{font-size:1rem}.header-logo__en{font-size:.56rem;letter-spacing:.22em}}@media(max-width:960px){.contact-panel--form{grid-template-columns:1fr}.ichidai-form__grid{grid-template-columns:1fr}.header-logo__mark{width:40px;height:40px}.footer-brand__logoWrap{align-items:flex-start}}@media(max-width:480px){.header-logo{gap:.55rem}.header-logo__mark{width:34px;height:34px}.header-logo__ja{font-size:.95rem;letter-spacing:.08em}.header-logo__en{display:none}.ichidai-form input[type=text],.ichidai-form input[type=email],.ichidai-form input[type=tel],.ichidai-form select,.ichidai-form textarea{border-radius:12px;padding:.84rem .9rem}.ichidai-form__privacy{font-size:.84rem!important}.contact-card--form{padding:1.2rem}}





/* ============================================================

   v1.2.0 Quality Fixes

   - Header no-wrap layout with wider working area

   - Works filter visibility/text clipping fixes

   - About company/history content centering

   - Recruit contact page/base hero styling

   - Image orientation and object-fit safety

   ============================================================ */

:root{--max-width:1280px;}

.site-header{overflow:visible;}

.header-inner{

  max-width:1440px;

  padding-inline:clamp(.9rem,2.4vw,2rem);

  gap:clamp(.75rem,1.2vw,1.4rem);

}

.header-logo{flex:0 0 auto;min-width:0;white-space:nowrap;}

.header-logo__mark{width:38px!important;height:38px!important;flex:0 0 38px;}

.header-logo__ja{font-size:clamp(.94rem,1vw,1.08rem);letter-spacing:.08em;white-space:nowrap;}

.header-logo__en{font-size:.56rem;letter-spacing:.22em;white-space:nowrap;}

.header-nav{flex:1 1 auto;min-width:0;justify-content:center;gap:clamp(.58rem,1vw,1.05rem);}

.header-nav a{white-space:nowrap;font-size:clamp(.64rem,.72vw,.72rem);letter-spacing:.055em;}

.header-cta{flex:0 0 auto;gap:.65rem;}

.header-tel__num{font-size:clamp(.86rem,.95vw,1rem);white-space:nowrap;gap:.3rem;}

.header-tel__note{font-size:.56rem;white-space:nowrap;}

.header-contact-btn{white-space:nowrap;padding:.56rem .92rem;font-size:.68rem;letter-spacing:.08em;}



/* 施工事例：絞り込みとテキスト表示の安定化 */

.filter-bar{z-index:120;}

.filter-btn{border-radius:999px;white-space:nowrap;}

.works-grid{align-items:stretch;}

.work-card{min-width:0;}

.work-card__body{min-width:0;overflow:visible;}

.work-card__title,.work-card__desc,.work-card__meta,.work-tag{overflow-wrap:anywhere;word-break:normal;}

.work-card__desc{display:block;max-height:none;overflow:visible;-webkit-line-clamp:unset;line-clamp:unset;}

.work-card__meta{flex-wrap:wrap;row-gap:.25rem;}

.work-card.is-hidden{display:none!important;}



/* 会社案内：見出し位置は維持し、内容ブロックだけ中央へ */

.company-table-wrap{margin-inline:auto;}

.company-table{margin-inline:auto;}

.history-list{margin-inline:auto;}



/* 求人問い合わせページ：テンプレート単体でも崩れないように補完 */

.page-template-page-recruit-contact .page-hero,

.page-template-page-contact .page-hero{

  position:relative;

  margin-top:var(--header-h);

  min-height:clamp(360px,48vw,520px);

  display:flex;

  align-items:center;

  color:#fff;

  overflow:hidden;

}

.page-template-page-recruit-contact .page-hero__overlay,

.page-template-page-contact .page-hero__overlay{

  position:absolute;inset:0;

  background:linear-gradient(90deg,rgba(17,16,16,.72),rgba(25,34,64,.46) 55%,rgba(17,16,16,.2));

}

.page-template-page-recruit-contact .page-hero .container,

.page-template-page-contact .page-hero .container{position:relative;z-index:2;}

.page-template-page-recruit-contact .page-hero__content,

.page-template-page-contact .page-hero__content{max-width:720px;}

.page-template-page-recruit-contact .page-hero h1,

.page-template-page-contact .page-hero h1{

  font-family:var(--font-display);font-weight:300;

  font-size:clamp(2.3rem,5vw,4rem);line-height:1.18;margin:.2em 0 .28em;

}

.page-template-page-recruit-contact .page-hero p,

.page-template-page-contact .page-hero p{font-size:clamp(1rem,1.4vw,1.15rem);line-height:2;color:rgba(255,255,255,.78);}



/* 画像：横倒れ・引き伸ばし対策 */

img{image-orientation:from-image;}

.hero-slide__bg,

.page-hero::before,

.work-card__img img,

.philosophy-img img,

.message-img img,

.env-mosaic__main img,

.env-mosaic__sub img{background-position:center center;object-position:center center;}



@media(max-width:1280px){

  .header-tel__note{display:none;}

  .header-nav{gap:.68rem;}

}

@media(max-width:1160px){

  .header-nav,.header-cta{display:none;}

  .nav-toggle{display:flex;}

  :root{--header-h:72px;}

}

@media(max-width:960px){

  :root{--header-h:64px;}

  .work-card__title{font-size:.95rem;line-height:1.58;}

  .featured-work{grid-template-columns:1fr;}

  .featured-work .work-card__body{padding:1.5rem;}

}

@media(max-width:620px){

  .company-table,.company-table tbody,.company-table tr,.company-table th,.company-table td{display:block;width:100%;}

  .company-table th{padding:1rem 0 .25rem;}

  .company-table td{padding:.25rem 0 1rem;}

  .history-list{padding-left:1.5rem;}

  .history-item{grid-template-columns:1fr;gap:.25rem;padding-bottom:1.5rem;}

}



/* ============================================================

   v5 Recruit / Header / Top heading refinements

   ============================================================ */

.home .section-heading{

  font-size:clamp(1.85rem,3.05vw,3.15rem);

  line-height:1.28;

  letter-spacing:.015em;

}

.home .section-heading span{

  font-size:.46em;

  margin-bottom:.5em;

}

.header-inner{

  max-width:min(1560px,100%);

  padding-inline:clamp(.85rem,1.8vw,1.75rem);

  gap:clamp(.55rem,1vw,1.05rem);

}

.header-logo__mark{width:36px!important;height:36px!important;flex-basis:36px!important;}

.header-logo__ja{font-size:clamp(.9rem,.92vw,1.02rem);letter-spacing:.06em;}

.header-logo__en{font-size:.52rem;letter-spacing:.18em;}

.header-nav{gap:clamp(.42rem,.78vw,.82rem);}

.header-nav a{font-size:clamp(.62rem,.65vw,.7rem);letter-spacing:.035em;}

.header-contact-btn{padding:.52rem .78rem;font-size:.66rem;}

.header-tel__num{font-size:clamp(.82rem,.86vw,.95rem);}

@media(max-width:1380px){

  .header-cta{display:none;}

  .header-nav{justify-content:flex-end;}

}

@media(max-width:1180px){

  .header-nav,.header-cta{display:none!important;}

  .nav-toggle{display:flex!important;}

}

@media(max-width:768px){

  .home .section-heading{font-size:clamp(1.7rem,8vw,2.45rem);}

}





/* ============================================================

   v1.6.0 Top company section fix

   - Removed unnecessary right-side company visual panel

   - Re-centered company information content with a wider, cleaner layout

   ============================================================ */

.home .company-section .company-inner,

.front-page .company-section .company-inner,

.company-section .company-inner{

  grid-template-columns:minmax(0, 980px);

  justify-content:center;

  gap:0;

}

.company-section .company-visual{

  display:none!important;

}

.company-section .company-table{

  background:transparent;

}

.company-section .company-cta{

  max-width:980px;

}

@media(max-width:768px){

  .company-section .company-inner{

    grid-template-columns:1fr;

  }

  .company-section .company-cta{

    align-items:flex-start;

  }

}



/* ============================================================

   v1.7.0 Complete polish

   - Header menu decluttered

   - Recruit hero corrected from vertical split to wide visual

   - Top H2 scale refined

   - Emoji-like UI replaced by restrained numeric marks

   - Recruit / SEO visual polish

   ============================================================ */

.home .section-heading{

  font-size:clamp(1.78rem,2.85vw,2.85rem);

  line-height:1.30;

}

.home .section-heading span{font-size:.44em;}

.hero-slide__heading{

  font-size:clamp(2.05rem,5.2vw,4.35rem);

  line-height:1.08;

}

.pain-item__icon,

.service-card__icon,

.industry-card__icon,

.target-card__icon,

.svc-card__icon{

  font-family:var(--font-display);

  color:var(--gold);

  letter-spacing:.08em;

  font-size:clamp(1.05rem,1.6vw,1.55rem);

  line-height:1;

}

.pain-item__icon{

  display:inline-grid;

  place-items:center;

  min-width:2.4rem;

  height:2.4rem;

  border:1px solid rgba(184,153,106,.34);

  border-radius:999px;

  background:rgba(184,153,106,.06);

}

.float-cta a::before{content:none!important;}

.mobile-nav__tel{letter-spacing:.04em;}



.page-template-page-recruit .recruit-hero{

  min-height:clamp(430px,58vh,620px)!important;

}

.page-template-page-recruit .breadcrumb{border-bottom:1px solid rgba(25,34,64,.06);}

.recruit-site-gallery{

  padding:clamp(3rem,6vw,5.5rem) 0 0;

  background:var(--off-white);

}

.recruit-site-gallery__grid{

  display:grid;

  grid-template-columns:1.25fr .9fr .9fr;

  gap:clamp(.8rem,1.5vw,1.25rem);

}

.recruit-site-gallery__grid figure{

  overflow:hidden;

  background:var(--stone);

  min-height:220px;

  box-shadow:0 18px 52px rgba(25,34,64,.08);

}

.recruit-site-gallery__grid img{

  width:100%;

  height:100%;

  aspect-ratio:16/10;

  object-fit:cover;

  transition:transform .7s ease;

}

.recruit-site-gallery__grid figure:first-child img{aspect-ratio:16/8.8;}

.recruit-site-gallery__grid figure:hover img{transform:scale(1.035);}

.page-template-page-recruit .recruit-form-section{padding-top:clamp(3rem,6vw,5.5rem);}

.page-template-page-recruit .recruit-form-panel{border-radius:2px;}

.page-template-page-recruit .section-title{letter-spacing:.01em;}

.page-template-page-recruit .section-lead{font-size:clamp(.96rem,1.2vw,1.08rem);}

.page-template-page-recruit .work-content-card,

.page-template-page-recruit .strength-card{

  box-shadow:0 18px 50px rgba(25,34,64,.055);

}

.page-template-page-recruit .req-table th,

.page-template-page-recruit .req-table td{padding-top:1.15rem;padding-bottom:1.15rem;}

.page-template-page-recruit .appeal-card{box-shadow:0 24px 70px rgba(25,34,64,.16);}



@media(max-width:1024px){

  .page-template-page-recruit .recruit-hero{

    min-height:clamp(420px,62vh,560px)!important;

    align-items:flex-end;

  }

  .page-template-page-recruit .recruit-hero__content{

    width:calc(100% - 2rem);

    margin:0 1rem 1.4rem!important;

    max-width:none;

  }

  .recruit-site-gallery__grid{grid-template-columns:1fr;}

  .recruit-site-gallery__grid img,

  .recruit-site-gallery__grid figure:first-child img{aspect-ratio:16/10;}

}

@media(max-width:640px){

  .page-template-page-recruit .recruit-hero{min-height:520px!important;}

  .page-template-page-recruit .recruit-hero__visual img{object-position:48% 50%;}

  .page-template-page-recruit .recruit-hero__content{padding:1.25rem 1.1rem;}

  .page-template-page-recruit .recruit-hero__title{font-size:clamp(2rem,10vw,2.85rem);}

  .page-template-page-recruit .recruit-badge{font-size:.68rem;padding:.3rem .62rem;}

  .home .section-heading{font-size:clamp(1.62rem,7vw,2.22rem);}

  .hero-slide__heading{font-size:clamp(2rem,10vw,3.15rem);}

}





/* ============================================================

   v1.9.0 CSR Section

   - Added CSR block to top page based on current official site structure

   - Wide emotional image + clean editorial card layout

   ============================================================ */

.csr-section{

  position:relative;

  background:var(--off-white);

  overflow:hidden;

  padding-bottom:clamp(4rem,8vw,7rem);

}

.csr-visual{

  position:relative;

  width:100%;

  height:clamp(260px,34vw,520px);

  overflow:hidden;

  background:var(--stone);

}

.csr-visual::after{

  content:'';

  position:absolute;

  inset:0;

  background:linear-gradient(90deg,rgba(255,255,255,.72) 0%,rgba(255,255,255,.2) 42%,rgba(255,255,255,.04) 100%);

  pointer-events:none;

}

.csr-visual img{

  display:block;

  width:100%;

  height:100%;

  object-fit:cover;

  object-position:center;

  filter:saturate(1.03) contrast(.98);

}

.csr-container{

  position:relative;

  margin-top:clamp(-4.8rem,-6vw,-2.4rem);

  z-index:2;

}

.csr-card{

  width:min(720px,100%);

  background:rgba(255,255,255,.94);

  border:1px solid rgba(184,153,106,.24);

  box-shadow:0 28px 80px rgba(25,34,64,.10);

  padding:clamp(2rem,4vw,3.25rem);

  backdrop-filter:blur(10px);

}

.csr-card .section-heading{

  margin-bottom:var(--space-sm);

}

.csr-subtitle{

  margin:0 0 var(--space-md);

  font-size:clamp(1.05rem,1.6vw,1.35rem);

  line-height:1.7;

  color:var(--navy);

  font-weight:500;

  letter-spacing:.04em;

}

.csr-card .section-lead{

  max-width:620px;

  margin:0;

}

@media(max-width:768px){

  .csr-section{padding-bottom:clamp(3rem,10vw,4.5rem);}

  .csr-visual{height:clamp(220px,58vw,360px);}

  .csr-visual::after{background:linear-gradient(180deg,rgba(255,255,255,.06) 0%,rgba(255,255,255,.78) 100%);}

  .csr-container{margin-top:-2.2rem;}

  .csr-card{padding:1.65rem 1.3rem;box-shadow:0 18px 46px rgba(25,34,64,.10);}

  .pc-only{display:none!important;}

}





/* ============================================================

   v2.0.0 Top visual / CSR premium refinement

   - CSR card is placed inside the image on PC to remove bottom whitespace

   - CSR image anchors from the right edge on all devices

   - Added editorial construction photo block to make the top page more visual

   - Replaced emoji-like marks with refined numeric labels

   ============================================================ */

.home-visual-section{

  position:relative;

  padding:clamp(4rem,8vw,7rem) 0;

  background:linear-gradient(180deg,#fff 0%,var(--off-white) 100%);

  overflow:hidden;

}

.home-visual-section::before{

  content:'';

  position:absolute;

  inset:8% auto auto -8%;

  width:34vw;

  height:34vw;

  border-radius:999px;

  background:radial-gradient(circle,rgba(184,153,106,.12),rgba(184,153,106,0) 62%);

  pointer-events:none;

}

.home-visual-head{

  display:grid;

  grid-template-columns:minmax(260px,.72fr) 1fr;

  gap:clamp(1.5rem,4vw,5rem);

  align-items:end;

  margin-bottom:clamp(2rem,4vw,3.5rem);

}

.home-visual-head .section-heading,

.home-visual-head .section-lead{margin-bottom:0;}

.home-visual-grid{

  display:grid;

  grid-template-columns:1.08fr .92fr .92fr;

  gap:clamp(.8rem,1.6vw,1.4rem);

  align-items:stretch;

}

.home-visual-card{

  position:relative;

  min-height:clamp(300px,31vw,470px);

  overflow:hidden;

  background:var(--stone);

  box-shadow:0 24px 70px rgba(25,34,64,.10);

}

.home-visual-card--large{min-height:clamp(360px,37vw,560px);}

.home-visual-card img{

  width:100%;

  height:100%;

  object-fit:cover;

  object-position:center;

  transform:scale(1.01);

  transition:transform .8s cubic-bezier(.22,.61,.36,1),filter .8s cubic-bezier(.22,.61,.36,1);

}

.home-visual-card:hover img{transform:scale(1.055);filter:saturate(1.04) contrast(1.02);}

.home-visual-card::after{

  content:'';

  position:absolute;

  inset:0;

  background:linear-gradient(180deg,rgba(17,16,16,0) 42%,rgba(17,16,16,.48) 100%);

  pointer-events:none;

}

.home-visual-card figcaption{

  position:absolute;

  left:clamp(1rem,2vw,1.6rem);

  bottom:clamp(1rem,2vw,1.45rem);

  z-index:2;

  color:#fff;

  font-family:var(--font-display);

  font-size:clamp(1rem,1.45vw,1.35rem);

  letter-spacing:.12em;

}

.service-card__icon-wrap{

  background:transparent!important;

  border:1px solid rgba(184,153,106,.30)!important;

}

.service-card__icon,

.industry-card__icon{

  font-family:var(--font-display)!important;

  font-size:clamp(1.05rem,1.5vw,1.35rem)!important;

  color:var(--gold)!important;

  letter-spacing:.12em!important;

}

.csr-section{

  min-height:clamp(430px,38vw,620px);

  display:flex;

  align-items:center;

  padding:clamp(3rem,5vw,5rem) 0;

  background:var(--off-white);

}

.csr-visual{

  position:absolute;

  inset:0;

  height:100%;

}

.csr-visual::after{

  background:linear-gradient(90deg,rgba(255,255,255,.58) 0%,rgba(255,255,255,.30) 34%,rgba(255,255,255,.03) 78%);

}

.csr-visual img{

  object-position:right center;

}

.csr-container{

  position:relative;

  z-index:2;

  margin-top:0;

}

.csr-card{

  width:min(650px,52vw);

  margin-left:clamp(1rem,4vw,5rem);

  background:rgba(255,255,255,.92);

  box-shadow:0 30px 90px rgba(25,34,64,.15);

}

@media(max-width:1100px){

  .home-visual-head{grid-template-columns:1fr;gap:1rem;}

  .home-visual-grid{grid-template-columns:1fr 1fr;}

  .home-visual-card--large{grid-column:1 / -1;min-height:clamp(320px,52vw,480px);}

  .csr-card{width:min(620px,64vw);margin-left:0;}

}

@media(max-width:768px){

  .home-visual-section{padding:clamp(3rem,10vw,4.8rem) 0;}

  .home-visual-grid{grid-template-columns:1fr;}

  .home-visual-card,.home-visual-card--large{min-height:clamp(250px,68vw,380px);}

  .csr-section{

    display:block;

    min-height:0;

    padding:0 0 clamp(3rem,10vw,4.5rem);

    background:var(--off-white);

  }

  .csr-visual{

    position:relative;

    height:clamp(220px,58vw,360px);

  }

  .csr-visual::after{background:linear-gradient(180deg,rgba(255,255,255,.03) 0%,rgba(255,255,255,.78) 100%);}

  .csr-visual img{object-position:right center;}

  .csr-container{margin-top:-2.2rem;}

  .csr-card{

    width:100%;

    margin-left:0;

    padding:1.65rem 1.3rem;

    box-shadow:0 18px 46px rgba(25,34,64,.10);

  }

}

@media(max-width:480px){

  .home-visual-card figcaption{font-size:.95rem;letter-spacing:.1em;}

}





/* ============================================================

   v2.2.0 Mobile design refinement / Works, Web, Contact

   - Works page mobile card/image balance fixed

   - Web service mobile hero top whitespace reduced

   - Contact headings refined with Mincho style

   - Global mobile headings made slightly smaller and calmer

   ============================================================ */



/* お問い合わせページ：見出しを明朝体で少し小さめに調整 */

.page-template-page-contact .page-hero h1,

.page-template-page-contact .contact-card h2,

.page-template-page-contact .contact-card--form h2{

  font-family:'Noto Serif JP','Yu Mincho','YuMincho','Hiragino Mincho ProN','Times New Roman',serif!important;

  font-weight:300!important;

  letter-spacing:.04em;

}

.page-template-page-contact .page-hero h1{

  font-size:clamp(2rem,4.2vw,3.25rem)!important;

  line-height:1.28!important;

}

.page-template-page-contact .contact-card h2,

.page-template-page-contact .contact-card--form h2{

  font-size:clamp(1.35rem,2.2vw,2rem)!important;

  line-height:1.55!important;

  color:var(--charcoal);

}



/* 施工事例ページ：共通work-cardとの干渉を解除して画像と本文を安定表示 */

.page-template-page-works .work-card{

  aspect-ratio:auto!important;

  cursor:default;

}

.page-template-page-works .work-card__img{

  width:100%;

  height:auto;

  aspect-ratio:4/3;

  min-height:0;

  position:relative;

  background:var(--stone);

}

.page-template-page-works .work-card__img img{

  position:absolute;

  inset:0;

  width:100%;

  height:100%;

  object-fit:cover;

  object-position:center center;

}

.page-template-page-works .featured-work .work-card__img{

  aspect-ratio:16/10;

}

.page-template-page-works .work-card__body{

  background:var(--white);

}

.page-template-page-works .work-card__title{

  color:var(--navy);

}



@media(max-width:1024px){

  .page-template-page-works .page-hero{

    padding-top:clamp(5.5rem,14vw,7rem)!important;

    padding-bottom:clamp(2.6rem,8vw,4rem)!important;

  }

  .page-template-page-works .featured-work{

    display:grid!important;

    grid-template-columns:1fr!important;

    gap:0!important;

    margin-bottom:1rem!important;

  }

  .page-template-page-works .works-grid{

    gap:1rem!important;

  }

}



@media(max-width:768px){

  /* 全体：スマホ見出しを少し小さく、余白も締める */

  .section-padding{

    padding-block:clamp(3rem,10vw,4.6rem)!important;

  }

  .section-label{

    font-size:.68rem!important;

    letter-spacing:.22em!important;

    margin-bottom:.7rem!important;

  }

  .section-heading,

  .home .section-heading,

  .section-title,

  .home-visual-head .section-heading{

    font-size:clamp(1.48rem,6.2vw,2.05rem)!important;

    line-height:1.36!important;

    letter-spacing:.015em!important;

  }

  .section-heading span{

    font-size:.46em!important;

  }

  .page-hero__title,

  .page-hero__heading,

  .page-hero h1,

  .cta-title,

  .web-cta__title,

  .home .cta-title{

    font-size:clamp(1.85rem,7vw,2.45rem)!important;

    line-height:1.28!important;

  }

  .section-lead,

  .page-hero__text,

  .page-hero p,

  .web-hero__sub{

    font-size:.95rem!important;

    line-height:1.9!important;

  }



  /* 施工事例スマホ：画像が大きくなりすぎないよう横長カード化 */

  .page-template-page-works .filter-bar{

    position:relative!important;

    top:auto!important;

    padding:.95rem 0!important;

    overflow:hidden;

  }

  .page-template-page-works .filter-inner{

    flex-wrap:nowrap!important;

    overflow-x:auto;

    gap:.5rem!important;

    padding-bottom:.15rem;

    -webkit-overflow-scrolling:touch;

    scrollbar-width:none;

  }

  .page-template-page-works .filter-inner::-webkit-scrollbar{display:none;}

  .page-template-page-works .filter-label{

    flex:0 0 auto;

  }

  .page-template-page-works .filter-btn{

    flex:0 0 auto;

    padding:.48rem .9rem!important;

    font-size:.7rem!important;

  }

  .page-template-page-works .works-section{

    padding:clamp(1.6rem,7vw,2.6rem) 0 clamp(3rem,10vw,4.2rem)!important;

  }

  .page-template-page-works .works-grid{

    grid-template-columns:1fr!important;

    gap:1rem!important;

  }

  .page-template-page-works .works-grid .work-card:nth-child(n+4){

    display:block!important;

  }

  .page-template-page-works .work-card.is-hidden{

    display:none!important;

  }

  .page-template-page-works .work-card{

    overflow:hidden!important;

    border:1px solid rgba(25,34,64,.08);

    box-shadow:0 14px 36px rgba(25,34,64,.07);

    background:#fff!important;

  }

  .page-template-page-works .work-card__img,

  .page-template-page-works .featured-work .work-card__img{

    aspect-ratio:16/10!important;

    max-height:260px;

  }

  .page-template-page-works .work-card__body,

  .page-template-page-works .featured-work .work-card__body{

    padding:1rem 1rem 1.1rem!important;

  }

  .page-template-page-works .featured-work .work-card__desc{

    font-size:.86rem!important;

    line-height:1.78!important;

  }

  .page-template-page-works .work-card__title{

    font-size:.95rem!important;

    line-height:1.55!important;

    margin-bottom:.35rem!important;

  }

  .page-template-page-works .work-card__meta{

    font-size:.72rem!important;

    gap:.65rem!important;

    line-height:1.6!important;

  }

  .page-template-page-works .work-tag{

    font-size:.62rem!important;

    padding:.14rem .48rem!important;

  }

  .page-template-page-works .page-hero__stats{

    margin-top:1.5rem!important;

    gap:1rem 1.5rem!important;

  }

  .page-template-page-works .hero-stat__num{

    font-size:2rem!important;

  }



  /* Web制作スマホHERO：トップ余白を詰めてファーストビューを改善 */

  .page-template-page-web-service .web-hero{

    min-height:auto!important;

    align-items:flex-start!important;

  }

  .page-template-page-web-service .web-hero .container{

    padding-top:clamp(1.25rem,5vw,2rem)!important;

    padding-bottom:clamp(2.6rem,9vw,4rem)!important;

    gap:1rem!important;

  }

  .page-template-page-web-service .web-hero__label{

    margin-bottom:.85rem!important;

  }

  .page-template-page-web-service .web-hero__title{

    font-size:clamp(1.9rem,8vw,2.55rem)!important;

    line-height:1.22!important;

    margin-bottom:1rem!important;

  }

  .page-template-page-web-service .web-hero__sub{

    margin-bottom:1.35rem!important;

  }

  .page-template-page-web-service .web-hero__features{

    gap:.48rem!important;

  }

  .page-template-page-web-service .web-hero__feature{

    font-size:.84rem!important;

    line-height:1.65!important;

    align-items:flex-start!important;

  }



  /* Contactスマホ：明朝見出しを大きくしすぎない */

  .page-template-page-contact .page-hero{

    min-height:clamp(300px,72vw,390px)!important;

  }

  .page-template-page-contact .page-hero h1{

    font-size:clamp(1.9rem,7.5vw,2.45rem)!important;

  }

  .page-template-page-contact .contact-card h2,

  .page-template-page-contact .contact-card--form h2{

    font-size:clamp(1.28rem,5.4vw,1.72rem)!important;

  }

  .page-template-page-contact .contact-card{

    border-radius:18px!important;

    padding:1.35rem!important;

  }

}



@media(max-width:480px){

  .section-heading,

  .home .section-heading,

  .section-title{

    font-size:clamp(1.42rem,7vw,1.92rem)!important;

  }

  .page-hero__title,

  .page-hero__heading,

  .page-hero h1{

    font-size:clamp(1.72rem,8vw,2.2rem)!important;

  }

  .page-template-page-works .container{

    padding-inline:1rem!important;

  }

  .page-template-page-works .work-card__img,

  .page-template-page-works .featured-work .work-card__img{

    aspect-ratio:16/11!important;

    max-height:220px;

  }

  .page-template-page-web-service .web-hero .container{

    padding-top:1rem!important;

  }

}





/* ============================================================

   v2.4.0 Form confirmation / thanks page / mobile visual polish

   - Contact and recruit forms now show confirmation before sending

   - Mail success redirects to a dedicated thanks page

   - Smartphone hero H2 sizes are restrained

   - Top visual images increased and optimized for smartphone

   ============================================================ */

.ichidai-confirm{

  background:#fff;

  border:1px solid rgba(25,34,64,.08);

  border-radius:24px;

  padding:clamp(1.4rem,3.2vw,2.4rem);

  box-shadow:0 20px 60px rgba(25,34,64,.08);

}

.ichidai-confirm__step{

  color:var(--gold);

  font-size:.78rem;

  letter-spacing:.18em;

  text-transform:uppercase;

  margin:0 0 .45rem;

  font-weight:700;

}

.ichidai-confirm__title{

  font-family:'Noto Serif JP','Yu Mincho','YuMincho','Hiragino Mincho ProN',serif;

  font-weight:300;

  font-size:clamp(1.35rem,2.2vw,2rem);

  line-height:1.55;

  margin:0 0 .55rem;

  color:var(--charcoal);

}

.ichidai-confirm__lead{margin:0 0 1.4rem;color:#555;line-height:1.9;}

.ichidai-confirm-list{display:grid;border-top:1px solid rgba(25,34,64,.10);margin:0 0 1.4rem;}

.ichidai-confirm-list__row{display:grid;grid-template-columns:170px 1fr;gap:1rem;border-bottom:1px solid rgba(25,34,64,.10);padding:1rem 0;}

.ichidai-confirm-list dt{font-weight:700;color:var(--navy);font-size:.86rem;letter-spacing:.04em;}

.ichidai-confirm-list dd{margin:0;color:#333;line-height:1.85;word-break:break-word;}

.ichidai-confirm__actions{display:grid;grid-template-columns:1fr 1.25fr;gap:.85rem;align-items:center;}

.ichidai-confirm__actions form{margin:0;}

.ichidai-confirm__actions .btn{width:100%;justify-content:center;border-radius:999px;}

.thanks-section{background:#f7f4ed;}

.thanks-card{max-width:820px;margin:auto;background:#fff;border:1px solid rgba(25,34,64,.08);border-radius:30px;padding:clamp(1.8rem,5vw,4rem);box-shadow:0 24px 76px rgba(25,34,64,.09);text-align:center;}

.thanks-card__label{display:inline-block;color:var(--gold);font-family:var(--font-display);letter-spacing:.18em;text-transform:uppercase;margin-bottom:.7rem;}

.thanks-card h2{font-family:'Noto Serif JP','Yu Mincho','YuMincho','Hiragino Mincho ProN',serif;font-weight:300;font-size:clamp(1.45rem,2.6vw,2.35rem);line-height:1.55;margin:0 0 1rem;color:var(--charcoal);}

.thanks-card p{line-height:2;color:#444;margin:0 0 1rem;}

.thanks-card__note{font-size:.9rem;color:#666;background:#f7f4ed;border-radius:18px;padding:1rem 1.1rem;text-align:left;}

.thanks-card__actions{display:flex;gap:.8rem;justify-content:center;flex-wrap:wrap;margin-top:1.6rem;}

.home-visual-card--extra{min-height:clamp(240px,25vw,390px);}



@media(max-width:768px){

  .hero{min-height:520px;height:88svh;}

  .hero-slide__heading,

  .hero-slide-content.is-active .hero-slide__heading{

    font-size:clamp(1.48rem,7.2vw,2.18rem)!important;

    line-height:1.24!important;

    letter-spacing:.025em!important;

    margin-bottom:1rem!important;

  }

  .hero-slide__label{font-size:.66rem!important;letter-spacing:.22em!important;margin-bottom:.9rem!important;}

  .hero-slide__text{font-size:.88rem!important;line-height:1.85!important;margin-bottom:1.45rem!important;}

  .page-hero__title,

  .page-hero__heading,

  .page-hero h1,

  .page-template-page-recruit .recruit-hero__title,

  .page-template-page-web-service .web-hero__title{

    font-size:clamp(1.45rem,6.4vw,2.02rem)!important;

    line-height:1.30!important;

    letter-spacing:.025em!important;

  }

  .section-heading,

  .home .section-heading,

  .section-title,

  .contact-card h2,

  .contact-card--form h2{

    font-size:clamp(1.32rem,5.8vw,1.86rem)!important;

    line-height:1.42!important;

  }

  .home-visual-grid{

    grid-template-columns:repeat(2,minmax(0,1fr))!important;

    gap:.72rem!important;

  }

  .home-visual-card,

  .home-visual-card--large,

  .home-visual-card--extra{

    min-height:auto!important;

    aspect-ratio:4/3!important;

  }

  .home-visual-card--large{grid-column:1 / -1;aspect-ratio:16/10!important;}

  .home-visual-card figcaption{font-size:.78rem!important;letter-spacing:.08em!important;left:.8rem!important;bottom:.72rem!important;}

  .ichidai-confirm-list__row{grid-template-columns:1fr;gap:.35rem;padding:.9rem 0;}

  .ichidai-confirm__actions{grid-template-columns:1fr;}

  .thanks-card{text-align:left;border-radius:22px;padding:1.55rem 1.25rem;}

  .thanks-card__actions{display:grid;grid-template-columns:1fr;}

}

@media(max-width:480px){

  .hero-slide__heading,

  .hero-slide-content.is-active .hero-slide__heading{

    font-size:clamp(1.38rem,7.8vw,1.92rem)!important;

  }

  .page-hero__title,

  .page-hero__heading,

  .page-hero h1,

  .page-template-page-recruit .recruit-hero__title,

  .page-template-page-web-service .web-hero__title{

    font-size:clamp(1.34rem,7.2vw,1.82rem)!important;

  }

  .home-visual-grid{gap:.58rem!important;}

}



/* ============================================================

   v2.5.0 News single page refinement

   - News/post hero title made white Mincho and clearly visible

   - Single article title reduced for readability

   - Article card spacing and typography polished

   ============================================================ */

.single-post .page-hero,

.blog .page-hero,

.archive.category .page-hero{

  position:relative;

  min-height:clamp(280px,36vw,440px);

  display:flex;

  align-items:center;

  padding-top:calc(var(--header-h) + clamp(2.2rem,5vw,4.2rem));

  padding-bottom:clamp(2.4rem,5vw,4.6rem);

  color:#fff;

}

.single-post .page-hero__overlay,

.blog .page-hero__overlay,

.archive.category .page-hero__overlay{

  position:absolute;

  inset:0;

  background:linear-gradient(90deg,rgba(10,14,28,.72),rgba(10,14,28,.46) 52%,rgba(10,14,28,.22));

  z-index:1;

}

.single-post .page-hero::after,

.blog .page-hero::after,

.archive.category .page-hero::after{

  content:'';

  position:absolute;

  inset:0;

  background:linear-gradient(180deg,rgba(10,14,28,.18),rgba(10,14,28,.38));

  z-index:1;

  pointer-events:none;

}

.single-post .page-hero .container,

.blog .page-hero .container,

.archive.category .page-hero .container{

  position:relative;

  z-index:2;

}

.single-post .page-hero__content,

.blog .page-hero__content,

.archive.category .page-hero__content{

  max-width:900px;

}

.single-post .page-hero .section-label,

.blog .page-hero .section-label,

.archive.category .page-hero .section-label{

  color:var(--gold)!important;

  opacity:1!important;

  text-shadow:0 2px 14px rgba(0,0,0,.28);

}

.single-post .page-hero h1,

.blog .page-hero h1,

.archive.category .page-hero h1{

  font-family:'Noto Serif JP','Yu Mincho','YuMincho','Hiragino Mincho ProN',serif!important;

  font-weight:300!important;

  color:#fff!important;

  font-size:clamp(2rem,4vw,3.45rem)!important;

  line-height:1.25!important;

  letter-spacing:.06em!important;

  margin:.25rem 0 0!important;

  text-shadow:0 6px 26px rgba(0,0,0,.35);

}

.single-post .news-archive{

  padding-top:clamp(3rem,6vw,5rem)!important;

  padding-bottom:clamp(3.5rem,7vw,6rem)!important;

}

.single-post .single-article{

  max-width:840px;

  border-radius:24px;

  padding:clamp(1.8rem,4.2vw,3.3rem);

  box-shadow:0 22px 64px rgba(25,34,64,.08);

  border:1px solid rgba(25,34,64,.06);

}

.single-post .single-article__meta{

  display:inline-flex;

  align-items:center;

  gap:.65rem;

  margin-bottom:1.1rem;

  color:#9b7b4c;

  font-size:.88rem;

  line-height:1;

  letter-spacing:.08em;

}

.single-post .single-article__meta::after{

  content:'';

  display:block;

  width:42px;

  height:1px;

  background:rgba(155,123,76,.38);

}

.single-post .single-article > h1{

  font-family:'Noto Serif JP','Yu Mincho','YuMincho','Hiragino Mincho ProN',serif!important;

  font-weight:500!important;

  color:#1f1f1f;

  font-size:clamp(1.75rem,3vw,2.45rem)!important;

  line-height:1.52!important;

  letter-spacing:.02em;

  margin:0 0 1.25rem!important;

}

.single-post .single-article__content{

  max-width:720px;

  color:#30384a;

  font-size:clamp(.95rem,1.05vw,1.04rem);

  line-height:2.05;

  letter-spacing:.02em;

}

.single-post .single-article__content p{

  margin:0 0 .9rem;

}

.single-post .single-article__content h2{

  font-family:'Noto Serif JP','Yu Mincho','YuMincho','Hiragino Mincho ProN',serif;

  font-weight:500;

  font-size:clamp(1.35rem,2.2vw,1.85rem);

  line-height:1.55;

  margin:2.4rem 0 1rem;

  color:var(--navy);

}

.single-post .single-article__content a{

  color:#8d6f41;

  text-decoration-thickness:1px;

  text-underline-offset:.25em;

}



@media(max-width:768px){

  .single-post .page-hero{

    min-height:clamp(230px,58vw,320px);

    padding-top:calc(var(--header-h) + 1.4rem)!important;

    padding-bottom:2rem!important;

  }

  .single-post .page-hero h1,

  .blog .page-hero h1,

  .archive.category .page-hero h1{

    font-size:clamp(1.55rem,7vw,2.05rem)!important;

    line-height:1.35!important;

  }

  .single-post .news-archive{

    padding-top:2rem!important;

  }

  .single-post .single-article{

    border-radius:20px;

    padding:1.45rem 1.2rem 1.6rem!important;

  }

  .single-post .single-article > h1{

    font-size:clamp(1.38rem,6vw,1.82rem)!important;

    line-height:1.55!important;

    margin-bottom:1rem!important;

  }

  .single-post .single-article__content{

    font-size:.92rem;

    line-height:1.95;

  }

}



/* 新着一覧ページのHEROも投稿詳細と同じ白い明朝見出しに統一 */

.page-template-page-news .page-hero{

  position:relative;

  min-height:clamp(280px,36vw,440px);

  display:flex;

  align-items:center;

  color:#fff;

}

.page-template-page-news .page-hero__overlay{

  position:absolute;

  inset:0;

  background:linear-gradient(90deg,rgba(10,14,28,.72),rgba(10,14,28,.48) 52%,rgba(10,14,28,.22));

  z-index:1;

}

.page-template-page-news .page-hero .container{position:relative;z-index:2;}

.page-template-page-news .page-hero .section-label{color:var(--gold)!important;opacity:1!important;}

.page-template-page-news .page-hero h1{

  font-family:'Noto Serif JP','Yu Mincho','YuMincho','Hiragino Mincho ProN',serif!important;

  font-weight:300!important;

  color:#fff!important;

  font-size:clamp(2rem,4vw,3.45rem)!important;

  line-height:1.25!important;

  letter-spacing:.06em!important;

  text-shadow:0 6px 26px rgba(0,0,0,.35);

}

.page-template-page-news .page-hero p{color:rgba(255,255,255,.82)!important;}

.page-template-page-news .news-archive-title{

  font-size:clamp(1.18rem,2vw,1.55rem)!important;

  line-height:1.55!important;

}

@media(max-width:768px){

  .page-template-page-news .page-hero{

    min-height:clamp(230px,58vw,320px);

    padding-top:calc(var(--header-h) + 1.4rem)!important;

    padding-bottom:2rem!important;

  }

  .page-template-page-news .page-hero h1{

    font-size:clamp(1.55rem,7vw,2.05rem)!important;

    line-height:1.35!important;

  }

  .page-template-page-news .news-archive-title{

    font-size:clamp(1.08rem,5vw,1.35rem)!important;

  }

}

