/* =========================================================
   ARCHNET DESIGN SYSTEM
   全ページ共通CSS
   - ヘッダー
   - ヒーロー
   - セクション
   - カード
   - CTA
   - フッター
   - レスポンシブ
   ========================================================= */

:root {
  --arch-blue: #163a5f;
  --arch-blue-dark: #102c49;
  --arch-blue-soft: #eaf0f5;
  --arch-bg: #ffffff;
  --arch-bg-light: #f4f7f9;
  --arch-text: #263238;
  --arch-muted: #66737c;
  --arch-border: #dfe6eb;
  --arch-white: #ffffff;
  --arch-shadow: 0 10px 30px rgba(16, 44, 73, .07);
  --arch-shadow-hover: 0 16px 36px rgba(16, 44, 73, .11);
  --arch-radius: 16px;
  --arch-section: 88px;
  --arch-header: 78px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
html, body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
  background: var(--arch-bg) !important;
}
body {
  font-family: "Noto Sans JP", "Roboto", sans-serif !important;
  color: var(--arch-text) !important;
  line-height: 1.8;
}
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
main { position: relative; z-index: 1; background: #fff; }
section { position: relative; }

/* ---------- Header ---------- */
#header.arch-header,
body > #header {
  position: fixed !important;
  inset: 0 0 auto 0;
  width: 100% !important;
  height: var(--arch-header);
  min-height: var(--arch-header);
  z-index: 1000 !important;
  background: rgba(255,255,255,.98) !important;
  box-shadow: 0 2px 18px rgba(0,0,0,.07) !important;
  isolation: isolate;
}
#header::before, #header::after { display: none !important; content: none !important; }
#header > .container {
  height: 100%;
  max-width: 1320px;
  position: relative;
  z-index: 1001;
}
#header .logo {
  flex: 0 0 auto;
  min-width: 210px;
  text-decoration: none;
  color: inherit;
}
#header .logo img {
  display: block;
  width: auto;
  max-height: 50px !important;
}
#header .sitename {
  margin: 0 0 0 10px !important;
  color: #555 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 500;
  white-space: nowrap;
}
#header .navmenu {
  margin-left: auto;
}
#header .navmenu > ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#header .navmenu > ul > li { margin: 0; padding: 0; }
#header .navmenu a {
  display: block;
  padding: 10px 10px;
  color: #33414b !important;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600 !important;
  text-decoration: none;
  white-space: nowrap;
}
#header .navmenu a:hover,
#header .navmenu a.active { color: var(--arch-blue) !important; }
#header .navmenu a.active { font-weight: 800 !important; }
#header .navmenu .nav-contact {
  margin-left: 5px;
  padding: 11px 15px !important;
  background: var(--arch-blue) !important;
  color: #fff !important;
  border-radius: 8px !important;
}
#header .navmenu .nav-contact:hover {
  background: var(--arch-blue-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* ---------- Common typography ---------- */
.arch-section-label,
.dell-section-label,
.label,
.eyebrow,
.problem-eyebrow,
.service-hero .eyebrow,
.case-hero .hero-label,
.contact-hero .eyebrow {
  color: var(--arch-blue) !important;
  font-size: .78rem !important;
  line-height: 1.4;
  font-weight: 800 !important;
  letter-spacing: .16em;
}
.eyebrow,
.problem-eyebrow,
.service-hero .eyebrow,
.case-hero .hero-label,
.contact-hero .eyebrow,
.dell-section-label {
  margin-bottom: 14px !important;
}
.arch-section-title,
.section-head,
.section-heading { margin-bottom: 42px; }
.arch-section-title h2,
.section-head h2,
.section-heading h2,
.section-title {
  margin-top: 8px;
  margin-bottom: 14px;
  color: var(--arch-blue) !important;
  font-weight: 800;
  line-height: 1.45;
}
.arch-section-title p,
.section-head p,
.section-heading p { color: var(--arch-muted); margin-bottom: 0; }

/* ---------- Hero ---------- */
.arch-hero,
.arch-subhero,
.problem-hero,
.service-hero,
.case-hero,
.contact-hero,
.dell-hero {
  margin-top: 0 !important;
  overflow: hidden;
}
.arch-subhero,
.problem-hero,
.service-hero,
.case-hero,
.contact-hero {
  padding: calc(var(--arch-header) + 72px) 0 78px !important;
  background: linear-gradient(135deg, var(--arch-blue) 0%, var(--arch-blue-dark) 100%) !important;
  color: #fff !important;
}
.arch-subhero::after,
.problem-hero::after,
.service-hero::after,
.case-hero::after,
.contact-hero::after,
.dell-hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -160px;
  bottom: -230px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
  pointer-events: none;
}
.arch-subhero > .container,
.problem-hero > .container,
.service-hero > .container,
.case-hero > .container,
.contact-hero > .container { position: relative; z-index: 2; }
.arch-subhero .eyebrow,
.problem-hero .eyebrow,
.service-hero .eyebrow,
.case-hero .hero-label,
.contact-hero .eyebrow {
  color: rgba(255,255,255,.78) !important;
}
.arch-subhero h1,
.problem-hero h1,
.service-hero h1,
.case-hero h1,
.contact-hero h1 {
  margin-bottom: 18px;
  color: #fff !important;
  font-weight: 800;
  line-height: 1.4;
}
.arch-subhero p,
.problem-hero p,
.service-hero p,
.case-hero p,
.contact-hero p {
  margin-bottom: 0;
  color: rgba(255,255,255,.92) !important;
  line-height: 1.9;
}

