@charset "UTF-8";

/* ベース設定 */
:root {
    --bg-color: #1d2d69; /* 背景の濃紺 */
    --text-color: #ffffff;
    --accent-color: #f0a500; /* オレンジ/ゴールド系 */
    --sub-text-color: #cccccc;
    --card-bg: #f8f9fa; /* カード背景（白系） */
    --card-text: #333333; /* カード内文字色 */
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 700;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: 1000px;
    margin: 0 auto; /*autoで調整*/
    padding: 0 20px;
    position: relative;
}

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-40 { margin-bottom: 20px; }

/* ヒーローセクション */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('image/hero-bg.jpg'); /* ここに背景画像のパス */
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 40px;
    border: 1px solid #fff;
    border-radius: 50px;
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.btn-outline:hover {
    background: #fff;
    color: var(--bg-color);
}

/* 共通セクションスタイル */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.highlight {
    color: var(--accent-color);
    font-weight: bold;
}

/* プロジェクト / 枠線ボックス */
.box-outline {
    background: #fff;
    color: var(--card-text);
    padding: 40px;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* デザイン上のL字枠線を疑似要素で表現 */
.box-outline::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-bottom: 2px solid var(--accent-color);
    border-left: 2px solid var(--accent-color);
    pointer-events: none;
}
.box-outline::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-top: 2px solid var(--accent-color);
    border-right: 2px solid var(--accent-color);
    pointer-events: none;
}

.snowflake-icon {
    text-align: center;
    margin-bottom: 20px;
}

.snowflake-img{
    width: 70px;
    height: auto;
}

/* 3カラムの特徴 (画像付き) */
.feature-img-wrapper {
    text-align: center;
    margin-bottom: 40px;
    background-color: #0f1526;
}
.feature-main-img {
    max-width: 30%;
    height: auto;
    margin: 0px;
}

.features-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* スマホ版はここを１つにすればいい */
    gap: 20px;
    text-align: center;
    background: #fff;
    padding: 30px 0;
    color: var(--card-text);
    margin: 0px;
}

.feature-item {
    padding: 0 20px;
    border-right: 1px solid #eee;
}
.feature-item:last-child { border-right: none; }

.feature-item .number {
    font-size: 2rem;
    color: #f0a500;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}
.feature-item h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

/* 魅力カード */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card-grid-movie {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    background-color: #0f1526;

}

.card {
    background: #fff;
    color: var(--card-text);
    padding: 30px;
    /* border-bottom: 4px solid var(--accent-color);*/
    /* 下線で対応していたのを修正 */
    box-shadow: -10px 10px 0 var(--accent-color);
    position: relative;
}

.card-num {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1.5rem;
    color: #f0a500;
}

.card h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* スキルリスト */
.skill-list {
    max-width: 800px;
    margin: 0 auto;
}
.skill-list li {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 30px;                
}

/* 雪の結晶画像のサイズ */
.skill-icon {
    width: 60px;
    height: auto;
    flex-shrink: 0;
}
/* 体験ムービーカード */
.movie-card {
    background: #1a2342; /* カード自体は暗く */
}
.movie-thumb {
    background: #ccc;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
}
.movie-content {
    background: #24345e;
    padding: 20px;
    min-height: 150px;
}
.movie-content h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.movie-content p {
    font-size: 0.9rem;
    color: #ccc;
}

/* ソーシャルリスニングの修正点 */
.social-content {
    /* display: flex;
    flex-wrap: wrap;
    /* align-items: center; */
    /* ソーシャルリスニングリスニングの画像の不具合によりcenterからflex-startに修正 */
    /* align-items: flex-start;
    gap: 0;
    justify-content: center;
    align-items:center */
    display: flex;
    /* スマホファースト：基本は「縦並び」にします */
    flex-direction: column; 
    align-items: center;
    position: relative;
    padding-top: 20px; /* 少し上の余白 */
}
.box-outline-left {
    /* flex: 1;
    background: #fff;
    color: var(--card-text);
    padding: 40px;
    /* border-left: 5px solid var(--accent-color);  */
    /*　border-leftからbox-shadowに */
    /* box-shadow: -10px 10px 0 var(--accent-color);
    min-width: 300px;
    position: relative;
    z-index: 2;
    top: 20px;  */

    background: #fff;
    color: var(--card-text);
    padding: 40px;
    box-shadow: -10px 10px 0 var(--accent-color);
    
    /* 幅の制限（ここが重要！flex:1は使いません） */
    width: 90%;           /* スマホでは画面の9割 */
    max-width: 500px;     /* 大きくなりすぎないように制限 */
    
    position: relative;
    z-index: 1;           /* 手前に表示 */
}
/* .word-cloud {
    flex: 1;
    background: #fff;
    padding: 10px;
    text-align: center;
    min-width: 300px;
    box-shadow: -10px 10px 0 var(--accent-color);
    height:fit-content;
}
.word-cloud img {
    max-width: 100%;
    background: #fff; ワードクラウド背景白 
    padding: 10px;
} 修正前コード
 修正理由：　オリエンテーリングの画像がbox-shadowを適用したとき画像と線の間に謎の空白ができたため*/

.word-cloud {
    /* flex: 1;
    min-width: 300px;
    text-align: center;
    
    /* ▼ カード風デザインの追加 ▼ */
    /* background: #fff;     /* 背景を白に */
    /* padding: 10px;        画像周りの余白（お好みで調整） */
    
    /* 左下にオレンジの影を落とす（.cardと同じ設定） */
    /* box-shadow: -10px 10px 0 var(--accent-color); */
    
    /* 重要：中身の画像サイズに高さを合わせる呪文 */
    /* height: fit-content; */
    
    /* position: relative; */
    /* z-index: 1; */
    /* margin-top: -30px;   */

    background: #fff;
    padding: 10px;
    box-shadow: -10px 10px 0 var(--accent-color);
    text-align: center;
    height: fit-content;

    /* 幅の制限 */
    width: 90%;           /* スマホでは画面の9割 */
    max-width: 500px;     /* 大きくなりすぎないように制限 */

    position: relative;
    z-index: 2;           /* 奥に表示 */
    
    /* スマホ用の重ね設定：上に引き上げて縦に重ねる */
    margin-top: -30px; 
    left: 0;
}

/* オリエンテーリング画像設定、右端の線を消すコード */
.orienteering-img{
    max-width: 100%;
    height: auto;
    /* overflow: hideen;では修正できなかったのでclip-pathで強制的にカット */
    clip-path: inset(0 5px 0 0);
}

/* 画像自体の設定（念のため確認） */
.word-cloud img {
    max-width: 100%;
    height: auto;
    display: block; /* 画像の下にできる数ミリの隙間を消すおまじない */
}

/* 装備グリッド */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}
@media(max-width: 768px){
    .equipment-grid { grid-template-columns: 1fr; }

    .word-cloud {
        top: 60px
    }
}

