/*
Theme Name: kurajika
Theme URI: https://wordpress.org/themes/
Author: xxx team
Author URI: https://wordpress.org/
Description: none
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:
Tags: none

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*-------------------------------------------
ベースコーディング
-------------------------------------------*/
/*文字コード*/
body, textarea { font-family: "Noto Sans JP","Noto Serif JP","メイリオ", "ＭＳ Ｐゴシック",sans-serif; font-size: 14px; color:#333333;word-wrap: break-word; margin:auto  15%;}
input, select { font-family: "Montserrat", serif; }
article, aside, figure, figcaption, details, footer, header, hgroup, nav, section, summary{display:block;}
/*その他*/
ul,ol{padding: 0; margin: 0;}
a {text-decoration: none;}
a:link, a:visited {color: #000; transition: 0.3s;}
a:link:hover, a:visited:hover {opacity: 0.5; transition: 0.3s;}

/*-------------------------------------------
全体構成
-------------------------------------------*/

/*-------------------------------------------
404.php
-------------------------------------------*/
#pagenotfound .page-container {
    width: 90%;
    margin: 100px auto -70px;
    min-height: 60vh;
}

#pagenotfound .page-content-wrapper{
	margin:0 auto;
	max-width:410px;
	text-align:center;
}
#pagenotfound .to-top{
	margin-top: 100px;
}

/*-------------------------------------------
header.php
-------------------------------------------*/

.header-menu{
	width: 90%;
	margin:0px auto;
	position: relative;
}
.header-ul{
	list-style: none;
	display: flex;
	width: auto;
	margin-top: 30px;
}
.header-ul li{
	text-align:center;
	border-right: solid 1.5px #000;
	font-size: 12px;
	margin-top: 50px;
	margin-bottom: -30px;
	width: 100%
}
.header-ul li:nth-of-type(8){
	border-right: none;
}
.header-menu img{
	width: 200px;
	position: absolute;
	top: -25px;
}

/*hamburger-menu*/

.hamburger-menu{
	display: none;
	right: 20px;
	top: 20px;
	width: 40px;
	height: 40px;
	position: fixed;
	z-index: 90;
}
#nav-icon {
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  opacity: 1;
  z-index: 100;
}
#nav-icon:hover{
	opacity: 1;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #000;
  border-radius: 5px;
  opacity: 1;
  left: 0;
  top:0px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}
sform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

/* Icon */

#nav-icon span:nth-child(1) {
  top: 0px;
}

#nav-icon span:nth-child(2),#nav-icon3 span:nth-child(3) {
  top: 15px;
}

#nav-icon span:nth-child(4) {
  top: 30px;
}

#nav-icon.open span:nth-child(1) {
  top: 15px;
  width: 0%;
  left: 50%;
}

#nav-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 13px;
}
#nav-icon.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}
.mobile-menu-list{
	background-color: #ffffff;
    width: 50vw;
    min-width: 240px;
    padding-bottom: 50px;
    opacity: 0;
    display: none;
    position: fixed;
    right: 0px;
    top: 0px;
    transition: 0.3s;
    z-index: 90;
    
}
.mobile-menu-list.open{
	display: inherit;
	opacity: 1;
	transition: 0.3s;
}
.mobile-menu-list ul{
	margin-top: 100px;
}
.mobile-menu-list li{
	list-style: none;
	text-align:center;
	font-size: 18px;
	line-height: 2.7em;
}



/*-------------------------------------------
footer.php
-------------------------------------------*/

.footer-container{
	width: 90%;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
}

.footer-companyinfo{
	width: 50%;
	margin-left: 0;
}
#footer-company-name{
	font-size: 20px;
	margin-bottom: 10px;
}
.footer-officeinfo{
	display: flex;
	justify-content:space-between;
}
.footer-officeinfo p{
	margin: 2px auto;
	font-size: 14px;
}

.footer-menu{
	width: 45%;
	margin-right: 0;
	margin-left:auto;
	margin-top: auto;
	margin-bottom: 0;
	display: flex;
	flex-wrap: wrap;
	padding-left: 10px;
}
.footer-nav01 li,.footer-nav02 li, .footer-nav03 li{
	list-style: none;
	margin-left: 40px;
	margin-top: 5px;
	position: relative;
}
.footer-nav01 li a,.footer-nav02 li a, .footer-nav03 li a{
	margin-left: 10px;
	font-size: 14px;
}
.fas.fa-caret-right{
	position: absolute;
	top: 0;
	left: -10px;
}
.fa-caret-right:before{
	font-size: 20px;
}
.copy-right{
	text-align: center;
	margin: 30px auto;
	font-size: 13px;
}
/*-------------------------------------------
index.php
-------------------------------------------*/

