@charset "utf-8";

/*
Theme Name: COCON
Theme URI: https://cocon-inc.co.jp/
Description: A theme by <a href="https://cocon-inc.co.jp/">kimura kazuki</a>.
Version: 1.0
Author: kimura kazuki
Author URI: http://kidsc0me.com/
*/

/* カスタムスタイル */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
}

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

/* スムーズなスクロール */
html {
    scroll-behavior: smooth;
}

/* ローディングアニメーション（Safari対応改善） */
body {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    /* font-family:
        "Noto Sans JP",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif; */
    font-family:
        YakuHanJP, neue-haas-grotesk-display, "Koburina Gothic W6 JIS2004", 游ゴシック, "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3",
        "Hiragino Kaku Gothic Pro", "Hiragino Sans", "Meiryo UI", メイリオ, Meiryo, "Droid Sans", sans-serif;
    line-height: 1.6;
    color: #333;
    visibility: hidden;
}

body.loaded {
    opacity: 1;
    visibility: visible;
}

/* Safari用フォールバック - 3秒後に強制表示 */
body {
    animation: safariShowBody 0.1s ease-in-out 3s forwards;
}

@keyframes safariShowBody {
    to {
        opacity: 1;
        visibility: visible;
    }
}

/* 基本的なレイアウトクラス */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ヘッダースタイル */
header {
    background-color: #f4f4f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition:
        background-color 0.3s ease,
        backdrop-filter 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
    max-width: 80rem;
    padding: 0 1rem;
}

header .logo {
    width: 290px;
}
@media (max-width: 768px) {
    header .logo {
        width: 230px;
    }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    transition: color 0.15s ease;
}

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

/* メインコンテンツ */
main {
    /* overflow-x: hidden; */
    padding-top: 4rem;
}

/* scroll-imagesセクション内ではoverflowを無効化 */
main #scroll-images {
    overflow: visible !important;
}

main #scroll-images .sticky {
    position: sticky !important;
}

/* セクション */
section {
    padding: 5rem 0;
}

section#hero {
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    /* height: 51vh;
    aspect-ratio: 960 / 340; 動画のアスペクト比 2.824:1 */
}

/* 古いブラウザ対応のためのフォールバック */
@supports not (aspect-ratio: 960 / 340) {
    section#hero {
        padding-bottom: 35.42%; /* 340/960 * 100% = 35.42% */
        height: 0;
    }

    section#hero video,
    section#hero img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* 動画背景 */
section#hero video {
    width: 100%;
    height: 100%;
    /* object-fit: cover;
    display: block; */
}

/* スマホ表示時の動画トリミング */
@media (max-width: 768px) {
    section#hero {
        overflow: visible;
        position: relative;
        margin-top: 4rem;
    }

    section#hero video {
        width: 130%; /* 左右15%ずつトリミングするため130%に拡大 */
        height: 130%; /* 高さも同様に拡大 */
        object-fit: cover;
        object-position: center center;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* 中央に配置 */
        min-width: 130%;
        min-height: 130%;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero .highlight {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #dbeafe;
}

/* グリッドレイアウト */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gap-8 {
    gap: 2rem;
}

/* カード */
.card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

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

.card-content {
    padding: 2rem;
}

.card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

/* タイポグラフィ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #6b7280;
}

/* ユーティリティクラス */
.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.bg-white {
    background-color: white;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-gray-900 {
    background-color: #111827;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

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

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* フッター */
footer {
    background-color: #111827;
    color: white;
    padding: 3rem 0;
}

footer .grid {
    gap: 2rem;
}

footer h3,
footer h4 {
    color: white;
    margin-bottom: 1rem;
}

footer p,
footer li {
    color: #d1d5db;
    font-size: 0.875rem;
}

footer a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.15s ease;
}

footer a:hover {
    color: white;
}

/* モバイルメニュー */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #374151;
}

.mobile-menu-button:hover {
    color: var(--primary-color);
}

.mobile-menu {
    background-color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-menu a:hover {
    color: var(--primary-color);
    background-color: #f9fafb;
}

/* 動画の最適化 */
section#hero img {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    object-fit: cover;
    display: block;
}

/* プロジェクトリスト */
#project-list {
    background-color: #fff;
}
#project-list .grid {
    padding-bottom: 80px;
}

#project-list .space-y-8 > * + * {
    margin-top: 2rem;
}

