@charset "UTF-8";
/*
* kounai.css - 放課後学習支援プログラム ページ固有スタイル
*/

/* フォント設定 */
.kounai-mv,
.kounai-problem,
.kounai-about,
.kounai-feature,
.kounai-case,
.kounai-flow,
.kounai-faq,
.kounai-cta {
  font-family: 'Noto Sans JP', sans-serif;
}

/* ------------------------
  ヘッダー（専用）
------------------------ */
.kounai-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 100px;
  background-color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px 20px 0 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease, padding 0.3s ease;
}

/* スクロール時：ハンバーガーメニューのみ表示（PC版） */
@media screen and (min-width: 769px) {
  .kounai-header.is-scrolled {
    background-color: transparent;
    box-shadow: none;
    height: auto;
    padding: 10px 20px 0 30px;
  }
  .kounai-header.is-scrolled .kounai-header_logo {
    opacity: 0;
    visibility: hidden;
    width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, width 0.3s ease;
  }
  .kounai-header.is-scrolled .kounai-header_menu {
    margin-top: 5px;
  }
}

/* スクロール時：ハンバーガーメニューのみ表示（タブレット・スマホ版） */
@media screen and (max-width: 768px) {
  .kounai-header.is-scrolled {
    background-color: transparent;
    box-shadow: none;
  }
  .kounai-header.is-scrolled .kounai-header_logo {
    opacity: 0;
    visibility: hidden;
  }
}

.kounai-header_logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 80px;
  gap: 8px;
}

.kounai-header_logo_main {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.kounai-header_logo_main img {
  display: block;
  width: 110px;
  height: auto;
}

.kounai-header_logo_text {
  font-size: 12px;
  font-weight: 700;
  color: #333;
  margin-bottom: -3px;
}

.kounai-header_logo_sub {
  display: flex;
  align-items: center;
  gap: 15px;
}

.kounai-header_logo_sub a {
  display: block;
}

.kounai-header_logo_sub img {
  display: block;
  max-width: 250px;
  height: 42px;
  width: auto;
}

/* ヘッダー レスポンシブ */
@media screen and (max-width: 768px) {
  .kounai-header {
    height: 60px;
    padding: 0 0 0 10px;
    align-items: flex-start;
  }
  .kounai-header_logo {
    height: 60px;
    gap: 4px;
  }
  .kounai-header_logo_main img {
    width: 80px;
    height: auto;
  }
  .kounai-header_logo_text {
    font-size: 9px;
  }
  .kounai-header_logo_sub {
    gap: 7px;
  }
  .kounai-header_logo_sub img {
    max-width: 145px;
    height: 29px;
  }
  .kounai-header_menu {
    width: 50px;
    height: 50px;
    gap: 5px;
    margin-top: 0 !important;
    margin-right: 0 !important;
    padding: 10px 0 0 0 !important;
  }
  .kounai-header_menu_line {
    width: 24px;
  }
  .kounai-header_menu_text {
    font-size: 8px;
  }
  .kounai-header_menu.is-open .kounai-header_menu_lines .kounai-header_menu_line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .kounai-header_menu.is-open .kounai-header_menu_lines .kounai-header_menu_line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }
  .kounai-header_menu.is-open .kounai-header_menu_lines .kounai-header_menu_line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .kounai-nav {
    top: 0 !important;
  }
  .kounai-mv {
    padding-top: 70px;
  }
  .kounai-mv_image {
    top: 70px;
  }
  .kounai-mv_curve {
    top: 70px;
  }
  .kounai-mv_content {
    top: 70px;
  }
}

.kounai-header_menu {
  width: 60px;
  height: 60px;
  background-color: #013a81;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  padding: 12px 0 0 0;
  position: relative;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}
@media (hover: hover) {
  .kounai-header_menu:hover {
    background-color: #FF8357;
  }
}

.kounai-header_menu_lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  transition: all 0.3s ease;
}

.kounai-header_menu_line {
  display: block;
  width: 32px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.kounai-header_menu_text {
  display: block;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: -2px;
}

/* CLOSE状態 */
.kounai-header_menu.is-open {
  background-color: #013a81;
}
.kounai-header_menu.is-open .kounai-header_menu_lines .kounai-header_menu_line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.kounai-header_menu.is-open .kounai-header_menu_lines .kounai-header_menu_line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}
.kounai-header_menu.is-open .kounai-header_menu_lines .kounai-header_menu_line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ------------------------
  ナビゲーション
------------------------ */
.kounai-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s 0.4s;
}
.kounai-nav.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s 0s;
}

.kounai-nav_overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.kounai-nav.is-open .kounai-nav_overlay {
  opacity: 1;
}

.kounai-nav_content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: auto;
  background-color: #fff;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}
.kounai-nav.is-open .kounai-nav_content {
  transform: translateX(0);
}

.kounai-nav_close {
  position: absolute;
  top: 25px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #013a81;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  padding: 12px 0 0 0;
  z-index: 10;
  transition: background-color 0.3s ease;
}
@media (hover: hover) {
  .kounai-nav_close:hover {
    background-color: #FF8357;
  }
}
.kounai-nav_close_icon {
  position: relative;
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.kounai-nav_close_icon::before,
.kounai-nav_close_icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #fff;
}
.kounai-nav_close_icon::before {
  transform: rotate(45deg);
}
.kounai-nav_close_icon::after {
  transform: rotate(-45deg);
}
.kounai-nav_close_text {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 768px) {
  .kounai-nav_content {
    padding-top: 60px;
  }
  .kounai-nav_close {
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    gap: 5px;
    padding: 12px 0 0 0;
  }
  .kounai-nav_close_icon {
    width: 30px;
  }
  .kounai-nav_close_icon::before,
  .kounai-nav_close_icon::after {
    height: 3px;
  }
  .kounai-nav_close_text {
    font-size: 10px;
  }
}

.kounai-nav_body {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 40px 20px;
}
@media screen and (max-width: 768px) {
  .kounai-nav_body {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }
}

.kounai-nav_list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 280px;
}

.kounai-nav_item {
  margin-bottom: 25px;
}
.kounai-nav_item:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 768px) {
  .kounai-nav_item {
    margin-bottom: 0;
    padding: 0;
    border-bottom: 1px solid #083288;
  }
  .kounai-nav_list:first-child .kounai-nav_item:first-child {
    border-top: 1px solid #083288;
  }
  .kounai-nav_item:last-child {
    border-bottom: 1px solid #083288;
  }
}

