/*
 Theme Name:   xeory_base Child
 Theme URI:    http://xeory.jp/
 Description:  xeory_base Child Theme
 Author:       buzztter
 Author URI:   https://toribae.com/ceo/
 Template:     xeory_base
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  xeory_base-child
*/

@charset "UTF-8";
/*--------------------
*  共通
--------------------*/
html {
  margin: 0;
  padding: 0;
}
body{
  font-family: 'system-ui','Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
  margin: 0;
  position: relative;
  background-color: #FAEFD7;
  font-size: 16px;
  color: #333;
  width: 100%;
  overflow-wrap: break-word;
  counter-reset: number 0;
  word-wrap: break-word;
}
#body {
  position: relative;
  width: 100%;
  padding-top: 80px;
  overflow-x: hidden; /* bodyに効かない分 */
}

section {
  margin: 0 auto;
  z-index: 1;
  padding: 0 100px;
  margin-bottom: 100px;
}
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

a{
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

ul{
  padding: 0;
}

li{
  list-style: none;
}

h2{
  margin: 0;
  font-weight: bold;
  font-size: 24px
}
#recent h2,
#recommend h2 {
  font-family: 'Modak', cursive;
  -webkit-text-stroke: 0.5px #707070;
  text-stroke: 0.5px #707070;
  text-align: center;
  color: #F49E1B;
  font-size: 3.5rem;
  margin-bottom: 40px;
}

h3{
  font-weight: bold;
  font-size: 18px;
}

h4{
  font-weight: bold;
}

table,th, td{
  border: none;
}

th{
  font-weight: bold;
}

.pc {
  display: block;
}
.sp {
  display: none;
}
/* 追従 */
#follow {
  position: fixed;
  display: block;
  text-align: center;
  right: 40px;
  bottom: 40px;
  z-index: 300;
}
.page_top_btn {
  display: block;
  border-radius: 50%;
  padding: 11px;
  background: #F1DEB5;
  width: 80px;
  height: 80px;
  text-align: center;
  line-height: 56px;
  box-shadow: 1px 4px 8px 1px rgba(255,255,255,0.6) inset, 2px 5px 0px -1px #BFA670, 3px 4px 8px 6px rgba(0,0,0,0.16), 0px 3px 6px 1px rgba(0,0,0,0.2);
  margin: 0 auto;
  font-weight: bold;
  font-size: 1.2rem;
  color: #333;
}

/*--------------------
*  PC-ヘッダー
--------------------*/
#sp-nav {
  display: none;
}
header {
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  height: auto;
  z-index: 100;
  background: #F49E1B;
  top: 0;
  left: 0;
}
#header-nav {
  display: block;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  padding: 0;
}

.right {
  display: flex;
}
.search {
  margin: auto 20px auto 0;
}

/* カテゴリーリスト */
.fv-category-list {
  width: 100%;
  display: flex;
  justify-content: space-around;
  background-color: #F49E1B;
  padding: 20px 0;
}
.fv-category-list li {
  width: calc(100% / 3);
  text-align: center;
  border-right: 1px solid #fff;
}
.fv-category-list li+ li {
  border-left: 0;
  border-right: 1px solid #fff;
}
.fv-category-list li+ li:last-child {
  border-right: 0;
}
.fv-category-list li a {
  color: #FAEFD7;
  font-size: 1.5rem;
    display: inline-block;
  transition: all .3s ease 0s;
}
.fv-category-list li a:hover {
  opacity: 0.8;
  transform: scale(1.2);
}


/*---アーカイブページ---*/
.post-loop-wrap .search-thumbnail {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
  position: relative;
}
.post-loop-wrap .search-thumbnail img {
  width: 100%;
  height: auto;
}
.search-zoom img {
	width: 208px;
	height: 138px;
	-webkit-transition: all 0.1s ease;
	transition: all 0.3s ease;
}
.search-zoom img:hover {
	-webkit-transform: scale(1.5,1.5);
	transform: scale(1.1,1.1);
}
.post-loop-wrap .search-content{
  width: 100%;
  display: flow-root;
  padding: 10px 15px;
}
.post-loop-wrap .search-title {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: bold;
}
.post-loop-wrap .search-title a {
  color: #525E6C;
}
.post-loop-wrap .search-title a:hover {
  color: #6ea5e1;
  text-decoration:none;
}
.post-loop-wrap .search-met {
  font-size:12px;
  margin-bottom:10px;
  display:inline-block;
  color:#555555;
  border-bottom:1px #888 solid;
  padding:0 6px 0 3px;
}

