#content {
  padding-top: 0;
  padding-inline: 0;
}

.hfw {
  background-color: #151515;
}

.hfw-firstview {
  position: relative;
  aspect-ratio: 1400/750;
}

.hfw-firstview-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.hfw-firstview-logo {
  position: absolute;
  width: 241px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.hfw-concept {
  margin-top: 214px;
  padding-bottom: 138px;
  color: #ffffff;
  position: relative;
}
.hfw-concept::after {
  position: absolute;
  content: "";
  width: 67.8571428571%;
  height: 91.9107391911%;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-color: #0C0C0C;
}

.hfw-concept-cols {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.hfw-concept-heading {
  font-size: 220px;
  font-weight: 400;
  font-family: "Six Caps", sans-serif;
  text-transform: uppercase;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: -139px;
  right: 0;
  white-space: nowrap;
}

.hfw-concept-title {
  margin-top: 188px;
  font-size: 29px;
  font-weight: inherit;
  letter-spacing: 0.05em;
  margin-bottom: 34px;
}

.hfw-concept-text {
  font-size: 16px;
  line-height: 1.875;
}

.hfw-concept-image {
  -ms-flex-preferred-size: 66.1428571429%;
      flex-basis: 66.1428571429%;
}
.hfw-concept-image img {
  width: 100%;
}

.hfw-concept-body {
  margin-left: -50px;
  -ms-flex-preferred-size: 34.7142857143%;
      flex-basis: 34.7142857143%;
  position: relative;
}

.hfw-strength {
  padding-top: 87px;
}

.hfw-strength-heading {
  margin-bottom: 77px;
}

.hfw-strength-contents {
  max-width: 545px;
  padding-block: 104px;
  margin-left: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 25px;
}
.hfw-strength-contents h2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
  color: rgba(255, 255, 255, 0.3);
}
.hfw-strength-contents h2 span:first-child {
  display: block;
  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
  font-size: 14px;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 36px;
  position: relative;
}
.hfw-strength-contents h2 span:first-child::after {
  position: absolute;
  content: "";
  width: 1px;
  height: 77px;
  background-color: currentColor;
  left: 50%;
  bottom: 0;
}
.hfw-strength-contents h2 span:last-child {
  font-size: 220px;
  font-weight: 400;
  font-family: "Six Caps", sans-serif;
  line-height: 1;
  line-height: 183px;
}
.hfw-strength-contents h3 {
  font-size: 27px;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 16px;
}
.hfw-strength-contents p {
  font-size: 15px;
  line-height: 1.8666666667;
}

.hfw-strength section {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.hfw-strength section:not(:first-child) {
  margin-top: 10px;
}
.hfw-strength section:nth-of-type(2n) .hfw-strength-contents {
  margin-left: 0;
}
.hfw-strength section:nth-of-type(1) {
  background-image: url("../images/hfw/strength01.jpg");
}
.hfw-strength section:nth-of-type(2) {
  background-image: url("../images/hfw/strength02.jpg");
}
.hfw-strength section:nth-of-type(3) {
  background-image: url("../images/hfw/strength03.jpg");
}
.hfw-strength section:nth-of-type(4) {
  background-image: url("../images/hfw/strength04.jpg");
}

.hfw-mark h2 span:nth-child(2) {
  font-size: 18px;
  font-weight: normal;
  margin-left: 33px;
  vertical-align: middle;
}

#work.hfw-work {
  background-color: #151515;
}

.hfw-interview {
  margin-top: 147px;
  padding-bottom: 86px;
}

.hfw-interview-inner {
  background: url("../images/hfw/interview.jpg") no-repeat center center;
  background-size: cover;
  margin-bottom: 60px;
  padding-bottom: 65px;
}
.hfw-interview-inner h2 {
  font-size: 150px;
  font-weight: 400;
  font-family: "Six Caps", sans-serif;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  display: inline-block;
  width: 100%;
  margin-bottom: 20px;
}
.hfw-interview-inner h2 span {
  margin-top: -68px;
  display: block;
  line-height: 189px;
  height: 189px;
}
.hfw-interview-inner p {
  font-size: 15px;
  line-height: 1.8666666667;
  text-align: center;
}
.hfw-interview-inner .btn {
  margin-top: 6px;
}

.hfw-interview ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 45px;
}

.hfw-interview-ceo {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 400;
  margin-top: 32px;
}

.hfw-interview-logo {
  margin-top: 13px;
}

.hfw-bg-group {
  background-color: #0C0C0C;
  padding-block: 120px;
}

.hfw-flow h2 {
  margin-bottom: 60px;
}
.hfw-flow h2 .en {
  font-size: 36px;
  vertical-align: middle;
}
.hfw-flow h2 span:nth-child(2) {
  font-size: 18px;
  font-weight: normal;
  margin-left: 33px;
  vertical-align: middle;
}
.hfw-flow ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-left: 1px solid #313131;
}
.hfw-flow li {
  -ms-flex-preferred-size: 25%;
      flex-basis: 25%;
  padding-block: 20px;
  padding-inline: 39px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border-right: 1px solid #313131;
}

.hfw-flow-subtitle {
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 36px;
  color: #737373;
  text-align: center;
}

.hfw-flow-picture {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 82px;
}
.hfw-flow-picture._step01 img {
  width: 56.2px;
}
.hfw-flow-picture._step02 img {
  width: 50.57px;
}
.hfw-flow-picture._step03 img {
  width: 39.99px;
}
.hfw-flow-picture._step04 img {
  width: 59.15px;
}

.hfw-flow-title {
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 13px;
  font-weight: normal;
}

