/* LENOM corporate site */
:root {
  --navy: #071d55;
  --navy-deep: #04123a;
  --blue: #0057ff;
  --cyan: #00c8f0;
  --grad: linear-gradient(120deg, #0057ff 0%, #0a8cff 55%, #00c8f0 100%);
  --ink: #0f1a33;
  --muted: #5a6680;
  --line: #e3e8f2;
  --bg-soft: #f3f6fc;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 29, 85, .08);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: .02em;
  word-break: auto-phrase; /* 日本語を文節で改行する（対応ブラウザのみ） */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.4; margin: 0; color: var(--navy); }
p { margin: 0 0 1em; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.section-title { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; }
.section-lead { margin-top: 16px; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; border-radius: 999px;
  font-weight: 700; font-size: 16px; line-height: 1.2;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--grad); color: var(--white); box-shadow: 0 8px 22px rgba(0, 87, 255, .28); }
.btn--primary:hover { box-shadow: 0 12px 28px rgba(0, 87, 255, .36); }
.btn--ghost { border: 1.5px solid var(--navy); color: var(--navy); background: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn .arrow { font-family: "Montserrat", sans-serif; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-logo img { height: 34px; width: auto; }
.global-nav ul { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.global-nav a { color: var(--navy); font-weight: 700; font-size: 15px; }
.global-nav a[aria-current="page"] { color: var(--blue); }
.global-nav .btn { padding: 11px 22px; font-size: 14px; color: var(--white); }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 120px 0 128px; }
.hero::before, .hero::after {
  content: ""; position: absolute; top: -10%; bottom: -10%;
  transform: skewX(-24deg); z-index: -1;
}
.hero::before { right: -8%; width: 42%; background: var(--grad); }
.hero::after { right: 36%; width: 3.5%; background: #e8f0ff; }
.hero__inner { max-width: 640px; }
.hero__title {
  font-size: clamp(34px, 6vw, 60px); font-weight: 900; letter-spacing: .04em; line-height: 1.3;
}
.hero__title span { display: inline-block; }
.hero__text { margin: 28px 0 40px; font-size: 17px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__shapes { position: absolute; right: 7%; top: 50%; transform: translateY(-50%); display: grid; gap: 22px; }
.hero__shapes i {
  display: block; width: 92px; height: 56px; border: 2px solid rgba(255, 255, 255, .75);
  transform: skewX(-24deg);
}
.hero__shapes i:nth-child(2) { margin-left: -40px; }
.hero__shapes i:nth-child(3) { margin-left: -80px; }

/* Page hero (sub pages) */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: 72px 0; }
.page-hero::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; right: -6%; width: 34%;
  background: var(--grad); transform: skewX(-24deg); opacity: .9;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(28px, 4.4vw, 40px); font-weight: 800; }
.page-hero .eyebrow { background: none; color: var(--cyan); }

/* Problems */
.problems { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.problem {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; font-weight: 700; color: var(--navy);
}
.problem::before {
  content: "✓"; flex: 0 0 24px; height: 24px; margin-top: 3px; border-radius: 50%;
  background: var(--grad); color: var(--white); font-size: 13px; line-height: 24px; text-align: center;
}
.problems-answer { margin-top: 40px; text-align: center; font-size: clamp(18px, 2.4vw, 22px); font-weight: 800; color: var(--navy); }
.problems-answer em { font-style: normal; background: linear-gradient(transparent 62%, #bfe9ff 62%); }

/* Strengths */
.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.strength {
  position: relative; background: var(--white); border-radius: var(--radius);
  padding: 40px 30px 34px; box-shadow: var(--shadow); overflow: hidden;
}
.strength::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); }
.strength__num {
  font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 44px; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.strength h3 { font-size: 20px; margin: 18px 0 14px; }
.strength p { color: var(--muted); font-size: 15px; margin: 0; }

/* Service cards */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 24px; transition: border-color .2s, box-shadow .2s, transform .2s;
  color: var(--ink);
}
.service-card:hover { text-decoration: none; border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card__en { font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--blue); }
.service-card h3 { font-size: 18px; margin: 8px 0 12px; }
.service-card p { font-size: 14px; color: var(--muted); margin: 0; }
.center-action { margin-top: 44px; text-align: center; }

/* Media tags */
.media { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; padding: 0; list-style: none; }
.media li {
  padding: 8px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-weight: 700; font-size: 14px; color: var(--navy);
}
.media li.media--more { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* CTA band */
.cta {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(110deg, var(--navy-deep) 0%, var(--navy) 45%, #0047d9 100%);
}
.cta::after {
  content: ""; position: absolute; top: -30%; bottom: -30%; right: 8%; width: 18%;
  background: var(--grad); transform: skewX(-24deg); opacity: .55;
}
.cta .container { position: relative; z-index: 1; padding: 80px 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta__badge {
  display: inline-block; background: var(--cyan); color: var(--navy-deep); font-weight: 800;
  font-size: 14px; padding: 6px 16px; transform: skewX(-12deg); margin-bottom: 18px;
}
.cta__badge span { display: inline-block; transform: skewX(12deg); }
.cta h2 { color: var(--white); font-size: clamp(26px, 3.6vw, 36px); font-weight: 900; }
.cta p { margin: 18px 0 0; color: #d4def5; }
.cta__action { text-align: right; }

/* Company summary / table */
.company-table { width: 100%; border-collapse: collapse; background: var(--white); }
.company-table th, .company-table td { text-align: left; padding: 22px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.company-table th { width: 200px; color: var(--navy); font-weight: 700; background: var(--bg-soft); }
.company-table tr:first-child th, .company-table tr:first-child td { border-top: 1px solid var(--line); }

/* Service detail */
.service-detail { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--line); }
.service-detail:last-child { border-bottom: 1px solid var(--line); }
.service-detail__head .num { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 15px; color: var(--blue); letter-spacing: .1em; }
.service-detail__head h2 { font-size: 24px; margin-top: 8px; }
.service-detail__head .en { font-family: "Montserrat", sans-serif; font-size: 12px; letter-spacing: .14em; color: var(--muted); margin-top: 6px; }
.service-detail ul.check { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.service-detail ul.check li { padding-left: 24px; position: relative; }
.service-detail ul.check li::before {
  content: ""; position: absolute; left: 4px; top: .7em; width: 10px; height: 6px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg);
}

/* Flow */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: flow; list-style: none; padding: 0; margin: 0; }
.flow li {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 28px 20px 24px;
  box-shadow: var(--shadow); counter-increment: flow;
}
.flow li::before {
  content: "STEP " counter(flow, decimal-leading-zero);
  font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 12px; letter-spacing: .12em; color: var(--blue);
}
.flow h3 { font-size: 17px; margin: 8px 0 8px; }
.flow p { font-size: 14px; color: var(--muted); margin: 0; }

/* Message */
.message { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.message__photo { position: relative; }
.message__photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; width: 100%; }
.message__photo::after {
  content: ""; position: absolute; left: -14px; bottom: -14px; width: 46%; height: 46%;
  background: var(--grad); border-radius: var(--radius); z-index: -1;
}
.message__body h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 24px; }
.message__sign { margin-top: 28px; color: var(--navy); }
.message__sign .role { font-size: 14px; color: var(--muted); display: block; }
.message__sign .name { font-size: 22px; font-weight: 800; letter-spacing: .1em; }
.message__sign .roman { display: block; font-family: "Montserrat", sans-serif; font-size: 12px; letter-spacing: .14em; color: var(--muted); }

/* Contact */
.contact-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 48px; }
.contact-form { display: block; width: 100%; height: 1650px; border: 0; }
.contact-mail { margin-top: 32px; text-align: center; }
.contact-mail a { font-size: 20px; font-weight: 700; }
.note { font-size: 14px; color: var(--muted); }

/* Privacy */
.legal h2 { font-size: 19px; margin: 40px 0 12px; padding-left: 14px; border-left: 4px solid var(--blue); }
.legal ol, .legal ul { padding-left: 1.4em; }
.legal .date { text-align: right; margin-top: 48px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c3cde6; padding: 64px 0 32px; font-size: 14px; }
.site-footer .container { display: grid; grid-template-columns: 1fr auto; gap: 32px; }
.footer-logo img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.footer-address { margin-top: 18px; line-height: 1.9; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; }
.footer-nav a { color: var(--white); }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px; font-family: "Montserrat", sans-serif; font-size: 12px; letter-spacing: .08em; }

/* Responsive */
@media (max-width: 1100px) {
  .flow { grid-template-columns: 1fr; gap: 12px; }
  .flow li { display: grid; grid-template-columns: 96px 220px 1fr; align-items: center; gap: 16px; padding: 22px 28px; }
  .flow h3 { margin: 0; }
}

@media (max-width: 960px) {
  .strengths { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .service-detail { grid-template-columns: 1fr; gap: 16px; }
  .message { grid-template-columns: 1fr; gap: 40px; }
  .message__photo { max-width: 320px; }
  .cta .container { grid-template-columns: 1fr; }
  .cta__action { text-align: left; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  .section { padding: 72px 0; }
  .site-header .container { height: 64px; }
  .site-logo img { height: 28px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .global-nav {
    position: fixed; inset: 64px 0 auto; background: var(--white); border-bottom: 1px solid var(--line);
    padding: 16px 16px 24px; display: none;
  }
  .nav-open .global-nav { display: block; }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .global-nav li a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .global-nav li:last-child a { margin-top: 16px; border: 0; text-align: center; }
  .hero { padding: 72px 0 96px; }
  .hero::before { right: -30%; width: 55%; opacity: .16; }
  .hero::after, .hero__shapes { display: none; }
  .hero .btn { width: 100%; }
  .problems { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .flow li { grid-template-columns: 1fr; gap: 4px; padding: 22px 20px; }
  .company-table th, .company-table td { display: block; width: 100%; padding: 14px 16px; }
  .company-table th { border-bottom: 0; }
  .company-table tr:first-child td { border-top: 0; }
  .contact-box { padding: 28px 20px; }
  .site-footer .container { grid-template-columns: 1fr; }
  .cta .btn { width: 100%; }
}
