@charset "UTF-8";

/* --------------------------------------------------------------------------
   Variables & Reset
   -------------------------------------------------------------------------- */
:root {
    --text-color: #5D5D5D;
    --bg-color: #fff9b1;
    --accent-color: #f7eb63ff;
    --font-base: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

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

body {
    font-family: var(--font-base);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

li {
    list-style: none;
}

.u-pc-only {
    display: block;
}

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

.text-bold {
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header-pc {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--bg-color);
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header-sp {
    display: none;
}

.header-inner {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 20px;
}

.header-logo {
    width: 430px;
    display: flex;
    align-items: flex-end;
}

.header-logo a {
    display: block;
    width: 100%;
}

.header-nav {
    width: 980px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.header-nav ul {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    gap: 40px;
}

.header-nav li a {
    display: block;
    font-size: 14px;
    color: var(--text-color);
    font-weight: normal;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    width: 100%;
    margin-top: 80px;
    background-color: #fff;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    margin: 0 auto;
    text-align: center;
}

.hero-img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}


.hero-content {
    /* "Catchphrase ... center aligned" */
    width: 100%;
    padding: 0 20px;
    /* Prevent text touching edges */
    text-align: center;
}

.hero-catchphrase {
    text-align: center;
    font-weight: 700;
    margin-top: 100px;
    /* "文字の上の余白を多めに" */
    margin-bottom: 60px;
    line-height: 1.4;
    color: var(--text-color);
}

.catch-line1 {
    /* display: inline-block; removed for better centering */
    font-size: 40px;
    /* letter-spacing: 0.1em; */
}

.catch-line2 {
    /* display: inline-block; removed for better centering */
    font-size: 80px;
    /* letter-spacing: 0.1em; */
}

.hero-lead {
    text-align: center;
    font-size: 20px;
    line-height: 2;
    margin-bottom: 80px;
    color: var(--text-color);
    font-feature-settings: "palt";
}

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

.hero-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 400px;
    /* Rough estimation based on text size */
    background-color: var(--accent-color);
    color: var(--text-color);
    font-size: 25px;
    font-weight: 700;
    border-radius: 20px;
    padding: 24px 80px;
    /* "左右の余白を多めに" */
    margin-bottom: 120px;
    /* "ボタンの下の余白を多めに" */
    transition: opacity 0.3s;
}

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

/* --------------------------------------------------------------------------
   Overview Section
   -------------------------------------------------------------------------- */
#overview,
#recruit {
    scroll-margin-top: 100px;
}

.section-overview,
.section-history {
    width: 100%;
    max-width: 980px;
    /* "左右750pxの幅" */
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    margin-top: 200px;
    /* "文字の上の余白を多めに" */
    margin-bottom: 40px;
    text-align: left;
    color: var(--text-color);
}

/* Overview Info Grid */
.info-row {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.info-label {
    width: 160px;
    /* Adjust as needed, not specified but needs to fit "営業種目" etc */
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1.6;
}

.info-value {
    font-size: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

/* History Grid */
.history-row {
    display: flex;
    margin-bottom: 30px;
    align-items: baseline;
}

.history-date {
    width: 160px;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1.6;
}

.history-content {
    font-size: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

/* --------------------------------------------------------------------------
   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 Section
   -------------------------------------------------------------------------- */
.section-contact {
    padding: 100px 0;
    text-align: center;
    background-color: #fff;
    /* This section likely follows history immediately */
}

.contact-inner {
    width: 100%;
    max-width: 1000px;
    /* Enough to hold 400px images and text */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-logo img {
    width: 180px;
    /* Specified */
    margin-top: 100px;
    margin-bottom: 30px;
}

.contact-logo-tate img {
    width: 400px;
    /* Specified */
    margin-bottom: 10px;
}

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

.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-text {
    font-size: 20px;
}

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

.contact-hours {
    font-size: 20px;
    margin-top: -20px;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.6;
}

.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;
}

.contact-address {
    font-size: 20px;
    margin-bottom: 60px;
    /* "テキストの下の余白を多めに" */
}

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

    /* "画像の上に余白を多めに" */
}


/* --------------------------------------------------------------------------
   Mobile Responsive (SP)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    .u-pc-only {
        display: none;
    }

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

    .header-pc {
        display: none;
    }

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

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

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

    .header-sp-left .logo {
        width: 40vw;
        max-width: 180px;
    }

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

    .hamburger-menu span {
        display: block;
        width: 20px;
        height: 3px;
        background-color: #5D5D5D;
        margin-bottom: 5px;
        margin-right: auto;
        margin-left: 0;
    }

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

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

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

    .sp-nav-group-1 ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .sp-nav ul li a {
        font-size: 14px;
        text-align: left;
        font-weight: bold;
        display: block;
        width: 100%;
    }

    .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;
        font-weight: bold;
        color: var(--text-color);
    }

    /* Hero SP */
    .hero {
        margin-top: 60px;
    }

    .hero-image-wrapper {
        max-width: 100%;
    }

    .hero-catchphrase {
        margin-top: 50px;
        margin-bottom: 30px;
    }

    /* Catchphrase SP scaling
       PC: 72px / 1440px = 5vw
       PC: 118px / 1440px = 8.2vw
       Usually SP fonts are larger relative to screen width.
       Let's stick to "readable" but impressive.
    */
    .catch-line1 {
        font-size: 10vw;
    }

    .catch-line2 {
        font-size: 16vw;
    }

    .hero-lead {
        font-size: 14px;
        /* Readable text for SP */
        text-align: center;
        /* Often better for long text on SP */
        padding: 0 15px;
    }

    .hero-subheading {
        font-size: 30px;
        line-height: 1.4;
    }

    .hero-btn {
        min-width: unset;
        width: 80%;
        font-size: 20px;
        padding: 20px;
        border-radius: 50px;
    }

    /* Overview / History SP: "PC版と同じ内容で"
       Usually this means stack vertical */
    .section-overview,
    .section-history {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }

    .info-row,
    .history-row {
        flex-direction: column;
        margin-bottom: 24px;
    }

    .info-label,
    .history-date {
        width: 100%;
        margin-bottom: 10px;
        font-size: 18px;
    }

    .info-value,
    .history-content {
        font-size: 16px;
    }

    /* Recruit SP */
    .section-recruit {
        margin-top: 120px;
    }

    .recruit-heading {
        font-size: 24px;
    }

    .recruit-lead {
        font-size: 14px;
    }

    .recruit-contact-msg {
        font-size: 16px;
    }

    /* Contact SP */
    /* .contact-logo img,
    .contact-logo-tate img {
        width: 50%;
        max-width: 200px;
    } */

    .tel-number {
        font-size: 30px;
    }

    .contact-email-btn {
        width: 90%;
        font-size: 14px;
        /* To fit email address */
        padding: 15px;
    }

    .contact-address {
        font-size: 20px;
    }
}