/*
Theme Name: ALEGRIA
Theme URI: https://alegria-re.com
Author: 株式会社アレグリア
Description: ALEGRIA カスタムWordPressテーマ
Version: 1.0.0
Text Domain: alegria
*/

/* ─── RESET & BASE ─────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy:      #0f1923;
    --red:       #c41e3a;
    --red-dark:  #9b1530;
    --white:     #ffffff;
    --off-white: #f6f5f3;
    --light:     #f0eeeb;
    --gray:      #4d4d4d;
    --text:      #1e1e1e;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.75;
}

body.has-sticky-bar { padding-bottom: 80px; }

/* ─── HEADER ────────────────────────────────── */
header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    box-shadow: 0 1px 16px rgba(0,0,0,.08);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 48px; width: auto; display: block; }

nav { display: flex; align-items: center; gap: 1.75rem; }
nav a {
    color: var(--navy);
    text-decoration: none;
    font-size: .82rem;
    letter-spacing: .06em;
    transition: color .2s;
}
nav a:hover, nav a.active { color: var(--red); }

.nav-cta { background: var(--red) !important; color: var(--white) !important; padding: .45rem 1.2rem; }
.nav-cta:hover { background: var(--red-dark) !important; }

/* ─── HAMBURGER ─────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE NAV ────────────────────────────── */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--navy);
    padding: 1.5rem 2rem 2rem;
    flex-direction: column;
    z-index: 999;
    border-top: 1px solid rgba(255,255,255,.07);
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    padding: .85rem 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: .95rem;
}
.mobile-nav a:last-child { border-bottom: none; }

/* ─── BUTTONS ───────────────────────────────── */
.btn-primary {
    background: var(--red);
    color: var(--white);
    padding: .9rem 2.2rem;
    font-size: .875rem;
    letter-spacing: .06em;
    text-decoration: none;
    display: inline-block;
    transition: background .2s;
    font-family: 'Noto Sans JP', sans-serif;
}
.btn-primary:hover { background: var(--red-dark); }

.btn-outline {
    background: transparent;
    color: var(--text);
    padding: .9rem 2rem;
    border: 1px solid rgba(30,30,30,.35);
    font-size: .875rem;
    letter-spacing: .05em;
    text-decoration: none;
    display: inline-block;
    transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }

.btn-outline-light {
    background: transparent;
    color: var(--white);
    padding: .9rem 2rem;
    border: 1px solid rgba(255,255,255,.4);
    font-size: .875rem;
    letter-spacing: .05em;
    text-decoration: none;
    display: inline-block;
    transition: border-color .2s, background .2s;
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.btn-submit {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 1rem 3.5rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: .95rem;
    letter-spacing: .08em;
    cursor: pointer;
    transition: background .2s;
    display: inline-block;
}
.btn-submit:hover { background: var(--red-dark); }

.btn-detail {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--navy);
    color: var(--white);
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-decoration: none;
    padding: .75rem 1.75rem;
    transition: background .2s;
}
.btn-detail:hover { background: var(--red); }
.btn-detail::after { content: '›'; font-size: 1.1rem; }

.btn-apply {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--red);
    color: var(--white);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-decoration: none;
    padding: 1rem 2.5rem;
    transition: background .2s;
}
.btn-apply:hover { background: var(--red-dark); }
.btn-apply::after { content: '›'; font-size: 1.1rem; }

/* ─── PAGE HERO ─────────────────────────────── */
.page-hero {
    padding-top: 70px;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute; inset: 0;
    background: url('images/001-5.jpg') center/cover no-repeat;
    opacity: .12;
}
/* 施工管理職ページ用 */
.page-hero.hero-construction::after {
    background-image: url('images/採用TOP写真2.jpeg');
    opacity: .18;
}

.page-hero-inner {
    position: relative; z-index: 1;
    max-width: 1200px; margin: 0 auto; padding: 4rem 2rem;
}

.breadcrumb {
    font-size: .75rem; color: rgba(255,255,255,.45);
    letter-spacing: .05em; margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.45); text-decoration: none; }
.breadcrumb a:hover { color: rgba(255,255,255,.7); }
.breadcrumb span { margin: 0 .5rem; }

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 300; color: var(--white); letter-spacing: .05em;
}
.page-hero h1.tight { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: .04em; line-height: 1.4; }

.page-hero-en {
    font-size: .8rem; font-weight: 500; letter-spacing: .2em;
    color: var(--red); text-transform: uppercase;
    margin-top: .5rem; display: flex; align-items: center; gap: .75rem;
}
.page-hero-en::before { content: ''; width: 24px; height: 1px; background: var(--red); }

/* ─── SECTION COMMON ────────────────────────── */
.section-eyebrow {
    font-size: .78rem; font-weight: 500;
    letter-spacing: .2em; color: var(--red); text-transform: uppercase;
    display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem;
}
.section-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--red); }

.section-title {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 400; margin-bottom: 1.75rem;
}

/* ─── CTA SECTION ───────────────────────────── */
.cta-section, .cta-wrap {
    background: var(--navy);
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}
.cta-section::before, .cta-wrap::before {
    content: '';
    position: absolute; inset: 0;
    background: url('images/gallery_05.jpg') center/cover;
    opacity: .06;
}
.cta-section .inner,
.cta-section .container,
.cta-wrap .inner { position: relative; z-index: 1; }

.cta-section h2, .cta-wrap h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 300; color: var(--white); margin-bottom: 1rem;
}
.cta-section p, .cta-wrap p { color: rgba(255,255,255,.75); font-size: .9rem; margin-bottom: .5rem; font-weight: 400; }
.cta-tel a { font-size: 2.4rem; color: var(--white); text-decoration: none; letter-spacing: .04em; font-weight: 500; }
.cta-tel a:hover { color: rgba(255,255,255,.8); }
.cta-tel-label { font-size: .72rem; color: rgba(255,255,255,.4); letter-spacing: .1em; margin-bottom: .2rem; }
.cta-divider {
    display: flex; align-items: center; gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    color: rgba(255,255,255,.25);
    font-size: .75rem; letter-spacing: .1em;
}
.cta-divider::before, .cta-divider::after {
    content: ''; flex: 1; max-width: 80px;
    height: 1px; background: rgba(255,255,255,.15);
}
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ─── GROUP BANNER ──────────────────────────── */
.group-banner { background: var(--off-white); border-top: 3px solid var(--red); padding: 3.5rem 2rem; text-align: center; }
.group-banner-inner { max-width: 960px; margin: 0 auto; }
.group-banner-eyebrow {
    font-size: .7rem; letter-spacing: .2em; color: var(--red); text-transform: uppercase;
    margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; gap: .75rem;
}
.group-banner-eyebrow::before, .group-banner-eyebrow::after { content: ''; width: 24px; height: 1px; background: var(--red); }
.group-banner-name { font-size: 1.4rem; font-weight: 500; color: var(--navy); letter-spacing: .04em; margin-bottom: .6rem; }
.group-banner-desc { font-size: .88rem; color: var(--gray); line-height: 1.9; margin-bottom: 1.75rem; }
.group-banner-link {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--navy); color: var(--white);
    font-size: .85rem; font-weight: 500; letter-spacing: .06em;
    text-decoration: none; padding: .75rem 2rem; transition: background .2s;
}
.group-banner-link:hover { background: var(--red); }
.group-banner-link::after { content: '›'; font-size: 1rem; }

