/* ベーシックリセットとグローバル設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ルート変数定義：カラーとブレイクポイント */
:root {
    --primary-color: #0066cc;
    /* メインカラー */
    --secondary-color: #003366;
    /* セカンダリーカラー */
    --light-blue: #00a2ff;
    /* ライトブルー */
    --text-color: #333;
    /* テキストカラー */
    --text-light: #666;
    /* 薄いテキストカラー */
    --white: #ffffff;
    /* 白 */
    --gray-bg: #f4f7fa;
    /* グレー背景 */
    --blue-color: #77addc;
    /* サービスアイテムカラー：青 */
    --green-color: #96c27f;
    /* サービスアイテムカラー：緑 */
    --purple-color: #a889c7;
    /* サービスアイテムカラー：紫 */
    --orange-color: #e9b665;
    /* サービスアイテムカラー：オレンジ */
    --pink-color: #dc8ca7;
    /* サービスアイテムカラー：ピンク */
    --red-color: #e78663;
    /* サービスアイテムカラー：赤 */
    --teal-color: #7fc5c9;
    /* サービスアイテムカラー：ティール */
    --mobile-breakpoint: 768px;
    /* モバイルブレイクポイント */
    --tablet-breakpoint: 1024px;
    /* タブレットブレイクポイント */
}

/* 共通コンポーネント */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* コンテナのパディング調整 */
    width: 100%;
}

.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-gray,
.bg-gray {
    background-color: var(--gray-bg);
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    /* フォントサイズをレスポンシブに調整 */
    font-weight: 800;
    color: #1976D2;
    margin-bottom: 20px;
    letter-spacing: -1px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1976D2, #64B5F6);
}

.section-lead {
    text-align: center;
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    /* フォントサイズをレスポンシブに調整 */
    color: #5a6064;
    margin-bottom: 50px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.section-lead.animate,
.section-description.animate {
    /* section-descriptionにもアニメーションを追加 */
    opacity: 1;
    transform: translateY(0);
}

.section-button {
    text-align: center;
    margin-top: 40px;
}


.link-arrow {
    display: inline-block;
    text-decoration: none;
    color: #1976D2;
    font-weight: 600;
    position: relative;
    padding-right: 20px;
    transition: all 0.3s ease;
}

.link-arrow::after {
    content: "→";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.link-arrow:hover {
    color: #0D47A1;
    padding-right: 25px;
}

.link-arrow:hover::after {
    transform: translate(5px, -50%);
}


/* ボタンスタイル */
.btn,
/* .btn を追加 */
.btn-outline {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn {
    /* .btn のスタイル */
    background-color: #1976D2;
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.3);
}

.btn:hover {
    background-color: #1565C0;
    box-shadow: 0 8px 20px rgba(25, 118, 210, 0.4);
}

.btn-outline {
    border: 2px solid #1976D2;
    color: #1976D2;
    background-color: transparent;
}

.btn-outline::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
}

.btn-outline:hover::before {
    left: 100%;
}

.btn-outline:hover {
    background-color: #1976D2;
    color: white;
    box-shadow: 0 10px 25px rgba(25, 118, 210, 0.3);
}

/* 共通アニメーション定義 */
@keyframes subtleFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes heroElegantZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

@keyframes heroFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(-50%);
    }
}

@keyframes heroBrandFadeInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroExtendLine {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes heroFloatArrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


/* ヒーローセクション（電気工事会社向け）*/
#hero.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #0a1929;
}

#hero .hero-slider {
    position: relative;
    height: 100%;
    width: 100%;
}

#hero .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

#hero .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.1) saturate(1.05);
    animation: heroElegantZoom 20s infinite alternate;
}

#hero .hero-slide::after {
    /* 画像オーバーレイ */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.85) 0%, rgba(25, 118, 210, 0.65) 50%, rgba(10, 25, 47, 0.5) 100%);
    pointer-events: none;
}

#hero .hero-tagline {
    /* メインタグライン */
    position: absolute;
    top: 50%;
    left: 6%;
    transform: translateY(-50%);
    font-size: 4.2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
    opacity: 0;
    animation: heroFadeInUp 1.8s cubic-bezier(0.19, 1, 0.22, 1) 0.5s forwards;
    z-index: 10;
    letter-spacing: 0.15em;
    max-width: 80%;
    font-family: "Noto Sans JP", sans-serif;
}

#hero .company-brand {
    /* 会社情報 */
    position: absolute;
    top: 13%;
    right: 2%;
    text-align: right;
    z-index: 10;
}

#hero .brand-name {
    color: #fff;
    font-weight: 700;
    font-size: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.12em;
    opacity: 0;
    animation: heroBrandFadeInRight 1.2s cubic-bezier(0.19, 1, 0.22, 1) 2s forwards;
}

#hero .brand-title {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    animation: heroBrandFadeInRight 1.2s cubic-bezier(0.19, 1, 0.22, 1) 2.5s forwards;
}

#hero .brand-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, rgba(100, 181, 246, 0.7), #fff);
    animation: heroExtendLine 1s cubic-bezier(0.19, 1, 0.22, 1) 3s forwards;
}

#hero .scroll-indicator {
    /* スクロールインジケーター */
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    cursor: pointer;
    z-index: 10;
    animation: heroFadeIn 1.5s ease-out 3.5s forwards;
    opacity: 0;
}

#hero .scroll-text {
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.25em;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-weight: 500;
    text-transform: uppercase;
}

#hero .scroll-arrow {
    color: #fff;
    font-size: 1.4rem;
    animation: heroFloatArrow 3s ease-in-out infinite;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    width: 42px;
    height: 42px;
    line-height: 42px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(25, 118, 210, 0.6);
    box-shadow: 0 0 20px rgba(100, 181, 246, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

#hero .scroll-indicator:hover .scroll-arrow {
    background: rgba(25, 118, 210, 0.8);
    box-shadow: 0 0 25px rgba(100, 181, 246, 0.6);
}


