/* 基本スタイル */
body {
    /* 本文のフォントは元のままにする */
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    margin: 0;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    color: #fff;
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #000;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid #333;
}

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

.logo img {
    height: 100px;
    width: auto;
}

.nav ul {
    display: flex;
}

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

.nav ul li a {
    font-size: 16px;
    transition: color 0.3s;
}

.nav ul li a:hover {
    color: #aaa;
}

/* ハンバーガーメニュー */
.menu-toggle {
    display: none;
    /* デフォルトでは非表示 */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 9999;
}

.hamburger {
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* モバイルナビゲーション */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        /* ヘッダーの高さ分ずらす */
        left: -100%;
        /* 画面外に隠す */
        width: 100%;
        height: calc(100vh - 80px);
        /* ヘッダーの高さ分を引く */
        background-color: rgba(0, 0, 0, 0.95);
        /* 半透明の黒 */
        display: flex;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease-in-out;
        z-index: 9998;
    }

    .nav.active {
        left: 0;
        /* 表示 */
        background-color: rgba(0, 0, 0, 0.95);
        /* 半透明の黒 */
    }

    .nav ul {
        flex-direction: column;
        text-align: center;
    }

    .nav ul li {
        margin: 20px 0;
    }

    .nav ul li a {
        font-size: 24px;
    }

    .menu-toggle {
        display: flex;
        /* モバイルで表示 */
        flex-shrink: 0;
        /* 縮小を防ぐために追加 */
    }

    .logo img {
        height: 80px;
        /* ロゴの高さを80pxに設定 */
        max-width: 100%;
        /* 画像がはみ出さないように追加 */
    }

    .hero-logo-img {
        margin-top: -30px;
        /* モバイル用にロゴを下に移動 */
    }



    .hero-content .hero-main-catchcopy {
        font-size: 28px !important;
        margin-top: -20px;
        /* ロゴの下にスペースを追加し、キャッチフレーズを下に移動 */
    }

    .hero-content .hero-sub-catchcopy {
        font-size: 18px !important;
        margin-top: 20px !important;
    }

    .hero-content {
        position: relative;
        top: -200px;
        /* モバイル用に垂直位置をリセット */
    }

    /* セクションのモバイルパディング */
    .concept,
    .products,
    .comparison,
    .activity-report,
    .ambassadors {
        padding: 60px 0;
    }

    .concept h2,
    .products h2,
    .comparison h2,
    .mission h2,
    .activity-report h2,
    .ambassadors h2 {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .concept h3,
    .activity-report h3,
    .ambassadors h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .concept p,
    .activity-report p,
    .ambassador-item p {
        font-size: 15px;
    }

    .product-item h3,
    .ambassador-item h3 {
        font-size: 20px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }

    /* グリッドレイアウト（モバイル） */
    .product-grid,
    .ambassador-grid {
        grid-template-columns: 1fr;
    }

    .product-item,
    .ambassador-item {
        padding: 20px;
    }

    /* フッター（モバイル） */
    .footer {
        padding: 30px 0;
    }

    .social-links a img {
        width: 30px;
        height: 30px;
    }

    .contact-email {
        font-size: 14px;
    }

    .footer p {
        font-size: 12px;
    }

    /* ハンバーガーアニメーション */
    .menu-toggle.active .hamburger {
        background-color: transparent;
    }

    .menu-toggle.active {}

    .menu-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .menu-toggle.active .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .header {
        padding: 0;
        height: 80px;
        /* ヘッダーの高さをロゴに合わせて明示的に設定 */
    }

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

    .hero {
        align-items: flex-start;
        /* 上寄せ */
        padding-top: 150px;
        /* 上からの余白を微調整 */
        background-position: center -50px !important;
    }

    .hero-content {
        margin-top: 50px;
        /* PC用のマイナスマージンをリセット */
    }

}

.hero-content .hero-main-catchcopy {
    margin-bottom: 0px;
    /* デフォルトの間隔 */
}

.hero-content .hero-sub-catchcopy {
    margin-top: 0;
    /* モバイル用のmargin-topを削除 */
}



.hero-content {
    text-align: center;
    /* ヒーローコンテンツを中央に配置 */
}


/* メインコンテンツ */
main {
    padding-top: 80px;
    /* 固定ヘッダーに合わせて調整 */
}