/* ─── FOOTER ────────────────────────────────── */
footer {
    background: #080f18;
    color: rgba(255,255,255,.3);
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: .72rem;
    letter-spacing: .1em;
}

/* ─── PAGE WRAPPER COMMON ───────────────────── */
.page-wrapper { max-width: 960px; margin: 0 auto; padding: 5rem 2rem 7rem; }

/* ═══════════════════════════════════════════════
   TOP PAGE
═══════════════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    background: var(--off-white);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: url('images/001-5.jpg') center center/cover no-repeat;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to right,
        rgba(246,245,243,1) 30%,
        rgba(246,245,243,0.88) 50%,
        rgba(246,245,243,0.2) 70%,
        rgba(246,245,243,0) 85%
    );
}
.hero-content {
    position: relative; z-index: 1;
    width: 100%;
    padding: 70px clamp(2rem, 5vw, 6rem) 0 clamp(2rem, 7vw, 9rem);
}
.hero-eyebrow {
    font-size: .78rem; font-weight: 500; letter-spacing: .2em;
    color: var(--red); margin-bottom: 1.75rem; text-transform: uppercase;
    display: flex; align-items: center; gap: 1rem;
}
.hero-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--red); }

.hero h1 {
    font-size: clamp(1.7rem, 4vw, 3rem);
    font-weight: 300; color: var(--text); line-height: 1.65;
    margin-bottom: 1.75rem; max-width: 620px;
}
.hero h1 em { font-style: normal; color: var(--red); font-weight: 500; }
.hero p { font-size: .95rem; color: #444; max-width: 440px; margin-bottom: 2.5rem; font-weight: 400; line-height: 1.9; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
    color: rgba(30,30,30,.35); font-size: .68rem; letter-spacing: .2em;
}
.scroll-line {
    width: 1px; height: 44px;
    background: linear-gradient(to bottom, rgba(30,30,30,.4), transparent);
    animation: scrollAnim 1.8s ease-in-out infinite;
}
@keyframes scrollAnim {
    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; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: .2; }
}

/* TOP section common */
.top-section { padding: 6.5rem 2rem; }
.top-container { max-width: 1200px; margin: 0 auto; }

.top-section-eyebrow {
    font-size: .78rem; font-weight: 500; letter-spacing: .2em;
    color: var(--red); text-transform: uppercase;
    display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem;
}
.top-section-eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--red); }
.top-section-title { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 400; line-height: 1.55; margin-bottom: .75rem; }
.top-section-desc { font-size: .93rem; color: var(--gray); font-weight: 400; line-height: 1.95; max-width: 540px; }

/* CONCEPT */
.concept { background: var(--white); }
.concept-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.concept-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2rem; margin-top: 2.5rem; }
.stat-item { border-left: 2px solid var(--red); padding-left: 1rem; }
.stat-num { font-size: 2.4rem; font-weight: 500; color: var(--text); line-height: 1; }
.stat-num small { font-size: .85rem; font-weight: 400; }
.stat-label { font-size: .72rem; color: var(--gray); margin-top: .2rem; letter-spacing: .05em; }
.concept-image-wrap { position: relative; }
.concept-image-wrap img { width: 100%; height: 480px; object-fit: cover; display: block; }
.concept-image-wrap::before {
    content: ''; position: absolute; top: -14px; right: -14px;
    width: 55%; height: 55%; border: 1px solid rgba(196,30,58,.25); pointer-events: none;
}
.concept-image-wrap::after {
    content: ''; position: absolute; bottom: -14px; left: -14px;
    width: 40%; height: 40%; border: 1px solid rgba(0,0,0,.08); pointer-events: none;
}

/* SERVICES */
.services { background: var(--off-white); }
.services-header { margin-bottom: 3rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
    background: var(--white); padding: 2.5rem 2rem 2rem;
    position: relative; overflow: hidden; transition: box-shadow .3s, transform .3s;
}
.service-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.08); transform: translateY(-4px); }
.service-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.service-card:hover::after { transform: scaleX(1); }
.service-num { font-size: 2.6rem; font-weight: 700; color: rgba(15,25,35,.15); line-height: 1; margin-bottom: .75rem; }
.service-card h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: .75rem; line-height: 1.5; }
.service-card p { font-size: .9rem; color: var(--gray); line-height: 1.85; font-weight: 400; }

/* GALLERY */
.gallery { background: var(--light); }
.gallery-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; }
.gallery-more {
    font-size: .82rem; color: var(--red); text-decoration: none;
    letter-spacing: .06em; display: flex; align-items: center; gap: .4rem;
}
.gallery-more::after { content: '→'; }
.gallery-more:hover { opacity: .7; }
.gallery-grid {
    display: grid; grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 250px); gap: 10px;
}
.g1 { grid-column: 1/6;  grid-row: 1; }
.g2 { grid-column: 6/9;  grid-row: 1; }
.g3 { grid-column: 9/13; grid-row: 1; }
.g4 { grid-column: 1/5;  grid-row: 2; }
.g5 { grid-column: 5/10; grid-row: 2; }
.g6 { grid-column: 10/13; grid-row: 2; }
.gallery-item { overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; display: block; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(15,25,35,0); transition: background .3s;
}
.gallery-item:hover::after { background: rgba(15,25,35,.15); }

