/*
Theme Name: toffchav
Author: Abstruct
Version: 1.0
 */

/* ============================
	common
============================ */
#main {
  padding-top: 88px;
}
#wrapper {
  min-width: 1040px;
  overflow: hidden;
}
.flex-between {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.flex-start {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.ofi {
  font-family: "object-fit: cover;";
  -o-object-fit: cover;
  object-fit: cover;
}

.bold {
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  #main {
    padding-top: 76px;
  }
  #wrapper {
    min-width: 0;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(30, 30, 30, 0.3);
  }
}

/* ============================
	sp-menu
============================ */
#sp-menu {
  box-sizing: border-box;
  position: absolute;
  transition: all 0.35s ease;
  top: 76px;
  left: 0;
  width: 100%;
  padding: 40px 20px;
  opacity: 0;
  pointer-events: none;
}

#sp-menu.opening {
  position: fixed;  
  transition: all 0.35s ease;
  opacity: 1;
  pointer-events: auto;
  height: calc(100vh - 60px);
  background-color: #fff;
  z-index: 10000;
}
#sp-menu .h-cta-box {
  display: block;
  margin-left: 0;
  margin-top: 30px;
  text-align: center;
}
#sp-menu .h-cta-box .btn-box + .btn-box {
  margin-left: 0;
  margin-top: 15px;
}

#sp-menu .menu-item a {
  text-align: center;
  line-height: 1;
  display: block;
  width: 100%;
  padding: 15px 0;
}

#sp-menu li a {
  font-family: "Roboto", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

/* btn-hamburger */
#btn-hamburger {
  position: relative;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  z-index: 1000;
  cursor: pointer;
}

#btn-hamburger .border {
  position: absolute;
  left: 15px;
  transition: opacity, transform 0.2s ease;
  background: #E3ADC1 no-repeat left top;
  width: 30px;
  height: 3px;
  z-index: 1;
}

#btn-hamburger .border:first-child {
  top: 33%;
}

#btn-hamburger .border:nth-child(2) {
  transform: rotate(0);
  opacity: 1;
  top: 50%;
}

#btn-hamburger .border:nth-child(3) {
  top: 67%;
}

#btn-hamburger.opening .border:first-child {
  transform: rotate(45deg);
  top: 50%;
}

#btn-hamburger.opening .border:nth-child(2) {
  opacity: 0;
}

#btn-hamburger.opening .border:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg);
}

/* ============================
	header
============================ */
#header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
}

#header.h-fixed {
  position: fixed;
}

#header .h-inner {
  align-items: center;
  width: 100%;
  padding: 24px 40px;
  background: #fff;
}

#h-gnav-box.flex-start {
  align-items: center;
}

#h-gnav-box ul {
  display: flex;
}

#h-gnav-box li + li {
  margin: 0 0 0 40px;
}

#h-gnav-box li a {
  font-family: "Roboto", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.h-cta-box {
  margin-left: 40px;
}

.h-cta-box {
  display: flex;
}

.h-cta-box {
  margin-left: 42px;
}
.h-cta-box .btn {
  font-family: "Roboto", sans-serif;
  display: inline-block;
  box-sizing: border-box;
  background-color: #111;
  text-align: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  width: 160px;
  padding: 10px 0;
  border-radius: 18px;
}
.h-cta-box .btn-box + .btn-box {
  margin-left: 16px;
}
.h-cta-box .btn-box.cta-recruit .btn {
  background:#404040;
}
.h-cta-box .btn-box.cta-contact .btn {
  background-image: linear-gradient(90deg, #f5cacb, #cda1e8 50%, #889fe6);
}
@media screen and (max-width: 767px) {
  #header {
    margin: 0 auto;
    right: 0;
  }
  #header .h-inner {
    padding: 8px 16px;
    flex-wrap: nowrap;
  }
  #h-gnav-box ul {
    display: none;
  }
  #h-site-logo img {
    transform: scale(.75);
    transform-origin: center left;
  }
}

