@charset "utf-8";
/*PCサイズレスポンシブ*/
@media(min-width:1000px) {
    body {
        min-width: 1000px;
    background-color:#f0e6b4;

    }

    .container {
        width: 100%;
        background-color:#f0e6b4;
        justify-content: center;
        text-align: center;
        color: #000000;
    
    }

#g-nav li{
    display:none;
        }
        
header {
    width: 100%;
    height: 120px;
    display: flex;
    color: #143046;

}
a{
    color: #f0e6b4;
    text-decoration: none;
}
header h1 {
    width: 10%;
margin-left: 1%;

}
header img{
    width: 100%;
}
header h2{
    width: 50%;
    font-size: 18px;
    margin: auto;
}
header ul {
    width: 40%;
    display: flex;
margin: auto;
    font-size: 20px;
    margin-top: 4%;
}
header li {
    margin-right: 5%;
    list-style: none;
}
/*==================================================
共通　横並びのための設定
===================================*/

.gnavi{
    display: flex;
    /* margin:0 0 50px 0; */
    list-style: none;
}

.gnavi li a{
    display: block;
    /* padding:10px 30px; */
    text-decoration: none;
    color:#143046;
}

.gnavi li{
    margin-bottom:20px;
}

/*===================================
　5-3-1 中心から外に線が伸びる（下部）
===================================*/

.gnavi li a{
    /*線の基点とするためrelativeを指定*/
	position: relative;
}

.gnavi li.current a,
.gnavi li a:hover{
	color:#c8412d;
}


.gnavi li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left: 10%;
    /*線の形状*/
    width: 80%;
    height: 2px;
    background:#c8412d;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: center top;/*上部中央基点*/
}

/*現在地とhoverの設定*/
.gnavi li.current a::after,
.gnavi li a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}
.top {
    margin-top: 5%;
    width: 100%;
height: 250px;
    background-image: url(../img/topnew.png);
    
}
.top h2{
    margin-left: 45%;
  padding-top: 7%;
  color: #ffffff;
}

main {
    width: 80%;
    text-align: left;
    background-color:#f0e6b4;
    color: #c8412d;
    justify-content: center;
    margin-left: 10%;
}

.main1 {
    width: 100%;
    
}
h2{
    color: #143046;
}
main a{
    color: #c8412d;
 margin-left: 70%;
}
main h3 {
    width: 100%;
    font-size: 32px;
    color: #143046;
}

.main2 {
    width: 80%;
color: #143046;
margin-left: 10%;
}

/*tabの形状*/
.tab{
	display: flex;
	flex-wrap: wrap;
    list-style: none;
}
.tab li a{
	display: block;
	background:#ddd;
	margin:0 2px;
	padding:10px 20px;
    color:#143046;

}
/*liにactiveクラスがついた時の形状*/
.tab li.active a{
	background:#fff;
  
}


/*エリアの表示非表示と形状*/
.area {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
	background: #fff;
	padding:50px 20px;
   
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    width: 70%;
   margin-left: 13%;
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;
    box-shadow: 0 0 8px gray;
}
.area h3{
    color: #c8412d;
}
@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
p{
    margin-left: 5%;
    color: #143046;
}
.sub{
    width: 100%;
    display: flex;
}
.sub1{
    width: 50%;
}
.sub2{
    width: 30%;
    margin-left: 20%;
}
.sub img{
    width: 70%;
}
aside {
    width: 80%;
    background-color:#f0e6b4;
    justify-content: center;
  color: #143046;
margin-left: 10%;
}

aside img {
    width: 100%;
}

aside h2 {
    width: 100%;
  text-align: left;
}

.aside1 {
    width: 100%;
    display: flex;
}

.aside1 h3 {
    width: 30%;
}

.aside1 h4 {
    width: 70%;
    text-align: left;
    margin-left: 5%;
}

.aside2 {
    width: 100%;
    display: flex;
    flex-direction: row-reverse 
}

.aside2 h3 {
    width: 30%;
}

.aside2 h4 {
    width: 70%;
    text-align: left;
    margin-left: 5%;
}

.aside3 {
    width: 100%;
    display: flex;
}

.aside3 h3 {
    width: 30%;
}

.aside3 h4 {
    width: 70%;
    text-align: left;
    margin-left: 5%;
}

.aside4 {
    width: 100%;
    display: flex;
    flex-direction: row-reverse 
}

.aside4 h3 {
    width: 30%;
}

.aside4 img {
    width: 100%;
}

