/*
Theme Name: 17_child_old
Template: twentyseventeen
*/
 
@import url('../twentyseventeen/style.css');

/* teienfirst.com */



/* 記事内のリンク */
.entry-content a {
/*	font-weight:bold;*/
	/* リンク文字を太字 */
	color: #000099;
	text-decoration: none;
	-webkit-box-shadow: none;
}
/* リンクの色 */
.entry-content a:hover{
	color: #f03;
	-webkit-box-shadow: none;
} /* カーソルを乗せた時の色 */

/* ウィジット内のリンク */
.widget-area .widget a {
	color: #000099;
	text-decoration: underline;
	-webkit-box-shadow: none;
}
/* リンク部分の文字色 */
.widget-area .widget a:hover{
	color: #f03;
	-webkit-box-shadow: none;
} /* カーソルを乗せた時の色 */


.site-footer .widget-area a:focus,
.site-footer .widget-area a:hover,
.entry-footer a:focus,
.entry-footer a:hover,
.entry-footer .cat-links a:focus,
.entry-footer .cat-links a:hover,
.entry-footer .tags-links a:focus,
.entry-footer .tags-links a:hover,
.site-info a,
.site-info a:focus,
.site-info a:hover {
	-webkit-box-shadow: inset 0 0px 0 rgba(0, 0, 255, 1);/*下線の太さと色*/
	box-shadow: inset 0 0px 0 rgba(0, 0, 255, 1);/*下線の太さと色*/
}



#breadcrumbs {
	padding: 50px 0 0 50px;
}
@media screen and (max-width:640px){
	#breadcrumbs {
	padding: 20px 0 0 20px;
	}
}


/* サブタイトル 770px以上のとき */
@media screen and (min-width:770px) {
	.site-description {
		font-size: 30px;
		font-size: 1.875rem;
	}
}
@media screen and (max-width:770px) {
	.site-description {
		font-size: 20px;
	}
}


.site-header {
/*	height: 250px;*/
	background: #fff;
}


.site-content {
	padding: 0px 0px 0px 0px;
}

h3 {
    padding: 5px 10px;
    border-left: solid 5px #ddd;
	margin-top: 20px; /* 上余白の追加 */
	margin-bottom: 20px; /* 下余白の追加 */
} 

h5 {
	font-size: 16px;
}
@media screen and (max-width:640px){
	.h5 {
	font-size: 12px!important;/* 効かない */
	}
}

/* Container */
.container {
  margin: 0 auto;
  padding: 0px;
  width: 100%;
  background-color: #fff;
  column-count: 3;
  column-gap: 2;
	text-align: center;
	font-size: 18px;
}
.grid {
  padding: 0px;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}
@media (max-width: 640px) {
  .container {
    column-count: 1;
  }
}


.container2 {
  margin: 0 auto;
  column-count: 4;
  column-gap: 2;
	margin-top: 15px;
	margin-bottom: 15px;
  width: 75%;
}
.grid2 {
  padding: 0px;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
	background-color: #fcf;
	color: #fff;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
  font-weight: bold;
}
.grid3 {
  padding: 0px;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
	background-color: #8EB4E3;
	color: #fff;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
  font-weight: bold;
}
.grid4 {
  padding: 0px;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
	background-color: #3c3;
	color: #fff;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
  font-weight: bold;
}
@media (max-width: 48em) {
  .container2 {
    column-count: 4;
  width: 100%;
  }
}
@media (max-width: 48em) {
  .grid2 {
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 12px;
  }
}
@media (max-width: 48em) {
  .grid3 {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-bottom: 10px;
	font-size: 12px;
  }
}
@media (max-width: 48em) {
  .grid4 {
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 12px;
  }
}


