/*
Theme Name: CO-SAKU ロボコン
*/


/* ------------------------------
default
------------------------------ */
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	border-style: initial;
	-webkit-text-size-adjust: 100%;
}

html,body {
	height: 100%;
	width: 100%;
	scroll-behavior: smooth;
}
body {
	font-family:"Noto Sans JP", sans-serif;
	line-height: 170%;
	letter-spacing: 0.64px;
	margin: 0;
	color: #333333;
}
a {
	color:#333333; ;
	text-decoration: none;
	-webkit-transition: all linear 0.2s;
	transition: all linear 0.2s;
}
a:hover{
	opacity: 0.8;
}
img {
	height: auto;
	max-width: 100%;
}
input, button, select, textarea {
	-webkit-appearance: none;
}
h2, ul, li{
	list-style: none;
	margin: 0;
	padding: 0;
}
iframe {
	max-width: 100%;
}
/*---------------------------------
font
---------------------------------*/
.dnp_font {
	font-feature-settings: 'palt' on;
	font-family: dnp-shuei-gothic-gin-std, sans-serif;
	font-style: normal;
	font-weight: 600;
}
.head_text{
	line-height: 220%; 
	letter-spacing: 4px;/* 44px */
}
.sub_head{
	line-height: 200%;
	letter-spacing: 1.8px; /* 44px */
}
.fontl{
	font-size: 20px;
}
.fontm{
	font-size: 18px;
}
.fontr{
	font-size: 16px;
}
.fonts{
	font-size: 14px;
}
.text_gl{
	color: #666666;
}
.text_bl{
	color: #3DA1CD;
}
.text_gr{
	color: #4DA635;
}
.text_wh{
	color: #ffffff;
}
/*---------------------------------
common
---------------------------------*/
.bg_gr{
	background-color: #4DA635;
}
.bg_gl{
	background-color: #f8f8f8;
}
.bg_wh{
	background-color: #ffffff;
}
.section{
	padding: 80px 0;
}
.area{
	width: calc(100% - 48px);
	margin: 0 auto;
}
.menu ul li{
	width: fit-content;
	background-color:#45403F;
	margin-bottom: 24px;
	padding: 0 5px;
	line-height: 20px;
	letter-spacing: 4px;
}
.menu ul li a{
	color: #ffffff;
}
.headline{
	padding: 4px;
	width: fit-content;
	margin-bottom: 40px;
	background-color: #45403F;
	letter-spacing: 4px;
}
.flexbox{
	display: flex;
	justify-content: center;
	align-items: center;
}
.contact_area{
	padding: 72px 6.15%;
	text-align: center;
}
.btn{
	width: 276px;
	height: 56px;
	border-radius: 64px;
	padding: 16px 24px 16px 32px;
	gap: 8px;
	margin: 24px auto 0;
	line-height: 150%; 
	letter-spacing: 1.8px;
}
.btn:hover{
	opacity: 0.8;
}
.btn a{
	width: 276px;
	height: 56px;
}
.btn_more{
	text-align: right;
}
.btn_more img{
	transform: translateY(5px);
	margin-left: 4px;
}
.btn_gr{
	background-color: #4DA635;
}
.btn_gr a{
	color: #fff;
}
.btn_gr:hover{
	opacity: 0.8;
}
.link_text{
	text-decoration: underline;
	text-decoration-color: #333;
}
.link_text img{
	transform: translateY(5px);
    margin-left: 4px;
}

