@charset "utf-8";


/* == common == */

html,
body {
    color: #3e4e5e;
    background-color: #f5f5f5;
    font-size: 1em;
    line-height: 1.8em;
    font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif, "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", sans-serif;

}


ul li {
    list-style: disc inside;
}

ol li {

    list-style: decimal inside;
}

/* == wrapper == */

#wrapper {

    width: 100%;
    background-color: #f5f5f5;
}


/* == ヘッダー == */

#h_fixed {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 10;
}


#header {

    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    border-bottom: solid #c5c5c5 1px;
}


#header #logo {
    background-color: #f2d903;
    width: 23%;
    float: left;
    min-height: 38px;
}

.logo {
  color:#fff;
}

@media screen and (max-width:1020px) {
    #header #logo {
        width: 40%;
    }
}


@media screen and (max-width:750px) {
    #header #logo {
        width: 80%;
    }
}


#header #logo img {
    width: 90%;
}

/* == ナビ == */

#navi {

    background-color: #c5c5c5;
}


#navi ul {
    width: 80%;
    margin: 0 auto;
    border-left: 1px solid #fff;
}

@media screen and (max-width:1020px) {
    #navi ul {
        width: 100%;
    }
}


#navi ul li {
    list-style-type: none;
    float: left;
    padding: 15px 25px;
    font-weight: bold;
    border-right: 1px solid #fff;
    white-space: nowrap;
    width:130px;
    text-align: center;


}

#navi ul a li:first-child {
    border-left:1px solid #fff;
}

#navi ul li:hover {
    background-color: #8c9fb2;
    color: #fff;
}

@media screen and (max-width:750px) {

#navi ul li{
    padding:12px 25px;
    text-align: left;;
}

#navi ul li:hover {
    background-color: #fff;
    color: #3e4e5e;
}
    }


#navi ul li a {
    text-decoration: none;
    letter-spacing: 1.0;

    color:#fff;
}

@media screen and (max-width:750px) {
#navi ul li a {
    color:#3e4e5e;
    }
}

@media screen and (max-width:750px) {
#navi ul li .megamenu ul li {
    display: none;
    padding-left:10%;
    }
}

#navi ul li a:hover{
    color:#3e4e5e;
}


/* == ハンバーガーメニュー == */

#navToggle {
    display: none;
    /*通常時は非表示にしておきます*/
    position: absolute;
    /*bodyに対しての絶対位置指定です*/
    right: 4%;
    top: 16%;
    width: 10%;
    height: 10%;
    cursor: pointer;
}


@media screen and (max-width: 480px) {

#navToggle {
    top: 13%;
}
		}

#navToggle div {
    position: relative
}


/*spanの絶対位置指定の親にします*/

#navToggle span {
    display: block;
    position: absolute;
    /*#navToggle div に対して*/
    width: 100%;
    border-bottom: solid 5px #999;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out
}


#navToggle span:nth-child(1) {
    top: 0
}

#navToggle span:nth-child(2) {
    top: 17px
}

#navToggle span:nth-child(3) {
    top: 34px
}



@media screen and (max-width: 480px) {

#navToggle span:nth-child(1) {
    top: 0
}

#navToggle span:nth-child(2) {
    top: 11px
}

#navToggle span:nth-child(3) {
    top: 22px
}

	}

/*メガメニュー*/


.gnav-wrapper {
background: #5e5e5e;
position: relative;
}

.gnav {
display: flex;
}

@media screen and (max-width:720px) {
.gnav{
    display: block;
}
}


.gnav li {
padding: 18px 0;
transition: all .3s ease-in-out;
/*background: red;*/
}

@media screen and (max-width:750px) {

.gnavi{
    height: 100%;
    overflow-y: scroll;
}
.gnavi li:a{
    width: 100%;
}
    }

.gnav li:a{
    width: 100%;


}

.gnav li:hover {
background: #3e3e3e;
border: none;
}