/*--------------------
*  PC-FV
--------------------*/
#logo {
  width: 400px;
  margin: 20px auto 80px;
}
#category {
  background-size: auto auto;
  background-color: rgba(232, 232, 232, 1);
  background-image: repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(255, 255, 255, 1) 18px, rgba(255, 255, 255, 1) 19px );
}

.category-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-content: flex-start;
  margin: 0 auto;
}
.category-item {
  width: calc((100% / 3) - 30px);
  background-color: #fff;
  padding: 20px 20px 40px 20px;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}
.category-box {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.category-item h3 {
  text-align: center;
  font-weight: bold;
  color: #0078FF;
  margin: 20px 0;
}
.category-item p {
  font-size: 1rem;
}
.category-img {
  width: 100%;
}

.category-field {
  display: block;
  padding: 40px 0;
  flex-grow: 1;
}

.category-field ol li {
	list-style-type: decimal;/* リストの左側に黒丸 */
	margin-left: 24px;/* リストの左側に余白 */
	text-align: left;
}

.category-field li a {
  font-weight: bold;
}

.more-list,
.category-btn {
  text-align: center;
  margin: 0 auto;
}

.more-list .button_dashed {
  padding: 15px 40px;
}

.wrap{
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap;
}

.main-inner{
  margin-right: 0;
}

/*--------------------
*  PC-Recent
--------------------*/
#recent {
  background-color: #F1DEB5;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  padding: 60px 180px;
  margin: 0 -180px 60px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  main {
    width: 90%;
  }

  /* 最後余った際の疑似要素 */
  .design_box ul li img:after {
    content: "";
    display: block;
    width: 85%;
    height: 0;
  }

  .design_box ul li {
    overflow:	hidden;
    position:	relative;
  }

  .mask {
    border-radius: 15px;
  }

  .design_box ul li:hover .mask {
    opacity: 1;	/* マスクを表示する */
    padding-left:  10px;	/* 右にずらす */
  }

  .caption {
    padding-top: 5%;
    width: 90%;
  }

  .caption h3 {
    font-size: 0.8rem;
  }

  .komidasi {
    font-size: 0.6rem;
    padding-bottom: 5px;
    margin-bottom: 5px;
  }

  .syosai {
    font-size: 60%;
    line-height: 1rem;
  }

}

.checkbox_icon::before{
  display: block;
  content:"";
  width: 25px;
  height: 25px;
  position: absolute;
  left:-30px;
  background: url(img/checkbox.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 2;
}

.checkbox_blue::after{
  display: block;
  content:"";
  width: 19px;
  height: 19px;
  position: absolute;
  left: -30px;
  background: #00b8ff;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.checkbox_yellow::after{
  display: block;
  content:"";
  width: 19px;
  height: 19px;
  position: absolute;
  left: -30px;
  background: rgba(243,152,0,1);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.checkbox_pink::after{
  display: block;
  content:"";
  width: 19px;
  height: 19px;
  position: absolute;
  left: -30px;
  background: #ff008d;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/*--------------------
*  プライバシーポリシー
--------------------*/
#privacypolicy{
  padding: 40px;
  border-radius: 20px;
  background-color: #fff;
}

#privacypolicy h2 {
  margin-bottom: 20px;
}

#privacypolicy h3{
  margin-bottom: 30px;
  border-bottom: 3px solid #F49E1B;
  padding-left: 2px;
  display: inline-block;
  font-size: 22px;
}

#privacypolicy p{
  margin: 0;
  text-align: 2;
  margin-bottom: 30px;
}

#privacypolicy p:last-child{
  margin: 0;
}