.container3 {
	display: grid;
	grid-template-columns: 90px 0.1fr 3fr 0.5fr;
/*	grid-template-rows: 100px 100px auto;*/
	column-gap 0:
	margin-left: 100px;/* not working */
	margin-bottom: 20px;
}
@media screen and (max-width:640px){
	.container3 {
	margin-bottom: 5px;
	padding: 0;
	}
}
.grid5 {
	grid-row: 1/4;
	background: #fff;
	margin: auto;
}
.grid5 p {
	color: #fff;
}
.grid6 {
	grid-row: 1/4;
	background: #fff;
	padding: 0px 0px 0px 0px;
}
.grid7 {
	grid-row: 1/4;
	background: #eee;
	padding: 10px 10px 0px 5px;
}
@media screen and (max-width:640px){
	.grid7 {
	padding: 10px 0px 0px 0px;
	}
}
.tri1 {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 50px 50px 50px 0;
	border-color: transparent #eee transparent transparent;
}
@media screen and (max-width:640px){
	.tri1 {
	border-width: 50px 50px 50px 0;
	}
}
.circle2 {
  width: 90px;
  height: 90px;
  line-height: 90px;
  border-radius: 50%;
  border: solid 3px #B0C4DE;
	background: #B0C4DE;
	text-align: center;
	font-size: 20px;
	position: absolute;
	z-index: 1000;
	margin: -45px 0 0 -44px;
	vertical-align: top;/* 効かない */
}
@media screen and (max-width:640px){
	.circle2 {
  width: 85px;
  height: 85px;
	}
}
.p2 {
	margin: 0 120px 0 120px;
	color: #333;
}
@media screen and (max-width:640px){
	.p2 {
	margin: 10px 35px 0 60px;
	position: absolute;
	font-size: 14px;
	}
}

.container4 {
  margin: 0 auto;
  column-count: 3;
  column-gap: 0;
	margin-top: 15px;
	margin-bottom: 50px;
  width: 100%;
/*	display: grid;*/
/*	grid-template-columns: repeat(auto-fill, 200px);*/
/*	grid-template-rows: repeat(3, 100px);*/
/*	white-space: nowrap;*/
}
@media screen and (max-width:640px){
	.container4 {
  column-count: 2;
	width: 100%;
	}
}


/* Masonryのgridデザイン */
.getPostDispArea .getPost {
    border: 1px solid #D3D3D3;
    padding: 5px;
    margin: 0px 5px 10px 5px;/* グリッド間の隙間 */
    background-color: #F3FAFF;
	border-radius: 5px;
	break-inside: avoid;/* gridの途中折り返しを防ぐ */
}

.getPostDispArea .getPost:after {
    content: '';
    display: table;
/*	display: frex;*/
    clear: both;
}

.getPostImgArea {
    width: 100%;
/*    float: left;*/
	text-align: center;
}

.getPostStringArea {
    width: 90%;
    padding-left: 15px;
    float: left;
}

h3.getPostTitle {
    font-weight: bold;
}


.tag_display {
    border: 1px solid #D3D3D3;
    padding-top: 3px;
    padding-right: 5px;
    margin: 50px 0px;
    background-color: #FFE7F4;
	border-radius: 5px;
	line-height: 50px;
	white-space: nowrap;
}
/*
.tag_display::before {
	color: #deb887;
	font-family:'Font Awesome 5 Free';
	font-weight: 900;
	content: '\f02c';
}
*/


.container6 {
/*  margin: 30px 0 0px 0;*/
	padding-left: 100px;
	padding-right: 100px;
	padding-top: 30px;
	padding-bottom: 30px;
/*  width: 100%;*/
  background-color: #efefef;
  column-count: 3;
  column-gap: 2;
	text-align: none;
	font-size: 18px;
	margin: 0 calc(50% - 50vw);
	text-decoration: none;/* not working! */
}
.grid8 {
  padding: 0px;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
	border: solid 1px;
	border-color: #ccc;
	background-color: #fff;
	display: grid;
	justify-items: center;
	align-items: center;
	text-decoration: none;/* not working! */
}
.grid8 p{
	margin-top: 0px;
	padding: 0px 0px 0px 0px;
	text-align: center;
}
@media screen and (max-width: 650px) {
  .container6 {
    column-count: 1;
  column-gap: 0;
	margin: 0 calc(50% - 50vw);
  }
}
@media screen and (max-width: 650px) {
  .grid8 {
    column-count: 1;
  column-gap: 0;
	margin: 0 calc(35% - 35vw);
  }
}