/* --------------------------------
pc_frame
---------------------------------*/
.pc_frame{
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	background-color: #fff;
	background-image: url(images/top_img.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 0 264px;
}
.pc_frame .pc_menu{
	width: 260px;
	flex-direction: column;
	position: absolute;
	top: 56px;
	left: 120px;
	align-items: flex-start;
}
.pc_frame .pc_menu h1{
	margin-bottom: 100px;
}

/* --------------------------------
sp_frame
---------------------------------*/
.sp_frame{
	width: 100%;
	max-width: 500px;
	position: absolute;
	top: 56px;
	left: 45%;
	border-radius: 32px 32px 0 0;
	box-shadow: 1px 1px 22px 0px rgba(0, 0, 0, 0.25);
	z-index: 9;
}
/* --------------------------------
header
---------------------------------*/
.header{
	width: 100%;
	height: 100vh;
	position: relative;
	border-radius: 32px 32px 0 0;
}
.header .menu .menu_icon{
	width: 48px;
	height: 61px;
	position: fixed;
	top:16px;
	right: 16px;
	z-index: 99;
	background-image: url(images/menu_icon.svg);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	display: none;
}
.header .menu .area{
	width: 260px;
}
.header .menu .menu_icon:hover{
	opacity: 1;
}
.header .menu .menu_logo{
	display: block;
	width: 95%;
	margin: 0 auto;
}
.header h1{
	width: 79.48%;
}
.header h1 img{
	display: block;
	width: 100%;
	margin-bottom: 40px;
}
.header .scroll_icon{
	width: 12%;
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
}
.header .nav{
	width: 100vw;
    height: 100svh;
	padding: calc(50svh - 288px) 16%;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    flex-direction: column;
	align-items: flex-start;
	z-index: 9;
	display: none;
}
.header .btn_gr{
	margin:35px 0;
}
/*active*/
.header.active .menu .menu_icon{
	background-image: url(images/close_icon.svg);
}
.header.active .nav{
	display: block;
}

/* --------------------------------
top_img_area
---------------------------------*/
.top_img_area{
	width: 100%;
	height: 560px;
	overflow: hidden;
	position: sticky;
	top: 0;
	z-index: -1;
}
.top_img_area img{
	display: block;
	width: 100%;
}

/* --------------------------------
top_text_area
---------------------------------*/
.top_text_area{
	width: calc(100% - 80px);
	margin: 0 auto;
}
/* --------------------------------
about
---------------------------------*/
.about .sub_head{
	margin-bottom: 40px;
}
.about .link_text{
	margin-top: 16px;
}

/* --------------------------------
images_area
---------------------------------*/
.images_area .flexbox{
	flex-wrap: wrap;
}
.images_area .flexbox .img_box{
	width: 33.33%;
	aspect-ratio: 1/1;
	background-size: cover;
	background-position: center;
}

/* --------------------------------
concept
---------------------------------*/
.concept .flexbox,
.concept .flexbox__{
	text-align: center;
}
.concept .flexbox__{
	flex-wrap: wrap;
	justify-content: space-around;
}
.concept .flexchild{
	width: 46.78%;
	margin-bottom: 8px;
}
.concept .flexchild .img_circle{
	aspect-ratio: 1/1;
	border-radius: 50%;
	margin-bottom: 16px;
}
.concept .flexchild span{
	display: block;
}
.concept_text{
	margin-top: 40px;
}
/* --------------------------------
popup_window
---------------------------------*/
.popup_window .movie_frame{
	width: 100%;
	aspect-ratio: 1/0.563;
	overflow: hidden;
}
.popup_window .movie_frame a{
	display: block;
	width: 100%;
	height: 100%;
}
/* --------------------------------
blog_area
---------------------------------*/
.blog_container .blog_box{
	padding: 24px 16px;
	border-radius: 16px;
	margin-bottom: 16px;
}
.blog_container .blog_box .flexbox{
	align-items: flex-start;
}
.blog_container .blog_box .thum_frame{
	aspect-ratio: 1/1;
	width: 38%;
	overflow: hidden;
	background-size: cover;
	background-position: center;
}
.blog_container .blog_box .title_area{
	width: 56%;
	margin-left: 16px;
	height: 107px;
}
.blog_container .blog_box .title_area .title{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	height: 80%;
	overflow: hidden;
	word-wrap: break-word;
}
.blog_container .blog_box .title_area .date{
	display: block;
	font-size: 12px;
	margin-top: 16px;
}
.tag_area{
	padding-top: 16px;
}
.tag_area .tag_{
	display: inline-block;
	border: 1px solid #4DA635;
	border-radius: 32px;
	padding: 8px;
	margin: 0 8px 8px 0;
	line-height: 10px;
}
.tag_area .tag_::before{
	content: '#';
	color: #4DA635;
}

#midashi_4 .blog_box {
	border: solid 1px #dbdbdb;
}

