@charset "utf-8";
/* CSS Document */
/*================================================
*  CSSリセット
================================================*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,main,menu,nav.gnav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;font-weight:normal;}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav.gnav,section{display:block}ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}

/*================================================
*  一般・共通設定
================================================*/
body {
	font-size: 16px;
	font-family: "メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
}

* {
	min-width: 0;
	min-height: 0;
	box-sizing: border-box;
}

img {
  image-rendering: -webkit-optimize-contrast;
  vertical-align: top;
}

.contents {
	width: 1000px;
	margin: 0 auto;
}
@media only screen and (max-width: 599px) {
	.contents {
		width: 100%;
		padding: 10px;
	}
}


/* pc sp表示切替 */
.pc { display: block !important;  }
.sp { display: none !important; }
@media only screen and (max-width: 999px) {
	.pc { display: none !important; }
	.sp { display: block !important; }
}

.pc640 { display: block !important;}
.sp640 { display: none !important; }
@media only screen and (max-width: 640px) {
	.pc640 { display: none !important; }
	.sp640 { display: block !important; }
}

/*================================================
 *  ヘッダー
 ================================================*/
/* ロゴ */

header h1 {
	margin: 1rem 0;
}

header h1 img {
	width:20%;
	height: auto;
}

@media only screen and (max-width: 599px) {
header h1 {
	margin: 0 0 0.8rem;
    padding-bottom: 0rem;
}

  header h1 img {
    width:40%;
    display: block;
    margin: 0 auto;
  }
}


/* 見出しとメッセージ */
.title {
    font-size: 1.4rem;
    width: 100%;
    position: relative;
    margin: 10px 0 30px;
    padding: 0.3em 0.4em 0.2em;
    background: -webkit-linear-gradient(to right,rgba(0,58,138,1.00), #478BD4);
    background: linear-gradient(to right, rgba(0,58,138,1.00), #478BD4);
    color: #fff;
    font-weight: bold;
    box-shadow: 0px 0px 0px 1px #004387;
    border: solid 1px #fff;
    line-height: 2.2rem;
}
.notfoundMSG{
    display: inline-flex;
}
.notfoundMSG div{
    padding: 1.2rem;
}
.notfoundMSG .ill {
    text-align: center;
}
.notfoundMSG .ill img{
    width: 60%;
}
@media screen and (max-width: 640px) {
    .title {
        font-size: 1.2rem;
        width: 100%;
        margin: 5px 0;
    }
    .notfoundMSG{
        flex-direction: column;
    }
    .notfoundMSG div{
        padding: 0.5rem;
    }
    .notfoundMSG .ill {
        padding: 0;
        margin: 0;
        width: 100%;
    }
    .notfoundMSG .ill img{
        width: 50%;
    }
}


/* ボタン */
.gohome{
    margin: 3rem 0;
}
.NFbtn{
    position: relative;
    display: flex;
    justify-content: center;
    padding: 0.5em 1em;
    text-decoration: none;
    color: #fff;
    background: #06c;
    border-radius: 4px;
    transition: .4s;
    margin: 0.5rem auto 5rem;
    width: 50%;
}

.NFbtn:hover {
    background-color: #008FFF;
    text-decoration: none;
}
.NFbtn:visited {
    color: #fff;
}
@media screen and (max-width: 640px) {
    .NFbtn{
    width: 90%;
    margin: 0.5rem auto;
    }
}


/*-------------------------
フッター
--------------------------*/
#footer{
    width: 100%;
	clear: both;
	padding-bottom: 30px;
	margin-top: 50px;
}

/*--フッター　PC --*/

#footer .fnavPC {
    font-size: 0.9em;
}
#footer .fnavPC > ul {
	display: flex;
	justify-content: center;
    flex-wrap: wrap;
}
#footer .fnavPC > ul li {
	text-align: center;
	margin: 0;
    padding:0 0.7rem;
}
#footer .fnavPC > ul li a {
	color: #111;
	text-decoration: none;
}
#footer .fnavPC > ul li a:hover {
	color: #F34B00;
}
#footer .fnavPC > ul li+ li {
    border-left: 1px solid #999;
}

.copyright {
	padding: 3rem 0;
	text-align: center;
    font-size: 80%;
}


/*-------------------------
フッター　640px以下
--------------------------*/
#footer .fnavSP {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex!important;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 1.4rem 0;
    margin-bottom: 1rem; 
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
}

#footer .fnavSP li {
    width: 50%;
    text-align: left;
    margin-bottom: 0.5rem;
    line-height: 120%;
    text-decoration: none;
}

#footer .fnavSP li a {
    color: #000;
    font-size: 0.8rem;
    font-weight: bold;
    text-decoration: none;
}

#footer .fnavSP li a::before {
  content: '';
  display: inline-block;
  background: url(https://www.nhk-cul.co.jp/sp/common2022/images/ico_arrow.png) no-repeat center/contain;
  background-size: 1.0rem auto;
  width: 1.0rem;
  height: 1.0rem;
  vertical-align: middle;
  margin-right: 0.25rem;
}

@media only screen and (min-width: 640px) {
    .fnavSP {
      display: none!important;
    }
}
@media screen and (max-width: 640px) {
    #footer{
        width: 100%;
    }
    .copyright {
	padding: 1rem 0;
    font-size: 70%;
}
}