#home.container{
	width: 90%;
	margin: 50px auto;
	display: flex;
}

#home .top-menu-container{
	width: 50%;
}
#home .top-menu-wrapper{
	width: 440px;
	margin: 30px auto 30px 0;
}
#home .top-menu01 img{
	height: 135px;
	margin-left: 10px;
	box-shadow: 8px 8px 9px -1px rgba(0,0,0,0.2);
	-webkit-box-shadow: 8px 8px 9px -1px rgba(0,0,0,0.2);
	-moz-box-shadow: 8px 8px 9px -1px rgba(0,0,0,0.2);
}
.top-menu01 p{
	width: 280px;
    position: absolute;
    top: -35px;
    left: 150px;
    transform: translateX(-50%);
    background-color: white;
    opacity: 0.7;
    padding: 2px 0;
    text-align: center;
    font-size: 11px;
}
#top-menu01-company p{
	width: 136px;
    position: absolute;
    top: -35px;
    left: 77px;
    transform: translateX(-50%);
    background-color: white;
    opacity: 0.7;
    padding: 2px 0;
    text-align: center;
    font-size: 11px;
}
#top-menu03-agliculture p{
	width: 132px;
    position: absolute;
    top: -35px;
    left: 75px;
    transform: translateX(-50%);
    background-color: white;
    opacity: 0.7;
    padding: 2px 0;
    text-align: center;
    font-size: 11px;
    z-index: 1;
}
#top-menu04-hotel ,#top-menu04-news ,#top-menu04-realestate , #top-menu04-contact {
	position: relative;
	display: inline-block;
}
#top-menu04-hotel p,#top-menu04-news p,#top-menu04-realestate p, #top-menu04-contact p{
	width: 136px;
    position: absolute;
    display: inline;
    bottom: 10px;
    left: 9px;
    background-color: white;
    opacity: 0.7;
    padding: 2px 0;
    text-align: center;
    font-size: 11px;
    z-index: 1; 
}
#top-menu01-SC, #top-menu01-company, #top-menu03-agliculture, #top-menu04-hotel, #top-menu04-news, #top-menu04-realestate, #top-menu04-contact{
	position: relative;
}

#top-menu01-SC img{
	width: 280px;
}
#home .top-menu02 {
	display: flex;
}
#home .top-menu03 img{
	height: 283px;
    width: 131px;
	margin-left: 10px;
	margin-right: 4px;
	margin-top: 7px;
	position: relative;
	box-shadow: 8px 8px 9px -1px rgba(0,0,0,0.2);
	-webkit-box-shadow: 8px 8px 9px -1px rgba(0,0,0,0.2);
	-moz-box-shadow: 8px 8px 9px -1px rgba(0,0,0,0.2);
}
#home .top-menu02{
	width:440px;
}
#home .top-menu04{
	width: 295px;
}

#home .top-menu04 img{
	height: 135px;
	margin-left: 10px;
	margin-top: 7px;
	position: relative;
	box-shadow: 8px 8px 9px -1px rgba(0,0,0,0.2);
	-webkit-box-shadow: 8px 8px 9px -1px rgba(0,0,0,0.2);
	-moz-box-shadow: 8px 8px 9px -1px rgba(0,0,0,0.2);
}
#home .top-message-container{
	width: 50%;
	margin-right: 0;
	margin-left: auto;
}
#home .top-message-wrapper{
	width:90%;
}
#home .top-message-wrapper h1{
	text-align:center;
	font-size: 28px;
	margin-top: 100px;
	margin-bottom: 30px;
	font-weight: normal;
	color:#000;
}

#home .top-message-wrapper p{
	text-align:left;
	width: 100%;
	margin: 0 auto;
}
 
#home .top-menu-mobile{
		display: none;
	}

