/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■

	共通css

■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

    * {
    margin: 0;
    padding: 0;
    }
    html{
        margin-top: 0 !important;
    }
    body {
        position: relative;
        color: #403c34;
        background: #ffffff;
        font-size: 17px;
        font-weight: 400;
        line-height: 1.7;
        word-wrap: break-word;
        font-family: 'Noto Sans JP',-apple-system, BlinkMacSystemFont, 'Helvetica Neue', YuGothic, 'ProN W3', Hiragino Kaku Gothic ProN, Arial , Meiryo, sans-serif !important;

    }
    body p{
        color: #403c34 !important;
    }
    p + p{
        padding-bottom: 1em;
    }

    /* リンク設定 */
    a{
        color: red;
        text-decoration: none;
    }
    a:hover{
        opacity: 0.7;
    }
    /* リンク切 */
    .link-none{
        pointer-events: none !important;
        opacity: 0.4;
    }

     /* フッターのいらない部分消し */
     .entry-footer.default-max-width,
     .widget-area{
         display: none;
     }       
     
     /* 各ページの固定ページに表示されるのサムネイル画像を消す */
     .post-thumbnail{
        display: none;
    }

    /* 文字の回り込み */
    .f_left{
        float: left;
    }
    .f_right{
        float: right;
    }

	/* フロート回り込み解除 clearfix */
    .clearfix:after {
        display: block;
        clear: both;
        height: 0px;
        line-height: 0px;
        visibility: hidden;
        content: "";
        overflow: hidden;
        float: none;
    }
    .clearfix {
        display: block; /* for IE8 */
    }

    .size_img img{
        height: auto !important;
    }
/* リンク拒否 */
    .link_none{
        pointer-events: none;
    }

     /* PC設定
----------------------------------------------- */
@media (min-width: 768px) {


    .pc_none{
        display: none;
    }
    
    /* マージン上   */
    .top_long {
		margin-top: 120px !important;
	}
	.top_middle {
		margin-top: 80px !important;
	}
	.top_short {
		margin-top: 40px !important;
	}
	.top_vshort {
		margin-top: 20px !important;
	}
     /* マージン下   */
     .bottom_long {
		margin-bottom: 120px !important;
	}
	.bottom_middle {
		margin-bottom: 80px !important;
	}
	.bottom_short {
		margin-bottom: 40px !important;
	}
	.bottom_vshort {
		margin-bottom: 20px !important;
    }



    /* パディング上   */
    .p_top_long {
		padding-top: 120px !important;
	}
	.p_top_middle {
		padding-top: 80px !important;
	}
	.p_top_short {
		padding-top: 40px !important;
	}
	.p_top_vshort {
		padding-top: 20px !important;
	}
     /* パディング下   */
     .p_bottom_long {
		padding-bottom: 120px !important;
	}
	.p_bottom_middle {
		padding-bottom: 80px !important;
	}
	.p_bottom_short {
		padding-bottom: 40px !important;
	}
	.p_bottom_vshort {
		padding-bottom: 20px !important;
    }


}

/* SP設定
----------------------------------------------- */
@media (max-width: 767px) {

    body {
        font-size: 4vw;

    }
    .sp_none{
        display: none;
    }
    /* マージン上   */
    .top_long {
		margin-top: 16vw !important;
	}
	.top_middle {
		margin-top: 12vw !important;
	}
	.top_short {
		margin-top: 8vw !important;
	}
	.top_vshort {
		margin-top: 4vw !important;
	}
     /* マージン下   */
     .bottom_long {
		margin-bottom: 16vw !important;
	}
	.bottom_middle {
		margin-bottom: 12vw !important;
	}
	.bottom_short {
		margin-bottom: 8vw !important;
	}
	.bottom_vshort {
		margin-bottom: 4vw !important;
	}


    /* パディング上   */
    .p_top_long {
		padding-top: 16vw !important;
	}
	.p_top_middle {
		padding-top: 12vw !important;
	}
	.p_top_short {
		padding-top: 8vw !important;
	}
	.p_top_vshort {
		padding-top: 4vw !important;
	}
     /* パディング下   */
     .p_bottom_long {
		padding-bottom: 16vw !important;
	}
	.p_bottom_middle {
		padding-bottom: 12vw !important;
	}
	.p_bottom_short {
		padding-bottom: 8vw !important;
	}
	.p_bottom_vshort {
		padding-bottom: 4vw !important;
    }

}

