/*
Theme Name: FirstSeason
Description: Custom theme for FirstSeason corporate site.
Version: 1.0.0
Author: FirstSeason
Text Domain: firstseason
*/

:root {
    --color-ink: #000000;
    --color-ink-soft: #333333;
    --color-accent: #ff7d7d;
    --color-accent-deep: #a11f1f;
    --color-bg: #f7f4f2;
    --color-bg-soft: #f8f8f8;
    --color-surface: #ffffff;
    --color-line: #e9e1db;
    --shadow-soft: 0 16px 32px rgba(26, 20, 16, 0.06);
    --radius-l: 16px;
    --radius-m: 8px;
    --radius-s: 4px;
    --color-hero-bg: #0f141e;
    --color-hero-eyebrow: rgba(255, 255, 255, 0.7);
    --color-hero-text: #ffffff;
    --color-hero-text-muted: rgba(255, 255, 255, 0.85);
    --color-hero-overlay: rgba(10, 14, 20, 0.3);
    --color-hero-cta: #b21f24;
    --color-hero-cta-hover: #8f181c;
    --shadow-hero-cta: 0 12px 24px rgba(178, 31, 36, 0.28);
    --banner-link-accent: #15848a;

    /* 事業別テーマカラー */
    --color-service-recruit: #d97706;
    --color-service-recruit-bg: #ffd4a2;
    --color-service-cleaning: #15848a;
    --color-service-cleaning-bg: #8ecfd3;
}

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

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: #ffffff;
    font-family:
        "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    font-size: 1.6rem;
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
.section-title,
.hero__title {
    font-family:
        "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", serif;
    font-weight: 600;
}

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

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

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.container--wide {
    width: min(1400px, 96%);
}

.container--narrow {
    max-width: 800px;
}

.fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .hero__slide {
        transition: none !important;
    }
}

/* Utility */
.sp-hide {
    display: inline;
}

@media (max-width: 768px) {
    .sp-hide {
        display: none;
    }
}

.pc-hide {
    display: none;
}

@media (max-width: 768px) {
    .pc-hide {
        display: inline;
    }
}

/* Utility: Mobile Line Break */
.u-sp-br {
    display: none;
}

@media (max-width: 768px) {
    .u-sp-br {
        display: block;
    }

    .u-sp-indent {
        display: inline;
        margin-left: 0.5em;
    }
}

/* PC時は非表示 */
.u-sp-indent {
    display: none;
}

/* Header (Global Default - white background for all pages) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-line);
    transition:
        background 0.3s ease,
        padding 0.3s ease,
        border-color 0.3s ease;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    transition: padding 0.3s ease;
}

.site-logo {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1.8rem;
}

.site-logo__link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo__link:hover .site-logo__img {
    opacity: 0.8;
}

.site-logo__link:hover .site-logo__text {
    opacity: 0.8;
}

.site-logo__img {
    height: 50px;
    width: auto;
}

.site-logo__text {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-ink);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-nav__main ul {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 1px 12px;
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.site-nav__main a {
    color: var(--color-ink);
    padding: 10px 16px;
    transition: color 0.3s ease;
    display: block;
}

.site-nav__main a:hover {
    color: var(--color-accent-deep);
}

/* Contact Button (separate red pill) */
.site-nav__contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--color-hero-cta);
    color: #fff;
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 10px 20px;
    border-radius: 999px;
    transition: background 0.3s ease;
}

.site-nav__contact-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.site-nav__contact-btn:hover {
    background: var(--color-hero-cta-hover);
    color: #fff;
}

.site-nav-toggle {
    display: none;
    width: 52px;
    height: 52px;
    border-radius: 0;
    border: none;
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.site-nav-toggle__line {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--color-ink);
    border-radius: 2px;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
    transform-origin: center;
}

@media (max-width: 980px) and (min-width: 769px) {
    .site-logo__img {
        height: 36px;
    }

    .site-logo__text {
        font-size: 2rem;
    }

    .site-nav {
        gap: 6px;
    }

    .site-nav__main a {
        padding: 6px 12px;
    }

    .site-nav__contact-btn {
        padding: 8px 14px;
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .site-header__inner {
        flex-wrap: wrap;
        gap: 12px;
        position: relative;
        padding: 13px 0;
    }

    .site-nav-toggle {
        display: inline-flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 130;
    }

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

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

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

    .home .site-header:not(.is-scrolled) .site-nav-toggle__line {
        background: #ffffff;
    }

    .site-header:not(.is-home) .site-nav-toggle__line,
    .site-header.is-scrolled .site-nav-toggle__line {
        background: var(--color-ink);
    }
    .site-nav-toggle.is-open .site-nav-toggle__line {
        background: var(--color-ink);
    }

    /* ドロップダウン型メニュー - 全幅背景 */
    .site-nav {
        order: 3;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        max-height: 0;
        overflow: hidden;
        display: block;
        padding: 0;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.12);
        transition:
            max-height 0.3s ease,
            padding 0.3s ease;
        z-index: 120;
    }

    .site-nav.is-open {
        max-height: 500px;
        padding: 0 0 40px;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        padding: 0;
        border-radius: 0;
        background: transparent;
        border: none;
    }

    .site-nav li {
        width: 100%;
        text-align: center;
    }

    .site-nav a {
        display: block;
        width: 100%;
        padding: 16px 24px;
        font-size: 1.6rem;
        color: var(--color-ink);
        text-align: center;
        transition: color 0.3s ease;
    }

    .site-nav a:hover {
        color: var(--color-accent-deep);
    }

    /* お問い合わせボタン（PC版と統一） */
    .site-nav__cta {
        padding: 24px 24px 8px;
        text-align: center;
    }

    .site-nav__cta .site-nav__contact-btn {
        max-width: 280px;
        padding: 12px 28px;
        margin: 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: auto;
        color: #fff !important;
    }

    .site-nav__contact-icon {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }

    .site-nav__contact-btn:hover {
        color: #fff !important;
    }
}

/* --- Header: Top Page (is-home) Override --- */
/* トップページ専用: 背景透過、ヘッダー高さ、ピル型ナビのみ */
.site-header.is-home {
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
}

.site-header.is-home .site-header__inner {
    padding: 24px 0;
}

.site-header.is-home.is-scrolled .site-header__inner {
    padding: 12px 0;
}

.site-header.is-home .site-logo__text {
    color: var(--color-hero-text);
}

/* ピル型ナビ */
.site-header.is-home .site-nav__main ul {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.04);
}

/* スクロール後 */
.site-header.is-home.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--color-line);
}

.site-header.is-home.is-scrolled .site-logo__text {
    color: var(--color-ink);
}

.site-header.is-home.is-scrolled .site-nav__main ul {
    background: transparent;
    box-shadow: none;
    border: none;
    border-radius: 0;
}

/* モバイル: ピル型ナビを解除 */
@media (max-width: 768px) {
    .site-header.is-home .site-nav__main ul {
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        border: none;
        padding: 0;
    }
}

/* Fix logic for anchor scroll offset (header overlap) */
#recruit,
#cleaning,
#jobseeker,
#company {
    scroll-margin-top: 80px;
}

/* Footer */
.footer {
    background: #f8f8f8;
    color: var(--color-ink);
    padding: 60px 0 0;
    margin-top: -1px;
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: 1.4rem;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    align-items: flex-start;
}

.footer__info {
    flex-shrink: 0;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 4px;
}

.footer__logo img {
    height: 60px;
    width: auto;
}

.footer__company {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer__address,
.footer__tel {
    font-size: 1.5rem;
    color: var(--color-ink-soft);
    line-height: 1.8;
}

.footer__nav-sns {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.footer__sns-label {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.footer__sns-links {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 999px;
    background: #06c755;
    border: none;
    box-shadow: none;
    text-decoration: none;
    transition: opacity 0.3s ease;
    color: #ffffff;
}
.footer__sns-links:hover {
    opacity: 0.8;
}
.footer__sns-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}
.footer__sns-links img {
    width: 18px;
    height: 18px;
    display: block;
}
.footer__sns-links.is-disabled {
    opacity: 1;
    pointer-events: none;
}

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 48px 80px;
}

.footer__nav-title {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-ink);
}

