﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#header {
    padding-top: 4rem;
    width: 100%;
    max-width: 96rem;
    display: flex;
    justify-content: space-between;
    position: static !important;
    z-index: 2;
    align-items: center;
    margin-left: 1rem;
}

body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #2e2e2e;
    background: #fff;
}

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

.company-main {
    width: 100%;
}

.company-hero {
    position: relative;
}

.company-hero img {
    height: min(60vw, 640px);
    object-fit: cover;
}

.company-hero h1 {
    position: absolute;
    left: 24%;
    top: 53%;
    transform: translateY(-50%);
    display: inline-block;
    color: #fff;
    font-size: clamp(28px, 3.1vw, 44px);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    isolation: isolate;
}

.company-hero h1::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -0.28em;
    right: -0.28em;
    height: 0.34em;
    transform: translateY(-50%);
    background: #8f8f8f;
    border-radius: 999px;
    z-index: -1;
}

.company-overview {
    background: #fff;
    padding: clamp(40px, 6vw, 84px) 20px clamp(56px, 8vw, 96px);
}

.company-overview__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.company-overview h2 {
    text-align: center;
    margin-bottom: 26px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.35;
    letter-spacing: 0.02em;
    color: #666;
    font-weight: 700;
}

.company-table {
    width: min(100%, 760px);
    margin: 0 auto;
    border-collapse: collapse;
    background: #e5e5e5;
    border-top: 1px solid #9a9a9a;
    border-bottom: 1px solid #9a9a9a;
}

.company-table th,
.company-table td {
    border-top: 1px solid #9a9a9a;
    border-bottom: 1px solid #9a9a9a;
    padding: 18px 30px;
    font-size: 14px;
    line-height: 1.55;
    vertical-align: middle;
}

.company-table th {
    width: 40%;
    background: #e5e5e5;
    text-align: left;
    font-weight: 400;
    border-right: 1px solid #9a9a9a;
}

.company-table td {
    background: #fff;
    width: 60%;
}

.company-section {
    background: #fff;
    padding: 56px 20px;
}

.company-section h2 {
    font-size: 24px;
    font-weight: 500;
    color: #2e2e2e;
}

.company-section-01 {
    background: #fff;
}

.company-section-01 h2 {
    text-align: center;
    margin-bottom: 24px;
    font-size: clamp(28px, 3vw, 44px);
    letter-spacing: 0.04em;
    color: #666;
    font-weight: 700;
}

.history-visual {
    max-width: 1000px;
    margin: 0 auto;
}

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

.company-section-02 {
    background: #fff;
    padding-top: 64px;
}

.about-block {
    max-width: 1000px;
    margin: 0 auto;
}

.about-block h2 {
    text-align: center;
    margin-bottom: 28px;
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1.35;
    letter-spacing: 0.02em;
    color: #666;
    font-weight: 700;
}

.about-block__heading-break {
    display: none;
}

.about-block__image img {
    border-radius: 28px;
}

.about-block__text {
    margin-top: 26px;
    color: #2f2f2f;
    line-height: 2;
}

.about-block__text p,
.concept-block__text p,
.manufacturing-block__text p,
.action-block__text p,
.message-block__text p {
    font-size: clamp(16px, 1.25vw, 18px);
}