/*--------------------
*  PC-フッター
--------------------*/
footer{
  margin: 0 auto;
  padding-top: 40px;
}

#footer_inner {
  text-align: center;
  background-image: url(img/footer-back.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: 108px;
}
.footer-logo {
  width: 400px;
  height: auto;
  text-align: center;
  margin: 0 auto;
}

.footer-privacy {
  text-align: center;
  padding-bottom: 5px;
}
.footer-privacy a {
  color: #333;
  font-size: 0.8rem;
}

.copyright {
  font-size: 0.9rem;
  text-align: center;
  margin: 0 auto;
  background-color: #F49E1B;
  font-weight: bold;
  padding: 10px 0;
}



/*--------------------
*  PC-固定ページ
--------------------*/
#page_header {
  background-image: url("img/header.jpg");
  background-size: cover;
  background-position: 50%;
  position: relative;
  width: 100%;
  height: 200px;
  margin: auto;
  text-align: center;
}
.category-name {
  font-size: 3rem;
  font-weight: bold;
  padding-top: 40px;
  color: #F8B551;
  position: relative;
  z-index: 100;
}
#page_header::after {
  content: '';
  background-color: rgba(0, 0, 0,.5);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

/* パン屑 */
.breadcrumb {
  width: 100%;
  margin: 20px 0px 0px 20px;
  font-size: 1rem;
}
.breadcrumb li {
  float: left;
  margin-left: 5px;
}
.breadcrumb li a {
  text-decoration: none;
  color: #333;
}

.breadcrumb .fa-folder,
.breadcrumb .fa-file-text,
.breadcrumb .fa-file {
  display: none;
}

/* TOPに戻る */
.top-btn {
  margin: 40px 0 0 20px;
}
.top-btn a {
  font-size: 1.5rem;
}

/* PC-固定ページ-コンテンツ */
#contents {
  display: flex;
  padding: 40px 100px;
}

article {
  width: 70%;
}

aside {
  display: block;
  width: 20%;
  margin-left: 10%;
}

.rank,
.recommendation {
  background-color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.rank h2,
.recommendation h2 {
  margin-bottom: 10px;
  margin: 0 auto 10px;
  display:  inline-block;     /* インラインブロックにする */
  position: relative;
  z-index: 1;               /* 重なり調整 */
}
.rank h2:before,
.recommendation h2:before {
  content:  '';               /* 空白の要素を作る */
  background-color: #B5D569;  /* 背景色指定 */
  display:  block;            /* ブロック要素にする */
  position:  absolute;        /* 位置調整 */
  left:  -10px;                   /* 位置調整 */
  height: 20px;               /* 高さ指定 */
  width: 20px;                /* 幅指定 */
  border-radius:  50%;        /* 丸くする */
  top: 2px;                     /* 位置調整 */
  z-index: -1;               /* 重なり調整 */
}
.rank h2:after,
.recommendation h2:after {
  position: absolute;
  content:  '';               /* 空白の要素を作る */
  background-color: #F49E1B;  /* 背景色指定 */
  display:  block;            /* ブロック要素にする */
  position:  absolute;        /* 位置調整 */
  right:  -8px;                   /* 位置調整 */
  height: 15px;               /* 高さ指定 */
  width: 15px;                /* 幅指定 */
  border-radius:  50%;        /* 丸くする */
  bottom: 2px;                     /* 位置調整 */
  z-index: -1;               /* 重なり調整 */
}

.recommendation-list {
  width: 100%;
  margin: 0 auto;
}
.rank-list li,
.recommendation li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.side-inner .detail_text {
  padding: 10px 0px 0px;
}


/* 未修正 */
.wpp-thumbnail {
  margin: 0 1rem;
}

/* 一覧 対応済み */
.thumb {
  width: 40%;
  margin-right: 20px;
}

.thumb img {
  width: 100%;
  height: auto;
}

.article_wrap {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  gap: 60px 25px;
  width: 100%;
  margin-bottom: 100px;
}

.article_wrap li {
  position: relative;
  width: calc((100% / 3) - 25px);
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 10px 10px 0px #f49e1b;
  padding: 0;
}
/* .article_wrap li::before {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: 0.2s;
} */
.article_wrap li:after {
  content: "";
  width: calc((100% / 3));
}
.article_wrap li:hover {
  opacity: 0.8;
  cursor: pointer;
}

.detail_text .title,
.detail_text .date {
  color: #333;
}

.rank1 {
  margin-bottom: 50px;
}
.rank2,
.rank3 {
  margin-top: 50px;
}

.rank-img {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: 100px;
}

.more-btn {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  display: inline-block;
  background-color: #FAEFD7;
  padding: 1rem 4rem;
  cursor: pointer;

  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;

  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  border-radius: 0.5rem;
  border-bottom: 5px solid #BEBEBE;
  position: relative;
  color: #333;
}
.more-btn:after {
  content: '';
  width: 10px;
  height: 10px;
  border: 0;
  border-top: solid 3px #333;
  border-right: solid 3px #333;
  position: absolute;
  top: 40%;
  right: 40px;
  margin-top: 0px;
  transform: rotate(45deg);
}

.more-btn:hover {
  margin-top: 3px;
  border-bottom: 2px solid #BEBEBE;
}

.more-btn {
  border-radius: 100vh;
}

.fa-position-right {
  position: absolute;
  top: calc(50% - .5em);
  right: 1rem;
}
}