/* ═══════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════ */
.about-main { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.about-main section { padding: 5rem 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.about-main section:last-child { border-bottom: none; }
.about-section-title { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 400; line-height: 1.5; margin-bottom: 1.5rem; }

.concept-lead { text-align: center; padding: 5rem 0 4rem; border-bottom: 1px solid rgba(0,0,0,.06); }
.concept-lead h2 { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 400; line-height: 1.8; margin-bottom: 2rem; }
.concept-lead h2 em { font-style: normal; color: var(--red); font-weight: 500; }
.concept-lead p { font-size: .95rem; color: var(--gray); line-height: 2; max-width: 680px; margin: 0 auto 1.25rem; }
.concept-trademark { font-size: .78rem; color: #aaa; margin-top: 2rem; line-height: 1.8; text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }
.concept-cta { margin-top: 2.5rem; }

.land-use-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-top: 2rem; }
.land-use-image img { width: 100%; height: 340px; object-fit: cover; display: block; }
.land-use-points { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.point-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.point-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--red); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 500; flex-shrink: 0; letter-spacing: .02em;
}
.point-body h4 { font-size: 1rem; font-weight: 500; margin-bottom: .4rem; }
.point-body p { font-size: .92rem; color: var(--gray); line-height: 1.9; font-weight: 400; }

.flow-section { background: var(--off-white); margin: 0 -2rem; padding: 5rem 2rem; }
.flow-section .inner { max-width: 1200px; margin: 0 auto; }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: 2.5rem; }
.flow-item {
    background: var(--white); border: 1px solid rgba(0,0,0,.1);
    padding: 1.4rem 1.25rem; display: flex; align-items: center; gap: 1rem; position: relative;
}
.flow-item::after {
    content: '›'; position: absolute; right: -.72rem; top: 50%;
    transform: translateY(-50%); color: var(--red); font-size: 1.5rem; line-height: 1; z-index: 2;
}
.flow-item:nth-child(4n)::after, .flow-item:last-child::after { display: none; }
.flow-num {
    width: 36px; height: 36px; flex-shrink: 0; background: var(--navy); color: var(--white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 700;
}
.flow-label { font-size: .92rem; font-weight: 500; line-height: 1.4; color: var(--text); }

.about-cta { background: var(--navy); text-align: center; padding: 5rem 2rem; margin: 0 -2rem 0; position: relative; overflow: hidden; }
.about-cta::before { content: ''; position: absolute; inset: 0; background: url('images/gallery_05.jpg') center/cover; opacity: .06; }
.about-cta .inner { position: relative; z-index: 1; }
.about-cta h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 300; color: var(--white); margin-bottom: 1rem; }
.about-cta p { color: rgba(255,255,255,.75); font-size: .9rem; margin-bottom: .5rem; font-weight: 400; }

/* ═══════════════════════════════════════════════
   OWNER PAGE
═══════════════════════════════════════════════ */
.lead-section { background: var(--off-white); padding: 4rem 2rem; }
.lead-section .inner { max-width: 900px; margin: 0 auto; }
.lead-section p { font-size: .95rem; color: var(--text); line-height: 2; margin-bottom: 1rem; }
.lead-section p:last-child { margin-bottom: 0; }

.owner-main { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.content-section { padding: 5rem 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.content-section:last-child { border-bottom: none; }
.content-section-title { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 400; line-height: 1.5; margin-bottom: 2rem; }

.what-is-box {
    background: var(--off-white); border-left: 3px solid var(--red);
    padding: 1.75rem 2rem; margin-bottom: 3rem; border-radius: 0 2px 2px 0;
}
.what-is-box h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: .75rem; }
.what-is-box p { font-size: .9rem; color: var(--gray); line-height: 1.9; }

.merits-subtitle { font-size: 1.1rem; font-weight: 500; margin-bottom: 1.75rem; padding-bottom: .75rem; border-bottom: 2px solid var(--light); }
.merit-list { display: flex; flex-direction: column; gap: 0; }
.merit-item { display: grid; grid-template-columns: 48px 1fr; gap: 1.5rem; align-items: start; padding: 2rem 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.merit-item:last-child { border-bottom: none; }
.merit-icon {
    width: 48px; height: 48px; background: var(--navy); color: var(--white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: .85rem; font-weight: 700; flex-shrink: 0; margin-top: .2rem;
}
.merit-body h4 { font-size: 1rem; font-weight: 500; margin-bottom: .6rem; }
.merit-body p { font-size: .92rem; color: var(--gray); line-height: 1.9; font-weight: 400; }

.land-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 1rem; }
.land-card {
    background: var(--off-white); padding: 2rem; position: relative; overflow: hidden; transition: box-shadow .3s;
}
.land-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.land-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); }
.land-card h4 { font-size: .95rem; font-weight: 500; margin-bottom: .6rem; padding-left: .5rem; }
.land-card p { font-size: .9rem; color: var(--gray); line-height: 1.9; font-weight: 400; padding-left: .5rem; }
.land-card .note { font-size: .78rem; color: #aaa; margin-top: .5rem; padding-left: .5rem; }

/* ═══════════════════════════════════════════════
   FAQ PAGE
═══════════════════════════════════════════════ */
.faq-wrapper { max-width: 860px; margin: 0 auto; padding: 4rem 2rem 6rem; }
.faq-lead { font-size: .9rem; color: var(--gray); line-height: 2; margin-bottom: 3.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(0,0,0,.08); }
.faq-list { display: flex; flex-direction: column; }
.faq-item { padding: 2.5rem 0; border-bottom: 1px solid rgba(0,0,0,.18); }
.faq-item:last-child { border-bottom: none; }
.faq-q { display: flex; align-items: flex-start; gap: 1.25rem; margin-bottom: 1.25rem; }
.faq-q-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem; font-weight: 600; color: var(--navy);
    line-height: 1; flex-shrink: 0; padding-top: .1rem; letter-spacing: .02em;
}
.faq-q-text { font-size: 1.05rem; font-weight: 500; line-height: 1.7; color: var(--navy); }
.faq-a { display: flex; align-items: flex-start; gap: 1.25rem; }
.faq-a-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem; font-weight: 600; color: var(--red);
    line-height: 1; flex-shrink: 0; padding-top: .1rem; letter-spacing: .02em;
}
.faq-a-text { font-size: .95rem; color: var(--gray); line-height: 2; }
.faq-a-text p + p { margin-top: .75rem; }

