@charset "UTF-8";

/* ==========================================================================
   1. Design Tokens & Variables (全ページ共通の定義)
   ========================================================================== */
:root {
  /* Brand Colors */
  --c-primary: #ff3300;
  --c-primary-dark: #cc2900;
  --c-primary-soft: rgba(255, 51, 0, 0.08);

  /* Platform Colors */
  --c-aws: #FF9900;
  --c-azure: #0078D4;

  /* Text Colors */
  --c-text-main: #1a1f26;
  --c-text-body: #4a5568;
  --c-text-muted: #718096;

  /* Backgrounds */
  --c-bg-body: #ffffff;
  --c-bg-panel: #f8fafc;
  --c-bg-surface: #ffffff;
  
  /* Borders */
  --c-border: #e2e8f0;
  --c-border-hover: #cbd5e0;

  /* Layout & Spacing */
  --max-w: 1140px;
  --header-h: 70px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  /* Typography */
  --font-base: "Inter", "Noto Sans JP", sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 30px -3px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 10px 20px -5px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   2. Reset & Base Styles
   ========================================================================== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--c-text-body);
  background: var(--c-bg-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
img { max-width: 100%; height: auto; display: block; }

/* Media card: unified image framing */
.media-card {
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #fff;
  border: none;
  padding: 0;
  box-sizing: border-box;
  box-shadow: none !important;
}
.media-card img {
  border-radius: 10px !important;
  box-shadow: none !important;
  filter: saturate(0.95);
}
.media-card.no-clip {
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent;
}
.media-card.no-clip img {
  border-radius: 0 !important;
  filter: none;
}
.vision-image-box.media-card {
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.10) !important;
}

/* Utility */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

/* ==========================================================================
   3. Common Components (Buttons, Badges, Icons)
   ========================================================================== */
/* --- Standard Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 51, 0, 0.3);
}
.btn-primary:hover {
  background: var(--c-primary-dark);
  box-shadow: 0 6px 16px rgba(255, 51, 0, 0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--c-text-main);
  border-color: var(--c-border);
}
.btn-ghost:hover {
  background: var(--c-bg-panel);
  border-color: var(--c-border-hover);
  color: var(--c-primary);
}

.btn-white-glass {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-white-glass:hover {
  background: rgba(255,255,255,0.25);
}

/* --- Card Detail Buttons (Unified Design) --- */
.btn-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  background-color: #f1f5f9; /* 統一グレー */
  color: #1a1f26;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-detail:hover {
  background-color: #e2e8f0; /* ホバー時のみ少し濃く */
  transform: translateY(-1px);
}

.btn-detail svg {
  color: #718096;
}

/* --- Badges --- */
.pill {
  display: inline-flex;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 4px 10px; border-radius: 6px;
  background: var(--c-primary-soft); color: var(--c-primary);
}

.badge-sm { font-size: 10px; padding: 2px 6px; border-radius: 4px; background: #eff6ff; color: #3b82f6; border: 1px solid #dbeafe; font-weight: 700; }
.badge-red { background: #fef2f2; color: #ef4444; border-color: #fee2e2; }

/* --- Icons --- */
.icon-box {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--c-border); border-radius: 12px;
  color: var(--c-text-main); box-shadow: var(--shadow-sm); flex-shrink: 0;
}
.icon-box svg { width: 24px; height: 24px; }

/* ==========================================================================
   4. Header Styles
   ========================================================================== */
header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex; align-items: center;
}

.nav-container {
  display: flex; justify-content: space-between; align-items: center;
}

.brand {
  display: flex; align-items: center;
  text-decoration: none; opacity: 1; transition: opacity 0.2s;
}
.brand:hover { opacity: 0.7; }
.brand-logo { height: 32px; width: auto; display: block; }

.nav-links { display: flex; gap: 24px; margin: 0 24px; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--c-text-body);
}
.nav-links a:hover { color: var(--c-primary); }

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

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-ghost { display: none; }
}

/* ==========================================================================
   5. Global Sections & Layouts
   ========================================================================== */
section { padding: 80px 0; border-bottom: 1px solid var(--c-border); }
section:last-of-type { border-bottom: none; }

/* Headers */
.sec-header {
  margin-bottom: 48px;
  display: flex; flex-direction: column; gap: 16px;
}
.sec-header h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  color: var(--c-text-main);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.sec-header p {
  max-width: 720px; font-size: 16px; color: var(--c-text-muted);
}
.sec-header--center {
  text-align: center; align-items: center;
}

/* Grids */
.grid-3 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px;
}
.grid-2 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 32px;
}
@media (max-width: 600px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   6. Common Cards (Generic)
   ========================================================================== */
.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  display: flex; flex-direction: column;
  height: 100%;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-border-hover);
}
.card h3 {
  font-size: 20px; font-weight: 700; color: var(--c-text-main); margin: 20px 0 12px;
}
.card p {
  font-size: 15px; color: var(--c-text-body); margin-bottom: 24px; flex-grow: 1;
}

/* ★復活: Checklist inside cards (箇条書きの赤い丸) ★ */
.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-body);
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px;
  background: var(--c-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--c-primary-soft);
}

