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

/*========================*/

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 {max-width: 100%; padding: 10px 0; background-color: #0a1031; color: #fff;}
header h1 {font-size: 12px; font-weight: bold;}
header h2 {font-size: 35px; font-weight: bold; line-height: 1; margin-top: 5px;}
header .min {font-size: 12px; font-weight: bold; letter-spacing: 2px; line-height: 1; margin-top: 10px;}
.main_nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	max-width: 1000px;
	margin: 0 auto;
	padding: 20px 0;
}
.main_nav .min {font-size: 10px; color: #db9218;}
.navall {background-color: #fce9cc;}
.main_nav li {border-left: 1px solid #000; padding: 0 47px;}
.main_nav li:nth-child(6) {border-right: 1px solid #000;}
/*
slider
*************/
.bx-wrapper {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.bx-viewport {overflow: inherit!important;}
.bx-wrapper {
    margin:0 auto;
    width:100%;
    max-width: 1270px;
}
.bx-wrapper img {
    width: 100%;
    object-fit: cover;
	font-family: 'object-fit: cover;'
}
.slide_box li {
	box-sizing: border-box;
}
/*========================
index
========================*/
#index .bnr{background: url("img/index/bnr_bg.jpg")center center no-repeat;}
#index .bnr .inner01{padding: 50px 0;}
#index .bnr a:nth-child(2) {margin: 0 50px;}

#index .box01 {background: url(img/index/box01_bg.jpg); background-attachment: fixed; background-size: cover; padding: 50px 0;}
#index .box01 .con {background-color: rgba(255,255,255,0.85); padding: 30px 0; max-width: 840px; margin: 0 auto;}
#index .box01 .logo {margin: 0 auto;}
#index .box01 p {font-size: 16px; text-align: center; color: #0b1133; font-weight: bold; margin: 30px auto; line-height: 1.8;}
#index .box01 .btn {margin: 0 auto;}

#index .setagaya_area {background: url(img/setagaya/bg.jpg)top center no-repeat; padding: 30px 0;}
#index .setagaya_area .icon {position: absolute;}
#index .setagaya_area .icon01 {left: -37px; top: -21px;}
#index .setagaya_area .icon02 {right: -34px; top: -25px;}
#index .setagaya_area .icon03 {left: 0; right: 50px; margin: auto; top: -11px;}
#index .setagaya_area .btn {margin: 30px auto 0;}
@media screen and (max-width:500px) {
	#index .setagaya_area {padding: 0; background: none;}
	#index .setagaya_area .btn {margin: auto; position: absolute; bottom: 10%; width: 80%; right: 0; left: 0;}
}

#index .box02 {background: url(img/index/box02_bg.jpg)top center repeat; padding: 50px 0; font-weight: bold;}
#index .box02 .h2_icon {margin: 0 auto;}
#index .box02 h2 {text-align: center; font-size: 18px; font-weight: bold; margin-bottom: 30px;}
#index .box02 h3 {font-size: 16px; font-weight: bold;}
#index .work_item {max-width: 285px; min-width: 285px; margin-bottom: 30px; margin-right: 20px;}
#index .work_item:nth-child(4n) {margin-right: 0;}
.work_no {min-width: 50px; min-height: 75px; margin-right: 15px;}
.work_item:nth-child(1) .work_no {background: url(img/index/box02_icon01.jpg)top center no-repeat;}
.work_item:nth-child(2) .work_no {background: url(img/index/box02_icon02.jpg)top center no-repeat;}
.work_item:nth-child(3) .work_no {background: url(img/index/box02_icon03.jpg)top center no-repeat;}
.work_item:nth-child(4) .work_no {background: url(img/index/box02_icon04.jpg)top center no-repeat;}
.work_item:nth-child(5) .work_no {background: url(img/index/box02_icon05.jpg)top center no-repeat;}
.work_item:nth-child(6) .work_no {background: url(img/index/box02_icon06.jpg)top center no-repeat;}
.work_item:nth-child(7) .work_no {background: url(img/index/box02_icon07.jpg)top center no-repeat;}
.work_item:nth-child(8) .work_no {background: url(img/index/box02_icon08.jpg)top center no-repeat;}
#index .work_img {box-sizing: border-box; border: 5px solid #1c1e2b; margin-bottom: 20px; object-fit: cover;}
#index .work_img img {height: 213px; object-fit: cover; max-height: 213px;}
#index .box02 .work_txt_box {font-size: 13px;}
#index .box02 .btn {margin: 0 auto;}

#index .box03 {background: url(img/index/box03_bg.jpg)top center no-repeat; padding: 50px 0; background-size: cover;}
#index .box03 .h2_icon {margin: 0 auto;}
#index .box03 h2 {text-align: center; font-size: 18px; font-weight: bold; color: #fbe9cd;}
#index .box03 .big {margin: 0 auto 20px;}
#index .box03 .btn {width: 500px; margin: 40px auto 0;}
#index .box03 ul {
	display: flex;
	justify-content: space-between;
}
#index .box03 ul li {
	background-color: #fff;
	padding: 2px;
	max-width: 324px;
}
#index .box03 ul li .under {
	background-color: #fff;
	padding: 20px;
}
#index .box03 ul li .under p {
	font-size: 16px;
	text-align: center;
	font-weight: bold;
}
#index .box03 ul li .under .btn02 {
	max-width: 185px; margin: 0 auto;
	margin: 31px auto 0;
}