.gnav > li:hover .megamenu {
max-height: 9999px;
opacity: 1;
padding: 15px 0;
}

@media screen and (max-width:750px) {
.gnav > li:hover .megamenu {
padding:0;
}


    }


.megamenu {
background: #8c9fb2;
max-height: 0;
opacity: 0;
overflow: hidden;
width: 60%;
line-height: 1.0;
position: absolute;
top: 100%;
left: 10%;
transition: all .2s ease-in;
z-index: 999;
}

@media screen and (max-width: 750px) {

.megamenu{
    display: none;
}
    }

.button{
    display: none;
}

@media screen and (max-width: 750px) {
.button{
    display: inline-block;
    width:25%;
    color:#ccc;
    text-align: center;
}

}

.triangle{
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-top: 20px solid #ccc;
}

.openM{
    display: block;
    background: rgba(255, 255, 255, .9);
}


@media screen and (max-width: 750px) {
#navi ul li div{
 width: 100%;
 top:25%;
 left:0;
 right:10%;
}

#navi ul li div.sp_howto{
 top:40%;
}
}

.megamenu-inner {
display: flex;
flex-wrap: wrap;
}

#navi ul li .megamenu ul li{
    border:none;
    font-size: 0.9em;
}

#navi ul li .megamenu ul li:hover{
    text-decoration: underline;


}

/*header footer*/

@media screen and (max-width: 750px) {
    /*header menu*/
    /*nav要素は絶対位置指定にして、ビューの外側に置いて見えなくします。
　　nav の中の ul li は横並びを解除して縦組みにレイアウトし直します。*/
    #header #navi {
        position: absolute;
        /*bodyに対しての絶対位置*/
        right: 0;
        top: -420px;
        /*通常時はビュー外*/
        background: rgba(255, 255, 255, .9);
        width: 100%;
        padding: 0 10px;
        -webkit-transition: .5s ease-in-out;
        /*transitionで動きを*/
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        text-align: left;

    }

    #header #navi ul {
        margin: 0
    }

    #header #navi ul li {
        display: block;
        margin: 0;
        border-bottom: dotted 1px #fff;
        line-height:0.8;
        width:100%;
        border-top: 1px dotted #6E6E6E;

    }
    #header #navi ul li a {
        display: inline-block;
        width: 75%;
        font-size: 14px;

    }

    #header #navi ul li ul li{
    border-top:dotted 1px #fff;
    }

    #header #navi ul li::after {
        content: ''
    }
    #header #navi ul li:last-child {
        border-bottom: none;
        width:100%;
        border-bottom: 1px solid #ccc;
    }
    /* Toggle(Button) */
    /*display:noneだったボタンを display:blockにして表示します*/
    #navToggle {
        display: block;

    }
    /* Click Toggle(Button) */
    /*ここから jQueryで header要素に付けた「.openNav」を利用します*/
    /*.openNavが付いた要素内のボタン（#navToggle）内のspanへの指定*/
    /*最初のspanをマイナス45度に*/
    .openNav #navToggle span:nth-child(1) {
        top: 15px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg)
    }
    /*2番目と3番目のspanを45度に*/
    .openNav #navToggle span:nth-child(2),
    .openNav #navToggle span:nth-child(3) {
        top: 15px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg)
    }
    /*header menu*/
    /*.openNavが付いた要素の中のnavを 縦方向に移動（=表示される）*/
    .openNav #navi {
        -moz-transform: translateY(500px);
        -webkit-transform: translateY(500px);
        transform: translateY(500px)
    }
}

@media screen and (max-width: 480px) {

    .openNav #navToggle span:nth-child(1),
    .openNav #navToggle span:nth-child(2),
    .openNav #navToggle span:nth-child(3) {
        top: 11px;
    }

    .openNav #navi {
        -moz-transform: translateY(470px);
        -webkit-transform: translateY(470px);
        transform: translateY(470px)
    }

	}



/* == #header_contents == */

