*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #1A6FB5;
  --primary-dark: #0D4A82;
  --primary-light: #E8F2FC;
  --accent: #F4A918;
  --text: #1E2433;
  --text-sub: #5A6273;
  --border: #D9E4EF;
  --bg: #F4F7FB;
  --white: #ffffff;
  --green: #1B8F6A;
  --green-light: #E3F5EE;
}
body { font-family: 'Noto Sans JP', sans-serif; background: var(--bg); color: var(--text); line-height: 1.8; font-size: 15px; }

/* HERO */
.hero {
  background: var(--primary-dark);
  color: white;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 40px 80px;
  position: relative;
  z-index: 2;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; right: 0;
  width: 55%;
  height: 100%;
  background: var(--primary);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
  animation: heroShapePulse 7s ease-in-out infinite;
}
.hero-dots {
  position: absolute;
  top: 0; right: 0;
  width: 55%; height: 100%;
  background-image: radial-gradient(circle, rgba(255,255,255,0.28) 1px, transparent 2px);
  background-size: 18px 18px;
  z-index: 1;
  animation: dotsDrift 6s linear infinite;
}
.hero-underline {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  z-index: 2;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-tag::before { content: ''; display: block; width: 20px; height: 2px; background: var(--accent); }
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  color: white;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  opacity: 0.82;
}
.hero-meta span { display: flex; align-items: center; gap: 5px; }
.hero-meta span::before { content: '—'; opacity: 0.5; margin-right: 2px; }
.hero-meta span:first-child::before { display: none; }

/* CONTENT */
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* THANK YOU - 罫線スタイル */
.thanks {
  margin: 44px 0 40px;
  padding: 0 0 36px;
  border-bottom: 1px solid var(--border);
}
.thanks h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 18px;
  line-height: 1.5;
}
.thanks p { font-size: 14.5px; color: var(--text-sub); line-height: 2; }

/* SECTION */
.sec { margin-bottom: 44px; }
.sec-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-dark);
  border-left: 4px solid var(--accent);
  padding-left: 14px;
  margin-bottom: 22px;
  line-height: 1.4;
}

/* SUMMARY TABLE */
.summary {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.summary th {
  background: var(--primary-dark);
  color: white;
  font-weight: 700;
  padding: 13px 20px;
  text-align: left;
  width: 150px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  vertical-align: top;
}
.summary td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.7;
}
.summary tr:last-child th, .summary tr:last-child td { border-bottom: none; }

/* PHOTO */
.photo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 6px; }
.photo-slot {
  aspect-ratio: 4/3;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--primary); font-size: 12px; gap: 5px;
}
.photo-slot .ico { font-size: 24px; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.photo-note { font-size: 12px; color: var(--text-sub); text-align: center; margin-top: 6px; font-style: italic; }
.body-text { font-size: 14.5px; color: var(--text); line-height: 1.95; margin: 18px 0; }

/* PRODUCT */
.product-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.product-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px 24px 32px;
  position: relative;
  overflow: hidden;
}
.product-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  border-radius: 12px 0 0 12px;
}
.product-item:nth-child(1)::before { background: var(--primary); }
.product-item:nth-child(2)::before { background: var(--accent); }
.product-item::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 48px 48px 0 0;
}
.product-item:nth-child(1)::after { border-color: transparent var(--primary) transparent transparent; }
.product-item:nth-child(2)::after { border-color: transparent var(--accent) transparent transparent; }
.product-img {
  display: block;
  width: calc(100% + 60px);
  height: auto;
  margin: -24px -28px 16px -32px;
  border-radius: 12px 12px 0 0;
  background: var(--white);
}
.product-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.product-item:nth-child(1) .product-tag { background: var(--primary-light); color: var(--primary-dark); }
.product-item:nth-child(2) .product-tag { background: #FEF5E3; color: #7A4E00; }
.product-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.product-item p { font-size: 13px; color: var(--text-sub); line-height: 1.8; margin-bottom: 10px; }
.product-link {
  display: inline-block;
  font-size: 12.5px; font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  border: 1.5px solid var(--primary);
  border-radius: 6px;
  padding: 6px 16px;
}
.product-link:hover { background: var(--primary); color: white; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(26,111,181,0.28); }

/* MAIN IMAGE */
.main-image {
  width: 100%;
  aspect-ratio: 16/7;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--primary); gap: 8px;
  margin-top: 36px;
  margin-bottom: 44px;
  overflow: hidden;
}
.main-image .ico { font-size: 36px; }
.main-image span { font-size: 13px; }
.main-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }


