@font-face {
    font-family: 'Tanugo-RR';
    src: url(./font/Tanugo-TTF-Round-Regular.ttf) format('truetype');
}

body {
    font-size: 10px;
    background: #77a706;
    margin: 30px;
    font-family: 'Tanugo-RR';
}

main {
    width: 1280px;
    margin: 0 auto;
    padding: 30px;
    background: #fffecf;
    box-sizing: border-box;
    border-radius: 10px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin: 0 auto 40px;
    width: fit-content;
    background: #fffecf;
    padding: 0 20px 8px;
    border-radius: 0 0 10px 10px;
}

h2>span {
    display: block;
    font-size: 1.2rem;
    margin-top: 5px;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    font-size: 1.2rem;
}

a {
    text-decoration: none;
}

a:hover {
    opacity: .7;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: 1.2rem;
}

.flexBox {
    display: flex;
}

.flexWrap {
    flex-wrap: wrap;
}

.justify-a {
    justify-content: space-around;
}

.justify-b {
    justify-content: space-between;
}

.justify-c {
    justify-content: center;
}

.ta-center {
    text-align: center;
}

.container {
    width: 1200px;
    display: block;
    margin: 0 auto;
    padding: 8px 14px;
    border-radius: 10px;
    box-sizing: border-box;
}

.moreLink {
    text-align: center;
    margin: 0 auto;
}

.moreLink>a {
    display: block;
    margin: 50px auto 30px;
    padding: 10px 14px;
    font-size: 1.6rem;
    color: #fff;
    font-weight: bold;
    background: #77a706;
    width: fit-content;
    border-radius: 10px;
    border: 2px double #fffecf;
    cursor: pointer;
}

.moreLink>button {
    display: block;
    margin: 50px auto 30px;
    padding: 10px 14px;
    font-size: 1.6rem;
    color: #fff;
    font-weight: bold;
    background: #77a706;
    width: fit-content;
    border-radius: 10px;
    border: 2px double #fffecf;
    cursor: pointer;
}

.moreLink>button:hover {
    opacity: .7;
}

#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto 30px;
    border-radius: 10px;
    padding: 10px 20px;
    box-sizing: border-box;
}

#header h1 {
    font-size: 2rem;
    margin: 0;
    line-height: 1;
    padding: 14px 30px;
    background: #77a706;
    border-radius: 10px;
    color: #fff;
}

#header h1 a {
    font-size: 2rem;
    display: block;
    color: #fff;
}

#header ul {
    display: flex;
    justify-content: space-between;
    width: 600px;
    list-style: none;
}

#header ul li a {
    display: block;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.3;
    color: #fff;
    font-weight: bold;
}

#header nav {
    padding: 20px 30px;
    background: #77a706;
    border-radius: 10px;
}

.copy {
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
}

.scroll-up {
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: all .5s;
}

.scroll-up.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

.load-fade {
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: all .5s;
}

.load-fade.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

/* ローディング画面 */
#loading {
    width: 100vw;
    height: 100vh;
    transition: all .5s;
    background-color: #77a706;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    text-align: center;
}

#load {
    position: fixed;
    width: 100vw;
    height: 100vh;
    margin-left: -300px;
    overflow: visible;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

#load div {
    position: absolute;
    font-size: 1.8rem;
    width: 600px;
    height: 36px;
    left: 50%;
    top: 40%;
    opacity: 0;
    animation: move 3s linear infinite;
    -o-animation: move 3s linear infinite;
    -moz-animation: move 3s linear infinite;
    -webkit-animation: move 3s linear infinite;
    transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    color: #fff;
}

#load div:nth-child(2) {
    animation-delay: 0.2s;
    -o-animation-delay: 0.2s;
    -moz-animation-delay: 0.2s;
    -webkit-animation-delay: 0.2s;
}

#load div:nth-child(3) {
    animation-delay: 0.4s;
    -o-animation-delay: 0.4s;
    -webkit-animation-delay: 0.4s;
    -webkit-animation-delay: 0.4s;
}

#load div:nth-child(4) {
    animation-delay: 0.6s;
    -o-animation-delay: 0.6s;
    -moz-animation-delay: 0.6s;
    -webkit-animation-delay: 0.6s;
}

#load div:nth-child(5) {
    animation-delay: 0.8s;
    -o-animation-delay: 0.8s;
    -moz-animation-delay: 0.8s;
    -webkit-animation-delay: 0.8s;
}

#load div:nth-child(6) {
    animation-delay: 1s;
    -o-animation-delay: 1s;
    -moz-animation-delay: 1s;
    -webkit-animation-delay: 1s;
}

#load div:nth-child(7) {
    animation-delay: 1.2s;
    -o-animation-delay: 1.2s;
    -moz-animation-delay: 1.2s;
    -webkit-animation-delay: 1.2s;
}

.loaded {
    opacity: 0;
    visibility: hidden;
}


/* ローディングアニメーション */
@keyframes move {
    0% {
        top: 0;
        left: 0;
        opacity: 0;
    }

    25% {
        top: 50%;
        left: 41%;
        -moz-transform: rotate(1080deg);
        -webkit-transform: rotate(1080deg);
        -o-transform: rotate(1080deg);
        transform: rotate(1080deg);
        opacity: 1;
    }

    75% {
        top: 50%;
        left: 59%;
        -moz-transform: rotate(1080deg);
        -webkit-transform: rotate(1080deg);
        -o-transform: rotate(1080deg);
        transform: rotate(1080deg);
        opacity: 1;
    }

    100% {
        top: 0;
        left: 100%;
        -moz-transform: rotate(2160deg);
        -webkit-transform: rotate(2160deg);
        -o-transform: rotate(2160deg);
        transform: rotate(2160deg);
        opacity: 0;
    }
}

@-moz-keyframes move {
    0% {
        left: 0;
        opacity: 0;
    }

    35% {
        left: 41%;
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }

    65% {
        left: 59%;
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }

    100% {
        left: 100%;
        -moz-transform: rotate(-180deg);
        transform: rotate(-180deg);
        opacity: 0;
    }
}

@-webkit-keyframes move {
    0% {
        left: 0;
        opacity: 0;
    }

    35% {
        left: 41%;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }

    65% {
        left: 59%;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }

    100% {
        left: 100%;
        -webkit-transform: rotate(-180deg);
        transform: rotate(-180deg);
        opacity: 0;
    }
}

@-o-keyframes move {
    0% {
        left: 0;
        opacity: 0;
    }

    35% {
        left: 41%;
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }

    65% {
        left: 59%;
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }

    100% {
        left: 100%;
        -o-transform: rotate(-180deg);
        transform: rotate(-180deg);
        opacity: 0;
    }
}

@media screen and (max-width: 480px) {
    body {
        margin: 10px 6px;
    }

    main {
        width: 100%;
        padding: 8px 6px;
    }

    .container {
        width: 100%;
    }

    #header {
        padding: 0;
        flex-wrap: wrap;
    }

    #header h1 {
        margin-bottom: 10px;
    }

    #header nav {
        padding: 10px 20px;
        flex-wrap: wrap;
        width: 100%;
    }

    #header ul {
        flex-wrap: wrap;
        width: 100%;
    }

    #header ul li {
        width: 50%;
        text-align: center;
        padding: 10px 0;
    }

    h2 {
        font-size: 1.6rem;
        padding: 0 8px 8px;
    }

    .moreLink>a {
        margin: 20px auto;
    }
}