/* Home hero */
.arch-hero {
  min-height: 660px;
  display: flex;
  align-items: center;
  padding: 150px 0 90px !important;
  background: linear-gradient(135deg, #f4f7f9 0%, #fff 68%) !important;
}
.arch-hero h1 { color: var(--arch-blue); font-weight: 800; line-height: 1.45; }
.arch-hero p { color: var(--arch-muted); }

/* ---------- Common sections ---------- */
.arch-section,
.p-section,
.service-section,
.case-section,
.arch-content-section,
.section,
.contact-section {
  padding: var(--arch-section) 0 !important;
  background: #fff;
}
.arch-section.light,
.p-section.light,
.service-section.light,
.case-section.alt,
.arch-content-section.alt,
.section.bg-light,
.contact-bottom {
  background: var(--arch-bg-light) !important;
}
.arch-section.pt-0,
.arch-content-section.pt-0 { padding-top: 0 !important; }

/* ---------- Generic cards ---------- */
.arch-card,
.p-card,
.service-card,
.case-card,
.strength-card,
.dell-card,
.arch-service-card,
.arch-case-card,
.arch-flow-item,
.support-card,
.contact-card,
.contact-info,
.cta-box,
.message-box {
  background: #fff;
  border: 1px solid var(--arch-border);
  border-radius: var(--arch-radius);
  box-shadow: var(--arch-shadow);
}
.arch-card,
.p-card,
.service-card,
.case-card,
.strength-card,
.dell-card,
.arch-service-card,
.arch-case-card,
.support-card {
  height: 100%;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.arch-card:hover,
.p-card:hover,
.service-card:hover,
.case-card:hover,
.strength-card:hover,
.dell-card:hover,
.arch-service-card:hover,
.arch-case-card:hover,
.support-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--arch-shadow-hover);
  border-color: #cbd7e0;
}

/* Home / common card content */
.arch-card { padding: 28px; }
.arch-card h3,
.p-card h3,
.service-card h3,
.case-card h3,
.strength-card h3,
.dell-card h3,
.arch-service-card h3,
.arch-case-card h3,
.support-card strong {
  color: var(--arch-blue);
  font-weight: 800;
  line-height: 1.5;
}
.arch-card p,
.p-card p,
.service-card p,
.case-card p,
.strength-card p,
.dell-card p,
.arch-service-card p,
.arch-case-card p,
.support-card span { color: var(--arch-muted); }

.arch-number,
.num,
.step-no,
.step-num {
  color: var(--arch-blue);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
}

/* Problem */
.p-card { padding: 30px; }
.p-icon,
.problem-icon,
.service-icon,
.case-icon,
.strength-icon,
.dell-icon,
.story-icon,
.mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--arch-blue-soft) !important;
  color: var(--arch-blue) !important;
  font-size: 1.45rem;
}
.a-card {
  height: 100%;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--arch-border);
  border-radius: 12px;
}
.a-card strong { display: block; color: var(--arch-blue); margin-bottom: 8px; }
.a-card span { display: block; color: var(--arch-muted); }

