@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow:wght@400;700&display=swap');

/*
Theme Name: xeory_base Child
Theme URI: http://xeory.jp/
Description: xeory_base Child Theme
Author: hashiba
Author URI: https://www.sarugby.net/
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
Text Domain: xeory_base-child
*/

/* -------------------------------
*  メインカラー
*  #ff3399;  //16進数
*  (255,51,153); //rgb
------------------------------- */


body{
  font-family:'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
  color: #222;
  font-size: 16px;
  background: #fff;
  margin: 0;
}

/* -------------------------------
*  ヘッダー
------------------------------- */
header{
  width: 100%;
  height: 120px;
  padding: 0px 70px;
  position: fixed;
  background: #fff;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  z-index: 1000;
}

header .logo img{
  width: 180px;
  position: relative;
  z-index: 1100;
}

header .head_nav ul{
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 20px;
}

header .head_nav ul li{
  font-size: 0.8rem;
  font-weight: bold;
}

header .head_nav ul li a{
  display: flex;
  justify-content: center;
  align-items:center;
  color: #ff3399;
  width: 10vw;
  height: 100px;
  font-weight: bold;
}

header .head_nav ul li a:hover{
  background: #ff3399;
  color: #fff;
  text-decoration:none
}

/* 検索フォーム */

.head_search{
  position: absolute;
  right: 0;
  top: 0;
  background: #ff3399;
  width: 20vw;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items:center;
  align-content:center;
  flex-wrap: wrap;
  padding: 10px;
}

.head_search p{
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  margin-bottom: 10px;
  width: 230px;
  letter-spacing: 2px;
  text-align: left;
}

.head_search p img{
  margin-right: 10px;
}

#searchform{
  border: solid 2px #FFF;
  background: transparent;
  border-radius: 0px;
  width: 230px;
}

#searchform input{
  background: transparent;
  border-radius: 0px;
  -webkit-appearance: textfield;
  transition: 0.2s;
  color: #fff;
}

#searchform input:focus{
  background: #fff;
  color: #333;
  font-weight: bold;
}

#searchform button {
  float: right;
  position: absolute;
  top: 0;
  right: 0;
  vertical-align: top;
  line-height: 18px;
  border: none;
  border-radius: 3px;
  width: 40px;
  padding: 8px 5px;
  -webkit-transition: background .3s ease-in-out;
  transition: background .3s ease-in-out;
  background-image: url(https://icongr.am/clarity/search.svg?size=25&color=ffffff);
  background-repeat: no-repeat;
  background-position:center;
  color: transparent;
}

.sp_nav{
  display: none;
}


/* -------------------------------
*  コンテンツ
------------------------------- */
.content{
  position: relative;
  top: 120px;
}


/* 共通の記事とサイドバーのエリア */
.main{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 235px 0px;
}

/* single.phpのときの記事とサイドバーのエリア */
.single_main{
  padding: 250px 0px;
}

/* 記事のエリア */
.main-inner{
  margin: 0px 30px;
  max-width: 800px;
}

/* 記事の文章のエリア*/
article.post{
  border: none;
  background: none;
}

/* アイキャッチのエリア*/
.post-thumbnail{
  float: none;
  margin: 0 auto;
  text-align: right;
  background-image: url(img/bg.png);
  background-size: contain;
  position: relative;
}

/* アイキャッチ画像*/
.post-thumbnail img{
  width: 85%;
  height: calc(85vw / 2.28);
  object-fit:cover;
}

/*記事タイトル含む記事のヘッダー*/
.post_header{
  width: 400px;
  position: absolute;
  bottom: -130px;
  left: 50px;
  text-align: left;
}

/*記事タイトル*/
.post-title{
  text-align: left;
  color: #ff3399;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  margin: 0;
}