.about-block__text p+p {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .company-hero img {
        height: 58vw;
        min-height: 260px;
    }

    .company-hero h1 {
        left: 6%;
        top: 62%;
        font-size: clamp(22px, 6.4vw, 34px);
    }

    .company-table th,
    .company-table td {
        padding: 14px 12px;
        font-size: 13px;
        line-height: 1.55;
    }

    .company-table th {
        width: 36%;
    }

    .company-section {
        padding: 40px 16px;
    }

    .company-section h2 {
        font-size: 20px;
    }

    .company-section-01 h2 {
        margin-bottom: 16px;
        font-size: clamp(24px, 8vw, 32px);
    }

    .company-section-02 {
        padding-top: 40px;
    }

    .about-block h2 {
        margin-bottom: 16px;
        font-size: clamp(22px, 6.8vw, 30px);
    }

    .about-block h2::before {
        content: none;
    }

    .about-block h2 {
        display: block;
        left: auto;
        transform: none;
        padding: 0;
        background: none;
    }

    .about-block__heading-break {
        display: block;
    }

    .about-block__heading-line {
        display: inline-block;
        white-space: nowrap;
        text-align: center;
        position: relative;
        padding: 0 0.18em;
        z-index: 0;
    }

    .about-block__heading-line::before {
        content: "";
        position: absolute;
        top: 50%;
        left: -0.1em;
        right: -0.1em;
        height: 0.34em;
        transform: translateY(-50%);
        background: #f2f2f2;
        border-radius: 999px;
        z-index: -1;
    }

    .about-block__image img {
        border-radius: 18px;
    }

    .about-block__text {
        margin-top: 16px;
        line-height: 1.9;
    }

    .about-block__text p,
    .concept-block__text p,
    .manufacturing-block__text p,
    .action-block__text p,
    .message-block__text p {
        font-size: clamp(14px, 4vw, 16px);
    }
}

.company-section-03 {
    background: #fff;
    padding-top: 64px;
}

.concept-block {
    max-width: 1000px;
    margin: 0 auto;
}

.concept-block h2 {
    text-align: center;
    margin-bottom: 28px;
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1.35;
    letter-spacing: 0.02em;
    color: #666;
    font-weight: 700;
}

.concept-block__image img {
    border-radius: 28px;
}

.concept-block__text {
    margin-top: 26px;
    color: #2f2f2f;
    line-height: 2;
}

.concept-block__text p+p {
    margin-top: 8px;
}

.company-section-04 {
    background: #fff;
    padding-top: 64px;
}

.manufacturing-block {
    max-width: 1000px;
    margin: 0 auto;
}

.manufacturing-block h2 {
    text-align: center;
    margin-bottom: 28px;
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1.35;
    letter-spacing: 0.02em;
    color: #666;
    font-weight: 700;
}

.manufacturing-block__image img {
    border-radius: 28px;
}

.manufacturing-block__text {
    margin-top: 26px;
    color: #2f2f2f;
    line-height: 2;
}

.manufacturing-block__text p+p {
    margin-top: 8px;
}

.manufacturing-block__text a {
    color: #ce7b91;
    text-decoration: none;
    word-break: normal;
}

.company-section-05 {
    background: #fff;
    padding-top: 64px;
}

.lineup-block {
    max-width: 1000px;
    margin: 0 auto;
}

.lineup-block h2 {
    text-align: center;
    margin-bottom: 26px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.35;
    letter-spacing: 0.02em;
    color: #666;
    font-weight: 700;
}

.lineup-block h3 {
    margin: 18px 0 12px;
    font-size: clamp(22px, 1.8vw, 28px);
    line-height: 1.5;
    color: #555;
    font-weight: 500;
}

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

.lineup-grid--three,
.lineup-grid--two {
    margin-bottom: 4.2rem;
}

.lineup-grid+h3 {
    margin-top: 22px;
}

.lineup-card {
    overflow: hidden;
    border-radius: 14px;
    background: #f0f0f0;
}

.lineup-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .lineup-card a {
        display: block;
    }

    .lineup-card:hover img {
        transform: scale(1.04);
    }
}

.lineup-card--placeholder {
    min-height: 168px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #666;
    font-size: 24px;
    line-height: 1.6;
}

.company-section-06 {
    background: #fff;
    padding-top: 64px;
}

.action-block {
    max-width: 1000px;
    margin: 0 auto;
}

.action-block h2 {
    text-align: center;
    margin-bottom: 26px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.35;
    letter-spacing: 0.02em;
    color: #666;
    font-weight: 700;
}

.action-grid {
    display: grid;
    gap: 10px;
}

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