.footer__nav-group:last-child {
    margin-bottom: 16px;
}

.footer__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__nav-list li {
    margin-bottom: 10px;
}

.footer__nav-list a {
    font-size: 1.5rem;
    color: var(--color-ink-soft);
    transition: color 0.2s ease;
    position: relative;
    padding-left: 12px;
}

.footer__nav-list a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent-deep);
    opacity: 0.6;
}

.footer__nav-list a:hover {
    color: var(--color-accent-deep);
}

.footer__bottom {
    background: #353535;
    padding: 4px 0;
    text-align: center;
}

.footer__copyright {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) and (min-width: 769px) {
    .footer__nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer__nav-title {
        margin-bottom: 8px;
    }

    .footer__nav-list {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 16px;
    }

    .footer__nav-list li {
        margin-bottom: 0;
    }

    .footer__nav-list a {
        font-size: 1.4rem;
    }

    .footer__nav-sns {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .footer__inner {
        flex-direction: column;
        gap: 32px;
    }

    .footer__nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer__nav-group {
        width: 100%;
    }

    .footer__nav-title {
        margin-bottom: 8px;
    }

    .footer__nav-list {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 16px;
    }

    .footer__nav-list li {
        margin-bottom: 0;
    }

    .footer__nav-sns {
        align-items: flex-start;
        gap: 24px;
        width: 100%;
    }

    .footer__sns-links {
        justify-content: flex-start;
    }
}

/* ==========================================================================
   Home Page: Hero
   ========================================================================== */
/* Hero */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: max(700px, 80vh);
    display: flex;
    align-items: center;
    background: var(--color-hero-bg);
}

.hero__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 520px;
}

.hero__eyebrow {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 1.3rem;
    color: var(--color-hero-eyebrow);
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero__title {
    font-size: clamp(4rem, calc(5vw + 2rem), 6.4rem);
    line-height: 1.25;
    margin: 18px 0 24px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    letter-spacing: 0.02em;
    font-weight: 700;
    color: var(--color-hero-text);
    white-space: nowrap;
}

.hero__media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-hero-overlay);
}

.hero__slide.is-active {
    opacity: 1;
}

.hero__slide--1 {
    background-image: url("assets/images/hero1.jpg");
}

.hero__slide--2 {
    background-image: url("assets/images/hero2.jpg");
}

.hero__slide--3 {
    background-image: url("assets/images/hero3.jpg");
}

.hero__slide--4 {
    background-image: url("assets/images/hero4.jpg");
}

.hero__slide--5 {
    background-image: url("assets/images/hero5.jpg");
}

@media (max-width: 980px) {
    .hero .hero__slide {
        background-position: center;
    }

    .hero__title {
        font-size: 4.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 96px;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .hero__content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero__media {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100% !important;
        height: 100%;
        aspect-ratio: auto;
        margin-top: 0;
    }

    .hero__slide {
        width: 100%;
        height: 100%;
        background-position: center;
    }

    .hero__slide--1 {
        background-image: url("assets/images/hero1-sp.jpg");
    }

    .hero__slide--2 {
        background-image: url("assets/images/hero2-sp.jpg");
    }

    .hero__slide--3 {
        background-image: url("assets/images/hero3-sp.jpg");
    }

    .hero__slide--4 {
        background-image: url("assets/images/hero4-sp.jpg");
    }

    .hero__slide--5 {
        background-image: url("assets/images/hero5-sp.jpg");
    }

    .hero__slide::before {
        background: var(--color-hero-overlay);
    }

    .hero__title {
        font-size: clamp(4.8rem, calc(6vw + 2rem), 7.2rem);
        line-height: 1.4;
        padding-left: 0.4em;
    }
}

/* ==========================================================================
   Components: Buttons
   ========================================================================== */
/* Buttons */
.cta,
.btn-pill,
.cta--large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 999px;
    background: var(--btn-bg, var(--color-hero-cta));
    color: var(--btn-text, #ffffff);
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1px solid var(--btn-border, var(--color-hero-cta));
    position: relative;
    overflow: hidden;
    box-shadow: none;
    transition:
        color 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
    isolation: isolate;
}

.cta {
    margin-top: 12px;
}

.cta::before,
.btn-pill::before,
.cta--large::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: var(--btn-hover-bg, #ffffff);
    border-radius: inherit;
    transform: translateX(-105%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn-glow::after {
    content: "";
    position: absolute;
    top: -40%;
    left: 0;
    width: 35%;
    height: 180%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        var(--btn-glow-color, rgba(255, 255, 255, 0.9)) 100%
    );
    transform: translateX(-150%) skewX(-20deg) scaleX(0.3);
    animation: heroCtaShimmer 5s linear infinite;
    z-index: -1;
    pointer-events: none;
}

.cta--alt.btn-glow {
    --btn-glow-color: rgba(178, 31, 36, 0.45);
}

.cta:hover,
.btn-pill:hover,
.cta--large:hover {
    color: var(--btn-hover-text, var(--color-hero-cta));
    border-color: var(--btn-hover-border, var(--color-hero-cta));
}

.cta:hover::before,
.btn-pill:hover::before,
.cta--large:hover::before {
    transform: translateX(0);
}

.btn-glow:hover::after {
    opacity: 0;
}

@keyframes heroCtaShimmer {
    0% {
        transform: translateX(-150%) skewX(-20deg) scaleX(0.3);
    }
    10% {
        transform: translateX(350%) skewX(-20deg) scaleX(1.2);
    }
    100% {
        transform: translateX(350%) skewX(-20deg) scaleX(1.2);
    }
}

.btn-pill {
    padding: 12px 32px;
    font-size: 1.4rem;
    font-weight: 600;
}

.cta--alt {
    --btn-bg: #ffffff;
    --btn-text: var(--color-accent-deep);
    --btn-border: #ffffff;
    --btn-hover-bg: #5e0c10;
    --btn-hover-text: #ffffff;
    --btn-hover-border: #5e0c10;
}

.btn-pill:hover {
    box-shadow: none;
}

/* ==========================================================================
   Global Section Patterns
   ========================================================================== */
/* Sections */
.section {
    padding: 72px 0;
}

@media (max-width: 980px) {
    .section {
        padding: 64px 0;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 56px 0;
    }
}

@media (max-width: 768px) {
    .section--soft {
        padding: 48px 0;
    }
}

.section--data {
    background: #fff;
    padding: 0;
}

.section--gray {
    background: #f8f8f8;
}

.section--cta {
    background: linear-gradient(
        135deg,
        var(--color-accent) 0%,
        var(--color-accent-deep) 100%
    );
    padding: 80px 0;
    text-align: center;
}

.section--cta .section-title--center::after {
    display: none;
}

@media (max-width: 768px) {
    .section--cta {
        padding: 60px 0;
    }
}

.section--page {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(4.2rem, calc(2vw + 3rem), 5.4rem);
    margin-bottom: 16px;
    display: inline-block;
    margin-top: 0;
}

.section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: var(--color-accent-deep);
    margin-top: 12px;
}

.section-title--line {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.section-title--line::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--color-line);
}

@media (max-width: 768px) {
    .section-title--line::after {
        display: none;
    }
}

.section-title--light {
    color: #fff;
}

.section-title--light::after {
    background: rgba(255, 255, 255, 0.5);
}

.section-title--center {
    display: block;
    text-align: center;
}

.section-title--center::after {
    margin-left: auto;
    margin-right: auto;
}

.section-lead {
    color: var(--color-ink-soft);
    margin-bottom: 32px;
}

.section-lead--light {
    color: rgba(255, 255, 255, 0.9);
}

