@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 { scroll-behavior: smooth;}
/*ヘッダー背景&スタイル*/
#header-container {
background-image: url(/wp-content/uploads/2025/02/bg_pattern1_aozora.webp);
background-size: contain;
}
.navi, .header {
background:transparent!important;
}
.header-container-in.hlt-top-menu {
max-width:55rem;
}
/*メインの背景色*/
.content {
background-color: #8ed8ff;
opacity: 1;
background-image:  linear-gradient(#bee6ff 0.7000000000000001px, transparent 0.7000000000000001px), linear-gradient(to right, #bee6ff 0.7000000000000001px, #8ed8ff 0.7000000000000001px);
background-size: 14px 14px;
padding: 0!important;
margin-top: 0;
}
.main {
background: transparent;
padding: 0!important;
}
/*ヘッダーセクションを最前面に*/
#header-container {
z-index: 99;
position: relative;
padding: 0.5rem 0;
}
/*メニューのレイアウト*/
.logo-header img {
transition: all 0.5s 0s ease;
}
.logo-header img:hover {
opacity: 0.8;
}
.navi .item-label {
background-color: gray;
padding: 0rem 0.8rem;
border-radius: 20px;
}
.navi-in > ul li {
height: 40px;
line-height: 40px;
margin: 0 2rem;
}
.navi-in .has-icon {
display: none;
opacity: 1;
font-size: 22px;
right: 10px;
}
.navi-in > ul .sub-menu {
width: 100%;
}
.navi-in > ul .sub-menu li {
margin: 0.6rem 0;
}
.navi .item-label {
text-align: center;
color: #fff;
border: 1px solid #fff;
transition: all 0.5s 0s ease;
}
.navi .item-label:hover {
background-color: #fff;
color: #333;
border: 1px solid #333;
}
/*サイドバーのレイアウト*/
.sidebar h3 {
background-color: transparent;
padding: 0;
border-bottom: 3px double #333;
}
/*パンくずリスト*/
.breadcrumb {
margin:0;
padding: 0.5rem;
}
/*フッターのレイアウト*/
#footer {
padding-top :1rem;
}
.footer-bottom {
padding-top: 0;
}
#footer a:not(.sns-button) {
text-decoration: none;
transition: all 0.5s 0s ease;
}
#footer a:not(.sns-button):hover {
background-color: #333;
color: #ccc;
}
.footer-widgets .footer-left .text-pc p a {
font-size: 16px;
margin-bottom: 5px;
display: inline-block;
}
.footer-widgets .footer-right .text-pc p {
font-size: 16px;
line-height: 2.2rem;
}
.grecaptcha-badge {
visibility: hidden;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
/*メニュー幅の調整*/
#navi .navi-in > .menu-mobile li {
width: auto;
margin: 0.5rem 4%;
}
.footer-widgets {
display: flex;
}
}
/*834px以下*/
@media screen and (max-width: 834px){
/*ブログカード幅の調整*/
.rect-vertical-card .related-entry-card-wrap {
width: 100%;
padding: 8px;
margin: 0 auto;
border-radius: 5px;
background-color: cornsilk;
}
}
/*スマホ用フッタースタイル（上）*/
.footer-mobile {
padding: 2rem 0 0;
}
.footer-widgets-mobile {
border-top: 1px solid #fff;
border-bottom: 1px solid #fff;
}
.footer-sm-wrapper {
display: flex;
justify-content: space-between;
}
.footer-sm-a {
display: block;
font-size: 16px;
margin-bottom: 0.5rem;
}
/*スマホ用フッタースタイル（下）*/
.navi-footer-in > .menu-footer li.menu-item {
width: auto;
}
}

/*480px以下*/
@media screen and (max-width: 480px){
/*スマホメニュー（左からスライドしてくるメニュー）*/
.mobile-footer-menu-buttons {
z-index: 9999!important;
}
#navi-menu-input:checked ~ #navi-menu-content {
padding-top: 1rem;
opacity: 0.93;
}
.menu-content {
max-width: 100%;
}
.menu-drawer li {
height: 3rem;
}
.menu-drawer a {
height: 3rem;
font-size: 0.9em;
line-height: 3rem;
border-bottom: solid 1px #e6e6e6;
}
.sub-menu li {                                      
margin-left:-14px;
font-size: 0.9em;
color: #e6e6e6;
}
/*スマホメニュー（右からスライドしてくるメニュー）*/
.menu-close-button {
margin-top: 2rem;
}
}
