@charset "UTF-8";

/*共通部分
-------------------------*/
html{
    font-size: 100%;
}
/*本文
---------------------------*/
body{
    font-family: 'M PLUS 1p', sans-serif;
    line-height: 1.7;
    color: #432;
    background-color:#f5f5dc;
}
/*フッター
---------------------------*/
footer{
    background: #333333;
    text-align: center;
    padding: 5px 0;
}
footer p{
    color: #fff;
    font-size:0.875rem;
}
/*リンク
---------------------------*/
a{
    text-decoration: none;
    list-style: none;
}
img{
    max-width: 100%;
}
/*ヘッダー
---------------------------*/
.page-header{
    display: flex;
    justify-content: space-between;
    height: 10px;
}
.page-header a{
    color:#432;
}

/*Home
---------------------------*/    
#home{
    background-color:#f5f5dc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}


.home-picture{
    width: 1000px;
    height: 550px;
    margin:0 auto;
    background-size:cover;
    background-position: 50% 50%;
    background-image: url(home/img/home6.JPG);
}
.home-content{
    text-align: center;
    margin-top: 50px;
}
.home-content p{
    font-size: 1.125rem;
    margin: 0px;
}
/*Homeナビゲーション
----------------------------*/
.main-nav{
    display: flex;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 34px;
    list-style:none;
}
.main-nav li{
    margin-left: 36px;
}
.main-nav li a{
    color:#432;
}
.main-nav li a:hover{
    color: #0bd;
}
/*about
----------------------------*/
.back-contents{
    background-color: #FFF;
    border-radius: 2%;
    width: 1000px;
    height: 550px;
    margin: 50px auto;
}

/*topicナビゲーション
----------------------------*/
.topic-nav{
    display: flex;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 34px;
    list-style:none;
}
.topic-nav li{
    margin-left: 36px;
}
.topic-nav li a{
    color:#432;
}
.topic-nav li a:hover{
    color: #0bd;
}
/*ラッパー
---------------------------*/
.wrapper{
    max-width: 1800px;
    margin:0 auto;
    padding: 0 4%;
}

/*見出し
---------------------------*/
.page-title{
    font-size: 5rem;
    font-family: 'Philosopher',serif;
    text-transform:uppercase;
    font-weight: normal;
    text-align: center;
    margin: 0 auto;
}

/*大きな背景画
---------------------------*/
.big-bg{
    background-size:cover;
    background-position: center;
}

/*news(メインエリア　サイドバー)
---------------------------*/
article{
    width: 76%;
     background-color:#FFF;
     border-radius:2%;
}
aside{
    width: 22%;
    background-color:#FFF;
    border-radius:2%;
}
/*news　メインエリア
---------------------------*/
#news{
    background-color:antiquewhite;
    height: 270px;
    margin-bottom: 40px;
}
.news-contents{
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

/*news　サイドバー
---------------------------*/
.sub-title{
    font-size: 1.375rem;
    padding: 0 8px 8px;
    border-bottom: 2px #0bd solid;
    font-weight: normal;
}
.sub-menu{
    margin-bottom: 60px;
    list-style:none;
    text-transform: uppercase;
}
.sub-menu li a{
    color: #432;
    padding: 10px;
    margin-right: 50px;
    display: block;
    border-bottom: 1px #ddd solid;
}
.sub-menu li a:hover{
    color: #0bd;
}
/*diary　メインエリア
---------------------------*/
#diary{
    background-color:#f5f5dc;
    height: 230px;
    padding-bottom: 40px;
}
.diary-contents{
    display: flex;
    justify-content: space-between;
    padding-bottom: 50px;
    background-color:#f5f5dc;
}
.diary-contents p{
    line-height: 1.5;
}

.diary-topic{
    list-style:none;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: none;
    padding-top: 50px;
    padding-left: 80px;
}
.diary-topic li{
    margin-bottom: 15px;
    margin-right:100px;
    border-bottom: 2px;
}
.diary-topic li a{
    color: #432;
    display: block;
    margin-left: 10px;
}
.diary-topic li a:hover{
    color: #0bd;
}