.section-footer {
    margin-top: 32px;
    text-align: right;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.section-header--center {
    flex-direction: column;
    text-align: center;
    gap: 8px;
}

.section-subtitle {
    font-size: 1.6rem;
    color: var(--color-ink-soft);
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Components: Layout Helpers
   ========================================================================== */
/* Layout components */

.list {
    margin: 0;
    padding-left: 18px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: 1.5rem;
}

.table th,
.table td {
    border-bottom: 1px solid var(--color-line);
    padding: 14px 10px;
    text-align: left;
    vertical-align: top;
}

.table th {
    width: 30%;
    background: var(--color-bg);
    font-weight: 600;
}

@media (max-width: 768px) {
    .table th {
        width: 35%;
    }
}

/* ==========================================================================
   Home Page: Data Split
   ========================================================================== */
/* Data Split - 2カラム分割 */
.data-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.data-split__col {
    padding: 38px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.data-split__col::after {
    content: "";
    position: absolute;
    inset: -10%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 0.5s ease;
}

.data-split__col:hover::after {
    transform: scale(1.08);
}

.data-split__col::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1;
}

.data-split__col > * {
    position: relative;
    z-index: 2;
}

.data-split__col--recruit {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.data-split__col--recruit::after {
    background-image: url("assets/images/data-recruit.jpg");
}

.data-split__col--cleaning::after {
    background-image: url("assets/images/data-cleaning.jpg");
}

.data-split__title {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: #ffffff;
    display: inline-block;
    background-color: var(--color-accent-deep);
    padding: 8px 46px;
    border-radius: 2px;
    letter-spacing: 0.1em;
    margin: 20px 0 0;
}

.data-split__stats {
    display: flex;
    justify-content: center;
    gap: 56px;
    margin: 24px 0;
}

.data-split__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.data-split__number {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: clamp(4rem, 5.5vw, 5.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--color-accent-deep);
}

.data-split__unit {
    font-size: 0.4em;
    font-weight: 500;
    color: var(--color-ink);
}

.data-split__desc {
    font-size: 1.3rem;
    color: var(--color-ink);
    margin-top: 8px;
    letter-spacing: 0.05em;
}

.data-split__feature {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff4d4d;
    margin: 0;
    padding: 0;
    background: none;
}

.data-split__feature::before,
.data-split__feature::after {
    content: "/";
    opacity: 0.6;
}

@media (max-width: 980px) {
    .data-split__col {
        padding: 48px 32px;
    }

    .data-split__stats {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .data-split {
        grid-template-columns: 1fr;
    }

    .data-split__col--recruit {
        border-right: none;
        border-bottom: 1px solid var(--color-line);
    }

    .data-split__col {
        padding: 32px 20px;
    }

    .data-split__stats {
        gap: 24px;
        margin: 18px 0;
    }

    .data-split__number {
        font-size: 4.4rem;
    }

    .data-split__title {
        margin: 12px 0 0;
    }

    .data-split__desc {
        margin-top: 4px;
    }

    .data-split__feature {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Components: Target Card
   ========================================================================== */
.target-card {
    display: block;
    padding: 40px 28px;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: 8px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.target-card:hover {
    border-color: var(--color-accent);
}

.target-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--color-accent-deep);
    color: var(--color-accent-deep);
}

.target-card__title {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

/* ==========================================================================
   Home Page: News
   ========================================================================== */
/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.news-item {
    display: flex;
    flex-direction: column;
    padding: 0 32px;
    border-left: 1px solid var(--color-line);
    text-decoration: none;
    color: inherit;
}

.news-item:first-child {
    padding-left: 0;
    border-left: none;
}

.news-item:last-child {
    padding-right: 0;
}

.news-item__date {
    display: block;
    font-size: 1.5rem;
    color: var(--color-ink-soft);
    margin-bottom: 12px;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

.news-item__title {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.8;
    margin: 0;
    min-height: calc(1.8em * 3);
    color: var(--color-ink);
    transition: color 0.2s ease;
}

.news-item:hover .news-item__title {
    color: var(--color-accent-deep);
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .news-item {
        padding: 0;
        border-left: none;
        border-bottom: 1px solid var(--color-line);
        padding-bottom: 24px;
    }

    .news-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .news-item__title {
        min-height: auto;
    }
}

/* ==========================================================================
   Home Page: Blog Slider
   ========================================================================== */
/* Blog slider */
.blog-slider-wrapper {
    position: relative;
}

.blog-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.blog-slider .blog-card {
    scroll-snap-align: center;
}

.blog-slider::-webkit-scrollbar {
    display: none;
}

.blog-slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1100px;
    margin: 32px auto 0;
    padding: 0 24px;
    position: relative;
    gap: 24px;
    justify-content: flex-end;
}

.blog-slider-nav {
    display: flex;
    gap: 12px;
}

.blog-slider-controls .btn-pill {
    margin-left: auto;
    position: relative;
    right: auto;
}

.blog-slider__btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    color: var(--color-ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        border-color 0.3s ease,
        color 0.3s ease;
}

.blog-slider__btn:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
}

/* ==========================================================================
   Components: Blog Card
   ========================================================================== */
.blog-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-line);
    transition: border-color 0.3s ease;
}

.blog-card:hover {
    border-color: var(--color-accent);
}

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

.blog-card__link {
    display: block;
}

.blog-card__thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card__placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card__placeholder img {
    width: 50%;
    height: auto;
    object-fit: contain;
    opacity: 0.6;
}

.blog-card__body {
    padding: 16px;
}

.blog-card__date {
    font-size: 1.6rem;
    color: var(--color-ink-soft);
    font-family: "Zen Kaku Gothic New", sans-serif;
}

.blog-card__cat {
    display: inline-block;
    margin-left: 8px;
    font-size: 1.3rem;
    padding: 3px 10px;
    color: #fff;
    border-radius: 3px;
}

/* カテゴリー色（スラッグベース） */
.blog-card__cat--recruitment {
    background: #3b82f6;
}

.blog-card__cat--cleaning {
    background: #10b981;
}

.blog-card__cat--news {
    background: #6b7280;
}

.blog-card__cat--default {
    background: var(--color-accent);
}

.blog-card__title {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 10px 0 0;
    min-height: calc(1.6em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .blog-slider .blog-card:first-child {
        margin-left: calc(50vw - 130px);
    }

    .blog-card {
        flex: 0 0 260px;
    }

    .blog-slider-controls {
        flex-direction: column;
        gap: 24px;
    }

    .blog-slider-controls .btn-pill {
        position: relative;
        order: 2;
        width: auto;
        text-align: center;
        margin: 0 auto;
    }

    .blog-slider-nav {
        order: 1;
    }

    .blog-slider__btn {
        width: 44px;
        height: 44px;
    }
}

/* ==========================================================================
   Blog Page: Archive
   ========================================================================== */
/* Blog archive */
.blog-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.blog-card--archive {
    height: 100%;
}

.blog-archive__pagination {
    margin-top: 32px;
}

.blog-archive__empty {
    font-size: 1.5rem;
    color: var(--color-ink-soft);
}

.blog-archive .nav-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-archive .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--color-line);
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: 1.5rem;
    color: var(--color-ink);
    transition:
        border-color 0.3s ease,
        color 0.3s ease,
        background 0.3s ease;
}

.blog-archive .page-numbers:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.blog-archive .page-numbers.current {
    background: var(--color-ink);
    color: #fff;
    border-color: var(--color-ink);
}

@media (max-width: 768px) {
    .blog-archive__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   News Page: Archive
   ========================================================================== */
/* News archive */
.news-archive {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-line);
}

.news-archive__item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-line);
    align-items: center;
}

.news-archive__date {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: 1.5rem;
    color: var(--color-ink-soft);
}

.news-archive__title {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-ink);
    transition: color 0.2s ease;
}

.news-archive__title:hover {
    color: var(--color-accent-deep);
}

.news-archive__pagination {
    margin-top: 32px;
}

.news-archive__empty {
    font-size: 1.5rem;
    color: var(--color-ink-soft);
}

.news-archive .nav-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.news-archive .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--color-line);
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: 1.5rem;
    color: var(--color-ink);
    transition:
        border-color 0.3s ease,
        color 0.3s ease,
        background 0.3s ease;
}

.news-archive .page-numbers:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.news-archive .page-numbers.current {
    background: var(--color-ink);
    color: #fff;
    border-color: var(--color-ink);
}

