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

body {
	font-family:'TsukuARdGothicStd-R', sans-serif;
	width:100%;
	height: 100%;
	background: #644D3F;
}

h1 {
	font-family:'TsukuARdGothicStd-B', sans-serif;
	font-size: 54px;
	line-height: 2.3em;
	color: #fff;
	text-align: center;
}

h2 {
	font-family:'TsukuARdGothicStd-B', sans-serif;
	font-size:30px;
	text-align: center;
	width: 90%;
	max-width: 1000px;
	margin: 100px auto 30px;
	padding-bottom:17px;
	border-bottom:1px solid #fff;
}

h3 {
	font-family:'TsukuARdGothicStd-B', sans-serif;
	display: block;
	font-size: 28px;
	color: #fff;
	text-align: center;
	margin:50px auto 80px;
	line-height: 2.5em;
}

h4 {
	font-family:'TsukuARdGothicStd-B', sans-serif;
	display: block;
	font-size: 22px;
	color:#123845;
	text-align: center;
	margin:20px auto;
}

p {
	line-height: 1.9em;
}

p.bold {
	font-family:'TsukuARdGothicStd-B', sans-serif;
	font-size:18px;
	line-height: 2.5em;
	text-align: center;
	margin: 20px auto 10px;
}

strong {
	color:#FCEE21;
}

a {
	text-decoration: none;
	padding:2px 10px;
	transition: 1.0s ;
	color:#123845;
	opacity: 0.8;
}

a:hover {
	opacity: 1.0;
}
ul {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	list-style: none;
	
}

li {
	padding: 0;
}

ul.nav {
	width:95%;
	margin: 0px auto;
	font-family:'TsukuARdGothicStd-B', sans-serif;
	font-size:18px;
	justify-content: flex-end;
	position: absolute;
	top:130px;
	right:80px;

	
}

#menu {
	display: none;
}

ul.nav.fixed{
	width:100%;
	padding:20px 0;
    position: fixed;
    top: 0;
	right:0px;
	background: rgba(255,255,255,0.8);
		z-index: 100;
}

ul.nav.none{
	display: none;
}

ul.nav li {
	margin-right:30px; 
}

ul.nav li a:hover::before {
	font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f0da';
  color: #123845;
	padding-right:5px;
}
#sejutsu ul.nav li.sejutsu a::before {
	font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f0da';
  font-size: 18px;
  color: #123845;
	padding-right:5px;
}

#sejutsu ul.nav li.sejutsu a:hover::before {
	font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f0da';
  font-size: 18px;
  color: #123845;
	padding-right:5px;
}

#traffic ul.nav li.traffic a::before {
	font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f0da';
  font-size: 18px;
  color: #123845;
	padding-right:5px;
}

#traffic ul.nav li.traffic a:hover::before {
	font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f0da';
  font-size: 18px;
  color: #123845;
	padding-right:5px;
}

.flex {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}

header {
	font-family: 'UDKakugo_SmallPr6-EL', sans-serif;
	width: 100%;
	height: 100vh;
	margin: 0 auto;
	padding: 0;
	background: url("../img/woodback.jpg") repeat;
	background-position: center center;
	background-size:100%;
	font-size:10px;
}

.info {
	width:90%;
	margin:0px auto;
	padding-top:30px;
	display:flex;
	justify-content: flex-start;
	flex-wrap:wrap;
}

.inforight{
	display:flex;
	justify-content: space-around;
	flex-wrap:wrap;
	font-family: FOT_DNPShueiGoKinStd-L,sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size:12px;
		margin-left: auto;
}
.infoup {
	font-size:10px;
	color:#123845;
}

.telno {
	width:auto;
	height:45px;
	background:#fff;
	padding:5px 20px;
	border:3px solid #123845;
	border-radius:8px;
}

p.tel {
	font-family: interstate-mono, monospace;
font-weight: 400;
font-style: normal;
	font-size:30px;
	line-height:0.7em;
}

.logo {
	width:400px;
	max-width:90%;
	margin:20px auto;
	height:100px;
	background: url(../img/logomain.png) no-repeat center center;
	background-size:contain;
	font-size:0px;
}

