@charset "UTF-8";
/* CSS Document */

span.sps-required {
    background: #b10a0a;
}

#contact #center1 .centerbox .mainFrame .mainCont .bordlayoutp3 table.border.sps-enqueteTable tr:nth-child(2n) {
    margin: -1px 0 30px;
}
#contact #center1 .centerbox .mainFrame .mainCont .bordlayoutp3 table.border.sps-enqueteTable tr:last-child{
    margin-bottom: 0;
}
#contact #center1 .centerbox .mainFrame .mainCont .bordlayoutp3 table.border tbody tr td.form_group {min-width: 927px;border-collapse: collapse;box-sizing: border-box;}

#contact #center1 .centerbox .mainFrame .mainCont .bordlayoutp3 table.border.sps-enqueteTable tr {
    display: block;
}

.addr-row {
    display: flex;
    justify-content: flex-start;
    margin: 0 0 10px;
    align-items: center;
}

.addr-row label {
    width: 80px;
    text-align: right;
}

.addr-row input {
    width: 30%;
    margin: 0 0 0 15px;
    border: 1px solid #c9c9c9;
    padding: 8px;
    border-radius: 2px;
}

.addr-row input::placeholder {
  color: #BBB;
}

.addr-row input[id="zip"] {
    width: 150px;
}

.addr-row label:after {
    content: ' :';
}

.shop-info {
    line-height: 160%;
    background: #f2f2f2;
    font-size: 14px;
    padding: 20px;
    margin: 10px 0 0;
    border-radius: 5px;
}

.shop-info a {
    text-decoration: underline;
    font-size: 14px !important;
}

#contact #center1 .centerbox .mainFrame .mainCont .bordlayoutp3 td.backcolor2 input#deliveryDate, #contact #center1 .centerbox .mainFrame .mainCont .bordlayoutp3 td.backcolor2 input#q3Date {
    background: url(https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/icons/calendar.svg) no-repeat right 10px center;
    background-size: 16px;
    padding: 0px 10px;
    min-width: 206px;
    border-radius: 2px;
    /* cursor: pointer; */
}

.flatpickr span {
    display: none;
}

/*モーダルウィンドウ*/


/* ===============================
   モーダル表示制御（フェード）
=============================== */
#beforehandModal,
#beforehandModalSimple {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 9999;
}

#beforehandModal.active,
#beforehandModalSimple.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ===============================
   背景（黒＋ぼかし）
=============================== */
.modal-overlay {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

/* ===============================
   モーダル本体
=============================== */
.beforehand-box {
  background: #fff;
  width: 92%;
  max-width: 820px;
  height: 80%;
  margin: 5% auto;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: visible; /* ← はみ出しボタンのため重要 */
  position: relative;
  transform: translateY(30px) scale(0.98);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 25px 70px rgba(0,0,0,0.35);
}

/* 表示時 */
#beforehandModal.active .beforehand-box,
#beforehandModalSimple.active .beforehand-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ===============================
   ✨ 閉じるボタン（はみ出し丸）
=============================== */
.modal-close {
  position: absolute;
  top: -15px;       /* ← はみ出し */
  right: -15px;     /* ← はみ出し */
  width: 40px;
  height: 37px;
  padding: 0 0 3px;
  background: #b10a0a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: normal;
  color: #FFF;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: all 0.25s ease;
}

/* ホバー */
.modal-close:hover {
  /* transform: scale(1.15); */
  background: #b14848;
}

/* 押した時 */
.modal-close:active {
  transform: scale(0.95);
}

/* ===============================
   コンテンツ
=============================== */
.beforehand-content {
  flex: 1;
  overflow-y: auto;
  padding: 28px;
  line-height: 1.7;
  -webkit-overflow-scrolling: touch;
}

/* ===============================
   フッター
=============================== */
.beforehand-footer {
  padding: 18px;
  border-top: 1px solid #eee;
  text-align: center;
  background: #fafafa;
}

/* ===============================
   確認ボタン
=============================== */
.beforehand-confirm {
  padding: 15px 100px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  background: #9a9a9a;
  color: #fff;
  opacity: 0.5;
  cursor: not-allowed;
  transition: all 0.25s ease;
  letter-spacing: 0.08em;
}

.beforehand-confirm.active {
  background: #b10a0a;
  opacity: 1;
  cursor: pointer;
}

.beforehand-confirm.active:hover {
  background: #cc001f;
  transform: translateY(-1px);
}

/* ===============================
   ボタンリンク
=============================== */
.beforehand-btn {
  cursor: pointer;
  color: #b10a0a;
  border: solid 2px #b10a0a;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.2s ease;
  margin: 0 0 10px;
  padding: 3px 20px;
  width: max-content;
  letter-spacing: 0.10em;
  font-size: 13px;
  background-size: 12px;
}

.beforehand-btn img{
    vertical-align: baseline;
    width: 12px;
    margin: 0 0 0 6px;
}

.beforehand-btn:hover {
  opacity: 0.7;
}

/* ===============================
   背景スクロール固定
=============================== */
body.modal-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}




