@charset "UTF-8";

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

}
body{
    line-height: 1.6;
    color: rgb(87, 87, 87);
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}

.main-contents {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

article {
    width: 78%;
    margin-top: 85px;
    order: 2;
}
.post-info {
    position: relative;
    margin-left: 40px;
}

.post-icon {
    background: #0bd;
    border-radius: 50%;
    color: #fff;
    width: 90px;
    height: 135px;
    text-align: center;
    position: absolute;
    top: 0;
    padding-top: 36px;
}
.post-icon span {
    font-size: 1.1rem;
    border-top: 1px rgba(255,255,255,.5) solid;
    padding-top: 10px;
    display: block;
    width: 60%;
    margin: 0 auto;
}

.post-title {
    font-family: 'Lobster', cursive;
    color: #ffffff;
    text-shadow: 4px 4px 10px rgb(0, 77, 139);
    font-size: 100px;
    font-weight: normal;
    line-height: 100px;
    margin-left: 85px;
}

.post-title2 {
  font-family: 'Lobster', cursive;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgb(14, 126, 179);
  font-size: 42px;
  font-weight: normal;
  line-height: 35px;
  margin-top: 0px;
  margin-left: 22px;
}

.sub-title {
    font-size: 22px;
    color: rgb(16, 65, 122);
    text-align: center;
    height: 30px;
    margin-top: 30px;
}

article img {
    margin-top: 50px;
    margin-bottom: 20px;
    margin-bottom: 50px;
    border: 3px solid #f0f0f0;
    box-shadow: 0 0 3px #ebe2da;
    padding: 12px;
}

.first-view {
  background-image: url(../images/index/top-img.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 25px;
}

.first-view-text p {
    font-size: 12px;
    font-weight: bold;
    color: rgb(73, 73, 73);
    line-height: 25px;
    text-align: center;
    margin-left: 18px;
    margin-right: 18px;
    margin-bottom: 12px;
}


/* サイドバー */
aside {
    width: 22%;
    margin-top: 300px;
    margin-right: 160px;
    order: 1;
}

.sub-title {
    font-size: 18px;
    padding: 0 8px 8px;
    border-bottom: 1px #c2c2c2 solid;
    font-weight: bold;
    font-family: 'Ysabeau SC', sans-serif;
    line-height: 12px;
    margin-bottom: 10px;
}

.sub-menu {
    margin-bottom: 20px;
    padding-left: 15px; 
    list-style: none;
}

.sub-menu li {
    line-height: 11px;
    font-size: 12px;
    font-weight: normal;
}

.sub-menu a {
    color: rgb(65, 65, 65);
    padding: 10px;
    display: block;
}

.sub-menu a:hover {
    color: #0bd;
}

.sub-menu-2 {
    margin-bottom: 35px;
    font-size: 18px;
    font-family: 'Ysabeau SC', sans-serif;
    font-weight: bold;
    list-style: none;
    line-height: 12px;
}

.sub-menu-2 a {
    color: rgb(65, 65, 65);
    padding: 10px;
    display: block;
    border-bottom: 1px #c2c2c2 solid;
}
.sub-menu-2 a:hover {
    color: #0bd;
}


/* フッター
------------------------------- */
footer {
    background: rgb(56, 56, 56);
    padding: 26px 0;
}
footer p {
    color: #fff;
    font-size: 0.875rem;
}

/* モバイル版
------------------------------- */
@media (max-width: 800px) {
   
   .main-contents {
        flex-direction: column;
        align-items: center;
    }
       
    article,
    aside {
        width: 100%;
    }

    .post-info {
        position: relative;
        margin-left: 10px;
    }
    
    .post-icon {
        width: 70px;
        height: 115px;
        padding-top: 30px;
        margin-left: 7px;
    }

    .post-icon span {
        font-size: 0.8rem;
        padding-top: 10px;
    }
    
    .post-title {
        font-size: 3rem;
        line-height: 50px;
        margin-left: 75px;
        padding-top: 0px;
    }
    
    .post-title2 {
      font-size: 21px;
      line-height: 17px;
      margin-left: 5px;
    }
    
    .sub-title {
        font-size: 16px;
        height: 30px;
        margin-left: 45px;
    }

    article img {
        margin-top: 20px;
        margin-bottom: 30px;
    }
    
    .first-view-text p {
        font-size: 11px;
        font-weight: bold;
        color: rgb(73, 73, 73);
        line-height: 25px;
        text-align: center;
        margin-left: 2px;
        margin-right: 2px;
        margin-bottom: 12px;
    }

    aside {
        padding-left: 35px;
        line-height: 18px;
        background-color: #f3f3f3;
        order: 2;
        margin-top: 30px;
        margin-right: 5px;
        margin-left: 5px;
    } 

    .sub-menu {
        margin-bottom: 15px;
        line-height: 10px;
        list-style: none;
    }

    .sub-menu li {
        border-bottom: 1px #ddd solid;
        line-height: 7px;
        font-size: 12px;
    }

    .sub-menu-2 {
        margin-bottom: 18px;
        font-size: 16px;
        line-height: 10px;
    }  
}