/* ═══════════════════════════════════════════════
   EXAMPLE PAGE
═══════════════════════════════════════════════ */
.example-lead { max-width: 1200px; margin: 0 auto; padding: 3.5rem 2rem 2rem; border-bottom: 1px solid rgba(0,0,0,.06); }
.example-lead p { font-size: .95rem; color: var(--gray); line-height: 2; }
.grid-section { max-width: 1200px; margin: 0 auto; padding: 3rem 2rem 5rem; }
.property-count { font-size: .8rem; color: var(--gray); letter-spacing: .05em; margin-bottom: 2rem; }
.property-count strong { font-size: 1.4rem; color: var(--navy); font-weight: 500; margin-right: .3rem; }
.property-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.property-card {
    display: block; text-decoration: none; color: var(--text);
    background: var(--white); border: 1px solid rgba(0,0,0,.07);
    transition: box-shadow .25s, transform .25s;
}
.property-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-3px); }
.property-img { aspect-ratio: 4/3; overflow: hidden; }
.property-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.property-card:hover .property-img img { transform: scale(1.05); }
.property-name {
    padding: .75rem 1rem; font-size: .82rem; letter-spacing: .03em;
    border-top: 2px solid transparent; transition: border-color .25s;
    display: flex; align-items: center; gap: .4rem;
}
.property-name::before { content: '›'; color: var(--red); font-size: 1rem; flex-shrink: 0; }
.property-card:hover .property-name { border-top-color: var(--red); }

/* ═══════════════════════════════════════════════
   COMPANY PAGE
═══════════════════════════════════════════════ */
.company-wrapper { max-width: 900px; margin: 0 auto; padding: 5rem 2rem 6rem; }
.company-eyebrow {
    font-family: 'Cormorant Garamond', serif; font-size: .78rem;
    letter-spacing: .35em; color: var(--red); text-transform: uppercase;
    display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem;
}
.company-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--red); }
.company-title { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 400; margin-bottom: 2.5rem; }

.profile-table { width: 100%; border-collapse: collapse; }
.profile-table tr { border-bottom: 1px solid rgba(0,0,0,.07); }
.profile-table tr:first-child { border-top: 1px solid rgba(0,0,0,.07); }
.profile-table th {
    width: 180px; padding: 1.25rem 1rem 1.25rem 0;
    font-size: .82rem; font-weight: 500; color: var(--gray); letter-spacing: .04em;
    vertical-align: top; text-align: left; white-space: nowrap;
}
.profile-table td { padding: 1.25rem 0; font-size: .9rem; color: var(--text); line-height: 1.9; vertical-align: top; }
.profile-table td ul { list-style: none; padding: 0; }
.profile-table td ul li { display: flex; gap: 1.5rem; }
.profile-table td ul li::before { content: '—'; color: rgba(0,0,0,.2); flex-shrink: 0; }

.access-section { margin-top: 5rem; padding-top: 4rem; border-top: 1px solid rgba(0,0,0,.08); }
.map-wrap { margin-top: 2rem; aspect-ratio: 16/7; overflow: hidden; background: var(--light); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-address { margin-top: 1rem; font-size: .82rem; color: var(--gray); display: flex; align-items: center; gap: .5rem; }
.map-address a { color: var(--red); text-decoration: none; font-size: .78rem; border-bottom: 1px solid rgba(196,30,58,.3); padding-bottom: 1px; }
.map-address a:hover { border-color: var(--red); }

/* ═══════════════════════════════════════════════
   NEWS PAGE
═══════════════════════════════════════════════ */
.news-wrapper { max-width: 860px; margin: 0 auto; padding: 5rem 2rem 7rem; }
.news-lead { font-size: .9rem; color: var(--gray); margin-bottom: 3.5rem; line-height: 2; border-bottom: 1px solid rgba(0,0,0,.08); padding-bottom: 2rem; }
.post-list { display: flex; flex-direction: column; }
.post-item { display: flex; gap: 2.5rem; align-items: flex-start; padding: 2.5rem 0; border-bottom: 1px solid rgba(0,0,0,.07); }
.post-item:last-child { border-bottom: none; }
.post-date { flex-shrink: 0; width: 80px; text-align: center; }
.post-date-day { font-size: 2.2rem; font-weight: 500; color: var(--navy); line-height: 1; display: block; }
.post-date-ym { font-size: .72rem; color: var(--gray); letter-spacing: .04em; display: block; margin-top: .3rem; }
.post-divider { width: 1px; background: rgba(0,0,0,.1); align-self: stretch; flex-shrink: 0; }
.post-body { flex: 1; }
.post-category {
    display: inline-block; font-size: .72rem; letter-spacing: .08em;
    color: var(--red); border: 1px solid rgba(196,30,58,.3); padding: .15rem .6rem; margin-bottom: .75rem;
}
.post-title { font-size: 1.05rem; font-weight: 500; margin-bottom: .6rem; line-height: 1.6; }
.post-title a { color: var(--text); text-decoration: none; transition: color .2s; }
.post-title a:hover { color: var(--red); }
.post-excerpt { font-size: .92rem; color: var(--gray); line-height: 1.9; margin-bottom: .75rem; }
.post-more { font-size: .8rem; color: var(--red); text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.post-more::after { content: '›'; font-size: 1rem; }
.post-more:hover { color: var(--red-dark); }
.pagination { margin-top: 4rem; display: flex; justify-content: center; gap: .5rem; }
.pagination a, .pagination span {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    font-size: .82rem; text-decoration: none; border: 1px solid rgba(0,0,0,.12); color: var(--gray); transition: .2s;
}
.pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ═══════════════════════════════════════════════
   CONTACT / FORM COMMON
═══════════════════════════════════════════════ */
.form-wrapper { max-width: 760px; margin: 0 auto; padding: 5rem 2rem 7rem; }
.form-lead { font-size: .9rem; color: var(--gray); line-height: 2; margin-bottom: 3rem; }
.form-lead strong { color: var(--red); font-weight: 400; }

.form-row { display: flex; align-items: flex-start; gap: 0; border-bottom: 1px solid rgba(0,0,0,.07); padding: 1.5rem 0; }
.form-row:first-of-type { border-top: 1px solid rgba(0,0,0,.07); }
.form-label { width: 180px; flex-shrink: 0; font-size: .85rem; color: var(--text); padding-top: .55rem; letter-spacing: .03em; }
.form-label .req {
    display: inline-block; margin-left: .35rem; font-size: .7rem;
    color: var(--white); background: var(--red); padding: .1rem .35rem; vertical-align: middle; letter-spacing: .02em;
}
.form-field { flex: 1; }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
    width: 100%; padding: .65rem .85rem;
    border: 1px solid rgba(0,0,0,.15); background: var(--white);
    font-family: 'Noto Sans JP', sans-serif; font-size: .875rem;
    color: var(--text); outline: none; transition: border-color .2s;
    -webkit-appearance: none; appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy); }
input::placeholder, textarea::placeholder { color: #bbb; }
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .85rem center; padding-right: 2.2rem; cursor: pointer;
}
textarea { resize: vertical; min-height: 160px; line-height: 1.8; }

