﻿@charset "utf-8";
/* 1536 , 1530 × 735 ,1366 *//* ←記画面幅でも崩れていないか確認 */

/* カテゴリリンクの飛び先位置の数値を適宜調整してください */

/* 修正した場合→各項目の一番下に日付をコメントアウトして追記 */


/*■■　ALL　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#wrap,header{min-width: inherit!important;}
 #logo img{max-height: 80px;object-fit: cover;
    width: auto;}
.head_fix #logo img{
        max-height: 60px;
    object-fit: cover;
    width: auto;
}
.load_logo figure{    max-width: 200px;}
#logo2{max-width: 180px;}
/* ---------------------------　1280　-------------------------- */
@media screen and (max-width: 1280px){
#header #pc_nav .grid_9,#header ul.grid_2{display: none;}
.menu_stick{display: inline-block;}
    .width_1160-max.width_100per_tb {
        width: 100% !important;
    }
#pc_nav{width: 50%!important;}
#header{padding: 0;}
    #header .inner{
        border-radius: 0;
        display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: inherit;
    }
    #main_img{padding-top: 5%;}
    #sp_nav .d_block_tb{display: block;}
}



/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
.load_logo figure{
    max-width: 200px;
}


}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
    .load_logo {
        width: 40%!important;
    }
#logo img {
    max-height: 50px;
}
#logo2 {
    max-width: 140px!important;
}
#loader.load_bg{height: 100%!important;}

}



/*■■　FV　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#main_img::before{content: none;}
.txt01{
    max-width: 450px;
    bottom: 5%;
    right: 5%;
    z-index: 2;
    width: 35%;
}


/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){

}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
.txt01{
    width: 45%;
}
}



/*■■　TOP　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
/* #intro{    background-color: #fdc264;} */
#intro h2,#contents1 h2,#contents2 h2{color: #ffe52c;}
#intro figure,#contents1 figure{position: absolute;right: 3%;bottom: 0;z-index: 1;}
#contents1 figure{position: absolute;left: 3%;bottom: 0;z-index: 1;}
#intro img,#contents1 img{
    height: 61vw;
    max-height: 620px;
    object-fit: cover;
    width: auto;
}
#contents1 img{
    height: 51vw;
    max-height: 560px;
    object-fit: cover;
    width: auto;
}
#intro .intro_bg {
    position: absolute;
    top: 0;
    left: 0;
    height: calc(100%);
    width: 100%;
    z-index: 1;
        background-color: #082567!important;
}
#intro .bg_box{ height: calc(100%);background: none!important;}
#contents1 .d_flex{
    justify-content: end;
    min-height: 400px;
}
#contents1{padding: 5% 0;}
#contents1 span{
    background-color: #0047ab;
}
.contents1_img{    background-color: #0ae2b9;overflow: inherit;}
.contents1_img img{
        position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-44%);
    z-index: 1;
}
.contents2_bg {
    background-image: none !important;
}
#intro,#contents2{padding: 5% 0;}
#contents2 .contents2_bg::before{background: none!important;}
#contents2{   background-color: #082567 !important;}
/* #contents2 figure{position: absolute;right: 0;bottom: 0;z-index: 1;} */
#contents2 figure {
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 5%;
    max-width: 650px;
    margin: 0 auto;
    padding-bottom: 0;
}
#contents2 .intro_bg {
    position: absolute;
    top: 0;
    left: 0;
    height: calc(100%);
    width: 60%;
    z-index: 1;
}
#contents2 .bg_box{ height: calc(100%);}
#contents2 .box_txt1{color: #fff;}
/* #contents2 img{
    height: 71vw;
    max-height: 610px;
    object-fit: cover;
    width: auto;
} */
#contents2 .top_title{
    padding: 0;
    padding-bottom: 5%;
}
#contents2 .cate_box{background: none;}
html, body {
  overflow-x: hidden;
}
#top_cms{
    padding-bottom: 0;
    padding-top: 50px;
}

/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
#intro > .width_1280-max > .grid_6,#contents2 > .width_1280-max > .grid_6,#contents1 figure{margin: 0;}
 #contents2 .cate_box {
        margin-top: 0;
    }

}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
#intro figure{position: relative;}
#intro .intro_bg{
    height: calc(100%);
    width: 100%;
}
#intro,#contents2{padding: 10% 0 0;}
#contents1 {
    padding: 0;
    padding-top: 10%;
}
#contents1 figure{
    position: relative;
    order: 2;
}
#intro img{
    height: 106vw;
    max-height: 560px;
    object-fit: cover;
    width: auto;
}
#contents1 img {
    height: 81vw;
    max-height: 560px;
    object-fit: cover;
    width: auto;
}
#contents1 .d_flex
 {
    justify-content: center;
}
}



/*■■　下層ページ　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
/*カテゴリリンクの飛び先位置を調整する*/
/* --- PC --- */
:root {
--header-height: 130px;
}

/* --- スマートフォン --- */
@media screen and (max-width: 667px){
:root {
--header-height: 100px;
}
}





/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){

}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){

}


