@charset "utf-8";
@import "variables.css";
/*
Description: TOPページのスタイルシート
Author: Quail,inc.
Version: 1.0.0
*/

/*----------------------------------------
  p-about-intro
----------------------------------------*/

.p-about-intro {
  padding-top: 120px;
}

.p-about-intro__wrap {
  width: 100%;
  max-width: 1277px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.p-about-intro__title {
  padding-left: 86px;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--black);
}

.p-about-intro__text {
  padding-left: 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 2.3;
  letter-spacing: 0.02em;
  color: var(--black);
}

.p-about-intro__image {
  display: flex;
  margin-top: 90px;
}

.p-about-intro__image-list {
  display: flex;
}

.p-about-intro__image-list:first-child {
  animation: moveList1 100s -50s linear infinite;
}

.p-about-intro__image-list:last-child {
  animation: moveList2 100s linear infinite;
}

@keyframes moveList1 {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes moveList2 {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-200%);
  }
}

.p-about-intro__image-item {
  width: 410px;
  margin-left: 20px;
}

.p-about-intro__heading {
  margin-top: 100px;
  font-size: 54px;
  font-weight: 900;
  line-height: 1.8;
  letter-spacing: 0.02em;
  text-align: center;
}

.p-about-intro__heading span {
  display: inline-block;
  background-image: radial-gradient(currentColor 3px, transparent 3px);
  background-size: 7px 3px;
  background-repeat: repeat-x;
  background-position: left bottom;
}

/*----------------------------------------
  p-about-why
----------------------------------------*/

.p-about-why {
  margin-top: 131px;
  padding-inline: 5%;
}

.p-about-why__list {
  width: 100%;
  max-width: 1140px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.p-about-why__title {
  position: relative;
  padding-top: 37px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--black);
}

.p-about-why__number {
  position: absolute;
  top: -29px;
  left: 21px;
  font-family: var(--FontInter);
  font-size: 52px;
  line-height: 1;
  letter-spacing: 0.01em;
  font-weight: 500;
  color: var(--red);
  position: absolute;
}

.p-about-why__text {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--soft-black);
}

.p-about-why__button {
  margin: 50px auto 0;
}

/*----------------------------------------
  p-about-global
----------------------------------------*/

.p-about-global {
  margin-top: 120px;
  padding-inline: 5%;
}

.p-about-global__wrap {
  width: 100%;
  max-width: 1140px;
  margin: 50px auto 0;
}

.p-about-global__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.p-about-global__item {
  padding: 30px 25px;
  background-color: var(--pale-orange);
  border-radius: 20px;
}

.p-about-global__item-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}

.p-about-global__item-title strong {
  color: var(--red);
}

.p-about-global__item-text {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

/*----------------------------------------
  p-about-qualify
----------------------------------------*/

.p-about-qualify {
  margin-top: 120px;
  padding-inline: 5%;
}

.p-about-qualify__wrap {
  width: 100%;
  max-width: 1132px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 50px auto 0;
}

.p-about-qualify__content {
  place-content: center;
  padding-left: 60px;
}

.p-about-qualify__title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.p-about-qualify__title strong {
  color: var(--red);
}

.p-about-qualify__text {
  margin-top: 40px;
  font-size: 16px;
  color: var(--soft-black);
  letter-spacing: 0.02em;
  line-height: 1.8;
}

.p-about-qualify__button {
  margin-top: 40px;
}

/*----------------------------------------
  p-about-support
----------------------------------------*/

.p-about-support {
  margin-top: 120px;
  padding-inline: 5%;
}
.p-about-support__wrap {
  width: 100%;
  max-width: 1138px;
  margin: 50px auto 0;
}

.p-about-support__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.p-about-support__list[data-style="2column"] {
  grid-template-columns: repeat(2, 1fr);
}

.p-about-support__item {
  padding: 30px 25px;
  border-radius: 16px;
  background-color: var(--pale-orange);
}

.p-about-support__item-wrap {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 25px;
}

.p-about-support__item-label {
  width: fit-content;
  min-width: 180px;
  margin: 0 auto;
  text-align: center;
  padding: 7px 15px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  border-radius: 60px;
  background-color: var(--red);
  color: var(--white);
}

.p-about-support__item-title {
  margin-top: 10px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.p-about-support__item-title--small {
  margin-top: 0;
  font-size: 20px;
  text-align: left;
}

.p-about-support__item-title strong {
  color: var(--red);
}

.p-about-support__item-text {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.p-about-support__item-text--small {
  line-height: 1.55;
}

.p-about-support__item-link {
  display: block;
  width: fit-content;
  position: relative;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  margin-top: 10px;
  color: var(--red);
}

.p-about-support__item-link--small {
  font-size: 12px;
}

.p-about-support__item-link::after {
  content: "";
  position: absolute;
  top: 0;
  right: -27px;
  width: 17px;
  height: 24px;
  background-image: url("../../img/renewal/common/icon_pdf.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.p-about-support__content {
  display: flex;
  gap: 34px;
  margin-top: 20px;
  padding: 25px 27px 25px 40px;
  border-radius: 16px;
  background-color: var(--pale-orange);
}

.p-about-support__content-inner {
  place-content: center;
}

.p-about-support__content-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.65;
}

.p-about-support__content-title strong {
  color: var(--red);
}

.p-about-support__content-text {
  margin-top: 23px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--soft-black);
}

.p-about-support__content-image {
  display: flex;
  gap: 24px;
}

.p-about-support__content-image figure {
  border-radius: 20px;
  width: 333px;
  overflow: hidden;
}

/*----------------------------------------
  p-about-voice
----------------------------------------*/

.p-about-voice {
  padding-top: 101px;
}

.p-about-voice__list {
  margin-top: 44px;
}

.p-about-voice__item {
  padding: 40px;
  border: 7px solid var(--light-gray);
  background-color: var(--white);
  border-radius: 20px;
}

.p-about-voice__item-head {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 19px;
}

.p-about-voice__item-image {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  overflow: hidden;
}

.p-about-voice__item-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--red);
}

