/*
Theme Name: sakaki
Template: habakiri
*/

@font-face {
    font-family: "HoloLens MDL2 Assets";
    /* または Segoe MDL2 Assets */
    src: url("path/to/Holomdl2.woff2") format("woff2"),
        url("path/to/Holomdl2.woff") format("woff");
    /* 必要に応じて他のフォーマットも追加 */
}

/**
 * ----------------------------------------
 * common
 * ----------------------------------------
 */

:root {
    --main-color: #FF8800;
    --common-margin: clamp(1.25rem, 1.709rem + 8.01vw, 15.125rem);
}

body {
    font-size: 16px;
    font-family: "HoloLens MDL2 Assets", sans-serif;
}

a {
    transition: all 0.2s;
}

a:hover {
    text-decoration: none;
    opacity: 0.5;
}

.container {
    padding-left: 30px;
    padding-right: 30px;
}

.page-header {
    background-image: url("images/mv--company-1_5x.webp");
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;

}

.entry-meta__item.vCard {
    display: none;
}

[class^="section_title--"] {
    display: flex;
    margin-bottom: 50px;
    flex-direction: column;
    align-items: center;
    color: var(--main-color);
    margin-top: clamp(1.25rem, 1.709rem + 8.01vw, 15.125rem);

    @media (max-width: 600px) {
        flex-direction: column;

    }

    & h2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .title-en {
        font-size: clamp(20px, 1rem + 2vw, 36px);
        letter-spacing: 20px;

        @media (max-width: 1024px) {
            letter-spacing: 10px;

        }
    }

    .title-jp {
        font-weight: initial;
        font-size: 20px;
        letter-spacing: 5px;
    }
}

.section_title--top_intro {
    margin: 0;

    .title-en {
        font-size: clamp(20px, 1.753rem + 0.99vw, 30px);
        letter-spacing: 17px;

    }
}

.section_title--top {
    & img {
        max-width: 250px;
    }
}

[class^="btn--"] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;

    & a {
        color: #000;
        background: #D9D9D9;
        padding: 10px 25px;
        font-size: 14px;
    }


}

[class^="mv--"] {
    position: relative;

    & div {
        background-color: #00000054;
        display: flex;
        justify-content: center;
        padding: 20px 0;
        position: absolute;
        width: 100%;
        bottom: 0;
    }

    & h1 {
        position: relative;
        margin: 0;
        color: #fff;
        font-size: 25px;
        text-align: center;
    }
}

[class^="intro_title--"] {
    font-size: clamp(18px, calc(.7vw + 2rem), 36px);
    font-weight: normal;
    margin-bottom: 20px;
    display: block;
    text-align: center;
    font-family: "Hina Mincho", serif;
}

.intro_title--top_vision {
    word-break: keep-all;
}

.intro_title--top_contents {
    position: relative;
    text-align: left;
    font-size: 30px;
    word-break: keep-all;

    @media (max-width: 600px) {
        text-align: center;
    }

    &::before {
        content: "";
        position: absolute;
        left: -20px;
        top: 0;
        background-color: #D9D9D9;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        z-index: -1;

        @media (max-width: 600px) {
            left: 0;
        }
    }
}

.intro_text {
    line-height: 2.5;
    text-align: center;
    word-break: keep-all;
    max-width: 700px;
    margin: 0 auto 50px auto;

    @media (max-width: 600px) {
        line-height: 2;
    }

}

.separator_img {
    text-align: center;
}

.sp-none {
    @media (max-width: 600px) {
        display: none;
    }

}

.sp-block {
    display: none;

    @media (max-width: 600px) {

        display: block;
    }

}

.tp-none {
    @media (max-width: 768px) {
        display: none;
    }

}

.tp-block {
    display: none;

    @media (max-width: 768px) {

        display: block;
    }
}

/* ----　header/ヘッタ　----- */