/* VOICE */
.voice-box {
  background: var(--primary-light);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.85;
}
.voice-box strong { color: var(--primary-dark); }

/* PARTNER */
.partner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 28px;
  display: flex; gap: 20px; align-items: flex-start;
}
.partner-icon {
  width: 52px; height: 52px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
}
.partner-name { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.partner-desc { font-size: 13.5px; color: var(--text-sub); line-height: 1.85; margin-bottom: 12px; }
.partner-link {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  color: var(--text);
  background: var(--bg);
  text-decoration: none;
  border: 1.5px solid var(--border);
  padding: 8px 20px;
  border-radius: 6px;
}
.partner-link:hover { background: var(--border); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

/* CLOSING */
.closing { margin: 44px 0; padding: 32px 36px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; }
.closing p { font-size: 14.5px; color: var(--text); line-height: 2; margin-bottom: 14px; }
.closing p:last-child { margin-bottom: 0; }
.closing .sign { color: var(--text-sub); font-size: 14px; }

/* CTA */
.cta {
  background: var(--primary-dark);
  border-radius: 14px;
  padding: 40px 28px;
  text-align: center;
  color: white;
  margin-bottom: 48px;
}
.cta h2 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.cta p { opacity: 0.85; font-size: 14px; margin-bottom: 22px; line-height: 1.8; }
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #4A2E00;
  font-weight: 700; font-size: 14.5px;
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  animation: ctaGlow 2.8s ease-in-out infinite;
  transition: transform 0.22s ease, filter 0.22s ease;
}
.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.34) 50%, transparent 70%);
  transform: translateX(-120%) skewX(-15deg);
  transition: transform 0.55s ease;
  border-radius: 30px;
}
.cta-btn:hover::before {
  transform: translateX(160%) skewX(-15deg);
}
.cta-btn:hover {
  transform: translateY(-3px) scale(1.04);
  filter: brightness(1.07);
  animation-play-state: paused;
}

footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  text-align: center; padding: 28px 20px;
  font-size: 13px; color: var(--text-sub);
}
footer .company { font-weight: 700; color: var(--text); font-size: 14px; margin-bottom: 4px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 12px; display: block; margin-left: auto; margin-right: auto; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes expandWidth {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes dotsDrift {
  from { background-position: 0 0; }
  to   { background-position: 18px 18px; }
}
@keyframes heroShapePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.82; }
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244,169,24,0.65); }
  60%       { box-shadow: 0 0 0 14px rgba(244,169,24,0); }
}

/* Hero staggered entrance */
.hero-tag  { animation: fadeInUp 0.55s ease both 0.10s; }
.hero h1   { animation: fadeInUp 0.55s ease both 0.25s; }
.hero h2   { animation: fadeInUp 0.55s ease both 0.38s; }
.hero-meta { animation: fadeInUp 0.55s ease both 0.50s; }
.hero-underline { transform-origin: left; animation: expandWidth 0.7s ease both 0.65s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-left.is-visible {
  opacity: 1;
  transform: none;
}

/* Hover transitions */
.product-link { transition: background 0.25s ease, color 0.25s ease, transform 0.22s ease, box-shadow 0.22s ease; }
.partner-link { transition: background 0.25s ease, transform 0.22s ease, box-shadow 0.22s ease; }
.photo-slot img { transition: transform 0.4s ease; }
.photo-slot:hover img { transform: scale(1.04); }

@media (max-width: 600px) {
  .hero::after { width: 0; }
  .hero-inner { padding: 52px 20px 60px; }
  .summary th { width: 97px; }
  .photo-grid { grid-template-columns: repeat(2,1fr); }
  .partner { flex-direction: column; }
  .product-item { grid-template-columns: 1fr; }
  .product-num { display: none; }
}
