/*___________________________
MV
___________________________*/

.mv {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 600px;
  position: relative;
}

.mv__titleArea {
  align-items: center;
  display: flex;
  height: 100%;
  margin-left: 3.9vw;
  z-index: 2;
}

.mv__hgroup {
  position: absolute;
}

.mv__lead {
  color: #00111f;
  font-size: 1.25vw;
}

.mv__title {
  color: #000;
  font-size: 3.4vw;
  font-weight: 400;
  margin-top: 1.7vw;
}

.mv__quote {
  color: #cfcdcb;
  font-family: var(--familyEn);
  font-size: 1vw;
  font-weight: 600;
  letter-spacing: .08em;
  margin-top: 4.4vw;
}

.mv__swiper {
  height: 100%;
  width: 100%;
}

.mv__swiperImage {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.mv__borderSP {
  display: none;
}

@media screen and (max-width: 1440px) {
  .mv__lead {
    font-size: 18px;
  }
  .mv__title {
    font-size: var(--fontMax48Min36);
    margin-top: clamp(16px, 1.8vw, 24px);
  }
  .mv__quote {
    font-size: 14px;
    margin-top: clamp(38px, 4.4vw, 64px);
  }
  .mv__titleArea {
    margin-left: clamp(28px, 4.2vw, 56px);
  }
}

@media screen and (max-width: 767px) {
  .mv__swiperContainer {
    position: relative;
    width: 100vw;
  }
  .mv {
    gap: 34px;
    grid-template-columns: 1fr;
    overflow: hidden;
  }
  .mv__titleArea {
    grid-row: 2;
    margin: 0 auto;
    max-width: calc(100vw - clamp(48px, 14.1vw, 108px));
    position: relative;
    width: 100%;
  }
  .mv__title {
    font-size: 32px;
  }
  .mv__lead {
    font-size: 16px;
  }
  .mv__quote {
    font-size: 12px;
    margin-top: 26px;
  }
  .mv__hgroup {
    position: relative;
  }
  .mv__borderSP {
    bottom: -28%;
    display: block;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 140%;
    z-index: 2;
  }
  .mv__borderSP svg {
    height: auto;
    width: 100%;
  }
}

@media screen and (max-width: 500px) {
  .mv {
    gap: 18px;
  }
  .mv__lead {
    font-size: 12px;
  }
  .mv__title {
    font-size: 23px;
    margin-top: 10px;
  }
  .mv__quote {
    font-size: 10px;
    margin-top: 28px;
  }
}

/*___________________________
Marks
___________________________*/

.marks {
  padding-top: clamp(100px, 11.5vw, 160px);
}

.marks__list {
  display: flex;
  gap: clamp(20px, 2.8vw, 40px);
}

.marks__text {
  color: #00111f;
  font-size: var(--fontMax20Min16);
  word-break: keep-all;
}

.marks__text--small {
  color: #42403b;
  font-size: var(--fontMax14Min12);
}

.marks__underline {
  height: auto;
  width: 100%;
}

.marks__item {
  text-align: center;
}

.marks__item--1 .marks__underline,
.marks__item--2 .marks__underline {
  margin-top: 18px;
}

.marks__item--4 .marks__underline {
  margin-top: 29px;
}

.marks__item--6 .marks__underline {
  margin-top: 15px;
}

.marks__check {
  margin: 0 auto;
  max-width: 33px;
}

.marks__check svg {
  width: 100%;
}

.marks__check svg .svg-elem-1 {
  stroke-dasharray: 123.62953186035156px;
  stroke-dashoffset: 123.62953186035156px;
  -webkit-transition: stroke-dashoffset .4s cubic-bezier(.47, 0, .745, .715) 0s;
          transition: stroke-dashoffset .4s cubic-bezier(.47, 0, .745, .715) 0s;
}

.marks__check.active svg .svg-elem-1 {
  stroke-dashoffset: 247.25906372070312px;
}

.marks__titleGroup {
  margin-top: clamp(60px, 6.5vw, 90px);
  text-align: center;
}

.marks__lead,
.marks__title {
  color: #00111f;
  font-size: var(--fontMax24Min18);
}

.marks__title {
  font-size: var(--fontMax40Min28);
  margin: 16px auto 0;
  position: relative;
  width: fit-content;
}

.marks__loop {
  left: clamp(40px, 4.7vw, 67px);
  max-width: 134px;
  position: absolute;
  top: 50%;
  /* transform: translateY(-50%); */
}

.marks__loop svg {
  height: auto;
  width: 100%;
}

.marks__loop svg .svg-elem-1 {
  stroke-dasharray: 794.20703125px;
  stroke-dashoffset: 794.20703125px;
  -webkit-transition: stroke-dashoffset .4s cubic-bezier(.47, 0, .745, .715) 0s;
          transition: stroke-dashoffset .4s cubic-bezier(.47, 0, .745, .715) 0s;
}

.marks__loop.active svg .svg-elem-1 {
  stroke-dashoffset: 1588.4140625px;
}

.techlist {
  display: flex;
  gap: clamp(18px, 4.2vw, 60px);
  justify-content: center;
  margin-top: 40px;
}

.techitem img {
  height: 107px;
  width: auto;
}

.marks__message {
  font-weight: 400;
  margin-top: 40px;
  text-align: center;
}

.consultBanner {
  background: #ff681c;
  box-sizing: border-box;
  margin-top: 40px;
  overflow: hidden;
  padding: clamp(40px, 4.5vw, 64px) 20px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.consultBanner__text {
  color: #fff;
  font-size: var(--fontMax24Min18);
  font-weight: 700;
  text-align: center;
}

.consultBanner .cta {
  height: 63px;
  margin: 32px auto 0;
  max-width: 244px;
}

.consultBanner__mark {
  left: 50%;
  position: absolute;
  top: 5%;
  transform: translateX(-50%);
  width: calc(100% + 132px);
  z-index: -1;
}

@media screen and (max-width: 767px) {
  .marks {
    padding-top: 60px;
  }
  .marks__listContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .marks__list {
    display: grid;
    grid-column: 1 / span 2;
    grid-row: 1;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
  }
  .marks__item--1 {
    grid-column: 1;
    grid-row: 1;
  }
  .marks__item--2 {
    grid-column: 2;
    grid-row: 1;
  }
  .marks__item--3 {
    grid-column: 1;
    grid-row: 2;
  }
  .marks__item--4 {
    grid-column: 2;
    grid-row: 2;
  }
  .marks__item--5 {
    grid-column: 1;
    grid-row: 3;
  }
  .marks__item--6 {
    grid-column: 2;
    grid-row: 3;
  }
  .marks__text {
    word-break: break-all;
  }
  .techlist {
    flex-wrap: wrap;
  }
  .techitem:nth-child(1) {
    order: 1;
  }
  .techitem:nth-child(2) {
    order: 2;
  }
  .techitem:nth-child(3) {
    order: 3;
  }
  .techitem:nth-child(4) {
    order: 5;
  }
  .techitem:nth-child(5) {
    order: 4;
  }
}

@media screen and (max-width: 500px) {
  .marks__listContainer {
    display: flex;
    flex-direction: column;
  }
  .marks__list {
    display: flex;
    flex-direction: column;
  }
  .marks__title {
    font-size: 22px;
  }
  .marks__lead {
    font-size: 16px;
  }
  .marks__loop {
    left: 60px;
    max-width: 84px;
  }
  .techitem img {
    height: 85px;
  }
}

/*___________________________
Strengths
___________________________*/

.strengths {
  margin-top: clamp(100px, 11.5vw, 160px);
  padding-top: clamp(180px, 15.7vw, 226px);
  position: relative;
  z-index: 1;
}

.stengths__bg {
  clip-path: polygon(0 0, 100% 21%, 100% 90%, 0% 100%);
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

.strengths .container {
  padding: clamp(100px, 11.5vw, 160px) 20px;
}

.strengths__title,
.job__title,
.interview__title,
.flow__title,
.faq__title,
.contact__title {
  font-family: var(--familyEn);
  font-size: clamp(3.75rem, 2.732rem + 5.09vw, 7.313rem); /* Max 117px - Min 60px */
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.strengths__lead,
.job__lead,
.interview__lead,
.flow__lead,
.faq__lead,
.contact__lead {
  font-weight: 700;
  text-align: center;
}

.strengths__list {
  display: grid;
  gap: clamp(26px, 1.81vw, 40px);
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: clamp(50px, 5vw, 72px);
}

.strengths__item {
  display: grid;
  grid-template-rows: clamp(270px, 23.4vw, 336px) auto;
  height: 100%;
}

.strengths__heading {
  height: 100%;
  max-height: 336px;
  position: relative;
}

.strengths__iconGroup {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  left: 50%;
  position: absolute;
  text-align: center;
  top: calc(50% - 20px);
  transform: translate(-50%, -50%);
  width: 100%;
}

.drawingImage {
  max-width: clamp(65px, 5.63vw, 81px);
}

.nomuraGroupLogo {
  max-width: clamp(140px, 12.5vw, 180px);
}

.handsLogo {
  max-width: clamp(115px, 10.1vw, 145px);
}

.strengths__content {
  margin-top: 24px;
}

.strengths__iconTitle {
  font-weight: 700;
}

.strengths__circle {
  height: 100%;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .strengths__list {
    gap: 40px;
    grid-template-columns: 1fr;
    margin: clamp(50px, 5vw, 72px) auto;
    max-width: 500px;
  }
  .strengths__title,
  .job__title,
  .interview__title,
  .flow__title,
  .faq__title,
  .contact__title {
    font-size: clamp(2.375rem, 1.838rem + 2.68vw, 3.125rem); /* Max 50px - Min 38px */
  }
  .strengths .container {
    padding: 60px 20px;
  }
  .strengths {
    margin-top: 90px;
    padding-top: 90px;
  }
}

/* JOB */

.job {
  padding-bottom: clamp(100px, 11.5vw, 160px);
}

.job__border {
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.job__border svg {
  height: auto;
  width: 100%;
}

.job__border svg .svg-elem-1 {
  stroke-dasharray: 148.9403533935547px;
  stroke-dashoffset: 148.9403533935547px;
  -webkit-transition: stroke-dashoffset .4s cubic-bezier(.47, 0, .745, .715) 0s;
          transition: stroke-dashoffset .4s cubic-bezier(.47, 0, .745, .715) 0s;
}

.job__border.active svg .svg-elem-1 {
  stroke-dashoffset: 297.8807067871094px;
}

.job__border svg .svg-elem-2 {
  stroke-dasharray: 154.32635498046875px;
  stroke-dashoffset: 154.32635498046875px;
  -webkit-transition: stroke-dashoffset .4s cubic-bezier(.47, 0, .745, .715) .12s;
          transition: stroke-dashoffset .4s cubic-bezier(.47, 0, .745, .715) .12s;
}

.job__border.active svg .svg-elem-2 {
  stroke-dashoffset: 308.6527099609375px;
}

.job__border svg .svg-elem-3 {
  stroke-dasharray: 141.81289672851562px;
  stroke-dashoffset: 141.81289672851562px;
  -webkit-transition: stroke-dashoffset .4s cubic-bezier(.47, 0, .745, .715) .24s;
          transition: stroke-dashoffset .4s cubic-bezier(.47, 0, .745, .715) .24s;
}

.job__border.active svg .svg-elem-3 {
  stroke-dashoffset: 283.62579345703125px;
}

.job__border svg .svg-elem-4 {
  stroke-dasharray: 147.2442169189453px;
  stroke-dashoffset: 147.2442169189453px;
  -webkit-transition: stroke-dashoffset .4s cubic-bezier(.47, 0, .745, .715) .36s;
          transition: stroke-dashoffset .4s cubic-bezier(.47, 0, .745, .715) .36s;
}

.job__border.active svg .svg-elem-4 {
  stroke-dashoffset: 294.4884338378906px;
}

.job__titleGroup {
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0 60px 30px;
  position: relative;
  width: fit-content;
}

.job__titleIconRight,
.job__titleIconLeft {
  max-width: 76px;
  position: absolute;
}

.job__titleIconRight {
  right: 0;
  top: 0;
}

.job__titleIconLeft {
  bottom: 0;
  left: 0;
}

.job__display {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  margin-top: 40px;
}

.jobCard {
  background: #f9f9f9;
  box-sizing: border-box;
  padding: clamp(16px, 1.7vw, 24px) clamp(24px, 2.3vw, 32px);
}

.jobCard__head {
  border-bottom: 1px solid #abaaa6;
  padding-bottom: 16px;
  text-align: center;
}

.jobCard__title {
  font-size: var(--fontMax18Min16);
  font-weight: 700;
}

.jobCard__list {
  display: grid;
  gap: 0 20px;
  grid-template-columns: 1fr 1fr;
  margin-top: 16px;
  position: relative;
}

.jobCard:last-child .jobCard__list {
  grid-template-columns: auto auto;
}

.jobCard__item {
  display: grid;
  grid-template-columns: auto 1fr;
  text-align: start;
}

.jobCard__etcetera {
  color: #ff681c;
  font-size: var(--fontMax14Min12);
  grid-column: 2;
  text-align: end;
}

.case {
  padding-top: clamp(60px, 5.6vw, 80px);
}

.case__lead {
  color: #ff681c;
  font-family: var(--familyEn);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.case__icon {
  height: auto;
  max-width: 134px;
  width: 100%;
}

.case__title {
  color: #00111f;
  font-size: var(--fontMax32Min24);
  font-weight: 700;
}

.case__group {
  display: grid;
  grid-template-columns: repeat(3, 30.1%);
  justify-content: space-between;
  margin-top: 32px;
}

.case__image {
  aspect-ratio: 3 / 2;
}

.case__singleTitle {
  color: #000;
  font-size: 16px;
  font-weight: 700;
  margin-top: 16px;
}

.case__description {
  color: #000;
  font-size: 14px;
  margin-top: 16px;
}

.case__details {
  column-gap: 14px;
  display: grid;
  grid-template-columns: 60px auto;
  margin-top: 8px;
}

.case__details dt,
.case__details dd {
  color: #000;
  font-size: 14px;
}

.case .cta {
  height: 63px;
  margin: 40px auto 0;
  max-width: 300px;
}

.infiniteImageSlider {
  display: flex;
  overflow: hidden;
}

.infiniteImageSlide__single {
  width: calc(100vw / 4);
}

.infiniteImageSlider__group {
  align-items: center;
  animation: infinite-scroll-left 60s infinite linear .5s both;
  box-sizing: border-box;
  display: flex;
  padding: 0;
}

.infiniteImageSlider__group.inverse {
  animation: infinite-scroll-right 60s infinite linear .5s both;
}

@keyframes infinite-scroll-left {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes infinite-scroll-right {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media screen and (max-width: 767px) {
  .job__display,
  .case__group {
    grid-template-columns: 1fr;
  }
  .job__display {
    margin-top: 60px;
  }
  .case__group {
    gap: 40px;
    margin: 32px auto 0;
    width: fit-content;
  }
  .infiniteImageSlide__single {
    width: 50vw;
  }
  .infiniteImageSlider__group {
    animation: infinite-scroll-left 100s infinite linear .5s both;
  }
  .infiniteImageSlider__group.inverse {
    animation: infinite-scroll-right 100s infinite linear .5s both;
  }
  .job__border {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

@media screen and (max-width: 500px) {
  .jobCard__list {
    display: flex;
    flex-direction: column;
  }
  .infiniteImageSlide__single {
    width: 100vw;
  }
}

/* Interview */

.interview {
  padding-bottom: clamp(80px, 8.4vw, 120px);
  padding-top: clamp(180px, 16.7vw, 240px);
}

.interview__lead,
.interview__title {
  text-align: start;
}

.interview__icon {
  height: auto;
  margin-top: -16px;
  max-width: 554px;
  width: 100%;
}

.interview__list {
  display: grid;
  gap: clamp(60px, 7vw, 100px);
  grid-template-columns: 1fr;
  margin-top: 40px;
}

.interview__item {
  column-gap: clamp(20px, 2.8vw, 40px);
  display: grid;
  grid-template-rows: auto auto 1fr;
}

.interview__image {
  grid-row: span 3;
}

.interview__countColumn {
  grid-row: 1;
}

.interview__count {
  color: #ff681c;
  font-family: var(--familyEn);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.interview__count .large {
  font-size: var(--fontMax48Min36);
  line-height: 1;
}

.interview__itemTitle {
  color: #141414;
  font-size: var(--fontMax20Min16);
  font-weight: 700;
  grid-row: 1;
  line-height: 2.1;
}

.interview__biography {
  color: #7e7b75;
  font-size: 12px;
  grid-row: 2;
  margin-top: 16px;
}

.interview__contents {
  color: #00111f;
  font-size: 14px;
  grid-row: 3;
  margin-top: 24px;
}

.interview__item:nth-child(odd) {
  grid-template-columns: 30% auto auto;
}

.interview__item:nth-child(odd) .interview__image {
  grid-column: 1;
}

.interview__item:nth-child(odd) .interview__countColumn {
  grid-column: 2;
}

.interview__item:nth-child(odd) .interview__itemTitle {
  grid-column: 3;
}

.interview__item:nth-child(odd) .interview__biography {
  grid-column: 3;
}

.interview__item:nth-child(odd) .interview__contents {
  grid-column: 3;
}

.interview__item:nth-child(even) {
  grid-template-columns: auto auto 30%;
}

.interview__item:nth-child(even) .interview__image {
  grid-column: 3;
}

.interview__item:nth-child(even) .interview__countColumn {
  grid-column: 1;
}

.interview__item:nth-child(even) .interview__itemTitle {
  grid-column: 2;
}

.interview__item:nth-child(even) .interview__biography {
  grid-column: 2;
}

.interview__item:nth-child(even) .interview__contents {
  grid-column: 2;
}

@media screen and (max-width: 767px) {
  .interview {
    padding-top: 80px;
  }
  .interview__item:nth-child(odd),
  .interview__item:nth-child(even) {
    column-gap: 16px;
    grid-template-columns: auto 1fr;
    margin: 0 auto;
    max-width: 500px;
  }
  .interview__item:nth-child(odd) .interview__image,
  .interview__item:nth-child(even) .interview__image {
    grid-column: 2;
    grid-row: 2;
  }
  .interview__item:nth-child(odd) .interview__countColumn,
  .interview__item:nth-child(even) .interview__countColumn {
    grid-column: 1;
    grid-row: 1;
  }
  .interview__item:nth-child(odd) .interview__itemTitle,
  .interview__item:nth-child(even) .interview__itemTitle {
    grid-column: 2;
    grid-row: 1;
  }
  .interview__item:nth-child(odd) .interview__biography,
  .interview__item:nth-child(even) .interview__biography {
    grid-column: 2;
    grid-row: 3;
  }
  .interview__item:nth-child(odd) .interview__contents,
  .interview__item:nth-child(even) .interview__contents {
    grid-column: 2;
    grid-row: 4;
  }
  .interview__count {
    font-size: 14px;
  }
  .interview__count .large {
    font-size: 26px;
  }
}

/* Flow */

.flow {
  padding-bottom: clamp(100px, 11.5vw, 160px);
  padding-top: clamp(180px, 15.7vw, 226px);
  position: relative;
  z-index: 1;
}

.flow__bg {
  clip-path: polygon(0 21%, 100% 0%, 100% 90%, 0% 100%);
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

.flow__titleGroup {
  margin-left: auto;
  max-width: 471px;
  padding-bottom: 32px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.flow__title,
.flow__lead {
  text-align: start;
}

.flow__arrow {
  bottom: 0;
  height: auto;
  max-width: 414px;
  position: absolute;
  right: 0;
  z-index: -1;
}

.flow__arrow svg {
  height: auto;
  width: 100%;
}

.flow__list {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(5, 1fr);
  margin-top: clamp(40px, 4.2vw, 60px);
}

.flow__item {
  padding: 0 clamp(16px, 1.7vw, 24px) 15px;
  position: relative;
}

.flow__item:not(:last-child)::after {
  background: url(../images/top/icon-flow_border.png) no-repeat center / cover;
  content: "";
  height: 100%;
  position: absolute;
  right: -26px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
}

.flow__count {
  color: #ff681c;
  font-family: var(--familyEn);
  font-size: var(--fontMax18Min16);
  font-weight: 600;
  line-height: 1.4;
}

.flow__heading {
  color: #00111f;
  font-size: var(--fontMax18Min16);
  margin-top: 8px;
}

.flow__content {
  color: #00111f;
  font-size: 12px;
  margin-top: 16px;
}

@media screen and (max-width: 1000px) {
  .flow__list {
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
  }
  .flow__item:not(:last-child)::after {
    right: -16px;
  }
}

@media screen and (max-width: 767px) {
  .flow {
    padding-bottom: 60px;
    padding-top: 120px;
  }
  .flow__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 500px) {
  .flow__list {
    gap: 32px;
    grid-template-columns: 1fr;
  }
  .flow__item:not(:last-child)::after {
    background: url(../images/top/icon-flow_border_sp.png) no-repeat center / cover;
    bottom: -26px;
    height: 34px;
    right: 50%;
    top: auto;
    transform: translateX(50%);
    width: 320px;
  }
}

/* FAQ */

.faq {
  padding-bottom: clamp(100px, 11.5vw, 160px);
  position: relative;
  z-index: 2;
}

.faq .container {
  display: grid;
  gap: clamp(20px, 5.6vw, 80px);
  grid-template-columns: clamp(200px, 20vw, 250px) auto;
}

.faq__content {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.3vw, 32px);
}

.faq__titleGroup {
  width: fit-content;
}

.faq__title,
.faq__lead {
  text-align: start;
}

.faq__lead {
  position: relative;
  z-index: 2;
}

.faq__title {
  position: relative;
  z-index: 1;
}

.faq__titleIcon {
  left: 58%;
  position: absolute;
  top: 45%;
  transform: translateX(-50%);
  z-index: -1;
}

.faq__titleIcon svg {
  height: 100%;
  max-height: 255px;
  width: auto;
}

.faq__header {
  align-items: center;
  border-bottom: 1px solid #ebeaea;
  cursor: pointer;
  display: grid;
  gap: 16px;
  grid-template-columns: 40px auto 20px;
  padding-bottom: 16px;
}

.faq__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .6s cubic-bezier(.645, .045, .355, 1);
}

.faq__body.active {
  max-height: unset;
}

.faq__answer {
  padding-top: 16px;
}

.faq__answer p {
  font-size: 12px;
}

.faq__chevron {
  transition: .4s cubic-bezier(.645, .045, .355, 1);
}

.faq__item:has(.faq__body.active) .faq__chevron {
  transform: scaleY(-1);
}

@media screen and (max-width: 767px) {
  .faq .container {
    grid-template-columns: 150px auto;
  }
  .faq__title {
    font-size: 60px;
  }
  .faq__titleIcon svg {
    max-height: 165px;
  }
}

@media screen and (max-width: 500px) {
  .faq .container {
    gap: 110px;
    grid-template-columns: 1fr;
  }
}

/* Contact */

.svgBorder {
  overflow: hidden;
}

.svgBorder {
  height: auto;
  max-width: 100vw;
}

.svgBorder svg {
  height: auto;
  width: 100%;
}

.contact {
  padding-top: 60px;
}

.contact__notice {
  margin: clamp(50px, 6.7vw, 96px) auto 0;
  max-width: 800px;
  width: 100%;
}

.contact__notice .red,
.required {
  color: #e70000;
  font-size: 16px;
}

.contactForm {
  margin: 40px auto 0;
  max-width: 800px;
}

.contactForm fieldset {
  border: none;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.formRow {
  display: grid;
  grid-template-columns: 210px auto;
}

.contact label {
  color: #00111f;
  font-size: 14px;
  font-weight: 500;
}

.contact label .required {
  margin-left: 8px;
}

.contact input[type="text"],
.contact input[type="tel"],
.contact input[type="email"],
.contact textarea,
.contact input[type="date"]{
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
  outline-color: #ff681c;
  padding: 8px;
  width: 100%;
}

.contact input[type="text"]::placeholder,
.contact input[type="tel"]::placeholder,
.contact input[type="email"]::placeholder,
.contact textarea::placeholder {
  color: #a1a1a1;
}

.contact textarea {
  height: 160px;
  resize: vertical;
}

.form__confirm {
  margin-top: 40px;
}

.form__confirmContainer {
  cursor: pointer;
  display: block;
  margin: 0 auto;
  padding-left: 8px;
  position: relative;
  width: fit-content;
}

.form__confirmContainer a {
  text-decoration: underline;
  text-decoration-color: #00111f;
  text-underline-offset: 4px;
}

.form__confirmContainer label {
  cursor: pointer;
}

.form__confirmContainer::before {
  border: 1px solid #abaaa6;
  border-radius: 2px;
  content: "";
  height: 16px;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 4px;
  width: 16px;
}

.form__confirmContainer::after {
  background: url(../images/top/icon-confirm_check.svg) no-repeat center / cover;
  content: "";
  height: 12px;
  left: 2px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 7px;
  transition: opacity .4s cubic-bezier(.645, .045, .355, 1);
  width: 14px;
}

.form__confirmContainer:has(input[type="checkbox"]:checked)::after {
  opacity: 1;
}

.contact input[type="checkbox"] {
  height: 16px;
  margin: 0;
  opacity: 0;
  width: 16px;
  position: relative;
  bottom: -3px;
  left: -7px;
}

.form__confirmContainer:has(input[type="checkbox"]:focus)::before {
  border-color: #ff681c;
}

.contact input[type="submit"] {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 700;
  height: 100%;
  letter-spacing: .16em;
  outline: none !important;
  width: 100%;
}

.form__submit {
  height: 63px;
  margin: 40px auto 0;
  max-width: 240px;
  width: 100%;
}

@media screen and (max-width: 500px) {
  .formRow {
    gap: 12px;
    grid-template-columns: 1fr;
  }
}

/* Company */

.company {
  margin-top: clamp(50px, 5.8vw, 80px);
  padding-bottom: clamp(100px, 11.5vw, 160px);
  padding-top: clamp(50px, 5.8vw, 80px);
}

.company__title {
  font-size: var(--fontMax24Min18);
  font-weight: 700;
  text-align: center;
}

.company__list {
  display: grid;
  grid-template-columns: clamp(120px, 16.7vw, 220px) auto;
  justify-content: space-between;
  margin: clamp(40px, 4.2vw, 60px) auto 0;
  max-width: 756px;
  row-gap: 16px;
}

.company__list dt,
.company__list dd {
  color: #42403b;
  font-size: 14px;
}

.company__list dt {
  font-weight: 700;
}

.company__list dd {
  display: grid;
  gap: 8px;
}

@media screen and (max-width: 500px) {
  .company__list {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .company__list dd {
    padding-bottom: 12px;
  }
}
/* お問い合わせ 確認画面 */
.moveButton__column {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-top: 20px;
}
.form__confirmInner {
  margin: 200px auto 0;
  max-width: 600px;
  padding: 20px;
}
.form__confirmWrap {
  margin: 0 auto 200px;
}
.terms {
  display: none;
}
.backButton {
  width: 260px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  background: #fff;
  border: 1px solid #000;
  transition: 0.3s;
  font-weight: 500;
}
.backButton:hover {
  background: #000;
  color: #fff;
}
.submitButton {
  width: 260px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center; 
  color: #fff;
  background: #000;
  transition: 0.3s;
  border: 1px solid #000;
  font-weight: 500;
}
.submitButton:hover {
  background: #fff;
  color: #000;
}
/* お問い合わせ 完了画面 */
.completeForm {
display: grid;
height: 100vh;
grid-template-rows: 1fr auto;
}
.completeTextWrap {
  max-width: 500px;
  width: 100%;
  margin: auto;
  text-align: center;
  padding-inline: 20px;
}
.completeText {
  font-size: 18px;
  font-weight: 500;
}
.complete__backButton {
  border: 1px solid #000;
  background: #fff;
  color:#000;
  width: 150px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
  margin: 40px auto 0;
  font-weight: 500;
}
.complete__backButton:hover {
  background: #000;
  color: #fff;
}