/* 会社概要セクション */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.about-text.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-text p {
    color: #5a6064;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text strong {
    color: #1976D2;
}

.about-text em {
    font-style: italic;
    color: #1976D2;
}

.about-media {
    flex: 1;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
}

.about-media.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-media img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}


/* 採用情報セクション */
.recruit-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.recruit-media {
    flex: 1;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.recruit-media.animate {
    opacity: 1;
    transform: translateX(0);
}


.recruit-image {
    /* recruit-image クラスを追加 */
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.recruit-text {
    flex: 1;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
}

.recruit-text.animate {
    opacity: 1;
    transform: translateX(0);
}

.recruit-text p {
    color: #5a6064;
    line-height: 1.8;
    margin-bottom: 20px;
}



/* 事業内容セクション - 円形メニュー */
.circle-menus {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 30px 0;
}

.circle-menu-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 30px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    margin: 15px;
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
}

.circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    position: relative;
}

.circle-number {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 5px;
}

.circle-title-ja {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.circle-title-en {
    font-size: 12px;
    opacity: 0.8;
}

/* 円の色 */
.circleblue {
    background-color: var(--blue-color);
}

.circlegreen {
    background-color: var(--green-color);
}

.circlepurple {
    background-color: var(--purple-color);
}

.circleorange {
    background-color: var(--orange-color);
}

.circlepink {
    background-color: var(--pink-color);
}

.circlered {
    background-color: var(--red-color);
}

.circleteal {
    background-color: var(--teal-color);
}


/* サービス紹介セクション */
#service-intro {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 150px 0;
    position: relative;
    overflow: hidden;
}

#service-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 204, 0.1);
    transform: skewY(-6deg);
    transform-origin: top left;
    z-index: 1;
}

#service-intro::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: subtleFloat 6s ease-in-out infinite;
}


#service-intro .container {
    /* コンテナのスタイルを #service-intro 内に移動 */
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

#service-intro .section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

#service-intro .section-description {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}


/* サービス一覧スタイル */
.services-section {
    padding: 60px 0;
    background-color: var(--white);
}

.services-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.service-item {
    flex: 1;
    min-width: 45%;
}

.service-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.number-box {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-right: 15px;
}

.number-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: 1;
    transform: skewX(-15deg);
}

/* number-box のカラーバリエーション */
.number-box.blue::before {
    background-color: var(--blue-color);
}

.number-box.green::before {
    background-color: var(--green-color);
}

.number-box.purple::before {
    background-color: var(--purple-color);
}

.number-box.orange::before {
    background-color: var(--orange-color);
}

.number-box.pink::before {
    background-color: var(--pink-color);
}

.number-box.red::before {
    background-color: var(--red-color);
}

.number-box.teal::before {
    background-color: var(--teal-color);
}

.number {
    font-size: 2.8rem;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

/* number のカラーバリエーション */
.number-box.blue .number {
    color: var(--blue-color);
}

.number-box.green .number {
    color: var(--green-color);
}

.number-box.purple .number {
    color: var(--purple-color);
}

.number-box.orange .number {
    color: var(--orange-color);
}

.number-box.pink .number {
    color: var(--pink-color);
}

.number-box.red .number {
    color: var(--red-color);
}

.number-box.teal .number {
    color: var(--teal-color);
}


.title-box {
    padding-top: 10px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
}

.en-title {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 5px 0 0;
}

.service-content-wrapper {
    display: flex;
    gap: 20px;
}

.service-description {
    flex: 1;
    padding-top: 5px;
}

.service-description p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-image {
    flex: 1;
}

.service-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}


/* 会社概要ページ用CSS */
#about-intro {
    background: linear-gradient(135deg, #0066cc 0%, #003366 100%);
    color: white;
    text-align: center;
    padding: 150px 0;
    position: relative;
    overflow: hidden;
}

#about-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 204, 0.1);
    transform: skewY(-6deg);
    transform-origin: top left;
    z-index: 1;
}

#about-intro::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: subtleFloat 6s ease-in-out infinite;
}

#about-intro .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

#about-intro .section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

#about-intro .section-description {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}


.message-content {
    /* 代表メッセージ */
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
    margin-top: 60px;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.message-image {
    flex: 0 0 300px;
    margin-top: 20px;
}

.message-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 5px solid #fff;
}

.message-text {
    flex: 1;
    max-width: 600px;
}

.message-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.message-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

.message-signature {
    text-align: right;
    font-weight: 600;
    color: #333;
    font-size: 1.2rem;
    margin-top: 30px;
}

.philosophy-content {
    /* 企業理念 */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
    padding: 0 20px;
    /* パディング追加 */
    box-sizing: border-box;
}

.philosophy-main {
    flex: 1 1 450px;
    max-width: 100%;
    padding-right: 20px;
}

.philosophy-image {
    flex: 1 1 450px;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.philosophy-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.philosophy-catch {
    font-size: 2rem;
    font-weight: 700;
    color: #1976D2;
    margin-bottom: 20px;
    line-height: 1.4;
    text-align: left;
}

.philosophy-text {
    line-height: 1.8;
    color: #555;
    font-size: 1rem;
    text-align: left;
}


.outline-table {
    /* 会社概要テーブル */
    margin-top: 30px;
}

.outline-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.outline-table th,
.outline-table td {
    padding: 18px;
    border-bottom: 1px solid #eee;
}

.outline-table th {
    width: 25%;
    text-align: left;
    font-weight: 600;
    color: #333;
    background-color: rgba(25, 118, 210, 0.05);
    vertical-align: top;
}

.outline-table td {
    color: #555;
}

.outline-table td ul {
    padding-left: 20px;
    margin: 0;
}

.outline-table td ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.history-timeline {
    /* 会社沿革 */
    margin-top: 40px;
    position: relative;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 120px;
    width: 2px;
    background-color: #e0e0e0;
}

.history-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}


