/*
Theme Name : withgreen
*/
@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500&display=swap");
@font-face {
  font-family: "DINNextLTPro";
  src: url("fonts/DINNextLTPro-Medium_1.woff") format("woff");
}

html,
body {
  margin: 0;
  overflow-x: hidden;
  padding: 0;
  width: 100%;
  max-width: 100%;
}
body {
  color: #000;
  font-family: "A1ゴシック M", "A1 Gothic M", sans-serif;
  font-size: 15px;
  font-weight: normal;
  line-height: 1.6;
  position: relative;
}
.bold {
  font-family: "A1ゴシック B JIS2004";
}
.medium {
  font-family: "A1ゴシック M", "A1 Gothic M";
}

h1,
h2,
h3,
h4 {
  font-weight: normal;
  margin: 0;
  padding: 0;
}
ul,
dl,
dt,
dd,
ol {
  margin: 0;
  padding: 0;
}
ul li,
ol li {
  list-style-type: none;
}
figure,
figcaprion {
  margin: 0;
}
p {
  margin: 0;
  word-break: break-all;
}
em {
  font-style: normal;
}
img {
  vertical-align: bottom;
  height: auto;
  max-width: 100%;
}
a {
  color: #000;
  text-decoration: none;
  transition: ease 0.5s;
}
input,
textarea,
select {
  -webkit-appearance: none;
}

.flexBox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

br.sp {
  display: none;
}

a.link {
  display: table;
  margin-left: auto;
  margin-top: 40px;
  padding-right: 50px;
  position: relative;
}
a.link::after {
  background: url("https://withgreen.club/wordpress/wp/wp-content/themes/withgreen/img/link_arrow.png") no-repeat 100% 50% / 100%;
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: ease 0.3s;
  height: 10px;
  width: 40px;
}
a.link:hover::after {
  right: -10px;
}
@media screen and (max-width: 1000px) {
  a.link {
    background-size: 4vw;
    margin-top: 3vw;
    padding-right: 5vw;
  }
  a.link::after {
    height: 1vw;
    width: 4vw;
  }
  a.link:hover::after {
    right: -1vw;
  }
}
@media screen and (max-width: 780px) {
  a.link {
    background-size: 8vw;
    margin-top: 6vw;
    padding-right: 10vw;
  }
  a.link::after {
    height: 2vw;
    width: 8vw;
  }
}
@media screen and (min-width: 781px) {
  .sp_on {
    display: none;
  }
}
@media screen and (max-width: 780px) {
  .pc_on {
    display: none;
  }
}

/** to top **/
#toTop {
  cursor: pointer;
  position: fixed;
  bottom: 40px;
  right: 55px;
  width: 35px;
}
#toTop figure {
  margin-left: 2px;
  transition: ease 0.5s;
  width: 30px;
}
#toTop:hover figure {
  transform: translateY(-20px);
}
@media screen and (max-width: 1000px) {
  #toTop {
    bottom: 4vw;
    right: 4vw;
    width: 3.5vw;
  }
  #toTop figure {
    width: 3vw;
  }
}
@media screen and (max-width: 780px) {
  #toTop {
    bottom: 4vw;
    right: 6vw;
    width: 7vw;
  }
  #toTop figure {
    width: 5.5vw;
  }
  #toTop:hover figure {
    transform: translateY(0);
  }
}

/* スクロールCSS */
.fade_in {
  opacity: 0;
  transition-duration: 700ms;
  transition-property: opacity, transform;
}
.fade_in-up {
  transform: translate(0, 50px);
}
.fade_in-down {
  transform: translate(0, -50px);
}
.fade_in-left {
  transform: translate(-50px, 0);
}
.fade_in-right {
  transform: translate(50px, 0);
}
.scroll_in {
  opacity: 1;
  transform: translate(0, 0);
}

/** ------------------------
header
------------------------ **/
header {
  margin-top: 160px;
}
/** -- signboard -- **/
.signboard {
  background-color: #fff;
  box-sizing: border-box;
  padding-top: 25px;
  position: fixed;
  left: 0;
  top: 0;
  height: 100px;
  width: 100%;
  z-index: 999;
}
/** logo **/
header .logo {
  position: absolute;
  left: 0;
  top: 10px;
  width: 600px;
}
/** nav **/
header nav {
  align-items: center;
  justify-content: flex-end;
  padding-right: 40px;
}
header nav li {
  font-size: 15px;
  margin-right: 25px;
}
header nav li a {
  display: block;
  position: relative;
}
header nav li a::after {
  background: #006423;
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: ease 0s;
  height: 2px;
  width: 0;
}
header nav li a:hover::after {
  transition: ease 0.5s;
  width: 100%;
}
header nav .recruit {
  display: block;
  position: relative;
  height: 5.5vw;
  width: 5.5vw;
  top: 0.25vw;
  background-image: url(./img/icon_recruit.svg);
  background-size: contain;
  background-repeat: no-repeat;
}
header nav .recruit:hover {
  background-image: url(./img/icon_recruit_hover.svg);
}
@media screen and (max-width: 1200px) {
  header nav .recruit {
    top: 0.35vw;
  }
}