#mobile-top-menu-large img{
	width: 100%;
	height: 180px;
	object-fit: cover;
	box-shadow: 8px 8px 9px -1px rgba(0,0,0,0.2);
	-webkit-box-shadow: 8px 8px 9px -1px rgba(0,0,0,0.2);
	-moz-box-shadow: 8px 8px 9px -1px rgba(0,0,0,0.2);
}
#mobile-top-menu-large p{
	text-align: center;
	margin-bottom: 0;
}
#mobile-top-menu-large-president img{
	width: 100%;
	height: 180px;
	object-fit: cover;
	object-position: 0 -80px;
	box-shadow: 8px 8px 9px -1px rgba(0,0,0,0.2);
	-webkit-box-shadow: 8px 8px 9px -1px rgba(0,0,0,0.2);
	-moz-box-shadow: 8px 8px 9px -1px rgba(0,0,0,0.2);
}
#mobile-top-menu-large-president p{
	text-align: center;
	margin-bottom: 0;
}
#mobile-top-menu-small img{
	width: 200px;
	height:200px;
	box-shadow: 8px 8px 9px -1px rgba(0,0,0,0.2);
	-webkit-box-shadow: 8px 8px 9px -1px rgba(0,0,0,0.2);
	-moz-box-shadow: 8px 8px 9px -1px rgba(0,0,0,0.2);
}
#home .mobile-top-menu-small-container{
	width: 440px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}

#home .mobile-top-menu-small-container p{
	margin-bottom: 0;
	text-align: center;
}

/*-------------------------------------------
page.php
-------------------------------------------*/
.page-container{
	width: 90%;
	margin: 50px auto;
	min-height: 60vh;
}
/*-------------------------------------------
page-hotel.php page-house-agent.php page-about.php
-------------------------------------------*/

#house-agent .content-box, #hotel .content-box,#about .content-box{
	width: 100%;
}

#house-agent .content-box h1, #hotel .content-box h1, #contact .page-title h1,#about .content-box h1{
	font-weight: normal;
	font-size: 20px;
	margin-top:30px;
	margin-bottom: 50px;
}
#house-agent .content-box h2, #hotel .content-box h2, #single .content-box h2{
	border-bottom: solid 2px #8AB762;
    margin-bottom: 10px;
    margin-top: 10px;
    display: inline-block;
}
#house-agent .content-box p, #hotel .content-box p {
	font-size: 16px;
	line-height: 1.6em;
}
#single .content-box p{
	font-size: 16px;
	line-height: 1.4em;
}


#house-agent .content-box h3, #hotel .content-box h3, #single .content-box h3{
	margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 10px;
    font-size: 22px;
}
#house-agent .content-box h3:before, #hotel .content-box h3:before, #single .content-box h3:before{
	content: "";
    width: 7px;
    height: 18px;
    background-color: #8AB762;
    position: absolute;
    margin-top: 6px;
    margin-left: -10px;
}

#house-agent .content-box h4, #hotel .content-box h4, #single .content-box h4{
	margin-top: 7px;
	margin-bottom: 7px;
	color: #8AB762;
	font-size: 18px;
}
#house-agent .content-box h5, #hotel .content-box h5, #single .content-box h5{
	font-size: 18px;
	margin-top: 7px;
	margin-bottom: 7px;
}
#house-agent .content-box ul, #hotel .content-box ul, #single .content-box ul{
	margin-top: 10px;
	margin-left: 20px;
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 1.8em;
}
#house-agent .content-box ol, #hotel .content-box ol, #single .content-box ol{
	margin-top: 10px;
	margin-left: 20px;
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 1.8em;
}

/*-------------------------------------------
page-about.php
-------------------------------------------*/
#about .content-box table{
	line-height: 1.8em;
}
#about .content-box th{
	width: 120px;
	font-weight: normal;
	text-align:left;
}
#about .about-value{
	margin-bottom: 0;
}
#about .about-history{
	margin-top: 0;
}
#about .about-value-detail.open{
	transition: all 0.5s ease-in-out;
	max-height:3100px;
	margin-top: 0;
	border-top: solid 1px #000;
	padding-top: 20px;
	padding-bottom: 40px;
}
#about .about-history-detail.open{
	transition: all 0.5s ease-in-out;
	max-height:3100px;
}
#about .about-value-detail{
	max-height: 0;
	transition: all 0.2s ease-in-out;
	overflow-y: hidden;
}
#about .about-history-detail{
	max-height: 0;
	transition: all 0.2s ease-in-out;
	overflow-y: hidden;
}
#about .about-value-title{
	cursor: pointer;
	transition: 0.3s;
	border-top: solid 1px #000;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	position: relative;
	margin-bottom: 0;
	margin-top: 40px;
}

 #about .about-history-title{
	cursor: pointer;
	transition: 0.3s;
	border-top: solid 1px #000;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	position: relative;
	margin-top: 0;
	border-bottom: solid 1px #000;
}

