/*
Theme Name: aqua-school
Theme URI: 
Author: miyazono
Author URI: 
Description: アクアパソコン教室カレンダー用テーマ
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: aqua-school
Tags: 
*/
html {
	font-size: 18px;
}

h3 {
	padding: 1em;
	color: #606060;
	font-size: 1.5em;
}
h4 {
	padding: 1em;
	color: #808080;
	font-size: 1.2em;
}
a.wp-block-button__link:hover {
	background-color: #98bf17 !important;
}
.tel-link a {
	text-decoration: none;
}

iframe.booking-iframe {
	width: 100%;
	height: 750px;
	border: 0;
}
@media and screen(min-width:900px) {
	iframe.booking-iframe {
		width: 80%;
	}
}

/* mts simple booking カレンダーマーク */
.calendar-mark a:where(:not(.wp-element-button)) {
	text-decoration: none;
}

/* mts simple booking 時間割ページ */
.day-calendar .mtssb-timetable-name {
	display: none;
}
.day-calendar .mtssb-timetable-date {
	font-size:1.5em;
}
.day-calendar table.mtssb-timetable-link {
	margin:0 auto;
}
.day-calendar table.mtssb-timetable-link tr:nth-of-type(1) {
	color: #555;
	background-color: #87ad5588;
}
.day-calendar .mtssb-timetable-link tr:has(a.booking-timelink:hover) {
	background-color: #87ad5533;
}

.mtssb-daily-action button {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font-size: 0;
}
.mtssb-daily-action button::before {
	content: "< 予約日の選択に戻る";
	color: #87ad55;
	font-size: 16px;
}

/*** デザインパターン１ ***/
.mtssb-daily-action {
	margin-top:4.5em;
}
@media and screen(min-width: 600px) {
	.mtssb-daily-action {
		margin-top:2.5em;
	}
}
.lasttime-msg {
	position: absolute;
	width: 75%;
	left: 50%;
	transform: translateX(-50%);
	display: block;
	text-align: justify;
	color: #555;
	font-size: 0.8em;
	font-weight: normal;
	line-height: 1.5em;
	margin: 0 0.2em 0.6em;
	padding-top: 5px;
}
.lasttime-head {
	color: #F00;
}
.lasttime-point {
	display: inline-block;
	background-color: #e9ffcc;
}
/*** デザインパターン２ ***/
/*.lasttime-msg {
	text-align: justify;
	color: #555;
	font-size: 0.8em;
	font-weight: normal;
	line-height: 1.5em;
	display: block;
	margin: 0 0.2em 0.6em;
}
*/

/* mts simple booking 入力フォーム */
#booking-form fieldset {
	font-size: 1rem;
}
#booking-form th,
#booking-form td {
	display: block;
	width: 100%;
	margin: 0;
	border-right: 0;
	border-bottom: 0;
	padding: 2px 0;
}
#booking-form tr {
	border-right: 0;
	border-bottom: 0;
}
#booking-form th {
	text-align: left;
}
#booking-form td {
	margin-bottom:10px;
}

select#booking-option-course {
	font-size: 0.95rem;
}

input#client-gender-female {
	margin-left: 10px;
}

/* 非表示項目 */
#booking-reservation-fieldset th, /* 予約ラベル */
#booking-form tr.booking-form-people-number-row, /* 人数 */
tr:has(.instructor-name), /* 講師名 */
tr:has(.custom-time), /* 時間変更 */
tr:has(.rsv-kind), /* 予約方法 */
tr:has(.chk_net), /* 処理済み */
tr:has(.cnsl_tkn) /* カウンセリングor無料体験 */
{
	display: none;
}

/* 予約確認ページ */
#booking-confirm-fieldset tr:nth-of-type(1) th {
	font-size: 0;
}
#booking-confirm-fieldset tr:nth-of-type(1) th::before {
	content: "予約日時";
	font-size: 18px;
}
#booking-confirm-fieldset td {
	padding-left: 2.0em;
	font-size: 1.2em;
}
#booking-confirm-fieldset .option-confirm-header {
	border-bottom:1px solid #dddddd;
	font-size:0;
}

/* 非表示項目 */
#confirmation-instructor-name,
#confirmation-custom-time,
#confirmation-rsv-kind,
#confirmation-chk_net,
#confirmation-cnsl_tkn {
	display: none;
}

#terms-conditions,
#accedence-box {
	font-size: 0.9rem;
}
/* プライバシーポリシーリンク */
#terms-conditions a{
	display: inline-block;
	padding: 0.8em 0.2em 0.8em 0.1em;
	color: #87ad55;
	white-space: nowrap;
	margin-left: 1.0em;
	font-weight: bold;
}

/* ボタン */
#booking-form #action-button {
	display: flex;
	justify-content: space-between;
}

/* 戻るボタン */
#booking-form .booking-form-prev-btn a {
	display: inline-block;
	border-radius: 2px;
	padding: 0.8em 0.2em 0.8em 0.1em;
	text-decoration: none;
	color: #87ad55;
	background: #FFF;
	border: 1px solid #87ad55;
	font-size: 1em;
	margin-right: 5%;
	white-space: nowrap;
}
#booking-form .booking-form-prev-btn a:hover {
	color: #FFF;
	background: #87ad55;
}

/* 進むボタン */
#booking-form .booking-form-next-btn {
	position: relative;
}

#booking-form .booking-form-next-btn a {
	display: inline-block;
	border-radius: 2px;
	padding: 0.8em 0.1em 0.8em 0.2em;
	text-decoration: none;
	color: #FFF;
	background: #87ad55;
	font-size: 1em;
	margin-left: 5%;
	white-space: nowrap;
}
#booking_form_confirm_button {
	padding: 0.8em 0.1em !important;
}

#booking-form .booking-form-next-btn a:hover{
	opacity: 0.7;
}
/* ボタン有効カバー */
#action-button-cover {
	margin-left: 5%;
}
#action-button-cover img#mts-postcode-loading {
	margin-top: 1em;
}