.aside4 h4 {
    width: 70%;
    text-align: left;
    margin-left: 5%;
}
.aside5{
    width: 100%;
    display: flex;
    }
    .aside5 h3{
        width: 30%;
    }
    .aside5 h4{
        width: 70%;
        text-align: left;
        margin-left: 5%;
    }
    .aside6{
        width: 100%;
        display: flex;
        flex-direction: row-reverse 
        }
        .aside6 h3{
            width: 30%;
        }
        .aside6 h4{
            width: 70%;
            text-align: left;
            margin-left: 5%;
        }
            .a1{
                width: 100%;
                font-size: 24px;
            }
  
footer {
    width: 100%;
    background-color: #143046;
    color: #f0e6b4;
    text-align: center;
}
.footer1{
    width: 100%;
    color: #c8412d;
}
.footer1 h2{
    width: 100%;
    margin-left: 2%;
    color: #c8412d;
}
.footer1 li{
    width: 100%;
    list-style: none;
}
.footer2{
    width: 100%;
    color: #143046;
    background-color:#c8412d ;
}

    /* PCcss////////////////////////////////////////////////////////////////////////// */
}

/* ipadサイズレスポンシブ////////////////////////////////////////////////////////////////////////////////// */

/*ipadサイズレスポンシブ*/
@media(min-width:600px) and (max-width:999px) {
    body {
        background-color:#f0e6b4;
        min-width: 600px;
        max-width: 999px;
    }

.container {
    width: 100%;
    background-color:#f0e6b4;
    justify-content: center;
    text-align: center;
    color: #000000;
} 

#g-nav li{
    display:none;
        }
        
header {
    width: 100%;
    height: 120px;
    display: flex;
    color: #143046;

}
a{
    color: #f0e6b4;
    text-decoration: none;
}
header h1 {
    width: 10%;
margin-left: 2%;

}
header img{
    width: 100%;
}
header h2{
    width: 50%;
    font-size: 18px;
    margin: auto;
    margin-left: 3%;
}
header ul {
    width: 35%;
    display: flex;
margin: auto;
    font-size: 14px;
    margin-top: 6%;
}
/*==================================================
共通　横並びのための設定
===================================*/

.gnavi{
    display: flex;
    /* margin:0 0 50px 0; */
    list-style: none;
}

.gnavi li a{
    display: block;
    /* padding:10px 30px; */
    text-decoration: none;
    color:#143046;
}

.gnavi li{
    margin-bottom:20px;
}

/*===================================
　5-3-1 中心から外に線が伸びる（下部）
===================================*/

.gnavi li a{
    /*線の基点とするためrelativeを指定*/
	position: relative;
}

.gnavi li.current a,
.gnavi li a:hover{
	color:#c8412d;
}

header li {
    margin-right: 5%;
    list-style: none;
}
.gnavi li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left: 10%;
    /*線の形状*/
    width: 80%;
    height: 2px;
    background:#c8412d;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: center top;/*上部中央基点*/
}

/*現在地とhoverの設定*/
.gnavi li.current a::after,
.gnavi li a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}
.top {
    width: 100%;
height: 220px;
    background-image: url(../img/topnew.png);
}
.top h2{
    margin-left: 60%;
  padding-top: 11%;
  color: #ffffff;
  font-size: 18px;
}

main {
    width: 80%;
    text-align: left;
    background-color:#f0e6b4;
    color: #143046;
    justify-content: center;
    margin-left: 10%;
}

.main1 {
    width: 100%;
    color: #143046;
}
h2{
    color: #143046;
}
main a{
    color: #c8412d;
 margin-left: 70%;
}
main h3 {
    width: 100%;
    font-size: 32px;
    color: #143046;
}

.main2 {
    width: 80%;
color: #143046;
margin-left: 10%;
}

/*tabの形状*/
.tab{
	display: flex;
	flex-wrap: wrap;
    list-style: none;
}
.tab li a{
	display: block;
	background:#ddd;
	margin:0 2px;
	padding:10px 20px;
    color: #143046;
}
/*liにactiveクラスがついた時の形状*/
.tab li.active a{
	background:#fff;
}


/*エリアの表示非表示と形状*/
.area {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
	background: #fff;
	padding:50px 20px;
}
/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    width: 70%;
   margin-left: 13%;
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;
    box-shadow: 0 0 8px gray;
}
.area h3{
    color: #c8412d;
}
@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
p{
    margin-left: 5%;
}
.sub{
    width: 100%;
    display: flex;
}
.sub1{
    width: 50%;
}
.sub2{
    width: 30%;
    margin-left: 20%;
}
.sub img{
    width: 70%;
}