.kounai-nav_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #0088cc;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}
.kounai-nav_link:hover {
  color: #FF8357;
}
.kounai-nav_link::after {
  content: "";
  flex-shrink: 0;
  display: block;
  width: 30px;
  height: 30px;
  background-color: #0088cc;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E");
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-color 0.3s ease;
}
.kounai-nav_link:hover::after {
  background-color: #FF8357;
}
@media screen and (max-width: 768px) {
  .kounai-nav_list {
    width: 100%;
  }
  .kounai-nav_link {
    font-size: 14px;
    padding: 15px 15px;
    height: 50px;
    box-sizing: border-box;
  }
  .kounai-nav_link::after {
    width: 24px;
    height: 24px;
    background-size: 16px;
  }
}

/* ナビ フッター */
.kounai-nav_footer {
  margin-top: 30px;
  padding: 0 20px;
}

.kounai-nav_contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background-color: #00b7b8;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.kounai-nav_contact:hover {
  background-color: #FF8357;
}

.kounai-nav_contact_icon {
  width: 24px;
  height: 18px;
}

.kounai-nav_contact_txt {
  color: #fff;
  transition: color 0.3s ease;
  margin: 0 8px;
}
.kounai-nav_contact:hover .kounai-nav_contact_txt {
  color: #083288;
}

.kounai-nav_contact_arrow {
  width: 20px;
  height: 20px;
}

.kounai-nav_tel {
  display: block;
  margin-top: 15px;
  text-align: center;
  transition: opacity 0.3s ease;
}
.kounai-nav_tel:hover {
  opacity: 0.8;
}
.kounai-nav_tel img {
  display: inline-block;
  max-width: 280px;
  height: auto;
}

