
:root {
  --primary: #ff7a1a;
  --primary-dark: #f06412;
  --accent: #ff3f6e;
  --text: #20242e;
  --muted: #5b6374;
  --line: #ebdfd7;
  --bg: #fffdfa;
  --soft: #fff6ef;
  --soft2: #fff2ea;
  --dark: #2b2022;
  --dark2: #433337;
  --radius: 28px;
  --shadow: 0 24px 60px rgba(82, 30, 12, .10);
  --shadow2: 0 14px 34px rgba(82, 30, 12, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 88px 0; }
.bg-soft { background: var(--soft); }
.bg-dark { background: linear-gradient(135deg, var(--dark), var(--dark2)); color: #fff; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 900; letter-spacing: .12em; color: var(--primary-dark); }
.bg-dark .eyebrow { color: #ffbd8c; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 250, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(235, 223, 215, .82);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 86px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 270px; }
.brand-logo { width: 58px; height: 58px; object-fit: contain; border-radius: 14px; background: #fff; box-shadow: var(--shadow2); padding: 6px; }
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-size: 18px; line-height: 1.2; }
.brand-text small { font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.nav { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.nav a { padding: 10px 14px; border-radius: 999px; font-size: 14px; color: #495264; font-weight: 700; }
.nav a:hover { background: #fff; color: var(--primary-dark); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; box-shadow: 0 16px 34px rgba(255, 88, 64, .24); }
.btn-secondary { background: #fff; color: var(--primary-dark); border-color: var(--line); }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-small { min-height: 44px; padding-inline: 18px; }
.hero {
  padding: 70px 0 42px;
  background: radial-gradient(circle at 80% 15%, #ffe6d3 0, rgba(255,230,211,0) 28%), linear-gradient(180deg, #fff 0%, #fff9f4 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 44px; align-items: center; }
.hero h1 { margin: 0; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.2; letter-spacing: -.03em; font-weight: 900; }
.hero h1 span { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 22px 0 0; font-size: 17px; color: var(--muted); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-points { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 680px; margin: 26px 0 0; padding: 0; }
.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(235, 223, 215, .9);
  box-shadow: 0 18px 38px rgba(82, 30, 12, .12);
  backdrop-filter: blur(10px);
}
.hero-point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}
.hero-point-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-points strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}
.hero-points small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.card-image { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(235,223,215,.78); box-shadow: var(--shadow); }
.hero-visual { aspect-ratio: 16 / 9; }
.hero-visual img, .domain-image img, .solutions-visual img, .external-visual img, .representative-visual img, .model-visual img { height: 100%; object-fit: cover; }
.stats-bar { margin-top: -12px; position: relative; z-index: 2; padding-bottom: 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-card, .value-card, .audience-card, .team-card { background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow2); }
.stat-card h3, .value-card h3, .audience-card h3, .team-card h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.45; }
.stat-card p, .value-card p, .audience-card p, .team-card p { margin: 0; color: var(--muted); }
.value-card span { display: inline-block; margin-bottom: 10px; font-size: 12px; font-weight: 900; letter-spacing: .14em; color: var(--primary-dark); }
.section-heading { margin-bottom: 42px; }
.section-heading.center { max-width: 860px; margin-left: auto; margin-right: auto; text-align: center; }
.section-heading.left { max-width: 680px; }
.section-heading h2, .representative-copy h2 { margin: 0 0 14px; font-size: clamp(28px, 3vw, 42px); line-height: 1.35; letter-spacing: -.02em; }
.section-heading p, .representative-copy p { margin: 0; color: var(--muted); }
.bg-dark .section-heading p, .bg-dark .external-url { color: rgba(255,255,255,.84); }
.section-note { margin-top: 10px !important; font-size: 14px !important; color: var(--primary-dark) !important; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.domain-grid { display: grid; gap: 26px; }
.domain-card { display: grid; grid-template-columns: 1.03fr .97fr; gap: 30px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 24px; box-shadow: var(--shadow2); }
.domain-card:nth-child(even) { grid-template-columns: .97fr 1.03fr; }
.domain-card:nth-child(even) .domain-image { order: 2; }
.domain-card:nth-child(even) .domain-copy { order: 1; }
.domain-image { aspect-ratio: 16/9; }
.domain-subtitle { margin: 0 0 6px; font-size: 13px; letter-spacing: .12em; color: var(--primary-dark); font-weight: 900; }
.domain-copy h3 { margin: 0 0 10px; font-size: 30px; line-height: 1.35; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 24px; margin-top: 10px; font-size: 15px; color: #4c5568; }
.check-list li::before { content: ''; position: absolute; left: 0; top: .73em; width: 8px; height: 8px; border-radius: 999px; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.model-grid, .representative-grid, .contact-grid, .external-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center; }
.model-visual { aspect-ratio: 4/3; }
.tag-list { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; padding: 0; margin: 24px 0 0; }
.tag-list li { padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow2); font-size: 14px; font-weight: 800; color: #485163; }
.solutions-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 36px; align-items: center; }
.solutions-visual { aspect-ratio: 16/9; }
.mt-32 { margin-top: 32px; }
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.solution-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow2); min-height: 228px; }
.solution-card span { display: inline-flex; width: 40px; height: 40px; border-radius: 14px; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; color: var(--primary-dark); background: var(--soft); margin-bottom: 14px; }
.solution-card h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.45; }
.solution-card p { margin: 0; color: var(--muted); font-size: 15px; }
.service-illustration {
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff7f0, #fff0f3);
}
.service-illustration svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: var(--primary-dark);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.external-visual { aspect-ratio: 4/3; display: block; }
.external-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.external-url { margin: 0; font-size: 14px; word-break: break-all; }
.representative-visual { aspect-ratio: 4/5; }
.rep-name { margin-top: 12px !important; font-size: 26px; font-weight: 900; color: var(--text) !important; }
.rep-role { margin-top: 0 !important; margin-bottom: 16px !important; color: var(--primary-dark) !important; font-weight: 800; }
.member-badge-wrap { display: flex; justify-content: center; margin-bottom: 16px; }
.member-badge { width: 112px; height: 112px; border-radius: 999px; object-fit: cover; border: 1px solid var(--line); background: #fff; }
.member-badge-initial { width: 112px; height: 112px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 900; color: var(--primary-dark); background: linear-gradient(135deg, #fff3e7, #ffe6e9); border: 1px solid var(--line); }
.member-role { color: var(--primary-dark) !important; font-weight: 800; }
.company-table-wrap { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow2); }
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }
.company-table th { width: 220px; background: #fff7f2; color: var(--primary-dark); font-size: 15px; }
.company-table td { color: #4c5568; font-size: 15px; }
.contact-section { background: linear-gradient(180deg, #fff9f4 0%, #fff2eb 100%); }
.contact-panel, .contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow2); }
.contact-panel { padding: 28px; }
.contact-panel h3 { margin: 0 0 12px; font-size: 22px; }
.contact-phone { margin: 0 0 6px !important; font-size: 34px; font-weight: 900; color: var(--primary-dark) !important; }
.contact-small, .contact-note { font-size: 14px; }
.contact-note { margin-top: 18px; color: var(--muted); }
.contact-form-wrap { padding: 28px; }
.contact-form label { display: block; margin-bottom: 18px; }
.contact-form label span { display: block; margin-bottom: 8px; font-weight: 700; font-size: 14px; color: #3f4654; }
.contact-form em { color: var(--accent); font-style: normal; }
.form-grid.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; font: inherit; color: var(--text); background: #fff; appearance: none;
}
.contact-form textarea { resize: vertical; min-height: 180px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid rgba(255, 122, 26, .18); border-color: var(--primary); }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.form-status { min-height: 1.5em; margin: 14px 0 0; font-size: 14px; color: #3f4654; }
.form-status.error { color: #c23d54; }

.contact-purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-purpose-card,
.recruit-notice {
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
}

.contact-purpose-card {
  min-height: 220px;
  padding: 28px;
  border-radius: 24px;
}

.contact-purpose-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.contact-purpose-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.contact-purpose-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.recruit-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border-radius: 28px;
}

.recruit-notice h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.8vw, 34px);
}

.recruit-notice p {
  margin: 0;
  color: var(--muted);
}

.contact-page-grid {
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 20px;
}

.site-footer { padding: 22px 0; background: #fff; border-top: 1px solid var(--line); }
.footer-wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer-wrap p { margin: 0; }
.footer-wrap a { color: var(--muted); font-weight: 700; text-decoration: none; }
.footer-wrap a:hover { color: var(--primary-dark); }
.line { display: block; }
.title-sp { display: none; }
.sp-br { display: none; }
.page-hero {
  padding: 76px 0 64px;
  background: radial-gradient(circle at 82% 18%, #ffe6d3 0, rgba(255,230,211,0) 30%), linear-gradient(180deg, #fff 0%, #fff9f4 100%);
  overflow: hidden;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr .86fr;
  gap: 42px;
  align-items: center;
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 3.7vw, 52px);
  line-height: 1.32;
  letter-spacing: 0;
}
.page-hero .lead {
  max-width: 760px;
}
.page-hero-visual {
  aspect-ratio: 16 / 10;
}
.page-hero-visual img {
  height: 100%;
  object-fit: cover;
}
.section-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.policy-layout {
  max-width: 920px;
}
.policy-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(26px, 5vw, 54px);
  box-shadow: var(--shadow2);
}
.policy-content h2 {
  margin: 34px 0 12px;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
}
.policy-content h2:first-of-type {
  margin-top: 28px;
}
.policy-content p,
.policy-content li {
  color: #4c5568;
  line-height: 1.95;
}
.policy-content ul {
  margin: 12px 0 0;
  padding-left: 1.2em;
}
.policy-company {
  margin-top: 16px;
  padding: 20px;
  border-radius: 20px;
  background: #fff8f3;
  border: 1px solid rgba(235, 223, 215, .9);
}
.policy-company p {
  margin: 0;
}
.policy-company a {
  color: var(--primary-dark);
  font-weight: 900;
}
.policy-date {
  margin-top: 32px;
  text-align: right;
  font-size: 14px;
}
.text-link {
  color: var(--primary-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow2);
}
.cta-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.35;
}
.cta-panel p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1120px) {
  .nav-wrap { align-items: flex-start; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; justify-content: flex-start; }
  .hero-grid, .page-hero-grid, .model-grid, .solutions-layout, .representative-grid, .external-grid, .contact-grid, .domain-card { grid-template-columns: 1fr; }
  .domain-card:nth-child(even) .domain-image, .domain-card:nth-child(even) .domain-copy { order: initial; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .container { width: calc(100% - 30px); }
  .site-header { position: static; }
  .hero { padding-top: 42px; }
  .section { padding: 68px 0; }
  .pc-br { display: none; }
  .sp-br { display: initial; }
  .title-pc { display: none; }
  .title-sp { display: block; }
  .brand { min-width: auto; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-text strong { font-size: 16px; }
  .nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .nav a { width: 100%; text-align: center; font-size: 12px; padding: 7px 8px; }
  .stats-grid, .grid-3, .solution-grid, .form-grid.two-col { grid-template-columns: 1fr; }
  .hero-actions .btn, .contact-actions .btn, .external-actions .btn { width: 100%; }
  .section-actions .btn, .cta-panel .btn { width: 100%; }
  .page-hero { padding: 42px 0 48px; }
  .page-hero h1 { font-size: clamp(31px, 8.4vw, 42px); line-height: 1.34; }
  .page-hero-visual { aspect-ratio: 16 / 9; }
  .cta-panel { display: block; padding: 24px; }
  .cta-panel .btn { margin-top: 22px; }
  .hero-points li { width: 100%; text-align: center; }
  .company-table, .company-table tbody, .company-table tr, .company-table th, .company-table td { display: block; width: 100%; }
  .company-table th { padding-bottom: 6px; border-bottom: none; }
  .company-table td { padding-top: 0; }
}


/* v2 adjustments */
.nav-wrap { min-height: 76px; gap: 12px; flex-wrap: nowrap; }
.brand { min-width: 245px; gap: 10px; }
.brand-logo { width: 50px; height: 50px; }
.brand-text strong { font-size: 16px; white-space: nowrap; }
.brand-text small { font-size: 10px; }
.nav { flex: 1; flex-wrap: nowrap; gap: 4px; justify-content: center; min-width: 0; }
.nav a { white-space: nowrap; padding: 8px 8px; font-size: 12.5px; }
.btn-small { min-height: 40px; padding-inline: 14px; white-space: nowrap; }
.hero { padding-top: 66px; }
.domain-description { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.management-grid { display: grid; gap: 24px; }
.management-card { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 24px; box-shadow: var(--shadow2); }
.management-card-main { grid-template-columns: 300px 1fr; }
.management-photo { aspect-ratio: 4 / 5; box-shadow: var(--shadow2); }
.management-photo img { height: 100%; object-fit: cover; }
.management-copy h3 { margin: 0 0 4px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; }
.management-role { margin: 0 0 14px !important; color: var(--primary-dark) !important; font-weight: 900; }
.management-copy p { margin: 0 0 10px; color: var(--muted); }
.management-card:not(.management-card-main) .management-copy p:not(.eyebrow):not(.management-role) { color: #777; }
.management-card:not(.management-card-main) .management-photo { max-width: 220px; width: 100%; justify-self: center; }
.management-card:not(.management-card-main) { grid-template-columns: 240px 1fr; }

@media (max-width: 1180px) {
  .brand { min-width: 220px; }
  .nav a { font-size: 11.5px; padding: 7px 6px; }
  .btn-small { padding-inline: 12px; font-size: 13px; }
}
@media (max-width: 1040px) {
  .nav-wrap { flex-wrap: wrap; align-items: flex-start; }
  .nav { order: 3; width: 100%; flex-wrap: wrap; justify-content: flex-start; }
}
@media (max-width: 820px) {
  .management-card, .management-card-main, .management-card:not(.management-card-main) { grid-template-columns: 1fr; }
  .management-photo, .management-card:not(.management-card-main) .management-photo { width: min(260px, 100%); margin: 0 auto; }
}

/* v5: smartphone-only layout fixes */
@media (max-width: 820px) {
  /* BUSINESS DOMAINS: keep image first for all cards, including the second card. */
  .domain-card,
  .domain-card:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .domain-card .domain-image,
  .domain-card:nth-child(even) .domain-image {
    order: 1;
  }
  .domain-card .domain-copy,
  .domain-card:nth-child(even) .domain-copy {
    order: 2;
  }

  /* 主な提供サービス: title/text first, image below. */
  .solutions-layout {
    grid-template-columns: 1fr;
  }
  .solutions-copy {
    order: 1;
  }
  .solutions-visual {
    order: 2;
  }
}


/* first-view text update */
.hero h1 {
  letter-spacing: -.04em;
}
.hero h1 span {
  display: inline;
}
@media (max-width: 820px) {
  .hero h1 {
    font-size: clamp(43px, 10.8vw, 58px);
    line-height: 1.32;
  }
  .lead {
    font-size: 16px;
    line-height: 1.9;
  }
  .hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow2);
    overflow: hidden;
  }
  .hero-points li {
    width: auto;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    padding: 18px 8px;
    font-size: 14px;
    line-height: 1.45;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-points li:last-child {
    border-right: 0;
  }
}
@media (max-width: 420px) {
  .hero h1 {
    font-size: 42px;
  }
}


/* v8: smartphone header hamburger + first-view image visibility */
.hamburger {
  display: none;
}

@media (max-width: 820px) {
  .site-header {
    position: sticky !important;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
  }

  .nav-wrap {
    min-height: 64px !important;
    height: 64px;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px;
  }

  .brand {
    min-width: 0 !important;
    flex: 1;
    gap: 8px;
  }

  .brand-logo {
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px;
  }

  .brand-text strong {
    font-size: 15px !important;
    line-height: 1.15;
    white-space: nowrap;
  }

  .brand-text small {
    display: none;
  }

  .hamburger {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 8px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    position: relative;
    z-index: 102;
  }

  .hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    border-radius: 999px;
    background: #111;
    transition: transform .24s ease, opacity .24s ease;
  }

  .site-header.is-menu-open .hamburger span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .site-header.is-menu-open .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .hamburger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav {
    display: none !important;
    position: absolute;
    left: 15px;
    right: 15px;
    top: 64px;
    width: auto !important;
    grid-template-columns: 1fr !important;
    background: rgba(255, 255, 255, .98);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 20px 44px rgba(82, 30, 12, .14);
    z-index: 101;
  }

  .site-header.is-menu-open .nav {
    display: grid !important;
  }

  .nav a {
    display: block;
    width: 100%;
    padding: 12px 14px !important;
    font-size: 14px !important;
    text-align: left !important;
    border-radius: 12px;
  }

  .header-contact {
    display: none !important;
  }

  /* Hero: place the main illustration inside the smartphone first view. */
  .hero {
    padding: 28px 0 34px !important;
    background:
      radial-gradient(circle at 90% 20%, rgba(255, 122, 26, .18) 0, rgba(255, 122, 26, 0) 30%),
      linear-gradient(180deg, #fff 0%, #fff8f3 100%);
    overflow: hidden;
  }

  .hero-grid {
    display: flex !important;
    flex-direction: column;
    gap: 22px;
  }

  .hero-copy {
    order: 1;
    position: relative;
    z-index: 2;
  }

  .hero-visual {
    order: 2;
    display: block !important;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-top: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(82, 30, 12, .12);
    background: #fff;
  }

  .hero-visual img {
    display: block !important;
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: .09em;
    margin-bottom: 10px;
  }

  .hero h1 {
    font-size: clamp(39px, 10.5vw, 54px) !important;
    line-height: 1.28 !important;
    letter-spacing: -.05em;
  }

  .hero h1 span {
    display: inline !important;
  }

  .hero .lead {
    margin-top: 16px;
    font-size: 14.5px;
    line-height: 1.9;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-actions .btn {
    width: 100%;
    height: 56px;
    font-size: 16px;
  }

  .hero-actions .btn-secondary {
    display: none;
  }

  .hero-points {
    order: 3;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow2);
    overflow: hidden;
  }

  .hero-points li {
    width: auto !important;
    min-height: 86px;
    padding: 18px 7px !important;
    border: 0 !important;
    border-right: 1px solid var(--line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 14px !important;
    line-height: 1.45;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-points li:last-child {
    border-right: 0 !important;
  }
}

@media (max-width: 420px) {
  .brand-text strong {
    font-size: 14px !important;
  }

  .hero h1 {
    font-size: 38px !important;
  }

  .hero .lead {
    font-size: 14px;
  }

  .hero-visual {
    aspect-ratio: 1.28 / 1;
  }

  .hero-visual img {
    object-position: 55% center !important;
  }
}

/* v9: mobile hero image position + management layout */
.mobile-hero-inline-visual {
  display: none;
}

/* 経営体制：顔写真を小さくし、余白と読みやすさを調整 */
.management-grid {
  gap: 20px;
}

.management-card,
.management-card-main,
.management-card:not(.management-card-main) {
  grid-template-columns: 190px 1fr !important;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
}

.management-photo,
.management-card:not(.management-card-main) .management-photo {
  width: 170px !important;
  max-width: 170px !important;
  aspect-ratio: 4 / 5;
  justify-self: center;
  border-radius: 22px;
}

.management-card-main .management-photo {
  width: 190px !important;
  max-width: 190px !important;
}

.management-copy h3 {
  font-size: clamp(22px, 2.2vw, 30px);
}

.management-copy .eyebrow {
  margin-bottom: 6px;
}

.management-role {
  margin-bottom: 12px !important;
}

.management-copy p {
  line-height: 1.8;
}

@media (max-width: 820px) {
  /* ファーストビュー：ボタンの下、3ボックスの上に画像を配置 */
  .hero-copy {
    width: 100% !important;
  }

  .hero-grid > .hero-visual {
    display: none !important;
  }

  .mobile-hero-inline-visual {
    display: block;
    width: 100%;
    margin: 22px 0 18px;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(82, 30, 12, .12);
    background: #fff;
  }

  .mobile-hero-inline-visual img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .hero-points {
    margin-top: 0 !important;
  }

  /* 経営体制：スマホでは写真を小さめ中央配置に */
  .management-card,
  .management-card-main,
  .management-card:not(.management-card-main) {
    grid-template-columns: 1fr !important;
    gap: 16px;
    padding: 22px 18px;
  }

  .management-photo,
  .management-card-main .management-photo,
  .management-card:not(.management-card-main) .management-photo {
    width: min(180px, 70%) !important;
    max-width: 180px !important;
    margin: 0 auto;
    border-radius: 22px;
  }

  .management-copy {
    text-align: left;
  }

  .management-copy h3,
  .management-role,
  .management-copy .eyebrow {
    text-align: center;
  }
}

@media (max-width: 420px) {
  .mobile-hero-inline-visual {
    aspect-ratio: 1.28 / 1;
  }

  .mobile-hero-inline-visual img {
    object-position: 55% center;
  }

  .management-photo,
  .management-card-main .management-photo,
  .management-card:not(.management-card-main) .management-photo {
    width: min(160px, 72%) !important;
    max-width: 160px !important;
  }
}

/* Corporate top page redesign */
.home-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff7f1;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
}

.home-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 253, 250, .98) 0%, rgba(255, 253, 250, .88) 34%, rgba(255, 253, 250, .36) 62%, rgba(255, 253, 250, .12) 100%),
    linear-gradient(180deg, rgba(255, 253, 250, .12), rgba(255, 248, 243, .36));
}

.home-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 90px 0;
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 66px);
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 900;
}

.home-hero h1 .accent-line {
  display: block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-hero .lead {
  max-width: 640px;
}

.home-intro {
  background: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 16px;
}

.intro-copy p {
  margin: 0 0 14px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.audience-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow2);
}

.audience-image {
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.audience-image img {
  height: 100%;
  object-fit: cover;
}

.audience-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 24px;
}

.audience-body span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
}

.audience-body h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
}

.audience-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.mini-list {
  display: grid;
  gap: 6px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  position: relative;
  padding-left: 18px;
  color: #4c5568;
  font-size: 14px;
  line-height: 1.55;
}

.mini-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .75em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.audience-body .text-link {
  margin-top: auto;
}

.audience-panel .text-link {
  align-self: flex-start;
  padding-top: 4px;
}

.strength-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.strength-image {
  aspect-ratio: 4 / 3;
}

.strength-image img {
  height: 100%;
  object-fit: cover;
}

.strength-list {
  display: grid;
  gap: 14px;
}

.strength-list article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow2);
}

