@charset "utf-8";

/* =========================
   全体ベース設定
   ========================= */
html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI",
    "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo,
    sans-serif;
  color: #333;
  background: #f5f7fa;
  line-height: 1.7;
  font-size: 15px;
}

/* 共通コンテナ */
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

/* メインエリア */
main {
  background: #ffffff;
}

/* 共通リンク */
a {
  color: #1558a6;
  text-decoration: none;
}

a:hover {
  color: #1e6bd3;
}

/* =========================
   ヘッダー／グローバルナビ
   ========================= */

/* ヘッダー本体 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

/* 中身（ロゴ＋ナビ横並び） */
.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ */
.logo-link {
  display: inline-block;
}

.site-logo {
  display: block;
  max-height: 60px; /* PC時ロゴ高さ */
  height: auto;
}

/* ナビの基本 */
.global-nav {
  margin: 0;
}

.global-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

.global-nav li {
  margin: 0;
}

.global-nav a {
  display: block;
  color: #333;
  font-size: 15px;
  padding: 6px 0;
  line-height: 1.4;
}

/* 「お問い合わせ」だけボタン風 */
.global-nav .nav-contact {
  padding: 8px 18px;
  border-radius: 999px;
  background-color: #007bff;
  color: #ffffff;
  font-weight: 600;
}

/* ハンバーガー（PCでは非表示） */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 1px;
}

/* =========================
   セクション共通（TOP用）
   ========================= */
.section {
  padding: 64px 0;
}

.section-alt {
  padding: 64px 0;
  background: linear-gradient(180deg, #f7f9fb 0%, #ffffff 100%);
}

.section h2 {
  font-size: 24px;
  margin-bottom: 24px;
  padding-left: 12px;
  border-left: 4px solid #0070c9;
  font-weight: 600;
}

.section p {
  margin-top: 8px;
}

/* セクションの下にごく薄い区切り線 */
.section + .section {
  border-top: 1px dashed rgba(148, 163, 184, 0.35);
}

/* =========================
   ヒーローエリア（TOP）
   ========================= */
.hero {
  padding: 72px 0 56px;

  /* 背景画像＋うっすらグラデーション */
  background:
    linear-gradient(
      135deg,
      rgba(230, 242, 255, 0.9) 0%,
      rgba(247, 251, 255, 0.8) 40%,
      rgba(255, 255, 255, 0.95) 100%
    ),
    url("images/hero-bg.png") center/cover no-repeat;
}


.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.hero-text {
  flex: 1 1 320px;
}

.hero-text h1 {
  font-size: 26px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 15px;
  margin-bottom: 20px;
}

/* ヒーロー右側パネル */
.hero-side {
  flex: 1 1 260px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ヒーロー右側パネル */
.hero-panel {
  position: relative;  /* ← ラベルを上に乗せるため */
  width: 100%;
  max-width: 320px;
  padding: 32px 20px 18px;  /* ← 上だけ少し広め（ラベル分の余白） */
  border-radius: 16px;
  background: radial-gradient(circle at top left, #e6f2ff 0%, #ffffff 60%);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
  border: 1px solid #d2e2ff;
  text-align: left;
}

/* 「掲載先」カプセルラベル（お問合せボタン風） */

.hero-panel-label {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  padding: 4px 14px;
  background: #0070c9;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
  z-index: 2;
}




.hero-panel-logo {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-panel-note {
  font-size: 13px;
  color: #555;
  margin: 0;
  line-height: 1.7;
}
.hero-panel-image {
  display: block;
  max-width: 160px;    /* ロゴの大きさ。大きすぎたら 140px くらいでもOK */
  margin: 12px 0 8px;  /* 上下の余白＋左右中央寄せ */
}



/* =========================
   ボタン共通
   ========================= */
.btn-primary {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: #0070c9;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #0070c9;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background: #00549a;
  box-shadow: 0 3px 10px rgba(0, 112, 201, 0.3);
  transform: translateY(-1px);
}

/* =========================
   「こんなお悩み」リスト
   ========================= */
.problem-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
}

.problem-list li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 6px;
}

.problem-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.15em;
  font-size: 0.9em;
  color: #0070c9;
}

/* =========================
   サービスカード
   ========================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 18px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e6ee;
  padding-top: 26px; /* アイコン分ちょっと上に余裕 */
}

.card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #00549a;
}

.card p {
  font-size: 14px;
  line-height: 1.8;
}

/* カード上の丸アイコン */
.card-icon {
  position: absolute;
  top: -18px;
  left: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.35);
}

