@charset "UTF-8";

/*
Theme Name: ポータルサイト テーマ
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 
Tested up to: 
Requires PHP: 
Version: 
License: 
License URI: 
Text Domain: 
Tags: 
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;200;300;400;500;600;700;900&family=Sonsie+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+2:wght@100..900&display=swap');

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");


body {
	margin:0;
	padding:0;
	font-family: 'Noto Sans JP', sans-serif;
/*	font-family: 'BIZ UDPGothic', sans-serif; */
	font-size:17px;
	line-height:1.4;
	color:#222;
	background:#fff;
	overflow-y:scroll;
}

nav {
	margin: 0;
	padding: 0;
}

p {
	display:inline;
	margin:0;
	padding:0;
}

img {
	pointer-events:none;
	max-width:100%;
}

input::placeholder,
textarea::placeholder {
	color:#ccc !important;
}

.dnone {
	display:none;
}

.textindent {
	text-indent:-1em;
	padding-left:1em;
}

.font-bold {
	font-weight:bold;
}

.font-eb {
	font-family: "EB Garamond", serif;
}

/*menubar
---------------------------------------------------------------------------*/
#menubar {
	position:fixed;
	top:0;
	left:-100vw;
	width: 100%;
	height: 100%;
	z-index: 100;
	overflow: auto;
	padding: 0;
	text-align: center;
	opacity:0;
	transition: 0.3s;
}

#menubar.db {
	left: 0px;
	opacity:1;
	background: rgba(0,20,40,0.8);
	color: #fff;
}

#menubar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#menubar a {
	display:block;
	text-align:left;
	color: #fff;
	padding: 15px 0 15px 15px;
	border-bottom:1px solid #444;
	transition: 0.3s;
}

#menubar ul ul a {
	padding: 15px 0 15px 35px;
}

#menubar ul ul a:before {
	font: var(--fa-font-solid);
	content:"\f105";
	margin-right:0.5em;
}

#menubar a:hover {
	background-color:rgba(120,120,120,0.8);
	text-decoration:none;
}

/*３本バーアイコン
---------------------------------------------------------------------------*/
#menubar_hdr {
	position: absolute;
	z-index: 200;
	cursor: pointer;
	right: 0;
	top: 0;
	padding: 16px 14px;
	width: 50px;
	height: 50px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	order: 0;
	background: rgba(0,0,0,0.5);
}

#menubar_hdr span {
	display: block;
	transition: 0.3s;
	border-top: 2px solid #fff;
}

#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;
	width: 26px;
}

#menubar_hdr.ham span:nth-of-type(1){
	transform: rotate(45deg) translate(6px, 6px);
}

#menubar_hdr.ham span:nth-of-type(3){
	transform: rotate(-45deg) translate(6px, -6px);
}

#menubar_hdr.ham span:nth-of-type(2){
	opacity:0;
}



#main {
	background-color:#fff;
	min-height: calc(100svh - 400px);
}

/* ---  #HEADER -----------------------------------------------------------------------*/
#header {
	position:fixed;
	display:flex;
	align-items:center;
	justify-content:space-between;
	top:0;
	left:0;
	width:100%;
	height:60px;
	min-width:1200px;
	padding:5px 10px 5px 70px;
	background-color:#fff;
	z-index:10;
}

#header .header-flex {
	flex:1;
}

#header .headerlogoimg {
	max-width:280px;
	max-height:55px;
}


/* ---  #MENU -------------------------------------------------------------------------*/
#menu {
	padding:10px 20px 0 10px;
}

#menu ul {
	display:flex;
	list-style:none;
	margin:0;
	padding:0;
}

#menu ul li {
	position:relative;
	margin:0 5px;
}

#menu ul li a {
	position:relative;
	display:block;
	padding:0 10px;
	text-align:center;
	white-space:nowrap;
	font-size:0.9em;
	color:#333;
	font-weight:700;
	transition: all 0.5s;
}

#menu ul li a:hover {
	text-decoration:none;
}

#menu ul ul {
	display:none;
	position:absolute;
	top:100%;
	left:50%;
	list-style:none;
	margin:0;
	margin-left:-125px;
	padding:0;
	width:250px;
	z-index:10;
}

#menu ul ul li {
	display:block;
	margin:0;
	padding:0;
}

#menu ul ul li a {
	display:block;
	text-align:center;
	white-space:nowrap;
	padding:10px 20px;
	color:#333;
	border-bottom:1px solid #aaa;
	background-color:#ddd;
	transition: all 0.4s;
}

#menu ul li > a.menu::after {
	content:'';
	position:absolute;
	left:0;
	bottom:-2px;
	margin-left:10px;
	width: calc(100% - 20px);
	height:2px;
	background-color:rgba(255,255,255,0);
	transform: scale(0.5,1);
	transform-origin: center top;
	transition: all 0.5s;
}

#menu ul li > a.menu:hover {
	color:#000;
}

#menu ul li > a.menu:hover::after {
	background-color:rgba(255,255,255,1);
	transform: scale(1, 1);
}

