/* ▼ TOPページ専用ファーストビュー調整 2024/05/27 修正版 */

body {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
  }
  
  .first-view__wrap {
    position: relative;
    width: 100%;
    height: 76vh !important;
    color: #fff;
    overflow: hidden;
  }
  
  .background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  
  .top-fv-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
  }
  
  .firstview_content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 6.5em 48px 3.5em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .headline-strip {
    background: #fff;
    color: #000;
    padding: 1em 1em 20px 1em;
    border-radius: 0;
    margin-left: 0;
    margin-bottom: 1em;
  }
  
  .main-copy {
    font-size: 2.6rem;
    font-weight: bold;
    margin: 0;
  }
  
  .sub-copy {
    font-size: 4rem;
    font-weight: bold;
    margin: 0;
  }
  
  .accent {
    color: #00a4c6;
    font-weight: bold;
  }
  
  .accent.large {
    font-size: 1.2em;
  }
  
  .lead-copy {
    font-size: 1.6rem;
    color: #fff;
    margin: -0.2em 0 0.5em 0;
  }
  
  .point-image {
    width: 360px;
    max-width: 400px;
    height: auto;
    display: block;
  }
  
  .top-btn-primary {
    background-color: #e5004f;
    color: #fff;
    font-size: 1.5rem;
    padding: 0.9em 2em;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.2s;
  }
  
  .top-btn-primary:hover {
    background-color: #c70044;
  }
  
  .service-section {
    background-color: #009dbf;
    color: #fff;
    padding: 1em 1em;
    text-align: center;
  }
  
  .service-section .section-title {
    font-size: 1.4rem !important;
    margin-bottom: 0.5em !important;
    color: #fff !important;
  }
  .page .top-service-section h2::after {
    background-color: transparent;
  }
  
  .service-section h3 {
    font-size: 2rem;
    margin-top: -0.4em;
    margin-bottom: 0.5em;
  }
  .service-section h3::before,
  .service-section h3::after {
    content: none !important;
    display: none !important;
  }
  
  .service-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
    max-width: 1100px;
    margin: 0 auto;
  }
  
  .service-box {
    background: #fff;
    color: #000;
    border-radius: 16px;
    padding: 2em 1.5em;
    width: calc(32% - 1em);
    box-sizing: border-box;
    text-align: center;
  }
  
  .service-box h4 {
    font-size: 1.5rem;
    margin: 0em 0 0 0;
    color: #009fe3;
    font-weight: 600;
    margin-bottom: 16px;
  }
  
  .service-box p {
    font-size: 0.95rem;
    line-height: 1.8 !important;
    text-align: left;
  }
  
  .service-box a {
    background-color: #e5004f;
    color: #fff;
    text-decoration: none;
    padding: 0.8em 2em;
    border-radius: 30px;
    font-weight: bold;
    display: block;         /* ← inline-block → block に */
    width: fit-content;     /* 内容の幅に合わせる */
    margin: 1em auto 0;     /* 中央寄せ */
    transition: 0.2s;
}
  
  .service-box a:hover {
    background-color: #c70044;
  }
  
  @media screen and (max-width: 768px) {
    .first-view__wrap {
      height: 470px !important;
    }
    .firstview_content {
      padding: 1.5em 1em;
    }
    .main-copy { font-size: 1.8rem; }
    .sub-copy { font-size: 2rem; }
    .headline-strip {
      padding: 0.5em 1em 0.6em;
      margin-bottom: 0.8em;
    }
    .lead-copy {
      font-size: 1rem;
      line-height: 1.5;
      text-align: left;
    }
    .top-btn-primary {
      font-size: 1.4rem;
      padding: 0.6em 1.5em;
    }
    .point-image {
      max-width: 260px;
      margin-left: 0;
      margin-right: 0;
    }
    .service-boxes {
      flex-direction: column;
      align-items: center;
    }
    .service-box {
      width: 90%;
    }
    .service-section h3 {
      font-size: 1.3rem !important;
    }
  }

  /* ▼ セミナーページファーストビュー調整 2025/06/23 追加 */

.zaiko-seminar-section {
  background-color: #009DBF;
  color: #000;
  padding: 2em 1em 3em;
  text-align: center;
  margin-top: -14px;
}

.zaiko-seminar-section__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5em;
}

.zaiko-seminar-section__cards {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
}

.zaiko-seminar-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5em;
  width: 440px;
  box-sizing: border-box;
}

.zaiko-seminar-card__caption {
  font-size: 1em;
  margin: 10px 0;
}

.zaiko-seminar-card__highlight {
  font-size: 1.5rem;
  color: #000;
  font-weight: bold;
  margin: 0 0 16px 0;
}

.zaiko-seminar-card__highlight span {
  font-size: 1.2rem;
  color: #000;
}

.zaiko-seminar-btn {
  display: inline-block;
  padding: 0.6em 1.8em;
  border-radius: 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s;
}

.zaiko-seminar-btn--primary {
  background-color: #FF0063;
  color: #fff;
  font-size: 1.2em;
}

.zaiko-seminar-btn--primary:hover {
  color: #FF0063;
  background-color: #ffffff;
  border:1px solid  #FF0063;
  font-size: 1.25em;

}

.zaiko-seminar-btn--gray {
  background-color: #009dbf;
  color: #fff;
  font-size: 1.2em;
}

.zaiko-seminar-btn--gray:hover {
  color: #009dbf;
  background-color: #ffffff;
  border:1px solid  #009dbf;
  font-size: 1.25em;

}

/* ▼ レスポンシブ対応（カード部分） */
@media screen and (max-width: 768px) {
  .zaiko-seminar-section__cards {
    flex-direction: column;
    align-items: center;
  }

  .zaiko-seminar-card {
    width: 90%;
  }
}

/* ▼ PC/SP画像表示切替用（2025/06/23追加） */
.seminar-banner--pc,
.seminar-banner--sp {
  display: none;
}

@media screen and (min-width: 769px) {
  .seminar-banner--pc {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .seminar-banner--sp {
    display: block;
  }
}

.zaiko-trouble-list {
  display: grid;
  grid-template-columns: 1fr 1fr; /* PC：2列 */
  gap: 1.2em;
  max-width: 960px;
  margin: 2em auto;
}

.zaiko-trouble-item {
  background-color: #009DBF;
  color: #ffffff;
  padding: 1.5em 1em;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
  line-height: 1.6;
  border-radius: 0;
}

.zaiko-trouble-item span {
  color: #ffff00; /* 黄色強調 */
}

@media screen and (max-width: 768px) {
  .zaiko-trouble-list {
    grid-template-columns: 1fr; /* スマホは1列 */
  }
}