@charset "UTF-8";
/*
Theme Name: aibans
Description: aibans
Version: 9.99
*/

a { color:#667534;}
a:link{ color: #667534;}
a:visited{ color: #667534;}
a:hover{ color: #667534;}
a:active{ color: #667534;}

/*  矢印 */
a.flow {
	padding-top: 70px;
	display:block;
	position:relative;
	margin: 0 auto;
}
a.flow span {
	position: absolute;
	top: 0;
	left: 50%;
	width: 24px;
	height: 24px;
	margin-left: -12px;
	border-left: 1px solid #222;
	border-bottom: 1px solid #222;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-animation: sdb 1.5s infinite;
	animation: sdb 1.5s infinite;
	box-sizing: border-box;
}
@-webkit-keyframes sdb {
	0% {
		-webkit-transform: rotate(-45deg) translate(0, 0);
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		-webkit-transform: rotate(-45deg) translate(-20px, 20px);
		opacity: 0;
	}
}
@keyframes sdb {
	0% {
		transform: rotate(-45deg) translate(0, 0);
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		transform: rotate(-45deg) translate(-20px, 20px);
		opacity: 0;
	}
}



.sub_no {
	width: 48px;
	height: 48px;
	text-align: center;
	font-size: 1.6em;
    font-family: 'Shippori Mincho B1', serif;
	color: #fff;
	background: #667534;
	line-height: 42px;
	position: absolute;
	left: -24px;
	top: 0;bottom: 0;
	margin: auto;
	border-radius:24px;
}

.breadcrumbs {
	font-size:12px;
	border-bottom:1px dotted #ccc;
	margin-bottom:1em;
}

.p_2060 {
	padding: 20px 40px 35px;
	border-radius: 0 0 10px 10px;
}
.sub_title2 {
    font-family: 'Shippori Mincho B1', serif;
	font-size: 1.3em;
	background:#667534;
	color: #fff;
	padding: 10px 20px 5px 40px;
	border-radius: 10px 10px 0 0;
}
.call_base {
  position: relative;
}
.call_img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -35px;
  margin: auto;
}


ul.submenus {
  padding: 0;
  position: relative;
}

ul.submenus li {
width:calc(100% / 3);
padding: 0.5em 0.5em 0.5em 2em;
list-style-type: none;
display:inline-block;
position:relative;
}

ul.submenus li:before { 
font-family: "fontawesome";
content: "\f138";
position: absolute;
left : 0.5em;
color: #05406f;
}

ul.submenus li a { 
color: #05406f;
}

ul.submenus li a:hover { 
	text-decoration:underline;
}


.footer_fix {
	position:fixed;
	display:block;
	left:0;bottom:0;
	background: rgba( 255, 255, 255, 0.9);
}

.footer_fix img {
	width:100%;
	max-width:480px;
	height:auto;max-height:80px;
}

.color_f01 {
	background:#c13432;
}

.color_f02 {
	background:#0dac67;
}

.color_f03 {
	background:#226896;
}

h2.screen-reader-text {
	display:none;
}

nav.pagination {
	position:relative !important;
}

ul.pagination li a.active {
    background-color: #4CAF50;
    color: white;
}

ul.pagination li a:hover:not(.active) {background-color: #ddd;}

.hint2 {font-size:0.85em;color:#777;}
.line_001 {border:none;border-top:1px solid #ccc;margin: 1em auto 1em;}
.line_002 {border:none;border-top:1px solid #ccc;margin: 0.5em auto 0.5em;}

@media screen and (min-width: 639px) { 
	.img_50per { max-width:320px; }
}

h3.sp_view{
    border:solid 1px #ddd;
  -moz-border-radius: 5px; /* FF */
  -webkit-border-radius: 5px;/* Webkit */
  border-radius: 5px;
  background: #eee;
  background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
    background: -moz-linear-gradient(top,  #fff,  #eee);
    padding: 5px;margin-bottom:15px;
  -pie-background:linear-gradient(top,  #fff,  #eee);
}
h3.sp_view span {
  border-left:5px #3cf solid;
  padding-left:10px;
}



.calls {
	font-size:1.8em;
	font-weight:600;
	color:#333;
	text-align:center;
	text-decoration:none;

	display:block;
	margin:0 auto;
}

.fix_tag {
	position: -webkit-sticky;
	position:sticky;
	top:25px;left:10px;
	z-index: 9999;
}


#sidemenu {
	width:auto;
	background:#667534;
	display:block;

	margin: 20px 20px 20px 20px;
	padding:20px 0;
	border-radius: 5px 5px;
/*	border-top: 10px solid #887551;*/
}

#sidemenu .mainmenu {
	list-style:none;
}

#sidemenu .mainmenu li {
	width:100%;
	text-align:left;
}

#sidemenu .mainmenu li:first-child a {
	border-top: none;
}

#sidemenu .mainmenu li a {
	width:85%;
    font-family: 'Shippori Mincho B1', serif;
	color:#fff;
	padding: 5px 10px;
	margin: 0 auto;
	display:block;
	position:relative;
	border-top: 1px dashed #ccc;
	transition: 0.2s;
	text-decoration:none;
}

#sidemenu .mainmenu li {
	background: linear-gradient(to right, transparent 50%, #fff 50%);
	background-size: 200% auto;
	background-position: 0 0;

	transition: 0.2s;
	overflow:hidden;
}

#sidemenu .mainmenu li:hover a, 
#sidemenu .mainmenu li:hover a i {
	color:#aaa;text-decoration:none;
}

#sidemenu .mainmenu li:hover {
	background-position: -100% 0;
}




/**
pages
*/
.flex_content {
	display:flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: stretch;
}

.item, .item2 {
	flex-basis: 48.5%;
	position:relative;
}

.item {
/*	padding:10px; */
}

.item > img {
	border:1px solid #ccc;
	padding:10px;
	background:#fff;
}

.item2 {
	border:1px solid #ccc;
	padding:20px;
	background:#fff;
}

.item4 {
	flex-basis: 100%;
	position:relative;
	margin:0 0 18.5px;
	
	border-left:7px solid #1b4898;
	border-radius:3px;
	box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
}

.item5 {
	flex-basis: calc(100% / 3);
	position:relative;
	vertical-align:middle;
	flex-direction: column;
}
.item5 img {
	width:100%;height:auto;
	max-width:240px;
	padding:5px;
	border:1px solid #ccc;
}

.cont_01 {order:2;}
.cont_02 {order:1;}
.cont_03 {order:3;}
.cont_04 {order:4;}
.cont_05 {order:6;}
.cont_06 {order:5;}
.cont_07 {order:8;}
.cont_08 {order:7;}


.sitemap {
	max-width:1080px;
	margin:0 auto;
	padding:20px 0 40px;
}

.sitemap > li > ul > li:not(:first-child) {
	font-size:14px;
}

.sitemap > li > ul > li:first-child a {
	font-size:1em;
}

.sitemap ul {
	list-style:none;
	padding:10px;
}

.sitemap > li {
	width:33.3%;
	display:inline-block;

	vertical-align:top;
}

.sitemap > li > ul > li:not(:first-child) {
	text-indent:1.5em;
}

@media only screen and (max-width:959px) {
ul.submenus li {
	flex-basis: 100%;
	width:100%;
}

.breadcrumbs {
	padding: 0.5em 1em;
}

.sub_no {
	top:0;left:0;bottom:auto;
	border-radius:10px 0 10px 0
}

.call_base, .call_img {
    display: none;
  }
  .p_2060 {
    padding: 20px;
  }
  .sub_title2 {
    font-size: 1em;
  }

.item {
	flex-basis: 100%;
	position:relative;
}
.item2 {
	flex-basis: 100%;
	margin-bottom:10px;
}
.item5 {
	flex-basis: calc(100% / 2)
}

.cont_01 {order:1;}
.cont_02 {order:2;}
.cont_03 {order:3;}
.cont_04 {order:4;}
.cont_05 {order:5;}
.cont_06 {order:6;}
.cont_07 {order:7;}
.cont_08 {order:8;}
}

/******************************************************
* WordPress Origin Class
******************************************************/

.wp-caption{
  max-width: 100%;
}
.wp-caption-text{
  text-align: left;
}
.alignright{
  float: right;
}
.alignleft{
  float: left;
}
.aligncenter{
  clear: both;
  display: block;
  margin: 0 auto;
}

@media screen and (max-width:768px) {
  .alignright,
  .alignleft,
  .aligncenter{
    float: none;
    text-align: center;
    display: block;
    margin: 0 auto;
  }
}

/******************************************************
*Style for wrap
*
* - Includes main visual, main contents and sidebar.
******************************************************/

#wrap{
  margin-bottom: 20px;
}

@media screen and (max-width:768px) {
  #wrap{
    margin-top: 70px; /*Set the height of header.*/
  }
}

/******************************************************
*  Style for main contents
*
* - Stretch according to the width of the browser.
******************************************************/

/*Wrapper id of main contents.*/
#primary{
  float: left;
  width: 100%;
  margin-right: -220px; /*Set a value more than the width of the sidebar.*/
  padding-right: 220px; /*Set a value more than the width of the sidebar.*/
}
#primary main{
  border: 1px #BBB solid;
  padding: 10px;
}

