@charset "UTF-8";

/* --------------------共通設定-------------------- */

.top{vertical-align: top ;}

.middle{vertical-align: middle ;}

.resize img{ width: 90% ; }

.Space{margin-right: 10px ;}

.Space2{margin-left: 10px ;}

.Space3{
margin-top: 50px ;
margin-bottom: 30px ;
}

.Space4{padding: 10px ;}

.Space5{padding-right: 22px ;}

.Space6{padding-right: 10px ;}

.Space7{
margin-top: 40px ;
margin-bottom: 20px ;
}

.Space8{padding-top: 10px ;}

.Space9{padding-left: 120px ;}

.Space10{padding-left: 40px ;}

.Space7{
margin-top: 60px ;
margin-bottom: 40px ;
}

.Waku{
background-color: #ec7070 ;
font-weight: bold ;
font-size: 1.4rem ;
text-align: left ;
vertical-align: middle ;
}

.Waku2{
background-color: #ec7070 ;
font-weight: bold ;
font-size: 1.4rem ;
text-align: right ;
vertical-align: middle ;
}

.Waku3{
background-color: #ec7070 ;
font-weight: bold ;
font-size: 90% ;
text-align: left ;
vertical-align: middle ;
}

.Waku4{
background-color: #ec7070 ;
font-weight: bold ;
font-size: 90% ;
text-align: right ;
vertical-align: middle ;
}



/* --------------------スマホ設定-------------------- */

