@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Lato:wght@900&family=Noto+Sans+JP:wght@400;700&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  color: #222222;
  font-family: "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
  font-size: 16px;
  overflow-x: hidden;
}

h2 {
  font-family: "Lato", sans-serif;
  letter-spacing: 0.075em;
  font-size: 64px;
  line-height: 1.2;
  color: #ea5514;
  padding-bottom: 8px;
}

main {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  opacity: 0.8;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.title__sub {
  letter-spacing: 0.1em;
  font-weight: bold;
  padding-bottom: 55px;
}

.header__innner {
  position: relative;
}

.header__box {
  position: absolute;
  position: absolute;
  top: 3%;
  left: 5%;
  right: 5%;
}

.header__content {
  display: flex;
  align-items: center;
}

.header__nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-family: "Lato", sans-serif;
  font-size: 18px;
  letter-spacing: 0.05em;
  width: 80vw;
}

.header__nav nav ul {
  display: flex;
}

.header__nav nav ul li:not(:last-child) {
  margin-right: 35px;
}

.header__nav .contact_button {
  background-color: #7fbf34;
  display: flex;
  align-items: center;
  margin-left: 35px;
  padding: 13px 53px;
  color: #fff;
}

.header__nav-layer {
  display: none;
}

.header .hamburger {
  display: none;
}

.about {
  position: relative;
}

.about .about__box {
  margin-top: 180px;
  margin-left: 240px;
}

.about .about__text {
  letter-spacing: 0.05em;
  line-height: 1.8;
}

@media screen and (min-width: 600px) {
  .about .about__text {
    width: 470px;
  }
}

.about .about__heading {
  font-size: 32px;
  font-weight: bold;
  padding-bottom: 43px;
}

.about .about__thumbnail {
  padding: 130px 0;
}

.about .concept_image {
  position: absolute;
  bottom: 17%;
  left: 8%;
}