@media screen and (max-width:768px) {
  #primary{
    float: none;
    margin: 0 0 20px 0;
    padding: 0;
  }
}

/******************************************************
*  Style for sidebar
*
* - Fixed width.
******************************************************/

/*Wrapper id of sidebar.*/
#secondary{
  float: right;
  width: 200px; /*Set the width of sidebar.*/
  border: 1px #BBB solid;
  margin-bottom: 20px;
  padding: 10px;
}

/*Wrapper class of widget.*/
#secondary .widget{
  border: 1px #BBB solid;
  padding: 10px;
}
#secondary .widget:not(:last-child){
  margin-bottom: 10px;
}

@media screen and (max-width:768px) {
  #secondary{
    float: none;
    width: 100%;
  }
}

/******************************************************
*  Style for Front Page (displays Your latest posts)
*
* - The body tag has 'home' when you select 'Front page displays Your latest posts'.
* - Describe here if you want to define unique style on the Front Page.
******************************************************/

/*Style for the article box. */
.home .archive-entry{
  display: table;
  border: 1px #BBB solid;
  padding: 10px;
  width: 100%;
}

/*Style for the article thumbnail. */
.home .archive-entry .entry-thumbnail{
  display: table-cell;
  width: 200px; /*Set the width of the thumbnail.*/
  vertical-align: middle;
}