/* ================================================================================

ヘッダー

================================================================================ */
/* PC設定
----------------------------------------------- */
@media (min-width: 768px) {
    /* h1 */
    .nav_box > h1{
        position: absolute;
        top: 1.1vw;
        left: 2vw;
        font-size: 0;
    }
    .nav_box > h1 > a{
        display: inline-block;
    }
    .nav_box > h1 > a img{
        width: 8.1vw;
    }
}

/* ================================================================================

ナビ

================================================================================ */

/* PC設定
----------------------------------------------- */
@media (min-width: 768px) {
    .nav_box{
        background-color: #333333;
        width: 100%;
        position: fixed;
        z-index: 3;
    }
    .nav_box > ul{
        font-size: 0;
        float:right;
    }
    .nav_box >ul > li{
        display: inline-block;
        letter-spacing: 0.08em;
        font-weight: 600;
    }
    .nav_box > ul > li> a{
        padding: 1vw 1vw 1vw 1vw;
        color: #ffffff;
        font-size: 1vw;
    }


    /* エントリーボタン設定 */
    .nav_box > ul > li.recruit_entry_button,
    .nav_box > ul > li.career_entry_button{
        margin-right: 0;
    }
    li.recruit_entry_button a,
    li.career_entry_button a,
    li.contact_button a{
        display: inline-block;
    }
    li.recruit_entry_button a{
        background: #8c7b65;
    }
    li.career_entry_button a{
        background: #f0ebe7;
        color:#003366 !important;
    }
    /* メールボタン設定 */
    li.contact_button a{
        background: #003366;
    }
    li.contact_button a img{
        width: 1.9vw;
        margin-top: -0.7vw;
        vertical-align: bottom;
    }
    
/* ドロップメニュー
	----------------------------------------------- */
	.nav_box > ul > li > ul {
        list-style: none;
        position: absolute;
        z-index: 99999;
        top: 3.6vw;
        margin: 0 0 0 0.6vw;
        padding: 0;
        overflow: hidden;
        transition: 0.3s ease-in-out;
        background-color: #212121;
	}
	.nav_box > ul > li > ul > li {
		overflow: hidden;
		font-size: 1vw;
        width: auto;
		height: 0;
		transition: 0.3s ease-in-out;
		opacity: 0;
	}
	.nav_box > ul > li:hover > ul {
		overflow: visible;
	}
	.nav_box > ul > li:hover > ul > li {
		overflow: visible;
		opacity: 1;
		height: 100%;
	}
	.nav_box > ul > li > ul > li > a {
		display: block;
		background-color: #212121;
		color: #ffffff;
		padding: 0.8em 1em;
		text-align: left;
		font-weight: 700;
		border-bottom: none;
	}
	.nav_box > ul > li > ul > li > a:hover {
		opacity: 1;
		background-color: #504e4e;
	}
}

/* SP設定
----------------------------------------------- */
@media (max-width: 767px) {


    /* ロゴ */
    .sp_logo{
        position: relative;
        background: #333;
        height: 15vw;

    }
    .sp_logo h1{
    position: absolute;
    top: 0px;
    left: 13px;
    }
    .sp_logo a{
        margin-right: 4vw;
    }
    .sp_logo a img{
        width: 29vw !important;
    }


}


/* ================================================================================

リンク設定

================================================================================ */
/* PC設定
----------------------------------------------- */
@media (min-width: 768px) {
 /* リンクボタン設定 */

 ul.link_ul{/* リンクに使用するのULにスタイルを付けない */
    list-style: none;
}

ul.link_ul{/* ボタンの装飾、配置設定 */
    position: relative;
    font-size: 0;
    text-align: center;
}
ul.link_ul li{
    position: relative;
    font-size: 21px;
    display: inline-block;
    margin: 10px;
}
ul.link_ul li::before{
    position: absolute;
    content: "";
    display: inline-block;
    background: url(../img/link_icon.png) no-repeat center top / auto 100%;
    width: 29px;
    height: 29px;
    top: 17px;
    right: 19px;
    z-index: 1;
}
ul.link_ul li a{
    background: #003366;
    color: #ffffff;
    min-width: 360px;
    display: inline-block;
    padding: 13px 15px 12px 15px;
    border-radius: 10px;
}

}

