@charset "utf-8";

html {
    font-size: 62.5%
}

body {
    font-size: 1.6rem;
    overflow-x: hidden;
}

.flex {
    display: flex;
}

.foreign_fv {
    background-color: #36498f;
    height: 363px;
}

.foreign_fv_bg {
    background-image: url(image/foreign_bg_img.png);
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
    height: 463px;
    position: relative;
    margin-left: 100px;
}


.foreign_space {
    height: 100px;
    margin-bottom: 100px;
}

.foreign_wrapper {
    max-width: 966px;
    margin: 0 auto;
}

.foreign_sectiontitle {
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 123px;
    text-align: center;
    line-height: 1.3;
    position: relative
}

.foreign_sectiontitle::after {
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    background-color: #36498f;
    position: absolute;
    top: 108px;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
}

.foreign_introbox {
    display: flex;
    margin-bottom: 110px;
}

.foreigntext,
.foreignimg {
    width: 50%;
}

.foreigntext h3::before {
    content: 'Global Talent Solutions';
    display: block;
    font-size: 15px;
    margin-bottom: 20px;
    font-weight: normal;
    width: 170px;
    background-color: #fabe00;
    color: #fff;
    padding: 10px 10px;
    text-align: center;
    font-style: italic;
}

.foreigntext h3 {
    font-size: 24px;
    font-weight: 500;
}

.foreigntext h3::after {
    content: "";
    display: block;
    width: 46px;
    height: 2px;
    background-color: #36498f;
    margin: 20px 0;
}

.foreigntext p {
    max-width: 450px;
    line-height: 1.7;
}

/* 3つの特徴 */
section.feature,
.flow,
.comp,
.faq {
    margin-bottom: 170px;
}

.foreign_sectiontitle1 {
    font-weight: 500;
    font-size: 2.4rem;
    margin-bottom: 123px;
    text-align: center;
    line-height: 1.3;
    position: relative
}

.foreign_sectiontitle1::after {
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    background-color: #36498f;
    position: absolute;
    top: 78px;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
}

.feature .box {
    counter-reset: list-counter;
    /* カウンターの初期値を設定 */
    width: 100%;
}

.feature .box li {
    counter-increment: list-counter;
    /* カウンターをインクリメント */
    border: 5px #36498f solid;
    box-shadow: 17px 17px 0 0 #d4ddee;
    background-color: #fff;
    margin: 0 50px 0px 0px;
    max-height: auto;
    position: relative;
}

/* ラベル部分 左上に表示 */
.feature .box li::before {
    content: "";
    top: 0;
    left: 0;
    border-bottom: 4em solid transparent;
    border-left: 4em solid #36498f;
    /* ラベルの色はここで変更 */
    position: absolute;
    z-index: 100;
}

.feature .box li::after {
    content: counter(list-counter);
    /* カウンターの値を表示 */
    display: block;
    top: 0px;
    color: #fff;
    /* 文字色はここで変更 */
    left: 10px;
    position: absolute;
    z-index: 101;
    font-size: 2.4rem;
    font-weight: 500;
}

.feature .box li img {
    margin: 0 auto;
    margin-top: 23%;
    margin-bottom: 12px;
    display: block;
}

.feature .box li h3 {
    color: #36498f;
    font-size: 2.4rem;
    margin-bottom: 12px;
    text-align: center;
    font-weight: 500;
}

