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

*{
	position: relative;
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
	/*font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Noto Sans JP",
    Meiryo,
    sans-serif;*/
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body{
	width: 100%;
	font-size: 16px;
	font-feature-settings: "palt" 1;
	letter-spacing: 0.05rem;
}

article{
	width: 100%;
}

section{
	padding: 60px calc(50% - 400px);
	/*text-align: center;*/
}

p{
	text-align: justify;
	line-height: 2.0;
}

a{
	color: #4958af;
	text-decoration: underline;
	transition: all 0.3s ease;
}
a:hover{
	text-decoration: none;
}

p, div, h1, h2, h3{
	margin-bottom: 30px;
	width: 100%;
	padding: 0 15px;
}

section div:last-child,
section p:last-child{
	margin-bottom: 0;
}
@media (min-width: 900px) {
	p, h1, h2, h3{
		padding: 0px;
	}
}
@media (max-width: 480px) {
	div{
		padding: 0px;
	}
	.pc{
		display: none;
	}
	.sp{
		display: block;
	}
}
@media (min-width: 480px) {
	
	.pc{
		display: block;
	}
	.sp{
		display: none;
	}
}

.mt0{
	margin-top: 0;
}
.mb0{
	margin-bottom: 0;
}

.clearfix:after{
	content: "";
	display: block;
	height: 1px;
	clear: both;
}

.clearText {
	text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}



.title{
	text-align: center;
	display: inline-block;
	width: 100%;
	height: 135px;
}

.sectitle{
	text-align: center;
	display: inline-block;
	width: 100%;
	font-size: 170%;
	font-weight: 600;
	color: #000066;
	letter-spacing: 0.1rem;
}

.seclead{
	font-size: 131.25%;
	font-weight: 500;
	line-height: 1.6;
	margin-bottom: 20px;
}
@media (max-width: 480px) {
	.title{
		height: 125px;
	}
	.sectitle{
		font-size: 162%;
		line-height: 1.5;
	}
	.seclead{
		font-size: 125%;
	}

}

/*〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜*/
#header{
	width: 100vw;
	height: 100vh;
	
	background-image:
		url("../images/logo.svg"),
		url("../images/logotype.svg"),
		url("../images/headerimg_30.jpg");
	background-repeat:
		no-repeat,
		no-repeat,
		no-repeat;
	background-size: 
		120px,
		117px,
		cover;
	background-position:
		top 10px left 10px,
		top 30px left 150px,
		center center;
	position: relative;
	display: grid;
	place-items: center;
	
	opacity: 1.0;
	transition: all 0.4s ease;
	transition-delay: .2s;
}
#header.ready{
	opacity: 1.0;
}
#header .wrapper{
	opacity: 1.0;
	transition: all 0.4s ease;
	transition-delay: .4s;
}
#header .wrapper.ready{
	opacity: 1.0;
}

#ccopy{
	/*writing-mode: vertical-rl;*/
	text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
	display: grid;
	place-items: center;
	width: 300px;
	height: calc(70vh + 60px);
	max-height: 670px;
	min-height: 300px;
	margin: 30px auto;
	background: url("../images/copy.svg") no-repeat center center;
}
@media (max-width: 480px) {
	#header{
		background-size: 
			110px,
			110px,
			cover;
		background-position:
			top 15px left 15px,
			top 30px left calc(50% - 0px),
			center center;
	}
	#ccopy{
		width: 150px;
		height: calc(53vh + 60px);
		max-height: 500px;
	}
}