/* マステックレイアウト（ズレ効果） */
#project-list .transform {
    transition: transform 0.3s ease;
}

#project-list .transform:hover {
    transform: translateY(-10px);
}

/* カードスタイル */
#project-list .rounded-2xl {
    border-radius: 1rem;
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

#project-list .rounded-2xl:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* #project-list .title {
    width: 300px;
}
@media (max-width: 768px) {
    #project-list .title {
        width: 200px;
    }
} */

#project-list .project {
    padding-bottom: 74px;
}
#project-list .project .title {
    line-height: 39.2px;
    margin-top: 1.1071428571em;
    font-size: 1.75rem;
    font-weight: bold;
    letter-spacing: 0;
}
#project-list .project .description {
    line-height: 25.6px;
    margin-top: 10.8px;
}

/* プロジェクトセクション - aタグ内の画像ホバー効果 */
#project-list .project a {
    display: block;
    overflow: hidden;
}
#project-list .project a .image {
    overflow: hidden;
    border-radius: 15px;
}
#project-list .project a img {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
}

#project-list .project a:hover img {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    #project-list .title {
        margin-bottom: 20px;
        font-size: 38px;
        letter-spacing: -2px;
    }
    #project-list .project {
        padding-bottom: 0;
    }
    #project-list .grid {
        padding-bottom: 0;
    }
    #project-list .project .title {
        margin: 19px 0 13px;
        font-size: 21px;
    }
}
.title .en {
    line-height: 43px;
    width: 170px;
    font-size: 16px;
    font-weight: normal;
}
.title .en span {
    margin-left: 10px;
    letter-spacing: 0px;
    font-size: 15px;
}
.text-line-left {
    display: flex;
    align-items: center;
}
.text-line-left .span {
    padding-left: 10px;
}

.text-line-left:before {
    content: "";
    flex-grow: 1;
    height: 1px;
    display: block;
}

.text-line-left:before {
    background: #ffaaaa;
}

/* カラーテーマ */
.text-red-500 {
    color: #ef4444;
}

.bg-orange-100 {
    background-color: #fed7aa;
}

.text-orange-600 {
    color: #ea580c;
}

.bg-purple-600 {
    background-color: #9333ea;
}

.bg-blue-600 {
    background-color: #2563eb;
}

.bg-blue-500 {
    background-color: #3b82f6;
}

.text-blue-300 {
    color: #93c5fd;
}

.text-blue-100 {
    color: #dbeafe;
}

.bg-green-100 {
    background-color: #dcfce7;
}

.text-green-600 {
    color: #16a34a;
}

.bg-green-500 {
    background-color: #22c55e;
}

.text-blue-500 {
    color: #3b82f6;
}

.bg-gray-200 {
    background-color: #e5e7eb;
}

/* スクロール画像セクション */
#scroll-images {
    position: relative;
    height: 1000vh !important; /* 10倍の高さで3倍のスクロール量に対応 */
    min-height: 1000vh !important; /* 最小高さも設定 */
    overflow: visible !important; /* overflowを明示的に設定 */
    contain: none !important; /* containmentを無効化 */
}
#scroll-images .scroll-content {
    background: linear-gradient(to bottom, #ffffff 0%, #e9e9e4 100%);
}
/* スティッキーコンテナで画像を固定表示 */
#scroll-images .sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    z-index: 10 !important; /* より高いz-indexを設定 */
    will-change: transform; /* パフォーマンス最適化 */
}

.scroll-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    /* transform: translateY(50px); */
    /* transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); */
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.scroll-content.active {
    opacity: 1;
    /* transform: translateY(0); */
    z-index: 2;
}

