/*!
Theme Name: onepager2
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mytheme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

mytheme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*------------------------------ 
ベーススタイル
---------------------------- */
body {
    color: #222;
    line-height: 1.5;
    font-family: "Open Sans", sans-serif;
    font-family: "Open Sans", sans-serif;
}
a {
    color: #222;
    text-decoration: none;
}
a:hover {
    color: #0069ff;
}
img {
    max-width: 100%;
    vertical-align: top;
}
h1 {
/*	font-size: 2em;*/
	font-size: 28px;/*amcust*/
}

h2 {/*amcust*/
	font-size: 25px;
	padding: 10px 0px 10px 0px
}
h3 {/*amcust*/
	font-size: 22px;
	padding: 10px 0px 10px 0px
}
h4 {/*amcust*/
	font-size: 20px;
	padding: 10px 0px 10px 0px
}

/*------------------------------ 
header
---------------------------- */
.ly_header {
    padding-top: 20px;
    border-bottom: 1px solid #ddd;
    background-color: #fafbfc;
    box-shadow: 0 1px 8px rgb(0 0 0 / 20%);
}
.ly_header_inner {
    max-width: 1230px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.header-log {
    margin-bottom: 20px;
    margin-right: auto;
    margin-left: auto;
    transition: 0.3s;
    text-align: center;
}
.site-title:hover {
    transform: translate(0, -7px);
}
.header-log p {
    font-weight: bold;
    margin-top: 0;
}
.site-title {
	text-shadow: 0 5px 10px rgba(204, 204, 204, 1);/*amcust*/
	transition: .3s;
  }
.site-title a {
	font-size: 1.5em;
	font-family: "Open Sans", sans-serif;
	font-family: "Open Sans", sans-serif;
	text-decoration: none;
	color: #666;/*amcust*/
}
.site-title {
	font-size: 2rem;
}

.site-description {/*amcust*/
	font-size: 20px;
}

/*------------------------------ 
headerナビゲーション
---------------------------- */
.header-nav {
    margin-bottom: 5px;
}
ul.pc-nav-list {
    display: flex;
    justify-content:space-around;
}
.menu-item a {
    font-size: 1.18rem;
    padding-top: 10px;
    padding-bottom: 10px;
}



@media screen and (max-width:960px) {
    ul.pc-nav-list {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        text-align: center;
        
    }
    .menu-item:first-child {
        border-top: 1px solid #222 ;
    }
    .menu-item {
        width: 100%;
        border-bottom: 1px solid #222 ;
    }
    .menu-item a {
        font-size: 1.18rem;
        padding-top: 10px;
        padding-bottom: 10px;
        display: block;
        text-decoration: none;
        color: #222;
    }
    .menu-item a:hover {
        color: #fff;
        background-color: #222;
    }
    /* .menu-item:hover {
        color: #222 !important;
        background-color: #fff;
    } */

    .pc-nav-area {
        z-index: 1;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        display: block;
        width: 100%;
        background: rgba(215, 215, 215, 0.8);
        opacity: 0;
        transform: translateY(-100%);
        transition: all .2s ease-in-out;
     }
     .active {
         opacity: 1 ;
         transform: translateY(0%);
     }
     /* ハンバーガー */
     .sp-nav {
         position: relative;
         height: 25px;
     }
    .hamburger,
    .hamburger span {
        display: inline-block;
        z-index: 999;
        width: 30px;
        height: 30px;
        transition: all .4s;
        box-sizing: border-box;
    }
    .hamburger {
        position: absolute;
        top: 0;
        right: 0;
        cursor: pointer;
    }
    .hamburger span {
    position: absolute;
    right: 0 ;
    width: 100%;
    height: 4px;
    background-color: #222;
    border-radius: 4px;
    }
    .hamburger span:nth-of-type(1) {
    top: 0;
    }
    .hamburger span:nth-of-type(2) {
    top: 10px;
    }
    .hamburger span:nth-of-type(3) {
    top: 20px;
    }
    .hamburger.action span:nth-of-type(1) {
        transform: translateY(10px) rotate(-45deg);
    }
    .hamburger.action span:nth-of-type(2) {
        opacity: 0;
    }
    .hamburger.action span:nth-of-type(3) {
        transform: translateY(-10px) rotate(45deg);
    }
}
/*------------------------------ 
content (main)
---------------------------- */
.ly_cont {
    max-width: 1230px;
    padding: 60px 15px;
    margin-right: auto;
    margin-left: auto;
}
.ly_cont.ly_cont__col {
    display: flex;
    justify-content: space-between;
}
.ly_cont_main {
    flex: 1;
    margin-right: 3.25203%;
}
.ly_cont_side {
    flex: 0 0 30%;
}

@media screen and (max-width:768px) {
    .ly_cont.ly_cont__col {
        flex-direction: column;
    }
    .ly_cont_main {
        margin-right: 0;
        margin-left: 0;
    }
    .ly_cont_side {
        margin-top: 30px;
	margin-left: 2%;/*amcust*/
    }
}

/* カード */
.bl_card {
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
    transition: 0.5s;
}
.bl_card:hover {
    transform: translate(0, -7px);
    box-shadow: 0 5px 9px rgba(0, 0, 0, .5);
}
.bl_card_imgWrapper {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}
.bl_card_imgWrapper > img {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    transition: .3s;
}
.bl_card_imgWrapper > img:focus,
.bl_card_imgWrapper > img:hover {
    opacity: .5;
}
.bl_card_body {
	padding: 10px;
    background-color: #fafbfc;
    color: #222;
} 
.bl_card_body > *:last-child {
    margin-bottom: 0;
}
.bl_card_ttl {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.235rem;
    font-weight: bold;
}
.bl_card_txt {
    margin-top: 5px;
    margin-bottom: 0;
}
.bl_card_ttl,
.bl_card_txt,
.entry-date {
    color: #222 ;
    pointer-events: none;
}
.entry-date {
    font-size: .9rem;
}
.exce-read {
    color: #0069ff;
    text-decoration: underline;
}

.bl_cardUnit {
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:flex-start;
}
.bl_cardUnit.bl_cardUnit__col3 {
    margin-bottom: -30px;
}

/* ↓↓↓↓各カードに対する指定↓↓↓↓ */
.bl_cardUnit__col3 > .bl_card {
    width: calc((100% - 20px * 1) / 2);
    border-radius: 8px;
    overflow: hidden;
}
.bl_cardUnit__col3 > .bl_card:nth-of-type(2n) {
    margin-left: 20px;
}
.bl_cardUnit__col3 > .bl_card:nth-of-type(n+3) {
    margin-top: 20px;
}
.bl_cardUnit__col4 > .bl_card {
    width: 31.707%;
    margin-right: 1.43902%;
    margin-bottom: 30px;
}
.bl_cardUnit__col4 {
    max-width: none;
    justify-content: none;
}


@media screen and (max-width: 480px) {
    .bl_cardUnit {
        flex-direction: column;
    }
    .bl_cardUnit > .bl_card {
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
    }
    .bl_cardUnit__col3 > .bl_card:nth-of-type(2n) {
        margin-left: 0;
    }
    .bl_cardUnit__col3 > .bl_card:nth-of-type(n+3) {
        margin-top: 0;
        margin-bottom: 20px;
    }
    .bl_cardUnit.bl_cardUnit__col4 {
        margin-bottom: -20px;
    }
    .bl_cardUnit__col4 > .bl_card {
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
    }
}

/*------------------------------ 
ページャー
---------------------------- */
.pagination {
    display: flex;
    overflow: auto;
    margin-top: 50px;
    margin-left: 60px;/*amcust*/
}
.nav-links {
    margin-right: auto;
    margin-left: auto;
}
.page-numbers {
    display: flex;
    margin-right: auto;
    margin-left: auto;
}
.page-numbers > *:last-child {
    margin: 0;
}
.page-numbers > li {
    margin-right: 15px;
}
.page-numbers li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;/*amcust*/
    text-decoration: none;
    transition: .25s;
}
.page-numbers li a:focus,
.page-numbers li a:hover {
    background-color: #bbb;/*amcust*/
    color: #fff;
}
.current{
    background-color: #9cf;/*amcust*/
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;/*amcust*/
    color: #fff;
    text-decoration: none;
    transition: .25s;
}
/*------------------------------ 
aside
---------------------------- */

