@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
h1,h2,h3,h4,h5,h6 {
    font-weight: 500;
}
a {
  text-underline-offset: 4px;
        cursor : pointer;
}
a:hover {
    color: #2167a8;
}
.go-to-top-button {
    background-color: #555555;
}
/*ヘッダ＆メニュー*/
.navi {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0,0.25);
}
.mobile-menu-buttons {
    background-color: #fff;
    color: #555;    
}
.mobile-menu-buttons .logo-menu-button a {
    background-color: transparent;
}
.navi-menu-content, .navi-menu-content a, .menu-drawer .menu-button a {
    background: #555;
    color: #fff;
}
.menu-close-button {
    text-align: right;
}
.menu-drawer a {
    display: inline-block;
}
.menu-drawer .sub-menu {
    padding: 0 0 0 1.5em;
}
.menu-drawer li{
    font-weight: bold;
}
.menu-drawer .sub-menu li{
    font-weight:normal;
}
.menu-drawer .sub-menu li:before {
    content: "\f054";
    font-family: fontawesome;
    margin-right: 4px;
    font-size: 0.6em;
    vertical-align: 16%;
}
.navi-menu-content{
	left: auto;
	right: 0;
	transform: translateX(101%);
}
.search-menu-button.menu-button,
.navi-menu-button.menu-button{
	height: 55px;
	padding-top: 8px;
}

.logo-menu-button.menu-button{
	height: 55px;
}
/*アピールエリア*/
.appeal-content {
    background-color: transparent;
    color:#fff;
    text-shadow: 1px 1px 16px #000;
}
.appeal-content .appeal-button {
    position:relative;
    background-color: transparent;
    border: solid 2px;
    border-radius: 6px;
    overflow: hidden;
    text-shadow: none;
}
.appeal-content .appeal-button:hover {
    color:#cccccc;
    border: solid 2px #fff;
    opacity: 0.99;
}
.appeal-content .appeal-button::before{
	content: '';
    /*絶対配置で線の位置を決める*/
	position: absolute;
	left: 0;
    bottom:0;
	z-index: -1;
    /*背景の形状*/
	width: 100%;
	height: 0;
	background:#fff;
	transition: all .05s;
}
.appeal-content .appeal-button:hover::before{
	height: 100%;
}
/*トップページ*/
.home .eye-catch-wrap {
    display: none;
}
.home h1 {
    display: none;
}
.home .date-tags {
    display: none;
}
.main h2 {
  color: #fff;
  position: relative;
  padding: 12px 16px;
  background: #555555;
  &:before{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border: 8px solid #fff;
    border-top: 8px solid rgba(255,255,255,0.5);
    border-left: 8px solid rgba(255,255,255,0.5);
    }
}
.home .article h2 {
    font-size: 1.2em;
}
.home .widget-entry-cards .a-wrap img {
    border-radius: 10px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.home .new-entry-card-date {
    display: block;
    margin-top: 20px;
    text-align: right;
}
.home .new-entry-card-date span {
    margin: 0 0 0 8px;
}
.home .new-entry-card-date .post-date:before {
    content: "\f017";
    font-family: fontawesome;
    margin-right: 4px;
}
.home .new-entry-card-date .post-update:before {
    content: "\f1da";
    font-family: fontawesome;
    margin-right: 4px;
}
.home .widget-entry-cards .a-wrap {
    box-shadow: 0 0;
    max-width: none;
    display: inline-flex;
    margin: 0;
    margin-right: 24px;
    margin-bottom: 1.8em;
    padding: 0;
    color: #555555;
}
.home .a-wrap:hover {
    transform:none;
}
.home .a-wrap img:hover {
    opacity: 0.8;
}
.home .a-wrap .card-snippet {
    font-size: 0.9em;
    opacity: 1;
    line-height: 1.6em;
}
.home .col3 .a-wrap {
    width: calc(33% - 17px);
}
.home .col4 .a-wrap{
    width: calc(25% - 23px);
}
.home .col3 .new-entry-cards a:nth-of-type(3n) {
    margin-right: 0;
}
.home .col4 .widget-entry-cards a:nth-of-type(4n) {
    margin-right: 0;
}
.home .card-title {
    font-size:1.1em;
    font-weight: 500;
    &:hover {
        color: #2167a8;
    }
}
.home .col4 .card-title {
    font-size: 1em;
}
.home .new-entry-card-thumb {
    margin-right: 0;
}
.home .more a{
    text-decoration: none;
}
.home .more a:after {
    content: "\f054";
    font-family: fontawesome;
    margin-left: 8px;
    font-size: 0.8em;
    vertical-align: 6%;
}
.home .author-box {
    box-shadow: 0 0;
}
.home .author-box .author-thumb {
    float: none;
    margin-left: auto;
    margin-right: auto;
}
.home .author-box .author-content {
    margin-left: 0;
}
.home .wp-block-column ul {
    padding-top: 0;
}
/*カテゴリ一覧(トップページ＆カテゴリ一覧ページ)*/
.main li.cat-item, .home .pages li {
    list-style: none;
    border-bottom: 1px dashed #ccc;
    padding: 5px 0;
}
.main .cat-item a,.home .pages a {
    text-decoration: none;
    &:before {
    font-family: FontAwesome;
    content: '\f0da';
    margin-right: 6px;
}
}
/*フェードインアニメーション*/
.home .a-wrap {
    opacity:0;
}
.fadeUp{
animation-name:fadeUpAnime;
animation-fill-mode:forwards;
}

.col3 a.fadeUp:nth-of-type(1){
    animation-duration:0.5s;
}
.col3 a.fadeUp:nth-of-type(2){
    animation-duration:0.7s;
}
.col3 a.fadeUp:nth-of-type(3){
    animation-duration:0.9s;
}
.col3 a.fadeUp:nth-of-type(4){
    animation-duration:1.1s;
}
.col3 a.fadeUp:nth-of-type(5){
    animation-duration:1.3s;
}
.col3 a.fadeUp:nth-of-type(6){
    animation-duration:1.4s;
}
.col4 a.fadeUp:nth-of-type(1){
    animation-duration:0.5s;
}
.col4 a.fadeUp:nth-of-type(2){
    animation-duration:0.7s;
}
.col4 a.fadeUp:nth-of-type(3){
    animation-duration:0.9s;
}
.col4 a.fadeUp:nth-of-type(4){
    animation-duration:1.1s;
}


@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}


