.sp-only {
  display: none;
}

@media screen and (max-width: 575px) {
  .sp-only {
    display: block;
  }
}

@media screen and (max-width: 575px) {
  .c-fvBtn {
    height: 80px;
  }
}

.page-template-page-interview .p-firstView-page__bg,
.page-template-page-thanks .p-firstView-page__bg {
  background: url(../../img/interview/fv-bg.webp) no-repeat center center / cover;
}

.p-consultation {
  padding-bottom: 105px;
}

.p-consultation .l-inner {
  max-width: 1100px;
  margin-block: auto;
}

.p-consultation .p-consultation__sectionTitle {
  text-align: center;
}

.p-consultation__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 49%);
  align-items: center;
  gap: 40px;
  margin-top: 55px;
}

@media screen and (max-width: 575px) {
  .p-consultation__intro {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 46px;
  }
}

.p-consultation__introText {
  min-width: 0;
}

.p-consultation__introText p {
  margin: 0;
}

.p-consultation__introImg img {
  display: block;
  width: 100%;
  height: auto;
}

.p-consultation__profile {
  max-width: 1100px;
  margin-top: 30px;
  margin-right: auto;
  margin-left: auto;
  padding: 40px;
  background-color: #fbf7ef;
  border-radius: 20px;
}

@media screen and (max-width: 575px) {
  .p-consultation__profile {
    margin-top: 40px;
    padding: 24px 20px;
  }
}

.p-consultation__profileTitle {
  margin: 0;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 0.05em;
  line-height: calc(32 / 20);
  color: #57a02c;
  border-bottom: 1px solid #57a02c;
}

.p-consultation__profileText {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: calc(30 / 16);
}

@media screen and (max-width: 575px) {
  .p-consultation__profileText {
    margin-top: 16px;
  }
}

.p-consultation__themes {
  max-width: 1100px;
  margin-top: 75px;
  margin-right: auto;
  margin-left: auto;
}

@media screen and (max-width: 575px) {
  .p-consultation__themes {
    margin-top: 40px;
  }
}

.p-consultation__themesTitle {
  width: fit-content;
  margin: 0 auto;
}

.p-consultation__themesTitle span {
  padding: 5px 20px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: bold;
  font-size: 24px;
  letter-spacing: 0.05em;
  line-height: calc(32 / 24);
  color: #fff;
  background-color: #a1c910;
  display: inline-block;
}

.p-consultation__themeList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px 20px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

@media screen and (max-width: 575px) {
  .p-consultation__themeList {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
  }
}

.p-consultation__themeItem {
  display: flex;
  flex-direction: column;
  min-width: 0;
  list-style: none;
}

.p-consultation__themeHead {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 25px;
  background-color: #57a02c;
  border-radius: 10px 10px 0 0;
}

.p-consultation__themeItem:nth-child(2) .p-consultation__themeHead,
.p-consultation__themeItem:nth-child(3) .p-consultation__themeHead {
  background-color: #2f8850;
}

@media screen and (max-width: 575px) {
  .p-consultation__themeItem:nth-child(3) .p-consultation__themeHead {
    background-color: #57a02c;
  }
}

@media screen and (max-width: 575px) {
  .p-consultation__themeItem:nth-child(4) .p-consultation__themeHead {
    background-color: #2f8850;
  }
}

.p-consultation__themeIcon {
  flex-shrink: 0;
  width: 45px;
  height: auto;
}

@media screen and (max-width: 575px) {
  .p-consultation__themeIcon {
    width: 40px;
  }
}

.p-consultation__themeLabel {
  flex: 1;
  margin: 0;
  min-width: 0;
  font-weight: bold;
  font-size: 22px;
  letter-spacing: 0.1em;
  line-height: calc(32 / 22);
  color: #fff;
}

@media screen and (max-width: 575px) {
  .p-consultation__themeLabel {
    font-size: 20px;
    line-height: calc(28 / 20);
  }
}

.p-consultation__themeDetail {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  margin: 0;
  padding: 16px 30px 20px;
  list-style: none;
  background-color: #f9ffe5;
  border-radius: 0 0 10px 10px;
}

@media screen and (max-width: 575px) {
  .p-consultation__themeDetail {
    padding: 14px 16px 18px;
  }
}

.p-consultation__themeDetail li {
  position: relative;
  padding-left: 27px;
  margin: 0;
}

