@charset "UTF-8";

/* --- 全体基本設定 --- */
body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  background-image: url('ハート_02-03[3000x3000].png');
  background-repeat: repeat;
  background-size: 300px auto;
  background-attachment: fixed;
  background-color: #f7f3f5;
  color: #444;
  line-height: 1.6;
  margin: 0;
  padding: 20px 10px 80px 10px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* 🖱️ カーソル設定 */
a, button, input[type="radio"], input[type="checkbox"], select, label, .media-container {
  cursor: url('my-cursor.ani'), pointer !important;
}

/* 🛡️ 画像・動画の物理保護構造 */
.media-container, .gif-side {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  display: block;
}

.protected-media {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.media-shield {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 10;
}

/* --- 🌸 サイドGIF配置ブロックレイアウト --- */
.section-with-gif {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: relative;
}

.section-with-gif .card-section {
  flex: 1;
  max-width: 680px;
}

.gif-side {
  width: 90px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 820px) {
  .gif-side {
    display: none;
  }
}

/* --- 📦 各機能ごとの独立したカード枠 --- */
.header-card, .card-section {
  background: #ffffff;
  padding: 25px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(220, 120, 140, 0.08);
  border: 1px solid #ffedf0;
  box-sizing: border-box;
}

.header-card {
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #fff5f7 100%);
}
h1 {
  font-size: 1.4rem;
  color: #d64550;
  margin: 0 0 5px 0;
}
.subtitle {
  font-size: 0.85rem;
  color: #888;
  margin: 0 0 15px 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px dashed #ffb6c1;
  padding-bottom: 8px;
  margin-bottom: 18px;
}
.section-title span {
  font-size: 1.2rem;
}
.section-title h2 {
  font-size: 1.1rem;
  color: #333;
  margin: 0;
}

h3 {
  font-size: 0.95rem;
  color: #d64550;
  margin: 15px 0 10px 0;
}

/* --- 🎨 作例・ポートフォリオ --- */
.portfolio-nav {
  background: #fff0f3;
  padding: 12px 16px;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}
.portfolio-nav p {
  margin: 0;
  font-weight: bold;
  font-size: 0.85rem;
  color: #d64550;
}
.nav-buttons {
  display: flex;
  gap: 8px;
}
.btn-link {
  display: inline-block;
  padding: 6px 12px;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: bold;
  transition: all 0.2s;
}
.btn-link.litlink { background-color: #2bca81; }
.btn-link.portfolio { background-color: #7d5fff; }
.btn-link.twitter { background-color: #1da1f2; }
.btn-link:hover { opacity: 0.85; transform: translateY(-2px); }

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.media-wrapper {
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #ffe5eb;
  display: flex;
  flex-direction: column;
}
.media-wrapper .media-container {
  flex: 1;
}
.media-label {
  font-weight: bold;
  padding: 6px 0;
  font-size: 0.8rem;
  color: #666;
  text-align: center;
  background: #fff;
  border-top: 1px solid #ffe5eb;
}

@media (max-width: 480px) {
  .media-grid {
    gap: 8px;
  }
  .media-label {
    font-size: 0.75rem;
    padding: 4px 0;
  }
}

/* --- 🎁 特典＆ご注意事項カードのデザイン --- */
.info-box {
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.info-box:last-child {
  margin-bottom: 0;
}
.info-box h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.info-box p {
  font-size: 0.88rem;
  margin: 0 0 8px 0;
}
.info-box ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.6;
}
.info-box li {
  margin-bottom: 8px;
}
.info-box li:last-child {
  margin-bottom: 0;
}

/* ご利用特典 */
.benefit-box {
  background-color: #fff9fa;
  border: 1.5px dashed #ffb6c1;
}
.benefit-box h3 {
  color: #d64550;
}

/* お持ち込み素材 */
.material-box {
  background-color: #f7f9ff;
  border: 1.5px solid #d0e1ff;
}
.material-box h3 {
  color: #3b71ca;
}

/* 修正・注意事項 */
.caution-box {
  background-color: #fffaf0;
  border: 1.5px solid #ffe0b2;
}
.caution-box h3 {
  color: #e67e22;
}

.sub-note {
  font-size: 0.78rem;
  color: #777;
  display: block;
  margin-top: 2px;
}

/* --- 📋 お取引の流れ --- */
.flow-box {
  background: #ffffff;
  border: 1.5px solid #ffe1e8;
  border-radius: 10px;
  padding: 14px 16px;
}
.flow-box ol {
  margin: 0 0 10px 0;
  padding-left: 20px;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.6;
}
.flow-note {
  font-size: 0.78rem;
  color: #e74c3c;
  background: #fff5f7;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px dashed #ffb6c1;
  margin-top: 8px;
}

/* --- 📝 フォーム入力フィールド関連 --- */
.form-group {
  margin-bottom: 22px;
}

.input-row {
  margin-bottom: 12px;
}
.input-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: bold;
  color: #555;
  margin-bottom: 4px;
}

.text-input, .select-box {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid #ffd8e1;
  font-size: 0.9rem;
  background-color: #fff;
  box-sizing: border-box;
  transition: all 0.2s;
}
.text-input:focus, .select-box:focus {
  outline: none;
  border-color: #ff6b81;
  box-shadow: 0 0 5px rgba(255, 107, 129, 0.2);
}

.inline-radios {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  align-items: center;
  padding: 4px 0;
}
.inline-radios label {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
}
.inline-radios input[type="radio"] {
  accent-color: #e74c3c;
  transform: scale(1.1);
}

.dynamic-detail-section {
  background: #faf7f8;
  border: 1.5px dashed #ffd1dc;
  border-radius: 12px;
  padding: 16px;
}
.set-detail-subbox .subbox-title {
  font-weight: bold;
  color: #d64550;
  font-size: 0.9rem;
  margin: 0 0 10px 0;
  border-bottom: 1px dashed #ffa8b6;
  padding-bottom: 4px;
}

.radio-group, .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  background-color: #fffafb;
  border: 1.5px solid #ffd8e1;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.checkbox-group label:hover {
  background-color: #fff0f3;
  border-color: #ff9ebb;
}
.checkbox-group input {
  margin-right: 10px;
  transform: scale(1.1);
  accent-color: #e74c3c;
}

.select-group, .number-group {
  margin-top: 12px;
  background: #fffafb;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid #ffd8e1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
}
select, input[type="number"] {
  padding: 5px 8px;
  border-radius: 6px;
  border: 1px solid #ffb6c1;
  font-size: 0.88rem;
  background-color: #fff;
}

.note {
  font-size: 0.8rem;
  color: #888;
  margin-top: 6px;
}
.text-center {
  text-align: center;
}

/* 💰 お見積もり結果表示 */
.result-box {
  margin-top: 25px;
  padding: 18px;
  background: #fff0f3;
  border: 2px solid #ff6b81;
  border-radius: 12px;
  text-align: center;
}
.price-tax-excluded {
  font-size: 0.95rem;
  color: #666;
}
.price-tax-included {
  font-size: 1.5rem;
  font-weight: bold;
  color: #d64550;
}

.send-btn-wrapper {
  text-align: center;
  margin-top: 20px;
}
.send-btn {
  padding: 14px 28px;
  background-color: #ff6b81;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(255, 107, 129, 0.3);
  transition: all 0.2s;
}
.send-btn:hover {
  background-color: #ee5253;
  transform: translateY(-2px);
}

/* 🔍 拡大表示モーダル */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  backdrop-filter: blur(4px);
}
.modal-content-wrapper {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-media-wrapper {
  position: relative;
  display: inline-block;
}
.modal-media-wrapper img, .modal-media-wrapper video {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  pointer-events: none;
}
.modal-close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  color: #ffffff;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

/* --- 💖 メインセット＆カードデザイン 💖 --- */
.common-deliverables-box {
  background: #fff0f3;
  border: 2px solid #ffb6c1;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 15px;
}

.deliverables-header {
  font-weight: bold;
  color: #d64550;
  font-size: 0.92rem;
  margin-bottom: 8px;
  border-bottom: 1px dashed #ffa8b6;
  padding-bottom: 4px;
}

.deliverables-list {
  margin: 0;
  padding-left: 20px;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.6;
}

.deliverables-subtext {
  font-size: 0.75rem;
  color: #888;
  margin-top: 8px;
}

.card-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-radio-group label.set-card {
  display: flex;
  align-items: flex-start;
  background-color: #ffffff;
  border: 2px solid #ffe1e8;
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(255, 182, 193, 0.15);
}

.card-radio-group label.set-card:hover {
  background-color: #fff9fa;
  border-color: #ff8fa3;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 143, 163, 0.25);
}

.card-radio-group label.set-card:has(input:checked) {
  background-color: #fff5f7;
  border-color: #ff5277;
  box-shadow: 0 4px 12px rgba(255, 82, 119, 0.2);
}

.card-radio-group input[type="radio"] {
  margin-top: 3px;
  margin-right: 12px;
  flex-shrink: 0;
  accent-color: #e74c3c;
  transform: scale(1.1);
}

.set-card-content {
  flex: 1;
}

.set-title-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.set-title {
  font-weight: 800;
  font-size: 0.98rem;
  color: #222;
}

.set-price {
  font-weight: bold;
  font-size: 1rem;
  color: #d64550;
  white-space: nowrap;
}

.set-desc {
  font-size: 0.83rem;
  color: #666;
  line-height: 1.4;
}

.set-note {
  font-size: 0.78rem;
  color: #e74c3c;
  font-weight: bold;
  margin-top: 5px;
}

/* 💡 計算例ボックス */
.example-box {
  background-color: #faf7f8;
  border: 1.5px dashed #ffd1dc;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.85rem;
  color: #444;
}

.example-title {
  font-weight: bold;
  color: #d64550;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.example-box p {
  margin: 0 0 6px 0;
}

.example-box ul {
  margin: 0 0 8px 0;
  padding-left: 20px;
}

.example-total {
  font-weight: bold;
  font-size: 0.95rem;
  color: #d64550;
  background: #fff;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #ffccd5;
  margin-bottom: 8px;
}

.example-deliverables {
  font-size: 0.82rem;
  color: #555;
  background: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ffe5eb;
}

@media (max-width: 480px) {
  .set-title-price {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .set-title {
    font-size: 0.9rem;
  }
  .set-price {
    font-size: 0.95rem;
  }
}