/* Platform Title (for Top Page) */
.platform-title {
  font-size: 26px; font-weight: 900; color: #1a1f26;
  letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.2;
}

/* Card Header Flex Layout */
.card-header-flex {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; margin-bottom: 24px;
}
.card-header-content { flex: 1; }
.card-partner-badge,
.card-partner-badge-right {
  max-width: 140px; height: auto; display: block;
}

/* Link Lists inside Cards */
.service-sub-list {
  margin-top: 24px; display: flex; flex-direction: column; gap: 12px;
}
.service-link-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: #fff; border: 1px solid var(--c-border);
  border-radius: 12px; text-decoration: none; transition: all 0.2s ease;
}
.service-link-item:hover {
  border-color: var(--c-primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transform: translateX(4px);
}
.link-title { font-size: 15px; font-weight: 700; color: var(--c-text-main); display: flex; align-items: center; gap: 8px; }
.link-desc { font-size: 12px; color: var(--c-text-muted); }
.link-arrow { color: var(--c-border-hover); transition: color 0.2s; }
.service-link-item:hover .link-arrow { color: var(--c-primary); }

/* Certification Box (GCP/K8s) */
.cert-container { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.cert-box { background: #f8fafc; border: 1px solid var(--c-border); border-radius: 12px; padding: 16px; }
.cert-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cert-badge { background: var(--c-text-main); color: #fff; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 4px; }
.cert-title { font-size: 14px; font-weight: 700; color: var(--c-text-main); line-height: 1.4; }
.cert-desc { font-size: 12px; color: var(--c-text-body); line-height: 1.6; margin: 0; }

@media (max-width: 600px) {
  .card-header-flex { flex-direction: column; text-align: center; gap: 16px; }
}

/* ==========================================================================
   7. Top Page Specific (Hero, Flow, FAQ, Contact)
   ========================================================================== */
/* Hero Section */
.hero {
  position: relative; padding: 100px 0 120px;
  background-color: #0f172a;
  background-image: 
    radial-gradient(circle at 90% 10%, rgba(255, 51, 0, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  background-position: center; color: #fff; overflow: hidden;
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 99px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  font-size: 13px; font-weight: 700; margin-bottom: 24px; backdrop-filter: blur(4px);
}
.hero-tag span { width: 6px; height: 6px; background: #ff3300; border-radius: 50%; box-shadow: 0 0 8px #ff3300; }
.hero h1 {
  font-size: clamp(36px, 5vw, 64px); line-height: 1.1; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 20px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
  background: linear-gradient(to right, #ffffff, #cbd5e0); -webkit-background-clip: text;
}
.hero p {
  font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 540px; line-height: 1.6;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-features { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); }
.hero-features span { display: flex; align-items: center; gap: 6px; }
.hero-features svg { width: 16px; height: 16px; color: var(--c-primary); }

/* Service Visual (TOP Lineup placeholder) */
.service-visual {
  height: 140px; background: var(--c-bg-panel); border-radius: var(--radius-md);
  display: grid; place-items: center; margin-bottom: 24px; border: 1px solid var(--c-border);
}
.service-logo { font-size: 24px; font-weight: 900; color: #cbd5e0; display: flex; align-items: center; gap: 8px; }

/* Flow Section */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow-card { position: relative; padding: 24px; background: var(--c-bg-panel); border-radius: var(--radius-md); border: 1px dashed var(--c-border); }
.flow-num { font-size: 40px; font-weight: 900; color: rgba(0,0,0,0.05); position: absolute; top: 10px; right: 20px; line-height: 1; }
@media (max-width: 900px) { .flow-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .flow-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-container { max-width: 800px; }
details {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-md);
  margin-bottom: 16px; overflow: hidden; transition: all 0.2s;
}
details[open] { background: var(--c-bg-panel); border-color: var(--c-border-hover); }
summary {
  padding: 20px 24px; font-weight: 700; color: var(--c-text-main);
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--c-text-muted); }
details[open] summary::after { content: "−"; }
.faq-ans { padding: 0 24px 24px; font-size: 15px; color: var(--c-text-body); line-height: 1.8; }

/* Contact Form */
.contact-sec { background: linear-gradient(135deg, #fff5f2, #fff); }
.form-box { background: #fff; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--c-border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 700; color: var(--c-text-main); }
input, select, textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 16px; transition: 0.2s; background: var(--c-bg-panel);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--c-primary); background: #fff; box-shadow: 0 0 0 3px var(--c-primary-soft);
}
textarea { height: 120px; resize: vertical; }
@media (max-width: 768px) { .form-grid { grid-template-columns: 1fr; } .form-box { padding: 24px; } }

/* ==========================================================================
   8. Sub-Page Specific (AWS/Azure Top etc.)
   ========================================================================== */
/* Page Hero */
.page-hero {
  background: #0f172a;
  background-image: 
    radial-gradient(circle at 85% 15%, rgba(255, 153, 0, 0.15) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  padding: 80px 0 100px;
  color: #fff;
}
.page-hero--azure {
  background-image: 
    radial-gradient(circle at 85% 15%, rgba(0, 120, 212, 0.15) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}
.page-hero h1 {
  font-size: clamp(32px, 4vw, 56px); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 20px;
}
.page-hero p {
  font-size: 18px; color: rgba(255,255,255,0.85); max-width: 600px;
}
.hero-breadcrumb {
  font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 16px; display: flex; gap: 8px; align-items: center;
}
.hero-breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* Partner Badge Section */
.partner-sec { margin-top: -60px; padding-bottom: 80px; position: relative; z-index: 10; }
.partner-box {
  background: #fff; border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--c-border);
  display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center;
}
.partner-content h2 { font-size: 24px; font-weight: 800; color: var(--c-text-main); margin-bottom: 16px; }
.partner-content p { font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.partner-cert-img { width: 100%; height: auto; border: 1px solid var(--c-border); border-radius: 8px; padding: 10px; }
@media (max-width: 900px) {
  .partner-box { grid-template-columns: 1fr; gap: 30px; }
  .partner-cert-img { max-width: 200px; margin: 0 auto; }
}

/* Service Cards (AWS/Azure Lineup) */
.aws-services { padding: 80px 0; }
.service-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.aws-card {
  position: relative; /* ★重要：リンクがはみ出さないように設定 */
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-md);
  padding: 28px; transition: all 0.3s; display: flex; flex-direction: column;
}

/* Hover Effect for Service Cards (Integrated from overrides) */
.aws-card:hover {
  border-color: var(--c-aws);
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}
.aws-card.azure-card:hover {
  border-color: var(--c-azure);
}

/* Ensure button stays gray on card hover */
.aws-card:hover .btn-detail,
.aws-card.azure-card:hover .btn-detail {
  background-color: #e2e8f0;
  color: #1a1f26;
}

.aws-icon {
  width: 48px; height: 48px; background: #fff7ed; color: var(--c-aws);
  border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
}
.azure-icon { background: #eff6ff; color: var(--c-azure); }

.aws-card h3 { font-size: 18px; font-weight: 800; color: var(--c-text-main); margin-bottom: 12px; }
.aws-card p { font-size: 14px; color: var(--c-text-body); line-height: 1.7; flex-grow: 1; }
.card-action { margin-top: auto; padding-top: 20px; }

@media (max-width: 900px) { .service-grid-3 { grid-template-columns: 1fr; } }

/* ==========================================================================
   9. Professional Team Section (Certifications)
   ========================================================================== */
.pro-team-sec {
  padding: 80px 0; background-color: #fff;
}

.cert-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; margin-top: 40px;
}

.cert-card {
  width: calc(33.333% - 22px);
  display: flex; flex-direction: column;
  align-items: center; text-align: center; /* センター揃え */
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-md);
  padding: 32px 24px; transition: transform 0.3s;
}
.cert-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-md);
}

.cert-badge-img {
  width: 120px; height: 120px; object-fit: contain; margin-bottom: 20px;
}
.cert-title {
  font-size: 15px; font-weight: 700; color: var(--c-text-main);
  margin-bottom: 12px; min-height: 44px; line-height: 1.4;
}
.cert-desc {
  font-size: 13px; color: var(--c-text-body); line-height: 1.6;
  text-align: left; /* 説明文は左揃え */
  width: 100%;
}

@media (max-width: 900px) { .cert-card { width: calc(50% - 16px); } }
@media (max-width: 600px) { .cert-card { width: 100%; } }

/* ==========================================================================
   10. Footer Styles
   ========================================================================== */
.site-footer {
  --footer-bg: #111a2a;
  --footer-text: #e6edf7;
  --footer-muted: #a9b6ca;
  --footer-label: #718096;
  --footer-accent: #ff6b2c;
  --footer-line: rgba(255, 255, 255, 0.1);
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 50px 0 14px;
  margin-top: auto;
}
.site-footer .footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.site-footer .footer-logo-row {
  margin-bottom: 10px;
}
.site-footer .footer-logo-row .foot-logo {
  display: inline-flex;
  line-height: 0;
}
.site-footer .footer-top {
  display: grid;
  grid-template-columns:
    minmax(240px, 1.2fr)
    minmax(180px, 1fr)
    minmax(180px, 1fr)
    minmax(180px, 1fr);
  gap: clamp(24px, 2.8vw, 48px);
  align-items: start;
  margin-bottom: 80px;
}
.site-footer .footer-top > * { min-width: 0; }
.site-footer section,
.site-footer nav,
.site-footer .footer-col {
  padding: 0 !important;
  margin: 0;
  border: 0;
}
.site-footer .footer-label {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--footer-label);
  font-weight: 700;
  line-height: 1.4;
}
.site-footer .footer-title {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.5;
  color: #edf2f7;
  font-weight: 700;
}
.site-footer .footer-desc {
  margin: 0;
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.75;
  max-width: 34ch;
}
.site-footer .footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.site-footer .footer-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 12px;
  color: var(--footer-muted);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.65;
  transition: color .2s ease;
}
.site-footer .footer-nav a::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(calc(-50% - 1px));
  color: #94a3b8;
  line-height: 1;
  transition: color .2s ease;
  opacity: 0.75;
}
.site-footer .footer-nav a:hover {
  color: #e5e7eb;
  text-decoration: none;
}
.site-footer .footer-nav a:hover::before { color: var(--footer-accent); }
.site-footer .footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 8px 24px;
  border: 1px solid rgba(255, 107, 44, 0.45);
  border-radius: 999px;
  color: #e7edf7;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.site-footer .footer-cta-btn:hover {
  border-color: rgba(255, 107, 44, 0.72);
  background: rgba(255, 107, 44, 0.12);
  color: #fff;
}
.site-footer .footer-bottom {
  border-top: 1px solid var(--footer-line);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #8492a8;
  font-size: 12px;
}
.site-footer .footer-links {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.site-footer .footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color .2s ease;
}
.site-footer .footer-links a:hover { color: #e2e8f0; }
.site-footer .footer-nav a:focus-visible,
.site-footer .footer-cta-btn:focus-visible,
.site-footer .footer-links a:focus-visible {
  outline: 2px solid rgba(255, 107, 44, 0.8);
  outline-offset: 2px;
  border-radius: 8px;
}
@media (max-width: 960px) {
  .site-footer .footer-top {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 20px 24px;
    margin-bottom: 0;
  }
}
@media (max-width: 640px) {
  .site-footer { padding: 40px 0 12px; }
  .site-footer .footer-inner { padding: 0 18px; }
  .site-footer .footer-top {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 0;
  }
  .site-footer .footer-cta-btn {
    width: 100%;
    margin-top: 10px;
  }
  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}



/* =========================================================
   Vision Section (左右反転・高さ揃え・画像拡大版)
   ========================================================= */
.vision-sec {
  padding: 100px 0;
  background-color: #fff;
}

.vision-grid {
  display: flex;
  align-items: center;
  gap: 64px;
}

/* --- PC表示の設定（ここを変える必要があります） --- */

/* 画像ブロック：1.1 にして大きくする */
.vision-image-box {
  flex: 1.1; /* ★ここを 1.1 に */
  position: relative;
}

.vision-img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* テキストブロック：0.9 にして少し狭める */
.vision-content {
  flex: 0.9; /* ★ここを 0.9 に */
}

.vision-content h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.4;
  color: var(--c-text-main);
}

.vision-content p {
  margin-bottom: 24px;
  line-height: 1.8;
  color: var(--c-text-body);
}

/* --- スマホ・タブレット対応（900px以下） --- */
@media (max-width: 900px) {
  .vision-grid {
    flex-direction: column; /* 縦並びにする */
    gap: 40px;
  }
  
  /* スマホでは比率をリセットして横幅いっぱいに */
  .vision-image-box,
  .vision-content {
    flex: auto;
    width: 100%;
  }

  /* バッジの位置微調整 */
  .vision-badge {
    bottom: -10px;
    right: 10px;
  }

  .vision-content h2 {
    font-size: 28px;
  }
}

/* =========================================================
   Service Features (ジグザグレイアウト)
   ========================================================= */
.bg-white {
  background-color: #fff;
}

.feature-rows-container {
  display: flex;
  flex-direction: column;
  gap: 100px; /* 行ごとの間隔 */
  margin-top: 60px;
}

/* 1行ごとの設定 */
.feature-row {
  display: flex;
  align-items: center; /* 上下中央揃え */
  gap: 80px; /* テキストと画像の間隔 */
}

/* 偶数番目（02, 04）は左右を入れ替える */
.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

/* テキストカラム */
.feature-text-col {
  flex: 1;
}

/* 画像カラム */
.feature-img-col {
  flex: 1;
}

/* 画像スタイル */
.f-img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1); /* 影をつけてリッチに */
  object-fit: cover;
  aspect-ratio: 16 / 10; /* 画像の比率を固定 */
}

/* 番号のデザイン */
.f-num {
  font-size: 60px;
  font-weight: 900;
  color: #e2e8f0; /* 薄いグレー */
  line-height: 1;
  margin-bottom: 16px;
  font-family: sans-serif;
}

/* タイトルと本文 */
.feature-text-col h3 {
  /* ★変更点: 文字を大きく */
  font-size: 32px;       /* 24px -> 32px にアップ */
  font-weight: 900;      /* 極太にして強調 */
  color: var(--c-text-main);
  margin-bottom: 24px;
  line-height: 1.3;      /* 行間を少し詰めて引き締める */
  letter-spacing: -0.02em; /* 文字間をわずかに詰める */
}

.feature-text-col p {
  color: var(--c-text-body);
  line-height: 1.8;
  font-size: 15px;
}

/* 03番のステップ図（以前のデザインを流用） */
.migration-step-box {
  margin-top: 32px;
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--c-border);
}
.migration-step {
  display: flex; gap: 12px;
}
.m-step-icon {
  width: 24px; height: 24px; background: #475569; color: #fff;
  font-size: 12px; font-weight: 700; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0; margin-top: 2px;
}
.m-step-icon.orange { background: var(--c-aws); }


/* スマホ対応（タブレット以下） */
@media (max-width: 900px) {
  .feature-rows-container {
    gap: 60px;
  }

  .feature-row,
  .feature-row:nth-child(even) {
    /* スマホではすべて縦並び（画像が上、テキストが下） */
    flex-direction: column-reverse; 
    gap: 32px;
  }
  
  .f-num {
    font-size: 40px;
    margin-bottom: 12px;
  }
  

.feature-text-col p {
  color: var(--c-text-body);
  line-height: 1.8;
  font-size: 15px;
}

/* スマホ対応（タブレット以下） */
@media (max-width: 900px) {
  /* ... (他のスマホ用設定) ... */
  
  /* スマホでは大きすぎないように調整 */
  .feature-text-col h3 {
    font-size: 24px; /* スマホなら24pxくらいが適切 */
    margin-bottom: 16px;
  }
}


/* =========================================================
   Migration Flow (Rehost -> Refactor) 修正版
   ========================================================= */

/* 外枠：横並び設定 */
.migration-flow-box {
  margin-top: 32px;
  background-color: #f8fafc; /* 薄いグレー背景 */
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  
  display: flex;           /* 横並びにする */
  align-items: center;     /* 上下の中心を揃える */
  justify-content: space-between;
  gap: 20px;               /* アイテム間の隙間 */
}

/* 左右のテキストブロック */
.m-flow-item {
  flex: 1;                 /* 幅を均等に広げる */
}

/* タイトル文字 */
.m-flow-title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #1a1f26;
  margin-bottom: 6px;
  line-height: 1.4;
}

/* 説明文 */
.m-flow-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* 真ん中の矢印エリア */
.m-flow-arrow {
  flex-shrink: 0;          /* 矢印が潰れないようにする */
  color: #cbd5e0;          /* 矢印の色 */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

/* --- スマホ対応（600px以下） --- */
@media (max-width: 600px) {
  .migration-flow-box {
    flex-direction: column; /* 縦並びに変更 */
    text-align: center;     /* 文字を中央寄せ */
    gap: 16px;
    padding: 20px;
  }

  .m-flow-arrow svg {
    transform: rotate(90deg); /* 矢印を下向きに回転 */
  }
}


/* =========================================================
   Service Features (ジグザグ配置 & フロー図)
   ========================================================= */

/* --- 1. ジグザグレイアウトの基本設定 --- */
.feature-rows-container {
  display: flex;
  flex-direction: column;
  gap: 100px;
  margin-top: 60px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 80px;
}

/* 偶数番目（02, 04）は左右を反転 */
.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-text-col,
.feature-img-col {
  flex: 1;
}

/* 画像スタイル */
.f-img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

/* 番号とタイトルのスタイル */
.f-num {
  font-size: 60px;
  font-weight: 900;
  color: #e2e8f0;
  line-height: 1;
  margin-bottom: 16px;
  font-family: sans-serif;
}

.feature-text-col h3 {
  font-size: 32px;
  font-weight: 900;
  color: #1a1f26; /* var(--c-text-main) の代わり */
  margin-bottom: 24px;
  line-height: 1.3;
}

.feature-text-col p {
  color: #4a5568; /* var(--c-text-body) の代わり */
  line-height: 1.8;
  font-size: 15px;
}

/* --- 2. Rehost/Refactor フロー図のスタイル --- */
.migration-flow-box {
  margin-top: 32px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  display: flex;           /* 横並び */
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.m-flow-item {
  flex: 1;
}

.m-flow-title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #1a1f26;
  margin-bottom: 6px;
  line-height: 1.4;
}

.m-flow-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.m-flow-arrow {
  flex-shrink: 0;
  color: #cbd5e0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

/* --- スマホ対応 --- */
@media (max-width: 900px) {
  .feature-rows-container { gap: 60px; }
  
  /* スマホではすべて縦並び（画像が上） */
  .feature-row, 
  .feature-row:nth-child(even) {
    flex-direction: column-reverse;
    gap: 32px;
  }
  
  .f-num { font-size: 40px; margin-bottom: 12px; }
  .feature-text-col h3 { font-size: 24px; margin-bottom: 16px; }

  /* フロー図も縦並びに */
  .migration-flow-box {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .m-flow-arrow svg { transform: rotate(90deg); }
}


/* =========================================================
   Technology Stack Section (3列グリッド)
   ========================================================= */

/* 背景色（他のセクションと交互になるように薄いグレー推奨） */
.bg-gradient-gray {
  background-color: #f8fafc;
}

/* 3列のグリッドレイアウト */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 強制的に3列 */
  gap: 24px;
  margin-top: 40px;
}

/* 各カードのスタイル */
.tech-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md); /* 16px */
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tech-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-border-hover);
}