@media screen and (max-width: 575px) {
  .p-consultation__themeDetail li {
    padding-left: 20px;
    font-size: 16px;
  }
}

.p-consultation__themeDetail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #a1c910;
}

@media screen and (max-width: 575px) {
  .p-consultation__themeDetail li::before {
    width: 14px;
    height: 14px;
    top: 9px;
  }
}

.p-consultationWorks {
  padding: 100px 0 95px;
  background-color: #fbf7ef;
}

@media screen and (max-width: 575px) {
  .p-consultationWorks {
    padding: 60px 0 80px;
  }
}

.p-consultationWorks .l-inner {
  max-width: 1100px;
  margin-inline: auto;
}

.p-consultationWorks__sectionTitle {
  text-align: center;
}

.p-consultationWorks__content {
  max-width: 1100px;
  margin-top: 60px;
  margin-right: auto;
  margin-left: auto;
  padding: 40px;
  background-color: #fff;
  border-radius: 20px;
}

@media screen and (max-width: 575px) {
  .p-consultationWorks__content {
    margin-top: 46px;
    padding: 24px 20px;
  }
}

.p-consultationWorks__contentTitle {
  margin: 0;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 0.05em;
  line-height: calc(32 / 20);
  color: #57a02c;
  border-bottom: 1px solid #57a02c;
}

.p-consultationWorks__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

@media screen and (max-width: 575px) {
  .p-consultationWorks__list {
    grid-template-columns: 1fr;
    margin-top: 15px;
  }
}

.p-consultationWorks__list li {
  position: relative;
  padding-left: 27px;
  margin: 0;
  font-size: 16px;
  line-height: calc(30 / 16);
}

@media screen and (max-width: 575px) {
  .p-consultationWorks__list li {
    padding-left: 20px;
  }
}

.p-consultationWorks__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #a1c910;
}

@media screen and (max-width: 575px) {
  .p-consultationWorks__list li::before {
    top: 9px;
  }
}

.p-media {
  padding: 100px 0 50px;
}

.p-media__video {
  position: relative;
  max-width: 700px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
}

.p-media__video iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.p-media__text {
  margin-top: 5px;
  text-align: center;
}

@media screen and (max-width: 575px) {
  .p-media__text {
    font-size: 14px;
  }
}

.p-consultationCompanies {
  padding: 45px 0 50px;
}

@media screen and (max-width: 575px) {
  .p-consultationCompanies {
    padding-bottom: 80px;
  }
}

.p-consultationCompanies .l-inner {
  max-width: 1100px;
  margin-inline: auto;
}

.p-consultationCompanies__sectionTitle {
  text-align: center;
}

.p-consultationCompanies__content {
  max-width: 1100px;
  margin-top: 60px;
  margin-right: auto;
  margin-left: auto;
  padding: 35px 40px;
  background-color: #fbf7ef;
  border-radius: 20px;
}

@media screen and (max-width: 575px) {
  .p-consultationCompanies__content {
    margin-top: 46px;
    padding: 24px 20px;
  }
}

.p-consultationCompanies__lead {
  margin: 0;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 0.05em;
  line-height: calc(30 / 18);
  color: #2f8850;
}

.p-consultationCompanies__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

@media screen and (max-width: 575px) {
  .p-consultationCompanies__list {
    grid-template-columns: 1fr;
    margin-top: 15px;
  }
}

.p-consultationCompanies__list li {
  position: relative;
  padding-left: 27px;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: calc(30 / 16);
}

@media screen and (max-width: 575px) {
  .p-consultationCompanies__list li {
    padding-left: 20px;
  }
}

.p-consultationCompanies__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #a1c910;
}

.p-consultationCompanies__notice {
  margin: 15px 0 0;
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: calc(30 / 14);
  color: #666666;
}

@media screen and (max-width: 575px) {
  .p-consultationCompanies__notice {
    line-height: calc(22 / 14);
  }
}

.p-consultationMessage {
  padding: 50px 0 100px;
}

@media screen and (max-width: 575px) {
  .p-consultationMessage {
    padding-bottom: 80px;
  }
}

.p-consultationMessage .l-inner {
  max-width: 1100px;
  margin-inline: auto;
}

.p-consultationMessage__sectionTitle {
  text-align: center;
}

