@import url("properties.css");

/* ============================================================
        セクションタイトル
============================================================ */
article {
  background: var(--base-color);
  border-top-right-radius: 40% 40px;
  border-top-left-radius: 40% 40px;
  padding-top: 50px;
  position: relative;
  top: -40px;
  z-index: 5;
}
.contents {
  position: relative;
  margin-bottom: 200px;
  padding: 0 5px;
}
.contents:first-child {
  padding-top: 20px;
}
.contents-title {
  color: var(--accent-color);
  display: inline-block;
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 23px;
  position: relative;
}
.content-title__underline {
  background: linear-gradient(transparent 70%, #ffe500 10%);
  padding: 0 3px;
}
.contents-title__arrow {
  border-bottom: dashed var(--accent-color) 2px;
  padding: 0 20px;
}
.contents-title__arrow::before {
  border-right: dashed var(--accent-color) 2px;
  content: "";
  height: 16px;
  width: 2px;
  position: absolute;
  top: 29px;
  right: 4px;
  transform: rotate(-34deg);
}
.contents-title__strong::before {
  content: url(../images/text-strong.svg);
  height: 5px;
  width: auto;
  position: absolute;
  top: -17px;
  left: -11px;
}
.content-info__text {
  line-height: 3.7rem;
  margin-bottom: 35px;
}
@media screen and (min-width: 1025px) {
  article {
    padding: 0 15%;
  }
  .content-info__text {
    font-size: 2.4rem;
    line-height: 6rem;
    margin-top: 75px;
  }
}

@media screen and (min-width: 1440px) {
  .contents {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
  }
}

/* ============================================================
        メインビジュアル
============================================================ */
.main-visual {
  /* background-attachment: fixed; */
  height: 110vh;
  width: auto;
  position: relative;
}
.section-mv-inner {
  clip-path: inset(0);
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.main-visual-image {
  background: url(../images/firstview-sp.png) 50% / cover no-repeat;
  height: 110vh;
  width: 100%;
  position: fixed;
  top: 0;
  right: 0;
  z-index: -1;
}
.catch-copy,
.content-mv {
  position: absolute;
  text-align: center;
  height: auto;
  width: 100%;
  z-index: 5;
}
.catch-copy {
  position: relative;
  color: var(--accent-color);
  font-weight: 900;
  font-size: 7.9vw;
  text-align: right;
  top: 50%;
  right: 0;
  width: 95%;
}
.content-mv {
  top: 18%;
  padding: 0 1rem;
}
.content-mv * {
  color: #ffffff;
  text-align: left;
  padding-bottom: 20px;
}
.content-mv__text {
  font-size: 5.7vw;
  text-align: left;
  padding-bottom: 0;
}
.content-mv__text .small-text {
  font-size: 4vw;
}
.content-mv__scroll {
  display: flex;
  position: absolute;
  bottom: -250px;
  right: 0;
  writing-mode: vertical-rl;
}
.content-mv__scroll p {
  font-size: 2.4rem;
}
.content-mv__scroll span {
  height: 6px;
  width: 60px;
}
@media screen and (min-width: 500px) {
  .main-visual-image {
    background: url(../images/firstview-pc.png) 50% / cover no-repeat;
    /* background-attachment: fixed; */
  }
  .catch-copy {
    font-size: 6.9vw;
  }
  .content-mv__text {
    font-size: 3.7vw;
  }
  .content-mv__text .small-text {
    font-size: 2vw;
  }
}
@media screen and (min-width: 768px) {
  .content-mv {
    top: 5%;
  }
  .catch-copy {
    font-size: 3.5vw;
    text-align: left;
    top: 73%;
    line-height: 1.5;
    margin: 0 0 0 auto;
  }
  .br {
    display: none;
  }
  .content-mv.top * {
    text-align: left;
  }
  .top .content-logo,
  .top .content-logo * {
    padding-bottom: 0;
  }
  .content-mv__text,
  .content-logo {
    margin-left: 170px;
    margin-right: 170px;
  }
  .top .content-mv__text {
    position: absolute;
    top: 100%;
    right: 0;
    width: 95%;
    /* margin: 0 auto; */
    margin-right: -10px;
    font-size: 2.2vw;
    text-align: left;
  }
  .content-mv__text .small-text {
    font-size: 1.8vw;
  }
  .top .content-logo {
    height: auto;
    font-weight: 900;
    font-size: 7.9vw;
    margin: 0 auto;
    text-align: left;
    right: 0;
    width: 95%;
    margin-right: 0;
    padding-top: 70px;
  }
  .top .logo__text {
    position: relative;
  }
  .top .logo__sub-text {
    width: 100%;
    position: absolute;
    top: 20px;
    left: 142px;
  }
  .content-mv__scroll {
    bottom: -300px;
  }
}

@media screen and (min-width: 1920px) {
  .logo__text {
    font-size: 90px;
  }
  .logo__sub-text {
    font-size: 30px;
  }
  .catch-copy {
    font-size: 70px;
  }
  .top .content-mv__text {
    top: 100%;
  }
  .content-mv__scroll {
    bottom: -400px;
  }
}

/* ============================================================
        選ばれる理由
============================================================ */
.content-merit {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 2%;
  justify-content: center;
  margin: 0 auto;
  margin-bottom: 55px;
}
.content-merit__item {
  background: url(../images/card.svg) center / auto 267px no-repeat;
  filter: drop-shadow(4px 4px 2px rgba(51, 51, 51, 0.25));
  height: 267px;
  width: auto;
}
.content__card {
  height: inherit;
  width: 200px;
  padding-top: 15%;
}
.card__title {
  font-size: 1.5rem;
  margin: 0 auto;
  padding: 5px 0;
  position: relative;
  width: 200px;
}
.card__num {
  color: var(--accent-color);
  position: absolute;
  left: 22px;
  bottom: 40px;
}
.card__img {
  margin: 30px auto;
  height: 60px;
  width: 60px;
}
.card__img img {
  filter: drop-shadow(2px 2px 1px rgba(51, 51, 51, 0.5));
  object-fit: contain;
  height: 100%;
  width: 100%;
}
.card__text {
  font-size: 1.2rem;
  padding: 0 18px;
  text-align: left;
}

/* 415px以下 */
@media screen and (max-width: 415px) {
  .card__num {
    bottom: 33px;
    left: 15px;
  }
  .content-merit__item {
    width: 49%;
  }
  .content__card,
  .card__title {
    width: 100%;
  }

  .card__title {
    font-size: 1.3rem;
  }
}

/* 374px以下 */
@media screen and (max-width: 374px) {
  .content-merit__item {
    width: 255px;
  }

  .card__num {
    bottom: 40px;
    left: 28px;
  }
}

/* 750px以上 */
@media screen and (min-width: 750px) {
  .content__card {
    width: 275px;
  }
  .card__num {
    left: -7px;
    bottom: 50px;
  }
}

/* 1630px以上 */
@media screen and (min-width: 1630px) {
  .content-merit {
    padding: 0 140px;
  }
}

/* ============================================================
        キャリアアドバイザーの強み
============================================================ */
.content-point {
  margin: 20px auto;
}
.content-point__item {
  background: #ffffff;
  border-radius: 5px;
  box-shadow: 4px 4px 2px rgba(51, 51, 51, 0.25);
  height: auto;
  width: 390px;
  margin: 0 auto;
  margin-bottom: 25px;
  padding: 18px 30px;
}
.content-point__item *:not(:last-child) {
  margin-bottom: 15px;
}
.point__num {
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 3.2rem;
}
.point__title {
  text-shadow: 2px 2px 3px rgb(51, 51, 51, 0.25);
  font-size: 2rem;
  font-weight: bold;
}
.point__image {
  height: 185px;
  width: auto;
}
.point__image img {
  border-radius: 5px;
  object-fit: cover;
  object-position: left top;
  height: 100%;
  width: 100%;
}
.point__text {
  font-size: 1.2rem;
  text-align: left;
}
@media screen and (max-width: 415px) {
  .content-point__item {
    width: 100%;
  }
}

@media screen and (min-width: 750px) {
  .content-point__item {
    background: none;
    box-shadow: none;
    width: auto;
    margin-bottom: 25px;
  }
  .content-point__item *:not(:last-child) {
    margin-bottom: 0;
  }
  .point-head {
    align-items: flex-end;
    display: flex;
    gap: 25px;
    justify-content: center;
    height: auto;
    padding-bottom: 25px;
  }
  .point__num {
    font-size: 6.2rem;
    font-weight: normal;
    line-height: 6.2rem;
    height: auto;
  }
  .point__title {
    font-size: 3.2rem;
  }
  .point-body {
    align-items: center;
    display: flex;
    gap: 30px;
  }
  .point-body.right {
    flex-direction: row-reverse;
  }
  .point__image {
    height: 350px;
    flex: 1;
  }
  .point__image img {
    object-position: 50% -50%;
  }
  .point__text {
    flex: 1;
    font-size: 1.8rem;
    line-height: 3.5rem;
    max-width: 509px;
  }
}

/* ============================================================
        転職事例
============================================================ */
.content-voice {
  margin: 20px auto;
  text-align: left;
}
.content-voice__item {
  background: linear-gradient(
    180deg,
    #ffe681 0%,
    #ffe681 5%,
    #ffffff 5%,
    #ffffff 100%
  );
  border-radius: 5px;
  box-shadow: 4px 4px 2px rgba(51, 51, 51, 0.25);
  height: auto;
  max-width: 866px;
  margin: 0 auto;
  margin-bottom: 25px;
  padding: 0 18px;
  width: calc(100% - 10%);
}
.voice__num {
  color: #ffffff;
  font-size: 3rem;
  font-weight: bold;
  line-height: 3.2rem;
  text-align: right;
  -webkit-text-stroke: 0.4px #333333;
}
.voice__profile {
  font-size: 1.2rem;
  text-align: left;
  margin-bottom: 15px;
}
.content-voice__block {
  display: flex;
  gap: 5%;
  margin-bottom: 15px;
}
.voice__image {
  height: auto;
  width: 67px;
}
.voice__image img {
  object-fit: contain;
  height: 67px;
  width: 100%;
}
.voice__image p {
  font-size: 1.2rem;
  text-align: center;
}
.voice__list {
  flex: 1;
}
.voice__list dt,
.voice__list dd {
  font-size: 1.2rem;
}
.voice__list dt {
  background: var(--base-color);
  border-radius: 5px;
  display: inline-block;
  font-weight: bold;
  padding: 0 20px;
}
.voice__list dd {
  padding-left: 20px;
}
.voice__body-text {
  font-size: 1.4rem;
  line-height: 1.8rem;
  padding-bottom: 15px;
}

/* ============================================================
        登録画面
============================================================ */
.error {
  color: #ff0000;
  float: right;
  font-size: 1.4rem;
  text-align: right;
}
.form-container {
  padding: 0 20px;
}
.form__head-title {
  font-size: 2.4rem;
  margin: 30px auto;
}
.form__head-text {
  font-size: 1.2rem;
  line-height: 1.7rem;
  text-align: left;
}
.form-group {
  margin: 20px 0;
  margin-bottom: 130px;
}
.form-group table {
  width: 100%;
}
.content-form {
  display: flex;
  flex-flow: column;
  height: auto;
  width: auto;
  margin: 15px 0;
  position: relative;
}
.form__label {
  display: block;
  text-align: left;
  width: 100%;
  margin-bottom: 3px;
}
/* @media screen and (min-width: 750px) {
  .form-container {
    margin: 0 10%;
  }
  .content-form {
    flex-flow: row;
  }
  .form__label {
    width: 300px;
  }
} */
.required::after,
.optional::after {
  background: #ffffff;
  border-radius: 10px;
  top: 7px;
  font-size: 1rem;
  margin-left: 5px;
  position: absolute;
  text-align: center;
  height: 17px;
  width: 37px;
}
.required::after {
  border: solid #ff0000 1px;
  content: "必須";
  color: #ff0000;
}
.optional::after {
  border: solid #868687 1px;
  content: "任意";
  color: #868687;
}
.form__item,
.form-file {
  border: 1.5px solid rgba(51, 51, 51, 0.5);
  border-radius: 2px;
  cursor: pointer;
  height: 37px;
  width: 100%;
  padding-left: 8px;
}
.form__item::placeholder {
  color: var(--accent-color);
  opacity: 0.3;
}
.form__item:focus,
.radio__text:focus {
  outline: 1.5px solid var(--accent-color);
}
#fm-age {
  width: calc(100% - 21px);
}
.input__sub-text {
  width: 16px;
}
#fm-employment {
  background: #ffffff;
}
#fm-employment p {
  color: var(--accent-color);
  height: inherit;
  line-height: 37px;
  text-align: left;
}
.custom-select {
  background: #ffffff;
  border: solid #5f5f5f 0.05px;
  border-radius: 6px;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
  display: none;
  position: absolute;
  text-align: left;
  width: 100%;
  z-index: 20;
}
.custom-select .form__item {
  display: none;
}
.custom-select label {
  display: block;
  padding: 0 6px;
}
.select__label {
  background: #a4e7f8;
  color: #ffffff;
}
.custom-select.open {
  display: block;
}
#mask {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 19;
}
/**
 * select box
 */
