:root {
  --ink: #102642;
  --muted: #60738b;
  --blue: #1477e8;
  --blue-deep: #075bbb;
  --blue-soft: #eaf4ff;
  --pale: #f5f9ff;
  --line: #d9e8f8;
  --white: #fff;
  --green: #0b8a76;
  --shadow: 0 20px 55px rgba(20, 119, 232, .12);
  --radius: 24px;
  --content: 1180px;
  --brand:#1477e8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI",
    "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
/* 修复下拉框、输入框尺寸异常过大BUG */
select {
  min-height: 48px;
  padding: 0 12px;
  appearance: auto;
}
/* 复选框标签高度压缩，修复单选柜过高 */
.checks label {
  min-height: auto !important;
  padding: 7px 9px !important;
  align-items: center;
}
.checks input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(22px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid rgba(217, 232, 248, .9);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 900; letter-spacing: .08em; }
.brand b { color: var(--blue); font-size: .76rem; }
.nav { display: flex; align-items: center; gap: 24px; font-size: .86rem; font-weight: 750; }
.nav a:not(.button):hover { color: var(--blue); }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--ink); font-size: 1.5rem; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(20, 119, 232, .18);
}
.button:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.button.secondary { background: #fff; color: var(--blue); box-shadow: none; }
.button.light { border-color: #fff; background: #fff; color: var(--blue-deep); }
.button.small { min-height: 42px; padding: 0 17px; font-size: .8rem; }
.button.full { width: 100%; }
.hero {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 64px;
  align-items: center;
  min-height: 640px;
  padding: 70px max(22px, calc((100vw - var(--content)) / 2));
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 10%, rgba(89, 170, 255, .22), transparent 31%),
    linear-gradient(180deg, #fff 0%, #f6faff 100%);
}
.hero-copy { max-width: 650px; }
.kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: .83rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.hero h1, .page-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.19;
  letter-spacing: -.045em;
  word-break: keep-all;
}
.hero h1 em { color: var(--blue); font-style: normal; }
.lead { margin: 24px 0 0; color: #344f6e; font-size: 1.12rem; font-weight: 650; line-height: 1.9; }
.support { margin: 12px 0 0; color: var(--muted); font-size: .91rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: .76rem; }
.hero-visual { position: relative; min-height: 430px; }
.survey-card, .drawing-card, .digital-mini {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}
.survey-card {
  top: 22px;
  left: 0;
  width: 46%;
  min-height: 265px;
  padding: 22px;
  transform: rotate(-3deg);
}
.drawing-card {
  right: 0;
  top: 5px;
  width: 63%;
  min-height: 340px;
  padding: 18px;
  transform: rotate(2deg);
}
.digital-mini {
  right: 24px;
  bottom: 0;
  width: 43%;
  padding: 13px;
}
.visual-label { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: .67rem; font-weight: 900; }
.scanner-card-image { display: block; width: 100%; height: 145px; margin: 18px auto 10px; border-radius: 14px; object-fit: cover; object-position: center; }
.floorplan { position: relative; height: 258px; margin-top: 14px; border: 3px solid #24466d; background: linear-gradient(90deg, transparent 49%, rgba(34, 83, 132, .08) 50%), #fff; }
.floorplan::before, .floorplan::after { content: ""; position: absolute; background: #24466d; }
.floorplan::before { left: 39%; top: 0; bottom: 33%; width: 3px; }
.floorplan::after { left: 0; right: 0; top: 56%; height: 3px; }
.floorplan .wall-a { position: absolute; right: 28%; top: 56%; bottom: 0; width: 3px; background: #24466d; }
.floorplan .wall-b { position: absolute; left: 39%; right: 0; top: 30%; height: 3px; background: #24466d; }
.floorplan .room-name { position: absolute; color: #55708e; font-size: .68rem; font-weight: 750; }
.floorplan .r1 { left: 12%; top: 22%; }
.floorplan .r2 { right: 16%; top: 12%; }
.floorplan .r3 { left: 13%; bottom: 15%; }
.floorplan .r4 { right: 7%; bottom: 14%; }
.dimension { position: absolute; color: var(--blue); font-size: .56rem; }
.d1 { left: 6%; bottom: -2px; }
.d2 { right: -4px; top: 34%; transform: rotate(90deg); }
.floorplan-image { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.floorplan-image img { display: block; width: 100%; height: auto; object-fit: contain; }
.hero-floorplan { margin-top: 12px; border: 0; border-radius: 10px; }
.hero-floorplan img { height: 292px; }
.deliverable-floorplan { padding: 18px; box-shadow: var(--shadow); }
.deliverable-floorplan img { max-height: 620px; }
.deliverable-floorplan figcaption { padding-top: 10px; color: var(--muted); font-size: .72rem; text-align: center; }
.digital-window { height: 96px; border-radius: 13px; background: linear-gradient(140deg, rgba(13, 80, 142, .25), transparent), linear-gradient(32deg, #b9ddf4 0 48%, #f5f1e7 49% 74%, #e7f2f8 75%); overflow: hidden; }
.digital-window::after { content: ""; display: block; width: 70%; height: 65%; margin: 18px auto 0; border: 2px solid rgba(255,255,255,.85); border-bottom: 0; transform: perspective(150px) rotateX(12deg); }
.digital-site-image { display: block; width: 100%; object-fit: contain; object-position: center; background: #eef0f2; }
.digital-mini .digital-site-image { height: 96px; border-radius: 13px; }
.digital-mini b { display: block; margin-top: 8px; font-size: .76rem; }
.section { padding: 88px max(22px, calc((100vw - var(--content)) / 2)); }
.section.pale { background: var(--pale); }
.section.dark { background: var(--ink); color: #fff; }
.section-heading { max-width: 780px; margin: 0 auto 42px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section h2, .page-hero h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.36;
  letter-spacing: -.035em;
}
.section-heading > p:last-child { margin: 14px 0 0; color: var(--muted); }
.dark .section-heading > p:last-child { color: #c6d5e5; }
.problem-grid, .audience-grid, .deliverable-grid, .option-grid, .faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.problem-card, .audience-card, .option-card, .info-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.problem-card span, .audience-card span { color: #a9cff5; font-size: 1.12rem; font-weight: 900; }
.problem-card h3, .audience-card h3, .option-card h3 { margin: 9px 0 8px; font-size: 1.08rem; }
.problem-card p, .audience-card p, .option-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.value-bridge {
  padding: 55px max(22px, calc((100vw - var(--content)) / 2));
  background: linear-gradient(120deg, #0871df, #41a0f5);
  color: #fff;
  text-align: center;
}
.value-bridge h2 { max-width: 900px; margin: 0 auto; font-size: clamp(1.75rem, 3.2vw, 2.7rem); line-height: 1.45; }
.value-bridge p { max-width: 850px; margin: 14px auto 0; color: #e9f5ff; }
.primary-deliverable {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
}
.primary-deliverable .floorplan { height: 430px; padding: 20px; background-color: #fff; box-shadow: var(--shadow); }
.feature-list { display: grid; gap: 11px; margin: 24px 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 25px; color: #38536f; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.use-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.use-tags span { padding: 7px 12px; border: 1px solid #cfe2f6; border-radius: 999px; background: #fff; color: #44627f; font-size: .74rem; font-weight: 750; }
.notice { margin-top: 24px; padding: 17px 19px; border-left: 4px solid var(--blue); border-radius: 0 14px 14px 0; background: var(--pale); color: var(--muted); font-size: .84rem; }
.digital-layout, .technology-layout, .scope-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 52px;
  align-items: center;
}
.browser-card { padding: 13px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.browser-top { display: flex; gap: 6px; padding: 0 0 10px; }
.browser-top i { width: 9px; height: 9px; border-radius: 50%; background: #c5d4e5; }
.browser-card .digital-window { height: 310px; }
.browser-card .digital-site-image { height: 310px; border-radius: 13px; }
.browser-caption { display: flex; justify-content: space-between; gap: 12px; padding: 12px 4px 2px; color: var(--muted); font-size: .72rem; }
.purpose-flow, .process-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  margin-top: 34px;
}
.purpose-flow article, .process-grid article {
  position: relative;
  padding: 20px 15px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
}
.purpose-flow article:not(:last-child)::after, .process-grid article:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -10px;
  z-index: 2;
  color: #78b8f5;
  font-weight: 900;
}
.purpose-flow b, .process-grid b { display: block; font-size: .83rem; }
.purpose-flow small, .process-grid small { display: block; margin-top: 7px; color: var(--muted); font-size: .68rem; line-height: 1.55; }
.purpose-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 28px; }
.purpose-list span { padding: 7px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.08); color: #deebf8; font-size: .73rem; }
.price-panel {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 28px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}
.price-main { padding: 28px; border-radius: 22px; background: linear-gradient(145deg, #0f74df, #3a9df5); color: #fff; }
.price-main .plan-name { font-size: .82rem; font-weight: 900; }
.price-main .amount { display: block; margin-top: 18px; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; line-height: 1.1; letter-spacing: -.04em; }
.price-main .tax { font-size: .85rem; font-weight: 750; }
.price-main .scope { margin: 18px 0 26px; color: #eaf5ff; font-size: .83rem; }
.price-content h3 { margin-top: 0; }
.price-note { margin: 22px 0 0; color: var(--muted); font-size: .79rem; }
.price-table { width: 100%; border-collapse: collapse; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.price-table th, .price-table td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table th { width: 42%; color: var(--ink); font-size: .86rem; }
.price-table td { color: var(--muted); font-size: .82rem; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.option-price { display: block; margin-top: 18px; color: var(--blue); font-size: 1.3rem; font-weight: 900; }
.technology-layout { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; }
.scanner-illustration { width: 100%; max-width: 560px; aspect-ratio: 3 / 2; margin: 0 auto; border: 1px solid #2c4968; border-radius: 26px; background: #f5faff; overflow: hidden; }
.scanner-technology-image { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.tech-chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 26px; }
.tech-chain span { padding: 14px 10px; border: 1px solid #355270; border-radius: 14px; background: rgba(255,255,255,.05); text-align: center; color: #d9e8f8; font-size: .73rem; }
.dark p { color: #c5d4e4; }
.page-hero { padding: 80px max(22px, calc((100vw - 980px) / 2)); background: linear-gradient(180deg, #f1f7ff, #fff); text-align: center; }
.page-hero.page-hero-left { padding-bottom: 60px; text-align: left; background: transparent; }
.page-hero p { max-width: 760px; margin: 20px auto 0; color: var(--muted); }
.breadcrumb { margin-bottom: 14px; color: var(--blue); font-size: .74rem; font-weight: 800; }
.content-narrow { max-width: 860px; margin: 0 auto; }
.content-narrow h2 { margin-top: 48px; font-size: 1.8rem; }
.content-narrow h3 { margin-top: 30px; }
.content-narrow p, .content-narrow li { color: #445f7b; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.faq-list { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
details.faq { border: 1px solid var(--line); border-radius: 16px; background: #fff; }
details.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 19px 21px; cursor: pointer; font-weight: 800; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--blue); font-size: 1.3rem; }
details.faq[open] summary::after { content: "−"; }
details.faq p { margin: 0; padding: 0 21px 20px; color: var(--muted); }
.contact-section { background: linear-gradient(135deg, #0b62c3, #2089eb); color: #fff; }
.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 48px; }
.contact-section p { color: #e5f2ff; }
.contact-form { padding: 32px; border-radius: 26px; background: #fff; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .fieldset-label { font-size: .78rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #cddff1;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.checks label { display: flex; gap: 7px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: .74rem; font-weight: 600; }
.form-help { margin: 9px 0 0; color: var(--muted) !important; font-size: .7rem; }
.form-message { display: none; margin: 14px 0 0; padding: 12px; border-radius: 10px; background: #e8f7f3; color: #08745f !important; font-size: .78rem; }
.form-message.error { background: #ffe9e9; color: #b82626 !important; }
.exterior-entry { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; border-top: 1px solid var(--line); }
.house-icon { display: grid; width: 190px; height: 150px; place-items: center; border-radius: 25px; background: var(--blue-soft); color: var(--blue); font-size: 4.7rem; }
.house-icon small { display: block; font-size: .7rem; font-weight: 800; }
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 36px max(22px, calc((100vw - var(--content)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .76rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }

/* ========== レスポンシブ共通 ========== */
@media (max-width: 960px) {
  .nav { position: absolute; top: 76px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 22px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 11px 3px; }
  .nav .button { margin-top: 8px; }
  .nav-toggle { display: block; }
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 42px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 400px; width: min(690px, 100%); margin: 0 auto; }
  .primary-deliverable, .digital-layout, .technology-layout, .scope-layout, .price-panel, .contact-layout { grid-template-columns: 1fr; }
  .purpose-flow, .process-grid { grid-template-columns: repeat(3, 1fr); }
  .purpose-flow article:nth-child(3)::after, .process-grid article:nth-child(3)::after { display: none; }
}
@media (max-width: 640px) {
  .site-header { min-height: 66px; }
  .nav { top: 66px; }
  .hero, .section { padding-left: 18px; padding-right: 18px; }
  .hero { padding-top: 44px; padding-bottom: 52px; }
  .hero h1, .page-hero h1 { font-size: 1.8rem; }
  .lead { font-size: 1rem; }
  .actions { display: grid; }
  .button { width: 100%; }
  .hero-visual { min-height: 345px; }
  .survey-card { width: 48%; min-height: 220px; padding: 15px; }
  .drawing-card { width: 67%; min-height: 280px; padding: 12px; }
  .hero-floorplan img { height: 235px; }
  .deliverable-floorplan { padding: 10px; }
  .digital-mini { right: 7px; width: 48%; }
  .floorplan { height: 208px; }
  .scanner-card-image { height: 118px; margin-top: 12px; }
  .problem-grid, .audience-grid, .deliverable-grid, .option-grid, .two-column { grid-template-columns: 1fr; }
  .section { padding-top: 68px; padding-bottom: 68px; }
  .section-heading { margin-bottom: 30px; text-align: left; }
  .section h2 { font-size: 2rem; }
  .primary-deliverable .floorplan { height: 330px; }
  .purpose-flow, .process-grid { grid-template-columns: 1fr; }
  .purpose-flow article:not(:last-child)::after, .process-grid article:not(:last-child)::after { content: "↓"; top: auto; right: 50%; bottom: -18px; }
  .price-panel { padding: 18px; }
  .price-main { padding: 24px 20px; }
  .price-table th, .price-table td { display: block; width: 100%; padding: 10px 13px; }
  .price-table th { padding-bottom: 0; border-bottom: 0; }
  .browser-card .digital-window { height: 230px; }
  .browser-card .digital-site-image { height: 230px; }
  .tech-chain { grid-template-columns: 1fr 1fr; }
  .exterior-entry { grid-template-columns: 1fr; }
  .house-icon { width: 100%; height: 120px; }
  .contact-form { padding: 22px 16px; }
  .form-grid, .checks { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
}

/* ===================== company.html 専用追加スタイル（ファイル最後に配置） ===================== */
.wrap {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 max(22px, calc((100vw - var(--content)) / 2));
}
.fade-in {
  width: 100%;
}
/* 2列 / 3列グリッド */
.grid-col2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 60px;
}
.grid-col3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* サブタイトル */
.sub-title {
  font-size: 1.2rem;
  color: var(--muted);
  font-weight: normal;
  display: block;
  margin-top: 6px;
}
/* テキストリンク */
.text-link {
  color: var(--blue);
}
.text-link:hover {
  text-decoration: underline;
}
/* 経営者プロフィール */
.executive-item {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.executive-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.executive-item h3 {
  margin: 0 0 8px;
}
.executive-item p {
  margin: 0;
  color: var(--muted);
}
/* 薄文字 */
.text-muted {
  color: var(--muted);
  margin: 0;
}
/* ビジョンカード */
.vision-main-card {
  margin-bottom: 28px;
}
.vision-heading {
  font-size: 1.2rem;
}
/* アイコン付き見出し */
.icon-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
}
.icon-heading i, .icon-list-item i {
  color: var(--brand);
}
.icon-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* 事業カードアイコン */
.business-icon {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}
.business-card-item h3 {
  margin: 0 0 8px;
}
/* CTAお問合せセクション */
.cta-section {
  background: linear-gradient(180deg,#fff,#f6f9ff);
  padding: 65px 0;
}
.cta-wrap {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.cta-wrap p {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 35px;
  line-height: 1.8;
}
.cta-btn {
  padding: 0.9rem 2.2rem;
  font-size: 17px;
}

/* モバイル対応：2列3列グリッド1列表示 */
@media (max-width: 960px) {
  .grid-col2,
  .grid-col3 {
    grid-template-columns: 1fr;
  }
}