.p-consultationMessage__content {
  display: grid;
  grid-template-columns: minmax(0, 44.5%) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  margin-top: 55px;
}

@media screen and (max-width: 575px) {
  .p-consultationMessage__content {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 46px;
  }
}

.p-consultationMessage__img {
  min-width: 0;
}

.p-consultationMessage__img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.p-consultationMessage__text {
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.05em;
  line-height: calc(30 / 18);
}

@media screen and (max-width: 575px) {
  .p-consultationMessage__text {
    font-size: 16px;
    line-height: calc(28 / 16);
  }
}

.p-consultationContact {
  padding: 100px 0;
  background-color: #fbf7ef;
}

@media screen and (max-width: 575px) {
  .p-consultationContact {
    padding: 60px 0 80px;
  }
}

.p-consultationContact .l-inner {
  max-width: 1100px;
  margin-inline: auto;
}

.p-consultationContact__sectionTitle {
  text-align: center;
}

.p-consultationContact__form {
  max-width: 830px;
  margin: 55px auto 0;
}

@media screen and (max-width: 575px) {
  .p-consultationContact__form {
    margin-top: 46px;
    padding: 24px 20px;
  }
}

.p-consultationContact__row + .p-consultationContact__row {
  margin-top: 25px;
}

@media screen and (max-width: 575px) {
  .p-consultationContact__row + .p-consultationContact__row {
    margin-top: 15px;
  }
}

.p-consultationContact__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: calc(30 / 16);
}

@media screen and (max-width: 575px) {
  .p-consultationContact__label {
    margin-bottom: 5px;
  }
}

.p-consultationContact__required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 1px 5px;
  font-size: 12px;
  font-weight: bold;
  line-height: calc(17 / 12);
  color: #fff;
  background-color: #2f8850;
  border-radius: 5px;
}

.p-consultationContact__input,
.p-consultationContact__textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  line-height: calc(24 / 16);
  color: #333;
  background-color: #fff;
  border-radius: 6px;
}

.p-consultationContact__textarea {
  min-height: 200px;
  resize: vertical;
}

.p-consultationContact__checkboxList {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-consultationContact__checkboxItem {
  margin: 0;
}

.p-consultationContact__checkboxItem label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: calc(24 / 16);
  cursor: pointer;
}

.p-consultationContact__checkboxItem input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid #333;
  border-radius: 2px;
  background-color: #fff;
  cursor: pointer;
}

.p-consultationContact__checkboxItem input[type="checkbox"]:checked {
  border-color: #2f8850;
  background-color: #a1c910;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1 5l3 3 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 10px;
}

.p-consultationContact__notice {
  margin: 24px 0 0;
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: calc(22 / 14);
  text-align: center;
  color: #666;
}

.p-consultationContact__submitWrap {
  margin-top: 50px;
  text-align: center;
}

.p-consultationContact__submit {
  display: inline-block;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.p-consultationContact__submit img {
  display: block;
  max-width: 260px;
  height: auto;
}

@media screen and (max-width: 575px) {
  .p-consultationContact__submit img {
    width: 280px;
    margin-inline: auto;
  }
}

.p-consultationThanks {
  padding: 0 0 100px;
}

@media screen and (max-width: 575px) {
  .p-consultationThanks {
    padding-bottom: 80px;
  }
}

.p-consultationThanks .l-inner {
  max-width: 1100px;
  margin-inline: auto;
}

.p-consultationThanks__sectionTitle {
  text-align: center;
}

.p-consultationThanks__content {
  max-width: 900px;
  margin: 60px auto 0;
  padding: 40px;
  background-color: #fbf7ef;
  border-radius: 20px;
  text-align: center;
}

@media screen and (max-width: 575px) {
  .p-consultationThanks__content {
    margin-top: 46px;
    padding: 24px 20px;
  }
}

.p-consultationThanks__lead {
  margin: 0;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 0.05em;
  line-height: calc(32 / 20);
  color: #57a02c;
}

.p-consultationThanks__text {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: calc(30 / 16);
}

.p-consultationThanks__btnWrap {
  margin-top: 40px;
}

.p-consultationThanks__btn {
  max-width: 400px;
  display: inline-block;
}

.p-consultationThanks__btn img {
  display: block;
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 575px) {
  .p-consultationThanks__btn img {
    width: 280px;
    margin-inline: auto;
  }
}