#about .about-history-title.open{
	border-bottom: none;
}

#about .about-value-title:hover, #about .about-history-title:hover{
	opacity: 0.5;
	transition: 0.3s;
}
#about .about-value-title:before, #about .about-history-title:before{
	width: 5px;
	height: 5px;
	background-color: #000;
	content:"";
	position: absolute;
	margin-top: 8px;
	margin-left: -10px;
}

#about .about-value-title:after, #about .about-history-title:after{
	content: "";
	position: absolute;
	right: 30px;
	top: 44%;
	transition: all 0.1s ease-in-out;
	display: block;
	width: 10px;
	height: 10px;
	border-top: solid 1px #000;
	border-right: solid 1px #000;
	transform: translateY(-50%) rotate(135deg);
}
#about .about-value-title.open:after, #about .about-history-title.open:after{
	transform: rotate(-45deg);
}

#about .about-history-item{
	display: flex;
	justify-content: start;
	border-bottom: dashed 1px #000;
	padding-top: 5px;
	padding-bottom: 5px;
}
#about .about-history-date-content p:nth-of-type(1){
	width: 150px;
}
#about .about-history-date-content p:nth-of-type(2){
	width: 400px;
}
#about .about-history-item img{
	height: 80px;
	width: auto;
	margin-right: 10px;
}

#about .about-history-date-content{
	display: flex;
	margin-right: 50px;
}

/*-------------------------------------------
page-recruit.php
-------------------------------------------*/

#recruit .page-title h1{
	font-weight: normal;
	font-size: 20px;
	margin-top:30px;
}

#recruit .page-title h2{
	font-weight: normal;
	font-size: 16px;
	margin-top:20px;
	margin-bottom: 20px;
}


#recruit .youtube-link{
	display: flex;
}

#recruit .youtube-link iframe{
	width: 300px;
}
#recruit .youtube-link iframe:nth-of-type(2){
	margin-left: 60px;
}
#recruit .youtube-link iframe:nth-of-type(3){
	margin-left: 60px;
}
#recruit .ideal-person{
	margin-top: 60px;
}

#recruit .ideal-person p:nth-of-type(1){
	font-size: 16px;
	margin-bottom: -5px;
}
#recruit .ideal-person ul{
	margin-top: 30px;
	margin-bottom: 30px;
}
#recruit .ideal-person li{
	margin-top: 5px;
	list-style: none;
	margin-left: 20px;
	position: relative;
}
#recruit .ideal-person li:before{
	position:absolute;
	width:8px;
	height:8px;
	content:"";
	background-color: transparent;
	border:1px solid #000;
	left: -17px;
	top:5px;
}

#recruit .ideal-person-comment{
	width: 70%;
	font-size: 14px
}
#recruit .ideal-person-comment p{
	font-size: 14px!important;
}

#recruit .recruit-motto-detail.open, #recruit .recruit-job-detail.open, #recruit .recruit-requirement-detail.open, #recruit .recruit-intern-detail.open{
	transition: all 0.5s ease-in-out;
	max-height:3100px;
	margin-top: 0;
	border-bottom: solid 1px #000;
}
#recruit .recruit-motto-detail, #recruit .recruit-job-detail,#recruit .recruit-requirement-detail, #recruit .recruit-intern-detail{
	max-height: 0;
	transition: all 0.2s ease-in-out;
	overflow-y: hidden;
}
#recruit .recruit-motto-detail ul{
	margin-bottom: 40px;
}
#recruit .recruit-motto-detail ol{
	margin-bottom: 80px;
}
#job-detail-last{
	margin-bottom: 50px;
}
#recruit .recruit-requirement-detail table{
	margin-top: 30px;
	margin-bottom: 100px;
}
#recruit .recruit-requirement-detail tr{
	display: block;
	border-bottom: 1px solid #ccc;
	padding-top: 20px;
	padding-bottom: 20px;
}
#recruit .recruit-requirement-detail th{
	text-align:left;
	vertical-align:top;
	font-weight: bold;
	width: 150px;
}
#recruit .recruit-requirement-detail td{
	width: 700px;
	line-height:1.8em;
}
#recruit .recruit-motto-title, #recruit .recruit-job-title,#recruit .recruit-requirement-title,#recruit .recruit-intern-title{
	cursor: pointer;
	transition: 0.3s;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	position: relative;
	margin-bottom: 0;
	margin-top: 40px;
	max-width: 400px;
	border-bottom: solid 1px #000;
	font-size: 16px;
}
#recruit .recruit-motto-title.open, #recruit .recruit-job-title.open,#recruit .recruit-intern-title.open{
	border-bottom:none;
	margin-bottom: 20px;
}
#recruit .recruit-requirement-title.open{
	border-bottom:none;
}

