/* Main Styles */

/* Variables */
:root {
    --color-primary: #0095c8; /* 海の青色 */
    --color-secondary: #00d4c8; /* ターコイズ */
    --color-accent: #ff6b9d; /* メタモン風ピンク */
    --color-dark: #0a2540; /* 深い海の色 */
    --color-light: #e6f9ff; /* 明るい水色 */
    --color-gray: #a0c8e0; /* 薄い青灰色 */
    --color-white: #fff;
    
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Noto Sans JP', sans-serif;
    
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

/* 泡のスタイル */
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.bubble {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    pointer-events: none;
    animation: float-up var(--travel-distance) linear infinite;
    opacity: var(--opacity);
    transform-origin: center;
    will-change: transform, opacity;
}

.bubble::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 25%;
    width: 20%;
    height: 20%;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

@keyframes float-up {
    0% {
        transform: translate(0, 100vh) scale(0.8) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: var(--opacity);
    }
    90% {
        opacity: var(--opacity);
    }
    100% {
        transform: translate(var(--horizontal-movement), -100px) scale(1.2) rotate(360deg);
        opacity: 0;
    }
}

@keyframes float-up-1 {
    0% {
        transform: translate(0, 100vh) scale(0.8) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: var(--opacity);
    }
    90% {
        opacity: var(--opacity);
    }
    100% {
        transform: translate(calc(var(--horizontal-movement) * 1.5), -100px) scale(1.2) rotate(360deg);
        opacity: 0;
    }
}

@keyframes float-up-2 {
    0% {
        transform: translate(0, 100vh) scale(0.8) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: var(--opacity);
    }
    90% {
        opacity: var(--opacity);
    }
    100% {
        transform: translate(calc(var(--horizontal-movement) * -1.5), -100px) scale(1.2) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes float-up-3 {
    0% {
        transform: translate(0, 100vh) scale(0.8) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: var(--opacity);
    }
    50% {
        transform: translate(calc(var(--horizontal-movement) * 0.5), 50vh) scale(1.1) rotate(180deg);
    }
    90% {
        opacity: var(--opacity);
    }
    100% {
        transform: translate(calc(var(--horizontal-movement) * 1.2), -100px) scale(1.2) rotate(360deg);
        opacity: 0;
    }
}

@keyframes bubble-glow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

@keyframes sway {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(5px);
    }
    75% {
        transform: translateX(-5px);
    }
}

/* 極小の泡のスタイル */
.bubble.tiny {
    width: 2px;
    height: 2px;
}

/* 小さな泡のスタイル */
.bubble.small {
    width: 4px;
    height: 4px;
}

/* 中くらいの泡のスタイル */
.bubble.medium {
    width: 8px;
    height: 8px;
}

/* 大きな泡のスタイル */
.bubble.large {
    width: 12px;
    height: 12px;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a2e38 0%, #000428 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 149, 200, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    animation: pulse 4s ease-in-out infinite;
}

.loader-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.loader-content {
    width: 80%;
    max-width: 400px;
    position: relative;
    z-index: 2;
    transform: translateY(0);
    animation: float 3s ease-in-out infinite;
}

.loader-text {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.8rem;
    margin-bottom: 2.5rem;
    color: var(--color-white);
    text-align: center;
    text-shadow: 0 0 10px rgba(111, 211, 244, 0.8);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards, glow 2s ease-in-out infinite;
}

.loader-progress-container {
    position: relative;
    width: 100%;
    height: 4px;
    margin-top: 30px;
}

.loader-progress-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-primary) 0%, #00f2fe 100%);
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(111, 211, 244, 0.7);
    transition: width 0.2s ease;
}

.loader-progress-text {
    position: absolute;
    top: -25px;
    right: 0;
    font-size: 14px;
    color: var(--color-white);
    opacity: 0.8;
}

.loader-hint {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeIn 2s ease 1s forwards;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

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

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(111, 211, 244, 0.8);
    }
    50% {
        text-shadow: 0 0 20px rgba(111, 211, 244, 1), 0 0 30px rgba(111, 211, 244, 0.6);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-primary);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
    filter: drop-shadow(0 0 5px rgba(0, 200, 176, 0.5));
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
}

