/* ========================================
   リセットCSS
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    overflow-y: scroll; /* Chrome PC：スクロール主体を統一してFV付近の引っかかりを軽減 */
    scroll-behavior: smooth;
}

/* ========================================
   Topページ：ふわっと表示アニメーション
   ======================================== */
body.top-page {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

body.top-page.loaded {
    opacity: 1;
}

/* ふわっとアニメーションは無効化（常に表示） */
.animate-on-scroll {
    opacity: 1;
    transform: none;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

/* ========================================
   ページローディングアニメーション（animoSquareLoader）
   ======================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.animoSquareLoader {
    position: relative;
    box-sizing: border-box;
    width: 2em;
    height: 2em;
    border: 3px solid #24366F;
    overflow: hidden;
    animation: spin 3s ease infinite;
}

.animoSquareLoader::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 2em;
    height: 2em;
    background-color: #24366F;
    transform-origin: center bottom;
    transform: scaleY(1);
    animation: fill 3s linear infinite;
}

@keyframes spin {
    100%, 50% {
        transform: rotate(360deg);
    }
}

@keyframes fill {
    25%, 50% {
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
    }
}

/* ========================================
   セクションタイトル用フェードインアップ
   ======================================== */
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeInUp {
    opacity: 0;
}

.animate__fadeInUp.is-animated {
    animation-name: fadeInUp;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* ========================================
   ベーススタイル
   ======================================== */
body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    font-size: 16px;
    overflow-x: hidden;
}

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

/* SP専用表示クラス（PCでは非表示） */
.sp-only {
    display: block;
}

/* PC専用改行（SPでは非表示） */
.pc-only {
    display: none;
}

/* ========================================
   ヘッダー（全ページ共通）
   白背景、ハンバーガーメニュー
   ======================================== */
.header {
    background-color: #FFFFFF; /* 白背景 */
    color: #333;
    padding: 0;
    height: 60px; /* ヘッダーの高さを60pxに設定 */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); /* うっすらとした影 */
}

body {
    padding-top: 60px; /* 固定ヘッダー分（SP） */
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%; /* ヘッダーの高さに合わせる */
    position: relative;
    padding-left: 16px; /* 左側のみ余白（containerに合わせる） */
}

.header-logo {
    margin: 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

/* ハンバーガーメニューボタン */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60px; /* 幅60px */
    height: 60px; /* 高さ60px */
    background-color: #24366F; /* ネイビー背景 */
    border: none;
    border-radius: 0; /* 角の丸みなし */
    cursor: pointer;
    padding: 0;
    z-index: 101;
    gap: 8px; /* 線と線の間を8px */
    margin-right: 0; /* 右側の余白を削除 */
    position: absolute;
    right: 0; /* 完全に右に詰める */
}

.hamburger-btn span {
    width: 36px; /* 幅36px */
    height: 2px;
    background-color: #FFFFFF; /* 白 */
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* PC版ヘッダー（768px以上で表示） */
.header-pc {
    display: none;
}

/* フッター：会社名・スローガン（768px以上で表示） */
.footer-company {
    display: none;
}

/* サイドメニュー */
.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: #E0EBF6; /* ボディ背景色 */
    z-index: 200;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
}

.side-menu.open {
    right: 0;
}

.side-menu-header {
    background-color: #FFFFFF; /* 白背景 */
    height: 60px; /* 高さ60px */
    padding: 0 0 0 16px; /* 左16pxの余白のみ */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); /* うっすらとした影 */
}

.side-menu-logo {
    flex: 1;
    display: flex;
    align-items: center;
    height: 100%;
    padding-top: 13.5px; /* 上13.5pxの余白 */
    padding-bottom: 13.5px; /* 下13.5pxの余白 */
    padding-left: 16px; /* 左16pxの余白 */
}

.side-menu-logo .logo-img {
    height: auto;
    width: auto;
    max-height: 33px; /* 60px - 13.5px * 2 = 33px */
}

.side-menu-company {
    display: none; /* ロゴを使用するため非表示 */
}

.side-menu-subtitle {
    display: none; /* ロゴを使用するため非表示 */
}

.side-menu-close {
    width: 60px; /* 幅60px */
    height: 60px; /* 高さ60px */
    background-color: #24366F; /* ネイビー背景 */
    border: none;
    border-radius: 0; /* 角の丸みなし */
    color: #FFFFFF; /* 白 */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s;
    margin-right: 0; /* 右側の余白を削除 */
    position: absolute;
    right: 0; /* 完全に右に詰める */
}

.side-menu-close:hover {
    background-color: #1a2855;
}

.side-menu-close svg {
    stroke: #FFFFFF;
    width: 25.54px; /* 幅25.54px */
    height: 25.54px; /* 高さ25.54px */
}

.side-menu-nav {
    padding: 0;
}

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

.side-menu-list li {
    border-bottom: 1px solid rgba(36, 54, 111, 0.2); /* ネイビーの薄い境界線 */
}

.side-menu-list a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    color: #24366F; /* ネイビー（背景がライトブルーのため） */
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s;
    text-align: center;
}

.side-menu-list a:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.menu-icon {
    font-size: 12px;
    color: #24366F; /* ネイビー */
    margin-left: 4px;
}

.side-menu-contact {
    padding: 40px 16px;
    text-align: center;
}

.side-menu-contact-text {
    color: #24366F; /* ネイビー */
    font-size: 16px;
    margin-bottom: 8px;
}

.side-menu-contact-text:last-of-type {
    margin-bottom: 24px;
}

.side-menu-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background-color: #FFFFFF; /* 白背景 */
    color: #24366F; /* ネイビー文字 */
    text-decoration: none;
    border-radius: 30px; /* 大きく丸みを帯びた角 */
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(36, 54, 111, 0.3), 0 0 40px rgba(36, 54, 111, 0.2); /* 青いグロー効果 */
    transition: all 0.3s;
    position: relative;
}

.side-menu-contact-btn::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #24366F; /* ネイビーの丸 */
    border-radius: 50%;
    display: inline-block;
    margin-left: 4px;
}

.side-menu-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(36, 54, 111, 0.4), 0 0 50px rgba(36, 54, 111, 0.3);
}

/* サイドメニューオーバーレイ */
.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.side-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   採用情報バナー
   ======================================== */
.recruit-banner {
    background-color: #FFFFFF;
    border-bottom: 2px solid #24366F;
    padding: 18px 16px; /* 上下18px、左右16px */
    text-align: center;
    position: relative;
}

.recruit-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.recruit-banner-text {
    font-size: clamp(10px, 3.5vw, 14px);
    color: #24366F;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 11.28px;
    flex-wrap: nowrap;
    font-weight: bold;
    white-space: nowrap;
}

.recruit-banner-text > *:first-child {
    flex: 1;
    text-align: left;
}