.hfw-flow-text {
  font-size: 14px;
  color: #737373;
  line-height: 1.5;
}

.hfw-faq {
  padding-top: 74px;
}
.hfw-faq h2 {
  margin-bottom: 60px;
}
.hfw-faq h2 .en {
  font-size: 36px;
  vertical-align: middle;
}
.hfw-faq ul {
  border-left: none;
  border-top: #313131 1px solid;
}
.hfw-faq li {
  padding-block: 20px;
  padding-inline: 23px 64px;
  border-right: 0;
  border-bottom: #313131 1px solid;
  cursor: pointer;
  position: relative;
}
.hfw-faq li::before, .hfw-faq li::after {
  position: absolute;
  content: "";
  width: 16px;
  height: 1px;
  background-color: #ffffff;
  top: 31px;
  right: 20px;
}
.hfw-faq li::after {
  rotate: 90deg;
}
.hfw-faq li._open::after {
  content: none;
}

.hfw-faq-question p {
  padding-left: 30px;
  position: relative;
  font-size: 15px;
}
.hfw-faq-question p::before {
  font-size: 16px;
  font-family: "Oswald", sans-serif;
  position: absolute;
  content: "Q.";
  line-height: 22.5px;
  top: 0;
  left: 0;
}

.hfw-faq-answer {
  font-size: 13px;
  line-height: 1.8461538462;
  display: none;
}
.hfw-faq-answer p {
  padding-top: 15px;
}

.hfw-contact {
  padding-top: 42px;
  padding-bottom: 77px;
  background: url("../images/hfw/contact.jpg") no-repeat center center;
  background-size: cover;
  text-align: center;
}

.hfw-contact-heading {
  font-size: 150px;
  font-weight: 400;
  font-family: "Six Caps", sans-serif;
  text-transform: uppercase;
  line-height: 189px;
  height: 189px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  margin-bottom: 15px;
}

.hfw-contact-lead {
  font-size: 20px;
  letter-spacing: 0.05em;
  margin-bottom: 35px;
}

@media (max-width: 840px) {
  .hfw-firstview {
    aspect-ratio: 375/670;
  }
  .hfw-firstview-logo {
    width: 131px;
  }
  .hfw-concept {
    margin-top: 134px;
    padding-bottom: 0;
  }
  .hfw-concept::after {
    width: 76.2666666667%;
    height: 62.131147541%;
    bottom: 26.8852459016%;
  }
  .hfw-concept-cols {
    display: block;
  }
  .hfw-concept-image {
    margin-bottom: 35px;
    width: 90.6666666667%;
  }
  .hfw-concept-body {
    margin-left: 35px;
  }
  .hfw-concept-heading {
    font-size: 90px;
    top: -70px;
  }
  .hfw-concept-title {
    margin-top: 0;
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 21px;
  }
  .hfw-concept-text {
    font-size: 15px;
    line-height: 2;
  }
  .hfw-strength section {
    padding-block: 50px 94px;
  }
  .hfw-strength-heading {
    margin-bottom: 57px;
  }
  .hfw-strength-contents {
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    padding-block: 0;
    margin-bottom: 19px;
    gap: 10px;
  }
  .hfw-strength-contents h2 span:first-child {
    font-size: 8.85px;
  }
  .hfw-strength-contents h2 span:first-child::after {
    height: 49px;
  }
  .hfw-strength-contents h2 span:last-child {
    font-size: 139px;
    line-height: 130px;
  }
  .hfw-strength-contents h3 {
    margin-bottom: 0;
    font-size: 22px;
  }
  .hfw-mark h2 span:nth-child(2) {
    display: block;
    margin-left: 0;
    font-size: 16px;
  }
  .hfw-interview ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 30px;
  }
  .hfw-interview-inner {
    padding-inline: 39px 38px;
    background-image: url("../images/hfw/interview-sp.jpg");
    margin-bottom: 40px;
    padding-bottom: 45px;
  }
  .hfw-interview-inner h2 {
    font-size: 100px;
  }
  .hfw-interview-inner h2 span {
    line-height: 130px;
    height: 130px;
  }
  .hfw-interview-inner p {
    font-size: 15px;
    line-height: 1.8666666667;
  }
  .hfw-interview-inner .btn {
    margin-top: 11px;
  }
  .hfw-interview-logo img {
    width: 154px;
  }
  .hfw-bg-group {
    padding-block: 60px;
  }
  .hfw-flow h2 {
    margin-bottom: 30px;
  }
  .hfw-flow h2 .en {
    font-size: 30px;
    display: block;
  }
  .hfw-flow h2 span:nth-child(2) {
    display: block;
    margin-left: 0;
    font-size: 16px;
  }
  .hfw-flow ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    border-left: none;
    border-top: 1px solid #313131;
  }
  .hfw-flow li {
    border-right: none;
    border-bottom: 1px solid #313131;
    padding-block: 30px;
  }
  .hfw-faq h2 {
    margin-bottom: 30px;
  }
  .hfw-faq h2 .en {
    font-size: 30px;
  }
  .hfw-faq li {
    padding-inline: 0;
  }
  .hfw-faq li::before, .hfw-faq li::after {
    right: 0;
  }
  .hfw-faq-question p {
    padding-right: 37px;
  }
  .hfw-faq-answer p {
    font-size: 13px;
  }
  .hfw-contact {
    background-image: url("../images/hfw/contact-sp.jpg");
    padding-block: 79px 109px;
  }
  .hfw-contact-heading {
    font-size: 100px;
    line-height: 132px;
    height: 132px;
  }
  .hfw-contact-lead {
    font-size: 16px;
    margin-bottom: 35px;
  }
}