/* モダンなカーソルのアニメーション用スタイル */
.cursor-active {
    width: 30px !important;
    height: 30px !important;
    background-color: var(--color-secondary) !important;
    mix-blend-mode: normal;
    opacity: 0.7;
    filter: drop-shadow(0 0 10px rgba(255, 107, 107, 0.7));
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.follower-active {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color-secondary);
    opacity: 0.5;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cursor-click {
    transform: translate(-50%, -50%) scale(0.7);
    background-color: var(--color-accent) !important;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.follower-click {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 3rem 0;
    z-index: 100;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(0, 149, 200, 0.1); /* フッターと同じ色 */
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
}

/* section-container と同じ幅に統一 */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.logo a {
    font-family: var(--font-primary);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    color: var(--color-white);
}

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

.nav-list {
    display: flex;
}

.nav-item {
    margin-left: 4rem;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    color: var(--color-white);
    position: relative;
    transition: var(--transition);
}

.nav-underline, .nav-underline-second {
    position: absolute;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-underline {
    bottom: 0;
}

.nav-underline-second {
    bottom: 5px;
    right: 0;
    left: auto;
    transition: width 0.3s ease 0.1s;
}

.nav-link:hover .nav-underline, 
.nav-link.active .nav-underline {
    width: 100%;
}

.nav-link:hover .nav-underline-second, 
.nav-link.active .nav-underline-second {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    position: relative;
    z-index: 10000; /* モバイルメニューよりも前面に */
}

.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: var(--color-white);
    transition: var(--transition);
}

.hamburger span:first-child {
    top: 0;
}

.hamburger span:last-child {
    bottom: 0;
}

.menu-toggle.active .hamburger span:first-child {
    transform: rotate(45deg);
    top: 9px;
}

.menu-toggle.active .hamburger span:last-child {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark);
    z-index: 9999; /* z-indexを増やして最前面に表示 */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none; /* 非表示時はクリックを通過させる */
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* 表示時はクリックを有効にする */
}

.mobile-nav-list {
    text-align: center;
}

.mobile-nav-item {
    margin-bottom: 3rem;
    position: relative;
}

.mobile-nav-link {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
    color: var(--color-white);
    transition: var(--transition);
    display: block;
    padding: 1rem 2rem;
    position: relative;
    z-index: 1;
}

.mobile-nav-link:hover {
    color: var(--color-primary);
}

/* Section Container（全セクションの幅の基準） */
.section-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    color: var(--color-white) !important;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--color-primary);
}

/* Hero Section（Alchemy超え・フルビュー強化） */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* section-container と同じ幅に統一 */
.hero--full .hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.4) 0%, rgba(0, 149, 200, 0.15) 50%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    opacity: 0.95;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3.5rem, 9vw, 8.5rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-title-line {
    display: block;
    overflow: hidden;
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: clamp(1.25rem, 2vw, 2rem);
    font-weight: 400;
    margin-top: 2rem;
    color: var(--color-gray);
    max-width: 100%;
    line-height: 1.7;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 5;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.7);
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    border-radius: 2px;
    animation: scrollLinePulse 2s ease-in-out infinite;
}

@keyframes scrollLinePulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* 波型セクション区切り（Alchemy風の造形） */
.section-divider {
    width: 100%;
    line-height: 0;
    color: var(--color-dark);
    background: transparent;
}

.section-divider svg {
    width: 100%;
    height: auto;
    display: block;
}

.section-divider--wave {
    color: var(--color-dark);
    margin-top: -1px;
}

.section-divider--wave-invert {
    color: #eef6fa;
    margin-bottom: -1px;
}

