@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/* 装飾全体 */
body {
    letter-spacing: .05em;
}

a {
    text-decoration: none;
    transition: all 0.3s 0s ease-in-out;
}

a:hover {
    color: #a261b7;
}

.navi .item-label {
    font-weight: 700;
    transition: all 0.3s 0s ease-in-out;
}

.navi .item-label:hover {
    color: #a261b7;
}

.cat-label,
.eye-catch .cat-label,
.cat-link {
    padding: 4px 24px;
    border: none;
    border-radius: var(--cocoon-basic-border-radius);
    background-color: #d90083;
    font-weight: 700;
    top: 0.8em;
    left: 0.8em;
}

.wp-block-search__button {
    border: none;
}

.toc {
    padding: 1em 4.8em;
    border-radius: var(--cocoon-basic-border-radius);
}

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

.toc-title:hover::after {
    text-decoration: none
}

.wp-block-search__button {
    letter-spacing: .05em;
    font-weight: 700;
}

:root :where(.wp-element-button, .wp-block-button__link) {
    background-color: #B041A8;
}

/* hover */
.related-entry-card-title,
.entry-card-title {
    margin: 0.2em 0 0.4em;
}

.entry-card-thumb,
.related-entry-card-thumb,
.carousel-entry-card-thumb {
    overflow: hidden;
}

.entry-card-thumb img,
.related-entry-card-thumb img,
.carousel-entry-card-thumb img {
    transition: transform 0.3s ease;
}

.entry-card-wrap:hover .entry-card-thumb img,
.related-entry-card-wrap:hover .related-entry-card-thumb img,
.carousel-entry-card-wrap:hover .carousel-entry-card-thumb img {
    transform: scale(1.1);
}

.a-wrap:hover {
    background-color: #fff;
}

.widget_recent_entries ul li a:hover,
.widget_categories ul li a:hover,
.widget_archive ul li a:hover,
.widget_pages ul li a:hover,
.widget_meta ul li a:hover,
.widget_rss ul li a:hover,
.widget_nav_menu ul li a:hover,
.widget_block ul li a:hover {
    background-color: #fff;
    color: #a261b7;
}

#navi .navi-in a:hover,
#footer a:not(.sns-button):hover {
    color: #a261b7;
    background-color: transparent;
}

.blogcard-wrap {
    width: 100%;
}

/* top */
.tagline {
    font-size: 20px;
    font-weight: 700;
    color: #FFF;
    background: #a261b7;
    padding: 12px;
    margin: 0;
}

/* 背景画像の表示 */
.appeal {
    background-position: bottom center;
}

/* sidebar */
.sidebar h2,
.sidebar h3 {
    --stripe-color: #e2e0f4;
    background-color: transparent;
    color: #232323;
    background: linear-gradient(135deg, transparent 25%, var(--stripe-color) 26%, var(--stripe-color) 50%, transparent 51%, transparent 75%, var(--stripe-color) 76%, var(--stripe-color));
    background-size: 4px 4px;
    border-radius: var(--cocoon-basic-border-radius);
}

/* footer */
.footer {
    padding: 60px 20px;
}

.footer-bottom {
    margin-top: 0;
}

.footer-bottom-logo {
    top: 0;
}

.navi-footer-in>.menu-footer li {
    border-left: none;
    width: 150px;
}

.navi-footer-in>.menu-footer li:last-child {
    border-right: none;
}

.copyright {
    margin-top: 24px;
}

/* drawer */
.menu-close-button {
    text-align: left;
    padding: 10px .8em;
}

/* contact */
input[type=submit] {
    letter-spacing: .05em;
    border: none;
    background-color: #B041A8;
    border-radius: var(--cocoon-basic-border-radius);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

/* 固定ページの見出し */
.entry-title {
    margin-bottom: 30px;
    padding: 18px;
    --stripe-color: #e2e0f4;
    background-color: transparent;
    color: #232323;
    background: linear-gradient(135deg, transparent 25%, var(--stripe-color) 26%, var(--stripe-color) 50%, transparent 51%, transparent 75%, var(--stripe-color) 76%, var(--stripe-color));
    background-size: 4px 4px;
    border-radius: var(--cocoon-basic-border-radius);
}

/* 固定ページで日付を非表示 */
.page .date-tags {
    display: none;
}

/* 右下の投稿者名を削除 */
.author-info {
    display: none;
}

/* 見出し */
.article h2,
.article h3 {
    background-color: transparent;
    border: none;
    border-radius: 0;
}

.article h2 {
    position: relative;
    padding: 0.6em 0;
    border-bottom: solid 6px #e2e0f4;
    color: var(--cocoon-text-color);
}

.article h2:after {
    position: absolute;
    content: '';
    display: block;
    border-bottom: solid 6px #a261b7;
    bottom: -6px;
    width: 30%;
}

.article h3 {
    padding-left: 0.6em;
    border-left: solid 4px #a261b7;
    color: var(--cocoon-text-color);
}

/* cocoon更新の障害 */
:root :where(.wp-element-button, .wp-block-button__link) {
    padding: 12px;
}

/* 横スクロール */
#header-container .navi-in>ul li {
    height: auto;
}

#header-container #navi a {
    padding: 1em;
}

#header-container .navi-in>ul>.menu-item-has-children>a::after {
    top: 0.8em;
}

#header-container .sub-menu .caption-wrap {
    padding-left: 1em;
}

.navi-in>ul .menu-item-has-description>a>.caption-wrap {
    height: auto;
}

/* 投稿数の表示 */
.post-count {
    height: 36px;
    width: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 14px;
}

.sns-buttons {
    justify-content: right;
}

.sns-buttons a:hover {
    color: inherit;
}

/* map button */
.map-inner {
    margin: 30px 0;
}

.map-ttl {
    position: relative;
}

.map-ttl::before {
    content: "";
    position: absolute;
    background: #ffca58;
    width: 100%;
    height: 8px;
    top: calc(50% - 2px);
    left: 0;
}

.map-ttl span {
    position: relative;
    background: #FFF;
    padding-right: 1em;
    font-size: 24px;
    font-weight: 700;
}

.map-img {
    margin: 30px 0;
}

.map-txt {
    margin: 20px 0 0;
}

.map-btn {
    margin: 30px 0;
}

.map-btn a:hover {
    color: #FFF;
}

.c-btn {
    background-color: #ff9a5e;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px;
    border: none;
    border-radius: var(--cocoon-basic-border-radius);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.c-btn--full {
    display: flex;
    width: 100%;
}

.map-btm {
    margin: 40px 0 0;
    width: 100%;
    height: 8px;
    background-color: #ffca58;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
	.tagline {
        margin: 1.6em 0 0;
    }
	
	.mobile-header-menu-buttons {
        padding: 8px 0;
    }
	
	.navi-in>.menu-header {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        overflow-x: scroll;
        white-space: nowrap;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }

    #header-container #navi a {
        font-size: 0.8em;
        padding: 1em 1.2em;
    }

    #header-container .navi-in>ul>.menu-item-has-children>a::after {
        display: none;
    }
}

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	.tagline {
        font-size: 12px;
    }
	
	.footer {
        padding: 30px 20px;
    }
	
	.footer-bottom {
        margin-top: 0;
    }
	
	.footer-bottom-logo {
        margin-bottom: 16px;
    }
	
	.copyright {
        margin-top: 16px;
    }
	
	input[type=submit] {
        font-size: 16px;
    }
	
	.entry-title {
        margin-bottom: 16px;
    }
	
	.map-ttl span {
        font-size: 20px;
    }
	
	.c-btn {
        font-size: 16px;
    }
}