@media (min-width: 768px) {
    
    .social-content {
        /* 横並びに切り替え */
        flex-direction: row; 
        justify-content: center;
        align-items: center;
    }

    .box-outline-left {
        width: 450px;     /* PC用の固定幅 */
        margin: 0;        /* 余計な余白リセット */
        
        /* 位置調整：右上にずらして重ねる */
        top: -30px;
        left: 50px; 
    }

    .word-cloud {
        width: 500px;     /* PC用の固定幅 */
        margin-top: 0;    /* スマホ用の引き上げをリセット */
        
        /* 位置調整：左下にずらして重ねる */
        top: 100px;
        left: -50px;
    }
}

.equip-card {
    background: #fff;
    color: var(--card-text);
    padding: 30px;
    /* border-left: 5px solid var(--accent-color); */
    /* border-leftからbox-shadowに修正 */
    box-shadow: -10px 10px 0 var(--accent-color);
}
.equip-card h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.equip-card ul li {
    padding: 5px 0;
    border-bottom: 1px dotted #eee;
}

.equip-notes {
    color: #fff;
}
.note-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.note-item i {
    color: #ff6b6b; /* 赤っぽいアイコン */
    font-size: 1.5rem;
    margin-top: 3px;
}
.note-item h4 { margin-bottom: 5px; }
.note-item p { font-size: 0.9rem; color: #ccc; }

/* イベント情報 */
.large-box {
    text-align: center;
    padding: 60px 40px;
}
.text-link {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-block;
    margin-top: 20px;
}

.text-link-event {
    color: var(--accent-color);
    font-size: 1.2rem;
    display: inline-block;
    margin-top: 20px;
}
.text-link-event:hover{
    font-weight: bold;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
}
.faq-item summary {
    padding: 20px;
    color: var(--card-text);
    font-weight: bold;
    cursor: pointer;
    position: relative;
    list-style: none; /* デフォルトの三角を消す */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
    color: var(--accent-color);
}
.faq-content {
    padding: 20px;
    border-top: 1px solid #eee;
    color: #666;
    background: #f9f9f9;
}

/* フッター */
footer {
    background: #0f1526;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
}
@media(max-width: 768px){
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-col h3 { font-size: 1.1rem; margin-bottom: 15px; }
.footer-col h4 { color: #fff; margin-bottom: 15px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #ccc; }
.footer-col ul li a:hover { color: #fff; }

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 15px;
}
.social-icons .fa-youtube { 
    color: #ff0000; 
    background: radial-gradient(circle, #ffffff 45%, transparent 45%);
}
.social-icons .fa-x-twitter { color: #fff; }

.copyright {
    text-align: center;
    color: #666;
}
