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



/* お申し込みページ全体 */
.apply-page {
  padding: 20px 20px 80px;
  background: #fff;
}

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

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

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

/* 事前案内 */
.apply-guide {
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 35px 30px;
  background: #e6e5ef;
  border-radius: 14px;
  text-align: center;
}

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

.apply-guide-list {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  padding-left: 20px;
}

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

/* フォーム */
.apply-form {
  max-width: 1000px;
  margin: 0 auto;
}

.form-block {
  background: #f8f8f8;
  border-radius: 14px;
  padding: 35px 30px;
  margin-bottom: 30px;
}

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

.form-group {
  margin-bottom: 22px;
}

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

.form-group label span {
  color: #e53935;
  font-size: 12px;
  margin-left: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  box-sizing: border-box;
}

.form-group textarea {
  resize: vertical;
  line-height: 1.8;
}

.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  margin-bottom: 0;
}

.check-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3e3a3a;
  font-weight: normal;
}

/* 送信 */
.apply-submit {
  text-align: center;
  margin: 40px 0 50px;
}

.apply-btn {
  display: inline-block;
  width: 320px;
  max-width: 90%;
  padding: 16px 20px;
  background: #3e3a3a;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

/* 補助CTA */
.apply-cta {
  max-width: 1000px;
  margin: 0 auto;
  padding: 45px 30px;
  background: #e6e5ef;
  border-radius: 14px;
  text-align: center;
}

.apply-cta h2 {
  display: inline-block;
  background: #fff;
  color: #3e3a3a;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 28px;
  margin-bottom: 15px;
}

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

.apply-cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.apply-sub-btn {
  display: inline-block;
  width: 260px;
  padding: 14px 20px;
  background: #06C755;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
}

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

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

  .apply-guide,
  .form-block,
  .apply-cta {
    padding: 28px 20px;
  }

  .apply-guide h2,
  .form-block h2,
  .apply-cta h2 {
    font-size: 22px;
    line-height: 1.5;
    padding: 10px 18px;
  }

  .radio-group {
    flex-direction: column;
    gap: 10px;
  }

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

/* 料金表 */
.price {
  padding: 50px 20px;
  background: #fff;
  text-align: center;
}

.price-title {
  font-size: 28px;
  color: #3e3a3a;
  margin-bottom: 10px;
}

.price-sub {
  margin-bottom: 30px;
  color: #666;
}

.price-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.price-box {
  width: 320px;
  padding: 25px;
  border: 2px solid #3e3a3a;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.premium {
  background: #e6e5ef;
}

.standard {
  background: #f8f4e8;
}

.price-box h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.price-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-box li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.price-box span {
  font-weight: bold;
}

.price-box p {
  margin-top: 15px;
  font-size: 14px;
  color: #666;
}

.price-note {
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.price-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 28px;
  background: #3e3a3a;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
}


/* =========================
   thanks.php
========================= */

.thanks-page{
  padding: 60px 20px 100px;
  background: #ffffff;
}

.thanks-box{
  max-width: 820px;
  margin: 0 auto;
  background: #f8f8f8;
  border-radius: 18px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.thanks-icon{
  width: 80px;
  height: 80px;
  line-height: 80px;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: #06C755;
  color: #fff;
  font-size: 42px;
  font-weight: bold;
}

.thanks-box h1{
  font-size: 38px;
  color: #3e3a3a;
  margin-bottom: 20px;
  line-height: 1.4;
}

.thanks-text{
  font-size: 16px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 35px;
}

/* 流れ案内 */
.thanks-guide{
  background: #e6e5ef;
  border-radius: 14px;
  padding: 30px;
  text-align: left;
  margin-bottom: 35px;
}

.thanks-guide h2{
  font-size: 24px;
  color: #3e3a3a;
  margin-bottom: 15px;
  text-align: center;
}

.thanks-guide ul{
  margin: 0;
  padding-left: 20px;
}

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

/* ボタン */
.thanks-buttons{
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.thanks-btn{
  display: inline-block;
  min-width: 240px;
  padding: 15px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: 0.25s;
}

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

.thanks-btn-main:hover{
  opacity: 0.85;
}

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

.thanks-btn-line:hover{
  opacity: 0.85;
}

/* =========================
   SP
========================= */
@media (max-width: 768px){

  .thanks-page{
    padding: 40px 15px 70px;
  }

  .thanks-box{
    padding: 40px 20px;
    border-radius: 14px;
  }

  .thanks-icon{
    width: 65px;
    height: 65px;
    line-height: 65px;
    font-size: 34px;
    margin-bottom: 20px;
  }

  .thanks-box h1{
    font-size: 28px;
  }

  .thanks-text{
    font-size: 14px;
  }

  .thanks-guide{
    padding: 20px;
  }

  .thanks-guide h2{
    font-size: 20px;
  }

  .thanks-btn{
    width: 100%;
    min-width: auto;
    font-size: 15px;
    padding: 14px 20px;
  }

  .thanks-buttons{
    gap: 12px;
  }
}

/* フォーム関連 */

.form-error {
  color: #e53935;
  font-size: 14px;
  margin-top: 6px;
  margin-bottom: 0;
}

.input-error {
  border: 2px solid #e53935 !important;
  background: #fff8f8;
}

.privacy-box {
  margin-top: 20px;
}

.check-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.privacy-toggle {
  background: none;
  border: none;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
}

.privacy-toggle span {
  font-size: 18px;
}

.privacy-content {
  display: none;
  margin-top: 15px;
  padding: 18px;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 10px;
  line-height: 1.8;
}

.privacy-content.open {
  display: block;
}