#main-nav{
	position: absolute;
	top: 20px;
	right: 0;
	font-size: 106.25%;
	
}
#main-nav::after{
	content: "";
	display: block;
	position: fixed;
	width: 100vw;
	height: 100vh;
	transform: translate(0%, -120%);
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, .9);
	
	z-index: -1;
	transition: all 0.2s ease;
}
#main-nav div{
	display: inline-block;
	padding:0;
}
#main-nav div.main a{
	margin-right: 24px;
	display: inline-block;
	color: #FFF;
	text-decoration: none;
	text-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
}
#main-nav div.main a::after{
	content: "";
	display: block;
	position: absolute;
	left: 50%;
	bottom: -10px;
	transform: translateX(-50%);
	width: 0%;
	height: 2px;
	background: #FFF;
	box-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
	transition: all 0.3s ease;
}
#main-nav div.main a:hover::after{
	width: 100%;
}
@media (max-width: 900px) {
	#main-nav{
		position: fixed;
		z-index: 999;
		width: 100vw;
		height: 1px;
	}
	
	
	#main-nav div.main,
	#main-nav div.sns{
		transform: translate(0%, -150%);
		transition: all 0.3s ease;
		margin: 0;
		
	}
	#main-nav div a{
		display: block;
		width: 100%;
	}
	#main-nav div.sns{
		transform: translate(0%, -400%);
		width: 100%;
	}
	#main-nav div.sns a{
		margin-right: 0;
	}
	#main-nav div.sns a span{
		display: inline-block;
		margin-left: 20px;
		font-size: 1rem;
	}
	#main-nav.openNav div.main,
	#main-nav.openNav div.sns{
		transform: translate(0, 0);
		
	}
	#main-nav.openNav div.sns{
		
	}
	#main-nav.openNav::after{
		transform: translate(0, 0);
	}
	#main-nav .main{
		margin-top: 50px!important;
	}
	#main-nav a{
		width: 100%;
		padding: calc(100vh / 20);
		background: rgba(0,0,0,0);
		border-bottom: solid 1px #333;
		transition: all 0.0s ease;
	}
	#main-nav .main a:first-child{
		border-top: solid 1px #333;
	}
	#main-nav a:hover{
		background: rgba(30,30,30,1);
	}
	#main-nav div.main a::after{
		content: none;
	}
	
	#navToggle{
		display: block;
		width: 30px;
		height: 24px;
		
		position: absolute;
		top: 5px;
		right: 20px;
		
		margin-bottom: 0;
		
		filter: drop-shadow(2px 2px 0px rgba(0, 0, 0, 1));
		
	}
	#navToggle span{
		position: absolute;
		display: block;
		width: 100%;
		height: 4px;
		background: rgba(255,255,255,1.0);
		border-radius: 2px;
		transition: all .4s;
		
		mix-blend-mode: difference;
	}
	
	#navToggle span:nth-child(1){
		top: 0;
	}
	#navToggle span:nth-child(2){
		top: 10px;
	}
	#navToggle span:nth-child(3){
		bottom: 0;
	}
	.openNav #navToggle span:nth-child(1){
		transform: translateY(10px) rotate(45deg);
	}
	.openNav #navToggle span:nth-child(2){
		opacity: 0;
	}
	.openNav #navToggle span:nth-child(3){
		
		transform: translateY(calc(-10px)) rotate(-45deg);
	}
}




/* お知らせ */
#news{
	text-align: center;
	font-weight: 500;
	background-color: #f0f0f0;
	padding-top: 30px;
	padding-bottom: 30px;
}
#news p{
	font-size: 112.5%;
	font-weight: 500;
	padding: 0;
	text-align: center;
}
@media (max-width: 480px) {
	news{
		
	}
	#news p{
		font-size: 100%;
		display: inline-block;
		line-height: 1.4;
		padding: 0 15px;
		text-align: left;
	}
}

/* 事業内容 */
#jigyou .title{
	background: url("../images/title_jigyou.svg") no-repeat center center;
}
#jigyou{
	text-align: center;
}
#jigyou #logo{
	width: 100%;
	max-width: 180px;
	margin: auto;
	padding: 0;
}
@media (max-width: 480px) {
	#jigyou #logo{
		max-width: 170px;
	}
}

/* 理念 */
#rinen{
	background-color: #dcedf5;
}
#rinen dl {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	padding: 0 15px 0 0;
}
#rinen dt,
#rinen dd{
	font-weight: 400;
	margin-bottom: 10px;
}
#rinen dt{
	width: 40px;
}
#rinen dd{
	width: calc(100% - 40px);
}
@media (max-width: 900px) {
	#rinen dl {
		padding: 15px;
	}
}



/* 1年 */
#ichinen{
	background-color: #f0f0f0;
}

#ichinen .img_and_text{
	width: 100%;
	text-align: center;
}

