@charset "UTF-8";

/* --- ベース設定 --- */
:root {
  --font-jp: 'Zen Kaku Gothic New', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  --font-en: 'Jost', 'Zen Kaku Gothic New', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;

  /* カラーパレット */
  --bg-color: #faf9f7; 
  --text-main: #33322e; 
  --text-light: #7a7770;
  --border-color: #e2dfd8;
  --accent-color: #0092b4; 
  --active-bg: #f2f9fb;   
  --white: #ffffff;
}

body { 
  font-family: var(--font-en); 
  padding: 60px 20px; 
  background-color: var(--bg-color); 
  color: var(--text-main); 
  margin: 0;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* メインコンテナ */
.calculator { 
  max-width: 640px; 
  margin: auto; 
  background: var(--white); 
  padding: 48px 40px; 
  border-radius: 4px; 
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); 
}

h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
  color: var(--text-main);
}

.section-title { 
  font-size: 1rem; 
  font-weight: 700; 
  color: var(--text-main); 
  margin-bottom: 12px; 
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.btn-group { 
  display: flex; 
  gap: 8px; 
  margin-bottom: 32px; 
  flex-wrap: wrap; 
}

/* 選択ボタン */
.select-btn { 
  flex: 1; 
  min-width: calc(25% - 8px); 
  padding: 12px; 
  border: 1px solid var(--border-color); 
  background: var(--white); 
  cursor: pointer; 
  border-radius: 2px; 
  font-size: 0.95rem;
  font-family: var(--font-en);
  font-weight: 500;
  color: var(--text-light); 
  transition: all 0.3s ease; 
  text-align: center; 
}
.select-btn:hover { 
  background: var(--active-bg); 
  color: var(--text-main);
  border-color: #b3dfea; 
}
.select-btn.active { 
  background: var(--accent-color); 
  color: var(--white); 
  border-color: var(--accent-color); 
}

/* プルダウンのスタイル */
.select-dropdown {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  font-size: 0.95rem;
  font-family: var(--font-en);
  font-weight: 500;
  color: var(--text-main);
  background-color: var(--white);
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 32px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%237a7770'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}
.select-dropdown:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(0, 146, 180, 0.1); 
}

/* 部数コントロール */
.qty-control { 
  display: inline-flex; 
  align-items: center; 
  border: 1px solid var(--border-color); 
  border-radius: 2px; 
  margin-bottom: 32px; 
  background: var(--white);
  transition: border-color 0.3s;
}
.qty-control:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(0, 146, 180, 0.1);
}
.qty-btn { 
  width: 48px; 
  height: 48px; 
  border: none; 
  background: transparent; 
  cursor: pointer; 
  font-size: 18px; 
  color: var(--text-light); 
  transition: all 0.2s; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}
.qty-btn:hover { 
  background: var(--active-bg); 
  color: var(--accent-color); 
}
#qty-val { 
  font-size: 1.1rem; 
  font-weight: 600;
  width: 100px; 
  text-align: center; 
  color: var(--text-main); 
}

/* 無効化（グレーアウト）時 */
.print-options-wrapper {
  transition: opacity 0.4s ease;
}
.disabled-section {
  opacity: 0.3;
  pointer-events: none;
  user-select: none;
}

/* 金額表示エリア */
.price-display-wrapper {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}
.price-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.price-display { 
  font-family: var(--font-en);
  font-size: 3.2rem; 
  font-weight: 600;
  color: var(--text-main); 
  margin: 0; 
  line-height: 1;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  justify-content: center;
}
.price-suffix {
  font-family: var(--font-jp);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-main);
  margin-left: 4px;
}

/* 割引オプション（オレンジ系） */
.discount-option {
  display: inline-flex;
  align-items: flex-start; 
  justify-content: flex-start;
  background-color: #fff8eb; 
  padding: 16px 20px;
  margin-top: 16px; /* 価格との間隔 */
  border-radius: 4px;
  border: 1px solid #f5c277; 
  cursor: pointer;
  font-family: var(--font-jp);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all 0.2s ease;
  text-align: left;
  width: 100%; 
  box-sizing: border-box;
}
.discount-option:hover {
  background-color: #ffeed4; 
}
/* 2つ目以降の割引オプションのマージンを狭くする */
.discount-option + .discount-option {
  margin-top: 6px; 
}

.discount-option input[type="checkbox"] {
  margin-right: 12px;
  margin-top: 4px; 
  width: 18px;
  height: 18px;
  accent-color: #e65c00; 
  cursor: pointer;
  flex-shrink: 0;
}
.discount-text-wrapper {
    line-height: 1.5; 
    font-weight: 500;
}

/* 注記のスタイル（リスト形式） */
.price-note-box {
  margin-top: 24px;
  text-align: left;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 4px;
  border: 1px solid #eaeaea;
}
.price-note-title {
  font-family: var(--font-jp);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}
.price-note-list {
  margin: 0;
  padding-left: 20px;
  font-family: var(--font-jp);
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
}
.price-note-list li {
  margin-bottom: 4px;
}
.price-note-footer {
   font-family: var(--font-jp);
   font-size: 0.8rem;
   color: var(--text-main);
   margin-top: 12px;
   font-weight: 500;
}

/* CTAセクションのスタイル */
.cta-wrapper {
  margin-top: 48px;
  padding: 32px 24px;
  background-color: var(--active-bg);
  border-radius: 8px;
  text-align: center;
  border: 1px solid #b3dfea;
}
.cta-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}
.cta-text {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  transition: all 0.3s ease;
  min-width: 200px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.cta-line {
  background-color: #06C755;
}
.cta-line:hover {
  background-color: #05b34c;
}
.cta-insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.cta-insta:hover {
  opacity: 0.9;
}

/* スマホ対応 */
@media (max-width: 480px) {
  .calculator { padding: 32px 20px; }
  .select-btn { min-width: calc(50% - 4px); }
  .price-display { font-size: 2.8rem; }
  .price-suffix { font-size: 1.4rem; }
  .discount-option { font-size: 0.85rem; padding: 12px 16px; align-items: flex-start;}
  .discount-option input[type="checkbox"] { margin-top: 2px;} 
  .discount-option + .discount-option { margin-top: 6px; }
  .cta-buttons { flex-direction: column; }
  .cta-btn { width: 100%; min-width: auto; box-sizing: border-box; }
}