/* カテゴリ名（日本語タイトル） */
.tech-cat {
  font-size: 13px;
  font-weight: 800;
  color: #718096; /* 落ち着いたグレー */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* サービス内容（太字の黒） */
.tech-content {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text-main);
  line-height: 1.5;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 900px) {
  .tech-grid {
    grid-template-columns: 1fr; /* スマホ・タブレットは1列 */
    gap: 16px;
  }
  
  .tech-item {
    padding: 24px;
  }
}

/* =========================================================
   Package Section (Sun* Pink Style)
   ========================================================= */

/* 背景：薄いピンク（Sun*の赤を淡くした色） */
.bg-sun-pink {
  background: linear-gradient(180deg, #fff 0%, #fff5f5 100%);
}

.package-section {
  padding: 80px 0;
}

/* メインカード */
.package-card {
  background: #fff;
  border-radius: 24px;
  /* 枠線は薄く、影を柔らかく */
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  /* ★修正点: 上部のオレンジ線を削除したため、ここには何も記述しません */
}

/* --- ヘッダー --- */
.pkg-header-modern {
  text-align: center;
  padding: 40px 24px 24px; /* 上下の余白を少し詰めました */
  border-bottom: 1px solid #f8fafc;
}

.pkg-badge {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
  color: var(--c-primary); /* Sun* Red */
  background: rgba(255, 51, 0, 0.06); /* 薄い赤背景 */
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 8px;
}

.pkg-header-modern p {
  font-size: 16px;
  color: #1a1f26;
  line-height: 1.6;
}

/* --- ボディ（4分割グリッド） --- */
.pkg-body-modern {
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* 各機能のブロック */
.pkg-feature-box {
  background: #fff; /* 背景は白のまま */
  border: 1px solid #f1f5f9; /* 非常に薄いグレー枠 */
  border-radius: 16px;
  padding: 24px;
  transition: all 0.2s ease;
}

/* ホバー時に少し浮き出る */
.pkg-feature-box:hover {
  border-color: #e2e8f0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
  transform: translateY(-2px);
}

.pkg-box-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #f1f5f9;
}

.pkg-icon {
  width: 40px; height: 40px;
  background: #fff5f5; /* 薄いピンク背景のアイコン */
  color: var(--c-primary); /* Sun* Red */
  border-radius: 10px;
  display: grid; place-items: center;
}
.pkg-icon svg { width: 20px; height: 20px; }

.pkg-feature-box h4 {
  font-size: 16px; font-weight: 800; color: #1a1f26; margin: 0;
}

/* リスト */
.pkg-list-modern {
  margin: 0; padding: 0;
}
.pkg-list-modern li {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
/* チェックマーク（CSSで描画） */
.pkg-list-modern li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 10px;
  border: solid var(--c-primary); /* Sun* Red */
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .pkg-body-modern { grid-template-columns: 1fr; padding: 24px; }
  .pkg-header-modern { padding: 32px 20px 24px; }
}


/* ↓ 安全のため、閉じカッコを一つ入れておきます */
}