.post_more {
  position: relative;
  display: block;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  font-size: 0.8em;
font-weight: bold;
}
.post_more::before {
  display: block;
  content: "";
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.thum-box {
  position: relative;
}

.thumbnail {
  width: 100%;
  background: #fff;
}
.article_wrap .thumbnail {
  width: 100%;
  background: #fff;
  padding-top: 30px;
  border-radius: 20px;
}

.thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.cat {
  width: auto;
  color: #333;
  display: inline-block;
  padding: 3px 10px;
  margin: 10px 15px;
  border-radius: 2px;
  border: 2px solid;
  font-size: 0.9rem;
  background-color: #fff;
}
.article_wrap .cat,
.postlist_wrap .cat {
  border: none;
  margin: 0;
  font-weight: bold;
  display: inline-block;
  padding: 6px 20px;
  border-radius: 10px 0 0 10px;
  font-size: 0.9rem;
  background-color: #B5D569;
  position: absolute;
  bottom: 15px;
  right: 0;
}

.category-starting {
  color: #0078FF;
}
.category-found {
  color: #F8B551;
}
.category-plan {
  color: #FF35CC;
}
.category-loan {
  color: #3bbf3d;
}
.category-fundraising {
  color: #b039f9;
}

.title {
  font-size: 1rem;
  margin-bottom: 2rem;
  font-weight: bold;
}
.detail_text {
  display: block;
  justify-content: space-between;
  padding: 15px 20px 10px;
  text-align: left;
}
.date {
  display: block;
  text-align: right;
  font-weight: normal;
}
.tag {
  font-size: 1rem;
}
.tag:before {
  content: "#";
}


/*--------------------
*  PC-記事一覧
--------------------*/
.postlist_wrap {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  width: 100%;
  margin-bottom: 100px;
}

.postlist_wrap li {
  width: 100%;
  display: flex;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 10px 10px 0px #f49e1b;
  padding: 20px;
}
.postlist_wrap li a {
  display: flex;
}
.postlist_wrap li:hover {
  opacity: 0.8;
  cursor: pointer;
}

.postlist_wrap .thum-box {
  width: 45%;
  border-radius: 20px;
  background: #fff;
}

.postlist_wrap .detail_text {
  padding: 10px 20px 0px 30px;
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.postlist_wrap .title {
  font-size: 1.5rem;
}

/* ページネーション */
.pagination {
  margin: 0;
}
.pagination .current,
.pagination a:hover {
  background: #F1DEB5;
  border-radius: 5px;
}
.pagination a, .pagination > span {
  margin: 2px 10px 2px 0;
}


/*--------------------
*  PC-記事
--------------------*/
article.post {
  border: none;
}

#post-page #post_list_content_inner {
  width: 100%;
}
.cat-content, article.post, article.page, article.wp101, article.seo101 {
  padding: 40px;
  border-radius: 20px;
}

#post-page .cat {
  margin: 0 0 10px 0;
}

