@charset "UTF-8";

/* 共通部分
------------------------------- */
:root {
    --light-green: #f3fffe;
    --green: #9EBA7B;
    --orange: #EF9D93;
    --brown: #432;
    --white: #fff;
    --light-grey:#bfd4e1;
    --oswald-font: "Yu Mincho", "YuMincho",serif;
}


html {
    font-size: 100%;
}
body{
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    line-height: 1.6;
    color: var(--brown);
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}
.section{
    margin-bottom: 180px;
}
.wrapper {
    margin: 0 auto;
    padding: 0 4%;
}
.post {
    text-align: center;
    font-family: var(--oswald-font);
    font-size: 2rem;
    font-weight: normal;
    margin: 16px;
}

/* ボタン */
.button {
    font-size: 1.375rem;
    background:var(--orange);
    color: var(--white);
    border-radius: 5px;
    padding: 18px 32px;
    box-shadow: 3px 3px 4px 0px rgba(0, 0, 0, .2);
}
.button:hover {
    background: #9c5349;
}
/* ナビゲーション */
.nav{
    display: flex;
    justify-content: center;
    font-size: 1.25rem;
    text-transform: uppercase;
    padding: 35px 0 10px 0;
    list-style: none;
    background-color: var(--orange);
}
.nav li{
    margin-left: 36px;
}
.nav a {
    color:var(--white);
}
.nav a:hover {
    color: #FAF7F0;
}
/* hero
------------------------------- */
.hero{
margin-top: 70px;
}
.hero h1{
    text-align: center;
}
/* リード
------------------------------- */
.image{
    width: 90%;
    height: 400px;
    margin: auto;
    background-image: url(../images/reset.png);
    background-position: 50%  50%;
    background-repeat: no-repeat;
    border-radius: 50% 50% 50% 70%/50% 50% 70% 60%;
    position: relative;
}
.lead{
    position: absolute;
    bottom: 20%;
}
.textlft{
    margin: 10px 0;
    text-align: left;
}


.main-contents {
    display: flex;
    justify-content: space-between;
    padding: 0 4%;
}
.contents {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}
.contents_r {
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
}
.text{
    width: 200px;
    margin: 0 10px;
}
.pic_r img,.pic_l img{
    border-radius: 5%;
}
.pic_r{
    width: 200px;
}
.pic_l{
    width: 200px;

}
/* 記事部分 */
.main {
    width: 37.5rem;
    order: 2;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative;
    margin: 0 max(21.5%) 0 auto;
    background-color: #fff;
}

.spt{
    display: flex;
    justify-content: center;
    font-size: 1.25rem;
    padding-top: 10px;
    list-style: none;
}
.spt li{
    margin: 15px;
    width: 100px;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.area {
    display: block;
    margin-left: 5px;
}

.spt img{
    width: 60%;
    margin: 4%;
}

.main p {
    margin-bottom: 2rem;
}
.concept_message{
    text-align: center;
    padding: 0 3%;
}
.round_g{
    background:url(../images/back_1.png) no-repeat top center;
    padding-bottom: 100px;
    padding-top: 80px;
    margin-top: -100px;
    background-size: 120%;
}
.backgreen{
    background-color: var(--green);
    background: linear-gradient(var(--green), var(--white));
    padding-bottom: 80px;
}
.adv{
    margin-top: 0;
}
.round_r{
    background:url(../images/back_2.png) no-repeat top center;
    padding-top: 80px;
    padding-bottom: 50px;
    margin-top: -150px;
    background-size: 120%;
}
.backorange{
    background-color:var(--orange);
    background: linear-gradient(var(--orange), var(--white));
    padding-bottom: 80px;
}
.comment{
    margin-top: 20px;
    margin-bottom: 100px;
}
/* ラスト
------------------------------- */
.last{
    height: auto;
    background: none;
    margin-bottom: 30px;
    width: 500px;
    margin: auto;
}
.lastComment{
    margin-top: 0;
}
.last p{
    text-align: center;
}
.last img{
    border-radius: 50% 50% 50% 70%/50% 50% 70% 60%;
}

/* サイドバー */
.pcSideArea {
    width: max(23.75%);
    height: 100%;
    order: 3;
    position: fixed;
    right: 0;
    top: 0;
    padding: 3%;
    background-color: var(--white);
    background-image: url(../images/town.png);
    background-position: 50% bottom;
}
.sub-title {
    font-size: 1.375rem;
    padding: 0 8px 8px;
    border-bottom: 2px var(--brown) solid;
    font-weight: normal;
}
.sub-menu {
    margin-bottom: 60px;
    list-style: none;
}
.sub-menu li {
    border-bottom: 1px var(--brown) solid;
}
.sub-menu a {
    color: var(--brown);
    padding: 10px;
    display: block;
}
.sub-menu a:hover {
    color: var(--orange);
}
.sub-comment{
    margin-bottom: 2rem;
}
aside p {
    padding: 12px 10px;
}
/* サイドバー */
.pcSideArea_r{
    order: 1;
    width: calc(100% - max(23.75%) - 37.5rem);
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    padding: 3%;
    background: var(--white) url(../images/town.png) no-repeat;
    background-position: 100% bottom;
}
.logo{
    width: 250px;
}
.logo p{
    margin-bottom: 10px;
    text-align: center;
}

/* フッター
------------------------------- */
footer {
    background: var(--orange);
    text-align: center;
    padding: 26px 0;
}
footer p {
    color: #fff;
    font-size: 0.875rem;
}


/* モバイル版
------------------------------- */
@media (max-width: 1100px) {
    .post {
        font-size: 1.5rem;
    }
    .section{
        margin-bottom: 200px;
    }

    .main-contents {
        flex-direction: column;
        padding: 0;
    }
    #news .page-title {
        margin-top: 30px;
    }
    .main {
        width: 100%;
    }
    .hero{
        margin-top: 100px;
        }
    .imgcenter{
        text-align: center
    }
    .spt{
        font-size: 0.8rem;
        line-height: 1.4;
        padding-top: 0px;
    }
    .round_g{
        padding-top: 44px;
        padding-bottom: 130px;
    }
    .backgreen{
        padding-top: 30px;
    }
    .round_r{
        padding-top: 44px;
        margin-top: -200px;
    }
    .backorange{
        padding-top: 30px;
    }
    .last{
        width: 300px;
    }
    .lastComment{
        margin-top: 0;
    }

    .pcSideArea,.pcSideArea_r {
        display: none;
    }
    .wrapper{
        padding: 0 2%;
    }
    .nav{
        font-size: 1rem;
        min-width: 100%;
        position: fixed;
        z-index: 999;
    }
    .nav li{
        margin: 0 10px;
    }

}
