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

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


@import url('https://fonts.googleapis.com/css2?family=Oxanium&family=Rubik&display=swap');

p {
	letter-spacing: 0.05em;
}

div#admin-panel {
    display: none;
}

body {
	background-color: #333333;
}

.header {
    background-color: #333333;
}

.header-container, .main, .footer {
    background-color: #ffffff;
	border-radius: 0;
}

.site-name-text {
    font-family: 'Oxanium', cursive;
    font-size: 40px;
}

.site-name-text-link, .site-name-text-link:hover {
    color: #fff;
}

.tagline {
    margin: 0em 1em 2em 1em;
    color: #fff;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 15px;
}

.site-name-text {
    font-family: 'Oxanium', cursive;
    font-size: 40px;
}

.logo-text {
    padding: 25px 0 0;
    line-height: 1.4;
}

#header-container .navi, #navi .navi-in>.menu-header .sub-menu {
    background-color: #434b56;
}

.navi-in > ul li {
    height: 53px;
    line-height: 53px;
}

.navi-in a, .navi-in a:hover {
    color: #fff;
}

.navi-in a:hover {
    background-color: rgba(255,255,255,.2);
}


.search-edit, input[type="search"] {
	padding: 7px 11px;
}

.new-entry-card-title.widget-entry-card-title.card-title {
    font-size: 14.5px;
}

.entry-card-snippet, .related-entry-card-snippet {
    font-size: 0.8em;
    max-height: 7.8em;
    line-height: 1.45;
    overflow: hidden;
}


/* サイドバー  設定 */
.sidebar {
    background-color: #373737;
}

.new-entry-card-link.widget-entry-card-link.a-wrap {
    color: #fff;
}

.new-entry-card-link.widget-entry-card-link.a-wrap:hover {
    background-color: #333;
    transition: all 0.3s ease-in-out;
    color: #fff;
}

.widget_archive ul li a {
    color: #fff;
    background-color: #373737;
}

.widget_archive ul li a:hover {
    color: #fff;
    background-color: #333;   
}

/* 投稿記事 h2見出し  設定 */
.article h2 {
    border-left: none;
    background-color: #e3eef9;
    padding: 18px 25px 18px 15px;
}

.article h3 {
    border-left: 8px solid #4778bd;	
	border-top: none;
	border-right: none;
	border-bottom: none;
}


#footer {
    background: #434b56;
}

.footer-bottom-content {
    color: #fff;
}

.author-info {
    display: none;
}

.sidebar h2, .sidebar h3 {
    background-color: #3c4752;
    padding: 10px 12px;
    color: #fff;
    font-weight: 200;
    font-size: 16px;
}


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


/* わく線ボックス  設定 */
.bdr-1 {
	border: 1px solid #949495;
}

.bdr-1a {
	border: 1px solid #e2e2e2;
}

.bdr-1b {
	border: 1px solid #4a70d7;
}

.bdr-1x {
	border: 1px solid #949495;
	border-style: dashed;
}

.has-grey-background-color {
    background-color: #f7fafb !important;
}


/* お問合せ 設定 */
@media screen and (min-width: 481px){
form.wpcf7-form.init {
    width: 70%;
    margin: 0 auto;
	}

.wpcf7-form-control.wpcf7-submit {
    width: 23%;
	margin-bottom: 30px;
	}
}

.search-edit, input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea, select {
    font-size: 15px;
}


/* モバイル ハンバーガーメニュー設定 */
.menu {
    display: none;
    position: fixed;
    right: 0;
    top: 120px;
    width: 100%;
    height: 100%;
    z-index: 100;
  /*  background-color: #404a52; */
	background-color: rgba(64,74,82,0.5);
    text-align: center
}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 25px 0 0 0;
    width: 100%;
}

.menu li {
    padding: 15px 0 15px 0
}

.menu li:hover {
    background-color: rgba(64,74,82,0.8);
}

.menu a {
    color: #fff
}

.slide-enter-active,
.slide-leave-active {
    -webkit-transition: height .2s;
    transition: height .2s
}

.slide-enter,
.slide-leave-to {
    height: 0
}

div#sp-icon {
    display: none;
    width: 70px;
    height: 70px;
    position: fixed;
    right: 0;
    top: 27px;
    z-index: 2
}

div#sp-icon:hover {
    cursor: pointer;
    opacity: .7
}