.services {
  background: url(https://www.all4fun-inc.jp/wp-content/themes/all4fun/assets/images/services.png) no-repeat;
}

.services .services__content {
  padding-top: 70px;
  padding-bottom: 140px;
}

.services .services__heading {
  text-align: center;
}

.services .services__box {
  margin: 0 auto;
  width: 800px;
  background-color: #fff;
  padding: 76px 112px;
}

.services .services__detail {
  margin: 0 auto;
  text-align: center;
  display: block;
}

.services ul {
  font-size: 18px;
  line-height: 2.5;
  padding-left: 0;
  display: inline-block;
}

.services ul li {
  text-align: left;
}

.services ul li span {
  color: #7fbf34;
  padding-right: 20px;
}

.recruit .recruit__content {
  position: relative;
  padding: 144px 0;
}

.recruit .recruit__text {
  position: relative;
  width: 946px;
  margin: 0 auto;
}

.recruit h2 {
  text-align: center;
  font-size: 48px;
  color: #222222;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.recruit h2::before {
  content: "";
  background: url(https://www.all4fun-inc.jp/wp-content/themes/all4fun/assets/images/dq_left.svg) no-repeat;
  position: absolute;
  top: 26%;
  left: 0;
  width: 36px;
  height: 29px;
}

.recruit h2::after {
  content: "";
  background: url(https://www.all4fun-inc.jp/wp-content/themes/all4fun/assets/images/dq_right.svg) no-repeat;
  position: absolute;
  top: 66%;
  right: 0;
  width: 36px;
  height: 29px;
}

.recruit h2 span {
  color: #7fbf34;
}

.recruit h3 {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1.7;
  padding: 56px 0;
}

.recruit h3 span {
  color: #ea5514;
}

.recruit p.recruit__lead {
  width: 800px;
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin: 0 auto;
}

.recruit .recruit__content img {
  position: absolute;
  top: 8%;
  left: 19%;
}

.company {
  background-color: #fafafa;
}

.company .company__content {
  padding-top: 70px;
  padding-bottom: 140px;
}

.company .company__heading {
  text-align: center;
}

.company table {
  width: 800px;
  margin: 0 auto;
}

.company table tr {
  border-bottom: 1px solid #e2e2e2;
  letter-spacing: 0.05em;
}

.company table th {
  width: 30%;
  padding: 35px 0;
  vertical-align: middle;
  text-align: left;
  font-weight: bold;
  line-height: 2.1;
}

.company table td {
  width: 70%;
  padding: 35px 0;
  vertical-align: middle;
  line-height: 1.8;
}

.career .career__content {
  padding-top: 100px;
  padding-bottom: 100px;
  width: 1035px;
  margin: 0 auto;
  position: relative;
}

.career .career__content img {
  position: absolute;
  bottom: 18%;
  left: -17%;
}

.career .career__box {
  letter-spacing: 0.05em;
  line-height: 1.8;
}

.career .career__box h3 {
  font-size: 26px;
  color: #7fbf34;
}

.career .career__detail {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.career .career__detail dt {
  text-align: right;
  width: 8.5em;
  padding: 0.5em 1em 0.5em 0.5em;
  position: relative;
}

.career .career__detail dd {
  width: calc(100% - 8.5em);
  padding: 0.5em 2em 3em;
  border-left: 2px solid #ccc;
}

.timeline {
  list-style: none;
}
.timeline > li {
  margin-bottom: 60px;
}

/* for Desktop */
@media (min-width: 640px) {
  .timeline > li {
    overflow: hidden;
    margin: 0;
    position: relative;
  }
  .timeline-date {
    width: 110px;
    float: left;
    margin-top: 20px;
    margin-right: 30px;
    color: #898989;
  }
  .timeline-content {
    width: 67%;
    float: left;
    border-left: 1px #d9d9d9 solid;
    padding-left: 30px;
    padding-top: 20px;
  }
  .timeline-content:before {
    content: "";
    width: 8px;
    height: 8px;
    background: #d9d9d9;
    position: absolute;
    left: 136px;
    top: 30px;
    border-radius: 100%;
  }
  .timeline-content span {
    font-size: 12px;
  }
}

.collaborators {
  background: url(https://www.all4fun-inc.jp/wp-content/themes/all4fun/assets/images/collaborators.png) no-repeat;
}

.collaborators .company__content {
  padding-top: 70px;
  padding-bottom: 140px;
}

.collaborators .collaborators__heading {
  text-align: center;
}

.collaborators .collaborators__heading p {
  color: #fff;
}

.collaborators .collaborators__lead {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: center;
}

.collaborators .collaborators__lead .cross {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 1px;
  background: #fff;
  transform: rotate(45deg);
  vertical-align: middle;
}

.collaborators .collaborators__lead .cross::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: rotate(90deg);
}

.collaborators .collaborators__box {
  margin: 50px 0;
}

.collaborators .collaborators__box .athena {
  margin-right: 20px;
}

.collaborators .collaborators__detail {
  width: 532px;
  background-color: #fff;
  border-radius: 6px;
}

.collaborators .collaborators__company {
  display: flex;
  justify-content: space-evenly;
  padding: 30px;
}

.collaborators .collaborators__text {
  position: relative;
}

.collaborators .collaborators__text_main {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.2;
  border-bottom: 1px solid #e2e2e2;
  padding-top: 28px;
  padding-bottom: 14px;
}

.collaborators .collaborators__box .text_athena::after {
  content: "";
  background: url(https://www.all4fun-inc.jp/wp-content/themes/all4fun/assets/images/Icon_link.svg) no-repeat;
  position: absolute;
  top: 28%;
  right: 0;
  width: 12px;
  height: 12px;
}

.collaborators .collaborators__box .text_hershe::after {
  content: "";
  background: url(https://www.all4fun-inc.jp/wp-content/themes/all4fun/assets/images/Icon_link.svg) no-repeat;
  position: absolute;
  top: 28%;
  right: -12%;
  width: 12px;
  height: 12px;
}

.collaborators .collaborators__text_sub {
  padding-top: 14px;
}

.collaborators .detail__link {
  width: 516px;
  font-weight: bold;
  padding: 20px;
  margin: 30px auto 0;
  border: 1px solid #fff;
}

.collaborators .detail__link a {
  text-align: center;
  color: #fff;
}

.collaborators .detail__link p {
  position: relative;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.collaborators .detail__link p::after {
  content: "";
  background: url(https://www.all4fun-inc.jp/wp-content/themes/all4fun/assets/images/Icon_link.svg) no-repeat;
  position: absolute;
  top: 20%;
  right: 5%;
  width: 12px;
  height: 12px;
}

.collaborators .detail__link .text01 {
  font-size: 18px;
}

.collaborators .detail__link .line {
  padding: 0 30px;
  font-size: 24px;
}

.collaborators .detail__link .text02 {
  font-size: 24px;
}

.form .form__content {
  padding-top: 70px;
  padding-bottom: 140px;
}

.form .form__heading {
  text-align: center;
}

footer {
  font-family: "Lato", sans-serif;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

footer .footer__box {
  background-color: #222222;
  display: flex;
  padding: 50px 0;
}

footer .footer__detail {
  width: 1080px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

footer .footer__logo {
  width: 320px;
}

footer .footer__nav ul {
  display: flex;
}

footer .footer__nav li {
  color: #fff;
}

footer .footer__nav li:not(:last-child) {
  margin-right: 35px;
}

footer .copyright {
  background-color: #464646;
  padding: 20px 0;
  text-align: center;
}

footer .copyright p {
  color: #696969;
  font-size: 13px;
}

.form__box {
  margin: auto;
  max-width: 800px;
  padding: 70px 20px 120px;
  text-align: center;
  display: block;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

.form__heading {
  text-align: center;
}

.form .mw_wp_form .error {
  text-align: left;
  font-size: 14px;
  padding-top: 3px;
}

.form__table {
  width: 100%;
}

.form__table td select {
  border: 1px solid #e2e2e2;
  background-color: #fff;
  height: 50px;
  width: 100%;
  padding-left: 20px;
}

.form__table tr:first-child td {
  position: relative;
}

.form__table tr:first-child td::after {
  content: "";
  position: absolute;
  right: 6%;
  top: 48%;
  border: 6px solid transparent;
  border-top: 7px solid #555;
}

.form__table tr:first-child td select:required {
  color: #630015;
  border-color: #c20c33;
  background-color: #ffd9e1;
}

.form__table tr:last-child th {
  vertical-align: top;
}

.form__table tr:nth-child(3) td p {
  padding: 5px 0;
  text-align: left;
  font-size: 14px;
}

.form__table th {
  width: 300px;
}

.form__table th,
.form__table td {
  padding: 30px 0;
}

.form__table td {
  text-align: left;
}

.form__table td input {
  height: 50px;
  width: 100%;
}

.form__table td textarea {
  height: 200px;
  width: 100%;
  padding-top: 20px;
}

.form__table td input,
.form__table td textarea {
  background-color: #f8f8f8;
  border: none;
  border-radius: 3px;
  box-sizing: border-box;
  padding-left: 20px;
}

.form__head {
  display: flex;
  align-items: center;
  font-weight: bold;
}

.form__head span {
  background-color: #fff;
  border: 1px solid #f26363;
  border-radius: 2px;
  color: #f26363;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  height: 25px;
  width: 56px;
  margin-left: 20px;
}

.form .thanks__button {
  background-color: #7fbf34;
  border-radius: 3px;
  width: 258px;
  margin: 20px auto;
  padding: 17px 0;
  color: #fff;
  font-size: 18px;
  border-style: none;
  letter-spacing: 0.05em;
}

.form_thanks__lead {
  letter-spacing: 0.05em;
  line-height: 1.8;
}

.form_thanks__lead-main {
  font-size: 26px;
  padding: 100px 0 50px;
}

.form_thanks__lead-sub {
  padding-bottom: 20px;
}

.home__button {
  background-color: #7fbf34;
  border-radius: 3px;
  width: 258px;
  margin: 20px auto;
  padding: 17px 0;
  color: #fff;
  font-size: 18px;
  border-style: none;
  letter-spacing: 0.05em;
  margin: 0 auto 120px;
  text-align: center;
}
.home__button a {
  font-size: 18px;
}

@media screen and (max-width: 1150px) {
  .header .fv {
    padding-top: 100px;
  }

  .header__logo {
    padding-top: 13px;
  }

  .header__nav {
    background-color: #fff;
    display: block;
    padding: 20px;
    width: 68vw;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    transition: all 0.7s ease 0.15s;
    transform: translateX(-1000px);
  }

  .header__nav nav ul {
    flex-direction: column;
  }

  .header__nav nav ul li:not(:last-child) {
    padding-bottom: 30px;
  }

  .header__nav .contact_button {
    justify-content: center;
    margin-top: 50px;
    margin-left: 0;
  }

  .header .hamburger {
    cursor: pointer;
    display: block;
    width: 32px;
    height: 32px;
    position: fixed;
    top: 6%;
    right: 2%;
  }
  .header .hamburger span {
    background-color: #000;
    display: inline-block;
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    transition: all ease 0.7s;
  }
  .header .hamburger span:nth-child(1) {
    top: 8px;
  }
  .header .hamburger span:nth-child(2) {
    top: 18px;
  }
  .header .hamburger span:nth-child(3) {
    top: 28px;
  }
  .header__nav.is-show {
    align-items: flex-start;
    flex-direction: column;
    transform: translateX(0);
  }
  .header__nav-layer.is-show {
    transform: translateX(0);
  }
  .header .hamburger.is-show {
    z-index: 10;
  }
  .header .hamburger.is-show span {
    background-color: #fff;
  }
  .header .hamburger.is-show span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
  }
  .header .hamburger.is-show span:nth-child(2) {
    transform: scale(0);
  }
  .header .hamburger.is-show span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
  }
  .header__nav-layer {
    background-color: rgba(0, 0, 0, 0.8);
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    transition: all 0.7s ease 0s;
    transform: translateX(-3000px);
  }
  .header__nav-layer.is-show {
    transform: translateX(0);
  }
}

@media screen and (min-width: 601px) {
  .sp {
    display: none;
  }

  .about .about__content {
    display: flex;
    justify-content: space-between;
  }

  .career .career__content {
    display: flex;
    justify-content: space-between;
  }

  .collaborators .collaborators__box {
    display: flex;
    justify-content: center;
  }
}

@media screen and (max-width: 600px) {
  .pc {
    display: none;
  }

  h2 {
    font-size: 50px;
    text-align: center;
  }

  .title__sub {
    text-align: center;
    padding-bottom: 30px;
  }

  .container {
    width: 90%;
    margin: 0 auto;
  }

  .header .fv {
    padding-top: 70px;
  }

  .header__logo {
    width: 140px;
    padding-top: 12px;
  }

  .header .hamburger {
    top: 3%;
  }

  .about {
    margin-top: 0;
  }

  .about .about__content {
    padding-top: 50px;
    padding-bottom: 70px;
  }

  .about .about__box {
    width: 100%;
    margin: 0;
    padding-bottom: 50px;
  }

  .about .about__box h3 {
    font-size: 1.4rem;
    text-align: center;
    padding-bottom: 30px;
  }

  .about .about__thumbnail {
    padding: 0;
    width: 100vw;
    height: auto;
    margin-left: calc(-50vw + 50%);
  }

  .about .concept_image {
    display: none;
  }

  .services {
    width: 100vw;
    height: auto;
    margin-left: calc(-50vw + 50%);
  }

  .services .services__content {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .services .services__box {
    width: 90%;
    padding: 0;
  }

  .services ul {
    padding: 30px 12px;
    line-height: 1.6;
  }

  .services ul li {
    padding-left: 1.5em;
    text-indent: -1.5em;
  }

  .services ul li:not(:last-child) {
    padding-bottom: 14px;
  }

  .services ul li:nth-child(3) {
    letter-spacing: -1.3px;
  }
  .services ul li:nth-child(5) {
    letter-spacing: -1.7px;
  }

  .services ul li span {
    padding-right: 12px;
  }

  .recruit .recruit__text {
    width: 100%;
  }

  .recruit h2 {
    font-size: 1.6rem;
  }

  .recruit h2::before,
  .recruit h2::after {
    display: none;
  }

  .recruit h3 {
    font-size: 1.1rem;
    padding: 30px 0;
  }

  .recruit p.recruit__lead {
    width: 100%;
  }

  .recruit .recruit__content {
    padding: 50px 0;
  }

  .company {
    width: 100vw;
    height: auto;
    margin-left: calc(-50vw + 50%);
  }

  .company .company__content {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .company table {
    width: 90%;
  }

  .company table tr {
    display: flex;
    flex-direction: column;
  }

  .company table th {
    width: 100%;
    padding: 10px 0 10px 10px;
    vertical-align: baseline;
  }

  .company table td {
    width: 100%;
    padding: 0 0 10px 10px;
    line-height: 1.4;
  }

  .career .career__content {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .career .career__content img {
    display: none;
  }

  .career .career__box h3 {
    padding-bottom: 30px;
  }

  .timeline-date {
    font-weight: bold;
  }

  .timeline > li {
    margin-bottom: 30px;
  }

  .collaborators {
    width: 100vw;
    height: auto;
    margin-left: calc(-50vw + 50%);
    background-size: cover;
  }

  .collaborators .company__content {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .collaborators .collaborators__lead {
    font-size: 1.2rem;
    width: 90%;
    margin: 0 auto;
  }

  .collaborators .collaborators__lead h3 p:first-child {
    padding-bottom: 10px;
  }

  .collaborators .collaborators__lead h3 p:last-child {
    padding-top: 10px;
  }

  .collaborators .collaborators__detail {
    width: 90%;
    margin: 0 auto;
  }

  .collaborators .collaborators__box .athena {
    margin-bottom: 20px;
  }

  .collaborators .collaborators__text {
    padding-left: 14px;
  }

  .collaborators .collaborators__text_main {
    font-size: 1.2rem;
    padding-top: 10px;
  }

  .collaborators .collaborators__box .text_athena::after {
    top: 32%;
    right: 3%;
  }

  .collaborators .collaborators__box .text_hershe::after {
    top: 31%;
    right: 5%;
  }

  .collaborators .detail__link {
    width: 76%;
  }

  .collaborators .detail__link .text01 {
    font-size: 0.8rem;
  }

  .collaborators .detail__link .line {
    padding: 0 10px;
    font-size: 0.9rem;
  }

  .collaborators .detail__link .text02 {
    font-size: 0.9rem;
  }

  .collaborators .detail__link p::after {
    right: -2%;
  }

  .form__box {
    padding: 50px 20px;
  }

  .form__table th {
    width: 100%;
  }

  .form__table td select {
    font-size: 1rem;
  }

  .form__table th,
  .form__table td {
    display: block;
    padding: 14px 0;
  }

  .form__table td input,
  .form__table td textarea {
    font-size: 1rem;
  }

  .form__head {
    justify-content: space-between;
  }

  .form_thanks {
    width: 90%;
  }

  .form_thanks__lead-main {
    padding: 0 0 50px;
  }

  .form_thanks__lead-sub {
    padding-bottom: 50px;
  }

  .form .thanks__button {
    width: 100%;
  }

  .home__button {
    width: 90%;
    margin: 70px auto 20px;
  }

  footer .footer__detail {
    width: 100%;
  }

  footer .footer__logo {
    width: 57vw;
    margin: 0 auto;
  }

  footer .footer__nav {
    display: none;
  }
}

.timeline02 {
  max-width: 940px;
}

.timeline-list {
  padding: 40px 0;
}

.timeline-list-item {
  display: flex;
  line-height: 1.5;
}

.timeline-list-item .date {
  width: 6.5em;
  padding-right: 10px;
  color: #898989;
  margin-top: -0.5em;
}
@media screen and (max-width: 600px) {
  .timeline-list-item .date {
    width: 20%;
  }
}

.timeline-list-item .content {
  position: relative;
  padding: 0 20px 36px 30px;
  border-left: 1px solid #d9d9d9;
}
@media screen and (max-width: 600px) {
  .timeline-list-item .content{
    width: 80%;
  }
}
.timeline-list-item .content p {
  margin-top: -0.5em;
}

.timeline-list-item .content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -4px;
  width: 8px;
  height: 8px;
  background-color: #d9d9d9;
  border-radius: 10px;
}

.timeline-list li:last-child .content {
  padding-bottom: 0;
  border: none;
}

.timeline-list li:last-child .content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -4px;
  width: 8px;
  height: 8px;
  background-color: #d9d9d9;
  border-radius: 10px;
}

@media screen and (max-width: 600px) {
  .timeline-list li:last-child .content::before {
    content: "";
    position: absolute;
    top: 0;
    left: -1px;
    width: 8px;
    height: 8px;
    background-color: #d9d9d9;
    border-radius: 10px;
  }
}

/* @media screen and (max-width: 480px) {
  .timeline-list li:last-child .content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 3px;
    width: 8px;
    height: 8px;
    background-color: #d9d9d9;
    border-radius: 10px;
  }
} */

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
  transition: 2s;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
    transition: 2s;
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/

.fadeUpTrigger {
  opacity: 0;
}

.fadeIn_left {
  opacity: 0;
  transform: translate(-50%, 0);
  transition: 2s;
}
.is-show_02 {
  transform: translate(0, 0);
  opacity: 1;
}

.fadeIn_right {
  opacity: 0;
  transform: translate(50%, 0);
  transition: 2s;
}
.is-show_03 {
  transform: translate(0, 0);
  opacity: 1;
}

.timeline-list-item .content span {
  color: #f26363;
}
