@charset "UTF-8";
/* CSS Document */

/*
Theme Name: syakyo70th3
Author: TokoroKagato
Description: This is my original theme.
Version: 1.0
*/

/*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,menu,nav,section,
summary,time,mark,audio,video {
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  border: 0;
  outline: 0;
  background: transparent;
}
 
body {
  line-height: 1;
}
 
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display: block;
}
 
nav ul {
  list-style: none;
}
 
blockquote,
q {
  quotes: none;
}
 
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
 
a {
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  background: transparent;
}
 
ins {
  text-decoration: none;
  color: #000;
  background-color: #ff9;
}
 
mark {
  font-weight: bold;
  font-style: italic;
  color: #000;
  background-color: #ff9;
}
 
del {
  text-decoration: line-through;
}
 
abbr[title],
dfn[title] {
  cursor: help;
  border-bottom: 1px dotted;
}
 
table {
  border-spacing: 0;
  border-collapse: collapse;
}
 
hr {
  display: block;
  height: 1px;
  margin: 1em 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #ccc;
}
	
/*サイト全体の基準となるCSSを記述*/
html {
  font-size: 16px;
}
 
body {
  /*フォントの指定*/
  font-family: 'メイリオ', 'Meiryo', 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'Noto Sans Japanese', Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  /*行間の指定*/
  line-height: 1.4;
  margin: 0;
  padding: 0;
  /*サイトのデフォルトとなる文字の色を指定*/
  color: #333;
}
 
/*見出しを全て太字で表示 + 文字色を黒に*/
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  color: #000;
}
 
img {
  max-width: 100%;
  height: auto;
}

/* ~~~~~~ここまで全てカスタムテーマ用の初期設定~~~~~~ */



/*　~~~~~~ハンバーガーメニューに関する設定~~~~~~ */

/* ハンバーガーメニューの位置 */
.menu-btn {
    position: fixed; /* 要素を画面の決まった位置に固定 この場合は右上 */
    top: 0px;
    right: 0px;
    display: flex;
    height: 75px;
    width: 75px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: rgba(28,78,152,1.00);
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';	/* 擬似要素 図形を入れるための仮想図形 */
    display: block;		
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}
#menu-btn-check {
    display: none;
}
.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}
.menu-content {
    width: 30%; /* ハンバーガーメニューの幅 */
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: rgba(28,78,152,1.00);
    transition: all 0.5s;/*アニメーション設定*/
}
#menu-btn-check:checked ~ .menu-content {
    left: 70%; /* メニューを画面内へ(幅と合わせて100%に調整する必要アリ) */
}

.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 70;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  transition: all .6s;
  cursor: pointer;
}

#menu-btn-check:checked ~ .black-bg {
  opacity: .8;
  visibility: visible;
}

/*　~~~~~~ハンバーガーメニューに関する設定ここで終わり~~~~~~ */

/* ~~~~~バナーに関する設定~~~~~ */
.container {
	display: flex;
	justify-content: center;
	padding-top: 40px;
}

.container2 {
	display: flex;
	justify-content: center;
	padding-bottom: 30px;
}

.banner {
	padding: 5px;
	margin: 5px;
	width: 300px;
	height: auto;
}

.banner:hover {
  opacity: 0.6;
  transition-duration: 0.3s;
}


p.newdate {
	text-align: center;
	background-color: azure;
	padding-top: 30px;
	padding-bottom: 30px;
}

/* ~~~~~youtubeに関する設定~~~~~ */
.youtube {
	display: block;
	padding-top: 10px;
	padding-bottom: 100px;
}

.youtube-position {
	margin-top: 50px;
	max-width: 560px;
	max-height: 315px;
	margin-left: auto;
	margin-right: auto;
}

.youtube-link {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	background-color: aqua;
}

.youtube-link iframe{
	position:absolute;
	top: 0;
 	right: 0;
	width: 100% ;
	height: 100% ;
}

/* ~~~~~youtubeに関する設定ここまで~~~~~ */


p.links {
	text-align: center;
	background-color: aliceblue;
	padding-top: 100px;
	padding-bottom: 100px;
}

p.footer {
	text-align: center;
	color: aliceblue;
	background-color: blue;
	padding-top: 100px;
	padding-bottom: 100px;
}

/* ~~~~~新着情報について~~~~~ */
.show-whatsnew {
	margin-top: 50px;
	margin-bottom: 50px;
	padding-left: 30%;
	padding-right: 30%;
}

/* ~~~~~ロゴについて~~~~~ */
.logo {
	height: 75px;
	background-color: rgba(28,78,152,1.00);
}

.logoimage {
	width: auto;
	height: 55px;
	padding-top: 10px;
	padding-left: 10px;
}

.mainlogoimage {
	position: absolute;
	margin-top: 4%;
	margin-left: 8%;
	z-index: 50;
	width: 20vw;
    height: auto;
}

h1 {
	margin-top: 50px;
	margin-bottom: 50px;
	font-size: 30px;
	text-align: center;
}

h2 {
	text-align: center;
}

h3 {
	margin-top: 50px;
	margin-bottom: 10px;
	text-align: center;
	color: rgba(28,78,152,1.00);
	font-size: 30px;
}

#content {
	border-style: solid;
	border-width: 3px;
	border-color: rgba(28,78,152,1.00);
	border-radius: 1px;
	padding-top: 30px;
	padding-bottom: 50px;
	padding-left: 5%;
	padding-right: 5%;
	margin-top: 50px;
	margin-bottom: 50px;
	margin-left: 5%;
	margin-right: 5%;
}

