/* ==========================================================
 * Project: tamaruya_recruit / TOP
 * FLOCSS: Project layer
 * ========================================================== */

.page-top {
  background: var(--white);
}

/* ------------------------------
 * Main visual
 * ------------------------------ */
.p-mainvisual {
  position: relative;
  height: 100vh;
  min-height: 0;
  /* overflow: hidden; */
  color: var(--text);
  background: var(--white);
}

.p-mainvisual__image {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  height: 100vh;
}

.p-mainvisual__image::before{
  position: absolute;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.p-mainvisual__image::before {
  top: 0;
  bottom: 0;
  left: 0;
  width: 920px;
  background: linear-gradient(90deg, #fff 40%, rgba(255,255,255,.92) 54%, rgba(255,255,255,.35) 72%, rgba(255,255,255,0) 100%);
}

/* .p-mainvisual__image::after {
  right: 0;
  bottom: 0;
  left: 0;
  height: 220px;
  background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,.76) 26%, rgba(255,255,255,0) 100%);
}
 */
.p-mainvisual__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: translateX(10%);
}

.p-mainvisual__content {
  position: absolute;
  z-index: 2;
  display: block;
  width: auto;
  min-height: 0;
  margin: 0;
  top: 52%;
  left: 7.5%;
  transform: translateY(-50%);
}

.p-mainvisual__title {
  font-family: var(--font-serif);
  font-size: 80px;
  /* font-weight: 300; */
  line-height: 1.36;
  letter-spacing: .02em;
  transform: translateY(13px);
}

.p-mainvisual__title strong {
  color: var(--main);
  font-size: 100px;
  /* font-weight: 300; */
}

.p-mainvisual__lead {
  font-size: 18px;
  line-height: 2.05;
}

.p-mainvisual__message {
  width: 490px;
  min-height: 87px;
  padding: 18px 26px;
  color: var(--main);
  border-radius: 20px;
  font-size: 16px;
  line-height: 1.6;
  background: rgba(12, 75, 188, .1);
}

.p-mainvisual__buttons {
  display: flex;
  gap: 18px;
}

/* ------------------------------
 * Welcome
 * ------------------------------ */
.p-welcome {
  position: relative;
  /* height: 720px; */
  /* z-index: 1; */
  /* overflow: hidden; */
  /* background: var(--white); */
}

/* .p-welcome::before {
  position: absolute;
  right: 58%;
  bottom: -165px;
  width: 820px;
  height: 450px;
  border-radius: 0 50px 0 0;
  background: rgba(235, 241, 250, .65);
  content: "";
}
 */
.p-welcome__inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  height: 100%;
  justify-content: center;
  max-width: 1400px;
}

.p-welcome__image {
  flex: 0 0 840px;
  height: 560px;
  overflow: hidden;
  border-radius: 20px;
}

.p-welcome__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-welcome__content {
  flex: 1;
  padding-top: 3px;
  background: var(--white);
  padding: 65px 75px 40px;
  border-radius: 20px;
  margin-left: -13%;
  margin-top: 80px;
}

.p-welcome__label {
  color: var(--main);
  font-family: var(--font-serif);
  font-size: 16px;
  /* font-weight: 300; */
}

.p-welcome__title {
  font-family: var(--font-serif);
  font-size: 38px;
  /* font-weight: 300; */
  line-height: 1.5;
}

.p-welcome__title span {
  color: var(--main);
}

.p-welcome__text {
  font-size: 16px;
  line-height: 2;
}

.p-welcome__list {
  width: 360px;
}

.p-welcome__list li {
  position: relative;
  min-height: 45px;
  padding: 8px 0 6px 44px;
  border-bottom: 1px dotted #666;
  font-size: 18px;
}

.p-welcome__list li:last-child {
  border-bottom: 0;
}

.p-welcome__list li::before {
  position: absolute;
  width: 18px;
  height: 17px;
  left: 11px;
  top: 14px;
  content: "";
  background-image: url('../images/common/ic-check1.png');
  background-size: contain;
  background-repeat: no-repeat;
}

.p-welcome__list li:nth-child(odd) strong {
  color: var(--main);
}

.p-welcome__list li:nth-child(even) strong {
  color: var(--main);
}

/* ------------------------------
 * Works
 * ------------------------------ */
.p-works {
  position: relative;
  /* height: 1375px; */
  /* overflow: hidden; */
  /* z-index: 2; */
}

.p-works::before,
.p-interview::before,
.p-dayflow::before{
  position: absolute;
  z-index: -1;
  width: 807px;
  height: 1530px;
  background-image: url("../images/top/bg1.png");
  background-size: cover;
  content: "";
  left: 0;
  background-color: rgba(239,245,250,0.6);
}

.p-works::before {
   top: -360px;
  /* left: 0; */
}

.p-works::after {
  right: 0;
  bottom: -570px;
}

