@charset "UTF-8";

/* =========================================
   参加するページ用CSS
   ロゴ配色再現・テキストスタイル・余白統一版
========================================= */

.join-section,
.join-section * {
    box-sizing: border-box;
}

.join-section {
    /* history.cssと同じタイトル開始位置 */
    padding: 0 20px 80px;
    margin-top: -40px !important;
}

.join-section > .section-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* -----------------------------------------
   タイトルエリア
----------------------------------------- */

.join-section > .section-inner > .page-header {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left;
}

.join-section > .section-inner > .page-header > .page-title {
    display: block;
    width: 100%;
    margin: 0 0 20px !important;
    padding: 0 0 15px;
    border-bottom: 2px solid #F7D070;
    color: #84D2E5;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.join-section > .section-inner > .page-header > .page-desc {
    margin: 0 0 60px !important;
    color: #555555;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
}

.join-section .sub-title {
    margin: 0 0 40px;
    color: #84D2E5;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
}

/* -----------------------------------------
   1. 導入エリア
----------------------------------------- */

.join-intro-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
}

.intro-img {
    flex: 0 0 45%;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.intro-img img {
    display: block;
    width: 100%;
    height: auto;
}

.intro-text {
    flex: 1;
    min-width: 0;
}

.intro-text p {
    margin: 0 0 20px;
    color: #444444;
    font-size: 1.05rem;
    line-height: 1.9;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

/* -----------------------------------------
   2. ビジョンと思い
----------------------------------------- */

.vision-block {
    margin-bottom: 100px;
}

.vision-content {
    padding: 45px 50px;
    border: 1px solid #fae8b4;
    border-radius: 20px;
    background: #fdfaf0;
}

.vision-lead {
    margin: 0 0 30px;
    padding-bottom: 25px;
    border-bottom: 1px dashed #e6c875;
    color: #333333;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.6;
    text-align: center;
}

.vision-content p:not(.vision-lead) {
    margin: 0 0 20px;
    color: #555555;
    font-size: 1.05rem;
    line-height: 1.9;
}

.vision-content p:last-child {
    margin-bottom: 0;
}

/* -----------------------------------------
   3. 活動に参加する
----------------------------------------- */

.action-block {
    margin-bottom: 60px;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.action-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(132, 210, 229, 0.2);
}

.card-img-wrap {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.card-img-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.action-card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 30px;
}

.card-header h4 {
    margin: 0 0 15px;
    font-size: 1.35rem;
    font-weight: bold;
}

.card-desc {
    flex: 1;
    margin: 0 0 25px;
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.7;
}

.card-arrow {
    display: inline-block;
    align-self: flex-end;
    font-size: 0.9rem;
    font-weight: bold;
}

/* ブランドカラー */

.card-green {
    border-bottom: 4px solid #b5d580;
}

.card-green .card-header h4,
.card-green .card-arrow {
    color: #8cc63f;
}

.card-blue {
    border-bottom: 4px solid #84D2E5;
}

.card-blue .card-header h4,
.card-blue .card-arrow {
    color: #84D2E5;
}

.card-purple {
    border-bottom: 4px solid #c090c0;
}

.card-purple .card-header h4,
.card-purple .card-arrow {
    color: #9e7bc1;
}

.card-yellow {
    border-bottom: 4px solid #f6c544;
}

.card-yellow .card-header h4,
.card-yellow .card-arrow {
    color: #d09a0e;
}

/* -----------------------------------------
   アニメーション
----------------------------------------- */

.fade-in-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}

.fade-in-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* -----------------------------------------
   レスポンシブ
----------------------------------------- */

@media screen and (max-width: 900px) {
    .join-intro-block {
        flex-direction: column;
        gap: 25px;
    }

    .intro-img {
        width: 100%;
        flex-basis: auto;
    }
}

@media screen and (max-width: 768px) {
    .join-section {
        padding: 0 16px 60px;
        margin-top: -20px !important;
    }

    .join-section > .section-inner > .page-header {
        margin: 0 !important;
        padding: 0 !important;
    }

    .join-section > .section-inner > .page-header > .page-title {
        font-size: 2rem;
    }

    .join-section > .section-inner > .page-header > .page-desc {
        margin-bottom: 40px !important;
        font-size: 1rem;
    }

    .action-grid {
        grid-template-columns: 1fr;
    }

    .card-content {
        padding: 25px 20px;
    }

    .vision-content {
        padding: 35px 20px;
    }
}
@media screen and (max-width: 480px) {
    .join-section {
        padding-right: 14px;
        padding-left: 14px;
    }

    .join-section > .section-inner > .page-header > .page-title {
        font-size: 1.8rem;
    }
}
