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

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

/*-----共通-----*/
html {
    overflow-x: hidden;
}

img {
    vertical-align: top;
}

.main {
    background-color: #ffffff00;
}

div#breadcrumb {
    background-color: #fff0;
}

.content {
    margin-top: 0px;
}

.author-info,
/* .date-tags, */
.breadcrumb {
    display: none;
}

.single-post .slider {
    display: none;
}

.cat-link-22 {
    display: none;
}

a {
    transition: all .3s;
}

a:hover {
    opacity: 0.7;

}

.wp-block-button__link {
    border-radius: 6px;
}

.wp-block-button__link:hover {
    color: #fff;
}

.wp-element-caption {
    padding: 4px 0 0 0;
}

/*-----見出し-----*/
.entry-title,
.archive-title {
    font-size: 26px;
    margin: 0 0 10px 0;
    padding: 0;
}

.article h2 {
    font-size: 20px;
    padding: 15px 5px !important;
    margin: 0 0 10px 0 !important;
    color: #fff !important;
    background-color: #4867b2 !important;
}

.article h3 {
    font-size: 18px;
    padding: 10px 5px !important;
    border: 0px !important;
    border-bottom: 3px solid #393939 !important;
}




/*-----ヘッダー-----*/
header#header {
    display: none;
}

.link-header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    align-items: center;
}

.header-logo {
    max-width: 315px;
}

.header-btn {
    display: flex;
}

.btn-varies {
    max-width: 460px;
    padding-left: 10px;
    display: flex;
}

.marquee {
    background-color: #17498f;
    padding: 7px 0;
}

.marquee-inner span {
    font-size: 16px;
    font-weight: normal !important;
}

.marquee>.marquee-inner {
    padding: 7px 0;
}

.elementor-column-gap-default>.elementor-column>.elementor-element-populated {
    padding: 0px;
}

.elementor-widget-html {
    margin-bottom: 0 !important;
}

.elementor-widget-shortcode {
    margin: 0 !important;
}

.marquee {
    display: none;
}

.header-logo p {
    font-size: 13px;
}

.header-logo img {
    max-width: 48%;
}





/*----ボタン----*/
.button002,
.button003,
.button004 {
    height: 43px;
}

.button002,
.button003 {
    margin-right: 15px;
}

.button002 a {
    background: #fff0;
    border-radius: 3px;
    position: relative;
    border: 1px solid #333;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 230px;
    padding: 7px 20px;
    color: #343434;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
}

.button002 a:before {
    content: "\f005";
    position: relative;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    color: #999;
}

.button002 a:hover {
    background: #ffe554;
    color: #FFF;
}

.button003 a {
    background: #fff0;
    border-radius: 3px;
    position: relative;
    border: 1px solid #333;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 230px;
    padding: 7px 20px;
    color: #343434;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
}

.button003 a:before {
    content: "\f007";
    position: relative;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    color: #999;
}

.button003 a:hover {
    background: #004080;
    color: #FFF;
}

.button004 a {
    background: #fff0;
    border-radius: 3px;
    position: relative;
    border: 1px solid #333;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 230px;
    padding: 7px 20px;
    color: #343434;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
}

.button004 a:before {
    content: "\f07a";
    position: relative;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    color: #999;
}

.button004 a:hover {
    background: #004080;
    color: #FFF;
}







/*----モバイルヘッダー----*/
.logo-menu-button img {
    max-height: 28px;
    margin: 9px 0 0 5px;
}

.mobile-menu-buttons .menu-caption {
    display: none;
}

.navi-menu-button {
    width: 63px !important;
    padding-top: 0px !important;
}

.navi-menu-button {
    background-color: #ffffff;
    color: #1a1a1a;
}

.custom-menu-icon {
    background-color: #ffffff;
    color: #1a1a1a;
    height: 63px;
}

.fa-envelope,
.fa-bars {
    padding-top: 22px;
}

.far.fa-star {
    padding-top: 22px;
}

.mobile-menu-buttons {
    min-height: 55px;
}

.mobile-menu-buttons>li {
    padding-top: 8px;
}

.fa-times {
    color: #fff;
}

div#navi-menu-content {
    background-color: #000000cf;
    padding-top: 15px;
}