.strength-list h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.45;
}

.strength-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.proof-card {
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow2);
}

.proof-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 18px;
  line-height: 1.45;
}

.proof-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 230px;
}

/* Business page redesign */
.business-domain-list {
  display: grid;
  gap: 28px;
}

.business-domain {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 30px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--shadow2);
}

.business-domain:nth-child(even) {
  grid-template-columns: 1.12fr .88fr;
}

.business-domain:nth-child(even) .business-domain-visual {
  order: 2;
}

.business-domain:nth-child(even) .business-domain-content {
  order: 1;
}

.business-domain-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  max-height: 420px;
}

.business-domain-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-domain-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.business-domain-content h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.32;
}

.business-domain-content p {
  margin: 0;
  color: var(--muted);
}

.service-page-callout {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(255, 122, 26, .22);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 250, 246, .98), rgba(255, 255, 255, .96));
}

.service-page-callout .eyebrow {
  margin-bottom: 8px;
}

.service-page-callout h4 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
}

.service-page-callout p:not(.eyebrow) {
  margin-bottom: 14px;
  line-height: 1.9;
}

.business-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.business-detail-grid h4 {
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-size: 15px;
}

.business-detail-grid .check-list li {
  font-size: 14px;
}

.business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.consult-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
  padding: 16px 18px;
}