#index .box04 {background: url(img/index/box04_bg.jpg); background-attachment: fixed; background-size: cover; padding: 50px 0;}
#index .box04 h2 {font-size: 46px; color: #f8e9ce; font-weight: bold; text-align: center; line-height: 1; margin-bottom: 30px;}
#index .box04 h2 span {font-size: 75px;}
#index .box04 .con {background: url(img/index/box04_con_bg.png)top center; background-size: cover; box-sizing: border-box; border: 5px solid #fff; max-width: 1000px; margin: 0 auto; padding: 20px;}
#index .box04 .big {font-size: 40px; font-weight: bold; color: #0b1133; line-height: 1; letter-spacing: -2px;}
#index .box04 .big span {font-size: 33px; letter-spacing: -1px;}
#index .box04 .over {display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;}
#index .box04 .btn {margin-top: 20px;}

#index .box05 {background: url(img/index/box05_bg.jpg)top center repeat; background-color: #f6f6f6; padding: 50px 0; font-weight: bold; font-size: 16px;}
#index .box05 .h2_icon {margin: 0 auto;}
#index .box05 .inner {display: flex; justify-content: space-between; align-items: flex-start; margin-top: 30px;}
#index .box05 h2 {text-align: center; font-size: 18px; font-weight: bold;}
#index .box05 .leftarea {max-width: 46%; text-align: justify;}
#index .box05 .big {font-size: 27px; line-height: 1;}
#index .box05 .bdr {border-bottom: 2px solid #0b1133; content: ""; width: 60px; margin: 30px 0; }
#index .box05 p {line-height: 2; letter-spacing: -1px;}
#index .box05 ul {display: flex; justify-content: space-between; margin-top: 30px; margin-bottom: 30px;}
#index .box05 .btn {margin: 0 auto;}

#index .box06 {background: url(img/index/box06_bg.jpg)center center no-repeat; padding: 50px 0; color: #fff; font-weight: bold;}
#index .box06 h2 {font-size: 55px; font-weight: bold; text-align: center; line-height: 1; margin-bottom: 30px;}
#index .box06 .btn {margin: 45px auto 0;}
#index .box06 .inner .big {font-size: 22px;}
#index .box06 .inner {display: flex; justify-content: space-between; align-items: center; font-size: 15px; max-width: 380px; margin: 0 auto;}
#index .box06 .inbox {position: relative;}
#index .box06 .inbox:before {
	position: absolute;
	content: "";
	background: url(img/index/box06_icon01.png);
	width: 202px;
	height: 260px;
	top: 0;
	left: 75px;
}
#index .box06 .inbox:after {
	position: absolute;
	content: "";
	background: url(img/index/box06_icon02.png);
	width: 201px;
	height: 255px;
	top: 0;
	right: 75px;
}