/* ============================
	footer
============================ */
#footer #f-inner {
  padding: 72px 0 48px;
  background-color: #748DAE;
}
#footer .common-cta {
  padding: 0;
}
#footer #f-info {
  color: #fff;
  margin-top: 74px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: #fff;
}
#footer #f-info #f-logo {
  text-align: left;
}
#footer #f-company-info p {
  margin-top: 0;
  font-size: 1.5rem;
}
#footer #f-sub-info {
  color: #fff;
  text-align: right;
}
#footer #f-nav-box {
  width: 394px;
  border-left: 1px solid rgba(255, 255, 255, .3);
  padding-left: 150px;
}
#footer #f-sub-info {
  display: flex;
  justify-content: flex-end;
  color: #fff;
  font-size: 1.3rem;
  margin-top: 86px;
}
#footer #f-nav-box ul {
  display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
}
#footer #f-nav-box li {
  width: 100px;
}
#footer #f-nav-box li + li {
 margin-bottom: 20px;
}
#footer #f-nav-box li a {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  text-decoration: underline;
}
#footer #link-box a {
  font-weight: bold;
}
#footer #copyright {
  margin-left: 4.8rem;
}

@media screen and (max-width: 767px) {
  #footer #f-inner {
    padding-top: 64px;
  }
  #footer .f-inner {
    padding: 60px 0;
  }
  #footer #f-info {
    display: block;
  }
  #f-company-info {
    margin-bottom: 32px;
  }
  #footer #f-info #f-logo {
    margin-bottom: 32px;
  }
  #footer #f-info #f-logo img {
    transform-origin: center left;
    transform: scale(.75);
  }
  #footer #f-company-info p {
    font-size: 1.3rem;
  }

  #footer #f-nav-box {
    width: 100%;
    padding-left: 0;
    border-left: none;
  }
  #footer #f-nav-box ul {
    display: block;
  }
  #footer #f-nav-box ul li {
    display: inline-block;
    margin-right: 24px;
    width: auto;
  }
  #footer #f-nav-box li a {
    font-size: 1.3rem;
  }
  #footer #f-sub-info {
    display: block;
    margin-top: 32px;
    font-size: 1.1rem;
  }
  #footer #copyright {
    margin-top: 8px;
  }
}

/* ============================
	mainvisual
============================ */
.mainvisual {
  width: 100%;
  margin: 60px 0 0;
}

#top-mv .mv-inner {
  height: 600px;
  background-color: #e1e1e1;
}

#top-mv .mv-inner.flex-start {
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 767px) {
  #top-mv .mv-inner {
    height: 300px;
  }
}

#page-mainvisual {
  background: linear-gradient(90deg, #91b9d8, #3D559F);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 160px 0 140px;
}
#page-mainvisual .page-ttl-box {
  color: #fff;
}
#page-mainvisual .page-ttl-en {
  font-family: "Roboto", sans-serif;
  font-size: 7.2rem;
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 0;
}
#page-mainvisual .page-ttl-ja {
  margin: 10px 0 0;
}

#company #page-mainvisual {
  background-image: url('./images/page/bg-company-mv.png');
}
#flow-faq #page-mainvisual {
  background-image: url('./images/page/bg-flow-faq-mv.png');
}
#recruit #page-mainvisual {
  background-image: url('./images/page/bg-recruit-mv.png');
}
#contact #page-mainvisual {
  background-image: url('./images/page/bg-contact-mv.png');
}
.category-news #page-mainvisual ,
.single-post #page-mainvisual {
  background-image: url('./images/page/bg-news-mv.png');  
}
.post-type-archive-works #page-mainvisual ,
.single-works #page-mainvisual {
  background-image: url('./images/page/bg-works-mv.png');
}
@media screen and (max-width: 767px) {
  #page-mainvisual .page-ttl-en {
    font-size: 3.6rem;
  }
  #page-mainvisual .page-ttl-ja {
    font-size: 1.4rem;
  }
  #page-mainvisual {
    padding: 60px 0;
  }
  #page-mainvisual .page-ttl {
    font-size: 2.1rem;
  }
}

/* ============================
	section
============================ */
.sec-inner {
  padding: 100px 0;
}
.sec-ttl {
  margin: 0;
}

.content-width {
  box-sizing: border-box;
  width: 1100px;
  padding: 0 10px;
  margin: 0 auto;
}

.content-box {
  margin: 50px 0 0;
}

@media screen and (max-width: 767px) {
  .sec-inner {
    padding: 32px 0;
  }
  .content-width {
    width: 100%;
  }
  .content-box {
    width: 100%;
    margin: 0 auto;
  }
}

