/* 
Theme Name:		 reiwan
Theme URI:
Description:	 reiwan is a child theme of twentytwenty, created by ChildTheme-Generator.com
Author:			 media-tek
Author URI:
Template:		 twentytwenty
Version:		 1.0.0
Text Domain:	 reiwan
*/


/*
    Add your custom styles here
*/

body * {
  font-family: YakuHanJP, 'Noto Sans JP', 'Roboto Condensed', sans-serif;
  letter-spacing: 2px;
  font-size: 14px;
  color: #333333;
}
h1.entry-title{
  text-align: center;
  font-family: 'Roboto Condensed';
  font-size: 3em;
  font-weight: 400;
  position: relative;
  letter-spacing: 3px;
}
h1.entry-title:after{
  content: '';
  position: absolute;
  left: 50%;
  bottom: -35px;
  display: inline-block;
  width: 1px;
  height: 25px;
  transform: translateX(-50%);
  background-color: #333333;
}
h2{
  font-family: 'Roboto Condensed' !important;
  font-size: 2em;
  font-weight: 400;
}
h2 small{
  display: block;
}
.entry-content h2{
  margin: 7rem auto 6rem;
}
.entry-content p {
  font-family: YakuHanJP, 'Noto Sans JP', 'Roboto Condensed', sans-serif !important;
}
a{
  color: #333333;
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
}
.align-between{
  align-content: space-between;
}
.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide),
.singular .featured-media-inner{
  max-width: 80rem;
}
.singular .featured-media-inner{
  padding-bottom: 3em;
  margin-bottom: 1em;
}
.singular .featured-media-inner:before{
  content: '';
  display: inline-block;
  width: 35%;
  height: 18rem;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  box-shadow: 0 0 3px #999999;
}
.singular .featured-media-inner img{
  margin: auto;
  max-width: 600px;
}
table {
  border: none;
}
table tr{
  border-bottom: 1px solid #333333;
}
table td,
table th{
  border: none;
}
.table td,
.table th{
  border-top: none;
  padding: 2em .75rem;
}
p,
.entry-content p{
  line-height: 2;
}
span.display-name {
  color: #fff;
}
.post-item a,
.post-item a:hover,
a.page-numbers,
a.page-numbers:hover,
a.readmore {
  color: #333333;
}
.post-item a:hover{
  text-decoration: underline;
}
.page-numbers{
  position: relative;
  width: 1.5em;
  height: 2em;
  display: inline-block;
}
.page-numbers.current:after,
.page-numbers:hover:after{
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  display: inline-block;
  width: 1em;
  height: 1px;
  transform: translateX(-50%);
  background-color: #333333;
}
/* header */
@media (min-width: 1000px){
  .header-titles-wrapper{
    max-width: 30%;
  }
}
@media (min-width: 700px){
  .site-logo img {
    max-height: 6rem;
  }
}
.site-logo img{
  max-height: 5.5rem;
}
/* nav */
ul.primary-menu{
  margin: 0 0 1rem;
  justify-content: space-between;
}
body:not(.overlay-header) .primary-menu > li > a{
  font-weight: 400;
  color: #333333 !important;
}
body:not(.overlay-header) footer .primary-menu > li > a{
  color: #fff !important;
}
.home .primary-menu a{
  color: #fff;
  text-shadow: 0 0 2px #333333;
}
.home .primary-menu a:focus{
  text-decoration: none;
}
.primary-menu a:hover{
  text-decoration: none;
}
.primary-menu > li:first-child{
  margin-left: 0;
}
.primary-menu li > a{
  font-family: 'Roboto Condensed';
}
.primary-menu li.current-menu-item > a, 
.primary-menu li.current-menu-item > .link-icon-wrapper > a{
  text-decoration: none;
  position: relative;
}
.primary-menu li.current-menu-item > a:after, 
.primary-menu li.current-menu-item > .link-icon-wrapper > a:after,
.primary-menu li:hover > a:after, 
.primary-menu li:hover > .link-icon-wrapper > a:after{
  content: '';
  position: absolute;
  left: 50%;
  bottom: -.75rem;
  display: inline-block;
  width: 30px;
  height: 1px;
  transform: translateX(-50%);
  background-color: #333333;
}
.home .primary-menu li.current-menu-item > a:after, 
.home .primary-menu li.current-menu-item > .link-icon-wrapper > a:after,
.home .primary-menu li:hover > a:after, 
.home .primary-menu li:hover > .link-icon-wrapper > a:after,
footer .primary-menu li:hover > a:after{
  background-color: #fff;
  box-shadow: 0 0 2px #333333;
}
button:focus{
  outline: none;
}
.search-toggle .toggle-icon, .search-toggle svg{
  height: 3rem;
  max-width: 3.3rem;
  width: 3.3rem;
}
.desktop-search-toggle .toggle-inner {
  height: 3.3rem;
  width: 3.3rem;
}
.home .search-toggle .svg-icon{
  display: none;
}
body:not(.home) .search-toggle img,
body:not(.home) .search-toggle .toggle-icon{
  display: none;
}
body:not(.home) .search-toggle .svg-icon{
  height: 3.5rem;
  width: 2rem;
}
button.toggle.search-toggle.mobile-search-toggle{
  padding: 0 2rem 1.2rem;
}
.home .toggle-wrapper.search-toggle-wrapper:before{
  box-shadow: 0 0 2px #333333;
}
.overlay-header .header-inner .toggle-wrapper::before{
  opacity: 1;
}
.home .toggle-wrapper.search-toggle-wrapper,
.home .header-inner .toggle svg path{
  color: #fff;
}
.search-modal .search-field{
  font-size: 1.2em;
  height: 9rem;
  color: #999999;
  font-family: 'Noto Sans JP';
}
.search-modal .search-field:focus{
  outline: none;
}
.nav-toggle .toggle-inner{
  padding-top: 0;
}
.nav-toggle .toggle-icon{
  height: 2rem;
}
.nav-toggle .toggle-icon i{
  font-size: 1.5em;
}
.home .nav-toggle .toggle-icon i{
  color: #fff;
  text-shadow: 0 0 2px #333333;
}
.modal-menu a {
  color: #333333 !important;
  font-family: 'Roboto Condensed' !important;
  font-weight: 500 !important;
  letter-spacing: 2px !important;
}

