/* =========================================================
   OMOSHIROKI — site styles (Design A / Apple-like)
   ========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
               "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: #fff;
  color: #1d1d1f;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; }

.line {
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 48px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid #f0f0f0;
}
.logo {
  text-decoration: none;
  font-size: 20px; font-weight: 800; letter-spacing: 0.04em;
  display: inline-flex; flex-direction: column; line-height: 1;
}
.logo img { height: 24px; width: auto; }
.about-photo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; object-position: center 30%; margin: 0 auto 40px; }
.menu { display: flex; gap: 32px; font-size: 13px; }
.menu a { text-decoration: none; opacity: 0.75; transition: opacity .2s; }
.menu a:hover, .menu a.active { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  max-width: 980px; margin: 0 auto;
  padding: 160px 32px 150px;
  text-align: center;
}
.eyebrow {
  font-size: 12px; color: #888; letter-spacing: 0.3em;
  text-transform: uppercase; margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.15;
}
.hero .en {
  display: block; margin-top: 18px;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 400; color: #6e6e73; letter-spacing: -0.01em;
}
.hero-portrait { width: 150px; height: 150px; margin: 72px auto 0; color: #1d1d1f; }

/* ---------- Section heading ---------- */
.section { padding: 110px 32px; }
.section.gray { background: #f5f5f7; }
.section-title {
  text-align: center;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700; letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.section-sub { text-align: center; color: #6e6e73; font-size: 17px; margin-bottom: 64px; }

/* ---------- Services ---------- */
.services { max-width: 1100px; margin: 0 auto; display: grid; gap: 24px; }
.card {
  background: #fff; border-radius: 22px;
  padding: 56px 52px;
  display: grid; grid-template-columns: 160px 1fr; gap: 48px;
  align-items: start;
}
.card-icon { width: 104px; height: 104px; color: #1d1d1f; }
.card-eyebrow {
  font-size: 11px; color: #888; letter-spacing: 0.3em;
  text-transform: uppercase; margin-bottom: 10px;
}
.card h3 { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 22px; }
.card ul { list-style: none; }
.card li {
  position: relative; padding-left: 22px; margin-bottom: 10px;
  font-size: 17px;
}
.card li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 10px; height: 2px; background: #1d1d1f;
}
.insta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px; padding: 9px 18px;
  border: 1px solid #d2d2d7; border-radius: 100px;
  font-size: 13px; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.insta:hover { background: #f5f5f7; border-color: #1d1d1f; }
.insta svg { width: 16px; height: 16px; }

/* Workbook block (inside Lab card) */
.product {
  margin-top: 32px; padding: 28px;
  border: 1px solid #e8e8ed; border-radius: 16px;
  display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center;
}
.product-cover-img { width: 110px; height: auto; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.10); }
.product-label { font-size: 11px; letter-spacing: 0.25em; color: #888; text-transform: uppercase; margin-bottom: 6px; }
.product h4 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.product p { font-size: 14px; color: #555; line-height: 1.75; margin-bottom: 14px; }
.product-meta { font-size: 13px; color: #6e6e73; margin-bottom: 16px; }
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 100px;
  background: #1d1d1f; color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
  border: none; cursor: pointer; font-family: inherit;
  transition: background .2s;
}
.btn:hover { background: #3a3a3c; }

/* ---------- Footer ---------- */
.footer {
  background: #1d1d1f; color: #fff; text-align: center;
  padding: 90px 32px 40px;
}
.footer h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.footer p { opacity: 0.7; margin-bottom: 32px; }
.footer .btn { background: #fff; color: #1d1d1f; }
.footer .btn:hover { background: #e8e8ed; }
.footer-info {
  margin-top: 64px; padding-top: 28px; border-top: 1px solid #333;
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  font-size: 13px; opacity: 0.65;
}
.footer-info a { text-decoration: none; }

/* ---------- About ---------- */
.about-hero { max-width: 880px; margin: 0 auto; padding: 120px 32px 60px; text-align: center; }
.about-hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 700; letter-spacing: -0.03em; }
.about-hero .en { color: #6e6e73; font-size: 20px; margin-top: 8px; letter-spacing: 0.08em; }
.about-hero .title { margin-top: 18px; font-size: 15px; color: #555; }
.about-body { max-width: 820px; margin: 0 auto; padding: 0 32px 100px; }
.about-lead { font-size: 19px; line-height: 2; margin: 40px 0 80px; text-align: center; color: #333; }
.block { margin-bottom: 72px; }
.block h2 {
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: #888; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid #e8e8ed;
}
.timeline { list-style: none; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 14px 0; border-bottom: 1px solid #f2f2f2; }
.timeline .when { color: #888; font-size: 14px; font-variant-numeric: tabular-nums; }
.plain { list-style: none; }
.plain li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid #f2f2f2; }
.plain li::before { content: ''; position: absolute; left: 0; top: 22px; width: 10px; height: 2px; background: #1d1d1f; }
.ws { margin-bottom: 36px; }
.ws h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.ws p { color: #444; line-height: 1.9; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.fact { background: #f5f5f7; border-radius: 16px; padding: 24px; }
.fact .num { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.fact .lbl { font-size: 13px; color: #6e6e73; margin-top: 4px; }

/* ---------- Contact ---------- */
.contact-wrap { max-width: 680px; margin: 0 auto; padding: 120px 32px 120px; }
.contact-wrap h1 { text-align: center; font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.03em; }
.contact-wrap .lead { text-align: center; color: #6e6e73; margin: 14px 0 56px; }
.field { margin-bottom: 24px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.field label .req { color: #c00; font-weight: 400; margin-left: 6px; font-size: 12px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid #d2d2d7; border-radius: 12px;
  font-size: 16px; font-family: inherit; background: #fff; color: #1d1d1f;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 180px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: #1d1d1f; box-shadow: 0 0 0 4px rgba(0,0,0,0.06);
}
.agree { font-size: 13px; color: #6e6e73; margin: 8px 0 32px; }
.form-submit { text-align: center; }
.form-submit .btn { padding: 15px 48px; font-size: 15px; }
.form-status { text-align: center; margin-top: 24px; font-size: 15px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav { padding: 14px 20px; }
  .menu { gap: 16px; font-size: 12px; }
  .menu .hide-sm { display: none; }
  .hero { padding: 90px 24px 70px; }
  .section { padding: 80px 20px; }
  .card { grid-template-columns: 1fr; padding: 40px 28px; gap: 24px; }
  .card-icon { width: 72px; height: 72px; }
  .card h3 { font-size: 28px; }
  .product { grid-template-columns: 1fr; text-align: left; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
}