.post-content {
  padding: 0px;
}

.post-content li {
  list-style: disc;
}

#post_thumbnail {
  text-align: center;
  margin-bottom: 40px;
}

#post_thumbnail img {
  max-height: 500px;
width: 100%;
height: auto;
object-fit: cover;
}

/* 目次 */
#ez-toc-container {
  background-color: #F1DEB5;
  border: none;
  border-radius: 15px;
  -webkit-box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
  box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
  display: table;
  margin-bottom: 1em;
  padding: 20px 15px;
  position: relative;
  width: auto;
}
div#ez-toc-container p.ez-toc-title {
  font-weight: 700;
}

.ez-toc-counter nav ul li a::before {
  /*content: counters(item, "-", decimal) "：";*/
  content: none!important;
}
div#ez-toc-container ul li {
  margin-bottom: 5px;
}
.post-content h2 {
  display: inline-block;
  clear: both;
  border-left: none;
  border-bottom: 3px solid #F49E1B;
  padding: 0 5px;
}
/*.post-content h2::before {
  position: absolute;
  top: -13px;
  left: -40px;
  height: 60px;
  width: 60px;
  border-radius: 50%;
  text-align: center;
  vertical-align: middle;
  counter-increment: number;
  content: counter(number);
  background-color: #fff;
  border: 7px solid #B5D569;
  z-index: 3;
  line-height: 55px;
}*/

.post-content h3 {
  display: inline-block;
  clear: both;
  border-left: none;
  border-bottom: 3px solid #F49E1B;
  padding: 0 2px;
}

/*Pagenation*/
.pagenation {
    margin: 1em 0;
}
.pagenation:after, .pagenation ul:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
.pagenation ul {
    margin: 0;
}
.pagenation li {
    float: left;
    list-style: none outside none;
    margin-left: 3px;
}
.pagenation li:first-child {
    margin-left: 0;
}
.pagenation li.active {
    background-color: #999999;
    border-radius: 3px;
    color: #FFFFFF;
    cursor: not-allowed;
    padding: 10px 20px;
}
.pagenation li a {
    background: none repeat scroll 0 0 #CCCCCC;
    border-radius: 3px;
    color: #FFFFFF;
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
}
.pagenation li a:hover {
    background-color: #444444;
    color: #FFFFFF;
    opacity: 0.8;
    transition-duration: 500ms;
    transition-property: all;
    transition-timing-function: ease;
}


  @media screen and (max-width: 768px) {
    #page_header{
      height: 150px;
    }

    #page_header::before{
      font-size: 13vw;
    }

    #page_header::before{
      font-size: 10vw;
    }

    #page_header p{
      line-height: 30px;
    }

    #page_header h1{
      margin: 0;
    }

    #page_header h2 {
      font-size: 1.5rem;
    }

    .category-name {
      padding-top: 30px;
      font-size: 2rem;
    }

    .pagination{
      max-width: 280px;
      padding: 0px 40px;
    }

    .pagination .current,.pagination a{
      width: 40px;
      height: 40px;
    }

    .pagination .next, .pagination .prev{
      width: 30px;
    }

    .pagination .next span{
      width: 30px;
    }
  }

