/* =========================================================
  TLBS Booking Form Styles
========================================================= */

:root{
  /* サイトが fixed ヘッダーの場合、モーダル被り回避に使う */
  --tlbs-fixed-header-h: 70px;
}

/* 基本：枠線色 */
select {
  border: 1px solid #ccc;   /* ここを好きな色に */
  background-color: #fff;
  color: #111;
  outline: none;
}

/* フォーカス時（クリックした時）の枠線色 */

/* iOS/Safariで変に見える時の保険 */
select {
  -webkit-appearance: none;
  appearance: none;
}

p.ls_00 {
	letter-spacing: 0em;
}
p.ls_01 {
	letter-spacing: 0.1em;
}

.select_sub {
	font-size: 1.3rem;
	letter-spacing: 0em;
}

@media (min-width: 481px){
.spview {
	display: none;
}
}
@media (max-width: 480px){
.pcview {
	display: none;
}
}

/* ---------------------------------------------------------
  Utilities
--------------------------------------------------------- */
.tbs-hidden-file{ display:none !important; }
.tbs-a11y-anchor{ height:1px; overflow:hidden; }
.tbs-action-center{ text-align:center; }
.tbs-mt-16{ margin-top:16px; }

/* ---------------------------------------------------------
  Form wrapper (front)
--------------------------------------------------------- */
.tlbs-booking-form-wrapper p.hissu_tx{
  color: red;
  text-align: right;
}

.tlbs-booking-form-wrapper h2.reserve_ttl{
  border:none;
  font-family: "Noto Serif JP", serif;
  text-align: center;
  font-size: 3rem;
  padding: 0 0 2em;
}

.tlbs-booking-form-wrapper .contact_area.reserve{
  padding-top: 0;
}

/* Flex layout */
.tlbs-booking-form-wrapper .tbs-flex-row{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.tlbs-booking-form-wrapper .tbs-flex-row.aic{ align-items:center; }

.tlbs-booking-form-wrapper .tbs-form-control{ max-width:100%; }

/* 共通：入力UIの文字サイズ */
.tlbs-booking-form-wrapper input.tbs-form-control,
.tlbs-booking-form-wrapper select.tbs-form-control,
.tlbs-booking-form-wrapper textarea.tbs-form-control{
  font-size: 1.5rem;
}

/* 予約区分 / 用途 行の整列 */
.tlbs-booking-form-wrapper .tbs-flex-row > .tbs-form-control{
  flex: 1 1 280px;
}
.tlbs-booking-form-wrapper .tbs-usage-wrap{
  flex: 1 1 280px;
  display:flex;
  align-items:center;
  gap:10px;
}
.tlbs-booking-form-wrapper .tbs-inline-label{
  font-size: 1.5rem;
  white-space: nowrap;
}

/* 郵便番号（yubinbango） */
.tlbs-booking-form-wrapper .tbs-adr-block .p-country-name{ display:none; }
.tlbs-booking-form-wrapper .p-postal-code.tbs-form-control{
  width:150px;
  display:inline-block;
}
.tlbs-booking-form-wrapper .tbs-zip-hint{
  font-size: 1.2rem;
  color: #777;
  margin-left: 10px;
}

/* セクション見出し */
.tlbs-booking-form-wrapper h3.tbs-section-title{
  font-size: 1.7em;
  line-height: 1.3;
  font-weight: 400;
  padding-left: 0;
  border-bottom: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding-top: 1.5em;
  margin-top: 2em;
}
.tlbs-booking-form-wrapper .tbs-section-note{
  font-family: meiryo, "メイリオ", "ms pgothic", "Hiragino Kaku Gothic ProN", sans-serif;
  padding-left: 1em;
  font-size: 1.4rem;
  font-weight: 400;
  color: #444;
}

/* ---------------------------------------------------------
  License upload
--------------------------------------------------------- */
.tlbs-booking-form-wrapper .tbs-license-upload-info{
  font-size: 1.2rem;
  line-height: 1.8;
  margin: 5px 0 10px;
}
.tlbs-booking-form-wrapper .tbs-license-upload-info ul{
  margin: 0 0 8px 0;
  padding: 0;
}
.tlbs-booking-form-wrapper .tbs-license-upload-info li{
  margin: 2px 0;
  list-style: none;
  font-size: 1.3rem;
  line-height: 1.5;
}
.tlbs-booking-form-wrapper .tbs-license-shooting-tip{
  margin-top: 10px;
  padding: 10px 12px;
  background: #f7f7f7;
  color: #222;
  font-size: 1.3rem;
  font-weight: 400;
}

/* 同意ボタン */
.tlbs-booking-form-wrapper .tbs-license-consent{ margin: 10px 0 0; }

.tbs-btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 16px;
  border: 1px solid #bbb;
  background: #efefef;
  color: #222;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.4rem;
}
.tbs-btn-secondary:hover{ filter: brightness(0.98); }

