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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*フロント固定ページのタイトルを非表示*/
.home.page .entry-title{
  display: none;
}
/*ヘッダーの文字と背景の色を変える*/
.search-menu-button.menu-button,
.navi-menu-button.menu-button{
	background-color: #ffffff;
	color: #000000;
}
.logo-menu-button.menu-button{
	background-color: #ffffff;
	justify-content: left;
    padding-left: 10px;
}
/*ヘッダーの破線を消す*/
.menu-button{
	border: none!important;
}
.page-top{
	display:none;
}
/* ヘッダーロゴ */
 div.header-container-in.hlt-top-menu .logo-header img {
   height: auto;
   max-height: none;
   width: 400px;
}
.header-container-in.hlt-top-menu .logo-header {
  max-height: none;
}
/* グローバルナビ */
.navi {
    background-color: #ffffff; /*背景色*/
}
#navi .navi-in a:before {
    position: absolute;
    left: 0;
    bottom: 0;
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #ffd700;
    transform: scale(0, 1);
    transition: 0.4s;
}
.navi-in > ul .sub-menu {
    background-color: #ffffff; /*ドロップダウン背景色*/
	filter: drop-shadow(2px 2px 4px rgba(0,0,0,.3));
    opacity: 0.97;
}
.navi-in>ul .sub-menu li {
	border-bottom: 1px solid #dcdcdc!important; /*パーティション（仕切り線）*/
}
#navi .navi-in a:hover:before {
    transform: scale(1);
}
.navi-in a {
    color: #745c51; /*文字色*/
}
.sub-menu li:hover{
	background-color:#fffacd;
}
#navi .navi-in > .menu-header .item-label{
	font-size: 14px;
}

/* フッター */
.footer-bottom-logo .logo-image {
	max-width: 50%;
}
.footer-bottom-logo img {
	height: auto;
}
.logo-image {
    margin: 0 auto; 
}
.footer{
	margin-top:0;
}
footer{
	padding-bottom:20px;
}
.copyright {
	margin-right: 10px;
}
#navi .navi-in a:hover, #footer a:hover {
    background-color: rgba(255,255,255,0);
}
/* トップスライド */
.n2-section-smartslider{
	max-width:1200px;
	margin:auto;
}

/* reCAPTCHA v3　表示位置 */
.grecaptcha-badge{
    margin-bottom: 60px;
}

.article h2{ /*見出し２カスタマイズ*/
  padding: 0;
  margin-top: 100px;
  font-size: medium;
  border-collapse: separate;
  border-spacing: 0;
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-left: none;
  line-height: normal;
  position:relative;
  background: #ffffff; /*背景カラー*/
}
h2.none{ /*見出し２カスタマイズ*/
  padding: 0;
  margin: 0;
  font-size: medium;
  border-collapse: separate;
  border-spacing: 0;
  border:none;
  line-height: normal;
  position:relative;
}
/*見出し*/
.top_midashi {
  margin-top:0!important;
  position: relative;
  background: #ede4cd;
  box-shadow: 0px 0px 0px 5px #ede4cd;
  border-top: dashed 2px white;
  border-bottom: dashed 2px white;
  padding: 0.8em 1.5em;
}
/*834px以下*/
@media screen and (max-width: 834px){
.top_midashi {
  padding: 0.5em 0.8em!important;
}
}
h2.blog{ /*見出し２カスタマイズ*/
	font-size: 1.2em;
    line-height: 1.5;
    color: #9b7b6c;
    margin: 2em 0;
	border: none;
    border-bottom: 2px dotted #ffd943;
    padding: 0.5em 0;
}
h3.blog{ /*見出し３カスタマイズ*/
border-left: 5px solid #ffd943;
    border-top: none;
    border-bottom: none;
    border-right: none;
    padding: 0.2em 0.7em;
}
	
/* 薄背景色変更 */
.is-style-light-background-box{
	background-color: #fffaf4;
}
.is-style-border-convex {
	border: 1px solid #d6c6af;
}

/* 画像に枠線 */
.waku img {
 box-shadow: 3px 3px 10px #d3d3d3;
}

/* キャプション */
figcaption{
	margin-top:0!important;
}
	.top_comment_sm{
		display:none;
}