.consult-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

.consult-box p {
  font-size: 14px;
}

.business-contact-section {
  padding-top: 54px;
  padding-bottom: 54px;
}

.business-contact-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow2);
}

.business-contact-note h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
}

.business-contact-note p {
  margin: 0;
  color: var(--muted);
}

/* Company page redesign */
.representative-message {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 42px;
  align-items: center;
}

.representative-message-photo {
  aspect-ratio: 4 / 5;
  max-width: 360px;
  justify-self: center;
}

.representative-message-photo img {
  height: 100%;
  object-fit: cover;
}

.representative-message-copy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow2);
}

.representative-message-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.4;
}

.representative-message-copy p {
  margin: 0 0 14px;
  color: var(--muted);
}

.rep-signature {
  margin-top: 22px !important;
  color: var(--text) !important;
  font-weight: 700;
}

.rep-signature strong {
  font-size: 24px;
}

.company-message {
  max-width: 980px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 40px;
  box-shadow: var(--shadow2);
}

.company-message h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.35;
}

.company-message-lead {
  margin: 0 0 22px;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.55;
  color: var(--primary-dark);
  font-weight: 900;
}

.company-message-body {
  display: grid;
  gap: 14px;
  max-width: 860px;
}

.company-message-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
}

.company-proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.company-management-grid {
  gap: 24px;
}

