@charset "UTF-8";

/* ------------------
変数宣言
------------------ */
:root {
    --main_color: #2ca6e0;
    --accent_color: #eaa552;
    --text_color: #262626;
    --footer_color: #212c2f;
}

/* ------------------
共通設定
------------------ */
html {
    font-size: 62.5%;
}

body {
    color: var(--text_color);
    font-family: "Sawarabi Gothic", sans-serif;
    font-size: 1.6rem;
    padding: 70px 0 0 0;
}

a {
    text-decoration: none;
}

.wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}

.section_title {
    font-size: 3.6rem;
    margin: 0 0 24px 0;
    text-align: center;
}

.section_title span {
    display: block;
    font-size: 1.6rem;
}

.block_title {
    font-size: 3.6rem;
    text-align: center;
}

.block_title span {
    display: block;
    font-size: 1.6rem;
}

.read_more_btn {
    display: block;
    border: 1px solid var(--text_color);
    max-width: 240px;
    line-height: 48px;
    margin: 24px auto 0 auto;
    text-align: center;
    position: relative;
    transition: 0.4s;
}

.read_more_btn::after {
    font-family: 'Material Symbols Outlined';
    content: '\e5c8';
    vertical-align: middle;
    position: absolute;
    right: 15px;
    transition: 0.4s;
}

@media screen and (min-width:768px) {
    .section_title {
        font-size: 4.2rem;
    }

    .read_more_btn:hover::after {
        right: 5px;
    }
}

/*===========min-width:768px===========*/

/* ------------------
ヘッダー
------------------ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #fff;
    z-index: 100;
}

.header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 16px;
}

.header_logo {
    width: 250px;
}

.header_nav {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--main_color);
    z-index: 100;
    transition: 0.4s;
}

.header_nav_list {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.header_nav_item {
    text-align: center;
}

.header_nav_item a {
    display: block;
    color: #fff;
    font-size: 2.8rem;
    padding: 24px;
}

/* headerにクラスonが付与されたら、位置を0にする */
header.on .header_nav {
    top: 0;
}

.hum_menu {
    position: relative;
    width: 30px;
    height: 30px;
    z-index: 100;
    margin-left: auto;
    cursor: pointer;
}

.hum_menu_line {
    display: inline-block;
    position: absolute;
    background-color: var(--text_color);
    width: 30px;
    height: 4px;
    border-radius: 3px;
    transition: 0.4s;
}

.hum_menu_line:nth-of-type(1) {
    top: 0;
    width: 100%;
}

.hum_menu_line:nth-of-type(2) {
    top: 10px;
    width: 80%;
}

.hum_menu_line:nth-of-type(3) {
    top: 20px;
    width: 55%;
}

/* headerにクラスonが付与されると線が回転して×になる */
header.on .hum_menu_line:nth-of-type(1) {
    top: 12px;
    transform: translateY(6px) rotate(-135deg);
}

header.on .hum_menu_line:nth-of-type(2) {
    opacity: 0;
}

header.on .hum_menu_line:nth-of-type(3) {
    top: 23px;
    width: 100%;
    transform: translateY(-6px) rotate(135deg);
}

@media screen and (min-width:768px) {
    .header_nav {
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
    }

    .header_nav_list {
        position: static;
        top: 0;
        left: 0;
        transform: translate(0);
        display: flex;
    }

    .header_nav_item {
        margin-left: 32px;
    }

    .header_nav_item a {
        color: var(--text_color);
        font-size: 1.6rem;
        padding: 0;
    }

    .hum_menu {
        display: none;
    }
}

/*===========min-width:768px===========*/

/* ---------------------------------
recruit & entry 　採用情報＆応募フォーム
------------------ ---------------*/
.recruit_entry {
    margin: 80px 0 0 0;
    width: 100%;
}

.recruit_block_inner,
.entry_block_inner {
    padding: 40px 0;
}

.recruit_block {
    background-image: url(../../img/top_recruit.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.entry_block {
    background-image: url(../../img/top_entry.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

@media screen and (min-width:768px) {
    .recruit_entry {
        display: flex;
        margin-top: 160px;
    }

    .recruit_block_inner,
    .entry_block_inner {
        padding: 120px 0;
    }

    .recruit_block,
    .entry_block {
        width: 50%;
    }
}

/*===========min-width:768px===========*/

/* ------------------
フッター
------------------ */
footer {
    background-color: var(--footer_color);
    color: #fff;
    width: 100%;
    height: 150px;
}

.footer_inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 0 0 0;
}

.footer_logo {
    width: 250px;
    margin: 0 auto;
}

.footer_nav_list {
    display: flex;
    justify-content: center;
    margin: 24px 0 16px 0;
}

.footer_nav_item:not(:last-child) {
    margin-right: 24px;
}

.copyright {
    display: block;
    text-align: center;
}