/* Service */
.service-card { padding: 30px; }
.service-list { padding-left: 1.15rem; color: var(--arch-muted); }
.service-list li + li { margin-top: 5px; }
.arch-service-card { padding: 30px; }
.arch-service-icon { color: var(--arch-blue); font-size: 2rem; margin-bottom: 16px; }
.arch-service-link { color: var(--arch-blue); font-weight: 700; text-decoration: none; }

/* Before / After */
.ba-wrap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
.ba-card,
.ba-panel,
.dell-ba-box,
.story-panel,
.result {
  padding: 30px;
  border: 1px solid var(--arch-border);
  border-radius: 14px;
  background: #fff;
}
.ba-card.before,
.ba-panel.before,
.dell-ba-box.before { border-top: 4px solid #8795a0; }
.ba-card.after,
.ba-panel.after,
.dell-ba-box.after { border-top: 4px solid var(--arch-blue); }
.ba-card h3,
.ba-panel h3,
.dell-ba-box h3,
.story-panel h3,
.result h3 { color: var(--arch-blue); font-weight: 800; }
.ba-card.before h3,
.ba-panel.before h3 { color: #56636c; }
.ba-arrow,
.arch-arrow,
.dell-arrow,
.flow-arrow,
.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--arch-blue);
  font-size: 1.7rem;
}