/*記事の更新日、カテゴリー*/
.post-date{
  position: absolute;
  bottom: -25px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.post-date li{
  margin-right: 10px;
}

.post-date li a{
  color: #ff3399;
  border: solid 1px #ff3399;
  padding: 5px;
}

/* パンくずリスト */
.breadcrumb a{
  color: #ff3399;
}

h2{
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.3rem;
  margin: 50px 0px;
  font-weight: bold;
  border: solid 3px #333;
  padding:20px;
  width: 100%;
  color: #fff;
  position:relative;
}

h2::before{
  content:"";
  display: block;
  width: 100%;
  height: 100%;
  background: #ff3399;
  border: solid 3px #ff3399;
  position: absolute;
  top:5px;
  left: 5px;
  z-index: -1;
}

h3{
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.2rem;
  margin: 30px 0px;
  font-weight: bold;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

h3::before{
  content: "";
  display: block;
  background-image: url(https://icongr.am/clarity/lightbulb.svg?size=40&color=ff3399);
  position: relative;
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

h3::after{
  content: "";
  display: block;
  position: relative;
  top:10px;
  width: 100%;
  height: 10px;
  background-size: 10px 10px;
  margin: 0 auto;
  background-image: radial-gradient(#ff3399 15%, transparent 20%);
}

table{
  width: 100% !important;
  margin:50px 0px !important;
}

.post_content p{
  line-height: 2.5;
}

.post_content img{
  margin: 30px 0px;
}

/* 目次 */
#toc_container{
  width: 100%;
  margin: 30px 0px;
  padding: 30px;
  border: none;
  background: #efefef;
}

.toc_title{
  color: #ff3399;
  font-size: 1.2rem;
}

.toc_list li a {
  color: #ff3399;
  font-size: 0.8rem;
  font-weight: bold;
}


/* 記事のフッター */
.post-footer{
  padding: 50px 0px 0px 0px;
}

.post-footer .bzb-sns-btn {
  padding: 0;
}

.post-footer .post_cat a{
  font-size: 0.8rem;
  color: #ff3399;
  border: solid 1px #ff3399;
  padding: 5px;
}


/* -------------------------------
*  一覧
------------------------------- */

.list_main{
  padding: 100px 0px;
}

.list_area{
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  align-content: flex-start;
  max-width: 765px;
}

.list_area .category_name{
  width: 100%;
  margin: 0px 20px 60px 20px;
  padding: 30px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  color: #ff3399;
  font-size: 2rem;
  letter-spacing: 5px;
  background: linear-gradient(to left, #fff 20%, rgba(255,255,255,0)),url(img/bg.png);
  background-size: cover;
}

.list_area article.post{
  max-width: 430px;
  width: 40%;
  margin: 0px 20px 60px 20px;
  border: solid 5px #efefef;
  background: #efefef;
  transition: 0.5s;
  position: relative;
}

.list_area article.post img{
  height: 200px;
  width: 100%;
  object-fit: cover;
}


.list_area article.post .catandate_area{
  color: #ff3399;
  font-size: 0.8rem;
  font-weight: bold;
  position: absolute;
  top: 0;
  background: rgba(255,255,255,0.5);
  padding: 5px 10px;
}

.list_area article.post h2{
  position: relative;
  font-size: 1rem;
  border: none;
  background: #efefef;
  color: #333;
  margin: 0;
  transition: 0.5s;
}

.list_area article.post h2::before{
  display: none;
}

.list_area article.post:hover{
  border: solid 5px #ff3399;
}

.list_area article.post a:hover{
  text-decoration: none;
}

.list_area article.post a:hover h2{
  color: #ff3399;
}


/* ページネーション */
.pnavi,.pagination{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.pnavi a,.pagination a{
  color: #ff3399;
  transition: 0.5s;
  position: relative;
  z-index: 1;
}

.pnavi a::before,.pagination a::before{
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: #ff3399;
  z-index: -1;
  transition: 0.5s;
  transform-origin: left;
  transform: scaleX(0);
}

.page-numbers,.pagination a,.pagination span{
  margin: 0px 6px;
  background: #fff;
  border: solid 2px #ff3399;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.current{
  background: #efefef;
  border: solid 2px #efefef !important;
  color: #ff3399;
}

.pnavi a:hover,.pagination a:hover{
  color: #fff;
  text-decoration: none;
}

.pnavi a:hover::before,.pagination a:hover::before{
  transform: scaleX(1);
}

/* -------------------------------
*  サイドバー
------------------------------- */
#side{
  float: none;
  margin: 0px;
  width: 220px;
}

.side-widget{
  margin-bottom: 0;
}

.side-title{
  background: #ff3399;
  padding: 10px;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  letter-spacing: 2px;
}


/* ランキング */
.ranking ul li{
  padding: 0;
  margin: 0px 0px 15px 0px;
  height: 140px;
  border: solid 3px #efefef;
  transition: 0.5s;
}

.ranking ul li img{
  top:0;
  width: 100%;
  height: 77%;
  padding: 0;
  object-fit: cover;
}

.ranking_title{
  height: 23%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 1px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
  position: relative;
  left: 9px;
}

.ranking_title::before{
  display: block;
  content: "";
  position: absolute;
  left: -6px;
  top: 3px;
  width: 25px;
  height: 25px;
  background: #ff3399;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ranking ul li:nth-child(1) .ranking_title::before{
  content: "1";
}

.ranking ul li:nth-child(2) .ranking_title::before{
  content: "2";
}

.ranking ul li:nth-child(3) .ranking_title::before{
  content: "3";
}

.ranking ul li:nth-child(4) .ranking_title::before{
  content: "4";
}

.ranking ul li:nth-child(5) .ranking_title::before{
  content: "5";
}

.ranking a:hover{
  color: #5e6265;
}

.ranking ul li:hover{
  border: solid 3px #ff3399;
  color: #ff3399;
}


/* 新着記事 */
#npcatch li{
  padding: 0;
  margin: 0px 0px 15px 0px !important;
  height: 140px;
  border:none;
}

#npcatch li a{
  display: block !important;
  padding: 0 !important;
  position: relative;
  transition: 0.5s;
  height: 100%;
  border: solid 3px #efefef;
}

#npcatch li a img{
  top:0;
  width: 100%;
  height: 77%;
  padding: 0;
  object-fit: cover;
}

#npcatch li a .title{
  font-size: 0.6rem;
  letter-spacing: 1px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
  width: 100%;
  padding: 7px 35px 7px 7px;
  background: #fff;
  overflow: hidden;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}

#npcatch li a .title::after{
  display: block;
  content: "";
  background: #ff3399 url(https://icongr.am/clarity/angle.svg?size=15&color=ffffff);
  background-repeat: no-repeat;
  background-position: center;
  border: solid 1px #ff3399;
  width: 23px;
  height: 23px;
  position:absolute;
  top:3px;
  right: 3px;
  transform: rotate(90deg);
  transition: 0.3s;
}