.feature .box li p {
    font-size: 1.3rem;
    width: 74%;
    margin: 0 auto;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* 入社までの流れ */
.flow p {
    text-align: center;
    margin-bottom: 38px;
}

.break_keep {
    word-break: keep-all;
}

/* 他社との比較 */
.tg {
    border-collapse: collapse;
    border-spacing: 0px;
    /*width:100%;*/
}

.tg td {
    border-width: 1px;
    font-size: 1.6rem;
    overflow: hidden;
    padding: 10px 5px;
    word-break: normal;
    padding: 3%;
}

.tg th {
    border-width: 1px;
    font-size: 2.7rem;
    font-weight: normal;
    overflow: hidden;
    padding: 10px 5px;
    word-break: normal;
}

.tg .tg-af47 {
    border: none;
}

.tg .tg-sy0r {
    background-color: #497cc0;
    border-color: inherit;
    color: #ffffff;
    text-align: center;
    width: 40%;
    padding: 2% 0;
    line-height: 1.2;
}

.tg .tg-5k1n {
    background-color: #fabe00;
    border-color: inherit;
    color: #ffffff;
    text-align: center;
    width: 40%;
    padding: 2% 0;
    line-height: 1.2;
}

.tg .tg-3xi5 {
    background-color: #ffffff;
    border-bottom: 1px solid #d2d2d2;
    text-align: center;
    width: 20%;
}

.tg .tg-rkk9 {
    background-color: #f8f8fb;
    border-bottom: 1px solid #d2d2d2;
    color: #000000;
    text-align: center;
}

.tg .tg-vkhv {
    background-color: #f8f8fb;
    border-bottom: 1px solid #d2d2d2;
    color: #36498f;
    text-align: center;
    font-weight: 500;
}

.tg .td_blank {
    border-bottom: 1px solid #d2d2d2;
}

.tg .th_blank {
    padding: 0px 2px;
}

section.comp img {
    margin-bottom: 20px;
}

/* よくある質問 */
.faq_list {
    position: relative;
    z-index: 2;
    width: 100%;
    border-radius: 20px;
}

.faq_list li {
    margin-bottom: 21px;
}

.faq_q {
    position: relative;
    padding: 20px 35px 20px 88px;
    background: #36498f;
    color: #fff;
    border-radius: 20px 20px 0 0;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3;
    box-sizing: border-box;
    border-bottom: none;
}

.faq_q:before {
    content: "Q";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: auto;
    background-color: #fff;
    font-size: 2.4rem;
    color: #36498f;
    border-radius: 50%;
    font-weight: 500;
    font-family: 'Roboto';
}

.faq_a {
    border-radius: 0 0 20px 20px;
    border: 1px solid #36498f;
    position: relative;
    padding: 25px 35px 25px 88px;
    box-sizing: border-box;
    border-top: none;
}

.faq_a:before {
    content: "A";
    position: absolute;
    top: 0px;
    bottom: 0;
    left: 25px;
    display: flex;
    /*align-items: center;*/
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: auto;
    /*padding-bottom: 3.5px;*/
    background-color: #36498f;
    font-size: 2.4rem;
    color: #fff;
    border-radius: 50%;
    font-weight: 500;
}

/* バナーエリア */
.bnr_area {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    justify-content: space-around;
    align-items: center;
    padding: 30px 0;
}

.bnr_area a {
    display: block;
    background-color: #fabe00;
    color: #fff;
    width: 362px;
    font-size: 2.4rem;
    position: relative;
    text-align: center;
    padding: 25px 0px;
}

.bnr_area a::after {
    content: ">";
    position: absolute;
    top: 30%;
    left: 92%;
    font-size: 2.4rem;
}

.bnr_area a:hover {
    display: block;
    background-color: #fff;
    color: #fabe00;
    width: 362px;
    font-size: 2.4rem;
    position: relative;
    text-align: center;
    padding: 25px 0px;
    border: 1px solid #fabe00;
    transition: 0.3s;
    box-sizing: border-box;
}

.consul_footspace {
    height: 135px;
}

@media screen and (max-width: 1111px) {
    .foreign_fv_text h1 img {
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: 13px;
        font-family: 'Noto Sans JP', sans-serif;
    }

    .foreign_fv {
        background-color: #36498f;
        height: 196px;
    }

    .foreign_fv_bg {
        height: 250px;
        margin-left: 80px;
    }


    .foreign_fv_bg {
        height: 250px;
        margin-left: 80px;
    }

    .foreign_section_title:after {
        /*left:374px;*/
        left: 50%;
        transform: translate(-50%, 0%);
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }

    .foreigntext p {
        max-width: 90%;
    }

    .foreign_wrapper {
        max-width: 668px;
        margin-bottom: -70px;
        margin-top: 60px;
    }

    .foreign_sectiontitle {
        font-weight: 500;
        font-size: 16px;
        margin-bottom: 123px;
        text-align: center;
        line-height: 1.3;
        position: relative;
    }

    .foreigntext h3 {
        font-size: 16px;
    }

    .foreigntext h3::before {
        content: 'Office Technical Service';
        display: block;
        font-size: 11px;
        margin-bottom: 20px;
        font-weight: normal;
        width: 130px;
        background-color: #fabe00;
        color: #fff;
        padding: 5px 5px;
        text-align: center;
    }

    .foreign_section_text {
        font-size: 16px;
        width: 90%;
        margin: 0 auto;
        line-height: 1.7;
    }

    .foreign_space {
        height: 55px;
        margin-bottom: 0px;
    }

    .foreign_footspace {
        height: 0px;
    }

    .foreign_sectiontitle span {
        display: block;
    }

    /* 3つの特徴 */
    .feature .box {
        width: 100%;
        margin: 0 auto;
    }

    .feature .box li {
        box-shadow: 10px 10px 0 0 #d4ddee;
        margin: 0 15px 0px 15px;
    }

    .feature .box li {
        margin-bottom: 40px;
    }

    .feature .box li h3 {
        font-size: 1.6rem;
    }

    .feature .box li p {
        font-size: 1.2rem;
    }

    /*  入社までの流れ */
    /* 他社との比較 */
    table {
        /*width: 100%;
    max-width: 100%;*/
    }

    .scroll {
        overflow: auto;
        /* 横スクロールバーを表示 */
        white-space: nowrap;
        /* セル内にあるテキストの折り返しを禁止 */
    }

    .tg td {
        font-size: 1.3rem;
    }

    .tg th {
        font-size: 1.7rem;
    }

    /* バナーエリア */
    .bnr_area {
        display: block;
    }

    .bnr_area a {
        margin: 0 auto;
        margin-top: 30px;
    }

    .bnr_area img {
        display: block;
        margin: 0 auto;
        width: 50%;
    }

    section.feature,
    .flow,
    .comp,
    .faq {
        margin-bottom: 80px;
    }
}

@media screen and (max-width: 480px) {
    body p {
        font-size: 13px;
    }

    .foreign_wrapper {
        margin-right: 20px;
        margin-left: 20px;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .foreign_fv {
        background-color: #36498f;
        height: 90px;
    }

    .foreign_fv_bg {
        height: 130px;
        margin-left: 30px;
    }

    .foreign_space {
        height: 40px;
        margin-bottom: 10px;
    }

    .foreign_sectiontitle {
        margin-bottom: 70px;
        font-size: 15px;
        font-feature-settings: "palt";
    }

    .foreign_sectiontitle::after {
        top: 80px;
        width: 45px;
    }

    .foreign_footspace {
        height: 0px;
    }

    .foreign_introbox {
        flex-direction: column;
    }

    .foreigntext,
    .foreignimg {
        width: 100%;
    }

    .foreigntext {
        margin-bottom: 25px;
    }

    .foreigntext p {
        max-width: 100%;
    }

    .foreigntext h3 {
        font-size: 1.4rem;
    }

    .foreigntext h3::before {
        font-size: 11px;
        margin-bottom: 10px;
        width: 130px;
        padding: 5px 0px;
    }

    .foreigntext h3::after {
        margin: 10px 0;
    }

    .foreign_sectiontitle span {
        display: block;
    }

    .consul_footspace {
        height: 0px;
    }

    /* 3つの特徴 */
    .foreign_sectiontitle1 {
        margin-bottom: 70px;
        font-size: 15px;
        font-feature-settings: "palt";
    }

    .foreign_sectiontitle1::after {
        top: 50px;
        width: 45px;
    }

    .feature .box {
        display: block;
        width: 90%;
        margin: 0 auto;
    }

    .feature .box li {
        margin-bottom: 40px;
    }

    .feature .box li h3 {
        font-size: 1.5rem;
    }

    /* 入社までの流れ */
    .flow img {
        width: 80%;
        margin-left: 7.5%;
        ;
    }

    /* 他社との比較 */
    .tg td {
        font-size: 1.3rem;
        padding: 10px 10px;
    }

    .tg th {
        font-size: 1.3rem;
    }

    .tg .td_blank {
        padding: 0 1px;
    }

    /* よくある質問 */
    .faq_q {
        font-size: 1.3rem;
    }

    .faq_a:before {
        width: 30px;
        height: 28px;
        font-size: 1.6rem;
    }

    .faq_q:before {
        width: 30px;
        height: 30px;
        font-size: 1.6rem;
    }

    .faq_a {
        padding: 25px 20px 25px 65px;
    }

    .faq_q {
        padding: 20px 20px 20px 65px;
    }

    /* バナーエリア */
    .bnr_area a {
        width: 80%;
        font-size: 1.6rem;
        padding: 20px 0px;
    }

    .bnr_area img {
        width: 80%;
        padding-right: 15px;
    }

    .bnr_area a::after {
        top: 33%;
        left: 92%;
        font-size: 1.6rem;
    }

    .bnr_area a:hover {
        width: 80%;
        font-size: 1.6rem;
    }

    /* セクション間余白 */
    section.feature,
    .flow,
    .comp,
    .faq {
        margin-bottom: 80px;
    }

    /*フッター文字*/
    .form span {
        font-size: 13.6px;
    }

    .form {
        font-size: 17.6px;
    }

    .tel_button {
        font-size: 19.2px;
    }

    .contact_contents p {
        font-size: 11.2px;
    }

    .contact_contents h1 {
        font-size: 22.4px;
    }
}


@media screen and (max-width: 834px) {
    section.comp img {
        margin-bottom: 20px;
        width: 70%;
    }

    section.flow img {
        padding-right: 5%;
    }
}

@media screen and (max-width: 480px) {
    section.comp img {

        width: 100%;
    }
}

/*-------------------------------- */
/*FV_text修正用
---------------------------------- */
.foreign_fv {
    position: relative;
}

.foreign_fv_text {
    position: absolute;
    top: 220px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
}

.foreign_fv_text h1 img {
    width: 100%;
    display: block;
    margin: 0 auto;
}

@media screen and (max-width: 1000px) {
    .foreign_fv_text h1 img {
        width: 90%;
    }
}



@media screen and (max-width: 768px) {
    .foreign_fv_text {
        top: 50%;

    }

    .foreign_fv_text h1 img {
        width: 80%;
        display: block;
        margin: 0 auto;
        padding-left: 50px;
    }
}

@media screen and (max-width: 480px) {
    .foreign_fv_text {
        top: 45%;
    }

    .foreign_fv_text h1 img {
        width: 60%;
        padding-left: 0px;
    }
}