@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

img {
    width: 100%;
    height: 100%;
    vertical-align: bottom;
    object-fit: cover;
}

body {
    font-family: "Delius", "Kiwi Maru", cursive;
    font-weight: 400;
    font-style: normal;
}

#wrap {
    width: 100%;
}

header {
    height: 70px;
    position: relative;
}

header h1 {
    width: 70px;
    position: absolute;
    top: 10px;
    left: 10px;
}

header p {
    width: 2em;
    line-height: 2em;
    border: solid 1px black;
    border-radius: 50%;
    text-align: center;
    font-size: 18px;
    position: absolute;
    top: 10px;
    right: 10px;
}

header nav ul {
    display: none;
    justify-content: center;
    align-items: flex-start;
    width: 360px;
    border-bottom: solid 1px white;
    list-style: none;
    position: absolute;
    top: 20px;
    right: 30px;
}

header nav ul li {
    width: 120px;
    text-align: center;
}

header nav ul li a {
    display: block;
    text-decoration: none;
    color: black;
}

header nav li a:hover {
    background-color: brown;
    color: white;
}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

section::after,
section::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border: solid 70px transparent;
    position: absolute;
    z-index: 99999;
}

section:nth-of-type(odd)::after {
    border-bottom-color: rgb(189, 21, 21);
    border-left-color: rgb(190, 42, 42);
    bottom: 0;
    left: 0;
}

section:nth-of-type(even)::after {
    border-bottom-color: rgb(199, 118, 12);
    border-right-color: burlywood;
    bottom: 0;
    right: 0;
}

section:nth-of-type(odd)::before {
    border-top-color: rgb(189, 21, 21);
    border-right-color: rgb(190, 42, 42);
    top: 0;
    right: 0;
}

section:nth-of-type(even)::before {
    border-top-color: rgb(199, 118, 12);
    border-left-color: burlywood;
    top: 0;
    left: 0;
}

section:nth-of-type(even) {
    background-color: white;
}

section h2 {
    margin-bottom: 20px;
}

/* Sec1 */
#sec1 p:lasit-of-type {
    margin: 10px 0;
}

/* Sec2 */
#sec2 h2 {
    font-family: "Condiment";
    font-size: 15vw;
}

#sec2 p {
    margin: 20px 0;
    line-height: 30px;
    text-align: center;
}

#sec2>p>i {
    font-size: 18px;
}

/* Sec5 */
#sec5 article {
    margin: 0 auto;
    width: 90%;
    max-width: 1000px;
    line-height: 1.2;
}

#sec5 article>p {
    font-size: 14px;
}

#sec5 form p {
    margin: 20px 0;
}

#sec5 input[type="text"],
#sec5 input[type="email"] {
    width: 100%;
    line-height: 40px;
}

#sec5 input[value="1"] {
    margin-left: 30px;
}

#sec5 textarea {
    width: 100%;
    height: 70px;
}

#sec5 form p:last-of-type {
    text-align: center;
}

#sec5 form p:last-of-type input {
    padding: 2px 5px;
    background-color: rgb(190, 42, 42);
    border: none;
}

footer {
    background-color: white;
    line-height: 30px;
    text-align: center;
    font-size: 14px;
}

/* FixedTop */
#fixedTop {
    display: none;
    width: 50px;
    /* color: rgb(189, 21, 21); */
    /* font-size: 40px; */
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 999999;
}

/* 571x以上 */
@media screen and (min-width: 571px) {
    header nav p {
        display: none;
    }

    header nav ul {
        display: flex;
    }
}