#npcatch li a:hover .title::after{
  background: #ffffff url(https://icongr.am/clarity/angle.svg?size=15&color=ff3399);
  border: solid 1px #ff3399;
  background-repeat: no-repeat;
  background-position: center;
}

#npcatch li a:hover{
  border: solid 3px #ff3399;
  color: #ff3399;
}


/* MOREボタン */
.postlist_button a{
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  display: block;
  width: 100%;
  padding: 10px;
  text-align: right;
  color: #ff3399;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.postlist_button a::before{
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top:0;
  left: 0;
  z-index: -1;
  background: repeating-linear-gradient(45deg, #ff3399, #ff3399 10px, #fff 10px, #fff 15px);
  transition: 0.5s;
  transform: translateX(-101%);
  transform-origin: left;
}

.postlist_button a:hover{
  color: #fff;
  text-shadow:1px 1px 0 #777, -1px -1px 0 #777,
            -1px 1px 0 #777, 1px -1px 0 #777,
            0px 1px 0 #777,  0 -1px 0 #777,
            -1px 0 0 #777, 1px 0 0 #777;
}

.postlist_button a:hover::before{
  transform:translateX(0%);
}

/* -------------------------------
*  フッター
------------------------------- */
footer{
  position: relative;
  display: flex;
  justify-content:space-between;
  bottom:-120px;
  width: 100%;
  height: 350px;
  padding: 50px 70px;
  background: linear-gradient(to bottom left, rgba(255, 255, 255, 1) 55% , transparent 55% ),url(img/bg.png);
  background-size: cover;
  border-top: solid 3px #efefef;
}

/* ロゴ */
footer .logo img{
  width: 180px;
}

footer p {
  color: #ff3399;
}

/* リンク集 */
#foot_link {
  margin: 20px 0px 5px 0px;
  font-size: 0.8rem;
  font-weight: bold;
}

.foot_left ul li{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 3px 0px;
}

.foot_left ul li::before{
  content: "";
  display: block;
  background: #ff3399;
  width: 5px;
  height: 1px;
  margin-right: 3px;
}

.foot_left ul li a{
  color: #ff3399;
  font-size: 0.7rem;
  font-weight: bold;
}

/* SNSシェアボタン */
#please_share{
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: 0.8rem;
}

#sns{
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 5px;
  position: relative;
  left: 5px;
}

.foot_sns{
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.foot_sns li a{
  display: block;
  transition: 0s !important;
}

.foot_sns li a:hover{
  opacity: 0.6;
}

/* 装飾の画像 */
#desk_img{
  position: absolute;
  right: 50px;
  bottom: 50px;
  width: 200px;
}

/* コピーライト */
#copyright{
  font-family: 'Noto Sans JP', sans-serif;
  font-weight:500;
  font-size: 0.6rem;
  width: calc(100% - 140px);
  text-align:center;
  letter-spacing: 1px;
  position: absolute;
  bottom: 20px;
}

