@charset "utf-8";
/* ========================================================
    company.css — 企業情報ページ用CSS
======================================================== */

/* ── 企業情報メインセクション ── */
.company_sec {
    padding: 60px 20px 100px;
    background: #fff;
}
.company_sec_inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ── リード文 ── */
.company_sec_lead {
    font-size: 2rem;
    font-weight: 500;
    line-height: 2.0;
    margin-bottom: 48px;
}

/* ── 下層リンクカード ── */
.company_nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.company_nav_card {
    display: block;
    position: relative;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: opacity .2s, transform .2s;
}
.company_nav_card:hover {
    opacity: .9;
    transform: translateY(-2px);
}
.company_nav_card_img {
    display: block;
    width: 100%;
    aspect-ratio: 384 / 280;
    overflow: hidden;
}
.company_nav_card_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.company_nav_card_label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(209, 89, 39, 0.7);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.company_nav_card_label::after {
    content: "›";
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1;
}

/* ============================================================
   会社概要 リードセクション
============================================================ */
.profile_lead_sec {
    background: #fff url('../images/company/profile/read_bg.webp') center bottom / contain no-repeat;
    padding: 60px 20px 8vw;
    text-align: center;
}
.profile_lead_sec_inner {
    max-width: 1000px;
    margin: 0 auto;
}
.profile_lead_sec_text {
    font-size: 2rem;
    font-weight: 500;
    line-height: 2.2;
}

@media screen and (max-width: 768px) {
    .profile_lead_sec {
        padding: 40px 20px 12vw;
        background-size: 100% auto;
    }
    .profile_lead_sec_text {
        font-size: 1.6rem;
        line-height: 2.0;
        text-align: left;
    }
}

/* ============================================================
   会社概要 ページタイトルセクション
============================================================ */
.profile_title_sec {
    position: relative;
    background-image: url('../images/company/profile/title_bg_pc.webp');
    background-size: cover;
    background-position: center;
    padding: 60px 20px 70px;
}
.profile_title_sec_inner {
    max-width: 1500px;
    margin: 0 auto;
}
.profile_title_sec_h1 {
    font-size: 4.2rem;
    font-weight: 500;
    color: var(--col_brown);
    margin-bottom: 8px;
    width: 40%;
    max-width: 535px;
    text-align: center;
}
.profile_title_sec_sub {
    font-size: 2rem;
    font-weight: 500;
    color: #513F36;
    margin-bottom: 32px;
    width: 40%;
    max-width: 535px;
    text-align: center;
}
.profile_title_sec_img {
    width: 40%;
    max-width: 535px;
}
.profile_title_sec_img img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── SP (≤768px) ── */
@media screen and (max-width: 768px) {
    .profile_title_sec {
        background-image: url('../images/company/profile/title_bg_sp.webp');
        padding: 64px 20px 0;
        text-align: center;
        aspect-ratio: 375 / 460;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .profile_title_sec_h1 {
        font-size: 2.7rem;
        width: auto;
        max-width: inherit;
    }
    .profile_title_sec_sub {
        font-size: 1.6rem;
        margin-bottom: 24px;
        width: auto;
        max-width: inherit;
    }
    .profile_title_sec_img {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }
}

/* ============================================================
   会社概要 会社情報セクション
============================================================ */
.profile_company_sec {
    padding: 80px 20px 100px;
    background: var(--col_cream);
}
.profile_company_sec_inner {
    max-width: 1000px;
    margin: 0 auto;
}
.profile_company_sec_title {
    font-size: 3.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}
.profile_company_sec_title + .profile_company_table {
    margin-bottom: 0;
}
.profile_company_table + .profile_company_sec_title {
    margin-top: 120px;
}
.profile_company_table {
    width: 100%;
    border-collapse: collapse;
}
.profile_company_table tr {
    border-bottom: 1px solid #DCC5AD;
}
.profile_company_table tr:first-child {
    border-top: 1px solid #DCC5AD;
}
.profile_company_table th {
    width: 220px;
    background: #B2997E;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    padding: 20px 24px;
    vertical-align: middle;
    text-align: left;
}
.profile_company_table td {
    font-size: 1.8rem;
    padding: 20px 24px;
    background-color: #ffffff;
    vertical-align: middle;
    line-height: 1.8;
}
.profile_company_table_list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.profile_company_table_list li {
    padding-left: 1.2em;
    position: relative;
}
.profile_company_table_list li::before {
    content: "・";
    position: absolute;
    left: 0;
}

@media screen and (max-width: 768px) {
    .profile_company_sec {
        padding: 50px 16px 70px;
    }
    .profile_company_sec_title {
        font-size: 2.7rem;
        margin-bottom: 28px;
    }
    .profile_company_table + .profile_company_sec_title {
        margin-top: 60px;
    }
    .profile_company_table th {
        width: 80px;
        font-size: 1.6rem;
        padding: 16px 14px;
    }
    .profile_company_table td {
        font-size: 1.6rem;
        padding: 16px 14px;
    }
}

/* ── SP (≤768px) ── */
@media screen and (max-width: 768px) {
    .company_sec {
        padding: 40px 16px 70px;
    }
    .company_sec_lead {
        font-size: 1.6rem;
        margin-bottom: 32px;
    }
    .company_nav {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .company_nav_card_label {
        font-size: 1.5rem;
        padding: 12px 16px;
    }
}
