@charset "utf-8";
/*
Theme Name: huwari_child
Template: huwari
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 {
	box-sizing: border-box;
}
header .topnavi {display: flex; justify-content: space-between;}
header .over {
	display: flex;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	align-items: center;
}
header .over_all {
	background-color: #000000;
	padding: 10px 0;
	}
header h1 {margin-right: 250px;}
header ul li {
	color: #fff;
	font-size: 1.1em;
	font-weight: bold;
	margin-right: 20px;
}
header ul li:nth-child(5) {margin-right: 0;}
header .face,header .insta {height: 35px;}
header .mail {height: 21px;}
.clearfix:after {
	content:"";
	display:block;
	clear: both;
}
header #navi {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: rgba(13,54,128,0.8);
	color: #fff;
	z-index: 2000;
}
.top_slider2 .o {
margin-top: -22px;	
}
header #navi a {color: #fff;}
/*========================
index
========================*/
#index .box015 {background: url(img/index/box00_bg.jpg)top center repeat; font-size: 20px; line-height: 1.5; padding: 60px 0;}
#index .box015 .title {margin: 20px auto 30px;}
#index .box015 .logo {margin-top: 30px;}

#index .box01 {padding: 120px 0; background: url(img/index/box01_bg.jpg)top center repeat; background-attachment: fixed; background-size: cover;}
#index .box01 .logo {margin: 0 auto;}
#index .box01 h2 img {margin: 40px auto;}
#index .box01 p {color: #fff; font-size: 16px; line-height: 2;}

#index .info {padding: 40px 0;  background: url("img/index/box00_bg.jpg")top left no-repeat; font-size: 18px; line-height: 1; text-align: center; background-size: cover;}
#index .info h2{font-size: 30px; padding: 20px 0;}
#index .info .txt01{margin-top: 40px;}
#index .info .txt02{margin-top: 20px; line-height: 1.5;}
#index .info .txt03{margin-top: 20px;}
#index .info .logo{margin-top: 40px; width: 13%;}

#index .to{padding: 50px 0; background: url("img/index/to_bg.jpg")top left repeat;}
#index .to h2 {margin-bottom: 50px;}
#index .to .btn{box-sizing: border-box; background: #000; margin-top: 20px; font-size: 20px; line-height: 1.3; padding: 10px 0;}
#index .to .menu02 {margin: 0 50px;}

#index .box02 {background: url(img/index/box02_bg.jpg)top center repeat; padding: 50px 0;}
#index .box02 .btn {margin: 40px auto 0;}
#index .box02 h2 img {margin: 0 auto 50px;}
#index .box02 ul {display: flex; justify-content: space-between; max-width: 1100px; margin: 0 auto;}
#index .box02 ul li {max-width: 353px;}
#index .box02 p {text-align: justify; max-width: 85%; color: #000; font-weight: bold; margin: 0 auto;}
#index .box02 ul li .under {background-color: #fff; padding: 15px 0; box-sizing: border-box; border: 3px solid #A7A7A7; border-top: none;}

/*box03*/
#index .box03 {background: url(img/index/box03_bg.jpg)top right repeat; position: relative; font-size: 16px; font-family: "メイリオ";}
#index .box03 h2 img {margin-left: 10px;}
#index .box03 .img {position: absolute; right: 40%;}
#index .box03 .rightarea {
	position: absolute;
	right: 0;
	top: 100px;
}
#index .box03 .rightarea p {-webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
	margin: 40px 0;
	text-align: left;
	line-height: 3;
	font-weight: bold;
	margin-right: 100px;
}
#index .box03 .rightarea .big {position: absolute; top: 72px; right: 0;}
#index .box03 .inbox10 {height: 738px;}
#index .box03 .btn {margin: 0 auto;}

/*box04*/
#index .box04 {background: url(img/index/box04_bg.jpg)top center repeat; 
	background-attachment: fixed;
    background-size: cover;
padding: 120px 0;}
#index .box04 h2 img {margin: 0 auto 60px;}
#index .box04 ul {
	display: flex;
	justify-content: space-between;
}
#index .box04 ul li .under {
	background-color: #fff;
	padding: 10px;
	box-sizing: border-box;
	border: 3px solid #A7A7A7;
	border-top: none;
}
#index .box04 ul li .under p {
	font-size: 16px;
	text-align: center;
	font-weight: bold;
}
#index .box04 ul li .under .btn02 {
	max-width: 204px; margin: 0 auto;
	margin: 10px auto 0;
}

/*box05*/