.p-works__inner {
  display: flex;
  flex-direction: column;
}

.p-works__row {
  display: flex;
  align-items: center;
  /* height: 254px; */
}
.p-works__row ~ .p-works__row{
  margin-top: 40px;
}
.p-works__row:not(.p-works__row--reverse) {
  gap: 36px;
}

.p-works__row--reverse {
  padding-left: 35px;
}

.p-works__description {
  flex: 0 0 300px;
  padding-left: 34px;
}

.p-works__description h3 {
  font-family: var(--font-serif);
  /* font-weight: 300; */
}

.p-works__description h3::after {
  display: block;
  width: 30px;
  height: 1px;
  margin-top: 16px;
  background: var(--main);
  content: "";
}

.p-works__description p {
  font-size: 16px;
  line-height: 1.9;
}

.p-works__images {
  flex: 0 0 1000px;
  flex-wrap: nowrap;
  gap: 20px;
}

.p-works__images > li {
  width: 320px;
  height: 212px;
  overflow: hidden;
  border-radius: 20px;
}

.p-works__images img {
  height: 100%;
  object-fit: cover;
}

.p-works__row--reverse .p-works__description {
  order: 2;
  padding-left: 76px;
}

.p-works__row--reverse .p-works__images {
  order: 1;
}

/* ------------------------------
 * Day flow
 * ------------------------------ */
.p-dayflow {
  position: relative;
}

.p-dayflow::before {
  top: -330px;
  right: 0;
  left: auto;
}

.p-dayflow::after {
  bottom: -1090px;
  left: 0;
}

.p-dayflow__list {
  display: flex;
  flex-wrap: wrap;
  gap: 111px 60px;
  margin-top: 74px;
  padding-left: 34px;
}

.p-dayflow__item {
  position: relative;
  width: 420px;
  height: 280px;
}

.p-dayflow__image {
  position: relative;
  width: 420px;
  height: 280px;
  overflow: visible;
  border-radius: 20px;
}

.p-dayflow__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.p-dayflow__time {
  position: absolute;
  top: 21px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  width: 130px;
  height: 50px;
  padding-left: 20px;
  border-radius: 0 20px 20px 0;
  font-size: 22px;
  line-height: 1;
  background: rgba(255,255,255,.8);
}

.p-dayflow__time::before {
  width: 17px;
  height: 17px;
  content: "";
  background-image: url('../images/common/ic-time.png');
  background-size: contain;
  background-repeat: no-repeat;
}

.p-dayflow__body {
  position: absolute;
  right: 30px;
  bottom: -59px;
  width: 350px;
  height: 141px;
  padding: 24px 26px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 3px 6px rgba(0,0,0,.16);
}

.p-dayflow__body h3 {
  color: var(--main);
  line-height: 1.4;
}

.p-dayflow__body p {
  font-size: 16px;
  line-height: 1.75;
}
/* ------------------------------
 * Dayflow slider base
 * PC layout remains unchanged
 * ------------------------------ */

.p-dayflow__slider.c-slider {
  overflow: visible;
  margin: 0;
}

.p-dayflow__slider .c-slider__viewport {
  width: 100%;
  overflow: visible;
  padding: 0;
  touch-action: auto;
}

.p-dayflow__slider:not(.is-slider-enabled) .is-clone {
  display: none;
}

.p-dayflow__arrow {
  display: none;
}
@media(max-width: 767px){
  .p-works__description p{
    font-size: 12px;
    margin-top: 12px !important;
  }
  .p-works__description p br{
    display: none;
  }
  .p-works__description h3{
    font-size: 18px;
  }
  .p-works__description h3::after{
    margin-top: 6px;
    width: 25px;
  }
}
/* ------------------------------
 * Interview
 * ------------------------------ */
.p-interview {
  position: relative;
  /* height: 700px; */
  /* overflow: hidden; */
  /* z-index: 1; */
}
.p-interview::before{
  top: -150px;
}
.p-interview__inner {
  display: flex;
  gap: 64px;
  width: 1552px;
  height: 100%;
  padding: 220px 20px 0;
}

.p-interview__visual {
  display: flex;
  flex: 0 0 908px;
  flex-direction: column;
  gap: 45px;
  min-width: 0;
}

.p-interview__heading {
  margin-left: 368px;
}
.p-interview__visual {
  
}
.p-interview__slider {
  --slider-columns: 1;
  --slider-gap: 0px;
  width: 908px;
  margin: 0;
  overflow: visible;
  margin-left: -20px;
}

.p-interview__slider .c-slider__viewport {
  width: 908px;
  height: 358px;
  padding: 0;
  overflow: hidden;
}

.p-interview__slider .c-slider__track {
  gap: 64px;
  width: auto;
  padding-left: 368px;
}

