/* ここからCSS */
/* 全体的なスタイル */
body {
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif; /* PDFのフォントに近いものを想定 */
    line-height: 1.5;
    margin: 0;
    padding: 0;
    background-color: #ffffff; /* 基本の背景色 */
    color: #333333;
}

/* 各セクションの共通スタイル */
.page-section {
    width: 100%;
    margin: 0 auto;
    padding: 0; /* 各セクション内でパディングを調整 */
    box-sizing: border-box;
    display: flex;
    justify-content: center; /* コンテンツを中央に */
    align-items: center; /* 縦方向も中央に */
    min-height: 800px; /* 各セクションの最小高さを設定 (PDFの縦幅に合わせる) */
    position: relative; /* 子要素の絶対配置の基準に */
}

/* ページ1: Scean */
.section-scean {
    background-color: #e0e0e0;

    background-image: url('images/title.png'); /* 画像ファイル名は適宜変更 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* width: 100vw; */
}

.section-title-large {
    font-size: 80px;
    font-weight: bold;
    color: #333333;
    margin: 0;
    padding: 0;
}

/* ページ2: Brand のスタイル */
.section-brand {
    background-color: #7DA6CE; /* PDFのスクリーンショットから抽出した水色 */
    color: #ffffff;
    min-height: 800px; /* PDFのスクリーンショットに合わせて高さを調整 */
}

.section-question {
    font-size: 50px;
    font-weight: normal;
    color: #ffffff;
    position: absolute;
    top: 50px; /* スクリーンショットに合わせて調整 */
    left: 50px; /* スクリーンショットに合わせて調整 */
    margin: 0;
}

.brand-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* height: 100%; この指定はabsoluteと同時に使うと挙動が異なる可能性があるので一旦削除 */
    padding-top: 100px; /* 「What is the brand?」との重なりを避けるため */
    padding-left: 50px; /* 左端からの距離を調整 */
    padding-right: 50px; /* 右端からの距離を調整 */
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.brand-name {
    font-size: 200px;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    margin-right: 80px; /* リストとの間にスペースを広く取る */
    white-space: nowrap; /* テキストが改行されないように */
    position: absolute;
    top: 100px;
    left: 100px;
}

.brand-details {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 850px; /* リストの幅を固定して文字の折り返しを制御 */
    position: absolute;
    top: 400px;
    left: 600px;
}

.brand-details li {
    font-size: 50px;
    /* margin-bottom: 5px; */
    position: relative;
    padding-left: 25px;
    color: #ffffff;
}

.brand-details li:before {
    /* content: '•'; */
    color: #ffffff;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 0;
}

/* ページ3, 4, 5 の共通コンテナスタイル */
.content-container {
    background-color: rgba(255, 255, 255, 0.2); /* 透明度のある白 */
    border-radius: 25px; /* 角丸の度合いを調整 */
    padding: 40px 60px; /* 内側の余白 */
    /* max-width: 1200px; コンテナの最大幅 */
    height: 600px;
    width: 90%; /* レスポンシブ対応 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 軽い影 */
    text-align: center; /* コンテンツを中央揃えに */
    color: #ffffff; /* コンテナ内の文字色を白に */
    box-sizing: border-box;
}

.title-group {
    display: flex;
    align-items: center; /* タイトルの下の位置を揃える */
    justify-content: space-between; /* タイトルとロゴを両端に配置 */
    /* margin-bottom: 30px; */
    position: relative; /* 相対位置の基準 */
    /* height: 80px; タイトルグループの最低高さを設定 */
    
}

.title-group .sdgs-logo {
    height:160px; 
    margin-right: 80px;
    vertical-align: middle; /* ロゴを中央に配置 */
    align-self: center;
}


.section-main-title {
    font-size: 70px; /* 大見出しの文字サイズ */
    font-weight: bold;
    color: #ffffff;
    margin-top: 50px;
    padding: 0;
    line-height: 1; /* 行の高さを詰める */
    position: static;
    left: auto;
    transform: none;
    top: auto;
    white-space: nowrap; /* 改行されないように */
}

.section-sub-title {
    font-size: 30px; /* 小見出しの文字サイズ */
    color: #ffffff;
    margin: 0;
    padding: 0;
    position: absolute; /* 親要素に対して絶対配置 */
    left: 50%; /* 中央に配置 */
    transform: translateX(-50%) translateX(150px); /* 右にずらす */
    bottom: 0; /* 大見出しの下端に合わせる */
    white-space: nowrap;
}

