@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');

/* =========================================
   Variables (Custom Properties)
========================================= */
:root {
    /* コーポレートカラー：信頼感と洗練さを両立したロゴ統一ネイビー (#0D336E) */
    --color-primary: #0D336E;
    --color-primary-hover: #143F80;
    --color-primary-dark: #08224E;
    --color-accent: #D32F2F;
    --gradient-primary: linear-gradient(135deg, #0D336E 0%, #20509E 100%);
    --gradient-hero: linear-gradient(rgba(13, 51, 110, 0.85), rgba(13, 51, 110, 0.65));

    --color-secondary: #f4f7fb;

    /* テキストカラー */
    --color-text-main: #1a1a1a;
    --color-text-muted: #4a5568;
    --color-white: #ffffff;

    /* 背景色 */
    --color-bg-body: #ffffff;
    --color-bg-light: #f8fafc;

    /* ボーダー */
    --color-border: #e2e8f0;

    /* エラー色 */
    --color-error: #f56565;

    /* フォント設定 */
    --font-family-main: 'Inter', 'Noto Sans JP', sans-serif;
    --font-family-logo: 'Audiowide', var(--font-family-main);
}

/*  */
.hp-field {
    display: none !important;
}

/* =========================================
   Reset & Base
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-main);
    color: var(--color-text-main);
    background-color: var(--color-bg-body);
    line-height: 1.6;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

html {
    overflow-x: hidden;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-hover);
}

/* ボタン要素ではホバー時に文字色が消えないようにする */
.btn:hover {
    color: var(--color-white);
}

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

ul,
ol {
    list-style: none;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-primary);
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--color-primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

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

.sp-only {
    display: none;
}

.hero-nowrap {
    white-space: nowrap;
}

.lead-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--color-text-muted);
}

/* =========================================
   Buttons
========================================= */
.btn {
    display: inline-block;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    padding-bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.8s cubic-bezier(0.19, 1, 0.22, 1), padding-bottom 0.8s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.8s ease-out;
    z-index: -1;
}

.btn:hover::after {
    width: 300%;
    padding-bottom: 300%;
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 10px 20px rgba(0, 98, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 98, 255, 0.3);
    filter: brightness(1.1);
}

.btn-hero {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    backdrop-filter: blur(5px);
    /* 少し背景をぼかして視認性をアップ */
}

.btn-hero:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* =========================================
   Animations
========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Header
========================================= */
.header {
    background-color: var(--color-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    line-height: 1;
}

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transform: translateY(3px);
    font-family: var(--font-family-logo);
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.logo-mark {
    width: auto;
    height: 40px;
    flex-shrink: 0;
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav a {
    color: var(--color-text-main);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1;
    position: relative;
    white-space: nowrap;
}

.nav a:not(.btn-contact)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.nav a:not(.btn-contact):hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a:not(.btn-contact):hover,
.nav a:not(.btn-contact).active {
    color: var(--color-primary);
}

.nav .btn-contact {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 12px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav .btn-contact:hover {
    background-color: var(--color-primary-hover);
    color: var(--color-white);
    box-shadow: 0 4px 10px rgba(26, 91, 184, 0.2);
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* =========================================
   Hero (Top Page)
========================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    background: var(--gradient-hero), url('images/hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -85px;
    /* ヘッダーの下に潜り込ませる */
}

.hero-content {
    color: var(--color-white);
    animation: fadeIn 1.5s ease;
    max-width: 800px;
}

.slogan {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 0.15em;
    opacity: 0.9;
}

.hero-desc {
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.3;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 45px;
    opacity: 0.9;
    letter-spacing: 0.1em;
}

/* =========================================
   Cards (Top Page Services)
========================================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 30px;
}

.card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.card-body p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* =========================================
   Page Header (Sub Pages)
========================================= */
.page-header {
    background-color: var(--color-secondary);
    padding: 80px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    font-size: 1rem;
    color: var(--color-text-muted);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.service-section {
    scroll-margin-top: 150px;
    /* 余白を増やして、よりゆったりとした着地感に調整 */
}

/* =========================================
    Service Page
========================================= */
.service-content {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-content.reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 1;
}

.service-text h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--color-text-main);
}

.service-text p {
    margin-bottom: 20px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.service-image {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--color-primary);
    transition: transform 0.3s, opacity 0.8s, transform 0.8s;
}

.feature-item:nth-child(1) { transition-delay: 0.1s; }
.feature-item:nth-child(2) { transition-delay: 0.2s; }
.feature-item:nth-child(3) { transition-delay: 0.3s; }

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-secondary);
    font-weight: 700;
    margin-bottom: 15px;
    color: rgba(26, 91, 184, 0.2);
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-text-main);
}