header nav .uber {
  display: block;
  margin-left: 10px;
  position: relative;
  height: 55px;
  width: 55px;
}
header nav .uber img {
  object-fit: contain;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: ease 0.3s;
  height: 90%;
  width: 90%;
}
header nav .uber:hover img {
  height: 100%;
  width: 100%;
}
/** menu_btn **/
header .menu_btn {
  display: none;
}
@media screen and (max-width: 1700px) {
  /** logo **/
  header .logo {
    left: auto;
    right: calc((100% - 1100px) / 2 + 840px);
  }
}
@media screen and (max-width: 1100px) {
  /** logo **/
  header .logo {
    left: -330px;
  }
}

/** ------------------------

------------------------ **/

/** ------------------------
main
------------------------ **/
main {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1280px;
}

/** ------------------------
footer
------------------------ **/
footer {
  background-color: #006423;
  color: #fff;
  padding: 80px 0 40px;
  position: relative;
}
footer .footer_inner {
  margin: 0 auto;
  position: relative;
  width: 100%;
  max-width: 1000px;
}
/** logo **/
footer .logo {
  position: absolute;
  left: 0;
  top: 0;
  width: 250px;
}
/** -- menu -- **/
footer .menu {
  justify-content: flex-end;
  margin-bottom: 50px;
}
footer .menu nav {
  display: table;
}
footer .menu nav.company {
  margin-left: 90px;
}
footer .menu h2 {
  font-family: "DINNextLTPro";
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
footer .menu li {
  font-size: 15px;
  margin-bottom: 10px;
  position: relative;
}
footer .menu a {
  color: #fff;
}
footer .menu a::after {
  color: #fff;
  content: "・";
  display: block;
  font-size: 20px;
  opacity: 0;
  position: absolute;
  left: -20px;
  top: -5px;
  transition: ease 0.5s;
}
footer .menu a:hover::after {
  opacity: 1;
}
/** -- sns -- **/
footer .sns {
  position: absolute;
  bottom: 7px;
  right: 0;
}
footer .sns li {
  margin-left: 10px;
}
footer .sns a {
  display: block;
  width: 22px;
}
/** -- copyright -- **/
footer .copyright {
  font-family: "DINNextLTPro";
  font-size: 14px;
  letter-spacing: 0;
  margin-right: 90px;
  text-align: right;
}

.wpcf7-form-control-wrap[data-name="presence-or-absence"] input[type="radio"] {
  margin: 0;
  appearance: auto;
}
.wpcf7-form-control-wrap[data-name="presence-or-absence"] .wpcf7-form-control {
  display: flex;
}
.wpcf7-form-control-wrap[data-name="presence-or-absence"] .wpcf7-list-item {
  display: flex;
  align-items: center;
  height: 40px;
  margin: 0;
}

.wpcf7-form-control-wrap[data-name="presence-or-absence"] .wpcf7-list-item.first {
  margin-right: 2rem;
}

.wpcf7-form-control-wrap[data-name="Type-of-inquiry"] {
  position: relative;
}

.wpcf7-form-control-wrap[data-name="Type-of-inquiry"]::after {
  content: "";
  width: 12px;
  height: 10px;
  position: absolute;
  top: 2px;
  right: 20px;
  background: #000;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

ul.wp-block-list {
  width: fit-content;
  margin-inline: auto;
}

/** -- withgreen追加 -- **/
.wpcf7-form-control-wrap[data-name="reply-or-nrn"] input[type="radio"] {
  margin: 0;
  appearance: auto;
}
.wpcf7-form-control-wrap[data-name="reply-or-nrn"] .wpcf7-form-control {
  display: flex;
}
.wpcf7-form-control-wrap[data-name="reply-or-nrn"] .wpcf7-list-item {
  display: flex;
  align-items: center;
  height: 40px;
  margin: 0;
}

.wpcf7-form-control-wrap[data-name="reply-or-nrn"] .wpcf7-list-item.first {
  margin-right: 2rem;
}

.grecaptcha-badge {
  display: none !important;
}

/* お問い合わせページのみ表示 */
.contact_page .grecaptcha-badge {
  display: block !important;
}
