/**
 * Business Page Styles - 事業内容ページ
 */

/* ヒーローセクション */
.business-hero {
    position: relative;
    height: 289px;
    background-image: url('../../images/business-hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 35, 35, 0.3);
    z-index: 1;
}

.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 39.317px;
    height: 31.899px;
}

.logo-text {
    width: 172.075px;
    height: 20.345px;
}

.hero-nav .nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-nav .nav-menu a {
    color: white;
    text-decoration: none;
    font-family: 'Toppan Bunkyu Mincho', 'Yu Kyokasho', serif;
    font-size: 15px;
    padding: 15px 25px;
    display: block;
    text-align: center;
    width: 154px;
    transition: background-color 0.3s;
}

.hero-nav .nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-nav .nav-menu .contact-btn {
    border: 0.5px solid white;
    width: 137px;
}

/* 事業セクション */
.business-section {
    padding: 30px 0;
}

section.business-section.capabilities-section {
    padding-top: 60px;
}

section.business-section.production-section {
    padding-bottom: 60px;
}

.section-title {
    font-family: 'Toppan Bunkyu Midashi Mincho', 'Yu Kyokasho', serif;
    font-size: 28px;
    font-weight: 800;
    color: #232323;
    margin: 0 0 50px 0;
}

/* 対応可能内容セクション */

.capabilities-section ul {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 40px;
}

.capabilities-section ul li {
    background: transparent;
    padding: 6px 0;
    font-family: 'Toppan Bunkyu Mincho', 'Yu Kyokasho', serif;
    font-size: 15px;
    color: black;
}

/* 事業アイテム */
.business-item {
    margin-bottom: 50px;
}

.business-item:last-child {
    margin-bottom: 0;
}

.item-title {
    font-family: 'Toppan Bunkyu Midashi Mincho', 'Yu Kyokasho', serif;
    font-size: 28px;
    font-weight: normal;
    border-bottom: 3px solid #ccc;
    color: black;
    padding-bottom: 6px;
    margin: 0 0 30px 0;
    line-height: 1.2;
}

.item-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.item-content.reverse {
    flex-direction: row-reverse;
}

.item-image-wrapper {
    display: flex;
    width: 100%;
    column-gap: 2%;
}

.item-image {
    display: flex;
    width: 32%;
    flex-shrink: 0;
    align-items: center;
}

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

.item-text {
    flex: 1;
    font-family: 'Toppan Bunkyu Mincho', 'Yu Kyokasho', serif;
    font-size: 15px;
    line-height: 1.8;
    color: black;
    margin: 0;
}

/* 量産製品セクションのスタイリング */
.production-section {
    background-color: #fafafa;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 40px;
    }

    .item-content {
        gap: 40px;
    }
}

@media (max-width: 968px) {
    .hero-nav .nav-menu {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-nav .nav-menu a {
        width: auto;
        padding: 10px 15px;
        font-size: 14px;
    }

    .section-title,
    .item-title {
        font-size: 24px;
    }

    .item-content {
        gap: 30px;
    }

    .item-text {
        max-width: 100%;
    }

    .business-item {
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .business-hero {
        height: 200px;
    }

    .hero-header {
        flex-direction: column;
        gap: 20px;
    }

    .hero-nav .nav-menu {
        justify-content: center;
    }

    .section-title,
    .item-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .business-section {
        padding: 30px 0;
    }

    .business-item {
        margin-bottom: 50px;
    }

    .item-text p {
        font-size: 14px;
        line-height: 1.7;
    }

    /* Collapse capabilities list to single column on small screens */
    .capabilities-section ul {
        grid-template-columns: 1fr;
        gap: 12px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 30px;
    }

    .business-hero {
        height: 150px;
    }

    .logo-icon {
        width: 30px;
        height: 24px;
    }

    .logo-text {
        width: 130px;
        height: 15px;
    }

    .hero-nav .nav-menu a {
        padding: 8px 12px;
        font-size: 12px;
    }

    .section-title,
    .item-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
}