/* 画像に文字を重ねる */

.example {
	position: relative;
}
.example p {
	color:#ffffff;
	font-size:20px;
	background: #transparent;
	opacity: 1.0;
  position: absolute;
	top: 30%;
/*	bottom: 30%;*/
	left: 10%;
	right: 10%;
/*  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);*/
  line-height: 1;		/*行高は1に*/
  padding: 5px 0px 5px 0px;		/*文字周りの余白*/
	border: solid 1.5px #ffffff;
  border-radius: 6px;		/*角丸追加*/
	text-align: center;
}

.image_mouseover_1 {
overflow: hidden; /* 画像の縁取りをなくす設定 */
width: 100%;
height: 100%;
background: #fff;
}
.image_mouseover_1 img {
display: block;
transition-duration: 0.5s;
}
.image_mouseover_1 img:hover {
transform: scale(1.5);
transition-duration: 0.5s;
opacity: 0.6;
}

.circle {
  display: inline-block;
  text-decoration: none;
  color: #668ad8;
  width: 90px;
  height: 90px;
  line-height: 90px;
  border-radius: 50%;
  border: solid 1px #668ad8;
  text-align: center;
  overflow: hidden;
  font-weight: bold;
  transition: .4s;
}


/* Agri Manager circle */
.container-circle {
  margin: 0px;
  display:flex;
  flex-wrap: wrap;
  gap: 0px 0px;
  justify-content: center;
}

.cquarter-circle-1 {
  position: relative;
  width: 150px;
  height: 150px;
}

.cquarter-circle-1 p {
  position: absolute;
 transform: translate(-30%,20%);
	z-index: 110;
	font-size: 20px;
}

@media screen and (max-width:640px){
	.cquarter-circle-1 p {
 transform: translate(0%,-60%);
	}
}

.cquarter-circle-1 p2 {
  position: absolute;
 transform: translate(-40%,60%);
	z-index: 110;
	font-size: 12px;
}

@media screen and (max-width:640px){
	.cquarter-circle-1 p2 {
 transform: translate(0%,20%);
	}
}

.cquarter-circle-1 p3 {
  position: absolute;
 transform: translate(65%,90%);
	z-index: 110;
	font-size: 12px;
	color: #DD0000;
	width: 90%;
}

@media screen and (max-width:640px){
	.cquarter-circle-1 p3 {
 transform: translate(65%,80%);
	width: 88%;
	}
}

.cquarter-circle-1::after {
  content: "";
  position: absolute;
  border: solid #CCFFCC;
  border-width: 150px 150px 0 0;
  border-top-left-radius: 150px;
}

.cquarter-circle-1::before {
  content: "";
  position: absolute;
  border: solid #FFFFFF;
  border-width: 80px 80px 0 0;
  border-top-left-radius: 80px;
 transform: translate(90%,90%);
	z-index: 100;
}

.cquarter-circle-2 {
  position: relative;
  width: 150px;
  height: 150px;
}

.cquarter-circle-2 p {
  position: absolute;
 transform: translate(120%,20%);
	z-index: 110;
	font-size: 20px;
}

@media screen and (max-width:640px){
	.cquarter-circle-2 p {
 transform: translate(90%,-60%);
	}
}

.cquarter-circle-2 p2 {
  position: absolute;
 transform: translate(50%,80%);
	z-index: 110;
	font-size: 12px;
}

@media screen and (max-width:640px){
	.cquarter-circle-2 p2 {
 transform: translate(10%,30%);
	}
}