.history-year {
    width: 120px;
    font-weight: 700;
    color: #1976D2;
    font-size: 1.1rem;
    padding-top: 5px;
}

.history-content {
    flex: 1;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-left: 30px;
    position: relative;
}


.history-content::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 10px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #1976D2;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #1976D2;
}

.history-content p {
    margin: 0 0 8px;
    line-height: 1.6;
    color: #555;
}

.access-content {
    /* アクセス情報 */
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.access-map {
    flex: 1 1 550px;
}

.access-info {
    flex: 1 1 350px;
}

.access-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 20px 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1976D2;
}

.access-info h4:first-child {
    margin-top: 0;
}

.access-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #555;
    margin: 15px 0 10px;
}

.access-info address {
    font-style: normal;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.access-info ul {
    list-style: none;
    padding-left: 0;
}

.access-info ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
    color: #555;
}

.access-info ul li:before {
    content: "・";
    position: absolute;
    left: 0;
    color: #1976D2;
}


/* 採用情報ページ用CSS */
#recruit-intro {
    /* 採用情報ヘッダー */
    background: linear-gradient(135deg, #0066cc 0%, #003366 100%);
    color: white;
    text-align: center;
    padding: 150px 0;
    position: relative;
    overflow: hidden;
}

#recruit-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 204, 0.1);
    transform: skewY(-6deg);
    transform-origin: top left;
    z-index: 1;
}

#recruit-intro::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: subtleFloat 6s ease-in-out infinite;
}

#recruit-intro .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

#recruit-intro .section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

#recruit-intro .section-description {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.environment-list {
    /* 働く環境 */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.environment-item {
    flex: 1 1 300px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.environment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.environment-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(25, 118, 210, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.environment-icon img {
    width: 35px;
    height: 35px;
}

.environment-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.environment-text {
    text-align: center;
    color: #666;
    line-height: 1.7;
}


.requirements-content {
    /* 募集要項 */
    margin-top: 30px;
}

.requirements-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.requirements-table th,
.requirements-table td {
    padding: 18px;
    border-bottom: 1px solid #eee;
}

.requirements-table th {
    width: 25%;
    text-align: left;
    font-weight: 600;
    color: #333;
    background-color: rgba(25, 118, 210, 0.05);
    vertical-align: top;
}

.requirements-table td {
    color: #555;
}

.requirements-table ul,
.requirements-table ol {
    padding-left: 20px;
    margin: 0;
}

.requirements-table li {
    margin-bottom: 8px;
    line-height: 1.6;
}


.interview-list {
    /* 社員インタビュー */
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.interview-item {
    flex: 1 1 450px;
    display: flex;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.interview-image {
    flex: 0 0 150px;
    background-color: #f5f5f5;
}

.interview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.interview-content {
    flex: 1;
    padding: 25px;
}

.interview-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.interview-position {
    font-size: 0.9rem;
    color: #1976D2;
    margin-bottom: 15px;
}

.interview-text {
    color: #555;
    line-height: 1.7;
}

.faq-list {
    /* よくある質問 */
    margin-top: 40px;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.faq-question {
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    background-color: rgba(25, 118, 210, 0.05);
    position: relative;
    cursor: pointer;
    padding-right: 50px;
    /* padding-right を追加 */
}

.faq-question:after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #1976D2;
}

.faq-item.active .faq-question:after {
    content: "-";
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
    /* 初期状態では非表示 */
}

.faq-item.active .faq-answer {
    /* activeクラスが付与されたら表示 */
    display: block;
}

.faq-answer p {
    color: #555;
    line-height: 1.7;
}

#entry {
    /* エントリーセクション */
    position: relative;
    background-image: url(../img/contact-background.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 60px 0;
    overflow: hidden;
}

#entry::before {
    /* オーバーレイ */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(206, 227, 255, 0.6);
    z-index: 1;
}

#entry .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

#entry .btn {
    /* エントリーボタン */
    padding: 14px 28px;
    font-size: 1.1rem;
    border-radius: 30px;
    border: 2px solid #fff;
    color: #fff;
    transition: all 0.3s ease;
    background-color: transparent;
    /* 背景を透明に */
}

#entry .btn:hover {
    background-color: #fff;
    color: #1976D2;
}



/* お問い合わせページ用CSS */
#contact-intro {
    /* お問い合わせヘッダー */
    background: linear-gradient(135deg, #0066cc 0%, #003366 100%);
    color: white;
    text-align: center;
    padding: 150px 0;
    position: relative;
    overflow: hidden;
}


#contact-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 204, 0.1);
    transform: skewY(-6deg);
    transform-origin: top left;
    z-index: 1;
}

#contact-intro::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: subtleFloat 6s ease-in-out infinite;
}

#contact-intro .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

#contact-intro .section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

#contact-intro .section-description {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.contact-methods {
    /* お問い合わせ方法 */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}


.contact-tel,
.contact-email {
    flex: 1 1 300px;
    background-color: white;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}


.contact-tel:hover,
.contact-email:hover {
    transform: translateY(-5px);
}

.contact-method-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.contact-method-icon img {
    width: 30px;
    height: 30px;
}


.contact-method-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}


.contact-tel-number,
.contact-email-address {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1976D2;
    margin-bottom: 10px;
}


.contact-time {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
}


.contact-detail {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}


/* お問い合わせフォーム */
.contact-form-container {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
    /* 中央寄せを追加 */
}

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

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}


.required {
    color: #e53935;
    font-size: 0.8rem;
    margin-left: 5px;
    font-weight: normal;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s;
}


.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #1976D2;
    outline: none;
}


.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23333' d='M0 0l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}


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

.privacy-policy-box {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 15px;
    max-height: 200px;
    /* 最大の高さを設定 */
    overflow-y: auto;
    /* スクロールバーを表示 */
}

.privacy-policy-box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}


.privacy-policy-content p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

.privacy-policy-content ol,
.privacy-policy-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.privacy-policy-content li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}


.form-checkbox {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}


.form-checkbox label {
    font-size: 0.95rem;
    color: #333;
}