.recruit-banner-link {
    color: #FF8C00; /* オレンジ色 */
    text-decoration: underline;
    font-weight: bold; /* 太字に修正 */
    transition: opacity 0.3s;
    white-space: nowrap;
    font-size: 14px; /* 14pxに修正 */
}

.recruit-banner-link:hover {
    opacity: 0.8;
}

/* ========================================
   メインコンテンツ
   ======================================== */
main {
    min-height: calc(100vh - 200px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 80px 0; /* 余白広め */
}

/* セクション見出し（英語） */
.section-title-en {
    font-size: 32px;
    font-weight: bold;
    color: #1a1f3a;
    margin-bottom: 12px;
}

/* セクションサブタイトル（日本語） */
.section-subtitle {
    font-size: 20px;
    color: #1a1f3a;
    margin-bottom: 40px;
    font-weight: normal;
}

/* ========================================
   FV（ファーストビュー）セクション
   背景画像、白いキャッチコピー、2つのCTAボタン
   ======================================== */
.fv {
    background-image: url('../images/fv-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1f3a; /* フォールバック */
    color: #fff;
    padding: 0;
    text-align: left;
    height: 580px; /* SP版の高さ固定 */
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    overflow: visible;
    transform: translateZ(0); /* Chrome PC：独自レイヤー化してスクロール境界の引っかかりを軽減 */
    will-change: auto;
}

.fv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 31, 58, 0.3); /* オーバーレイ */
    z-index: 1;
}

.fv-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    position: relative;
    z-index: 2;
}

.fv-text {
    /* SP: ラッパーはブロックのまま */
}

.fv-catch {
    font-size: 43px;
    font-weight: bold;
    line-height: 1.2;
    margin-top: 193px;
    margin-left: 22px;
    margin-bottom: 20px;
    color: #fff;
    text-align: left;
}

.fv-sub {
    font-size: 20px;
    line-height: 1.5;
    margin-left: 22px;
    margin-bottom: 40px;
    color: #fff;
    text-align: left;
    font-weight: bold;
}

.fv-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center; /* ボタンを中央揃え */
    width: 100%;
}