#index .box07 {background: url(img/index/box07_bg.png)top center no-repeat; background-size: cover; padding: 50px 0;}
#index .box07 h2 {text-align: center; font-size: 18px; font-weight: bold;}
#index .box07 #voice_list {margin-top: 50px; display: flex;} 
#index .box07 .h2_icon {margin: 0 auto;}
#index .box07 .btn {position: absolute;
right: 0;
top: 70px;}
#in
#index .box07 .voice_img {max-width: 319px;}
#index .box07 .voice_img img {min-height: 200px; max-height: 200px; object-fit: cover;}
#index .box07 .voice_item {max-width: 319px; box-sizing: border-box; border-bottom: 2px solid; padding-bottom: 20px; background-color: #fff; padding: 10px;}
#index .box07 .voice_txt {font-weight: bold; margin-top: 15px; margin-bottom: 15px;}
#index .box07 .voice_txt h3 {font-size: 16px; font-weight: bold; margin-bottom: 2px;}
#index .box07 .btn02 {margin: 0 auto;}

#index .box08 {background-color: #f7f7f7; padding: 50px 0;}
#index .box08 h2 {font-size: 34px; font-weight: bold; padding: 10px 0 10px 20px; border-left: 4px solid; line-height: 1; margin-bottom: 30px;}
#index .box08 .over {display: flex; justify-content: space-between; align-items: flex-start;}
#index .box08 .title_area {display: flex; background-color: #0b1133; padding: 7px; justify-content: space-between; align-items: center;}
#index .box08 .title_area h3 {font-size: 26px; font-weight: bold; color: #fff; line-height: 1;}
#index .box08 .img {box-sizing: border-box; border: 2px solid #0b1133;}
#index .box08 .list {padding: 0 20px;}
#index .box08 .blog_item_area {max-width: 500px; min-width: 500px; box-sizing: border-box; border: 2px solid #0b1133;}
#index .box08 .blog_txt_item01 {margin-right: 20px;}
#index .box08 .blog_item,#index .box08 .blog_item h4 {font-weight: bold;}
#index .box08 .blog_item h4 {margin-bottom: 7px;}
#index .box08 .blog_item {margin: 17.5px 0; border-bottom: 2px dashed; box-sizing: border-box; padding-bottom: 17.5px;}
#index .box08 .blog_item:nth-last-child(1) {margin-bottom: 0; border-bottom: none;}
#index .box08 ul {display: flex; justify-content: space-between; font-size: 18px; color: #fff; font-weight: bold; margin-top: 30px;}
#index .box08 ul li {background-color: #0b1133; padding: 5px 0; width: 240px;}
#index .box08 ul li .icon {margin-right: 30px; margin-left: 10px;}
#index .box08 ul li .bdr {content: ""; width: 100%; box-sizing: border-box; border-bottom: 4px solid #fff; padding-top: 5px;}
#index .photo {background: url(img/index/photo.jpg)top center repeat; height: 300px; content: "";}