div#sp-icon .menu__line--top,
div#sp-icon .menu__line--center,
div#sp-icon .menu__line--bottom {
    display: inline-block;
    width: 30px;
    height: 3px;
    background: #ddd;
    position: absolute;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition-duration: .2s;
    transition-duration: .2s
}

div#sp-icon .menu__line {
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%)
}

div#sp-icon .menu__line--top {
    content: "";
    -webkit-transform: translateY(-10px) rotate(0deg);
    transform: translate(-15px, -12px) rotate(0deg)
}

div#sp-icon .menu__line--bottom {
    content: "";
    -webkit-transform: translateY(10px) rotate(0deg);
    transform: translate(-15px, 9px) rotate(0deg)
}

div#sp-icon .menu__line--center.active {
    background: transparent !important
}

div#sp-icon .menu__line--top.active {
    -webkit-transform: rotate(45deg) !important;
    transform: translate(-15px, -5px) rotate(45deg) !important
}

div#sp-icon .menu__line--bottom.active {
    -webkit-transform: rotate(-45deg) !important;
    transform: translate(-15px, -5px) rotate(-45deg) !important
}


		.kaigyo-pc {
		display: block;
	}

	.kaigyo-sp {
		display: none;
	}
	
/* インデックスページ レイアウト 設定 */

.entry-card-thumb {
    margin-right: 3%;
}


/* サイト管理者ページのアイコン */
.wp-image-25711 {
	margin-top: 35px;
	border-radius: 70px; 
	border: 1px solid #f0eff1;
}

.wd-755 {
    max-width: 755px;
    margin: 0 auto;
}

.wd-700 {
	max-width: 700px;
	margin: 0 auto;
}

.wd-700.btm {
	margin: 0 auto 10px auto;
}

.wd-735 {
	max-width: 735px;
	margin: 0 auto;
}

.bdr-non {
	border: none;
}


.navi-footer-in a:hover {
    background-color: #353c45;
}


/* 誕生日ページ */
.wp-block-group.btm-0 {
    margin-bottom: 0 !important;
}

.wp-container-1.wp-block-group.main-visual, .wp-container-2.wp-block-group.main-visual   {
    margin-bottom: 0 !important;
}

	.wp-block-group.main-visual.sp.is-layout-flow {
    display: none;
}

.wp-block-group.comme-ttl {
    max-width: 470px;
    margin: 0 auto;
}

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

/*834px以下*/
@media screen and (max-width: 834px){
	/* モバイル ハンバーガーメニュー設定 */
    div#sp-icon {
        z-index: 100;
        display: block;
    }
	
	.logo-text {
    padding: 30px 0 8px 0;
    line-height: 1.4;
		font-size: 1.2em;
}
	
	nav#navi {
    display: none;
	}
 /* モバイル ハンバーガーメニュー設定 ここまで  */	
	
	
	
	main.main, div.sidebar {
    padding: 16px 16px 16px 16px;
}	
	
	#header .site-name-text {
    font-size: 25px;
}
	
	.tagline {
    margin: 0em 1em 2em 1em;
		font-size: 13px;
	}
	
#menu-item-31 a, #menu-item-70 a, #menu-item-32 a {
    text-decoration: none !important;
}
	
	
	/* pの1段目のマージンボトムがゼロになるのを回避 */
.article .wp-block-columns :nth-child(odd):nth-last-child(2) {
    margin-bottom: 1em;
}

	
}

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



/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
.footer-bottom {
    margin: 0 auto !important;
    max-width: 320px !important;
}
.copyright {
    margin-top: 15px;
	color: #a9a9a9;
}
	
.wd-8 {
		width: 80% !important;
		display: block;
		margin: 0 auto;
	}
	
.wd-9 {
		width: 90% !important;
		display: block;
		margin: 0 auto;
	}	
	
		.navi-footer-in > .menu-footer li.menu-item {
		text-align: left; 
		color: #a9a9a9;
	}
	
	.navi-footer-in > .menu-footer li.menu-item a {
		color: #a9a9a9;
	}
	
	.wp-image-25711 {
		width: 110px;
	border-radius: 55px; 
	border: 1px solid #f0eff1;
}
	
	.kaigyo-sp {
		display: block;
	}
	
		.kaigyo-pc {
		display: none;
	}
	
	.wp-block-group.main-visual.sp.is-layout-flow {
    display: block;
}
	
		.wp-block-group.main-visual.pc.is-layout-flow   {
    display: none;
}
	
	
}