/*--------------------
*  画面幅991px以下のとき
--------------------*/
/*--------------------
*  タブレット-共通
--------------------*/
@media screen and (max-width: 991px) {
  #logo,
  .footer-logo {
    width: 250px;
  }

  section {
    padding: 0 40px;
    margin-bottom: 40px;
  }

/*--------------------
*  タブレット-FV
--------------------*/
  .rank-img {
    top: -35px;
    width: 70px;
  }

  .detail_text {
    padding: 15px;
  }

  .article_wrap {
    margin-bottom: 60px;
  }

  .article_wrap .cat, .postlist_wrap .cat {
    padding: 4px 15px;
    border-radius: 10px 0 0 10px;
    bottom: 10px;
  }

/*--------------------
*  タブレット-記事一覧
--------------------*/
  #contents {
    padding: 40px 60px;
  }
  aside {
    display: block;
    width: 25%;
    margin-left: 5%;
  }

  .rank h2, .recommendation h2 {
    font-size: 20px;
  }

  .postlist_wrap .detail_text {
    padding: 0px 20px 0px 30px;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* カテゴリー */
  .category-list {
    display: block;
  }

  .category-item {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-bottom: 20px;
    padding: 20px;
  }

  .category-img {
    width: 50%;
    margin: auto 40px auto 0;
  }

  .category-field {
    padding: 20px 0;
  }

  .category-box {
    width: 50%;
    display: block;
  }


/*--------------------
*  タブレット-記事ページ
--------------------*/
  .cat-content, article.post, article.page, article.wp101, article.seo101 {
    padding: 40px 20px;
  }

  .post-content h3 {
    font-size: 22px;
  }

  .post-content h2 {
    font-size: 22px;
  }
  .post-content h2::before {
    top: -13px;
    height: 50px;
    width: 50px;
    line-height: 49px;
  }


/*--------------------
*  タブレット-フッター
--------------------*/
  #footer_inner {
    padding-top: 30px;
  }

  .copyright {
    font-size: 0.7rem;
  }
}