#index .box05 {background: url(img/index/box05_bg.jpg)top left repeat; padding: 120px 0;}
#index .box05 h2 img {margin: 0 auto 40px;}
.bx-wrapper {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.slide_box {
    width: 100%;
    height: 100%;
	margin: 0 auto;
    position: relative;
	box-sizing: border-box;
	padding: 20px 0;
}
.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 #sliderInner {
    position:relative;
    width:100%;
    max-width: 1270px;
    margin: auto; 
}
.slide_box li {
	box-sizing: border-box;
}
#index .box05 .btn {margin: 40px auto 0;}
#index .box05 .btn img {margin: 0 auto;}
/*box06*/
#index .box06 {background: url(img/index/box06_bg.jpg)top left repeat; padding: 80px 0;}
#index .box06 h2 {max-width: 348px; margin: 0 auto 20px;}
#index .box06 p {font-weight: bold; letter-spacing: 1px;}
#index .box06 .inner {display: flex; justify-content: space-between; max-width: 800px; margin: 40px auto 0;}

/*box07*/
#index .box07 {background: url(img/index/box07_bg.jpg)top center no-repeat; padding: 120px 0; background-attachment: fixed;
    background-size: cover;}
#index .box07 .inbox10 {display: flex; justify-content: space-between;}
#index .blog_item_area {box-sizing: border-box; border: 3px solid #e0e0e0; background-color: #fff; text-align: left; padding: 20px 20px 20px 0; width: 47.5%;}
#index .box07 .title_area {display: flex; justify-content: space-between; margin-bottom: 30px; align-items: center;}
#index .box07 .title_area h3 {margin-left: 20px;}
#index .blog_item {margin: 0 20px; font-weight: bold; letter-spacing: 1px; box-sizing: border-box; border-bottom: 1px dashed #000; padding: 10px 0;}
#index .blog_item:nth-last-child(1) {border-bottom: 0;}
#index .blog_txt_item01 {margin-right: 20px; color: #000;}
#index .blog_txt_item02 {font-size: 14px;}
#index .blog_item h4 {font-weight: bold; font-size: 16px;}

#index .news_item_area {box-sizing: border-box; border: 3px solid #e0e0e0; background-color: #fff; width: 47.5%; text-align: left; padding: 20px 20px 20px 0; }

#index .box08{background: url(img/index/box08_bg.jpg)top center repeat; padding: 120px 0;}
#index .box08 h2 img {margin: 0 auto;}
#index .box08 h3 {font-size: 20px; font-weight: bold; margin-bottom: 10px;}
#index .box08 .inner {display: flex; justify-content: space-between; max-width: 1100px; margin: 50px auto; text-align: left; position: relative;}
#index .box08 .inner .con {display: flex; justify-content: space-between; align-items: flex-start; margin-top: 15px;}
#index .box08 .inner table {width: 100%;}
#index .box08 .inner table td {font-weight: bold;}
#index .box08 .box {background-color: #fff; box-sizing: border-box; border: 3px solid #e0e0e0; max-width: 550px; padding: 20px; width: 515px; line-height: 1.5;}
#index .box08 .box ul {font-weight: bold;}
#index .box08 iframe {width: 1100px; box-sizing: border-box; border: 3px solid #e0e0e0;}
#index .box08 .rightbox th {width: 100px;}
#index .box08 .leftbox th {width: 80px;}
#index .box08 .btn {position: absolute; top: -110px; right: 0;}


