@charset "utf-8";

/* ==============================
   基本リセット
============================== */
html {
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    font-weight: 700;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

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

body {
    font-size: 16px;
    font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", serif;
    line-height: 1.6;
}

.wrapper {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

/* ==============================
   共通スタイル
============================== */
.section-dark {
    background: #000000;
    color: #FFFFFF;
}

/* ==============================
   ヘッダー
============================== */
.header-inner {
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    font-size: 14px;
    padding: 0.5%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-logo {
    margin-left: 30PX;
    width: 85px;
    height: 59px;
}

.header-nav {
    margin-left: auto;
}

.hamburger {
    display: none;
}

#address {
    text-align: center;
    font-size: 18.62px;
    margin-left: 0;
}

.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

.header-nav a {
    font-size: 20px;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: bold;
    padding: 8px 12px;
    transition: 0.3s;
}

.header-nav a:hover,
.header-nav a:focus {
    color: #ffcc00;
}

/* ==============================
   キービジュアル
============================== */
.kv {
    width: 100%;
    aspect-ratio: 16 / 6;
    background: url("./images/kst-img1.jpg") no-repeat center/cover;
}

.kv img {
    display: none;
}

/* ==============================
   About
============================== */
.about-wrapper {
    background: url(./images/kst-img2.png) no-repeat center/cover;
    width: 100%;
    min-height: 376px;
}

.about-title {
    font-size: 40px;
    margin: 30px auto 34px;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
}

.about-title,
.about-text {
    text-align: center;
}

.sp-only {
    display: none;
}

.about-sp {
    display: none;
}

/* ==============================
   Feature
============================== */
.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 55px;
    padding: 40px 80px;
    margin-top: 116px;
}

.feature-image img {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
}

.feature-text {
    max-width: 600px;
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
}

.sp-break {
    display: none;
}

.footer-address {
    display: inline-block;
    font-style: normal;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    white-space: nowrap;
}

/* ==============================
   Service
============================== */
.service-title {
    font-size: 30px;
    margin-top: 40px;
    padding: 70px 0 60px;
}

.service-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 56px;
    padding: 20px;
}

.item {
    flex: 0 0 320px;
    max-width: 320px;
    border: 6px solid #FFFFFF;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
}

.item img {
    width: 100%;
    height: 267px;
    object-fit: cover;
}

.card-body {
    flex: 1;
    background: #000000;
    color: #FFFFFF;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ==============================
   Recruit
============================== */
.bg-wrapper {
    background: url(./images/kst-img9.jpg) no-repeat center/cover;
    padding: 80px 20px;
    margin-top: 200px;
}

.recruit-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    padding: 80px 0;
}

.recruit-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0;
    position: relative;
}

.recruit-image {
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
}

.recruit-image img {
    max-width: 752px;
    width: 100%;
    height: auto;
    display: block;
}

.recruit-info {
    max-width: 700px;
    margin-left: -200px;
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recruit-info .item-box {
    background: #000000;
    border: 2px solid #FFFFFF;
    padding: 20px;
}

.info-box {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    border: 2px solid #FFFFFF;
    background: #000000;
    padding: 10px 20px;
    margin: 5px 0;
}

.info-box strong {
    flex: 0 0 100px;
    font-weight: bold;
    margin-right: 15px;
    text-align: left;
}

.info-box p {
    flex: 1;
    margin: 0;
    text-align: left;
    word-break: break-word;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==============================
   Company
============================== */
.company-name {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    padding: 80px 0;
}

.company-profile {
    max-width: 1104px;
    margin: 100px auto;
    padding: 40px;
    font-size: 16px;
}

.profile-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto 25px auto;
    padding: 12px 20px;
    border: 2px solid #FFFFFF;
    background: #000000;
    gap: 20px;
}

.profile-row strong {
    flex: 0 0 160px;
    margin-right: 30px;
    font-weight: bold;
    text-align: left;
    margin-left: 120px;
}

.profile-row p {
    white-space: nowrap;
    text-align: left;
}


/* ==============================
   Access
============================== */
.access-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
}

.access-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.access-item {
    margin-bottom: 119px;
}

.access-item:last-of-type {
    margin-bottom: 0;
}

.access-item h2 {
    font-size: 1rem;
    margin-bottom: 24px;
}

.map iframe {
    width: 100%;
    height: 304px;
    border: 0;
    display: block;
    margin: 0 auto;
}

/* ==============================
   Contact
============================== */
.contact-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    min-height: 426px;
    background: url(images/kst-img8.jpg) no-repeat center/cover;
}

.contact-title {
    font-size: 1.8rem;
    margin: 0 0 30px 0;
}

.contact-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border: 2px solid #FFFFFF;
    background: #000000;
    font-size: 1.8rem;
    font-weight: bold;
    width: 655px;
    height: 130px;
    padding: 0;
    letter-spacing: 0.1em;
}

.contact-box a {
    color: #FFFFFF;
    font-size: 1.5rem;
    text-decoration: none;
    margin: 0;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* ==============================
   Footer
============================== */
.footer-wrapper {
    background: #FFFFFF;
    color: #121212;
    width: 100%;
    height: 211px;
    text-align: center;
    /* ← ロゴなど全体中央用 */
    padding: 40px 20px;
    margin-bottom: 80px;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
}

.footer-address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.6;
    display: inline-block;
    /* ← 独立して整列しやすくする */
    text-align: left;
    /* ← 左揃え */
    white-space: nowrap;
    /* ← PCでは1行にする */
}