@media screen and (max-width: 768px) {
  .kounai-nav_footer {
    margin-top: 0;
    padding: 0;
  }
  .kounai-nav_contact {
    font-size: 14px;
    padding: 15px;
    height: 50px;
    box-sizing: border-box;
  }
  .kounai-nav_tel {
    margin-top: 0;
    padding: 0 15px;
    height: auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .kounai-nav_tel img {
    max-width: 250px;
  }
  .kounai-nav_tel_number {
    font-size: 20px;
  }
}

/* ------------------------
  共通
------------------------ */
.kounai-section_title {
  text-align: center;
  margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
  .kounai-section_title {
    margin-bottom: 25px;
  }
}
.kounai-section_title img {
  max-width: 100%;
  height: auto;
}

/* ------------------------
  メインビジュアル
------------------------ */
.kounai-mv {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  padding-top: 100px;
  overflow: hidden;
  box-sizing: border-box;
}

.kounai-mv_bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(to bottom, #6ec4e8 50%, #0a2d5c 100%);
}

.kounai-mv_image {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  height: var(--mv-image-height, 48%);
  max-height: 567px;
  background: url('../img/top-back3.png') center top / cover no-repeat;
  clip-path: ellipse(100% 100% at 50% 0%);
  z-index: 3;
}

.kounai-mv_curve {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  height: calc(var(--mv-image-height, 48%) + 6px);
  max-height: 567px;
  background: #0a2d5c;
  clip-path: ellipse(100% 100% at 50% 0%);
  z-index: 2;
}

.kounai-mv_gradient {
  display: none;
}

.kounai-mv_content {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
}

.kounai-mv_text {
  padding-top: 40px;
  text-align: right;
}

.kounai-mv_catch {
  position: absolute;
  top: 60px;
  left: calc(50% + 60px);
  color: #083388;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.8;
  text-align: left;
}

.kounai-mv_btn {
  position: absolute;
  top: 230px;
  left: calc(50% + 60px);
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.kounai-mv_btn img {
  display: block;
  width: 200px;
  height: auto;
}

.kounai-mv_btn .kounai-mv_btn_hover {
  display: none;
}

.kounai-mv_btn:hover .kounai-mv_btn_default {
  display: none;
}

.kounai-mv_btn:hover .kounai-mv_btn_hover {
  display: block;
}

.kounai-mv_btn_arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
}

.kounai-mv_bottom {
  position: absolute;
  bottom: 25px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  transform: scale(var(--mv-scale, 1));
  transform-origin: center bottom;
}
@media screen and (min-width: 1400px) and (max-height: 800px) {
  .kounai-mv_bottom {
    bottom: 10px;
  }
}

.kounai-mv_subtitle {
  margin-bottom: 14px;
}

.kounai-mv_subtitle img {
  width: 520px;
  max-width: 90%;
  height: auto;
}

.kounai-mv_title {
  margin-bottom: 10px;
}

.kounai-mv_title img {
  width: 520px;
  max-width: 70%;
  height: auto;
}

.kounai-mv_title_program {
  display: inline-block;
  background-color: #fff;
  color: #0d3a6e;
  font-size: 26px;
  padding: 7px 35px;
  border-radius: 5px;
  margin-top: 10px;
}

.kounai-mv_target {
  font-size: 18px;
  font-weight: 700;
  margin-top: 14px;
  margin-bottom: 10px;
}

.kounai-mv_desc {
  font-size: 12px;
  opacity: 0.9;
}


/* メインビジュアル レスポンシブ */
@media screen and (max-width: 1024px) {
  .kounai-mv {
    height: auto;
    min-height: 1100px;
  }
}

@media screen and (max-width: 768px) {
  .kounai-mv {
    min-height: 500px;
    height: auto;
  }
  .kounai-mv_image {
    top: 60px;
    height: 50%;
    clip-path: ellipse(75% 100% at 50% 0%);
    background-position: 60% top;
  }
  .kounai-mv_curve {
    top: 60px;
    height: calc(50% + 6px);
    clip-path: ellipse(75% 100% at 50% 0%);
  }
  .kounai-mv_content {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
  }
  .kounai-mv_text {
    text-align: right;
    padding-top: 0;
  }
  .kounai-mv_catch {
    position: relative;
    top: auto;
    left: auto;
    text-align: right;
    font-size: 14px;
    line-height: 1.3;
    padding: 20px 20px 5px 15px;
  }
  .kounai-mv_btn {
    position: relative;
    top: auto;
    left: auto;
    display: inline-block;
    margin: 10px 20px 0 0;
  }
  .kounai-mv_btn img {
    width: 160px;
  }
  .kounai-mv_bottom {
    position: relative;
    bottom: auto;
    transform: none;
    padding: 90px 20px 30px;
  }
  .kounai-mv_subtitle img {
    width: 90%;
    max-width: 350px;
  }
  .kounai-mv_title img {
    width: 80%;
    max-width: 300px;
  }
  .kounai-mv_title_program {
    font-size: 18px;
    padding: 6px 20px;
  }
  .kounai-mv_target {
    font-size: 16px;
  }
  .kounai-mv_desc {
    font-size: 11px;
  }
}

/* ------------------------
  お悩みセクション
------------------------ */
.kounai-problem {
  padding: 60px 20px 30px;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  .kounai-problem {
    padding: 40px 20px 15px;
  }
}

.kounai-problem_inner {
  max-width: 1000px;
  margin: 0 auto;
}

.kounai-problem_title {
  text-align: center;
  margin-bottom: 30px;
  padding: 18px 20px 60px;
  background: url('../img/title-back.png') no-repeat center bottom / 100% auto;
  color: #00a0e9;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}
@media screen and (max-width: 768px) {
  .kounai-problem_title {
    font-size: 22px;
    margin-bottom: 0;
    padding: 15px 20px 45px;
    background-image: url('../img/title-back-sp.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
  }
}

/* スマホのみ表示 */
.sp-only {
  display: none !important;
}
@media screen and (max-width: 768px) {
  .sp-only {
    display: inline !important;
  }
  p.sp-only,
  div.sp-only {
    display: block !important;
  }
}

/* PCのみ表示 */
.pc-only {
  display: inline;
}
p.pc-only,
div.pc-only {
  display: block;
}
@media screen and (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
  p.pc-only,
  div.pc-only {
    display: none !important;
  }
}

.kounai-problem_content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.kounai-problem_content .kounai-problem_card:nth-child(1) { grid-column: 1; grid-row: 1; }
.kounai-problem_content .kounai-problem_image--1 { grid-column: 1; grid-row: 2; }
.kounai-problem_content .kounai-problem_card:nth-child(3) { grid-column: 2; grid-row: 1; }
.kounai-problem_content .kounai-problem_image--2 { grid-column: 2; grid-row: 2; }
.kounai-problem_content .kounai-problem_card:nth-child(5) { grid-column: 3; grid-row: 1; }
.kounai-problem_content .kounai-problem_image--3 { grid-column: 3; grid-row: 2; }
@media screen and (max-width: 768px) {
  .kounai-problem_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

.kounai-problem_card {
  flex: 1;
  max-width: 320px;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  .kounai-problem_card {
    flex: none;
    width: 320px;
    max-width: 320px;
    margin: 0 auto;
  }
}

.kounai-problem_card_header {
  background: url('../img/card-title.png') no-repeat center / 100% 100%;
  padding: 15px 20px;
  text-align: center;
  height: 90px;
  position: relative;
  z-index: 2;
}

.kounai-problem_card_title {
  color: #008FD3;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}
@media screen and (max-width: 768px) {
  .kounai-problem_card_title {
    font-size: 20px;
  }
}

.kounai-problem_card_body {
  background: url('../img/card-body.png') no-repeat center / 100% 100%;
  padding: 25px 15px 20px;
  height: 250px;
  margin-top: -31px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .kounai-problem_card_body {
    height: auto;
    padding-bottom: 30px;
  }
}

.kounai-problem_card_list {
  list-style: none;
  margin: 23px 0 15px;
  padding: 0;
  padding-left: 20px;
}
@media screen and (max-width: 768px) {
  .kounai-problem_card_list {
    padding-left: 33px;
  }
}

.kounai-problem_card_list li {
  position: relative;
  padding-left: 15px;
  font-size: 17px;
  font-weight: 700;
  line-height: 2.0;
  color: #333;
  margin-bottom: 10px;
}

.kounai-problem_card_list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #00a0e9;
}

.kounai-problem_card_img {
  text-align: center;
  margin-top: -10px;
}

.kounai-problem_card_img img {
  max-width: 60px;
  height: auto;
}

.kounai-problem_card_img--card1 img {
  max-width: 80px;
}

.kounai-problem_card_img--card2 {
  margin-top: 10px;
}
.kounai-problem_card_img--card2 img {
  max-width: 100px;
}

.kounai-problem_card_img--card3 {
  margin-top: 10px;
}
.kounai-problem_card_img--card3 img {
  max-width: 80px;
}
@media screen and (max-width: 768px) {
  .kounai-problem_card_img {
    display: none;
  }
}


.kounai-problem_image {
  flex: 1;
  max-width: 320px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .kounai-problem_image {
    max-width: 100%;
    margin-top: -20px;
  }
}

.kounai-problem_image img {
  max-width: 100%;
  height: auto;
}

.kounai-problem_image--1 img {
  width: 140px;
  max-width: none;
}

.kounai-problem_image--2 img {
  margin-top: 20px;
  max-width: 250px;
}

.kounai-problem_image--3 img {
  margin-top: 20px;
  max-width: 100px;
}

.kounai-problem_arrow {
  text-align: center;
  margin-top: 50px;
}

.kounai-problem_arrow img {
  max-width: 168px;
  height: auto;
}
@media screen and (max-width: 768px) {
  .kounai-problem_arrow {
    margin-top: 50px;
  }
  .kounai-problem_arrow img {
    max-width: 120px;
  }
  .kounai-problem_image--2 img {
    max-width: 250px;
  }
}

/* ------------------------
  オーダーメイドプログラム
------------------------ */
.kounai-ordermade {
  padding: 10px 20px 80px;
  background-color: #fff;
  text-align: center;
}

.kounai-ordermade_inner {
  max-width: 855px;
  height:85px;
  margin: 0 auto;
  background: url('../img/ordermade-back.png') no-repeat center / 100% 100%;
  padding: 30px 20px;
}

.kounai-ordermade_catch {
  color: #083288;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}
@media screen and (max-width: 768px) {
  .kounai-ordermade_catch {
    font-size: 22px;
  }
}

.kounai-ordermade_arrow {
  margin-top: 20px;
}
.kounai-ordermade_arrow img {
  width: 40px;
  height: auto;
}

/* オーダーメイド レスポンシブ */
@media screen and (max-width: 768px) {
  .kounai-ordermade {
    padding: 10px 20px 40px;
  }
  .kounai-ordermade_inner {
    height: auto;
    padding: 25px 20px;
    background-color: #FEF337;
    border: none;
    border-radius: 9999px;
  }
}

/* ------------------------
  プログラムとは
------------------------ */
.kounai-about {
  padding: 60px 20px;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  .kounai-about {
    padding: 40px 20px;
  }
}

.kounai-about_title {
  text-align: center;
  margin-bottom: 30px;
  padding: 18px 20px 60px;
  background: url('../img/title-back.png') no-repeat center bottom / 100% auto;
  color: #00a0e9;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}
@media screen and (max-width: 768px) {
  .kounai-about_title {
    font-size: 22px;
    margin-bottom: 0;
    padding: 15px 20px 38px;
    background-image: url('../img/title-back-sp.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    line-height: 1.3;
  }
}

.kounai-about_inner {
  max-width: 1000px;
  margin: 0 auto;
}

.kounai-about_desc {
  text-align: center;
}

.kounai-about_desc_title {
  color: #013a81;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}
@media screen and (max-width: 768px) {
  .kounai-about_desc_title {
    font-size: 18px;
  }
}

.kounai-about_desc_txt {
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .kounai-about_desc_txt {
    font-size: 16px;
    text-align: left;
    margin-top: 20px;
  }
}

.kounai-about_content {
  text-align: center;
}

.kounai-about_img {
  display: inline-block;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}
.kounai-about_img img {
  width: 90%;
  max-width: 1000px;
  height: auto;
}
@media screen and (max-width: 768px) {
  .kounai-about_img {
    display: none;
  }
}

/* SP版画像とクリッカブルエリア */
.kounai-about_img-sp {
  position: relative;
  display: none;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .kounai-about_img-sp {
    display: inline-block;
    margin-top: 15px;
  }
}
.kounai-about_img-sp img {
  width: 100%;
  height: auto;
}
.kounai-about_img-sp_area {
  position: absolute;
  background: transparent;
  border: none;
  cursor: pointer;
}
.kounai-about_img-sp_area--orange {
  top: 0;
  left: 10%;
  width: 80%;
  height: 16%;
}
.kounai-about_img-sp_area--purple {
  bottom: 28%;
  left: 0;
  width: 25%;
  height: 22%;
}
.kounai-about_img-sp_area--green {
  bottom: 28%;
  right: 0;
  width: 25%;
  height: 22%;
}

/* モーダル */
.kounai-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}
.kounai-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.kounai-modal_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}
.kounai-modal_content {
  position: relative;
  background: #fff;
  border-radius: 10px;
  width: 250px;
  max-height: 80%;
  overflow: visible;
  padding: 20px;
}
.kounai-modal_close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}
.kounai-modal_body {
  padding: 10px 0;
}
.kounai-modal_body img {
  max-width: 100%;
  height: auto;
}
.kounai-modal_header {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  padding: 12px 20px;
  border-radius: 9999px;
  margin-bottom: 15px;
}
.kounai-modal_header--orange {
  background-color: #FE8357;
}
.kounai-modal_list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.kounai-modal_list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 5px;
  font-size: 15px;
  color: #333;
  line-height: 1.4;
}
.kounai-modal_list li::before {
  content: "\2605";
  position: absolute;
  left: 0;
  color: #333;
}
.kounai-modal--orange .kounai-modal_content {
  background-color: #FDE7DF;
  border: none;
  border-radius: 15px;
}
.kounai-modal--orange .kounai-modal_close {
  background-color: #008FD3;
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  top: -10px;
  right: -10px;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kounai-modal_header--purple {
  background-color: #C669BE;
}
.kounai-modal_list--purple li::before {
  color: #333;
}
.kounai-modal--purple .kounai-modal_content {
  background-color: #FFF0FE;
  border: none;
  border-radius: 15px;
}
.kounai-modal--purple .kounai-modal_close {
  background-color: #008FD3;
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  top: -10px;
  right: -10px;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kounai-modal_logo {
  text-align: center;
  margin-top: 15px;
  padding-top: 10px;
}
.kounai-modal_logo img {
  max-width: 150px;
  height: auto;
}
.kounai-modal_header--green {
  background-color: #49C3B8;
}
.kounai-modal_list--green li::before {
  color: #333;
}
.kounai-modal--green .kounai-modal_content {
  background-color: #E5FFFD;
  border: none;
  border-radius: 15px;
}
.kounai-modal--green .kounai-modal_close {
  background-color: #008FD3;
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  top: -10px;
  right: -10px;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .kounai-modal--purple .kounai-modal_logo {
    display: none;
  }
}

/* ------------------------
  ２つの特長
------------------------ */
.kounai-feature {
  padding: 60px 20px;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  .kounai-feature {
    padding: 40px 20px;
  }
}

.kounai-feature_inner {
  max-width: 1000px;
  margin: 0 auto;
}

.kounai-feature_title {
  text-align: center;
  margin-bottom: 30px;
  padding: 18px 20px 60px;
  background: url('../img/title-back.png') no-repeat center bottom / 100% auto;
  color: #00a0e9;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}
@media screen and (max-width: 768px) {
  .kounai-feature_title {
    font-size: 22px;
    margin-bottom: 0;
    padding: 20px 20px 45px;
    background-image: url('../img/title-back-sp.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
  }
}

.kounai-feature_list {
  display: flex;
  justify-content: center;
  max-width: 950px;
  margin: 0 auto;
  gap: 30px;
}
@media screen and (max-width: 768px) {
  .kounai-feature_list {
    flex-direction: column;
    gap: 25px;
  }
}

.kounai-feature_item {
  position: relative;
  flex: 1;
  max-width: 475px;
  background-color: #FFFEE8;
  border: none;
  border-radius: 0;
  padding: 60px 37px 50px;
  text-align: center;
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  .kounai-feature_item {
    max-width: 100%;
    padding: 70px 40px 35px;
    margin-top: 60px;
  }
}

.kounai-feature_item_label {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
}
@media screen and (max-width: 768px) {
  .kounai-feature_item_label {
    width: 120px;
    height: 120px;
    top: -60px;
  }
}

.kounai-feature_item_label img {
  width: 100%;
  height: 100%;
}

.kounai-feature_item_title {
  color: #444444;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 15px;
}
@media screen and (max-width: 768px) {
  .kounai-feature_item_title {
    padding: 15px 0;;
    font-size: 20px;
  }
}

.kounai-feature_item_img {
  margin-bottom: 15px;
}
.kounai-feature_item_img img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
}
.kounai-feature_item_img img[src*="featuremain2"] {
  max-width: 300px;
}
@media screen and (max-width: 768px) {
  .kounai-feature_item_img img[src*="featuremain2"] {
    max-width: 100%;
  }
}

.kounai-feature_item_txt {
  color: #333;
  font-size: 16px;
  line-height: 1.8;
  text-align: left;
  margin-top: 30px;
}
.kounai-feature_item_txt small {
  font-size: 11px;
}
@media screen and (max-width: 768px) {
  .kounai-feature_item_txt {
    font-size: 16px;
  }
}

.kounai-feature_item_highlight {
  color: #E43F21;
  font-weight: 700;
}

/* ------------------------
  運営について
------------------------ */
.kounai-operation {
  padding: 0px 20px 60px;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  .kounai-operation {
    padding: 20px 20px 40px;
  }
}

.kounai-operation_inner {
  max-width: 850px;
  margin: 0 auto;
}

.kounai-operation_arrow {
  text-align: center;
  margin-bottom: 40px;
}
.kounai-operation_arrow img {
  max-width: 168px;
  height: auto;
}
@media screen and (max-width: 768px) {
  .kounai-operation_arrow img {
    max-width: 120px;
  }
}

.kounai-operation_content {
  position: relative;
  width: 855px;
  height: 300px;
  max-width: 100%;
  background: #008FD3;
  border-radius: 15px;
  padding: 50px 40px 30px;
  text-align: center;
  box-sizing: border-box;
  margin: 0 auto;
}

.kounai-operation_title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.2;
}
@media screen and (max-width: 768px) {
  .kounai-operation_title {
    font-size: 22px;
  }
}

.kounai-operation_catch {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}
@media screen and (max-width: 768px) {
  .kounai-operation_catch {
    font-size: 18px;
  }
}

.kounai-operation_desc {
  color: #fff;
  font-size: 14px;
  margin: 40px 0 20px;
}

.kounai-operation_box {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
@media screen and (max-width: 768px) {
  .kounai-operation_box {
    flex-direction: column;
  }
}

.kounai-operation_btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.kounai-operation_btn {
  display: inline-block;
}
.kounai-operation_btn.kounai-btn_hover {
  transition: transform 0.3s, box-shadow 0.3s;
}
.kounai-operation_btn.kounai-btn_hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}
.kounai-operation_btn img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
}

.kounai-operation_img {
  flex: 0 0 auto;
}
.kounai-operation_img img {
  max-width: 120px;
  height: auto;
}

/* PC用人物画像 */
.kounai-operation_person.pc-only {
  position: absolute;
  bottom: 0;
  right: 30px;
  z-index: 0;
}
.kounai-operation_person.pc-only img {
  width: 150px;
  height: auto;
  display: block;
}

@media screen and (max-width: 768px) {
  .kounai-operation_img {
    display: none;
  }
  .kounai-operation_content {
    position: relative;
    width: 100%;
    height: auto;
    background: #008FD3;
    border-radius: 15px;
    padding: 30px 0 160px;
  }
  .kounai-operation_person.sp-only {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .kounai-operation_person.sp-only img {
    width: 140px;
    height: auto;
    display: block;
  }
  .kounai-operation_desc {
    font-size: 12px;
    margin: 20px 0 15px;
  }
  .kounai-operation_btns {
    flex-direction: column;
    gap: 10px;
    width: 300px;
    margin: 0 auto;
  }
  .kounai-operation_btn img {
    width: 100%;
  }
}

/* ------------------------
  導入事例
------------------------ */
.kounai-case {
  padding: 60px 20px;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  .kounai-case {
    padding: 40px 20px;
  }
}

.kounai-case_inner {
  max-width: 1000px;
  margin: 0 auto;
}

.kounai-case_title {
  text-align: center;
  margin-bottom: 30px;
  padding: 18px 20px 60px;
  background: url('../img/title-back.png') no-repeat center bottom / 100% auto;
  color: #00a0e9;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}
@media screen and (max-width: 768px) {
  .kounai-case_title {
    font-size: 22px;
    margin-bottom: 0;
    padding: 20px 20px 45px;
    background-image: url('../img/title-back-sp.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
  }
}

.kounai-case_list {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
@media screen and (max-width: 768px) {
  .kounai-case_list {
    flex-direction: column;
    gap: 25px;
  }
}

.kounai-case_item {
  position: relative;
  width: 980px;
  max-width: 100%;
  margin: 0 auto;
  background-color: #FFFDE0;
  border-radius: 10px;
  padding: 30px 40px 40px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .kounai-case_item {
    max-width: 100%;
    padding: 20px 20px 30px;
  }
}

.kounai-case_item_header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 10px 0 30px;
}

.kounai-case_item_label {
  height: 100px;
}

.kounai-case_item_heading {
  color: #083288;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .kounai-case_item_heading {
    font-size: 20px;
  }
}

/* 画像とグラフの横並びコンテナ */
.kounai-case_item_row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}
@media screen and (max-width: 768px) {
  .kounai-case_item_row {
    flex-direction: column;
    gap: 20px;
  }
}

.kounai-case_item_img {
  flex: 1;
  max-width: 50%;
}
@media screen and (max-width: 768px) {
  .kounai-case_item_img {
    max-width: 100%;
  }
}

.kounai-case_item_img > img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.kounai-case_item_body {
  margin-top: 20px;
  text-align: center;
}

.kounai-case_item_body_inner {
  display: inline-block;
  text-align: left;
}

.kounai-case_item_subtitle {
  display: inline-block;
  color: #083288;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .kounai-case_item_subtitle {
    font-size: 20px;
  }
}

.kounai-case_item_list {
  list-style: none;
  margin: 0;
  padding: 0 0 20px;
  text-align: left;
}

.kounai-case_item_list li {
  position: relative;
  padding-left: 15px;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.4;
  color: #333;
  margin-bottom: 3px;
}

.kounai-case_item_list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #083288;
}

.kounai-case_item_graph {
  flex: 1;
  max-width: 50%;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .kounai-case_item_graph {
    max-width: 100%;
  }
}

.kounai-case_item_graph img {
  max-width: 100%;
  height: auto;
}

.kounai-case_item_note {
  font-size: 10px;
  color: #333;
  background-color: #fff;
  text-align: center;
}

/* 導入事例 レスポンシブ追加 */
@media screen and (max-width: 768px) {
  .kounai-case_item_header {
    flex-direction: row;
    gap: 10px;
    margin: 20px 0 25px;
  }
  .kounai-case_item_label {
    height: 80px;
  }
  .kounai-case_item_heading {
    text-align: left;
  }
  .kounai-case_item_list li {
    font-size: 16px;
  }
}

/* ------------------------
  先生の声
------------------------ */
.kounai-voice {
  margin-top: 60px;
}

.kounai-voice--student {
  margin-top: 60px;
  margin-bottom: 0;
}

.kounai-voice--student + .kounai-voice {
  margin-top: 40px;
}

.kounai-voice_title {
  background-color: #0088cc;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 15px 30px;
  margin: 0 auto;
  border-radius: 30px;
  max-width: 980px;
}
@media screen and (max-width: 768px) {
  .kounai-voice_title {
    font-size: 20px;
    text-align: center;
    padding: 20px 20px;
    border-radius: 40px;
  }
}

.kounai-voice_list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow: visible;
  padding-bottom: 0;
  margin: 0 auto;
  max-width: 960px;
}

.kounai-voice_item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #fff;
  border: 1px solid #008FD3;
  border-radius: 20px;
  padding: 25px 30px;
  margin-top: 30px;
}
@media screen and (max-width: 768px) {
  .kounai-voice_item {
    flex-direction: column;
    align-items: center;
    padding: 20px 15px 40px;
    gap: 0;
  }
}

.kounai-voice_item_icon {
  flex: 0 0 100px;
}
.kounai-voice_item_icon img {
  width: 100px;
  height: auto;
}
.kounai-voice_item_icon img[src*="student.png"] {
  margin-top: 15px;
}
@media screen and (max-width: 768px) {
  .kounai-voice_item_icon {
    flex: 0 0 150px;
    margin-top: 0;
  }
  .kounai-voice_item_icon img {
    width: 150px;
  }
  .kounai-voice--student .kounai-voice_item:not(.kounai-voice_item--hidden) .kounai-voice_item_icon {
    margin-top: 20px;
  }
  .kounai-voice_item_text {
    font-size: 16px;
  }
}

.kounai-voice_item_content {
  margin-top: 10px;
  flex: 1;
}
@media screen and (max-width: 768px) {
  .kounai-voice_item_content {
    margin-top: -30px;
  }
}

.kounai-voice_item_name {
  margin-top: 0;
  padding: 10px 0;
}

.kounai-voice_item_text {
  color: #333;
  font-size: 14px;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .kounai-voice_item_text {
    font-size: 18px;
    padding-left: 20px;
    padding-right: 20px;
  }
  #teacher .kounai-voice_item_text:first-child {
    margin-top: 40px;
  }
  #teacher .kounai-voice_item_text + .kounai-voice_item_text {
    margin-top: 0;
  }
}