/* =========================================================
   【重要】ここから下が新しいCSSです (v2)
   他のスタイルと干渉しないよう、独自のクラス名で定義しています
   ========================================================= */

/* --- 1. 技術支援メニュー (Technology Stack) --- */
.tech-section-v2 {
  padding: 80px 0;
  background-color: #f8fafc;
}

.tech-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  gap: 24px;
  margin-top: 40px;
}

.tech-card-v2 {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.tech-card-v2:hover {
  transform: translateY(-5px);
  border-color: #FF9900;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.tech-icon-v2 {
  width: 48px;
  height: 48px;
  background: #fff7ed;
  color: #FF9900;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.tech-card-v2 h3 {
  font-size: 18px;
  font-weight: 800;
  color: #1a1f26;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.tech-desc-v2 {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.6;
}


/* --- 2. パッケージセクション (Pink Style / v2) --- */
.pkg-section-v2 {
  padding: 80px 0;
  /* Sun*らしい薄いピンク背景 */
  background: linear-gradient(180deg, #fff 0%, #fff5f5 100%);
}

.pkg-card-v2 {
  background: #fff;
  border-radius: 24px;
  /* 薄い枠線、やわらかい影 */
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.pkg-header-v2 {
  text-align: center;
  padding: 40px 24px 24px;
  border-bottom: 1px solid #f8fafc;
}

.pkg-badge-v2 {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ff3300;
  background: rgba(255, 51, 0, 0.06);
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.pkg-lead-v2 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1f26;
  margin: 0;
  line-height: 1.6;
}

.pkg-body-v2 {
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2列 */
  gap: 24px;
}

.pkg-box-v2 {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.2s;
}

.pkg-box-v2:hover {
  border-color: #e2e8f0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
  transform: translateY(-2px);
}

.pkg-box-head-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #f1f5f9;
}

.pkg-box-icon-v2 {
  width: 40px;
  height: 40px;
  background: #fff5f5; /* ピンク背景 */
  color: #ff3300;      /* 赤アイコン */
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.pkg-box-head-v2 h4 {
  font-size: 16px;
  font-weight: 800;
  color: #1a1f26;
  margin: 0;
}

.pkg-list-v2 {
  margin: 0; padding: 0; list-style: none;
}

.pkg-list-v2 li {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

/* 赤いチェックマーク */
.pkg-list-v2 li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 10px;
  border: solid #ff3300;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* スマホ対応 */
@media (max-width: 900px) {
  .tech-grid-v2 {
    grid-template-columns: 1fr;
  }
  .pkg-body-v2 {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}


/* =========================================================
   【重要】v2 CSS (グレー背景 & イエローアイコン統一版)
   ========================================================= */

/* --- 1. 技術支援メニュー (ここは変更なし・念のため記載) --- */
.tech-section-v2 {
  padding: 80px 0;
  background-color: #f8fafc;
}
.tech-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.tech-card-v2 {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}
.tech-card-v2:hover {
  transform: translateY(-5px);
  border-color: #FF9900;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.tech-icon-v2 {
  width: 48px; height: 48px;
  background: #fff7ed; color: #FF9900; /* この色に合わせます */
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.tech-card-v2 h3 {
  font-size: 18px; font-weight: 800; color: #1a1f26;
  margin: 0 0 12px 0; line-height: 1.4;
}
.tech-desc-v2 {
  font-size: 15px; color: #4a5568; line-height: 1.6;
}


/* --- 2. パッケージセクション (修正版: グレーボックス + 共通アイコン) --- */
.pkg-section-v2 {
  padding: 80px 0;
  /* 全体の背景も薄いオレンジがかった白で統一感を出す */
  background: #ffffff;
}

.pkg-card-v2 {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.pkg-header-v2 {
  text-align: center;
  padding: 40px 24px 24px;
  border-bottom: 1px solid #f8fafc;
}

.pkg-badge-v2 {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
  color: #d97706; /* 濃いゴールド/オレンジ */
  background: #fffbeb; /* 薄いイエロー背景 */
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.pkg-lead-v2 {
  font-size: 16px; font-weight: 700; color: #1a1f26; margin: 0; line-height: 1.6;
}

.pkg-body-v2 {
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* ★修正箇所: ボックスをグレーに戻し、枠線を標準のグレーに */
.pkg-box-v2 {
  background: #f8fafc; /* 基本のグレー背景 */
  border: 1px solid #e2e8f0; /* 標準的なグレー枠 */
  border-radius: 16px;
  padding: 24px;
  transition: all 0.2s;
}

.pkg-box-v2:hover {
  background: #fff; /* ホバー時に白く浮き出る */
  border-color: #FF9900; /* 枠線はオレンジに */
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}

.pkg-box-head-v2 {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 1px dashed #cbd5e0; /* 点線も少し濃いグレーに */
}

/* ★修正箇所: アイコンを「技術スタック」と全く同じ配色に */
.pkg-box-icon-v2 {
  width: 40px; height: 40px;
  background: #fff7ed; /* 薄いオレンジ背景 */
  color: #FF9900;      /* AWSオレンジ */
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}

.pkg-box-head-v2 h4 {
  font-size: 16px; font-weight: 800; color: #1a1f26; margin: 0;
}

.pkg-list-v2 {
  margin: 0; padding: 0; list-style: none;
}

.pkg-list-v2 li {
  font-size: 14px; color: #4a5568; margin-bottom: 10px;
  padding-left: 20px; position: relative; line-height: 1.6;
}

/* チェックマークもオレンジに統一 */
.pkg-list-v2 li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 10px;
  border: solid #FF9900;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* --- スマホ対応 --- */
@media (max-width: 900px) {
  .tech-grid-v2 { grid-template-columns: 1fr; }
  .pkg-body-v2 { grid-template-columns: 1fr; padding: 24px; }
}

/* =========================================================
   Reasons Section (Zigzag Layout)
   ========================================================= */
.feature-rows-container {
  display: flex;
  flex-direction: column;
  gap: 40px; /* 行間の余白 */
  margin-top: 60px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 30px; /* 画像とテキストの間隔 */
}


.feature-img-col {
  flex: 1;
}

.feature-text-col {
  flex: 1;
}

/* 画像スタイル */
.f-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
box-shadow: none; /* ★修正: 影をなしに変更 */
}

/* タイトル */
.feature-text-col h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--c-text-main);
}
.az-mig-text h3,
.az-bill-text h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--c-text-main);
}
.mig-text-col h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--c-text-main);
}

/* 本文 */
.feature-text-col p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text-body);
}