@media (min-width: 1000px){
  .header-inner .toggle-wrapper::before{
    height: 100%;
    top: 0;
  }
}
/* TOP */
#top-company,
#top-business{
  margin-bottom: 15em;
}
#top-recruit{
  margin-bottom: 20em;
}
.bg-full{
  position: relative;
  margin-left: calc(((100vw - 100%) / 2) * -1);
  margin-right: calc(((100vw - 100%) / 2) * -1);
}
#top-business .bg-full{
  padding-top: 5rem;
}
.bg-full:before{
  content: '';
  display: inline-block;
  position: absolute;
  background-color: #f2f2f2;
  box-shadow: 0 0 3px #999999;
  height: 100%;
  z-index: -2;
}
.bg-full:after{
  content: '';
  display: inline-block;
  height: 100%;
  position: absolute;
  box-shadow: 0 0 3px #999999;
  z-index: -1;
}
#top-company .bg-full:before{
  width: 85%;
  left: 0;
  top: 5rem;
}
#top-company .bg-full:after{
  background-color: #ef4f4b;
  width: 30%;
  height: 65%;
  right: 5%;
  bottom: -30%;
}
#top-business .bg-full:before{
  width: 35%;
  right: 0;
  top: 5rem;
}
#top-business .bg-full:after{
  background-color: #ffbeb3;
  width: 80%;
  height: 90%;
  right: 0;
  top: 0;
}
#top-recruit .bg-full:before{
  width: 100%;
  left: 0;
  top: 7rem;
  height: 120%;
}
#top-recruit .bg-full:after{
  background-color: #f8b62d;
  width: 40%;
  height: 80%;
  left: 20%;
  top: 40%;
}
.home a{
  color: #333333;
}
.home h2{
  font-size: 2.5em;
  text-align: center;
  position: relative;
  margin-bottom: 2.25em;
}
.home h2:after{
  content: '';
  position: absolute;
  left: 50%;
  bottom: -35px;
  display: inline-block;
  width: 1px;
  height: 25px;
  transform: translateX(-50%);
  background-color: #333333;
}
.home h3{
  font-size: 1.5em;
  margin-top: 0;
}
.readmore,
.contact-btn,
.post-date{
  font-family: 'Roboto Condensed';
}
.post-category{
  font-weight: 500;
}
#top-mv{
  width: 100%;
  height: 100vh;
  position: relative;
}
#top-mv .carousel-caption{
  position: absolute;
  top: 50%;
  left: 50%;
  bottom: unset;
  right: unset;
  transform: translate(-50%,-50%);
  width: 70%;
}
#top-mv p{
  color: #fff;
  font-size: 2.5em;
  margin-bottom: 0;
  text-align: center;
  font-family: 'Noto Serif JP';
  text-shadow: 0 0 3px #333333;
  letter-spacing: 7px;
}
#top-mv img{
  height: 100vh;
}
#top-mv .carousel-indicators li{
  box-shadow: 0 0 3px #333333;
  border-top: none;
  border-bottom: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
  margin-left: 7px;
  margin-right: 7px;
  opacity: 1;
  border: 1px solid #fff;
}
#top-mv .carousel-indicators .active{
  background-color: #ef4f4b;
}
#top-news{
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10em;
}
#top-contact p{
  text-align: center;
}
#top-contact .contact-btn{
  margin-top: 3em;
}
[class*="carousel-control-"] i{
  color: #fff;
  font-size: 2em;
  text-shadow: 0 0 3px #333333;
}
.carousel-control-next, .carousel-control-prev{
  opacity: .7;
}
.img-box img{
  width: 95%;
}
#top-company .img-box img,
#top-recruit .img-box img{
  margin-left: auto;
}
#top-company .text-box,
#top-recruit .text-box{
  display: flex;
  flex-wrap: wrap;
  align-content: flex-end;
}
.text-box h3,
.text-box p{
  width: 100%;
}
.contact-btn{
  text-align: center;
  padding: 1rem;
  background-color: #fff;
  border: 1px solid #333333;
  color: #333333;
  width: 100%;
  max-width: 600px;
  display: block;
  margin: auto;
  text-decoration: none !important;
}
.readmore{
  position: relative;
  margin-right: 35px;
  margin-top: 1.5em;
  font-size: 1.2em;
  display: block;
}
.readmore:after{
  content: '';
  position: absolute;
  right: -35px;
  top: 50%;
  display: inline-block;
  width: 25px;
  height: 1px;
  transform: translateY(-50%);
  background-color: #333333;
  transition: all 0.3s ease 0s;
}
.readmore:hover{
  text-decoration: none;
  padding-right: 35px;
}
.readmore:hover:after{
  width: 50px;
}
.post-item{
  margin-bottom: 2rem;
}
/* footer */
footer .primary-menu-wrapper{
  display: block;
}
p.company-name {
  font-size: 1.5em;
  margin-bottom: .75rem;
}
footer .primary-menu li.current-menu-item > a:after, 
footer .primary-menu li.current-menu-item > .link-icon-wrapper > a:after{
  content: none;
}
#site-footer{
  padding: 0 0 2rem;
}
.footer-info{
  background-color: #4c4c4c;
  color: #fff;
  padding: 3rem 0;
  margin-bottom: 2rem;
}
.footer-info p{
  color: #fff;
}
#site-footer a.contact-btn:focus, 
#site-footer a.contact-btn:hover,
footer .primary-menu > li > a:hover{
  text-decoration: none !important;
}
p.footer-copyright{
  font-family: 'Roboto Condensed';
  font-size: 0.9em;
  font-weight: 400;
}
a.to-the-top{
  font-family: 'Roboto Condensed';
}
footer .primary-menu > li {
  margin: 0.8rem 0 0 3.5rem;
}
/* company */
#company-img img{
  width: 50%;
  max-width: 200px;
  margin: 0 auto 3em;
}
a.btn-gray,
button.btn-gray {
  display: block;
  color: #fff;
  background-color: #4c4c4c !important;
  text-align: center;
  padding: 2rem;
  font-family: 'Noto Sans JP', sans-serif;
  position: relative;
}
article#post-7 .featured-media-inner:before{
  background-color: #ef4f4b;
}
.table th{
  width: 25%;
}
/* business */
article#post-9 .featured-media-inner:before{
  background-color: #ffbeb3;
}
#business-img {
  margin: 3em auto 1em;
}
.estate-thumbnail-wrapper{
  position: relative;
  width: 100%;
}
.estate-thumbnail-wrapper:before{
  content:"";
  display: block;
  padding-top: 75%;
}
.estate-thumbnail-content{
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffbeb3;
  overflow: hidden;
}
.estate-thumbnail-content img{
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.object-fit-img {
  object-fit: cover;
  font-family: 'object-fit: cover;'
}
.estate-thumbnail-content:before{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  content: 'No Image';
}
p.estate-date{
  margin-top: 1.5rem;
  margin-bottom: .5rem;
  font-family: 'Roboto Condensed' !important;
}
p.estate-title{
  min-height: 3.5em;
  line-height: 1.75;
}
/* recruit */
article#post-11 .featured-media-inner:before{
  background-color: #f8b62d;
}
/* contact */
input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="date"], input[type="month"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="week"], input[type="number"], input[type="search"], input[type="tel"], input[type="color"], textarea {
  background: #f7f7f7;
  border-radius: 3px;
}
.btn-gray:hover {
  text-decoration: none;
  opacity: .9;
}
.btn-gray:after{
  content: '';
  display: inline-block;
  background-image: url(/wp-content/themes/reiwan/img/btn-arrow.png);
  position: absolute;
  top: 50%;
  right: 1.5em;
  transform: translateY(-50%);
  width: 3em;
  height: 1em;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
/* single */
.single ul.post-meta{
  display: none;
}
.single .featured-media-inner:before{
  content: none;
}
.single h1.entry-title {
  font-family: YakuHanJP, 'Noto Sans JP', sans-serif;
  font-weight: 500;
}
.entry-categories-inner {
    pointer-events: none;
}
li.post-author.meta-wrapper {
    display: none;
}
/* 991以下 */
@media (max-width: 991px){
  /* nav */
  ul.primary-menu{
    justify-content: space-around;
    margin-bottom: 3rem;
  }
  footer .primary-menu > li{
    margin: 0.8rem 0 0 1rem;
  }
}
/* 575以下 */
@media (max-width: 575px){
  table th,
  table td{
    display: block;
    width: 100%;
  }
  .table td{
    padding: .75rem .75rem 2.25rem;
  }
  .table th{
    padding: 2em .75rem .75rem;
  }
  /* nav */
  footer .primary-menu > li{
    margin: 0.8rem 0 0 1.6rem;
  }
  /* top */
  .home .post-item:nth-of-type(4),
  .home .post-item:nth-of-type(5){
    display: none;
  }
  .text-box h3{
    margin-top: 1.5em;
  }
  #top-news,
  #top-business,
  #top-recruit{
    margin-bottom: 7em;
  }
  #top-company{
    margin-bottom: 10em;
  }
  #top-company .bg-full:before{
    z-index: 0;
    height: 95%;
  }
  #top-company .bg-full:after{
    width: 45%;
    height: 30%;
    right: 4%;
    bottom: -12%;
  }
  #top-business .bg-full {
    padding-top: 5rem;
  }
  #top-business .bg-full:before{
    height: 50%;
  }
  #top-business .bg-full:after{
    height: 35%;
  }
  #top-recruit .bg-full:before{
    height: 95%;
    top: 4rem;
  }
  #top-recruit .bg-full:after{
    width: 45%;
    height: 55%;
    left: 0;
    top: 10rem;
  }
  #top-mv p{
    font-size: 1.8em;
  }
  h1.entry-title {
    font-size: 2em;
    margin-bottom: 1em;
  }
  .singular .featured-media-inner img {
    max-width: fit-content;
  }
  .mwform-tel-field {
    display: flex;
    justify-content: space-between;
  }
  .mwform-tel-field input {
    width: 100% !important;
  }
  /* footer */
  .footer-credits{
    width: 100%;
    text-align: center;
    margin-top: 1em;
  }
}