/* ↓↓↓↓↓↓サイドバー見出し↓↓↓↓↓↓ */
  aside section .widget-title {
      margin-top: 0;
      font-size: 1.3rem;
	position: relative;
/*    padding: 0.5rem 1rem calc(0.5rem + 5px);
    background: #cecece;amcust*/
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
	padding: 10px 0px 10px 0px;
  }
  aside section .widget-title::before {
	position: absolute;
    top: 0px;/*amcust*/
    left: 0px;/*amcust*/
    width: 100%;
    height: 100%;
    content: '';
    border: 1px solid #ccc;
	border-radius: 10px;
  }
  aside section {
	 background-color: #fafbfc;
	  margin-bottom: 30px;
	  padding-bottom: 20px;
  }
  aside section:last-child {
	  margin-bottom: 0;
  }
  section > * {
	  padding-right: 8px;
	  padding-left: 8px;
  }
.bl_media {
    display: flex;
    align-items: center;
    transition: 0.3s;
}
.recent-posts article {
	padding-bottom: 10px;
    margin-top: 10px;
	border-bottom: 1px solid #222;
}
.recent-posts article:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.recent-posts article:first-child {
	margin-top: 0;
}
.bl_media_imgWrapper {
    flex: 1;
    margin-right: 3.33333%;
}
.bl_media_imgWrapper > img {
    width: 100%;
	height: auto !important;
}
.bl_media_body {
    flex: 1;
}
.bl_media_body p,
p.post-time {
    margin-top: 0;
    margin-bottom: 0;    
    font-size: 0.76rem;
}
.bl_media-ttl {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1rem;    
    margin-right: 3.33333%;
}
.flex-container {
    text-decoration: none;

}
.bl_media:focus,
.bl_media:hover {
    opacity: .8;
}