.beforehand-box .page.base{
    padding: 0 10px 20px;
}

.beforehand-box .page.base p{
    font-size: 14px;
    clear: both;
    padding: 10px 0 0 10px;
    line-height: 180%;
}

.beforehand-box .alignleft {
    float: none;
}

.beforehand-box .page.base p a {
    color: #b10a0a;
    text-decoration: underline;
}

.beforehand-box #beforehand strong {
    font-weight: bold;
    font-size: 15px;
}

.beforehand-box .page.base ul {
    margin: 5px 0 5px 25px;
}

.beforehand-box .page.base ul li {
    list-style-type: disc;
    font-size: 14px;
    line-height: 180%;
}

.beforehand-box #beforehand th,#beforehand td {
    font-size: 13px;
    padding: 5px 10px;
}

.beforehand-box #beforehand table {
    margin: 20px auto;
    width: 60%;
}

.beforehand-box .page h1.title {
    font-size: 16px;
    line-height: 160%;
    margin: 10px 0 10px;
    width: auto;
}
span.parentheses {
    font-size: 90%;
}

#contact #center1 .centerbox .mainFrame .mainCont .bordlayoutp3 td.backcolor2 input#q3Date[disabled] {
    opacity: 0.5;
    /* border: none; */
    background: url(https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/icons/calendar.svg) #d8d8d8 no-repeat right 10px center;
}

#contact .mainFrame .mainCont h4.SPS-regi-enq-List,
#contact #center1 .centerbox .mainFrame .mainCont h4.SPS-regi-confirm_enq{
    font-size: 0;
}

#contact .mainFrame .mainCont h4.SPS-regi-enq-List:before,
#contact #center1 .centerbox .mainFrame .mainCont h4.SPS-regi-confirm_enq:before{
    content: '保存するお花について';
    font-size: 18px;
    padding: 0;
    margin: 0;
    letter-spacing: 0.03em;
}

ul.enq_attention {
    padding: 0 0 0 5px;
}

ul.enq_attention li {
    margin: 0 0 8px;
    line-height: 150%;
    font-size: 14px;
}

#deliveryWrap {
    margin: 10px 0;
    padding: 0 0 0 5px;
}

#deliveryWrap .flatpickr {
    margin: 5px 0 0;
}

@media only screen and (max-width: 768px) {
    div#deliveryWrap {
    line-height: 160%;
    font-size: 12px;
}
.shop-info{
    font-size: 12px;
    padding: 15px;
}
.shop-info a{
    font-size: 12px !important;
}

.flatpickr {
    margin: 10px 0 0;
}

	
/* ===============================
   モーダル表示制御（フェード）
=============================== */
#beforehandModal,
#beforehandModalSimple {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 9999;
}

#beforehandModal.active,
#beforehandModalSimple.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ===============================
   背景
=============================== */
.modal-overlay {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(3px);
}

