/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #001d3d 0%, #003566 30%, #0077b6 70%, #00b4d8 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="bubble" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.15)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></radialGradient></defs><circle cx="20" cy="30" r="2" fill="url(%23bubble)" opacity="0.8"><animate attributeName="cy" values="30;10;30" dur="4s" repeatCount="indefinite"/></circle><circle cx="80" cy="20" r="1.5" fill="url(%23bubble)" opacity="0.6"><animate attributeName="cy" values="20;5;20" dur="3s" repeatCount="indefinite"/></circle><circle cx="60" cy="70" r="1" fill="url(%23bubble)" opacity="0.7"><animate attributeName="cy" values="70;50;70" dur="5s" repeatCount="indefinite"/></circle><circle cx="30" cy="80" r="2.5" fill="url(%23bubble)" opacity="0.5"><animate attributeName="cy" values="80;60;80" dur="6s" repeatCount="indefinite"/></circle><circle cx="90" cy="60" r="1.2" fill="url(%23bubble)" opacity="0.9"><animate attributeName="cy" values="60;40;60" dur="4.5s" repeatCount="indefinite"/></circle></svg>') repeat;
    animation: bubbleFloat 20s infinite linear;
    opacity: 0.8;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 1200px;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(0, 119, 182, 0.8), 0 0 60px rgba(0, 180, 216, 0.4);
    margin-bottom: 30px;
    animation: titleGlow 4s ease-in-out infinite alternate;
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: clamp(1.4rem, 4vw, 2.5rem);
    color: #90e0ef;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 2s ease-out 0.5s forwards;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 80px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 2s ease-out 1s forwards;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #00b4d8;
    text-shadow: 0 0 25px rgba(0, 180, 216, 0.8);
    display: block;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    color: #00f5ff;
    text-shadow: 0 0 35px rgba(0, 245, 255, 1);
    transform: scale(1.1);
}

.stat-label {
    color: #caf0f8;
    font-size: 1.2rem;
    margin-top: 10px;
    font-weight: 500;
    line-height: 1.4;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="rgba(0,180,216,0.15)"/></svg>') repeat-x;
    animation: waveMove 15s ease-in-out infinite;
}

/* Purpose Section */
.purpose-section {
    padding: 150px 20px;
    background: linear-gradient(180deg, #90e0ef 0%, #48cae4 30%, #00b4d8 70%, #0077b6 100%);
    position: relative;
    overflow: hidden;
}

.purpose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="purposeWaves" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M25,10 Q35,20 45,10 T65,10" stroke="rgba(255,255,255,0.1)" stroke-width="1" fill="none"/><path d="M15,30 Q25,40 35,30 T55,30" stroke="rgba(255,255,255,0.08)" stroke-width="1" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23purposeWaves)"/></svg>') repeat;
    opacity: 0.6;
}

.purpose-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.purpose-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #ffffff;
    font-weight: 900;
    margin-bottom: 30px;
    text-shadow: 0 0 30px rgba(0, 29, 61, 0.8);
    line-height: 1.2;
}

.purpose-subtitle {
    font-size: clamp(1.3rem, 4vw, 2.5rem);
    color: #001d3d;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.purpose-lead {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #003566;
    font-weight: 600;
    margin-bottom: 80px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.purpose-story {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
    text-align: left;
}

.story-section {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.story-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.5s ease;
    transform: scale(0);
}

.story-section:hover::before {
    opacity: 1;
    transform: scale(1);
}

.story-section:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 29, 61, 0.3);
}

.story-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}

.story-section p {
    color: #ffffff;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.story-section p:last-child {
    margin-bottom: 0;
}