.menu-drawer a {
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    padding: 0 0 15px 20px;
    margin: 0 0 15px 0;
    display: block;
    border-bottom: 1px solid #ffffff30;
}

.sub-menu {
    padding-left: 0px !important;
}

.menu-drawer {
    padding: 15px 0 0 0 !important;
    border-top: 1px solid #ffffff30;
    margin-top: 20px;
}

.menu-drawer a:hover {
    background-color: #ffffff00;
    transition: all 0.3s ease-in-out;
    color: #fff;
}

.mobile-header-menu-buttons {
    box-shadow: 0 0 0px darkgrey;
}




/*-----メニュー-----*/
.navi-in a {
    color: #101010 !important;
}

.navi-in>ul .sub-menu {
    background-color: #000000c2 !important;
}

.sub-menu a {
    color: #fff !important;
}

.list-new-entries-title {
    display: none;
}






/*-----投稿レイアウト-----*/
.ect-3-columns .entry-card-wrap {
    width: 32%;
    padding: 5px;
    position: relative;
    border-radius: 5px;
    justify-content: space-between !important;
}

.admin-pv,
.entry-card-info {
    display: none;
}

.cat-label {
    position: relative !important;
    top: 0.3em;
    left: 0.3em;
    border: 1px solid #eee;
    font-size: 18px;
    border-radius: 10px;
    padding: 3px 5px;
    margin-bottom: 10px;
    width: 100px;
    height: 30px;
    text-align: center; /* 水平方向の中央揃え */
    line-height: 31px; /* 親要素の高さから上下の余白を引いた値を設定 */
	 /* 他のプロパティはそのまま */
    font-weight: bold; /* ここを追加 */
}

.entry-card-content {
    padding: 15px !important;
    background-color: #fff;
}

.pagination-next-link,
.comment-btn {
    background-color: #343434;
    border: 0px;
    color: #fff;
    border-radius: 40px;
    max-width: 600px;
    margin: auto;
    text-align: center;
}

.page-numbers {
    color: #fff;
    height: 46px;
    border-radius: 30px !important;
    background-color: #EFEFEF;
    border: 0px;
}

.pagination .current {
    background-color: #969494;
}

.pagination-next-link:hover,
.comment-btn:hover {
    background-color: #969494;
    transition: all 0.3s ease-in-out;
    color: #fff;
}

.pagination a:hover {
    background-color: #969494;
    transition: all 0.3s ease-in-out;
    color: #fff;
}

.e-card-thumb {
    margin-top: 0;
}

.e-card-content {
    padding-bottom: 0;
}

.border-element {
    background-color: #fff;
}






/*----サイドバー----*/
.sidebar h2,
.sidebar h3 {
    background-color: #3330;
    padding: 0px;
    margin: 0px 0;
    font-size: 20px !important;
    border-radius: 2px;
    color: #4867b2;
}

.fas_list_back {
    margin: 0;
    padding: 0px;
}

.fas_list_back li {
    list-style: none;
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 14px;
    opacity: 0.8;
}

.fas_list_back li:last-child {
    margin-bottom: 0px;
}

.side00:hover {
    transform: translateX(3px);
    transition-duration: 0.3s;
}

.side00 a {
    text-decoration: none;
    color: #333;
}

.sidebar {
    background-color: #0000;
}

aside#custom_html-3 {
    margin: 0 0 10px 0;
}

.banner-one {
    border-radius: 10px;
}






/*----スライダー----*/
.slider {
    width: 100%;
    padding: 30px 0;
    margin: 0 0 15px 0;
    background-color: #fff;
}

.slider img {
    width: 38vw;
    height: auto;
    border-radius: 10px;
}

.slider .slick-slide {
    transform: scale(0.8);
    transition: all .5s;
    opacity: 0.5;
}

.slider .slick-slide.slick-center {
    transform: scale(1);
    opacity: 1;
}

.slick-dots {
    text-align: center;
    margin: 10px 0 0 0;
    padding: 0;
}

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots button {
    color: #ffffff00;
    outline: none;
    width: 10px;
    height: 10px;
    display: block;
    border-radius: 50%;
    border-style: none;
    background: #ccc;
}

.slick-dots .slick-active button {
    background: #333;
}