/* 水平線・斜め */
hr.naname {
  margin: 0;
  padding: 0;
  border: 0;
  height: 8px;
  background-image: repeating-linear-gradient(45deg, #ccc 0, #ccc 1px, transparent 0, transparent 50%);
  background-size: 8px 8px;
}

/* photo gallery 並び修正 */
#bwg_container1_0 #bwg_container2_0 .bwg-container-0.bwg-standard-thumbnails{
 justify-content: start!important;
 box-sizing: border-box;
}
/************************************
** カレンダー
************************************/
/*カレンダー幅*/
.eigyou{
	max-width:80%;
	margin:auto;
}
.calendar{
    max-width:100%;
    margin:auto;
}
div.holiday-titles {
    width: 100%;
    overflow: hidden;
}
.xo-event-calendar p.holiday-title {
    float: left;
    margin-right: 10px;
    padding: 3px 5px;
    text-align: center;
}
.xo-month-wrap {
    width: 95%; 
    margin:auto;
}
.xo-event-calendar table.xo-month td {
  position: static;
}
@media screen and (max-width: 1180px) {
.eigyou{
	max-width:100%;
}
	.calendar{
    max-width:90%;
    margin:auto;
}
}
@media screen and (max-width: 893px) {
	.eigyou{
	max-width:100%;
}
.calendar{
    max-width:90%;
    margin:auto;
}
}
@media screen and (max-width: 768px) {
  .page .eye-catch,
  .max-img {
    margin-left: -10px;
    margin-right: -10px;
  }
.calendar {
    max-width:100% !important;
    margin:auto;
}
.xo-month-wrap {
    width: 100% !important; 
}
}
@media screen and (max-width: 480px){
.calendar{
    max-width:100% !important;
    margin:auto;
}
.xo-month-wrap {
    width: 100% !important; 
}
}

/************************************
** ブログ
************************************/
.page .new-entry-cards {
	display: flex;
	flex-wrap: wrap;
}
.page .new-entry-card-link {
	width: 33%;
}
.widget-entry-card {
    margin: 0 5px;
    background: #ffffff;
    padding: 20px;
	box-shadow: 1px 1px 6px rgba(0, 0, 0, .20);
}
.new-entry-card-date {
  display: block;
}
.is-style-outline>.wp-block-button__link, .wp-block-button__link.is-style-outline {
    border: 1px solid!important;
}
.widget-entry-cards a:hover {
	background:#fff6e6;
	}

/*---ホバー時のボタンアクション---*/
.button a:hover {
	color:#ffffff!important;
	background-color:#9b7b6c!important;
	}

/*---折り畳みアーカイブウィジェット---*/
.widget_archive a.year{ /*各年*/
	cursor: pointer;
	border-top: 2px dotted #ccc; /*各年に下線を引く*/
}
li.year_2021{
	border-bottom: 2px dotted #ccc !important; /*2021年に下線を引く*/
}
.widget_archive a.year::after{ /*各年横のアイコン*/
	font-family: "Font Awesome 5 Free";
	content: '\f107'; /* アイコンの指定 */
	position: relative; /* 相対配置 */
	left: 5px; /* アイコンの位置 */
	font-weight: bold;
}
.widget_archive .years ul { /*各月*/
	display: flex;
	flex-flow: row wrap;
	margin-left: 5px; /*インデント*/
	font-size: 1rem;
	text-decoration: underline; /*各月に下線を引く*/
}
.widget_archive ul.years li {
	padding: 0 1px; /*各月の間隔*/
	border:none;
}
#sidebar .widget_archive ul.years li :hover { /*マウスホバー時*/
	background: none;
	transition: 0.1s;
}
.widget_archive ul.years .hide { /*各年をクリックすると開閉*/
	margin: 0;
	height: 0;
	opacity: 0;
	visibility: hidden;
}
/*834px以下*/
@media screen and (max-width: 834px){
	.page .new-entry-card-link {
	width: 33%;
	}
}
/*480px以下*/
@media screen and (max-width: 480px){
	.page .new-entry-card-link {
	width: 100%;
	}
}

/************************************
** 撮影メニュー
************************************/
.flexbox{
    display: flex;
    flex-flow: row wrap;
	text-align:center;
}
.menu{
    width: 31%;
    margin: 1%;
}
.menu img{
	padding:4px;
    border:1px solid #d6c6af;
    background:#fff;
}
.menu a{
	text-decoration:none;
	color:#745c51;
	font-size:0.7em;
}
.menu a:hover{
	color: red; 
}
@media screen and (max-width: 480px){
	.menu {
    width: 47%;
    margin: 1.5%;
	}
	.menu img{
	padding:3px;
    border:1px solid #d6c6af;
    background:#fff;
	}
}

.logo-menu-button img
{margin:0;}

