.font-poppins {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
}

.font-verdana {
  font-family: 'Verdana', sans-serif;
}

.hero-banner-slider__track {
    transform: translate3d(0, 0, 0);
    transition: transform 1000ms ease-in-out;
    will-change: transform;
}

.hero-banner-slider__slide {
    flex: 0 0 100vw;
}

@media (prefers-reduced-motion: reduce) {
    .hero-banner-slider__track {
        transition: none;
    }
}

/* Custom CSS */
body {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    line-height: 28px;
}

.shadow-header {
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.1));
}

.shadow-news {
    box-shadow: 0 2px 20px 1px rgba(0, 0, 0, 0.1);
}

.shadow-service {
    box-shadow: 0px 2px 20px 1px rgba(0, 0, 0, 0.1);
}

.header-menu a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    background: #524E4E;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 0;
    opacity: 0;
    transition: all 0.3s;
}

.header-menu a:hover::before {
    width: 100%;
    opacity: 1;
}

.link-item .circle::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background: #171B60;
    transition: all 0.4s;
    border-radius: 50%;
    z-index: 20;
}

.link-item .circle > div:last-child {
    opacity: 0;
}

.link-item:hover .circle > div:first-child {
    opacity: 0;
}

.link-item:hover .circle > div:last-child {
    opacity: 1;
    z-index: 30;
}

.link-item:hover .circle::after {
    width: 100%;
    height: 100%;
}

.link-item-orange .circle::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  background: #FFF;
  transition: all 0.4s;
  border-radius: 50%;
  z-index: 20;
}

.link-item-orange .circle > div:last-child {
  opacity: 0;
}

.link-item-orange:hover .circle > div:first-child {
  opacity: 0;
}

.link-item-orange:hover .circle > div:last-child {
  opacity: 1;
  z-index: 30;
}

.link-item-orange:hover .circle::after {
  width: 100%;
  height: 100%;
}

#page-top > div:last-child {
    opacity: 0;
}

#page-top:hover > div:first-child {
    opacity: 0;
}

#page-top:hover > div:last-child {
    opacity: 1;
    z-index: 30;
}

#page-top::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background: #6C1C20;
    transition: all 0.4s;
    border-radius: 50%;
    border: 1px solid #6C1C20;
    z-index: 20;
}

#page-top:hover::after {
    width: 100%;
    height: 100%;
}
#hamburger > span > span {
  transition: all 0.4s;
  position: absolute;
}

#hamburger > span > span:first-child {
  top: 2px;
}

#hamburger > span > span:nth-child(2) {
  top: 8px;
}

#hamburger > span > span:last-child {
  top: 14px;
}

#hamburger.active > span > span:first-child {
  transform: translateY(6px) rotate(45deg);
}

#hamburger.active > span > span:nth-child(2) {
  opacity: 0;
}

#hamburger.active > span > span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

/* Splide custom arrow */
.splide__custom-arrow--prev, .splide__custom-arrow--next {
    width: 100px !important;
    height: 100px !important;
    border: 1px solid #E0E0E0 !important;
    margin-left: 85px !important;
    margin-right: 85px !important;
}

.splide__arrow svg {
  fill: #F9671E !important;
  height: 26px !important;
  width: 26px !important;
}