/* 哲学ステートメント（フルビュー・インパクトブロック） */
.statement {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(180deg, var(--color-dark) 0%, #0d2d4a 50%, #0a2540 100%);
    padding: 6rem 2rem;
    overflow: hidden;
}

.statement-inner {
    text-align: center;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.statement-label {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--color-secondary);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.statement-headline {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.statement-headline-accent {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 0.1em;
}

.statement-lead {
    font-family: var(--font-secondary);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
    max-width: 100%;
    margin: 0 auto 4rem;
}

.statement-repeated {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    font-family: var(--font-primary);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.08);
    user-select: none;
    pointer-events: none;
}

/* フッタークレジット（Alchemy風） */
.footer-credits {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-credits-line {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0.25rem 0;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .hero-eyebrow { font-size: 0.75rem; letter-spacing: 0.2em; }
    .hero-scroll-hint { bottom: 1.5rem; font-size: 0.65rem; }
    .hero-scroll-line { height: 28px; }
    .statement { padding: 4rem 1.25rem; min-height: 90vh; }
    .statement-label { margin-bottom: 1.5rem; }
    .statement-headline { margin-bottom: 1.5rem; }
    .statement-lead { margin-bottom: 3rem; }
    .statement-repeated { gap: 1rem 1.5rem; }
}

.hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* スクロールダウンボタン */
.scroll-down-btn {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.scroll-down-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    transition: all 0.3s ease;
}

.scroll-down-btn:hover .scroll-down-arrow {
    background-color: var(--color-primary);
    transform: translateY(5px);
}

.scroll-down-text {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    color: var(--color-white);
    opacity: 0.8;
    letter-spacing: 0.1rem;
    transition: all 0.3s ease;
}

.scroll-down-btn:hover .scroll-down-text {
    opacity: 1;
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .scroll-down-btn {
        bottom: 30px;
    }
    
    .scroll-down-arrow {
        width: 36px;
        height: 36px;
    }
    
    .scroll-down-text {
        font-size: 1.2rem;
    }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-content.centered {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    text-align: center;
}

.about-text-container {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.about-main-text {
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--color-gray);
    margin: 0 auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.about-main-text p {
    margin-bottom: 1.5rem;
}

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

.about-main-text strong {
    color: var(--color-accent);
    font-weight: 600;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 102, 255, 0.2);
    z-index: 1;
}

.image-wrapper img {
    transition: var(--transition-slow);
}

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

/* Services Section */
/* 1行目3枚・2行目2枚（開発・海外）を中央寄せ */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4.5rem;
}

.service-item {
    width: calc((100% - 9rem) / 3); /* 3列で均等幅、gap 4.5rem x2 */
    max-width: 360px;
    min-width: 240px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 4.5rem 3.5rem;
    transition: var(--transition);
    text-align: center;
    box-sizing: border-box;
}

.service-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.service-icon {
    margin-bottom: 2.25rem;
    color: var(--color-primary);
}

.service-icon svg {
    width: 64px;
    height: 64px;
    fill: currentColor;
    margin: 0 auto;
}

.service-title {
    font-size: 2.5rem;
    margin-bottom: 1.75rem;
    color: var(--color-white);
}

.service-description {
    font-size: 1.75rem;
    line-height: 1.75;
    color: var(--color-gray);
}

/* Works Section */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.work-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transform: translateY(100%);
    transition: var(--transition);
}

.work-item:hover .work-image img {
    transform: scale(1.1);
}

.work-item:hover .work-info {
    transform: translateY(0);
}

.work-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.work-category {
    font-size: 1.4rem;
    color: var(--color-gray);
}

/* Contact Section */
.contact {
    background-color: transparent !important;
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.contact-access-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
    align-items: stretch;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.contact-form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.access-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.access-wrapper .access-info {
    flex: 0 0 auto;
}

.access-wrapper .access-map {
    flex: 1;
    min-height: 280px;
}

.contact-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
}

.contact-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--color-primary);
}

.contact-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 30px;
}

