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

/************************************
** メニュー
************************************/
nav#navi, .menu-header .sub-menu {
    border-bottom: 2px solid #35B087;
    border-top: 2px solid #35B087;
}

.navi-in .menu-header .item-label {
    font-size: 20px;
    font-weight: bold;
}

.navi-in ul > li {
    width: 140px;
}


/************************************
** サイドメニュー
************************************/
#sidebar {
    background: rgba(0,0,0,0);
}

#sidebar li {
    margin-bottom: 4px;
}

#sidebar li a {
    background: #35B087;
    color: #fff;
    padding-right: 2rem;
    border-radius: 24px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    transition: 0.3s ease-in-out;
}
#sidebar li a::before {
    content: '';
    position: absolute;
    right: calc(2rem + 2.5px);
    transform: translateX(50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #fff;
    transition: right 0.3s;
}
#sidebar li a:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 8px;
  height: 8px;
  border-top: solid 3px #35B087;
  border-right: solid 3px #35B087;
  transform: translateY(-50%) rotate(45deg);
}
#sidebar li a:hover {
    background: #FFF;
    color: #35B087;
}
#sidebar li a:hover:before {
    right: 1.6rem;
} 
#sidebar li a:hover:after {
    right: 1.4rem;
}



/************************************
** ロゴ下ウィジェット
************************************/
#header-in.cf:after {
    display: none;  /* floatが効いているので非表示に設定 */
}

.tagline {
    display: none;
}

#header-in {
    flex-direction: row;    /* 方向がcolumn のため変更 */
    flex-wrap: wrap;
    justify-content: space-between; /* 横の配置 */
    align-items: center;    /* 小要素の縦配置を中央に */
}

.logo.logo-header {
    margin: 0 auto;
}

.header-tel {
    padding-bottom: 8px;
    margin: 0 8px;
}

.add-header-contents {
    margin: 0 auto;
}


/************************************
** トップページ
************************************/
.front-top-page #main .entry-title{
  display: none;
}

/*背景透過*/
.header-container,
.navi,
.content-top,
.content,
.main,
.post-32 h2,
.footer {
    background-color: transparent;
}

#custom_html-5 {
    margin: 0;
}


/************************************
** 個別ページ
************************************/
.gmap {
    margin-top: 8px;
    text-align: center;
}

.gmap iframe {
    width: 80%;
    height: 450px;
}

.blogcard-footer {
    display: none;
}

.entry-content h2 {
    margin-bottom: 8px;
}

.entry-content h2:not(.post-32 h2) {
    color: #f0f0f0;
    background: #35B087;
}

.entry-content p {
    padding: 0 48px;
}

.wp-block-table {
    width: 80%;
}

.history td:first-child {
    width: 8em;
} 

.history td {
    border: 1px solid #000;
    border-top: none !important;
    border-bottom: none !important;
    vertical-align: top;
}

.history {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}


/************************************
** フォーム
************************************/
/* reCAPTCHA非表示 */
.grecaptcha-badge {
    visibility: hidden;
}

#formbtn {
    width: 80%;
    background:#35B087;
    color:#fff;
    font-size:16px;
    font-weight:bold;	 
    border-radius:4px;
}

.form-center {
    text-align: center;
}

.wpcf7-spinner {
    display: none;
}


/************************************
** レスポンシブデザイン
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
    .logo.logo-header {
        margin: 0 auto;
        width: 60%;
    }
    .header-tel {
        width: 80%;
        padding-bottom: 8px;
        margin: 0 auto;
    }
    .entry-content h2 {
        margin-bottom: 2px;
    }
    .entry-content p {
        padding: 0 8px;
	}
}

/*835px以上*/
@media screen and (min-width: 835px){
    .top-pc {
        text-align: center;
    }
    .top-mb {
        display: none;
    }
}

/*834px以下*/
@media screen and (max-width: 834px){
    .gmap iframe {
        width: 100%;
        height: 400px;
    }
    .top-pc {
        display: none;
    }
    .top-mb {
        text-align: center;
    }
}

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