/* --------------------------------
gallery
---------------------------------*/
.gallery {
	padding: 80px 0;
}
.gallery_frame{
	margin: 24px 0;
	flex-wrap: wrap;
	justify-content: left;
}
.gallery_frame .gallery_pic{
	width: 33.33%;
	aspect-ratio: 1/1;
	overflow: hidden;
	position: relative;
}
.gallery_frame .gallery_pic .gallery_image{
	width: 100%;
	height:	100%;
	object-fit: cover;
}
.gallery_frame .gallery_pic .zoom_in{
	position: absolute;
	right: 6px;
	bottom: 6px;
}
.gallery .btn_more{
	text-align: center;
}

/* --------------------------------
leading
---------------------------------*/
.leading .list_area{
	margin-top: 40px;
}
.leading .list_area ul{
	margin: 10px 0;
}
.leading .list_area ul li{
	list-style-type: disc;
	margin-left: 20px;
}

/* --------------------------------
corporate_info
---------------------------------*/
.corporate_info .sub_head{
	margin-bottom: 16px;
}
.corporate_info .text_box{
	margin-bottom: 40px;
}
.corporate_info .link_text{
	margin-top: 16px;
}

/* --------------------------------
sns_area
---------------------------------*/
.sns_area{
	padding: 64px 0;
	margin: 0 auto;
}
.sns_area img{
	display: block;
	margin: 0 auto;
}
.sns_area .sns_icon_container{
	margin-top: 24px;
}
.sns_area .sns_icon_container .sns_icon{
	width: 48px;
	height: 48px;
	background-color: #666666;
}
.hash_tag{
	margin-top: 20px;
	text-align: center;
}
.hash_tag a{
	text-decoration: underline;
}

/* --------------------------------
footer
---------------------------------*/
.footer{
	padding: 48px;
	text-align: center;
	background-color: #45403F;
	position: relative;
}
.footer .up_btn{
	width: 48px;
	height:48px;
	border-radius: 50%;
	position: absolute;
	top:-24px;
	right: 24px;
	line-height: 48px;
	padding: 4px;
}
.footer .up_btn:hover{
	opacity: 0.8;
}
.footer .up_btn a{
	display: block;
	width: 100%;
	height: 100%;
}
.footer ul{
	margin: 32px 0;
}
.footer p{
	font-size: 12px;
}

/* ------------------------------
page
------------------------------ */
.page .header{
	height: 100px;
}
.page .header h1{
	width: 123px;
	position: absolute;
	top: 16px;
	left: 24px;
}
.page .header h1 .head_text{
	display: none;
}
.page .header h1 img{
	margin-bottom: 0;
}
.page .header .scroll_icon{
	display: none;
}
.page .main{
	padding: 32px 0 0;
}
.page .page_list{
	font-size: 12px;
	justify-content: space-between;
}
.page .page_list li a{
	text-decoration: underline;
	text-decoration-color: #333;
}
.page .page_list li a.active{
	text-decoration: none;
	color: #3DA1CD;
}
.page .headline{
	margin: 40px 0;
}
.pic_up_post{
	padding: 24px 16px;
	border-radius: 32px;
	margin-bottom: 24px;
}
.pic_up_post .thum_frame{
	aspect-ratio: 1/0.667;
	background-size: cover;
	background-position: center;
	margin-bottom: 16px;
}
.pic_up_post .title{
	margin-bottom: 16px;
	word-wrap: break-word;
}
.pagination{
	margin-top: 40px;
	font-size: 12px;
}
.pagination ol li{
	width: 40px;
	height: 40px;
	text-align: center;
	line-height: 40px;
}
.pagination ol li a{
	display: inline-block;
	width: 100%;
	height: 100%;
}
.pagination ol li.active{
	background-color: #4DA635;
	border-radius: 50%;
}
.pagination ol li.active a{
	color: #fff;
}