.contact-form-container {
    background-color: var(--color-white);
    border-radius: 15px;
    padding: 2.75rem 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.form-group .required {
    color: #e74c3c;
    margin-left: 3px;
}

.form-group input,
.form-group textarea {
    padding: 0.9rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1.05rem;
    color: var(--color-dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 149, 200, 0.1);
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 15px;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #f5f5f5;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.privacy-text {
    font-size: 14px;
    color: var(--color-text);
}

.privacy-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.submit-btn {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 5px;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
    margin-top: 10px;
}

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

/* アクセス情報のスタイル */
.access-info {
    margin-bottom: 30px;
}

.access-details {
    background-color: var(--color-white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.access-address {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.access-office-label {
    font-weight: 700;
    font-size: 14px;
    margin-top: 1.25rem;
    margin-bottom: 0.35rem;
    color: var(--color-primary);
}

.access-office-label:first-child {
    margin-top: 0;
}

.access-transport {
    margin-top: 10px;
    color: var(--color-text);
    font-size: 15px;
}

.access-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.access-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-weight: 500;
}

.access-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.access-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--color-white);
}

.access-map {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.access-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-link {
    display: block;
    text-align: center;
    color: var(--color-primary);
    text-decoration: underline;
    font-size: 15px;
    transition: var(--transition);
}

.map-link:hover {
    color: var(--color-secondary);
}

/* レスポンシブ対応 */
@media screen and (max-width: 992px) {
    .contact-access-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper,
    .access-wrapper {
        width: 100%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-form-container,
    .access-details {
        padding: 30px;
    }
    
    .access-map {
        height: 350px;
    }
}

@media screen and (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact-subtitle {
        font-size: 20px;
    }
    
    .contact-description {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .contact-form-container,
    .access-details {
        padding: 25px;
    }
    
    .submit-btn {
        width: 100%;
    }
    
    .access-map {
        height: 300px;
    }
}

@media screen and (max-width: 576px) {
    .contact-form-container,
    .access-details {
        padding: 20px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .access-map {
        height: 250px;
    }
}

/* Footer */
.footer {
    background-color: rgba(0, 149, 200, 0.1); /* 海の青色を薄く */
    padding: 6rem 0 3rem;
}

/* section-container と同じ幅に統一 */
.footer-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
}

.footer-logo a {
    font-family: var(--font-primary);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    color: var(--color-white);
}

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

.footer-nav-list {
    display: flex;
    flex-direction: column;
}

.footer-nav-item {
    margin-bottom: 1.5rem;
}

.footer-nav-link {
    font-size: 1.4rem;
    color: var(--color-gray);
    transition: var(--transition);
}

.footer-nav-link:hover {
    color: var(--color-primary);
}

.footer-social {
    display: flex;
    gap: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--color-primary);
}

.social-link svg {
    fill: var(--color-white);
}

.social-link .social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 4rem;
    color: var(--color-gray);
    font-size: 1.4rem;
}

/* Media Queries */
@media screen and (max-width: 1200px) {
    .hero-title {
        font-size: 6rem;
    }
}

@media screen and (max-width: 992px) {
    .nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content.centered {
        min-height: 30vh;
    }
    
    .about-main-text {
        font-size: 1.6rem;
        line-height: 1.6;
        padding: 2rem;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 50%;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .about-main-text {
        font-size: 1.4rem;
        line-height: 1.5;
        padding: 1.5rem;
    }
}

/* Message Section（代表メッセージ）— .slogan と同じ幅で表示 */
.message {
    background: linear-gradient(180deg, rgba(10, 37, 64, 0.03) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.message .section-header {
    margin-bottom: 3.5rem;
}

.message-lead {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-top: 0.75rem;
}

/* .slogan と同じ幅：section-container 内で 100%、同じ余白で表示 */
.message-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: linear-gradient(145deg, rgba(0, 149, 200, 0.08), rgba(0, 200, 180, 0.05));
}

.message-image {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

@media screen and (max-width: 768px) {
    .message-inner {
        border-radius: 1rem;
    }
}

/* Philosophy Section */
.philosophy {
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.philosophy-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
}

.philosophy-card {
    background: linear-gradient(145deg, rgba(0, 149, 200, 0.1), rgba(0, 200, 180, 0.05));
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

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

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
    opacity: 0.8;
}

.philosophy-card-inner {
    padding: 3.5rem 2.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.philosophy-card-title {
    font-size: 2.65rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 2.25rem;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.philosophy-card-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 3px;
}

.philosophy-card-content {
    flex: 1;
    margin-bottom: 2.25rem;
}

.philosophy-card-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1.75rem;
}

.philosophy-card-text {
    font-size: 1.65rem;
    line-height: 1.85;
    color: var(--color-gray);
}

.philosophy-card-icon {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    opacity: 0.2;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.philosophy-card:hover .philosophy-card-icon {
    opacity: 0.4;
    transform: scale(1.1);
}

.philosophy-card-icon svg {
    fill: var(--color-accent);
}

/* Vision List */
.vision-list {
    list-style: none;
    margin-bottom: 2rem;
}

.vision-list-item {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1.35rem;
    display: flex;
    align-items: center;
}

.vision-marker {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    margin-right: 1rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateX(5px);
}

.value-icon {
    margin-right: 1.5rem;
    padding-top: 0.5rem;
}

.value-icon-circle {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-accent);
    position: relative;
}

.value-icon-circle::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--color-accent);
    opacity: 0.5;
}

.value-content {
    flex: 1;
}

.value-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.6rem;
}

.value-description {
    font-size: 1.55rem;
    color: var(--color-gray);
    line-height: 1.7;
}

/* Slogan */
.slogan {
    background: linear-gradient(145deg, rgba(0, 149, 200, 0.15), rgba(0, 200, 180, 0.1));
    border-radius: 1.5rem;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slogan-inner {
    padding: 5rem 4rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slogan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 149, 200, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.slogan blockquote {
    margin: 0;
    padding: 0;
}

.slogan-text {
    font-size: 3.1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 2.25rem;
    letter-spacing: 1px;
}

.slogan-author {
    font-size: 2rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 2.25rem;
}

.slogan-origin {
    background: rgba(230, 249, 255, 0.3);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    text-align: left;
    border-left: 3px solid var(--color-primary);
    box-shadow: 0 5px 15px rgba(0, 95, 200, 0.1);
    position: relative;
    overflow: hidden;
}

.slogan-origin::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 201, 167, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    animation: rotate 20s linear infinite;
}

.slogan-origin-title {
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.slogan-origin-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 3px;
}

.slogan-origin-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.slogan-origin-list {
    list-style-type: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.slogan-origin-list li {
    position: relative;
    padding-left: 2rem;
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--color-dark);
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.slogan-origin-list li:hover {
    transform: translateX(5px);
}

.slogan-origin-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 149, 200, 0.5);
    transition: all 0.3s ease;
}

.slogan-origin-list li:hover::before {
    background-color: var(--color-secondary);
    transform: scale(1.3);
}

.slogan-decoration {
    display: flex;
    align-items: center;
    margin-top: 3rem;
}

.slogan-line {
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--color-accent);
    opacity: 0.5;
}

.slogan-circle {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-accent);
    margin: 0 1rem;
}