/* ============================
	breadcrumb
============================ */
.breadcrumbs {
  padding: 18px 0 20px;
  font-size: 1.3rem;
}
@media screen and (max-width: 767px) {
  .breadcrumbs {
    padding: 16px 0;
    font-size: 1rem;
  }
}

/* ============================
	pagenavi
============================ */
.wp-pagenavi {
  clear: both;
  margin: 30px 0 0;
  font-size: 1.6rem;
  text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
  display: inline-block;
  width: 3em;
  height: 3em;
  margin: 0 0.5em;
  font-weight: bold;
  line-height: 2.8em;
  color: #999;
  background: #fff;
  border-radius: 50%;
  text-align: center;
  border: none;
  vertical-align: middle;
  transition: all 0.5s ease;
}

.wp-pagenavi a:hover,
.wp-pagenavi span {
  background: #E3ADC1;
  color: #fff;
  opacity: 1;
  text-decoration: none;
}

.wp-pagenavi a:hover {
  transition: all 0.5s ease;
}

.wp-pagenavi .extend {
  width: 1em;
  color: #000;
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
}

.wp-pagenavi .extend::after {
  content: "…";
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
  position: relative;
  width: 3em;
  height: 3em;
  background: #fff;
  text-indent: -999999px;
  vertical-align: middle;
}

.wp-pagenavi .previouspostslink::after,
.wp-pagenavi .nextpostslink::after {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-top: 2px solid #999;
  border-right: 2px solid #999;
}

.wp-pagenavi .previouspostslink::after {
  transform: rotate(225deg);
}

.wp-pagenavi .nextpostslink::after {
  transform: rotate(45deg);
}

.wp-pagenavi .previouspostslink:hover::after,
.wp-pagenavi .nextpostslink:hover::after {
  border-color: #fff;
}

.result_count {
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.4rem;
  color: #999;
}

/* ============================
	post parts
============================ */
.post-date {
  font-family: "Roboto", sans-serif;
  font-size: 1.6rem;
  min-width: 70px;
}

.post-cats {
  line-height: 1;
  margin: 0 0 0 32px;
}

.post-cats.flex-start {
  justify-content: flex-start;
  align-items: center;
}

.post-cat {
  display: block;
  background-color: #111;
  color: #fff;
  min-width: 100px;
  text-align: center;
  padding: 6px 20px 8px;
  border-radius: 20px;
  font-size: 1.5rem;
  background: #E3ADC1;
}

.post-cat + .post-cat {
  margin: 0 0 0 10px;
}
.post-cat:link {
  color: #fff;
}

.post-cat:visited {
  color: #fff;
}
@media screen and (max-width: 767px) {
  .post-date {
    font-size: 1.2rem;
  }
  .post-cat {
    font-size: 1.1rem;
    padding: 4px 16px;
  }

}

/* ============================
	news list
============================ */
.news-item + .news-item {
  margin-top: 24px;
}

.news-item .post-ttl {
  font-size: 1.6rem;
  margin: 0 0 0 32px;
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .news-item .post-meta {
    width: 100%;
  }
  .news-item .post-ttl {
    margin-top: 4px;
    margin-left: 0;
    font-size: 1.4rem;
  }
}

/* ============================
	works list
============================ */
.works-list {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.works-item {
  width: 320px;
  height: 437px;
  margin-right: 60px;
  margin-bottom: 120px;
}
.works-item:nth-child(3n) {
  margin-right: 0;
}
.works-item .post-thumb {
  height: 100%;
}
.works-item .post-thumb a {
  height: 100%;
}
.works-item .post-thumb img {
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.works-item .post-info {
  margin-top: 20px;
}

.works-item .post-ttl {
  font-size: 1.5rem;
  margin: 20px 0 0;
}

@media screen and (max-width: 767px) {
  .works-item:nth-child(n) {
    width: 160px;
    height: auto;
    margin-right: 16px;
    margin-bottom: 80px;
  }
  .works-item:nth-child(2n) {
    margin-right: 0;
  }
}

/* ============================
	contact form
============================ */
.contact-box .required {
  display: inline-block;
  background-color: #e21414;
  color: #fafafa;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  margin: 0 0 0 20px;
  padding: 4px 8px;
}

.contact-box input[type="text"],
.contact-box input[type="password"],
.contact-box input[type="email"],
.contact-box input[type="tel"],
.contact-box input[type="url"],
.contact-box input[type="number"],
.contact-box textarea {
  box-sizing: border-box;
}

.contact-box th {
  box-sizing: border-box;
  width: 25%;
}

.contact-box td {
  box-sizing: border-box;
  width: 75%;
}

.contact-box .your-email {
  box-sizing: border-box;
  width: 100%;
}

.contact-box .zip {
  width: 150px;
  box-sizing: border-box;
}

.contact-box .your-address {
  box-sizing: border-box;
  width: 100%;
}

.contact-box .your-content {
  width: 100%;
  box-sizing: border-box;
}

.wpcf7-list-item {
  margin-top: 2px;
}
[type="checkbox"], [type="radio"] ,
.wpcf7-list-item-label {
  vertical-align: middle;
}

#consent-box {
  text-align: center;
}

#submit-box .wpcf7-response-output {
  text-align: center;
}