.p-interview__slider .c-slider__slide {
  z-index: 0;
  display: flex;
  align-items: flex-start;
  flex: 0 0 540px;
  height: 358px;
  visibility: hidden;
}

.p-interview__slider .c-slider__slide.is-prev,
.p-interview__slider .c-slider__slide.is-active {
  visibility: visible;
}

.p-interview__slider .c-slider__slide.is-prev {
  z-index: 1;
}

.p-interview__slider .c-slider__slide.is-active {
  z-index: 2;
}

.p-interview__slider .c-slider__slide img {
  width: 100%;
  height: 278px;
  margin-top: 40px;
  object-fit: cover;
  border-radius: 20px;
  transition:
    width var(--slider-speed) ease,
    height var(--slider-speed) ease,
    margin-top var(--slider-speed) ease;
}

.p-interview__slider .c-slider__slide.is-active img {
  width: 540px;
  height: 358px;
  margin-top: 0;
}

.p-interview__slider .c-slider__dots {
  justify-content: center;
  gap: 10px;
  width: 540px;
  margin-left: 368px;
}

.p-interview__slider .c-slider__dot {
  width: 10px;
  height: 10px;
  background: var(--white);
}

.p-interview__slider .c-slider__dot.is-active {
  background: var(--main);
}

.p-interview__content {
  flex: 0 0 580px;
  padding-top: 67px;
}

.p-interview__quote {
  height: 75px;
  color: var(--main);
  font-family: var(--font-serif);
  font-size: 120px;
  font-weight: 300;
  line-height: .95;
}

.p-interview__content h3 {
  font-family: var(--font-serif);
  font-size: 34px;
  /* font-weight: 300; */
  line-height: 1.59;
}

.p-interview__text {
  font-size: 16px;
  line-height: 1.875;
}

.p-interview__person {
  font-size: 16px;
  line-height: 1.875;
}

/* ------------------------------
 * Projects
 * ------------------------------ */
.p-projects {
  position: relative;
  /* height: 1345px; */
  /* overflow: hidden; */
  /* z-index: -1; */
}


.p-projects__list {
  gap: 50px 40px;
  width: 1120px;
  max-width: 1120px;
  padding-right: 0;
  padding-left: 0;
}

.p-project-card {
  position: relative;
  width: 540px;
}

.p-project-card > img {
  width: 540px;
  height: 358px;
  max-width: none;
  object-fit: cover;
  border-radius: 20px;
}

.p-project-card__name {
  position: relative;
  z-index: 1;
  width: 440px;
  height: 60px;
  margin: -31px 0 0 50px;
  padding: 16px 26px;
  border-radius: 20px;
  font-size: 18px;
  line-height: 1.55;
  background: var(--white);
  box-shadow: 0 3px 6px rgba(0,0,0,.161);
}

.p-project-card:nth-child(n+2) .p-project-card__name {
  box-shadow: 0 1px 6px rgba(0,0,0,.161);
}

.p-project-card > p:last-child {
  /* font-size: 16px; */
  /* max-width: 390px; */
  /* margin: auto; */
}

/* ------------------------------
 * Environment
 * ------------------------------ */
.p-environment {
  position: relative;
  /* height: 1250px; */
  /* overflow: hidden; */
}

.p-environment::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("../images/top/bg2.png") center / cover no-repeat;
  content: "";
  border-radius: 20px;
  width: 100%;
  height: 1390px;
  top: -270px;
}

.p-environment__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 58px 0;
  margin-top: 70px;
}

.p-environment__item {
  position: relative;
  width: 33.333%;
  min-height: 280px;
  padding: 30px 30px 0;
  text-align: center;
}

.p-environment__item:nth-child(n+4) {
  width: 34.5%;
}

.p-environment__item + .p-environment__item::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 280px;
  background: #ccc;
  content: "";
}

.p-environment__item:nth-child(4)::before {
  display: none;
}

.p-environment__icon {
  display: block;
  width: 132px;
  height: 82px;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.p-environment__icon--support {
  background-image: url("../images/environment-support.png");
}

.p-environment__icon--experience {
  background-image: url("../images/environment-experience.png");
}

.p-environment__icon--blank {
  background-image: url("../images/environment-blank.png");
}

.p-environment__icon--local {
  background-image: url("../images/environment-local.png");
}

.p-environment__icon--projects {
  background-image: url("../images/environment-projects.png");
}

.p-environment__item h3 {
  font-size: 20px;
}

.p-environment__item p {
  font-size: 16px;
  line-height: 1.8;
}

.p-environment__photos {
  display: flex;
  gap: 60px;
  width: 900px;
  max-width: 900px;
  margin-top: 30px;
  padding-right: 0;
  padding-left: 0;
}

.p-environment__photos img {
  width: 420px;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
}

.p-environment > .c-section-heading,
.p-recruit > .c-section-heading,
.p-faq > .c-section-heading,
.p-company > .c-section-heading {
  text-align: center;
}

/* ------------------------------
 * Recruit
 * ------------------------------ */
.p-recruit {
}

.p-recruit__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-recruit__list > div {
  display: flex;
  align-items: center;
  width: 1000px;
  height: 70px;
  border-radius: 20px;
  background: rgba(12,75,188,.08);
}

.p-recruit__list dt {
  flex: 0 0 210px;
  padding-left: 30px;
}

.p-recruit__list dd {
  flex: 1;
}

.p-recruit__photos {
  display: flex;
  gap: 60px;
}

.p-recruit__photos figure {
  width: 420px;
  border-radius: 20px;
  aspect-ratio: 420 / 280;
}
.p-recruit__photos img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  height: 100%;
  object-position: center;
}
/* ------------------------------
 * FAQ
 * ------------------------------ */