/* ↓↓↓↓↓↓検索フォーム↓↓↓↓↓↓ */
	
.searchform {
	position:relative;
    max-width:300px;
    /* margin-bottom: 20px; */
	margin-right: auto;
	margin-left: auto;
  }
   
  .searchfield {
	width: 150px;
    outline:0;
    height:40px;
    padding:0 10px;
	border: 1px solid #222;
  }
   
  .searchsubmit {
	width:50px;
    height:40px;
    position:absolute;
    left:158px; 
    top:0;
    background:#7fbfff;
    border:none;
    /* color:#fff; */
    font-weight:bold;
    font-size:16px;
  }
  .searchsubmit:hover {
	opacity: .6;
  }

  /* サイドバーカテゴリーエリア */
	aside section ul .cat-item {
		padding-bottom: 10px;
    	margin-top: 10px;
		border-bottom: 1px solid #222;
	}
	aside section ul .cat-item:first-child {
		margin-top: 0;
	}
	aside section ul .cat-item:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}
	aside section ul li {
		list-style: none;
	}




    /* ----------------------------
    footer
    --------------------------------- */
.ly_footer {
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #fafbfc;
}
.ly_footer_inner {
    max-width: 1230px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.ly_footer_bottom {
    text-align: center;
}
.hp_btGray {
    border-top: 1px solid #777 !important;
}

/* ----------------------------
    サイトToPボタン
--------------------------------- */
.site-top {
    background-color: #fff100;
    padding: 0 3px 0 3px;
    opacity: 0;
    position: fixed;
    bottom: 10px;
    right: 30px;
    transition: .3s;
    }
.show {
    opacity: 1;
    }
/* 下層ページ(single)main>articleのstyle */
article.singler {
    background-color: #fafbfc;
    padding: 20px 30px;
}
.post-Eye-Catch{
    margin-right: -30px;
    margin-left: -30px;
    margin-top: -20px;
}
.content-ttl {
	font-weight: bold;
	margin-top:10px;
	margin-bottom: 10px;
}

/* パンくず */
ul.breadcrumb {
    display: flex;;
}

ul.breadcrumb li {
    list-style: none;
    padding-right: 10px;
}

ul.breadcrumb li:after {
    content: " > ";
}
ul.breadcrumb li:last-child::after {
    content: " ";
}
ul.breadcrumb li a:hover {
    text-decoration: underline;
}
ul.breadcrumb li:last-child {
    color: #c58AF9;
    text-decoration: underline;
}

/* 画像に文字を重ねる */
.example {
  position: relative;
  }
.example p {
	color:#333333;
	font-size:20px;
  position: absolute;
  top: 0%;
  left: 0%;
	background: #ffffff;	/*背景色追加*/
	opacity : 0.8;		/*透明度追加*/
  line-height: 1;		/*行高は1に*/
  padding: 3px 3px;		/*文字周りの余白*/
  border-radius: 0px;		/*角丸追加*/
  }
.example p2 {
	color:#ffffff;
	font-size:20px;
  position: absolute;
  right: 5%;
  bottom: 5%;
	background: #aaaaaa;	/*背景色追加*/
	opacity : 0.8;		/*透明度追加*/
  line-height: 1;		/*行高は1に*/
  padding: 5px 15px;		/*文字周りの余白*/
  border-radius: 10px;		/*角丸追加*/
  }
.example p3 {
	font-color:#ffffff;
	font-size:30px;
	background: #ffffff;
	opacity: 0.5;
	text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  line-height: 1;		/*行高は1に*/
  padding: 3px 3px;		/*文字周りの余白*/
	border: solid 3px #ffffff;
  border-radius: 10px;		/*角丸追加*/
  }

/* Container */
.container {
  margin: 0 auto;
  padding: 0px;
  width: 100%;
  background-color: #fff;
  column-count: 3;
  column-gap: 2;
	text-align: center;
	font-size: 18px;
}
.container2 {
  margin: 0 auto;
  padding: 0px;
  width: 70%;
  background-color: #cecece;
  column-count: 3;
  column-gap: 2;
	text-align: center;
	font-size: 18px;
}
.grid {
  padding: 0px;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}
@media (max-width: 48em) {
  .container {
    column-count: 1;
  }
}

.circle {
  display: inline-block;
  text-decoration: none;
  color: #668ad8;
  width: 90px;
  height: 90px;
  line-height: 90px;
  border-radius: 50%;
  border: solid 1px #668ad8;
  text-align: center;
  overflow: hidden;
  font-weight: bold;
  transition: .4s;
}

.box1 {
	background: #cccccc;
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    border: solid 3px #ffffff;
}
.box1 p {
    margin: 0; 
    padding: 0;
}

.example img {
  width: 100%;
  }


#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 30px;
  bottom: -70px;
  background: #668ad8;
  opacity: 0.6;
  border-radius: 50%;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -12px; /* arrow position */
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}


