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

/* agrijob.creativehousecorp.com */


.site-description {
	font-size: 23px;
	padding: 0 0 0 0;
}


.bg1 {
/*    height: 800px;               高さ指定 */
	margin-left: -500%;
	margin-right: -500%;
	padding-left: 500%;
	padding-right: 500%;
	margin-top: 10px;	/* 上余白追加 */
	margin-bottom: 15px;	/* 下余白追加 */
    font-size: 25px;            /* 文字サイズ指定 */
    background-color: #efefef;  /* 背景色指定 */
}

.bg2 {
    color:  #ffffff;               /* 文字色指定 */
    height: 60px;                 /* 高さ指定 */
    width:  600px;                 /* 幅指定 */
    font-size:  23px;              /* 文字サイズ指定 */
    background-color: #efefef;     /* 背景色指定 */
    padding:  10px;                /* 余白指定 枠内の左上端からのマージン*/
    position:  relative;           /* 位置指定 */
    top: 20px;                     /* 位置指定 背景色の上端からのマージン*/
	margin-top: 20px;
    margin-left: 0px;             /* 余白指定 枠内の左端からのマージン　ゼロに変更*/
}

.bg3 {
    height: 800px;              /* 高さ指定 */
	margin-left: -500%;
	margin-right: -500%;
	padding-left: 500%;
	padding-right: 500%;
	margin-top: 10px;	/* 上余白追加 */
	margin-bottom: 0px;	/* 下余白追加 */
    font-size: 25px;            /* 文字サイズ指定 */
    background-color: #efefef;  /* 背景色指定 */
}


/* 画像に文字を重ねる */
.example {
  position: relative;
}
.example p {
	color:#333333;
	font-size:18px;
  position: absolute;
  top: 0%;
  left: 0%;
	background: #transparent;	/*背景色追加*/
	opacity : 1.0;		/*透明度追加*/
  line-height: 1;		/*行高は1に*/
  padding: 0px 0px;		/*文字周りの余白*/
/* gridの中の<p>に四角ができてしまう */
  border-radius: 0px;		/*角丸追加*/
}
.example p2 {
	color:#ffffff;
	font-size:23px;
	background: #transparent;
	opacity: 1.0;
  position: absolute;
  top: 60%;
  left: 50%;
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
	white-space: nowrap;/*  */
}
.example p3 {
	color:#ffffff;
	font-size:25px;
	background: #transparent;
	opacity: 1.0;
  position: absolute;
  top: 30%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  line-height: 1;		/*行高は1に*/
  padding: 5px 5px;		/*文字周りの余白*/
	border: solid 1.5px #ffffff;
  border-radius: 6px;		/*角丸追加*/
}
.example p4 {
	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 5px;		/*文字周りの余白*/
	border: solid 1.5px #ffffff;
  border-radius: 6px;		/*角丸追加*/
	text-align: center;
  }
.example img {
  width: 100%;
  }


a.white:link {
text-decoration : none;
color : #ffffff;
}
a.white:visited {
text-decoration : none;
color : #ffffff;
}
a.white:active {
text-decoration : none;
color : #ffffff;
}
a.white:hover {
text-decoration : none;
color : #ffffff;
}


.box1 {
	background: #cccccc;
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    border: solid 3px #ffffff;
}
.box1 p {
    margin: 0; 
    padding: 0;
}
.box2 {
	background: #d3d3d3;
	margin: 5px 50px 20px 50px;
	padding: 0px 0px 0px 0px;
	border-radius: 0px;
}
.box2 p {
	font-color: #fff;
}


/* Container */
.container {
/*  margin: 30px 0 0px 0;*/
  padding-bottom: 30px;
/*  width: 100%;*/
  background-color: #efefef;
  column-count: 3;
  column-gap: 2;
	text-align: none;
	font-size: 18px;
	margin: 0 calc(50% - 40vw);
	padding: 30px;
}
.grid {
  padding: 0px;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
	border: solid 1px;
	border-color: #ccc;
	background-color: #fff;
}
@media (max-width: 48em) {
  .container {
    column-count: 1;
  }
}
@media (max-width: 48em) {
  .grid {
	margin-bottom: 10px;
  }
}
.grid p{
	margin-top: 10px;
	padding: 0 15px 0 15px;
	text-align: center;
}


.container1 {
  margin: 0 calc(50% - 48vw);
  column-count: 2;
  column-gap: 3;
	margin-bottom: 15px;
}
.grid1 {
  padding: 0px;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}
.grid1 img {
	vertical-align: top;/* 画像の上下のスキマをなくす */
}
@media screen and (max-width: 650px) {
  .container1 {
    column-count: 1;
  column-gap: 0;
  }
}


.container2 {
  margin: 0 calc(50% - 48vw);
  column-count: 3;
  column-gap: 3;
}
.grid2 {
  padding: 0px;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}