/* Media Queries */
@media screen and (max-width: 992px) {
    .philosophy-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .philosophy-card.values-card {
        grid-column: span 2;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .philosophy-container {
        grid-template-columns: 1fr;
    }
    
    .philosophy-card.values-card {
        grid-column: span 1;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .slogan-text {
        font-size: 2.4rem;
    }
    
    .slogan-inner {
        padding: 3rem 2rem;
    }
    
    .slogan-origin {
        padding: 1.5rem;
    }
    
    .slogan-origin-title {
        font-size: 1.5rem;
    }
    
    .slogan-origin-text, .slogan-origin-list li {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 576px) {
    .philosophy-card-inner {
        padding: 2.5rem 2rem;
    }
    
    .slogan-text {
        font-size: 2rem;
    }
    
    .slogan-line {
        width: 40px;
    }
    
    .slogan-origin {
        padding: 1rem;
    }
    
    .slogan-origin-title {
        font-size: 1.4rem;
    }
    
    .slogan-origin-text, .slogan-origin-list li {
        font-size: 1.2rem;
    }
}

/* 会社概要セクション */
.company {
    background-color: transparent; /* 背景色を透明に変更 */
    padding: 8rem 0;
}

.company-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 50px;
}

.company-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.company-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--color-primary);
}

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

.company-row {
    display: flex;
    border-bottom: 1px solid rgba(160, 200, 224, 0.2);
}

.company-row:last-child {
    border-bottom: none;
}

.company-label {
    width: 25%;
    padding: 1.5rem 1.75rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    background-color: rgba(160, 200, 224, 0.05);
}

.company-value {
    width: 75%;
    padding: 1.5rem 1.75rem;
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--color-gray);
}

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

.company-list li {
    margin-bottom: 8px;
    font-size: 1.6rem;
}

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

.company-access {
    position: relative;
    z-index: 100;
}

.access-address {
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--color-gray);
}

/* アクセスマップのスタイル */
.access-map {
    width: 100% !important;
    height: 450px !important;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative !important;
    z-index: 99999 !important;
    background-color: #fff;
    margin-bottom: 30px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.access-map iframe {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    z-index: 99999 !important;
    border: 0;
    display: block !important;
    border-radius: 10px;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* 泡がマップの上に来ないようにする */
.bubble {
    pointer-events: none;
}

/* マップ領域の泡を非表示にする */
.access-map .bubble {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* レスポンシブ対応 */
@media screen and (max-width: 992px) {
    .company-row {
        flex-direction: column;
    }
    
    .company-label,
    .company-value {
        width: 100%;
    }
    
    .company-label {
        padding: 15px 20px;
    }
}

@media screen and (max-width: 768px) {
    .company {
        padding: 60px 0;
    }
    
    .company-content {
        gap: 40px;
        margin-top: 30px;
    }
    
    .company-subtitle {
        font-size: 1.6rem;
    }
    
    .access-map {
        height: 350px;
    }
}

@media screen and (max-width: 576px) {
    .company-label,
    .company-value {
        padding: 15px;
    }
    
    .access-map {
        height: 300px;
    }
}

/* 音声コントロール */
.sound-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

#sound-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

#sound-toggle:hover {
    background-color: var(--color-secondary);
    transform: scale(1.1);
}

#sound-toggle svg {
    width: 24px;
    height: 24px;
    fill: var(--color-white);
}

.sound-on {
    display: block; /* 初期状態ではオンアイコンを表示 */
}

.sound-off {
    display: none; /* 初期状態ではオフアイコンを非表示 */
}

.sound-active .sound-on {
    display: none; /* アクティブ時にはオンアイコンを非表示 */
}

.sound-active .sound-off {
    display: block; /* アクティブ時にはオフアイコンを表示 */
}

.ocean-sounds {
    display: none;
}

/* 従業員データセクション（モダンデザイン） */
.employee-data {
    background-color: transparent;
    position: relative;
    padding-top: 0;
    margin-top: 0;
}

/* section-container の幅いっぱい（max-width は .section-container の 1400px をそのまま使用） */
.employee-data-container.section-container {
    width: 100%;
    box-sizing: border-box;
}

.employee-data-lead {
    font-size: 1.1rem;
    color: var(--color-dark);
    opacity: 0.85;
    margin-top: 0.75rem;
    font-weight: 400;
}

/* 統計カード行（3列） */
.employee-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.employee-stat-card {
    background: var(--color-white);
    border-radius: 18px;
    padding: 3.25rem 2.75rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0, 149, 200, 0.08);
}