.header_box {
    display: flex;
    margin: 30px 0;
    justify-content: space-around;

    @media (max-width: 1024px) {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    @media (max-width: 600px) {
        margin: 0 0;
    }

}

.logo {
    display: flex;
    align-items: center;
    margin-left: 5%;
    gap: 15px;

    @media (max-width: 600px) {
        width: 250px;
        padding: 20px 0;
        display: flex;
        flex-direction: column;
    }
}


.header_nav,
.footer_nav {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;

    & a {
        font-size: 16px;
        color: #000;
    }

    @media (max-width: 1300px) {
        display: none;
    }
}

.footer_nav {
    justify-content: center;
    margin-bottom: 30px;
    margin-top: 50px;

    & a {
        margin: 0 15px;
        letter-spacing: 5px;

        @media (max-width: 768px) {
            margin: auto;
        }
    }

    & span {
        @media (max-width: 768px) {
            display: none;
        }
    }
}

/*--- hamburger-menu ---*/
.sp-menu {
    display: none;

    @media screen and (max-width: 1200px) {
        display: block;

    }
}

.sp-menu__box {
    position: fixed;
    top: 4px;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 60px;
    z-index: 90;
}

.sp-menu__box span,
.sp-menu__box span:before,
.sp-menu__box span:after {
    content: "";
    display: block;
    height: 4px;
    width: 35px;
    border-radius: 3px;
    background: var(--main-color);
    position: absolute;
}

.sp-menu__box {
    & span {
        &:before {
            bottom: 8px;

        }

        &:after {
            top: 8px;

        }
    }
}

#sp-menu__check {
    display: none;
}

#sp-menu__check:checked~.sp-menu__box span {
    background: rgba(255, 255, 255, 0);
}

#sp-menu__check:checked~.sp-menu__box span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#sp-menu__check:checked~.sp-menu__box span::after {
    top: 0;
    transform: rotate(-45deg);
}

#sp-menu__check:checked~.sp-menu__content {
    left: 60%;

    @media screen and (max-width: 1200px) {
        display: block;
    }

    @media screen and (max-width: 430px) {
        left: 0;
        width: 100%;
    }
}

.sp-menu__content {
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 80;
    width: 50%;
    padding: 30px;
    margin-top: 60px;
    background-color: var(--main-color);
    transition: all 0.5s;
}

.sp-menu__item {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}

.sp-menu__link {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
}

/* ------　footer　------- */

.footer_box {
    background-color: #EBEBEB;
    padding: 40px 0;
}

.footer--sns {
    display: flex;
    justify-content: center;
    gap: 25px;
    text-align: center;
    margin-bottom: 30px;
    justify-items: center;

    @media (max-width: 600px) {
        flex-direction: column;
        align-items: center;
    }
}

.sns_item {

    & p {
        color: #fff;
        letter-spacing: 2px;
        background-color: var(--main-color);
        font-weight: 700;
        padding: 0 10px;
        width: 180px;
        border-radius: 20px;
    }

    & div {
        display: flex;
        justify-content: center;
        gap: 15px;

    }

    & img {
        width: 40px;
    }
}

.footer--company_info {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 15px;
    align-items: center;

    @media (max-width: 1024px) {
        grid-template-columns: 1fr 1fr;
    }

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
    }

    & p {
        margin-bottom: 0;
        letter-spacing: 5px;
        font-weight: 300;

        @media (max-width: 600px) {
            letter-spacing: 0;
            text-align: center;
        }
    }
}

.footer--logo {
    max-width: 300px;
}

.footer--copyright {
    word-break: keep-all;

    @media (max-width: 1024px) {
        grid-column: 1 / 3;
        text-align: center;
    }

    @media (max-width: 600px) {
        grid-column: auto;

    }
}

/* ------ home ------ */

.top--mv {
    position: relative;

    &::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #FFBF78;
        height: 40%;
        z-index: -1;
    }
}

#news {
    max-width: 900px;
    margin: 0 auto;
}

.latest-info {
    display: flex;
    margin-bottom: 20px;
    flex-direction: column;

    & h3 {

        display: flex;
        align-items: center;
        gap: 15px 5%;

        @media (max-width: 600px) {
            flex-direction: column;
            align-items: flex-start;

        }
    }

    & a {
        color: #000;
    }
}

.latest-cat {
    font-weight: 300;
    font-size: 14px;
    background-color: #CCC;
    PADDING: 5px 10px;
}

.vision_info {
    text-align: center;

}

.top_intro_box {
    max-width: 1500px;
    margin: 120px auto;
}

.top_intro--contents {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 3%;
    margin-bottom: 60px;
    padding: 0 15px;

    @media (max-width: 768px) {
        grid-template-columns: 1fr;

    }

    .top_intro--text:nth-child(1) {
        margin: 0 0 0 auto;

        @media (max-width: 768px) {
            margin: 0 auto;
        }
    }

    .top_intro--text:nth-child(2) {
        @media (max-width: 768px) {
            order: -1;

        }



    }

}

.top_intro--text {
    max-width: 550px;

    @media (max-width: 768px) {
        margin: 0 auto;
    }
}