.form-button {
    text-align: center;
    margin-top: 35px;
}

.form-button .btn {
    min-width: 250px;
    padding: 14px 30px;
    font-size: 1.05rem;
}



/* プライバシーポリシーページ */
#privacy-intro {
    background: linear-gradient(135deg, #0066cc 0%, #003366 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#privacy-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 204, 0.1);
    transform: skewY(-6deg);
    transform-origin: top left;
    z-index: 1;
}

#privacy-intro::after {
    /* subtleFloatアニメーションを追加 */
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: subtleFloat 6s ease-in-out infinite;
}

#privacy-intro .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

#privacy-intro .section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}


.page-header {
    background-color: #1976D2;
    color: #fff;
    padding: 70px 0 50px;
    text-align: center;
    margin-bottom: 0;
}


.page-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}



.content-wrapper {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 40px;
    margin-bottom: 40px;
}


.policy-content {
    max-width: 900px;
    margin: 0 auto;
}


.policy-content>p:first-child {
    font-size: 1.05rem;
    margin-bottom: 30px;
    color: #555;
    line-height: 1.8;
}



.policy-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 40px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}


.policy-title:first-child {
    margin-top: 0;
}


.policy-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}


.policy-list {
    list-style-type: disc;
    padding-left: 25px;
    margin: 15px 0 20px;
}



.policy-list li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}


.policy-list li:last-child {
    margin-bottom: 0;
}


.policy-list li strong {
    color: #333;
}


.contact-info {
    background-color: #f5f5f5;
    padding: 15px 20px;
    border-radius: 5px;
    margin: 20px 0;
    line-height: 1.8;
    color: #444;
}


.policy-dates {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: #777;
}


.policy-dates p {
    margin-bottom: 5px;
}


/* サイトマップページ */
#sitemap-intro {
    background: linear-gradient(135deg, #0066cc 0%, #003366 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}


#sitemap-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 204, 0.1);
    transform: skewY(-6deg);
    transform-origin: top left;
    z-index: 1;
}


#sitemap-intro::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: subtleFloat 6s ease-in-out infinite;
}


#sitemap-intro .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}


#sitemap-intro .section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}


.sitemap-content {
    margin-bottom: 40px;
}


.sitemap-content>p {
    font-size: 1rem;
    margin-bottom: 30px;
    text-align: center;
    color: #666;
}


.sitemap-section {
    margin-bottom: 50px;
}


.sitemap-section:last-child {
    margin-bottom: 0;
}


.sitemap-title {
    font-size: 1.4rem;
    color: #1976D2;
    border-bottom: 2px solid #1976D2;
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-weight: 600;
}


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


.sitemap-list li {
    margin-bottom: 25px;
}


.sitemap-list li:last-child {
    margin-bottom: 0;
}



.sitemap-list a {
    color: #1976D2;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 15px;
    /* 左パディングを追加 */
}

.sitemap-list a::before {
    content: "›";
    /* 矢印を追加 */
    position: absolute;
    left: 0;
    color: #1976D2;
}



.sitemap-list a:hover {
    color: #1565C0;
    text-decoration: underline;
}


.sitemap-list p {
    margin: 5px 0 10px 15px;
    /* margin-left を追加 */
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}




.sitemap-sublist {
    list-style-type: none;
    margin: 10px 0 0 30px;
    padding: 0;
}


.sitemap-sublist li {
    margin-bottom: 10px;
}


.sitemap-sublist li:last-child {
    margin-bottom: 0;
}


.sitemap-sublist a {
    font-size: 0.95rem;
    font-weight: normal;
    color: #666;
    transition: color 0.3s;
}




.sitemap-sublist a:hover {
    color: #1976D2;
}



/* サイトご利用規約ページ */
#terms-intro {
    background: linear-gradient(135deg, #0066cc 0%, #003366 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#terms-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 204, 0.1);
    transform: skewY(-6deg);
    transform-origin: top left;
    z-index: 1;
}

#terms-intro::after {
    /* subtleFloat アニメリションを追加 */
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: subtleFloat 6s ease-in-out infinite;
}


#terms-intro .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}


#terms-intro .section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}


.terms-content {
    max-width: 900px;
    margin: 0 auto;
}


.terms-content>p:first-child {
    font-size: 1.05rem;
    margin-bottom: 30px;
    color: #555;
    line-height: 1.8;
}


.terms-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 40px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}


.terms-title:first-child {
    margin-top: 0;
}


.terms-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}


.terms-list {
    list-style-type: disc;
    padding-left: 25px;
    margin: 15px 0 20px;
}


.terms-list li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}



.terms-list li:last-child {
    margin-bottom: 0;
}


.terms-dates {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: #777;
}

.terms-dates p {
    margin-bottom: 5px;
}