.kounai-voice_item_details {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.kounai-voice_item_details summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 260px;
  background-color: #5bc0be;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 0;
  border-radius: 25px;
  cursor: pointer;
  list-style: none;
}
.kounai-voice_item_details summary::-webkit-details-marker {
  display: none;
}
.kounai-voice_item_details summary::after {
  content: "＋";
  font-size: 16px;
}
.kounai-voice_item_details[open] summary::after {
  content: "▲";
  font-size: 12px;
}

/* 追加テキスト（デフォルト非表示・アニメーション対応） */
.kounai-voice_item_more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.8;
  margin-top: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

/* 開いた時に表示 */
.kounai-voice_item.is-open .kounai-voice_item_more {
  max-height: 500px;
  opacity: 1;
  margin-top: 15px;
  margin-bottom: 15px;
}
@media screen and (max-width: 768px) {
  .kounai-voice_item_more {
    font-size: 18px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .kounai-voice_item.is-open .kounai-voice_item_more {
    margin-top: 0;
  }
}

/* 受講生の声 - くわしく見るボタン */
.kounai-voice_open {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 260px;
  background-color: #5bc0be;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 0;
  border-radius: 25px;
  border: none;
  cursor: pointer;
}

.kounai-voice_open::after {
  content: "＋";
  font-size: 16px;
}
@media screen and (max-width: 768px) {
  .kounai-voice_open {
    font-size: 20px;
  }
  #teacher .kounai-voice_item_details summary {
    font-size: 20px;
  }
  #teacher .kounai-voice_item_icon {
    flex: 0 0 150px;
  }
  #teacher .kounai-voice_item_icon img {
    width: 110px !important;
    margin-left: 0 !important;
    margin-top: 20px;
  }
  .kounai-voice_item--hidden .kounai-voice_item_icon {
    flex: 0 0 140px;
    text-align: center;
  }
  .kounai-voice_item--student2 .kounai-voice_item_icon img {
    width: 140px !important;
  }
  .kounai-voice_item--student3 .kounai-voice_item_icon img {
    width: 100px !important;
    margin-top: 10px;
    margin-left: 0 !important;
  }
}

