@charset "UTF-8";

:root {
  --primary: #c8161d;
  --primary-hover: #9e0e14;
  --secondary: #1a202c;
  --accent: #d97706;
  --bg-light: #f8fafc;
  --border-color: #e2e8f0;
  --text-main: #2d3748;
  --text-muted: #718096;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: var(--text-main);
  background-color: #fff;
  padding-bottom: 90px;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .section-title {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

/* ロゴ＋社名表示エリア */
.company-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.company-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.company-name {
  font-size: 0.95rem;
  font-weight: bold;
  color: var(--text-muted);
}

.logo {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--secondary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  padding: 40px 0 45px;
  text-align: center;
  border-bottom: 1px solid #fee2e2;
}

.hero-badge-container {
  margin-bottom: 15px;
}

.hero-badge-sub {
  display: inline-block;
  background: #fff0f0;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
}

.hero h1 {
  font-size: 2.2rem;
  color: var(--secondary);
  line-height: 1.35;
  margin-bottom: 15px;
}

.sub-vs {
  font-size: 1.05rem;
  color: #718096;
  display: block;
  margin: 6px 0;
  font-weight: normal;
}

.hero p.lead-desc {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 25px;
  font-weight: 500;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.trust-badge-item {
  background: #fff;
  border: 1px solid #cbd5e1;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 手動スライドギャラリー */
.slider-container {
  width: 100%;
  max-width: 950px;
  margin: 0 auto 25px;
  position: relative;
}

.main-image-view {
  width: 100%;
  height: 500px;
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.main-image-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;   
  display: block;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
}

.slider-arrow:hover { 
  background: rgba(0,0,0,0.8);
  transform: translateY(-50%) scale(1.05);
}

.arrow-left { left: 12px; }
.arrow-right { right: 12px; }

.thumbnail-list {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.thumb-item {
  width: 110px;
  height: 75px;
  background: #f1f5f9;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 2px;
  overflow: hidden;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.thumb-item.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(200, 22, 29, 0.3);
  background: #fff;
}

/* CTA Area */
.cta-container {
  background: #fff;
  border: 2px solid var(--primary);
  padding: 25px;
  border-radius: 12px;
  max-width: 700px;
  margin: 25px auto 0;
  box-shadow: 0 4px 20px rgba(200, 22, 29, 0.15);
}

.deadline-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: bold;
  padding: 3px 12px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.cta-button {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 10px auto 0;
  background: var(--primary);
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 16px 20px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(200, 22, 29, 0.35);
  transition: background 0.2s, transform 0.1s;
  text-align: center;
}

.cta-button:hover { background: var(--primary-hover); transform: translateY(-2px); }

.cta-button-small {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: bold;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.cta-button-small:hover { background: var(--primary-hover); }

.cta-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
}

section { padding: 50px 0; }

.section-title {
  text-align: center;
  font-size: 1.8rem;
  color: var(--secondary);
  margin-bottom: 30px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--primary);
  margin: 12px auto 0;
}

.pain-bg { background: var(--bg-light); }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.pain-card { border-left: 4px solid #e53e3e; }
.pain-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: #c53030; }

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.compare-table th, .compare-table td {
  padding: 14px 12px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  font-size: 0.9rem;
  word-break: normal;
  overflow-wrap: break-word;
}

.compare-table th:last-child, .compare-table td:last-child {
  border-right: none;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table th {
  background: #f1f5f9;
  color: var(--secondary);
  text-align: center;
  font-weight: bold;
}

.compare-table td.highlight {
  background: #fef2f2;
  font-weight: bold;
  color: var(--primary);
}

.mark-good, .mark-normal, .mark-warn, .mark-bad {
  font-weight: bold;
  font-size: 1.05rem;
  margin-right: 4px;
  display: inline-block;
  color: inherit;
}

.feature-card {
  border-top: 4px solid var(--primary);
  position: relative;
}

.feature-point-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 10px;
  border-radius: 10px;
}

.feature-number { color: var(--primary); font-weight: bold; font-size: 1.1rem; margin-bottom: 5px; }

.video-section-wrapper {
  margin-top: 40px;
  padding: 30px 15px;
  background: #f1f5f9;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #cbd5e1;
}

.video-header { margin-bottom: 20px; }

.video-badge {
  background: var(--secondary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 8px;
}

.video-header h3 { font-size: 1.4rem; color: var(--secondary); }

.video-box {
  width: 100%;
  max-width: 760px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.price-table th, .price-table td {
  padding: 18px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.price-table th { background: var(--secondary); color: #fff; }

.price-table tr.popular-row {
  background-color: #fffdfd;
  position: relative;
}

.discount-tag {
  display: inline-block;
  background: #fee2e2;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
  border: 1px solid #fca5a5;
}

.old-price {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 0.85rem;
  margin-right: 6px;
}

.price-highlight {
  font-size: 1.35rem;
  font-weight: bold;
  color: var(--primary);
}

.price-tax {
  font-size: 0.75rem;
  font-weight: normal;
  color: var(--text-muted);
}

.recommend-badge {
  display: inline-block;
  background: #d97706;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 6px;
}

.voice-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.voice-tag {
  font-size: 0.8rem;
  background: var(--secondary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}

.flow-grid {
  display: flex;
  gap: 15px;
  position: relative;
}

.flow-step-card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px 15px;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.flow-step-card::after {
  content: '▶';
  position: absolute;
  top: 50%;
  right: -13px;
  transform: translateY(-50%);
  color: #cbd5e1;
  font-size: 0.9rem;
  z-index: 2;
}

.flow-step-card:last-child::after { display: none; }

.flow-icon-circle {
  width: 48px;
  height: 48px;
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 10px;
}

.flow-step-num {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: bold;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.flow-step-title {
  font-size: 1rem;
  font-weight: bold;
  color: var(--secondary);
  margin-bottom: 6px;
}

.flow-step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-q {
  font-weight: bold;
  color: var(--secondary);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-q-text {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
}

.faq-q-text::before {
  content: 'Q';
  background: var(--primary);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--secondary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-main);
  padding: 0 20px 0 54px;
  font-size: 0.9rem;
}

.faq-item.active .faq-a {
  max-height: 350px;
  padding: 0 20px 18px 54px;
}

.cta-section {
  background: var(--secondary);
  color: #fff;
  text-align: center;
  padding: 50px 0;
}

.cta-section h2 { margin-bottom: 15px; font-size: 1.6rem; }

footer {
  background: #111827;
  color: #9ca3af;
  text-align: center;
  padding: 25px 0;
  font-size: 0.85rem;
}

.footer-sns {
  margin-bottom: 15px;
}

.footer-sns-title {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 10px;
}

.footer-sns-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* タップ領域・配置の調整 */
.footer-sns-links a {
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: color 0.2s, transform 0.2s;
  border-radius: 4px;
}

.footer-sns-links a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-sns-icon {
  width: 30px;
  height: 30px;
  display: block;
}

.floating-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-top: 2px solid var(--primary);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
  z-index: 999;
}

.floating-cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.floating-cta-text {
  font-size: 0.9rem;
  color: var(--secondary);
}

.floating-cta-btn {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(200, 22, 29, 0.3);
  transition: background 0.2s;
  white-space: nowrap;
  text-align: center;
}

/* レスポンシブ設定 */
@media (max-width: 768px) {
  .container { padding: 0 15px; }
  .header-inner { flex-direction: column; gap: 6px; text-align: center; }
  .company-logo-wrapper { justify-content: center; }
  .company-name { font-size: 0.875rem; }
  .logo { font-size: 1rem; }
  
  .logo .sp-br {
    display: block;
    margin-top: 2px;
  }

  .grid-2 { grid-template-columns: 1fr; gap: 15px; }
  
  .hero-badge-sub { font-size: 0.875rem; }
  .hero h1 { font-size: 1.75rem; }
  .hero p.lead-desc { font-size: 1.05rem; }
  .trust-badge-item { font-size: 0.85rem; }

  .main-image-view { height: auto; aspect-ratio: 1517 / 789; }
  .thumb-item { width: 85px; height: 60px; }
  .slider-arrow { width: 36px; height: 36px; font-size: 1.1rem; }
  .arrow-left { left: 6px; }
  .arrow-right { right: 6px; }

  .floating-cta-text { display: none; }
  .floating-cta-inner { justify-content: center; }
  .floating-cta-btn { width: 100%; padding: 14px 20px; font-size: 1.1rem; }

  .flow-grid {
    flex-direction: column;
    gap: 12px;
  }
  .flow-step-card::after {
    content: '▼';
    top: auto;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
  }
  .flow-step-desc { font-size: 0.875rem; }

  .compare-table, 
  .compare-table tbody, 
  .compare-table tr, 
  .compare-table td {
    display: block;
    width: 100%;
  }
  .compare-table thead { display: none; }
  .compare-table tbody tr {
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  .compare-table td {
    border: none;
    border-bottom: 1px dashed var(--border-color);
    padding: 10px 0;
    text-align: left;
    font-size: 0.95rem;
  }
  .compare-table td:last-child {
    border-bottom: none;
  }
  .compare-table td:nth-child(1) { font-weight: bold; font-size: 1.05rem; color: var(--secondary); border-bottom: 2px solid var(--border-color); padding-bottom: 8px; margin-bottom: 8px; }
  .compare-table td:nth-child(2)::before { content: "定番（タオル等）: "; font-weight: bold; color: var(--text-muted); }
  .compare-table td:nth-child(3)::before { content: "菓子折り・贈答品: "; font-weight: bold; color: var(--text-muted); }
  .compare-table td:nth-child(4)::before { content: "折り紙食器beak: "; font-weight: bold; color: var(--primary); }
  .compare-table td.highlight { background: #fff5f5; padding: 10px; border-radius: 6px; margin-top: 6px; border: 1px solid #fca5a5; }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }
  .price-table thead { display: none; }
  .price-table tbody tr {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  .price-table tr.popular-row {
    border: 2px solid var(--accent);
  }
  .price-table td {
    border: none;
    padding: 6px 0;
    text-align: left !important;
  }
  .price-table td:nth-child(1) {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
    margin-bottom: 8px;
    font-size: 1rem;
  }
  .price-table td:nth-child(2) {
    display: inline-block;
    font-size: 1.05rem;
    padding-right: 12px;
  }
  .price-table td:nth-child(3) { display: block; margin: 4px 0 8px; }
  .price-table td:nth-child(4) {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 8px;
  }
  .price-table td:nth-child(5) {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
  }
  .price-table .cta-button-small {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    font-size: 1rem;
  }

  .voice-card p { font-size: 0.95rem; }
  .cta-subtext { font-size: 0.875rem; }
  .faq-q-text { font-size: 0.95rem; }
  .faq-a { padding-left: 20px; font-size: 0.95rem; }
  .faq-item.active .faq-a { padding-left: 20px; }
}