body {
    font-family: "yu-gothic-pr6n", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
}

img {
    width: 100%;
}

.sp {
    display: block;
}

.pc {
    display: none;
}

.header {
    width: 100%;
    height: 667px;
    position: relative;
    overflow-x: clip;
}

.header::after {
    content: "";
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9997;
    background-color: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s, visibility .3s;
}

.header.is-menu-open::after {
    opacity: 1;
    visibility: visible;
}

.header__background {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    object-fit: cover;
    object-position: center;
}

.header__inner {
    max-width: 1230px;
    margin: 0 auto;
    padding: 16px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    width: 101px;
    position: relative;
}

.header__logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* ハンバーガー */
.header__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 20px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 9999;
}

.header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #3A2000;
    transition: .3s;
}

.header__navigation {
    position: absolute;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: #FEF8E6;
    padding: 31px 0px;
    transition: .3s;
    z-index: 9998;
}

.header__navigation.is-open {
    right: 0;
}

.header__navigation--logo {
    display: block;
    width: 158px;
    margin: 0 auto;
}

.header__list {
    margin-top: 17px;
}

.header__item {
    width: 100%;
    background-color: #F8931F;
    padding: 18px 0 15px 29px;
    border-top: solid #fff 1px;
    border-bottom: solid #fff 1px;
    transition: opacity .3s;
}

.header__link:hover {
    opacity: .6;
}

.header__link--image01 {
    width: 120px;
}

.header__link--image02 {
    width: 105px;
}

.header__link--image03 {
    width: 119px;
}

.header__link--image04 {
    width: 90px;
}

.header__link--image05 {
    width: 36px;
}

.header__button--image {
    display: block;
    width: 245px;
    margin: 22px auto 0;
}

/* ハンバーガー → × */
.header__hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

.header__hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header__description {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas: "text02 text01";
    justify-content: right;
    gap: 6px;
}

.header__description--text01,
.header__description--text02 {
    display: none;
    width: 40px;
}

.header__description--text01 {
    grid-area: text01;
}

.header__description--text02 {
    grid-area: text02;
    margin-top: 22px;
}

.header__title {
    display: grid;
    justify-content: center;
    margin-top: 226px;
}

.header__title--image01,
.header__title--image02 {
    justify-self: center;
}

.header__title--image01 {
    width: 235px;
}

.header__title--image02 {
    width: 314px;
    margin-top: -6px;
}

.header__text {
    max-width: 279px;
    display: block;
    margin: 11px auto 0;
}

.footer {
    text-align: center;
    font-size: 12px;
    padding: 50px 0 18px;
    color: #369978;
}

.footer__logo {
    width: 200px;
}

.footer__list {
    display: grid;
    gap: 15px;
    margin-top: 26px;
}

.footer__item {
    font-size: 15px;
}

.footer__information {
    font-size: 11px;
    line-height: 1.8;
    margin-top: 40px;
}

.footer__copyright {
    display: block;
    font-size: 10px;
    margin-top: 27px;
}

/* =========================
   タブレット
========================= */
@media (min-width: 768px) {
    .header__inner {
        padding: 16px 32px;
    }

    .footer {
        font-size: 14px;
        padding: 16px 32px;
    }
}


/* =========================
   PC
========================= */
@media (min-width: 980px) {
    .sp {
        display: none;
    }

    .pc {
        display: block;
    }

    .header {
        height: 1480px;
    }

    .header::after {
        display: none;
    }

    .header__background {
        height: calc(100% + 60px);
        top: -60px;
    }

    .header__logo {
        width: 231px;
    }

    .header__list {
        display: grid;
        grid-template-columns: repeat(5, auto);
        gap: 26px;
        align-items: center;
        margin-top: 0px;
    }

    .header__item {
        background-color: transparent;
        padding: 0;
        border-top: none;
        border-bottom: none;
    }

    .header__hamburger {
        display: none;
    }

    .header__navigation {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
    }

    .header__list {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }

    .header__hero {
        max-width: 1229px;
        margin: 20px auto 0;
        padding: 0 16px;
    }

    .header__heading {
        position: absolute;
        top: 520px;
        left: 50%;
        transform: translate(-50%, 0%);
    }

    .header__title {
        margin-top: 0px;
    }

    .header__title--image01,
    .header__title--image02 {
        justify-self: center;
    }

    .header__title--image01 {
        width: 456px;
    }

    .header__title--image02 {
        width: 911px;
        margin-top: -18px;
    }

    .header__description {
        gap: 11px;
    }

    .header__description--text01,
    .header__description--text02 {
        display: block;
        width: 40px;
    }

    .header__description--text01 {
        grid-area: text01;
    }

    .header__description--text02 {
        grid-area: text02;
        margin-top: 44px;
    }

    .header__text {
        max-width: 402px;
        display: block;
        margin: 11px auto 0;
    }
    
    .footer {
        max-width: 1238px;
        text-align: left;
        font-size: 15px;
        margin: 0 auto;
        padding: 48px 0 57px;
    }

    .footer__top {
        display: grid;
        grid-template-columns: 285px 1fr;
        justify-content: space-between;
        align-items: center;
        gap: 27px;
    }

    .footer__logo {
        width: 285px;
    }

    .footer__list {
        display: grid;
        grid-template-columns: repeat(5, max-content);
        justify-self: end;
        align-items: center;
        gap: 27px;
        margin-top: 0px;
    }

    .footer__item {
        font-size: 15px;
    }

    .footer__bottom {
        display: grid;
        grid-template-columns: 1fr 289px;
        justify-content: space-between;
        align-items: center;
        gap: 27px;
        margin: 11px 0 0 38px;
    }

    .footer__information {
        font-size: 15px;
        margin-top: 0px;
    }

    .footer__copyright {
        display: block;
        font-size: 12px;
        margin: 5px 0 0 38px;
    }
}

/* =========================
   余白
========================= */
@media (min-width: 1230px) {
    .header__inner {
        padding: 16px 0;
    }
}