.feature-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* =========================================
   Company Page
========================================= */
.company-wrapper {
    background-color: var(--color-white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* =========================================
   Modern CEO Message Section
========================================= */
.message-modern-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 0; /* ヘッダーとの十分な余白を確保 */
}

.message-bg-text {
    position: absolute;
    top: 0;
    left: 20px;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(13, 51, 110, 0.04);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 0;
    user-select: none;
    white-space: nowrap;
}

.message-grid {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.message-image {
    flex: 0 0 40%;
    position: sticky;
    top: 120px; /* スクロール追従（ヘッダーの高さを考慮） */
}

/* 野暮ったい枠線(::before)は削除 */

.image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--gradient-primary);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.image-placeholder::after {
    content: 'Photo Area';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.4);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.ceo-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    display: block;
}

.message-content-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 60px 50px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    margin-top: 60px; /* 画像とずらす */
    margin-left: -80px; /* 画像に少し被せる */
}

.message-title {
    margin-bottom: 50px;
}

.message-title .en {
    display: block;
    font-size: 0.9rem;
    color: var(--color-primary);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.message-title .jp {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-top: 5px;
}

.message-lead {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.6;
    margin-bottom: 40px !important;
    letter-spacing: 0.05em;
    /* 古いborder-leftを削除し、タイポグラフィで勝負 */
}

.message-lead span {
    color: var(--color-primary); /* 「人の力」などの強調色 */
}

.ceo-message-content {
    line-height: 2.2;
    color: var(--color-text-muted); /* 少し色を落として上品に */
    font-size: 1rem;
    letter-spacing: 0.03em;
}

.ceo-message-content p {
    margin-bottom: 25px; /* 段落の間隔を少し調整 */
}

.message-list {
    margin: 15px 0 30px 15px;
    padding-left: 20px;
    border-left: 2px solid rgba(13, 51, 110, 0.2);
}

.message-list li {
    margin-bottom: 10px;
    color: var(--color-text-main);
    font-weight: 500;
    position: relative;
}

.message-list li::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.message-quotes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0 35px 0;
}

.message-quotes span {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(13, 51, 110, 0.05);
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--color-text-main);
    font-weight: 600;
    border: 1px solid rgba(13, 51, 110, 0.1);
}

.ceo-message-content p:last-child {
    margin-bottom: 0;
}

.ceo-message-content p.signature {
    text-align: right;
    margin-top: 60px;
    font-size: 1.1rem;
    color: var(--color-text-main);
}

.ceo-message-content p.signature strong {
    display: block;
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-top: 10px;
}

@media (max-width: 768px) {
    .message-section {
        margin-bottom: 60px !important;
    }
    .message-modern-container {
        padding: 0;
    }
    .message-grid {
        flex-direction: column;
        gap: 0;
    }
    .message-image {
        position: relative;
        top: 0;
        flex: none;
        width: calc(100% + 30px);
        max-width: none;
        margin: 0 -15px;
    }
    .ceo-photo {
        width: 100%;
        aspect-ratio: 4/3;
        border-radius: 0;
        box-shadow: none;
    }
    .message-content-box {
        margin-top: -30px;
        margin-left: 0;
        padding: 40px 20px 30px;
        border-radius: 16px 16px 0 0;
        position: relative;
        z-index: 2;
        box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
    }
    .message-title {
        margin-bottom: 30px;
    }
    .message-title .jp {
        font-size: 1.5rem;
    }
    .message-lead {
        font-size: 1.15rem;
        margin-bottom: 25px !important;
    }
    .ceo-message-content {
        font-size: 0.95rem;
        line-height: 2;
    }
    .ceo-message-content p {
        margin-bottom: 20px;
    }
    .ceo-message-content p.signature {
        margin-top: 40px;
    }
}



.company-table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 25px 20px;
    border-bottom: 1px solid var(--color-border);
}

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

.company-table th {
    width: 25%;
    text-align: left;
    font-weight: 700;
    color: var(--color-primary);
    vertical-align: top;
}

.company-table td {
    color: var(--color-text-main);
}

.company-table td ul {
    list-style: disc;
    padding-left: 20px;
}

.company-table td ul li {
    margin-bottom: 8px;
}