.address-block { display: flex; flex-direction: column; gap: .6rem; }
.address-row { display: flex; gap: .75rem; align-items: center; }
.address-label { font-size: .78rem; color: var(--gray); white-space: nowrap; width: 72px; flex-shrink: 0; }
.form-submit { text-align: center; margin-top: 3rem; }

.privacy-row { padding: 1.5rem 0; border-bottom: 1px solid rgba(0,0,0,.07); }
.privacy-label { font-size: .85rem; color: var(--gray); margin-bottom: .75rem; }
.privacy-label a { color: var(--red); text-decoration: none; border-bottom: 1px solid rgba(196,30,58,.3); }
.privacy-check { display: flex; align-items: center; gap: .75rem; }
.privacy-check input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; accent-color: var(--navy); flex-shrink: 0; }
.privacy-check label { font-size: .875rem; cursor: pointer; }

/* ═══════════════════════════════════════════════
   PARTNER PAGE
═══════════════════════════════════════════════ */
.partner-lead { margin-bottom: 3rem; }
.partner-lead p { font-size: .95rem; color: var(--text); line-height: 2; margin-bottom: .5rem; }
.partner-tel { margin: 2.5rem 0; display: flex; align-items: center; gap: 1rem; }
.partner-tel-label { font-size: .8rem; color: var(--gray); letter-spacing: .05em; }
.partner-tel a { font-size: 2.6rem; font-weight: 500; color: var(--navy); text-decoration: none; letter-spacing: .04em; transition: color .2s; }
.partner-tel a:hover { color: var(--red); }

.work-types-section { margin-bottom: 4rem; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(0,0,0,.08); border-left: 1px solid rgba(0,0,0,.08); }
.work-item {
    padding: 1rem 1.25rem; font-size: .9rem;
    border-right: 1px solid rgba(0,0,0,.08); border-bottom: 1px solid rgba(0,0,0,.08);
    display: flex; align-items: center; gap: .6rem;
}
.work-item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

.partner-form-wrapper { max-width: 860px; margin: 0 auto; }
.partner-form-wrapper .form-label { width: 200px; }

/* ═══════════════════════════════════════════════
   REFERRAL PAGE
═══════════════════════════════════════════════ */
.ref-lead { margin-bottom: 3.5rem; }
.ref-lead-headline {
    font-size: clamp(1.1rem, 2.2vw, 1.45rem); font-weight: 500; line-height: 1.7;
    margin-bottom: 2.5rem; padding-left: 1rem; border-left: 3px solid var(--red);
}
.ref-lead-headline em { font-style: normal; color: var(--red); }

.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: .75rem; }
.pricing-card { border: 1px solid rgba(0,0,0,.1); padding: 2.5rem 2rem; position: relative; }
.pricing-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--navy); }
.pricing-type { font-size: 1.1rem; font-weight: 500; color: var(--navy); margin-bottom: 1.5rem; letter-spacing: .04em; }
.pricing-row { margin-bottom: .75rem; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.pricing-badge { font-size: .72rem; color: var(--gray); background: var(--off-white); padding: .15rem .5rem; flex-shrink: 0; }
.pricing-amount { font-size: 2.8rem; font-weight: 500; color: var(--red); line-height: 1; }
.pricing-amount-single { font-size: 3.5rem; font-weight: 500; color: var(--red); line-height: 1; display: block; margin-bottom: .75rem; }
.pricing-unit { font-size: .85rem; color: var(--gray); }
.pricing-notes { margin-top: 1.25rem; }
.pricing-note { font-size: .75rem; color: var(--gray); line-height: 1.8; }
.pricing-fee { text-align: right; font-size: .78rem; color: var(--gray); margin-bottom: 2.5rem; }

.ref-bottom { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: 3rem 0; border-top: 1px solid rgba(0,0,0,.07); }
.ref-message p { font-size: .95rem; line-height: 2.1; color: var(--text); }
.ref-contact-box { border: 1px solid rgba(0,0,0,.1); padding: 1.75rem 2rem; min-width: 260px; text-align: center; }
.ref-contact-name { font-size: .85rem; font-weight: 500; margin-bottom: 1rem; }
.ref-contact-tel { font-size: .82rem; color: var(--gray); display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; }
.ref-contact-tel span:first-child { color: var(--navy); font-weight: 500; }

/* ═══════════════════════════════════════════════
   RECRUIT LIST PAGE
═══════════════════════════════════════════════ */
.recruit-intro { margin-bottom: 4.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(0,0,0,.07); }
.recruit-intro p { font-size: .95rem; color: var(--gray); line-height: 2.1; }
.jobs-section { margin-bottom: 2rem; }
.job-card {
    display: grid; grid-template-columns: 280px 1fr;
    background: var(--white); border: 1px solid rgba(0,0,0,.08); margin-bottom: 2rem; transition: box-shadow .2s;
}
.job-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,.1); }
.job-card-img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; display: block; background: #ddd; }
.job-card-img-placeholder {
    width: 100%; min-height: 240px; background: var(--off-white);
    display: flex; align-items: center; justify-content: center;
    color: rgba(0,0,0,.2); font-size: .8rem; letter-spacing: .06em;
}
.job-card-body { padding: 2rem 2rem 1.5rem; display: flex; flex-direction: column; }
.job-card-tag { font-size: .68rem; font-weight: 500; letter-spacing: .14em; color: var(--red); text-transform: uppercase; margin-bottom: .6rem; }
.job-card-title { font-size: 1.3rem; font-weight: 500; color: var(--navy); margin-bottom: .5rem; line-height: 1.4; }
.job-card-salary { font-size: .88rem; color: var(--gray); margin-bottom: 1rem; }
.job-card-desc { font-size: .85rem; color: var(--gray); line-height: 1.9; margin-bottom: 1.25rem; flex: 1; }
.job-card-meta { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.job-meta-tag { font-size: .72rem; background: var(--off-white); border: 1px solid rgba(0,0,0,.08); padding: .2rem .7rem; color: var(--navy); }
.job-card-footer { border-top: 1px solid rgba(0,0,0,.06); padding-top: 1.25rem; display: flex; justify-content: flex-end; }

/* ═══════════════════════════════════════════════
   RECRUIT DETAIL (CONSTRUCTION / OFFICE)
═══════════════════════════════════════════════ */
.section-block { margin-bottom: 4rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(0,0,0,.07); }
.section-block:last-of-type { border-bottom: none; }

.job-header {
    display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start;
    margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(0,0,0,.07);
}
.job-header-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.job-tag { font-size: .72rem; font-weight: 500; padding: .25rem .8rem; border: 1px solid var(--navy); color: var(--navy); }
.job-header h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 500; color: var(--navy); line-height: 1.4; margin-bottom: .75rem; }
.job-header-salary { font-size: 1.1rem; font-weight: 500; color: var(--red); margin-bottom: .5rem; }
.job-header-note { font-size: .82rem; color: var(--gray); }
.job-header-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--off-white); display: block; }
.job-header-img-placeholder { width: 100%; aspect-ratio: 4/3; background: var(--off-white); display: flex; align-items: center; justify-content: center; color: rgba(0,0,0,.2); font-size: .78rem; }