.action-grid--bottom {
    margin-top: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.action-card {
    overflow: hidden;
    border-radius: 20px;
    background: #f0f0f0;
}

.action-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.action-block__text {
    margin-top: 16px;
    color: #2f2f2f;
    line-height: 1.95;
}

.action-block__text p+p {
    margin-top: 8px;
}

.company-section-07 {
    background: #fff;
    padding-top: 64px;
}

.message-block {
    max-width: 1000px;
    margin: 0 auto;
}

.message-block h2 {
    text-align: center;
    margin-bottom: 26px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.35;
    letter-spacing: 0.02em;
    color: #666;
    font-weight: 700;
}

.company-section-01 h2,
.company-overview h2,
.about-block h2,
.concept-block h2,
.manufacturing-block h2,
.lineup-block h2,
.action-block h2,
.message-block h2 {
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    isolation: isolate;
}

.company-section-01 h2::before,
.company-overview h2::before,
.about-block h2::before,
.concept-block h2::before,
.manufacturing-block h2::before,
.lineup-block h2::before,
.action-block h2::before,
.message-block h2::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -0.28em;
    right: -0.28em;
    height: 0.34em;
    transform: translateY(-50%);
    background: #f2f2f2;
    border-radius: 999px;
    z-index: -1;
}

.message-block__image img {
    border-radius: 20px;
}

.message-block__text {
    margin-top: 14px;
    color: #2f2f2f;
    line-height: 1.95;
}

.message-block__text p+p {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .lineup-heading-break-pc {
        display: none;
    }

    .about-block h2::before {
        content: none;
    }

    .company-overview h2 {
        margin-bottom: 14px;
        font-size: clamp(22px, 6.6vw, 30px);
    }

    .company-section-03 {
        padding-top: 40px;
    }

    .concept-block h2 {
        margin-bottom: 16px;
        font-size: clamp(22px, 6.8vw, 30px);
    }

    .concept-block__image img {
        border-radius: 18px;
    }

    .concept-block__text {
        margin-top: 16px;
        line-height: 1.9;
    }

    .company-section-04 {
        padding-top: 40px;
    }

    .manufacturing-block h2 {
        margin-bottom: 16px;
        font-size: clamp(22px, 6.8vw, 30px);
    }

    .manufacturing-block__image img {
        border-radius: 18px;
    }

    .manufacturing-block__text {
        margin-top: 16px;
        line-height: 1.9;
    }

    .company-section-05 {
        padding-top: 40px;
    }

    .lineup-block h2 {
        margin-bottom: 14px;
        font-size: clamp(22px, 6.6vw, 30px);
    }

    .lineup-block h3 {
        margin: 14px 0 8px;
        font-size: clamp(18px, 4.8vw, 22px);
    }

    .lineup-grid {
        gap: 6px;
    }

    .lineup-grid--three,
    .lineup-grid--two {
        margin-bottom: 2.2rem;
    }

    .lineup-grid+h3 {
        margin-top: 14px;
    }

    .lineup-card {
        border-radius: 12px;
    }

    .lineup-card--placeholder {
        min-height: 120px;
        font-size: 12px;
    }

    .company-section-06 {
        padding-top: 40px;
    }

    .action-block h2 {
        margin-bottom: 14px;
        font-size: clamp(22px, 6.6vw, 30px);
    }

    .action-grid {
        gap: 6px;
    }

    .action-grid--bottom {
        margin-top: 6px;
    }

    .action-card {
        border-radius: 14px;
    }

    .action-block__text {
        margin-top: 12px;
        line-height: 1.9;
    }

    .company-section-07 {
        padding-top: 40px;
    }

    .message-block h2 {
        margin-bottom: 14px;
        font-size: clamp(22px, 6.6vw, 30px);
    }

    .message-block__image img {
        border-radius: 14px;
    }

    .message-block__text {
        margin-top: 12px;
        line-height: 1.9;
    }
}