.p-faq {
  /* height: 880px; */
}

.p-faq__list {
  display: block;
}

.p-faq__question {
  position: relative;
  display: flex;
  align-items: center;
  width: 1000px;
  height: 84px;
  padding: 0 75px 0 110px;
  border-bottom: 1px solid #ccc;
  background: rgba(12,75,188,.08);
  cursor: pointer;
}

.p-faq__question:focus-visible {
  outline: 2px solid var(--main);
  outline-offset: 3px;
}

.p-faq__mark {
  position: absolute;
  top: 19px;
  left: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  border-radius: 50%;
  font-size: 20px;
  background: var(--blue-dark);
}

.p-faq__question::after {
  position: absolute;
  top: 50%;
  right: 30px;
  color: var(--blue-dark);
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
}
.p-faq__question[aria-expanded="false"]::after {
content: "+";
}
.p-faq__question[aria-expanded="true"]::after {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--blue-dark);
}
.p-faq__question span:not(.p-faq__mark) {
  font-size: 18px;
}

.p-faq__answer {
  padding: 0 110px;
  font-size: 16px;
  line-height: 1.75;
  display: none;
}


/* ------------------------------
 * Company
 * ------------------------------ */
.p-company {
  /* height: 1466px; */
}

.p-company__list {
  display: flex;
  flex-direction: column;
}

.p-company__list > div {
  display: flex;
  align-items: center;
  min-height: 74.5px;
}

.p-company__list dt {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 240px;
  height: 64px;
  border-radius: 20px;
  background: var(--pale-blue);
}

.p-company__list dd {
  display: flex;
  align-items: center;
  flex: 1;
  height: 74.5px;
  margin-left: 40px;
  border-bottom: 2px dotted #444;
}

.p-company__map {
  height: 440px;
  overflow: hidden;
}

.p-company__map iframe {
  width: 1400px;
  height: 440px;
  object-fit: cover;
}

.p-company__access {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-top: 56px;
  font-size: 16px;
}

.p-company__access::before {
  position: absolute;
  top: -13px;
  left: 50%;
  width: 1px;
  height: 57px;
  background: #ccc;
  content: "";
}

.p-company__access p {
  position: relative;
  /* flex: 0 0 210px; */
  width: 192px;
  padding-left: 36px;
}

.p-company__access p::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 30px;
  background: url("../images/icon-train.svg") center / contain no-repeat;
  content: "";
}

@media(max-height: 900px){
.p-mainvisual__title{
  font-size: 50px;
}  
  .p-mainvisual__title strong{
    font-size: 60px;
  }
}
/* Desktop design lock: target artboard 1920px */
@media (min-width: 1200px) {
  .u-fs54 {
    font-size: 54px;
  }

  .p-company__list {
    max-width: 1000px;
  }

  .p-company__list dd {
    position: relative;
    border-bottom: 0;
  }

  .p-company__list dd::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: -20px;
    border-bottom: 2px dotted #444;
    content: "";
  }
}

/* ------------------------------
 * Responsive: small desktop / laptop
 * Keep the 1920px desktop geometry untouched.
 * ------------------------------ */