.highlight {
    color: #001d3d;
    background: linear-gradient(135deg, #ffffff 0%, #caf0f8 100%);
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: 800;
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(0, 29, 61, 0.3);
}

.purpose-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.vision-box {
    background: rgba(0, 29, 61, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.vision-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vision-box:hover::before {
    opacity: 1;
}

.vision-box:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 29, 61, 0.4);
}

.vision-box h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.vision-box p {
    color: #caf0f8;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .purpose-section {
        padding: 100px 20px;
    }
    
    .story-section {
        padding: 30px 25px;
    }
    
    .story-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .story-section p {
        font-size: 1rem;
    }
    
    .purpose-vision {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vision-box {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .purpose-section {
        padding: 80px 15px;
    }
    
    .story-section {
        padding: 25px 20px;
    }
    
    .story-icon {
        font-size: 2rem;
    }
    
    .purpose-story {
        gap: 25px;
        margin-bottom: 60px;
    }
    
    .vision-box {
        padding: 25px 20px;
    }
    
    .vision-box h3 {
        font-size: 1.3rem;
    }
}


/* Problem Section */
.problem-section {
    padding: 150px 20px;
    background: linear-gradient(180deg, #001d3d 0%, #000814 100%);
    position: relative;
    overflow: hidden;
}

.problem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 119, 182, 0.03) 0%, transparent 70%);
}

.problem-card {
    background: linear-gradient(135deg, rgba(0, 53, 102, 0.4) 0%, rgba(0, 29, 61, 0.6) 100%);
    border-radius: 25px;
    padding: 50px 40px;
    border: 1px solid rgba(255, 107, 107, 0.3);
    backdrop-filter: blur(15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.5s ease;
    transform: scale(0);
}

.problem-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.problem-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.6);
}

.problem-icon {
    font-size: 4.5rem;
    margin-bottom: 25px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 107, 107, 0.3));
    transition: all 0.3s ease;
}

.problem-card:hover .problem-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(255, 107, 107, 0.6));
}

.problem-card h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.problem-card p {
    color: #caf0f8;
    font-size: 1.15rem;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* Technology Section */
.tech-section {
    padding: 150px 20px;
    background: linear-gradient(45deg, #000814 0%, #001d3d 30%, #003566 70%, #0077b6 100%);
    position: relative;
    overflow: hidden;
}

.tech-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="techGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(0,180,216,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23techGrid)"/></svg>') repeat;
    opacity: 0.6;
}

.tech-card {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.15) 0%, rgba(0, 180, 216, 0.1) 100%);
    border-radius: 30px;
    padding: 60px 50px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 500px; /* 最小高さを設定 */
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.2) 0%, rgba(144, 224, 239, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-card:hover {
    transform: scale(1.05) translateY(-10px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0, 180, 216, 0.4);
    border: 2px solid rgba(0, 180, 216, 0.6);
}

.tech-number {
    font-size: 6rem;
    font-weight: 900;
    color: rgba(0, 180, 216, 0.3);
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 0.3s ease;
}

.tech-card:hover .tech-number {
    color: rgba(0, 245, 255, 0.5);
    transform: scale(1.1);
}

.tech-card h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    line-height: 1.3;
    flex-shrink: 0; /* 高さ固定 */
}

.tech-card p {
    color: #90e0ef;
    font-size: 1.15rem;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    margin-bottom: auto; /* 自動的に余白を調整 */
    flex-grow: 1; /* 残りスペースを使用 */
}

.tech-detail {
    position: relative;
    z-index: 2;
    margin-top: 25px; /* 上部に固定余白 */
    display: flex;
    justify-content: center; /* 中央揃え */
    flex-shrink: 0; /* サイズ固定 */
}

.tech-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2) 0%, rgba(0, 180, 216, 0.3) 100%);
    color: #00f5ff;
    padding: 12px 25px; /* パディング調整 */
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 245, 255, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    min-width: 180px; /* 最小幅を設定して統一 */
}



/* 技術画像スタイル */
.tech-image {
    width: 100%;
    height: 200px;
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(0, 180, 216, 0.3);
    transition: all 0.3s ease;
}

