@charset "UTF-8";


/* --------------------------------------
ヘッダー
---------------------------------------*/
header {
    width: 100%;
    height: 70px;
    background-color: #FFF6E5;
    /* overflow: hidden; */
    display: flex;
    justify-content: right;
}
.head_inner {
    width: 98%;
    max-width: 1400px;
    height: 100%;
    margin: auto;
}
@media screen and (max-width: 1100px) {
    header {
        min-width: 1100px;
    }
}
@media screen and (max-width: 768px) {
    header {
        min-width: initial;
    }
}
.top_header {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* --------------------------------------
ヘッダーロゴ
---------------------------------------*/
h1.head_main_logo {
    width: 230px;
    z-index: 100;
}
h1.head_main_logo a img {
    height: 50px;
}
@media screen and (max-width: 768px) {
    h1.head_main_logo {
        z-index: 1000;
    }
    h1.head_main_logo a img {
        height: 60px;
    }
}


/* --------------------------------------
ヘッダー内レイアウト
---------------------------------------*/
.head_contents {
    width: calc(100% - 260px);
    display: flex;
    justify-content: right;
}

/* ヘッダーリンク */
nav.head_main_menu {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: right;
}

/* ヘッダーメニュー */
ul.head_menu_wrap {
    width: calc(100% - 180px - 30px);
    height: 100%;
    display: flex;
    align-items: center;
    line-height: 100%;
}
ul.head_menu_wrap li {
    width: calc(100% / 5);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 100%;
    border-left: 1px solid #AFA59F;
    box-sizing: border-box;
}
ul.head_menu_wrap li:last-child {
    border-right: 1px solid #AFA59F;
}
ul.head_menu_wrap li a {
    color: #604C3F!important;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
ul.head_menu_wrap li a:hover {
    color: #604C3F !important;
    background-color: #ffbb00;
    transition: 0.5s;
}
@media only screen and (max-width:768px) {
    ul.head_menu_wrap {
        display: none;
    }
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
ul.head_menu_wrap.menu01 li.has-child {
    position: relative;
}

/*2階層目*/
li.has-child ul.menu02 {
    position: absolute;
    top: 0px;
    left: -1px;
    right: 0;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: initial;
    width: calc(100% + 2px);
    height: auto;
    visibility: hidden;
    z-index: -1;
    opacity: 0;
    transition: all .3s;
}
li.has-child:hover ul.menu02 {
    top: 70px;
    visibility: visible;
    opacity: 1;
}
li.has-child ul.menu02 li {
    width: 100%;
    height: 45px;
    margin-right: initial;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid #AFA59F;
    border-left: 1px solid #AFA59F;
    border-right: 1px solid #AFA59F;
    box-sizing: border-box;
}
li.has-child ul.menu02 li:last-child {
    border-bottom: 1px solid #AFA59F;
}
li.has-child ul.menu02 li a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #604C3F;
}
li.has-child ul.menu02 li a:hover {
    background-color: #ffbb00;
}



/* ヘッダー問い合わせ*/
.head_menu_link {
    width: 180px;
    height: 100%;
    display: flex;
    align-items: center;
    margin-left: 30px;
}
.contact_btn {
    width: 100%;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background-color: #FF5500;
    outline: 1px solid #fff;
    outline-offset: -5px;
    border-radius: 0.5rem;
    color: #fff;
    transition: 0.5s;
    white-space: nowrap;
}
.contact_btn:hover {
    background-color: #ffbb00;
    color: #fff!important;
    transition: 0.5s;
}
.contact_btn i {
    font-size: 1.5rem;
    margin-right: 5px;
}
@media only screen and (max-width:768px) {
    .head_menu_link {
        display: none;
    }
}

/* --------------------------------------
ヘッダー固定
---------------------------------------*/
.header_space {
    height: 70px;
    width: 100%;
    background-color: #FFF6E5;
}

/*========= スクロール途中でヘッダーが表示＆非表示するためのCSS ===============*/

#header {
    /*fixedで上部固定*/
    position: fixed;
    z-index: 999;
    /*最前面へ*/
    top: 0;
}

/*　上に上がる動き　*/

#header.UpMove {
    animation: HeaderUpAnime 0.5s forwards;
}

@keyframes HeaderUpAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-100px);
    }
}

/*　下に下がる動き　*/

#header.DownMove {
    animation: HeaderDownAnime 0.5s forwards;
}

@keyframes HeaderDownAnime {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* --------------------------------------
ハンバーガーメニュー
---------------------------------------*/
.sp_btn {
    display: none;
}
@media screen and (max-width: 768px) {
    .sp_btn {
        display: block;
    }
}
/*========= ナビゲーションのためのCSS ===============*/
#g-nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: 0;
    right: -100vw;
    width: 100%;
    height: 100vh;
    /*ナビの高さ*/
    background-color: #FFF6E5;
    /*動き*/
    transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
    right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed !important;
    z-index: 999 !important;
    width: 100% !important;
    height: 100vh !important;
    /*表示する高さ*/
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

/*ナビゲーション*/
#g-nav .g-nav-list_wrap {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 150px;
    left: 5%;
    width: 90%;
    padding-bottom: 150px;
}


/*リストのレイアウト設定*/
#g-nav ul.g-nav-list_wrap li {
    font-size: 1.2rem;
    list-style: none;
    text-align: center;
    text-decoration: none;
    padding: 2rem 1rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* margin-bottom: 1rem; */
}
@media screen and (max-width: 400px) {
    #g-nav ul.g-nav-list_wrap li {
        padding: 1rem 1rem;
    }
}
#g-nav ul.g-nav-list_wrap li a,
#g-nav ul.g-nav-list_wrap li {
    color: #000;
}
#g-nav ul.g-nav-list_wrap li p {
    font-size: 1.2rem;
}