.company-management-grid .management-card {
  background: #fff;
}

/* About page redesign */
.about-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.about-link-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow2);
}

.about-link-card h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.35;
}

.about-link-card p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow2);
}

.process-grid span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 14px;
}

.process-grid h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.45;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 1040px) {
  .home-hero {
    min-height: 620px;
  }

  .audience-grid,
  .proof-grid,
  .contact-purpose-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .strength-grid,
  .business-domain,
  .business-domain:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .business-domain:nth-child(even) .business-domain-visual,
  .business-domain:nth-child(even) .business-domain-content {
    order: initial;
  }
}

@media (max-width: 820px) {
  .home-hero {
    min-height: auto;
    display: block;
    padding: 0;
    background: #fff8f3;
  }

  .home-hero-bg {
    position: relative;
    height: auto;
    aspect-ratio: 1.18 / 1;
  }

  .home-hero-bg::after {
    background: linear-gradient(180deg, rgba(255, 253, 250, 0) 40%, #fff8f3 100%);
  }

  .home-hero-bg img {
    object-position: 58% center;
  }

  .home-hero-content {
    max-width: none;
    padding: 0 0 36px;
    margin-top: -32px;
  }

  .home-hero h1 {
    font-size: clamp(35px, 9.4vw, 48px);
    line-height: 1.28;
  }

  .section-heading h2 .line,
  .cta-panel h2 .line {
    display: block;
  }

  .home-hero .lead {
    font-size: 15px;
    line-height: 1.9;
  }

  .home-hero .hero-actions .btn {
    width: 100%;
  }

  .home-hero .hero-points {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px !important;
  }

  .home-hero .hero-points li {
    width: 100%;
    min-height: 74px;
    text-align: left;
  }

  .audience-body {
    padding: 22px 18px;
  }

  .audience-body h3 {
    font-size: 22px;
  }

  .strength-list article,
  .proof-card,
  .contact-purpose-card,
  .process-grid article {
    padding: 20px 18px;
  }

  .recruit-notice {
    display: block;
    padding: 24px 18px;
  }

  .recruit-notice .btn {
    width: 100%;
    margin-top: 18px;
  }

  .business-domain {
    padding: 18px;
    gap: 18px;
  }

  .service-page-callout {
    padding: 20px 18px;
  }

  .business-domain-visual {
    aspect-ratio: 16 / 10;
  }

  .business-detail-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .business-actions .btn {
    width: 100%;
  }

  .business-contact-note {
    display: block;
    padding: 22px 18px;
  }

  .business-contact-note .text-link {
    display: inline-flex;
    margin-top: 14px;
  }

  .representative-message {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .representative-message-photo {
    width: min(220px, 72%);
  }

  .representative-message-copy {
    padding: 24px 20px;
  }

  .company-message {
    padding: 26px 20px;
  }

  .company-proof-grid {
    grid-template-columns: 1fr;
  }

  .about-link-grid {
    grid-template-columns: 1fr;
  }

  .about-link-card {
    padding: 24px 20px;
  }

  .cta-actions {
    min-width: 0;
    margin-top: 22px;
  }

  .cta-actions .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .home-hero h1 {
    font-size: 34px;
  }

  .home-hero-bg {
    aspect-ratio: 1 / 1;
  }
}