.cquarter-circle-2::after {
  content: "";
  position: absolute;
  border: solid #CCFFFF;
  border-width: 150px 150px 0 0;
  border-top-right-radius: 150px;
}

.cquarter-circle-2::before {
  content: "";
  position: absolute;
  border: solid #FFFFFF;
  border-width: 80px 80px 0 0;
  border-top-right-radius: 80px;
 transform: translate(0%,90%);
	z-index: 100;
}

.cquarter-circle-3 {
  position: relative;
  width: 150px;
  height: 150px;
}

.cquarter-circle-3 p {
  position: absolute;
 transform: translate(-30%,60%);
	z-index: 110;
	font-size: 20px;
}

@media screen and (max-width:640px){
	.cquarter-circle-3 p {
 transform: translate(0%,80%);
	}
}

.cquarter-circle-3 p2 {
  position: absolute;
 transform: translate(-40%,80%);
	z-index: 110;
	font-size: 12px;
}

@media screen and (max-width:640px){
	.cquarter-circle-3 p2 {
 transform: translate(0%,100%);
	}
}

.cquarter-circle-3::after {
  content: "";
  position: absolute;
  border: solid #FFCCFF;
  border-width: 150px 150px 0 0;
  border-bottom-left-radius: 150px;
}

.cquarter-circle-3::before {
  content: "";
  position: absolute;
  border: solid #FFFFFF;
  border-width: 80px 80px 0 0;
  border-bottom-left-radius: 80px;
 transform: translate(90%,0%);
	z-index: 100;
}

.cquarter-circle-4 {
  position: relative;
  width: 150px;
  height: 150px;
}

.cquarter-circle-4 p {
  position: absolute;
 transform: translate(120%,60%);
	z-index: 110;
	font-size: 20px;
}

@media screen and (max-width:640px){
	.cquarter-circle-4 p {
 transform: translate(90%,80%);
	}
}

.cquarter-circle-4 p2 {
  position: absolute;
 transform: translate(50%,100%);
	z-index: 110;
	font-size: 12px;
}

@media screen and (max-width:640px){
	.cquarter-circle-4 p2 {
 transform: translate(10%,140%);
	}
}

.cquarter-circle-4::after {
  content: "";
  position: absolute;
  border: solid #FFFF99;
  border-width: 150px 150px 0 0;
  border-bottom-right-radius: 150px;
}

.cquarter-circle-4::before {
  content: "";
  position: absolute;
  border: solid #FFFFFF;
  border-width: 80px 80px 0 0;
  border-bottom-right-radius: 80px;
 transform: translate(0%,0%);
	z-index: 100;
}

/* front-page header picture height */
.has-header-image.twentyseventeen-front-page .custom-header,
.has-header-video.twentyseventeen-front-page .custom-header,
.has-header-image.home.blog .custom-header,
.has-header-video.home.blog .custom-header {
	height: 50vh;
}
@media screen and (max-width: 640px) {
	.admin-bar.twentyseventeen-front-page.has-header-image .custom-header-media,
	.admin-bar.twentyseventeen-front-page.has-header-video .custom-header-media,
	.admin-bar.home.blog.has-header-image .custom-header-media,
	.admin-bar.home.blog.has-header-video .custom-header-media {
		height: calc(50vh - 0px);
	}
	.twentyseventeen-front-page.has-header-image .custom-header-media,
	.twentyseventeen-front-page.has-header-video .custom-header-media,
	.home.blog.has-header-image .custom-header-media,
	.home.blog.has-header-video .custom-header-media {
		height: 50vh;
	}
}


#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 30px;
  bottom: -70px;
  background: #668ad8;
  opacity: 0.6;
  border-radius: 50%;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -12px; /* arrow position */
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}


.page-header {
	border: transparent;
	}

.single-featured-image-header {
	border: transparent;
	background: #fff;
	}

.navigation-top {
	top: 0;
	bottom: auto;
	border: transparent;
	background: transparent;
	border-bottom: transparent;
	margin-left: 20%;
/*	position: fixed;*/
}
@media screen and (max-width: 800px) {
	.navigation-top {
		display: none;
	}
}