/* fadeInUpアニメーション - テキスト部分のみ */
.scroll-content.active .scroll-text-en,
.scroll-content.active .scroll-text-title,
.scroll-content.active .scroll-text-content,
.scroll-content.active .button-container {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.scroll-content:not(.active) .scroll-text-en,
.scroll-content:not(.active) .scroll-text-title,
.scroll-content:not(.active) .scroll-text-content,
.scroll-content:not(.active) .button-container {
    opacity: 0;
    transform: translateY(30px);
}

.scroll-content.active .scroll-text-en,
.scroll-content.active .scroll-text-title,
.scroll-content.active .scroll-text-content,
.scroll-content.active .button-container {
    opacity: 1;
    transform: translateY(0);
}

/* 画像は常に表示 */
.scroll-content .image-content img {
    opacity: 1;
    transform: translateY(0);
}

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

/* 段階的なアニメーション遅延 - テキストのみ */
/* .scroll-content.active .scroll-text-en {
    animation-delay: 0.1s;
}

.scroll-content.active .scroll-text-title {
    animation-delay: 0.2s;
}

.scroll-content.active .scroll-text-content {
    animation-delay: 0.3s;
} */

/* テキストスタイル */
.scroll-text-en {
    font-size: 18px;
    font-weight: 700;
    /* color: #3b82f6; */
    margin-bottom: 1.98px;
    letter-spacing: 0.36px;
}

.scroll-text-title {
    font-size: 48px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 28.8px;
    line-height: 1.3;
    letter-spacing: 1.92px;
}

.scroll-text-content {
    font-size: 16px;
    color: #374151;
    line-height: 25.6px;
}
.button-container a {
    display: inline-block;
    margin-top: 99px;
    padding: 19px 62px;
    font-size: 14px;
}

/* レイアウト調整 */
.text-content {
    width: 54% !important;
    padding-right: 0;
}

.image-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46% !important;
    min-height: 400px;
    padding: 0;
}

.image-content img {
    /* width: 500px; */
    /* height: 400px; */
    object-fit: contain;
    object-position: center;
    border-radius: 1rem;
    background-color: transparent;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .scroll-text-en {
        font-size: 32px;
        margin-bottom: 0.75rem;
    }

    .scroll-text-title {
        font-size: 24px;
        margin-bottom: 1rem;
    }

    .scroll-text-content {
        font-size: 14px;
        line-height: 22.4px;
    }

    .text-content {
        width: 100% !important;
        padding-right: 0;
        padding-bottom: 2rem;
        /* text-align: center; */
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        align-content: end;
    }

    .image-content {
        /* min-height: 240px; */
        /* padding: 1rem; */
        width: 100% !important;
    }

    .image-content img {
        width: 300px;
        /* height: 240px; */
        object-fit: contain;
        object-position: center;
    }
    .button-container a {
        margin-top: 10px;
        padding: 10px 30px;
    }
}
@media (max-width: 375px) {
    .text-content {
        height: 80% !important;
    }
    .image-content {
        height: 25% !important;
        min-height: 45% !important;
    }
    .image-content img {
        width: 240px;
    }
    .scroll-text-en {
        margin-bottom: 0;
    }
    .scroll-text-title {
        margin-bottom: 0;
    }
}

/* メンバーセクション - タイトル画像 */
.member-title {
    width: 600px;
    height: auto;
    max-width: 100%;
}

/* メンバーセクション - 背景画像 */
.member-bg-image {
    left: 0;
    width: 60%;
    top: 62%;
    bottom: 8%;
    background-image: url("./images/member/bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;
    z-index: 1;
    border-radius: 0 2rem 2rem 0;
}

/* メンバーセクション - h2の位置設定 */
#member h2 {
    position: relative;
}
#member h2 .title {
    font-size: 88px;
    font-weight: normal;
    letter-spacing: -6px;
}
#member h2 .title .en {
    width: 270px;
    font-size: 26px;
}
#member h2 .title .en span {
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.44px;
}
#member h2 .description {
    max-width: 550px;
    margin-top: 34px;
    font-size: 16px;
    line-height: 24px;
    font-weight: normal;
    letter-spacing: 1px;
}
/* メンバーセクション - 背景テキスト */
#member .bg-text {
    position: absolute;
    bottom: -120px;
    /* left: 50%;
    transform: translateX(-50%); */
    right: 0;
    font-size: 230px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.03);
    z-index: 0;
    pointer-events: none;
    letter-spacing: -20px;
}

/* スマホ表示時のタイトル画像 */
@media (max-width: 768px) {
    .member-title {
        width: 100%;
    }

    #member h2 .title {
        font-size: 56px;
        letter-spacing: -4px;
    }
    #member h2 .title .en {
        width: 170px;
        margin-top: 10px;
    }

    /* スマホ表示時の背景テキスト */
    #member .bg-text {
        bottom: -5px;
        font-size: 68px;
        letter-spacing: -3px;
    }
}

/* Our Projectページ - タイトル画像 */
.robot-title {
    width: 300px;
    height: auto;
    max-width: 100%;
}