.post-info{
    position: relative;
    padding-top: 4px;
    margin-bottom: 100px
}
.post-info p{
    line-height: 1.8;
}
.post-date{
    background-color: #f5f5dc;
    border-radius: 50%;
    color: #432;
    width: 100px;
    height: 100px;
    font-size: 1.625rem;
    font-weight: bold;
    text-align: center;
    position: absolute;
    top: 0;
    padding-top: 10px;
}
.post-date span{
    font-size: 0.9rem;
    border-top: 1px rgba(255,255,255,.5) solid;
    padding-top: 6px;
    display: block;
    width: 90%;
    margin: 0 auto;
}
.post-title{
    font-family: 'M PLUS 1p', sans-serif;
    font-size: 2.5rem;
    font-weight: normal;
    margin-top: 50px;
    margin-right: 80px;
    border-bottom: 3px #f5f5dc solid;
}
.post-title,
.post-cat{
    margin-left: 120px;
}
.post-contents{
    margin-left: 100px;
    margin-right: 60px;
}
.bottom-space{
    margin-bottom: 60px;
}
/*diary　サイドバー
---------------------------*/
.sub-title{
    font-size: 1.375rem;
    padding: 0 8px 8px;
    border-bottom: 2px #f5f5dc solid;
    font-weight: normal;
}
.sub-menu{
    margin-bottom: 60px;
    list-style:none;
}
.sub-menu li a{
    border-bottom: 1px #f5f5dc solid;
}
.sub-menu li a{
    color: #432;
    padding: 10px;
    display: block;
}
.sub-menu li a:hover{
    color: #0bd;
}
.intro-img{
    background-image: url(img/back5.jpg);
    background-size: cover;
    background-position: 50% 50%;
    border-radius: 50%;
    height: 130px;
    width: 130px;
    margin: 0 auto;
}
.intro-name{
    text-align: center;
}
.intro-contents{
    font-size: 0.9rem;
    line-height: 1;
    margin: 0px 50px;
}

/*contact
---------------------------*/
#contact{
    background-color:antiquewhite;
    min-height: 100vh;
}
#display-flex{
    display: flex;
}
/*contact フォーム
---------------------------*/
form div{
    margin-bottom: 14px;
}
label{
    font-size: 1.125rem;
    margin-bottom: 10px;
    display: block;
}
input[type="text"],
input[type="email"],
textarea {
    background: rgba(255,255,255,.5);
    border: 1px #fff solid;
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
}
input[type="text"],
input[type="email"],{
    width: 100%;
    max-width: 240px;
}

.loader{
    height: 400px;
    width: 400px;
    /* background-color: red; */
    position: relative;
}

.loader span{
    position: absolute   ;
    width: 100%;
    height: 100%;
    border: 2px solid #222;
    animation: animate 5s linear infinite;
}

.loader span:nth-child(1){
    border-radius: 20% 80% 24% 76% / 76% 39% 61% 24% ;
}

.loader span:nth-child(2){
    animation-timing-function: ease;
    animation-direction: reverse;
    border-radius: 69% 31% 24% 76% / 30% 39% 61% 70% ;
}

.loader span:nth-child(3){
    animation-timing-function: ease-in-out;
    animation-delay: 0.5s;
    border-radius: 20% 80% 69% 31% / 76% 43% 57% 24% ;
}


@keyframes animate{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 768px) {
  /* 全体のレイアウト調整 */
  .wrapper {
    padding: 0 2%;
  }

  /* 見出し */
  .page-title {
    font-size: 2.5rem;
  }

  /* メインナビゲーション */
  .main-nav {
    flex-direction: column;
    font-size: 1rem;
    align-items: center;
  }

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

  /* ホームビジュアル */
  .home-picture {
    width: 100%;
    height: auto;
    background-size: cover;
    background-position: center;
  }

  .home-content {
    margin-top: 20px;
  }

  /* .back-contents（aboutセクション） */
  .back-contents {
    width: 100%;
    height: auto;
    padding: 20px;
    box-sizing: border-box;
  }

  /* news・diaryの２カラムを縦並びに */
  .news-contents,
  .diary-contents,
  #display-flex {
    flex-direction: column;
  }

  article,
  aside {
    width: 100%;
    margin-bottom: 30px;
  }

  /* フォームの入力幅調整 */
  input[type="text"],
  input[type="email"],
  textarea {
    width: 100%;
    max-width: 100%;
  }

  /* post-date 調整（円形の日付） */
  .post-date {
    width: 60px;
    height: 60px;
    font-size: 1rem;
    padding-top: 10px;
  }

  .post-title {
    font-size: 1.5rem;
    margin-left: 10px;
    margin-right: 10px;
  }

  .post-contents {
    margin-left: 10px;
    margin-right: 10px;
  }

  .diary-topic {
    padding-left: 20px;
    font-size: 1.2rem;
  }

  /* intro画像の調整 */
  .intro-img {
    height: 100px;
    width: 100px;
  }

  .intro-contents {
    margin: 0 20px;
    font-size: 0.85rem;
  }
}