/* 種類ごとに色を変える */
.card-icon-start {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.card-icon-ai {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.card-icon-design {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

/* =========================
   ネットキングセクション
   ========================= */
.netking-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.netking-logo {
  flex: 0 0 160px;
  height: 160px;
  border-radius: 16px;
  border: 1px solid #e0e5f0;
  background: radial-gradient(
    circle at top left,
    #ffde59 0%,
    #ffeaa0 30%,
    #fffaf0 80%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
}

.netking-logo .logo-text {
  font-size: 20px;
  font-weight: 700;
}

.netking-text {
  flex: 1 1 260px;
}

/* =========================
   フロー（流れ）
   ========================= */
.flow-list {
  margin: 16px 0 0;
  padding-left: 1.2em;
}

.flow-list li {
  margin-bottom: 12px;
}

.flow-list strong {
  color: #00549a;
}

/* =========================
   料金表
   ========================= */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.price-table th,
.price-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e1e4ed;
  font-size: 14px;
}

.price-table th {
  width: 30%;
  background: #f2f5fc;
  text-align: left;
  font-weight: 600;
}

.price-table tr:last-child th,
.price-table tr:last-child td {
  border-bottom: none;
}

.note {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
}

/* =========================
   FAQ
   ========================= */
.faq-list {
  margin: 16px 0 0;
}

.faq-list dt {
  font-weight: 600;
  margin-top: 14px;
  padding-left: 1.6em;
  position: relative;
}

.faq-list dt::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  background: #0070c9;
  color: #fff;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faq-list dd {
  margin: 4px 0 8px;
  padding-left: 1.6em;
}

/* =========================
   代表メッセージ
   ========================= */
.message-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.message-logo {
  flex: 0 0 120px;
  height: 120px;
  border-radius: 50%;
  background: #f2f4f8;
}

.message-text {
  flex: 1 1 260px;
}

.message-sign {
  margin-top: 10px;
  font-size: 14px;
  text-align: right;
}

/* =========================
   会社概要テーブル
   ========================= */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.company-table th,
.company-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e1e4ed;
  font-size: 14px;
}

.company-table th {
  width: 26%;
  background: #f2f5fc;
  text-align: left;
  font-weight: 600;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

/* =========================
   CTA セクション
   ========================= */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  display: inline-block;
  border-left: none;
  padding-left: 0;
}

.cta-section p {
  margin-top: 6px;
  margin-bottom: 18px;
}

/* =========================
   お問い合わせページ用
   ========================= */
.contact-section {
  max-width: 800px;
  margin: 40px auto 80px;
  line-height: 1.8;
}

.contact-section h1 {
  font-size: 28px;
  margin-bottom: 16px;
}

/* エラーメッセージ */
.form-errors {
  margin: 16px 0;
  padding: 12px 16px;
  border-radius: 6px;
  background: #fff4f4;
  border: 1px solid #f5c2c2;
  color: #b3261e;
  font-size: 14px;
}

.form-errors ul {
  margin: 0;
  padding-left: 20px;
}

/* フォーム本体 */
.contact-form {
  margin-top: 24px;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
  font-size: 14px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.form-row textarea {
  resize: vertical;
  min-height: 140px;
}

.req {
  color: #d00;
  font-size: 12px;
  margin-left: 4px;
}

.contact-note {
  font-size: 12px;
  color: #666;
  margin: 8px 0 16px;
}

.form-actions {
  text-align: center;
}

.contact-section .btn-primary {
  padding: 10px 40px;
  font-size: 16px;
  border-radius: 999px;
  border: none;
  background: #1558a6;
  color: #fff;
  cursor: pointer;
}

.contact-section .btn-primary:hover {
  background: #1e6bd3;
}

/* ハニーポット（ボット判定用ダミーフィールド）は非表示 */
.hp-field {
  display: none;
}

/* =========================
   フッター
   ========================= */
footer {
  background: #0f172a;
  color: #e5e7eb;
  padding: 14px 0;
  font-size: 12px;
}

footer .copyright {
  text-align: center;
  margin: 0;
}

/* =========================
   スマホ向け調整（768px 以下）
   ========================= */
@media (max-width: 768px) {
  .header-inner {
    padding: 6px 12px;
    justify-content: space-between;
  }

  .site-logo {
    max-height: 48px;
    margin: 0;
    padding: 0;
  }

  /* ハンバーガー表示 */
  .nav-toggle {
    display: inline-flex;
  }

  /* スマホメニュー本体 */
  .global-nav {
    position: absolute;
    top: 64px; /* ヘッダーの下あたりに表示 */
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    display: none; /* 初期は非表示 */
    text-align: center;
    z-index: 1000;
  }

  /* JS で .is-open が付いたときだけ表示 */
  .global-nav.is-open {
    display: block;
  }

  .global-nav ul {
    padding: 8px 0 12px;
    margin: 0 auto;
    width: 100%;
    display: block;
  }

  .global-nav li {
    margin: 0;
  }

  .global-nav a {
    padding: 8px 0;
    font-size: 16px;
    border-bottom: 1px solid #f3f3f3;
  }

  .global-nav li:last-child a {
    border-bottom: none;
  }

  .global-nav .nav-contact {
    margin-top: 10px;
    margin-bottom: 10px;
    display: inline-block;
    padding: 10px 24px;
  }

  /* セクションの余白を少しコンパクトに */
  .section,
  .section-alt {
    padding: 44px 0;
  }

  .hero-inner,
  .netking-inner,
  .message-inner {
    flex-direction: column;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .contact-section {
    margin: 24px auto 56px;
    padding: 0 16px;
  }
}