/* Our Projectページ - 説明画像 */
.robot-description {
    width: 600px;
    height: auto;
    max-width: 100%;
}

/* システム開発ページ - タイトル画像 */
.system-title {
    display: block;
    width: 300px; /* 600px画像を半分で表示 */
    height: auto;
    max-width: 100%;
}

/* システム開発ページ - サブタイトル画像 */
.system-subtitle {
    display: block;
    width: 600px; /* サブタイトルはフル幅で表示 */
    height: auto;
    max-width: 100%;
}

/* スマホ表示時のOur Projectタイトル画像 */
@media (max-width: 768px) {
    .robot-title {
        width: 100%;
    }

    .robot-description {
        width: 100%;
    }

    /* スマホ表示時のシステム開発ページ画像 */
    .system-title,
    .system-subtitle {
        width: 100%;
    }
}

/* Our Projectページ - メニュー画像グリッド */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

.menu-item {
    width: 250px;
    height: auto;
    display: block;
}

/* スマホ表示時のメニュー画像グリッド */
@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .menu-item {
        width: 100%;
        max-width: 250px;
    }
}

/* Our Projectページ - 取扱商品一覧 */
.item-list-title {
    width: auto;
    height: auto;
    max-width: 100%;
    transform: scale(0.5);
    transform-origin: left top;
}

.subtitle-image {
    width: auto;
    height: auto;
    max-width: 100%;
    transform: scale(0.5);
    transform-origin: left top;
}

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

.product-item {
    width: 100%;
    height: auto;
    display: block;
}

/* スマホ表示時の取扱商品一覧 */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Our Projectページ - Swiperスライダー */
.robot-swiper {
    width: 100%;
    height: auto;
    padding: 40px 0 80px 0;
}

.robot-swiper .swiper-slide {
    width: auto;
    height: auto;
}

.robot-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.robot-swiper .swiper-slide img:hover {
    transform: translateY(-4px);
}

/* robot Swiperナビゲーションボタンのカスタマイズ */
.robot-swiper .swiper-button-next,
.robot-swiper .swiper-button-prev {
    color: #3b82f6;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.robot-swiper .swiper-button-next:hover,
.robot-swiper .swiper-button-prev:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.robot-swiper .swiper-button-next::after,
.robot-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* Our Project Swiperページネーションのカスタマイズ */
.robot-swiper .swiper-pagination {
    bottom: 30px;
}

.robot-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    transition: all 0.3s ease;
    width: 12px;
    height: 12px;
}

.robot-swiper .swiper-pagination-bullet-active {
    background: #3b82f6;
    transform: scale(1.3);
}

/* メンバーセクション - Swiperスライダー */
.member-swiper {
    padding: 20px 0 60px 0;
}

.member-swiper .swiper-slide {
    height: auto;
}

.member-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.member-swiper .swiper-slide img:hover {
    transform: translateY(-4px);
}

/* Swiperナビゲーションボタンのカスタマイズ */
.member-swiper .swiper-button-next,
.member-swiper .swiper-button-prev {
    color: #3b82f6;
    background: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.member-swiper .swiper-button-next:hover,
.member-swiper .swiper-button-prev:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.member-swiper .swiper-button-next::after,
.member-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Swiperページネーションのカスタマイズ */
.member-swiper .swiper-pagination {
    bottom: 20px;
}

.member-swiper .swiper-pagination-bullet {
    background: #d1d5db;
    opacity: 1;
    transition: all 0.3s ease;
}

.member-swiper .swiper-pagination-bullet-active {
    background: #3b82f6;
    transform: scale(1.2);
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .scroll-image img {
        max-width: 75%;
        max-height: 75%;
    }

    .progress-dot {
        width: 10px;
        height: 10px;
    }
}

/* レスポンシブ対応でのアスペクト比維持 */
@media (max-width: 768px) {
    section#hero {
        aspect-ratio: 960 / 340; /* モバイルでも同じアスペクト比を維持 */
        /* overflow-x: hidden; */
        overflow-y: visible;
        height: 20vh;
    }

    /* モバイルでのマステックレイアウト調整 */
    #project-list .transform {
        transform: none !important;
    }

    #project-list .lg\\:translate-y-0,
    #project-list .lg\\:translate-y-4,
    #project-list .lg\\:translate-y-8,
    #project-list .lg\\:translate-y-12,
    #project-list .lg\\:translate-y-16,
    #project-list .lg\\:translate-y-20 {
        transform: translateY(0) !important;
    }
}