#recruit .recruit-motto-title:hover, #recruit .recruit-job-title:hover,#recruit .recruit-requirement-title:hover, #recruit .recruit-intern-title:hover{
	opacity: 0.5;
	transition: 0.3s;
}

#recruit .recruit-motto-title:after, #recruit .recruit-job-title:after,#recruit .recruit-requirement-title:after, #recruit .recruit-intern-title:after{
	content: "";
	position: absolute;
	right: 30px;
	top: 44%;
	transition: all 0.1s ease-in-out;
	display: block;
	width: 10px;
	height: 10px;
	border-top: solid 1px #000;
	border-right: solid 1px #000;
	transform: translateY(-50%) rotate(135deg);
}
#recruit .recruit-motto-title.open:after, #recruit .recruit-job-title.open:after, #recruit .recruit-requirement-title.open:after, #recruit .recruit-intern-title.open:after{
	transform: rotate(-45deg);
}
#contact-form-link{
	margin-top: 20px;
	margin-bottom: 25px;
}
#contact-form-link a{
	background-color:#CCCCCC;
	padding: 8px 12px;
	border-radius:3px;
	color: #fff;
	margin-right: 10px;
}
#intern-detail-last{
	margin-top: 10px;
	margin-bottom: 50px;
}
#motto-math{
	margin-left: 20px;
	font-family: serif;
}

/*-------------------------------------------
page-contact.php
-------------------------------------------*/

#contact .contact-form-title{
	margin-top: 50px;
	font-size: 18px;
}
#contact .contact-form-title a{
	font-size: 13px;
	margin-left: 70px;
}
#asterisk{
	color: #ff0000;
}
#contact .haveto-content{
	font-size: 18px;
}

#contact .inquiry td{
	display: inline-flex!important;
	margin-top: -10px;
}

#contact .haveto-box{
	width: 300px;
}
#contact .haveto{
	color: #ff0000;
}

#contact-name p input{
	display: inline-flex!important;
	width: 120px;
}
#contact .wpcf7-form-control textarea{
	border-radius:0;
}
#contact .wpcf7-submit{
	width: 150px;
	border-radius: 0;
	border:none;
	background-color: #ccc;
	font-family: "Montserrat",sans-serif;
	padding: 5px;
	margin-top: 20px;
	font-size: 16px;
	cursor: pointer;
	transition: 0.3s;
}
#contact .wpcf7-submit:hover{
	opacity: 0.7;
	transition: 0.3s;
}

#contact .contact-form-info{
	margin-top: 50px;
	font-size: 18px;
	line-height: 1.8em;
}
#contact .contact-form-info p:nth-of-type(1){
	font-size: 22px;
	margin-bottom: 10px;
}

#contact .contact-form-info span{
	font-weight: bold;
}
#contact-phone{
	width: 18px;
}
#contact .input-box-name{
	display: flex;
}
#contact .input-box-name input{
	width: 210px;
	height: 30px;
	border-radius:0;
	border:solid 1px #000;
    margin-right: 21px;
    padding-left: 7px;
    font-family: "Montserrat", sans-serif;
}
#contact .input-box-number{
	display: flex;
}
#contact .input-box-number input{
	width: 133px;
	height: 30px;
	margin-right: 5px;
	padding-left: 7px;
	border-radius:0;
	margin-top: -3px;
	border:solid 1px #000;
	font-family: "Montserrat", sans-serif;
}