@media (max-width: 768px) {
    .news-archive__item {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

/* ==========================================================================
   Blog Layout: 2 Column with Sidebar
   ========================================================================== */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
    padding-top: 60px;
}

.blog-layout__main {
    min-width: 0;
}

.blog-layout__sidebar {
    position: sticky;
    top: 120px;
}

@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .blog-layout__sidebar {
        position: static;
    }
}

/* ==========================================================================
   Sidebar Widgets
   ========================================================================== */
.sidebar-widget {
    background: #fff;
    border-radius: var(--radius-m);
    margin-bottom: 52px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget__title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent-deep);
}

.sidebar-widget__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-widget__item {
    margin-bottom: 8px;
}

.sidebar-widget__item:last-child {
    margin-bottom: 0;
}

.sidebar-widget__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: var(--color-ink);
    transition: color 0.3s ease;
}

.sidebar-widget__link:hover {
    color: var(--color-accent-deep);
}

/* Unified badge color */
.sidebar-widget__cat-badge {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--color-accent);
}

/* Recent Posts Widget */
.sidebar-widget__posts {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.sidebar-widget__post-item {
    display: block;
    list-style: none;
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-s);
}

.sidebar-widget__post-item:last-child {
    margin-bottom: 0;
}

.sidebar-widget__post-link {
    display: flex;
    gap: 12px;
    color: var(--color-ink);
    transition: color 0.3s ease;
}

.sidebar-widget__post-link:hover {
    color: var(--color-accent-deep);
}

.sidebar-widget__post-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--radius-s);
    overflow: hidden;
    background: var(--color-bg);
}

.sidebar-widget__post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-widget__post-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
}

.sidebar-widget__post-placeholder img {
    width: 60%;
    height: auto;
    opacity: 0.5;
}

.sidebar-widget__post-body {
    flex: 1;
    min-width: 0;
}

.sidebar-widget__post-date {
    display: block;
    font-size: 1.2rem;
    color: var(--color-ink-soft);
    margin-bottom: 4px;
}

.sidebar-widget__post-title {
    font-size: 1.3rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   Post Page: Single
   ========================================================================== */
/* Single post */
.single-post__header {
    margin-top: 40px;
    margin-bottom: 32px;
}

.single-post__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    font-size: 1.5rem;
    color: var(--color-ink-soft);
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}

.single-post__title {
    font-size: clamp(2.6rem, 4vw, 3.4rem);
    margin: 0;
}

.single-post__content {
    font-size: 1.6rem;
    line-height: 1.9;
    color: var(--color-ink);
}

.single-post__content h2 {
    margin-top: 40px;
    font-size: 2.2rem;
}

.single-post__content h3 {
    margin-top: 32px;
    font-size: 1.8rem;
}

.single-post__content p {
    margin-bottom: 20px;
}

.single-post__content ul,
.single-post__content ol {
    padding-left: 22px;
    margin-bottom: 20px;
}

.single-post__content a {
    color: var(--color-accent-deep);
    text-decoration: underline;
}

.single-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0 24px;
}

.single-post__content figure {
    margin: 0 0 24px;
}

.single-post__content figcaption {
    font-size: 1.3rem;
    color: var(--color-ink-soft);
    margin-top: 8px;
    text-align: center;
}

.single-post__content blockquote {
    border-left: 3px solid var(--color-accent);
    padding: 12px 18px;
    margin: 0 0 20px;
    background: var(--color-bg);
    color: var(--color-ink-soft);
}

.single-post__content hr {
    border: none;
    border-top: 1px solid var(--color-line);
    margin: 32px 0;
}

.single-post__content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.4rem;
}

.single-post__content th,
.single-post__content td {
    border: 1px solid var(--color-line);
    padding: 10px;
    text-align: left;
}

.single-post__content th {
    background: var(--color-bg);
    font-weight: 600;
}

.single-post__nav {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.single-post__nav-link {
    display: block;
    padding: 16px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.3s ease;
}

.single-post__nav-link:hover {
    border-color: var(--color-accent);
}

.single-post__nav-label {
    display: block;
    font-size: 1.3rem;
    color: var(--color-ink-soft);
    margin-bottom: 6px;
}

.single-post__nav-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
}

.single-post__nav-link--next {
    text-align: right;
}

@media (max-width: 768px) {
    .single-post__nav {
        grid-template-columns: 1fr;
    }

    .single-post__nav-link--next {
        text-align: left;
    }
}

/* Back to list button */
.single-post__back {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-line);
    text-align: center;
}

/* CTA section */
.cta--large {
    padding: 18px 40px;
    font-size: 1.7rem;
}

.cta--large:hover {
    box-shadow: none;
}

@media (max-width: 768px) {
    .cta--large {
        padding: 14px 28px;
        font-size: 1.6rem;
    }
}

/* Page styles */
.page-title {
    font-size: clamp(2.8rem, 4vw, 3.6rem);
    font-weight: 700;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-accent);
}

/* Privacy policy */
.policy-intro {
    font-size: 1.5rem;
    line-height: 1.9;
    margin-bottom: 40px;
    color: var(--color-ink-soft);
}

.policy-section {
    margin-bottom: 32px;
}

.policy-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-ink);
}

.policy-section p,
.policy-section ul {
    font-size: 1.4rem;
    line-height: 1.9;
    color: var(--color-ink-soft);
}

.policy-section ul {
    padding-left: 20px;
    margin-top: 8px;
}

.policy-section li {
    margin-bottom: 6px;
}

.policy-contact {
    background: var(--color-bg);
    padding: 20px;
    border-radius: 8px;
    margin-top: 12px;
}

.policy-date {
    font-size: 1.4rem;
    color: var(--color-ink-soft);
    text-align: right;
    margin-top: 40px;
}
/* Reasons list */
.integrated-reason-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-line);
    color: var(--color-ink);
}

.reasons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reasons-list__item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--color-line);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s;
}

.section--gray .reasons-list__item {
    background: #fff;
}

.reasons-list__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    color: var(--color-accent-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    position: relative;
    background: #ffffff;
    border: 2px solid var(--color-accent-deep);
    overflow: visible;
}

.reasons-list__icon--cleaning {
    color: var(--color-accent-deep);
    border-color: var(--color-accent-deep);
}

.reasons-list__content {
    flex: 1;
}

.reasons-list__head {
    margin: 0 0 8px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-ink);
}

.reasons-list__text {
    margin: 0;
    font-size: 1.5rem;
    color: var(--color-ink-soft);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .reasons-list__item {
        padding: 20px;
    }

    .reasons-list__icon {
        width: 40px;
        height: 40px;
        margin-right: 16px;
    }

    .reasons-list__icon svg {
        width: 20px;
        height: 20px;
    }

    .reasons-list__head {
        font-size: 1.6rem;
    }
}