/*Style for the article title and excerpt. */
.home .archive-entry .entry-main{
  display: table-cell;
  vertical-align: top;
  padding-left: 10px;
}
.home .archive-entry .entry-main h3 a{
  font-size: 18px;
}

@media screen and (max-width:768px) {
  .home .archive-entry .entry-thumbnail{
    display: block;
    width: 100%;
    text-align: center;
  }
  .home .archive-entry .entry-thumbnail img{
    max-width: 200px;
  }
  .home .archive-entry .entry-main{
    display: block;
  }
}

/******************************************************
*  Style for Single Page
*
* - The body tag has 'single' class on the single page.
* - Describe here if you want to define unique style on the single page.
******************************************************/

/*Style for the article title.*/
.single h2.entry-title{
  font-size: 20px;
}

/*Style for the article thumbnail. */
.single .entry-thumbnail{
  text-align: center;
}
.single .entry-thumbnail img{
  width: 100%;
  max-width: 250px; /*Set the max width of the thumbnail.*/
}

/*Style for the article content. */
.single .entry-content{
  border: 1px #BBB solid;
  margin-bottom: 10px;
}

/*Style for the pagenation. */
.single .pagenation{
  border: 1px #BBB solid;
  margin-bottom: 10px;
  padding: 10px;
}
.single .pagenation .prev{
  float: left;
}
.single .pagenation .next{
  float: right;
}

/*Style for the tag. */
.single .tag{
  border: 1px #BBB solid;
  margin-bottom: 10px;
  padding: 10px;
}

/******************************************************
*  Style for Archive Page
*
* - The body tag has 'archive' class on the archive page.
* - Describe here if you want to define unique style on the archive page.
******************************************************/

/*Style for the archive category title.*/
.archive h2.archive-title{
  font-size: 20px;
}

/*Style for the article box. */
.archive .archive-entry{
  display: table;
  border: 1px #BBB solid;
  padding: 10px;
  width: 100%;
}

/*Style for the article thumbnail. */
.archive .archive-entry .entry-thumbnail{
  display: table-cell;
  width: 200px; /*Set the width of the thumbnail.*/
  vertical-align: middle;
}

/*Style for the article title and excerpt. */
.archive .archive-entry .entry-main{
  display: table-cell;
  vertical-align: top;
  padding-left: 10px;
}
.archive .archive-entry .entry-main h3 a{
  font-size: 18px;
}

@media screen and (max-width:768px) {
  .archive .archive-entry .entry-thumbnail{
    display: block;
    width: 100%;
    text-align: center;
  }
  .archive .archive-entry .entry-thumbnail img{
    max-width: 200px;
  }
  .archive .archive-entry .entry-main{
    display: block;
  }
}
