@charset "utf-8";
/*
Theme Name: riid_child
Template: riid_child
Author: t-labo
Author URI: https://takai-laboratory.com/
*/

/*========================*/
.mincho { font-family: 'Noto Serif Japanese', serif; }

main { overflow: hidden; }
/*****************
width-768px以下
*****************/

.mgn-r20 {
	margin-right: 20px;
}
/*fade
***************/
/* 画面外にいる状態 */
.fadein {
    opacity : 0;
    transform : translate(0, 150px);
    transition : all 1500ms;
}
 
/* 画面内に入った状態 */
.fadein.scrollin {
    opacity : 1;
    transform : translate(0, 0);
}


/******************************
HEADER
******************************/
header .over,header .moveover,header .logo,header .movelogo,header .title,header .overtitle,header .ul01,header .moveul01 {
	-moz-transition: -moz-all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
	transform-origin: top left;
}
header .over {position: fixed; top: 0; left: 0; right: 0; height: 100px; z-index: 20;}
header .moveover {background-color: #fff;}
header .logo {transform-origin: top left; width: 139px; margin-top: 40px; transform:scale(1);}
header .movelogo {transform:scale(.72); transform-origin: top left;}
header .title {opacity: 0;}
header .movetitle {opacity: 1; margin-left: 20px;}
header .ul01 {color: #fff; margin-left: auto;}
header .moveul01 {color: #000; margin-left: auto;}
header .ul01 li {padding: 50px 50px 50px 0; line-height: 1; font-size: 16px;}

.indent_content {padding: 60px 0; position: relative;}
.indent_content02 {margin-top: 40px;}
.content {padding: 20px; position: relative;}
.swiper-slide {background-position: center;}
.swiper-slide img {width: 100%; height: 100%; object-fit: cover;}
.main_box {position: relative;}
.main_box .txt_area {position: absolute; left: 0; right: 0; top: 40%; z-index: 10; width: 947px; margin: auto;}
.main_box .txt01 {margin: auto auto 5%;}
.slide01 {background: url(img/header/main01.jpg);}
.slide02 {background: url(img/header/main02.jpg);}
.slide03 {background: url(img/header/main03.jpg);}
.main_box .swiper-wrapper {position: fixed;}

/*========================
index
========================*/
#index {background-color: #fff; position: relative; z-index: 1; padding-bottom: 40px;}
#index .box01 {margin-top: 70px;}
#index .box01 .logo {width: 40%; margin-top: -70px; z-index: 10; position: relative;}
#index .news_area {width: 60%; box-sizing: border-box; padding: 1%; background-color: #02983f; line-height: 1; font-size: 18px; color: #fff;}
#index .news_area .min {font-size: 16px; margin-bottom: 10px;}
#index .news_area img {margin-right: 20px;}
#index .box02 {font-size: 17px; position: relative; padding-top: 8%; margin-bottom: 100px;}
#index .box02 h2 {font-size: 2.4vw; line-height: 1.2; margin-bottom: 20px;}
#index .box02 .inner {position: relative; z-index: 10;}
#index .box02 .img {width: 50%;}
#index .box02 .txt_area {width: 30%; font-size: 1vw; margin-left: 14%;}
#index .box02 .btn {background-color: #02983f; padding: 10px 0; width: 200px; margin: 30px auto 0 0;}
#index .box02 .icon {position: absolute; top: 10px; left: 10%;}
#index .box03 {padding-bottom: 150px; position: relative;}
#index .box03 h2 {background-color: #fff; padding: 40px; width: 60%; margin-top: -100px; position: relative; z-index: 10; margin-bottom: 40px;}
#index .box03 h2 img {padding-left: 14%; width: 70%;}
#index .box03 .btn {margin: auto; position: relative; z-index: 10; margin-top: 40px; width: 460px;}
#index .box03 .bg {content: ""; width: 72%; background: rgba(191,191,191,.2); position: absolute; bottom: 0; right: 0; height: 490px;}
#index .box04 {background-color: #34373e;}
#index .box04 .img {width: 50%;}
#index .box04 h2 {font-size: 2.4vw;}
#index .box04 h2 span {font-size: 1.8vw;}
#index .box04 .big {font-size: 2.2vw; margin-bottom: 6%;}
#index .box04 .right_area {width: 30%; margin-right: 14%;}
#index .box04 .big02 {font-size: 1.4vw; display: inline; background-color: #fff; padding: 5px; line-height: 2.5;}
#index .box04 .txt {font-size: 1vw; margin-top: 7%;}
#index .box04 .btn {background-color: #02983f; width: 50%; margin: 0 auto; box-sizing: border-box; padding: 10px 0; margin-top: 10%;}
#index .box05 h2 {font-size: 3vw; margin-right: 2%;}
#index .box05 {padding: 100px 0; position: relative;}
#index .box05 .title_area {font-size: 2vw; margin-left: 14%; margin-bottom: 2%; z-index: 10; position: relative;}
#index .box05 .box {background-color: #fff; margin-left: 14%; position: relative; z-index: 10; width: 100%; max-width: 1670px; box-sizing: border-box;}
#index .box05 .img {width: 40%; min-width: 40%;}
#index .box05 .over {position: relative; z-index: 10;}
#index .box05 .over .btn {width: 48%; background-color: #02983f; padding: 15px 0; font-size: 1.2vw;}
#index .box05 .over .btn:nth-child(2) {background-color: #217944;}
#index .box05 .inner {position: relative; z-index: 100; background: #fff; margin-top: 50px;}
#index .box05 ul {width: 100%;}
#index .box05 li {box-sizing: border-box; font-size: 1.3vw; padding: 3.5% 20px; line-height: 1; border-bottom: 2px solid #f3f6fa;}
#index .box05 .bg {width: 1560px; background-color: #f3f6fa; height: 600px; content: ""; position: absolute; bottom: inherit; left: -700px; top: 85px;}
#index .box06 {padding: 0 0 100px;}
#index .box06 .tel {margin-right: 30px;}
#index .box06 .box {box-sizing: border-box; border: 1px solid #000; padding: 20px 0;}
#index .box06 .btn {margin-top: 20px;}
#index .box07 {padding-bottom: 100px;}
#index .box07 h2 {font-size: 60px; margin-right: 50px;}
#index .box07 .title_area {font-size: 35px; line-height: 1; margin-bottom: 50px;}
#index .box07 .big {font-size: 35px; line-height: 1; border-bottom: 2px solid #000; padding-bottom: 10px; margin-bottom: 10px;}
#index .box07 ul {font-size: 16px;}
#index .box07 .inner img {margin-right: 50px;}
#index .box07 .big02 {margin-top: 50px;}
#index .link {box-sizing: border-box; border: 2px solid #217944; background: url(img/index/link_bg.jpg)top left repeat; border-bottom: 6px solid #217944; font-size: 30px; color: #ff0000; line-height: 1; padding: 16px 0;}
#index .link p {margin: 0 30px 0 10px;}
#index .box08 .txt01 {margin: 100px auto 50px;}
#index .box08 ul li:nth-child(2) {margin-left: 100px;}
#index .box08 .next {width: 200px; margin: auto;}


#s02,#s01,#f02,form_area {padding-top: 100px; margin-top: -100px;}

/*========================
FOOTER
========================*/
footer {position: relative; z-index: 1; background-color: #fff;}
footer .img {min-width: 2000px; position: relative; margin-left: -1000px; left: 50%;}
footer .icon {position: absolute; right: 5%; top: 166px;}
footer .inner {font-size: 20px;}
footer .fotul01 li {background: url(img/footer/li_icon.png)center left no-repeat; padding-left: 20px;}
footer .fotul01:nth-child(1) {margin-right: 50px;}
footer .center {margin: 0 50px;}
footer .copyright_area {display: flex; justify-content: center; align-items: center; font-size: 12px; padding: 5px 0; background-color: #02983f; color: #fff; margin-top: 40px;}

/*pankuzu*/
.pan {padding: 20px 0;}
.pan p {max-width: 1200px; font-weight: bold; margin: 0 auto;}
.pan a {display: inline;}

/*========================
ページ設定
========================*/
/*
サムネ
*************/
.page_thumb {
	width: 100%;
	margin: auto;
	box-sizing: border-box; 
	background: url(img/thumb_bg.jpg);
	height: 270px;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 32px;
	letter-spacing: 5px;
	position: relative;
	z-index: 2;
}
.thumb02 {background: url(img/thumb_bg02.jpg);} 
.thumb03 {background: url(img/thumb_bg03.jpg);} 
.thumb04 {background: url(img/thumb_bg04.jpg);} 
.thumb05 {background: url(img/thumb_bg05.jpg);} 
.thumb06 {background: url(img/thumb_bg06.jpg);} 
.thumb07 {background: url(img/thumb_bg07.jpg);} 
.page {position: relative; z-index: 5;}

/*****************
width480px以下
*****************/
@media screen and (max-width:480px) {
.page_thumb img {
	height: 120px;
}
}

/*
タイトル
*************/
.page_title {
	background-color: #02983f;
	text-align: left;
	padding-left: 10px;
	box-sizing: border-box;
	font-weight: bold;
	font-size: 22px;
	color: #fff;
	position: relative;
	z-index: 2;
}
.page_title span {border-left: 5px solid #fff; padding-left: 10px;}
/*
wrap
*************/
.single_page {
	width: 100%;
	max-width: 715px;
	margin-bottom: 40px;
}
.sidebar {width: 24.5%; max-width: 245px; margin-bottom: 40px;}

/*****************
width768px以下
*****************/
@media screen and (max-width:768px) {
.single_page {
	width: 100%;
	margin: auto;
}
	.sidebar {display: none;}
}

/*
記事詳細ページ
***************/

.previous-entries,.next-entries {
	color: #000;
    width: 80px;
    background: #ddd;
    padding: 6px 0 0 10px;
    border: 2px solid #bbb; 
    box-sizing: border-box;
	font-weight: bold;}

.gallery_entry {
	display: inline-block;
	vertical-align: middle;
	width: 12px;
	height: 20px;
	margin: 0 10% 3px;
}

.nav_archive_btn {
	color: #000;
	font-weight: bold;
	width: 150px;
	background: #DCDCDC;
	padding: 6px 0 6px 10px;
	box-sizing: border-box;
	border-bottom: 3px solid #dfdfd0;
}


/*ページネーション
*******************/
.paging {
	clear: both;
	padding: 20px 0;
	position: relative;
	font-size: 14px;
	line-height: 14px;
    text-align: center;
}
.paging-box {
	display: inline-block;
}
.paging span, .paging a {
	display: block;
	float: left;
	margin: 2px 2px 2px 0;
	padding: 10px 15px 10px 15px;
	text-decoration: none;
	width: auto;
	color: #000; /* 文字色 */
	background: #ddd; /* 背景色 */
	border: 1px solid #bbb;
	font-weight: bold;
}
.page-of {display: none !important;}
.paging a:hover{
	color: #fff; /* マウスホバー時の文字色 */
	background: #ccc; /* マウスホバー時の背景色 */
}
.paging .current{
	padding: 10px 15px 10px 15px;
	color: #fff; /* 文字色 */
	background: #ccc; /* 背景色 */
}
@media only screen and (max-width: 413px) {
.paging {
	font-size: 12px;
	padding-bottom: 0;
	line-height: 12px;
}
.paging span, .paging a {
	padding: 8px 10px 8px 10px;
}
.paging .current{
	padding: 8px 10px 8px 10px;
}
}
