/* ==============================================
   Prime Theme - Main CSS
   ============================================== */

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

:root {
  --red:      #c41e2a;
  --red-deep: #a31825;
  --red-pale: #fdf2f2;
  --red-bg:   #faf0f0;
  --warm:     #fff8f5;
  --cream:    #fef9f4;
  --text:     #2d1a14;
  --muted:    #7a5c52;
  --light:    #f0e6e0;
  --white:    #ffffff;
  --serif:    'Lora', 'Noto Serif JP', serif;
  --sans:     'Noto Sans JP', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--cream); overflow-x: hidden; }

/* ── NAV ── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(196,30,42,.1), 0 2px 16px rgba(196,30,42,.06);
  transition: height .3s;
}
.nav-logo img, .nav-logo a img {
  height: 36px;
  max-height: 36px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
}
/* WordPressのカスタムロゴが付けるサイズを上書き */
.nav-logo .custom-logo-link img,
.nav-logo .custom-logo {
  height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
  max-width: 160px !important;
  display: block !important;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { font-size: .8rem; letter-spacing: .06em; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--red); }
.nav-cta {
  background: var(--red); color: var(--white);
  padding: 9px 24px; font-size: .78rem; letter-spacing: .08em;
  border: none; cursor: pointer; border-radius: 2px;
  font-family: var(--sans); text-decoration: none; transition: background .2s;
}
.nav-cta:hover { background: var(--red-deep); }

/* ── HERO ── */
.hero {
  min-height: 100vh; background: var(--white);
  display: flex; align-items: center;
  padding-top: 68px; position: relative; overflow: hidden;
}
.hero-blob {
  position: absolute; right: -60px; top: -80px;
  width: 680px; height: 680px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fde8e8 0%, #fdf2f2 50%, transparent 75%);
  z-index: 0;
}
.hero-dots {
  position: absolute; right: 80px; bottom: 100px;
  width: 200px; height: 200px;
  background-image: radial-gradient(circle, rgba(196,30,42,.15) 1.5px, transparent 1.5px);
  background-size: 18px 18px; z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 80px 48px;
  display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red-pale); border: 1px solid rgba(196,30,42,.2);
  border-radius: 100px; padding: 6px 16px 6px 10px; margin-bottom: 28px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.hero-badge span { font-size: .72rem; letter-spacing: .1em; color: var(--red); font-weight: 500; }
.hero h1 {
  font-family: var(--serif); font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.4; color: var(--text); font-weight: 400; margin-bottom: 28px;
}
.hero h1 strong { color: var(--red); font-weight: 600; }
.hero-sub { font-size: .9rem; line-height: 2.1; color: var(--muted); font-weight: 300; margin-bottom: 44px; max-width: 500px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-red {
  background: var(--red); color: var(--white);
  padding: 15px 36px; font-size: .85rem; letter-spacing: .08em;
  border: none; cursor: pointer; font-family: var(--sans); font-weight: 500;
  border-radius: 3px; text-decoration: none; display: inline-block;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(196,30,42,.25);
}
.btn-red:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,30,42,.3); }
.btn-outline {
  background: transparent; color: var(--red);
  padding: 15px 36px; font-size: .85rem; letter-spacing: .08em;
  border: 1.5px solid rgba(196,30,42,.35); cursor: pointer; border-radius: 3px;
  font-family: var(--sans); text-decoration: none; display: inline-block;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--red); background: var(--red-pale); }

.hero-card-wrap { display: flex; flex-direction: column; gap: 16px; }
.h-card {
  background: var(--white); border: 1px solid var(--light); border-radius: 12px;
  padding: 28px 32px; box-shadow: 0 2px 20px rgba(92,61,46,.06);
  transition: transform .3s, box-shadow .3s;
}
.h-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(92,61,46,.1); }
.h-card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.h-card h4 { font-size: .9rem; color: var(--text); font-weight: 500; margin-bottom: 6px; }
.h-card p { font-size: .78rem; color: var(--muted); line-height: 1.7; }
.h-card-accent { background: var(--red); border: none; }
.h-card-accent h4 { color: rgba(255,255,255,.95); }
.h-card-accent p { color: rgba(255,255,255,.7); }