/* ヘッダー */
.site-header {
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.site-header.hide {
    /* スクロールダウン時に隠す */
    transform: translateY(-100%);
    opacity: 0;
}

.site-header.show {
    /* スクロールアップ時に表示 */
    transform: translateY(0);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
    opacity: 1;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    max-width: 100%;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-inner.compact {
    /* スクロール時のコンパクト化 */
    padding: 10px;
    max-width: 100%;
    margin: 0 auto;
}

.site-logo {
    margin: 0;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.site-logo:hover {
    transform: scale(1.03) translateY(-2px);
}

.site-logo a {
    /* ロゴリンク */
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    /* 初期状態は白 */
    font-weight: 700;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.site-header.show .site-logo a {
    /* スクロール時は黒 */
    color: #222;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}


.company-type {
    /* 会社種別 */
    font-size: 0.8em;
    font-weight: 600;
    opacity: 0.9;
    vertical-align: middle;
    letter-spacing: 0.01em;
}


.company-name {
    /* 会社名 */
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: 0.03em;
    vertical-align: middle;
}


.site-logo img {
    max-height: 54px;
    width: auto;
    margin-right: 12px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.header-inner.compact .site-logo img {
    max-height: 38px;
}

.logo-text {
    position: relative;
    font-size: 30px;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    color: #fff;
    /* 初期状態は白 */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.site-header.show .logo-text {
    /* スクロール時は黒 */
    color: #222;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.header-inner.compact .logo-text {
    font-size: 16px;
}

.logo-text::after {
    /* ロゴテキスト下のラインアニメーション */
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1976D2, #64B5F6);
    transition: width 0.4s ease;
}

.site-logo:hover .logo-text::after {
    width: 100%;
}

.main-nav {
    /* グローバルナビゲーション */
    margin-left: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: flex-end;
}

.nav-item {
    margin-left: 32px;
    position: relative;
}


.nav-link {
    text-decoration: none;
    color: #fff;
    /* 初期状態は白 */
    font-weight: 500;
    font-size: 16px;
    padding: 6px 2px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.02em;
}

.site-header.show .nav-link {
    /* スクロール時は黒 */
    color: #333;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}


.nav-link::before {
    /* ホバーエフェクト */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #1976D2;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}


.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #1976D2, #64B5F6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}



.nav-link:hover {
    color: #1976D2;
    transform: translateY(-2px);
}


.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}


.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: right;
}


.nav-link.current {
    /* 現在のページ */
    color: #1976D2;
    font-weight: 600;
}


.nav-link.current::before {
    transform: scaleX(1);
}


.nav-link.current::after {
    transform: scaleX(1);
}


.menu-toggle {
    /* ハンバーガーメニュー */
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1010;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 20px;
    transition: all 0.3s ease;
}


.toggle-line {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #fff;
    /* 初期状態は白 */
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}


.site-header.show .toggle-line {
    /* スクロール時は黒 */
    background-color: #333;
}


.menu-toggle.active .toggle-line:nth-child(1) {
    /* アクティブ状態 */
    transform: rotate(45deg) translate(6px, 6px);
    background-color: #1976D2;
}

.menu-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}


.menu-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background-color: #1976D2;
}


/* フッター */
footer {
    background-color: #262626;
    color: #fff;
    padding: 50px 0 20px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}


footer::before {
    /* 背景グラデーションアニメーション */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1976D2, #64B5F6, #1976D2);
    background-size: 200% 100%;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s ease, opacity 0.8s ease;
}


footer.in-view::before {
    opacity: 1;
    transform: scaleX(1);
    animation: gradientMove 6s linear infinite;
    animation-delay: 0.3s;
}


@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}


.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}


footer.in-view .footer-content {
    opacity: 1;
    transform: translateY(0);
}


.footer-info {
    flex: 0 0 100%;
    max-width: 300px;
    margin-bottom: 30px;
    position: relative;
}


.footer-logo {
    margin-bottom: 20px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


.footer-logo:hover {
    transform: translateY(-3px);
}


.footer-logo img {
    max-width: 200px;
    height: auto;
    filter: brightness(1);
    transition: filter 0.4s ease, transform 0.4s ease;
}


.footer-logo:hover img {
    filter: brightness(1.2);
    transform: scale(1.02);
}


.footer-address {
    font-style: normal;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #ccc;
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease;
}


.footer-nav {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}


.footer-nav-column {
    flex: 0 0 30%;
    margin-bottom: 20px;
    min-width: 180px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* カラムごとの遅延アニメーション */
footer.in-view .footer-nav-column {
    opacity: 1;
    transform: translateY(0);
}

footer.in-view .footer-nav-column:nth-child(1) {
    transition-delay: 0.2s;
}

footer.in-view .footer-nav-column:nth-child(2) {
    transition-delay: 0.4s;
}

footer.in-view .footer-nav-column:nth-child(3) {
    transition-delay: 0.6s;
}


.footer-nav-title {
    font-size: clamp(0.9rem, 4vw, 1rem);
    /* フォントサイズをレスポンシブに調整 */
    font-weight: 500;
    color: #1976D2;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #444;
    position: relative;
    transition: color 0.3s ease;
}


.footer-nav-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #1976D2;
    transition: width 0.5s ease;
}


.footer-nav-column:hover .footer-nav-title::after {
    width: 100%;
}


.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


.footer-nav li {
    margin-bottom: 10px;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}


/* リストアイテムごとの遅延アニメーション */
footer.in-view .footer-nav li {
    opacity: 1;
    transform: translateX(0);
}

/* 詳細な遅延設定は省略（必要であれば追加） */


.footer-nav a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: clamp(0.8rem, 3.5vw, 0.85rem);
    /* フォントサイズをレスポンシブに調整 */
    position: relative;
    padding-left: 12px;
    display: inline-block;
}


.footer-nav a:before {
    content: "›";
    position: absolute;
    left: 0;
    color: #1976D2;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}


.footer-nav a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-nav a:hover:before {
    transform: translateX(3px);
    opacity: 1;
}


.footer-bottom {
    /* フッター下部 */
    border-top: 1px solid #444;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

footer.in-view .footer-bottom {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}


.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: #1976D2;
    transition: width 1.2s ease;
}


footer.in-view .footer-bottom::before {
    width: 100%;
    transition-delay: 1s;
}


.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin-bottom: 15px;
    padding: 0;
}


.footer-links li {
    margin: 0 15px 10px;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}


/* リストアイテムごとの遅延アニメーション */
footer.in-view .footer-links li:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

footer.in-view .footer-links li:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.1s;
}

footer.in-view .footer-links li:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.2s;
}


.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: clamp(0.75rem, 3vw, 0.8rem);
    /* フォントサイズをレスポンシブに調整 */
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 3px 0;
    display: inline-block;
}


.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: width 0.3s ease;
}


.footer-links a:hover {
    color: #fff;
    transform: translateY(-2px);
}


.footer-links a:hover::after {
    width: 100%;
}


.copyright {
    color: #999;
    font-size: clamp(0.7rem, 3vw, 0.8rem);
    /* フォントサイズをレスポンシブに調整 */
    text-align: center;
    position: relative;
    padding: 10px 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}


