/* リセットスタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
:root {
    --main-color: #000;
    --text-color: #fff;
    --accent-yellow: #FFD700;
    --service-bg: #fff;
    --service-text: #000;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

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

/* ヘッダー */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background-color: transparent;
}

#header.scrolled {
    background-color: rgba(0, 0, 0, 1);
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-color);
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

/* ロゴ画像のスタイル */
.logo-image {
    height: 40px;
    width: auto;
    margin-right: 12px;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1); /* 白色にする */
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

/* ホバーエフェクト */
.logo:hover .logo-image {
    transform: scale(1.05);
}

.logo:hover .logo-text {
    color: var(--accent-yellow);
}

.nav-pc ul {
    display: flex;
    list-style: none;
}

.nav-pc ul li {
    margin-left: 30px;
}

.nav-pc ul li a {
    position: relative;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-pc ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-yellow);
    transition: var(--transition);
}

.nav-pc ul li a:hover {
    color: var(--accent-yellow);
}

.nav-pc ul li a:hover::after {
    width: 100%;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.nav-sp {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-sp.active {
    opacity: 1;
    visibility: visible;
}

.nav-sp ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    list-style: none;
}

.nav-sp ul li {
    margin: 15px 0;
}

.nav-sp ul li a {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ハンバーガーメニュー開閉時 */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

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

/* ヒーローセクション */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    will-change: filter;
    transition: filter 0.8s ease;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-down a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.scroll-down i {
    font-size: 18px;
    color: var(--text-color);
    animation: bounce 2s infinite;
}

.scroll-down a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* メッセージセクション */
.message {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    z-index: 1;
}

.message-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.message-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.message-line {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.6;
    letter-spacing: 1px;
}

.message-line:nth-child(2) {
    font-size: 28px;
    margin-bottom: 40px;
}

.message-line:nth-child(4) {
    margin-bottom: 40px;
}

.message-line:last-child {
    margin-top: 40px;
}

/* フィロソフィーセクション */
.philosophy-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: left;
    color: white;
    overflow: hidden;
    padding-right: 10%;
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-image {
    width: 100%;
    height: 100%;
    background-image: url('assets/images/philosophy-bg-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 3s ease-in-out;
}

.philosophy-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.content {
    max-width: 600px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.main-title {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

.content-text {
    max-width: 800px;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}

.philosophy-button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: fadeIn 1s ease-out 2s forwards;
}

.philosophy-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

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

/* 潜水エフェクトのスタイル */
.dive-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dive-effect.active {
    opacity: 1;
    visibility: visible;
}

.water-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 100, 150, 0.1) 0%,
        rgba(0, 150, 200, 0.3) 30%,
        rgba(0, 100, 180, 0.6) 70%,
        rgba(0, 80, 120, 0.9) 100%
    );
    transform: translateY(-100%);
    transition: transform 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dive-effect.active .water-overlay {
    transform: translateY(0);
}

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

.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    opacity: 0;
    animation-fill-mode: forwards;
}

.dive-effect.active .bubble:nth-child(1) {
    width: 12px;
    height: 12px;
    left: 20%;
    animation: bubbleRise1 3s ease-out 0.5s forwards;
}

.dive-effect.active .bubble:nth-child(2) {
    width: 8px;
    height: 8px;
    left: 35%;
    animation: bubbleRise2 3.5s ease-out 0.8s forwards;
}

.dive-effect.active .bubble:nth-child(3) {
    width: 15px;
    height: 15px;
    left: 60%;
    animation: bubbleRise3 2.8s ease-out 1s forwards;
}

.dive-effect.active .bubble:nth-child(4) {
    width: 10px;
    height: 10px;
    left: 80%;
    animation: bubbleRise4 3.2s ease-out 0.3s forwards;
}

.dive-effect.active .bubble:nth-child(5) {
    width: 6px;
    height: 6px;
    left: 15%;
    animation: bubbleRise5 2.5s ease-out 1.2s forwards;
}

.dive-effect.active .bubble:nth-child(6) {
    width: 11px;
    height: 11px;
    left: 45%;
    animation: bubbleRise6 3.8s ease-out 0.6s forwards;
}

.dive-effect.active .bubble:nth-child(7) {
    width: 9px;
    height: 9px;
    left: 70%;
    animation: bubbleRise7 3.1s ease-out 1.1s forwards;
}

.dive-effect.active .bubble:nth-child(8) {
    width: 13px;
    height: 13px;
    left: 25%;
    animation: bubbleRise8 2.9s ease-out 0.9s forwards;
}

@keyframes bubbleRise1 {
    0% {
        bottom: -20px;
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateX(10px) scale(1.1);
    }
    100% {
        bottom: 120%;
        opacity: 0;
        transform: translateX(15px) scale(0.8);
    }
}

@keyframes bubbleRise2 {
    0% {
        bottom: -20px;
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    15% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateX(-8px) scale(1.2);
    }
    100% {
        bottom: 120%;
        opacity: 0;
        transform: translateX(-12px) scale(0.6);
    }
}

@keyframes bubbleRise3 {
    0% {
        bottom: -20px;
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    12% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateX(5px) scale(0.9);
    }
    100% {
        bottom: 120%;
        opacity: 0;
        transform: translateX(8px) scale(1.1);
    }
}

@keyframes bubbleRise4 {
    0% {
        bottom: -20px;
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    8% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateX(-12px) scale(1.1);
    }
    100% {
        bottom: 120%;
        opacity: 0;
        transform: translateX(-18px) scale(0.7);
    }
}

@keyframes bubbleRise5 {
    0% {
        bottom: -20px;
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    20% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateX(7px) scale(1.3);
    }
    100% {
        bottom: 120%;
        opacity: 0;
        transform: translateX(10px) scale(0.9);
    }
}

@keyframes bubbleRise6 {
    0% {
        bottom: -20px;
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    14% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateX(-6px) scale(0.8);
    }
    100% {
        bottom: 120%;
        opacity: 0;
        transform: translateX(-9px) scale(1.2);
    }
}

@keyframes bubbleRise7 {
    0% {
        bottom: -20px;
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    18% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateX(9px) scale(1.1);
    }
    100% {
        bottom: 120%;
        opacity: 0;
        transform: translateX(14px) scale(0.8);
    }
}

@keyframes bubbleRise8 {
    0% {
        bottom: -20px;
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    16% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateX(-4px) scale(1.2);
    }
    100% {
        bottom: 120%;
        opacity: 0;
        transform: translateX(-7px) scale(0.9);
    }
}

/* 島セクション（サービス） */
.island-section {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
}

/* 船のスタイル */
.ship-container {
    position: absolute;
    width: 100px;
    height: 80px;
    z-index: 90;
    will-change: transform;
    opacity: 0;
    transform-origin: center center;
}

.ship {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
}

/* 舵輪のスタイル */
.ship-wheel-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(50%) !important;
    z-index: 100;
    will-change: transform;
    opacity: 0;
}