/* ── STRIP ── */
.red-strip { background: var(--red); padding: 22px 48px; }
.strip-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 64px; align-items: center; flex-wrap: wrap; }
.strip-item { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.s-num { font-family: var(--serif); font-size: 2rem; color: var(--white); font-weight: 400; line-height: 1; }
.s-label { font-size: .72rem; letter-spacing: .08em; color: rgba(255,255,255,.75); line-height: 1.5; }
.strip-divider { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

/* ── SECTION BASE ── */
section { padding: 96px 48px; max-width: 1200px; margin: 0 auto; }
.sec-label {
  font-size: .7rem; letter-spacing: .2em; color: var(--red); text-transform: uppercase;
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-weight: 500;
}
.sec-label::before { content: ''; width: 24px; height: 2px; background: var(--red); border-radius: 2px; flex-shrink: 0; }
h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 400; line-height: 1.45; color: var(--text); margin-bottom: 20px; }
h2 em { font-style: italic; color: var(--red); }
.lead { font-size: .9rem; line-height: 2.1; color: var(--muted); max-width: 580px; }

/* ── MISSION ── */
.mission-bg { background: var(--warm); }
.mission-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.mission-img { border-radius: 16px; overflow: hidden; position: relative; }
.mission-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.mission-img-overlay {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-radius: 10px; padding: 18px 22px; display: flex; align-items: center; gap: 14px;
}
.ov-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--red); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ov-text { font-size: .78rem; color: var(--text); line-height: 1.6; }
.ov-text strong { color: var(--red); }

/* ── FEATURES ── */
.features-bg { background: var(--cream); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.feat-card {
  background: var(--white); border-radius: 14px; padding: 40px 32px;
  border: 1px solid var(--light); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(92,61,46,.1); border-color: rgba(196,30,42,.2); }
.feat-num { font-family: var(--serif); font-size: .85rem; letter-spacing: .1em; color: var(--red); font-weight: 600; margin-bottom: 20px; }
.feat-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--red-pale); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 20px; }
.feat-card h3 { font-size: 1.05rem; font-weight: 500; color: var(--text); margin-bottom: 12px; line-height: 1.5; }
.feat-card p { font-size: .82rem; line-height: 1.95; color: var(--muted); }

/* ── PRODUCTS ── */
.products-bg { background: var(--red-bg); }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.prod-card {
  background: var(--white); border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(196,30,42,.1); transition: transform .3s, box-shadow .3s;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(196,30,42,.12); }
.prod-img { width: 100%; height: 220px; background: var(--red-pale); overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prod-card:hover .prod-img img { transform: scale(1.05); }
.prod-body { padding: 32px 32px 36px; }
.prod-tag { display: inline-block; background: var(--red-pale); color: var(--red); font-size: .68rem; letter-spacing: .12em; padding: 4px 12px; border-radius: 100px; margin-bottom: 14px; font-weight: 500; }
.prod-card h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; color: var(--text); margin-bottom: 12px; }
.prod-card p { font-size: .84rem; line-height: 2; color: var(--muted); }

/* ── STORY / CTA ── */
.story-bg { background: var(--red); padding: 96px 0; }
.story-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.story-inner .sec-label { color: rgba(255,255,255,.7); }
.story-inner .sec-label::before { background: rgba(255,255,255,.5); }
.story-inner h2 { color: var(--white); }
.story-inner h2 em { color: rgba(255,255,255,.75); font-style: normal; }
.story-body { font-size: 1.05rem; line-height: 2.2; color: rgba(255,255,255,.85); max-width: 680px; margin-top: 24px; font-weight: 300; }
.story-body strong { color: var(--white); font-weight: 500; }