#copyright::before{
  content: "";
  display: block;
  position: relative;
  top:-10px;
  width: 100%;
  height: 10px;
  background-size: 10px 10px;
  margin: 0 auto;
  background-image: radial-gradient(#ff3399 15%, transparent 20%);
}

/* トップへ戻るボタン */
.foot_top_scroll{
  display: flex;
  justify-content: center;
  align-items:center;
  width: 50px;
  height: 50px;
  background: #ff3399;
  position: absolute;
  top:-25px;
  right: 70px;
}


/* -------------------------------
*  991px以下
------------------------------- */
@media screen and (max-width: 991px) {

  /* ヘッダー */
  header{
    justify-content:center;
  }

  .head_nav,.head_search{
    display: none;
  }

  .sp_nav{
    display: block;
    position: absolute;
    top:0;
    left: 0;
    height: 120px;
    width: 100vw;
  }

  /* ハンバーガーメニューの線 */
  #hamburger_menu{
    display: none;
  }

  .hamburger_menu_label{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: calc(120px / 2 - 12px);
    right: 25px;
    width: 35px;
    height: 24px;
  }

  .hamburger_menu_label span{
    display: block;
    background: #ff3399;
    width: 30px;
    height: 4px;
    transition: 0.5s;
  }

  .hamburger_menu_label span::before,.hamburger_menu_label span::after{
    content: "";
    display: block;
    background: #ff3399;
    width: 30px;
    height: 4px;
    position: absolute;
    transition: 0.5s;
  }

  .hamburger_menu_label span::before{
    top:0px;
    transform-origin: left;
  }

  .hamburger_menu_label span::after{
    bottom:0px;
    transform-origin: left;
  }

  /* ドロワー */
  .sp_nav_inner{
    background:#ff3399;
    height: calc(100vh - 120px);
    width: 100%;
    position: relative;
    top:120px;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
    transition: 0.5s;
    transform: translateX(100vw);
  }

  .sp_nav_inner ul{
    width: 95%;
    padding: 30px 0px 30px 0px;
  }

  .sp_nav_inner ul li{
    border-bottom: solid 1px #FF7FBF;
  }

  .sp_nav_inner ul li a{
    display: block;
    color: #fff;
    padding: 10px 0px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 1rem;
  }

  .sp_nav_inner ul li a:hover{
    background: rgba(255,255,255,0.3);
    text-decoration: none;
  }

  /* ドロワー内の検索フォーム */
  .sp_head_search{
    width: 95%;
  }

  .sp_head_search p{
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    margin-bottom: 10px;
    width: 230px;
    letter-spacing: 2px;
    text-align: left;
  }

  .sp_head_search p img{
    margin-right: 10px;
  }

  .sp_head_search #searchform{
    width: 100%;
  }

  /* ドロワーメニューが開いているとき */

  #hamburger_menu:checked ~ .sp_nav_inner{
    transform: translateX(0px);
  }

  #hamburger_menu:checked ~ .hamburger_menu_label span{
    background: transparent;
  }

  #hamburger_menu:checked ~ .hamburger_menu_label span::before{
    top:-1px;
    transform: rotate(45deg);
  }

  #hamburger_menu:checked ~ .hamburger_menu_label span::after{
    transform: rotate(-45deg);
  }

  /* 一覧 */
  .list_main{
    padding: 0px;
  }

  .list_area{
    justify-content: center;
  }

  .list_area,.main_inner{
    margin-bottom: 60px;
  }

  #side{
    width: 90%;
    margin-bottom: 60px;
  }
}

/* -------------------------------
*  768px以下
------------------------------- */
@media screen and (max-width: 768px) {

  /* ヘッダー */
  .hamburger_menu_label{
    right: 15px;
  }

  /* 記事 */

  .main-inner{
    margin: 0px 10px;
  }

  .post-thumbnail{
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .post-thumbnail img{
    height: auto;
    width: 100%;
  }

  .post_header{
    width: 300px;
    left: 20px;
    bottom: -165px;
  }

  .post-title{
    font-size: 2.1rem;
  }

  .list_area article.post{
    width: 90%;
    max-width: 90%;
  }

  #side{
    width: 90%;
  }

  footer{
    padding: 50px 3vw;
  }

  .foot_top_scroll{
    right: 3vw;
  }

  #desk_img{
    width: 155px;
    right: 0px;
    bottom: 75px;
  }

  #copyright{
    bottom: 10px;
    width: calc(100% - 6vw);
  }

  #copyright::before{
    width: 85%;
  }

}