.top--banners {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: var(--common-margin) 0;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;

    }

    & a {
        color: #fff;
        position: relative;
        margin-bottom: 30px;
    }

    & div {
        position: absolute;
        inset: 0;
        /* display: inline-block; */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }


    & strong {
        font-size: clamp(20px, calc(1vw + 2rem), 36px);
    }

    .banner-decoration {
        border: 1px solid;
        padding: 5px 15px;
        margin-top: 20px;
    }

    & img {
        height: 100%;

        @media (max-width: 600px) {
            height: auto;

        }
    }


}

/* ------ about / さかき会の考え方 ------ */
.chairman_img {
    text-align: center;

}

/* ------ project / 事業所一覧 ------ */
.office_box {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px 2%;

    @media (max-width: 768px) {
        grid-template-columns: 1fr 1fr;
    }

    @media (max-width: 600px) {
        grid-template-columns: 1fr;

    }
}

.office--title {
    display: flex;
    justify-content: space-between;

    & p {
        display: flex;
        flex-direction: column;

        & strong {
            font-size: clamp(16px, calc(1vw + 1rem), 24px);
        }
    }
}

/* [class^="office_name--"] {} */

.sns_icons {
    display: flex;
    gap: 10px;
    align-items: center;

    & a {
        max-height: 50px;
        max-width: 50px;
        display: block;
    }

    & img {
        width: 40px;
    }
}

.office--info {
    & strong {
        font-size: 20px;
        padding: 15px 0px;
        display: block;
    }
}

.office--list {
    padding-left: 15px;
}


/* ---- business-info/事業内容 --- */
:where(.business-info-section, .options-section, .consultation-section) {
    margin-bottom: 100px;

}

.business-info-section {
    color: var(--text-usume);

    & h2 {
        color: var(--text-usume);
        font-size: clamp(35px, calc(2vw + 2rem), 47px);
        margin-bottom: 45px;
        word-break: keep-all;
        line-height: 1.5;
    }
}

.business-info {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 20px;
    line-height: clamp(20px, calc(2vw + 2rem), 43px);

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
    }

}

.business-description {

    & p {
        font-size: clamp(16px, calc(1vw + 1rem), 18px);
    }

}

.business-illust_s {
    display: grid;
    align-items: center;

    @media (max-width: 600px) {
        gap: 15px;
    }

    & img {
        &:nth-child(2) {
            margin-left: 150px;

            @media (max-width: 1024px) {
                margin-left: 0px;
            }

        }
    }
}

.consultation-section {
    color: var(--text-usume);
}

.consultation-header {
    margin-bottom: 20px;

    & h2 {
        color: var(--text-usume);
        font-size: clamp(35px, calc(2vw + 2rem), 47px);
        margin-bottom: 20px;
        word-break: keep-all;
        line-height: 1.5;
    }

    & p {
        font-size: clamp(16px, calc(1vw + 1rem), 20px);
    }
}

.consultation-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    column-gap: 10%;
    row-gap: 30px;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
        gap: 50px;
    }

}

.consultation-option {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: 0;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
    }

}

.options-content {
    display: grid;
    background-color: var(--main-color);
    grid-template-rows: subgrid;
    /*---中の要素行に合わせてspnaの数を変える---*/
    grid-row: span 2;
    gap: 0;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
    }

}


.options-text {
    padding: 20px 18px;
    text-align: center;


    & p {
        font-size: clamp(16px, calc(1vw + 1rem), 17px);
        line-height: 2.3;

        @media (max-width: 600px) {
            text-align: left;
        }
    }
}

.consultation-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 35px;

    @media (max-width: 600px) {
        padding: 20px 10px;
    }

    & p {
        font-size: clamp(16px, calc(1vw + 1rem), 18px);

    }
}

.consultation-item {
    display: grid;
    grid-template-columns: 1fr 40%;
    background-color: var(--main-color);
    margin-bottom: 50px;

    @media (max-width: 1300px) {
        align-items: center;
    }

    @media (max-width: 600px) {
        grid-template-columns: 1fr;
    }

}

.consultation-title-box {
    display: flex;
    gap: 15px;
    align-items: center;

    @media (max-width: 600px) {
        margin-bottom: 20px;
    }

    & h3 {
        color: var(--text-usume);
        font-size: clamp(20px, calc(1vw + 2rem), 30px);
        margin: 0;
    }

    &>span {
        font-family: "Letter Gothic Std, monospace";
        font-size: clamp(2.25rem, 1rem + 7.58vw, 10.5rem);
        line-height: 1;
        color: var(--sub-color);
        font-weight: 300;
    }
}