aside {
    width: 80%;
    background-color:#f0e6b4;
    justify-content: center;
  color: #143046;
margin-left: 10%;
}

aside img {
    width: 100%;
}

aside h2 {
    width: 50%;
  text-align: left;
    font-size: 32px;
}

.aside1 {
    width: 100%;
    display: flex;
}

.aside1 h3 {
    width: 30%;
}

.aside1 h4 {
    width: 70%;
    text-align: left;
    margin-left: 5%;
}

.aside2 {
    width: 100%;
    display: flex;
    flex-direction: row-reverse 
}

.aside2 h3 {
    width: 30%;
}

.aside2 h4 {
    width: 70%;
    text-align: left;
    margin-left: 5%;
}

.aside3 {
    width: 100%;
    display: flex;
}

.aside3 h3 {
    width: 30%;
}

.aside3 h4 {
    width: 70%;
    text-align: left;
    margin-left: 5%;
}

.aside4 {
    width: 100%;
    display: flex;
    flex-direction: row-reverse 
}

.aside4 h3 {
    width: 30%;
}

.aside4 img {
    width: 100%;
}

.aside4 h4 {
    width: 70%;
    text-align: left;
    margin-left: 5%;
}
.aside5{
    width: 100%;
    display: flex;
    }
    .aside5 h3{
        width: 30%;
    }
    .aside5 h4{
        width: 70%;
        text-align: left;
        margin-left: 5%;
    }
    .aside6{
        width: 100%;
        display: flex;
        flex-direction: row-reverse 
        }
        .aside6 h3{
            width: 30%;
        }
        .aside6 h4{
            width: 70%;
            text-align: left;
            margin-left: 5%;
        }
            .a1{
                width: 100%;
                font-size: 24px;
            }
  
footer {
    width: 100%;
    background-color: #143046;
    color: #f0e6b4;
    text-align: center;
}
.footer1{
    width: 100%;
    color: #c8412d;
}
.footer1 h2{
    width: 100%;
    margin-left: 2%;
    color: #c8412d;
}
.footer1 li{
    width: 100%;
    list-style: none;
}
.footer2{
    width: 100%;
    color: #143046;
    background-color:#c8412d ;
}
/*ipadcss///////////////////////////////////////////////////////////////////////////*/
}

/*SPサイズレスポンシブ/////////////////////////////////////////////////////////////////////*/

/*SPサイズレスポンシブ*/
@media(max-width:599px) {
    body {
        max-width: 599px;
        background-color:#f0e6b4;
    }

    .container {
        width: 100%;
        background-color:#f0e6b4;
        justify-content: center;
        text-align: center;
        color: #000000;
    }

/*========= ナビゲーションのためのCSS ===============*/

/*アクティブになったエリア*/
#g-nav.panelactive{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
	top: 0;
	width:100%;
    height: 100vh;
}

/*丸の拡大*/
.circle-bg{
    position: fixed;
	z-index:3;
    /*丸の形*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #c8412d;
    /*丸のスタート位置と形状*/
	transform: scale(0);/*scaleをはじめは0に*/
	right:-50px;
    top:-50px;
    transition: all .6s;/*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive{
	transform: scale(50);/*クラスが付与されたらscaleを拡大*/
}

/*ナビゲーションの縦スクロール*/
#g-nav-list{
    display: none;/*はじめは表示なし*/
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list{
     display: block; /*クラスが付与されたら出現*/
}

/*ナビゲーション*/
#g-nav ul {
	opacity: 0;/*はじめは透過0*/
    /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:45%;
    transform: translate(-50%,-50%);
}

/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
    opacity:1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive ul li{
animation-name:gnaviAnime;
animation-duration:1s;
animation-delay:.2s;/*0.2 秒遅らせて出現*/
animation-fill-mode:forwards;
opacity:0;
}
@keyframes gnaviAnime{
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}


/*リストのレイアウト設定*/
#g-nav li{
	text-align: center; 
	list-style: none;
}

#g-nav li a{
	color: #f0e6b4;
	text-decoration: none;
    margin-top: 10%;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}


/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
	top:10px;
	right: 10px;
	z-index: 9999;/*ボタンを最前面に*/
	cursor: pointer;
    width: 70px;
    height:70px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    color: #143046;
	background-color: #143046;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:30px;	
}

