@charset "UTF-8"; #mfp-custom-quotation {
    font-family: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
    color: #333;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 2%;
}

/* --- タイトル装飾 --- */
#mfp-custom-quotation .q-intro {
    text-align: center;
    margin-bottom: 40px;
}

#mfp-custom-quotation .group-ttl {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #5d4037;
    position: relative;
    padding-bottom: 15px;
}

#mfp-custom-quotation .group-ttl::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #dca878;
    border-radius: 2px;
}

#mfp-custom-quotation .q-req {
    color: #e53935;
    margin-left: 5px;
    font-weight: bold;
    font-size: 16px;
}

/* --- セクション（カード風） --- */
#mfp-custom-quotation .q-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

#mfp-custom-quotation .q-ttl {
    font-size: 20px;
    border-bottom: 2px dashed #dca878;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: center;
    /* padding: 10px 0; */
}
.must{
    display: inline-block;
    position: relative;
    float: none;
    box-shadow: none;
    border: none;
    bottom: 3px;
}
#mfp-custom-quotation .q-lead {
    margin-bottom: 15px;
    font-weight: bold;
}

/* --- ラジオボタン共通 --- */
#mfp-custom-quotation .q-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#mfp-custom-quotation .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

#mfp-custom-quotation .grid-1 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ▼ 修正：汎用的な label ではなく、特定のグループ内の label だけを装飾 ▼ */
#mfp-custom-quotation .q-radio-group label, #mfp-custom-quotation .q-radio-inline label {
    display: block;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
    background: #fff;
    margin: 0;
}

#mfp-custom-quotation .q-radio-group label:hover, #mfp-custom-quotation .q-radio-inline label:hover {
    background: #fafafa;
}

#mfp-custom-quotation .q-radio-group label:has(input[type="radio"]:checked), #mfp-custom-quotation .q-radio-inline label:has(input[type="radio"]:checked) {
    background: #fdf8f2;
    border-color: #dca878;
    font-weight: bold;
}

#mfp-custom-quotation input[type="radio"], #mfp-custom-quotation input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
    bottom: 3px;
    position: relative;
}

/* --- アイテム・画像・テキストレイアウト --- */
#mfp-custom-quotation .display-box {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

#mfp-custom-quotation .display-box .item {
    flex: 1;
    background: #fcfcfc;
    padding: 20px;
    border-radius: 6px;
}

/* アイテム内見出し（中央寄せ・余白） */
#mfp-custom-quotation .item-ttl {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #5d4037;
    margin-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

/* 画像との間の余白 */
#mfp-custom-quotation .item > p:not(.item-ttl) {
    margin-bottom: 20px;
}

#mfp-custom-quotation .modal-img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
}

/* お仏壇（はみ出し修正） */
#mfp-custom-quotation .display3 .item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#mfp-custom-quotation .col-wrap img {
    margin-top: 15px;
}

#mfp-custom-quotation .small-note {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    text-align: center;
}

/* 体長などのフレックスボックス */
#mfp-custom-quotation .flex-box-q {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

#mfp-custom-quotation .flex-box-q .box-img {
    width: 40%;
    text-align: center;
}

#mfp-custom-quotation .flex-box-q .box-img img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* --- 合計バナー（色味復元・選択内容追加） --- */
#mfp-custom-quotation .q-customer-area {
    margin-top: 40px;
}

#mfp-custom-quotation .q-total-banner {
    color: #dca878;
    font-weight: bold;
    background: #FFF;
    text-align: center;
    padding: 20px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.3);
    border: 10px solid #dca878;
}

#mfp-custom-quotation .q-total-label {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: bold;
}

#mfp-custom-quotation .q-total-price {
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
    margin: 0 0 20px 0;
}

#mfp-custom-quotation .q-total-price small {
    font-size: 24px;
    margin-left: 5px;
}

/* 選択内容明記エリア */
#mfp-custom-quotation .q-selection-breakdown {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 15px;
    line-height: 1.8;
    text-align: left;
    display: inline-block;
    min-width: 60%;
}

#mfp-custom-quotation .q-selection-breakdown p {
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding: 5px 0;
}

#mfp-custom-quotation .q-selection-breakdown p:last-child {
    border-bottom: none;
}

/* --- おねがい（色味復元） --- */
#mfp-custom-quotation .q-notice-box {
    background: #ffdcdc;
    border: none;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

#mfp-custom-quotation .q-notice-box h3 {
    color: #000000;
    margin-bottom: 15px;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

#mfp-custom-quotation .q-notice-box p {
    font-size:15px;
    text-align:center;
}

#mfp-custom-quotation .q-notice-box p strong {
    font-weight: bold;
    font-size: 20px;
    color: #f30000;
}

/* --- 顧客情報フォーム --- */
#mfp-custom-quotation .q-form-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 40px 30px;
    border-radius: 8px;
}

#mfp-custom-quotation .q-form-row {
    margin-bottom: 30px;
}

#mfp-custom-quotation .q-form-row > label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 18px;
}

#mfp-custom-quotation .sub-label {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

#mfp-custom-quotation input[type="text"], #mfp-custom-quotation input[type="tel"], #mfp-custom-quotation textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    /* background: #fafafa; */
    /* background: #FFF; */
    transition: 0.3s;
}

#mfp-custom-quotation input:focus, #mfp-custom-quotation textarea:focus {
    border-color: #dca878;
    outline: none;
    background: #fff;
}

#mfp-custom-quotation textarea {
    min-height: 150px;
    resize: vertical;
    width: 100% !important;
}

/* ペット情報エリア */
#mfp-custom-quotation .pet-group-box {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border: 1px dashed #ccc;
}

#mfp-custom-quotation .q-radio-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