#menu ul ul li a:hover {
	color:#000;
	background-color:#eee;
}

#menu ul li:hover > ul {
	display:block;
	animation: menuanim 0.5s ease 0s;
	opacity:1;
}

.menu-icon {
	font-size:9vw;
}

@keyframes menuanim {
	0% {
		margin-top:-10px;
		opacity:0;
	}
	100% {
		margin-top:0;
		opacity:1;
	}
}


/* --- icatch ------------------------------------------------------------------------ */
.icatch {
	position:relative;
	padding-top:65px;
	width:100%;
	height:400px;
	overflow:hidden;
	background-color:#eee;
}

.top-icatch {
	min-height:300px;
	max-height:100svh;
	width:100%;
	height: auto;
	aspect-ratio:5 / 2;
	padding-top:65px;
	overflow:hidden;
}

.top-header-img {
	position:absolute;
	top:0;
	left:0;
}

.top-header-img img {
	width:100%;
	object-fit:cover;
	object-position: center bottom;
}

.header-img {
	position:absolute;
	top:65px;
	left:0;
	width:100%;
	height:335px;
}

.header-img-bg {
	position:fixed;
	top:65px;
	width:100%;
	height:335px;
	z-index:-1;
}

.header-img img {
	width:100%;
	object-fit:cover;
	object-position: 50% 50%;
}

.header-waku {
	display:flex;
	align-items:center;
	position:absolute;
	top:120px;
	left:50%;
	margin-left:-600px;
	width:1200px;
}

.header-bg-green {
	position:fixed;
	top:65px;
	left:0;
	margin-left:-300px;
	width:100%;
	height:400px;
	background-image: linear-gradient(110deg, rgba(39,144,35,0.8), rgba(39,144,35,0.8) 40%, rgba(59,164,55,0) 40%, rgba(59,164,55,0));
	opacity:0;
	transition: all 1.5s;
	z-index:-1;
}

.header-title {
	font-size:2.4em;
	font-weight:600;
	color:#fff;
	margin-top:50px;
	margin-left:50px;
	opacity:0;
	transition: 1.2s all 0.3s;
}

.header-title-style {
	margin-top:0;
	opacity:1;
}

.header-subtitle {
	font-size:1.4rem;
	font-weight:500;
}


#container {
	width:100%;
	min-width:1200px;
}

.contents {
	width:100%;
	max-width:1200px;
	margin:10px auto;
}


.section {
	margin:0 auto;
	width:1200px;
}

.section-full {
	margin:0 auto;
	maxwidth:2000px;
}


.abtn {
	display:block;
	position:relative;
	font-size:1.2rem;
	padding:1.2em;
	color:#ddd;
	font-weight:bold;
	text-align:center;
	background-color:#000;
	transition:all 0.3s;
}

.abtn:hover {
	color:#fff;
	text-decoration:none;
}

.abtn:after {
	content:"→";
	position:absolute;
	top: calc(50% - 0.8em);
	right:1.5em;
	transition:all 0.3s;
}

.abtn:hover:after {
	right:1em;
}


.bg1 {
	background-color:rgb(223,223,223);
}

.bg2 {
	background-color:#777;
}

h2 {
	font-size:2em;
	font-weight:bold;
	color:#222;
}



.newstitle {
	width:400px;
	padding:1em;
	text-align:center;
}

.newsdata {
	width:700px;
}

.newsdl {
	margin:0;
	padding:0.8em 0;
	border-bottom:1px solid #888;
}

.newsdl dt {
	display:block;
	font-weight:400;
}

.newskoumokutitle {
	cursor:pointer;
}

.newskoumokutitle:hover {
	text-decoration:underline;
}

.newscmt {
	display:none;
	margin:2px 1px;
	border:1px solid #ccc;
	padding:3px;
}


.badge-news {
	display:inline-block;
	border-radius:0.25em;
	margin-left:0.2em;
	padding:0 0.5em;
	font-size:0.7em;
	font-weight:bold;
	background-color:#f22;
	line-height:1.5;
	color:#fff;
	vertical-align:0.5em;
}

.newsdl dd {
	margin-left:1em;
	flex:1;
}

.newsdl dd a {
	color:#333;
}

.newsdl dd a:hover {
	color:#333;
}


.kijidata {
	position:relative;
	max-width: 100%;
	width:360px;
}

.kijiimg {
	display:flex;
	justify-content:center;
	align-items:center;
	margin:3px;
	width: calc(100% - 6px);
	height:auto;
	aspect-ratio: 5 / 4;
	background-color:#eee;
}

.kijiimg img {
	max-width:100%;
	max-height:100%;
}

.kijimark {
	position:absolute;
	top:1em;
	right:1.4em;
	z-index:1;
}

.kijimark .btn-nocheck {
	font-size:1.6em;
	padding:0 0.18em 0.05em 0.18em;
	color:#aaa;
}

.kijimark .btn-check {
	font-size:1.6em;
	padding:0 0.18em 0.05em 0.18em;
	color:#0a0;
}

.simdata {
	position:relative;
	width:100%;
	max-width:400px;
}