.btn-fv:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* スクロールダウン表示 */
.fv-scroll {
    position: absolute;
    right: 20px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.fv-scroll-text {
    writing-mode: vertical-rl;
    font-size: 14px;
    color: #fff;
    letter-spacing: 0.1em;
}

.fv-scroll-line {
    width: 1px;
    height: 60px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.fv-scroll-line::after {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #87CEEB;
    animation: scroll-line 2s infinite;
}

@keyframes scroll-line {
    0% { top: -60px; }
    50% { top: 0; }
    100% { top: 60px; }
}

/* ========================================
   ボタンスタイル
   ======================================== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    background-color: #1a1f3a;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #2d3561;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 20px 60px;
    font-size: 18px;
    border-radius: 8px;
    background-color: #87CEEB;
}

.btn-large:hover {
    background-color: #6BB6D6;
}

/* FVボタン */
.btn-fv {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFF; /* 白(#FFF)で塗りつぶし */
    color: #24366F; /* 文字色はネイビー */
    text-decoration: none;
    border-radius: 48.5px; /* 角丸48.5px */
    font-size: 19px; /* 19pxへ修正 */
    font-weight: bold;
    text-align: center;
    transition: all 0.3s;
    border: none;
    position: relative;
    margin: 0 auto;
    overflow: hidden; /* 内側のシャドウがはみ出ないように */
}

.btn-glow-blue {
    padding: 13px 23px; /* 上ボタン：Paddingを(13px,23px) */
    width: 246px; /* 元の幅を維持 */
    box-shadow: inset 0 0 10px 4px rgba(135, 206, 235, 0.8);
}

.btn-glow-yellow {
    width: 197px; /* 下ボタン：幅197 */
    padding: 13px 30px; /* 下ボタン：Paddingを(13px,30px) */
    box-shadow: inset 0 0 10px 4px rgba(255, 255, 224, 0.8);
}

.btn-fv:hover {
    transform: scale(1.05);
    background-color: #24366F; /* 背景をネイビーに */
    color: #FFF; /* 文字色を白に */
    box-shadow: inset 0 0 10px 4px #FFF; /* エフェクト（インセットシャドウ）を白で維持 */
    opacity: 1; /* 透明度は下げない */
}
/* ========================================
   About us + Strength ラッパー（PC版で1枚の背景用）
   ======================================== */
.about-strength-wrapper {
    /* SPでは通常のブロック */
}

/* ========================================
   About usセクション
   背景#E0EBF6、上にabout-bg_illustration.jpgを配置（回転0°）
   ======================================== */
.section.about {
    padding: 0; /* sectionの80pxは使わない */
}
.about {
    background-color: #E0EBF6;
    position: relative;
    overflow: hidden; /* 背景画像の回転による縦・横のはみ出しで余白が流れるのを防止 */
}

/* About us：containerに背景画像、横幅100%で画面幅に合わせてスケール */
.about .container {
    position: relative;
    z-index: 1;
    background-image: url('../images/about-bg_illustration.jpg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    padding-top: clamp(64px, 22vw, 120px);
}

.about-text {
    flex: 1;
    width: 100%;
}

.about-text-bottom {
    width: 100%;
}

/* About us 見出し：A-OTF Shin Go Pro、SPは fluid / PCは50px */
.about-title {
    display: inline-block;
    font-family: 'A-OTF Shin Go Pro', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px; /* 私たちの役割より10px下に位置＝私たちの役割がAbout usより10px下 */
    background: linear-gradient(to right, #24366F 0%, #4D80AC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* 私たちの役割：16px、About usより10px下、暮らしの全て〜との間は余白多め */
.about-role {
    font-size: 16px;
    color: #24366F;
    margin-bottom: 10px;
}

/* 暮らしの全ては／水からはじまる。：SPは fluid、サブタイトルとの間に余白 */
.about-catch {
    font-size: 30px;
    font-weight: bold;
    color: #24366F;
    line-height: 1.5;
    margin-top: 24px; /* サブタイトルとの間を広く */
    margin-bottom: 24px; /* イラストとの間 */
}

/* 水道工事イラスト：SPでは見出しと本文の間で右詰め、Marginなし */
.about-image {
    width: calc(100% + 16px);
    max-width: none;
    margin: 0 -16px 0 0;
    text-align: right;
    box-sizing: border-box;
}

.about-image img,
.about-image picture {
    display: block;
    margin-left: auto;
    margin-right: 0;
}

.about-image img {
    max-width: min(100%, 480px);
    height: auto;
    vertical-align: bottom;
}

.about-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-top: 0;
    margin-bottom: 70px; /* Strengthセクションまで70px */
}


/* ========================================
   Strengthセクション
   4つのブロック（01-04）で仕事内容を紹介
   ======================================== */
.strength {
    background-color: #E0EBF6; /* About usと同じ背景色 */
}

/* Strength 見出し：About usと同じ表現（A-OTF Shin Go Pro、40px、グラデーション） */
.strength-heading {
    display: inline-block;
    font-family: 'A-OTF Shin Go Pro', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(to right, #24366F 0%, #4D80AC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* 私たちの強み：16px、Strengthの下10px */
.strength-role {
    font-size: 16px;
    color: #24366F;
    margin-bottom: 10px;
}

/* キャッチコピー：SPは fluid、私たちの強みの下10px */
.strength-catch {
    font-size: 30px;
    font-weight: bold;
    color: #24366F;
    line-height: 1.5;
    margin-bottom: 48px;
}

.strength-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 0;
}

.strength-item {
    background-color: #E0EBF6; /* セクション背景色と同じ */
}

/* 番号とタイトルを横並びに */
.strength-item-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

/* 番号：SPは fluid、グラデーション（左#24366F→右#78CFEC） */
.strength-number {
    font-size: 50px;
    font-weight: bold;
    background: linear-gradient(to right, #24366F 0%, #78CFEC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    flex-shrink: 0;
    line-height: 1;
}

/* タイトル：SPは fluid、黒 */
.strength-title {
    font-size: 25px;
    font-weight: normal;
    color: #000;
    margin: 0;
    line-height: 1.4;
}

.strength-image {
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
}

.strength-image img {
    width: 100%;
    height: auto;
    display: block;
}

.strength-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* ========================================
   Serviceセクション
   ======================================== */
.service {
    background: #fff;
    padding-top: 40px;
    padding-bottom: 0;
}

.service-heading {
    display: inline-block;
    font-family: 'A-OTF Shin Go Pro', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 8px;
    background: linear-gradient(to right, #24366F 0%, #4D80AC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.service-role {
    font-size: 16px;
    color: #24366F;
    margin-bottom: 10px;
}

.service-catch {
    font-size: 30px;
    line-height: 1.5;
    font-weight: bold;
    color: #111;
    margin-bottom: 20px;
}

.service-lead {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 2px;
    color: #333;
}

.service-cards {
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.service-card {
    padding-top: 0;
    box-shadow: none;
}

.service-card-media {
    position: relative;
    box-shadow: none;
}

.service-card-image {
    width: 100%;
    height: auto;
    border-radius: 14px;
    margin-bottom: 0;
    display: block;
    border: none;
}

.service-card-text {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    margin-top: 30px;
}

.service-reform-banner {
    margin-top: 50px;
    width: 100%;
    max-width: 100%;
    background-image:
        linear-gradient(rgba(36, 54, 111, 0.68), rgba(36, 54, 111, 0.68)),
        url('../images/service-reform-banner-bg.jpg');
    background-size: 100% auto;
    background-position: left top;
    background-repeat: no-repeat;
    aspect-ratio: 1440 / 320;
    padding: 64px 0;
    display: flex;
    align-items: center;
}

/* 425px以下はSP背景を優先（未配置時は既存画像へフォールバック） */
@media (max-width: 425px) {
    .service-reform-banner {
        background-image:
            linear-gradient(rgba(36, 54, 111, 0.68), rgba(36, 54, 111, 0.68)),
            url('../images/service-reform-banner-bg-sp.jpg'),
            url('../images/service-reform-banner-bg.jpg');
    }
}

.service-reform-banner-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 16px;
    padding-right: 16px;
}

.service-reform-banner-text h3 {
    color: #fff;
    font-size: 25px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-reform-banner-text p {
    color: #fff;
    font-size: 14px;
    line-height: 1.8;
}

.service-reform-banner-btn {
    flex-shrink: 0;
    margin: 20px auto;
    align-self: center;
}

.service-reform-list-wrap {
    background: #E0EBF6;
    padding: 42px 0 0;
}

.service-reform-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: center;
    padding: 22px 0;
    border-bottom: none;
}

.service-reform-item:first-child {
    padding-top: 0;
}

.service-reform-copy h4 {
    font-size: 25px;
    color: #24366F;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 3px solid #f4f7fb;
}

.service-reform-copy p {
    font-size: 16px;
    color: #24366F;
    line-height: 1.95;
    margin-bottom: 2px;
}

.service-reform-icons {
    display: grid;
    grid-template-columns: repeat(2, 82px);
    gap: 12px;
    justify-content: center;
}

.service-icon {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #dde6f2;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 95%;
}

.service-icon::before {
    content: none;
}

/* アイコン形状（画像レイアウトに合わせた6種類） */
.service-icon-kitchen::before {
    content: none;
}

.service-icon-faucet::before {
    content: none;
}

.service-icon-toilet::before {
    content: none;
}

.service-icon-wheelchair::before {
    content: none;
}

.service-icon-shower::before {
    content: none;
}

.service-icon-bath::before {
    content: none;
}

.service-icon-kitchen {
    background-image: url('../images/service-icon-kitchen.jpg');
}

.service-icon-faucet {
    background-image: url('../images/service-icon-faucet.jpg');
}

.service-icon-toilet {
    background-image: url('../images/service-icon-toilet.jpg');
}

.service-icon-wheelchair {
    background-image: url('../images/service-icon-wheelchair.jpg');
}

.service-icon-shower {
    background-image: url('../images/service-icon-shower.jpg');
}

.service-icon-bath {
    background-image: url('../images/service-icon-bath.jpg');
}

/* ========================================
   Top messageセクション
   背景#E0EBF6＋topmessage-bg.jpg、代表メッセージ
   ======================================== */
.section.message {
    padding: 113px 0 0;
    margin-bottom: 113px;
}

.message {
    background-color: #E0EBF6;
    background-image: url('../images/topmessage-bg_sp.jpg');
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
}

/* Top message 見出し：40px、グラデーション（左#24366F→右#64AACE） */
.message-heading {
    display: inline-block;
    font-family: 'A-OTF Shin Go Pro', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(to right, #24366F 0%, #64AACE 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* 代表メッセージ：16px、Top messageの下10px */
.message-role {
    font-size: 16px;
    color: #24366F;
    margin-bottom: 10px;
}

/* 地域の暮らしを支える責任を胸に。：SPは fluid、その下に人物画像 */
.message-catch {
    font-size: 30px;
    font-weight: bold;
    color: #24366F;
    line-height: 1.5;
    margin-bottom: 70px;
}

/* 代表画像：地域の暮らしを支える〜の70px下、画像の9px下にテキスト */
.message-text {
    margin-bottom: 15px;
}

.message-text p {
    font-size: 16px;
    line-height: 36px;
    color: #333;
    margin-bottom: 24px;
}

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

/* 株式会社芳賀設備 代表取締役：16px、テキストの15px下 */
.message-title {
    font-size: 16px;
    color: #333;
    margin-top: 53px;
    margin-bottom: 12px;
}

/* 芳賀元春：SPは fluid、代表取締役の下、テキスト色黒 */
.message-name {
    font-size: 25px;
    font-weight: bold;
    color: #000000;
    margin: 0;
}

/* ========================================
   Recruit + Work with us ラッパー（PC版で1枚の背景用）
   ======================================== */
.recruit-work-with-us-wrapper {
}

/* ========================================
   Recruitセクション
   背景#E0EBF6、containerにrecruiting_bg.jpg（横幅100%でスケール）
   ======================================== */
.section.recruit {
    padding-top: 0;
}

.recruit {
    background-color: #E0EBF6;
}

.recruit .container {
    background-image: url('../images/recruiting_bg.jpg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center 80px;
}

/* Recruit 見出し：40px、上87px・グラデーション（左#24366F→右#64AACE） */
.recruit-heading {
    display: inline-block;
    font-family: 'A-OTF Shin Go Pro', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    font-size: 40px;
    font-weight: bold;
    margin-top: 87px;
    margin-bottom: 0;
    background: linear-gradient(to right, #24366F 0%, #64AACE 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* 採用情報：16px、Recruitの下10px */
.recruit-role {
    font-size: 16px;
    color: #24366F;
    margin-bottom: 10px;
}

/* 地域インフラを支える誇りある仕事。：SPは fluid、その下にイラスト */
.recruit-catch {
    font-size: 30px;
    font-weight: bold;
    color: #24366F;
    line-height: 1.5;
    margin-bottom: 14px;
}

/* 採用イラスト：右端余白なく（コンテナ右padding分の負マージン）、下は「この仕事が誇れる理由」まで */
.recruit-illustration {
    margin-bottom: 80px;
    margin-right: -16px;
    text-align: right;
}

.recruit-illustration img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
}

/* この仕事が誇れる理由 */
.recruit-reasons {
    text-align: center;
    margin-bottom: 0;
}

.recruit-reasons-title {
    font-family: 'A-OTF Shin Go Pro', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    font-size: 20px;
    font-weight: 600; /* 太字より細め */
    color: #24366F;
    margin: 0 0 10px;
    display: inline-block;
    position: relative;
}

/* タイトル10px下にブロック（下線）幅136px */
.recruit-reasons-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 136px;
    height: 3px;
    background-color: #24366F;
}

/* ブロックから下のテキストまで10px */
.recruit-reasons-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 13px auto 40px; /* ブロック終端から10px開ける */
    max-width: 560px;
}

/* 2段レイアウトは min-width:390px 以上（狭い幅は1カラム） */
.recruit-reasons-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

.recruit-reason-card {
    width: 43.59vw; /* 390px時170px、サイト幅に比例 */
    aspect-ratio: 1;
    justify-self: center;
}

.recruit-reason-card picture,
.recruit-reason-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 下段中央のカードは上段と同じサイズで中央揃え */
.recruit-reason-card-bottom {
    grid-column: 1 / -1;
    justify-self: center;
}

.recruit-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 0;
    margin-bottom: 60px;
}

.recruit-text {
    flex: 1;
}

.recruit-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 16px;
}

.recruit-text p:last-child {
    margin-bottom: 0;
}

/* Work with us! セクション（sectionとして独立、縦線グラデーション 左#24366F→右#4D80AC） */
.section.recruit-work-with-us {
    padding: 80px 0; /* sectionの標準余白 */
    background: linear-gradient(to right, #24366F 0%, #4D80AC 100%);
}

.recruit-work-with-us-title {
    font-size: 40px;
    font-weight: bold;
    color: #fff;
    margin: 0 0 10px;
}

.recruit-work-with-us-subtitle {
    font-size: 30px;
    line-height: 1.6;
    color: #fff;
    margin: 0;
}

/* 白背景カード：サブタイトルから70px下、添付画像どおり */
.recruit-guidelines-card {
    margin-top: 70px;
    background-color: #fff;
    padding: 32px 24px 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.recruit-guidelines-card-title {
    font-size: clamp(18px, 4.8vw, 22px);
    font-weight: bold;
    color: #000;
    margin: 0 0 12px;
}

.recruit-guidelines-card-line {
    border: none;
    border-top: 1px solid #000000;
    margin: 0 0 20px;
}

.recruit-guidelines-block {
    margin-bottom: 24px;
}

.recruit-guidelines-block:last-child {
    margin-bottom: 0;
}

.recruit-guidelines-block-title {
    font-size: 17px;
    font-weight: bold;
    color: #000;
    margin: 0 0 8px;
}

.recruit-guidelines-block-title + .recruit-guidelines-card-line {
    margin: 0 0 12px;
}

.recruit-guidelines-block-text {
    font-size: 15px;
    line-height: 1.7;
    color: #000;
    margin: 0 0 12px;
}

.recruit-guidelines-block-text:last-child {
    margin-bottom: 0;
}

.recruit-guidelines-block-text strong {
    font-weight: bold;
}

/* 募集要項カード50px下：CTAボタン＋募集要項に戻る（縦に2つ並び） */
.recruit-guidelines-cta-wrap {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* エントリーに進むボタン：幅246.16px、インナーシャドウのエフェクト */
.recruit-guidelines-entry-btn {
    display: inline-block;
    width: 246.16px;
    padding: 18px 0;
    font-size: 18px;
    font-weight: bold;
    color: #E27B2B;
    text-align: center;
    border: none;
    border-radius: 48.5px;
    text-decoration: none;
    background: linear-gradient(to bottom, rgba(255, 248, 240, 0.98) 0%, #ffffff 15%, #ffffff 85%, rgba(255, 248, 238, 0.98) 100%);
    box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.9), inset 0 -4px 14px rgba(255, 219, 171, 0.95);
    transition: opacity 0.3s;
}

.recruit-guidelines-entry-btn:hover {
    opacity: 0.9;
}

/* 募集要項に戻る：CTAボタンから15px下、白文字＋白下線（線は文字幅より少しはみ出し） */
.recruit-guidelines-back-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    position: relative;
    padding-bottom: 8px;
}

.recruit-guidelines-back-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 120%;
    min-width: 140px;
    height: 1px;
    background-color: #fff;
}

.recruit-guidelines-back-link:hover {
    opacity: 0.9;
}

/* ========================================
   Work with us!セクション（CTA）
   ネイビー背景、大きなCTAボタン
   ======================================== */
.cta {
    background-color: #1a1f3a; /* ネイビー背景 */
    color: #fff;
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 24px;
    color: #fff;
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: 48px;
    color: #fff;
    opacity: 0.9;
}

.cta-button {
    margin-top: 32px;
}

/* ========================================
   フッター（全ページ共通）
   白背景、ロゴSVG使用
   ======================================== */
.footer {
    background-color: #fff;
    color: #000;
    padding: 30px 24px 6px;
    margin-top: 0;
}

/* フッター頭から30px下：太さ2px、色#24366F、横幅いっぱい */
.footer-line {
    height: 2px;
    background-color: #24366F;
    margin: 0 -24px 24px;
    width: calc(100% + 48px);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.footer-logo {
    margin: 0 0 32px;
    text-align: center;
}

.footer-logo a {
    display: inline-block;
}

.footer-logo .logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.footer-nav {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* サイトTop〜募集要項：左右29.5pxのpadding */
.footer-nav-main {
    padding: 0 29.5px;
}

.footer-nav-main-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 56px;
}

.footer-nav-main-list a {
    display: inline-flex;
    align-items: center;
    color: #000;
    font-size: 16px;
    line-height: 20px;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: #000;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.footer-nav-main-list a:hover {
    opacity: 0.7;
}

/* お問い合わせ・プライバシーポリシー：お問い合わせ側のみ左29.5px */
.footer-nav-sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 56px;
    padding: 0;
}

.footer-nav-sub .footer-nav-col:first-child {
    padding-left: 29.5px;
}

.footer-nav-col {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-nav-col a {
    display: inline-flex;
    align-items: center;
    color: #000;
    font-size: clamp(12px, 2.2vw, 14px);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: #000;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.footer-nav-col a:hover {
    opacity: 0.7;
}

/* お問い合わせ・プライバシーポリシー：横幅に合わせてスケール */
.footer-nav-col a.footer-link-small {
    font-size: clamp(10px, 1.8vw, 12px);
}

/* 外部リンク等：イラスト画像 link-illustration.png（10.5×10.5px）、テキストと横並び */
.footer-link-external::after {
    content: '';
    display: inline-block;
    flex-shrink: 0;
    width: 10.5px;
    height: 10.5px;
    margin-left: 5px;
    vertical-align: middle;
    background-image: url('../images/link-illustration.png');
    background-size: 10.5px 10.5px;
    background-repeat: no-repeat;
    background-position: center;
}

.footer-copy {
    font-size: 12px;
    text-align: center;
    color: #000;
    margin: 40px 0 0;
    padding: 0;
}

/* サンプル画像用のスタイル */
.img-sample {
    background-color: #f0f0f0;
    border: 1px dashed #ccc;
    display: block;
}

/* ========================================
   送信完了ページ（お問い合わせ回答後）
   ======================================== */
body.page-thanks {
    min-height: 100vh;
    background-color: #fff;
}

.thanks-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 60px 16px;
}

.thanks-section {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

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

/* Thank you!：About usタイトルと同じデザイン（A-OTF Shin Go Pro、40px、グラデーション） */
.thanks-heading {
    display: inline-block;
    font-family: 'A-OTF Shin Go Pro', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    font-size: 40px;
    font-weight: bold;
    margin: 0 0 16px;
    line-height: 1.2;
    background: linear-gradient(to right, #24366F 0%, #4D80AC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.thanks-complete {
    font-size: 16px;
    color: #000;
    margin: 0 0 32px;
}

.thanks-message {
    margin: 0 0 48px;
}

.thanks-message p {
    font-size: 16px;
    color: #000;
    line-height: 1.8;
    margin: 0 0 4px;
}

.thanks-back-top {
    margin: 0;
}

.thanks-back-top a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 16px;
}

.thanks-back-top a:hover {
    opacity: 0.8;
}

/* ========================================
   お問い合わせページ（下層・背景 survey_bg.jpg）
   ======================================== */
body.page-contact {
    min-height: 100vh;
}

.section.contact {
    padding: 0;
}

.contact .container {
    padding: clamp(48px, 12vw, 76px) clamp(16px, 4.5vw, 24px) 50px;
    background-image: url('../images/survey_bg.jpg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
}

.contact {
    background-color: transparent;
}

/* Contact：About usと同じデザイン（A-OTF Shin Go Pro、40px、グラデーション） */
.contact-title {
    display: inline-block;
    font-family: 'A-OTF Shin Go Pro', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(to right, #24366F 0%, #4D80AC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* お問い合わせ：16px、Contactの下10px（About usの.about-roleと同じ） */
.contact-role {
    font-size: 16px;
    color: #24366F;
    margin-bottom: 64px;
}

.page-title {
    font-size: 32px;
    font-weight: bold;
    color: #1a1f3a;
    text-align: center;
    margin-bottom: 24px;
}

.contact-lead {
    font-size: 16px;
    line-height: 36px;
    margin-bottom: 40px;
    color: #333;
    text-align: left;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #FAFBFF;
    padding: 40px 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-required-note {
    color: #e74c3c;
    font-size: 14px;
    margin: 0 0 24px;
}

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

.form-label {
    display: block;
    font-weight: bold;
    color: #24366F;
    margin-bottom: 8px;
    font-size: 15px;
}

.required {
    color: #e74c3c;
    font-size: inherit;
    margin-left: 2px;
}

.form-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.form-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.form-radio input[type="radio"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    accent-color: #24366F;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #1a1f3a;
}

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

.form-privacy {
    margin: 32px 0 24px;
    padding: 0;
}

.form-privacy .form-label {
    margin-bottom: 12px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: clamp(11px, 1.6vw, 15px);
    color: #333;
    white-space: nowrap;
}

.form-checkbox input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #24366F;
}

.form-checkbox a {
    color: #24366F;
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

/* お問い合わせページ送信ボタン：エントリーに進むと同じデザイン */
.contact-form .recruit-guidelines-entry-btn {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* contact-formの60px下：Topに戻る（会社概要ページと同じ） */
.contact-back-top {
    margin: 60px 0 0;
    text-align: center;
}

.contact-back-top a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.btn-primary {
    background-color: #1a1f3a;
}

.btn-primary:hover {
    background-color: #2d3561;
}

/* ========================================
   会社概要ページ（下層・背景 second_bg.jpg、About us同様横幅100%でスケール）
   ======================================== */
body.page-company {
    min-height: 100vh;
}

.section.company {
    padding: 0;
}

.sub-page-main {
    flex: 1;
}

.company .container {
    padding-bottom: 50px;
    background-image: url('../images/second_bg.jpg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
}

/* Company info：About usと同じデザイン（A-OTF Shin Go Pro、40px、グラデーション） */
.company-title {
    display: inline-block;
    font-family: 'A-OTF Shin Go Pro', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    font-size: 40px;
    font-weight: bold;
    margin-top: 70px;
    margin-bottom: 10px;
    background: linear-gradient(to right, #24366F 0%, #4D80AC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* 会社概要：16px、Company infoの下10px（About usの.about-roleと同じ） */
.company-role {
    font-size: 16px;
    color: #24366F;
    margin-bottom: 10px;
}

.company-content {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 20px 25px;
    background-color: #FAFBFF;
}

/* 会社概要リスト：見出し太字・区切り線・余白 */
.company-info {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #333;
}

.company-info-item {
    padding: 20px 0;
    border-bottom: 1px solid #333;
}

.company-info-heading {
    font-size: 21px;
    font-weight: bold;
    color: #000;
    margin: 0 0 20px;
}

.company-info-value {
    font-size: 16px;
    color: #000;
    line-height: 1.8;
    margin: 0;
}

/* 事業内容のみ行間36px */
.company-info-item--business .company-info-value {
    line-height: 36px;
}

/* Topに戻る：.company-contentの60px下、中央揃え・黒文字・下線 */
.company-back-top {
    margin: 60px 0 0;
    text-align: center;
}

.company-back-top a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ========================================
   プライバシーポリシーページ
   ======================================== */
.privacy {
    background-color: #fff;
    padding: 60px 0;
}

/* Privacy Policy：About usと同じデザイン（A-OTF Shin Go Pro、40px、グラデーション） */
.privacy-title {
    display: inline-block;
    font-family: 'A-OTF Shin Go Pro', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(to right, #24366F 0%, #4D80AC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* プライバシーポリシー：16px、Privacy Policyの下10px（About usの.about-roleと同じ） */
.privacy-role {
    font-size: 16px;
    color: #24366F;
    margin-bottom: 10px;
}

.privacy-heading {
    font-size: 20px;
    font-weight: bold;
    color: #1a1f3a;
    margin-top: 32px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0e0e0;
}

.privacy .container > p {
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.8;
    color: #333;
}

.privacy .container ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.privacy .container ul li {
    margin-bottom: 8px;
    line-height: 1.8;
    color: #333;
}

.privacy .container a {
    color: #1a1f3a;
    text-decoration: underline;
}

.privacy-contact {
    margin-top: 16px;
    margin-bottom: 0;
    line-height: 1.8;
}

/* privacy-contactの96px下：Topに戻る（問い合わせページと同じ） */
.privacy-back-top {
    margin-top: 96px;
    text-align: center;
}

.privacy-back-top a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.privacy-update {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    color: #666;
    text-align: right;
}

/* ========================================
   レスポンシブデザイン
   ブレークポイント：768px
   ======================================== */
@media (min-width: 768px) {
    /* SP専用表示を非表示 */
    .sp-only {
        display: none;
    }

    .pc-only {
        display: inline;
    }
    
    /* PC版：ヘッダー直下の採用バナーは非表示 */
    .recruit-banner {
        display: none;
    }
    
    /* ========== PC版ヘッダー（1行：左ブランディング・右ナビ・白背景・下線） ========== */
    /* PC：ヘッダーを画面上部に固定し、スクロール時も追従して表示 */
    .header {
        height: auto;
        padding: 0;
        display: block;
        box-shadow: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 100;
        background-color: #fff;
        border-bottom: 2px solid #24366F;
    }

    body {
        padding-top: 100px; /* 固定ヘッダー高さ分（スクロール時もコンテンツがヘッダー下に表示されるよう余白確保） */
    }

    body.top-page.loaded {
        padding-top: 88px;
    }

    .header-inner {
        display: none;
    }

    .header-pc {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 2000px;
        margin: 0 30px;
        padding: 21px 24px;
    }

    .header-pc-branding {
        flex-shrink: 0;
    }

    .header-pc-logo {
        margin: 0;
        line-height: 0;
    }

    .header-pc-logo a {
        display: inline-block;
    }

    .header-pc-logo-img {
        width: 22.92vw;
        height: auto;
        max-height: 56px;
        object-fit: contain;
        display: block;
    }

    .header-pc-nav {
        flex-shrink: 0;
    }

    .header-pc-nav-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
        gap: 0 clamp(12px, 2vw, 28px);
    }

    .header-pc-nav-list li {
        white-space: nowrap;
    }

    .header-pc-nav-list a {
        color: #24366F;
        text-decoration: none;
        font-size: 1.11vw;
        white-space: nowrap;
    }

    .header-pc-nav-list a:hover {
        opacity: 0.85;
    }

    .header-pc-nav-external {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .header-pc-nav-icon {
        width: 10px;
        height: 10px;
        object-fit: contain;
        display: inline-block;
        vertical-align: middle;
    }

    /* PC：会社概要・お問い合わせページの背景画像・左右マージン削除・左右パディング175px・max-widthなし */
    .company .container {
        background-image: url('../images/second_bg_pc.jpg');
        margin-left: 0;
        margin-right: 0;
        padding-left: 175px;
        padding-right: 175px;
        max-width: none;
    }

    .contact .container {
        background-image: url('../images/second_bg_pc.jpg');
        margin-left: 0;
        margin-right: 0;
        padding-left: 175px;
        padding-right: 175px;
        max-width: none;
    }

    /* PC：会社概要ページ タイトル50px・サブタイトル20px */
    .company-title {
        font-size: 50px;
    }

    .company-role {
        font-size: 20px;
    }

    /* PC：company-content 左右マージン0・左右パディング50px・max-widthなし */
    .company-content {
        margin-top: 60px;
        margin-left: 0;
        margin-right: 0;
        padding-left: 50px;
        padding-right: 50px;
        max-width: none;
    }

    /* PC：会社概要リスト 見出し26px・本文20px */
    .company-info-heading {
        font-size: 26px;
    }

    .company-info-value {
        font-size: 20px;
    }

    /* PC：お問い合わせページ タイトル50px・サブタイトル20px・上パディング88px・リード文20px */
    body.page-contact {
        padding-top: 88px;
    }

    .contact-title {
        font-size: 50px;
    }

    .contact-role {
        font-size: 20px;
    }

    .contact-lead {
        font-size: 20px;
    }
    
    /* ========== PC版フッター（左揃え・ロゴ・横並びナビ） ========== */
    .footer {
        padding: 40px 175px 24px;
    }
    
    .footer-line {
        display: none;
    }
    
    .footer-inner {
        max-width: none;
        margin: 0 auto;
    }
    
    .footer .footer-logo {
        display: none;
    }
    
    .footer-company {
        display: block;
        margin-bottom: 24px;
    }
    
    .footer-company-logo {
        display: inline-block;
    }
    
    .footer-company-logo-img {
        max-height: 48px;
        width: auto;
        height: auto;
        object-fit: contain;
    }
    
    .footer-nav {
        max-width: none;
        margin: 0 0 16px;
    }
    
    .footer-nav-main {
        display: block;
        padding: 0;
        margin-bottom: 12px;
    }
    
    .footer-nav-main-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        gap: 0 30px;
    }
    
    .footer-nav-main-list li {
        white-space: nowrap;
    }
    
    .footer-nav-main-list a {
        font-size: 16px;
    }
    
    .footer-nav-sub .footer-nav-col a {
        font-size: 15px;
    }
    
    .footer-nav-sub {
        display: flex;
        flex-wrap: wrap;
        gap: 0 30px;
        padding: 0;
        margin-bottom: 24px;
        justify-content: flex-start;
    }
    
    .footer-nav-sub .footer-nav-col,
    .footer-nav-sub .footer-nav-col:first-child {
        flex-direction: row;
        gap: 0 30px;
        padding-left: 0;
    }
    
    .footer-nav-sub .footer-nav-col li {
        display: inline;
    }
    
    .footer-copy {
        text-align: left;
        margin: 0;
        font-size: 12px;
        color: #666;
    }
    
    /* ヘッダー（ロゴのみ768px時） */
    .logo-img {
        height: 50px;
    }
    
    .side-menu {
        max-width: 450px;
    }
    
    /* セクション */
    .section {
        padding: 100px 0;
    }
    
    .section-title-en {
        font-size: 40px;
    }
    
    .section-subtitle {
        font-size: 24px;
    }
    
    /* FV（1440px時 幅1440px・高さ906px、サイト幅に比例） */
    .fv {
        width: 100%;
        height: 62.92vw; /* 1440px時906px */
        min-height: 0;
        align-items: center;
        justify-content: center;
        text-align: left;
        background-image: url('../images/fv-bg_pc.jpg');
        background-size: 100% auto;
        background-position: center top;
        background-repeat: no-repeat;
        padding: 0 175px;
    }

    .fv-text {
        padding-top: 0;
    }

    .fv::before {
        display: none;
    }

    .fv-inner {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 60px;
        max-width: none;
        margin: 0;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        padding-top: 388px; /* ヘッダー下辺から388px下にfv-textを配置 */
    }

    .fv-text {
        flex: 0 0 auto;
    }

    .fv-catch {
        font-size: clamp(40px, 5.21vw, 75px);
        margin-top: 0;
        margin-left: 0;
        margin-bottom: 0;
        text-align: left;
    }

    .fv-sub {
        margin-top: 36px;
        margin-left: 0;
        margin-bottom: 11.46vw; /* 1440px時165px */
        font-size: clamp(18px, 2.43vw, 35px);
        text-align: left;
    }

    .fv-cta {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding-left: 0;
        gap: 16px;
        width: auto;
        flex: 0 0 auto;
        margin-top: 201px;
        margin-left: auto;
        margin-right: 140px;
    }

    .btn-fv {
        width: 320px;
        margin: 0;
    }

    .btn-glow-blue,
    .btn-glow-yellow {
        width: 320px;
        max-width: none;
    }

    .btn-fv:hover {
        transform: scale(1.05);
    }

    .fv-scroll {
        right: 10.28vw; /* 1440px時148px */
        margin-bottom: 170px;
    }
    
    /* About us */
    /* About us + Strength：1枚の背景画像 */
    .about-strength-wrapper {
        background-image: url('../images/about_bg_pc.jpg');
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-position: center top;
        background-color: #E0EBF6;
    }

    .about {
        overflow: visible;
        background: transparent;
        scroll-margin-top: 67px; /* PC：「私たちの役割」でFVとAbout境界が67px上に来るように */
    }

    .about .container {
        max-width: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        background-image: none;
    }

    .strength {
        background: transparent;
    }

    .strength .container {
        max-width: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 175px;
        padding-right: 175px;
    }

    .about-content {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        align-items: start;
        gap: 0 40px;
        max-width: none;
        margin: 0;
        padding-top: 67px;
        padding-left: 175px;
        padding-right: 175px;
    }

    .about-text-top {
        grid-column: 1;
        grid-row: 1;
    }

    .about-text-bottom {
        grid-column: 1;
        grid-row: 2;
    }

    .about-image {
        grid-column: 2;
        grid-row: 1 / -1;
        align-self: start;
        width: 30.63vw;
        max-width: 441px;
        margin-top: -8.54vw; /* 1440px時123px、FV側に上部突き出し */
        margin-left: 0;
        margin-bottom: 0;
        margin-right: 0;
        text-align: right;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .about-text {
        max-width: none;
    }

    .about-title {
        font-size: 50px;
    }

    .about-role {
        font-size: 20px;
    }
    
    .about-catch {
        font-size: 30px;
        white-space: nowrap;
    }

    .about-catch br {
        display: none; /* PC版は1行表示 */
    }

    .about-desc {
        margin-top: 47px;
    }

    .about-image picture,
    .about-image img {
        display: block;
        margin-left: auto;
        margin-right: 0;
        max-width: 100%;
    }

    .about-image img {
        max-width: 100%;
        width: 100%;
        display: block;
    }
    
    /* Strength：タイトル・サブタイトルはAbout usと同じ、キャッチは1行・可変 */
    .strength-heading {
        font-size: 50px;
    }

    .strength-role {
        font-size: 20px;
    }

    .strength-catch {
        font-size: clamp(18px, 2.2vw, 30px);
        white-space: nowrap;
        margin-bottom: 48px;
    }

    .strength-catch br {
        display: none;
    }

    .strength-title {
        font-size: clamp(18px, 1.8vw, 25px);
        white-space: nowrap;
    }

    .strength-title br {
        display: none;
    }

    /* Strength：1枚目写真どおり、各項目を左テキスト・右画像の2カラムに */
    .strength-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .strength-item {
        display: grid;
        grid-template-columns: 1fr 1fr; /* title下でtextとimgを50％ずつ */
        grid-template-rows: auto auto;
        align-items: start;
        gap: 24px 40px;
    }

    .strength-item-header {
        grid-column: 1 / -1; /* titleは全幅 */
        grid-row: 1;
        margin-bottom: 0;
    }

    .strength-item .strength-text {
        grid-column: 1;
        grid-row: 2;
        margin: 0;
    }

    .strength-item .strength-text br {
        display: none; /* PC版は改行せず自然な折り返し */
    }

    .strength-item .strength-image {
        grid-column: 2;
        grid-row: 2; /* textと同じ行で右50% */
        align-self: start;
        margin-bottom: 0;
        max-width: none;
    }

    .strength-item .strength-image picture,
    .strength-item .strength-image img {
        display: block;
        width: 100%;
        height: auto;
    }

    /* Service */
    .service {
        padding-top: 80px;
        padding-bottom: 0;
    }

    .service .container,
    .service-reform-banner .container,
    .service-reform-list-wrap .container {
        max-width: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 175px;
        padding-right: 175px;
    }

    .service-heading {
        font-size: 50px;
    }

    .service-role {
        font-size: 20px;
    }

    .service-catch {
        font-size: 30px;
    }

    .service-lead {
        font-size: 16px;
    }

    .service-cards {
        margin-top: 48px;
        grid-template-columns: repeat(3, 1fr);
        gap: 34px;
    }

    .service-card-text {
        font-size: 16px;
    }

    .service-reform-banner {
        padding: 64px 0;
    }

    .service-reform-banner .container.service-reform-banner-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
        padding-left: 230px;
        padding-right: 230px;
    }

    .service-reform-banner-text h3 {
        font-size: 30px;
    }

    .service-reform-banner-text p {
        font-size: 16px;
    }

    .service-reform-list-wrap {
        padding: 60px 0 0;
    }

    .service-reform-item {
        grid-template-columns: 1fr auto;
        gap: 34px;
        padding: 30px 0;
    }

    .service-reform-copy h4 {
        font-size: 25px;
        margin-bottom: 20px;
        padding-bottom: 14px;
        border-bottom-width: 4px;
    }

    .service-reform-copy p {
        font-size: 16px;
        line-height: 1.9;
        margin-bottom: 8px;
    }

    .service-reform-icons {
        grid-template-columns: repeat(2, 120px);
        gap: 20px;
    }

    .service-icon {
        width: 120px;
        height: 120px;
        background-size: 95%;
    }

    /* Top message：タイトル・サブタイトルはAbout usと同じ */
    .message {
        background-image: url('../images/topmessage-bg.jpg');
    }

    .message .container {
        max-width: 1500px;
        padding-left: 175px;
        padding-right: 175px;
        padding-top: 153px;
        margin-left: 0;
        margin-right: 0;
    }

    .message-heading {
        font-size: 50px;
    }

    .message-role {
        font-size: 20px;
    }

    .message-catch {
        white-space: nowrap;
    }

    .message-catch br {
        display: none;
    }
    
    /* Recruit + Work with us：1枚の背景画像 */
    .recruit-work-with-us-wrapper {
        background-image: url('../images/Recruit_bg_pc.jpg');
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-position: center top;
        background-color: #E0EBF6;
        padding-bottom: 100px;
    }

    .recruit {
        background: transparent;
        overflow: visible;
        scroll-margin-top: 88px; /* PC：「採用情報」でTop messageとrecruit境界が88px上に来るように（15px下） */
    }

    .recruit .container {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto auto auto;
        gap: 0 40px;
        background-image: none;
        max-width: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 175px;
        padding-right: 175px;
    }

    .recruit-heading {
        grid-column: 1;
        grid-row: 1;
    }

    .recruit-role {
        grid-column: 1;
        grid-row: 2;
    }

    .recruit-catch {
        grid-column: 1;
        grid-row: 3;
    }

    .recruit-illustration {
        grid-column: 2;
        grid-row: 1 / 4;
        align-self: start;
        margin-top: -52px; /* 上に52pxはみ出し */
        margin-bottom: 80px;
        margin-right: 0;
        width: 30.42vw; /* 1440px時438px */
        max-width: 438px;
    }

    .recruit-illustration picture,
    .recruit-illustration img {
        display: block;
        width: 100%;
        height: auto;
    }

    .recruit-reasons {
        grid-column: 1 / -1;
        grid-row: 4;
        margin-top: 0;
    }

    .recruit-reasons-title {
        font-size: clamp(18px, 2.08vw, 30px);
    }

    .recruit-reasons-desc {
        font-size: clamp(12px, 1.11vw, 16px);
        white-space: nowrap;
    }

    .recruit-reasons-desc br {
        display: none;
    }

    /* PC：3枚横並び、1440px時カード幅230px・サイト幅に比例 */
    .recruit-reasons-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        justify-items: center;
    }

    .recruit-reason-card {
        width: 15.97vw; /* 1440px時230px */
        aspect-ratio: 1;
    }

    .recruit-reason-card-bottom {
        grid-column: auto;
    }

    .recruit-work-with-us {
        background: transparent;
        margin-left: 17.29vw; /* 1440px時249px */
        margin-right: 17.29vw;
        scroll-margin-top: 100px; /* PC：「募集要項」でsectionのTopから100px上に遷移 */
    }

    .recruit-work-with-us .container {
        text-align: center;
    }

    .recruit-work-with-us-title {
        font-size: 2.78vw; /* 1440px時40px */
        text-align: center;
    }

    .recruit-work-with-us-subtitle {
        font-size: 2.08vw; /* 1440px時30px */
        text-align: center;
        white-space: nowrap;
    }

    .recruit-work-with-us-subtitle br {
        display: none;
    }

    /* Recruit タイトル・サブタイトル・catch：About usと同じ文字サイズ・色、高さは文字に合わせる */
    .recruit-heading {
        font-size: 50px;
        font-weight: bold;
        line-height: 1.2;
        margin-top: 103px;
        margin-bottom: 10px;
        background: linear-gradient(to right, #24366F 0%, #4D80AC 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }

    .recruit-role {
        font-size: 20px;
        color: #24366F;
        line-height: 1.2;
        margin-top: 0;
        margin-bottom: 10px;
    }

    .recruit-catch {
        font-size: 30px;
        font-weight: bold;
        color: #24366F;
        line-height: 1.2;
        margin-top: 0;
        margin-bottom: 240px;
        white-space: nowrap;
    }

    .recruit-catch br {
        display: none;
    }

    /* Recruit */
    .recruit-text {
        flex: 1;
    }
    
    .recruit-guidelines-card {
        padding: 40px 32px 48px;
    }
    
    .recruit-guidelines-card-title {
        font-size: 24px;
        text-align: left;
    }

    .recruit-guidelines-block-title {
        font-size: 18px;
        text-align: left;
    }

    .recruit-guidelines-block-text {
        font-size: 16px;
        text-align: left;
    }

    .recruit-guidelines-entry-btn {
        width: 246.16px;
        max-width: none;
        padding: 18px 0;
    }

    /* PC版のみ：業務内容の1行目テキストのbrを非表示 */
    .recruit-guidelines-job-desc br {
        display: none;
    }

    /* CTA */
    .cta-title {
        font-size: 64px;
    }
    
    .cta-subtitle {
        font-size: 24px;
    }
    
    /* フッター */
    .footer-nav-main,
    .footer-nav-sub {
        gap: 24px 30px;
        justify-content: flex-start;
    }
    
    /* お問い合わせフォーム */
    .contact-form {
        margin-left: 0;
        margin-right: 0;
        max-width: none;
        padding: 48px 40px;
    }

    .form-label {
        font-size: 20px;
    }

    .form-required-note {
        font-size: 18px;
    }

    .form-radio {
        font-size: 21px;
    }
    
    .page-title {
        font-size: 40px;
    }
    
}
