/**
Theme Name: Kotani Pharmacy
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


/* ================================
   MTS Simple Booking：スマホ最適化
   スマホ時に予約フォームを1列化
================================ */

#booking-form {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 30px;
  box-sizing: border-box;
}


/* スマホ最適化 */
@media (max-width: 599px) {

  /* フォーム全体の左右余白 */
  #booking-form {
    padding: 16px;
  }

  /* table → 1列化 */
  #booking-form table,
  #booking-form tbody,
  #booking-form tr,
  #booking-form th,
  #booking-form td {
    display: block !important;
    width: 100% !important;
  }

  #booking-form th {
    font-weight: bold;
    margin-bottom: 4px;
    padding: 4px 0;
    text-align: left !important;
  }

  #booking-form td {
    margin-bottom: 16px;
    padding: 0;
  }

  /* 入力欄を100%幅に */
  #booking-form input,
  #booking-form select,
  #booking-form textarea {
    width: 100% !important;
    box-sizing: border-box;
  }

  /* 人数入力 */
  #booking-form .input-number {
    margin-bottom: 12px;
  }

  /* ボタン */
  #booking-form #action-button button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
  }
}


/* セクションの囲み枠 */

#booking-form fieldset {
  border: 1px solid #ddd;
  padding: 20px 24px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

#booking-form legend {
  font-weight: bold;
  padding: 0 6px;
  font-size: 1.1em;
}

#booking-form table {
  border: none !important;
}

#booking-form th,
#booking-form td {
  border: none !important;
  padding: 6px 0;
}

@media (max-width: 599px) {
  #booking-form fieldset {
    padding: 18px 16px;
  }
}

/* 送信ボタン（予約確認） */
#booking-form #action-button button {
  background-color: #d09a40;
  color: #fff;
  border: none;
  padding: 14px 0;
  width: 100%;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

#booking-form #action-button button:hover {
  opacity: 0.85;
}



@media (max-width: 599px) {

  /* td の中央寄せを完全に無効化（最強） */
  #booking-form table tr td.gender-area {
    text-align: left !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 20px !important;
  }

  /* ラベル（男性／女性）を横並びのまま左寄せ */
  #booking-form table tr td.gender-area label.content-text.radio {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
  }

  /* ラジオボタンを大きく */
  #booking-form table tr td.gender-area label.content-text.radio input[type="radio"] {
    width: 22px !important;
    height: 22px !important;
    transform: scale(1.2) !important;
    margin-right: 6px !important;
    accent-color: #d09a40 !important;
  }
}