/* Google Fonts読み込み */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@700&display=swap");

/* 簡易リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* スライダー全体 */
.vertical-slider {
  width: 100%;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
}
@media screen and (max-width: 640px) {
	.vertical-slider {
	height: 100vh;
	}
}

/* スライド */
.vertical-slider__slide {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 50px;
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
  color: #fff;
}
@media screen and (max-width: 640px) {
	.vertical-slider__slide {
	font-size: 20px;
	}
}
.vertical-slider__slide p {
	font-size: 20px;
	width: 50%;
}

/* 1枚目のスライド */
.vertical-slider__slide:nth-child(1) {
  background-color: #fa5457;
}

/* 2枚目のスライド */
.vertical-slider__slide:nth-child(2) {
  background-color: #fa8925;
}

/* 3枚目のスライド */
.vertical-slider__slide:nth-child(3) {
/*  background-color: #f6d51f;*/
	background-image: url(https://avocadofirst.com/wp-content/uploads/2021/11/cropped-cropped-dragon_field_hcm_2000.png);
}

/* 4枚目のスライド */
.vertical-slider__slide:nth-child(4) {
  background-color: #01b4bc;
}

/* 5枚目のスライド */
.vertical-slider__slide:nth-child(5) {
  background-color: #5fa55a;
}

/* 6枚目のスライド */
.vertical-slider__slide:nth-child(6) {
  background-color: #cecece;
	font-size: 30px;
	flex-flow: column;
}

/* SP時の文字サイズ調整 */
@media (max-width: 599px) {
  .vertical-slider__slide {
    font-size: 16vw;
  }
}

@media screen and (max-width: 640px) {
	.vertical-slider__slide {
    font-size: 8vw
	}
}

.page-id-2
.ly_header {
	display: none;
}
.page-id-2
.content-ttl {
	display: none;
}
.page-id-2
article.singler {
	padding: 0px 0px 0px 0px;
}

.site-footer {
	background: #eeeeee;
	padding: 50px 50px 50px 50px;
}


.site-map >ul>li{
	margin-left: 18px;
	text-decoration: none;
}
.site-map {
	text-decoration: none;
	line-height: 30px;
}
.site-map >ul>li .children{
	margin-left: 28px;
}
.site-map h2{
	font-size: 25px;
	padding: 15px 0px 5px 0px;
}

.img-new-post img {
	float: left;
	width: 70px;
	height: 70px;
	margin-right: 10px;
}
.img-new-post clearfix li {
	position: relative;
	margin-top: 10px;
	padding: 0 5px 10px;
	border-bottom: dotted 1px #ddd;
}

.img-new-post clearfix a {
  display: inline-block;
  text-decoration: none;
  color: #333;
}

.img-new-post clearfix a:hover {
  background-color: #eee;
}
 
.img-new-post clearfix a:after {
  display: block;
  clear: both;
  content: '';
}
 
.img-new-post clearfix ul {
	padding: 0;
	list-style: none;
}

.side-text {
  font-size: .9em;
  margin-left: 80px;
	height: 140px;/*amcust*/
}

.sidekiji ul {
  padding: 0;
  list-style: none;
}
 
.sidekiji li {
  position: relative;
  margin-top: 10px;
  padding: 0 5px 10px;
  border-bottom: dotted 1px #ddd;
}
 
.sidekiji a {
  display: inline-block;
  text-decoration: none;
  color: #333;
}
 
.sidekiji a:hover {
  background-color: #eee;
}
 
.sidekiji a:after {
  display: block;
  clear: both;
  content: '';
}
 
.rank-count {
  position: absolute;
  top: 0;
  left: 5px;
  padding: 1px 10px;
  color: #fff;
  background: rgba(66, 66, 66, .85);
}
 
.r-count1 {
  background: rgba(189, 161, 82, .9);
}
 
.r-count2 {
  background: rgba(152, 153, 173, .9);
}
 
.r-count3 {
  background: rgba(156, 85, 34, .9);
}
 
.sidekiji img {
  float: left;
  width: 70px;
  height: 70px;
}
 
.sidekiji-text {
  font-size: .9em;
  margin-left: 80px;
}

.site-map a:hover {
	-webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 1px 0 rgba(32,55,100,1);
	box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 1px 0 rgba(32,55,100,1);
}