#header_contents {
    width: 80%;
    margin: 0 auto;
    position: relative;
    min-height: 35px;
}

@media screen and (max-width:1020px) {
    #header_contents {
        width: 90%;
        margin: 0 auto;
    }
}



@media screen and (max-width:750px) {
    #header_contents {
        width: 100%;
    }
}

@media screen and (max-width:750px) {

    #header .pr_page {
        background-color: #f2d903;
    }
}


#header_contents p {

    float: right;
    padding-right: 50px;
    padding-top: 1%;
}

#header_contents p a {
    text-decoration: none;
    color: #808080;
}


@media screen and (max-width:750px) {
    #header_contents p {
        padding-top: 0;
        display: block;
        clear: both;
        width: 100%;
        border-top: 1px solid #ccc;
        width: 100%;
        margin: 0 auto;
        text-align: center;
        padding: 5px;
        font-size: 90%;
        background-color: #fff;
    }
}

@media screen and (max-width:750px) {
    #header_contents p a {
        text-decoration: none;
    }
}


#header_navi li {
    display: inline;
    padding: 0 1%;
    text-align: center;
    width: 100%;
    vertical-align: middle;
}

@media screen and (max-width:750px) {
    #header_navi li {

        padding: 5px 0;
    }
}


#header_contents #header_navi li a {
    text-decoration: none;
    color: #808080;
    font-size: 90%;
}


@media screen and (max-width:750px) {
    #header_contents #header_navi li a {
        font-size: 80%;
    }
}


/* == コンテナ == */

#container {
    width: 80%;
    margin: 140px auto 0;
    border-radius: 5px;
    position: relative;
}


#container2 {
    /*プライバシーポリシー等4P用*/
    width: 80%;
    margin: 90px auto 0;
    border-radius: 5px;
    min-height: 800px;
    position: relative;
}


@media screen and (max-width:1020px) {

    #container,
    #container2 {
        width: 90%;
    }
}

@media screen and (max-width:1020px) {

    #container {
        margin-top: 120px;
    }
}

@media screen and (max-width:1020px) {

    #container2 {
        margin-top: 70px;
    }
}

@media screen and (max-width:750px) {
    #container {
        margin-top: 10%;
        width: 97%;
        margin-top: 10%;
    }
}

@media screen and (max-width:750px) {
    #container2 {
        margin-top: 10%;
        width: 97%;
    }
}



/* == サイドバー == */

#side_bar {

    width: 17%;
    margin: 8px 1% 0;
    float: left;
    position: fixed;
    top:140px;
    bottom:30;
  overflow-y: scroll;

}


@media screen and (max-width:750px) {
    #side_bar {
        /*width:95%;*/
        display: none;
    }
}


#side_bar #cate_title ul li {
    display: block;
    padding: 3% 2%;
    line-height: 1.4;
}

#side_bar #cate_title ul .bar_title a:link{
    font-size: 1.0em;
}

@media screen and (max-width:750px) {
    #side_bar #cate_title ul li {
        border-bottom: 1px solid #ccc;
    }
}

#side_bar #cate_title ul li a:link {
    text-decoration: none;
    font-size: 12px;
}

#side_bar #cate_title ul li:first-child {

    color: #fff;
    font-weight: bold;
    font-size: 18px;
    background-color: #8c9fb2;
    text-align: center;
    ;
    padding: 4% 2%;
    margin-bottom: 2%;
    border-radius: 5px 5px 0 0;
}

.bar_title{

    font-weight: bold;
    font-size:0.9em;
    border-bottom: dashed 1px #ccc;
    margin-top: 15px;
}


#side_bar #side_banner {
    margin: 10% auto 8%;
    width: 90%;
    display: none;
}


#side_bar #side_banner img {
    width: 100%;
    padding-bottom: 10%;
}

/*ページトップ*/
#page_top{
  width: 80px;
  height: 80px;
  position: fixed;
  right: 2%;
  bottom: 4%;
  background: #c5c5c5;
  opacity: 0.6;
  border-radius: 50%;
}