/* レスポンシブ調整 */
@media (max-width: 1024px) {
    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    /* 動画背景のモバイル調整 */
    section#hero video {
        object-position: center center;
    }

    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .button-group {
        justify-content: center;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .px-4 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* フェードインアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}

.fade-in.opacity-100 {
    opacity: 1;
    transform: translateY(0);
}

/* 印刷用スタイル */
@media print {
    header,
    footer,
    .mobile-menu-button {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* アクセシビリティ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* モバイルメニューの表示制御 */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    display: block;
    max-height: calc(100vh - 4rem); /* ヘッダー分を差し引いた高さ */
    overflow-y: auto; /* 縦スクロールを有効化 */
    overflow-x: hidden; /* 横スクロールは無効 */
}

.mobile-menu.hidden {
    display: none !important;
}

/* モバイルメニューのスクロールバーのスタイリング（Webkit系ブラウザ） */
.mobile-menu::-webkit-scrollbar {
    width: 6px;
}

.mobile-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.mobile-menu::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.mobile-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* モバイルドロップダウンの回転アニメーション */
.mobile-dropdown-toggle svg.rotate-180 {
    transform: rotate(180deg);
}

/* グローバルメニューのホバー効果 */
header nav a:hover,
header nav button:hover {
    background-color: rgba(244, 244, 240, 0.8);
    color: #2563eb;
}

/* ドロップダウンメニューのホバー効果 */
.group:hover .absolute a:hover {
    background-color: rgba(37, 99, 235, 0.1) !important;
    color: #2563eb !important;
}

/* モバイルメニューのホバー効果 */
.mobile-menu a:hover,
.mobile-dropdown-toggle:hover {
    background-color: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

/* モバイルメニューの1階層目の左マージン統一 */
.mobile-menu > div > a,
.mobile-menu > div > .mobile-dropdown > .mobile-dropdown-toggle {
    padding-left: 1rem !important; /* 16px */
}

/* モバイルメニューの2階層目の左マージン */
.mobile-dropdown-content a {
    padding-left: 2rem !important; /* 32px */
}

/* モバイルメニューの3階層目（法的ページ）の左マージン */
.mobile-dropdown-content a[href*="law"],
.mobile-dropdown-content a[href*="privacy-policy"],
.mobile-dropdown-content a[href*="security"] {
    padding-left: 3rem !important; /* 48px */
}

/* モバイルメニューのコンテナ調整 */
.mobile-menu > div {
    padding-bottom: 1rem; /* 下部に余白を追加 */
}

/* モバイルメニューのスムーズスクロール */
.mobile-menu {
    scroll-behavior: smooth;
}

/* フォーカス時のアウトライン */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Guide Robotページ */
.guide-robot-title {
    display: block;
    width: 300px; /* 600px画像を半分で表示 */
    height: auto;
    max-width: 100%;
}

.guide-robot-subtitle {
    display: block;
    width: 600px; /* サブタイトルはフル幅で表示 */
    height: auto;
    max-width: 100%;
}

.guide-robot-swiper {
    width: 100%;
    height: auto;
    padding: 40px 0 80px 0;
}

.guide-robot-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.guide-robot-swiper .swiper-button-next,
.guide-robot-swiper .swiper-button-prev {
    color: #3b82f6;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.guide-robot-swiper .swiper-button-next:hover,
.guide-robot-swiper .swiper-button-prev:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.guide-robot-swiper .swiper-button-next::after,
.guide-robot-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.guide-robot-swiper .swiper-pagination {
    bottom: 30px;
}

.guide-robot-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    transition: all 0.3s ease;
    width: 12px;
    height: 12px;
}

.guide-robot-swiper .swiper-pagination-bullet-active {
    background: #3b82f6;
    transform: scale(1.3);
}

/* Our Projectページ - スライダー */
.our-project-swiper {
    width: 100%;
    height: auto;
    padding: 40px 0 80px 0;
}

.our-project-swiper .swiper-slide {
    width: auto;
    height: auto;
}

.our-project-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.our-project-swiper .swiper-button-next,
.our-project-swiper .swiper-button-prev {
    color: #3b82f6;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.our-project-swiper .swiper-button-next:hover,
.our-project-swiper .swiper-button-prev:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.our-project-swiper .swiper-button-next::after,
.our-project-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.our-project-swiper .swiper-pagination {
    bottom: 30px;
}

.our-project-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    transition: all 0.3s ease;
    width: 12px;
    height: 12px;
}

.our-project-swiper .swiper-pagination-bullet-active {
    background: #3b82f6;
    transform: scale(1.3);
}

/* システム開発ページ - Swiperスライダー */
.system-swiper {
    width: 100%;
    height: auto;
    padding: 40px 0 80px 0;
}

.system-swiper .swiper-slide {
    width: auto;
    height: auto;
}

.system-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.system-swiper .swiper-slide img:hover {
    transform: translateY(-4px);
}

/* システム開発 Swiperナビゲーションボタンのカスタマイズ */
.system-swiper .swiper-button-next,
.system-swiper .swiper-button-prev {
    color: #3b82f6;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.system-swiper .swiper-button-next:hover,
.system-swiper .swiper-button-prev:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.system-swiper .swiper-button-next::after,
.system-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* システム開発 Swiperページネーションのカスタマイズ */
.system-swiper .swiper-pagination {
    bottom: 30px;
}

.system-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    transition: all 0.3s ease;
    width: 12px;
    height: 12px;
}

.system-swiper .swiper-pagination-bullet-active {
    background: #3b82f6;
    transform: scale(1.3);
}

/* システム開発ページ - セクションタイトル */
.system-section-title {
    width: 550px;
    height: auto;
    max-width: 100%;
}

/* システム開発ページ - 第2スライダー */
.system-swiper-2 {
    width: 100%;
    height: auto;
    padding: 40px 0 80px 0;
}

.system-swiper-2 .swiper-slide {
    width: auto;
    height: auto;
}

.system-swiper-2 .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.system-swiper-2 .swiper-slide img:hover {
    transform: translateY(-4px);
}

/* システム開発 第2スライダー ナビゲーションボタンのカスタマイズ */
.system-swiper-2 .swiper-button-next,
.system-swiper-2 .swiper-button-prev {
    color: #3b82f6;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.system-swiper-2 .swiper-button-next:hover,
.system-swiper-2 .swiper-button-prev:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.system-swiper-2 .swiper-button-next::after,
.system-swiper-2 .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* システム開発 第2スライダー ページネーションのカスタマイズ */
.system-swiper-2 .swiper-pagination {
    bottom: 30px;
}

.system-swiper-2 .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    transition: all 0.3s ease;
    width: 12px;
    height: 12px;
}

.system-swiper-2 .swiper-pagination-bullet-active {
    background: #3b82f6;
    transform: scale(1.3);
}

/* システム開発ページ - 技術タイトル */
.system-skill-title {
    width: 600px;
    height: auto;
    max-width: 100%;
}

/* システム開発ページ - グラデーション背景 */
.system-page-gradient {
    background: linear-gradient(to bottom, #fff 0%, #eaeae5 100%);
    min-height: 100vh;
    padding-bottom: 0;
}

/* システム開発ページ - CTAセクションの下部マージン削除 */
.system-page-gradient section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* 会社概要ページ - タイトル画像 */
.company-title {
    display: block;
    width: 150px;
    height: auto;
    max-width: 100%;
}

/* 会社概要ページ - Swiperスライダー */
.company-swiper {
    width: 100%;
    height: auto;
    padding: 40px 0 80px 0;
}

.company-swiper .swiper-slide {
    width: auto;
    height: auto;
}

.company-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.company-swiper .swiper-slide img:hover {
    transform: translateY(-4px);
}

/* 会社概要 Swiperナビゲーションボタンのカスタマイズ */
.company-swiper .swiper-button-next,
.company-swiper .swiper-button-prev {
    color: #3b82f6;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.company-swiper .swiper-button-next:hover,
.company-swiper .swiper-button-prev:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.company-swiper .swiper-button-next::after,
.company-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* 会社概要 Swiperページネーションのカスタマイズ */
.company-swiper .swiper-pagination {
    bottom: 30px;
}

.company-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    transition: all 0.3s ease;
    width: 12px;
    height: 12px;
}

.company-swiper .swiper-pagination-bullet-active {
    background: #3b82f6;
    transform: scale(1.3);
}

/* 会社概要ページ - 会社情報テーブル */
.company-info-table {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.company-info-table table {
    width: 100%;
    border-collapse: collapse;
}

.company-info-label {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 600;
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
    width: 150px;
    min-width: 150px;
}

.company-info-value {
    background-color: white;
    color: #555;
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
    line-height: 1.6;
}

.company-info-table tr:last-child .company-info-label,
.company-info-table tr:last-child .company-info-value {
    border-bottom: none;
}

/* スマートフォン表示時の会社情報テーブル */
@media (max-width: 768px) {
    .company-info-table {
        margin: 0 1rem;
    }

    .company-info-label {
        width: 120px;
        min-width: 120px;
        padding: 12px 16px;
        font-size: 14px;
    }

    .company-info-value {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* 特定商取引法に基づく表記ページ - テーブル */
.tokusho-table {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tokusho-table table {
    width: 100%;
    border-collapse: collapse;
}

.tokusho-label {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 600;
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
    width: 200px;
    min-width: 200px;
}

.tokusho-value {
    background-color: white;
    color: #555;
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
    line-height: 1.6;
}

.tokusho-table tr:last-child .tokusho-label,
.tokusho-table tr:last-child .tokusho-value {
    border-bottom: none;
}

/* スマートフォン表示時の特定商取引法テーブル */
@media (max-width: 768px) {
    .tokusho-table {
        margin: 0 1rem;
    }

    .tokusho-label {
        width: 140px;
        min-width: 140px;
        padding: 12px 16px;
        font-size: 14px;
    }

    .tokusho-value {
        padding: 12px 16px;
        font-size: 14px;
    }

    /* 法的ページのタイトルをスマホ表示時に小さく */
    .text-4xl {
        font-size: 1.5rem !important; /* text-2xl相当 */
        line-height: 2rem !important;
    }
}

/* Guide Robot オープニング演出 */
.opening-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.opening-overlay.fade-out {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.opening-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.opening-text {
    position: absolute;
    color: #ffffff;
    /* font-family: "Noto Sans JP", sans-serif; */
    font-weight: 700;
    font-size: 4rem;
    text-align: center;
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1em;
}

.opening-text.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.opening-text.hide {
    opacity: 0;
    transform: translateY(-50px) scale(1.2);
    transition: all 0.8s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.opening-text.subtitle {
    font-size: 3rem;
    color: #3b82f6;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.opening-text.small {
    font-size: 2rem;
    color: #9ca3af;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.opening-text.final {
    font-size: 3.5rem;
    color: #f59e0b;
    font-weight: 600;
    text-shadow: 0 0 40px rgba(245, 158, 11, 0.6);
    animation: finalGlow 2s ease-in-out infinite alternate;
}

.opening-text.multiline {
    line-height: 1.2;
}

.opening-text.multiline br + * {
    color: #3b82f6;
    font-size: 0.75em;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.opening-text.coming-soon {
    font-size: 2.5rem;
    color: #9ca3af;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

.opening-text.coming-soon br + * {
    color: #f59e0b;
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-shadow: 0 0 40px rgba(245, 158, 11, 0.6);
    animation: finalGlow 2s ease-in-out infinite alternate;
}

@keyframes finalGlow {
    from {
        text-shadow: 0 0 40px rgba(245, 158, 11, 0.6);
    }
    to {
        text-shadow:
            0 0 60px rgba(245, 158, 11, 0.8),
            0 0 80px rgba(245, 158, 11, 0.4);
    }
}

.opening-image {
    position: absolute;
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
    transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.opening-image.show {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.opening-image.hide {
    opacity: 0;
    transform: scale(1.5) rotate(10deg);
    transition: all 0.8s ease-in;
}

.opening-image img {
    max-width: 60vw;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.skip-button {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.skip-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.skip-button span {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.skip-button small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
}

.normal-content {
    opacity: 0;
    transition: opacity 1s ease-in;
}

.normal-content.fade-in {
    opacity: 1;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .opening-text {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .opening-text.subtitle {
        font-size: 2rem;
    }

    .opening-text.small {
        font-size: 1.5rem;
    }

    .opening-text.final {
        font-size: 2.5rem;
    }

    .opening-image img {
        max-width: 80vw;
        max-height: 50vh;
    }

    .skip-button {
        bottom: 1rem;
        right: 1rem;
        padding: 0.5rem 1rem;
    }

    .skip-button span {
        font-size: 0.875rem;
    }

    .skip-button small {
        font-size: 0.625rem;
    }
}

@media (max-width: 480px) {
    .opening-text {
        font-size: 2rem;
    }

    .opening-text.subtitle {
        font-size: 1.5rem;
    }

    .opening-text.small {
        font-size: 1.25rem;
    }

    .opening-text.final {
        font-size: 2rem;
    }
}

#cta .inner {
    display: flex;
    justify-content: center;
    /* align-items: stretch; */
    align-items: center;
    width: 1280px;
    margin: 0 auto;
    border-radius: 20px;
    background-color: #576868;
}
#cta .text {
    width: 50%;
    padding: 75px 107px;
}
#cta .text .title {
    line-height: 1.3;
    margin-bottom: 20px;
    color: #fff;
    font-size: 42px;
    letter-spacing: -1px;
}
#cta .text .title .text-line-left:before {
    background: #fff;
}
#cta .text .content p {
    line-height: 1.4 !important;
    margin-bottom: 20px !important;
    color: #fff !important;
    font-size: 18px;
    font-weight: normal;
}
#cta .button-container a {
    color: #fff;
}
#cta .button-container a:hover {
    color: #000;
}
#cta .image {
    width: 50%;
    overflow: hidden;
    height: 668px;
}
#cta .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 768px) {
    #cta {
        margin: 0 10px 30px;
    }
    #cta .inner {
        width: 100%;
    }
    #cta .text {
        width: 70%;
        padding: 10px 15px;
        font-size: 16px;
    }
    #cta .text .title {
        font-size: 21px;
        letter-spacing: 0;
    }
    #cta .title .en {
        line-height: 33px;
    }
    #cta .title .en span {
        font-size: 13px;
    }
    #cta .text .content p {
        font-size: 14px;
    }
    #cta .image {
        width: 30%;
        padding-right: 10px;
        height: 450px;
        display: flex;
        align-items: center;
    }
    #cta .button-container a {
        padding: 5px 15px;
        font-size: 12px;
    }
}