.site-navigation-fixed {
		display: none;
	}


@media screen and (max-width:640px) {
        .site-navigation-fixed.navigation-top {
                bottom: 0;
                position: absolute;
                z-index: 3;
        }
}

.navigation-top a{
	color: #fff;
}


/*
.main-navigation {
	display: none;
}
*/


/* メニュー内にある「↓」も不要 */
.site-header .menu-scroll-down {
	display: none;
}


.blog:not(.has-sidebar) #primary article,
.archive:not(.page-one-column):not(.has-sidebar) #primary article,
.search:not(.has-sidebar) #primary article,
.error404:not(.has-sidebar) #primary .page-content,
.error404.has-sidebar #primary .page-content,
body.page-two-column:not(.archive) #primary .entry-content,
body.page-two-column #comments {
	float: right;
	width: 100%;
}
.navigation.pagination {
		clear: both;
		float: right;
		width: 100%;
	}


/*メニューボタンを追加する*/
.drawer-menu {
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    right: 0;
	width: 350px;/*メニューの横幅*/
	height: 325px;/*メニューの縦幅*/
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transform-origin: right center;
    -ms-transform-origin: right center;
    transform-origin: right center;
    -webkit-transform: perspective(500px) rotateY(90deg);
    transform: perspective(500px) rotateY(90deg);
    opacity: 0;
	/*↓メニュー枠線のデザイン。ご自由に*/
background: #fff;
	box-shadow: 0 0 0 5px #fff;
border: 1px dashed #668ad8;
padding: .2em .5em;
color: #668ad8;
	border-radius:10px 0 0 10px;
	/*↑メニュー枠線のデザイン*/
}

/*ボタンを押したときの左側の黒い部分*/
.close-menu {
    position: fixed;
    top: 0;
    right: 355px;	/*メニューの横幅を増やしたらrightも増やす*/
    width: 100%;
    height: 100vh;
    background: #transparent;/* 開いた時の背景1/2 */
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    visibility: hidden;
    opacity: 0;
}

.bar {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
	width: 40px;/*横線の幅*/
	height: 1px;/*横線の太さ*/
	background: #668ad8;/*ボタンの色*/
    -webkit-transition: all .5s;
    transition: all .5s;
    -webkit-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top;
}

.bar.middle {
    top: 15px;
    opacity: 1;
}

.bar.bottom {
    top: 30px;
    -webkit-transform-origin: left bottom;
    -ms-transform-origin: left bottom;
    transform-origin: left bottom;
}

.menu-btn {
    position: fixed;
    display: block;
	bottom: 10px;/*ボタンの場所。右上にしたければtop: 10px*/
    right: 5px;
	width: 40px;
	height: 40px;
    font-size: 10px;
    text-align: center;
    cursor: pointer;
		color: #668ad8;
    z-index: 2147483647;/*重なり順を一番上に*/
}

.check:checked ~ .drawer-menu {
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    opacity: 1;
    z-index: 2147483646;
}

.check:checked ~ .contents {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transform: translateX(-250px);
    -ms-transform: translateX(-250px);
    transform: translateX(-250px);
}

.check:checked ~ .menu-btn .menu-btn__text {
    visibility: hidden;
    opacity: 0;
}

