@charset "UTF-8";

*{
    margin: 0;
    padding: 0;
}


/* 基本設定： フォントサイズ */
@media (max-width: 599px) {
	:root {
		font-size: 14px;
	}
}

@media (min-width: 600px) and (max-width: 799px) {
	:root {
		font-size: 16px;
	}
}

@media (min-width: 800px) {
	:root {
		font-size: 18px;
	}
}

body {font-size: 16px;}



/* 基本設定： ページ全体 */
body {
	margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}


/* コンテンツA： ヒーローイメージ */
.conA {
	display: flex;
	align-items: center;
	justify-content: center;
	/*height: 90vh;*/
	min-height: 300px;
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url(img/main.jpg);
	background-position: center;
	background-size: cover;
	color: #fff;
	color: var(--text-bright-color);
	text-align: center;
    background-repeat: no-repeat;
}



/*トップ以外のヘッダー*/    

  .nohero .conA{
        height: 100px;
        min-height: 100px;
        margin-bottom: 10px;
       padding-top: 40px;
      
    }
    .nohero .conA h1{
        font-size: 20px;
    }
    
@media (min-width: 768px) {
    .nohero .conA{
        min-height: 200px;
        background-position: 0% 0%;
        margin-bottom: 50px;
        padding-top: 0;
    } 
    .nohero .conA h1{
        font-size: 26px;
    }
    }
    








/* コンテンツB：ボックス横並び */
.conB .container {
	padding-top: 40px;
	padding-bottom: 20px;
}

.conB .text {
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
	text-align: center;
}

.conB h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 20px;
}

.conB p {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
}

.conB a {
	color: #5D9AB2;
	color: var(--main-color);
	text-decoration: none;
}

.conB a:hover	{
	text-decoration: underline;
    opacity: 0.8;
}
.conB img{
    max-width: 100%;
}


@media print, screen and (min-width: 768px) {
	.conB .container {
		display: flex;
		max-width: 1000px;
		margin-left: auto;
		margin-right: auto;
        padding-top: 80px;
	padding-bottom: 20px;
	}

	.conB .text	{
		flex: 1;
        padding-bottom: 60px;
	
}

    
    
}


/* フッター上のナビボタン */

.conE{
    background-image: url("img/btn_back.jpg");
    /*background-attachment: fixed;*/
    background-size: cover;
    background-repeat: no-repeat;
}


.conE .container {
	padding-top: 40px;
	padding-bottom: 20px;
    		display: flex;
		max-width: 1000px;
		margin-left: auto;
		margin-right: auto;
    flex-wrap: wrap;
    justify-content: space-around;
}

.conE .text {
	padding: 0;
    margin-bottom: 1em;
	text-align: center;
    box-sizing: border-box;
    width: 48%;
}

.conE a{
    display: block;
    width: 100%;
    height: 100%;
    padding: 1em 0.5em ;
    box-sizing: border-box;
    /*border:1px solid #000;*/
    text-decoration: none;
    color:#000;
    border: 4px double #1868B3; /*太さ・線種・色*/
 border-radius: 1px; /*角の丸み*/
    background: #fff;
    font-weight: bold;
    transition :  all 0.1s ease 0s;
    font-size: 15px;
}


.conE a:hover{
    text-decoration: none;
 /*   border: 4px solid #1868B3;*/
    letter-spacing: 0.1em;
}


.conE .icon{
	width: 18px;
	height: auto;
	vertical-align: middle;
	padding-top:0px;
	margin-right: 6px;
}


@media print, screen and (min-width: 768px) {
    .conE .container{
        justify-content: space-around;
        padding-top: 60px;
    }
    
   .conE .text{
        width: 30%;
       margin-bottom: 2em;
    }
    
    .conE a{
        font-size: 22px;
        padding: 2em 0;
    }
    
.conE .icon{
	width: 22px;
	height: auto;
	vertical-align: middle;
	padding-top:4px;
	margin-right: 8px;
}    
    
    
    }
    
    


/* フッター */
footer {
	color: #fff;
	background-color:#0168b3;
}

footer .container {
	padding: 30px 20px;
}


@media print, screen and (min-width: 768px) {
	footer .container {
		display: flex;
		flex-wrap: wrap;
		max-width: 1000px;
		margin-left: auto;
		margin-right: auto;
        padding: 40px 20px;
	}

	.footA {
		flex: 0 0 40%;
	}

	.footB {
		flex: 0 0 60%;
	}

	.footC {
		flex: 0 0 100%;
	}
}


/* フッターA： サイト情報 */
.footA {
	margin-bottom: 30px;
}

.footA h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 26px;
    letter-spacing: 0.1em;
}

.footA h2 img{
    width: 120px;
    height: auto;
}


@media print, screen and (min-width: 768px){
 .footA h2 img{
    width: 150px;
    height: auto;
}   
}

