@charset "UTF-8";

/* --- 変数定義 --- */
:root {
  --sp1-blue: #004898;
  --sp1-orange: #f39200;
  --sp1-text: #333;
  --sp1-light-blue: #f1f8ff;
  --border-color: #e0e7ed;
}

/* --- 全体レイアウト --- */
body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: #f8f9fa;
  color: var(--sp1-text);
  line-height: 1.8;
}

.layout {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.content {
  background: #fff;
  padding: 60px 50px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  border-radius: 8px;
}

/* ========================================
  Layout: Header（横並びロゴ版）
======================================== */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: #00a6e8;
  color: #fff;
  height: 60px;
  display: flex;
  align-items: center;
}

.header__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}

/* ----------------------------------------
   Left: Logo + Tagline（横並び）
---------------------------------------- */
.flex-left {
  display: flex;
  align-items: center;
}

/* h1を横並びにする */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;           /* ロゴと文言の間隔 */
  line-height: 1;
  margin: 0;           /* h1のデフォ余白を消す */
}

/* ロゴ画像 */
.header__logo-image {
  height: 24px; /* SP */
  width: auto;
  display: block;
}

/* キャッチ（横並び） */
.header__tagline {
  font-size: 12px;
  white-space: nowrap;
  color: #fff;
}

/* ----------------------------------------
   Right: Contact Button
---------------------------------------- */
.flex-right {
  display: flex;
  align-items: center;
}

/* お問い合わせボタン */
.header__contact-form-link {
  color: #fff;
  border: 1px solid #fff;
  text-decoration: none;
  font-size:clamp(14px, 1.5vw, 18px);
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 4px;
  display: inline-block;
}

/* ========================================
   Responsive (PC時)
======================================== */
@media (min-width: 992px) {
  .header {
    height: 80px;
  }

  .header__logo-image {
    height: 35px;
  }

  .header__tagline {
    font-size: 14px;
  }

  .header__contact-form-link {
    font-size: 14px;
    padding: 12px 25px;
  }
}
/* --- 記事内見出し --- */
h1 {
  font-size: 2.2rem;
  color: var(--sp1-blue);
  text-align: center;
  font-weight: 900;
}

h2 {
  background: var(--sp1-light-blue);
  color: var(--sp1-blue);
  padding: 15px 25px;
  border-left: 8px solid var(--sp1-blue);
  margin: 60px 0 30px;
  font-size: 1.6rem;
}

h3 {
  color: var(--sp1-blue);
  border-bottom: 2px solid var(--sp1-light-blue);
  padding-bottom: 10px;
  margin-top: 40px;
  font-size: 1.3rem;
}

/* --- 比較表 --- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
th { background: var(--sp1-blue);border: 1px solid #002147;  color: #fff; padding: 15px; text-align: center; }
td { border: 1px solid #002147; padding: 15px; font-size: 14px; }

/* --- 画像 --- */
img {
  max-width: 100%;
  height: auto;
  width:100vw;
  border-radius: 4px;
}

/* --- FAQ --- */
.faq-section h3 {
  background: #f9f9f9;
  padding: 15px;
  border-left: 4px solid var(--sp1-orange);
  border-bottom: none;
}

/* ========================================
  Footer
======================================== */
.footer {
  background-color: #00a0e2;
  width: 100%;
  padding: 80px 0 40px;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  justify-content: center;   /* ★中央寄せ */
  align-items: center;
  gap: 60px;                 /* ロゴと会社情報の間隔 */
}

.footer__image {
  height: 60px;
  width: auto;
}

.footer__right {
  text-align: left;
  color: #fff;
}

.footer__companyname {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer__copyright {
  font-size: 14px;
  font-weight: 400;
}

/* SP */
@media (max-width: 767px) {
  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer__right {
    text-align: center;
  }

  .footer__image {
    height: 40px;
  }
}
/* --- レスポンシブ --- */
@media (max-width: 768px) {
  .header-wrap { height: auto; flex-direction: column; padding: 15px; }
  .header-right { margin-top: 10px; flex-direction: column; }
  .g-nav ul { margin: 10px 0; }
  .content { padding: 30px 20px; }
  h1 { font-size: 1.6rem; }
}