.check:checked ~ .menu-btn .bar.top {
    width: 56px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.check:checked ~ .menu-btn .bar.middle {
    opacity: 0;
}

.check:checked ~ .menu-btn .bar.bottom {
    width: 56px;
    top: 40px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.check:checked ~ .close-menu {
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
    background: #transparent;/* 開いた時の背景2/2 */
    visibility: visible;
    opacity: 1;
	z-index: 2147483647;/*重なり順を一番上に*/
}

.menu-btn:hover .bar {
    background: #668ad8;
}

.menu-btn:hover .menu-btn__text {
    color: #668ad8;
}

.menu-btn__text {
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    margin: auto;
    color: #668ad8;
    -webkit-transition: all .5s;
    transition: all .5s;
    display: block;
    visibility: visible;
    opacity: 1;
	font-size:13px;
}

.check {
    display: none;
}

.drawer-menu ul {
  position:relative;
	width:100%;
	list-style: none;
}

.drawer-menu li {
 margin-left: 30px;/*各メニューリストの左余白*/
border-bottom: 1px dotted #668ad8;/*各メニューリストの下線*/
}

.drawer-menu li a {
    display: block;
	height: 50px;/*各メニューリストの縦幅*/
    line-height: 50px;/*各メニューリストの縦幅*/
    font-size: 15px;
    -webkit-transition: all .8s;
    transition: all .8s;
}

@media screen and (min-width:640px){
	.menu-btn {
		display: none;
	}
}
/*メニューボタンここまで*/

/* 関連記事全体 */
.related{
  margin-bottom:50px;
/*  border:3px solid #1F5E73;*/
	background: #eee
}
/* 関連記事タイトル部分 */
h4.related-title {
  font-size: 18px;
  margin-bottom: 8px;
  padding: 10px 10px 15px 10px;
  line-height: 25px;
}
/* 表示される各記事の調整 */
li.related-list {
  font-size: 15px;
  line-height: 18px;
  padding: 10px 10px 15px 10px;
  list-style: disc inside;
}
/* 各記事のリンク */
li.related-list a{
  font-weight:bold;
  color:#0066cc;
}
/* カーソルが乗った時のリンク */
li.related-list a:hover{
  color:#7a8285;
}
p.no-related {
  padding-left: 15px;
  margin-bottom: 50px;
	padding-bottom: 20px;
}

.related{
  padding-left:15px;}
 
.related ul{
  margin:0;
  padding:0;
  list-style:none;}
 
.related li a{
  display:block;
  padding:5px;
  color:0066cc;
  font-size:14px;
  text-decoration:none;}
 
.related li a:hover{
  background-color:#eeeeee;}
 
.related ul:after {
  content:"";
  display:block;
  clear:both;}
 
.related li {
  height: 200px;
  float: left;
  width: 150px;
  padding-right: 20px;
  overflow: hidden;
}

.related img {
  max-height:175px;
  float:left;
  width:150px;
  padding-right: 20px;
  margin-bottom: 10px;
}
.related-title{
  margin-bottom:15px;
  margin-top: 20px;
  font-size:18px;
  padding-left:10px;
}
 
.related{
  margin-bottom:15px;
/*  border:3px solid #1F5E73;*/
	border-radius: 10px;
}
p.no-related {
 padding-left: 15px;
 margin-bottom: 50px;
}


.parallax {
    min-height: 600px;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;    
}
/*.content {
    padding: 60px;
    background-color: #fff;
}*/
.parallax.bg-01 {
    background-image: url(https://saienfirst.com/wp/wp-content/uploads/2021/11/avofes_13_1@2000.jpg);
}
.parallax.bg-02 {
    background-image: url(https://saienfirst.com/wp/wp-content/uploads/2021/01/cropped-avocadomanager_pics_1@3000-scaled-1.jpg);
}
.parallax.bg-03 {
    background-image: url(https://saienfirst.com/wp/wp-content/uploads/2021/12/avocadomanager_pics_3@2000-1-2000x1200-1.jpg);
}
.wrap2 {
	position:relative;
	margin:0 calc(50% - 50vw);
	overflow:hidden;	
}

/* Animated vertical line */
.line {
  display : table;
  transition: opacity ease 0.4s;
}

.line:before {
  content: "";
  position: relative;
  display: table-cell;
  width: 0.10rem;
  height: 114px;
  top: 5px;
  text-align: center;
  background-color: black;
  transition: height ease 0.4s 0.1s;
}
@media screen and (max-width:640px) {
	.line:before {
	height:0px;
	}
}
.line.scrolled:before{
height:180px;
}
@media screen and (max-width:640px) {
	.line.scrolled:before {
	height:1000px;
	}
}

.line2:before {
  content: "";
  position: relative;
  display: table-cell;
  width: 0.10rem;
  height: 0px;/* table-cellの高さ、ゼロだとただの線 */
  top: 5px;
  text-align: center;
  background-color: black;
  transition: height ease 0.4s 0.1s;
}
@media screen and (max-width:640px) {
	.line2:before {
	height:0px;/* table-cellの高さ、ゼロだとただの線 */
	}
}
.line2.scrolled:before{
height:180px;
}
@media screen and (max-width:640px) {
	.line2.scrolled:before {
	height:1000px;/* 効かない */
	}
}
.contents {
	position: relative;
	width: 300%;
	height: 210px;/* 縦線配置の幅 */
}
@media screen and (max-width:640px) {
	.contents {
	width: 100%;
	height: 278px;/* 縦線背景の高さ */
	}/* contents.no7との組合せで調整が必要 */
}
.line2 {
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 0;
	height: 5px;
	background: #008BBB;
}
@media screen and (max-width:640px) {
	.line2 {
	height: 5px;
	}
}
.contents.no7 {
	width: 292px;/* 縦線の左右の位置調整 */
	margin: -185px 0 0 -100px;/* 縦線が出現する位置調整 */
}
@media screen and (max-width:640px) {
	.contents.no7 {
	margin: -153px 0 0 -100px;/* 縦線が出現する位置調整 */
	}/* contentsとの組合せで調整が必要 */
}
.no7 .line2 {
	left: 0;
	right: 0;
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
}


/* Layout 

.wrap {
    max-width: 1000px;
    padding-left: 2em;
    padding-right: 2em;
}

.has-sidebar:not(.error404) #primary {
    float: left;
    width: 71%;
}

.has-sidebar #secondary {
    float: right;
    padding-top: 30px;
	padding-right: 30px;
    width: 25%;
}
@media screen and (max-width: 640px) {
	.has-sidebar #secondary {
	width: 100%;
	padding-right: 0px;
	}
}
@media screen and (max-width: 640px) {
	.wrap {
	width: 100%;
	}
}
.error404 #primary {
    float: none;
}
*/


.wrap {
    max-width: 1200px;
	padding: 0px 30px 0px 30px;
}
.has-sidebar:not(.error404) #primary {
    float: left;
    width: 650px;
	padding: 0px 8px 0px 8px;
}
.has-sidebar #secondary {
    float: right;
    width: 280px;
}
@media screen and (max-width: 1000px) {
.has-sidebar:not(.error404) #primary {
	width: 100%;
	}
.has-sidebar #secondary {
	width: 100%;
	padding: 0px 30px 0px 30px;
	}
}

@media screen and (max-width: 640px) {
	.wrap {
		position: relative;
	padding: 0px 5px 0px 5px;
	max-width: 100%;
	margin: 0 auto;
	}
	.has-sidebar:not(.error404) #primary {
		margin-right: 0%; /*各自メインとサイドバー間の比率を入力*/
	}
	#secondary {
		width: 100%;
	}
	.fixed-side {
		position: fixed;
		bottom:0;
	}
	.bottom-side {
		position: absolute;
		bottom: 0;
	}
}