#index .box09 {background-color: #1c1e2b; padding: 50px 0;}
#index .box09 .inner {display: flex; justify-content: flex-start; max-width: 1000px; margin: 0 auto; align-items: flex-end; background: url(img/index/box09_bg.jpg)top right no-repeat; font-weight:  bold;}
#index .box09 .inner .center {line-height: 2; margin-bottom: 16px; margin-left: 10px;}
#index .box09 .rightarea {margin-bottom: 15px; margin-left: 20px;}
#index .box09 .tel {margin-bottom: 10px;}
#index .box10 {background: url(img/index/box10_bg.jpg); background-attachment: fixed; background-size: cover; padding: 50px 0; font-weight: 500; text-align: justify;}
#index .box10 p {max-width: 1000px; margin: 0 auto; color: #fff; line-height: 2; font-weight: bold;}
#index .box10 h2 img {margin: 0 auto 20px;}
.calendar_box {padding: 50px 0;}
.calendar_box .title_txt {font-size: 50px; line-height: 1; font-weight: 900; color: #000;}
.calendar_box h2 {font-size: 16px; line-height: 1; font-weight: 700; margin-top: 12px;}
.calendar_box .calendar_month {margin: 0 auto; position: relative; max-width: 1200px; display: flex; align-items: center; justify-content: flex-end; padding-bottom: 65px; margin-top: -45px;}
.calendar_box .calendar_month #prev {color: #fff; font-size: 18px; line-height: 1; font-weight: bold; box-sizing: border-box; padding: 7px 20px; justify-content: center; align-items: center; display: flex; border-bottom: 3px solid #414565; background: #0a1031;}
.calendar_box .calendar_month .month_now {font-size: 24px; line-height: 1; font-weight: bold; text-align: center; background: #0a1031; color: #fff; font-weight: 900;; box-sizing: border-box; display: flex; align-items: center; justify-content: center; width: 100%; height: 55px; left: 0; right: 0; bottom: 0; position: absolute;}
.calendar_box .calendar_month .month_next {color: #fff; font-size: 18px; line-height: 1; font-weight: bold; box-sizing: border-box; padding: 7px 20px; justify-content: center; align-items: center; display: flex; border-bottom: 3px solid #414565; background: #0a1031; margin-left: 10px;}
.calendar_box #wp-calendar {max-width: 1200px; width: 100%; font-size: 16px; margin: 0 auto; background: #fff;}
.calendar_box #wp-calendar th,.calendar_box #wp-calendar td {text-align: center; width: calc(100% / 7); box-sizing: border-box; font-weight: 500; border-left: 1px solid #fff; border-bottom: 1px solid #fff; font-size: 18px;}
.calendar_box #wp-calendar th {font-weight: 900; background: #939393; color: #fff; padding: 5px 0; font-size: 20px; border-top: 1px solid #fff;}
.calendar_box #wp-calendar td {height: 80px; padding-bottom: 0;}
.calendar_box #wp-calendar td div {padding: 5px 0; font-weight: 500;}
.calendar_box #wp-calendar tr th:nth-of-type(1),.calendar_box #wp-calendar tr td:nth-of-type(1) {border-left: none;}
.calendar_box .cpt_date {pointer-events: none; background: #0a1031; padding: 5px 0; color: #fff;}
.calendar_box .situation01 {background: #fce9cc;}
.calendar_box .situation02 {background: #d0d0d0;}
.calendar_box .case_inner {max-width: 1200px; margin: 60px auto 20px;}
.calendar_box .case_inner p {font-size: 18px; line-height: 1; display: flex; align-items: center; justify-content: flex-start; font-weight: 500;}
.calendar_box .case_inner p span {display: block; width: 40px; height: 10px; background: #fce9cc; margin-right: 10px;}
.calendar_box .case_inner p:nth-of-type(2) {margin-left: 20px;}
.calendar_box .case_inner p:nth-of-type(2) span {background: #d0d0d0;}
.calendar_box .calendar_month #prev.pad {display: none;}
.calendar_box #next.pad {display: none;}
.calendar_box .note_list {margin-top: 20px; font-weight: 500; display: flex; align-items: center; justify-content: flex-start;}
.calendar_box .note_list li {font-size: 16px; line-height: 1;}
.calendar_box .note_list li:nth-of-type(n + 2) {margin-left: 20px;}
.calendar_box .note_txt {margin-top: 10px; font-size: 16px; font-weight: 500;}
.calendar_box .btn {width: 500px; margin: 40px auto 0; border-bottom: 3px solid #414565; background: linear-gradient(180deg, #102D36, #1B202C); font-size: 17px; line-height: 1; padding: 20px 0; position: relative; color: #fff; font-weight: bold;}
.calendar_box .btn .arrow {position: absolute; right: 20px; top: 0; bottom: 0; margin: auto; line-height: 1; display: table;}


/*========================
FOOTER
========================*/
footer {padding-bottom: 100px;}
footer .over {background-color: #0b1034; padding: 30px 0; color: #fff; font-weight: bold;}
footer .over p {display: inline; border-bottom: 1px solid; margin-left: 10px;}
footer .over ul {margin-top: 20px;}
footer .over ul li {margin-bottom: 15px;}
footer .over ul li:nth-last-child(1) {margin-bottom: 0;}



.copyright_area {background-color: #eeeeee; color: #000; display: flex; justify-content: center; font-size: 12px; font-weight: bold; padding: 10px 0;}

/*pankuzu*/
.pan {background-color: #e7e1dd; padding: 20px 0;}
.pan p {max-width: 1000px; font-weight: bold; margin: 0 auto;}
.pan a {display: inline;}
/*****************
width480px以下
*****************/
@media screen and (max-width:480px) {
#page_top { bottom: 0; }
}

/*========================
POP BANNER background:
========================*/
#pop_banner {
	width: 900px;
	margin: auto;
	position: fixed;
	bottom: 20px;
	left: 0;
	right: 0;
	padding: 5px 5px 5px 20px;
	z-index: 100;
	background: url(img/footer/pop_bg.png)top left no-repeat;
	background-color: #eeeeee;
	box-sizing: border-box; 
	border: 3px solid #000;
}
#pop_banner .tel {margin-left: 50px;}
#pop_banner .item_box {
	width: 100%;
	max-width: 1000px;
	position: relative;
	}
#pop_banner .item02 {
	width: 72px;
	margin-right: 5px;
}
#pop_banner .spitem02 {
	display: none;
}
#pop_banner .page_top {width: 62px;}
/*****************
width480px以下
*****************/
@media screen and (max-width:480px) {
	.spfont11 {
		font-size: 11px;
		margin-right: 0px!important;
	}
#pop_banner h1,
#pop_banner .head02 { display: none; }
	#pop_banner .spitem02 {
		display: block;
		max-width: 93px;
		width: 100%;
	}
#pop_banner .item {
	width: 76%;
	border-right: 1px solid #000;
	margin: auto auto auto 4%;
}
}

/*========================
POP_BANNER_CONTACT
========================*/
#pop_banner_contact {
	background: #fff; 
	position: fixed;
	top: 100px;
	right: 0;
	z-index: 20;
}


/*========================
		googleMAP
========================*/
.ggmap {
position: relative;
padding-bottom: 70%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
 
.ggmap iframe,
.ggmap object,
.ggmap embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}


/*========================
ページ設定
========================*/
/*
サムネ
*************/
.page_top_img {
	width: 100%;
}
.page_thumb {
	width: 100%;
	margin: auto;
	box-sizing: border-box; 
}
.page_thumb img {
	height: 200px;
	object-fit: cover;
	width: 100%;
}
.top_slider2 {
	display: none;
}
/*****************
width480px以下
*****************/
@media screen and (max-width:480px) {
.page_thumb img {
	height: 120px;
}
}

/*
タイトル
*************/
.page_title {
	background-color: #0a1031;
	text-align: left;
	padding-left: 15px;
	color: #fce9cc;
}
.page_title span {box-sizing: border-box; border-left: 4px solid #fce9cc; padding-left: 10px;}

.child_title {
	color: #fff;
	font-size: 25px;
	font-weight: bold;
	background: #58a7c6;
	padding: 10px;
	text-align: center;
}

/*
wrap
*************/
.single_page {
	width: 100%;
	max-width: 715px;
}

/*****************
width768px以下
*****************/
@media screen and (max-width:768px) {
.single .flex2 { flex-direction: column-reverse; }
/*
wrap
*************/
.single_page {
	width: 100%;
	margin: auto;
}
	.top_slider2 {
		display: block;
	}
	.top_slider {
		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: #fff;
	font-weight: bold;
	width: 150px;
	background: #0a1031;
	padding: 6px 0 6px 10px;
	box-sizing: border-box;
}


/*ページネーション
*******************/
.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;
	line-height: 12px;
}
.paging span, .paging a {
	padding: 8px 10px 8px 10px;
}
.paging .current{
	padding: 8px 10px 8px 10px;
}
}