#contact .wpcf7-not-valid-tip{
	font-size: 8px;
	color: #ff0000;
	margin-top: 5px;
}
#contact textarea{
	width: 450px;
    height: 250px;
    margin-left: 0;
    border-radius: 0;
    border:solid 1px #000;
    padding-left: 7px;
    padding-top: 3px;
    font-family: "Montserrat",sans-serif;
}
#contact .input-box input{
	width: 450px;
	height:30px;
	border:solid 1px #000;
	border-radius:0;
	padding-left: 7px;
	font-family: "Montserrat",sans-serif;
}
.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required{
	width: 462px;
	height:35px;
	border:solid 1px #000;
	border-radius:0;
	padding-left: 7px;
	font-family: "Montserrat",sans-serif;
	background:#fff;
}
#contact .wpcf7-response-output{
	width: 400px;
	margin-left: 315px!important;
	margin-top: -50px;
}
#contact-privacy{
	flex-direction: column;
	margin-left:300px;
}
#contact-privacy .haveto-box{
	margin-bottom: -10px;
}
/*-------------------------------------------
category-news.php
-------------------------------------------*/

#news .category-post-item{
	margin-top: 20px;
}
#news .category-post-item p{
	display: inline;
	font-size: 16px;
}
#news .category-post-item h2{
	display: inline;
	margin-left: 100px;
	font-weight: normal;
	font-size: 18px;
}

#news .pagination-wrapper{
	text-align:left;
	margin: 30px 0 80px;
}

#news .pager {
	margin-left: 15px;
	margin-right: 15px;
	color: #000;
}

#news .current{
  display: inline-block;
	width: 30px;
	height: 30px;
	border-radius: 15px;
	text-align: center;
	line-height: 30px;
	margin-left: 5px;
	margin-right: 5px;
	color: #fff !important;
	background-color: #8AB762;
	opacity:1;
}

#news .next, #news .prev{
	margin-left: 5px;
	margin-right: 5px;
  color:#000000;
}

#news .category-title{
	position: relative;
}
#news .category-title h1{
	font-size: 20px;
	font-weight: normal;
}
#news .date-box select{
	width: 150px;
	height: 30px;
	position: absolute;
	right: 10%;
	top: 20px;
	font-family:"Noto Sans JP";
	border-radius: 0;
	background:#fff;
}



/*-------------------------------------------
single.php
-------------------------------------------*/

#single .single-title h1{
	font-size: 20px;
	padding-bottom: 20px;
	font-weight: normal;
	border-bottom: solid 1px #000;
}

#single .single-title p{
	margin-bottom: 50px;
}



/*-------------------------------------------
レスポンシブ
-------------------------------------------*/

@media screen and (max-width: 1760px){
	body{margin:auto 10%;}
}

@media screen and (max-width: 1580px){
	body{margin:auto 5%;}
}


@media screen and (max-width: 1300px){
	.footer-officeinfo{
		flex-direction: column;
	}
	.footer-headoffice{
		margin-bottom: 10px;
	}
	.footer-companyinfo{
		width: 40%;
		margin-left: 10%;
	}
	.footer-menu{
		margin-top: 5%;
		width: 47%;
	}
	#home .top-message-container{
		margin-right: -3%;
	}
}

@media screen and (max-width: 1240px){
	body{margin:auto 3%;}
}


@media screen and (max-width: 1140px){
	.footer-menu{
		width: 51%;
	}
	#home .top-message-container{
		margin-right: -4%;
	}
	#recruit .youtube-link{
		flex-direction: column;
	}
	#recruit .youtube-link iframe:nth-of-type(2){
		margin-left:0;
		margin-top: 20px; 
	}
	#recruit .youtube-link iframe:nth-of-type(3){
		margin-left:0;
		margin-top: 20px; 
	}
}


@media screen and (max-width: 1080px){
	body{margin:auto 0%;}
}

@media screen and (max-width: 1024px){
	body{margin:auto 0;}
	#home .top-menu-wrapper{
	margin: 30px auto;
}
#home .top-message-wrapper p{
	width:80%;
}
	.header-ul{display: none;}
	.hamburger-menu{
	display: inherit;
	}
	.header-menu img{
	top:-40px;
	}
	.footer-menu{
		display: none;
	}
	.footer-container{
		width: 100%;
	}
	.footer-companyinfo{
		width: 60%;
		margin: 0 auto;
	}
	.footer-officeinfo{
		flex-direction: row;
	}
	#home.container{
		flex-direction: column-reverse;
	}
	#home .top-message-container{
		margin-right:0;
		width: 100%;
	}
	#home .top-message-wrapper{
		width: 100%;
	}
	#home .top-message-wrapper h2{
		margin-bottom: 20px;
	}
	#home .top-menu-container{
		width: 100%;
		margin-top: 30px;
	}
	#house-agent .content-box h1, #hotel .content-box h1, #contact .page-title h1, #about .content-box h1 {
		padding-top: 30px;
		padding-left: 5%;
	}
	#recruit .page-title h1{
		padding-top: 30px;
		padding-left: 5%;
	}
	#single .single-title h1{
		padding-top: 30px;
	}
	#news.page-container{
		padding-top: 30px;
		padding-left: 5%;
	}
	#news .date-box select{
		top:0;
	}
}