/*------お問い合わせ------*/
/*チェックされてない*/
.wpcf7 .wpcf7-submit:disabled {
    background: #0f0f0f;
    color: #fff;
    border: solid 1px #cfcfcf;
}

/*チェックされたら*/
.wpcf7 .wpcf7-submit {
    background: #123e79;
    color: #fff;
    border-radius: 5px;
    font-size: 1rem;
    transition: 0.3s;
}

.aka {
    margin-left: 5px;
    background-color: #da5656;
    padding: 1px 5px 1px 5px;
    border-radius: 3px;
    color: #fff;
}

.contact-text {
    margin: 30px 0 !important;
}

.mail-text01 {
    margin: 0 !important;
}

.mail-text02,
.work-text {
    opacity: 0.7;
    font-size: 13px;
}

.wpcf7-radio {
    display: grid;
}

.work-title {
    margin: 0 !important;
    font-weight: bold;
}

.form-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    background-color: #123e79;
    color: #fff;
    padding: 5px 0;
}

.wt01 {
    margin-top: -25px;
}

label .shinsa {
    font-weight: bold;
}

.wt02 {
    margin-bottom: 0px !important;
}

.gray {
    margin-left: 5px;
    background-color: #5470ac;
    padding: 1px 5px 1px 5px;
    border-radius: 3px;
    color: #fff;
}







/*------フォームカスタム------*/
.page-id-230 .slider {
    display: none;
}

.page-id-230 .header-container {
    display: none;
}

.page-id-230 .sidebar {
    display: none;
}

.page-id-230 .main {
    width: 100%;
}

article#post-230 {
    max-width: 800px !important;
    margin: auto;
    margin-top: 30px;
}

.page-id-233 .slider {
    display: none;
}

.page-id-233 .header-container {
    display: none;
}

.page-id-233 .sidebar {
    display: none;
}

.page-id-233 .main {
    width: 100%;
}

article#post-233 {
    max-width: 800px !important;
    margin: auto;
    margin-top: 30px;
}

.page-id-242 .slider {
    display: none;
}

.page-id-242 .header-container {
    display: none;
}

.page-id-242 .sidebar {
    display: none;
}

.page-id-242 .main {
    width: 100%;
}

article#post-242 {
    max-width: 800px !important;
    margin: auto;
    margin-top: 30px;
}

.page-id-247 .slider {
    display: none;
}








/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1024px以下*/
@media screen and (min-width: 1024px) {

    /*必要ならばここにコードを書く*/
    .aaa {
        display: none !important;
    }
}


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

    /*必要ならばここにコードを書く*/
    .main {
        width: 75%;
    }

    .sidebar {
        width: 23%;
    }
}

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

    /*必要ならばここにコードを書く*/
    .link-header {
        display: none;
    }

    .marquee {
        margin-top: 63px !important;
    }

    .slider img {
        width: 75vw;
        height: auto;
    }

    .aaa {
        text-align: center;
        font-weight: bold;
    }

    .single-post .entry-title {
        margin-top: 25px;
    }
}


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


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

    /*必要ならばここにコードを書く*/
    .ect-3-columns .entry-card-wrap {
        width: 49%;
    }
}


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

    /*必要ならばここにコードを書く*/
    .ect-3-columns .entry-card-wrap {
        width: 100%;
    }

    .page-numbers {
        width: 34px;
        height: 34px;
        line-height: 34px;
    }

    /* .no-sp-snippet .entry-card-snippet {
        display: block;
    } */
}


.archive-title :before {
    display: none;
}


.archive-title {
    display: none;
}


/* 記事タグのマーク（アイコン）を非表示にする */
.entry-tags .fa-tags {
    display: none;
}


/* =============================================
ヘッダー改修_佐藤_230509、230906
============================================= */

.container {
    max-width: inherit;
}


.tab {
    display: none;
}

#header-fixed {
    padding: 0 !important;
}

.header-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    transform: translateY(-100%);
    transition: transform .3s;
}

.header-container.fixed-header {
    transform: translateY(0);
}

.l-header {
    width: 100%;
    /* background-color: #333; */
    z-index: 100;
    padding: 20px 0;
}

.l-header__inner {
    padding: 0 40px;
    margin: 0 auto;
}