.form__select {
  position: relative;
}
.form-select select {
  -webkit-appearance: none;
  appearance: none;
}
.form-select select::-ms-expand {
  display: none;
}
.form-select::before {
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8.5px solid var(--accent-color);
  border-radius: 5px;
  content: "";
  position: absolute;
  right: 11px;
  top: 45px;
  width: 0;
}
select:invalid {
  color: var(--accent-color);
}
/**
 * input file
 */
.form-file {
  background: #ffffff;
  color: var(--accent-color);
  display: inline-block;
  line-height: 3.7rem;
  text-align: left;
}
.form-file::before,
.form-file::after {
  background: var(--accent-color);
  border-radius: 5px;
  content: "";
  position: absolute;
  right: 13px;
  top: 48px;
  height: 1.5px;
  width: 13px;
}
.form-file::after {
  transform: rotate(90deg);
}
.form-file input {
  display: none;
}
/**
 * input radio
 */
.form-radio {
  text-align: left;
  width: 100%;
}
.radio__btn {
  font-size: 1.4rem;
  padding-left: 20px;
  margin-right: 15px;
  position: relative;
}
.radio__btn:last-of-type {
  line-height: 3.7rem;
}
.form-radio input:not(:last-child) {
  display: none;
}
.form-radio-others {
  display: flex;
  justify-content: space-between;
}
.radio__btn::before,
.radio__btn::after {
  border-radius: 50%;
  content: "";
  display: block;
  position: absolute;
  top: 2px;
}
.radio__btn::before {
  background: #ffffff;
  border: 1px solid var(--accent-color);
  height: 16px;
  width: 16px;
  left: 0;
}
.radio__btn::after {
  background: var(--accent-color);
  opacity: 0;
  height: 14px;
  width: 14px;
  top: 4px;
  left: 1.6px;
}
.radio__btn-others::before {
  top: 10px;
}
.radio__btn-others::after {
  top: 12px;
}
input:checked + .radio__btn::after {
  opacity: 1;
}
.radio__text {
  border: 1.5px solid rgba(51, 51, 51, 0.5);
  border-radius: 2px;
  display: inline;
  flex: 1;
  height: 37px;
  padding-left: 8px;
}
/**
 * プライバシーポリシー
 */