/* Home Before / After */
.arch-ba-box {
  position: relative;
  height: 100%;
  min-height: 360px;
  padding: 32px 34px;
  background: #fff;
  border: 1px solid var(--arch-border);
  border-radius: var(--arch-radius);
  box-shadow: var(--arch-shadow);
}
.arch-ba-box.before { border-top: 4px solid #8795a0; }
.arch-ba-box.after { border-top: 4px solid var(--arch-blue); }
.arch-ba-title {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--arch-blue);
}
.arch-ba-box.before .arch-ba-title { color: #66737d !important; }
.arch-ba-box h3 {
  margin-bottom: 22px;
  color: var(--arch-blue);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.5;
}
.arch-ba-box.before h3 { color: #56636c; }
.arch-ba-box p {
  margin: 0;
  color: var(--arch-muted);
  font-size: .98rem;
  line-height: 1.55;
  text-align: center;
}
.arch-ba-box p + p { margin-top: 8px; }
.arch-ba-box p:has(+ p) { }
.arch-arrow {
  width: 58px;
  height: 58px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--arch-blue-soft);
  color: var(--arch-blue);
  font-size: 1.45rem;
}

/* Case */
.case-card { padding: 28px; }
.case-tag,
.story-label { color: var(--arch-blue); font-size: .78rem; font-weight: 800; letter-spacing: .05em; }
.case-story { background: #fff; border: 1px solid var(--arch-border); border-radius: var(--arch-radius); box-shadow: var(--arch-shadow); overflow: hidden; }
.story-top { display: flex; gap: 20px; align-items: flex-start; padding: 30px; border-bottom: 1px solid var(--arch-border); }
.story-top .story-icon { flex: 0 0 52px; margin: 0; }
.story-title { margin: 4px 0 0; color: var(--arch-blue); font-weight: 800; }
.story-body { padding: 30px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.story-panel.problem { border-top: 4px solid #8795a0; }
.story-panel.solution { border-top: 4px solid var(--arch-blue); }
.result { margin-top: 20px; background: var(--arch-bg-light); }
.message-box { padding: 34px; }

/* Strength */
.strength-card { padding: 30px; }
.strength-icon { margin-bottom: 14px; }
.strength-message { max-width: 900px; margin: 0 auto; text-align: center; }
.strength-message h3 { color: var(--arch-blue); font-weight: 800; }
.strength-message p { color: var(--arch-muted); }
.arch-strength-item { padding: 20px; border-left: 3px solid var(--arch-blue); background: #fff; }

/* Flow */
.flow-list { margin: 0; padding: 0; list-style: none; }
.flow-step {
  position: relative;
  padding: 25px 28px;
  background: #fff;
  border: 1px solid var(--arch-border);
  border-radius: 12px;
}
.flow-step + .flow-step { margin-top: 16px; }
.arch-flow-item,
.dell-flow-item { padding: 25px; text-align: center; }
.arch-flow-item h3,
.dell-flow-item h3 { color: var(--arch-blue); font-size: 1.05rem; font-weight: 800; }
.step { color: var(--arch-blue); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.flow-note { margin-top: 25px; padding: 22px; background: var(--arch-bg-light); border-radius: 12px; color: var(--arch-muted); }

/* DELL */
.dell-hero {
  padding: calc(var(--arch-header) + 72px) 0 82px !important;
  background: linear-gradient(135deg, #f4f7f9 0%, #fff 70%) !important;
}
.dell-hero h1 { color: var(--arch-blue); font-weight: 800; line-height: 1.4; }
.dell-hero h1 span { color: #253e56; }
.dell-hero .lead { color: var(--arch-muted); }
.dell-note { padding: 25px; background: var(--arch-bg-light); border-left: 4px solid var(--arch-blue); border-radius: 10px; }
.dell-card { padding: 26px; text-align: center; }
.dell-icon { margin-bottom: 15px; }
.dell-ba-box { height: 100%; }
.dell-ba-title { color: var(--arch-blue); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.dell-flow-item { height: 100%; }
.dell-cta,
.arch-page-cta,
.case-cta {
  padding: 78px 0 !important;
  background: var(--arch-blue) !important;
  color: #fff;
}
.dell-cta h2,
.dell-cta p,
.arch-page-cta h2,
.arch-page-cta p,
.case-cta h2,
.case-cta p { color: #fff !important; }

/* ---------- CTA / Buttons ---------- */
.arch-btn,
.arch-btn-light,
.arch-btn-outline,
.problem-cta-btn,
.cta-btn,
.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 8px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: .2s ease;
}
.arch-btn,
.problem-cta-btn,
.cta-btn,
.contact-submit {
  background: var(--arch-blue) !important;
  border: 2px solid var(--arch-blue) !important;
  color: #fff !important;
}
.arch-btn:hover,
.problem-cta-btn:hover,
.cta-btn:hover,
.contact-submit:hover {
  background: var(--arch-blue-dark) !important;
  border-color: var(--arch-blue-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.arch-btn-light {
  background: #fff !important;
  border: 2px solid #fff !important;
  color: var(--arch-blue) !important;
}
.arch-btn-light:hover { background: transparent !important; color: #fff !important; }
.arch-btn-outline {
  background: #fff !important;
  border: 2px solid var(--arch-blue) !important;
  color: var(--arch-blue) !important;
}
.arch-btn-outline:hover { background: var(--arch-blue) !important; color: #fff !important; }
.cta-box { padding: 48px 30px; text-align: center; }

/* ---------- Contact ---------- */
.contact-card { padding: 36px; }
.contact-info {
  height: 100%;
  padding: 30px;
  background: var(--arch-bg-light);
  box-shadow: none;
}
.contact-note {
  margin-bottom: 28px;
  padding: 18px 20px;
  background: var(--arch-bg-light);
  border-left: 4px solid var(--arch-blue);
  border-radius: 8px;
  color: var(--arch-muted);
}
.form-label { color: #34434d; font-weight: 700; }
.form-control,
.form-select {
  min-height: 48px;
  border-color: #cfd9e0 !important;
  border-radius: 8px !important;
}
textarea.form-control { min-height: 180px; resize: vertical; }
.form-control:focus,
.form-select:focus {
  border-color: var(--arch-blue) !important;
  box-shadow: 0 0 0 .2rem rgba(22,58,95,.12) !important;
}
.required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  background: #b42318 !important;
  color: #fff;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 700;
}
.contact-info-item { display: flex; gap: 15px; align-items: flex-start; margin: 22px 0; }
.contact-info-item > i { color: var(--arch-blue); font-size: 1.4rem; }
.contact-info-item strong { display: block; color: var(--arch-blue); font-size: .75rem; letter-spacing: .08em; }
.contact-info-item a { color: var(--arch-blue); font-weight: 700; text-decoration: none; }
.contact-info-item span { color: var(--arch-muted); }

/* ---------- Footer ---------- */
#footer {
  position: relative !important;
  z-index: 2 !important;
  background: #102c49 !important;
  color: rgba(255,255,255,.78) !important;
}
#footer .footer-top { padding-top: 65px; padding-bottom: 45px; }
#footer .logo { color: #fff !important; text-decoration: none; }
#footer .sitename { color: #fff !important; font-weight: 800; }
#footer .footer-contact p,
#footer .footer-links li,
#footer .footer-links a,
#footer .footer-links p { color: rgba(255,255,255,.75) !important; }
#footer .footer-links h4 { color: #fff !important; font-weight: 700; }
#footer .footer-links ul { list-style: none; margin: 0; padding: 0; }
#footer .footer-links li { margin-bottom: 9px; }
#footer .footer-links a { text-decoration: none; }
#footer .footer-links a:hover { color: #fff !important; }
#footer .social-links { gap: 9px; }
#footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: #fff !important;
  text-decoration: none;
}
#footer .copyright {
  padding: 20px 0 25px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.62);
}
#footer iframe { max-width: 100%; }

/* ---------- Send result ---------- */
.send-result {
  min-height: calc(100vh - var(--arch-header));
  padding: calc(var(--arch-header) + 70px) 20px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--arch-bg-light);
}
.send-card {
  width: min(760px, 100%);
  padding: 50px 40px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--arch-border);
  border-radius: var(--arch-radius);
  box-shadow: var(--arch-shadow);
}
.send-card h2 { margin-bottom: 18px; color: var(--arch-blue); font-weight: 800; }
.send-card p { color: var(--arch-muted); line-height: 1.9; }
.send-card a { margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  :root { --arch-header: 74px; }
  #header .logo { min-width: 185px; }
  #header .navmenu a { padding: 9px 7px; font-size: 12px; }
  #header .navmenu .nav-contact { padding: 10px 11px !important; }
}

@media (max-width: 991.98px) {
  :root { --arch-section: 72px; }
  #header > .container { max-width: 100%; }
  #header .logo { min-width: 175px; }
  #header .sitename { font-size: 11px !important; }
  #header .navmenu {
    max-width: calc(100% - 180px);
    overflow-x: auto;
    scrollbar-width: thin;
  }
  #header .navmenu > ul { width: max-content; }
  .ba-wrap { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); }
  .story-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  :root { --arch-header: 64px; --arch-section: 58px; }
  #header.arch-header,
  body > #header { height: auto; min-height: 64px; }
  #header > .container {
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
    flex-wrap: wrap;
  }
  #header .logo { min-width: 0; }
  #header .logo img { max-height: 40px !important; }
  #header .sitename { display: none; }
  #header .navmenu {
    width: 100%;
    max-width: 100%;
    margin-top: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  #header .navmenu > ul { gap: 0; }
  #header .navmenu a { padding: 7px 9px; font-size: 12px; }
  #header .navmenu .nav-contact { margin-left: 3px; padding: 8px 11px !important; }

  .arch-hero { min-height: 600px; padding: 145px 0 70px !important; }
  .arch-subhero,
  .problem-hero,
  .service-hero,
  .case-hero,
  .contact-hero,
  .dell-hero { padding: 132px 0 58px !important; }
  .arch-subhero h1,
  .problem-hero h1,
  .service-hero h1,
  .case-hero h1,
  .contact-hero h1,
  .dell-hero h1 { font-size: 1.8rem; }
  .arch-section-title,
  .section-head,
  .section-heading { margin-bottom: 30px; }
  .arch-card,
  .p-card,
  .service-card,
  .case-card,
  .strength-card,
  .dell-card,
  .arch-service-card,
  .arch-case-card,
  .support-card { padding: 24px; }
  .story-top,
  .story-body,
  .ba-card,
  .ba-panel,
  .dell-ba-box,
  .message-box { padding: 24px; }
  .contact-card { padding: 24px; }
  .arch-ba-box {
    min-height: 0;
    padding: 26px 24px;
  }
  .arch-arrow {
    transform: rotate(90deg);
    margin: 4px auto;
  }
  .send-card { padding: 36px 24px; }
  #footer .footer-top { padding-top: 50px; padding-bottom: 30px; }
}