h1 {
  position: relative;
  padding: 1em 1em 1em 2em;
  border-top: #ffd943 solid 1px;
}
h1::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 0px solid transparent;
  border-right: 50px solid transparent;
  border-left: 50px solid #ffd943;
  border-bottom: 50px solid transparent;
}
.cat-label {
display: none;
}

/*******************************
モバイルスライドインメニュー
*******************************/
.menu-drawer::before {
    content: "MENU";
    color: #ffffff;
    font-size: 1.5em;
    font-weight: bold;
    background: #90C31F;
    padding: 5px 30px;
}
.menu-midashi a{
	font-size: 1em;
	font-weight: bold;
	border-bottom: 1px dashed #ddbb99;
	padding-left:10px;
}
.menu-midashi i{
	padding-right:5px;
	color:#ec6800;
}
.menu-second a{
	font-size: 1em;
	font-weight:normal;
}
.menu-third a{
	font-size: 1em;
	font-weight:normal;
}
.menu-midashi .fa-chevron-circle-right{
	color:#90C31F;
}
.menu-midashi .fa-angle-double-right{
	color:#e6b422;
}
div #navi-menu-content .sub-menu {
	background-color: #ffffff;
}

.menu-drawer .sub-menu {
    padding-left: 15px;
}
.navi-menu-content{
  left: auto;
  right: 0;
  transform: translateX(105%);
}/*左から*/

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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	.article h2{ /*見出し２カスタマイズ*/
		  margin-top: 30px;
	}
	.top_comment_sm{
		display:none;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	.footer-bottom-logo .logo-image {
	max-width: 80%;
	}
	.article h1 {
	padding:0.6em 0 0.5em 2em;		
	}
	.article h2{ /*見出し２カスタマイズ*/
		  margin-top: 30px;
	}
	main.main, div.sidebar {
    padding: 16px 15px;
	}
	.top_comment_pc{
		display:none;
	}
	.top_comment_sm{
		display:block;
	}
	.flex-control-paging li a {
    width: 7px!important;
    height: 7px!important;
	}
	main.main {
    padding-top: 1px!important;
	}
}
/*固定ページの日付非表示*/
.page .date-tags,
.page .author-info {
display: none;
}

/************************************
** wrapperの背景色をかえる
************************************/

/* 背景色を横幅いっぱいに */
.haikei {
  background: #fff6e6;
	margin-left: calc(((100vw - 100%) / 2)* -1);
    margin-right: calc(((100vw - 100%) / 2)* -1);
    margin-bottom: 0px !important;
    padding: 0 29px 5em;
}

.haikei > p,
.haikei > div,
.haikei > h2,
.haikei > h3 {
  margin-left: auto;
  margin-right: auto;
  max-width: 1142px;
}

.haikei > h2 {
  background: #fff6e6;
}

@media screen and (max-width: 768px) {
  
  .haikei {
    padding: 0 10px 3em;
  }
  
  .haikei .column-wrap {
    text-align: center;
  }
}
/******************
表のデザインを変更
*******************/
.entry-content table {
    border-bottom: 1px solid #e6e6e6; /* 表の一番下の線 */
    border-top: none;
    border-left: none;
    border-right: none;
}
.wp-block-table thead {
    border-bottom: none;
}
/*--- ヘッダーセル(th) ---*/
.entry-content th {  
    padding: 0.8em .6em; /* 余白（上下　左右） */
    background-color: #ffd92a; /* 背景色 */
    text-align: center; /* 中央揃え */
 	border-color:#eee; /* 線色 */
}

/*--- 行（横方向）(tr) ---*/
.entry-content tr {
    text-align:center; /* 中央揃え */
}
.entry-content tr:not(:last-child) { /* 最後の行以外に適用 */
    border-bottom: 1px solid #d4d4d4; /* 下線 */
}
/*--- ヘッダーセル以外のセル(td) ---*/
.entry-content td {
    padding: 0.8em 0.8em; /* 余白（上下　左右） */
    border:none; /* 線を削除 */
}
.entry-content td:last-child { /* 最後のセルのみ適用 */
    border-right: 1px solid #d4d4d4; /* 右線 */
}
.entry-content td:not(last-child) { /* 最後のセル以外に適用 */
    border-left: 1px solid #d4d4d4; /* 左線 */
}
/*--- 背景を白に ---*/
table td {
       background: #fff;
}

/******************
レイアウト設定
*******************/
.80per{
	max-width:80%;
}
@media screen and (max-width: 834px){
.80per{
	max-width:100%;
}
｝