.l-header__wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/* .l-header__search {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 300px;
    -ms-flex: 0 0 300px;
    flex: 0 0 300px;
    position: relative;
} */

.l-header__logo {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 160px;
    -ms-flex: 0 0 160px;
    flex: 0 0 160px;
    text-align: left;
}

.l-header__logo-link {
    display: inline-block;
}

.l-header__logo-link img {
/*     max-width: 260px; */
}

.l-header__nav {
    -webkit-box-flex: 0;
    -webkit-flex: 0 1 100%;
    -ms-flex: 0 1 100%;
    flex: 0 1 100%;
}

.l-header__items {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: flex-end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: flex-end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
}

.l-header__items .menu-item {
    list-style-type: none;
}

.l-header__items .menu-item:nth-child(n+2) {
    margin-left: 20px;
}

.l-header__items .menu-item a {
    display: block;
    text-decoration: none;
    transition: all .3s;
    color: #333;
    font-weight: 600;
    padding: 0 5px;
}



.l-header__items .menu-item a:hover {
    text-decoration: underline;
}

/* .l-header__search-form input {
    border-radius: 30px;
    padding-right: 20px;
    height: 40px;
    font-size: 16px;
}

.l-header__search-submit {
    position: absolute;
    top: 50%;
    right: 1em;
    font-size: 20px;
    background-color: transparent;
    color: #ddd;
    border: none;
    cursor: pointer;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
} */


div#navi-menu-content {
    padding-top: 0;
    background-color: rgba(0, 0, 0, .8);
}

.menu-close-button {
    text-align: left;
    padding-left: 20px;
}

.menu-close-button .fa-times:before {
    font-size: 20px;
}



/* =============================================
TOP改修_231014
============================================= */
.p-top__main-img img {
    aspect-ratio: 1200 / 600;
    width: 100%;
    object-fit: cover;
}

/* =============================================
記事ブロック
============================================= */

.ect-vertical-card {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px 10px;
}

.ect-3-columns .entry-card-wrap {
    width: 100% !important;
}

.ect-vertical-card .entry-card-wrap {
    margin-bottom: 0;
    background-color: transparent;
}

.ect-vertical-card .entry-card-wrap:hover .entry-card-thumb img {
    transform: scale(1.1);
    opacity: 0.7;
}

.ect-vertical-card .entry-card-wrap:hover .entry-card-title {
    text-decoration: underline;
}

.card-thumb {
    position: relative;
    padding-top: calc((630/1200) * 100%);
    border: 1px solid #efefef;
    overflow: hidden;
	border-radius: 8px;
}

.card-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .3s;
}

.entry-card-content {
    padding: 10px 5px 15px !important;
}

.entry-card-title,
.related-entry-card-title {
    font-size: 16px;
    line-height: 1.3;
}

.ect-3-columns .entry-card-snippet {
    font-size: 12px;
    color: #666;
}

.cat-label {
    top: 0;
    left: 0;
    border: none;
    border-radius: 10px !important;
    padding: 0px 20px;
    font-size: 12px;
    letter-spacing: .05em;
	display: inline-block;
}

.pagination-next {
    display: none;
}

.page-numbers {
    border-radius: 4px !important;
    background-color: transparent;
    color: #333;
    transition: all .3s;
}

.page-numbers:hover {
    background-color: #333 !important;
}

.page-numbers.current {
    background-color: #333;
    color: #fff;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px 10px;
}

.related-entry-card-wrap {
    padding: 0;
}

.related-entry-card-wrap:hover {
    background-color: transparent;
}

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

.related-entry-card-wrap:hover .related-entry-card-title {
    text-decoration: underline;
}

.related-entry-card-thumb {
    width: 100%;
    margin: 0;
    float: none;
    overflow: hidden;
}

.related-entry-card-thumb img {
    transition: all .3s;
}

.related-entry-card-content {
    margin: 10px 5px 0;
}

.eye-catch-wrap {
    justify-content: center;
    margin-top: 20px;
}

/* .eye-catch {
    max-width: 70%;
} */

.eye-catch .cat-label {
    top: 1px;
    left: 1px;
    padding: 3px 15px;
    border: none;
    opacity: 1;
}

.eye-catch img {
    border: 1px solid #efefef;
}

