/* In Numbers ページ専用スタイル */

/* メインコンテンツ */
.in-numbers-main {
    padding: 4rem 0;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 追加画像セクション用のコンテナ調整 */
/* .additional-images-section .container {
    max-width: 1400px;
} */

/* 3x3 グリッド - インフォグラフィック */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.number-item {
    text-align: center;
    padding: 1rem;
    border-radius: 15px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.number-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.number-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.number-image:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* 追加画像セクション - 2列グリッド */
.additional-images-section {
    padding: 4rem 0;
    background: #fff;
}

.two-column-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-items: center;
    align-items: start;
}

/* 3列グリッド */
.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
    align-items: start;
    margin: 2rem 0;
}

.additional-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain;
}

.additional-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* グリッドアイテムの配置調整 */
.two-column-grid .grid-item {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* 好きなアイテムセクション */
.favorite-items-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    color: #1f2937;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.item {
    text-align: center;
}

.item-image {
    width: 100%;
    /* max-width: 300px; */
    height: auto;
    /* border-radius: 15px; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease;
}

.item-image:hover {
    transform: translateY(-5px);
}

/* 社風セクション */
.company-culture-section {
    padding: 4rem 0;
    background: #fff;
}

.culture-content {
    text-align: center;
    margin-top: 2rem;
}

.culture-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.culture-image:hover {
    transform: translateY(-5px);
}

/* テンファイブ説明セクション */
.tenfive-description-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.description-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 2rem;
}

.description-column {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.description-list {
    list-style: none;
    padding: 0;
}

.description-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1.1rem;
    color: #374151;
    position: relative;
    padding-left: 1.5rem;
}

.description-list li:before {
    content: "•";
    color: #a855f7;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.description-list li:last-child {
    border-bottom: none;
}

/* 背景画像 */
.bottom-background {
    position: relative;
    height: 300px;
    overflow: hidden;
    margin-top: 4rem;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* アニメーション */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.animation {
    opacity: 1;
    transform: translateY(0);
}

@keyframes logoRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: center;
    }

    .three-column-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        justify-items: center;
    }

    .items-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .description-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .number-image,
    .additional-image,
    .item-image,
    .culture-image {
        max-width: 100%;
    }

    .page-header {
        padding: 4rem 0;
    }

    .pentagon-logo {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .numbers-grid {
        grid-template-columns: 1fr;
    }

    .three-column-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }
}