/* Banner link */
.banner-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    color: var(--color-ink);
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 8px;
    border: 1px solid var(--color-line);
    transition:
        color 0.4s ease,
        border-color 0.4s ease,
        transform 0.3s,
        box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.banner-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--banner-link-accent, var(--color-accent-deep));
    transform: translateX(-101%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.banner-link:hover {
    color: #ffffff;
    border-color: var(--banner-link-accent, var(--color-accent-deep));
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.banner-link:hover::before {
    transform: translateX(0);
}

.banner-link:hover .banner-link__icon {
    background: #ffffff;
    color: var(--banner-link-accent, var(--color-accent-deep));
}

.banner-link:hover .banner-link__arrow {
    color: #ffffff;
}

.banner-link__icon {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: var(--banner-link-accent, var(--color-accent-deep));
    transition:
        background 0.4s ease,
        color 0.4s ease;
}

.banner-link--cleaning {
    background: var(--banner-link-accent);
    color: #ffffff;
    border-color: var(--banner-link-accent);
    height: 96px;
    padding: 0 56px 0 24px;
}

.banner-link--cleaning::before {
    background: #ffffff;
}

.banner-link--cleaning::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background-color: currentColor;
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5l7 7-7 7' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 100% 100%;
    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
    pointer-events: none;
}

.banner-link--cleaning .banner-link__icon {
    background: #ffffff;
    color: var(--banner-link-accent);
    border-radius: 8px;
    width: 44px;
    height: 44px;
}

.banner-link--cleaning .banner-link__arrow {
    display: none;
}

.banner-link--cleaning:hover {
    color: var(--banner-link-accent);
    border-color: var(--banner-link-accent);
    transform: none;
    box-shadow: none;
}

.banner-link--cleaning:hover::after {
    transform: translate(4px, -50%);
}

.banner-link--cleaning:hover .banner-link__icon {
    background: rgba(15, 106, 110, 0.12);
    color: var(--banner-link-accent);
}

.banner-link__icon svg {
    width: 20px;
    height: 20px;
}

.banner-link__content {
    flex: 1;
}

.banner-link__text {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.banner-link__arrow {
    margin-left: 16px;
    font-weight: bold;
    font-size: 1.9rem;
}

@media (max-width: 768px) {
    .banner-link {
        padding: 16px 20px;
    }

    .banner-link__text {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   Service Page Styles
   ========================================================================== */

.service-block {
    display: grid;
    gap: 32px;
}

.service-block__title {
    font-size: 2.8rem;
    margin-bottom: 16px;
    color: var(--color-ink);
}

.service-block__desc {
    font-size: 1.6rem;
    color: var(--color-ink-soft);
    line-height: 1.8;
}

/* Service Page - Integrated Sections */
.service-section__badge {
    display: inline-block;
    background: #d97706;
    color: #ffffff;
    padding: 6px 20px;
    border-radius: 999px;
    font-size: 1.3rem;
    font-weight: 600;
    border: 1px solid #d97706;
}

.service-section__badge--cleaning {
    background: var(--banner-link-accent);
    border-color: var(--banner-link-accent);
}

/* セクション背景画像 */
.section--integrated {
    position: relative;
    padding: 200px 0 80px;
    overflow: clip;
}

.section--integrated::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25%;
    height: auto;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.85;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: scale(var(--image-scale, 1));
    transform-origin: bottom left;
    transition: transform 0.1s ease-out;
}

.section--integrated > .container {
    position: relative;
    z-index: 1;
}

/* 人材紹介セクション背景 */
.section--light-red::before {
    background-image: url("assets/images/data-recruit.jpg");
}

/* 清掃セクション背景 */
.section--integrated:not(.section--light-red)::before {
    background-image: url("assets/images/data-cleaning.jpg");
}

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

.section--integrated::after {
    position: absolute;
    top: 90px;
    left: 0;
    width: 200%;
    font-family: "Noto Serif JP", "Yu Mincho", "游明朝", serif;
    font-size: 16rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.03);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    line-height: 1;
    letter-spacing: 0.1em;
    animation: scrollText 40s linear infinite;
}

.section--light-red::after {
    content: "RECRUITMENT SERVICE    RECRUITMENT SERVICE    RECRUITMENT SERVICE    ";
}

.section--integrated:not(.section--light-red)::after {
    content: "CLEANING SERVICE    CLEANING SERVICE    CLEANING SERVICE    ";
}

.section--integrated + .section--integrated {
    margin: 80px 0;
}

/* 薄い赤背景（人材紹介セクション用） */
.section--light-red {
    background: #ffffff;
}

.service-layout {
    display: grid;
    grid-template-columns: 3fr 4fr;
    gap: 20px;
    align-items: start;
    position: relative;
}

.service-layout__left {
    position: relative;
    z-index: 1;
}

.service-layout__left .section-title {
    margin: 0;
}

.service-layout__left .section-title::after {
    display: none;
}

.service-layout__left .service-section__badge {
    display: block;
    margin: 12px 0 16px 4px;
    width: fit-content;
}

.service-layout__right {
    position: relative;
    z-index: 1;
}

.service-layout__cta {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 72px;
}

.section-lead--left {
    text-align: left;
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.95);
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    line-height: 2;
}

.target-card--horizontal.target-card--compact {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 0 56px 0 24px;
    height: 96px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: var(--color-accent-deep);
    color: #ffffff;
    border: 1px solid var(--color-accent-deep);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 0;
    transition:
        color 0.4s ease,
        border-color 0.4s ease;
}

.target-card--horizontal.target-card--compact::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background-color: currentColor;
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5l7 7-7 7' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 100% 100%;
    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
    pointer-events: none;
}

.target-card--horizontal.target-card--compact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transform: translateX(-101%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.target-card--horizontal.target-card--compact:hover {
    color: var(--color-ink);
    border-color: var(--color-accent-deep);
}

.target-card--horizontal.target-card--compact:hover::after {
    background-color: var(--color-accent-deep);
    transform: translate(4px, -50%);
}

.target-card--horizontal.target-card--compact:hover .target-card__title {
    color: var(--color-accent-deep);
}

.target-card--horizontal.target-card--compact:hover::before {
    transform: translateX(0);
}

.target-card--horizontal.target-card--compact:hover .target-card__icon {
    color: var(--color-accent-deep);
    background: rgba(161, 31, 31, 0.08);
    border: none;
}

.target-card--horizontal.target-card--compact .target-card__icon {
    margin-right: 20px;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-ink);
    background: #ffffff;
    border: none;
    transition:
        filter 0.4s ease,
        color 0.4s ease,
        background-color 0.4s ease,
        border-color 0.4s ease;
}

.target-card--horizontal.target-card--compact .target-card__icon svg {
    width: 26px;
    height: 26px;
}

.target-card--horizontal.target-card--compact .target-card__content {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}