.tech-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.tech-card:hover .tech-badge {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.3) 0%, rgba(0, 180, 216, 0.4) 100%);
    border-color: rgba(0, 245, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 245, 255, 0.3);
}
.tech-card:hover .tech-image {
    border-color: rgba(0, 180, 216, 0.6);
    box-shadow: 0 10px 20px rgba(0, 180, 216, 0.3);
}

.tech-card:hover .tech-image img {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .tech-card {
        min-height: 450px;
        padding: 50px 40px;
    }
    
    .tech-card h3 {
        font-size: 1.8rem;
    }
    
    .tech-badge {
        min-width: 160px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .tech-card {
        min-height: 400px;
        padding: 40px 30px;
    }
    
    .tech-card h3 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .tech-card p {
        font-size: 1rem;
    }
    
    .tech-badge {
        min-width: 140px;
        padding: 8px 18px;
        font-size: 0.8rem;
    }
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
    .tech-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .tech-image {
        height: 120px;
    }
}

/* ASC Section */
.asc-section {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1) 0%, rgba(0, 119, 182, 0.15) 100%);
    border-radius: 25px;
    padding: 60px 20px;
    margin-top: 80px;
    border: 1px solid rgba(0, 180, 216, 0.3);
    position: relative;
    z-index: 2;
}

.asc-title {
    color: #ffffff;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.asc-subtitle {
    color: #90e0ef;
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 400;
}

.asc-item {
    background: rgba(0, 180, 216, 0.1);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    border: 1px solid rgba(0, 180, 216, 0.3);
    transition: all 0.3s ease;
}

.asc-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 180, 216, 0.6);
    box-shadow: 0 15px 30px rgba(0, 180, 216, 0.2);
}

.asc-year {
    font-size: 2rem;
    font-weight: 900;
    color: #00b4d8;
    margin-bottom: 10px;
}

.asc-target {
    color: #caf0f8;
    font-size: 1rem;
    line-height: 1.5;
}

/* Deep Water Section */
.deep-water-section {
    padding: 150px 20px;
    background: linear-gradient(135deg, #003566 0%, #0077b6 50%, #00b4d8 100%);
    position: relative;
    overflow: hidden;
}

.deep-water-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
}

.deep-water-content {
    position: relative;
    z-index: 2;
}

.deep-water-main {
    text-align: center;
    margin-bottom: 80px;
}

.deep-water-main h3 {
    font-size: 2.3rem;
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 800;
}

.deep-water-main p {
    font-size: 1.4rem;
    color: #caf0f8;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.mechanism-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 50px 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
}

.mechanism-item:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.mechanism-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    display: block;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

.mechanism-item h4 {
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.mechanism-item p {
    color: #caf0f8;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Vision Section */
.vision-section {
    padding: 150px 20px;
    background: linear-gradient(180deg, #00b4d8 0%, #0077b6 50%, #003566 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="visionGrid" width="15" height="15" patternUnits="userSpaceOnUse"><circle cx="7.5" cy="7.5" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23visionGrid)"/></svg>') repeat;
    opacity: 0.4;
}

.vision-content {
    position: relative;
    z-index: 2;
}

.vision-title {
    font-size: clamp(2.5rem, 7vw, 2.5rem);
    color: #ffffff;
    font-weight: 900;
    margin-bottom: 40px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.vision-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 2.2rem);
    color: #caf0f8;
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.vision-feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 50px 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.vision-feature:hover {
    transform: translateY(-15px) scale(1.03);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.vision-feature-icon {
    font-size: 4.5rem;
    margin-bottom: 25px;
    display: block;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
    transition: all 0.3s ease;
}

.vision-feature:hover .vision-feature-icon {
    transform: scale(1.1) rotate(10deg);
}

.vision-feature h4 {
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.vision-feature p {
    color: #caf0f8;
    font-size: 1.1rem;
    line-height: 1.7;
}