.form-policy {
  margin: 30px 0;
}
.form-policy input {
  border: 1.5px solid rgba(51, 51, 51, 0.5);
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
  height: 17px;
  width: 17px;
}
.policy-link {
  border-bottom: 1px solid #333333;
  vertical-align: bottom;
}
.modal {
  display: none;
  inset: 5%;
  margin: 20px auto 0;
  overflow-y: scroll;
  position: fixed;
  z-index: 50;
}
.modal.open {
  display: block;
}
.policy-container {
  background-color: #ffffff;
  border-radius: 10px;
  font-size: 1.2rem;
  height: auto;
  padding: 10px 18px;
  text-align: left;
}
.policy__close {
  background: var(--accent-color);
  border-radius: 2px;
  display: none;
  padding: 7px 15px;
  position: fixed;
  top: 4%;
  right: 5%;
  height: 25px;
  width: auto;
  z-index: 51;
}
.policy__close p {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.3rem;
  margin-right: 20px;
  text-align: right;
}
.policy__close span:nth-child(2),
.policy__close span:nth-child(3) {
  background: #ffffff;
  border-radius: 1px;
  display: inline-block;
  height: 20px;
  width: 3px;
  z-index: 51;
}
.policy__close span:nth-child(2) {
  transform: translate(-40%, -15%) rotate(45deg);
}
.policy__close span:nth-child(3) {
  transform: translate(-100%, -15%) rotate(-45deg);
}
.policy__close.open {
  display: flex;
}
input[type="submit"] {
  background: var(--accent-color);
}
input[type="submit"]:hover {
  cursor: pointer;
}
@media screen and (min-width: 768px) {
  .form-container {
    padding: 0 15%;
  }
}
@media screen and (min-width: 1025px) {
  .content-form:not(:last-of-type) {
    flex-flow: row;
  }
  .form__label {
    width: 45%;
  }
  .form__item,
  .form__select,
  .form-file,
  .form-radio {
    width: 40vw;
  }
  #age-style {
    display: flex;
    width: 42vw;
  }
  .input__sub-text {
    width: 22px;
  }
  .form-select::before,
  .form-file::before,
  .form-file::after {
    top: 15px;
  }
  .form-radio-others {
    float: right;
    padding-left: 12px;
  }
}