.target-card--horizontal.target-card--compact .target-card__title {
    font-size: 1.9rem;
    line-height: 1.3;
    margin: 0;
    color: #ffffff;
    transition: color 0.4s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 980px) {
    .service-layout {
        grid-template-columns: 1fr;
        gap: 72px;
    }

    .service-layout__cta {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-layout__cta > * {
        flex: 1 1 calc(50% - 8px);
        min-width: 260px;
    }

    .section--integrated::before {
        width: 35%;
        height: auto;
        aspect-ratio: 1 / 1;
        max-height: 320px;
        bottom: auto;
        top: 80px;
        right: -40px;
        left: auto;
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: scale(var(--image-scale, 1));
        transform-origin: right top;
    }

    .section--integrated {
        padding: 160px 0 60px;
    }

    .section--integrated::after {
        top: 20px;
        font-size: 10rem;
    }

    .section--integrated + .section--integrated {
        margin: 0 0 80px;
    }
}

@media (max-width: 768px) {
    .service-layout__cta {
        flex-direction: column;
    }

    .service-layout__cta > * {
        flex: 1 1 100%;
    }

    .section--integrated {
        padding: 140px 0 60px;
    }

    .section--integrated::before {
        width: 40%;
        top: 120px;
    }

    .service-section__badge {
        font-size: 1.2rem;
        padding: 4px 14px;
    }

    .target-card--horizontal.target-card--compact {
        padding: 16px 24px;
    }

    .target-card--horizontal.target-card--compact .target-card__icon {
        margin-right: 16px;
    }
}

/* ==========================================================================
   Service Page - Hero/Band Sections
   ========================================================================== */
.section--service-hero {
    background: #fff;
    position: relative;
    overflow: visible;
    padding: 160px 0 0;
    z-index: 2;
}

.service-hero__bg-text {
    position: absolute;
    top: 40px;
    display: flex;
    flex-direction: column;
    font-family: "Noto Serif JP", "Yu Mincho", "游明朝", serif;
    font-size: clamp(5rem, 12vw, 10rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.02em;
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
}

.section--recruit .service-hero__bg-text {
    color: rgba(255, 140, 100, 0.08);
}

.section--cleaning .service-hero__bg-text {
    color: rgba(100, 180, 160, 0.08);
}

.service-hero__bg-text--right {
    right: 30px;
    text-align: right;
}

.service-hero__bg-text--left {
    left: -20px;
    text-align: left;
}

.service-hero__bg-text span {
    display: block;
}

.section--service-hero.section--recruit::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: var(--color-service-recruit);
    opacity: 0.06;
    transform: scale(0.9);
    clip-path: path(
        "M250,25 C380,25 475,100 475,250 C475,380 400,475 250,475 C120,475 25,380 25,250 C25,100 120,25 250,25 Q300,60 280,120 Q260,180 300,220 Q340,260 300,300 Q260,340 280,400 Q300,460 250,450 Q180,440 150,380 Q120,320 80,280 Q40,240 60,180 Q80,120 130,80 Q180,40 250,25 Z"
    );
    pointer-events: none;
}

.section--service-hero.section--recruit::after {
    content: "";
    position: absolute;
    bottom: -130px;
    right: -130px;
    width: 400px;
    height: 400px;
    background: var(--color-service-recruit);
    opacity: 0.04;
    transform: scale(0.7);
    clip-path: path(
        "M200,20 C300,10 380,60 380,200 C380,320 320,380 200,380 C80,380 20,300 20,200 C20,80 100,30 200,20 Q240,40 230,100 Q220,160 260,200 Q300,240 260,280 Q220,320 230,360 Q240,400 200,390 Q140,380 110,320 Q80,260 50,220 Q20,180 40,120 Q60,60 110,40 Q160,20 200,20 Z"
    );
    pointer-events: none;
}

.section--service-hero.section--cleaning::before {
    content: "";
    position: absolute;
    top: 20px;
    right: -80px;
    width: 480px;
    height: 480px;
    background: var(--color-service-cleaning);
    opacity: 0.06;
    transform: scale(0.9);
    clip-path: path(
        "M240,20 C360,20 460,80 460,240 C460,380 380,460 240,460 C100,460 20,360 20,240 C20,100 100,20 240,20 Q290,50 270,120 Q250,190 300,230 Q350,270 300,320 Q250,370 270,430 Q290,490 240,480 Q170,470 130,400 Q90,330 50,280 Q10,230 40,160 Q70,90 130,50 Q190,10 240,20 Z"
    );
    pointer-events: none;
}

.section--service-hero.section--cleaning::after {
    content: "";
    position: absolute;
    bottom: -140px;
    left: -80px;
    width: 380px;
    height: 380px;
    background: var(--color-service-cleaning);
    opacity: 0.04;
    transform: scale(0.7);
    clip-path: path(
        "M190,15 C280,10 360,50 360,190 C360,310 300,360 190,360 C70,360 15,280 15,190 C15,70 90,25 190,15 Q230,35 220,95 Q210,155 250,190 Q290,225 250,265 Q210,305 220,345 Q230,385 190,375 Q130,365 100,305 Q70,245 40,205 Q10,165 35,105 Q60,45 105,30 Q150,15 190,15 Z"
    );
    pointer-events: none;
}

.service-hero {
    position: relative;
    min-height: 400px;
    z-index: 1;
}

.service-hero__image {
    position: absolute;
    left: 0;
    bottom: -160px;
    width: calc(35% + 5vw);
    max-width: 889px;
    height: 500px;
    z-index: 2;
    overflow: hidden;
    border-radius: 0 var(--radius-l) var(--radius-l) 0;
}

.section--service-hero-reverse .service-hero__image {
    left: auto;
    right: 0;
    border-radius: var(--radius-l) 0 0 var(--radius-l);
}

.service-hero__image img {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    height: 100%;
    width: auto;
    max-width: none;
}

.service-hero__content {
    position: relative;
    z-index: 1;
    margin-left: 44%;
    padding-top: 40px;
    padding-left: 24px;
}

.service-hero--reverse .service-hero__content {
    margin-left: 0;
    margin-right: 44%;
}

.service-hero__title {
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
    font-size: clamp(3.2rem, 6vw, 5rem);
    font-weight: 600;
    margin-bottom: 24px;
    padding-bottom: 20px;
    color: var(--color-ink);
    position: relative;
}

.service-hero__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-service-recruit);
}

.section--cleaning .service-hero__title::after {
    background: var(--color-service-cleaning);
}

.service-hero__catchphrase {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--color-accent-deep);
}

.service-hero__desc {
    font-size: 1.5rem;
    line-height: 2;
    color: var(--color-ink-soft);
}

@media (min-width: 1148px) {
    .service-hero__image {
        width: 500px;
        left: calc(50vw - 550px - 110px);
        border-radius: var(--radius-l);
    }

    .section--service-hero-reverse .service-hero__image {
        left: auto;
        right: calc(50vw - 550px - 110px);
        border-radius: var(--radius-l);
    }
}

@media (max-width: 768px) {
    .service-hero {
        min-height: auto;
    }

    .section--service-hero {
        display: flex;
        flex-direction: column;
        padding: 80px 0 40px;
    }

    .service-hero__image {
        position: relative;
        order: 2;
        width: 90%;
        max-width: 500px;
        height: 300px;
        bottom: 0;
        left: 0;
        margin: 24px auto -180px;
        border-radius: var(--radius-l);
        z-index: 10;
    }

    .section--service-hero-reverse .service-hero__image {
        right: auto;
    }

    .service-hero__content {
        order: 1;
        margin-left: 0;
        margin-right: 0;
        padding: 32px 16px;
    }

    .service-hero--reverse .service-hero__content {
        margin-right: 0;
    }

    .service-hero__bg-text {
        font-size: 9.5vw;
        top: 20px;
    }
    .service-hero__bg-text--left {
        left: auto;
        right: 10px;
        text-align: right;
    }

    .section--service-hero.section--recruit::before,
    .section--service-hero.section--cleaning::before {
        top: auto;
        left: auto;
        bottom: -30px;
        right: -220px;
        transform: scale(0.6);
    }

    .section--service-hero.section--recruit::after,
    .section--service-hero.section--cleaning::after {
        display: none;
    }
}

.section--service-band {
    position: relative;
    padding: 200px 0 60px;
    z-index: 1;
    overflow: visible;
}

.section--service-band::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -1%;
    width: 102%;
    height: 200px;
    z-index: 1;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1441 360' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M 0 0 L 0 60 V 136 C 314 -127 957 359 1441 185 L 1440 0 Z'/%3E%3C/svg%3E")
        no-repeat center;
    background-size: 100% 100%;
    pointer-events: none;
}

.section--service-band.section--recruit {
    background: linear-gradient(135deg, #fdd89b 0%, #f9b4b4 100%);
}

.section--service-band.section--cleaning {
    background: linear-gradient(135deg, #8fd4c8 0%, #a3c4e6 100%);
}

.section--service-band.section--cleaning::before {
    transform: scaleX(-1);
}

@media (max-width: 768px) {
    .section--service-band::before {
        left: 0;
        width: 100%;
    }
}

.service-subsection {
    background: #fff;
    padding: 48px 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    border-radius: var(--radius-m);
    overflow: hidden;
}

.service-subsection:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .service-subsection {
        padding: 32px 24px;
        margin-bottom: 24px;
    }
}

.service-subsection__title {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-ink);
    position: relative;
    z-index: 1;
}

.service-subsection__title-label {
    display: block;
    font-family: "Noto Serif JP", "Yu Mincho", 游明朝, serif;
    font-size: 10rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    z-index: -1;
    pointer-events: none;
    line-height: 1;
}

.service-subsection__title-label--recruit {
    color: rgba(217, 119, 6, 0.05);
}

.service-subsection__title-label--cleaning {
    color: rgba(21, 132, 138, 0.05);
}

@media (max-width: 768px) {
    .service-subsection__title-label {
        font-size: 7rem;
    }

    .service-subsection__title {
        margin-bottom: 30px;
    }
}

/* Feature Cards (3-Column Grid) */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #fff;
    padding: 32px 24px;
    text-align: center;
}

.feature-card__icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(160, 160, 160, 0.07);
    border-radius: var(--radius-m);
    color: var(--color-accent-deep);
}

.feature-card__icon svg {
    width: 56px;
    height: 56px;
    stroke-width: 1.2;
}

.feature-card__title {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-accent-deep);
}

.feature-card__desc {
    font-size: 1.4rem;
    color: var(--color-ink-soft);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .feature-cards {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .feature-card {
        padding: 12px 20px;
    }
}

/* Service Area */
.service-subsection--area {
    text-align: center;
}

.area-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    background: #fff;
    padding: 48px;
    border-radius: var(--radius-l);
    border: 1px solid var(--color-line);
}

