@charset "utf-8";

input[type=text], input[type=button], input[type=submit], textarea {
    -webkit-appearance: none;
    -webkit-border-radius: 0;
}

html {
    font-size: 62.5%;
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif !important; 
}  

input[type="text"], input[type="submit"], textarea {
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif !important; 
    border: solid 1px #b9b9b9 !important; /* #b9b9b9; */
}

body {
    line-height: 1.5;
    padding: 0;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

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

.inner {
    margin: 0 auto;
    max-width: 1000px;
    padding: 0 25px;
}

#burger {
    display: none;
}

header .headerset {
    display: flex;
    align-items: center;
    padding: 48.5px 0 26.5px 0;
}

header .headerset nav a {
    margin-left: 50px;
    color: #000;
    font-size: 1.2rem;
}

header .headerset img {
    height: 45px;
}

section.visual .visual {
    display: flex;
    align-items: stretch;
}

section.visual .visual .left {
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    font-size: 2rem;
    flex-grow: 1;
    height: 430px;
    
    display: block;
}

section.visual .visual .left .post {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    flex-direction: column;
}

section.visual .post p:nth-child(1) {
    font-size: 2rem;
    margin-bottom: 10px;
}

section.visual .post p:nth-child(2) {
    font-size: 27px;
    margin: 0;
    margin-bottom: 40px;
}

section.visual .visual .right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    margin-left: 30px;
    width: 225px;
    min-width: 225px;
    max-width: 225px;
    padding-right: 15px;
    margin: 23px 0px 10px 30px;
}

section.visual .visual .right p {
    font-size: 18px;
    text-align: center;
    margin: 0;
    margin-bottom: 18px;
}

section.visual .visual .right .box-a {
    padding: 12px;
    margin-bottom: 12px;
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    min-width: 10px;
}

section.visual .visual .right .box-b {
    padding: 8px;
    margin-bottom: 14px;
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    box-sizing: border-box;
    flex-grow: 1;
}

section.visual .visual .right .box-c {
    text-align: center;
}

section.visual .visual .right .box-c input {
    padding: 8px;
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    box-sizing: border-box;
    background: white;
    width: 45%;
}

section.visual .visual .right .box-d {
    display: none;
}

section.section1 {
    margin-top: 44px;
}

section.section1 .secflex{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: -40px;
    margin-top: -42px;
}