/* ページ3: Story */
.section-story {
    background-color: #8C99B6; /* スクリーンショットから抽出した背景色 */
}

/* ページ4: SDGs */
.section-sdgs-explanation {
    background-color: #7DA6CE; /* スクリーンショットから抽出した背景色 */
}

/* SDGsロゴのプレースホルダー（画像がないため） */
/* .sdgs-logo-placeholder {
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 50%;
    margin-left: 20px;
    flex-shrink: 0;
} */


/* ページ5: Values */
.section-values {
    background-color: #5D7AA5; /* スクリーンショットから抽出した背景色 */
    /* 背景画像を考慮しないため、シンプルな色にする */
}

/* 本文のスタイル（ページ3, 4, 5の共通） */
.section-story .content-container p:not(.section-main-title):not(.section-sub-title),
.section-sdgs-explanation .content-container p:not(.section-main-title):not(.section-sub-title),
.section-values .content-container p:not(.section-main-title):not(.section-sub-title) {
    font-size: 30px; /* 本文の文字サイズを調整 */
    margin-bottom: 15px;
    color: #ffffff; /* 文字色を白に */
    line-height: 1; /* 行間を広げる */
}

/* ページ6: Metrics （今回は変更なし） */
.section-metrics {
    background-color: #f0f0f0;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
    min-height: auto; /* 他のセクションと異なるため自動調整 */
}

.metric-item {
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 5px;
    margin-top: 30px;
}

.metric-sub-item {
    font-size: 16px;
    color: #666666;
    margin-top: 0;
    margin-bottom: 20px;
}

.section-metrics .metric-item:first-of-type {
    margin-top: 0;
}


/* 7ページ目: Platformセクション（ocean背景と円） */
.section-platform {
    min-height: 800px;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    position: relative;
    padding: 0;
}
.ocean-background {
    position: relative;
    width: 100vw;
    height: 800px;
    background: linear-gradient(135deg, #0077be 0%, #00a8cc 25%, #4fc3f7 50%, #29b6f6 75%, #0288d1 100%);
    overflow: hidden;
}
.ocean-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0,150,200,0.3) 0%, transparent 50%);
    animation: oceanWave 8s ease-in-out infinite alternate;
    z-index: 0;
}
@keyframes oceanWave {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(-10px) scale(1.02); }
}
.platform-title {
    position: absolute;
    bottom: 80px;
    right: 100px;
    font-size: 72px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-family: 'Georgia', serif;
    letter-spacing: 2px;
    z-index: 2;
}
.metric-circle {
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 1;
}
.metric-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 1);
}
.metric-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}
.metric-subtitle {
    font-size: 13px;
    color: #666;
    line-height: 1.2;
}
/* 各円の位置調整 */
.community-impact {
    top: 60px;
    left: 150px;
    animation: float 6s ease-in-out infinite;
}
.user-contribution {
    top: 120px;
    left: 450px;
    animation: float 6s ease-in-out infinite 1s;
}
.target {
    top: 80px;
    right: 150px;
    animation: float 6s ease-in-out infinite 2s;
}
.plastic-reduced {
    bottom: 200px;
    left: 80px;
    animation: float 6s ease-in-out infinite 3s;
}
.participants {
    bottom: 150px;
    left: 380px;
    animation: float 6s ease-in-out infinite 4s;
}
.completion-rate {
    bottom: 180px;
    right: 250px;
    animation: float 6s ease-in-out infinite 5s;
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}
/* 海中の泡エフェクト */
.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: bubble-rise 10s infinite linear;
    z-index: 2;
}
.bubble:nth-child(odd) {
    animation-duration: 12s;
    background: rgba(255, 255, 255, 0.2);
}
@keyframes bubble-rise {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
        transform: scale(0.5);
    }
    90% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        transform: translateY(-100px) scale(1.2);
        opacity: 0;
    }
}
/* 6ページ目のリアルタイムデータ用スタイル */
.realtime-metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 60px;
    margin-top: 40px;
}
.metric-box {
    border-radius: 18px;
    padding: 32px 40px;
    min-width: 180px;
    text-align: center;
}
.metric-label {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
}
.metric-value {
    font-size: 48px;
    font-weight: bold;
    color: #000;
}
/* ページ6: 追加セクション（背景画像） */
.section-sixth {
    background-image: url('images/page_6.png'); /* 画像ファイル名は適宜変更 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* width: 100vw; */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.sixth-content {
    color: #fff;
    padding: 60px 80px;
    border-radius: 24px;
    text-align: center;
}