.highlight-banner {
    background: var(--navy); color: var(--white); padding: 1.25rem 1.75rem;
    margin-bottom: 3rem; display: flex; align-items: center; gap: 1.25rem;
}
.highlight-banner-label { font-size: .7rem; letter-spacing: .12em; color: rgba(255,255,255,.5); white-space: nowrap; }
.highlight-banner-text { font-size: 1rem; font-weight: 500; }
.highlight-banner-text em { color: var(--red); font-style: normal; }

.appeal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.appeal-card { background: var(--off-white); padding: 1.4rem 1.25rem; border-left: 3px solid var(--red); }
.appeal-card-num { font-size: .68rem; letter-spacing: .12em; color: var(--red); font-weight: 500; display: block; margin-bottom: .4rem; }
.appeal-card p { font-size: .85rem; color: var(--text); line-height: 1.7; font-weight: 500; }
.appeal-card small { font-size: .78rem; color: var(--gray); font-weight: 400; display: block; margin-top: .3rem; }

.duty-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.duty-list li { font-size: .9rem; color: var(--text); padding-left: 1.2rem; position: relative; line-height: 1.8; }
.duty-list li::before { content: '■'; position: absolute; left: 0; color: var(--red); font-size: .55rem; top: .55rem; }
.duty-sub { font-size: .82rem; color: var(--gray); margin-top: .75rem; padding: .75rem 1rem; background: var(--off-white); line-height: 1.9; }

.pj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(0,0,0,.08); margin-top: 1rem; }
.pj-cell { background: var(--white); padding: .9rem 1rem; }
.pj-label { font-size: .7rem; color: var(--gray); letter-spacing: .06em; margin-bottom: .25rem; }
.pj-val { font-size: .9rem; font-weight: 500; color: var(--navy); }

.voice-block { background: var(--off-white); padding: 1.75rem 2rem; }
.voice-block-title {
    font-size: .78rem; font-weight: 500; color: var(--navy); letter-spacing: .08em;
    margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem;
}
.voice-block-title::before { content: ''; width: 18px; height: 1px; background: var(--navy); }
.voice-list { display: flex; flex-direction: column; gap: .5rem; }
.voice-item { font-size: .88rem; color: var(--gray); padding-left: 1.1rem; position: relative; line-height: 1.7; }
.voice-item::before { content: '「'; position: absolute; left: 0; color: var(--red); font-weight: 500; }

.req-table { width: 100%; border-collapse: collapse; }
.req-table tr { border-bottom: 1px solid rgba(0,0,0,.07); }
.req-table tr:first-child { border-top: 1px solid rgba(0,0,0,.07); }
.req-table th { width: 130px; padding: 1.2rem 1.2rem 1.2rem 0; font-size: .83rem; font-weight: 500; color: var(--navy); vertical-align: top; }
.req-table td { padding: 1.2rem 0; font-size: .88rem; color: var(--text); line-height: 1.9; vertical-align: top; }
.req-must { display: inline-block; font-size: .68rem; background: var(--red); color: var(--white); padding: .1rem .4rem; margin-right: .4rem; vertical-align: middle; }
.req-welcome { display: inline-block; font-size: .68rem; background: var(--navy); color: var(--white); padding: .1rem .4rem; margin-right: .4rem; vertical-align: middle; }

.salary-main { font-size: 1.5rem; font-weight: 500; color: var(--navy); line-height: 1; margin-bottom: .4rem; }
.salary-sub { font-size: .8rem; color: var(--gray); margin-bottom: .75rem; }
.salary-box { background: var(--off-white); padding: 1.25rem 1.5rem; }
.salary-row { display: flex; gap: 1rem; font-size: .83rem; padding: .3rem 0; }
.salary-label { color: var(--gray); width: 150px; flex-shrink: 0; }
.salary-val { color: var(--text); }
.salary-divider { border: none; border-top: 1px solid rgba(0,0,0,.08); margin: .6rem 0; }
.salary-note-inline { font-size: .78rem; color: var(--gray); }

.cond-table { width: 100%; border-collapse: collapse; }
.cond-table tr { border-bottom: 1px solid rgba(0,0,0,.07); }
.cond-table tr:first-child { border-top: 1px solid rgba(0,0,0,.07); }
.cond-table th { width: 170px; padding: 1.5rem 1.5rem 1.5rem 0; font-size: .85rem; font-weight: 500; color: var(--navy); vertical-align: top; white-space: nowrap; }
.cond-table td { padding: 1.5rem 0; font-size: .9rem; color: var(--text); line-height: 1.95; vertical-align: top; }
.tenure-note { font-size: .85rem; margin-bottom: .65rem; }
.tenure-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: rgba(0,0,0,.08); }
.tenure-head { background: var(--navy); color: var(--white); padding: .5rem .25rem; text-align: center; font-size: .75rem; }
.tenure-cell { background: var(--white); padding: .6rem .25rem; text-align: center; font-size: .88rem; font-weight: 500; }
.tenure-cap { font-size: .75rem; color: var(--gray); margin-top: .5rem; }
.perk-list { display: flex; flex-wrap: wrap; gap: .35rem; }
.perk { font-size: .8rem; background: var(--off-white); border: 1px solid rgba(0,0,0,.07); padding: .25rem .7rem; }