#toc {
	font-size: 15px;
	background: #eee;
	border: solid 1px;
	border-radius: 15px;
	margin-bottom: 50px;
	padding: 20px 0 0 40px;
	width: 80%;
	margin-left: 10%;
}
.tocp {
	font-size: 18px;
	font-weight: bold;
	padding: 0px 0px 15px 0px;
	margin-left: 25%;
/*	text-align: center;*/
}
@media screen and (max-width: 640px) {
	#toc {
	width: 100%;
	margin: 30px 0px 30px 0px;
	padding: 20px 20px 0 30px;
	line-height: 18px;
	}
}
@media screen and (max-width: 640px) {
	.tocp {
	margin-left: 15%;
	}
}

.box1 {
	width: 300px;
	margin: 20px 0 0 20%;
	padding: 10px 10px 10px 10px;
	background: #eee;
	border: solid 1px #ccc;
	border-radius: 10px;
	text-align: center;
}
@media screen and (max-width: 640px) {
	.box1 {
	width: 70%;
	margin: 0 auto;
	margin-top: 20px;
	}
}

.box2 {
	height: 30px;
	background: #eee;
	margin: 5px 50px 20px 50px;
	padding: 0px 10px 0px 10px!important;
	border-radius: 8px;
	text-decoration: none;/* not working! */
}
.box2 p {
/*	font-color: #fff;*/
}
.nolink {
	text-decoration: none;/* not working! */
}

