@charset "UTF-8";
@media screen and (min-width: 641px) {
:root {
  --contents-width: 1200px;
}
body{
padding-top: 0px;
}
/* ------------------------------1
ドラッグの色変更
------------------------------ */

/* ------------------------------
ヘッダー
------------------------------ */
.header{
  border-bottom: 3px solid var(--main-color2);
  background: #fff;
  padding:0;
  position: static;
  height: 80px;
}
.header__inner{
  width: 1000px;
  margin: 0 auto;

}

@media screen and (min-width: 1200px) {
  .header__inner{
    width: calc(100% - 60px);
    margin: 0 auto;
  }
}

a.header__logo{
  display: inline-block;
  width: 240px;
  font-weight: bold;
  text-decoration: none;
  color: var(--main-color2);
  font-size: 12px;
  position: relative;
  top: 2px;
}

.header__navList{
  padding-left: 20px;
}

.header__logo small{
  color: var(--main-color2);
  font-size: 12px;
  display: block;
  text-align: center;
}

.header__logo img{
  width: 100%;
  vertical-align: bottom;
}

.header__nav{
  width: calc(100% - 300px);
  display: inline-block;
	  text-align: right;
}

.header__navList li{
  display: inline-block;
}

.header__inner form{
  display: inline-block;
  position: relative;
  top: 12px;
}

header #searchform{
  display: inline-block;
}



.header__inner .search{
    display: inline-block;
    z-index: 90;
    width: 1px;
    border: none;
    background: #fff;
    position: absolute;
    top: 0px;
    right: 0px;
    transition: 0.3s;
    padding: 15px 1px 15px 1px;
}

.header__inner .search.active{
    position: absolute;
    background: #eee;
    border: none;
    padding: 15px 65px 15px 20px;
    border-radius: 300px;
    right: -1px;
    min-width: 180px;
    transition: 0.3s;
}

.header__navList li a{
  display: inline-block;
  width: 158px;
  line-height: 50px;
  text-align: center;
  color: #333;
  text-decoration: none;
	font-size: 15px;
	font-weight:normal;
}

.header__navList li a:hover{
  background-color: #e1edf2;
}

.header input[type="image"]{
  border-radius: 300px;
  background-color: var(--main-color2);
  color: #fff;
  width: 44px;
  height: 44px;
  line-height: 44px;
  border: none;
  position: relative;
  z-index: 100;
}

/* ------------------------------
スライダー
------------------------------ */

.topSlider .swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom, .swiper-pagination-fraction {
  bottom: -3px !important;
  left: 0;
  width: 100%;
}

.swiper-wrapper{
  padding: 20px 0;
}

.topSlider .swiper-pagination-bullet-active{
  background-color: var(--main-color2);
}

.swiper-slide{
  background-color: #fff;
  padding: 10px;
  box-sizing: border-box;
  margin: 0px 10px;
}

.swiper-slide a{
  display: flex;
  color: var(--main-color2);
  text-decoration: none;
  font-weight: normal;
}

.swiper-slide a:hover{
  opacity: 0.6;
}

.swiper-slide a .img{
  padding: 10px;
  width: 50%;
  display: inline-block;
}

.swiper-slide a .txt{
  padding: 10px;
  width: 50%;
}

.swiper-slide a .txt .cat{
  display: inline-block;
  background-color: var(--main-color2);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.0;
  padding: 5px 10px;
}

.swiper-slide a .txt .ttl{
  overflow: hidden;
  width: calc(100% - 20px);
  height: 60px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
}