.apply-steps { margin-top: 1.5rem; }
.apply-step { display: flex; gap: 1.5rem; padding: 1.75rem 0; border-bottom: 1px solid rgba(0,0,0,.07); }
.apply-step:last-child { border-bottom: none; }
.step-num {
    width: 40px; height: 40px; background: var(--navy); color: var(--white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 700; flex-shrink: 0; margin-top: .15rem;
}
.step-body h4 { font-size: 1rem; font-weight: 500; margin-bottom: .35rem; }
.step-body p { font-size: .875rem; color: var(--gray); line-height: 1.9; }
.step-note { font-size: .8rem; color: #999; }

.apply-cta { background: var(--navy); padding: 4rem 2.5rem; text-align: center; margin-top: 4rem; }
.apply-cta h2 { font-size: 1.5rem; font-weight: 300; color: var(--white); margin-bottom: 1rem; letter-spacing: .04em; }
.apply-cta p { font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 2rem; line-height: 2; }

.sticky-apply {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
    background: var(--navy); display: flex; align-items: center;
    justify-content: space-between; padding: .9rem 2rem;
    box-shadow: 0 -2px 16px rgba(0,0,0,.2);
}
.sticky-apply-label { font-size: .82rem; color: rgba(255,255,255,.7); }
.sticky-apply-label strong { color: var(--white); font-weight: 500; display: block; font-size: .95rem; }
.sticky-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--red); color: var(--white); font-size: .88rem; font-weight: 500;
    letter-spacing: .06em; text-decoration: none; padding: .75rem 2rem;
    transition: background .2s; white-space: nowrap;
}
.sticky-btn:hover { background: var(--red-dark); }
.sticky-btn::after { content: '›'; font-size: 1rem; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 900px) {
    nav { display: none; }
    .hamburger { display: flex; }

    /* TOP */
    .hero-overlay {
        background: linear-gradient(to right, rgba(246,245,243,1) 50%, rgba(246,245,243,.7) 75%, rgba(246,245,243,0) 100%);
    }
    .concept-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .concept-image-wrap { display: none; }
    .services-grid { grid-template-columns: 1fr; gap: 1rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 180px); }
    .g1 { grid-column: 1/3; grid-row: 1; }
    .g2 { grid-column: 1/2; grid-row: 2; }
    .g3 { grid-column: 2/3; grid-row: 2; }
    .g4 { grid-column: 1/2; grid-row: 3; }
    .g5 { grid-column: 2/3; grid-row: 3; }
    .g6 { display: none; }
    .top-section { padding: 4rem 1.5rem; }

    /* ABOUT */
    .land-use-grid { grid-template-columns: 1fr; gap: 2rem; }
    .land-use-image { display: none; }
    .flow-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-item::after { display: none; }

    /* OWNER */
    .land-cards { grid-template-columns: 1fr; }

    /* COMPANY */
    .map-wrap { aspect-ratio: 4/3; }
}

@media (max-width: 700px) {
    /* RECRUIT DETAIL */
    .job-header { grid-template-columns: 1fr; gap: 1.5rem; }
    .job-header-img, .job-header-img-placeholder { aspect-ratio: 16/9; }
    .appeal-grid { grid-template-columns: 1fr; }
    .pj-grid { grid-template-columns: 1fr; }
    .cond-table th, .req-table th { width: 110px; white-space: normal; font-size: .82rem; }
    .salary-label { width: 120px; }
    .tenure-grid { grid-template-columns: repeat(3, 1fr); }
    .sticky-apply { padding: .75rem 1.25rem; gap: 1rem; }
}

@media (max-width: 640px) {
    /* FORMS */
    .form-wrapper { padding: 3rem 1.25rem 5rem; }
    .form-row { flex-direction: column; gap: .5rem; }
    .form-label { width: 100%; padding-top: 0; }
    .address-label { width: 56px; }

    /* PARTNER */
    .work-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-tel { flex-direction: column; align-items: flex-start; gap: .4rem; }

    /* REFERRAL */
    .pricing-grid { grid-template-columns: 1fr; }
    .ref-bottom { grid-template-columns: 1fr; }

    /* RECRUIT LIST */
    .job-card { grid-template-columns: 1fr; }
    .job-card-img-placeholder { min-height: 180px; }

    /* PAGE WRAPPER */
    .page-wrapper { padding: 3rem 1.25rem 5rem; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 1.55rem; }
    .hero-btns { flex-direction: column; }
    .gallery-grid { grid-template-rows: repeat(3, 150px); }

    /* FAQ */
    .faq-wrapper { padding: 3rem 1.25rem 4rem; }
    .faq-item { padding: 2rem 0; }
    .faq-q-label, .faq-a-label { font-size: 1.3rem; }

    /* NEWS */
    .post-item { gap: 1.25rem; }
    .post-date { width: 60px; }
    .post-date-day { font-size: 1.7rem; }
    .post-divider { display: none; }
}

@media (max-width: 440px) {
    .profile-table, .profile-table tbody, .profile-table tr, .profile-table th, .profile-table td {
        display: block; width: 100%;
    }
    .profile-table th { padding-bottom: .25rem; padding-top: 1.25rem; border-bottom: none; }
    .profile-table td { padding-top: 0; }
}

@media (max-width: 1100px) {
    .property-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
    .property-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 420px) {
    .property-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   建築実例 詳細ページ（single-product.php）
═══════════════════════════════════════════ */
.product-detail {
    max-width: 960px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 5rem;
}
.product-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: .75rem;
    border-radius: 4px;
    -webkit-overflow-scrolling: touch;
}
.product-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
}
.product-slide img {
    width: 100%;
    height: clamp(260px, 50vw, 540px);
    object-fit: cover;
    border-radius: 4px;
    display: block;
}
.product-slider-hint {
    text-align: center;
    font-size: .75rem;
    color: var(--gray);
    letter-spacing: .1em;
    margin-top: .75rem;
}
.product-data { margin-top: 3rem; }
.product-data-list {
    border-top: 1px solid rgba(0,0,0,.12);
}
.product-data-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    border-bottom: 1px solid rgba(0,0,0,.12);
}
.product-data-row dt {
    padding: 1.1rem 1.25rem;
    background: var(--off-white);
    font-weight: 500;
    font-size: .9rem;
    color: var(--navy);
}
.product-data-row dd {
    padding: 1.1rem 1.25rem;
    font-size: .95rem;
    color: var(--text);
}
.product-note { margin-top: 2rem; }
.product-note h3 {
    font-size: .9rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .5rem;
}
.product-note p, .product-note-body { font-size: .95rem; line-height: 1.9; color: var(--text); }
.product-note-body img { max-width: 100%; height: auto; }
.product-actions {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}
.product-back {
    font-size: .85rem;
    color: var(--gray);
    text-decoration: none;
    letter-spacing: .05em;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: color .25s;
}
.product-back:hover { color: var(--red); }
.product-nav {
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,.12);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: .85rem;
}
.product-nav a {
    color: var(--navy);
    text-decoration: none;
    transition: color .25s;
}
.product-nav a:hover { color: var(--red); }
.product-nav-next { text-align: right; margin-left: auto; }
@media (max-width: 560px) {
    .product-data-row { grid-template-columns: 110px 1fr; }
    .product-data-row dt, .product-data-row dd { padding: .9rem .9rem; font-size: .85rem; }
}