/* =========================================
   Contact Page
========================================= */
.contact-lead {
    margin-bottom: 50px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-form {
    max-width: 750px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--color-text-main);
}

.required {
    background-color: var(--color-error);
    color: var(--color-white);
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: normal;
    white-space: nowrap;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: var(--color-bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(26, 91, 184, 0.1);
}

.form-group input.has-error,
.form-group textarea.has-error {
    border-color: var(--color-error);
    background-color: #fff8f8;
}

.error-msg {
    color: var(--color-error);
    font-size: 0.85rem;
    margin-top: 8px;
    display: none;
    font-weight: 500;
}

.form-submit {
    text-align: center;
    margin-top: 50px;
}

.btn-submit {
    width: 100%;
    max-width: 350px;
    padding: 18px;
    font-size: 1.1rem;
}

/* =========================================
   Agreement Checkbox
========================================= */
.agreement-group {
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: left; /* 左寄せを保証 */
}

.agreement-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* 他のlabelと統一 */
}

.agreement-title {
    font-weight: 700; /* 700に統一 */
    color: var(--color-text-main); /* 色を統一 */
    font-size: 1rem; /* サイズを統一 */
}

.agreement-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
}

.agreement-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #0d336e;
    flex-shrink: 0;
    vertical-align: middle;
}

.agreement-label .agreement-text a {
    color: #0d336e;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.agreement-label .agreement-text a:hover {
    opacity: 0.7;
}

#agreement-error {
    margin-top: 10px;
    text-align: left;
}

/* =========================================
   Footer
========================================= */
.footer {
    background-color: #111111;
    color: var(--color-white);
    padding: 80px 0 20px;
}

.footer-info {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-family-logo);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.footer-info p {
    color: #888888;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-links a {
    color: #cccccc;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333333;
    padding-top: 25px;
    font-size: 0.85rem;
    color: #666666;
}

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

    .header-inner {
        height: 70px;
    }

    .logo a {
        font-size: 1.45rem;
        gap: 8px;
    }

    .logo-mark {
        height: 34px;
    }

    .nav ul {
        gap: 18px;
    }

    .nav a {
        font-size: 0.9rem;
    }

    .nav .btn-contact {
        padding: 10px 16px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 70px;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        transform: translateY(-20px);
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav ul {
        flex-direction: column;
        gap: 35px;
        text-align: center;
    }

    .nav a {
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--color-primary);
    }

    .hamburger {
        display: block;
        width: 28px;
        height: 20px;
        position: relative;
        z-index: 999;
        cursor: pointer;
    }

    .hamburger span {
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--color-primary);
        left: 0;
        transition: 0.3s;
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }

    .hamburger span:nth-child(2) {
        top: 9px;
    }

    .hamburger span:nth-child(3) {
        top: 18px;
    }

    .hamburger.active span:nth-child(1) {
        top: 9px;
        transform: rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        top: 9px;
        transform: rotate(-45deg);
    }

    .hero-content h2 {
        font-size: 2rem;
        line-height: 1.45;
        margin-bottom: 18px;
        letter-spacing: 0.03em;
    }

    .hero {
        min-height: 640px;
        align-items: flex-start;
        padding: 190px 20px 0;
    }

    .hero-content {
        max-width: 335px;
        margin: 0 auto;
    }

    .hero-content .hero-desc {
        margin-top: 0;
        font-size: 0.95rem;
        line-height: 1.9;
        letter-spacing: 0.04em;
        margin-bottom: 30px;
    }

    .hero-content .btn-hero {
        margin-top: 8px;
        padding: 14px 34px;
        font-size: 0.95rem;
    }

    .sp-only {
        display: block;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-text h3 {
        font-size: 1.3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .card-grid,
    .features {
        grid-template-columns: 1fr;
    }

    .service-content,
    .service-content.reverse {
        flex-direction: column;
        gap: 40px;
    }

    .company-wrapper {
        padding: 30px 20px;
    }

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

    .company-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }

    .company-table td {
        padding-top: 0;
        padding-bottom: 25px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}

/* =========================================
   Recruit CTA & Numbers & animations
========================================= */
.recruit-cta {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translateZ(0);
    /* iOS Safari 描画バグ対策 */
}

.recruit-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.recruit-cta .container {
    position: relative;
    z-index: 2;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.recruit-cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
}

.recruit-cta .btn-white {
    background: #fff;
    color: var(--color-primary);
    margin-top: 30px;
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

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

.number-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary);
    display: block;
    line-height: 1;
}

.number-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 600;
}
