.section-container {
    padding: 80px 8%;
}


/* --- About Detail Page --- */

.page-header {
    height: 60vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    background-size: cover;
    background-position: center;
}

.header-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.3;
}

.about-detail-content {
    max-width: 1000px;
}

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

.story-block h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    line-height: 1.4;
}

.story-block p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 2;
    margin-bottom: 20px;
}

/* 左右並びのセクション */
.story-block.reverse {
    display: flex;
    gap: 60px;
    align-items: center;
}

.story-text {
    flex: 1;
}

.story-visual {
    flex: 1;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

/* 比較グリッド */
.tech-comparison {
    background: var(--card-bg);
    padding: 60px;
    border: 1px solid var(--accent-gold);
    margin-top: 100px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.comp-item h3 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.comp-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* レスポンシブ */
@media (max-width: 1024px) {

    .page-header {
        height: 30vh;
    }

    .story-block.reverse {
        flex-direction: column;
    }

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

    .header-content h1 {
        font-size: 2rem;
    }
}

/* --- Values Vertical Layout --- */
.values-vertical-list {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 100px;
    /* 項目間の余白 */
}

.value-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    /* 薄い金の区切り線 */
}

.value-item:last-child {
    border-bottom: none;
}

/* 巨大な数字の装飾 */
.value-number {
    font-size: 8rem;
    /* 圧倒的な大きさ */
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(212, 175, 55, 0.3);
    /* 金色の輪郭線のみ */
    font-family: 'Arial Black', sans-serif;
    margin-right: 50px;
    flex-shrink: 0;
    transition: 0.5s ease;
}

.value-item:hover .value-number {
    -webkit-text-stroke: 1px rgba(212, 175, 55, 0.8);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-5px);
}

.value-body {
    padding-top: 1.5rem;
    /* 数字の頭と揃えるための調整 */
}

.value-body h3 {
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.value-body p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.8;
    max-width: 700px;
}

/* --- レスポンシブ --- */
@media (max-width: 1024px) {
    .value-number {
        font-size: 5rem;
        margin-right: 30px;
    }

    .value-body h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .value-item {
        flex-direction: column;
        /* スマホでは縦に並べる */
        gap: 10px;
    }

    .value-number {
        font-size: 4rem;
        margin-bottom: 10px;
    }

    .value-body {
        padding-top: 0;
    }
}

/* --- Benefits Section --- */
.benefits-section {
    background-color: #1a1a1c;
    /* 少しだけ背景色を変えて変化をつける */
    padding: 80px 40px;
    border-radius: 8px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--card-bg);
    padding: 50px 30px;
    border: 1px solid var(--border-color);
    transition: 0.4s ease;
    text-align: center;
}

.benefit-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* --- Benefits Icon (imgタグ版) --- */

.benefit-icon {
    width: auto;
    /* アイコンを表示するエリアの幅 */
    height: 200px;
    /* アイコンを表示するエリアの高さ */
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon img {
    max-width: 100%;
    /* エリアからはみ出さない */
    height: 200px;
    /* 比率を維持 */
    object-fit: contain;
    transition: transform 0.4s ease;
    /* ホバー時の動き */
}

/* カードをホバーした時に画像を動かす */
.benefit-card:hover .benefit-icon img {
    transform: scale(1.1) translateY(-5px);
}

/* レスポンシブ：スマホでアイコンを少し小さく */
@media (max-width: 768px) {
    .benefit-icon {
        margin-bottom: 30px;
    }
}

.benefit-card h3 {
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
    text-align: left;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        /* スマホ・タブレットは縦並び */
        gap: 20px;
    }

    .benefit-card {
        padding: 40px 20px;
    }
}

#partner-01 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../img/partner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* --- パートナーカードグリッド --- */
.partner-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- 個別カードのスタイル --- */
.partner-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.partner-card:hover {
    transform: translateY(-10px);
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* --- カード内の画像エリア --- */
.card-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* 画像の下にうっすらゴールドのライン */
.card-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gold);
}

/* --- カード内のテキスト --- */
.card-content {
    padding: 25px;
    flex-grow: 1;
}

.card-content h3 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.card-content p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* スマホでの微調整 */
@media (max-width: 768px) {
    .partner-card-grid {
        gap: 20px;
    }

    .card-image {
        height: 150px;
    }
}