.swiper-slide a .txt .lead{
  overflow: hidden;
  border-top: 1px solid var(--main-color2);
  margin-top: 15px;
  padding-top: 15px;
  width: calc(100% - 20px);
  height: 55px;
  font-size: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.topSlider{
  border-bottom: 3px solid var(--main-color2);
}

.sp_img{
  display: none;
}

/* ------------------------------
トップページ
------------------------------ */
/* ------------------------------
CONTENTS
------------------------------ */
.contents{
  width: 100%;
  margin: 0 auto; 
  padding: 0;
}


.contents.top h2{
  font-size: 40px;
  text-align: center;
  line-height: 1.0;
  margin:80px auto 0;
  font-family: var(--font-family2);
  font-style: normal;
}

.top .contents__inner{
}

.top .contents__inner section{
  background: #f1f1f1;  
  padding: 30px 0 120px;
}

.top .contents__inner section:nth-of-type(even){
  background: #fafafa;
}

@media screen and (min-width: 1200px) {
  .top.contents{
    width: calc(100% - 0px);
  }
}



.newArticles__cards{
  display: flex;
  padding: 0 60px;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  display: -ms-flex;
  display: -webkit-flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 30px;
}

.newArticles__card{
  background: #fff;
  margin-top: 60px;
  width: 26%;
  display: flex;
  display: -ms-flex;
  display: -webkit-flex;
}

.newArticles__card a{
  text-decoration: none;
  color: var(--main-color2);
}

.newArticles__card a:hover{
  opacity: 0.6;
}

.newArticles__card-img{
  position: relative;
}

.newArticles__card-cat{
  position: absolute;
  bottom: 0;
  left: -10px;
  display: inline-block;
  background-color: var(--main-color2);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.0;
  padding: 5px 10px;
}

.newArticles__card-txt{
  padding: 10px;
}

.newArticles__card-ttl{
  font-size: 17px;
  line-height: 1.5;
  font-weight: bold;
}

.newArticles__card-lead{

}

.newArticles__moreLink a{
  margin: 60px auto 0;
  background-color: var(--main-color);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  display: block;
  line-height: 1.0;
  padding: 20px 0;
  width: calc(100% - 120px);
  box-sizing: border-box;
  text-decoration: none;
  position: relative;
}

.newArticles__moreLink a::after{
    content: "";
    background-image: url(../img/angle-right-wh.svg);
    position: absolute;
    right: 20px;
    top: 50%;
    width: 15px;
    height: 20px;
    margin-top: -10px;
    display: inline-block;
}


.newArticles__moreLink a:hover{
  opacity: 0.6;
}



.ranking__cards{
  display: flex;
  padding: 0 60px;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  display: -ms-flex;
  display: -webkit-flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  justify-content: flex-start;
  gap: 30px;
}

.ranking__card{
  background: #fff;
  margin-top: 60px;
  width: 24%;
  display: flex;
  display: -ms-flex;
  display: -webkit-flex;
}

.ranking__card a{
  text-decoration: none;
  color: var(--main-color2);
}

.ranking__card a:hover{
  opacity: 0.6;
}

.ranking__card-img{
  position: relative;
}

.ranking__card-cat{
  position: absolute;
  bottom: 0;
  left: 0;
  display: inline-block;
  background-color: var(--main-color2);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.0;
  padding: 5px 10px;
}

.ranking__card-ttl{
  font-size: 17px;
  font-weight: bold;
  line-height: 1.5;
}

.ranking__card-txt{
  padding: 10px;
}

.ranking__card-lead{
  font-weight: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.ranking__moreLink a{
  margin: 60px auto 0;
  background-color: var(--main-color);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  display: block;
  line-height: 1.0;
  padding: 25px 0;
  width: calc(100% - 120px);
  box-sizing: border-box;
  text-decoration: none;
  position: relative;
}


.top .contents__inner section.topCategory{
  padding:30px 0;
}

.topCatecory__list{
  margin: 40px auto;
  display: flex;
  padding: 0 60px;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  display: -ms-flex;
  display: -webkit-flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
}

.topCatecory__item{
  margin-top: 0;
}


.topCatecory__title{
  font-size: 160%;
  font-weight: bold;
  margin: 20px auto 0;
  padding:0 60px
}

.topCatecory__moreLink a{
  margin: 60px auto 0;
  background-color: var(--main-color);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  display: block;
  line-height: 1.0;
  padding: 20px 0;
  width: calc(100% - 120px);
  box-sizing: border-box;
  text-decoration: none;
  position: relative;
}

.topCatecory__item{
  display: inline-block;
  background: #fff;
  width: 30%;
  text-decoration: none;
  color: var(--main-color2);
  margin-bottom:30px;
}

/*
.topCatecory__list{
  display: flex;
  padding: 0 60px;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  display: -ms-flex;
  display: -webkit-flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;  
}
*/

.topCatecory__item a{
  display: inline-block;
  width: 100%;
  text-decoration: none;
  color: var(--main-color2);
  padding-bottom: 20px;
}

.topCatecory__item a:hover{
  opacity: 0.6;
}

.topCatecory__item-tag,
.topCatecory__item-subTitle,
.topCatecory__item-title,
.topCatecory__item-img{
}

.topCatecory__item-title{
  padding: 20px;
  font-size: 17px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.topCatecory__item-subTitle{
  font-size: 13px;
  line-height: 1.5;
  padding:0 20px;
  font-weight: normal;
}

.top section.contents__theContent{
  padding: 60px;
}

.topCatecory__item-tag{
  padding-left:10px ;
}

.topCatecory__item-tag .tag{
  font-size: 10px;
  color: #000;
  display: inline-block;
  margin-left: 10px;
  font-weight: normal;
}

.topCatecory__item-tag .tag::before{
  content: "";
  background-image: url("../img/tag_img.png");
  display: inline-block;
  width: 15px;
  height: 15px;
  background-size: 15px;
  position: relative;
  top: 4px;
  margin-right: 3px;
}

/* ------------------------------
フッター
------------------------------ */
.bottom{
  background: #f7f7f7;
  padding: 60px 0;
}

.bottom__inner{
  width: 1000px;
  margin: 0 auto;
  display: flex;
}

.bottomCategory,
.bottomKeyword{
  padding:0px 10px;
  box-sizing: border-box;
  width: 50%;
}

.bottomCategory{
  margin-top: 0;
}

.bottom__ttl{
  font-size: 30px;
  font-family: var(--font-family2);
  text-align: center;
  line-height: 1.2;
}

.bottom__ttl small{
  text-align: center;
  display: block;
}

.bottom__link{
  margin: 20px auto 0;
  padding:0 30px;
}

.bottom__link-item{
  display: inline-block;
}

.bottom__link-item a{
  display: inline-flex;
  display: -ms-inline-flex;
  display: -webkit-inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: #fff;
  padding: 8px 10px 8px 8px;
  border: 1px solid #51c7e3;
  font-size: 12px;
  font-weight: bold;
  color: #51c7e3;
  border-radius: 5px;
  line-height: 1.0;
  text-decoration: none;
}

.bottom__link-item a::before{
  content: "# ";
}

.bottom__link-item a:hover{
  text-decoration: underline;
}

.c-fixBtn {
  width: 52px;
  height: 52px;
  bottom: 2.5em;
  right: 2.5em;
}

/* ------------------------------
SINGLE　投稿
------------------------------ */
body.single{
  background-color: #F7F7F7;
  width:100%;
  box-sizing:border-box;
}

.flexContents{
  width: 1024px;
  display: flex;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
}
.flexContents.block{
  display: block;
}
main.single{
  width:100%;
}

/* ------------------------------
PAGE　ページ
------------------------------ */
main.page{
  width: 670px;
}

/* ------------------------------
関連記事
------------------------------ */
	
.recommend_article .entry_box {
	position: relative;
}

.recommend_article .entry_box a{
	text-decoration: none;
	color: inherit;
}

.recommend_article .entry_box .txt .view_count{
	position: absolute;
	bottom: 5px;
	right: 10px;
	font-size: 14px;
}

.recommend_article .entry_box a{
	margin-bottom:20px;
	display:block;
	text-decoration:none;
	color:#111;
}

.recommend_article .entry_box:nth-last-of-type(1) a{
	margin-bottom:0;
}

.recommend_article .entry_box a .img{
	width:322px;
	float:left;
	position:relative;
}

.recommend_article .entry_box a .img img{
	width:100%;
	vertical-align:bottom;
}

.recommend_article .entry_box a .txt{
	margin-left:340px;
}

.recommend_article .entry_box a .txt .category{
	font-size:87%;
	color:#77C5DE;
	font-weight:normal;
}
	
.recommend_article .entry_box a .view_count{
	font-size:12px;
	font-weight:normal;
}

/* ------------------------------
サイド
------------------------------ */
.sidebar{
  width: 300px;
  margin-left: 60px;
}

.sidebar h2{
  font-size: 25px;
}

/* ------------------------------
404 NOTFOUND
------------------------------ */

/* ------------------------------
CATEGORY　カテゴリー
------------------------------ */
body.archive{
  background-color: #F7F7F7;  
}
.category__header{
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  width: calc(var(--contents-width) - 20%);
  margin: 0 auto;
  padding: 0;
}

.category__header-heading{
  font-size: 40px;
  text-align: center;
  line-height: 1.0;
  margin:80px auto 0;
  font-family: var(--font-family2);
  font-style: normal;
}

.cardList{
  display: flex;
  padding: 0 60px;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  display: -ms-flex;
  display: -webkit-flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
}

.cardList__item{
  background: #fff;
  margin-top: 60px;
  width: 30%;
  display: flex;
  display: -ms-flex;
  display: -webkit-flex;
}

.cardList__item a{
  text-decoration: none;
  color: var(--main-color2);
}

.cardList__item a:hover{
  opacity: 0.6;
}

.cardList__item-img{
  position: relative;
}

.cardList__item-cat{
  position: absolute;
  bottom: 0;
  left: 0;
  display: inline-block;
  background-color: var(--main-color2);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.0;
  padding: 5px 10px;
}

.cardList__item-txt{
  padding: 10px;
}

.cardList__item-ttl{
  font-size: 17px;
  line-height: 1.5;
  font-weight: bold;
}

.cardList__item-lead{
  font-size: 12px;
  line-height: 1.5;
  font-weight: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}



/* ------------------------------
投稿・固定ページ
------------------------------ */

}
/* アコーディオンメニュー */
.ac-menu:last-child {
  margin-bottom: 60px; /* 最後の要素の下にだけ余白 */
}
.ac-menu input {
  display: none;
}
.ac-menu label {
  color: #fff; /* 文字色 */
  font-size: 15px; /* 文字サイズ */
  line-height: 2; /* 行間 */
  font-weight: bold; /* 文字を太く */
  text-align: center; /* 文字を中央に */
  background: #51c7e3; /* 背景色 */
  margin-top: 20px;
  padding: 20px; /* 内側の余白 */
  cursor: pointer;
  position: relative;
  display: block;
}
.ac-menu label:after {
  position: absolute;
  right: 20px; /* 左からの距離 */
  top: 50%; /* 上下中央配置 */
  -webkit-transform : translateY(-50%);
  transform : translateY(-50%);
  content: "＋"; /* アイコン */
}
.ac-menu input:checked ~ label::after {
  content: "−"; /* クリック後のアイコン */
}
.ac-menu div {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.3s; /* 開閉スピード */
}
.ac-menu label:hover {
  opacity: 0.5; /* マウスを乗せた時に背景色が薄くなる */
}
.ac-menu input:checked ~ div {
  height: auto;
  opacity: 1;
  padding: 20px; /* 中身の枠内の余白 */
  background: #ecf5f9; /* 中身の背景色 */
}
.ac-menu-inside {
  color: #3b4043; /* 中身の文字色 */
  font-size: 17px; /* 中身の文字サイズ */
  line-height: 2; /* 行間 */
}