section.section1 .sec1{
    background-color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    text-align: center;
    width: 304.5px;
    height: 200px;
    margin-left: 40px;
    margin-top: 42px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.section1 .sec1:first-child{
    display: none;
}

section.section1 .sec1 p:nth-child(1) {
    font-size: 16px;
    margin: 0;
    margin-bottom: 5px;
}

section.section1 .sec1 p:nth-child(2) {
    font-size: 18px;
    margin: 0;
    margin-bottom: 25px;
}

section.section2 {
    margin-top: 42px;
}

section.section2 .sec2flex {
    display: flex;
    align-items: flex-begin;
}

section.section2 .sec2flex .sec2box.box1 {
    flex: 28;
    margin-left: 0;
    height: 367.2px;
}

section.section2 .sec2flex .sec2box iframe {
    width: 100%;
    height: 100%;
    display: block;
}

section.section2 .sec2flex .sec2box.box2 {
    flex: 10;

    font-size: 14px;
    padding: 26px 35px;
}

section.section2 .sec2flex .sec2box.box2 .title {
    text-align: center;
}

section.section2 .sec2flex .sec2box.box2 img {
    display: block;
    width: 89px;
    height: 89px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
}

section.section2 .sec2flex .sec2box.box2 h1 {
    text-align: center;
    margin: 1em;
    font-weight: normal;
    font-size: 14px;
}

section .sec2box {
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    width: 300px;
    margin-left: 40px;
}

section.section3 {
    margin: 45px 0 127px;
}

.banners {
    display: flex;
}

.banners .banner {
    display: block;
    margin-right: 10px;
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
}

.banners .banner img {
    display: block;
    width: 167.5px;
}

footer .sns {
    display: flex;
    justify-content: center;
}

footer .sns a {
    display: block;
    width: 26px;
    margin-right: 10px;
}

footer .sns a:last-child {
    margin-right: 0;
}

footer .sns a img {
    display: block;
    width: 100%;
}

footer {
    font-size: 12px;
}

footer p {
    text-align: center;
    font-size: 13px;
    margin-top: 13px;
}

footer .three {
    display: flex;
}

footer .three p {
    flex: 1 1 0;
}

footer .three p:last-child {
    text-align: right;
}

/* POST */

section.post .inner {
    max-width: 600px;
}

section.post h1 {
    font-size: 34px;
    font-weight: normal;
    text-align: center;
    margin-bottom: 26px;
}

section.post {
    font-size: 22px;
    line-height: 1.9;
    margin: 65px 0 130px;
}

section.post p {
    margin: 0px 0px 43px;
}

section.post img {
    display: block;
    width: 100%;
}

.pagination {
    margin: 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination > div {
    flex: 1 1 0;
    text-align: center;
}

/* POSTS */

section.posts section.section1 .sec1:first-child {
    display: flex;
}

section.posts section.section1 {
    margin-top: 0;
}

@media only screen and (max-width: 720px) {
    .inner {
        padding: 0 10px;
    }

    #burger {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        -webkit-appearance: none;
        appearance: none;
        
        background: rgba(255,255,255,0.8);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        backdrop-filter: saturate(180%) blur(20px);

        border: none;

        padding: 13px 10px;
        cursor: pointer;

        width: 17.5px;
        height: 11.5px;

        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
    }

    #burger div {
        display: block;
        height: 1.5px;
        background: #bebebe;
        transform: translateY(0) rotate(0);
        opacity: 1;
        will-change: transform, opacity;
        transition: transform 300ms ease, opacity 300ms linear;
    }

    #burger.open div:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }

    #burger.open div:nth-child(2) {
        opacity: 0;
    }

    #burger.open div:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 50;
        width: 55%;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform 300ms ease-out;
        will-change: transform;

        background: rgba(255,255,255,0.8);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        backdrop-filter: saturate(180%) blur(20px);
    }

    header.open {
        transform: translateX(0);
    }

    header .headerset {
        display: block;
    }

    header .headerset nav {
        display: block;
    }

    header .headerset nav a {
        display: block;
        padding: 10px 10px;   
        margin-left: 0;
    }

    header .headerset > a {
        display: block;
        padding: 10px;
    }

    section.visual .visual .left {
        display: none;
    }

    section.visual .visual .right {
        margin: 61px 0 55px;
        padding-right: 0;
        height: 620px;
        width: 100%;
        min-width: auto;
        max-width: none;
    }

    section.visual .visual .right .box-a {
        padding: 19px;
        margin-bottom: 18px;
    }

    section.visual .visual .right p {
        font-size: 27px;
        margin-bottom: 24px;
    }

    section.visual .visual .right input,
    section.visual .visual .right textarea {
        font-size: 18px;
    }

    section.visual .visual .right .box-b {
        margin-bottom: 23px;
    }
    

    section.visual .visual .right input[type='submit'] {
        font-size: 15px;
        padding: 14px;
    }

    section.section1 {
        margin-top: 0;
    }

    section.section1 .secflex{
        display: block;
        margin-left: 0px;
        margin-top: 0px;
        padding: 0px 0;
    }
    
    section.section1 .sec1{
        height: 231px;
        width: auto;
        font-size: 26px;
        margin-top: 0px;
        margin-left: 0px;
        margin-right: 0px;
        margin-bottom: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    section.section1 .sec1 p:nth-child(1) {
        font-size: 25px;
        margin-bottom: 6px;
    }
    
    section.section1 .sec1 p:nth-child(2) {
        font-size: 25px;
        margin-bottom: 7px;
    }

    section.section1 .sec1:first-child{
        display: flex;
    }

    section.section2 {
        margin-top: 15px;
    }

    section.section2 .sec2flex {
        display: block;
    }

    section.section2 .sec2flex .sec2box {
        width: auto;
    }

    section.section2 .sec2flex .sec2box.box1 {
        height: 172px;
    }

    section.section2 .sec2flex .sec2box iframe {
        height: 100%;
    }

    section.section2 .sec2flex .sec2box.box2 {
        margin: 30px 0 15px;
        padding: 30px 40px 38px;
        font-size: 16px !important;
    }

    section.section2 .sec2flex .sec2box.box2 img {
        width: 104px;
        height: 104px;
    }

    section.section2 .sec2flex .sec2box.box2 h1 {
        text-align: center;
        margin: 1em;
        font-weight: normal;
        font-size: 16px;
    }    

    section.section3 {
        margin: 30px 0 115px;
    }

    .banners {
        display: block;
    }

    .banners .banner {
        width: auto;
        margin-right: 0;
        margin-bottom: 30px;
    }

    footer .sns a {
        width: 45px;
        margin-right: 20px;
    }

    .banners .banner img {
        width: 100%;
    }

    footer {
        font-size: 12px;
    }

    footer p {
        margin-top: 20px;
    }

    footer .three {
        display: block;
    }
    
    footer .three p:last-child {
        text-align: center;
    }

    /* POST */

    section.post h1 {
        font-size: 22px;
    }
    
    section.post {
        font-size: 14px;
    }
    
    /* POSTS */

    section.posts {
        padding: 61px 0 90px;
    }

    section.posts section.section1 {
        margin-top: 0;
    }
}