/*========================
FOOTER
========================*/
footer {background:  url(img/footer/bg.jpg)top center repeat; box-sizing: border-box; border-top: 5px solid #a7a7a7;}
footer .inner {display: flex; justify-content: space-between; color: #fff; font-weight: bold; max-width: 1200px; margin: 0 auto; padding: 30px 0; align-items: center;}
footer .inner .logo {margin-right: 50px;}
footer .inner ul {text-align: left; font-weight: 500; margin-right: 40px;}
footer .inner ul:nth-child(3) {margin-right: 0;}
footer .inner ul li {line-height: 2;}
footer .inner .mail {margin-right: 38px; height: 21px;}
footer .copyarea  {background-color: #000; color: #fff; font-weight: 500; text-align: center; padding: 10px 0;}

/*========================
		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: 220px;
	width: 100%;
	object-fit: cover;
}
.top_slider2 {
	display: none;
}
/*****************
width480px以下
*****************/
@media screen and (max-width:480px) {
.page_thumb img {
	height: 120px;
	margin-top: 35px;
}
}

/*
タイトル
*************/
.page_title {
	color: #000;
    box-sizing: border-box;
    border: 3px solid #000;
    text-align: left;
    padding-left: 1em;
    background-color: #fff;
	max-width: 1200px; margin: 0 auto;
}
.child_title {
	color: #fff;
	font-size: 25px;
	font-weight: bold;
	background: #0D3680;
	padding: 10px;
	text-align: center;
}

/*
wrap
*************/
.single_page {
	width: 100%;
	margin: 0 auto;
	text-align: left;
}

/*****************
width768px以下
*****************/
@media screen and (max-width:500px) {
.single .flex2 { flex-direction: column-reverse; }
/*
wrap
*************/
	.page_title {
		font-size: 20px;
	}
.single_page {
	width: 100%;
	margin: auto;
}
}
/*
記事詳細ページ
***************/

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

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

.nav_archive_btn {
	color: #fff;
	width: 150px;
	background: #000;
	padding: 6px 0 6px 10px;
	box-sizing: border-box;
	border: 2px solid #bbb; 
}
.nav_archive_btn a {color: #fff;}

/*ページネーション
*******************/
.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;
}
.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;
}
}

/*color*/
.m_brown {
	color: #8c7759;
}
.blog_t {color: #262626;}
.pdg-mb {
    padding: 10px 20px 20px 20px;	
}
@media screen and (max-width:500px) {

	header .pcmenu {
		display: none;
	}
	header #navi {
		min-height: 0;
	}
	#nav-drawer { position: relative; position: fixed; display: flex; background-color: #000; top: 0; left: 0; z-index: 7000;padding: 10px 0; width: 100%; right: 0; align-items: center; height: 50px;}
#nav-drawer .header_logo {
	width: 100px;
	margin: auto;
}
/*チェックボックス非表示*/
.nav-none { display:none; }

/*アイコンスペース*/
#nav-open {
    display: inline-block;
    width: 25px;
    height: 25px;
    vertical-align: middle;
    margin: auto 0;
    position: absolute;
    top: 7px;
    bottom: 0;
    right: 10px;
}

/*openアイコン*/
#nav-open span,
#nav-open span:before,
#nav-open span:after {
	content: '';
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #fff;
    display: block;
    cursor: pointer;
    position: absolute;
}
#nav-open span:before { bottom: -8px; }
#nav-open span:after { bottom: -16px; }

/*closeアイコン*/
#nav-close {
    display: inline-block;
    width: 25px;
    height: 25px;
    vertical-align: middle;
    margin: auto 0;
    position: absolute;
    top: 7px;
    bottom: 0;
    right: 10px;
}
#nav-close span {
	content: '';
    display: none;
    opacity: 0;
    transition: .3s ease-in-out;
    display: block;
    cursor: pointer;
    position: absolute;
    z-index: 9999;
}
#nav-close span:after,
#nav-close span:before {
	content: '';
    display: none;    
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #555;
    opacity: 0;
    transition: 1s ease-in-out;
    cursor: pointer;
    position: absolute;
    z-index: 9999;
}
#nav-close span:after {
	transform: rotate(45deg);
	bottom: -8px;
}
#nav-close span:before {
	transform: rotate(-45deg);
	bottom: -8px;
}

/*content*/
#sp_nav {
    overflow: auto;
    width: 100%;
    height: 100%;
    background: url(img/index/box03_bg.jpg)top left repeat;
    transition: 0.3s ease-in-out;
    -webkit-transform: translateX(105%);
    transform: translateX(105%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 8888;
}

/*チェックで表示*/
#nav-input:checked ~ #nav-close,
#nav-input:checked ~ #nav-close span,
#nav-input:checked ~ #nav-close span:after,
#nav-input:checked ~ #nav-close span:before {
	display: block;
	opacity: 1;
}
#nav-input:checked ~ #sp_nav {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
}

#nav-drawer #sp_nav ul {
	width: 100%;
	margin: 10% 0 0;
}
#nav-drawer #sp_nav ul li {
	color: #424242;
	font-size: 18px;
	width: 80%;
	border-bottom: 2px dashed #424242; 
	margin: 0 auto 1em;
	padding-bottom: 1em;
	text-align: center;
}
#nav-drawer #sp_nav ul li.header_logo {
	background: url(img/header/logo.png) top center no-repeat;
	background-size: contain;
	max-width: 195px;
	margin: 0 auto 2em;
	padding-bottom: 0; 
	border-bottom: none; 
}
#nav-drawer #sp_nav ul li.header_logo a {
	opacity: 0;
	padding-bottom: 70px;
}
	header {padding: 35px 0 0;}
	header .sp-left {
		justify-content: space-between;
		width: 100%;
		margin-left: 20px;
	}
	header .sp-left p {
		font-size: 0.6em;
		line-height: 1;
		font-weight: bold;
		align-self: flex-end;
	}
}