.openbtn span:nth-of-type(2) {
	top:40px;
}

.openbtn span:nth-of-type(3) {
	top:50px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

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

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

header {

    width: 100%;
    height: 100px;
    display: flex;
    color: #143046;
}
a{
    color: #f0e6b4;
    text-decoration: none;
}
header h1 {
    width: 18%;
}
header img{
    width: 100%;
}
header h2{
    width: 60%;
    font-size: 20px;
 margin-left: 5%;
}
header ul {
   display: none;
}

header li {
    margin-right: 5%;
    list-style: none;
}

.top {
    width: 100%;
    height: 100px;
    margin-top: 2%;
padding-top: 6%;
    background-image: url(../img/topnew.png);
    background-size: cover;
    color: #ffffff;
    font-size: x-small;

}
.top h2{
    margin-top: 5%;
   color: #ffffff;
}
main {
    width: 80%;
    background-color:#f0e6b4;
    color: #143046;
    justify-content: center;
    margin-left: 10%;
 
}
.main1{
    width: 100%;
}

h2 {
color: #143046;
}
.main a{
color: #c8412d;
}
main h3{
    width: 100%;
}
/*tabの形状*/
.tab{
    width: 90%;
	flex-wrap: wrap;
    list-style: none;
display: flex;
    font-size: xx-small;
}

.tab li a{
display:block;
	background:#ddd;
	margin:1px;
	padding:10px 20px;
    color: #143046;
}
/*liにactiveクラスがついた時の形状*/
.tab li.active a{
	background:#fff;
}


/*エリアの表示非表示と形状*/
.area {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
	background: #fff;
	padding:0px 20px;
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    width: 85%;
    margin-left: 2%;
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;
    box-shadow: 0 0 8px gray;
}
.area h3{
    color: #c8412d;
    text-align: left;
 margin-top: 0%;
}
.area p{
    text-align: left;
}
.area a{
    color: #c8412d;
    margin-left: 40%;
}

@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
p{
    margin-left: 5%;
}
.sub{
    width: 100%;
    display: flex;
}
.sub1{
    width: 100%;
}
.sub2{
    width: 30%;
    margin-left: 20%;
}
.sub img{
    width: 100%;
}

aside {
    width: 80%;
    background-color:#f0e6b4;
    justify-content: center;
  color: #143046;
margin-left: 10%;
}

aside img {
    width: 100%;
}

aside h2 {
    width: 100%;
  text-align: left;
    font-size: 32px;
}

.aside1 {
    width: 100%;
    display: flex;
}

h3 {
    width: 30%;
    margin-top: 20%;
}

.aside1 h4 {
    width: 70%;
    text-align: left;
    margin-left: 5%;
}

.aside2 {
    width: 100%;
    display: flex;
    flex-direction: row-reverse 
}

.aside2 h3 {
    width: 30%;
}

.aside2 h4 {
    width: 70%;
    text-align: left;
    margin-left: 5%;
}

.aside3 {
    width: 100%;
    display: flex;
}

.aside3 h3 {
    width: 30%;
}

.aside3 h4 {
    width: 70%;
    text-align: left;
    margin-left: 5%;
}

.aside4 {
    width: 100%;
    display: flex;
    flex-direction: row-reverse 
}

.aside4 h3 {
    width: 30%;
}

.aside4 img {
    width: 100%;
}

.aside4 h4 {
    width: 70%;
    text-align: left;
    margin-left: 5%;
}
.aside5{
    width: 100%;
    display: flex;
    }
    .aside5 h3{
        width: 30%;
    }
    .aside5 h4{
        width: 70%;
        text-align: left;
        margin-left: 5%;
    }
    .aside6{
        width: 100%;
        display: flex;
        flex-direction: row-reverse 
        }
        .aside6 h3{
            width: 30%;
        }
        .aside6 h4{
            width: 70%;
            text-align: left;
            margin-left: 5%;
        }
      
        
            .a1{
                width: 100%;
                font-size: 24px;
            }
  
footer {
    width: 100%;
    background-color: #143046;
    color: #f0e6b4;
    text-align: center;
}
.footer1{
    width: 100%;
    color: #c8412d;
}
.footer1 h2{
    color: #c8412d;
    width: 100%;
    margin-left: 2%;
}
.footer1 li{
    width: 100%;
    list-style: none;
}
.footer2{
    width: 100%;
    color:#143046;
    background-color:#c8412d ;
}
    /*spcss //////////////////////////////////////////////////////////////////////////*/
}