/* SP設定
----------------------------------------------- */
@media (max-width: 767px) {
    /* リンクボタン設定 */

    ul.link_ul{/* リンクに使用するのULにスタイルを付けない */
        list-style: none;
    }
    
    ul.link_ul{/* ボタンの装飾、配置設定 */
        position: relative;
        font-size: 0;
        text-align: center;
    }
    ul.link_ul li{
        position: relative;
        font-size: 5vw;
        display: inline-block;
        margin-bottom: 1em;
    }
    ul.link_ul li::before{
        position: absolute;
        content: "";
        display: inline-block;
        background: url(../img/link_icon.png) no-repeat center top / auto 100%;
        width: 5vw;
        height: 5vw;
        top: 5vw;
        right: 3.3vw;
        z-index: 1;
    }
    ul.link_ul li a{
        background: #003366;
        color: #ffffff;
        min-width: 15em;
        display: inline-block;
        padding: 3vw 11vw 3vw 11vw;
        border-radius: 10px;
    }

}

/* ================================================================================

フッター

================================================================================ */
 /* PC.SP共通設定 */
footer{
    background-color: #40362e;
    color: #ffffff;
}
footer a{
    color: #ffffff;
}
.footer_box01 ul,
.footer_box02 ul{
    list-style-type: none;
}
.copylite_box{
    text-align: center;
    padding-top: 4em;
}

/* PC設定
----------------------------------------------- */
@media (min-width: 768px) {
    footer{
        font-size: 11px;
        margin-top: 120px;
        padding: 73px 0 20px;
    }

    .footer_box01{
        width: 1200px;
        margin: 0 auto;
        font-size: 0;
        text-align: left;
        border-bottom: 1px solid #8c7b65;
        padding-bottom: 39px;
    }


    /* フッターリンク０１　横並び設定等 */
    .footer_box01 ul.footer_logo,
    .footer_box01 ul.footer_links{
        display: inline-block;
        vertical-align: top;
        font-size: 18px;
        font-family: 'Noto Serif JP', '游明朝', YuMincho, 'ヒラギノ明朝 ProN W2', 'Hiragino Mincho ProN', 'HG明朝B', serif !important;
    }
    .footer_box01 ul.footer_links{
        padding-top: 12px;
        line-height: 1.9;
    }
    .footer_box01 ul.footer_links li.f_link_01{
        vertical-align: top;
        display: inline-block;
    }
    .footer_box01 ul.footer_logo,
    .footer_box01 ul.footer_links li.f_link_01:not(:last-child){
        margin-right: 52px;
    }

    .footer_box01 ul.footer_links li.f_link_01 span{
        font-weight: 900;
        padding-bottom: 15px;
        display: inline-block;
    }

    /* ロゴサイズ */
    .footer_logo img{
        width: 187px;
    }


    /* フッターリンク　０２ */
    .footer_box02{
        width: 1200px;
        margin: 20px auto 0;
    }
    .footer_box02 > ul{
        font-size: 0;
        text-align: left;
    }
    .footer_box02 > ul > li{
        display: inline-block;
        position: relative;
        font-size: 18px;
        vertical-align: top;
        margin-right: 22px;
        font-weight: 300;
    }
    .footer_box02 > ul > li:not(:last-child)::before{
        display: inline-block;
        position: absolute;
        content: "|";
        top: 0;
        right: -14px;
    }
 


}

/* SP設定
----------------------------------------------- */
@media (max-width: 767px) {

    footer{
        margin-top: 20vw;
        padding: 10vw 3.4em 3vw;
        font-size: 2.5vw;
      }

    /* ロゴサイズ */
    ul.footer_logo h1{
        text-align: center;
        margin-left: -7vw;
        margin-bottom: 5vw;
    }
    ul.footer_logo img{
        width: 48vw;
    }


    .footer_box01{
        font-size: 0;
        text-align: left;
        border-bottom: 1px solid #8c7b65;
        padding-bottom: 2vw;
        margin-bottom: 4vw;
    }


    /* フッターリンク０１ */
    .footer_box01 ul.footer_links{
        vertical-align: top;
        font-size: 4vw;
        font-family: 'Noto Serif JP', '游明朝', YuMincho, 'ヒラギノ明朝 ProN W2', 'Hiragino Mincho ProN', 'HG明朝B', serif !important;
    }
    .footer_box01 ul.footer_links{
        padding-top: 5vw;
        line-height: 1.9;
    }
    .footer_box01 ul.footer_links li.f_link_01{
        width: 50%;
        padding-bottom: 4vw;
    }


    .sp_left{
        float:left;
    }
    .sp_right{
        float:right;
    }


    .footer_box01 ul.footer_links li.f_link_01 span{
        font-weight: 900;
        display: inline-block;
    }

    /* フッターリンク　０２ */
    .footer_box02 > ul > li{
        font-size: 4vw;
        font-weight: 300;
    }
}