main {
	border-width: 10px;
	border-color: rgba(28,78,152,1.00);
	border-radius: 1px;
	margin-top: 50px;
	margin-bottom: 50px;
	padding-bottom: 50px;
	margin-left: 10%;
	margin-right: 10%;
	text-align: center;
}

.TopSlider {
	width: 100%;
	height: auto;
}

.border-line {
	content: '';	/* 擬似要素 図形を入れるための仮想図形 */
    display: block;		
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: rgba(28,78,152,1.00);
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
}

.border-line2 {
	position: absolute;
	content: '';	/* 擬似要素 図形を入れるための仮想図形 */
    display: block;		
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
	left: 0;
	right: 0;
	margin: auto;
}

.border-line3 {
	position: absolute;
	content: '';	/* 擬似要素 図形を入れるための仮想図形 */
    display: block;		
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
	left: 0;
	right: 0;
	margin: auto;
	top: 100px;
}

/* ~~~~~ご挨拶について~~~~~ */

.aisatu {
	position: relative;
	display: block;
	width: auto;
	background-color: rgba(28,78,152,1.00); 
	min-height: 500px;
	padding-bottom: 50px;
}

.aisatu h3 {	/* [ごあいさつ] */
	position: absolute;
	left: 50%;
    transform: translateX(-50%);
	color: #ffffff;
}

.president-container {
	padding-top: 125px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	margin-: 50px;
}

.president-photo {
	max-width: 250px;
	width: 30%;
	height: auto;
	padding: 30px;
}

.president-sentence {
	word-wrap: break-word;
	width: 40%;
	color: #ffffff;
	padding: 30px;
}

.president-text1 {
	text-align: left;
}

.president-text2 {
	text-align: right;
}


/* ~~~~~SNSリンク集~~~~~ */

.sns-links {
	background-color: rgba(28,78,152,1.00);
	padding-top: 40px;
	padding-bottom: 100px;
}

.sns-links h3 {
	color: #ffffff;
}

.container3 {
	display: flex;
	justify-content: center;
	padding-top: 40px;
}

.sns-banner {
	width: 20%;
	max-width: 200px;
	height: auto;
	margin: 10px;
}

.sns-banner:hover {
  opacity: 0.6;
  transition-duration: 0.3s;
}


/* ~~~~~footer情報~~~~~ */

.footer-container {
	position: relative;
	width: 100%;
	height: 360px;
}

.footer-text {
	position: absolute;
	display: block;
	margin-top: 40px;
	padding-bottom: 50px;
	left: 50%;
	transform: translateX(-50%);
	min-width: 300px;
}

.title {
	font-size: 25px;
	font-weight: bold;
	color: rgba(28,78,152,1.00);
}

.footer-inner {
	text-align: center;
	left: 0;
	right: 0;
	margin: auto;
	margin-top: 20px;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-bottom: 10px;
	background-color: rgba(28,78,152,1.00);
}

.copyright {
	color: white;
	font-size: 13px;
}

/* ~~~~~なーやページ~~~~~ */

.naaya_info {
	margin-top: 20px;
	margin-bottom: 5px;
}

.naaya_report {
	margin-top: 20px;
	color: rgba(28,78,152,1.00);
	font-size: 20px;
	font-weight: bold;
	text-align: center;
}

.wrap {
	overflow: hidden;
}

.wp-block-file {
	text-align: center;
}

.page-top {
	text-align: center;
	display: inline-block;
	width: 100%;
}

.page-top2 {
	text-align: center;
	display: inline-block;
	width: 100%;
}

.page-text {
	width: 70%;
	display: inline-block;
	text-align: left;
}

/* レスポンシブ：幅600px以下の場合　*/
@media (max-width: 600px) {
	
	.show-whatsnew {
		margin-top: 50px;
		margin-bottom: 50px;
		padding-left: 20%;
		padding-right: 20%;
	}
	
	.container {
		display: grid;
		padding-top: 40px;
	}

	.container2 {
		display: grid;
		padding-bottom: 30px;
	}
	
	.banner {
		padding: 5px;
		margin: 5px;
		width: 300px;
		height: auto;
	}
	
	.container3 {
		display: grid;
	}
	
	.menu-content {
   		 width: 70%; /* ハンバーガーメニューの幅 */
   		 height: 100%;
    	position: fixed;
    	top: 0;
    	left: 100%;/*leftの値を変更してメニューを画面外へ*/
    	z-index: 80;
    	background-color: rgba(28,78,152,1.00);
    	transition: all 0.5s;/*アニメーション設定*/
	}
	#menu-btn-check:checked ~ .menu-content {
    	left: 30%; /* メニューを画面内へ(幅と合わせて100%に調整する必要アリ) */
	}
	
	.president-container {
		padding-top: 125px;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	.president-photo {
		max-width: 300px;
		width: 70%;
		height: auto;
		padding: 30px;
	}

	.president-sentence {
		word-wrap: break-word;
		width: 70%;
		color: #ffffff;
		padding: 30px;
	}

	.president-text1 {
		text-align: left;
	}

	.president-text2 {
		text-align: right;
	}
	
	.container3 {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding-top: 40px;
	}
	
	.sns-banner {
		width: 50%;
		max-width: 200px;
		height: auto;
		margin: 10px;
}
}