/* =================================================================
   about.css
   「LOST ARROW について」ページ専用のスタイルシート
================================================================= */

/* --- 1. ページ全体のコンテナ設定 --- */
/* このページのコンテナ幅を共通設定とは別に指定 */
.container {
    max-width: 1120px;
}


/* --- 2. コンテンツセクション --- */
.content-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--color-border);
}
.content-section:last-of-type {
    border-bottom: none;
}

.content-grid {
    display: grid;
    grid-template-columns: 4fr 6fr; /* 左に画像、右にテキスト */
    gap: 60px;
    align-items: center;
}

/* 2番目のセクションで画像とテキストの順序を反転 */
.content-section:nth-of-type(2) .content-grid {
    grid-template-columns: 6fr 4fr; /* 左にテキスト、右に画像 */
}
.content-section:nth-of-type(2) .content-image {
    order: 2;
}
.content-section:nth-of-type(2) .content-text {
    order: 1;
}

.content-text h2 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}
.content-text h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}
.content-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
}
.btn {
    display: inline-block;
    background-color: var(--color-dark);
    color: #fff;
    padding: 12px 35px;
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
}
.btn:hover {
    opacity: 0.8;
    color: #fff; /* ホバー時の文字色を明示 */
}


/* --- 3. リンクカードセクション --- */
.links-section {
    padding: 80px 0;
}
.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.link-card {
    text-align: center;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.link-card-image {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
}
.link-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease;
}
.link-card:hover .link-card-image::before {
    background-color: rgba(0, 0, 0, 0.2);
}
.link-card-image h3 {
    position: relative;
    color: #fff;
    margin: 0;
    font-size: 20px;
}
.link-card-caption {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
    padding-bottom: 1em;
}


/* --- 4. レスポンシブスタイル --- */
@media (max-width: 992px) {
    .content-grid,
    .content-section:nth-of-type(2) .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    /* スマホでは画像の順序をリセット */
    .content-section:nth-of-type(2) .content-image,
    .content-section:nth-of-type(2) .content-text {
        order: initial;
    }
    .links-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }
    .content-section {
        padding: 40px 0;
    }
    .links-section {
        padding: 60px 0;
    }
}