/* PC版 student3の画像を大きく・右に */
.kounai-voice_item--student3 .kounai-voice_item_icon img {
  width: 75px;
  margin-left: 15px;
  margin-top: 10px;
}

/* PC版 先生の画像を小さく・右に */
#teacher .kounai-voice_item_icon img {
  width: 80px;
  margin-left: 10px;
  margin-top: 10px;
}

/* PC版 先生の声のカードを縦に大きく */
#teacher .kounai-voice_item {
  padding-top: 20px;
  padding-bottom: 40px;
}

.kounai-voice--student.is-open .kounai-voice_open {
  display: none;
}

/* 受講生の声 - 追加の2人分（非表示→表示・上からアニメーション） */
.kounai-voice_item--hidden {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  overflow: hidden;
  opacity: 0;
  max-height: 0;
  transform: translateY(-30px);
  margin-top: 0;
  border-width: 0;
  padding: 0 30px;
  transition: opacity 0.5s ease, max-height 0.5s ease, transform 0.5s ease, margin-top 0.5s ease, padding 0.5s ease, border-width 0.5s ease;
}

.kounai-voice--student.is-open .kounai-voice_item--hidden {
  opacity: 1;
  max-height: 300px;
  transform: translateY(0);
  margin-top: 15px;
  border-width: 1px;
  padding: 20px 30px;
}
@media screen and (max-width: 768px) {
  .kounai-voice_item--hidden {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .kounai-voice--student.is-open .kounai-voice_item--hidden {
    padding: 20px 15px 40px;
    max-height: 600px;
  }
  .kounai-voice_item--hidden .kounai-voice_item_text {
    margin-top: 40px;
  }
}

/* 受講生の声 - 閉じるボタン */
.kounai-voice_close {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 260px;
  margin: 20px auto 0;
  background-color: #5bc0be;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 0;
  border-radius: 25px;
  border: none;
  cursor: pointer;
}

.kounai-voice_close::after {
  content: "▲";
  font-size: 12px;
}

.kounai-voice--student.is-open .kounai-voice_close {
  display: flex;
}
@media screen and (max-width: 768px) {
  .kounai-voice_close {
    font-size: 20px;
  }
}

.kounai-voice_item--sub .kounai-voice_item_icon {
  flex-shrink: 0;
}

.kounai-voice_item--sub .kounai-voice_item_content {
  flex: 1;
}

/* 受講生の声 - 名前が下 */
.kounai-voice_item_name--bottom {
  margin-top: 15px;
  margin-bottom: 15px;
}

/* 受講生の声 - 最初のカード（Aさん）のpadding */
.kounai-voice--student .kounai-voice_item:not(.kounai-voice_item--hidden) {
  padding: 20px 30px;
}
@media screen and (max-width: 768px) {
  .kounai-voice--student .kounai-voice_item:not(.kounai-voice_item--hidden) {
    padding: 15px 20px 35px;
  }
}

/* ------------------------
  導入の流れ
------------------------ */
.kounai-flow {
  padding: 60px 20px 100px;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  .kounai-flow {
    padding: 40px 20px;
  }
}

.kounai-flow_inner {
  max-width: 1000px;
  margin: 0 auto;
}

.kounai-flow_title {
  text-align: center;
  margin-bottom: 30px;
  padding: 18px 20px 60px;
  background: url('../img/title-back.png') no-repeat center bottom / 100% auto;
  color: #00a0e9;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}
@media screen and (max-width: 768px) {
  .kounai-flow_title {
    font-size: 22px;
    margin-bottom: 0;
    padding: 20px 20px 45px;
    background-image: url('../img/title-back-sp.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
  }
}

.kounai-flow_list {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  background-color: #FFFEE8;
  margin-top: 60px;
}
@media screen and (max-width: 768px) {
  .kounai-flow_list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 20px;
  }
}

.kounai-flow_item {
  flex: 1;
  text-align: left;
  padding-top: 30px;
}
@media screen and (max-width: 768px) {
  .kounai-flow_item {
    padding: 0;
    width: 100%;
  }
}

.kounai-flow_item_num {
  width: 60px;
  height: 60px;
  background-color: #0088cc;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -60px 0 20px;
}
.kounai-flow_item_num--dark {
  background-color: #083288;
}
@media screen and (max-width: 768px) {
  .kounai-flow_item_num {
    width: 75px;
    height: 75px;
    font-size: 45px;
    margin: 15px auto 15px;
  }
}

.kounai-flow_item_title {
  color: #083288;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 15px;
  min-height: 54px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .kounai-flow_item_title {
    font-size: 22px;
  }
}

.kounai-flow_item_txt {
  color: #083288;
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
  padding: 20px 20px 35px;
}
@media screen and (max-width: 768px) {
  .kounai-flow_item_txt {
    text-align: left;
    font-size: 16px;
    padding: 0 20px 30px;
  }
}

.kounai-flow_item--last {
  position: relative;
}

.kounai-flow_item_img {
  position: absolute;
  bottom: 100%;
  right: 0;
  width: 150px;
}
.kounai-flow_item_img img {
  width: 100%;
  height: auto;
  display: block;
}
@media screen and (max-width: 768px) {
  .kounai-flow_item--last {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .kounai-flow_item--last .kounai-flow_item_num {
    order: 1;
  }
  .kounai-flow_item--last .kounai-flow_item_img {
    order: 2;
    position: static;
    width: 300px;
    height: auto;
    margin: 15px 0;
  }
  .kounai-flow_item--last .kounai-flow_item_title {
    order: 3;
    margin-top: 15px;
  }
  .kounai-flow_item--last .kounai-flow_item_txt {
    order: 4;
  }
}

.kounai-flow_arrow {
  flex: 0 0 30px;
  width: 30px;
  height: 85px;
  background: url('../img/arrow-right.png') no-repeat center / contain;
  margin-top: 50px;
}
@media screen and (max-width: 768px) {
  .kounai-flow_arrow {
    flex: 0 0 85px;
    margin: -35px 0 -25px;
    transform: rotate(90deg);
    width: 85px;
    height: 85px;
  }
}

/* ------------------------
  FAQ
------------------------ */
.kounai-faq {
  padding: 60px 20px;
  background-color: #ECF0F2;
}
@media screen and (max-width: 768px) {
  .kounai-faq {
    padding: 40px 20px;
  }
}

.kounai-faq_inner {
  max-width: 1000px;
  margin: 0 auto;
}

.kounai-faq_title {
  text-align: center;
  margin-bottom: 30px;
  color: #083288;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  .kounai-faq_title {
    font-size: 18px;
  }
}

.kounai-faq_list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.kounai-faq_item {
  background-color: #fff;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 10px;
}

.kounai-faq_question {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 50px 20px 20px;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.kounai-faq_question::-webkit-details-marker {
  display: none;
}
.kounai-faq_question::after {
  content: "＋";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #999;
}
.kounai-faq_item[open] .kounai-faq_question::after {
  content: "－";
}

.kounai-faq_question_icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background-color: #0088cc;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kounai-faq_question_text {
  flex: 1;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .kounai-faq_question_text {
    font-size: 18px;
  }
}

.kounai-faq_answer {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 0 20px;
  border-radius: 10px;
  background-color: #fff;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
}
.kounai-faq_item[open] .kounai-faq_answer {
  max-height: 500px;
  opacity: 1;
  padding: 0 20px 20px 20px;
  transition: max-height 0.7s ease, opacity 0.7s ease, padding 0.7s ease;
}
.kounai-faq_item.is-closing .kounai-faq_answer {
  max-height: 0;
  opacity: 0;
  padding: 0 20px;
}

.kounai-faq_answer_icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background-color: #fff;
  color: #E43F21;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  border: 2px solid #E43F21;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}

.kounai-faq_answer_text {
  flex: 1;
  color: #333;
  font-size: 14px;
  line-height: 1.8;
  padding-top: 15px;
}
@media screen and (max-width: 768px) {
  .kounai-faq_answer_text {
    font-size: 15px;
  }
}

.kounai-faq_img {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}
.kounai-faq_img img {
  max-width: 570px;
  width: 100%;
  height: auto;
}
.kounai-faq_img img:first-child {
  max-width: 180px;
}
.kounai-faq_img img:last-child {
  max-width: 400px;
  margin-bottom: 30px;
}

.kounai-faq_cta {
  width: 840px;
  text-align: center;
  margin: 30px auto 0;
  background-color: #0088cc;
  border-radius: 20px;
  padding: 40px 20px;
}

.kounai-faq_cta_title {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 15px;
}
@media screen and (max-width: 768px) {
  .kounai-faq_cta_title {
    font-size: 18px;
  }
}

.kounai-faq_cta_desc {
  color: #fff;
  font-size: 14px;
  margin-bottom: 20px;
}

.kounai-faq_cta_btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .kounai-faq_cta_btns {
    flex-direction: column;
    align-items: center;
    width: 300px;
    margin: 0 auto;
  }
}

.kounai-faq_cta_btn {
  display: inline-block;
}
.kounai-faq_cta_btn.kounai-btn_hover {
  transition: transform 0.3s, box-shadow 0.3s;
}
.kounai-faq_cta_btn.kounai-btn_hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}
.kounai-faq_cta_btn img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
}