/* <= 375px (smartphone) */
@media (max-width: 375px) {
    .splide__custom-arrow--prev,
    .splide__custom-arrow--next {
        width: 50px !important;
        height: 50px !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
}

/* <= 768px (tablet) */
@media (min-width: 376px) and (max-width: 768px) {
    .splide__custom-arrow--prev,
    .splide__custom-arrow--next {
        width: 60px !important;
        height: 60px !important;
        margin-left: 15px !important;
        margin-right: 15px !important;
    }
}

@media (min-width: 769px) and (max-width: 960px) {
    .splide__custom-arrow--prev,
    .splide__custom-arrow--next {
        width: 70px !important;
        height: 70px !important;
        margin-left: 25px !important;
        margin-right: 25px !important;
    }
}

@media (min-width: 961px) and (max-width: 1024px) {
    .splide__custom-arrow--prev,
    .splide__custom-arrow--next {
        width: 80px !important;
        height: 80px !important;
        margin-left: 35px !important;
        margin-right: 35px !important;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .splide__custom-arrow--prev,
    .splide__custom-arrow--next {
        width: 90px !important;
        height: 90px !important;
        margin-left: 55px !important;
        margin-right: 55px !important;
    }
}

.bg-recruit {
  background: url('../img/homepage/bg-recruit.webp') center center / cover no-repeat;
}

.bg-business {
  background: url('../img/business/bg-business.webp') center center / cover no-repeat;
}

.bg-news {
  background: url('../img/homepage/bg-news.webp') center center / cover no-repeat;
}

.box-shadow-custom {
  background: #FFFFFF;
  box-shadow: 0 5px 5px 3px rgba(0, 0, 0, 0.2);
}

@keyframes float-in-left {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-image-left,
.animate-image-right,
.animate-text-left,
.animate-text-right,
.animate-text-bottom {
  opacity: 0;
}

@keyframes imageFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes imageFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes textFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes textFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes textFromBottom {
  from {
    transform: translateY(50%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.is-visible.animate-image-left {
  animation: imageFromLeft 1.5s ease-out forwards;
}

.is-visible.animate-image-right {
  animation: imageFromRight 1.5s ease-out forwards;
}

.about-strength-visual.animate-image-left,
.about-strength-visual.animate-image-right {
  opacity: 0;
}

@keyframes aboutStrengthFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 1;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes aboutStrengthFromRight {
  from {
    transform: translateX(100%);
    opacity: 1;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.is-visible.about-strength-visual.animate-image-left {
  animation: aboutStrengthFromLeft 1.5s ease-out forwards;
}

.is-visible.about-strength-visual.animate-image-right {
  animation: aboutStrengthFromRight 1.5s ease-out forwards;
}

.is-visible.animate-text-left {
  animation: textFromLeft 1s ease-out forwards;
  animation-delay: 0.5s;
}

.is-visible.animate-text-right {
  animation: textFromRight 1s ease-out forwards;
  animation-delay: 0.5s;
}

.is-visible.animate-text-bottom {
  animation: textFromBottom 1s ease-out forwards;
  animation-delay: 0.5s;
}

.is-visible.delay-1 {
  animation-delay: 0.15s !important;
}

.is-visible.delay-2 {
  animation-delay: 0.45s !important;
}

.is-visible.delay-3 {
  animation-delay: 0.8s !important;
}

.no-js .animate-image-left,
.no-js .animate-image-right,
.no-js .animate-text-left,
.no-js .animate-text-right,
.no-js .animate-text-bottom,
.no-js .about-strength-visual.animate-image-left,
.no-js .about-strength-visual.animate-image-right {
    opacity: 1;
    animation: none !important;
    transform: none !important;
}

.no-js .mask-wrap .anim-item {
    opacity: 1;
    transform: none !important;
    transition: none !important;
}

.no-js .splide__track {
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
}

.no-js .splide {
    visibility: visible !important;
}

.no-js .splide__list {
    display: flex !important;
    gap: 0.75rem;
    transform: none !important;
}

.no-js .splide__slide {
    flex: 0 0 auto !important;
}

.no-js [data-slider-prev],
.no-js [data-slider-next] {
    display: none !important;
}

.mask-wrap {
    overflow: hidden;
    display: block;
    position: relative;
}

.anim-item {
    opacity: 0;
    transition: transform 1s cubic-bezier(0.215, 0.610, 0.355, 1.000), opacity 1s ease;
}

.from-bottom {
    transform: translateY(100%);
}

.from-left {
    transform: translateX(-100%);
}

.from-right {
    transform: translateX(100%);
}

.mask-wrap.is-visible .anim-item {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.5s; }
.delay-3 { transition-delay: 1s; }
.delay-4 { transition-delay: 1.5s; }
.delay-5 { transition-delay: 2s; }

.time-fast {
    transition-duration: 0.1s;
}

.time-normal {
    transition-duration: 1s;
}

.time-slow {
    transition-duration: 1.5s;
}

.time-slow2 {
    transition-duration: 2s;
}

.time-slow3 {
    transition-duration: 3s;
}

.insta-holographic {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.bg-page-gradient {
    background: linear-gradient(88deg, #FFFDF6 0%, #E7F7FB 50%);
}

.mw-contact-form {
    color: #101828;
}

.mw-contact-form p:empty {
    display: none;
}

.mw-contact-form .mw-contact-label br {
    display: none;
}

.mw-contact-required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 5px 12px;
    border-radius: 9999px;
    background: #FF8B73;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

.mw-contact-control input[type="text"],
.mw-contact-control input[type="email"],
.mw-contact-control input[type="tel"],
.mw-contact-control textarea,
.mw_wp_form_confirm .mw-contact-control > span {
    display: block;
    width: 100%;
    min-height: 60px;
    padding: 16px 18px;
    border: 1px solid #D5D8DE;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 6px 24px rgba(30, 52, 90, 0.06);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    color: inherit;
    outline: none;
}

.mw-contact-control textarea,
.mw-contact-input--textarea,
.mw_wp_form_confirm .mw-contact-control--textarea > span {
    min-height: 100px;
    resize: vertical;
}

.mw-contact-control input::placeholder,
.mw-contact-control textarea::placeholder {
    color: #9CA3AF;
}

.mw-contact-control input:focus,
.mw-contact-control textarea:focus {
    border-color: #171B60;
    box-shadow: 0 0 0 4px rgba(23, 27, 96, 0.1);
}

.mw-contact-choices .mwform-radio-field,
.mw-contact-choices .mwform-radio-field label {
    display: flex !important;
    align-items: flex-start;
    gap: 14px;
}

.mw-contact-choices .mwform-radio-field {
    margin: 0 0 16px !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
    color: inherit;
}

.mw-contact-choices .mwform-radio-field:last-child {
    margin-bottom: 0 !important;
}

.mw-contact-radio {
    -webkit-appearance: none;
    appearance: none;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    margin: 2px 0 0 !important;
    border: 1.5px solid #C9CED6;
    background: #FFFFFF;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

.mw-contact-checkbox {
    -webkit-appearance: none;
    appearance: none;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin: 2px 0 0 !important;
    border: 1.5px solid #C9CED6;
    background: #FFFFFF;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

@media (max-width: 640px) {
    .mw-contact-radio,
    .mw-contact-checkbox {
        width: 24px;
        height: 24px;
    }
}

.mw-contact-radio {
    border-radius: 8px;
}

.mw-contact-radio:checked {
    border-color: #171B60;
    background-color: #171B60;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2 6.6 11 12 5.5' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.1'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    box-shadow: none;
}

.mw-contact-consent-value .mwform-checkbox-field,
.mw-contact-consent-value .mwform-checkbox-field label {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
    color: inherit;
}

.mw-contact-checkbox {
    border-radius: 8px;
}

.mw-contact-checkbox:checked {
    border-color: #171B60;
    background-color: #171B60;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2 6.6 11 12 5.5' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.1'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
}

.mw-contact-radio:hover,
.mw-contact-checkbox:hover,
.mw-contact-radio:focus-visible,
.mw-contact-checkbox:focus-visible {
    border-color: #171B60;
    box-shadow: 0 0 0 4px rgba(23, 27, 96, 0.12);
    outline: none;
}

.mw-contact-submit-button {
    border: 1px solid #171B60;
    background: #171B60;
    box-shadow: 0 18px 36px rgba(23, 27, 96, 0.2);
}

.mw-contact-submit-button:hover {
    border-color: #252B87;
    background: #252B87;
    transform: translateY(-1px);
}

.mw-contact-thanks-card {
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 60px rgba(23, 27, 96, 0.08);
}

.mw-contact-thanks-button {
    border: 1px solid #171B60;
    background: #171B60;
    box-shadow: 0 18px 36px rgba(23, 27, 96, 0.2);
}

.mw-contact-thanks-button:hover {
    border-color: #252B87;
    background: #252B87;
    transform: translateY(-1px);
}

.mw_wp_form_confirm .mw-contact-control > span,
.mw_wp_form_confirm .mw-contact-choices,
.mw_wp_form_confirm .mw-contact-consent-value {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    color: inherit;
}

.mw_wp_form_confirm .mw-contact-control > span {
    display: block;
}

.mw_wp_form_confirm .mw-contact-choices .mwform-radio-field,
.mw_wp_form_confirm .mw-contact-consent-value .mwform-checkbox-field {
    display: block !important;
    font-weight: 500;
}

.mw_wp_form_confirm .mw-contact-choices .mwform-radio-field-text,
.mw_wp_form_confirm .mw-contact-consent-value .mwform-checkbox-field-text,
.mw_wp_form_confirm .mw-contact-consent-value label,
.mw_wp_form_confirm .mw-contact-choices label {
    color: inherit;
    font-weight: 500;
}

.mw_wp_form_confirm .mw-contact-label {
    padding-top: 0 !important;
}

.mw_wp_form_confirm .mw-contact-choices input[type="radio"],
.mw_wp_form_confirm .mw-contact-consent-value input[type="checkbox"] {
    display: none;
}

.mw_wp_form_confirm .mw-contact-choices .mwform-radio-field,
.mw_wp_form_confirm .mw-contact-consent-value .mwform-checkbox-field {
    margin: 0 !important;
}

.mw_wp_form_confirm .mw-contact-submit-button {
    border-color: #171B60;
    background: #171B60;
    color: #FFFFFF !important;
    box-shadow: 0 18px 36px rgba(23, 27, 96, 0.2);
}

.mw_wp_form_confirm .mw-contact-submit-button:hover {
    border-color: #252B87;
    background: #252B87;
    color: #FFFFFF !important;
}

.mw_wp_form_confirm .mw-contact-submit-wrap {
    max-width: 340px;
}

@media (min-width: 768px) {
    .mw_wp_form_confirm .mw-contact-control > span,
    .mw_wp_form_confirm .mw-contact-choices,
    .mw_wp_form_confirm .mw-contact-consent-value {
        min-height: 0;
        padding: 0;
        font-size: 18px;
    }

    .mw-contact-control input[type="text"],
    .mw-contact-control input[type="email"],
    .mw-contact-control input[type="tel"],
    .mw-contact-control textarea,
    .mw_wp_form_confirm .mw-contact-control > span {
        padding: 20px 24px;
        font-size: 18px;
    }

    .mw-contact-control textarea,
    .mw-contact-input--textarea,
    .mw_wp_form_confirm .mw-contact-control--textarea > span {
        min-height: 240px;
    }

    .mw-contact-choices .mwform-radio-field,
    .mw-contact-consent-value .mwform-checkbox-field,
    .mw-contact-consent-value .mwform-checkbox-field label {
        font-size: 18px;
    }

    .mw_wp_form_confirm .mw-contact-submit-wrap {
        max-width: 280px;
    }
}

@media (min-width: 1024px) {
    .mw-contact-control textarea,
    .mw-contact-input--textarea,
    .mw_wp_form_confirm .mw-contact-control--textarea > span {
        min-height: 160px;
    }
}

.insta-holographic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    transform: skewX(-25deg);
    transition: all 0.7s ease;
    z-index: 1;
}

.insta-holographic:hover {
    transform: translateY(-3px) scale(1.05);
}

.insta-holographic:hover::before {
    left: 150%; 
}

.insta-holographic span, 
.insta-holographic svg {
    position: relative;
    z-index: 2;
}