.employee-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.employee-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 149, 200, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.employee-stat-card:hover::before {
    opacity: 1;
}

.employee-stat-icon {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 149, 200, 0.12), rgba(0, 212, 200, 0.08));
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.employee-stat-icon svg {
    width: 44px;
    height: 44px;
}

.employee-stat-value {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.employee-stat-value .count-up {
    display: inline-block;
}

.employee-stat-unit {
    font-size: 1.85rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-left: 0.2em;
}

.employee-stat-label {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-dark);
    opacity: 0.75;
    margin-top: 0.75rem;
    text-transform: none;
}

/* 男女比ドーナツチャート用 */
.employee-stat-card--chart {
    padding: 2.5rem 2.25rem;
}

.employee-gender-chart-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
    flex: 1;
    min-height: 220px;
}

.employee-chart-legend {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-dark);
}

.employee-legend-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.legend-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.legend-dot--male {
    background: #00c8b0;
}

.legend-dot--female {
    background: #ff6b9d;
}

.employee-donut-wrap {
    position: relative;
    width: 180px;
    height: 180px;
    flex-shrink: 0;
}

.employee-donut-wrap canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.employee-donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.employee-donut-total {
    display: block;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--color-dark);
}

.employee-donut-unit {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* 取扱言語カード（タグ表示） */
.employee-languages-card {
    margin-top: 2.5rem;
    background: var(--color-white);
    border-radius: 18px;
    padding: 2.5rem 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 149, 200, 0.08);
    transition: box-shadow 0.3s ease;
}

.employee-languages-card:hover {
    box-shadow: 0 8px 32px rgba(0, 149, 200, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
}

.employee-languages-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.employee-language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.language-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    font-size: 16px; /* 住所（東京都世田谷区駒沢…）と同じサイズ */
    font-weight: 500;
    color: var(--color-dark);
    background: linear-gradient(135deg, rgba(0, 149, 200, 0.08), rgba(0, 212, 200, 0.06));
    border: 1px solid rgba(0, 149, 200, 0.15);
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.language-tag-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
}

.language-tag:hover {
    background: linear-gradient(135deg, rgba(0, 149, 200, 0.15), rgba(0, 212, 200, 0.1));
    color: var(--color-primary);
    transform: translateY(-1px);
}

@media screen and (max-width: 992px) {
    .employee-stats-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .employee-data {
        padding: 60px 0;
    }

    .employee-data-lead {
        font-size: 1rem;
    }

    .employee-stats-row {
        margin-top: 2rem;
        gap: 1.25rem;
    }

    .employee-stat-card {
        padding: 2.75rem 2rem;
    }

    .employee-stat-icon {
        width: 72px;
        height: 72px;
    }

    .employee-stat-icon svg {
        width: 38px;
        height: 38px;
    }

    .employee-stat-value {
        font-size: 3.25rem;
    }

    .employee-stat-unit {
        font-size: 1.5rem;
    }

    .employee-stat-label {
        font-size: 1.2rem;
    }

    .employee-gender-chart-wrap {
        flex-direction: column;
        gap: 1.25rem;
        min-height: 200px;
    }

    .employee-donut-wrap {
        width: 150px;
        height: 150px;
    }

    .employee-donut-total {
        font-size: 1.6rem;
    }

    .employee-languages-card {
        margin-top: 2rem;
        padding: 2rem 1.75rem;
    }

    .employee-languages-title {
        font-size: 1.2rem;
    }

    .language-tag {
        font-size: 15px; /* 小さい画面でも読みやすいサイズ */
        padding: 0.45rem 0.9rem;
    }
}

@media screen and (max-width: 576px) {
    .employee-stat-value {
        font-size: 2rem;
    }
}

/* アクセス情報のスタイル */
.access-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.access-address {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
}

.access-transport {
    margin-top: 10px;
    color: var(--color-text);
    font-size: 15px;
}

.access-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.access-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-weight: 500;
}

.access-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.access-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--color-white);
}

.map-link {
    display: block;
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-primary);
    text-decoration: underline;
    font-size: 15px;
    transition: var(--transition);
}

.map-link:hover {
    color: var(--color-secondary);
}