/* ==============================
   Back to Top
============================== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.back-to-top a {
    display: block;
    padding: 12px 16px;
    background: #000000;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s, background 0.3s, box-shadow 0.3s;
}

.back-to-top a:hover {
    opacity: 1;
    background: #444;
}

/* ==============================
   ハンバーガーメニュー
============================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1101;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: 0.3s;
    transform-origin: center center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* ==============================
   レスポンシブ対応
============================== */
@media (max-width: 768px) {

    /* header */

    .header-left {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    #address {
        font-size: 8px;
        white-space: nowrap;
        margin-top: 32px;
    }

    #address .zipcode {
        display: none;
    }

    .header-inner {
        justify-content: flex-start;
        padding: 0 10px;
        flex-direction: row;
    }

    .header-logo {
        margin-left: 8px;
        width: 57px;
        height: 37px;
    }

    .header-logo img {
        width: 100%;
        height: auto;
        display: block;
    }

    .header-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100%;
        background: #000000;
        padding: 40px 20px;
        gap: 20px;
        z-index: 1000;
        transform: translateX(100%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
    }

    .header-nav.active {
        transform: translateX(0);
        opacity: 1;
    }

    .header-nav ul {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 0;
        padding: 0;
        list-style: none;
        text-align: left;
    }

    .header-nav li {
        width: 100%;
    }

    .header-nav a {
        display: block;
        color: #FFFFFF;
        font-size: 18px;
        text-decoration: none;
        padding: 8px 0;
    }

    .header-nav a:hover {
        color: #ffcc00;
    }

    /* リンク */
    .header-nav a {
        color: #FFFFFF;
        font-size: 18px;
        text-align: left;
        text-decoration: none;
        padding: 8px 0;
        transition: color 0.3s;
    }

    .header-nav a:hover {
        color: #ffcc00;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }


    /* about */
    .about-title {
        font-size: 1.5rem;
    }

    .about-text {
        font-size: 0.813rem;
    }

    .about-title,
    .about-text {
        text-align: left;
        margin-left: 35.5px;
    }

    .sp-only {
        display: inline;
    }

    .about-sp {
        display: block;
    }

    .about-pc {
        display: none;
    }

    /* feature */
    .sp-break {
        display: inline;
    }

    .feature {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 10px;
        margin: 30px 0;
    }

    .feature-text {
        width: 90%;
        max-width: 600px;
        margin: 0 auto;
        text-align: center;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .feature-image img {
        width: 217px;
        height: auto;
    }

    .footer-address {
        white-space: normal;
        /* 改行許可 */
    }

    .footer-address span {
        display: block;
        /* 各行を分ける */
    }

    .footer-address .address-zip {
        margin-bottom: 2px;
        /* 郵便番号と住所の間を少し空ける */
    }

    .footer-address .address-line1 {
        margin-bottom: 2px;
        /* 2行目と3行目の間も少し空ける */
    }


    /* service */
    .service-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 15px;
    }

    .service-title {
        padding: 40px 0 30px;
        margin-top: 0;
    }

    .item {
        width: 90%;
        max-width: 320px;
    }

    .bg-wrapper {
        margin-top: 40px;
        padding: 60px 15px;
    }

    /* recruit */
    .recruit-content {
        flex-direction: column;
        align-items: center;
    }

    .recruit-title {
        padding: 40px 0;
        margin-bottom: 20px;
    }

    .recruit-info {
        margin-left: 0;
        margin-top: 15px;
        max-width: 100%;
        padding: 15px;
        font-size: 1rem;
        box-shadow: none;
    }

    .info-box {
        flex-direction: row;
        align-items: flex-start;
    }

    .info-box {
        flex-direction: row;
        align-items: flex-start;
    }

    .info-box strong {
        flex: 0 0 80px;
        margin-right: 10px;
        text-align: left;
        display: block;
    }

    .info-box p {
        flex: 1;
        margin: 0;
        text-align: left;
        font-size: 0.85rem;
        line-height: 1.5;
    }


    /* company */
    .company-name {
        padding: 40px 0;
        margin-bottom: 20px;
    }

    .company-profile {
        margin: 30px auto;
        padding: 15px;
    }

    .profile-row {
        max-width: 100%;
        margin: 0 0 25px 0;
        padding: 12px 15px;
        justify-content: flex-start;
    }


    .profile-row strong {
        flex: 0 0 100px;
        margin-right: 10px;
        margin-left: 0;
        text-align: left;
    }

    .profile-row p {
        white-space: normal;
        text-align: left;
    }

    .recruit-info,
    .company-profile {
        width: 90%;
        max-width: 90%;
        margin: 0 auto;
    }

    .company-profile .profile-row {
        width: 100%;
        margin: 0 auto 20px auto;
    }

    .recruit-info,
    .company-profile {
        width: 98%;
        max-width: none;
        margin: 0 auto;
        padding-left: 0;
        padding-right: 0;
    }

    .company-profile .profile-row {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    /* contact */
    .contact-wrapper {
        min-height: 320px;
        padding: 30px 15px;
    }

    .contact-title {
        margin-bottom: 20px;
    }

    .contact-box {
        width: 95%;
        padding: 15px;
        gap: 10px;
        height: 76px;
    }

    .contact-box strong {
        font-size: 0.9rem;
    }

    .contact-box a {
        font-size: 0.9rem;
    }

    /* footer */
    .footer-wrapper {
        padding: 30px 15px;
        margin-bottom: 50px;
    }

}

/* --- PC強制横並び --- */
@media (min-width: 769px) {
    .recruit-content {
        display: flex;
        flex-direction: row !important;
        /* ← 強制的に横並び */
        align-items: center;
        justify-content: center;
    }

    .recruit-info {
        margin-left: -150px;
    }

}