body {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    caret-color: transparent;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd, nav, header, footer, section, article {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.bg-gray {
    background-color: #e7e7e7;
}

a:hover {
    color: #f07c11;
    text-decoration: underline;
}

img, picture {
    max-width: 100%;
    height: auto;
    display: block
}

header {
    border-bottom: 1px solid #ddd;
    position: absolute;
    width: 100%;
    z-index: 1000;
}

summary {
    display: block;
    list-style: none;
    cursor: pointer;
}

summary:hover {
    opacity: 0.5;
}

summary:after {
    content: '＋';
    color: #6e6e6e;
    float: right;
    margin-left: 0.5rem;
}

details[open] summary:after {
    content: 'ー';
}

summary::-webkit-details-marker {
    display: none;
}


.site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.site-header__logo img {
    width: 160px;
    height: auto;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    color: #f66310;
}

.main-nav__list {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
}

.main-nav__active {
    color: #f66310;
    font-weight: 700;
    text-decoration: underline;
}

nav a {
    color: #fff;
    font-weight: 500;
}

.main-nav__link_btn {
    background: #f66310;
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 20px;
}

.main-nav__link_btn:hover {
    color: white;
}

.hero-section {
    position: relative;
    z-index: 1;
}

.hero-section-main-image {
    position: relative;
    height: 90%;
    width: 100%;
}

.hero-section-main-image::before {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.hero-section-main-image__slide {
    position: absolute;
    inset: 0;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero-section-main-image__slide:first-child {
    opacity: 1;
}

.hero-section-main-image__slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    display: block;
}

.description-section {
    display: flex;
    gap: 2rem;
    margin: 0 auto;
    max-width: 130vh;
    padding-top: 2rem;
}

.description-section__img {
    width: 40%;
    margin: auto 0;
}

.description-section__text {
    width: 60%;
}

.description-section__text {
    font-size: 1.3rem;
    padding: 2rem 1.5rem;
}

.description-section__text span {
    font-size: 1.7rem;
    font-weight: 600;
    color: #f66310;
}

.description-section__text h3 {
    font-size: 2.1rem;
    margin: 1.5rem 0;
}

.photo-grid {
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    grid-template-rows: auto auto;
    column-gap: 2rem;
    row-gap: 2rem;
}

.photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.photo-building {
    margin: 0 0 0 auto;
}

.photo-building img {
    width: 40vh;
}

.photo-people {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
    margin: auto 0;
}

.job-section {
    max-width: 150vh;
    margin: 4rem auto;
    text-align: center;
}

.job-section h3 {
    font-size: 1.8rem;
    font-weight: 400;
}

.job-section__job {
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    margin: 2rem auto 0;
    padding: 0.5rem;
    max-width: 120vh;
}

.job-section__summary {
    padding: 1rem;
    text-align: left;
    font-size: 1.5rem;
    font-weight: 400;
}

.job-section__job-description {
    text-align: left;
    padding: 0 1rem 1rem;
}

.job-section__heading {
    margin: 1rem 0 .5rem;
    font-size: 1.3rem;
    font-weight: 400;
}

.job-section__job-description dl {
    counter-reset: section;
    list-style-type: none;
}

.job-section__job-description dt:before {
    counter-increment: section;
    content: "(" counters(section, ".") ") ";
}

.job-section__job-description dt {
    font-weight: 400;
    margin-top: .5rem;
}

.job-section__job-description dd:before {
    content: "- ";
}

.job-section__job-description dd {
    padding: 0 0 0 1.5rem;
}

.job-apply {
    padding: 3rem 0;
    text-align: center;
}

.job-apply a {
    font-size: 1.3rem;
    padding: 1.5rem 3rem;
    background: #f66310;
    color: white;
    border-radius: 2rem;
}

.display-pc {
    display: block;
}

.display-sp {
    display: none;
}

footer {
    background: #111;
    padding: 3rem 4rem;
    font-size: 0.9rem;
    color: #777;
}

.site-footer__company_name {
    color: #fff;
    margin: 3rem 0 0.5rem;
}

.site-footer__link {
    color: #fff;
    margin-top: 2rem;
    font-size: 1.1rem;
    font-weight: 200;
    text-decoration: underline;
    text-underline-offset: 0.3rem;
}

.site-footer-nav {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    color: #fff;
    list-style: none;
    padding: 0;
}

.site-footer-nav a {
    font-size: 1.2rem;
}

.site-footer-nav .site-footer-nav__logo img {
    width: 260px;
    height: auto;
}

.site-footer-nav .site-footer-nav__link {
    flex-basis: 20%;
    text-align: right;
    margin: auto 0;
}

.site-footer-nav .site-footer-nav__link_btn {
    text-align: center;
    background: #f66310;
    color: white;
    padding: 1rem 3rem;
    border-radius: 30px;
}

.site-footer__copyright {
    margin-top: 4rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 25px;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
}

.page-content {
    margin: 4rem;
}

.site-footer-brand-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(240px, 50vw);
    padding: 1.5rem;
    background: #fff;
    border-radius: .5rem;
    text-decoration: none;
    color: #0a0a0a;
    margin-top: 2rem;
}

.site-footer-brand-card__logo {
    width: min(180px, 37vw);
    height: auto;
    display: block;
}

.site-footer-brand-card__arrow {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #e9eaec;
    display: grid;
    place-items: center;
}

.site-footer-brand-card:hover .site-footer-brand-card__arrow {
    background: #efeff1;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav__list {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        padding: 1rem;
        z-index: 999;
    }

    nav a {
        color: #000;
    }

    nav .main-nav__list {
        width: calc(100% - 2rem);
    }

    nav.active .main-nav__list {
        max-height: 500px;
        opacity: 1;
        padding: 1rem 1rem 1rem 2rem;
    }

    .hero-section-main-image::before {
        aspect-ratio: 9 / 16;
    }

    .description-section {
        flex-direction: column;
        flex-wrap: wrap;
        padding: 1rem;
        gap: 0;
    }

    .description-section__img {
        width: 100%;
    }

    .description-section__text {
        width: calc(100% - 2rem);
        padding: 3rem 1rem;
    }

    .description-section__text h3 {
        font-size: 1.7rem;
        margin: 1.5rem 0;
    }

    .photo-building img {
        width: 10vh;
    }

    .site-footer-nav {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .photo-grid {
        padding: 0 1rem 3rem;
        column-gap: 1rem;
        row-gap: 1rem;
    }

    .display-pc {
        display: none;
    }

    .display-sp {
        display: block;
    }

    .job-section {
        margin: 2rem;
    }

    .job-section__summary {
        font-size: 1.2rem;
    }

    .job-section__heading {
        font-size: 1.1rem;
    }

    .site-footer-nav .site-footer-nav__link {
        flex-basis: 20%;
        text-align: left;
        margin-top: 1rem;
    }

    .page-content {
        margin: 2rem;
    }

    .privacy-policy {
        padding-left: 1rem;
    }

    footer {
        padding: 2rem;
    }
}