/* フッターB： フッターメニュー */
.footB div {
	margin-bottom: 20px;
}

.footB h3 {
	margin-top: 0;
	margin-bottom: 10px;
	border-bottom: solid 1px currentColor;
	font-size: 14px;
}

.footB ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footB a {
	display: block;
	padding: 5px;
	color: inherit;
	font-size: 12px;
	text-decoration: none;
}

.footB a:hover {
	background-color: rgba(0,0,0,0.3);
}


@media print, screen and (min-width: 768px) {
    

    
	.footB {
		display: flex;
	}

	.footB div {
		flex: 1;
	}

	.footB div:not(:first-child) {
		margin-left: 40px;
	}
}


/* フッターC： コピーライト */
.footC {
	font-size: 12px;
	text-align: center;
	font-family: 'Montserrat', sans-serif;
}


/* ヘッダー */
header {
	/*position: absolute;*/
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	background-color: rgba(24,104,179,0.9);
    color: #fff;
    position: fixed;
}



/* ヘッダーA: サイト名 */
.headA {
	display: inline-block;
	/*line-height: 70px;*/
	padding-left: 20px;
	padding-right: 20px;
    padding-top: 4px;
    padding-bottom: 4px;
	font-size: 22px;
	text-decoration: none;
    color: #000;
}

.headA img{
    width: 130px;
    height: auto;
}


@media print, screen and (min-width: 768px){
    
    header{
        position: static;
    }
    
.headA {
    padding-top: 8px;
    padding-bottom: 0;
}    
    
    
    .headA img{
        width: 200px;
    }
}

/* ヘッダーB： ナビゲーションメニュー */
.headB ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.headB a {
	display: block;
	padding: 15px;
	/*color: inherit;*/
    color: #fff;
	font-size: 12px;
	text-decoration: none;
}

.headB a:hover {
	background-color: rgba(0,0,0,0.3);
}

@media print, screen and (min-width: 768px) {
	header .container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		max-width: 1100px;
		margin-left: auto;
		margin-right: auto;
	}
    


	.headB ul {
        max-width: 1000px;
       float: right;
		display: flex;
        /*justify-content: space-around;*/
        justify-content: flex-start;
        flex-wrap: wrap;
	}
    
    .headB a{
        display: block;
        font-size: 16px;
        font-weight: bold;
        padding: 15px 20px;
    }
    
.headB a:hover {
	background-color: inherit;
    opacity: 0.7;
}    
    
}


/* ヘッダーE： ナビゲーション上部 */

.headE{
    display: none;
}

@media print, screen and (min-width: 768px) {
    .headE ul{
        display: flex;
        justify-content: space-around;
        list-style: none;
        margin-right: 5px;
    }
    
    

    
.headE li{
   position: relative;
   padding-left: 15px;
  }
  
    
   .headE a{
    display: block;
	padding: 15px;
	color: inherit;
	font-size: 14px;
	text-decoration: none;
    position: relative;
    }
    

.headE a:before {
   content: "";
   position: absolute;
   top: 18px;
   left: -5px;
   width: 15px;
   height: 15px;
   border-top: 1px solid #1868B3;
   border-right: 1px solid #1868B3;
   border-radius: 50%;
   background-color: #f8c76c;
  }
 
.headE a:after {
   content: "";
   position: absolute;
   top: 24px;
   left: -1px;
   -webkit-transform: rotate(45deg);
   -ms-transform: rotate(45deg);
   transform: rotate(45deg);
   width: 4px;
   height: 4px;
   border-top: 1px solid #1868B3;
   border-right: 1px solid #1868B3;
  }      
    
    .headE a:hover{
        opacity: 0.7;
    }
    
}






/* ヘッダーC： トグルボタン */

@media (max-width: 767px) {
	/* 小さい画面用の設定 */
	header .container-small {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.headC {
		margin-right: 10px;
		padding: 0;
		border: none;
		outline: none;
		background: none;
		font-size: 28px;
		/*opacity: 0.5;*/
		cursor: pointer;
        color: #fff;
	}



	.headB {
		display: none;
	}
}

@media print, screen and (min-width: 768px) {
	/* 大きい画面用の設定 */
	.headC {
		display: none;
	}

	.headB {
		display: block !important;
	}
}



/* コンテンツページ: 記事 */
.post .container {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	padding: 30px 1em;
}

.post h1 {
	padding-left: 0.5rem;
	border-left: solid 0.75rem #BF6A7A;
	font-size: 2rem;
}

.post p {
	font-size:16px;
	line-height: 1.6;
}

.post img {
	max-width: 100%;
}






/*PCとスマホ表示入れ替え*/
.pc{
    display: none;
}

@media print, screen and (min-width: 960px) {

.pc{
    display: inline-block;
}
    
    .sm{
        display: none;
    }
    
    
}



.modoru{
	text-align: center;
	margin-bottom: 3em;
}