#page_top a{
  position: relative;
  display: block;
  width: 80px;
  height: 80px;
  text-decoration: none;
}

#page_top a::before{
  font-family: FontAwesome;
  content: '\f102';
  font-size: 40px;
  color: #fff;
  position: absolute;
  width: 40px;
  height: 40px;
  top: 10;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

@media screen and (max-width:750px) {

#page_top{
    background: transparent;
}

#page_top a{
    display: none;
    }
}

/* == アコーディオン == */
.ac-box{

}

/*ラベル*/
.ac-box label{

font-weight: bold;
position: relative;
display: block;
cursor: pointer;
transition: all 0.5s;
text-decoration: underline;
}

/*ラベルホバー時*/
.ac-box label:hover{
-webkit-transition: all .3s;
transition: all .3s;
}

/*チェックを隠す*/
.ac-box input{
display: none;
}

/*チェックのアイコン（↓）*/
.ac-box label:after{
font-family:"FontAwesome";
content:" \f078";
}

/*チェックのアイコン（↑）*/
.ac-box input:checked ~ label::after {
font-family:"FontAwesome";
content:" \f077";
}

/*中身を非表示にしておく*/
.ac-box div{
height: 0px;
padding: 0px;
overflow: hidden;
opacity: 0;
transition: 0.5s;
}

/*クリックで中身を表示*/
.ac-box input:checked ~ div{
height: auto;
padding: 5px;
opacity: 1;
}

/*表示内容の調整*/
.ac-box div p{

text-align: justify;
}

.ac-small p{
margin-bottom: 0px;
}



/* ------------------------------------------------------ */


/* == main_contents == */

#main_contents {

    width: 75%;
    float: right;
    margin-bottom: 50px;
}


@media screen and (max-width:750px) {
    #main_contents {
        width: 100%;
        margin-top: 70px;
    }
}


/* == contents_box == */

#contents_box {

    width: 100%;
    margin: 8px 1% 0;
    float: right;
    background-color: #fff;
    padding-bottom: 3%;
    min-height: 700px;
}

@media screen and (max-width:750px) {
    #contents_box {

        width: 98%;
        min-height:300px;
        margin-top:0;
    }
}

#contents_box .article,
#contents_box div,
#contents_box p,
#contents_box ul,
#contents_box ol {
    margin: 2% 3%;
}

#contents_box .article p{

    margin:2% 0%;
}

@media screen and (max-width:750px) {
    #contents_box .article,
    #contents_box div,
    #contents_box p,
    #contents_box ul,
    #contents_box ol {

        margin: 3% 5%;
    }
}

#contents_box div ul,
#contents_box div ol {
    margin: 2% 0 0 3%;

}

@media screen and (max-width:750px) {

#contents_box div ul,
#contents_box div ol {
    margin: 2% 0 0 8%;

}

    }


#contents_box div ul li,
#contents_box div ol li{

    text-indent:-1.2em;
}





/* == footer == */

#footer {
    clear: both;
    background-color: #3e4e5e;
    color: #fff;
    padding: 5px;
    height: 30px;
    position: relative;
}



@media screen and (max-width:750px) {

    #footer {
        padding: 0;
        min-height: 60px;
        position: relative;
    }
}


#footer ul {

    margin: 0 auto;
    float: right;
    padding: 1px 0;
    width: 650px;
    position: absolute;
    right: 170px;
}


#footer p {
    float: right;
    background-color: #3e4e5e;
    font-size: 12px;
    padding-right: 30px;
}

#footer ul li {
    display: inline-block;
    border-right: solid 1px #D3D3D3;
    padding: 0 2%;
    font-size: 80%;
    background-color: #3e4e5e;
}