.img_and_text{
	display: block;
	float: left;
	min-height: 350px;
	position: relative;
}
.img_and_text img{
	/*display: inline-block;*/
	margin-bottom: 15px;
	width: 100%;
	height: auto;
	
}
.img_and_text:after{
	content: "";
	display: grid;
	place-items: center;
	width: 80px;
	height: 80px;
	background-color: #000066;
	color: #FFF;
	font-size: 150%;
	position: absolute;
	top: 0;
	left:0;
}
.img_and_text:nth-of-type(1):after{
	content: "春";
}
.img_and_text:nth-of-type(2):after{
	content: "夏";
}
.img_and_text:nth-of-type(3):after{
	content: "秋";
}
.img_and_text:nth-of-type(4):after{
	content: "冬";
}
.img_and_text p{
	width: 100%;
	padding: 0px 15px;
	line-height: 1.6;
	margin: auto;
}
@media (min-width: 480px) {
	
	#ichinen .img_and_text{
		width: 50%;
	}
	.img_and_text:nth-of-type(even){
		margin-left: 0%;
	}
	.img_and_text p{
		padding: 0%;
	}
	.img_and_text:after{
		top: 0px;
		left: 15px;
	}
}

/* こんなところ */
#zentaizu{
	text-align: center;
	background: url("../images/zentaizu_bg.svg") repeat-x top -65px center;
	background-size: 1600px;
}
#zentaizu img{
	width: 100%;
	max-width: 900px;
}


/* 会社概要 */
#gaiyou{
	background-color: #dcedf5;
}
#gaiyou .title{
	background: url("../images/title_gaiyou.svg") no-repeat center center;
}
#gaiyou table{
	width: 100%;
	/*border-collapse: separate;
	border-spacing: 10px;*/
	
}
#gaiyou table td:first-child{
	width: 20%;
}
#gaiyou table td{
	padding: 2em 0px;
	line-height: 1.6;
	border-bottom: solid 1px #000066;
}
@media (max-width: 900px) {
	#gaiyou table{
		width: calc(100% - 40px);
		margin-left: 20px;
		margin-right: 20px;
	}
	#gaiyou table td:first-child{
		width: 27%;
	}
}


/* アクセス */
#access{
	background-color: #dcedf5;
	margin-bottom: 0;
	padding: 0;
}
#access iframe{
	width: 100%;
	height: 60vh;
}
@media (max-width: 900px) {
	#access{
		padding: 0;
	}
}


/* フッター */
footer{
	text-align: center;
	padding: 20px 10%;
	background: #111;
	height: 20vh;
	max-height: 150px;
}

footer a{
	color: #FFF!important;
}
#footer-nav{
	
}
#footer-nav div{
	display: inline-block;
	padding: 0;
}
#footer-nav a{
	margin-right: 20px;
	text-decoration: none;
}
#footer-nav a:hover{
	text-decoration: underline;
}

#go2top{
	display: block;
	width: 50px;
	height: 50px;
	background: #000;
	border-radius: 25px;
	position: fixed;
	bottom: 10px;
	right: 10px;
	opacity: 0;
	/*box-shadow: 0px -2px 0px rgba(255, 255, 255, 1);*/
}

#go2top::after{
  	content: url("../images/arrowFFF.svg");
	transform: rotate(-90deg);
	display: block;
	width: 12px;
	height: 24px;
	position: absolute;
	top: 12px;
	right: 18px;
	transition: all 0.3s ease;
}

.copyright{
	/*position: absolute;*/
	/*bottom: 10px;*/
	font-size: 80%;
	color: #FFF;
	line-height: 1.6;
	letter-spacing: 0.1em;
	display: block;
	width: 100%;
	margin-top: 40px;
	margin-bottom: 0;
}
@media (max-width: 480px) {
	footer{
		height: 60px;
	}
	#footer-nav div.main{
		display: none;
	}
	#footer-nav div.sns a:last-child{
		margin-right: 0;
	}
	.copyright{
		margin: 0;
		padding: 0;
	}
}
/* スマホ横向き時のマスク */
#screenmask{
	display: block;
	opacity: 0;
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 999999;
	top: 0;
	left: 0;
	
	background-color: rgba(0,0,0,.9);
	background-image: url("../images/rotateyourdevice.svg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 30%;
	
	overscroll-behavior: none;
	pointer-events: none;
	transition: all .5s .3s ease ;
}
@media (orientation: landscape) and (max-height: 450px) {
	#footer-nav .main{
		margin-top: 10px;
		font-size: 0.9rem;
	}
	#screenmask.ready{
		display: block;
		opacity: 1;
		overscroll-behavior: contain;
		pointer-events: auto;
	}
}