footer.in-view .copyright {
    opacity: 1;
    transition-delay: 1.4s;
}


.copyright:hover {
    color: #ccc;
}

.scroll-top {
    /* スクロールトップボタン */
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #1976D2;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    border: none;
    cursor: pointer;
}


.scroll-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}


.scroll-top:hover,
.scroll-top:active {
    background-color: #1565C0;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.4);
}


.scroll-top::before {
    content: '↑';
    font-size: 20px;
}


.footer-info a {
    /* フッター情報エリアのリンク */
    position: relative;
    display: inline-block;
    color: #1976D2;
    text-decoration: none;
    transition: color 0.3s ease;
}


.footer-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: width 0.3s ease;
}


.footer-info a:hover {
    color: #fff;
}


.footer-info a:hover::after {
    width: 100%;
}


/* アクセシビリティとパフォーマンス */
footer * {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}


.footer-nav a:focus,
.footer-links a:focus,
.scroll-top:focus {
    outline: 2px solid #1976D2;
    outline-offset: 2px;
}


.footer-nav-column,
.footer-links a,
.scroll-top {
    will-change: transform, opacity;
}


/* メディアクエリ */

/* タブレット以上のサイズ */
@media (max-width: 1024px) {
    /* 1024px以下に修正 */

    .about-container,
    .recruit-container {
        flex-direction: column;
        text-align: center;
    }


    .about-media,
    .recruit-media {
        order: -1;
        /* メディアをテキストの前に配置 */
        margin-bottom: 30px;
    }


    .contact-options {
        /* お問い合わせオプションをレスポンシブに */
        flex-direction: column;
        align-items: center;
        /* 中央寄せ */
    }


    .contact-option {
        flex: 0 1 100%;
        /* 幅を100%に */
        max-width: 700px;
        /* 最大幅を設定 */
        margin-bottom: 30px;
        /* マージンを追加 */
    }



    .page-header {
        padding: 70px 0 50px;
    }



    .page-title {
        font-size: 2.2rem;
    }



    .section {
        padding: 60px 0;
    }


    /* サービス一覧のグリッド調整 */
    .service-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    /* 会社概要ページ - 会社沿革調整 */
    .history-timeline::before {
        left: 100px;
    }


    .history-year {
        width: 100px;
    }

}