.ship-wheel {
    width: 200px;
    height: 200px;
    will-change: transform;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
}

/* オーバーレイのスタイル */
.island-section .overlay {
    position: absolute;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    max-width: 600px;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
    z-index: 80;
    backdrop-filter: blur(5px);
}

.island-section .overlay.active {
    opacity: 1;
    transform: translateY(0);
}

.island-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #2c3e50;
    letter-spacing: 0.1em;
}

.island-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #34495e;
}

/* サービスグリッドのスタイル */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.service-item {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.island-section .overlay.active .service-item {
    opacity: 1;
    transform: translateY(0);
}

.island-section .overlay.active .service-item:nth-child(1) {
    transition-delay: 0.2s;
}

.island-section .overlay.active .service-item:nth-child(2) {
    transition-delay: 0.4s;
}

.island-section .overlay.active .service-item:nth-child(3) {
    transition-delay: 0.6s;
}

.service-item img {
    width: 100%;
    max-width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-name {
    font-size: 0.9rem;
    font-weight: bold;
    color: #2c3e50;
    line-height: 1.3;
}

/* 島の位置設定 */
.island1 {
    top: 20%;
    left: 15%;
}

.island1.active {
    transform: translateX(-20%) translateY(20%) !important;
}

.island2 {
    top: 15%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
}

.island2.active {
    transform: translateX(-50%) translateY(60%) !important;
}

.island3 {
    top: 20%;
    right: 15%;
}

.island3.active {
    transform: translateX(-50%) translateY(60%) !important;
}

.island4 {
    bottom: 20%;
    right: 15%;
}

.island4.active {
    transform: translateX(-100%) translateY(0%) !important;
}

.island5 {
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
}

.island5.active {
    transform: translateX(-50%) translateY(0);
}

.island6 {
    bottom: 20%;
    left: 15%;
}

.island6.active {
    transform: translateX(100%) translateY(0%) !important;
}

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

.progress {
    height: 100%;
    width: 0;
    background-color: #3498db;
}

/* 事業紹介見出しオーバーレイ */
.service-title-overlay {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.island-section.active .service-title-overlay {
    opacity: 1;
}

.service-title-overlay h2 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #2c3e50;
    text-shadow: 
        2px 2px 4px rgba(255, 255, 255, 0.9),
        0 0 10px rgba(255, 255, 255, 0.5);
    letter-spacing: 0.3em;
    margin: 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .service-title-overlay {
        top: 12%;
    }
    
    .service-title-overlay h2 {
        font-size: 2.2rem;
        letter-spacing: 0.15em;
        padding: 15px 25px;
    }
}

/* 右下固定ボタン */
.service-fixed-button {
    position: absolute;
    bottom: 8%;
    right: 5%;
    z-index: 180;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.island-section.active .service-fixed-button {
    opacity: 1;
}

.service-detail-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    border: 2px solid #2c3e50;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.service-detail-btn:hover {
    background: #2c3e50;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .service-fixed-button {
        bottom: 5%;
        right: 50%;
        transform: translateX(50%);
    }
    
    .service-detail-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* メンバー紹介セクション */
.crew-introduction-section {
    background-color: #f8f8f8;
    padding: 100px 0;
    position: relative;
}

.crew-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.crew-text {
    flex: 1;
    max-width: 400px;
    margin-right: 50px;
}

.crew-label {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
    font-weight: normal;
}

.crew-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    margin-bottom: 30px;
}

.crew-description {
    margin-bottom: 40px;
}

.crew-description p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
}