/* FAQ CTA レスポンシブ */
@media screen and (max-width: 768px) {
  .kounai-faq_cta {
    width: 100%;
    border-radius: 15px;
    padding: 25px 10px;
  }
  .kounai-faq_cta_btn img {
    width: 300px;
  }
}

/* ------------------------
  お問い合わせCTA
------------------------ */
.kounai-cta {
  padding: 50px 20px 60px;
  background: linear-gradient(to bottom, #083288 0%, #008FD3 100%);
  text-align: center;
}
@media screen and (max-width: 768px) {
  .kounai-cta {
    padding: 40px 20px;
  }
}

.kounai-cta_inner {
  max-width: 1000px;
  margin: 0 auto;
}

.kounai-cta_title {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin: 30px;
}
@media screen and (max-width: 768px) {
  .kounai-cta_title {
    font-size: 20px;
    margin: 30px auto;
  }
}

.kounai-cta_desc {
  color: #fff;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 35px;
}
@media screen and (max-width: 768px) {
  .kounai-cta_desc {
    font-size: 16px;
  }
}
@media screen and (max-width: 768px) {
  .kounai-cta_desc {
    font-size: 16px;
  }
  .kounai-cta_desc br.pc-only {
    display: none;
  }
}

.kounai-cta_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-color: #fff;
  border-radius: 30px;
  padding: 20px 30px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
@media screen and (max-width: 768px) {
  .kounai-cta_content {
    flex-direction: column;
    border-radius: 20px;
    padding: 20px;
    gap: 15px;
  }
}

.kounai-cta_logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
@media screen and (max-width: 768px) {
  .kounai-cta_logos {
    flex-direction: column;
    gap: 0;
    width: auto;
    flex: none;
  }
}

.kounai-cta_logo {
  display: block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.kounai-cta_logo img {
  width: 280px;
  height: auto;
  padding:25px 0;
}
.kounai-cta_logo span {
  color: #083288;
  font-size: 18px;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .kounai-cta_logo img {
    padding: 5px 0;
  }
  .kounai-cta_logo span {
    font-size: 16px;
  }
}

.kounai-cta_link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #083288;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.3s ease;
  margin-top: -15px;
  padding-bottom: 20px;
}
.kounai-cta_link:hover {
  opacity: 0.7;
}
@media screen and (max-width: 768px) {
  .kounai-cta_link {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-left: none;
    padding-left: 0;
    border-top: none;
    padding-top: 15px;
    font-size: 22px;
  }
}

.kounai-cta_link_arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: #0088cc;
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
}
@media screen and (max-width: 768px) {
  .kounai-cta_link_arrow {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

.kounai-cta_img {
  position: absolute;
  right: 0;
  bottom: -50px;
  width: 150px;
}
@media screen and (max-width: 768px) {
  .kounai-cta_img {
    display: none;
  }
}

.kounai-cta_img img {
  width: 100%;
}

.kounai-cta_body {
  flex: 1;
  text-align: center;
}

.kounai-cta_txt {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}
@media screen and (max-width: 768px) {
  .kounai-cta_txt {
    font-size: 18px;
    margin-bottom: 15px;
  }
}

.kounai-btn_primary {
  display: inline-block;
  background-color: #f39800;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 50px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(243, 152, 0, 0.4);
}
@media screen and (max-width: 768px) {
  .kounai-btn_primary {
    font-size: 15px;
    padding: 14px 40px;
  }
}

.kounai-btn_primary:hover {
  background-color: #e08900;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 152, 0, 0.5);
}

/* ------------------------
  フッター上部コピーライト
------------------------ */
.kounai-footer-copyright {
  background-color: #f5f5f5;
  padding: 15px 20px;
  text-align: center;
}
.kounai-footer-copyright small {
  font-size: 11px;
  color: #666;
}

/* ------------------------
  グローバルフッター上書き
------------------------ */
.g-footer {
  padding-top: 0;
}
.g-footer_copyright {
  background-color: #051C4A;
}

/* ------------------------
  ページトップボタン
------------------------ */
.kounai-pagetop {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background-color 0.3s;
  z-index: 100;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.kounai-pagetop:hover {
  background-color: #FF8357;
}
.kounai-pagetop.is-visible {
  opacity: 1;
  visibility: visible;
}
.kounai-pagetop_arrow {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 3px solid #013a81;
  border-right: 3px solid #013a81;
  transform: rotate(-45deg);
  margin-top: 5px;
  transition: border-color 0.3s;
}
.kounai-pagetop:hover .kounai-pagetop_arrow {
  border-color: #fff;
}
@media screen and (max-width: 768px) {
  .kounai-pagetop {
    width: 44px;
    height: 44px;
    right: 15px;
    bottom: 15px;
  }
  .kounai-pagetop_arrow {
    width: 10px;
    height: 10px;
  }
}

/* ------------------------
  contact-web hover 画像切り替え
------------------------ */
.kounai-contact-web_hover {
  display: none !important;
}
.kounai-operation_btn:hover .kounai-contact-web_default,
.kounai-faq_cta_btn:hover .kounai-contact-web_default {
  display: none;
}
.kounai-operation_btn:hover .kounai-contact-web_hover,
.kounai-faq_cta_btn:hover .kounai-contact-web_hover {
  display: inline !important;
}

/* ------------------------
  電話リンク PC版無効化
------------------------ */
.kounai-tel-link {
  pointer-events: none;
  cursor: default;
}
@media screen and (max-width: 768px) {
  .kounai-tel-link {
    pointer-events: auto;
    cursor: pointer;
  }
}

/* ------------------------
  iPhone SE等 狭い画面用タイトル調整
------------------------ */
@media screen and (max-width: 390px) {
  .kounai-problem_title,
  .kounai-about_title,
  .kounai-feature_title,
  .kounai-case_title,
  .kounai-flow_title {
    padding-left: 0;
    padding-right: 0;
  }
  .kounai-problem_title,
  .kounai-feature_title,
  .kounai-case_title,
  .kounai-flow_title {
    padding-bottom: 42px;
  }
  .kounai-about_title {
    padding-bottom: 34px;
  }
}
@media screen and (max-width: 375px) {
  .kounai-about_title {
    padding-bottom: 31px;
  }
}

