@charset "UTF-8";

/* 共通部分
------------------------------------- */
html {
    font-size: 100%;
}

body {
    font-family: 'Montserrat', "游ゴシック Medium", sans-serif;
    font-weight: lighter;
    line-height: 1.9;
    color: #432;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.img-wrapper {
    text-align: center;
}

iframe {
    width: 700px;
    height: 450px;
}

/* HEADER
------------------------------------- */

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    list-style: none;
    font-family: 'Poiret One', cursive;
    font-weight: 600;
    font-size: 1.5rem;
}

.main-nav li {
    margin: 0 18px;
}

.main-nav a {
    color: #432;
}
.main-nav a:hover {
    color: #0bd;
}
.wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0 4%;
    position: fixed;
    top: 0;
    background-color: #ffffffcc;
}

/* HOME
------------------------------------- */

.home-content {
    text-align: center;
}

#home {
    width: 100%;
    background-color: #eeeeee;
    min-width: 100%;
    min-height: 100vh;
    padding-top: 150px;
    font-family: "Calibri","游ゴシック Medium", sans-serif;
}

.page-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 4rem;
}

#section1 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #fff;
}

#section2 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #eee;
}

#section3 {
    display: flex;
    justify-content: space-between;
    padding-left: 100px;
    padding-right: 100px;
    align-items: center;
}

.parts {
    width: 100%;
    height: 100vh;
}

.parts div a:hover {
    color: #0bd;
}

.parts-title {
    font-size: 3.8rem;
    font-family: 'Poiret One', cursive;
    font-weight: 600;
}

.parts-content {
    font-size: 1.5rem;
    font-weight: 600;
}

.parts-footer {
    width: 100%;
    height: 15vh;
    font-size: 0.85rem;
    background-color: #ffffffcc;
}

.parts-footer-index {
    width: 100%;
    height: 15vh;
    font-size: 0.85rem;
    background-color: #ffffffcc;
}

.parts-footer-nav {
    font-size: 0.8rem;
    order: 1;
}

.parts-footer-index small {
    font-size: 0.85rem;
}

.parts-footer small {
    font-size: 0.85rem;
}

.parts-footer-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 0.85rem;
}

.parts-footer-nav p {
    padding-left: 1rem;
    padding-right: 1rem;
}

article {
    width: 65%;
    background-color: #fff;
    border-radius: 15px;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
    padding-right: 30px;
    margin-bottom: 100px;
}

article h2 {
    font-size: 1.7rem;
    font-weight: bold;
    padding-top: 20px;
}

article h3 {
    font-size: 1.5rem;
    font-weight: bold;
    padding-top: 17px;
}

article h4 {
    font-size: 1.25rem;
    font-weight: bold;
    padding-top: 14px;
}

article h5 {
    font-size: 1.0rem;
    font-weight: bold;
    padding-top: 11px;
}


article p {
    font-size: 1.0rem;
    font-weight: 500;
}


#hr-h1 {
    color: #bbb;
    padding-bottom: 30px;
}


#hr-h2 {
    color: #bbb;
    padding-bottom: 27px;
}


#hr-h3 {
    color: #bbb;
    padding-bottom: 24px;
}


#hr-h4 {
    color: #bbb;
    padding-bottom: 21px;
}

#hr-h5 {
    color: #bbb;
    padding-bottom: 18px;
}

aside {
    width: 25%;
    margin-bottom: 100px;
    margin-left: 20px;
}

aside .movie {
    border-radius: 15px;
    background-color: #fff;
    height: auto;
    margin-bottom: 50px;
    padding: 20px;
}

aside .movie div {
    display: flex;
    justify-content: center;
}

aside h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

aside hr {
    color: #bbb;
    padding-bottom: 10px;
}

aside .table-of-contents {
    border-radius: 15px;
    background-color: #fff;
    height: 30vh;
    padding: 20px;
    position: sticky;
    top: 12vh;
}

.other-link a:hover {
    color: #0bd;
}

.page-body {
    display: flex;
    padding-top: 50px;
    padding-left: 100px;
}

br {
    display: block;
    content: "";
    margin: 15px 0;
}

.img-margin {
    padding: 50px;
}

.table-of-contents a:hover {
    color: #0bd;
}


/*
MOBILE SIZE
================================================ */
@media (max-width: 700px) {
    .main-nav {
        font-size: 1.00rem;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .main-nav li {
        margin: 0 15px;
    }
    th {
        width: 5rem;
    }

    .iframe-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
    }
      
    .iframe-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .page-title {
        font-size: 1.3rem;
        margin-bottom: 3rem;
    }
    #home {
        padding-top: 110px;
    }

    #section3 {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        font-size: 0.6rem;
        padding-left: 20px;
        padding-right: 20px;
    }

    .parts-footer {
        width: 100%;
        height: 13vh;
        background-color: #eeeeee;
    }

    .parts-footer-index {
        width: 100%;
        height: 13vh;
        background-color: #fff;
    }

    .parts-footer-nav {
        font-size: 0.8rem;
        order: 1;
    }

    .parts-footer-index small {
        font-size: 0.8rem;
        order: 2;
    }

    .parts-footer small {
        font-size: 0.8rem;
        order: 2;
    }
    .page-body {
        flex-direction: column;
        padding-left: 0;
        padding-top: 0;
    }
    .page-body aside {
        order: 1;
        width: 100%;
        margin-bottom: 0;
        margin-left: 0;
    }

    .page-body article {
        order: 2;
        width: 100%;
        padding: 0;
        border-radius: 0;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 30px;
        margin-bottom: 0;
    }

    aside .table-of-contents {
        border-radius: 0;
        background-color: #fff;
        height: auto;
        padding: 20px;
        position: initial;
        top: unset;
    }

    aside h2 {
        font-size: 1.5rem;
    }

    article h2 {
        font-size: 1.5rem;
        padding-top: 15px;
    }
    .other-link {
        margin-bottom: 0;
    }
    
    aside .movie {
        margin-bottom: 0;
        padding: 0;
    }

    .parts-title {
        font-size: 2.0rem;
        font-family: 'Poiret One', cursive;
        font-weight: 600;
    }
    
    .parts-content {
        font-size: 0.85rem;
        font-weight: 600;
    }

    .parts img {
        width: 200px;
    }

    #section1 {
        flex-direction: column;
        justify-content: center;
    }
    
    #section2 {
        flex-direction: column;
        justify-content: center;
    }

    #section1 img {
        order: 1;

    }

    #section1 div {
        order: 2;
    }

    #section2 img {
        order: 1;
    }

    #section2 div {
        order: 2;
    }

    .img-margin {
        padding: 30px;
    }
}