.crew-more-btn {
    background-color: #333;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.crew-more-btn:hover {
    background-color: #555;
}

.crew-images {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
    height: 400px;
    width: 500px;
}

.wanted-card {
    position: absolute;
    background-color: #666;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 右肩下がりの配置 */
.wanted-1 {
    width: 180px;
    height: 200px;
    right: 300px;
    bottom: 200px;
    z-index: 3;
}

.wanted-2 {
    width: 180px;
    height: 200px;
    right: 150px;
    bottom: 100px;
    z-index: 2;
}

.wanted-3 {
    width: 180px;
    height: 200px;
    right: 0px;
    bottom: 0px;
    z-index: 1;
}

.wanted-frame {
    width: 100%;
    height: 100%;
    position: relative;
}

.wanted-text {
    display: none;
}

/* 画像用のコンテナ */
.wanted-image-container {
    width: 100%;
    height: 100%;
    background-color: #666;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.4;
}

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

.clue-text {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.clue-vertical {
    font-size: 4rem;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .crew-content {
        flex-direction: column;
        text-align: center;
    }
    
    .crew-text {
        margin-right: 0;
        margin-bottom: 0;
        max-width: none;
    }
    
    .crew-title {
        font-size: 1.8rem;
    }
    
    /* SP版では画像エリアを非表示 */
    .crew-images {
        display: none;
    }
    
    /* SP版ではCLUE文字を非表示 */
    .clue-text {
        display: none;
    }
}

/* ニュース・イベントセクション */
.news-events-section {
    background-color: #fff;
    padding: 0;
}

/* カルーセルセクション */
.carousel-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
    background-color: #fff;
}

.carousel-container {
    display: flex;
    width: 100%;
    overflow-x: hidden;
    gap: 0;
    padding: 0;
    margin: 0;
    cursor: grab;
}

.carousel-container:active {
    cursor: grabbing;
}

.carousel-slide {
    flex: 0 0 auto;
    width: 300px;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carousel-slide.active img {
    transform: scale(1.02);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .carousel-slide {
        width: 250px;
        height: 300px;
    }
}

/* ナビゲーションドット */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 20;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* ニュース・イベント情報 */
.news-events-section .container {
    display: flex;
    gap: 30px;
    padding: 60px 20px;
}

.news-events-section .column {
    flex: 1;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.news-events-section h2 {
    font-size: 1.8rem;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.news-events-section .list {
    list-style-type: none;
    margin: 20px 0;
}

.news-events-section .list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.news-events-section .date {
    display: block;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 5px;
}

.news-events-section .title {
    font-weight: 600;
    color: #333;
}

.more-link {
    display: block;
    text-align: right;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
}

/* プロフィール & メッセージセクション */
.profile-message-section {
    background-color: #222;
    color: #fff;
    padding: 60px 0;
}

.profile-message-section .container {
    display: flex;
    gap: 30px;
}

.profile-message-section .column {
    flex: 1;
}

.profile-message-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.profile-message-section p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.more-button {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.more-button:hover {
    background-color: #fff;
    color: #222;
}

/* お問い合わせセクション */
.contact-section {
    background-color: #fff;
    text-align: center;
    padding: 60px 0;
}

.contact-section .container {
    max-width: 800px;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

.contact-section h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: normal;
    color: #333;
}

.contact-section p {
    margin-bottom: 40px;
    line-height: 1.8;
    color: #333;
}

.contact-button {
    background-color: #222;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.contact-button:hover {
    background-color: #444;
}

/* スクロール効果 */
body.blur-trigger .hero-video {
    filter: blur(4px);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .island-section .overlay {
        max-width: 500px;
        padding: 1.5rem;
    }
    
    .island-content h2 {
        font-size: 2rem;
    }
    
    .island-content p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    /* 共通 */
    section {
        padding: 40px 0;
    }

    h2 {
        font-size: 2rem;
    }

    /* ヘッダー */
    .nav-pc {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }

    /* メッセージセクション */
    .message-line {
        font-size: 20px;
    }
    
    .message-line:nth-child(2) {
        font-size: 24px;
    }

    /* フィロソフィーセクション */
    .philosophy-section {
        padding-right: 5%;
        align-items: center;
        text-align: center;
    }
    
    .content {
        text-align: center;
    }
    
    .main-title {
        font-size: 2.5rem;
        letter-spacing: 0.2em;
    }

    .subtitle {
        font-size: 1rem;
    }

    .content-text {
        font-size: 0.9rem;
        padding: 0 20px;
    }

    .philosophy-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    /* 島セクション */
    .island-section .overlay {
        max-width: 90%;
        padding: 1rem;
    }
    
    .island1, .island2, .island3, .island4, .island5, .island6 {
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(20px);
    }
    
    .island1.active, .island2.active, .island3.active, .island4.active, .island5.active, .island6.active {
        transform: translateX(-50%) translateY(0);
    }
    
    .island-content h2 {
        font-size: 1.8rem;
    }
    
    .island-content p {
        font-size: 0.95rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .ship-wheel {
        width: 150px;
        height: 150px;
    }
    
    .ship-container {
        width: 80px;
        height: 60px;
    }

    /* カルーセルセクション */
    .carousel-slide {
        width: 85%;
        height: 400px;
    }

    /* ニュース・イベントセクション */
    .news-events-section .container {
        flex-direction: column;
    }

    /* プロフィール & メッセージセクション */
    .profile-message-section .container {
        flex-direction: column;
    }

    .profile-message-section .column:first-child {
        margin-bottom: 40px;
    }

    /* お問い合わせセクション */
    .contact-section .container {
        padding: 0 30px;
    }
}

@media (max-width: 576px) {
    .message-line {
        font-size: 18px;
    }
    
    .message-line:nth-child(2) {
        font-size: 22px;
    }
    
    .carousel-slide {
        width: 100%;
    }
}

/* フッターセクション */
.footer-section {
    background-color: #000;
    color: #fff;
    padding: 60px 0 30px;
    font-family: 'Noto Sans JP', sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 40px;
}

/* 左側：会社情報 */
.footer-left {
    flex: 1;
    max-width: 400px;
}

.footer-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.company-address {
    margin-bottom: 20px;
}

.company-address p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

.footer-policy a {
    font-size: 0.9rem;
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* 右側：ナビゲーション（2列構成） */
.footer-right {
    flex: 1;
    display: flex;
    gap: 80px;
    max-width: 500px;
}

.footer-nav-column {
    flex: 1;
}

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

.footer-nav-list > li {
    margin-bottom: 15px;
}

.footer-nav-list > li > a {
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-nav-list > li > a:hover {
    color: #ccc;
}

/* サブメニュー */
.submenu {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.submenu li {
    margin-bottom: 8px;
}

.submenu li a {
    font-size: 0.9rem;
    color: #999;
    text-decoration: none;
    padding-left: 15px;
    position: relative;
    transition: color 0.3s ease;
}

.submenu li a::before {
    content: "└";
    position: absolute;
    left: 0;
    color: #666;
}

.submenu li a:hover {
    color: #ccc;
}

/* フッター下部 */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
}

.copyright {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    text-align: left;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-right {
        flex-direction: column;
        gap: 30px;
        max-width: none;
    }

    .footer-left {
        max-width: none;
    }

    .footer-logo a {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-right {
        gap: 20px;
    }

    .submenu li a {
        padding-left: 10px;
    }
}