@media screen and (width <= 560px) {



/* ヘッダー設定 */
Header-PC{display: none ;}
Header-TB{display: none ;}

Header-SP{
display: block ;
position: fixed ; /* ヘッダーを固定する */
top: 0 ; /* 上部から配置の基準位置を決める */
left: 0 ; /* 左から配置の基準位置を決める */
width: 100% ; /* ヘッダーの横幅を指定する */
height: 40px ; /* ヘッダーの高さを指定する */
padding: 0px ; /* ヘッダー内側の余白を指定する(上下左右) */
background-color: #000000 ; /* ヘッダーの背景色を指定する */
text-align: center ;
vertical-align: middle ;
z-index: 1000 ;
}

.Johei-SP{
padding: 5px ;
text-align: left ;
}

nav.globalMenuSp {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background: #3c3c3c;
    color: #ffffff;
    text-align: center;
    transform: translateY(-100%);
    transition: all 0.4s;
    width: 100%;
}

nav.globalMenuSp ul {
    background: #ec7070;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

nav.globalMenuSp ul li {
    font-size: 1.1em;
    list-style-type: none;
    padding: 0;
    width: 100%;
    border-bottom: 1px dotted #3c3c3c;
}

/* 最後はラインを描かない */
nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

nav.globalMenuSp ul li a {
    display: block;
    font-weight: bold; 
    color: #ffffff;
    padding: 1em 0;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
    transform: translateY(0%);
}

.navToggle {
    display: block;
    position: fixed;    /* bodyに対しての絶対位置指定 */
    right: 12px;
    top: 0px;
    width: 42px;
    height: 51px;
    cursor: pointer;
    z-index: 3;
    text-align: center;
}

.navToggle span {
    display: block;
    position: absolute;    /* .navToggleに対して */
    width: 30px;
    border-bottom: solid 3px #fff;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    left: 6px;
}

.navToggle span:nth-child(1) {
    top: 9px;
}

.navToggle span:nth-child(2) {
    top: 18px;
}

.navToggle span:nth-child(3) {
    top: 27px;
}


/* 最初のspanをマイナス45度に */
.navToggle.active span:nth-child(1) {
    top: 18px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.navToggle.active span:nth-child(2),
.navToggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}



/* ボディ設定 */
Body{
position: static ;
background-color: #15202b ;
background-image: none ;
background-repeat: repeat-y ;
background-attachment: fixed ;
background-position: left top ;
color: #ffffff ;
margin: 0 ;
display: flex ;
flex-flow: column ;
min-height: 100vh ;
font-size: 70% ;
overflow-x: hidden ;
}

/* スマホ用イラスト表示 */
.Illust_PC{display: none ;}
.Illust_TB{display: none ;}
.Illust-SP{display: block ;}

/* スマホ用テーブル表示 */
.Table-PC{display: none ;}
.Table-TB{display: none ;}
.Table-SP{display: block ;}



/* フッター設定 */
Footer{
position: fixed ; /* フッターを固定する */
bottom : 0px ; /* 下部から配置の基準位置を決める */
left: 0px ; /* 左から配置の基準位置を決める */
width: 100% ; /* フッターの横幅を指定する */
height: 36px ; /* フッターの高さを指定する */
padding: 5px ; /* フッター内側の余白を指定する(上下左右) */
background-color: #000000 ; /* フッターの背景色を指定する */
color: #ffffff ; /* フッターのフォントの色を指定する */
text-align: center ; /* 左右中央揃え */
vertical-align: middle ; /* 上下中央揃え */
z-index: 500 ;
}

.Footer-PC{display: none ;}
.Footer-TB{display: none ;}
.Footer-SP{
display: block ;
font-size: 90% ;
}



}



/* --------------------タブレット設定-------------------- */

@media screen and (561px <= width <= 960px) {



/* ヘッダー設定 */
Header-PC{display: none ;}
Header-SP{display: none ;}

Header-TB{
display: block ;
position: fixed ; /* ヘッダーを固定する */
top: 0 ; /* 上部から配置の基準位置を決める */
left: 0 ; /* 左から配置の基準位置を決める */
width: 100% ; /* ヘッダーの横幅を指定する */
height: 20px ; /* ヘッダーの高さを指定する */
padding: 15px ; /* ヘッダー内側の余白を指定する(上下左右) */
background-color: #000000 ; /* ヘッダーの背景色を指定する */
text-align: center ;
vertical-align: middle ;
z-index: 1000 ;
}

.Johei-TB{
padding: 5px ;
text-align: left ;
}



/* ボディ設定 */
body{
background-image: url("BG_IJP_01.png") ;
background-repeat: repeat-x ;
background-attachment: fixed ;
color: #ffffff ;
margin: 0 ;
display: flex ;
flex-flow: column ;
min-height: 100vh ;
overflow-x: hidden ;
}

Main{flex: 1 ;}

/* タブレット用イラスト表示 */
.Illust-PC{display: none ;}
.Illust-TB{display: block ;}
.Illust-SP{display: none ;}

/* タブレット用テーブル表示 */
.Table-PC{display: none ;}
.Table-TB{display: block ;}
.Table-SP{display: none ;}



nav{
text-align: center ;
vertical-align: middle ;
}

nav ul{
margin: 0 ;
padding: 0 ;
}

nav li{
list-style: none ;
display: inline-block ;
width: 15% ;
min-width: 110px ;
}

nav li:not(:last-child){border-right: 2px solid #ddd ;}

nav a{
text-decoration: none ;
color: #fff ;
}

nav a.current{
color: #000000 ;
border-bottom: 2px solid #000000 ;
}

nav a:hover{
color: #7b7b7b ;
border-bottom: 2px solid #7b7b7b ;
}

/* PAGE TOPボタン タブレット用 */
.PTB{display: block ;}

/* PAGE TOPボタン追加 */
/*ボタンを固定する位置を決める*/
#page-top {
    position: fixed;
    bottom: 60px;
    right: 20px;
    font-size: 80%;
}

/*ボタンの色やサイズを設定する*/
#page-top a {
    display: block;
    background: #666;
    color: #fff;
    width: 100px;
    padding: 25px 0;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
}

/*マウスオーバーした際に色を変化させる*/
#page-top a:hover {
    background: #999;
    text-decoration: none;
}



/* フッター設定 */
Footer{
position: fixed ; /* フッターを固定する */
bottom : 0px ; /* 下部から配置の基準位置を決める */
left: 0px ; /* 左から配置の基準位置を決める */
width: 100% ; /* フッターの横幅を指定する */
height: 74px ; /* フッターの高さを指定する */
padding: 4px ; /* フッター内側の余白を指定する(上下左右) */
background-color: #000000 ; /* フッターの背景色を指定する */
color: #ffffff ; /* フッターのフォントの色を指定する */
vertical-align: middle ; /* 上下中央揃え */
z-index: 500 ;
}