@media screen and (max-width:750px) {

    #footer ul {
        width: 100%;
        text-align: left;
        background-color: #3e4e5e;
        position: static;
    }

    #footer ul li {
        margin: 3px 0;
        font-size: 60%;
    }

    #footer p {
        width: 100%;
        text-align: center;
        border-top: solid 1px #fff;
        padding-right: 0;
    }
}

#footer ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 100%;
}




/* == タグ == */

h1 {
    background-color: #3e4e5e;
    margin-bottom: 25px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 2%;
    border-radius: 5px 5px 0 0;
    letter-spacing: 1.0;
}

@media screen and (max-width:750px) {

h1{
     padding-left:3%;

}
    }

h2 {
    font-size: 16px;
    font-weight: bold;
    border-bottom: 2px dotted #3e4e5e;
    margin: 4% 3% 2%;
    padding-left: 10px;
}

h2.t_h2{
    font-size: 18px;
    text-align: center;
    font-weight: bold;
    border-bottom:none;
    margin: 6% 3% 0%;
}

.page_cate{
    font-size: 18px;
    color:#block;
    border-bottom:4px  solid #3e4e5e;;
    margin: 5% 2% 2%;
}


@media screen and (max-width:750px) {
h2{
    margin-top:7%;
     padding-left:3%;
}
    }

h3 {
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid #3e4e5e;
    margin: 4% 2% 2%;
}


h4 {
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid #cccccc;
    margin: 4% 2% 2%;
}

.contents_dl {
    margin: 3% 5%;
}

@media screen and (max-width:750px) {
    .contents_dl {
        margin: 5%;
    }
}

.contents_dl dd {
    display: inline-block;
    padding-bottom: 2%;
}

@media screen and (max-width:750px) {
    .contents_dl dd {

        padding-bottom: 5%;
    }
}



/* == clearfix == */

.clearfix {}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.clearfix div img{
    margin-top:10px;
}


/* == 装飾 == */

.b_solid {

    padding: 2%;
    border: solid 1px #a9a9a9;
}


/* == 文字 == */

.caution{
    font-size: 0.8em;
}


/* == img関係== */

.caption {
    font-size: 80%;
    margin-top: 1%;
    display: block;
    line-height: 1.8em;
}

.img_text{
	float: right;
	width:53%;
	margin: 2% 3%;
}

.article ol li{
    margin-left:2%;
	margin-bottom: 5px;
}

.img_text ol li,.img_text ul li{
    margin-left:4%;
    margin-bottom: 5px;
}


@media screen and (max-width:750px) {
.img_text{
	clear: both;
	width:95%;
	margin: 3% 5%;

	}
	}

@media screen and (max-width:750px) {
#contents_box .img_text p{
    margin: 3% 0 3% 2%;

}

}


.narrow_img {

    text-align: center;
}

.narrow_img span {
    text-align: left;
    margin: 1% auto;
}


:target:before {
    content: "";
    display: block;
    height: 150px;
    /* ヘッダの高さ = 50px */
    margin: -150px 0 0;
    /* ヘッダの高さ = 50px */
}


/**PP用**/
span.bold{
font-weight:bold;
}
.pp_table{
font-size: 16px;
width:auto;
border: solid 1px #ccc;
margin: 4% 3% 2%;
}

.pp_table .th_l{
width: 10%;
text-align: center;
background: #f3f3f4;
}

.pp_table .th_r{
width: 45%;
text-align: center;
background: #f3f3f4;
}
.pp_table .th_c{
width: 45%;
text-align: center;
background: #f3f3f4;
}

.pp_table th,td{
padding: 14px 20px;
border: solid 1px #ccc;
vertical-align: middle;
line-height: 1.6;
}

@media only screen and (max-width: 750px) {
.pp_table{
font-size: 13px;
}
.pp_table th,td{
padding: 10px 8px;
}
.pp_table .th_r{
width: 45%;
text-align: center;
background: #f3f3f4;
}
.pp_table .th_c{
width: 45%;
text-align: center;
background: #f3f3f4;
}

}