.simdata-nodata {
	position:relative;
	width:100%;
	max-width:300px;
}

.simimg {
	display:flex;
	justify-content:center;
	align-items:center;
	margin:3px;
	width:100px;
	height:auto;
	aspect-ratio: 5 / 4;
	background-color:#eee;
}

.simmark {
	position:absolute;
	top:-0.2em;
	right:0.2em;
	font-size:1.2em;
	z-index:1;
}

.simmark .btn-nocheck {
	font-size:1.6em;
	padding:0 0.18em 0.05em 0.18em;
	color:#00a;
	opacity:0;
	transition:all 0.3s;
}

.simmark .btn-check {
	font-size:1.6em;
	padding:0 0.18em 0.05em 0.18em;
	color:#00a;
	opacity:1;
	transition:all 0.3s;
}



#footer {
	background-color:#fff;
	color:#222;
}

#footData {
	max-width:1200px;
	margin:0 auto;
	padding:20px 0;
}

.footerlogoimg {
	width:200px;
}

.footermenu {
	display:flex;
	justify-content:center;
}

.footermenu ul {
	display:flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footermenu ul li {
	display:block;
	margin:0;
	padding:5px 0 5px 10px;
}

.footermenu ul li a {
	display:block;
	font-size:0.9em;
	padding:0.2em 1.2em;
	font-weight:bold;
	color:#666;
	transition: all 0.5s;
}

.footermenu ul li a:hover {
	color:#222;
	text-decoration:none;
}

.footer-icon {
	font-size:1.5em;
}

.copyright {
	text-align:center;
	padding:10px 0;
	font-size:0.8em;
	color:#777;
}

.copyright a {
	color:#777
}

#pageTop {
	display:none;
	position:fixed;
	bottom:50px;
	right:50px;
	z-index:1000;
}


/* --- パソコン ---------------------------------------------------------------------- */
@media screen and (min-width: 576px) {
	.sp {
		display:none;
	}
	
	#menubar,
	#menubar_hdr {
		display:none;
	}
}

/* --- スマホ ------------------------------------------------------------------------ */
@media screen and (max-width: 575px) {
	.pc {
		display:none;
	}
	
	#header {
		min-width:100%;
		padding:0 10px 0 20px;
		height:50px;
	}
	
	#header .headerlogoimg {
		width:180px;
	}
	
	#menu {
		display:none;
	}
	
	#main {
		background-color:#fff;
		min-height: calc(100svh - 300px);
	}
	#container {
		min-width:100%;
	}
	
	.icatch {
		padding-top:0;
		width:100%;
		height:300px;
	}
	
	.top-icatch {
		padding-top:0;
		height: 100svh;
		min-height: 600px;
		max-height: 100svh;
		/*aspect-ratio:1 / 2;*/
	}
	
	.top-header-img {
		top:0;
		width:100%;
		height: 100svh;
	}
	
	.top-header-img img {
		width:100%;
		height:100%;
		max-width:none;
	}
	
	.header-img {
		top:0;
		height: 300px;
	}
	
	.header-img img {
		width:100%;
		height:100%;
		max-width:none;
	}
	
	.header-img-bg {
		top:50px;
	}
	
	.header-waku {
		top:100px;
		left:5px;
		margin-left:0;
		width:100%;
	}
	
	.header-title {
		font-size:2em;
		color:#fff;
		margin-left:20px;
	}
	
	.section {
		width:100%;
	}

	.newstitle {
		width:100%;
	}
	
	.newsdata {
		width:100%;
	}
	
	#footercontact {
		display:flex;
		align-items:center;
		justify-content:center;
		background-size:cover;
		width:100%;
		height:auto;
		aspect-ratio:5 / 6;
	}
	
	.footer-tel {
		margin:0.5em 1em;
	}
	
	.footer-contact {
		font-size:1.2em;
		padding:0.5em 1.2em;
	}
	
	
	/* inview用 */
	
	#pageTop {
		bottom:20px;
		right:20px;
	}
	
}


/* --- inview -------------------------------------------------------------------*/
/*upスタイル
---------------------------------------------------------------------------*/
/*待機*/
.up {
	position: relative;
	opacity: 0;
	bottom: -40px;
	transition: 1s;
}

/*アクション*/
.upstyle {
	bottom: 0px;
	opacity: 1;
}

/*downスタイル
---------------------------------------------------------------------------*/
/*待機*/
.down {
	position: relative;
	opacity: 0;
	top: -30px;
	transition: 1s;
}

/*アクション*/
.downstyle {
	top: 0px;
	opacity: 1;
}

/*leftスタイル
---------------------------------------------------------------------------*/
/*待機*/
.left {
	position: relative;
	opacity: 0;
	left: -30px;
	transition: 1s;
}

/*アクション*/
.leftstyle {
	left: 0px;
	opacity: 1;
}


/*rightスタイル
---------------------------------------------------------------------------*/
/*待機*/
.right {
	position: relative;
	opacity: 0;
	right: -30px;
	transition: 1s;
}

/*アクション*/
.rightstyle {
	right: 0px;
	opacity: 1;
}