@media screen and (max-width: 960px){
	#about .about-history-date-content p:nth-of-type(1){
		width: 80px;
		font-size: 12px;
	}
	#about .about-history-date-content p:nth-of-type(2){
		width: 300px;
	}
}
@media screen and (max-width: 840px){
	.footer-branchoffice{
		margin-left: 20px;
	}
	.footer-companyinfo span{
		display: block;
	}
	#contact .inquiry td{
		display: inline!important;
	}
	#contact .contact-form-title a{
		display: block;
		margin-left: 0;
	}
	#contact .haveto-box{
		margin-bottom: -10px;
	}
	#contact.page-container{
		width: unset;
		max-width: 480px;
	}
	#contact .inquiry td{
	display: flex!important;
	flex-direction:column;
	}
	#contact.inquiry{
		width: 450px;
		margin: 0 auto;
	}
	#contact .wpcf7-response-output{
	margin-left: 0!important;
	margin-top: 30px;
	}
	.wpcf7-list-item{
		margin:0;
	}
	#contact-privacy{
		margin-left: 0;
	}
}
@media screen and (max-width: 760px){
	#about .about-history-date-content{
		margin-right: 30px;
	}
	#about .about-history-date-content p:nth-of-type(2){
		width: 240px;
	}
	#recruit .recruit-requirement-detail tr{
		display: flex;
		flex-direction: column;
	}
	#recruit .recruit-requirement-detail th{
		font-weight: bold;
	}
	#recruit .recruit-requirement-detail td{
		width: unset;
		max-width: 700px;
	}
	#recruit .ideal-person-comment{
		width: 80%;
	}
}
@media screen and (max-width: 640px){
	#home .top-message-wrapper h1{
		margin-top: 50px;
	}
	#home .top-message-wrapper p{
		width: 95%;
	}
	#about .about-history-date-content{
		flex-direction: column;
	}
	#about .about-history-date-content p:nth-of-type(2){
		margin-top: -5px;
	}
	#about .about-history-item img{
		margin-left: auto;
		margin-right: 0;
	}
	#recruit .ideal-person-comment{
		width: 90%;
	}
}
@media screen and (max-width: 580px){
	.footer-companyinfo{
		width: 220px;
		margin-left: 15%;
	}
	.footer-officeinfo{
		flex-direction: column;
	}
	.footer-branchoffice{
		margin-left: 0px;
	}
	#contact .contact-form-container{
	width: 400px;
	margin:0 auto; 
	}
	#contact.inquiry{
		width: 380px;
		margin: 0 auto;
	}
	.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required{
		width: 390px;
	}
	#contact .input-box input{
		width: 380px;
	}
	#contact .input-box-name input{
		width: 174px;
	}
	#contact .input-box-number input{
		width: 110px;
	}
	#contact textarea{
		width: 380px;
	}
	#contact .contact-form-title a{
		font-size: 13px;
	}
	#contact .wpcf7-response-output{
		width: 380px;
	}
	#news .category-post-item h2{
		width: 290px;
		margin-left: 50px;
		display: inline-block;
	}
	#news .category-post-item{
		margin-top: 0;
	}
	#news .category-post-item p{
		font-size: 14px;
	}
	#news .date-box select{
		right: 5%;
	}
	#about .about-history-item{
		flex-direction: column;
	}
	#about .about-history-item img{
		margin-right: auto;
		margin-left: 0;
	}
	#about .about-history-date-content p:nth-of-type(2){
		width: unset;
		max-width: 400px;
	}
	#news .date-box select{
		width: 120px;
	}
}
@media screen and (max-width: 540px){
	#home .top-menu-mobile{
		display: inherit;
	}
	#home .top-menu-container{
		display: none;
	}
	#house-agent .content-box p, #hotel .content-box p{
		font-size: 14px;
	}
	#contact .wpcf7-submit{
		margin-top: 0;
	}
	#about .content-box th{
		width: 70px;
	}
}
@media screen and (max-width: 480px){
	#mobile-top-menu-small img{
		width: 180px;
		height: 180px;
	}
	#home .mobile-top-menu-small-container{
		width: 380px;
	}
	#home .top-message-wrapper h1{
		font-size: 20px;
	}
	#news .category-post-item h2{
		width: 240px;
		margin-left: 30px;
	}
	#about .content-box table{
		line-height: 1.2em;
		margin-bottom: 10px;
	}
	#about .content-box table tr{
		display: flex;
		flex-direction: column;
	}
	#about .content-box th{
		display: block;
		font-weight: bold;
	}
	#about .content-box td{
		display: block;
	}
	#motto-math{
		margin-bottom: 5px;
		display: block;
	}
	#recruit .ideal-person-comment{
		width: 100%;
	}
}