.main {
	width:80%;
	height:500px;
	min-height:20vh;
max-height:50vh;
	margin:0 auto;
	background: url("../img/main.png") no-repeat top center;
	background-size: contain;
	
}

#sejutsu .main {
	width:100%;
	height:80vh;
	max-height: 85vh;
	min-height: 85vh;
	margin:30px auto 0;
	background: url("../img/heade02.jpg") no-repeat bottom center;
	background-size: cover;
	position: relative;
	
}


#traffic .main {
	width:100%;
	height:80vh;
	max-height: 85vh;
	min-height: 85vh;
	margin:30px auto 0;
	background: url("../img/header03.jpg") no-repeat bottom center;
	background-size: cover;
	position: relative;
	
}

.main h1 {
	position: absolute;
	bottom:30px;
	left:0;
	right:0;
	letter-spacing: 0.4em;
	
}

#main p, #main2 p{
		font-size:18px;
}

p.onegai {
	font-family:'TsukuARdGothicStd-B', sans-serif;
	display: block;
	width:1000px;
	max-width:80%;
	font-size:13px;
	padding:10px 20px;
	border: 3px solid #123845;
	color:#123845;
	margin: 0 auto;
	border-radius: 10px;
}

#main {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
	max-width: 1250px;
	height:auto;
	min-height: 90vh;
	background: url("../img/flower1.png")no-repeat;
		background-position: center 50px;
	background-size: 50px ;
	margin: 0px auto;
	padding:120px 0 50px;
		color:#fff;
}

#main h4 {
	color:#fff;
	border-bottom: 1px solid #fff;
	padding-bottom:60px;
	font-size:20px;
}

#main p {
	padding-top:30px;
}

#main .mainmenu {
	width:48%;
	min-width: 300px;
	margin: 100px auto;
}

ul.topmenu {
	margin: 150px 0 0;
	justify-content:center;
	padding: 0;
}

ul.topmenu li a{
	display: block;
	width:180px;
	height:210px;
	font-size: 0px;
	margin-top: -40px;
	position: relative;
	
}

ul.topmenu li a img {
	position: absolute;
	top:0;
	bottom:0;
	right:0;
	left:0;
	width:90%;
	
}

.insta {
	width:40%;
	min-width: 300px;
	min-height: 80vh;
	padding-top:100px;
	margin: 0 auto;
}

.iswg-base {
	background: none!important;
	border: none!important;
}

.iswg-images-item {
	width:100%!important;
}

#main .insta h4 {
	border: none;
	padding-bottom:20px;
}

#container {
	width: 100%;
	height: 90vh;
	background: url("../img/woodback2.jpg") no-repeat center center;
	background-size: cover;
	position: relative;
}

.border {
	width:100%;
	height:175px;
	position: absolute;
	top:40%;
	bottom:50%;
	background-color: #123845;
	background: url("../img/leaf.png") no-repeat #123845;
	background-position: 5% center;
	background-size: 30px;
}

.border h4 {
	color: #fff;
	text-align: left;
	padding-left:8%;
	padding-top:30px;
	font-size:24px;
}

.border p {
	color: #fff;
	text-align: left;
	padding-left:8%;
}

.board {
	width:50%;
	height:500px;
	min-width: 300px;
	margin: 0 auto;
	background: url("../img/kokuban.jpg")no-repeat right center;
	background-size: contain;
	position: absolute;
	top:24vh;
	right:10%;
	font-size:0px;
		border-radius: 20px;
}

#main2 {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
	max-width: 1250px;
	height:auto;
	min-height: 90vh;
	background: url("../img/flower2.png")no-repeat;
		background-position: center 50px;
	background-size: 50px ;
	margin: 0px auto;
	padding:180px 0 50px;
		color:#fff;
}

#main2 p {
	width:90%;
	line-height: 2.5em;
	margin: 0 auto 100px;
} 

.contain {
	width:90%;
	height: auto;
	margin: 0 auto;
	text-align: center;
	overflow: hidden;
}

.contain p {
	line-height: 2.5em;
	width: 90%;
	margin: 0 auto;
	background: url("../img/border.png")repeat-x bottom center;
	background-size: 50%;
	padding-bottom: 70px;
	text-align: left;
}