#g-nav ul.g-nav-list_wrap li i {
    color: #005699;
}
#g-nav ul.g-nav-list_wrap li a.link_btn_large i {
    color: #fff;
    -webkit-text-stroke: 1px #005699;
}
.fa-angle-right {
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke: 1px #fff;
}

#g-nav ul.g-nav-list_wrap li .top_jobs_btn,
#g-nav ul.g-nav-list_wrap li a.link_btn {
    letter-spacing: 0;
}

/*ナビゲーション問い合わせ*/
.g-nav_tel {
    padding: 1rem 0;
    text-align: center;
}
.g-nav_tel a {
    font-size: 2rem;
    color: #3f3f3f;
    letter-spacing: 1px;
}
.g-nav_tel p {
    color: #3f3f3f;
}
/* .g-nav_contact {
    margin: 1.5rem 0;
} */
a.g-nav_contact_btn {
    display: block;
    width: 100%;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
    background-color: #FF5500;
    border: 1px solid #FF5500;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-align: center;
    border-radius: 0.5rem;
}
a.g-nav_contact_btn:hover {
    background-color: #fff;
    color: #604C3F!important;
}

/*ナビゲーション住所*/
p.g-nav_add {
    line-height: 1.5;
}
p.g-nav_add span.g-nav_add_title {
    font-size: 1.5rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}
.g-nav_flex {
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
}
.g-nav_sns {
    display: flex;
    gap: 1rem;
}
.g-nav_sns a {
    width: 50px;
}

/*========= ボタンのためのCSS ===============*/

.openbtn1 {
    position: fixed;
    z-index: 9999;
    /*ボタンを最前面に*/
    top: 0;
    right: 0;
    cursor: pointer;
    width: 70px;
    height: 70px;
}

/*×に変化*/
.openbtn1 span {
    z-index: 9999;
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 18px;
    height: 2px;
    background-color: #000;
    width: 50%;
}

.openbtn1 span:nth-of-type(1) {
    top: 20px;
}

.openbtn1 span:nth-of-type(2) {
    top: 32px;
}

.openbtn1 span:nth-of-type(3) {
    top: 45px;
}

.openbtn1.active span:nth-of-type(1) {
    background-color: #000;
    top: 26px;
    left: 22px;
    transform: translateY(6px) rotate(-45deg);
    width: 40%;
}

.openbtn1.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn1.active span:nth-of-type(3) {
    background-color: #000;
    top: 38px;
    left: 22px;
    transform: translateY(-6px) rotate(45deg);
    width: 40%;
}

/* --------------------------------------
サイトマップ
---------------------------------------*/
ul.accordion {
    width: 100%;
}
ul.accordion li {
    width: 100%;
    margin-bottom: 1.5rem;
}
ul.accordion li:last-child {
    margin-bottom: 0;
}

/* アコーディオン無リンク */
a.acc_option_none_link {
    color: #604C3F;
    background-color: #fff;
    display: block;
    /* border: solid 1px #ccc; */
    padding: 1rem;
    border-radius: 0.5rem;
    box-sizing: border-box;
}
a.acc_option_none_link:hover {
    background-color: #ffbb00;
    color: #fff!important;
}

ul.accordion li.acc_option {
    position: relative;
}

/* チェックボタン非表示 */
.acc_toggle {
    display: none;
}


label.acc_title,
.acc_content {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: all 0.3s;
}

/* アコーディオンパネル */
label.acc_title {
    display: block;
    background-color: #fff;
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
    border-radius: 0.5rem;
}
label.acc_title:hover {
    background-color: #ffbb00;
    color: #fff;
}


/* +ボタン */
label.acc_title::after,
label.acc_title::before {
    content: "";
    position: absolute;
    right: 1.25em;
    width: 1px;
    height: 0.75em;
    background-color: #000;
    transition: all 0.3s;
}
label.acc_title::after {
    transform: rotate(90deg);
}
.acc_toggle:checked + label.acc_title::before {
    transform: rotate(90deg) !important;
}
label.acc_title:hover::after,
label.acc_title:hover::before {
    background-color: #fff;
}


/* 展開後のスペース */
.acc_content {
    max-height: 0;
    overflow: hidden;
}
.acc_content_inner {
    width: 100%;
    padding: 1rem 0;
    padding-left: 1rem;
    box-sizing: border-box;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.acc_toggle:checked + label.acc_title + .acc_content {
    max-height: 500px;
    transition: all 1s;
}
@media screen and (max-width: 768px) {
    .acc_content_inner {
        gap: 1rem 0.5rem;
    }
}
/* アコーディオンスペース内リンク */
a.acc_inner_link {
    color: #604C3F;
    display: block;
    width: 100%;
    background-color: #fff;
    padding: 1rem;
    box-sizing: border-box;
    border-radius: 0.5rem;
}
a.acc_inner_link:hover {
    background-color: #ffbb00;
    color: #fff!important
}
a.acc_inner_link2 {
    display: inline-block;
    width: auto;
    border: solid 1px #ccc;
    background-color: #808080;
    color: #fff;
    padding: 0.75rem 2rem;
    box-sizing: border-box;
}
a.acc_inner_link2:hover {
    border: solid 1px #005699;
    background-color: #005699;
    color: #fff;
}
a.acc_inner_link2::before {
    content: '#';
}
@media screen and (max-width: 768px) {
    a.acc_inner_link2 {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}