/* ===============================
   モーダル本体（スマホ最適）
=============================== */
.beforehand-box {
  background: #fff;
  width: 94%;
  height: 85%;
  margin: 7% auto;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: visible;
  position: relative;
  transform: translateY(40px) scale(0.96);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* 表示時 */
#beforehandModal.active .beforehand-box,
#beforehandModalSimple.active .beforehand-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ===============================
   閉じるボタン（スマホ用）
=============================== */
.modal-close {
  position: absolute;
  top: -10px;
  right: -8px;
  width: auto;
  height: auto;
  padding: 5px 10px;
  line-height: 100%;
  background: #b10a0a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #FFF;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  transition: all 0.2s ease;
}

/* タップ時 */
.modal-close:active {
  transform: scale(0.9);
}

/* ===============================
   コンテンツ（スマホ）
=============================== */
.beforehand-content {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  line-height: 1.8;
  font-size: 14px;
  -webkit-overflow-scrolling: touch;
}

/* ===============================
   フッター
=============================== */
.beforehand-footer {
  padding: 12px;
  border-top: 1px solid #eee;
  text-align: center;
  background: #fafafa;
}

/* ===============================
   確認ボタン（スマホ強化）
=============================== */
.beforehand-confirm {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  background: #9a9a9a;
  color: #fff;
  opacity: 0.5;
  cursor: not-allowed;
  transition: all 0.25s ease;
}

.beforehand-confirm.active {
  background: #b10a0a;
  opacity: 1;
  cursor: pointer;
}

/* ===============================
   ボタンリンク
=============================== */
.beforehand-btn {
  display: block;
  cursor: pointer;
  color: #b10a0a;
  border: solid 2px #b10a0a;
  border-radius: 999px;
  font-weight: bold;
  margin: 0 0 10px;
  padding: 5px 14px;
  font-size: 12px;
  letter-spacing: 0.03em;
}

/* ===============================
   背景固定
=============================== */
body.modal-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

/* ===============================
   コンテンツ内（スマホ調整）
=============================== */
.beforehand-box .page.base {
  padding: 0 5px 15px;
}

.beforehand-box .page.base p {
  font-size: 13px;
  padding: 8px 0;
  line-height: 180%;
  margin: 10px 0 10px;
}

.beforehand-box .page.base ul {
  margin: 5px 0 5px 20px;
}

.beforehand-box .page.base ul li {
  font-size: 13px;
  line-height: 180%;
}

.beforehand-box .page h1.title {
  font-size: 14px;
  margin: 20px 0 5px;
  padding: 0 0 5px;
}
    .beforehand-box .page h1.title:first-child{
    margin: 10px 0 20px;
}
	.beforehand-box #beforehand strong{
    font-size: 13px;
    display: block;
    margin: 10px 0 0;
}

/* ===============================
   テーブル（スマホ対応）
=============================== */
.beforehand-box #beforehand table {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
}

.beforehand-box #beforehand th,
.beforehand-box #beforehand td {
  padding: 6px;
}

.page h1.title {
    width: 100%;
    margin-left: -10px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
    border-bottom: solid 1px #dcb7b7
}

#beforehand strong {
    color: #8c0f0f
}

#beforehand table {
    margin: 10px auto
}

#beforehand th,#beforehand td {
    padding: 2px 10px;
    border: solid 1px #dfdfdf
}

#beforehand th {
    text-align: center;
    white-space: nowrap
}

span.notice {
    color: #ba6f6f
}
.beforehand-btn img{
    margin: 0 0 0 5px;
    width: 12px;
    position: relative;
    top: 1px;
}

ul.enq_attention {
    padding: 0;
    margin: 0 0 10px;
}

ul.enq_attention li {
    margin: 0 0 5px;
    font-size: 11px;
    line-height: 160%;
}
	
.enq-error input,
.enq-error textarea,
.enq-error select{
  border: 2px solid #ff3b30 !important;
  background: #fff5f5;
}

.enq-error label{
  color:#ff3b30;
}

#sps-smp-cart .formbox:has(input[class*="enq"]) .form_t label {
    font-size: 13px;
    margin: 2px 0;
}
	
.flatpickr-input.flatpickr-mobile::-webkit-date-and-time-value {
    text-align: left !important;
}

}