.title-en {
    @media (max-width: 600px) {
        display: none;
    }

}

.small-title {
    & h3 {
        @media (max-width: 600px) {
            font-size: 17px;
        }
    }

}

/* ---- outline/会社概要 --- */
.corporate_table {
    width: 100%;

    & tr {
        border-top: 1px solid;
    }

    & th {
        padding: 25px 0;
        width: 20%;
    }
}

.business-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px 2%;
    border-top: 1px solid #c1c1c1;
    border-bottom: 1px solid #c1c1c1;
    padding: 40px 0px 40px 0px;

    @media (max-width: 1024px) {
        grid-template-columns: repeat(3, 1fr);

    }

    @media (max-width: 600px) {
        grid-template-columns: 1fr;

    }

    & ul {
        list-style-type: none;
        padding-left: 0;
    }

    & strong {
        display: block;
        text-align: center;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #b6b6b6;
    }

    & a {
        color: #000;
        font-weight: bold;
        margin-bottom: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }
}

/*---- recruit/採用情報 ----*/
.slider {
    overflow: hidden;
    width: 100%;


}

.slider_track {
    display: flex;
    width: max-content;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    max-width: 100%;
}

.slider_track img {
    flex: 0 0 25%;
    display: block;

    @media (max-width: 600px) {
        max-height: 180px;
        width: 100%;
        object-fit: cover;

    }
}

.voice_box {
    margin-bottom: 100px;
}

.self_intro {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px 0;
    margin-bottom: 30px;
    align-items: center;

    @media (max-width: 768px) {
        grid-template-columns: 1fr;

    }

    & p {
        line-height: 1.4;
    }

    & img:not(.self_test_box img) {

        mask-image: linear-gradient(to right, black 0%, black 90%, transparent 100%, transparent 100%);

        @media (max-width: 600px) {
            mask-image: none;

        }
    }
}

.self_test_box {

    @media (max-width: 1024px) {
        display: grid;


    }

    @media (max-width: 768px) {
        text-align: center;
    }

    & div {
        @media (max-width: 768px) {
            display: flex;
            align-items: baseline;
            gap: 15px;
            justify-content: center;
        }
    }
}

.self_intro--catchphrase {
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: clamp(16px, calc(0.5vw + 2rem), 32px);
    letter-spacing: 2px;

    @media (max-width: 1024px) {
        order: 1;
        font-size: 16px;
        margin-top: 15px;
        margin-bottom: 0;
    }
}

.self_intro--work_place {
    font-size: clamp(18px, calc(1vw + 1rem), 26px);

    & span {
        font-weight: bold;
        font-size: clamp(16px, calc(0.5vw + 2rem), 37px);
    }

    @media (max-width: 600px) {
        text-align: center;
    }
}

.self_intro--name {
    & span {
        font-weight: bold;
        font-size: 36px;
    }
}

.requirement_box {
    margin-bottom: 50px;

    & ol {
        list-style-type: none;
        line-height: 2.5;
        padding-left: 0;

    }

    & li {
        display: flex;
        gap: 15px;

        @media (max-width: 768px) {
            gap: 0;
            flex-direction: column;
            margin-bottom: 15px;

        }

        & ::before {
            content: "□";
            margin-right: 5px;
        }

        & span {
            width: 100px;
            font-weight: bold;
        }
    }
}

.requirement_title {
    border-bottom: 1px solid;
    margin-bottom: 20px;

    & strong {
        font-size: 22px;
    }
}



/*---- フォーム ----*/
/* フォーム全体 */
.contact-form-table {
    border-collapse: collapse;
    margin: 0 auto;
    width: 80%;
}


.contact-form-table {
    & tr {
        display: flex;
        flex-direction: column;
    }

    th,
    td {
        padding: 10px;
        vertical-align: middle;
        text-align: left;
    }

    th {
        font-weight: bold;
        color: #333;
    }

}

.form-width {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.font_bpink {
    color: #ff69b4;
    /* 必須マーク色 */
}

.checkbox_employment {
    margin: 10px 0 30px 0;

    & td {
        border: 1px solid;
        padding: 15px;
    }
}

.form-submit {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-submit input[type="submit"] {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 30px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.form-submit input[type="submit"]:hover {
    background-color: #005177;
}