.area-content__map {
    flex-shrink: 0;
    background: #fffbf6;
    border-radius: var(--radius-m);
}

.area-content__map img {
    width: 280px;
    height: auto;
}

.area-content__text {
    text-align: left;
}

.area-content__main {
    font-size: 2.4rem;
    color: var(--color-ink);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.area-content__pin {
    color: var(--color-service-cleaning);
    flex-shrink: 0;
}

.area-content__main strong {
    color: var(--color-service-cleaning);
}

.area-content__sub {
    font-size: 1.4rem;
    color: var(--color-ink-soft);
    margin-bottom: 20px;
}

.area-content__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.btn-pill--cleaning {
    background: var(--color-service-cleaning);
    color: #fff;
    border: none;
}

.btn-pill--cleaning:hover {
    background: #3a8a8a;
}

@media (max-width: 768px) {
    .area-content {
        flex-direction: column;
        text-align: center;
        padding: 32px;
    }

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

    .area-content__main {
        justify-content: center;
    }

    .area-content__map img {
        width: 200px;
    }
}

/* Target Sections (2-Column Symmetric Layout) */
.section-label {
    display: block;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-align: center;
}

.section-label--recruit {
    color: var(--color-service-recruit);
}

.section-label--cleaning {
    color: var(--color-service-cleaning);
}

.target-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.target-section {
    background: #fff;
    padding: 40px 32px;
    padding-top: 48px;
    border-radius: var(--radius-l);
    border: 1px solid var(--color-line);
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.target-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    border-radius: 2px;
}

.target-section--recruit::before {
    background: var(--color-service-recruit);
}

.target-section--cleaning::before {
    background: var(--color-service-cleaning);
}

.target-section__title {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.target-section__title-icon {
    display: none;
}

.target-section__desc {
    font-size: 1.5rem;
    color: var(--color-ink-soft);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

.target-section__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    text-align: left;
    flex-grow: 1;
}

.target-section__list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 1.5rem;
    line-height: 1.6;
}

.target-section__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--color-accent-deep);
    border-radius: 50%;
}

/* Target Section Theme Variants */
.target-section--recruit .target-section__title-icon {
    color: var(--color-service-recruit);
}

.target-section--recruit .target-section__list li::before {
    background: var(--color-service-recruit);
}

.target-section--cleaning .target-section__title-icon {
    color: var(--color-service-cleaning);
}

.target-section--cleaning .target-section__list li::before {
    background: var(--color-service-cleaning);
}

.target-section__cta {
    margin-top: auto;
    padding-top: 24px;
    position: relative;
    z-index: 1;
}

.target-section__cta .btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 220px;
    padding: 14px 32px;
}

/* 背景アイコン */
.target-section__bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
    opacity: 0.05;
    pointer-events: none;
    color: var(--color-ink);
    z-index: 0;
}

@media (max-width: 768px) {
    .target-sections {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .target-section {
        padding: 32px 24px;
    }
}

/* ==========================================================================
   Service Flow (Base)
   ========================================================================== */

.process-flow {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 2.2vw, 28px);
    counter-reset: flow-counter;
    align-items: stretch;
    flex-wrap: nowrap;
}

.process-flow__item {
    display: flex;
    align-items: stretch;
    gap: 8px;
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}

/* 矢印（疑似要素） */
.process-flow__item::after {
    content: "";
    position: absolute;
    right: -11%;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: var(--color-accent);
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5l7 7-7 7' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 100% 100%;
    opacity: 0.5;
    pointer-events: none;
}

.process-flow__item:last-child::after {
    display: none;
}

.process-step {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 32px 12px;
    height: 100%;
    background: #fff;
    border-radius: var(--radius-l);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    text-align: center;
    border: 1px solid var(--color-line);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* STEP ピル型ラベル */
.process-step::before {
    counter-increment: flow-counter;
    content: "STEP " counter(flow-counter);
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    color: #fff;
    background: var(--color-service-recruit);
    padding: 6px 16px;
    border-radius: 999px;
    white-space: nowrap;
    z-index: 2;
}

.process-step__number {
    display: none;
}

.process-step__title {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 8px;
    color: var(--color-ink);
}

.process-step__desc {
    font-size: 1.2rem;
    color: var(--color-ink-soft);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 0;
    min-height: 3.2em;
}

.process-step__icon {
    margin-top: auto;
    padding-top: 0;
    display: flex;
    justify-content: center;
}

.process-step__icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    opacity: 0.8;
}

/* 矢印 */
.process-arrow {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    margin: 0 8px;
}

.process-arrow svg {
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

/* 最後のアイテムの矢印を非表示 */
.process-flow__item:last-child .process-arrow {
    display: none;
}

@media (min-width: 981px) {
    .process-flow {
        gap: clamp(16px, 2.2vw, 28px);
    }
}

@media (min-width: 769px) and (max-width: 980px) {
    .process-flow__item::after {
        display: none;
    }

    .process-arrow {
        display: none;
    }
    .process-step__title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .process-flow {
        flex-direction: column;
        flex-wrap: wrap;
        max-width: 480px;
        margin: 0 auto;
        gap: 40px;
    }

    .process-flow__item {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .process-step {
        width: 100%;
        max-width: 400px;
        flex: auto;
        margin: 0 auto;
    }

    .process-arrow {
        transform: rotate(90deg);
        margin: 16px 0;
        align-self: center;
    }

    .process-flow__item::after {
        right: auto;
        top: auto;
        left: 50%;
        bottom: -27px;
        transform: translateX(-50%) rotate(90deg);
    }
    .process-step__desc {
        margin-bottom: 10px;
        min-height: auto;
    }
}

/* ==========================================================================
   Subpage Specific Styles (CSS Scope Separation)
   ========================================================================== */

/* --- Subpage: Page Header --- */
/* --- Page Header (Subpage Hero/FV) --- */
.page-header {
    position: relative;
    min-height: 320px;
    margin-top: 74px;
    padding: 60px 0 60px;
    background-color: var(--color-hero-bg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 14, 20, 0.85) 0%,
        rgba(10, 14, 20, 0.5) 60%,
        rgba(10, 14, 20, 0.3) 100%
    );
}

.page-header__inner {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 600px;
}

.page-header__en {
    display: block;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.page-header__title {
    font-family: "Shippori Mincho", serif;
    font-size: clamp(3.6rem, calc(3vw + 2rem), 5.4rem);
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-header__lead {
    margin-top: 20px;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .page-header {
        min-height: 280px;
        margin-top: 80px;
        padding: 40px 0 40px;
    }

    .page-header__title {
        font-size: 3.2rem;
    }
}

/* Error pages */
.error-page .section--soft p {
    margin-bottom: 16px;
}

.error-page .list {
    margin: 16px 0 24px;
}

/* --- Section Title for Subpages (smaller than home) --- */
.page .section-title,
.single .section-title {
    font-size: clamp(2.8rem, calc(1.5vw + 2rem), 3.6rem);
    display: block;
    text-align: center;
}

.page .section-title::after,
.single .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

/* Keep home page section titles large and left-aligned */
.home .section-title {
    font-size: clamp(4.2rem, calc(2vw + 3rem), 5.4rem);
    display: inline-block;
    text-align: left;
}

.home .section-title::after {
    margin-left: 0;
    margin-right: 0;
}

/* Exception: centered titles remain centered on home page */
.home .section-title--center {
    display: block;
    text-align: center;
}

.home .section-title--center::after {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .service-layout__left .section-title {
        background-color: #fff;
    }
}

/* --- Common CTA Section --- */
.section--cta-common {
    background: linear-gradient(
        135deg,
        var(--color-accent) 0%,
        var(--color-accent-deep) 100%
    );
    padding: 48px 0;
    text-align: center;
}

.cta-common__inner {
    max-width: 600px;
    margin: 0 auto;
}

.cta-common__title {
    font-family: "Shippori Mincho", serif;
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 16px;
}

.cta-common__lead {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-common__phone {
    margin-bottom: 24px;
}

.cta-common__phone-number {
    display: block;
    font-size: 3.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.cta-common__phone-note {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

.cta-common__buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

@media (max-width: 768px) {
    .section--cta-common {
        padding: 60px 0;
    }

    .cta-common__phone-number {
        font-size: 2.8rem;
    }
}

/* --- Subpage: Company --- */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 32px;
}

.company-table th,
.company-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-line);
    text-align: left;
}

.company-table th {
    width: 200px;
    font-weight: 700;
    background-color: transparent;
    color: var(--color-ink);
}

@media (max-width: 768px) {
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 12px 0;
        border: none;
    }

    .company-table th {
        padding-bottom: 4px;
        color: var(--color-ink-soft);
        font-size: 1.4rem;
    }

    .company-table td {
        padding-top: 0;
        padding-bottom: 24px;
        border-bottom: 1px solid var(--color-line);
    }

    .company-table tr:last-child td {
        border-bottom: none;
    }
}

.philosophy-section {
    text-align: center;
    padding: 60px 0;
}

.philosophy-text {
    font-family: "Shippori Mincho", serif;
    font-size: clamp(2.4rem, calc(2vw + 1.6rem), 3.2rem);
    font-weight: 700;
    line-height: 1.8;
    color: var(--color-ink);
    font-feature-settings: "palt";
    letter-spacing: 0.05em;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .philosophy-text {
        line-height: 2.2;
    }
}

.philosophy-sub {
    font-size: 1.5rem;
    color: var(--color-ink-soft);
    line-height: 1.8;
    font-feature-settings: "palt";
}

/* --- Subpage: Recruit --- */
.recruit-box {
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-m);
    padding: 48px;
}

.recruit-info {
    margin-top: 40px;
}

.recruit-info h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent-deep);
    display: inline-block;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    background: var(--color-accent-deep);
    border-radius: 50%;
}