/* お問い合わせフォームのスタイル */
.contact {
    background-color: transparent !important;
    padding: 10rem 0;
}

.contact-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
}

.contact-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 40px;
}

.contact-form-container {
    background-color: var(--color-white);
    border-radius: 15px;
    padding: 2.75rem 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.form-group .required {
    color: #e74c3c;
    margin-left: 3px;
}

.form-group input,
.form-group textarea {
    padding: 0.9rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1.05rem;
    color: var(--color-dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 149, 200, 0.1);
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 15px;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #f5f5f5;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.privacy-text {
    font-size: 14px;
    color: var(--color-text);
}

.privacy-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.submit-btn {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 5px;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
    margin-top: 10px;
}

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

/* レスポンシブ対応 */
@media screen and (max-width: 992px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-form-container {
        padding: 30px;
    }
}

@media screen and (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact-subtitle {
        font-size: 20px;
    }
    
    .contact-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .submit-btn {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .contact-form-container {
        padding: 20px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
}

body.loading {
    overflow: hidden;
}

.access-map {
    z-index: 1 !important;
}

/* Contact Form 7連携用のスタイル */
.wpcf7 form {
    width: 100%;
}

.wpcf7 .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

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

.wpcf7 .form-group.full-width {
    width: 100%;
}

.wpcf7 label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-dark);
}

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

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

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(111, 211, 244, 0.2);
    outline: none;
}

.wpcf7 .wpcf7-checkbox {
    display: flex;
    align-items: center;
}

.wpcf7 .wpcf7-list-item {
    margin: 0;
}

.wpcf7 .wpcf7-list-item-label {
    margin-left: 8px;
}

.wpcf7 .privacy-policy {
    margin-top: 10px;
    margin-bottom: 20px;
}

.wpcf7 .privacy-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.wpcf7 input[type="submit"] {
    display: inline-block;
    padding: 14px 30px;
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    text-align: center;
    width: auto;
}

.wpcf7 input[type="submit"]:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.wpcf7-response-output {
    margin-top: 20px !important;
    padding: 12px 15px !important;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71 !important;
    color: #27ae60;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c !important;
    color: #c0392b;
}

.wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
}

@media screen and (max-width: 768px) {
    .wpcf7 .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* セクション共通スタイル */
section {
    padding: 8rem 0;
}

.about, .message, .philosophy, .services, .company, .employee-data, .contact {
    padding: 10rem 0;
    background-color: transparent;
}


/* ABOUT も section-container と同じ幅に統一（特別幅を廃止） */
#about .section-container {
    max-width: 1400px;
}

/* RECRUIT セクションだけ幅を広く（仲間外れにしない） */
#recruit .section-container {
    max-width: 1600px;
}

/* イルカのアニメーション */
.dolphin-container {
    position: relative;
    height: 150px;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(180deg, #e6f9ff 0%, #b3e0ff 100%);
    box-shadow: 0 5px 15px rgba(0, 95, 200, 0.1);
}

.dolphin-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 60px;
    z-index: 2;
}

.dolphin-body {
    position: absolute;
    width: 80px;
    height: 30px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50% 50% 0 0;
    top: 15px;
    left: 20px;
}

.dolphin-fin {
    position: absolute;
    width: 20px;
    height: 25px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50% 50% 0 50%;
    top: 0;
    left: 50px;
    transform: rotate(-30deg);
}

.dolphin-tail {
    position: absolute;
    width: 25px;
    height: 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 0 50% 50% 50%;
    top: 20px;
    left: 90px;
    transform: rotate(45deg);
}

.dolphin-eye {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    top: 20px;
    left: 30px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.dolphin-light {
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    top: 10px;
    left: 40px;
    opacity: 0.6;
}

.dolphin-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%230095c8" fill-opacity="0.3" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: 0 0;
    z-index: 1;
}

@media (max-width: 768px) {
    .dolphin-container {
        height: 120px;
        margin: 20px auto;
    }
    
    .dolphin-symbol {
        transform: translate(-50%, -50%) scale(0.8);
    }
}

/* CAPTCHA スタイル */
.captcha-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.captcha-container span {
    margin-right: 10px;
    font-weight: 500;
}

.captcha-container input {
    max-width: 100px;
}

/* お問い合わせフォームのスタイル（レスポンシブ） */
@media (max-width: 768px) {
    .captcha-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .captcha-container span {
        margin-bottom: 5px;
    }
    
    .captcha-container input {
        width: 100%;
        max-width: 100%;
    }
}

/* アニメーション用のスタイル */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.from-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.from-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-up {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.typing-animation {
    visibility: hidden;
    display: inline-block;
}

.text-shuffle {
    display: inline-block;
}

.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.3s ease;
}