/* ヒーローセクション */
.hero {
    background: url('../image/hero_background.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* 中央に戻す */
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 70%, rgba(0, 0, 0, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    margin-top: -220px;
    /* コンテンツブロック全体をさらに上に移動 */
    width: 100%;
}

.hero-logo-img {
    width: 80% !important;
    max-width: 700px !important;
    height: auto;
    margin: 0 auto 20px;
}

.hero-main-catchcopy {
    font-size: 48px;
    /* メインキャッチコピーのサイズ */
    margin-top: -150px;
    /* セットとして上に移動 */
    margin-bottom: 0;
    /* メインとサブの間のスペースを減らす */
    font-weight: bold;
    line-height: 1.4;
}

.hero-sub-catchcopy {
    font-size: 40px;
    /* サブキャッチコピーのサイズ */
    margin-top: 10px;
    font-weight: normal;
    opacity: 0.8;
}

/* セクション */
.concept,
.products,
.comparison,
.activity-report,
.ambassadors {
    padding: 80px 0;
    text-align: center;
}

.concept {
    background-color: #000;
}

.concept h2,
.products h2,
.comparison h2,
.mission h2 {
    font-family: 'Oswald', sans-serif;
    /* その他の見出しにはOswaldを維持 */
    font-size: 36px;
    margin-bottom: 40px;
}

.concept h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.concept p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    /* 文字サイズを大きく */
    line-height: 1.8;
    /* 行間を調整 */
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
    /* テキストシャドウを追加 */
}

.concept-text {
    padding: 40px;
    border-radius: 5px;
    text-align: left;
}

/* プロダクトセクション */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-item {
    background-color: #111;
    padding: 30px;
    border: 1px solid #333;
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-10px);
}

.product-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.product-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    border: 1px solid #fff;
    color: #fff;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.btn:hover {
    background-color: #fff;
    color: #000;
}

/* アンバサダーセクション */
.ambassador-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.ambassador-item {
    background-color: #111;
    padding: 30px;
    border: 1px solid #333;
    transition: transform 0.3s;
}

.ambassador-item:hover {
    transform: translateY(-10px);
}

.ambassador-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
}

.ambassador-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.ambassador-item p {
    font-size: 16px;
    line-height: 1.6;
}

.ambassador-item p:nth-of-type(2) {
    display: none;
    /* コメントを非表示 */
}

/* フッター */
.footer {
    background-color: #000;
    /* bodyの背景色と合わせる */
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid #333;
    /* 元に戻す: 行を追加 */
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
}

.social-links a img {
    width: 50px;
    height: 50px;
    transition: opacity 0.3s;
}

.social-links a:hover img {
    opacity: 0.8;
}

.contact-email {
    font-size: 16px;
}

.contact-email a {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #fff;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    /* 下線を削除 */
    transition: background-color 0.3s, color 0.3s;
    border-radius: 5px;
    /* 角を丸く */
}

.contact-email a:hover {
    background-color: #fff;
    color: #000;
}

.footer p {
    margin: 0;
    color: #fff;
    font-size: 14px;
}

/* 比較セクション */
.comparison p {
    font-size: 18px;
    margin-bottom: 40px;
}

.comparison img {
    max-width: 100%;
    height: auto;
    border: 1px solid #333;
}

/* ミッションセクション */
.mission {
    padding: 80px 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, #000 20%, #000 100%);
    /* bodyの背景色と合わせる */
}

.mission .container {
    max-width: 1200px;
}

.mission h2 {
    text-align: center;
}

.mission h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 50px;
    font-weight: normal;
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.mission-text {
    flex: 1.2;
    text-align: left;
}

.mission-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.mission-images {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mission-images img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    opacity: 0.9;
}

/* Animation */
.fade-in {
    /* opacity: 0; */
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* ミッションセクションのレスポンシブ対応 */
@media (max-width: 768px) {
    .mission-content {
        flex-direction: column;
    }

    .mission-text {
        text-align: center;
    }
}

.activity-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2列 */
    gap: 20px;
    margin-top: 40px;
    /* 上のテキストとの間隔 */
    margin-bottom: 40px;
    /* 下のテキストとの間隔 */
    max-width: 800px;
    /* コンテナの幅を制限 */
    margin-left: auto;
    /* 中央寄せ */
    margin-right: auto;
    /* 中央寄せ */
}

.activity-images img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    opacity: 0.9;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .activity-images {
        grid-template-columns: 1fr;
        /* 1列にする */
    }
}

/* トップに戻るボタン */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 1000;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #ccc;
}