.p-about-voice__item-profile {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray-darker);
  margin-top: 14px;
}

.p-about-voice__item-text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.85;
  margin-top: 12px;
}

.p-about-voice__button {
  margin: 36px auto 0;
}

/*----------------------------------------
  p-about-flow
----------------------------------------*/

.p-about-flow {
  margin-top: 120px;
  padding-inline: 5%;
}

.p-about-flow__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 50px;
  width: 100%;
  max-width: 1219px;
  margin: 95px auto 0;
}

.p-about-flow__item {
  position: relative;
}

.p-about-flow__arrow {
  position: absolute;
  width: calc(100% - 24px);
  height: 2px;
  background-color: var(--red);
  top: 30px;
  left: calc(50% + 30px);
  transform: translateY(-50%);
}

.p-about-flow__arrow::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  top: -6px;
  right: 0;
  transform: rotate(35deg);
  background-color: var(--red);
}

.p-about-flow__numbar {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto;
  font-family: var(--fontJost);
  font-size: 26px;
  font-weight: 500;
  line-height: 60px;
  color: var(--white);
  background-color: var(--red);
  border-radius: 50%;
  text-align: center;
}

.p-about-flow__image {
  margin: 55px auto 0;
}

.p-about-flow__title {
  margin-top: 34px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: var(--black);
}

.p-about-flow__text {
  margin-top: 19px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--soft-black);
}

.p-about-flow__note {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--gray);
}

.p-about-flow__link {
  color: var(--soft-black);
  text-decoration: underline;
}

/*----------------------------------------
  p-about-faq
----------------------------------------*/

.p-about-faq {
  margin-top: 226px;
  padding-inline: 5%;
}

.p-about-faq__wrap {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--pale-orange);
  border-radius: 16px;
  padding: 115px 10% 80px;
}

.p-about-faq__title {
  position: absolute;
  top: -64px;
  left: 50%;
  transform: translateX(-50%);
}

.p-about-faq__item {
  margin-top: 15px;
  background-color: var(--white);
  border-radius: 20px;
  padding: 40px 24px 40px 31px;
}

.p-about-faq__item:first-of-type {
  margin-top: 0;
}

.p-about-faq__question {
  width: 100%;
  position: relative;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
  text-align: left;
  color: var(--black);
  background-color: var(--white);
  padding-inline: 58px 75px;
}

.p-about-faq__question::before {
  content: "Q.";
  font-size: 33px;
  font-weight: 400;
  line-height: 1;
  font-family: var(--fontJost);
  position: absolute;
  top: -3px;
  left: 0;
  color: var(--red);
}

.p-about-faq__answer {
  position: relative;
  display: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--soft-black);
  padding-inline: 58px 75px;
  margin-top: 25px;
}

.p-about-faq__answer.is-open {
  display: block;
}

.p-about-faq__answer::before {
  content: "A.";
  font-size: 33px;
  font-weight: 400;
  line-height: 1;
  font-family: var(--fontJost);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gray-darkest);
  margin-left: 2px;
}

.p-about-faq__icon {
  width: 45px;
  height: 45px;
  background-color: var(--blue-gray);
  display: block;
  position: absolute;
  top: -8px;
  right: 0;
  border-radius: 50%;
}

.p-about-faq__icon::before {
  content: "";
  width: 13px;
  height: 13px;
  background-image: url(../../img/renewal/common/icon_plus.svg);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all ease 0.5s;
}

