@charset "UTF-8";

/* about */

.p-about {
  padding-bottom: clamp(80px, 14.1666666667vw, 170px);
}

.p-about__top {
  padding-top: clamp(80px, 13.28125vw, 102px);
  padding-bottom: clamp(40px, 8.8541666667vw, 68px);
    position: relative;

}

.p-about__top-content {
  padding-top: 102px;
  padding-bottom: 180px;
  padding-inline: 20px;
  position: sticky;
  top: 120px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  -ms-flex-item-align: start;
      align-self: start;
  max-width: 522px;
  margin-inline: auto;
  z-index: 2;
}
@media screen and (min-width:1024px) {
  .p-about__top-content {
    padding-bottom: 0;
  }
}

.p-about__content-en {
  font-family: "DM Sans", serif;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0.03rem;
  font-weight: 700;
  background: -webkit-gradient(linear, left top, right top, from(#dc2529), to(#f36d3a));
  background: linear-gradient(to right, #dc2529 0%, #f36d3a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-align: center;
}

.p-about__content-ja {
  margin-top: clamp(16px, 3.61328125vw, 37px);
  font-size: clamp(24px, 4.1666666667vw, 50px);
  line-height: 1.72;
  letter-spacing: 0.03rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
  background: -webkit-gradient(linear, left top, right top, from(#dc2529), to(#f36d3a));
  background: linear-gradient(to right, #dc2529 0%, #f36d3a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  text-align: center;
  margin-inline: auto;
}

.p-about__content-texts {
  margin-top: clamp(40px, 5.5vw, 66px);
}

.p-about__content-text {
  color: #333333;
  font-size: 14px;
  line-height: 2.2857142857;
  font-weight: 700;
}
@media screen and (min-width:768px) {
  .p-about__content-text {
    text-align: center;
  }
}
.p-about__content-text + .p-about__content-text {
  margin-top: 20px;
}

.p-about__top-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.p-about__top-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(#ffeeef), to(#ffffff));
  background: linear-gradient(to bottom, #ffeeef 0%, #ffffff 100%);
  opacity: 0.6;
  pointer-events: none;
}
.p-about__top-bg .bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1366/584;
}
.p-about__top-bg .bg-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(#faf2f3), to(#ffffff));
  background: linear-gradient(to bottom, #faf2f3 0%, #ffffff 100%);
  opacity: 0.6;
  pointer-events: none;
        z-index: 1;
}
.p-about__top-bg .bg-img img {
  opacity: 0.5;
}

.p-about__top-img {
  position: absolute;
  -webkit-filter: drop-shadow(8px 14px 8px rgba(220, 37, 41, 0.3));
          filter: drop-shadow(8px 14px 8px rgba(220, 37, 41, 0.3));
    z-index: 1;
}
.p-about__top-img.img-top-left {
  top: 151px;
  left: clamp(40px, 7.3206442167vw, 200px);
  width: clamp(80px, 14.7877013177vw, 240px);
  aspect-ratio: 202/140;
}
@media screen and (min-width:1367px) {
  .p-about__top-img.img-top-left {
    left: calc(100px + (100vw - 1366px) / 2);
  }
}
.p-about__top-img.img-top-right {
  top: clamp(40px, 7.467057101vw, 102px);
  right: 0;
  width: clamp(100px, 23.1332357247vw, 360px);
  aspect-ratio: 316/241;
}
.p-about__top-img.img-bottom-left {
  bottom: clamp(20px, 8.78477306vw, 120px);
  left: 0;
  width: clamp(120px, 25.7686676428vw, 360px);
  aspect-ratio: 352/280;
}
.p-about__top-img.img-bottom-right {
  bottom: clamp(60px, 9.663250366vw, 132px);
  right: clamp(40px, 6.2225475842vw, 200px);
  width: clamp(80px, 19.3997071742vw, 300px);
  aspect-ratio: 265/152;
}
@media screen and (min-width:1367px) {
  .p-about__top-img.img-bottom-right {
    right: calc(85px + (100vw - 1366px) / 2);
  }
}

.p-about__top-gra {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50%;
  width: clamp(200px, 37.4084919473vw, 511px);
  aspect-ratio: 511/704;
  clip-path: polygon(52.446183953% 0, 100% 0, 47.553816047% 100%, 0 100%);
  background: -webkit-gradient(linear, left top, left bottom, from(#f4b39c), to(rgba(255, 255, 255, 0)));
  background: linear-gradient(to bottom, #f4b39c 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}
@media screen and (min-width:768px) {
  .p-about__top-gra {
    left: clamp(20px, 28.1844802343vw, 465px);
    translate: 0;
  }
}

.p-about__bg-text {
  margin-top: clamp(-135px, -9.8828696925vw, -48px);
  width: 98vw;
  overflow: hidden;
  position: relative;
  z-index: -1;
  left: 50%;
  translate: -50%;
}
@media screen and (min-width:768px) {
  .p-about__bg-text {
    margin-top: 32px;
  }
}
.p-about__bg-text .bg-text__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 48px;
  width: 100%;
}
.p-about__bg-text .bg-text {
  font-family: "DM Sans", serif;
  font-size: clamp(60px, 10.980966325vw, 150px);
  letter-spacing: 0.03em;
  font-weight: 700;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  max-height: 100%;
  background: -webkit-gradient(linear, left top, left bottom, from(#FFE1D6), to(#FFFFFF));
  background: linear-gradient(to bottom, #FFE1D6 0%, #FFFFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-animation: infinity-scroll-left 50s infinite linear 0.5s both;
          animation: infinity-scroll-left 50s infinite linear 0.5s both;
}
@-webkit-keyframes infinity-scroll-left {
  from {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  to {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}
@keyframes infinity-scroll-left {
  from {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  to {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}

.p-features {
  margin-top: clamp(60px, 8.9311859444vw, 122px);
}

.p-features__body {
  margin-top: clamp(48px, 7.71484375vw, 79px);
}

.p-features__section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media screen and (min-width:1024px) {
  .p-features__section {
    grid-template-columns: clamp(250px, 36.9692532943vw, 505px) 1fr;
    gap: clamp(32px, 5.5636896047vw, 76px);
  }
}
@media screen and (min-width:1024px) {
  .p-features__section:nth-of-type(2n) {
    grid-template-columns: 1fr clamp(250px, 36.9692532943vw, 505px);
  }
}
@media screen and (min-width:1024px) {
  .p-features__section:nth-of-type(2n) .p-features__content {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
  }
}

.p-features__section:nth-of-type(2n) .p-features__img-text {
  background: -webkit-gradient(linear, left top, left bottom, from(#f36d3a), to(#f3b23a));
  background: linear-gradient(to bottom, #f36d3a 0%, #f3b23a 100%);
}
@media screen and (min-width:1024px) {
  .p-features__section:nth-of-type(2n) .p-features__img-text {
    left: auto;
    right: -48px;
    padding-top: 21px;
    padding-left: 70px;
    padding-right: 23px;
    -webkit-writing-mode: sideways-rl;
        -ms-writing-mode: sideways-rl;
            writing-mode: sideways-rl;
  }
}

.p-features__section + .p-features__section {
  margin-top: clamp(48px, 7.5vw, 90px);
}


.p-features__content {
    -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  padding-block: clamp(32px, 5.25vw, 63px);
  border-block: 1px solid rgba(218, 31, 39, 0.4);
}
@media screen and (min-width:1024px) {
  .p-features__content {
    margin-top: 32px;
    max-width: 584px;
  }
}

.p-features__content-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
}
@media screen and (min-width:768px) {
  .p-features__content-head {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: clamp(12px, 1.8333333333vw, 22px);
  }
}

.p-features__content-num {
  color: #DA1F27;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0.03rem;
  font-weight: 700;
}

.p-features__content-title {
  color: #DA1F27;
  font-size: clamp(20px, 2.3333333333vw, 28px);
  line-height: 1.6428571429;
  letter-spacing: 0.03rem;
  font-weight: 700;
}

.p-features__content-texts {
  margin-top: clamp(24px, 3.4166666667vw, 41px);
}

.p-features__content-text {
  color: #333333;
  font-size: clamp(13px, 1.3671875vw, 14px);
  line-height: 2.2857142857;
  font-weight: 700;
}
.p-features__content-text + .p-features__content-text {
  margin-top: 19px;
}


.p-features__img {
  margin-top: 48px;
  margin-left: 48px;
  max-width: clamp(200px, 53.3333333333vw, 400px);
  aspect-ratio: 457/389;
  -webkit-filter: drop-shadow(8px 14px 8px rgba(220, 37, 41, 0.3));
          filter: drop-shadow(8px 14px 8px rgba(220, 37, 41, 0.3));
  position: relative;
}
@media screen and (min-width:1024px) {
  .p-features__img {
    margin-top: 32px;
  }
}


.p-features__img-text {
  position: absolute;
  top: -32px;
  left: -48px;
  padding-top: 12px;
    padding-left: 18px;
  padding-bottom: 18px;
  width: 100%;
  font-family: "DM Sans", serif;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.03rem;
  background: -webkit-gradient(linear, left top, left bottom, from(#da1f27), to(#f36d3a));
  background: linear-gradient(to bottom, #da1f27 0%, #f36d3a 100%);
  z-index: -1;
}
@media screen and (min-width:1024px) {
  .p-features__img-text {
    padding-top: 21px;
    padding-right: 75px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    height: 100%;
    max-height: 383px;
    -webkit-writing-mode: sideways-rl;
        -ms-writing-mode: sideways-rl;
            writing-mode: sideways-rl;
  }
}



/* service */

.p-service {
  padding-bottom: clamp(72px, 13vw, 156px);
}

.p-service__menu-wrap {
    margin-top: clamp(48px, 7.027818448vw, 96px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  border-bottom: 1px solid #DA1F27;
  padding-bottom: 26px;
}
@media screen and (min-width:768px) {
  .p-service__menu-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 0;
  }
}
@media screen and (min-width:1200px) {
  .p-service__menu-wrap {
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
  }
}

@media screen and (min-width:1200px) {
  .p-service__menu-link .text {
    white-space: nowrap;
  }
}

.p-service__menu-link {
  padding-block: 14px;
  padding-left: clamp(20px, 1.756954612vw, 24px);
  padding-right: clamp(24px, 2.1229868228vw, 29px);
  width: 100%;
  color: #ffffff;
  font-size: clamp(12px, 1.0248901903vw, 14px);
  line-height: 1.6428571429;
  letter-spacing: 0.05rem;
  font-weight: 600;
  background: #DA1F27;
  clip-path: polygon(20px 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
}
.p-service__menu-link:hover, .p-service__menu-link:focus, .p-service__menu-link:focus-visible, .p-service__menu-link:active, .p-service__menu-link:visited {
  color: #ffffff;
}
.p-service__menu-link:nth-child(1) {
  background: #dc2529;
}
.p-service__menu-link:nth-child(2) {
  background: #e23d2b;
}
.p-service__menu-link:nth-child(3) {
  background: #e8552d;
}
.p-service__menu-link:nth-child(4) {
  background: #ed6e2f;
}
.p-service__menu-link:nth-child(5) {
  background: #f08a30;
}
.p-service__menu-link:nth-child(6) {
  background: #f2a431;
}
.p-service__menu-link:nth-child(7) {
  background: #f2a431;
}
@media screen and (min-width:768px) {
  .p-service__menu-link {
    width: auto;
  }
  .p-service__menu-link:nth-child(odd) {
    clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
  }
  .p-service__menu-link:nth-child(even) {
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
    margin-left: -12px;
  }
}
@media screen and (min-width:1200px) {
  .p-service__menu-link:nth-child(n) {
    clip-path: polygon(20px 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
    margin-left: -12px;
  }
  .p-service__menu-link:first-child {
    clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
    margin-left: 0;
  }
  .p-service__menu-link:last-child {
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
  }
}
.p-service__menu-link .text {
  padding-right: clamp(28px, 2.3426061493vw, 32px);
  position: relative;
}
.p-service__menu-link .text::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 0;
  width: 10px;
  aspect-ratio: 10/11;
  background: url(../images/icon-arrow-menu.svg) no-repeat center center/contain;
}
@media (any-hover: hover) {
  .p-service__menu-link:hover {
    color: #ffffff;
  }
  .p-service__menu-link:hover .text::after {
    -webkit-animation: menuArrowDown 0.6s ease forwards;
            animation: menuArrowDown 0.6s ease forwards;
  }
}
@-webkit-keyframes menuArrowDown {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
  45% {
    -webkit-transform: translateY(8px);
            transform: translateY(8px);
    opacity: 0;
  }
  46% {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@keyframes menuArrowDown {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
  45% {
    -webkit-transform: translateY(8px);
            transform: translateY(8px);
    opacity: 0;
  }
  46% {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}



.p-service__body {
  padding-top: clamp(60px, 8.3333333333vw, 100px);
  max-width: 1366px;
  margin-inline: auto;
}

.p-service__section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media screen and (min-width:1024px) {
  .p-service__section {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    grid-template-columns: clamp(300px, 44.5827232796vw, 609px) 1fr;
    gap: clamp(40px, 5.6368960469vw, 77px);
  }
}
.p-service__section + .p-service__section {
  padding-top: clamp(60px, 8.78477306vw, 120px);
}
@media screen and (min-width:1024px) {
  .p-service__section:nth-of-type(2n) {
    grid-template-columns: 1fr clamp(300px, 44.5827232796vw, 609px);
    justify-self: end;
  }
}
@media screen and (min-width:1024px) {
  .p-service__section:nth-of-type(2n) .p-service__content {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
    margin-right: 0;
    margin-left: 20px;
  }
}
.p-service__section:nth-of-type(2n) .p-service__img {
  margin-right: auto;
}
@media screen and (min-width:1024px) {
  .p-service__section:nth-of-type(2n) .p-service__img {
    margin-right: 40px;
  }
}
.p-service__section:nth-of-type(2n) .p-service__img::after {
  left: auto;
  right: -40px;
}


.p-service__content {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  margin-inline: 20px;
}
@media screen and (min-width:1024px) {
  .p-service__content {
    margin-inline: 0;
    margin-right: 20px;
    max-width: 584px;
  }
}

.p-service__content-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.p-service__content-num {
  font-family: "Bebas Neue", sans-serif;
  color: #f6c3b1;
  font-size: clamp(54px, 7.3206442167vw, 100px);
  line-height: 1;
  letter-spacing: 0.03rem;
  font-weight: 700;
}

.p-service__content-desc {
    margin-top: clamp(24px, 2.9296875vw, 30px);
  color: #333333;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2.2857142857;
  font-weight: 700;
}

.p-service__lists {
  margin-top: clamp(32px, 3.90625vw, 40px);
  border-top: 1px solid rgba(218, 31, 39, 0.4);
}

.p-service__list {
  padding-block: clamp(16px, 2.1666666667vw, 26px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid rgba(218, 31, 39, 0.4);
}
@media screen and (min-width:768px) {
  .p-service__list {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 32px;
  }
}
@media screen and (min-width:1024px) {
  .p-service__list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 16px;
  }
}
@media screen and (min-width:1200px) {
  .p-service__list {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 32px;
  }
}


.p-service__list-num {
  padding: 0 5px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-family: "DM Sans", serif;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.03rem;
  font-weight: 500;
  border-radius: 5px;
  background: #DA1F27;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.p-service__list-title {
  color: #333333;
  font-size: 14px;
  line-height: 1.4285714286;
  font-weight: 700;
}

.p-service__img {
  max-width: clamp(200px, 53.3333333333vw, 400px);
  aspect-ratio: 569/456;
  margin: 0 40px 40px;
  margin-left: auto;
  -webkit-filter: drop-shadow(8px 14px 8px rgba(220, 37, 41, 0.3));
          filter: drop-shadow(8px 14px 8px rgba(220, 37, 41, 0.3));
  position: relative;
  z-index: 1;
}
@media screen and (min-width:1024px) {
  .p-service__img {
    max-width: none;
    margin-left: 40px;

  }
}
.p-service__img::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, left top, left bottom, from(#dc2529), to(#f36d3a));
  background: linear-gradient(to bottom, #dc2529 0%, #f36d3a 100%);
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}


/* job */

.p-job {
  padding-bottom: clamp(80px, 12.5vw, 150px);
}

.p-job__content {
  margin-top: clamp(72px, 9.1666666667vw, 110px);
}
.p-job__content + .p-job__content {
  margin-top: clamp(72px, 10vw, 120px);
}

.p-job__desc {
  margin-top: clamp(24px, 3.41796875vw, 35px);
  color: #333333;
  font-size: clamp(13px, 1.8229166667vw, 14px);
  line-height: 2.2857142857;
  font-weight: 700;
  max-width: 800px;
}

.p-job__table-wrap {
  margin-top: clamp(32px, 5.078125vw, 52px);
}

/* recruit */

.p-recruit {
  padding-bottom: clamp(80px, 13.0833333333vw, 157px);
}

.p-recruit__top {
  padding-top: 84px;
  padding-bottom: clamp(80px, 10vw, 120px);
  display: grid;
  position: relative;
}

.p-recruit__top-content {
    padding-top: 102px;
  padding-bottom: 104px;
    padding-inline: 20px;
  position: sticky;
  top: 120px;
  -ms-flex-item-align: start;
      align-self: start;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  max-width: 522px;
  margin-inline: auto;
  z-index: 2;
}

.p-recruit__top-en {
  font-family: "DM Sans", serif;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0.03rem;
  font-weight: 700;
  background: -webkit-gradient(linear, left top, right top, from(#dc2529), to(#f36d3a));
  background: linear-gradient(to right, #dc2529 0%, #f36d3a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
    text-align: center;
}

.p-recruit__top-ja {
  margin-top: clamp(16px, 2.63671875vw, 27px);
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 2.2;
  letter-spacing: 0.03rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
  background: -webkit-gradient(linear, left top, right top, from(#dc2529), to(#f36d3a));
  background: linear-gradient(to right, #dc2529 0%, #f36d3a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  text-align: center;
  margin-inline: auto;
}

.p-recruit__top-texts {
  margin-top: clamp(36px, 4.3333333333vw, 52px);
  margin-inline: auto;
}

.p-recruit__top-text {
  color: #333333;
  font-size: 14px;
  line-height: 2.2857142857;
  font-weight: 700;
}
@media screen and (min-width:768px) {
  .p-recruit__top-text {
    text-align: center;
  }
}
.p-recruit__top-text + .p-recruit__top-text {
  margin-top: 20px;
}
.p-recruit__top-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.p-recruit__top-img {
  position: absolute;
  -webkit-filter: drop-shadow(8px 14px 8px rgba(220, 37, 41, 0.3));
          filter: drop-shadow(8px 14px 8px rgba(220, 37, 41, 0.3));
}
.p-recruit__top-img.img-top-left {
  top: 117px;
  left: clamp(40px, 16.1054172767vw, 300px);
  width: clamp(80px, 12.0058565154vw, 192px);
  aspect-ratio: 164/114;
}
@media screen and (min-width:1367px) {
  .p-recruit__top-img.img-top-left {
    left: calc(220px + (100vw - 1366px) / 2);
  }
}
.p-recruit__top-img.img-top-right {
  top: clamp(40px, 6.149341142vw, 84px);
  right: 0;
  width: clamp(100px, 19.9853587116vw, 320px);
  aspect-ratio: 273/330;
}
.p-recruit__top-img.img-bottom-left {
  bottom: clamp(20px, 8.78477306vw, 120px);
  left: 0;
  width: clamp(120px, 20.3513909224vw, 320px);
  aspect-ratio: 278/354;
}
.p-recruit__top-img.img-bottom-right {
  bottom: clamp(60px, 9.0043923865vw, 123px);
  right: clamp(40px, 8.2723279649vw, 200px);
  width: clamp(80px, 16.6910688141vw, 260px);
  aspect-ratio: 228/152;
}
@media screen and (min-width:1367px) {
  .p-recruit__top-img.img-bottom-right {
    right: calc(113px + (100vw - 1366px) / 2);
  }
}

.p-personal {
  padding-top: clamp(60px, 7.8125vw, 80px);
  padding-bottom: clamp(72px, 8.0527086384vw, 110px);
}

.p-personal__body {
  margin-top: clamp(32px, 4.8828125vw, 50px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4.7584187408vw, 65px);
    position: relative;

}
@media screen and (min-width:768px) {
  .p-personal__body {
    grid-template-columns: clamp(80px, 29.6486090776vw, 405px) 1fr;
  }
}

.p-personal__boxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.6666666667vw, 32px);
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}
@media screen and (min-width:1024px) {
  .p-personal__boxes {
        padding-top: clamp(20px, 3.4407027818vw, 47px);
    grid-template-columns: repeat(2, 1fr);
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
  }
}

.p-personal__box {
  padding: 25px 27px 29px;
  background: #fdf7f7;
  border: 1px solid #f4aaae;
  border-radius: 5px;
}
.p-personal__box:nth-of-type(2) .p-personal__box-title, .p-personal__box:nth-of-type(3) .p-personal__box-title {
  color: #F36D3A;
}
.p-personal__box:nth-of-type(2) .p-personal__box-title::before, .p-personal__box:nth-of-type(3) .p-personal__box-title::before {
  background: url(../images/icon-check-orange.svg) no-repeat center center/contain;
}

.p-personal__box-title {
  padding-left: 32px;
  padding-bottom: clamp(16px, 2.1484375vw, 22px);
  color: #DA1F27;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1;
  font-weight: 700;
  border-bottom: 1px solid #9a9a9a;
  position: relative;
}
.p-personal__box-title::before {
  content: "";
  position: absolute;
  width: 21px;
  height: 17px;
  top: 3px;
  left: 0;
  background: url(../images/icon-check-red.svg) no-repeat center center/contain;
}
@media screen and (min-width:1200px) {
  .p-personal__box-title {
    margin-right: 17px;
  }
}

.p-personal__box-text {
  padding-top: clamp(16px, 2.3333333333vw, 28px);
  color: #333333;
  font-size: clamp(13px, 1.3671875vw, 14px);
  line-height: 2.2857142857;
  font-weight: 700;
}


.p-personal__img {
  max-width: min(100% - 40px, 420px);
  margin-inline: auto;
  aspect-ratio: 407/547;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  -webkit-filter: drop-shadow(8px 14px 8px rgba(220, 37, 41, 0.3));
          filter: drop-shadow(8px 14px 8px rgba(220, 37, 41, 0.3));
}
@media screen and (min-width:768px) {
  .p-personal__img {
        max-width: none;
    margin-inline: 0;
    position: sticky;
    top: 120px;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
  }
}
@media screen and (min-width:1200px) {
  .p-personal__img {
    position: relative;
    top: 0;
  }
}

.p-recruit__body {
  margin-top: clamp(32px, 5.859375vw, 60px);
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  max-width: 480px;
  margin-inline: auto;
}
@media screen and (min-width:1024px) {
  .p-recruit__body {
    max-width: none;
    margin-inline: 0;
    display: block;
  }
}

.p-recruit__link {
  width: 100%;
  color: #ffffff;
  background: #DA1F27;
  padding-top: clamp(32px, 5.3440702782vw, 70px);
  padding-bottom: clamp(32px, 4.7584187408vw, 65px);
}
@media (any-hover: hover) {
  .p-recruit__link:hover {
    color: #ffffff;
  }
}
.p-recruit__link-body {
  padding-left: clamp(20px, 5.270863836vw, 72px);
  padding-right: 20px;
  max-width: 425px;
}


.p-recruit__link-en {
  font-family: "DM Sans", serif;
  font-size: clamp(24px, 3.074670571vw, 36px);
  line-height: 1;
  letter-spacing: 0.03rem;
  font-weight: 700;
}

.p-recruit__link-ja {
  margin-top: 14px;
  font-size: clamp(14px, 1.1713030747vw, 16px);
  line-height: 1.25;
  letter-spacing: 0.03rem;
  font-weight: 700;
}

.p-recruit__link-desc {
  color: #ffffff;
  font-size: 14px;
  line-height: 2.2857142857;
  margin-top: 25px;
  font-weight: 700;
  padding-right: clamp(60px, 6.2957540264vw, 86px);
  position: relative;
}
.p-recruit__link-desc::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: clamp(40px, 3.8067349927vw, 52px);
  aspect-ratio: 1/1;
  background: url(../images/icon-btn-orange.svg) no-repeat center center/contain;
}

.p-recruit__img {
  position: relative;
  -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1;
  width: 100%;
  aspect-ratio: 586/300;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 15.6996587031% 100%);
    height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
@media screen and (min-width:1024px) {
  .p-recruit__img {
    position: absolute;
    top: 0;
    right: 0;
    width: clamp(200px, 48.8333333333vw, 586px);
    max-height: 100%;
    max-width: 586px;
  }
}
.p-recruit__img::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 15.6996587031% 100%);
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}



/* company */

.p-company {
  padding-bottom: clamp(80px, 12.4166666667vw, 149px);
}

.p-policy {
  padding-block: clamp(60px, 10vw, 120px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media screen and (min-width:768px) {
  .p-policy {
    grid-template-columns: auto clamp(240px, 31.9912152269vw, 437px);
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: end;
    gap: clamp(24px, 5.1244509517vw, 70px);
    max-width: 989px;
    margin-inline: auto;
  }
}

.p-company__content + .p-company__content {
  border-top: 1px solid #DA1F27;
  padding-top: clamp(60px, 7.8125vw, 80px);
}

.p-policy__content {
  max-width: min(100%, 560px);
}
@media screen and (min-width:768px) {
  .p-policy__content {
    max-width: 482px;
  }
}

.p-policy__title-en {
  font-family: "DM Sans", serif;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0.03rem;
  font-weight: 700;
  background: -webkit-gradient(linear, left top, right top, from(#dc2529), to(#f36d3a));
  background: linear-gradient(to right, #dc2529 0%, #f36d3a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@media screen and (min-width:768px) {
  .p-policy__title-en {
    padding-top: 5px;
  }
}

.p-policy__title-ja {
  margin-top: clamp(16px, 2.63671875vw, 27px);
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 2.2;
  letter-spacing: 0.03rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
  background: -webkit-gradient(linear, left top, right top, from(#dc2529), to(#f36d3a));
  background: linear-gradient(to right, #dc2529 0%, #f36d3a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.p-policy__texts {
  margin-top: clamp(36px, 5.078125vw, 52px);
}

.p-policy__text {
  color: #333333;
  font-size: clamp(13px, 1.3671875vw, 14px);
  line-height: 2.2857142857;
  font-weight: 700;
}
.p-policy__text + .p-policy__text {
  margin-top: 20px;
}

.p-policy__img {
  margin-inline: auto;
  aspect-ratio: 437/412;
  -webkit-filter: drop-shadow(8px 14px 8px rgba(220, 37, 41, 0.3));
          filter: drop-shadow(8px 14px 8px rgba(220, 37, 41, 0.3));
}
@media screen and (min-width:768px) {
  .p-policy__img {
    margin-inline: 0;
  }
}

.p-comp {
  padding-bottom: clamp(80px, 9.75vw, 117px);
}

.p-comp__table-wrap {
  margin-top: clamp(40px, 4.78515625vw, 49px);
  padding-block: clamp(24px, 4.5833333333vw, 55px);
  padding-inline: clamp(20px, 5.8565153734vw, 80px);
  border: 1px solid #d4cece;
  border-radius: 5px;
}

.p-comp__table {
  width: 100%;
}

.p-comp__table-row {
  padding-block: clamp(16px, 2.44140625vw, 25px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  border-bottom: 1px solid #e7e7e7;
}
@media screen and (min-width:768px) {
  .p-comp__table-row {
    grid-template-columns: 98px 1fr;
    gap: 0;
  }
}
.p-comp__table-row:last-child {
  border-bottom: none;
}

.p-comp__table-title {
  color: #DA1F27;
  font-size: 14px;
  font-weight: 700;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.p-comp__table-text {
  font-size: 14px;
  line-height: 2.2857142857;
  font-weight: 500;
}
@media screen and (min-width:768px) {
  .p-comp__table-text {
    padding-left: clamp(20px, 6.149341142vw, 84px);
  }
}

.p-history {
  padding-bottom: clamp(60px, 10vw, 120px);
}

.p-message__img {
  margin-top: clamp(32px, 4.8828125vw, 50px);
  width: 100%;
  aspect-ratio: 1166/400;
  -webkit-filter: drop-shadow(8px 14px 8px rgba(220, 37, 41, 0.3));
          filter: drop-shadow(8px 14px 8px rgba(220, 37, 41, 0.3));
}

.p-message__body {
  margin-top: clamp(32px, 4.8828125vw, 50px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media screen and (min-width:1024px) {
  .p-message__body {
    grid-template-columns: repeat(2, 1fr);
    -webkit-column-gap: clamp(24px, 3.4407027818vw, 47px);
       -moz-column-gap: clamp(24px, 3.4407027818vw, 47px);
            column-gap: clamp(24px, 3.4407027818vw, 47px);
  }
}

@media screen and (min-width:1024px) {
  .p-message__texts {
    max-width: 558px;
  }
}

.p-message__text {
  color: #333333;
  font-size: 14px;
  line-height: 2.2857142857;
  font-weight: 700;
}
.p-message__text + .p-message__text {
  margin-top: 20px;
}

.p-message__name {
  margin-top: clamp(32px, 4.00390625vw, 41px);
  padding-block: 3px 4px;
  padding-left: 25px;
  border-left: 3px solid #DA1F27;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  color: #333333;
  font-size: 14px;
  font-weight: 500;
}
.p-message__name .name-bottom {
  margin-top: 9px;
}

/* news */

.p-news {
  padding-top: clamp(16px, 5.078125vw, 52px);
  padding-bottom: clamp(92px, 11.4934114202vw, 157px);
}

.p-news__categories {
  margin-bottom: clamp(40px, 10.546875vw, 81px);
  max-width: 1166px;
  margin-inline: auto;
}

.p-news__categories > .webgene-blog {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
@media screen and (min-width:768px) {
  .p-news__categories > .webgene-blog {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 0;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
.p-news__categories > .webgene-blog .webgene-item {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-news__categories > .webgene-blog .webgene-item {
    margin-inline: 0;
  }
}
.p-news__categories > .webgene-blog .webgene-item .c-menu__link .text {
  display: block;
}
.p-news__categories > .webgene-blog .webgene-item .c-menu__link {
  border-top: 1px solid #DA1F27;
  color: #DA1F27;
}
@media screen and (min-width:768px) {
  .p-news__categories > .webgene-blog .webgene-item .c-menu__link {
    border: none;
    padding-left: clamp(20px, 2.196193265vw, 30px);
  }
  .p-news__categories > .webgene-blog .webgene-item .c-menu__link::after {
    content: "";
  }
}
.p-news__categories > .webgene-blog .webgene-item .c-menu__link .text::after {
  background-image: url(../images/icon-menu-box-1.svg);
}
.p-news__categories > .webgene-blog .webgene-item:first-child .c-menu__link {
  border: none;
}
@media screen and (min-width:768px) {
  .p-news__categories > .webgene-blog .webgene-item:first-child .c-menu__link {
    padding-left: 0;
  }
  .p-news__categories > .webgene-blog .webgene-item:first-child .c-menu__link::after {
    content: none;
  }
}
.p-news__categories > .webgene-blog .webgene-item:nth-child(2) .c-menu__link {
  color: #e0432c;
}
.p-news__categories > .webgene-blog .webgene-item:nth-child(2) .c-menu__link .text::after {
  background-image: url(../images/icon-menu-box-2.svg);
}
.p-news__categories > .webgene-blog .webgene-item:nth-child(n+3) .c-menu__link {
  color: #e55f30;
}
.p-news__categories > .webgene-blog .webgene-item:nth-child(n+3) .c-menu__link .text::after {
  background-image: url(../images/icon-menu-box-3.svg);
}

.p-news__items {
  max-width: 1166px;
  margin-inline: auto;
}
.p-news__items .webgene-item:nth-of-type(n + 2) {
  margin-top: 10px;
}

.p-news__item {
  padding-block: clamp(20px, 2.734375vw, 28px);
  padding-inline: clamp(20px, 3.3333333333vw, 40px);
  background: #fdf7f7;
  border-radius: 5px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-right: 62px;
  position: relative;
}
.p-news__item::after {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: clamp(20px, 3.3333333333vw, 40px);
  width: 22px;
  aspect-ratio: 1/1;
  background: url(../images/icon-arrow-news.svg) no-repeat center center/contain;
}
@media screen and (min-width:1024px) {
  .p-news__item {
    grid-template-columns: auto 1fr;
    gap: 29px;
  }
}

.p-news__item-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}

.p-news__item-date {
  font-family: "Montserrat", sans-serif;
  color: #43423f;
  font-size: clamp(13px, 1.3333333333vw, 16px);
}

.p-news__item-tag span {
  padding: 3px 5px;
  color: #ffffff;
  font-size: 12px;
  line-height: 0.8333333333;
  letter-spacing: 0.03em;
  font-weight: 500;
  background: #DA1F27;
  border-radius: 5px;
  text-align: center;
}

.p-news__item-title {
  font-size: clamp(13px, 1.5625vw, 16px);
  line-height: 1.875;
  letter-spacing: 0.03em;
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.webgene-pagination {
  margin-top: clamp(40px, 7.8125vw, 80px);
  font-size: 14px;
  justify-self: center;
  grid-column: 1/-1;
}

.webgene-pagination a:hover {
  opacity: 0.7;
}

.webgene-pagination ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  gap: 10px;
  -webkit-padding-start: 0;
          padding-inline-start: 0;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.webgene-pagination ul .number a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  line-height: 2.2;
  border-radius: 50%;
  background-color: #ffffff;
  color: #372710;
}

.webgene-pagination ul .number.selected a {
  background: #DA1F27;
  color: #ffffff;
  border-radius: 50%;
}

li.next,
li.prev {
  position: relative;
}

li.next a,
li.prev a {
  display: block;
  height: 40px;
  width: 40px;
  padding: 2px;
  position: relative;
}

li.prev:after,
li.next:after {
  pointer-events: none;
  content: "";
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 40px;
  height: 40px;
}

li.prev:after {
  background-image: url("../images/prev.png");
  left: 0;
}

li.next:after {
  background-image: url("../images/next.png");
  right: 0;
}

@media screen and (min-width: 768px) {
  li.next {
    margin-left: 30px;
  }
  li.prev {
    margin-right: 30px;
  }
  li.next a,
  li.prev a {
    margin-top: 3px;
    width: auto;
    padding-block: 10px;
    z-index: 10;
    line-height: 1;
  }
  li.prev a {
    padding-left: 48px;
    color: #919191;
  }
  li.next a {
    padding-right: 48px;
    color: #333333;
  }
  li.prev:after,
  li.next:after {
    pointer-events: auto;
  }
}

/* detail */

.p-detail {
  padding-top: clamp(80px, 10vw, 120px);
  padding-bottom: clamp(80px, 12.5vw, 150px);
}

.detail {
  font-family: "Noto Sans JP", sans-serif;
  max-width: 924px;
  margin-inline: auto;
}
.detail .post-detail__content p {
  font-weight: 500;
}

.p-news__item-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}
.post-ttl {
  margin-top: 58px;
  font-size: clamp(16px, 2.1484375vw, 22px);
  line-height: 1.5;
  letter-spacing: 1.32px;
  font-weight: 500;
  padding-bottom: 21px;
  border-bottom: 1.5px solid #d0d0d0;
  padding-left: 29px;
  position: relative;
}

.post-ttl::before {
  content: "";
  position: absolute;
  background: #DA1F27;
  width: 8px;
  height: 57%;
  top: 6px;
  left: 0;
}

.post-detail__content img,
.detail img {
  margin: 40px auto 10px;
  margin-inline: auto;
  display: block;
  border-radius: 5px;
  width: auto;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

@media screen and (min-width: 768px) {
  .post-detail__content img,
  .detail img {
    margin: 65px auto;
  }
}
.webgene-item-main-image {
  margin-inline: auto;
}

.detail-text {
  padding-top: 46px;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0px;
  line-height: 1.8571428571;
}
.detail-text p + p {
  padding-top: 30px;
}

.post-detail__content h4 {
  margin-top: 83px;
  font-size: 18px;
  letter-spacing: 0.06em;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #DA1F27;
  margin-bottom: 40px;
}

.post-detail__content > h3:first-child,
.post-detail__content > h2:first-child {
  margin-top: 0;
}

.post-detail__content h3,
.post-detail__content h2 {
  margin-top: 53px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
  .post-detail__content h3,
  .post-detail__content h2 {
    gap: 17px;
  }
}
.post-detail__content h3::before,
.post-detail__content h2::before {
  content: "";
  width: 16px;
  height: 17px;
  border-radius: 3px;
  background: #DA1F27;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -ms-flex-item-align: start;
      align-self: start;
  margin-top: 6px;
}

.detail__btn {
  margin-top: 51px;
  display: block;
  min-width: 140px;
  background: #DA1F27;
  border: 1px solid #DA1F27;
  padding: 8.5px 30px;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.75px;
  font-weight: 600;
  color: #ffffff;
  border-radius: 42px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (min-width:768px) {
  .detail__btn {
    min-width: 183px;
    padding: 12.5px 52px;
    font-size: 15px;
  }
}
@media (any-hover: hover) {
  .detail__btn:hover {
    background: #ffffff;
    color: #DA1F27;
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

/* contact */

.p-contact__body {
  padding-top: clamp(80px, 9.0833333333vw, 109px);
  padding-bottom: clamp(60px, 13.3333333333vw, 160px);
}

.contact {
  font-family: "Noto Sans JP", sans-serif;
  color: #555555;
  max-width: 924px;
  margin-inline: auto;
}

.contact__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
}

.contact__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 17px;
}
.contact__item + .contact__item {
  margin-top: 37px;
}

.col-md-4,
.col-md-8 {
  padding: 0;
  max-width: 100%;
  -webkit-box-flex: unset;
      -ms-flex: unset;
          flex: unset;
}

.row {
  margin: 0;
}

.contact__item label {
  font-size: 14px;
  line-height: 1.3571428571;
}

.contact__item > .formTh > .requiredText {
  background: #d80e0e;
  width: 32px;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  padding: 3px 2px;
  margin-left: 10px;
}

.contact__item > .formTh > .anyText {
  background: #5c5c5c;
  width: 32px;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  padding: 3px 2px;
  margin-left: 10px;
}

.contact__item > .formTd > textarea {
  height: 197px;
}

:focus-visible {
  outline: #284038 auto 1px;
}

.privacy-policy {
  margin-top: 50px;
  height: 155px;
  padding: 30px 20px;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  background: #f6f6f6;
  overflow-y: scroll;
  width: 100%;
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .privacy-policy {
    padding: 8px 30px;
  }
}
.privacy-policy__text.privacy-policy__text--first {
  margin: 0;
}

.privacy-policy__item {
  max-width: 828px;
}

.privacy-policy__item + .privacy-policy__item {
  margin-top: 52px;
}

.privacy-policy__title {
  font-size: 18px;
  letter-spacing: 0.006em;
  color: #464646;
  padding: 0 0 15px 0;
  border-bottom: 1.5px solid #d0d0d0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 28px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.privacy-policy__title::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: #272727;
}

.privacy-policy__text {
  margin-top: 20px;
  font-size: 14px;
  line-height: 2.2;
  color: #464646;
}

.privacy-policy__text-bottom {
  margin-top: -16px;
  font-size: 14px;
  line-height: 2.0571428571;
}

.privacy-policy__text-link {
  text-decoration: underline;
}

.privacy-policy__text-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.privacy-policy__text-link:hover {
  opacity: 0.6;
  text-decoration: underline;
}

.privacy-policy__check {
  margin-top: 20px;
}

.formBtn {
  margin: 60px auto 0;
  padding: 13px 0;
  border: 1px solid #DA1F27;
  width: 183px;
  background: #DA1F27;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.3125;
  letter-spacing: 0.75px;
  font-weight: 600;
  text-align: center;
  border-radius: 30px;
}

.formBtn:hover {
  background: transparent;
  color: #DA1F27;
}

.privChek {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}

.privacyLabel {
  margin-bottom: 1px;
  font-size: 14px;
}

.privacyformError {
  margin-top: -36.5px !important;
}

.contact__item > .formTd > input,
.contact__item > .formTd > textarea,
.contact__item > .formTd > select {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font: inherit;
  color: inherit;
  vertical-align: top;
  width: 100%;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  background: #f6f6f6;
  padding: 15px 14px 15px;
}

.contact__item > .formTd > select {
  width: min(320px, 100%);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("../images/arrow-down.svg");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 20px;
  background-size: 12px;
}

.contact__item > .formTd > input::-webkit-input-placeholder, .contact__item > .formTd > textarea::-webkit-input-placeholder, .contact__item > .formTd > div > select::-webkit-input-placeholder {
  color: #5d5d5d;
}

.contact__item > .formTd > input::-moz-placeholder, .contact__item > .formTd > textarea::-moz-placeholder, .contact__item > .formTd > div > select::-moz-placeholder {
  color: #5d5d5d;
}

.contact__item > .formTd > input:-ms-input-placeholder, .contact__item > .formTd > textarea:-ms-input-placeholder, .contact__item > .formTd > div > select:-ms-input-placeholder {
  color: #5d5d5d;
}

.contact__item > .formTd > input::-ms-input-placeholder, .contact__item > .formTd > textarea::-ms-input-placeholder, .contact__item > .formTd > div > select::-ms-input-placeholder {
  color: #5d5d5d;
}

.contact__item > .formTd > input::placeholder,
.contact__item > .formTd > textarea::placeholder,
.contact__item > .formTd > div > select::placeholder {
  color: #5d5d5d;
}

input[type=radio] {
  width: 1px;
  height: 1px;
  position: absolute;
  clip: rect(0, 0, 0, 0);
}

.d-inline:nth-of-type(n + 2) {
  padding-left: 20px;
}

/* ラベルのデザイン */
.checkbox-label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  font-size: 16px;
  position: relative;
  padding-left: 30px; /* ラジオボタン用のスペースを確保 */
}

/* カスタムラジオボタンの作成 */
.checkbox-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #333333;
  background-color: #f6f6f6;
  -webkit-transition: background-color 0.2s, border-color 0.2s;
  transition: background-color 0.2s, border-color 0.2s;
}

/* 選択時のデザイン */
input[type=radio]:checked + .checkbox-label::before {
  background-color: #DA1F27;
  border-color: #DA1F27;
  -webkit-box-shadow: inset 0 0 0 4px #fff;
          box-shadow: inset 0 0 0 4px #fff;
}

.p-contact-after__body {
  padding-top: 50px;
  padding-bottom: 50px;
}
@media screen and (min-width:768px) {
  .p-contact-after__body {
    padding-top: 150px;
    padding-bottom: 150px;
  }
}

.p-contact-after__text {
  color: #333333;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 1px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .p-contact-after__text {
    font-size: 18px;
  }
}

.date-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}
@media screen and (min-width:768px) {
  .date-flex {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}
.date-flex select {
  width: 57px;
  height: 40px;
  border: 1px solid #d6d6d6;
  background:  #f6f6f6;
  border-radius: 5px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.4615384615;
  letter-spacing: 0.65px;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  margin-right: 5px;
}
.date-flex + .date-flex {
  margin-top: 5px;
}

.date-name {
  font-size: 13px;
  line-height: 1.4615384615;
  letter-spacing: 0.65px;
  color: #333333;
}

.fileArea input {
  padding: 0;
  border: unset;
  background: unset;
  font-size: 13px;
  width: 100%;
}
.fileArea input[type=file]::-webkit-file-upload-button {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  background: #f6f6f6;
  color: #272727;
  padding: 20px 15px 20px;
  display: block;
  cursor: pointer;
}
.fileArea input[type=file]::file-selector-button {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  background: #f6f6f6;
  color: #272727;
  padding: 20px 15px 20px;
  display: block;
  cursor: pointer;
}
.fileArea input[type=file]::-webkit-file-upload-button:hover {
  background: #fbfbfb;
}
.fileArea input[type=file]::file-selector-button:hover {
  background: #fbfbfb;
}

.fileCaution {
  margin-top: 15px;
  font-size: 13px;
  line-height: 1.6923076923;
}

.fileInput {
  width: 100%;
  height: inherit;
  font-size: 14px;
  line-height: 1;
}

.fileInput::-webkit-file-upload-button {
  width: 200px;
  height: 50px;
  color: #272727;
  background: #f7f7f7;
  font-size: 14px;
  font-weight: 600;
  font-weight: 400;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  cursor: pointer;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.fileInput::file-selector-button {
  width: 200px;
  height: 50px;
  color: #272727;
  background: #f7f7f7;
  font-size: 14px;
  font-weight: 600;
  font-weight: 400;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  cursor: pointer;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.fileCaution {
  color: #969696;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4166666667;
  margin-top: 8px;
}

.fileInput {
  text-align: start !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  width: 100%;
  font-size: 12px;
  color: #333333;
  white-space: pre-line !important;
  line-height: 1.5 !important;
  position: relative;
}

.fileInput::-webkit-file-upload-button {
  display: block !important;
  margin-bottom: 5px !important;
  width: 100%;
  height: 60px;
  color: transparent !important;
  background: #f7f7f7;
  font-size: 14px;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  cursor: pointer !important;
  white-space: normal !important;
}

.fileInput::file-selector-button {
  display: block !important;
  margin-bottom: 5px !important;
  width: 100%;
  height: 60px;
  color: transparent !important;
  background: #f7f7f7;
  font-size: 14px;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  cursor: pointer !important;
  white-space: normal !important;
}

/* fileAreaに疑似要素でカスタムテキストを追加 */
.fileArea {
  position: relative;
}

.fileArea::before {
  content: "ファイルを選択するまたはここにドラッグ＆ドロップ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #272727;
  font-size: clamp(11px, 1.03vw, 14px);
  font-weight: 600;
  pointer-events: none;
  z-index: 1;
}

/* input要素内に改行を挿入 */
.fileInput::after {
  content: "\a";
  white-space: pre;
}

.selectArea {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}