/* ヘッダー */
.header {
  background: #fff;
  border-bottom: 1px solid var(--sub-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

/* ロゴ */
.logo-img {
  width: 180px;
  height: auto;
  display: block;
}

/* ナビ */
.nav {
  display: none;
}

.nav a {
  margin: 0 10px;
  text-decoration: none;
  color: var(--text-color);
  font-size: 14px;
}

/* ログインボタン */
.login-btn {
  background: #3e3a3a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

/* キャンペーンバー */
.campaign-bar {
  background: #3e3a3a;
  color: #fff;
  text-align: center;
  padding: 12px 10px;
  font-size: 14px;
  font-weight: bold;
}

.campaign-bar a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

/* PC表示 */
@media (min-width: 768px) {
  .nav {
    display: block;
  }
}

/* サイトマップ */

.breadcrumb {
  max-width: 1000px;   /* 会社概要と同じ幅 */
  margin: 30px auto 20px;
  padding: 0 20px;
  text-align: left;    /* センターやめる */
  font-size: 14px;
}

.breadcrumb a {
  color: #3e3a3a;
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 5px;
  color: #666;
}


/* フッター */


.footer {
  background: #3e3a3a;
  color: #fff;
  padding: 50px 20px 20px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 14px;
  color: #ddd;
  margin-bottom: 30px;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-row a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  text-align: center;
}

.footer-copy p {
  font-size: 12px;
  color: #ccc;
}

.footer-logo-img {
  width: 220px;
  height: auto;
  display: block;
  margin: 0 auto 15px;
}

.hero {
  position: relative;
}

.hero img {
  width: 100%;
  display: block;
}

/* ハンバーガー */

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {

  .header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: #3e3a3a;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 0 auto;
  }

  .logo {
    flex: 1;
  }

  .nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 15px 20px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    z-index: 9999;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #3e3a3a;
  }

  .nav a:last-child {
    border-bottom: none;
  }
}

/* ----------------基本CSS -----------------------------------*/



/* ご利用ガイド全体 */
.guide-page {
  padding: 20px 20px 80px;
  background: #fff;
}

/* 見出し */
.guide-heading {
  max-width: 1000px;
  margin: 0 auto 50px;
  text-align: center;
}

.guide-heading h1 {
  font-size: 40px;
  color: #3e3a3a;
  margin-bottom: 15px;
}

.guide-heading p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

/* 各ブロック */
.guide-block {
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 40px 30px;
  background: #f8f8f8;
  border-radius: 14px;
　text-align: center;
}

.guide-block h2 {
  display: inline-block;
  background: #e6e5ef;
  color: #3e3a3a;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 28px;
  margin-bottom: 20px;
  line-height: 1.4;
}


.guide-block p,
.guide-block ul,
.guide-flow,
.guide-button-wrap {
  text-align: left;
}

.guide-block p {
  color: #555;
  line-height: 1.9;
}

/* 強調ブロック */
.guide-highlight {
  background: #e6e5ef;
}

/* 流れ */
/* ご利用の流れ 全体枠 */
.guide-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;

  background: #e6e5ef;
  padding: 25px;
  border-radius: 18px;
  margin-top: 20px;
}

/* 各ステップカード */
.guide-flow-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
  min-width: 0;
}

/* STEP帯 */
.guide-flow-item .step {
  display: inline-block;
  background: #ced7dc;
  color: #3e3a3a;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 12px;
  margin-bottom: 10px;
  font-weight: bold;
}

/* タイトル */
.guide-flow-item h3 {
  font-size: 17px;
  color: #3e3a3a;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* 説明文 */
.guide-flow-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}
/* リスト */
.guide-list {
  margin-top: 15px;
  padding-left: 20px;
}

.guide-list li {
  margin-bottom: 10px;
  color: #555;
  line-height: 1.8;
}

/* ボタン */
.guide-button-wrap {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.guide-btn {
  display: inline-block;
  width: 240px;
  padding: 14px 20px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
}

.guide-btn-main {
  background: #3e3a3a;
  color: #fff;
}

.guide-btn-main-order {
  background: #ff6b6b;
  color: #fff;
}

.guide-btn-sub {
  background: #ced7dc;
  color: #3e3a3a;
  border: 1px solid #3e3a3a;
}

.guide-btn-line {
  background: #06C755;
  color: #fff;
}

.compare-saving {
  background: #e6e5ef;
  padding: 40px 20px;
  border-radius: 14px;
  text-align: center;
}

.compare-saving h3 {
  font-size: 28px;
  margin-bottom: 25px;
  color: #3e3a3a;
}

.compare-box-wrap {
  display: flex;
  justify-content: center;
  align-items: stretch;   /* ← 高さを揃える */
  gap: 20px;
  flex-wrap: wrap;
}

.compare-price.pack {
  width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 中央配置 */
}

.compare-price {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 320px;

  /* 黒枠追加 */
  border: 2px solid #000;
}

.compare-price .label {
  font-size: 14px;
  color: #666;
}

.compare-price .price {
  font-size: 30px;
  font-weight: bold;
  color: #3e3a3a;
}

.compare-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: bold;
  color: #3e3a3a;
  min-width: 50px;
}

.saving-result {
  margin-top: 25px;
  font-size: 34px;
  font-weight: bold;
  color: #e53935;
}

.compare-price.single {
  width: 320px;
}

/* 表 */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.compare-table td {
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  text-align: left;
}

.compare-table td:last-child {
  text-align: right;
  font-weight: bold;
  color: #3e3a3a;
}

/* 合計行 */
.compare-table .total-row td {
  padding-top: 12px;
  font-size: 18px;
  font-weight: bold;
  color: #e53935;
  border-bottom: none;
}

/* 最終CTA */
.guide-cta {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 30px;
  background: #e6e5ef;
  border-radius: 14px;
  text-align: center;
}

.guide-cta h2 {
  font-size: 30px;
  color: #3e3a3a;
  margin-bottom: 15px;
}

.guide-cta p {
  color: #666;
  line-height: 1.8;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .guide-heading h1 {
    font-size: 28px;
  }

  .guide-heading p {
    font-size: 14px;
  }

  .guide-block {
    padding: 30px 20px;
  }

  .guide-block h2,
  .guide-cta h2 {
    font-size: 24px;
    line-height: 1.5;
  }

  .guide-flow-item {
    width: 100%;
    max-width: 320px;
  }

  .guide-btn {
    width: 90%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .compare-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {

  .guide-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 15px;
  }

  .guide-flow-item {
    width: 92%;
    max-width: 320px;
    padding: 16px;
    margin: 0 auto;
    box-sizing: border-box;
  }

}

