@charset "UTF-8";
/*
Theme Name: Emanon Business
Theme URI: https://wp-emanon.jp
Author: 株式会社イノ・コード
Author URI: https://innocord.co.jp/
Description: Emanon BusinessはEmanon Pro専用の子テーマです。Emanon Proの機能に加え、フロントページのデザイン機能を拡張しています。Emanon Pro本体がインストールされていないと動作しませんのでご注意ください。
Template: emanon-pro
Text Domain: emanon
Version: 2.0.8
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, three-columns, left-sidebar, right-sidebar, theme-options

Emanon Business用のスタイルを以下に記述
カスタマイズ機能のCSS圧縮をオンにしている場合、オフに切り替えてからスタイルを追加し、その後、再度CSS圧縮をオンにしてください。
*/

#ReservationPanel {
  display: none;
  position: fixed !important;
  top: 100px;
  right: 20px;
  background: #fabe00;
  color: #421100;
  width: 320px;
  padding: 20px;
  border: 2px solid #fff;
  z-index: 2147483647 !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-family: sans-serif;
}
#ClosePanel {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 32px;
  height: 32px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  line-height: 32px;
  background: rgba(0,0,0,0.2); /* 透明背景（任意） */
  border-radius: 50%;
  cursor: pointer;
}
/*
#ClosePanel::before,
#ClosePanel::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #fff;
  top: 11px;
  left: 2px;
}

#ClosePanel::before {
  transform: rotate(45deg);
}

#ClosePanel::after {
  transform: rotate(-45deg);
}
*/
.panel-title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  border-bottom: 1px solid #fff;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.panel-section {
  margin-bottom: 16px;
}

.panel-section label {
  font-weight: bold;
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}

.panel-section input[type="date"],
.panel-section select {
  appearance: auto;              /* 矢印をデフォルトで表示させる */
  -webkit-appearance: auto;
  -moz-appearance: auto;
  width: 100%;
  padding: 6px;
  font-size: 14px;
  border: none;
  background: rgba(255,255,255,0.95);
  box-sizing: border-box;
  margin-bottom: 8px;
  color: #000; 
  -webkit-text-fill-color: #000; /* iOS Safari対策 */
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.person-unit {
  display: flex;
  flex-direction: column;
}

.person-unit label {
  font-weight: bold;
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 4px;
}

.person-unit select {
  appearance: auto;              /* 矢印をデフォルトで表示させる */
  -webkit-appearance: auto;
  -moz-appearance: auto;
  width: 120px;
  padding: 6px;
  font-size: 14px;
}

.panel-section.grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 16px;
  max-width: 560px; 
  margin: 0 auto;
}

.input-label {
  font-weight: bold;
  font-size: 14px;
  line-height: 1.2;
  display: flex;
  flex-direction: column; 
  margin-bottom: 0;
}

.note {
  font-size: 12px;
  font-weight: normal;
  color: #333;
  line-height: 1.2;
}

.kakunin {
  font-size: 16px;
  font-weight: normal;
  color: #000;
  text-align: center;
  text-decoration: underline !important;
}

.input-field {
  width: 100%;
  padding: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

#SearchButton {
  width: 80%;
  max-width: 280px;
  margin: 0 auto;
  display: block;
  padding: 10px;
  font-weight: bold;
  text-align: center;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

/* サイドバーウィジェットを背面に */
.wp-block-column.sidebox {
  position: relative !important;
  z-index: 1 !important;
}

@media (max-width: 767px) {
    .wp-block-column.sidebox {
        margin-top: -70px;
    }
}

/* トップページの ClosePanel の中央配置 */
body.home #ClosePanel::before,
body.home #ClosePanel::after {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

body.home #ClosePanel::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