.Footer-PC{display: none ;}
.Footer-TB{display: block ;}
.Footer-SP{display: none ;}



}



/* --------------------ＰＣ設定-------------------- */

@media screen and (961px <= width) {



/* ヘッダー設定 */
Header-PC{
display: block ;
position: fixed ; /* ヘッダーを固定する */
top: 0 ; /* 上部から配置の基準位置を決める */
left: 0 ; /* 左から配置の基準位置を決める */
width: 100% ; /* ヘッダーの横幅を指定する */
height: 20px ; /* ヘッダーの高さを指定する */
padding: 15px ; /* ヘッダー内側の余白を指定する(上下左右) */
background-color: #000000 ; /* ヘッダーの背景色を指定する */
text-align: center ;
vertical-align: middle ;
z-index: 1000 ;
}

Header-TB{display: none ;}
Header-SP{display: none ;}



/* ボディ設定 */
body{
background-image: url("BG_IJP_01.png") ;
background-repeat: repeat-x ;
background-attachment: fixed ;
color: #ffffff ;
margin: 0 ;
display: flex ;
flex-flow: column ;
min-height: 100vh ;
overflow-x: hidden ;
}

Main{flex: 1 ;}

/* ＰＣ用イラスト表示 */
.Illust-PC{display: block ;}
.Illust-TB{display: none ;}
.Illust-SP{display: none ;}

/* ＰＣ用テーブル表示 */
.Table-PC{display: block ;}
.Table-TB{display: none ;}
.Table-SP{display: none ;}

/* 画像hover設定 */
.active_img{
 width: 1020px ; /* サイズがサンプルなので適時変更してください */
 height: 170px ; /* サイズがサンプルなので適時変更してください */
 margin: 0 auto ; /* サンプルで中央に寄せたいので書かせていただいております */
 overflow: hidden ; /* これを記述することではみ出た部分を非表示にします */
}

.active_img img{
filter:
grayscale(100%)
brightness(50%) ;
transition:0.2s all;
}
.active_img img:hover{
filter:
grayscale(0%)
brightness(100%) ;
transition:0.2s all;
}



nav{
text-align: center ;
vertical-align: middle ;
}

nav ul{
margin: 0 ;
padding: 0 ;
}

nav li{
list-style: none ;
display: inline-block ;
width: 15% ;
min-width: 110px ;
}

nav li:not(:last-child){border-right: 2px solid #ddd ;}

nav a{
text-decoration: none ;
color: #fff ;
}

nav a.current{
color: #000000 ;
border-bottom: 2px solid #000000 ;
}

nav a:hover{
color: #7b7b7b ;
border-bottom: 2px solid #7b7b7b ;
}



/* PAGE TOPボタン PC用 */
.PTB{display: block ;}

/* PAGE TOPボタン追加 */
/*ボタンを固定する位置を決める*/
#page-top {
    position: fixed;
    bottom: 60px;
    right: 20px;
    font-size: 80%;
}

/*ボタンの色やサイズを設定する*/
#page-top a {
    display: block;
    background: #666;
    color: #fff;
    width: 100px;
    padding: 25px 0;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
}

/*マウスオーバーした際に色を変化させる*/
#page-top a:hover {
    background: #999;
    text-decoration: none;
}



/* フッター設定 */
Footer{
bottom : 0px ; /* 上部から配置の基準位置を決める */
left: 0px ; /* 左から配置の基準位置を決める */
width: 100% ; /* フッターの横幅を指定する */
height: 66px ; /* フッターの高さを指定する */
padding: 10px ; /* フッター内側の余白を指定する(上下左右) */
background-color: #000000 ; /* フッターの背景色を指定する */
color: #ffffff ; /* フッターのフォントの色を指定する */
text-align: center ; /* 左右中央揃え */
vertical-align: middle ; /* 上下中央揃え */
z-index: 500 ;
}

.Footer-PC{display: block ;}
.Footer-TB{display: none ;}
.Footer-SP{display: none ;}



}