/* Azure Security: reason titles */
.az-sec-text h3 {
  font-size: 28px;
  line-height: 1.45;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .feature-rows-container {
    gap: 60px;
  }
  .feature-row, 
  .feature-row:nth-child(even) {
    flex-direction: column; /* 常に縦並び（画像が上） */
    text-align: left;
    gap: 32px;
  }
}

/* ジグザグ配置を解除して、すべて「画像左・テキスト右」に統一 */
.feature-rows-container .feature-row:nth-child(even) {
  flex-direction: row; /* 反転(row-reverse)を通常の並び(row)に戻す */
}

 /* =================================================================
       ★ HUBSPOT FORM STYLING (Optimized Spacing & Hidden Fields Fix)
       =================================================================
    */
    /* フォーム外枠 (760px) */
    .form-box {
      max-width: 760px !important;
      width: 100% !important;
      margin: 0 auto !important;
      padding: 48px !important;
      background: #fff;
      border-radius: 24px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.05);
      border: 1px solid #e2e8f0;
      box-sizing: border-box;
    }

    /* フォント設定 */
    .hs-form, .hs-form * {
      font-family: 'Inter', 'Noto Sans JP', sans-serif !important;
    }

    /* ★非表示フィールドを含むfieldsetごと消す設定 */
    /* これにより、CVポイントやチャネルなどの隠し項目の行（隙間）を完全に削除します */
    fieldset:has(.hs_cv_point),
    fieldset:has(.hs_c_e______),
    fieldset:has(.hs_lead_status),
    fieldset:has(input[type="hidden"]),
    .hs_recaptcha,
    .hs-fieldtype-select[style*="display: none"] {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
    }

    /* ★空の要素も念のため消す */
    .hs-form fieldset:empty,
    .hs-form div:empty {
      display: none !important;
    }

    /* ★HubSpotの行コンテナ（1列・2列...）のレイアウト設定 */
    fieldset.form-columns-1, 
    fieldset.form-columns-2, 
    fieldset.form-columns-3 {
      max-width: 100% !important;
      width: 100% !important;
      display: flex !important; /* 横並びにする */
      gap: 24px !important;     /* 列間の余白 */
      border: none !important;
      padding: 0 !important;
      margin: 0 0 16px 0 !important; /* 行の下マージン */
    }

    /* フィールド自体のスタイル */
    .hs-form-field {
      width: 100% !important;
      margin-bottom: 0 !important; /* gapで制御するのでゼロに */
      float: none !important;      /* float解除 */
    }

    /* 2列レイアウト時の各フィールドの幅 */
    .form-columns-2 .hs-form-field {
      width: 50% !important;
    }
    
    /* 3列レイアウト時の各フィールドの幅 */
    .form-columns-3 .hs-form-field {
      width: 33.33% !important;
    }

    /* ラベルのデザイン */
    .hs-form label:not(.hs-form-booleancheckbox-display) {
      display: block !important;
      font-size: 14px !important;
      font-weight: 700 !important;
      margin-bottom: 6px !important;
      color: #1a1f26 !important;
    }
    
    /* 必須マーク(*)を赤色に */
    .hs-form label .hs-form-required {
      color: red !important;
    }

    /* 入力フィールドのデザイン */
    .hs-input:not([type="checkbox"]):not([type="radio"]) {
      width: 100% !important;
      max-width: 100% !important;
      padding: 12px 16px !important;
      border: 1px solid #e2e8f0 !important;
      border-radius: 8px !important;
      font-size: 16px !important;
      background: #f8fafc !important;
      color: #1a1f26 !important;
      box-sizing: border-box !important;
      transition: all 0.2s !important;
      margin-bottom: 0 !important;
    }
    .hs-input:focus {
      outline: none !important;
      border-color: #ff5722 !important;
      background: #fff !important;
      box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1) !important;
    }
    textarea.hs-input {
      height: 100px !important;
      resize: vertical !important;
    }

    /* 送信ボタン */
    .actions {
      text-align: center !important;
      margin-top: 24px !important;
      padding: 0 !important;
    }
    .hs-button {
      width: 100% !important;
      padding: 16px !important;
      background-color: #ff5722 !important;
      color: #fff !important;
      font-weight: 700 !important;
      font-size: 16px !important;
      border: 1px solid #ff5722 !important;
      border-radius: 99px !important;
      cursor: pointer !important;
      transition: all 0.2s !important;
      box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3) !important;
    }
    .hs-button:hover {
      background-color: #e64a19 !important;
      border-color: #e64a19 !important;
      transform: translateY(-2px) !important;
      box-shadow: 0 6px 16px rgba(255, 87, 34, 0.4) !important;
    }

    /* チェックボックス */
    ul.inputs-list {
      list-style: none !important;
      padding: 0 !important;
      margin: 0 !important;
      text-align: left !important;
    }
    .hs-form-booleancheckbox {
      margin-bottom: 16px !important;
    }
    .hs-form-booleancheckbox-display {
      display: flex !important;
      align-items: flex-start !important;
      gap: 4px !important;
      padding-left: 0 !important;
      text-indent: 0 !important;
      font-size: 14px !important;
      font-weight: normal !important;
      color: #4a5568 !important;
      line-height: 1.5 !important;
    }
    .hs-form-booleancheckbox-display > span {
      margin-left: 0 !important;
      display: inline-block !important;
    }
    .hs-form-booleancheckbox-display > span > p {
      margin: 0 !important;
      display: inline !important;
    }
    .hs-form-booleancheckbox-display input {
      margin-top: 2px !important;
      width: 16px !important;
      height: 16px !important;
      accent-color: #ff5722 !important;
      flex-shrink: 0 !important;
    }

    /* エラーメッセージ */
    .hs-error-msgs {
      list-style: none !important;
      padding: 0 !important;
      margin: 4px 0 0 !important;
      color: #e53e3e !important;
      font-size: 12px !important;
      text-align: left !important;
    }

    /* スマホ対応 */
    @media (max-width: 600px) {
      .form-box {
        padding: 24px !important;
      }
      fieldset.form-columns-2,
      fieldset.form-columns-3 {
        flex-direction: column !important;
        gap: 16px !important;
      }
      .form-columns-2 .hs-form-field,
      .form-columns-3 .hs-form-field {
        width: 100% !important;
      }
    }
