@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Vollkorn:wght@500&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  color: #000;
  font-family: source-han-serif-japanese, YuMincho, '游明朝', serif;
  font-size: 100%;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

a:hover {
  color: #8ec6c7;
}

.wrapper {
  margin: 0 auto;
  max-width: 1170px;
  justify-content: space-between;
  padding: 0 6%;
}

::selection {
    background-color: #aee2d6;
}

/* -------------------- */
/* ページトップへ戻るボタン */
/* -------------------- */

.pagetop {
  height: 46px;
  width: 46px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #fff;
  opacity: 0.6;
  border: solid 1px #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  transform: translateY(20%) rotate(-45deg);
}

/* ------------ */
/* ヘッダー */
/* ------------ */

.page-header {
  display: flex;
}

.site-ttl {
  font-size: 4em;
  font-family: "athelas-bold", 'Vollkorn', serif;
  margin-top: 8px;
}

.size60 {
  font-size: 60%;
}

@media screen and (max-width:768px) {
  .site-ttl {
  font-size: 3em;
  margin-top: 0px;
  }
}

/* ------------------ */
/* ナビゲーション */
/* ------------------ */

.navbar-nav a {
  text-decoration: none;
}

.navbar-nav a:hover {
  text-shadow:none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 20 4'%3E%3Cstyle type='text/css'%3E.squiggle{animation:shift .3s linear infinite;}@keyframes shift {from {transform:translateX(0);}to {transform:translateX(-20px);}}%3C/style%3E%3Cpath fill='none' stroke='%23aee2d6' stroke-width='2' class='squiggle' d='M0,3.5 c 5,0,5,-3,10,-3 s 5,3,10,3 c 5,0,5,-3,10,-3 s 5,3,10,3'/%3E%3C/svg%3E");
  background-position: bottom;
  background-repeat: repeat-x;
  background-size: 20%;
  border-bottom: 0;
  padding-bottom: .3em;
  text-decoration: none;
}

.navbar-nav {
  display: flex;
  font-size: 1em;
  font-family: "athelas-regular", 'Vollkorn', serif;
  margin-top: 57px;

}

.nav-item {
  margin-left: 25px;
}

.burger-btn {
  display: none;
}

@media screen and (max-width:1024px) {
  .burger-btn {
    margin-top: 2%;
    display: block;
    width: 39px;
    height: 39px;
    position: relative;
    z-index: 4;
    border: none;
  }

  .bar {
    width: 20px;
    height: 2px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000;
  }

  .bar_top {
    top: 10px;
  }

  .bar_mid {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .bar_bottom {
    bottom: 10px;
  }

  .burger-btn.close .bar_top {
    transform: translate(-50%, 10px) rotate(45deg);
    transition: transform .3s;
  }

  .burger-btn.close .bar_mid {
    opacity: 0;
    transition: opacity .3s;
  }

  .burger-btn.close .bar_bottom {
    transform: translate(-50%, -8px) rotate(-45deg);
    transition: transform .3s;
  }

  #navbar {
    display: none;
    opacity: 0.9;
    background-color: #ffffff;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
  }

  .header-nav {
    width: 100%;
    height: 100%;
    z-index: 3;
  }

  .navbar-nav {
    display: block;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .nav-item {
    margin-left: 0;
    margin-bottom: 30px;
  }

}

/* -------------- */
/* 一覧ボタン */
/* -------------- */

.btn-index{
  font-family: source-han-sans-japanese,sans-serif;
  font-size: 0.8em;
  border: solid 1px #ccc;
  border-radius: 4px;
  padding: 8px;
  margin:0 auto 20px;
  text-align: center;
  width: 260px;
}

.btn-index:hover {
  background-color: #eee;
}

.btn-index,
.btn-index::before,
.btn-index::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  transition: all .3s;
}

.fa-stack {
  margin: -8px 0;
}

.fa-1x {
    font-size: 0.9em;
}

/* ------------ */
/* フッター */
/* ------------ */

.page-footer {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
  /*justify-content: flex-end;*/
}

.sns {
  font-family: "athelas-bold", 'Vollkorn', serif;
  font-size: 1.2em;
}

.copyright {
  font-family: "athelas-bold", 'Vollkorn', serif;
}

@media screen and (max-width:768px) {

  .sns {

  }

  .copyright {

  }

}

/* -------------------------- */
/* 各カテゴリーのタイトル */
/* -------------------------- */

.cat-ttl {
  font-size: 2.1em;
  font-family: "athelas-bold", 'Vollkorn', serif;
  width: 226px;
  height: 45px;
  margin-top: 35px;
  position: relative;
  animation-name: fadein-title;
  animation-duration: 2s;
}

.cat-ttl:after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 2px;
    background: linear-gradient(transparent 0%, #aee2d6 100%);
    animation-name: fadein-title-line;
    animation-duration: 4s;
    z-index: -1;
}

@keyframes fadein-title {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadein-title-line {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cat-ttl-post {
  font-size: 2.4em;
  font-family: "athelas-bold", 'Vollkorn', serif;
  width: 220px;
  height: 45px;
  margin-top: 35px;
  position: relative;
}

@media screen and (max-width:768px) {
  
  .cat-ttl,.cat-ttl-post  {
    font-size: 1.5em;
    margin-top: 15px;
    width: 170px;
  }

  .cat-ttl:after {
      bottom: 12px;
  }
}

/* -------------------- */
/* ページネーション */
/* -------------------- */

.pagination-container ul {
  width: 100%;
  display: flex;
  justify-content: center;
}

/*.pagination-container li+li {*/
/*  margin: 1px;*/
/*}*/

.pagination-container a {
  padding: 3px 18px;
  display: block;
  color: #000;
  text-decoration: none;
  background: #fff;
}

.pagination-container .navi-active {
  padding: 3px 18px;
  color: #fff;
  background: #000;
}

.pagination-container a:hover {
  color: #fff;
  background: #aee2d6;
}

@media screen and (max-width:768px) {
  .pagination-container {
    width: 100%;
    /*margin: 0 1em;*/
  }
  
  .pagination-container a {
      padding: 3px 12px;
      display: block;
      color: #000;
      text-decoration: none;
      background: #fff;
    }
    
    .pagination-container .navi-active {
      padding: 3px 12px;
      color: #fff;
      background: #000;
    }
}


/* --------------- */
/* ふわっと表示 */
/* --------------- */

.fadein {
  animation-name: fadein-item;
  animation-duration: 2.5s;
}

@keyframes fadein-item {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