#sejutsu h2, #traffic h2 {
	font-family:'TsukuARdGothicStd-B', sans-serif;
	font-size:30px;
	text-align: center;
	width: 90%;
	max-width: 1000px;
	margin: 100px auto 100px;
	padding-bottom:0;
	border-bottom:none;
	line-height: 2.0em;
}

#sejutsu h3, #traffic h3 {
	font-family:'TsukuARdGothicStd-B', sans-serif;
	display:inline-block;
	font-size: 24px;
	color: #fff;
	text-align: center;
	margin:30px auto ;
	line-height: 2.5em;
	border-bottom: 1px solid #fff;
	
}

.naiyou{
	width:90%;
	height:auto;
	margin: 50px auto;
	flex-wrap: nowrap;
}

.naiyou .image {
	width:250px;
	height:220px;
	position: relative;
	margin-bottom:250px;
}

#main .naiyou .image h4 {
	letter-spacing: 0.3em;
	border: none;
	position: absolute;
		top:220px;
	left:0;
	right:0;
}

.naiyou .image p {
	
	position: absolute;
	top:250px;
	left:0;
	right:0;
	
}

.soudan {
	width:100%;
	height:30vh;
	max-height:300px;
	background: url("../img/2x/bengoshi.png")no-repeat top center;
	background-size:contain;
	font-size:0px;
}

footer {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	font-family: 'UDKakugo_SmallPr6-EL';
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 0;
	background: url("../img/woodback.jpg") repeat;
	background-position: center center;
	background-size:100%;
	font-size:14px;
}

.footer-in {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width:95%;
	max-width: 1200px;
	margin: 100px auto;
}

.left {
	width:40%;
	min-width:300px;
	margin:0 auto;
	 color: #123845;
}

#access {
		width:100%;
	min-width:300px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin:0 auto;
}
footer .image {
	width:170px;
	height:120px;
	position: relative;
	margin: 20px auto;
	margin-bottom: 20px;
}

.image img {
	width:100%;
	height:100%;
	position: absolute;
	top:auto;
	bottom:auto;
	left:auto;
	right:auto;
	border-radius:10px;
}

p.footerlogo {
	width:260px;
	height:70px;
	background: url("../img/logo02.png") no-repeat center center;
	background-size:contain;
	font-size: 0px;
	margin: 20px;
}

p.schedule {
	display: block;
	width:100%;
	min-width:300px;
	height:170px;
	background:url("../img/hyo.png")no-repeat center center;
	background-size: contain;
	margin: 20px auto;
	font-size: 0px;
}

footer p.tel {
	font-size: 36px;
	margin-top: 15px;
}

.center{
	width:20%;
	min-width:200px;
	margin:0 auto;
}

.right {
		width:30%;
	min-width:300px;
	margin:25px auto;
	 color: #123845;
}

.righttel a {
	width:187px;
	height:300px;
	position: fixed;
	right:0;
	top:40%;
	bottom:auto;
	background: url("../img/tel02.png") no-repeat;
	background-size: contain;
	padding:0;
}

.righttel a p {
	display: block;
	width:48px;
	font-family: interstate-mono, monospace;
font-weight: 400;
font-style: normal;
	font-size:20px;
	line-height:1.8em;
	color:#fff;
	position: absolute;
	top:130px;
	right:40px;
	
}

.righttel a:hover {
	top:38%;
	right:0;
}

.righttel p a{
	color:#fff;
	
}

#page_top{
  width: 60px;
  height: 60px;
  position: fixed;
  right: 30px;
  bottom: 0;
  opacity: 0.8;
}
#page_top a{
  width: 60px;
  height: 60px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f139';
  font-size: 50px;
  color: #123845;
}


@media screen and (max-width:1300px){
	header {
	width: 100%;
	height: auto;
		min-height: 100vh;
		padding-bottom: 20px ;
}
.main {
	width:80%;
	height:400px;
	min-height:20vh;
	max-height:40vh;
	margin:0 auto;
	background: url("../img/main.png") no-repeat top center;
	background-size: contain;
	
}
	
	#sejutsu header, #traffic header {
		padding-bottom: 0px ;
				min-height: auto;
	}
}
	
	@media screen and (max-width:480px){
		
		ul.nav {
			display: none;
		}
		
		/****メニュー全体****/
#menu{
	/*配置*/
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 100;
}

