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



/* ログインページ全体 */
.login-page {
  padding: 20px 20px 80px;
  background: #fff;
}

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

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

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

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

.login-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;
}

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

/* 背景差分 */
.login-notice {
  background: #f8f8f8;
}

.login-benefit {
  background: #e6e5ef;
}

.login-line {
  background: #f8f8f8;
}

.login-sub {
  background: #e6e5ef;
}

/* リスト */
.login-list {
  max-width: 700px;
  margin: 0 auto;
  padding-left: 20px;
  text-align: left;
}

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

/* ボタン */
.login-btn-wrap {
  margin-top: 25px;
}

.login-line-btn,
.login-sub-btn {
  display: inline-block;
  width: 280px;
  padding: 14px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
}

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

.login-sub-btn {
  background: #3e3a3a;
  color: #fff;
}

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

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

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

  .login-block h2 {
    font-size: 22px;
    padding: 10px 18px;
  }

  .login-line-btn,
  .login-sub-btn {
    width: 90%;
    max-width: 300px;
  }
}

.login-error-box {
  max-width: 700px;
  margin: 0 auto 25px;
  padding: 16px 20px;
  background: #fff4f4;
  color: #c62828;
  border: 1px solid #e53935;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
}

.login-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.login-form .form-group {
  margin-bottom: 20px;
}

.login-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #3e3a3a;
}

.login-form input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
}

.login-submit-btn {
  display: inline-block;
  width: 280px;
  max-width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  background: #3e3a3a;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}

.login-submit-btn:hover {
  opacity: 0.85;
}

.form-success-box {
  max-width: 500px;
  margin: 0 auto 20px;
  padding: 14px 18px;
  background: #f0fff5;
  border: 1px solid #06C755;
  border-radius: 8px;
  color: #1b7f3a;
  font-weight: bold;
  text-align: center;
}

.form-error-box {
  max-width: 500px;
  margin: 0 auto 20px;
  padding: 14px 18px;
  background: #fff4f4;
  border: 1px solid #e53935;
  border-radius: 8px;
  color: #c62828;
  font-weight: bold;
  text-align: center;
}