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

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

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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	/*お知らせ画像上余白設定*/
	.card-thumb img {
	margin-top: 10px;
}
}


@media (min-width: 768px) {
/*768px以上の時、投稿タイトル中央揃え*/
.single  .entry-title {
    text-align: center;
  }
}


/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	/*お知らせ画像上余白設定*/
.card-thumb img {
	margin-top: 20px;
}
	
/*フッターメニュー*/
.navi-footer-in > .menu-footer{
display: flex;
flex-direction:column;
}
.navi-footer-in > .menu-footer li.menu-item a{
    padding-left: 20px;
    width: 100%;
    text-align: left;
}
}


/*Header menu*/
/*Font awesome スペース指定*/
.menu-item i {
margin-right: 5px;
}

/*Header menu 余白指定*/
.fixed-header #navi .navi-in > ul > li > a {
	padding: 0 0.5em;
}

/*メニュー下英語不透明度指定*/
#navi .sub-caption {opacity:1;}

/*Header menu現在のページのmenuに色をつける*/
#navi .current_page_item > a {
color: #222222;
background-color: #ffd400;
}

/*Header menu現在のページのmenuにhoverしたときに色をつける*/
#navi .current_page_item > a:hover {
  color: #ffffff;
  background-color: #0000cd;
}

/*Header menuにhoverしたときに色をつける*/
#navi li:not(.current_page_item) > a:hover {
  color: #ffffff;
  background-color: #0000cd;
}

/*メニュー横並び*/
.navi-in >ul{
	flex-wrap: nowrap;
	justify-content: center;
}

/*メイン画像指定*/
/*メイン画像（幅・高さ指定）*/
#appeal { 
height: calc(100vw * calc(800 / 1600)); 
}

/*新着記事設定*/
/*投稿日設定*/
.new-entry-card-date {
  display: block;
}

/*投稿日の時計非表示*/
.fa-clock{
	display: none;
}

/*投稿アップデート非表示*/
.post-update{
	display: none;
}

/*最大幅指定*/
.new-entry-card {
    font-size: 16px;
    position: relative;
    max-width: 1000px;
	margin: auto;
}
.widget-entry-cards .a-wrap{
	max-width: 1000px;
	margin: auto;
}

/*アイキャッチ画像センター寄せ*/
.eye-catch{
	display: block;
	margin: 0 auto;
	text-align: center;
}

/*投稿記事本文センター寄せ*/
.entry-content{
	max-width:1000px;
	margin: 0 auto;
}

/*ホームお知らせ下の紹介文幅指定*/
p.news_content{
	max-width: 1000px;
}

/*SNSボタン折り返しなし*/
.sns-follow-buttons{
	flex-wrap: nowrap;
}

/*ご利用料金注意書き幅指定*/
.fee_text{
	max-width:1000px;
	margin-left:auto;
	margin-right:auto;
}
/* スマホには適用しない */
@media (min-width: 768px) {

  .wpcf7-form-control.form-control {
    width: auto;
    max-width: 100%;
  }

  /* フォームを中央に配置・背景色指定 */
  .wpcf7-form {
    max-width: 680px;
    margin-left:auto;
    margin-right:auto;
    padding: 15px 20px;
    border-radius: 5px;
  }

}

/* 必須マーク */
.wpcf7-form small.text-danger {
    color: #fff !important;
    background-color: #dc3545;
    font-size: 75%;
    padding: 0.1em 0.3em;
    margin-left: 0.5em;
}

/* 入力確認のチェックボックスを大きく */
form .wpcf7-acceptance input[type="checkbox"] {
    transform: scale(2.0);
    margin-right: 0.5em;
}

/* 送信ボタンをぴったり中央に配置 */
.wpcf7-submit.btn {
    margin-left: 72px;
}

input[type=submit] {
    -webkit-appearance: none;
    border: 1px solid var(--cocoon-thin-color);
    background-color: #0000cd;
    color: #FFF;
}

/* 施設の予約 */
@media (max-width: 900px) {

	.reserve_btn_box {
		max-width:calc(100% - 90px);
	}

}

.reserve_btn_box * {
	box-sizing:border-box;
	font:inherit;
	margin:5px;
	width:fit-content;
}

.reserve_btn_box button {padding:9px;}

.reserve_box {
	margin-bottom:1.5em;
	overflow-x:auto;
	width:100%;
}

.reserve_table {
	border-collapse:collapse;
	display:table;
	font-size:0.875rem;
	margin:auto;
	table-layout:fixed;
	width:initial;
}

.reserve_table thead {
	background:green;
	color:white;
}
.reserve_table thead tr {
	background-color:transparent !important;
}
.reserve_table th, .reserve_table td {
	background-color:transparent !important;
	border:1px solid #ccc;
	padding:10px 1px;
	width:calc(1em + 8px);
	min-width:calc(1em + 8px);
}

.reserve_table tbody tr th:first-child {
	width:calc(10em + 8px);
	min-width:calc(10em + 8px);
}

.reserve_table td {text-align:center;}

.reserve_table tbody {color:black;}

.reserve_table tbody > tr:nth-of-type(2n) {background:#eee;}

.reserve_table tbody > tr:nth-of-type(2n + 1) {background:#fff;}

.reserve_table tbody > tr td:nth-of-type(2n) {background-color:rgba(204, 204, 204, 0.5) !important;}

.reserve_table tbody th {
	text-align:left;
	word-break:keep-all;
}

.reserve_table a {
	color:inherit;
	text-decoration:none;
}

[data-holiday="1"] {
	background-color:#ffceff;
}

.footer_nav_btn {
	position:fixed;
	bottom:10px;
	left:10px;
}