@media (max-width: 768px) {

    /* ヒーローセクション */
    #hero .hero-tagline {
        font-size: 3rem;
        left: 8%;
        line-height: 1.3;
    }


    #hero .company-brand {
        top: 10%;
        right: 7%;
    }


    #hero .brand-name {
        font-size: 1.6rem;
    }



    #hero .brand-title {
        font-size: 1.3rem;
    }



    #hero .scroll-indicator {
        bottom: 8%;
    }



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


    .section-lead {
        font-size: 1rem;
    }


    .circle {
        /* 事業内容の円形メニュー */
        width: 150px;
        height: 150px;
    }


    .circle-number {
        font-size: 28px;
    }


    .circle-title-ja {
        font-size: 14px;
    }


    /* サービス紹介セクション調整 */
    #service-intro {
        padding: 60px 15px;
    }


    #service-intro .section-title {
        font-size: 2.25rem;
    }


    #service-intro .section-description {
        font-size: 1rem;
    }


    .page-header {
        padding: 60px 0 40px;
    }


    .page-title {
        font-size: 2rem;
    }


    /* セクション調整 */
    .section {
        padding: 50px 0;
    }

    .service-detail,
    .service-detail.reverse {
        /* service-detail のレスポンシブ対応 */
        flex-direction: column;
        gap: 30px;
    }

    .service-image,
    .service-content {
        flex: 0 0 100%;
    }

    .service-detail-image {
        width: 100%;
    }

    .service-detail-title {
        font-size: 1.6rem;
    }


    .service-list {
        /* サービス一覧を1カラムに */
        grid-template-columns: 1fr;
    }


    .services-row {
        flex-direction: column;
    }

    .service-item {
        max-width: 100%;
    }


    /* 会社概要ページ */
    #about-intro {
        padding: 60px 15px;
    }


    #about-intro .section-title {
        font-size: 2.25rem;
    }



    #about-intro .section-description {
        font-size: 1rem;
    }

    .philosophy-content {
        /* 企業理念をレスポンシブに */
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }


    .philosophy-main,
    .philosophy-image {
        flex: 1 1 100%;
        max-width: 100%;
    }


    .philosophy-catch {
        font-size: 1.6rem;
        text-align: center;
    }

    .philosophy-text {
        font-size: 0.95rem;
        text-align: center;
    }


    .outline-table th {
        width: 30%;
    }


    .history-timeline::before {
        left: 80px;
    }


    .history-year {
        width: 80px;
        font-size: 1rem;
    }



    .history-content {
        margin-left: 20px;
        padding: 15px;
    }



    .history-content::before {
        left: -24px;
        width: 12px;
        height: 12px;
    }

    /* 採用情報ページ */
    #recruit-intro {
        padding: 60px 15px;
    }

    #recruit-intro .section-title {
        font-size: 2.25rem;
    }

    #recruit-intro .section-description {
        font-size: 1rem;
    }

    .requirements-table th,
    .requirements-table td {
        padding: 15px;
    }

    .interview-item {
        /* 社員インタビューをレスポンシブに */
        flex-direction: column;
    }


    .interview-image {
        flex: 0 0 200px;
    }



    .faq-question {
        font-size: 1rem;
        padding: 15px;
        /* padding を調整 */
    }


    /* お問い合わせページ */
    #contact-intro {
        padding: 60px 15px;
    }


    #contact-intro .section-title {
        font-size: 2.25rem;
    }


    #contact-intro .section-description {
        font-size: 1rem;
    }


    .contact-method-title {
        font-size: 1.1rem;
    }


    .contact-tel-number,
    .contact-email-address {
        font-size: 1.1rem;
    }


    .faq-question {
        font-size: 1rem;
        padding: 12px 40px 12px 15px;
        /* padding を調整 */
    }


    .access-content {
        /* アクセス情報をレスポンシブに */
        flex-direction: column;
    }

    .access-map {
        order: 2;
        /* 地図を下に */
    }


    .access-info {
        order: 1;
        /* 情報を上に */
    }


    /* プライバシーポリシーページ */
    .page-header {
        padding: 50px 0 30px;
    }


    .page-title {
        font-size: 1.8rem;
    }



    .content-wrapper {
        padding: 25px;
    }



    .policy-title {
        font-size: 1.2rem;
    }


    .policy-content>p:first-child {
        font-size: 1rem;
    }


    /* サイトマップページ */
    .page-header {
        padding: 50px 0 30px;
    }



    .page-title {
        font-size: 1.8rem;
    }


    .content-wrapper {
        padding: 25px;
    }


    .sitemap-title {
        font-size: 1.3rem;
    }


    .sitemap-list a {
        font-size: 1rem;
    }


    .sitemap-sublist a {
        font-size: 0.9rem;
    }


    /* サイトご利用規約ページ */
    .page-header {
        padding: 50px 0 30px;
    }


    .page-title {
        font-size: 1.8rem;
    }


    .content-wrapper {
        padding: 25px;
    }


    .terms-title {
        font-size: 1.2rem;
    }


    .terms-content>p:first-child {
        font-size: 1rem;
    }



    /* ヘッダー - レスポンシブ */
    .header-inner {
        padding: 15px 20px;
    }



    .header-inner.compact {
        padding: 10px 20px;
    }



    .menu-toggle {
        /* ハンバーガーメニューを表示 */
        display: flex;
    }


    .main-nav {
        /* ナビゲーションを非表示 */
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 250, 250, 0.98) 100%);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }


    .main-nav.active {
        right:
            0;
    }

    .nav-list {
        flex-direction: column;
        padding: 0;
        margin: 0;
        width: 80%;
        max-width: 400px;
        opacity: 0;
        transform: translateY(40px);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        transition-delay: 0.2s;
    }

    .main-nav.active .nav-list {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-item {
        margin: 0;
        padding: 0;
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        border-bottom: none;
    }


    .main-nav.active .nav-item {
        opacity: 1;
        transform: translateX(0);
    }



    .nav-item::before {
        /* 背景アクセント */
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, rgba(25, 118, 210, 0.1), rgba(100, 181, 246, 0.1));
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: -1;
        border-radius: 30px;
    }


    .nav-item:hover::before {
        transform: scaleX(1);
        transform-origin: left;
    }

    .nav-link {
        padding: 18px 15px;
        display: block;
        width: 100%;
        font-size: 18px;
        font-weight: 600;
        color: #333;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        position: relative;
        z-index: 1;
        text-transform: uppercase;
        opacity: 0.85;
        text-shadow: none;
    }


    .nav-link:hover {
        transform: translateY(0);
        color: #1976D2;
        opacity: 1;
    }



    .nav-link.current {
        color: #1976D2;
        opacity: 1;
    }



    .nav-link.current::after {
        content: '';
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 2px;
        background: linear-gradient(90deg, #1976D2, #64B5F6);
    }

    /* ナビゲーションアニメーション遅延 */
    .main-nav.active .nav-item:nth-child(1) {
        transition-delay: 0.1s;
    }

    .main-nav.active .nav-item:nth-child(2) {
        transition-delay: 0.3s;
    }

    .main-nav.active .nav-item:nth-child(3) {
        transition-delay: 0.5s;
    }

    .main-nav.active .nav-item:nth-child(4) {
        transition-delay: 0.7s;
    }

    .main-nav.active .nav-item:nth-child(5) {
        transition-delay: 0.9s;
    }

    .menu-overlay {
        /* メニューオーバーレイ */
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 999;
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .menu-overlay.active {
        display: block;
        opacity: 1;
        background: rgba(0, 0, 0, 0.3);
    }


    .menu-close {
        /* 閉じるボタン */
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.9);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 1001;
        transition: all 0.3s ease;
        opacity: 0;
        transform: scale(0);
    }


    .main-nav.active .menu-close {
        opacity: 1;
        transform: scale(1);
        transition-delay: 0.5s;
    }


    .menu-close:hover {
        background-color: #f5f5f5;
        transform: scale(1.1) rotate(90deg);
    }

    .menu-close::before,
    .menu-close::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 2px;
        background-color: #333;
        transition: all 0.3s ease;
    }


    .menu-close::before {
        transform: rotate(45deg);
    }

    .menu-close::after {
        transform: rotate(-45deg);
    }


    .menu-close:hover::before,
    .menu-close:hover::after {
        background-color: #1976D2;
    }


    /* フッター - レスポンシブ */
    footer {
        padding: 40px 15px 20px;
    }


    .footer-content {
        flex-direction: column;
        align-items: center;
    }



    .footer-info {
        max-width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }



    .footer-logo {
        display: flex;
        justify-content: center;
        margin: 0 auto 20px;
    }


    .footer-logo img {
        max-width: 180px;
    }


    .footer-nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }


    .footer-nav-column {
        flex: 0 0 calc(50% - 20px);
        min-width: 160px;
        margin-bottom: 20px;
    }


    .footer-nav-title {
        text-align: center;
    }


    .footer-nav ul {
        display: block;
    }



    .footer-nav li {
        text-align: center;
    }


    .footer-links {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }


    .footer-links li {
        margin: 0 10px 10px;
    }



    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .circle {
        /* 事業内容の円形メニュー - 小画面 */
        width: 130px;
        height: 130px;
    }

    .circle-number {
        font-size: 24px;
    }

    .circle-title-ja {
        font-size: 12px;
    }

    .circle-title-en {
        font-size: 10px;
    }

}

