/*---------- ファーストビュー ----------*/
.hero {
    position: relative;
    height: 100vh;
    top: 85px;
    margin-bottom: 80px;
}
.hero__content {
    position: absolute;
    z-index: 100;
    color: #fff;
    bottom: 25%;
    left: 5%;
    margin: 0 auto;
    text-shadow: 4px 4px 12px rgba(0, 0, 0, 0.5);
}
.hero__content h1 {
    font-size: 74px;
    font-weight: 900;
    font-style: italic;
    line-height: 1.2;
}
.hero__content p {
    font-size: 30px;
    font-weight: 600;
    font-style: italic;
}
.hero_images_list {
    position: relative;
    height: 100vh;
}
.hero__slideshow {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%);
}
.hero__slideshow::after {
    content: "";
    background: #000;
    opacity: .1;
    width: 100%;
    height: 100%;
    position: absolute;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide:nth-child(1) img {
    object-position: left;
}
.slide.active {
    opacity: 1;
}
.sp_br{
    display: none;
}
@media screen and (max-width: 1260px) {
    .hero {
        margin-bottom: 30px;
        height: auto;
    }
    .hero__content {
        position: relative;
        color: #000;
        left: 40px;
        text-shadow: none;
        bottom: 0;
        padding: 40px 0;
    }
    .hero__content h1 {
        font-size: 60px;
    }
    .hero__content p {
        font-size: 24px;
    }
    .hero__slideshow {
        clip-path: none;
    }
    .hero_images_list {
        position: relative;
        height: 600px;
    }
}
@media screen and (max-width: 890px) {
    .hero_images_list {
        height: 550px;
    }
}
@media screen and (max-width: 760px) {
    .hero_images_list {
        height: 450px;
    }
    .hero__content h1 {
        font-size: 40px;
    }
    .hero__content p {
        font-size: 20px;
    }
}
@media screen and (max-width: 570px) {
    .hero_images_list {
        height: 370px;
    }
    .sp_br{
        display: block;
    }
}
@media screen and (max-width: 475px) {
    .hero_images_list {
        position: relative;
        height: 270px;
    }
    .hero__content {
        padding: 15px;
        left: 0;
    }
    .hero__content h1 {
        font-size: 30px;
    }
    .hero__content p {
        font-size: 14px;
    }
}

/*スクロールボタン*/
.container_01 {
    margin: 0;
    padding: 0;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: absolute;
    bottom: 5%;
    right: 2%;
}
.container_01 a:hover {
    opacity: 0.7;
}
.scroll-down_01 {
    position: relative;
    width: 200px;
    height: 200px;
    color: #fff;
    text-decoration: none;
}
.circle-text_01 {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}
.circle-text_01 span {
    position: absolute;
    left: 50%;
    font-size: 16px;
    transform-origin: 0 100px;
}
.arrow_01 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 50px;
    transform: translate(-50%, -50%);
    animation: scroll_01 3s infinite;
}
.arrow_01::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 1px;
    background-color: #fff;
    transform: translateX(-50%);
}
.arrow_01::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-bottom: 1px solid #fff;
    transform: translateX(-50%) rotate(-45deg);
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes scroll_01 {
  0% {
    transform: translate(-50%, -50%) translateY(-10px);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) translateY(10px);
    opacity: 0;
  }
}
@media screen and (max-width: 1260px) {
    .container_01 {
        height: 160px;
    }
    .scroll-down_01 {
        width: 140px;
        height: 140px;
    }
    .circle-text_01 span {
        font-size: 14px;
        transform-origin: 0 70px;
    }
    .arrow_01 {
        width: 20px;
        height: 35px;
    }
}
@media screen and (max-width: 760px) {
    .container_01 {
        height: 100px;
    }
    .scroll-down_01 {
        width: 100px;
        height: 100px;
    }
    .circle-text_01 span {
        font-size: 10px;
        transform-origin: 0 50px;
    }
    .arrow_01 {
        height: 25px;
    }
    .arrow_01::after {
        width: 8px;
        height: 8px;
    }
}
@media screen and (max-width: 475px) {
    .container_01 {
        height: 70px;
    }
    .circle-text_01 span {
        font-size: 6px;
        transform-origin: 0 35px;
    }
    .scroll-down_01 {
        width: 70px;
        height: 70px;
    }
    .arrow_01 {
        height: 20px;
    }
    .arrow_01::after {
        width: 5px;
        height: 5px;
    }
}

/*---------- メッセージ ----------*/
section.career-section {
    margin-top: 150px;
}
.career-main-text {
    font-size: 52px;
    font-weight: 600;
}
.career-section__text {
    font-size: 18px;
    line-height: 4;
    padding: 30px 20px;
    font-weight: 500;
}
@media screen and (max-width: 1260px) {
    section.career-section {
        margin-top: 100px;
    }
    .career-main-text {
        font-size: 34px;
    }
    .career-section__text {
        font-size: 16px;
        line-height: 2.5;
        padding: 20px 10px;
    }
}
@media screen and (max-width: 475px) {
    .career-main-text {
        font-size: 24px;
    }
    .career-section__text {
        font-size: 15px;
        line-height: 2;
        padding: 15px 5px;
    }
}

