/* ヘッダー */
.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 -----------------------------------*/



.benefit-page {
  padding: 40px 20px 90px;
  background: #fff;
  color: #3e3a3a;
}

.benefit-heading {
  max-width: 1000px;
  margin: 0 auto 45px;
  text-align: center;
}

.benefit-heading h1 {
  font-size: 40px;
  margin-bottom: 15px;
}

.benefit-heading p {
  color: #666;
  line-height: 1.8;
}

.benefit-block {
  max-width: 1000px;
  margin: 0 auto 40px;
  background: #f8f8f8;
  border-radius: 16px;
  padding: 35px 30px;
  border: 1px solid #ddd;
}

.benefit-block h2 {
  font-size: 28px;
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e6e5ef;
}

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

.benefit-card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.benefit-card {
  background: #e6e5ef;
  border: 2px solid #000;
  border-radius: 14px;
  padding: 25px;
  text-align: center;
}

.benefit-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.benefit-rate {
  font-size: 34px;
  font-weight: bold;
  color: #3e3a3a;
  margin-bottom: 12px;
}

.benefit-note {
  margin-top: 22px;
  font-size: 14px;
  color: #777;
}

.rank-table-wrap {
  overflow-x: auto;
}

.rank-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.rank-table th,
.rank-table td {
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
}

.rank-table th {
  background: #e6e5ef;
  color: #3e3a3a;
}

.point-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 25px;
}

.point-card {
  background: #fff;
  border: 2px solid #000;
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
}

.point-card h3 {
  font-size: 30px;
  margin-bottom: 10px;
}

.point-card p {
  font-weight: bold;
  margin-bottom: 8px;
}

.point-card span {
  font-size: 13px;
  color: #777;
}

.campaign-list {
  padding-left: 22px;
}

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

.benefit-cta {
  max-width: 1000px;
  margin: 50px auto 0;
  padding: 40px 30px;
  background: #e6e5ef;
  border-radius: 16px;
  text-align: center;
}

.benefit-cta h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.benefit-cta p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 25px;
}

.benefit-btn-wrap {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.benefit-btn {
  display: inline-block;
  width: 250px;
  padding: 15px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
}

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

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

@media (max-width: 768px) {
  .benefit-page {
    padding: 30px 15px 70px;
  }

  .benefit-heading h1 {
    font-size: 28px;
  }

  .benefit-block {
    padding: 28px 20px;
  }

  .benefit-block h2 {
    font-size: 23px;
  }

  .benefit-card-list,
  .point-list {
    grid-template-columns: 1fr;
  }

  .benefit-rate {
    font-size: 30px;
  }

  .rank-table th,
  .rank-table td {
    padding: 12px;
    font-size: 14px;
  }

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