#btn-submit {
  width: 300px;
  position: relative;
  margin: 0 auto;
}

#btn-submit .wpcf7-submit {
  background-color: #111;
  color: #fff;
  line-height: 1;
  width: 300px;
  padding: 16px 0;
}

#btn-submit .wpcf7-spinner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 0 0 10px;
}

@media screen and (min-width: 768px) {
  .contact-box th {
    text-align: left;
  }
}

@media screen and (max-width: 767px) {
  .contact-box input[type="text"],
  .contact-box input[type="password"],
  .contact-box input[type="email"],
  .contact-box input[type="tel"],
  .contact-box input[type="url"],
  .contact-box input[type="number"],
  .contact-box textarea {
    width: 100%;
  }

  .contact-box td,
  .contact-box th {
    display: block;
    width: 100%;
  }
}

/* ============================
	404
============================ */
#error-404 .content-box p {
  text-align: center;
}

@media screen and (min-width: 1001px) {
  #sp-menu {
    display: none;
  }

  #btn-hamburger {
    display: none;
  }
}

@media screen and (max-width: 1000px) {
  #menu-header-nav-1 {
    display: none;
  }
  .h-inner .h-cta-box .cta-recruit {
    display: none;
  }
  .h-cta-box .btn {
    width: 120px;
    font-size: 1.3rem;
  }
  .h-cta-box {
    margin-left: 0;
  }
}


.common-cta .content-box {
  background: #fff;
  border-radius: 10px;
  text-align: center;
  padding: 50px 0 64px;
  margin: 0;
}
.common-cta .sec-ttl-box .sec-ttl {
  font-family: inherit;
  font-size: 3.2rem;
  line-height: 1.25;
  display: inline-block;
  position: relative;
  margin-bottom: 24px;
  color: #404040;
}
.common-cta .sec-ttl:before ,
.common-cta .sec-ttl:after {
  position: absolute;
  top: 16px;
  content: '';
  display: block;
  background: #404040;
  height: 64px;
  width: 1px;
}
.common-cta .sec-ttl:before {
  left: -64px;
  transform: rotate(-30deg);
}
.common-cta .sec-ttl:after {
  right: -64px;
  transform: rotate(30deg);
}
.common-cta .btn-box .btn {
  display: block;
  width: 600px;
  margin: 0 auto;
  padding: 24px 0;
  background: url(./images/common/ico-cta-arrow.png), linear-gradient(90deg, #f5cacb, #cda1e8 50%, #889fe6);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center right 5%;
  color: #fff;
  font-size: 2.4rem;
  font-weight: bold;
  border-radius: 42px;
}
@media screen and (max-width: 767px) {
  .common-cta .content-box {
    padding: 32px 16px;
    width: 100%;
  }
  .common-cta .sec-ttl-box .sec-ttl {
    font-size: 1.4rem;
  }
  .common-cta .sec-ttl:before, .common-cta .sec-ttl:after {
    height: 32px;
    top: 8px;
  }
  .common-cta .sec-ttl:before {
    left: -16px;  
  }
  .common-cta .sec-ttl:after {
    right: -16px;
  }
  .common-cta .btn-box .btn {
    font-size: 1.4rem;
    padding: 18px 0;
    width: 100%;
  }
}

.grecaptcha-badge {
  visibility: hidden;
}