/* ------------------------------
single_page
------------------------------ */
.cont_area{
	padding-bottom: 90px;
}
.post_area{
	padding-bottom: 40px;
}
.post_area .pst_title{
	line-height: 180%;
	letter-spacing: 4px;
	margin-bottom: 16px;
	word-wrap: break-word;
}
.post_area .tag_area{
	margin-bottom: 40px;
}
.post_area .thum_frame{
	width: 100%;
	aspect-ratio: 1/0.667;
	background-size: cover;
	margin-bottom: 7px;
}
.post_area h2{
	border-left: 4px solid #4DA635;
	padding-left: 4px;
	margin: 40px 0 16px;
}
.post_area h3{
	font-weight: bold;
}
.post_area p{
	margin: 1em 0;
}
.post_area a{
	display: inline;
	color: #4DA635;
	padding-bottom: 1px;
	border-bottom: 1px solid #4DA635;
}
.post_area strong{
	font-weight: bold;
}
.post_area em{
	font-style: italic;
}
.post_area blockquote{
	padding: 25px 36px;
	background-color: #f8f8f8;
	margin: 1em 0;
}
.post_area blockquote p{
	margin: 0;
}
.post_area blockquote strong{
	font-weight: bold;
}
.post_area del{
	text-decoration: line-through;
}
.post_area ul li{
	list-style-type: disc;
	margin-left: 1em;
}
.post_area ol li{
	list-style-type: decimal;
	margin-left: 1em;
}
.post_area .wp-caption{
	max-width: 100%;
}
.post_area .wp-caption-text {
	font-size: small;
	margin: 0;
}
.post_area .alignleft {
	display: block;
	margin: 0 auto 0 0;
}
.post_area .aligncenter {
	display: block;
	margin: 0 auto 0;
}
.post_area .alignright {
	display: block;
	margin: 0 0 0 auto;
}
.paging{
	justify-content: space-between;
}
.paging li a{
	display: block;
	width: 100%;
	height: 100%;
}
.paging li:nth-child(1) a img{
	display: inline-block;
	margin: 5px 10px 0 0;
	transform: translateY(5px);
}
.paging li:nth-child(2) a img{
	display: inline-block;
	margin: 5px 0 0 10px;
	transform: translateY(5px);
}

.post_area div#page_nav {
	background-color: #f7f9f9;
	color: #666;
	padding: 2em 1em;
	margin: 40px 0;
}
.post_area div#page_nav .page_nav_title {
	font-weight: bold;
}
.post_area div#page_nav ul {
	margin-top: 1em;
}

.post_area div#page_nav ul li {
	border-bottom: solid 1px #e8e8e8;
	list-style: none;
	padding: 0.5em 0;
	margin: 0;
}
.post_area div#page_nav ul li a {
	color: #666;
	border: none;
	display: block;
}

/* ------------------------------
single_gallery
------------------------------ */
.single_gallery .area{
	max-width: 1000px;
	padding: 40px;
}
.single_gallery .thum_frame{
	margin-bottom: 1em;
}
.single_gallery .thum_frame img{
	aspect-ratio: 3 / 2;
	object-fit: cover;
	height: auto;
	width: 100%;
}
.single_gallery .post_area{
	padding-bottom: 0;
}
.modaal-container {
	width: 100%;
	max-width: 840px !important;
	transition: all 0.3s ease-in-out;
}
.modaal-container iframe{
	scrollbar-width: none;
}

/* ------------------------------
for smartphone
------------------------------ */
@media screen and (max-width: 960px) {
	/*---------------------------------
	common
	---------------------------------*/
	.section{
		padding: 80px 24px;
	}
	.area{
		max-width: 500px;
		width: 100%;
	}
	/* --------------------------------
	pc_frame
	---------------------------------*/
	.pc_frame{
		display: none;
	}

	/* --------------------------------
	sp_frame
	---------------------------------*/
	.sp_frame{
		max-width: 100%;
		position: static;
		border-radius: inherit
	}
	/* --------------------------------
	header
	---------------------------------*/
	.header .menu .menu_icon{
		display: block;
	}
	/* --------------------------------
	top_text_area
	---------------------------------*/
	.top_text_area{
		width: 100%;
		padding-left: 40px;
		padding-right: 40px;
	}
	/* --------------------------------
	gallery
	---------------------------------*/
	.gallery .area{
		padding: 0 24px;
	}

	/* --------------------------------
	popup_window (modaal のスタイル修正)
	---------------------------------*/
	.modaal-video-wrap{
		margin: auto !important;
	}

	/* ------------------------------
	page
	------------------------------ */
	.page .main{
		padding: 32px 24px 0;
	}

	/* ------------------------------
	single_gallery
	------------------------------ */
	.single_gallery .area{
		padding: 24px;
	}
}