@media (min-width: 1200px) and (max-width: 1599px) {
  .p-mainvisual__content {
    padding-left: clamp(80px, 7.3vw, 115px);
  }

  .p-welcome__inner {
    width: calc(100% - 40px);
    height: auto;
  }

  .p-welcome__image {
    flex: 0 0 60%;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .p-welcome__content {
    min-width: 0;
    margin-left: -8%;
    padding-right: 45px;
    padding-left: 45px;
  }

  .p-works__row:not(.p-works__row--reverse) .p-works__images,
  .p-works__row--reverse .p-works__images {
    flex: 1 1 0;
    min-width: 0;
  }

  .p-works__images > li {
    width: calc((100% - 40px) / 3);
    height: auto;
    aspect-ratio: 320 / 212;
  }
  
  .p-dayflow__list {
    justify-content: center;
    gap: 100px 40px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .p-dayflow__item {
    width: calc((100% - 80px) / 3);
    max-width: 420px;
    height: auto;
  }

  .p-dayflow__image {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .p-dayflow__body {
    right: 12px;
    width: calc(100% - 24px);
    max-width: 350px;
  }

  .p-interview__inner {
    width: min(calc(100% - 40px), 1400px);
    height: auto;
    margin-right: auto;
    margin-left: auto;
    gap: 50px;
  }

  .p-interview__visual {
    flex: 0 0 52%;
  }

  .p-interview__heading {
    margin-left: 0;
  }

  .p-interview__slider,
  .p-interview__slider .c-slider__viewport {
    width: 100%;
  }

  .p-interview__slider .c-slider__viewport {
    height: auto;
    aspect-ratio: 540 / 358;
  }

  .p-interview__slider .c-slider__track {
    gap: 0;
    padding-left: 0;
  }

  .p-interview__slider .c-slider__slide {
    flex: 0 0 100%;
    height: auto;
    aspect-ratio: 540 / 358;
  }

  .p-interview__slider .c-slider__slide.is-prev {
    visibility: hidden;
  }

  .p-interview__slider .c-slider__slide img,
  .p-interview__slider .c-slider__slide.is-active img {
    width: 100%;
    height: 100%;
    margin-top: 0;
  }

  .p-interview__slider .c-slider__dots {
    width: 100%;
    margin-left: 0;
  }

  .p-interview__content {
    flex: 1 1 0;
    min-width: 0;
  }

  .p-company__map iframe {
    width: 100%;
  }
}

/* ------------------------------
 * Responsive: tablet
 * ------------------------------ */
@media (max-width: 1199px) {
  .p-mainvisual {
    /* height: auto; */
  }

  .p-works::before,
  .p-dayflow::before,
  .p-interview::before {
    width: 215px;
    top: -46%;
  }

  .p-mainvisual {
    min-height: auto;
    top: 0;
  }

  .p-mainvisual__image {
    /* top: 76px; */
    left: 0;
    height: 100vh;
  }
  .p-mainvisual__image::before{
    width: 570px;
    left: -29px;
  }
  .p-mainvisual__image img {
    transform: unset;
  }

  .p-mainvisual__content {
    /* padding: 160px 0 90px 4vw; */
  }

  .p-mainvisual__title {
    font-size: clamp(50px, 6.3vw, 72px);
  }

  .p-mainvisual__title strong {
    font-size: clamp(62px, 7.8vw, 88px);
  }

  .p-welcome__inner {
    align-items: center;
    height: auto;
    gap: 0;
  }

  .p-welcome__image {
    flex: 0 0 58%;
    height: auto;
    margin-left: 0;
    aspect-ratio: 3 / 2;
  }

  .p-welcome__content {
    flex: 0 0 50%;
    min-width: 0;
    margin-top: 0;
    margin-left: -8%;
    padding-right: 35px;
    padding-bottom: 35px;
    padding-left: 35px;
  }

  .p-welcome__title {
    font-size: 32px;
  }

  .p-welcome__list {
    width: 100%;
  }

  .p-works__inner {
    gap: 55px;
  }

  .p-works__row ~ .p-works__row {
    margin-top: 0;
  }

  .p-works__row {
    gap: 24px;
  }

  .p-works__row--reverse {
    padding-left: 0;
  }

  .p-works__description {
    flex: 0 0 24%;
    padding-left: 0;
  }

  .p-works__row--reverse .p-works__description {
    padding-left: 20px;
  }

  .p-works__row:not(.p-works__row--reverse) .p-works__images,
  .p-works__row--reverse .p-works__images {
    flex: 1 1 0;
    min-width: 0;
  }

  .p-works__images > li {
    width: calc((100% - 40px) / 3);
    height: auto;
    aspect-ratio: 320 / 212;
  }

  .p-dayflow__list {
    justify-content: center;
    gap: 90px 30px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .p-dayflow__item {
    width: calc((100% - 30px) / 2);
    max-width: 420px;
    height: auto;
  }

  .p-dayflow__image {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .p-dayflow__body {
    right: 12px;
    width: calc(100% - 24px);
    max-width: 350px;
  }

  .p-interview__inner {
    width: 100%;
    height: auto;
    gap: 40px;
    padding: 0 20px;
  }

  .p-interview__visual {
    flex: 0 0 48%;
    gap: 40px;
    min-width: 0;
  }

  .p-interview__heading {
    margin-left: 0;
  }

  .p-interview__slider,
  .p-interview__slider .c-slider__viewport {
    width: 100%;
  }

  .p-interview__slider .c-slider__viewport {
    height: auto;
    aspect-ratio: 540 / 358;
  }

  .p-interview__slider .c-slider__track {
    gap: 0;
    padding-left: 0;
  }

  .p-interview__slider .c-slider__slide {
    flex: 0 0 100%;
    height: auto;
    aspect-ratio: 540 / 358;
  }

  .p-interview__slider .c-slider__slide.is-prev {
    visibility: hidden;
  }

  .p-interview__slider .c-slider__slide img,
  .p-interview__slider .c-slider__slide.is-active img {
    width: 100%;
    height: 100%;
    margin-top: 0;
  }

  .p-interview__slider .c-slider__dots {
    width: 100%;
    margin-left: 0;
  }

  .p-interview__content {
    flex: 1 1 0;
    min-width: 0;
    padding-top: 65px;
  }

  .p-interview__content h3 {
    font-size: 28px;
  }

  .p-projects__list {
    justify-content: center;
    width: 100%;
    max-width: 1040px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .p-project-card {
    width: calc((100% - 40px) / 2);
  }

  .p-project-card > img {
    width: 100%;
    height: auto;
    aspect-ratio: 540 / 358;
  }

  .p-project-card__name {
    width: calc(100% - 60px);
    margin-left: 30px;
  }

  .p-environment__photos,
  .p-recruit__photos {
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 900px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .p-environment__photos img {
    width: calc((100% - 40px) / 2);
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .p-recruit__photos figure {
    flex: 0 0 calc((100% - 40px) / 2);
    width: auto;
  }

  .p-recruit__photos img {
    width: 100%;
    height: 100%;
  }

  .p-recruit__list > div,
  .p-faq__question {
    width: 100%;
  }

  .p-faq__answer {
    padding-right: 70px;
    padding-left: 70px;
  }

  .p-company__map {
    width: calc(100% - 40px);
  }

  .p-company__map iframe {
    width: 100%;
  }

 
}

/* ------------------------------
 * Responsive: smartphone
 * ------------------------------ */
@media (max-width: 767px) {
  .p-interview__slider{
    margin: auto;
  }
  .p-dayflow::before{
    display: none;
  }
  .u-fs54 {
    font-size: 36px;
  }
  .p-company__access p{
    font-size: 14px;
    padding-left: 25px;
    width: fit-content;
  }
  .p-company__access p::before{
    width: 18px;
    height: 26px;
  }

  .p-mainvisual {
    min-height: unset;
    height: 932px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 95px;
  }

  .p-mainvisual__image {
    top: 10px;
    right: 0;
    left: 0;
    height: 530px;
  }

  .p-mainvisual__image::before {
    display: none;
  }

  .p-mainvisual__content {
    left: 3%;
    top: auto;
    transform: unset;
    width: max-content;
    position: relative;
  }

  .p-mainvisual__title {
    font-size: 50px;
    line-height: 1.3;
  }

  .p-mainvisual__title strong {
    font-size: 50px;
  }

  .p-mainvisual__lead {
    max-width: 300px;
    font-size: 12px;
    margin-top: 22px !important;
    line-height: 1.6;
  }
  .p-mainvisual__lead strong{
    display: none;
  }
  .p-mainvisual__lead br,
  .p-mainvisual__message br {
    /* display: none; */
  }

  .p-mainvisual__message {
    width: 100%;
    max-width: 336px;
    min-height: 0;
    font-size: 11px;
    padding: 15px 18px;
    border-radius: 20px;
    margin-top: 20px !important;
  }

  .p-mainvisual__buttons {
    width: 100%;
    max-width: 336px;
    gap: 10px;
    margin-top: 20px !important;
  }

  .c-button {
    width: 48%;
    font-size: 12px;
    height: 50px;
    border-radius: 20px;
    padding: 0 30px 0 15px;
  }

  .p-environment__icon--support{
    width: 65px;
    height: 65px;
  }
  .p-environment__icon--experience{
    width: 50px;
    height: 64px;
  }
  .p-environment__icon--blank{
    width: 64px;
    height: 64px;
  }
  .p-environment__icon--local{
    width: 105px;
    height: 65px;
  }
  .p-environment__icon--projects{
    width: 79px;
    height: 65px;
  }

  .p-welcome__inner,
  .p-interview__inner {
    display: block;
  }
  .p-welcome__inner{
    padding: 0;
  }
  .p-welcome__image {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 0;
  }
  .p-welcome__label{
    font-size: 12px;
  }
  .p-welcome__content {
    width: 90%;
    max-width: 383px;
    margin-top: -56px;
    margin-left: auto;
    border-radius: 0;
    padding-top: 22px !important;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
  }

  .p-welcome__title {
    font-size: 20px;
  }

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

  .p-welcome__list li {
    font-size: 13px;
    min-height: 37px;
    padding-left: 35px;
    padding-bottom: 0px;
    padding-top: 7px;
  }
  .p-welcome__list li::before{
    width: 14px;
    height: 14px;
    top: 12px;
  }
  .p-works__inner {
    gap: 40px;
    padding: 0;
  }

  .p-works__row,
  .p-works__row--reverse {
    /* flex-direction: column; */
    gap: 35px 7.5% !important;
    padding-left: 10px;
    justify-content: flex-end;
    align-items: flex-start;
  }
  
  .p-works__description{
      order: 1;
      width: 100%;
      max-width: 120px;
      flex: auto;
      padding-top: 10px;
  }
  .p-works__images {
    order: 2;
    width: 320px !important;
    margin-right: -20.3%;
    flex: unset !important;
  }

  .p-works__images,
  .p-works__row--reverse .p-works__images {
    order: 2;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
  }

  .p-works__images > li {
    width: 100%;
    display: none;
  }
  .p-works__images > li.p-works__img{
    display: block;
    height: 180px;
  }

  .p-works__row--reverse{
    justify-content: flex-start;
    padding-right: 10px;
    padding-left: 0;
  }

  .p-works__row--reverse .p-works__description{
    padding: 12px 0 0;
  }
  .p-works__row--reverse .p-works__images{
    margin-right: 0;
    margin-left: -20.3%;
  }
  
 
  .p-interview__inner {
    padding: 0 20px;
  }

  .p-interview__visual {
    width: 100%;
    gap: 40px;
  }

  .p-interview__slider .c-slider__viewport,
  .p-interview__slider .c-slider__slide {
    height: auto;
    aspect-ratio: 540 / 358;
  }

  .p-interview__slider .c-slider__slide img,
  .p-interview__slider .c-slider__slide.is-active img {
    height: 100%;
    border-radius: 14px;
  }

  .p-interview__content {
    padding-top: 0;
  }

  .p-interview__quote {
    height: 30px;
    font-size: 84px;
  }

  .p-interview__content h3 {
    font-size: 23px;
  }

  .p-projects__list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 0;
  }

  .p-project-card {
    width: 100%;
  }

  .p-project-card > img {
    height: auto;
    aspect-ratio: 540 / 358;
    border-radius: 0;
  }

  .p-project-card__name {
    height: auto;
    min-height: auto;
    font-size: 13px;
    width: 100%;
    border-radius: 0;
    box-shadow: none !important;
    margin: auto;
    text-align: center;
    background: transparent !important;
  }

  /* .p-project-card > p:last-child {
    font-size: 13px;
  } */

  .p-environment__list {
    flex-wrap: wrap;
    gap: 55px 4%;
    margin-top: 95px;
  }
  .p-environment::before{
    top: 175px;
    height: 822px;
    border-radius: 0;
  }
  .p-environment__item,
  .p-environment__item:nth-child(n+4) {
    width: 48%;
    min-height: 0;
    padding: 0;
    border-bottom: 0;
  }
  .p-environment__item p{
    font-size: 12px;
  }
  .p-environment__item h3{
    font-size: 15px;
  }

  .p-environment__item + .p-environment__item::before {
    display: none;
  }

  .p-environment__photos,
  .p-recruit__photos {
    gap: 12px;
    padding: 0 20px;
  }

  .p-environment__photos img {
    width: calc((100% - 12px) / 2);
    height: auto;
    border-radius: 10px;
    aspect-ratio: 3 / 2;
  }

  .p-recruit__photos figure {
    flex: 0 0 calc((100% - 12px) / 2);
  }

  .p-recruit__photos img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
  }

  .p-recruit__list > div {
    height: auto;
    min-height: 0;
    padding: 10px 15px;
    align-items: flex-start;
  }

  .p-recruit__list dt {
    padding: 0;
    color: var(--main);
    flex: 0 0 80px;
    font-size: 13px;
  }
  .p-recruit__list dd{
    font-size: 13px;
    margin: 0 !important;
  }

  .p-faq__question {
    min-height: 68px;
    height: auto;
    padding: 18px 40px 18px 58px;
  }

  .p-faq__mark {
    left: 16px;
    top: 18px;
    width: 28px;
    font-size: 15px;
    height: 28px;
  }
  .p-faq__question[aria-expanded="true"]::after{
    width: 15px;
    right: 20px;
  }
  .p-faq__question[aria-expanded="false"]::after{
    right: 15px;
  }

  .p-faq__question span:not(.p-faq__mark) {
    font-size: 13px;
  }

  .p-faq__answer {
    padding: 0 20px;
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .p-company__list {
    gap: 25px;
  }

  .p-company__list > div {
    /* display: block; */
    min-height: 0;
    gap: 10px;
  }

  .p-company__list dt {
    width: 100px;
    flex: 0 0 100px;
    height: 46px;
    font-size: 13px;
  }

  .p-company__list dd {
    height: auto;
    min-height: 40px;
    margin-left: 0;
    padding: 12px 5px;
    font-size: 13px;
  }

  .p-company__map {
    height: 280px;
  }

  .p-company__map iframe {
    width: 100%;
    height: 280px;
  }

  .p-company__access {
    flex-direction: column;
    gap: 10px;
    width: max-content;
    margin-right: auto;
    margin-left: auto;
  }

  .p-company__access::before {
    display: none;
  }

   .p-dayflow__slider.is-slider-enabled {
    --dayflow-slide-width: min(300px, calc(100vw - 60px));
    --dayflow-slide-gap: 20px;

    position: relative;

    width: 100%;
    overflow: hidden;

    margin-right: 0;
    margin-left: 0;
  }

  /*
   * Viewport
   */
  .p-dayflow__slider.is-slider-enabled
    .p-dayflow__viewport {
    width: 100%;

    overflow: hidden;

    padding: 0;

    touch-action: pan-y;
  }

  /*
   * Track
   *
   * Mobile.svg @ 430px:
   *
   * slide = 300
   * gap   = 20
   * step  = 320
   *
   * center offset:
   * (430 - 300) / 2 = 65
   */
  .p-dayflow__slider.is-slider-enabled
    .p-dayflow__list {
    display: flex;

    flex-direction: row;
    flex-wrap: nowrap;

    align-items: flex-start;
    justify-content: flex-start;

    gap: var(--dayflow-slide-gap);

    width: max-content;
    max-width: none;

    margin-top: 0;
    margin-right: 0;
    margin-left: 0;

    padding-top: 3px;
    padding-right:
      calc(
        (100vw - var(--dayflow-slide-width)) / 2
      );
    padding-bottom: 0;
    padding-left:
      calc(
        (100vw - var(--dayflow-slide-width)) / 2
      );

    list-style: none;

    transition:
      transform var(--slider-speed) ease;

    will-change: transform;
  }

  /*
   * Slide
   *
   * flex-shrink: 0 là điểm đặc biệt quan trọng.
   *
   * Nếu thiếu dòng này browser sẽ co cả 5 item
   * vào viewport giống kết quả lỗi hiện tại.
   */
  .p-dayflow__slider.is-slider-enabled
    .p-dayflow__item {
    position: relative;

    flex: 0 0 var(--dayflow-slide-width);

    width: var(--dayflow-slide-width);
    max-width: none;
    height: auto;

    margin: 0;
    padding: 0;
  }

  /*
   * Image
   *
   * Design:
   * 300 × 200
   */
  .p-dayflow__slider.is-slider-enabled
    .p-dayflow__image {
    position: relative;

    width: 100%;
    height: auto;

    overflow: hidden;

    border-radius: 20px;

    aspect-ratio: 3 / 2;
  }

  .p-dayflow__slider.is-slider-enabled
    .p-dayflow__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 20px;
  }

  /*
   * Text
   *
   * Mobile design không có white box,
   * shadow hoặc overlap.
   */
  .p-dayflow__slider.is-slider-enabled
    .p-dayflow__body {
    position: static;

    width: 100%;
    height: auto;
    min-height: 0;

    margin: 18px 0 0;
    padding: 0;

    text-align: center;

    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .p-dayflow__slider.is-slider-enabled
    .p-dayflow__body h3 {
    color: var(--main);

    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;

    text-align: center;
  }

  .p-dayflow__slider.is-slider-enabled
    .p-dayflow__body p {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.92;

    text-align: center;
  }

  /*
   * Design chỉ hiển thị text của slide active.
   *
   * Previous / next chỉ lộ phần image.
   */
  .p-dayflow__slider.is-slider-enabled
    .p-dayflow__item:not(.is-active)
    .p-dayflow__body {
    visibility: hidden;
    opacity: 0;
  }

  .p-dayflow__slider.is-slider-enabled
    .p-dayflow__item.is-active
    .p-dayflow__body {
    visibility: visible;
    opacity: 1;
  }

  /*
   * Clone chỉ dùng khi slider đang enabled.
   */
  .p-dayflow__slider.is-slider-enabled
    .is-clone {
    display: block;
  }

  /*
   * Arrow
   *
   * Mobile.svg:
   * left  ≈ 27px
   * right ≈ 28px
   * top   ≈ 75px
   */
  .p-dayflow__slider.is-slider-enabled
    .p-dayflow__arrow {
    position: absolute;
    z-index: 5;

    top: 75px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 29px;
    height: 56px;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;
  }

  .p-dayflow__slider.is-slider-enabled
    .p-dayflow__arrow svg {
    display: block;

    width: 29px;
    height: 56px;

    pointer-events: none;
  }

  .p-dayflow__slider.is-slider-enabled
    .p-dayflow__arrow--prev {
    left:
      max(
        8px,
        calc(
          (
            100% - var(--dayflow-slide-width)
          ) / 2 - 38px
        )
      );
  }

  .p-dayflow__slider.is-slider-enabled
    .p-dayflow__arrow--next {
    right:
      max(
        8px,
        calc(
          (
            100% - var(--dayflow-slide-width)
          ) / 2 - 38px
        )
      );
  }
}
