@charset "UTF-8";

/* Reset & Basics */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #5D5D5D;
    background-color: #fff;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

.u-sp-only {
    display: none;
}

/* =========================================
   Utility Classes
   ========================================= */
.container {
    width: 980px;
    margin: 0 auto;
}

/* =========================================
   Header (PC)
   ========================================= */
.header-pc {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-inner {
    width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 10px 0 0 0;
}

.header-left .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #5D5D5D;
}

.header-left .logo {
    width: 300px;
    /* As per SKILL.md */
    height: auto;
    margin-right: 20px;
}

.header-left .page-title {
    font-size: 20px;
    font-weight: bold;
}

.header-right {
    width: auto;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: 5px;
}

.header-nav-top {
    display: flex;
    gap: 20px;
}

.header-nav-top li {
    font-size: 14px;
    font-weight: normal;
}

.header-nav-top a {
    text-decoration: none;
    color: #5D5D5D;
}

/* Divider Line */
.header-pc .divider-container {
    width: 100%;
    position: relative;
    /* border-bottom: 1px solid #999999; */
    margin-bottom: 10px;
}




.header-spacer-pc {
    height: 120px;
    /* Adjusted estimate based on content */
}

.header-sp,
.header-spacer-sp {
    display: none;
}


.hero-subheading {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 50px;
    line-height: 1.6;
    color: var(--text-color);
    position: relative;
    padding-bottom: 20px;
    /* 線との余白 */
}

.hero-subheading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background-color: #5D5D5D;
    /* 細い線の色（テキストカラーに合わせて調整） */
}

/* * --------------------------------------------------------------------------
   Recruit Section
   -------------------------------------------------------------------------- */
*/ .section-recruit {
    width: 100%;
    margin: 200px auto 0;
    padding: 0 20px;
}

.recruit-inner {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recruit-heading {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
    color: var(--text-color);
}

.recruit-lead {
    font-size: 20px;
    text-align: center;
    line-height: 2;
    margin-bottom: 60px;
    color: var(--text-color);
}

.recruit-contact-msg {
    font-size: 20px;
    text-align: center;
    margin-bottom: 5px;
    color: var(--text-color);
}

.section-recruit .contact-tel {
    margin-bottom: 20px;
}

.contact-msg {
    font-size: 20px;
    margin-bottom: 20px;
}

.contact-tel {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 10px;
}

.contact-tel img {
    width: 35px;
    /* Specified */
}

.tel-number {
    font-size: 30px;
    /* Specified */
    line-height: 1;
    font-weight: 700;
    /* Usually bold for phone numbers */
}

.tel-prefix {
    font-size: 20px;
}

.contact-fax {
    font-size: 20px;
    margin-bottom: 40px;
    /* "文字の下を空ける" */
    margin-top: 10px;
}

.contact-email-label {
    font-size: 20px;
    margin-bottom: 20px;
}

.contact-email-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    /* Specified "ボタンの左右:400px" */
    height: 60px;
    /* Arbitrary height for better clickability */
    background-color: #999999;
    color: #fff;
    font-size: 20px;
    border-radius: 20px;
    /* Specified "ボタン角丸" */
    margin-bottom: 60px;
    /* "ボタンの下の余白を多めに" */
    transition: opacity 0.3s;
}


/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer-divider img {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: block;
}

/* =========================================
   Responsive (SP)
   ========================================= */
@media screen and (max-width: 979px) {
    .u-sp-only {
        display: block;
    }

    .container {
        width: 100%;
        max-width: 750px;
        /* Target SP width */
        padding: 0 10px;
    }

    /* Header SP */
    .header-pc,
    .header-spacer-pc {
        display: none;
    }

    .header-sp,
    .header-spacer-sp {
        display: block;
    }

    .header-sp {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        z-index: 1000;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

    .header-spacer-sp {
        height: 100px;
        /* Adjust */
    }

    .header-sp-inner {
        width: 100%;
        max-width: 750px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
    }

    .header-sp-left .logo-link {
        display: flex;
        align-items: center;
    }

    .header-sp-left .logo {
        width: 200px;
        height: auto;
        margin-right: 10px;
    }

    .header-sp-left .page-title {
        font-size: 15px;
        font-weight: bold;
    }

    .hamburger-menu {
        display: block;
        width: 30px;
        height: 25px;
        background: none;
        border: none;
        cursor: pointer;
        position: relative;
    }

    .hamburger-menu span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #5D5D5D;
        margin-bottom: 5px;
    }

    .hamburger-menu span:last-child {
        margin-bottom: 0;
    }


    /* SP Nav Overlay */
    .sp-nav {
        display: none;
        /* Hidden by default */
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #fff;
        border-top: 1px solid #999999;
        padding: 20px 10px;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .sp-nav.active {
        display: block;
    }

    /* SP Nav text */
    .sp-nav ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .sp-nav ul li {
        font-size: 12px;
        text-align: left;
    }

    .sp-nav-divider {
        height: 1px;
        background-color: #999999;
        margin: 20px 0;
        width: 100%;
    }

    .sp-nav-close-container {
        text-align: left;
    }

    .sp-nav-close {
        background: none;
        border: none;
        font-size: 14px;
        cursor: pointer;
        padding: 10px 0;
    }

    /* Hamburger Menu Adjustment */
    .hamburger-menu span {
        width: 20px;
        /* Shorten lines */
        margin-right: auto;
        /* Align left? Or if we want space on RIGHT, we keep left aligned but short */
        margin-left: 0;
    }
}