#license-consent-btn.is-consented,
#terms-consent-btn.is-consented{
  background:#222;
  border-color:#222;
  color:#fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  opacity: 1;
}

#tbs-upload-area-wrapper{ margin-top: 15px; }

/* ドロップゾーン（横並び＋スマホで縦） */
.tbs-license-grid{
  display:flex;
  gap:16px;
  align-items:flex-start;
}
.tbs-license-col{ flex:1; min-width: 260px; }

.tbs-drop-zone{
  border: 2px dashed #bbb;
  border-radius: 8px;
  padding: 18px 14px;
  text-align: center;
  background: #fafafa;
  cursor: pointer;
  transition: all .15s ease;
  min-height: 150px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.tbs-drop-zone.highlight{
  border-color:#222;
  background:#f3f3f3;
}

.tbs-drop-title{
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 6px;
  white-space: nowrap;
}
.tbs-drop-sub{
  font-size: 1.3rem;
  margin: 0 0 10px;
  color:#444;
}
.tbs-drop-actions{ margin-top: 6px; }

.tbs-btn-small{
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #bbb;
  background: #fff;
  cursor: pointer;
  font-size: 1.3rem;
}
.tbs-btn-small:hover{ background:#f6f6f6; }

/* プレビュー（初期は非表示：JSで show/hide） */
.tbs-preview{ display:none; margin-top: 10px; }
.tbs-preview-title{ font-size: 1.2rem; margin: 0 0 6px; }
.tbs-final-preview{
  display:block;
  max-width: 260px;
  width: 100%;
  border:1px solid #ddd;
  border-radius: 6px;
  background:#fff;
}
.tbs-preview-meta{ display:none; margin-top: 6px; font-size: 1.2rem; color:#333; }

/* エラー */
#tlbs-license-error{
  margin-top: 10px;
  color: #c00;
  font-size: 1.4rem;
  line-height: 1.4;
}

/* 裏面記載なし */
.tbs-back-toggle{ margin-top:12px; }
.tbs-check{ display:flex; align-items:center; gap:8px; font-weight:700;font-size: 1.5rem; }
.tbs-check input{ width:18px; height:18px; }
.tbs-back-help{ margin:6px 0 0; font-size:12px; opacity:.85; }

/* スマホは縦 */
@media (max-width: 768px){
  .tbs-license-grid{ flex-direction:column; }
  .tbs-license-col{ min-width: 100%; }
  .tbs-final-preview{ max-width: 100%; }
  :root{ --tlbs-fixed-header-h: 56px; } /* 必要なら調整 */
}

/* ---------------------------------------------------------
  Date / Time selects
--------------------------------------------------------- */
.tbs-date-selectors{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.tbs-date-unit{ display:inline-flex; align-items:center; gap:4px; }
.tbs-date-selectors select{
  font-size: 1.5rem !important;
  line-height: 1.4;
  padding: 6px 10px;
  width:auto;
  min-width: 70px;
}
.tbs-date-unit select[name*="_year"]{ min-width: 92px; }
.tbs-time-unit select{ min-width: 72px; }
.tbs-date-label{ font-size: 1.5rem; line-height: 1; }

@media (min-width: 900px){
  .tbs-date-selectors{ flex-wrap: nowrap; }
  .tbs-time-unit{ white-space: nowrap; }
}

/* ---------------------------------------------------------
  Terms
--------------------------------------------------------- */
.tbs-terms-scroll{
  max-height: 260px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #ddd;
  padding: 40px 40px 20px;
  background: #fff;
}
.tbs-terms-text{ font-size: 1.4rem; line-height: 1.8; }
.tbs-spacer-50{ height: 50px; }

.tbs-terms-agree-row{
  display:flex;
  align-items:center;
  justify-content:center;
  padding-top: 30px;
}
.tbs-terms-agree-text{ font-size:1.4rem; line-height:1.8; padding-right: 2em; }
.tbs-terms-agree-action{ flex-shrink:0; }

@media (max-width: 768px){
  .tbs-terms-agree-row{ flex-direction:column; align-items:stretch; }
  .tbs-terms-agree-text{ padding-right:0; }
  .tbs-terms-agree-action{ text-align:center; margin-top:12px; }
}

/* ---------------------------------------------------------
  Submit
--------------------------------------------------------- */
.tbs-submit-btn{ background: transparent; border: 0; padding: 0; }
.tbs-submit-btn img{ display:block; width: 100%; height:auto; }

.tbs-submit-btn.is-disabled,
.tbs-submit-btn[aria-disabled="true"]{
  opacity: .45;
  cursor: not-allowed;
  filter: grayscale(20%);
}

#tlbs-message{
  margin-top: 20px;
  font-size: 1.6rem;
  font-weight: 700;
}

/* 規約スクロール未読エラー表示 */
#tlbs-terms-error{ color:#c00; font-size:1.4rem; line-height:1.4; }

.tbs-noscript-warning{ color:#c00; font-weight:700; }

/* ---------------------------------------------------------
  Validation errors (generic)
--------------------------------------------------------- */
.tbs-field-error{
  margin-top: 6px;
  display: block;
  width: 100%;
  color: #c00;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.4;
}

/* ---------------------------------------------------------
  Confirm / Complete pages
--------------------------------------------------------- */
.tbs-confirm-list{ margin-top: 12px; font-size: 1.5rem; }

.tbs-confirm-section{ margin-top: 1em; }
.tbs-confirm-section:first-child{ margin-top: 0; }
.tbs-confirm-section-title{
  font-size: 1.8rem;
  font-weight: 600;
  padding: 2em 12px 10px;
  background: rgba(0,0,0,.04);
  border-radius: 8px;
}
.tbs-confirm-section-body{ padding: 4px 12px 0; }

.tbs-confirm-row{
  display:flex;
  align-items:center;
  gap:16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.tbs-confirm-row:last-child{ border-bottom: 0; }

.tbs-confirm-label{
  flex: 0 0 280px;
  max-width: 280px;
  font-weight: 400;
  background: rgba(0,0,0,.04);
  color: #222;
  padding: 8px 10px;
  border-radius: 6px;
}
.tbs-confirm-value{ flex:1 1 auto; word-break: break-word; }

@media (max-width: 640px){
  .tbs-confirm-row{ flex-direction: column; gap: 6px; align-items: stretch; }
  .tbs-confirm-label{ flex: 0 0 auto; max-width: none; }
}

.tbs-confirm-image-grid{ display:flex; gap:14px; flex-wrap:wrap; }
.tbs-confirm-image-col{ flex: 1; min-width: 260px; }
.tbs-confirm-image-title{ font-size: 1.5rem; font-weight: 600; margin-bottom: 6px; }
.tbs-confirm-img{
  width: 250px;
  max-width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}
.tbs-confirm-note{ color: #666; font-size: 1.5rem; }

.tbs-confirm-actions{
  margin-top: 100px;
  text-align: center;
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
}

.tbs-complete-actions{ margin-top: 100px; text-align:center; }

/* ---------------------------------------------------------
  Cropper modal (license trimming)
--------------------------------------------------------- */
body.tlbs-modal-open{ overflow:hidden; }

.tbs-modal{
  display:none;
  position:fixed;
  inset:0;
  z-index: 99999;
  background: rgba(0,0,0,.55);
  align-items: flex-start; /* 上が隠れやすいので */
  justify-content: center;
  padding-top: calc(var(--tlbs-fixed-header-h) + env(safe-area-inset-top));
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: 12px;
  padding-right: 12px;
}
.tbs-modal.is-open{ display:flex; }

.tbs-modal-content{
  width: min(980px, 94vw);
  background:#fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  padding: 16px;
  position:relative;
  max-height: calc(100vh - var(--tlbs-fixed-header-h) - env(safe-area-inset-top) - 18px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.tbs-close-modal{
  position: sticky;
  top: 0;
  z-index: 5;
  float: right;
  margin: 8px;
  width:40px;
  height:40px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background:#fff;
  font-size: 26px;
  line-height: 1;
  cursor:pointer;
}

.tbs-modal-title{ margin: 4px 0 2px; }
.tbs-modal-desc{ margin: 0 0 10px; color:#333; font-size:1.3rem; }

.tbs-modal-toolbar{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  position: sticky;
  top: 0;
  z-index: 4;
  background: #fff;
  padding: 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  margin: 10px -16px 10px;
}

.tbs-toolbar-spacer{ flex:1; }

.tbs-btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 16px;
  border: 1px solid #222;
  background:#222;
  color:#fff;
  border-radius: 8px;
  cursor:pointer;
  font-size: 1.4rem;
}

.tbs-rot-slider{
  display:flex;
  align-items:center;
  gap:8px;
}
#tlbs-rotate-range{ width: 160px; }
#tlbs-rotate-val{ font-size: 1.2rem; color:#333; min-width: 52px; }

.img-container{
  width:100%;
  height: 60vh;
  max-height: 60vh;
  overflow:hidden;
  border-radius: 8px;
  background:#111;
  display:flex;
  align-items:center;
  justify-content:center;
}
.img-container img{ display:block; max-width:100%; max-height:60vh; }

/* Cropper UI: つまみを大きく */
.tbs-modal .cropper-point{
  width:20px !important;
  height:20px !important;
  opacity: 1 !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: 2px solid #111 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.25) !important;
}
.tbs-modal .cropper-point.point-se,
.tbs-modal .cropper-point.point-sw,
.tbs-modal .cropper-point.point-ne,
.tbs-modal .cropper-point.point-nw{
  width:26px !important;
  height:26px !important;
}

.tbs-modal .cropper-view-box{
  outline: 2px solid rgba(0,0,0,.75) !important;
  outline-offset: -2px !important;
}
.tbs-modal .cropper-line{ background: rgba(0,0,0,.75) !important; }


/* 約款 */

/* ===== 約款（div/p専用：ol/dl/ul使わない） ===== */
.tbs-terms{
  /* スクロール(overflow/max-height)は既にある前提：ここでは触らない */
  font-size: 13px;
  line-height: 1.75;
  color: #222;
  letter-spacing: .02em;
}

.tbs-terms, .tbs-terms *{ box-sizing: border-box; }

.tbs-terms__title{
  font-weight: 400;
  font-size: 2.8rem;
	text-align: center;
}

.tbs-terms__chapter{
  font-weight: 700;
  margin: 2em 0 1em;
  font-size: 1.7rem;
}

.tbs-terms__article{
  font-weight: 400;
  margin: 10px 0 6px;
  font-size: 1.5rem;
  padding: 1.5em 0 0.5em;
}

.tbs-terms__p{
  margin: 6px 0;
}

/* 番号行：flex無しで2カラム整列（table） */
.tbs-terms__row{
  display: table;
  width: 100%;
  margin: 6px 0;
  
}

.tbs-terms__num,
.tbs-terms__txt{
  display: table-cell;
  vertical-align: top;
  font-size: 1.4rem;
  padding-top: 1em;
}

.tbs-terms__num{
  width: 3.2em;
  padding-right: .6em;
  text-align: right;
  white-space: nowrap;
}

.tbs-terms__row--sub{
  margin-left: 0;          /* 親のCSSに干渉されにくく */
  padding-left: 3.8em;     /* サブ項目の下げ */
}

.tbs-terms__num--sub{
  width: 3.8em;
}

.sep {
	border-bottom: 1px solid gray;
	padding: 2em 0;
}

p.end {
	text-align: right;
}

.tbs-terms-wrapper {
	margin-top: 70px;
}

.tbs-section-title {
	text-align: center;
    padding-bottom: 2.5em;
}

.tbs-confirm-section-title {
	background: none;
}

.tbs-confirm-label {
	font-size: 1.5rem;
}

.tbs-confirm-value {
	font-size: 1.5rem;
}

.tbs-confirm-row {
	border: none;
}

.tbs-confirm-label {
	border-radius: 0;
}



@media (max-width: 480px){

.tlbs-booking-form-wrapper h2.reserve_ttl {
	font-size: 2rem;
	padding-bottom: 1em;}
.main_cont .contact_area {
	padding: 7vw 0 7vw;
}

.hissu_tx {
	font-size: 1.3rem;
	margin-bottom: 3vw;
}

.contact_area.reserve dl>dt>p,
.contact_area.reserve dl>dd>p{
	margin-bottom: 0;
}
.contact_area.reserve dl .ls_00 {
	letter-spacing: 0.15em;
}
.tbs-inline-label {
	letter-spacing: 0.15em;
}
.tlbs-booking-form-wrapper .tbs-usage-wrap {
	display: block;
}
.tlbs-booking-form-wrapper .tbs-inline-label {
	font-size: 1.6rem;
	padding-bottom: 2px;
	display: block;
}

.contact_area.reserve dl>dt {
	padding-top: 5vw;
}
.contact_area.reserve dl>dd {
	min-height: auto;
	}

.tlbs-booking-form-wrapper h3.tbs-section-title {
	margin-bottom: 0.5em;
	padding-top: 2em;
}

.tlbs-booking-form-wrapper .tbs-license-upload-info ul {
	padding-top: 1em;
}
.tlbs-booking-form-wrapper .tbs-license-upload-info li {
	line-height: 1.2;
	color: #372a2a;
}
.tbs-back-help {
	line-height: 1.5;
}

.tlbs-booking-form-wrapper .tbs-section-note {
	display: block;
	padding: 0.7em 0 0 0;
	font-size: 1.3rem;
}
.tbs-date-unit select[name*="_year"] {
    min-width: auto;
    width: 10em;
    font-size: 1.4rem !important;
}
.tbs-date-selectors select {
	min-width: 3em;
}

br.pcbr {
	display: none;
}
.tbs-terms-wrapper {
	margin-top: 10vw;
}

.tbs-terms__title {
	font-size: 2rem;
}

.tbs-terms-scroll {
	padding:7vw 5vw 5vw;
}

.tbs-terms__chapter {
    margin: 1em 0 1em;
    font-size: 1.6rem;
}

.tbs-terms__article {
	padding-top: 0;
	margin-top: 0;
	font-size: 1.4rem;
}

.tbs-terms__num, .tbs-terms__txt {
    font-size: 1.3rem;
    padding: 0 0 1em;
}

.tbs-terms__p {
	font-size: 1.3rem;
	padding-bottom: 1em;
}

.pb0 {
	padding-bottom: 0;
}

.besshitx_01 {
	font-size: 1.3rem;
	display: block;
	font-weight: 600;
	padding-bottom: 0.5em;
}

.end {
	font-size: 1.3rem;
	margin-bottom: 0;
}
.tbs-terms-agree-text {
	font-size: 1.3rem;
	padding-bottom: 1.5em;
}

.tbs-terms__num {
	width: auto;
}

.tbs-terms__row--sub {
    padding-left: 2.5em;
}

.tbs-field-error {
	font-size: 1.3rem;
}
.bottom_btarea {
    text-align: center;
    width: 80%;
    max-width: 270px;
    margin: 5vw auto 0;
}

/* ----------------- 確認画面 -------------------- */

.tbs-confirm-section-body {
    padding: 0 0 0;
}

.tbs-confirm-label {
	font-size: 1.4rem;
}
.tbs-confirm-value {
    font-size: 1.5      rem;
    padding-top: 0.3em;
    padding-left: 0.2em;
    }

.tbs-confirm-row {
	border-bottom: 0;
}

h2.tbs-section-title {
	text-align: center;
    padding-bottom: 0.7em;
    
    
}

.tbs-confirm-section-title {
	background: none;
}


.tbs-confirm-license .tbs-confirm-section-body{
	padding: 5vw 0 10vw;
	
}

.tbs-complete-text {
	padding: 10vw 0 20vw;
}

.tbs-complete-actions {
    padding-bottom: 15vw;
}

/* ----------------- 送信中プログレス -------------------- */

.tlbs-progress-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tlbs-progress-box {
    width: min(420px, 92vw);
    background: #fff;
    border-radius: 12px;
    padding: 22px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    text-align: center;
}

.tlbs-progress-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.tlbs-progress-bar {
    height: 12px;
    background: rgba(0,0,0,0.12);
    border-radius: 999px;
    overflow: hidden;
}

.tlbs-progress-bar__inner {
    height: 100%;
    width: 0%;
    background: rgba(0,0,0,0.75);
    transition: width 120ms linear;
}

.tlbs-progress-percent {
    font-size: 14px;
    margin-top: 10px;
}

.tlbs-progress-note {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 6px;
}