/* Recruit Box Enhancements */
.recruit-box__heading {
    font-size: 1.8rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent-deep);
    color: var(--color-ink);
}

.recruit-box__cta {
    text-align: center;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--color-line);
}

/* Recruit Page Table Styling */
.recruit-box .company-table th {
    background: var(--color-accent-deep);
    color: #fff;
    font-weight: 600;
}

/* Recruit Page Responsive */
@media (max-width: 768px) {
    /* Table to block layout on mobile */
    .recruit-box .company-table,
    .recruit-box .company-table tbody,
    .recruit-box .company-table tr,
    .recruit-box .company-table th,
    .recruit-box .company-table td {
        display: block;
        width: 100%;
    }

    .recruit-box .company-table tr {
        margin-bottom: 16px;
    }

    .recruit-box .company-table th {
        padding: 12px 16px;
        border-radius: var(--radius-s) var(--radius-s) 0 0;
    }

    .recruit-box .company-table td {
        padding: 16px;
        background: #fff;
        border: 1px solid var(--color-line);
        border-top: none;
        border-radius: 0 0 var(--radius-s) var(--radius-s);
    }

    /* Recruit box adjustments */
    .recruit-box {
        padding: 48px 3%;
    }

    .recruit-box__heading {
        font-size: 1.6rem;
        text-align: center;
    }

    .recruit-box__cta {
        margin-top: 32px;
        padding-top: 24px;
    }

    /* Section lead centering */
    .section-lead {
        text-align: center;
    }

    /* Check list adjustments */
    .check-list li {
        padding-left: 20px;
        font-size: 1.4rem;
    }

    .check-list li::before {
        width: 6px;
        height: 6px;
        top: 0.6em;
    }
}

/* --- Subpage: Contact (Contact Form 7) --- */
/* Contact Page (Contact Form 7) - Base */
.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 8px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--color-line);
    border-radius: 4px;
    background: #fff;
    font-size: 1.6rem;
    transition: border-color 0.3s;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: var(--color-accent);
    outline: none;
}

.wpcf7 input[type="submit"] {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 40px auto 0;
    padding: 16px;
    background: var(--color-hero-cta);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.wpcf7 input[type="submit"]:hover {
    background: var(--color-hero-cta-hover);
}

/* --- Subpage: Contact (Contact Form 7) Layout --- */
.contact-form-wrapper .form-group {
    margin-bottom: 32px;
}

.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap input[type="tel"],
.wpcf7-form-control-wrap textarea {
    background-color: #f2f2f2;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-s);
    padding: 12px 16px;
    font-size: 1.6rem;
    width: 100%;
}

.wpcf7-form-control-wrap textarea {
    height: 200px;
}

.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap textarea:focus {
    border-color: var(--color-accent);
    outline: none;
    background-color: #fff;
}

.wpcf7-form-control-wrap select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #f2f2f2;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-s);
    padding: 12px 40px 12px 16px;
    font-size: 1.6rem;
    color: var(--color-ink);
    width: 100%;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.wpcf7-form-control-wrap select:focus {
    border-color: var(--color-accent);
    outline: none;
    background-color: #fff;
}

.wpcf7 label {
    display: block;
    margin-bottom: -16px;
    font-weight: 700;
}

#contact-form {
    scroll-margin-top: 100px;
}

.form-privacy {
    text-align: center;
    margin: 24px 0 32px; 
    font-size: 1.5rem;
}

.privacy-link {
    text-align: center;
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.privacy-link a {
    color: #0066cc; 
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.3s;
}

.privacy-link a:hover {
    opacity: 0.7;
    text-decoration: none;
}

.privacy-check input[type="checkbox"] {
    transform: scale(1.4);
    margin-right: 8px;
    vertical-align: text-bottom;
    cursor: pointer;
}

.wpcf7 label .required {
    color: #e53935;
    margin-left: 4px;
}

.wpcf7-turnstile {
    display: flex;
    justify-content: center;
    margin: 24px 0;
}

@media (max-width: 900px) {
    #contact-form {
        scroll-margin-top: 80px;
    }
}

/* ==========================================================================
   Service Page: Mobile 375px Specific Adjustments
   ========================================================================== */
@media (max-width: 375px) {
    /* サービスヒーロー背景テキスト: 小さすぎるので拡大 */
    .service-hero__bg-text {
        font-size: clamp(4rem, 18vw, 6rem);
    }

    /* サブセクション英字タイトル背景テキスト: 大きすぎるので縮小 */
    .service-subsection__title-label {
        font-size: 4.5rem;
    }
}

/* ==========================================================================
   Service Page: Cleaning Gallery
   ========================================================================== */
.cleaning-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.cleaning-gallery__item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-m);
}

.cleaning-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cleaning-gallery__item:hover img {
    transform: scale(1.05);
}

.cleaning-gallery__placeholder {
    width: 100%;
    height: 100%;
    background: #e9e9e9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .cleaning-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* ==========================================================================
   Blog Grid (Front Page - 2 Column)
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 40px auto 0;
}

.blog-grid .blog-card {
    width: 100%;
}

.blog-grid .blog-card__link {
    display: block;
    height: 100%;
}

.blog-grid .blog-card__thumb {
    position: relative;
    border-radius: var(--radius-m) var(--radius-m) 0 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #e0e0e0;
}

.blog-grid .blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-grid .blog-card__link:hover .blog-card__thumb img {
    transform: scale(1.05);
}

.blog-grid .blog-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

.blog-grid .blog-card__placeholder img {
    width: 60%;
    height: auto;
    object-fit: contain;
}

.blog-grid .blog-card__body {
    padding: 12px 8px 0;
    text-align: center;
}

.blog-grid .blog-card__date {
    display: block;
    font-size: 1.3rem;
    color: var(--color-ink-soft);
    margin-bottom: 8px;
}

.blog-grid .blog-card__title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-ink);
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 400px;
    }
}

/* Blog Section Footer (もっと見るボタン) */
.blog-grid + .section-footer,
.blog-grid ~ .section-footer {
    text-align: center;
    margin-top: 40px;
}

/* Single Post Thumbnail (アイキャッチ画像) */
.single-post__thumbnail {
    margin: 24px 0 32px;
    border-radius: var(--radius-m);
    overflow: hidden;
}

.single-post__thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}