.p-about-faq__icon.is-open::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.p-about-faq__button {
  margin: 54px auto 0;
}

/*----------------------------------------
  hover_animation
----------------------------------------*/

@media (hover: hover) {
  .p-about-support__item-link:hover {
    opacity: 0.5;
  }

  .p-about-flow__link:hover {
    opacity: 0.5;
  }
}

/*----------------------------------------
  tablet
----------------------------------------*/

@media screen and (max-width: 960px) {
  .p-about-intro__heading {
    font-size: 40px;
  }

  /*----------------------------------------
    p-about-global_tablet
  ----------------------------------------*/

  .p-about-global__list {
    grid-template-columns: 1fr;
  }

  /*----------------------------------------
    p-about-qualify_tablet
  ----------------------------------------*/

  .p-about-qualify__wrap {
    grid-template-columns: 1fr;
  }

  .p-about-qualify__content {
    place-content: center;
    padding-left: 0;
    margin-top: 60px;
  }

  /*----------------------------------------
    p-about-support_tablet
  ----------------------------------------*/

  .p-about-support__list {
    grid-template-columns: 1fr;
  }

  .p-about-support__list[data-style="2column"] {
    grid-template-columns: 1fr;
  }

  .p-about-support__content {
    flex-direction: column;
  }

  .p-about-support__content-title {
    text-align: center;
  }

  .p-about-support__content-image figure {
    width: 100%;
  }

  /*----------------------------------------
  p-about-flow_tablet
  ----------------------------------------*/

  .p-about-flow__list {
    grid-template-columns: 1fr;
  }

  .p-about-flow__item {
    display: grid;
    grid-template-columns: 60px 200px 1fr;
    gap: 20px;
  }

  .p-about-flow__arrow {
    width: 2px;
    height: calc(100% - 15px);
    top: 60px;
    left: 28px;
    transform: none;
  }

  .p-about-flow__arrow::after {
    top: initial;
    bottom: 5px;
    right: initial;
    left: -3px;
    transform: rotate(-45deg);
  }

  .p-about-flow__image {
    margin: 0;
  }

  .p-about-flow__title {
    margin-top: 0;
    text-align: left;
  }
}

/*----------------------------------------
  sp
----------------------------------------*/

