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


/* ログインボタン */
.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;
}


/* サイトマップ */

.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 {
  text-align: center;
  overflow: hidden;
  background: #fff;
}

.hero picture {
  display: block;
}

.hero img {
  display: block;
  width: 100%;
  max-width: 1920px;
  height: auto;
  margin: 0 auto;
}

/* スマホだけ縮小 */
@media (max-width: 768px) {
  .hero img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}
/* ハンバーガー */

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

}


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

/* ナビ PC */
.nav-pc {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-pc a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

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

.nav-sp a {
  text-decoration: none;
  color: #3e3a3a;
  font-size: 14px;
}

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

/* ハンバーガー */
.menu-toggle {
  display: none;
}

/* スマホ */
@media (max-width: 768px) {

  .header-inner {
    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-pc {
    display: none;
  }

  .nav-sp {
    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-sp.active {
    display: flex;
  }

  .nav-sp a {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }

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

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


/* 利用規約 */

.terms-page{
  background:#f8f8f8;
  padding:80px 20px;
}

.terms-inner{
  max-width:1000px;
  margin:0 auto;
}

.terms-page h1{
  text-align:center;
  font-size:42px;
  color:#1f3f8f;
  margin-bottom:10px;
}

.terms-sub{
  text-align:center;
  font-size:16px;
  color:#777;
  margin-bottom:50px;
}

.terms-box{
  background:#fff;
  padding:50px;
  border-radius:20px;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.terms-box h2{
  font-size:24px;
  color:#1f3f8f;
  margin-top:40px;
  margin-bottom:15px;
  border-left:5px solid #1f3f8f;
  padding-left:15px;
}

.terms-box h2:first-child{
  margin-top:0;
}

.terms-box p{
  line-height:2;
  font-size:16px;
  color:#333;
}

.terms-box ul{
  margin:15px 0 20px 20px;
}

.terms-box li{
  line-height:2;
  font-size:16px;
  color:#333;
}

/* スマホ */

@media (max-width:768px){

  .terms-page{
    padding:50px 15px;
  }

  .terms-page h1{
    font-size:32px;
  }

  .terms-box{
    padding:30px 20px;
  }

  .terms-box h2{
    font-size:20px;
  }

  .terms-box p,
  .terms-box li{
    font-size:15px;
  }

}