.box3 {
	position: absolute;
	background: #fff;
	width: 10px;
	height: 80px;
	margin: -20px 0px 0px 40px;
	z-index: 100;
}

.box4 {
	position: absolute;
	background: #fff;
	border: solid 1px #eee;
	width: 150px;
	height: 65px;
	margin-top: -20px;
	margin-left: 35%;
	z-index: 100;
	text-align: center;
}
.box4 p{
	vertical-align: middle!important;/* not working! */
}

.site-map >ul>li{
	margin-left: 18px;
}
.page_item{
	margin-left: 18px;
}


body{
  margin: 0;
  padding: 0;
}

.container5{
  position: relative;
/*  width:100%;*/
  height: 220px;
  background: #555;
	margin:0 calc(50% - 50vw);
	overflow:hidden;
	margin-top: 50px;
}

.container5 img{
  width:100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}


.texts p{
  margin: 0;
  padding: 0;
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  text-align: center;
  color: #FFF;
  font-size: 25px;
  overflow-wrap: break-word;
  word-break: keep-all;
  opacity: 0;
}

.texts p:nth-child(1) { animation: text-anim 5s 0s;}
.texts p:nth-child(2) { animation: text-anim 5s 5s;}
.texts p:nth-child(3) { animation: text-anim 5s 10s;}
.texts p:nth-child(4) { animation: text-anim 5s 15s;}
.texts p:nth-child(5) { animation: text-anim 5s 20s;}
.texts p:nth-child(6) { animation: text-anim 5s 25s;}
.texts p:nth-child(7) { animation: text-anim 5s 30s;}
.texts p:nth-child(8) { animation: text-anim 5s 35s;}
.texts p:nth-child(9) { animation: text-anim 5s 40s;}
.texts p:nth-child(10) {  animation: text-anim 5s 45s;}
.texts p:nth-child(11) {  animation: text-anim 5s 50s;}
.texts p:nth-child(12) {  animation: text-anim 5s 55s;}
.texts p:nth-child(13) {  animation: text-anim 5s 60s;}

@keyframes text-anim {
  0%, 100% {opacity: 0;}
  20%, 80% {opacity: 1;}
}


@media screen and (max-width: 640px) {
	#wordtree_basic {
		width: 450px!important;
		height: 250px!important;
	}
}


@media screen and (max-width: 640px) {
	#myPolarAreaChart {
/*		height: 100%!important;*/
	}
}


#archives-2.widget.widget_archives{
position: -webkit-sticky; /* Safari対応 */
position: sticky;
top: 50px;
}


/* フェードインパターン */
 .fadein {
  opacity: 0;
  transform : translate(0, 50px);
  transition : all 1500ms;
}
.fadein.scrollin{
  opacity: 1;
  transform: translate(0, 0);
}


/* Charts.jsのレスポンシブ設定 */
.chart-container {
    position: relative;
/*    width:  80vw;*/
	width: 100%;
    height: 50vh;
}
/*@media screen and (max-width:640px){
	.chart-container {
    position: relative;
    width:  calc(100% - 40px);
    height: 100px;
    overflow: hidden;
    margin:0px;
	}
}*/