@media screen and (max-width: 440px){
	#recruit .recruit-intern-detail span{
		display: block;
		padding-top: 10px;
	}
}
@media screen and (max-width: 420px){
	#mobile-top-menu-small img{
		width: 140px;
		height: 140px;
	}
	#home .mobile-top-menu-small-container{
		width: 300px;
	}
	#mobile-top-menu-large img{
		height: 160px;
	}
	#mobile-top-menu-large-president img{
		height: 160px;
		object-position: 0 -50px;
	}
	#mobile-top-menu-large p, #mobile-top-menu-large-president p{
	font-size: 12px
	}
	#home .mobile-top-menu-small-container p{
		font-size: 12px;
	}
	#contact .contact-form-container{
	width: 315px;
	}
	#contact.inquiry{
		width: 300px;
	}
	.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required{
		width: 311px;
	}
	#contact .input-box input{
		width: 300px;
	}
	#contact .input-box-name input{
		width: 133px;
	}
	#contact .input-box-number input{
		width: 83px;
	}
	#contact textarea{
		width: 300px;
	}
	#contact .wpcf7-response-output{
		width: 300px;
	}
	.footer-companyinfo{
		margin-left: 10%;
	}
	#news .category-post-item h2{
		width: 220px;
		margin-left: 20px;
	}
}

@media screen and (max-width:380px){
#contact .contact-form-container{
	width: 294px;
}
.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required{
		width: 290px;
	}
#contact .input-box input{
	width: 280px;
}
#contact .input-box-name input{
	width: 124px;
}
#contact .input-box-number input{
	width: 77px;
}
#contact textarea{
	width: 280px;
}
#contact .wpcf7-response-output{
	width: 240px;
}
#contact .contact-form-title a{
	font-size: 12px;
}
#contact .contact-form-info span{
	font-size: 14px;
}
	.copy-right span{
		display: block;
}
#news .category-post-item h2{
		width: 280px;
		display: table;
		margin-left: 0;
		margin-top: 0;
		margin-bottom: 30px;
}
#recruit .recruit-intern span{
	display: block;
}
}

@media screen and (max-width: 360px){
	#mobile-top-menu-small img{
		width: 130px;
		height: 130px;
	}
	#home .mobile-top-menu-small-container{
		width: 280px;
	}
	#mobile-top-menu-large img{
		height: 140px;
	}
	#mobile-top-menu-large-president img{
		height: 140px;
		object-position: 0 -50px;
	}
	#home .top-message-wrapper h2{
		font-size: 13px;
	}
	#home.container{
		margin-bottom: 20px;
	}
	#recruit .youtube-link iframe{
	width: 260px;
	height: 140px;
}
}

@media screen and (max-width: 330px){
	#contact .contact-form-container{
	width: 274px;
	}
	.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required{
		width: 270px;
	}
	#contact .input-box input{
		width: 260px;
	}
	#contact .input-box-name input{
		width: 114px;
	}
	#contact .input-box-number input{
		width: 70px;
	}
	#contact textarea{
		width: 260px;
	}
	#contact .contact-form-title a{
		font-size: 12px;
	}
	#contact .contact-form-info span{
		font-size: 14px;
	}
	.content-box img{
		max-width: 260px;
		height: auto;
	}
}
@media screen and (max-width: 320px){
	#mobile-top-menu-small img{
		width: 120px;
		height: 120px;
	}
	#home .mobile-top-menu-small-container{
		width: 260px;
	}
	#pagenotfound .page-title h1{
		font-size: 24px;
	}
	#news .date-box select{
		width: 100px;
	}
}