.svg-draw path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 1.5s ease;
}

.mouse-particles {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

/* スクロールスナップセクション */
.scroll-snap-section {
    scroll-snap-align: start;
}

/* スクロールアイコン */
.scroll-icon {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-light);
    font-size: 14px;
    opacity: 0;
}

.scroll-arrow {
    width: 20px;
    height: 30px;
    border: 2px solid var(--color-light);
    border-radius: 10px;
    margin-top: 8px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 4px;
    height: 4px;
    background-color: var(--color-light);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollDown 1.5s infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* CTA ボタンのパルスアニメーション */
.cta-button {
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: inherit;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.cta-button:hover::after {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* スタッガーアニメーション用のコンテナ */
.stagger-container {
    overflow: hidden;
}

.stagger-item {
    opacity: 0;
    transform: translateY(20px);
}

/* スクロールプログレスバー */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.scroll-progress-indicator {
    height: 100%;
    width: 0;
    background: var(--color-primary);
    transition: width 0.1s;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .fade-up, .fade-in, .from-left, .from-right, .scale-up {
        transform: none;
        opacity: 1;
    }
    
    .tilt-card {
        transform: none !important;
    }
}

/* ============================================================
   WORKS セクション
   ============================================================ */
.works {
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.works .section-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1.25rem;
    letter-spacing: 0.08em;
}

/* スライダー全体ラッパー */
.works-slider-wrapper {
    container-type: inline-size;
    position: relative;
    overflow: hidden;
    width: 100%;
    --works-gap: 1.5rem;
}

/* カードが並ぶトラック */
.works-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--works-gap);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* 個別カード */
.works-card {
    flex-shrink: 0;
    min-width: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.works-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 149, 200, 0.2);
    border-color: rgba(0, 149, 200, 0.4);
}

/* バッジ */
.works-card-badge {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    z-index: 2;
    font-family: var(--font-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.85rem;
    border-radius: 100px;
}

.works-card-badge--own {
    background: var(--color-primary);
    color: #fff;
}

.works-card-badge--instructor {
    background: var(--color-secondary);
    color: var(--color-dark);
}

/* サムネイル */
.works-card-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: rgba(0, 149, 200, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.works-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.45s ease;
}

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

/* カード本文 */
.works-card-body {
    padding: 1.15rem 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.works-card-title {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    line-height: 1.45;
}

.works-card-description {
    font-family: var(--font-secondary);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1rem;
}

.works-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: gap 0.25s ease, color 0.25s ease;
}

.works-card-link:hover {
    gap: 0.9rem;
    color: var(--color-secondary);
}

.works-card-arrow {
    display: inline-block;
    transition: transform 0.25s ease;
}

.works-card-link:hover .works-card-arrow {
    transform: translateX(4px);
}

@media (min-width: 1025px) {
    .works-card {
        flex-basis: calc((100cqw - var(--works-gap) * 2) / 3);
        width: calc((100cqw - var(--works-gap) * 2) / 3);
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .works-card {
        flex-basis: calc((100cqw - var(--works-gap)) / 2);
        width: calc((100cqw - var(--works-gap)) / 2);
    }
}

@media (max-width: 640px) {
    .works-slider-wrapper {
        --works-gap: 1rem;
    }

    .works-card {
        flex-basis: 100cqw;
        width: 100cqw;
    }
}

/* スライダーコントロール（前へ / 次へボタン） */
.works-slider-controls {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.works-slider-controls.is-visible {
    display: flex;
}

.works-nav-btn {
    padding: 0.65rem 1.35rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    font-family: var(--font-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.works-nav-btn:hover:not(:disabled) {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.works-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ドットインジケーター */
.works-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
}

.works-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.works-dot.is-active {
    background: var(--color-primary);
    width: 24px;
    border-radius: 100px;
    transform: none;
}

/* ============================================================
   WORKS レスポンシブ
   ============================================================ */
@media (max-width: 640px) {
    .works-card-image {
        height: 100px;
    }

    .works-slider-controls {
        flex-wrap: wrap;
    }
}

/* 水飛沫パーティクルエフェクト */
.mouse-particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9997;
    overflow: hidden;
}

.water-particle {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    box-shadow: 0 0 8px rgba(0, 200, 255, 0.7);
    pointer-events: none;
    z-index: 9997;
    transform-origin: center center;
    background-color: rgba(0, 180, 255, 0.7);
    mix-blend-mode: screen;
}

/* 水滴の形状バリエーション */
.water-particle::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0%, rgba(0, 180, 255, 0.3) 60%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.water-shine {
    position: absolute;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}