.grid2 img {
	vertical-align: top;/* 画像の上下のスキマをなくす */
}
@media screen and (max-width: 650px) {
  .container2 {
    column-count: 1;
  column-gap: 0;
  }
}


.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;
}


.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: 35vh;
}
@media screen and (min-width: 48em) {
	.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(35vh - 32px);
	}
	.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: 35vh;
	}
}


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


/* header image size */

.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: 35vh;
}
@media screen and (min-width: 48em) {
	.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(35vh - 32px);
	}
	.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: 35vh;
	}
}


/* font color for link */

.entry-content a:focus,
.entry-content a:hover,
.entry-summary a:focus,
.entry-summary a:hover,
.widget a:focus,
.widget a:hover,
.site-footer .widget-area a:focus,
.site-footer .widget-area a:hover,
.posts-navigation a:focus,
.posts-navigation a:hover,
.comment-metadata a:focus,
.comment-metadata a:hover,
.comment-metadata a.comment-edit-link:focus,
.comment-metadata a.comment-edit-link:hover,
.comment-reply-link:focus,
.comment-reply-link:hover,
.widget_authors a:focus strong,
.widget_authors a:hover strong,
.entry-title a:focus,
.entry-title a:hover,
.entry-meta a:focus,
.entry-meta a:hover,
.page-links a:focus .page-number,
.page-links a:hover .page-number,
.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,
.post-navigation a:focus,
.post-navigation a:hover,
.pagination a:not(.prev):not(.next):focus,
.pagination a:not(.prev):not(.next):hover,
.comments-pagination a:not(.prev):not(.next):focus,
.comments-pagination a:not(.prev):not(.next):hover,
.logged-in-as a:focus,
.logged-in-as a:hover,
a:focus .nav-title,
a:hover .nav-title,
.edit-link a:focus,
.edit-link a:hover,
.site-info a:focus,
.site-info a:hover,
.widget .widget-title a:focus,
.widget .widget-title a:hover,
.widget ul li a:focus,
.widget ul li a:hover {
	color: #A4C6FF;/*マウスオーバー時の文字色*/
	-webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 1px 0 rgba(0, 0, 0, 0);/*マウスオーバー時の下線の太さと色*/
	box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 1px 0 rgba(0, 0, 0, 0);/*マウスオーバー時の下線の太さと色*/
}

a {
	color: #005;/*リンク文字色*/
}
a:hover,
a:active {
	color: #A4C6FF;/*マウスオーバー時のリンク文字色*/
}

.entry-content a,
.entry-summary a,
.widget a,
.site-footer .widget-area a,
.posts-navigation a,
.widget_authors a strong {
	-webkit-box-shadow: inset 0 0px 0 rgba(15, 15, 15, 1);/*下線の太さと色*/
	box-shadow: inset 0 0px 0 rgba(15, 15, 15, 1);/*下線の太さと色*/
}



.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;
}


/* Container */
.container {
/*  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);
}
.grid {
  padding: 0px;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
	border: solid 1px;
	border-color: #ccc;
	background-color: #fff;
}
.grid p{
	margin-top: 10px;
	padding: 0 15px 0 15px;
	text-align: center;
}
@media screen and (max-width: 650px) {
  .container {
    column-count: 1;
  column-gap: 0;
	margin: 0 calc(50% - 50vw);
  }
}
@media screen and (max-width: 650px) {
  .grid {
    column-count: 1;
  column-gap: 0;
	margin: 0 calc(35% - 35vw);
  }
}

.container1 {
  margin: 0 calc(50% - 48vw);
  column-count: 2;
  column-gap: 3;
	margin-bottom: 15px;
}
.grid1 {
  padding: 0px;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}
.grid1 img {
	vertical-align: top;/* 画像の上下のスキマをなくす */
}
@media screen and (max-width: 650px) {
  .container1 {
    column-count: 1;
  column-gap: 0;
  }
}


.container2 {
  margin: 0 calc(50% - 48vw);
  column-count: 3;
  column-gap: 3;
}
.grid2 {
  padding: 0px;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}
.grid2 img {
	vertical-align: top;/* 画像の上下のスキマをなくす */
}
@media screen and (max-width: 650px) {
  .container2 {
    column-count: 1;
  column-gap: 0;
  }
}


.container3 {
  margin: 0 auto;
  column-count: 4;
  column-gap: 2;
	margin-top: 15px;
	margin-bottom: 15px;
  width: 70%;
}
.grid3 {
  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;
}
.grid4 {
  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;
}
.grid5 {
  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) {
  .container3 {
    column-count: 4;
  width: 100%;
  }
}
@media (max-width: 48em) {
  .grid3 {
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
  }
}
@media (max-width: 48em) {
  .grid4 {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-bottom: 10px;
  }
}
@media (max-width: 48em) {
  .grid5 {
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
  }
}