#mfp-custom-quotation .q-radio-inline label {
    border: none;
    background: none;
    padding: 0;
}

#mfp-custom-quotation .q-hint {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

/* プライバシーポリシー */
#mfp-custom-quotation .q-privacy-box {
    text-align: center;
    margin: 40px 0 40px;
}

#mfp-custom-quotation .q-privacy-label {
    display: inline-block;
    background: #f5f5f5;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    border: none;
}

#mfp-custom-quotation .q-privacy-link {
    color: #dca878;
    text-decoration: underline;
    font-weight: bold;
}

/* 送信ボタン（text-shadowオフ） */
#mfp-custom-quotation .q-submit-btn {
    width: 100%;
    background: #444;
    color: #fff;
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    text-shadow: none !important;
    -webkit-appearance: none;
}

#mfp-custom-quotation .q-submit-btn:hover {
    background: #222;
}
/* PC用：横並びレイアウト */
#mfp-custom-quotation .contact-methods-wrapper {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}
#mfp-custom-quotation .contact-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 0; /* q-sectionの余白をリセット */
}

/* コンテンツの中央寄せ */
#mfp-custom-quotation .center-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

/* アイコン装飾 */
#mfp-custom-quotation .icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
}
#mfp-custom-quotation .tel-icon { background-color: #5d4037; } /* ミルルのテーマカラー */
#mfp-custom-quotation .line-icon { background-color: #06C755; } /* LINE公式グリーン */

/* 電話番号リンク */
#mfp-custom-quotation .contact-tel-link {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  font-family: "Inter", sans-serif; /* 数字が綺麗に見えるフォント */
  line-height: 1;
  margin-bottom: 10px;
  transition: color 0.3s;
}
#mfp-custom-quotation .contact-tel-link:hover { color: #dca878; }
#mfp-custom-quotation .contact-hours {
  font-size: 16px;
  font-weight: bold;
  color: #555;
  margin-bottom: 25px;
}

/* 電話の注意書きボックス */
#mfp-custom-quotation .contact-notice {
  background-color: #fdf3e6;
  border: 1px solid #f5e0c3;
  padding: 15px;
  border-radius: 8px;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
}
#mfp-custom-quotation .contact-notice strong {
  color: #c97a34;
  font-size: 16px;
}

/* LINEの説明文 */
#mfp-custom-quotation .contact-line-desc {
  font-size: 15px;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* LINEボタン */
#mfp-custom-quotation .contact-line-btn {
  display: inline-block;
  background-color: #06C755;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 50px;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(6, 199, 85, 0.3);
}
#mfp-custom-quotation .contact-line-btn:hover {
  background-color: #05b34c;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(6, 199, 85, 0.4);
}
/* =========================================
   Thanksページ（送信完了）スタイル
========================================= */
.milulu-thanks-section {
  max-width: 800px;
  margin: 60px auto 0px;
  padding: 0 20px 40px;
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  color: #333;
}

/* ヘッダー部分（お礼） */
.thanks-header {
  text-align: center;
  margin-bottom: 40px;
}
.thanks-ttl {
  font-size: 28px;
  color: #5d4037; /* ミルルブラウン */
  margin-bottom: 20px;
  font-weight: bold;
}
.thanks-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

/* お願いボックス（目立たせる） */
.thanks-notice-box {
  background-color: #fdf3e6; /* 優しいクリーム色 */
  border: 2px solid #dca878; /* アクセントカラーの枠線 */
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  margin-bottom: 40px;
}
.notice-ttl {
  color: #c97a34;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.notice-desc {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #5d4037;
}
.notice-desc strong {
  background: linear-gradient(transparent 60%, #ffe4c4 60%); /* マーカー風の装飾 */
}
.notice-sub {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
}

/* 電話ボタンエリア */
.thanks-tel-wrap {
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.tel-hours {
  font-weight: bold;
  color: #555;
  margin-bottom: 10px;
}
.thanks-tel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #5d4037;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  padding: 15px 40px;
  border-radius: 50px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}
.thanks-tel-btn:hover {
  background-color: #4a332c;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(93, 64, 55, 0.3);
}
.tel-note {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}
.tel-note strong {
  color: #c97a34;
}

/* フッター（戻るボタン） */
.thanks-footer {
  text-align: center;
}
.btn-back-home {
  display: inline-block;
  color: #5d4037;
  text-decoration: none;
  border: 1px solid #5d4037;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 15px;
  transition: all 0.3s;
}
.btn-back-home:hover {
  background-color: #5d4037;
  color: #fff;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
    #mfp-custom-quotation .display-box, #mfp-custom-quotation .flex-box-q {
        flex-direction: column;
    }

    #mfp-custom-quotation .flex-box-q .box-img {
        width: 100%;
        margin-bottom: 15px;
    }

    #mfp-custom-quotation .grid-2 {
        grid-template-columns: 1fr;
    }

    #mfp-custom-quotation .q-form-box {
        padding: 20px 15px;
    }

    #mfp-custom-quotation .q-selection-breakdown {
        width: 100%;
        min-width: auto;
    }
    
#mfp-custom-quotation .q-privacy-label {
    font-size: 12px;
}
  #mfp-custom-quotation .contact-methods-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  #mfp-custom-quotation .pc-only {
    display: none;
  }
  #mfp-custom-quotation .contact-tel-link {
    font-size: 32px;
  }
  .pc-only { display: none; }
  .thanks-ttl { font-size: 24px; }
  .thanks-notice-box { padding: 30px 20px; }
  .notice-ttl { font-size: 20px; }
  .notice-desc { font-size: 16px; }
  .thanks-tel-btn { font-size: 26px; padding: 15px 20px; }
}