body {
    font-family: "Helvetica Neue", sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
  }

  header {
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    border-bottom: 2px solid #005bac;
  }

  header img {
    height: 40px;
  }

  .header-right {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .header-right span {
    font-size: 14px;
  }

  .line-btn,
  .contact-btn {
    padding: 10px 20px;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
  }

  .line-btn {
    background-color: #06c755;
  }

  .contact-btn {
    background-color: #F8CF3E;
    color: #162B6F;
  }

  .top_btn {
    background-color: #152975;
    color: #fff;
  }

  .hero {
    background: url(../img/fv_bg.png) no-repeat center center / cover;
    padding: 60px 5%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .hero-text {
    max-width: 80%;
  }

  .hero-text .fv_block {
    font-size: 50px;
    color: #fff;
    padding: 0 20px;
    display: inline-block;
    font-weight: bold;
    background: linear-gradient(90deg,rgba(21, 42, 111, 1) 0%, rgba(81, 125, 159, 1) 100%);
  }

  .hero-text p {
    margin-top: 20px;
    font-size: 20px;
  }

  .hero-text p strong {
    font-size: 24px;
    color: #ffc107;
  }

  .form-box {
    padding: 20px;
    border-radius: 8px;
    max-width: 35%;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }

  .form-box h2 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .form-box input,
  .form-box textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .form-box button {
    width: 200px;
    background-color: #F8CF3E;
    color: #162B6F;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
  }

  .section {
    padding: 60px 0;
    max-width: 950px;
    margin: 0 auto;
  }

  .section h2 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 40px;
    color: #162B6F;
  }

  .problems {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .problem-item {
    text-align: center;
    max-width: 250px;
  }

  .problem-item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .others {
    background-color: #F9F9F9;
    margin-top: 40px;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    padding-bottom: 35px;
  }


  .others ul {
    list-style: none;
    text-align: left;
    font-size: 20px;
    font-weight: bold;
    width: max-content;
    margin: 0 auto;
    color: #162B6F;
  }


  /* 特徴セクション */
.features-header {
  text-align: center;
  padding: 25px 5%;
  background-image: url(../img/bg_img.png);
}

.features-header h2 {
  font-size: 24px;
  color: #003366;
}

.features-content {
  padding: 60px 0;
  background: white;
  max-width: 950px;
  margin: 0 auto;
}

.features-content h3 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 40px;
  color: #003366;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.feature-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.8;
  position: relative;
}

.feature-text .feature-number {
  font-size: 80px;
  font-weight: bold;
  color: #E5C8D1;
  margin: 0;
  position: absolute;
  top: -30px;
    left: -65px;
    z-index: 1;
}


.feature-img img {
  max-width: 100%;
}

/* 実績セクション */
.achievements {
  background: white;
  text-align: center;
  padding: 60px 5%;
}

.achievements h3 {
  font-size: 20px;
  color: #003366;
  margin-bottom: 30px;
}

.achievements h3 span {
  font-size: 26px;
  font-weight: bold;
}

.achievement-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.card {
  background: #fdfdfd;
  border: 2px solid #d2c395;
  border-radius: 10px;
  padding: 20px;
  width: 240px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

.card .year {
  color: #333;
  font-weight: bold;
}

.card h4 {
  font-size: 18px;
  margin: 10px 0;
  color: #003366;
}

.card .highlight {
  color: #e6b800;
  font-size: 28px;
  font-weight: bold;
}


/* ===== お問い合わせバナー（上・下共通） ===== */
.cta-banner {
  text-align: center;
  padding: 50px 20px;
  background-color: #f1f1f1;
}

.cta-banner h3 {
  font-size: 40px;
  margin-bottom: 20px;
  color: #003366;
}

.btn-yellow {
  background-color: #f5c400;
  color: #003366;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  font-size: 30px;
  width: 300px;
  display: block;
  margin: 0 auto;
}

.btn-blue {
  background-color: #003366;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  width: 300px;
  display: block;
  font-size: 20px;
  margin: 0 auto;
}

/* バナー背景画像あり（下部） */
.bg-image {
  background: url('../img/cta_img2.png') center center / cover no-repeat;
  color: white;
}

/* ===== 受験者の声 ===== */
.voices {
  padding: 60px 5%;
  background-color: white;
}

.voices-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 40px;
  color: #003366;
}

.voice-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.voice-card {
  width: 300px;
  padding: 20px;
  border-radius: 10px;
}

.voice-card img {
  width: 100%;
  border-radius: 6px;
  margin: 5px 0;
}

.voice-meta {
  font-size: 14px;
  color: #333;
  margin-bottom: 5px;
}

.voice-headline {
  font-weight: bold;
  color: #003366;
  font-size: 19px;
  margin: 5px 0 5px;
}

.voice-text {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}


.comparison h2 {
  text-align: center;
  color: #12236a;
  margin-bottom: 30px;
  font-size: 24px;
}

table {
  width: 90%;
  max-width: 950px;
  margin: 0 auto;
  border-collapse: collapse;
  text-align: center;
  font-size: 14px;
}

thead tr {
  background-color: #12236a;
  color: #fff;
}

th, td {
  border: 1px solid #ddd;
  padding: 19px 10px;
  font-size: 16px;
}

th.highlight, td.highlight {
  background-color: #fef9eb;
  color: #12236a;
  font-weight: bold;
}

td.bold {
  font-weight: bold;
}


.flow {
  max-width: 950px;
  margin: 0 auto;
  padding: 50px 0px;
  text-align: center;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  color: #1a237e;
  margin-bottom: 40px;
}

.flow-step {
  display: flex;
  align-items: center;
  background-color: #f5f7fb;
  margin: 15px 0;
  padding: 20px;
  border-radius: 8px;
  position: relative;
}

.icon {
  flex: 0 0 80px;
  text-align: center;
  position: absolute;
  left: 0;
  top: 0;
}

.icon img {
  width: 100px;
  height: auto;
}

.text {
  text-align: left;
  padding-left: 110px;
  display: flex;
  align-items: center;
}

.text h3 {
  margin: 0 0 8px;
  font-size: 25px;
  color: #0d1d66;
  margin-bottom: 0;
  margin-right: 30px;
}

.text p {
  margin: 0;
  font-size: 15px;
  color: #333;
}

.arrow {
  font-size: 28px;
  color: #0d1d66;
  margin: 10px 0;
}

.achievements img {
  width: 85%;
}

th.highlight {
  background-color: #12236a;
  color: #F8CF3E;
}

.bly_lp section h2 {
  font-size: 40px;
  text-align: center;
}

.voice_name {
  font-size: 19px;
  color: #162B6F;
  font-weight: bold;
}

.voice-meta {
  display: flex;
    justify-content: space-between;
    align-items: center;
}

.voice_age {
  font-size: 15px;
  background: #EDEDED;
  padding: 4px 10px;
}

.cta-banner1 {
  background: url('../img/cta_img1.png') center center / cover no-repeat;
}

.feature-text p {
  font-size: 15px;
  position: relative;
  z-index: 9;
}

.feature-text p strong {
  font-size: 25px;
}

.feature-img img {
  width: 300px;
}

.problem-item p {
  font-size: 18px;
  font-weight: bold;
  color: #162B6F;
}

.others h3{
  font-size: 30px;
  color: #162B6F;
  margin-top: 10px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: 30px;
  font-weight: 500;
}

.hero-text .fv_txt {
  font-size: 40px;
  font-weight: bold;
  margin-top: 0;
  line-height: 1;
}

.hero-text .fv_txt span {
  font-size: 60px;
}

.hero-text h1 {
  color: #162B6F;
  margin-bottom: 0;
}

.fv_txt {
  font-size: 40px;
  color: #162B6F;
}

.hero-text .fv_txt span span {
  font-size: 40px;
}

.hero-text .fv_txt2 {
  font-size: 40px;
  font-weight: bold;
  color: #162B6F;
  margin-bottom: 0;
}

.hero-text .sub-heading {
  background-color: #fff;
  width: max-content;
  font-size: 40px;
  font-weight: bold;
  color: #162B6F;
  padding: 5px 10px;
}

.hero-text .sub-heading span {
  color: #F8CF3E;
  font-size: 60px;
}

.fv_txt span {
  position: relative;
  display: inline-block;
  font-weight: bold;
  color: #152975; /* ネイビーブルー */
  z-index: 1;
}

.fv_txt span::before {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 0.3em;
  background-color: hsl(47, 93%, 61%,0.7); /* 黄色 */
  transform: skewX(-20deg); /* 左上がりの斜線 */
  z-index: -1;
}

.hero .form-box h2 {
  font-size: 30px;
  text-align: center;
}

.form-box p {
  text-align: center;
}

/* フォーム */
.cotact {
  background: #f9f9f9;
}

.contact-form {
  max-width: 950px;
  margin: 0 auto;
  background: #f9f9f9;
  padding: 40px 20px;
  font-family: "Helvetica Neue", sans-serif;
}

.contact-form h2 {
  text-align: center;
  color: #152975;
  font-size: 28px;
  margin-bottom: 10px;
}

.contact-form .form-note {
  text-align: center;
  margin-bottom: 30px;
  color: #152975;
  font-size: 14px;
}

.contact-form .form-row {
  display: flex;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #9999bb;
  border-radius: 2px;
  font-size: 16px;
  box-sizing: border-box;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.contact-form button {
  display: block;
  margin: 20px auto 0;
  background: #fcd347;
  color: #152975;
  font-weight: bold;
  font-size: 18px;
  padding: 12px 50px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
  width: 300px;
}

.contact-form button:hover {
  background: #f5c10f;
}


.cta-section {
  text-align: center;
  margin: 50px 0 50px;
}

.btn {
  display: inline-block;
  padding: 20px 0px;
  margin: 0 5px;
  border-radius: 5px;
  font-size: 20px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.btn-contact {
  background-color: #172a6b; /* 紺色 */
}

.btn-contact:hover {
  opacity: 0.8;
}

.btn-line {
  background-color: #225022; /* LINEの緑色 */
}

.btn-line:hover {
  opacity: 0.8;
}

.footer {
  background-color: #172a6b;
  color: white;
  text-align: center;
  padding: 1px 0;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 97px;
}


.faq-section {
  max-width: 960px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.faq-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #172a6b;
  margin-bottom: 40px;
}

.faq-item {
  border: 1px solid #f0f0f0;
  margin-bottom: 12px;
  overflow: hidden;
  transition: 0.3s;
}

.faq-item.active {
  border: none;
}

.faq-question {
  background-color: white;
  color: #172a6b;
  font-weight: bold;
  font-size: 16px;
  padding: 20px;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-left: 6px solid transparent;
  transition: 0.3s;
}

.faq-item.active .faq-question {
  background: #172a6b;
  color: white;
}

.faq-question .icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #fbd13e;
  color: #172a6b;
  font-weight: bold;
  font-size: 20px;
  line-height: 40px;
  text-align: center;
  border-radius: 2px;
  flex-shrink: 0;
  margin-left: 10px;
  position: initial;
  flex: none;
}

.faq-answer {
  display: none;
  background: #f9f9f9;
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.faq-item.active .faq-answer {
  display: block;
}

.display_sp {
  display: none;
}

.comparison {
  overflow-x: auto;
}

.comparison table {
  width: 100%;
  min-width: 600px; /* 横スクロールを発生させるため */
  border-collapse: collapse;
  white-space: nowrap; /* テキストの折り返し防止 */
}

.comparison th,
.comparison td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: center;
}

.fee {
  padding: 80px 0;
}

.fee img {
  max-width: 950px;
  width: 100%;
  margin: 0 auto;
  display: block;
}

.difference {
  padding: 80px 0;
}

.cta-section {
  position: fixed;       /* 画面に固定 */
  bottom: 0;             /* 最下部に配置 */
  left: 0;
  width: 100%;           /* 横幅いっぱい */
  background: #fff;      /* 背景色（任意） */
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: center; /* 中央寄せ */
  gap: 1rem;               /* ボタン間余白 */
  padding: 20px 10px;
  z-index: 9999;         /* 最前面に表示 */
  margin: 0;
  transition: opacity 0.6s ease;
  opacity: 1;
}

.cta-section .btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
}

.btn-contact {
  background: #172a6b;
  color: #fff;
}

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

.cta-section.hidden {
  opacity: 0;
  pointer-events: none;
}

.line-btn span {
  display: block;
  font-size: 10px;
  text-align: center;
}

.cotact {
  padding: 60px 0;
}

.cotact a img {
  display: block;
  margin: 0 auto;

}

.form-note {
  text-align: center;
  margin-bottom: 40px;
}


@media screen and (max-width: 768px) {
  /* ヘッダー */
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
  }
.form-box {
  display: none;
}
  .header-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
  }

  .header-right span {
    font-size: 12px;
    line-height: 1.4;
  }

  .line-btn,
  .contact-btn {
    width: 100%;
    text-align: center;
    font-size: 14px;
  }

  /* ヒーローセクション */
  .hero {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    background-image: url(../img/fv_bg_sp.png);
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

  .hero-text .fv_block {
    font-size: 25px;
    padding: 4px 12px;
  }

  .hero-text h1 {
    font-size: 16px;
  }

  .hero-text .fv_txt {
    font-size: 24px;
    line-height: 1.2;
  }

  .hero-text .fv_txt span {
    font-size: 37px;
  }

  .hero-text .fv_txt span span {
    font-size: 20px;
  }

  .hero-text .fv_txt2 {
    font-size: 24px;
    margin-top: 30px;
  }

  .hero-text .sub-heading {
    font-size: 24px;
    margin: 10px auto 0;
    letter-spacing: 0.1rem;
  }

  .hero-text .sub-heading span {
    font-size: 28px;
  }

  .form-box {
    max-width: 100%;
    margin-top: 30px;
  }

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

  /* お悩みセクション */
  .section {
    padding: 40px 20px;
  }

  .section h2 {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .problems {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .problem-item {
    max-width: 100%;
  }

  .problem-item img {
    width: 54%;
    margin: 0 auto 10px;
  }

  .problem-item p {
    font-size: 16px;
    text-align: center;
  }

  .others {
    padding: 15px 25px;
  }

  .others h3 {
    font-size: 20px;
    margin: 20px 0 10px;
  }

  .others ul {
    font-size: 14px;
    font-weight: normal;
    width: 100%;
    padding-left: 0;
  }

  /* 特徴セクション */
  .features-header {
    padding: 3px 20px;
    background-image: url(../img/bg_img_sp.png);
  }

  .features-header h2 {
    font-size: 18px;
    line-height: 1.6;
  }

  .features-header h2 span {
    font-size: 20px;
    display: block;
    margin-top: 10px;
  }

  .features-content {
    padding: 40px 20px;
  }

  .features-content h3 {
    font-size: 22px;
    margin-bottom: 30px;
    text-align: center;
  }

  .feature-item {
    flex-direction: column !important;
    align-items: center;
    gap: 5px;
    margin-bottom: 45px;
  }

  .feature-item:last-child {
    margin-bottom: 0;
  }

  .feature-text {
    order: 2;
    text-align: center;
    padding: 0 10px;
  }

  .feature-text .feature-number {
    font-size: 40px;
    
    margin-bottom: 10px;
    top: -35px;
    left: 0;
    line-height: 1;
  }

  .feature-text p {
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
    margin-top: 0;
  }

  .feature-text p strong {
    font-size: 18px;
    display: block;
    text-align: center;
    margin-bottom: 8px;
  }

  .feature-img {
    order: 1;
    text-align: center;
  }

  .feature-img img {
    width: 100%;
    height: auto;
    max-width: 320px;
  }

  /* reverse クラス対応（PCで左右逆にしてるやつも縦並びに） */
  .feature-item.reverse {
    flex-direction: column !important;
  }
  body .display_pc {
    display: none;
  }
  .display_sp {
    display: block;
  }
  .achievements img {
    width: 100%;
  }
  .voices {
    padding: 60px 20px;
    background: #fdfdfd;
  }
  
  .voices-title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 30px;
  }
  
  .voice-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    text-align: center;
  }
  
  .voice-meta {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .voice-meta span {
    display: inline-block;
    margin: 0 4px;
  }
  
  .voice-card img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 15px;
    display: block;
  }
  
  .voice-headline {
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .voice-text {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    color: #002772;
  }
  .cta-banner h3 {
    font-size: 22px;
    margin-bottom: 5px;
    margin-top: 0;
  }
  .btn-yellow {
    width: 200px;
    font-size: 15px;
    box-sizing: border-box;
    padding: 7px 30px;
  }
  .voice-card {
    padding: 0;
  }
  .btn-blue {
    width: 200px;
    font-size: 15px;
    box-sizing: border-box;
    padding: 7px 30px;
  }
  .swiper-button-next:after, .swiper-button-prev:after{
    display: none;
  }
  .swiper-button-prev img, .swiper-button-next img {
    width: 30px;
    height: 30px;
  }
  .bly_lp .swiper-button-prev, .bly_lp .swiper-rtl .swiper-button-next {
    top: 135px;
    left: 5px;
  }
  .bly_lp .swiper-button-next, .bly_lp .swiper-rtl .swiper-button-prev {
    top: 135px;
    right: 5px;
  }
  .comparison {
    overflow-x: auto;
  }

  .comparison table {
    display: block;
    margin-left: 10px;
  }
  .text {
    display: block;
  }
  .header-right {
    display: none;
  }
  .bly_lp section h2 {
    font-size: 22px;
  }
  .achievements {
    padding-top: 0;
  }

  .fee img {
    max-width: 70%;
    width: 100%;
  }
  .fv_txt span::before {
    bottom: 0;
  }
  .cta-banner1 {
    background-image: url(../img/cta_img1_sp.png);
    padding: 20px 20px;
  }
  .bg-image {
    padding: 20px 20px;
  }
  .cta-section {
    gap: 0rem;
    padding: 10px 0;
  }
  .btn {
    font-size: 13px;
  }
  .footer {
    margin-bottom: 67px;
  }
  .contact-form .form-note {
    font-size: 13px;
  }
  .contact-form {
    padding: 40px 10px;
  }
  .btn-line span {
    margin-right: 10px;
  }
 }