/* =============================================
記事詳細
============================================= */
.article-header {
    margin-top: 20px;
}

.article-header .entry-title {
    margin-bottom: 40px;
}

/* .single .content-in {
    max-width: 1000px;
} */

.entry-content {
    margin-top: 2em;
}

.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
    margin-bottom: .6em;
}

.article h1 {
    font-size: 32px;
}

.article h2 {
    font-size: 28px;
    background-color: transparent !important;
    color: #101010 !important;
    padding: 0 !important;
    margin: 0 0 .6em 0 !important;
    border-radius: inherit;
}

.article h3 {
    font-size: 24px;
}

.article h4 {
    font-size: 20px;
}

.related-entry-card .cat-label {
    font-size: 12px;
}

.entry-card-snippet,
.related-entry-card-snippet {
    color: #666;
    font-size: 12px;
}

.entry-date {
    font-size: 14px;
    letter-spacing: .1em;
}


/* =============================================
TOPスライダー
============================================= */

.p-top__swiper {
    padding-bottom: 40px !important;
}

.p-top__items {
    padding-left: 0 !important;
}

.p-top__item {
    list-style: none;
}

.p-top__link {
    display: block;
}


.p-top__img img {
    aspect-ratio: 327 / 216;
    -o-object-fit: cover;
    object-fit: cover;
}

.p-top .swiper-pagination-bullet-active {
    background-color: #333;
}


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

    .none-tab {
        display: none;
    }

    .tab {
        display: block;
    }

    .l-header__inner {
        padding: 0 20px;
    }

    .l-header__item:nth-child(n+2) {
        display: none;
    }

    .mblt-header-mobile-buttons {
        margin-top: 0;
    }

    ul.mobile-header-menu-buttons {
        display: none;
    }

    /* .l-header__hamburger {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 10%;
        -ms-flex: 0 0 10%;
        flex: 0 0 10%;
    } */

    .l-header__nav {
        /* -webkit-box-flex: 0;
        -webkit-flex: 0 0 10%;
        -ms-flex: 0 0 10%;
        flex: 0 0 10%; */
        display: none;
    }

    .navi-menu-button {
        background-color: transparent;
        /* color: #fff; */
        width: inherit !important;
    }

    .menu-open .fa-bars {
        padding-top: 0;
    }

    .menu-open .fa-bars::before {
        font-size: 32px;
    }


}

/* =============================================
768px以下
============================================= */
@media screen and (max-width: 768px) {
    .ect-vertical-card {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .entry-card-content {
        padding: 10px 5px 10px !important;
    }

    .menu-footer {
        display: block !important;
    }

    .menu-footer .menu-item {
        width: 100% !important;
    }

    .menu-footer .menu-item:nth-child(n+2) {
        margin-top: 10px !important;
    }

    .copyright {
        font-size: 12px;
        margin-top: 20px;
    }

    .eye-catch .cat-label {
        font-size: 12px;
    }
}

/* =============================================
499px以下
============================================= */
@media screen and (max-width: 499px) {
    .l-header {
        padding: 10px 0;
    }

    .l-header__logo {
        flex: 0 0 110px;
    }

    .l-header__link {
        font-size: 16px;
    }

    .menu-open .fa-bars::before {
        font-size: 20px;
    }

	
/* Twitterカード用のスタイル */
/* アイキャッチ画像をカード内に収める */
.twitter-card img {
    max-width: 100%;
    height: auto;
}

/* カードの最大幅を制限 */
.twitter-card {
    max-width: 400px; /* Twitterカードの最大幅に合わせて調整 */
}

/* 画像がはみ出さないように */
.twitter-card {
    overflow: hidden;
}

/* カードの高さを調整 */
.twitter-card {
    height: auto;
}

/* カード内の要素の余白調整 */
.twitter-card .twitter-card-content {
    padding: 10px; /* 必要に応じて調整 */
}

	
    .article-header .entry-title {
        margin-bottom: 20px;
    }

    .article h1 {
        font-size: 26px;
    }

    .article h2 {
        font-size: 24px;
    }

    .article h3 {
        font-size: 20px;
    }

    .article h4 {
        font-size: 18px;
    }

    .entry-date {
        font-size: 12px;
    }
}