/****メニュー開閉ボタン****/
#menu div{
	/*デザイン*/
	width: 30px;
	height: 30px;
	background: rgba(18,56,69,0.9);
	/*配置*/
	overflow: hidden;
	position: absolute;
	right: 0;
}

#menu .menuopen{
	/*デザイン*/
	color: rgba(255,255,255,1);
	font-size: 20px;
	/*配置*/
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: auto;
}
		
#menu .menuopen span {
  position: absolute;
  left: 5px;
  width: 20px;
  height: 3px;
  background-color: #fff;
  border-radius: 4px;
	margin: 0 auto;
}
#menu .menuopen span:nth-of-type(1) {
  top: 5px;
}
#menu .menuopen span:nth-of-type(2) {
  top: 13px;
}
#menu .menuopen span:nth-of-type(3) {
  bottom: 10px;
}

#menu .menuclose{
	/*デザイン*/
	color: rgba(255,255,255,1);
	font-size: 20px;
	/*配置*/
	display: none;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: auto;
}

/****メニュー一覧****/
#menu ul{
	/*デザイン*/
	background: rgba(18,56,69,0.9);
	width: 100%;
	/*配置*/
	position: absolute;
	top: 30px;/*#menu divの高さ*/
	right: 0;
	display: none;
}

#menu li{
	/*デザイン*/
	padding: 20px;
	color: rgba(255,255,255,1);
	border-bottom: 1px rgba(255,255,255,1) solid;
	/*配置*/
	pointer-events: auto;
}

/****メニューオープン時****/
#menu:target .menuopen{
	/*配置*/
	display: none;
}

#menu:target .menuclose{
	/*配置*/
	display: block;
}

#menu:target ul{
	/*配置*/
	display: block;
}
		#menu li a {
			color: rgba(255,255,255,1);
			font-size:20px;
		}

		
		h1 {
			font-size:30px;
		}
		
		h2, h3,h4 {
			text-align: left;
			max-width: 95%;
			line-height: 2.0em;
			font-size:22px;
			margin: 0 auto;
		}
		
	
	header {
	width: 100%;
	height: auto;
	min-height: 100vh;
	padding-bottom: 20px ;
}
		#sejutsu header, #traffic header {
		padding-bottom: 0px ;
	}
	.main {
	width:90%;
	height:200px;
	margin:0 auto;
	background: url("../img/main.png") no-repeat top center;
	background-size: contain;
	
}
		
#sejutsu .main, #traffic .main  {
height:220px;
max-height: 220px;
	min-height: 220px;
		}
		
	.border {
	width:100%;
	height:175px;
	position: absolute;
	top:50%;
	bottom:50%;
	background-color: #123845;
	background: url("../img/leaf.png") no-repeat #123845;
	background-position: 5% center;
	background-size: 20px;
}
		
.border h4 {
	color: #fff;
	text-align: left;
	padding-left:15%;
	padding-top:40px;
	font-size: 20px;
	line-height: 1.5em;
}

.border p {
	color: #fff;
	text-align: left;
	padding-left:15%;
}

.board {
	width:90%;
	height:400px;
	min-width: 300px;
	margin: 0px auto;
	background: url("../img/kokuban.jpg")no-repeat;
	background-size: contain;
	position: relative;
	right:auto;
	top:30px;
	font-size:0px;
	border-radius: 10px;
}
		
		.naiyou .image:first-child {
	width:250px;
	height:220px;
	position: relative;
	margin-bottom:300px;
}
		
		.righttel {
			display: none;
		}
		
		#sejutsu .flex {
	flex-wrap: wrap;
			height:auto;
}
		
		#main .naiyou .image h4 {
	text-align: center;
}
		
		#page_top{
  width: 40px;
  height: 40px;
  position: fixed;
  right: 10px;
  bottom: 0;
  opacity: 0.8;
}
		
		#page_top a{
  width: 40px;
  height: 40px;
  text-decoration: none;
}
		
		#page_top a::before{ 
  font-size: 30px;
}

}
