@charset "UTF-8";

/* roots */
.roots {
    background-color: #fff;
    padding: clamp(60px, 8vw, 120px) 20px;
}

/* 写真とテキストのコンテナ */
.roots-hero {
    position: relative;
    width: 100%;
    margin-top: 30px;
    overflow: hidden;
    border-radius: 4px;
}

/* 写真の明るさを少し落とす（文字を読みやすくするため） */
.roots-hero-image {
    width: 100%;
    height: auto;
    line-height: 0;
    margin-bottom: 80px;
}

.roots-hero-image img {
    width: 100%;
    height: auto;
    filter: brightness(0.8) contrast(1.1);
}

/* テキストの配置 */
.roots-hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 大きなキャッチコピー */
.hero-catchphrase {
    font-size: clamp(20px, 3.5vw, 32px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 0.15em;
    line-height: 1.4;
}

/* 説明文 */
.hero-description {
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 2;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-align: justify;
    word-break: break-all;
}

/* タイムライン全体のコンテナ */
.roots-timeline-section {
    background-color: #fff;
    color: #333;
}

.roots-sub-text {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-year {
    font-size: clamp(18px, 2.2vw, 24px);
    color: #001642;
    margin-bottom: 30px;
    background: #fff;
    display: inline-block;
    padding: 5px 10px;
    line-height: 1.8;
}

.roots-timeline-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* 縦に走る一本の線（シュプール） */
.roots-timeline-inner::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #001642;
    opacity: 0.2;
}

/* 各行のスタイル */
.timeline-row {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

/* 日付エリア */
.timeline-date {
    width: 120px;
    padding-right: 30px;
    text-align: right;
    flex-shrink: 0;
}

.month-day {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #001642;
    font-family: sans-serif;
}

.status {
    display: block;
    font-size: 12px;
    color: #e67e22;
    font-weight: 700;
    margin-top: 4px;
}

/* 内容エリア */
.timeline-content {
    padding-left: 30px;
    line-height: 1.8;

}

.timeline-content p {
    font-size: clamp(14px, 1.6vw, 17px);
}

/* 線上のドット（滑走の跡） */
.timeline-row::after {
    content: '';
    position: absolute;
    left: 116px;
    top: 8px;
    width: 9px;
    height: 9px;
    background-color: #fff;
    border: 2px solid #001642;
    border-radius: 50%;
    z-index: 1;
}

/* 強調する行のスタイル */
.timeline-row.highlight .month-day {
    color: #e67e22;
}

.timeline-row.goal::after {
    background-color: #001642;
}


/* history */
.history {
    padding: clamp(60px, 8vw, 120px) 20px;
}

/* --- パララックスエリアの調整 --- */
.history-parallax-container {
    position: relative;
    clip-path: inset(0);
}

.fixed-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/histony/roots-2.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* --- タイムライン容器の調整 --- */
.v-timeline-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 20px;
}

/* ガラスのカード */
.card-content {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 10px solid rgba(255, 255, 255, 0.3);
    border-left: none;
    border-radius: 0 20px 20px 0;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.card-content h3 {
    font-size: clamp(20px, 2vw, 24px);
    color: #001642;
    margin-bottom: 15px;
}

.card-content .sm {
    font-size: 15px;
    font-weight: normal;
    color: #666;
    margin-left: 10px;
}

.event-row {
    margin-bottom: 10px;
}


/* 月日の調整（一行に収める） */
.event-month {
    display: inline-block;
    width: 95px;
    flex-shrink: 0;
    font-weight: bold;
    color: #e67e22;
}

/* 参加者などの補足情報 */
.event-meta {
    display: block;
    font-size: 15px;
    color: #666;
    margin-top: 5px;
    line-height: 1.5;
}

/* award-hall */
.award-hall {
    background-color: #fff;
    padding: clamp(60px, 8vw, 120px) 20px;
}

/* 注釈のスタイル：少しグレーにしてタイトルを邪魔しないように */
.award-note {
    font-size: 13px;
    color: #888;
    margin-top: 15px;
    letter-spacing: 0.05em;
}

.winners-grid {
    max-width: 1000px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px 30px;
}

.winner-item {
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    color: #333;
    text-align: left;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: baseline;
}

.winner-item .year {
    font-weight: 700;
    color: #e67e22;
    font-size: 14px;
    margin-right: 12px;
    width: 45px;
}

.no-award {
    color: #bbb;
    font-style: italic;
}

.no-award .year {
    font-style: normal;
    display: inline-block;
}

.win-count {
    font-size: 0.8em;
    color: #e67e22;
    margin-left: 5px;
    font-weight: bold;
}


/*----------------------------
タブレット
-----------------------------*/

@media screen and (max-width: 1024px) {}



/*----------------------------
スマートフォン
-----------------------------*/

@media screen and (max-width: 767px) {

    /* roots */
    .roots-hero-text {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        padding: 30px 20px;
        background-color: #001642;
        text-align: left;
        border-radius: 4px;
        margin-bottom: 40px;
    }

    .hero-catchphrase {
        margin-bottom: 15px;
    }

    .roots-hero-image {
        margin-bottom: 20px;
    }

    .roots-hero-image img {
        filter: none;
    }

    .roots-timeline-inner::before {
        left: 15px;
    }

    .timeline-row::after {
        left: 11px;
    }

    .timeline-row {
        flex-direction: column;
    }

    .timeline-date {
        width: 100%;
        text-align: left;
        padding-left: 35px;
        margin-bottom: 10px;
    }

    .timeline-content {
        padding-left: 35px;
    }

    /* history */
    .card-content {
        margin-bottom: 40px;
    }

    .card-content h3 {
        line-height: 1.4;
        margin-bottom: 10px;
    }

    /* award-hall */
    .winners-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px 15px;
    }

    .winner-item {
        font-size: 14px;
    }
}