@media screen and (max-width: 520px) {
/*--------------------
*  SP520-共通
--------------------*/
  #body {
    padding-top: 0px;
  }

  #FV {
    padding-top: 80px;
  }

  .pc {
    display: none;
  }
  .sp {
    display: block;
  }

  #logo {
    display: none;
  }

  header {
    height: 70px;
    background-color: #F1DEB5;
  }
  #header-nav {
    display: none;
  }
  #sp-nav{
    display: block;
    position: fixed;
    z-index: 100;
    width: 100%;
    padding: 14px 15px 0;
    background-color: #F1DEB5;
  }
  #sp-label {
    display: flex;
    justify-content: space-between;
  }
  #sp_logo {
    width: 100%;
    text-align: center;
    margin: -10px auto 0;
    padding-left: 40px;
  }
  #sp_logo img {
    width: 180px;
    height: auto;
  }

  h2 {
    font-size: 1.5rem;
  }

  .head-border {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  /* 追従 */
  #follow {
    right: 20px;
    bottom: 20px;
  }

  /* ハンバーガーメニュー */
  #drawer {
    position: fixed;
    top: -2.5vh;
    left: 0;
    width: 100%;
    height: 100vh;
    display: block;
    -webkit-transform: translateX(100vw);
            transform: translateX(100vw);
    -webkit-transition: 0.3s;
    transition: 0.3s;
    overflow-y: hidden;
    z-index: 999;
    overflow-x: hidden;
  }

  #drawer_logo {
    width: 100%;
    height: 70px;
    text-align: center;
    margin: -20px auto 0;
    padding: 5px 0;
    background-color: #F1DEB5;
  }
  #drawer_logo img {
    width: 180px;
    height: auto;
  }

  #hamburger_checkbox:checked ~ #drawer{
    -webkit-transform: translateX(0);
            transform: translateX(0);
            position: absolute;
  }

  #drawer_inner{
    position: absolute;
    top: 90px;
    right: 0;
    width: 80%;
    height: auto;
    padding-bottom: 20px;
    background-color: #F1DEB5;
  }

  #hamburger_checkbox{
    display: none;
  }

  #hamburger_label{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    width: 35px;
    height: 35px;
    position: relative;
    margin-left: 10px;
  }

  #hamburger_span{
    display: block;
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: #E8A23F;
  }

  #hamburger_span::before,#hamburger_span::after{
    display: block;
    content:"";
    position: absolute;
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: #E8A23F;
  }

  #hamburger_span::before{
    top:0;
  }

  #hamburger_span::after{
    bottom: 0;
  }

  #hamburger_close{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    position: absolute;
    left: calc(100% - 60px);
    top: calc(45px - (20px / 2));
    width: 40px;
    height: 40px;
    position: relative;
    margin-left: 10px;
  }

  #hamburger_close::before{
    display: block;
    content: "";
    position: absolute;
    width: 100%;
    height: 6px;
    border-radius: 6px;
    background: #E8A23F;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }

  #hamburger_close::after{
    display: block;
    content: "";
    position: absolute;
    width: 100%;
    height: 6px;
    border-radius: 6px;
    background: #E8A23F;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }

  #drawer_inner{
    overflow-y:scroll;
  }

  #drawer_nav {
    padding: 30px 10px;
  }

  #drawer_nav li{
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #fff;
    text-align: center;
  }

  #drawer_nav li a {
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    font-weight: bold;
    text-decoration: none;
    color: #F49E1B;
    font-size: 1.2rem;

    position: relative;
    display: inline-block;
    width: 140px;
  }
  #drawer_nav li a:after {
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-top: solid 3px #F49E1B;
    border-right: solid 3px #F49E1B;
    top: 50%;
    right: -60px;
    margin-top: -4px;
    transform: rotate(45deg);
  }

  .sp-pp {
    text-align: center;
  }
  .sp-pp a {
    color: #333;
    font-size: 0.8rem;
  }


  /*--------------------
  *  SP520-FV
  --------------------*/
  section {
    padding: 0 20px;
  }

  .article_wrap li {
    margin: 0 10px 40px 10px;
    width: auto;
  }
  .article_wrap li a {
    flex-direction: column;
  }

  /* 記事一覧 */
  .article_wrap {
    flex-direction: column;
    width: 100%;
  }

  .postlist_wrap li {
    border-radius: 15px;
    padding: 10px 15px;
  }

  .article_wrap .thumbnail {
    padding-top: 20px;
  }

  .date {
    font-size: 0.8rem;
  }

  #recent {
    background-color: transparent;
    background-image: url(img/sp-back.png);
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 0;
    margin: 0 0px 60px;
    padding: 60px 0px;
  }

  #recent .article_wrap {
    flex-direction: row;
    gap: 40px 20px;
  }
  #recent .article_wrap li {
    margin: 0;
    width: calc((100% / 2) - 20px);
  }

  #recent .article_wrap .cat,
  .postlist_wrap .cat,
  #recent .detail_text .date {
    font-size: 0.8rem;
  }

  .more-btn {
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 1rem 4rem;
    border-bottom: 5px solid #BEBEBE;
    color: #333;
  }
  .more-btn:after {
    width: 8px;
    height: 8px;
    border: 0;
    border-top: solid 2px #333;
    border-right: solid 2px #333;
    right: 30px;
  }

  #recommend .article_wrap li {
    margin: 0 10px;
  }

  /* パン屑 */
  .breadcrumb {
    margin: 20px 0px 0px 20px;
    font-size: 0.8rem;
  }

  /* カテゴリー */
  article {
    width: 100%;
  }
  aside {
    width: 100%;
    margin-left: 0;
  }

  .postlist_wrap .detail_text {
    padding: 0px 0px 0px 10px;
  }

  .postlist_wrap .title {
    font-size: 1rem;
  }

  .post-title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  #post_thumbnail {
    margin-bottom: 10px;
  }

  .post-content h2 {
    font-size: 22px;
    padding: 7px 20px 7px 25px;
  }
  .post-content h3 {
    font-size: 18px;
    margin: 10px 0 20px;
  }

  .post-content p,
  .post-content pre {
    font-size: 0.9rem;
  }

  .category-item {
    flex-direction: column;
  }
  .category-img,
  .category-box {
    width: 100%;
  }

  .category-item h3 {
    margin: 20px auto 10px auto;
  }

  .category-item p {
    font-size: 0.8rem;
  }

  .more-list .button_dashed {
    padding: 10px 30px;
  }

  /*--------------------
  *  SP520-サイドバー
  --------------------*/
  .rank,
  .recommendation {
    padding: 10px;
  }
  .rank-list li,
  .recommendation li {
    margin-bottom: 10px;
  }

  .rank-list a,
  .recommendation-list a {
    display: flex;
  }

  .rank-list .thum-box,
  .recommendation-list .thum-box {
    width: 40%;
  }

  .side-inner .detail_text {
    padding: 3px 0px 0px 10px;
  }

  /* プライバシーポリシー */
  #privacypolicy {
    padding: 20px;
    margin-bottom: 60px;
  }

  #privacypolicy h3{
    margin-bottom: 10px;
    font-size: 20px;
  }


  /* TOPに戻る */
  .page_top_btn {
    padding: 9px;
    width: 70px;
    height: 70px;
    line-height: 53px;
    font-size: 1rem;
  }

  /* 記事 */
  #contents {
    padding: 40px 20px;
    display: block;
  }
  .recommendation-list {
    width: 95%;
    margin: 0 auto;
  }

  /* フッター */
  footer {
    padding: 25px 0;
  }

  #footer_inner {
    background-image: url(img/sp-footer-back.png);
  }

  #logo, .footer-logo {
    width: 140px;
  }

  .footer-privacy {
    font-size: 0.7rem;
  }


    @keyframes tonext {
    75% {
      left: 0;
    }
    95% {
      left: 100%;
    }
    98% {
      left: 100%;
    }
    99% {
      left: 0;
    }
  }

  @keyframes tostart {
    75% {
      left: 0;
    }
    95% {
      left: -300%;
    }
    98% {
      left: -300%;
    }
    99% {
      left: 0;
    }
  }

  @keyframes snap {
    96% {
      scroll-snap-align: center;
    }
    97% {
      scroll-snap-align: none;
    }
    99% {
      scroll-snap-align: none;
    }
    100% {
      scroll-snap-align: center;
    }
  }


  * {
    scrollbar-color: transparent transparent; /* thumb and track color */
    scrollbar-width: 0px;
  }

  *::-webkit-scrollbar {
    width: 0;
  }

  *::-webkit-scrollbar-track {
    background: transparent;
  }

  *::-webkit-scrollbar-thumb {
    background: transparent;
    border: none;
  }

  .carousel {
    width: calc(100% - 40px);
    position: relative;
    padding-top: 110%;
  }

  .carousel__viewport {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    overflow-x: scroll;
    counter-reset: item;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;/* box-shadow分 */
    margin-bottom: 40px;/* box-shadow分 */
  }

  .carousel__slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    counter-increment: item;
  }

  .carousel__snapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
  }

  @media (hover: hover) {
    .carousel__snapper {
      animation-name: tonext, snap;
      animation-timing-function: ease;
      animation-duration: 4s;
      animation-iteration-count: infinite;
    }

    .carousel__slide:last-child .carousel__snapper {
      animation-name: tostart, snap;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .carousel__snapper {
      animation-name: none;
    }
  }

  .carousel:hover .carousel__snapper,
  .carousel:focus-within .carousel__snapper {
    animation-name: none;
  }

  .carousel__navigation {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
  }

  .carousel__navigation-list,
  .carousel__navigation-item {
    display: inline-block;
  }

  .carousel__navigation-button {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #333;
    background-clip: content-box;
    border: 0.25rem solid transparent;
    border-radius: 50%;
    font-size: 0;
    transition: transform 0.1s;
  }


  .carousel::before,
  .carousel__prev {
    left: -1rem;
  }

  .carousel::after,
  .carousel__next {
    right: -1rem;
  }
}


@media screen and (max-width: 375px) {
/*--------------------
*  SP375-共通
--------------------*/
}

@media screen and (min-width: 1500px) {
  #recent {
    padding: 60px 300px;
    margin:0 -300px 60px;
  }
  #recent h2, #recommend h2 {
    font-size: 4.5rem;
  }

  .more-btn {
    font-size: 2rem;
  }
/*--------------------
*  デスクトップ-フッター
--------------------*/
  #footer_inner {
    padding-top: 205px;
  }
}

/*--------------------
*  リンクボックス
--------------------*/
.box1 {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: 700;
    border: solid 3px #F49E1B;
    border-radius: 8px;
    box-shadow: 4px 4px 1px #222;
}