@media (max-width: 480px) {

    /* ヒーローセクション - スマートフォン */
    #hero .hero-tagline {
        font-size: 2.4rem;
        left: 5%;
        line-height: 1.3;
    }


    #hero .brand-name {
        font-size: 1.4rem;
    }



    #hero .brand-title {
        font-size: 1.1rem;
    }

    .main-visual-buttons {
        /* ボタンをレスポンシブに */
        flex-direction: column;
    }


    .service-content-wrapper {
        /* サービスコンテンツをレスポンシブに */
        flex-direction: column;
    }


    .service-image {
        margin-top: 15px;
    }

    /* 会社概要ページ */
    .philosophy-catch {
        font-size: 1.4rem;
    }


    .philosophy-text {
        font-size: 0.9rem;
    }


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


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


    .outline-table td {
        padding-top: 5px;
        padding-bottom: 15px;
    }

    .history-timeline::before {
        left: 70px;
    }


    .history-year {
        width: 70px;
        font-size: 0.9rem;
    }


    /* 採用情報ページ */

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

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


    .requirements-table td {
        padding-top: 5px;
    }

    .section-title-white {
        font-size: 1.6rem;
    }


    .section-lead-white {
        font-size: 1rem;
    }



    /* お問い合わせページ */
    .contact-form-container {
        padding: 20px 15px;
    }



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



    .form-label {
        font-size: 0.95rem;
    }


    .form-input,
    .form-select,
    .form-textarea {
        padding: 10px;
        font-size: 0.95rem;
    }


    .faq-question {
        font-size: 0.95rem;
        padding: 15px;
    }



    .access-info h3 {
        font-size: 1.2rem;
    }


    /* プライバシーポリシーページ */

    .page-header {
        padding: 40px 0 25px;
    }

    .page-title {
        font-size: 1.6rem;
    }


    .content-wrapper {
        padding: 20px;
    }



    .policy-title {
        font-size: 1.1rem;
        margin: 30px 0 12px;
    }


    .policy-list {
        padding-left: 20px;
    }


    .contact-info {
        padding: 12px 15px;
    }


    /* サイトマップページ */
    .page-header {
        padding: 40px 0 25px;
    }

    .page-title {
        font-size: 1.6rem;
    }



    .content-wrapper {
        padding: 20px;
    }


    .sitemap-title {
        font-size: 1.2rem;
    }




    .sitemap-list a {
        font-size: 0.95rem;
    }


    .sitemap-sublist {
        margin-left: 20px;
    }




    .sitemap-list p {
        margin-left: 10px;
    }


    /* サイトご利用規約ページ */
    .page-header {
        padding: 40px 0 25px;
    }


    .page-title {
        font-size: 1.6rem;
    }

    .content-wrapper {
        padding: 20px;
    }

    .terms-title {
        font-size: 1.1rem;
        margin: 30px 0 12px;
    }


    .terms-list {
        padding-left: 20px;
    }


    .contact-info {
        padding: 12px 15px;
    }




    /* ヘッダー - 小さいスマートフォン */
    .header-inner {
        padding: 12px 15px;
    }


    .header-inner.compact {
        padding: 8px 15px;
    }



    .site-logo img {
        max-height: 50px;
    }




    .header-inner.compact .site-logo img {
        max-height: 32px;
    }


    .logo-text {
        display: none;
    }


    .nav-link {
        font-size: 16px;
        padding: 16px 10px;
    }


    /* フッター - 小さいスマートフォン */
    footer {
        padding: 30px 10px 20px;
    }



    .footer-logo img {
        max-width: 160px;
    }



    .footer-nav {
        gap: 15px;
    }


    .footer-nav-column {
        flex: 0 0 100%;
        min-width: 100%;
    }




    .footer-nav-title {
        font-size: 0.95rem;
    }



    .footer-nav a {
        font-size: 0.85rem;
    }


    .footer-links li {
        margin: 0 8px 8px;
    }


    .footer-links a {
        font-size: 0.8rem;
    }


    .scroll-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}


/* モーション感度の低いユーザー向け */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }



    footer.in-view * {
        opacity: 1 !important;
        transform: none !important;
    }
}


/* リサイズ時のアニメーション停止 */
.resize-animation-stopper * {
    transition: none !important;
    animation: none !important;
}

/* お問い合わせセクション全体の背景 */
.contact-section {
    position: relative;
    background-image: url(../img/contact-background.jpg);
    /* 任意の画像に変更可 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 60px 0;
    overflow: hidden;
}

/* オーバーレイ */
.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(206, 227, 255, 0.6);
    z-index: 1;
}

/* 中のコンテンツを前面に出す */
.contact-content {
    position: relative;
    z-index: 2;
}

/* お問い合わせオプション */
.contact-options {
    display: flex;
    justify-content: center;
    align-items: stretch;
    /* stretch に変更 */
    gap: clamp(20px, 5vw, 50px);
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-option {
    flex: 0 1 calc(50% - 25px);
    width: 100%;
    max-width: 500px;
    min-width: 280px;
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(25, 118, 210, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    /* 初期状態は透明 */
    display: flex;
    flex-direction: column;
    /* フレックス方向を縦に */
    justify-content: center;
    /* 垂直方向に中央揃え */
}

.contact-option:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 45px rgba(25, 118, 210, 0.15);
    border-color: #1976D2;
    /* ホバー時にボーダー色を追加 */
}

.contact-option-title {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
    color: #1976D2;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.contact-option-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #1976D2;
}


.contact-phone-number {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    display: block;
    /* ブロックレベル要素に変更 */
    text-decoration: none;
    /* デコレーションを削除 */
    transition: color 0.3s ease;
    word-break: break-word;
    /* 必要に応じて単語を改行 */
}

.contact-phone-number:hover {
    color: #1976D2;
}

.contact-hours {
    color: #666;
    margin-bottom: 25px;
    font-size: clamp(0.8rem, 3.5vw, 0.9rem);
}

.contact-description {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: clamp(0.9rem, 4vw, 1rem);
}