/* ═══════════════════════════════════════════
   お知らせ 記事詳細（single.php）
═══════════════════════════════════════════ */
.single-article {
    padding: 1rem 0 2rem;
}
.single-article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,.12);
}
.single-article-date {
    font-size: .9rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: .05em;
}
.single-article-body {
    font-size: .98rem;
    line-height: 2.1;
    color: var(--text);
}
.single-article-body p { margin-bottom: 1.5em; }
.single-article-body img { max-width: 100%; height: auto; border-radius: 4px; }
.single-article-back {
    text-align: center;
    padding-bottom: 3rem;
}

/* ═══════════════════════════════════════════
   TOPページ お知らせセクション
═══════════════════════════════════════════ */
.top-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(0,0,0,.12);
}
.top-news-item {
    border-bottom: 1px solid rgba(0,0,0,.12);
}
.top-news-item a {
    display: flex;
    align-items: baseline;
    gap: 2rem;
    padding: 1.15rem .5rem;
    text-decoration: none;
    transition: background .25s;
}
.top-news-item a:hover { background: var(--off-white); }
.top-news-date {
    flex-shrink: 0;
    font-size: .85rem;
    font-weight: 500;
    color: var(--gray);
    letter-spacing: .05em;
}
.top-news-title {
    font-size: .95rem;
    color: var(--text);
}
.top-news-item a:hover .top-news-title { color: var(--red); }
@media (max-width: 560px) {
    .top-news-item a { flex-direction: column; gap: .35rem; }
}

/* ═══════════════════════════════════════════
   求人情報（recruit_job）：ステータス・絞り込み
═══════════════════════════════════════════ */
.recruit-filter {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 2.25rem;
    cursor: pointer;
    font-size: .92rem;
    color: var(--text);
    user-select: none;
}
.recruit-filter input {
    width: 18px;
    height: 18px;
    accent-color: var(--red);
    cursor: pointer;
}
.job-status-badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    padding: .25rem .7rem;
    border-radius: 2px;
    vertical-align: middle;
    margin-right: .6rem;
}
.job-status-badge.open { background: var(--red); color: #fff; }
.job-status-badge.closed { background: #9aa0a6; color: #fff; }
.job-header-tags .job-status-badge { margin-right: 0; }
.job-card.is-closed .job-card-img {
    filter: grayscale(1);
    opacity: .75;
}
.job-card.is-closed .job-card-salary { color: var(--gray); }
.job-closed-notice {
    background: #f3f4f6;
    border-left: 4px solid #9aa0a6;
    padding: 1.25rem 1.5rem;
    margin: 0 0 4rem;
    font-size: .95rem;
    line-height: 1.9;
    color: var(--text);
}
.apply-cta.is-closed {
    background: var(--off-white);
}
.apply-cta.is-closed h2,
.apply-cta.is-closed p { color: var(--text); }
.hidden-by-filter { display: none !important; }

/* ═══════════════════════════════════════════
   フッター前：パートナー募集・紹介プログラム導線
═══════════════════════════════════════════ */
.footer-promos {
    background: var(--off-white);
    padding: 3.5rem 1.5rem;
    border-top: 1px solid rgba(0,0,0,.08);
}
.footer-promos-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.promo-card {
    display: block;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-top: 3px solid var(--red);
    padding: 2rem 2.25rem;
    text-decoration: none;
    transition: box-shadow .25s, transform .25s;
}
.promo-card:hover {
    box-shadow: 0 10px 30px rgba(15,25,35,.1);
    transform: translateY(-2px);
}
.promo-card-eyebrow {
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 500;
    margin-bottom: .6rem;
}
.promo-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .6rem;
}
.promo-card-desc {
    font-size: .88rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1.1rem;
}
.promo-card-link {
    font-size: .82rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: .05em;
    border-bottom: 1px solid var(--navy);
    padding-bottom: 2px;
    transition: color .25s, border-color .25s;
}
.promo-card:hover .promo-card-link {
    color: var(--red);
    border-color: var(--red);
}
@media (max-width: 720px) {
    .footer-promos-inner { grid-template-columns: 1fr; }
}

/* 募集終了職種のスティッキーバー（グレー版） */
.sticky-apply.is-closed { background: #565b61; }
.sticky-apply.is-closed .sticky-apply-label { color: rgba(255,255,255,.65); }
.sticky-apply.is-closed .sticky-btn { background: var(--navy); }
.sticky-apply.is-closed .sticky-btn:hover { background: #1d2d3d; }

/* ═══════════════════════════════════════════
   求人詳細：シンプルレイアウト（job-simple）
═══════════════════════════════════════════ */
.job-simple-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 5rem;
}
.job-simple-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.5rem;
}
.job-simple-img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
    margin-bottom: 1rem;
}
.job-simple-section { margin: 3rem 0; }
.job-simple-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    border-left: 4px solid var(--red);
    padding-left: .8rem;
    margin-bottom: 1.25rem;
}
.job-simple-body {
    font-size: .95rem;
    line-height: 2;
    color: var(--text);
}
.job-simple-body p { margin-bottom: 1em; }
.job-simple-catch { font-weight: 700; }
.job-simple-list {
    list-style: none;
    margin: 0 0 1em;
    padding: 0;
}
.job-simple-list li {
    position: relative;
    padding-left: 1.1em;
    margin-bottom: .4em;
}
.job-simple-list li::before {
    content: '・';
    position: absolute;
    left: 0;
}
.job-simple-note {
    font-size: .85rem;
    color: var(--gray);
    line-height: 1.9;
}
.job-simple-req-label {
    font-weight: 700;
    margin-bottom: .4em;
}
.job-simple-small {
    font-size: .85rem;
    color: var(--gray);
}
.job-simple-apply {
    text-align: center;
    margin-top: 3.5rem;
}
.job-simple-apply .job-simple-small {
    display: block;
    margin-top: 1rem;
}
.btn-apply.is-closed { background: var(--navy); }
@media (max-width: 560px) {
    .job-simple-img { max-height: 260px; }
}

/* 求人一覧：写真クリックで詳細へ */
.job-card-img-link { display: block; height: 100%; }
.job-card-img-link:hover .job-card-img { opacity: .85; transition: opacity .25s; }
.job-card.is-closed .job-card-img-link:hover .job-card-img { opacity: .65; }