@media screen and (max-width: 520px) {
  /*----------------------------------------
    p-about-intro_sp
  ----------------------------------------*/

  .p-about-intro {
    padding-top: 107px;
  }

  .p-about-intro__wrap {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-inline: 30px;
  }

  .p-about-intro__title {
    padding-left: 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.03em;
  }

  .p-about-intro__text {
    padding-left: 0;
    font-size: 14px;
    letter-spacing: 0;
  }

  .p-about-intro__image {
    margin-top: 50px;
  }

  .p-about-intro__image-list {
    display: flex;
  }

  .p-about-intro__image-item {
    width: 254px;
    margin-left: 10px;
  }

  .p-about-intro__heading {
    margin-top: 60px;
    font-size: 20px;
    line-height: 2.11;
    letter-spacing: 0em;
  }

  .p-about-intro__heading span {
    background-image: radial-gradient(currentColor 2px, transparent 2px);
    background-size: 7px 2px;
    padding-bottom: 0;
  }

  /*----------------------------------------
    p-about-why_sp
  ----------------------------------------*/

  .p-about-why {
    margin-top: 60px;
    padding-inline: 0;
  }

  .p-about-why__list {
    margin: 40px auto 0;
    grid-template-columns: repeat(3, 240px);
    gap: 60px;
    overflow-x: scroll;
    padding-inline: 30px;
  }

  .p-about-why__title {
    padding-top: 26px;
    font-size: 20px;
    line-height: 1.45;
  }

  .p-about-why__number {
    top: -24px;
    left: 14px;
    font-size: 40px;
  }

  .p-about-why__text {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.65;
  }

  .p-about-why__button {
    margin: 30px auto 0;
  }

  /*----------------------------------------
    p-about-global_sp
  ----------------------------------------*/

  .p-about-global {
    margin-top: 70px;
    padding-inline: 25px;
  }

  .p-about-global__wrap {
    margin: 40px auto 0;
  }

  .p-about-global__list {
    gap: 10px;
    margin-top: 20px;
  }

  .p-about-global__item {
    padding: 25px;
    border-radius: 0;
  }

  .p-about-global__item-title {
    font-size: 16px;
    line-height: 1.45;
  }

  .p-about-global__item-text {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.65;
    letter-spacing: 0;
  }

  /*----------------------------------------
    p-about-qualify_sp
  ----------------------------------------*/

  .p-about-qualify {
    margin-top: 70px;
    padding-inline: 25px;
  }

  .p-about-qualify__wrap {
    margin: 40px auto 0;
  }

  .p-about-qualify__title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  .p-about-qualify__text {
    margin-top: 15px;
    font-size: 14px;
    letter-spacing: 0.01em;
    line-height: 1.55;
  }

  .p-about-qualify__button {
    margin: 30px auto 0;
  }

  /*----------------------------------------
    p-about-support_sp
  ----------------------------------------*/

  .p-about-support {
    margin-top: 70px;
    padding-inline: 25px;
  }
  .p-about-support__wrap {
    margin: 40px auto 0;
  }

  .p-about-support__list {
    gap: 10px;
    margin-top: 20px;
  }

  .p-about-support__item {
    padding: 20px 25px;
    border-radius: 0;
  }

  .p-about-support__item-wrap {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .p-about-support__item-label {
    min-width: 200px;
    padding: 7px 15px;
    font-size: 12px;
    font-weight: 900;
    border-radius: 23px;
  }

  .p-about-support__item-title {
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: 0.02em;
  }

  .p-about-support__item-title--small {
    font-size: 16px;
  }

  .p-about-support__item-text {
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.65;
    letter-spacing: 0;
  }

  .p-about-support__item-link {
    font-size: 14px;
    margin-top: 7px;
  }

  .p-about-support__item-link--small {
    font-size: 14px;
  }

  .p-about-support__item-link::after {
    top: 0;
    right: -27px;
    width: 14px;
    height: 19px;
  }

  .p-about-support__content {
    gap: 15px;
    margin-top: 10px;
    padding: 30px 25px;
    border-radius: 0;
  }

  .p-about-support__content-title {
    font-size: 18px;
    line-height: 1.45;
  }

  .p-about-support__content-text {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.65;
    letter-spacing: 0;
  }

  .p-about-support__content-image {
    flex-direction: column;
    gap: 20px;
  }

  .p-about-support__content-image figure {
    width: 100%;
  }

  /*----------------------------------------
    p-about-voice_sp
  ----------------------------------------*/

  .p-about-voice {
    padding-top: 70px;
  }

  .p-about-voice__list {
    margin-top: 34px;
    padding-inline: 20px;
  }

  .p-about-voice__item {
    padding: 26px 30px 30px;
    border: 5px solid var(--light-gray);
  }

  .p-about-voice__item-head {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 12px;
  }

  .p-about-voice__item-image {
    width: 78px;
    height: 78px;
  }

  .p-about-voice__item-title {
    font-size: 16px;
  }

  .p-about-voice__item-profile {
    font-size: 10px;
    margin-top: 8px;
  }

  .p-about-voice__item-text {
    font-size: 14px;
    margin-top: 16px;
  }

  .p-about-voice__button {
    margin: 33px auto 0;
  }

  /*----------------------------------------
    p-about-flow_sp
  ----------------------------------------*/

  .p-about-flow {
    margin-top: 70px;
    padding-inline: 25px;
  }

  .p-about-flow__list {
    margin: 40px auto 0;
  }

  .p-about-flow__item {
    grid-template-columns: 42px 103px 1fr;
    gap: 13px;
  }

  .p-about-flow__arrow {
    top: 42px;
    left: 21px;
  }

  .p-about-flow__numbar {
    width: 42px;
    height: 42px;
    margin: 0;
    font-size: 20px;
    line-height: 42px;
  }

  .p-about-flow__title {
    font-size: 16px;
  }

  .p-about-flow__text {
    margin-top: 8px;
    font-size: 13px;
  }

  .p-about-flow__note {
    margin-top: 5px;
    font-size: 11px;
  }

  /*----------------------------------------
    p-about-faq_sp
  ----------------------------------------*/

  .p-about-faq {
    margin-top: 107px;
    padding-inline: 20px;
  }

  .p-about-faq__wrap {
    border-radius: 14px;
    padding: 79px 10px 36px;
  }

  .p-about-faq__title {
    top: -39px;
  }

  .p-about-faq__item {
    margin-top: 14px;
    border-radius: 10px;
    padding: 20px 14px 26px 15px;
  }

  .p-about-faq__item:first-of-type {
    margin-top: 0;
  }

  .p-about-faq__question {
    font-size: 14px;
    padding-inline: 40px 44px;
  }

  .p-about-faq__question::before {
    font-size: 27px;
  }

  .p-about-faq__answer {
    font-size: 13px;
    padding-inline: 40px 15px;
    margin-top: 27px;
  }

  .p-about-faq__answer::before {
    font-size: 27px;
  }

  .p-about-faq__icon {
    width: 30px;
    height: 30px;
  }

  .p-about-faq__icon::before {
    width: 12px;
    height: 12px;
  }

  .p-about-faq__button {
    margin: 32px auto 0;
  }
}