/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.fadeUpTrigger{
    opacity: 0;
}

/*アーカイブ・カテゴリページ*/
.ect-entry-card .entry-card-snippet {
    color: #555555;
}
.ect-entry-card img {
    border-radius: 10px;
}
.page-numbers,
.pagination-next-link {
    border-radius: 8px;
    background: #555555;
    color:#fff;
    font-weight:500;
}
.pagination .current,
.page-numbers.current,
.page-numbers.dots {
  background: #cccccc;
    color:#555555;
    border:none;
}
/*記事ページ*/
.article h2 {
    margin-top: 1.62em;
}
.article h5 {
    margin-bottom: 0;
}
.article ul {
    margin-top: 0;
}
.eye-catch {
    width: 100%;
}
.eye-catch img {
    width: 100%;
    height: auto;
}
figcaption {
    font-size: 0.8em;
    padding: 6px 0;
}
.toc-content li {
    font-weight: bold;
    
}
.toc-content li ol li {
    font-weight: normal;
    list-style-type: disc;
}
.author-box {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    transition-duration: 0.3s;
    border: none;
}
.author-box p, .sns-follow-message {
    line-height: 1.6em;
    font-size: 0.9em;
}
.author-box .sns-follow-buttons a.follow-button {
    background-color: #555;
    border: none;
    border-radius: 4px;
    color: #fff;
}
.author-box .author-name {
    text-align: center;
}
.author-box .author-name a {
    text-decoration: none;
    color: #555555;
}
.author-box .sns-follow-buttons a {
    margin: 6px;
}
.category h2, .list h2 {
    display: block;
    line-height: 1.5em;
    color: #555;
    font-size: 1.1em;
    padding: 0;
    background-color: transparent;
    &:before{
        content: none;
    }
}
/*固定ページの日付非表示*/
.post-4 .date-tags, .post-2192 .date-tags {
display: none;
}
/*SNSシェアボタンの非表示*/
.post-4 .sns-share, .post-2192 .sns-share, .post-1347 .sns-share {
display: none;
}
/* about*/
.page-id-59 .mincho {
    font-family: 'Noto Serif JP', sans-serif;
	line-height: 2em;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
    .home .widget-entry-cards .a-wrap {
    width: 100%;
}
    .home .widget-entry-card-content {
    font-size: 16px;
    }
}

.appeal-button {
    padding: 6px 30px;
    font-size: 0.9em;
}


/* ヘッダロゴ英語対応 */
.header-container-in {
  text-align: center;
}
.site-logo-image {
  display: inline-block;
  margin: 0 auto;
}
.fixed-header .header .header-in img {
max-height: 60px;
height: auto;
vertical-align: middle;
}
/*モバイル用メニューを最初から表示しない*/
#menu-headermobile {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#menu-headermobile.active {
  opacity: 1;
  pointer-events: auto;
}
  body:where(.mblt-header-mobile-buttons, .mblt-header-and-footer-mobile-buttons) {
    margin-top: 0;
  }
/* ショートコードのスタイル */
code {
	background-color: #f5f5f5;
	border: solid;  
	border-width: 1px;
	border-radius: 4px;
	border-color: #808080;
	margin-left: 4px;
	margin-right: 4px;
	padding: 4px
}
strong {
     background: linear-gradient(transparent 70%, #ffe48c 60%);
}

/* MW WP Form 確認画面：戻るはリンク風 */
button[name="submitBack"]{
  background: transparent;
  border: 0;
  padding: 0;
  margin-bottom: 16px;
  color: inherit;
  opacity: .6;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.95em;
}

/* 送信ボタンは主役のまま */
input[type="submit"]{
  width: 100%;
  border-radius: 10px;
  font-size: 1.05em;
  padding: 14px 16px;
}