/* ============================================================
        完了画面
============================================================ */
.section-complete {
  position: relative;
}
.complete-img-group {
  height: 100vh;
  position: relative;
}
.complete__img {
  position: absolute;
  z-index: -10;
}
.first-img {
  height: 290px;
  width: 290px;
  right: -5%;
}
.second-img {
  height: 225px;
  width: 225px;
  left: -7%;
  bottom: 23%;
}
.third-img {
  height: 154px;
  width: 154px;
  right: 7%;
  bottom: 18%;
}
.complete__img img {
  border-radius: 50%;
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.complete-content {
  width: 100vw;
}
.complete-content__head {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 100%;
  padding: 0 40px;
  transform: translateY(-45%) translateX(-50%);
  -webkit-transform: translateY(-45%) translateX(-50%);
}
.complete-title {
  font-size: 2.4rem;
  margin: auto;
  text-shadow: 2px 2px 3px rgb(51, 51, 51, 0.25);
}
.complete-content-text {
  display: flex;
  justify-content: center;
}
.complete-text {
  padding: 30px 0;
  text-align: left;
}
.complete-content > .register-btn {
  position: fixed;
  left: calc(50% - 370px / 2);
  bottom: 5%;
  margin: 0 auto;
  width: 370px;
}
@media screen and (min-width: 768px) {
  .first-img {
    height: 315px;
    width: 315px;
    top: 23%;
  }
  .second-img {
    height: 800px;
    width: 800px;
    left: -30%;
    bottom: 40%;
  }
  .third-img {
    height: 217px;
    width: 217px;
  }
  .complete-content__head {
    top: 65%;
    left: 40%;
  }
  .complete-title {
    font-size: 4.2rem;
  }
  .complete-text {
    margin-bottom: 50px;
    text-align: center;
  }
  .complete-content > .register-btn {
    left: calc(40% - 370px / 2);
  }
}
@media screen and (min-width: 1024px) {
  .first-img {
    right: 5%;
  }
  .second-img {
    left: -20%;
  }
}
@media screen and (min-width: 1440px) {
  .first-img {
    right: 10%;
  }
  .second-img {
    left: -8%;
  }
  .third-img {
    right: 20%;
    bottom: 10%;
  }
  .complete-content {
    left: 400px;
  }
}