/*---------- 私たちについて ----------*/
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
.about-image {
    max-width: 650px;
}
.about-image img {
    border-radius: 10px;
    width: 100%;
}
.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
p.about-description {
    line-height: 1.8;
    font-weight: 500;
}
@media screen and (max-width: 1260px) {
    .about-content {
        gap: 30px;
    }
}
@media screen and (max-width: 960px) {
    .about-content {
        flex-wrap: wrap;
    }
    .about-image {
        max-width: 100%;
        min-width: 450px;
    }
}
@media screen and (max-width: 475px) {
    .about-image {
        min-width: 100%;
    }
}

/*---------- 事業紹介 ----------*/
.business-section {
    margin-bottom: 100px;
}
p.business-notice {
    font-weight: 500;
}
ul.business-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin: 30px auto;
}
li.business-slide {
    width: 100%;
    border: 2px solid var(--main-color);
    padding: 20px 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    justify-content: center;
}
h3.business-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--main-color);
}
span.business-number {
    font-size: 55px;
    font-family: 'Zen Kaku Gothic Antique';
    font-weight: 600;
    line-height: 1;
    position: relative;
    color: var(--main-color);
    padding-bottom: 15px;
    letter-spacing: .03em;
}
span.business-number::after {
    content: "";
    width: 25px;
    height: 3px;
    background: var(--main-color);
    position: absolute;
    bottom: 3px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
span.business-jp {
    font-size: 24px;
    letter-spacing: .1em;
}
li.business-slide img {
    max-width: 170px;
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 10px 0;
}
@media screen and (max-width: 1260px) {
    ul.business-text {
        gap: 10px;
    }
    span.business-number {
        font-size: 46px;
    }
    span.business-number::after {
        content: "";
    }
    span.business-jp {
        font-size: 20px;
    }
    li.business-slide img {
        max-width: 160px;
        height: 160px;
    }
}
@media screen and (max-width: 960px) {
    ul.business-text {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 475px) {
    span.business-number {
        font-size: 36px;
    }
    span.business-jp {
        font-size: 16px;
    }
    span.business-number::after {
        width: 15px;
        height: 2px;
    }
    li.business-slide img {
        height: 120px;
    }
}

/*---------- 社員インタビュー ----------*/
section.interview-section {
    margin: 100px auto;
}
.interview-section h2.section-title {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}
.employee-slider {
    position: relative;
    overflow: visible;
    width: 100%;
    margin:30px auto;
}
.employee-list {
    padding-left: calc((100vw - 1200px) / 2);
    transition: transform 0.5s ease;
}
.employee-item {
    margin-right: 50px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}
li.employee-item:nth-child(odd) {
    margin-top: 60px;
    margin-bottom: 15px;
}
.employee-photo {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 8px;
    object-position: top;
}
.other-interview__content {
    position: absolute;
    bottom: 10%;
    width: 100%;
}
p.other-interview__catch {
    background: var(--main-color);
    color: #fff;
    font-size: 18px;
    padding: 5px 20px;
    font-weight: 500;
    position: absolute;
    bottom: 100px;
}
.other-interview__info {
    background: rgba(255, 255, 255, 0.8);
    color: var(--main-color);
    font-weight: 600;
    display: inline-flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 5px 50px;
    position: absolute;
    bottom: 10px;
    right: 0;
}
p.other-interview__name {
    font-size: 45px;
}
.other-interview__dept {
    display: flex;
    gap: 5px;
}
p.other-interview__year {
    text-align: left;
}
p.other-interview__year span {
    font-size: 14px;
}
.employee-arrow {
    padding-right: calc((100vw - 1200px) / 2);
    display: flex;
    margin-top: 30px;
    gap: 35px;
    justify-content: flex-end;
}
button.slider-btn.prev,
button.slider-btn.next {
    position: relative;
    width: 50px;
    height: 50px;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    background: none;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}
button.slider-btn.prev::after {
    content: "";
    position: absolute;
    border-bottom: 2px solid var(--main-color);
    border-right: 2px solid var(--main-color);
    width: 10px;
    height: 10px;
    background: none;
    border-left: none;
    border-top: none;
    transform: translateY(-50%) rotate(135deg);
    top: 50%;
    left: 20px;
    transition: border-color 0.3s ease;
}
button.slider-btn.next::after {
    content: "";
    position: absolute;
    border-bottom: 2px solid var(--main-color);
    border-right: 2px solid var(--main-color);
    width: 10px;
    height: 10px;
    background: none;
    border-left: none;
    border-top: none;
    transform: translateY(-50%) rotate(-45deg);
    top: 50%;
    left: 15px;
    transition: border-color 0.3s ease;
}
button.slider-btn.prev:hover,
button.slider-btn.next:hover {
    background: var(--main-color);
}
button.slider-btn.prev:hover::after,
button.slider-btn.next:hover::after {
    border-color: #fff;
}
@media screen and (max-width: 1260px) {
    .employee-list {
        padding-left: 40px;
    }
    .employee-item {
        margin-right: 35px;
        width: 350px;
    }
    p.other-interview__catch {
        font-size: 16px;
        padding: 5px 15px;
    }
    p.other-interview__name {
        font-size: 40px;
    }
    .other-interview__dept {
        font-size: 14px;
    }
    p.other-interview__year {
        font-size: 14px;
    }
    p.other-interview__year span {
        font-size: 12px;
    }
    .other-interview__info {
        gap: 15px;
        padding: 5px 30px;
        bottom: 15px;
    }
    .employee-arrow {
        padding-right: 30px;
    }
}
@media screen and (max-width: 475px) {
    .interview-section h2.section-title {
        padding: 0 20px;
    }
    .employee-list {
        padding-left: 20px;
    }
    li.employee-item:nth-child(odd) {
        margin-top: 30px;
    }
    li.employee-item:nth-child(odd) {
        margin-top: 30px;
        margin-bottom: 15px;
    }
    button.slider-btn.prev, button.slider-btn.next {
        width: 35px;
        height: 35px;
    }
    button.slider-btn.prev::after {
        width: 8px;
        height: 8px;
        left: 14px;
    }
    button.slider-btn.next::after {
        width: 8px;
        height: 8px;
        left: 12px;
    }
}

/*---------- 働く環境 ----------*/
.work-environment {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
ul.numbers-list__items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}
li.numbers-list__item {
    border: 2px solid #CDD4E2;
    border-radius: 8px;
}
li.numbers-list__item img {
    max-width: 400px;
    width: 100%;
    padding: 10px 50px;
}
img.work-environment__image {
    width: 100%;
}
ul.work-environment__benefits-list {
    display: flex;
    gap: 30px;
}
li.work-environment__benefit-item {
    background: #FAFAFA;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}
img.work-environment__benefit-icon {
    width: 65%;
}
p.work-environment__benefit-title {
    font-size: 20px;
    padding: 20px 0 10px;
    font-weight: 500;
    text-align: center;
}
ul.work-environment__other-list {
    background: #FAFAFA;
    margin: 20px 0;
    padding: 30px 030px 30px 45px;
    display: flex;
    gap: 35px;
    line-height: 1;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    justify-content: center;
    border-radius: 8px;
}
li.work-environment__other-item {
    position: relative;
}
li.work-environment__other-item::after {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--main-color);
    position: absolute;
    border-radius: 50%;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
}
@media screen and (max-width: 1260px) {
    ul.numbers-list__items {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px 15px;
    }
    li.numbers-list__item img {
        max-width: 100%;
        width: 100%;
        padding: 10px 30px;
    }
    ul.work-environment__benefits-list {
        gap: 20px;
    }
    li.work-environment__benefit-item {
        padding: 15px 20px;
    }
    p.work-environment__benefit-title {
        font-size: 18px;
        padding: 15px 0 5px;
    }
    p.work-environment__benefit-description {
        font-size: 15px;
    }
    ul.work-environment__other-list {
        flex-wrap: wrap;
        gap: 15px 35px;
        padding: 25px 50px 25px 50px;
        justify-content: flex-start;
    }
    li.work-environment__other-item {
        white-space: nowrap;
    }
}
@media screen and (max-width: 1009px) {
    ul.work-environment__benefits-list {
        flex-direction: column;
    }
    p.work-environment__benefit-title{
        text-align: left;
    }
    li.work-environment__benefit-item {
        padding: 15px 20px;
        display: flex;
        flex-direction: row;
        gap: 20px;
    }
    img.work-environment__benefit-icon {
        max-width: 350px;
        width: 85%;
    }
}
@media screen and (max-width: 960px) {
    p.work-environment__benefit-title {
        font-size: 17px;
    }
}
@media screen and (max-width: 750px) {
    li.work-environment__benefit-item {
        flex-direction: column;
    }
    p.work-environment__benefit-title {
        text-align: center;
    }
}
@media screen and (max-width: 475px) {
    ul.numbers-list__items {
        gap: 15px;
    }
    li.numbers-list__item img {
        max-width: 100%;
        width: 100%;
        padding: 10px 50px;
    }
    p.work-environment__benefit-title {
        font-size: 16px;
    }
    p.work-environment__benefit-description {
        font-size: 14px;
    }
    img.work-environment__benefit-icon {
        max-width: 300px;
        width: 75%;
    }
    ul.work-environment__other-list {
        gap: 10px 35px;
        padding: 20px 25px 20px 35px;
    }
}