/* CTA画像スライダー */
#cta .image-slider-container {
    display: flex;
    gap: 10px;
    height: 100%;
    overflow: hidden;
    border-radius: 0 20px 20px 0;
    padding: 0;
    margin: 0;
}

#cta .image-slider {
    position: relative;
    flex: 1;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

#cta .image-slider-track {
    display: flex;
    flex-direction: column;
}

/* 左カラム - 下から上へ */
#cta .image-slider-left .image-slider-track {
    animation: slideUp 15s linear infinite;
}

/* 右カラム - 上から下へ */
#cta .image-slider-right .image-slider-track {
    animation: slideDown 15s linear infinite;
}

#cta .slide-item {
    width: 260px;
    height: 340px;
    flex-shrink: 0;
    margin: 17px 0;
}

#cta .slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

@keyframes slideUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0);
    }
}

/* モバイル時のスライダー - 1カラムに変更 */
@media (max-width: 768px) {
    #cta .image-slider-container {
        border-radius: 0 10px 10px 0;
        flex-direction: column;
        gap: 0;
        height: 100%;
    }

    /* モバイルでは左カラムのみ表示 */
    #cta .image-slider-left {
        width: 100%;
        display: flex;
        justify-content: center;
        height: 450px;
        overflow: hidden;
    }

    #cta .image-slider-right {
        display: none;
    }

    #cta .slide-item {
        /* width: 130px; */
        width: 100px;
        height: 170px;
        margin: 8.5px 0;
    }

    #cta .image-slider-track {
        animation-duration: 10s;
    }

    /* モバイルでは左カラムが下から上へのアニメーション */
    #cta .image-slider-left .image-slider-track {
        animation: slideUpMobile 10s linear infinite;
    }

    @keyframes slideUpMobile {
        0% {
            transform: translateY(0);
        }
        100% {
            transform: translateY(-50%);
        }
    }
}

.privacy-policy main p,
.privacy-policy main ul li,
.page-security main p,
.page-security main ul li {
    font-size: 14px;
}
.privacy-policy main h2,
.page-security main h2 {
    font-size: 20px;
}

.privacy-policy footer,
.page-law footer,
.page-security footer {
    margin-top: 140px;
}