/* ── COMPANY ── */
.company-bg { background: var(--white); padding: 96px 0; }
.company-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.co-grid { display: grid; grid-template-columns: 200px 1fr; margin-top: 48px; border: 1px solid var(--light); border-radius: 16px; overflow: hidden; }
.co-label, .co-value { padding: 18px 28px; font-size: .86rem; border-bottom: 1px solid var(--light); }
.co-label { background: var(--warm); font-size: .75rem; letter-spacing: .06em; color: var(--muted); font-weight: 500; border-right: 1px solid var(--light); }
.co-value { background: var(--white); color: var(--text); line-height: 1.7; }
.co-label:last-of-type, .co-value:last-of-type { border-bottom: none; }

/* ── CONTACT ── */
.contact-bg { background: var(--warm); padding: 96px 0; }
.contact-inner { max-width: 760px; margin: 0 auto; padding: 0 48px; }
.contact-info { display: flex; gap: 16px; margin: 32px 0 48px; flex-wrap: wrap; }
.c-info-pill { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--light); border-radius: 100px; padding: 10px 20px; text-decoration: none; transition: border-color .2s; }
.c-info-pill:hover { border-color: var(--red); }
.c-info-pill .ci-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--red-pale); display: flex; align-items: center; justify-content: center; font-size: .85rem; flex-shrink: 0; }
.c-info-pill span { font-size: .82rem; color: var(--text); }

/* Contact Form 7 スタイル上書き */
.wpcf7-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wpcf7-form p { display: flex; flex-direction: column; gap: 7px; }
.wpcf7-form p:nth-last-child(-n+3) { grid-column: 1 / -1; }
.wpcf7-form label { font-size: .72rem; letter-spacing: .08em; color: var(--muted); font-weight: 500; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  background: var(--white); border: 1.5px solid var(--light); border-radius: 8px;
  padding: 12px 16px; font-size: .87rem; font-family: var(--sans);
  color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(196,30,42,.08);
}
.wpcf7-form textarea { height: 140px; resize: vertical; }
.wpcf7-form input[type="submit"] {
  background: var(--red); color: var(--white);
  padding: 15px 52px; font-size: .88rem; letter-spacing: .08em;
  border: none; cursor: pointer; font-family: var(--sans); font-weight: 500;
  border-radius: 3px; box-shadow: 0 4px 16px rgba(196,30,42,.25);
  transition: background .2s; margin-top: 8px;
}
.wpcf7-form input[type="submit"]:hover { background: var(--red-deep); }

/* ── FOOTER ── */
footer { background: var(--text); padding: 56px 48px 36px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-logo img, .footer-logo a img { height: 32px; filter: brightness(0) invert(1); opacity: .9; }
.footer-tagline { font-size: .78rem; color: rgba(255,255,255,.4); margin-top: 12px; line-height: 1.7; max-width: 240px; }
.footer-links-col h5 { font-size: .7rem; letter-spacing: .15em; color: rgba(255,255,255,.35); margin-bottom: 16px; }
.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a { font-size: .8rem; color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.footer-links-col a:hover { color: var(--white); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .72rem; color: rgba(255,255,255,.25); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.fu { opacity: 0; animation: fadeUp .75s ease forwards; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .22s; }
.d3 { animation-delay: .34s; } .d4 { animation-delay: .46s; } .d5 { animation-delay: .58s; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #site-nav { padding: 0 20px; }
  .nav-links { display: none; }
  section { padding: 68px 24px; }
  .hero-inner { grid-template-columns: 1fr; padding: 60px 24px; }
  .mission-inner { grid-template-columns: 1fr; gap: 40px; }
  .feat-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .co-grid { grid-template-columns: 1fr; }
  .co-label { border-right: none; border-bottom: none; padding-bottom: 4px; }
  .contact-inner, .story-inner, .company-inner { padding: 0 24px; }
  .wpcf7-form { grid-template-columns: 1fr; }
  .red-strip { padding: 20px 24px; }
  .strip-inner { gap: 32px; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
