/* header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}
.header_inner {
    display: flex;
    max-width: 1235px;
    justify-content: space-between;
    margin: 0 auto;
    padding-top: 10px;
}

.header_lef {
    display: flex;
    align-items: center;
}

.header_lef img {
    width: 4.1vw;
    height: 4.1vw;
    margin-right: 20px;
}

.header_rig {
    display: flex;
    align-items: center;
}

.header_list {
    display: flex;
}

.header_lef p {
    color: #fff;
    font-size: 2.64vw;
    font-weight: bold;
    font-family: "yu-mincho-pr6n", sans-serif;
}

.header_item a {
  font-size: 14px;
  color: #000;
  margin-right: 20px;
  text-decoration: none;
}

.home .header_item a {
    font-size: 0.97vw;
    margin-right: 20px;
    text-decoration: none;
    border-bottom: none;
}



header {
  transition: background-color 0.3s, box-shadow 0.3s;
}

header.active {
  background-color: #fff; /* 背景色を変更 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* ドロップシャドウを追加 */
}

header .header_lef p {
  color: #868daa;
}

header.active .header_item a {
  color: #000;
}

.header_apply {
  display: flex;
  width: 182px;
  height: 40px;
  justify-content: center;
  align-items: center;
  background-color: #f8cf3f;
  font-size: 0.9vw;
}

.header_apply img {
  width: 17px;
  margin-right: 12px;
}

.header_apply p {
  color: #000;
}

/* fv */
.fv {
  padding-bottom: 50px;
  position: relative;
}
.fv img {
    width: 100%;
}

.fv .fv_tit {
  position: absolute;
  font-size: 3.13vw;
  font-weight: bold;
  left: 14.89vw;
  top: 11.72vw;
  background: linear-gradient(to right, #162a70, #868daa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
  -webkit-text-stroke: 1px #fff; /* 太さ2px・白 */
  text-stroke: 1px #fff; /* 対応ブラウザ用 */
}

.fv .fv_tit span {
  font-size: 3.47vw;
  margin-right: 10px;
}

.fv_block {
  position: absolute;
  bottom: 26vw;
  left:  17.89vw;
}

.fv_box {
  display: flex;
  justify-content: center;
}

.fv_box .fv_box_txt {
  background-image: url(https://be-a-lawyer.com/wp-content/themes/bly/assets/img/top/top_circle.png);
  font-size: 2.3vw;
  display: flex
;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: bold;
  color: #162a70;
  background-repeat: no-repeat;
  background-size: cover;
  width: 11.11vw;
  height: 11.11vw;
  margin-right: 20px;
}

.fv_box_txt2 {
  font-size: 1.6vw;
  line-height: 1.2;
}

.fv_box_txt span {
  font-size: 1.5vw;
}

/* about */

.about_inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 220px;
}

.about_inner :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"])) {
    color: #162a70;
    font-size: 2.78vw;
    padding-right: 130px;
font-family: "yu-mincho-pr6n", sans-serif;
}

.about_inner :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"]))::before {
    content: "About";
    left: -5px;
    bottom: 20px;
}

.about_inner p {
    font-size: 16px;
    line-height: 1.8;
}

.about_inner .about_supplement {
  margin-top: 20px;
}

.about_inner .about_txt span {
  font-weight: bold;
  background: linear-gradient(to bottom, transparent 70%, #f8cf3f 70%);
  display: inline;
  padding: 0 2px; 
  font-size: 18px;
}

/* reason */
.reason {
    padding-bottom: 130px;
    padding-top: 100px;
}

.reason :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"]))::before {
  content: "Reason";
  left: 50%;
  transform: translate(-50%);
}

.reason_inner {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.reason_inner :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"])) {
    margin-bottom: 60px;
}

.reason_inner .reason_block1, .reason_inner .reason_block3 {
  padding-left: 100px;
}

.reason_block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 70px;
}

.reason_block3 {
  margin-bottom: 0;
}

.reason_block:last-child {
  margin-bottom: 0px;
}

.reason_block_rev {
    flex-direction: row-reverse;
}

.reason_block img {
    width: 350px;
}

.reason_box :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"])) {
    font-size: 43px;
    margin-bottom: 5px;
    line-height: 1.3;
    font-family: "yu-mincho-pr6n", sans-serif;
    position: relative;
}

.reason_block .reason_box :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"]))::before {
  font-size: 106px;
  color: hsl(346, 49%, 54%,0.3);
  font-family: "yu-mincho-pr6n", sans-serif;
  position: absolute;
  top: -55px;
  left: -90px;
}

.reason_block1 .reason_box :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"]))::before {
    content: "01";
}
.reason_block2 .reason_box :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"]))::before {
    content: "02";
}
.reason_block3 .reason_box :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"]))::before {
    content: "03";
}

.reason_box p {
    font-size: 16px;
    line-height: 1.7;
}

.jisseki {
  padding-bottom: 150px;
}

.jisseki img {
  display: block;
  margin: 0 auto;
}

.jisseki .sp {
  display: none;
}

/* service  */
.service {
  background-color: rgb(245, 248, 250);
  padding-bottom: 100px;
  overflow: hidden;
}

.service :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"])) {
  margin-bottom: 50px;
}

.service_tit_sub {
  font-size: 48px;
  text-align: center;
  margin-bottom: 150px;
}

.service :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"]))::before {
  content: "Service";
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
}

.service_slide {
  background-color: #fff;
}

.service_slide_package {

}

.sliderArea {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 25px;
  overflow: visible;
}
.sliderArea.w300 {
  max-width: 300px;
}
.slick-slide {
  margin: 0 5px;
  padding: 50px 90px 65px;
}
.slick-slide {
  width: 100%;
  height: auto;
  transform: scale(1);
}

.slider .slick-center {
    transform: scale(1.24);
    transform-origin: bottom;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.2);
    /* padding: 65px 90px 75px; */
}

.slick-prev, .slick-next {
  z-index: 1;
}
.slick-prev:before, .slick-next:before {
  color: #000;
}
.slick-slide {
  transition: all ease-in-out .3s;
  opacity: .2;
}
.slick-active {
  opacity: 1;
}
.slick-current {
  opacity: 1;
}
.thumb {
  margin: 20px 0 0;
}
.thumb .slick-slide {
  cursor: pointer;
}
.thumb .slick-slide:hover {
  opacity: .7;
}

.service_select_box {
  background-color: #FFF;
  width: 306px;
  border-radius: 15px;
  padding: 0 30px 25px;
}

.service_select_box img {
  transform: scale(0.5);
  margin: 0 auto;
  display: block;
}

.service_select_box :is(h4:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h4"])) {
  font-size: 27px;
  text-align: center;
  margin-bottom: 15px;
}

.service_txt {
  font-size: 14px;
  line-height: 2;
}

/*====================================================================
.full-screen
====================================================================*/

.full-screen .slick-list {
  overflow: visible;
}
.full-screen.slider {
  max-width: 830px;
  height: 516px;
  margin: 0 auto;
}

.service_select {
  max-width: 1270px;
  margin: 0 auto;
  margin-top: 80px;
}



.service_top {
  font-size: 32px;
  text-align: center;
  margin-bottom: 50px;
}

.service_select :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"])) {
  font-size: 36px;
  text-align: center;
  margin-bottom: 60px;
}

.service_plan_name {
  background-color: rgb(248, 207, 63);
  border-radius: 50%;
  width: 145px;
  height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  margin-right: 20px;
}

.service_plan_name span {
  font-size: 18px;
  font-weight: bold;
}

.service_plan {
  display: flex;
  margin-bottom: 30px;
}

.service_plan_box :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"])) {
  font-size: 48px;
  font-weight: 500;
}

.service_plan_box p {
  line-height: 1;
  font-size: 24px;
}

.service_plan_box .service_price {
  font-size: 60px;
}

.service_slide_txt {
  font-size: 16px;
  line-height: 1.8;
  margin-left: 20px;
}

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

.service_select_yellow {
  background-color: rgb(248, 207, 63);
  font-size: 16px;
  text-align: center;
  width: 247px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: -45px;
}

.service_select_yellow::after {
  content: "";
  position: absolute;
  bottom: -29px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 15px;
  border-style: solid;
  border-color: rgb(248, 207, 63) transparent transparent transparent; /* 上方向の三角形 */
}

.slick-slide {
  transform-origin: bottom;
}



/* cta */
.cta_more a {
  width: 367px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(22, 42, 112);
  box-shadow: 4.405px 5.44px 7.44px 0.56px rgba(79, 84, 122, 0.4);
  margin: 0 auto;
  color: #fff;
  margin-top: 60px;
  text-decoration: none;
  position: relative;
}

.arrow-link::after {
  content: "";
  width: 12px; /* 矢印の幅 */
  height: 12px; /* 矢印の高さ */
  border-top: 1px solid #fff; /* 矢印の上辺 */
  border-right: 1px solid #fff; /* 矢印の右辺 */
  position: absolute;
  right: 30px; /* 矢印の右端の位置 */
  transform: rotate(45deg); /* 矢印を右向きに */
}

/* cta2 */
.cta_more2 a {
  background-color: #fff;
  color: #111111;
  border: solid 2px rgb(22, 42, 112);
}

.cta_more2 a::after {
  content: "";
  width: 12px; /* 矢印の幅 */
  height: 12px; /* 矢印の高さ */
  border-top: solid 1px rgb(22, 42, 112); /* 矢印の上辺 */
  border-right: solid 1px rgb(22, 42, 112); /* 矢印の右辺 */
  position: absolute;
  right: 30px; /* 矢印の右端の位置 */
  transform: rotate(45deg); 
}

/* cta3 */

/* other */
.other .service-explan {
  text-align: center;
}

.other_more {
  display: flex;
  gap: 24px;
}

.other_service {
  border-radius: 7px;
  box-shadow: 2px 2px 5px 0px #9c9c9c40;
}

.other_service img {
  border-radius: 7px 7px 0 0;
}

.other_txt {
  color: #2f3034;
  padding: 16px;
  text-align: center;
}

.other_more_top .other_txt {
  height: 280px;
}

.other_more_top .other_txt :is(h4:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h4"])) {
  font-size: 22px;
}

.other_txt :is(h4:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h4"])) {
  font-size: 16px;
}

.other_txt .other_btn {
  background-color: #162a70;
  border-radius: 99px;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0.025em;
  padding: 4px 8px 6px;
  margin-top: 12px;
}

.other_more_top .other_txt .other_btn {
  position: absolute;
  width: 88%;
  bottom: 20px;
}

.other_more > a:hover {
  opacity: 0.7;
}

.other_txt .other_more_cost {
  font-size: 22px;
  margin-bottom: 10px;
}

.other_txt .other_more_cost span {
  font-size: 16px;
}

.other_txt_mini {
  font-size: 14px;
  text-align: left;
}


/* support */
.support {
  background-color: rgb(245, 248, 250);
  padding-bottom: 70px;
}

.support :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"]))::before {
  content: "Support";
  color: #fff;
  left: 50%;
  transform: translateX(-50%);
}

.support .reason_block img {
  width: 284px;
}


/* voice */
.voice :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"]))::before{
  content: "Voice";
  left: 50%;
  transform: translateX(-50%);
}


/* teacher */
.teacher :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"]))::before {
  content: "Teacher";
  left: 50%;
  transform: translateX(-50%);
}

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

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

.teacher_block .teacher_box {
  width: 296px;
}

.teacher_box_txt {
  background-color: #f5f8fa;
}

/* teacherから引っ張ってきた */
.teacher_inner {
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 170px;
}

.teacher_inner::after {
  content: ""; /* 見えない要素を追加 */
  width: 350px;
}

.teacher_box {
  width: 350px;
  margin-bottom: 30px;
}

.teacher_txt {
  background-color: #f5f8fa;
  padding: 25px 20px 20px;
}

.teacher_txt :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"])) {
  margin-bottom: 15px;
}

.content-wrapper {
  position: relative;
  max-height: 75px; /* 初期表示での高さ制限 */
  overflow: hidden;
  transition: max-height 0.3s ease; /* 高さのアニメーション */
}

.content-wrapper.expanded {
  max-height: none; /* 制限を解除して全文表示 */
  overflow: visible;
}

.read-more {
  position: absolute;
  bottom: 0;
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background-color: #0073aa;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.read-more:hover {
  background-color: #005f8d;
}


.circle-arrow {
  width: 32px; /* 円の直径 */
  height: 32px; /* 円の直径 */
  background-color: #fff; /* ボタンの背景色 */
  border: none; /* ボーダーなし */
  border-radius: 50%; /* 円形にする */
  display: flex; /* 中央揃えのために使用 */
  align-items: center; /* 縦方向の中央揃え */
  justify-content: center; /* 横方向の中央揃え */
  cursor: pointer; /* ポインタを変更 */
  position: absolute; /* 擬似要素の位置基準 */
  right: 0;
  border: solid 1px #162a70;
}

.content-wrapper.expanded .circle-arrow {
  left: 50%;
  transform: translate(-50%);
  bottom: -35px;
  z-index: 9999;
}

.circle-arrow::after {
  content: ""; /* 擬似要素で三角形を作成 */
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent #162a70; /* 三角形の色 */
  position: absolute;
  transform: translateX(2px); /* 微調整 */
}


.circle-arrow:hover {
  background-color: #1c2a7f; /* ホバー時の背景色 */
}

.circle-arrow:hover::after {
  border-color: transparent transparent transparent #fff; /* 三角形の色 */
}



.content-wrapper.expanded .circle-arrow {
  width: 32px; /* 円の直径 */
  height: 32px; /* 円の直径 */
  background-color: #162a70; /* ボタンの背景色 */
  border: none; /* ボーダーなし */
  border-radius: 50%; /* 円形にする */
  display: flex; /* 中央揃えのために使用 */
  align-items: center; /* 縦方向の中央揃え */
  justify-content: center; /* 横方向の中央揃え */
  cursor: pointer; /* ポインタを変更 */
  position: absolute; /* 擬似要素の位置基準 */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* 影の設定 */
}

/* 擬似要素でバツ印を作成 */
.content-wrapper.expanded .circle-arrow::before,
.content-wrapper.expanded .circle-arrow::after {
  content: ""; /* 擬似要素を作成 */
  position: absolute;
  width: 15px; /* 線の長さ */
  height: 1px; /* 線の太さ */
  background-color: #fff; /* 線の色 */
  top: 50%;
  left: 50%;
  transform-origin: center;
  border-width: initial;
  border-style: initial;
}

/* 左上から右下の斜線 */
.content-wrapper.expanded .circle-arrow::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

/* 右上から左下の斜線 */
.content-wrapper.expanded .circle-arrow::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.teacher_txt {
  margin-top: -5px;
}

/* teacherから引っ張ってきた */




/* news */
.news :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"])) {
  text-align: left;
  padding-left: 200px;
  display: inline-block;
  margin-bottom: 0;
}
.news :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"])):before {
  content: "News";
  left: 85%;
  transform: translateX(-50%);
}

.news_block {
  padding: 65px 0 23px;
  border-bottom: solid 1px rgb(22, 42, 112);
  padding-left: 50px;
}

.news_box {
  display: flex;
  align-items: center;
}

.news_box_mini p {
  font-size: 14px;
  color: #848484;
}

.news_box_mini span {
  background-color: rgb(22, 42, 112);
  color: #fff;
  font-size: 16px;
  border-radius: 12px;
  padding: 1px 25px;
  margin: 0 20px;

}

.single .news_box_mini span a {
  background-color: rgb(22, 42, 112);
  color: #fff;
  font-size: 16px;
  border-radius: 12px;
  margin: 0 20px;
}

.news_box_mini {
  display: flex;
}

.news_inner {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
}

.news_block {
  max-width: 860px;
  display: block;
}

.news_box :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"])) {
  font-size: 18px;
  color: #162a70;
  max-width: 500px;
}

.news .cta_more2 a {
  margin-right: 0;
}

/* flow */
.accordion {
  margin-inline: auto;
  margin-top: 30px;
  max-width: 1000px;
  position: relative;
  width: 100%;
}
.accordion-item {
  margin-bottom: 22px;
}
.accordion-title {
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  height: 90px;

}
.accordion-title::before {
  content: "Q.";
  margin-right: 35px;
  font-size: 24px;
}
.accordion-content {
  display: none;
}
.accordion-content p {
  font-size: 20px;
  line-height: 1.5;
  padding: 50px 60px 50px 50px;
  align-items: flex-start;
}
/* タイトルの背景色 */
.accordion-item .accordion-title {
  background-color: rgb(22, 42, 112);
}
/* コンテンツボックスの枠線 */
/* 矢印 */
.accordion-title {
  position: relative;
}
.accordion-title::after {
  border-right: solid 2px #fff;
  border-top: solid 2px #fff;
  content: "";
  display: block;
  height: 15px;
  position: absolute;
  right: 50px;
  top: 38%;
  transform: rotate(135deg);
  transition: transform .3s ease-in-out, top .3s ease-in-out;
  width: 15px;
}
.accordion-title.open::after {
  top: 45%;
  transform: rotate(-45deg);
}

.accordion_icon {
  display: flex;
  align-items: center;
  padding: 10px 60px 10px 50px;
  font-size: 20px;
}

.accordion-content p::before {
  content: "A.";
  margin-right: 35px;
  font-size: 24px;
}

/* faq */
.faq :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"]))::before{
  content: "FAQ";
  left: 50%;
  transform: translateX(-50%);
}


.cta {
  background-image: url(https://be-a-lawyer.com/wp-content/themes/bly/assets/img/top/cta_back.png);
  background-size: cover;
  background-position: center;
  padding: 100px 15px 200px;
}

.cta :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"])) {
  text-align: center;
  font-size: 40px;
  font-family: "yu-mincho-pr6n", sans-serif;
}

.cta_inner {
  max-width: 1000px;
  width: 100%;
  background-color: hsl(204, 33%, 97%,0.4);
  margin: 0 auto;
  padding: 112px 0 70px;
}

.cta_block {
  color: #fff;
}

.cta_block p {
  width: 560px;
  margin: 0 auto;
  font-size: 20px;
}

.cta_block p a {
  text-decoration: underline;
  color: #0034db;
}

.cta .cta_more a{
  background-color: #f8cf3f;
  color: #333333;
}

.cta .cta_more a::after {
  content: "";
  width: 12px; /* 矢印の幅 */
  height: 12px; /* 矢印の高さ */
  border-top: 1px solid #333333; /* 矢印の上辺 */
  border-right: 1px solid #333333; /* 矢印の右辺 */
  position: absolute;
  right: 30px; /* 矢印の右端の位置 */
  transform: rotate(45deg); 
}

.footer_block {
  background-color: #162a70;
  display: flex;
  justify-content: space-between;
  padding: 90px 50px 0;
  height: 445px;

}

.footer_box {
  color: #fff;
  display: flex;
}

.footer_list {
  margin-right: 45px;
}

.footer_block .header_lef {
  align-items: initial;
}

.footer_list li {
  line-height: 2.571;

}

.footer_list li a {
  color: #fff;
  text-decoration: none;
}


/* ハンバーガーメニューのスタイル */
.hamburger.sp {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  position: relative;
}

.hamburger.sp span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #162a70;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.active .hamburger.sp span {
  background-color: #162a70;
}

/* バツ印に変化させるスタイル */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 0;
  transform-origin: center;
  background-color: #fff;
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
  position: absolute;
  top: 50%;
  left: 0;
  transform-origin: center;
  background-color: #fff;
}


.footer_txt {
  background-color: #162a70;
  text-align: center;
  color: #fff;
  margin-top: -1px;
  padding-bottom: 10px;
}

.sliderArea .slick-prev, .sliderArea .slick-next {
  width: 55px;
  height: 55px;
}

.sliderArea .slick-prev {
  left: -120px;
  top: 35%;
}

.sliderArea .slick-arrow {
  right: -120px;
  top: 35%;
}

.sliderArea .slick-prev img {
  width: 100%;
}

.sliderArea .slick-arrow img {
  width: 100%;
}

.sliderArea .slick-prev:before {
  content: '';
}

.sliderArea .slick-dotted.slick-slider {
  margin-bottom: 60px;
}


#floating-btn {
  display: none;
  opacity: 0;
  position: fixed;
  bottom: 20px;
  right: 0px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  width: 300px;
  line-height: 1;
  transition: opacity 0.5s ease-in-out;
}

#floating-btn.show {
  display: block;
  opacity: 1;
}

#custom-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 0px;
  right: 5px;
  font-size: 24px;
  cursor: pointer;
}

#custom-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 20px 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 650px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  font-family: "Noto Sans JP", sans-serif;
}

.close-btn {
  position: absolute;
  top: 0px;
  right: 8px;
  font-size: 26px;
  color: #333;
  cursor: pointer;
}

#custom-modal :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"])) {
  margin-bottom: 50px;
}

.modal-content > div {
  text-align: center;
  padding: 20px;
}

.modal_txt {
  font-size: 23px;
  line-height: 2;
}

.modal_number {
  font-weight: bold;
}

.modal_txt a {
  color: #111111;
  font-weight: bold;
}

.highlight {
  background: linear-gradient(to top, yellow 50%, transparent 50%);
  padding: 0 4px;
  border-radius: 2px;
  font-weight: bold;
  font-size: 32px;
}

.modal_txt2 {
  margin: 30px auto 0px;
  padding: 10px;
  font-weight: bold;
}

.modal_btn .modal_txt3 {
  background-color: #f8cf3f;
  width: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.modal_txt3 a {
  color: #111111;
}

.grecaptcha-badge {
  display: none;
}

.display_sp {
  display: none;
}


.fv-slider {
  position: relative;
  width: 100%;
  height: 57.36vw;
}

.fv-slider img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.fv-slider img.active {
  opacity: 1;
}

.page-template-page-apply #ez-toc-container {
  display: none;
}

.header_menu {
  position: relative;
}

.header_item {
  position: relative;
}

.header_item.has-sub .sub_menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff;
  border: 1px solid #eee;
  padding: 10px 0;
  min-width: 180px;
  z-index: 10;
}

.header_item.has-sub:hover .sub_menu {
  display: block;
}

.sub_menu li a {
  display: block;
  padding: 8px 15px;
  white-space: nowrap;
}

.service-plan-up {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-plan-up .service-plan-shiho, .service-plan-up .service-plan-yobi {
  width: 49.2%;
}

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

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

.voices-title::before {
  content: "Stories";
  
}

.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%;
  height: auto;
  border-radius: 6px;

}

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

.voice-readmore {
  text-align: right;
}


@media screen and (max-width: 1000px) {
  body header {
    padding-bottom: 0;
  }
  .about_inner {
    display: block;
    padding-left: 0;
    width: 78.75vw;
    margin: 0 auto;
  }
  .header_lef p {
    font-size: 5.75vw;
  }
  .header_lef img {
    width: 10vw;
    height: 10vw;
  }
  .header_rig {
    display: none;
  }
  .header_list {
    display: block;
  }
  header .header_item {
    border-bottom: solid 1px #fff;
    padding-left: 7.5vw;
  }

  .hamburger.sp {
    display: flex;
    margin-right: 7.5vw;
    margin-top: 3.5vw;
  }
  header.active .header_item a {
    color: #fff;
    border-bottom: none;
    font-size: 20px;
  }
  .header_list .header_item {
    border-bottom: solid 1px #fff;
    padding: 10px;
    
  }
  .header_list .header_item a {
    color: #fff;
  }
  
  .header_inner {
    padding-top: 3.75vw;
    padding-bottom: 3.75vw;
  }
  .menu_open .header_inner {
    background-color: #162a70;
  }
  .header_lef {
    padding-left: 3.75vw;
  }

  .header_nav.sp {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 8.5vw 10vw;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .header_nav.active {
    display: flex;
    background-color: #162a70;
  }

  .header_list {
    flex-direction: column;
    gap: 2.5vw;
    font-size: 5vw;
    padding-left: 0;
  }

  .header_nav a {
    margin-left: 0;
  }
  header.active .header_item {
    color: #fff;
  }
  .header_item a {
    font-size: 5vw;
    font-family: "yu-mincho-pr6n", sans-serif;
  }
  .page-template .header_item a {
    color: #fff;
  }
  .archive .header_item a {
    color: #fff;
  }

  .about_inner :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"])) {
    font-size: 7.5vw;
    padding-right: 0;
  }
  :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"]))::before {
    font-size: 25vw;
  }
  .about_inner :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"]))::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .reason :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"]))::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .reason_block .reason_box :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"]))::before {
    font-size: 15vw;
    top: -35px;
  }
  .reason_box :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"])) {
    font-size: 5.7vw;
        text-align: left;
        letter-spacing: -0.05em;
        font-weight: bold;
        padding-left: 50px;
  }
  .reason_block {
    display: block;
  }
  .reason_inner .reason_block1, .reason_inner .reason_block3 {
    padding: 0;
  }
  .reason_block {
    width: 88%;
    margin: 0 auto;
  }
  .reason_block .reason_box :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"]))::before {
    left: -3.75vw;
  }
  .reason_block {
    margin-bottom: 32.5vw;
  }
  .reason_box p {
    font-size: 3.5vw;
    margin-bottom: 6.25vw;
  }
  .reason_inner :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"])) {
    line-height: 1.2;
  }
  .service_tit_sub {
    font-size: 8vw;
  }
  .service_select :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"])) {
    font-size: 6vw;
  }
  .service_select_block {
    display: block;
  }
  .service_select_box {
    margin: 0 auto;
    padding-top: 8.75vw;
  }
  .service_select_box {
    margin-bottom: 25vw;
  }
  .service_select_yellow {
    position: absolute;
    margin-top: -20vw;
  }
  .service_select_box img {
    width: 30vw;
    margin: 0 auto;
    transform: scale(100%);
    margin-bottom: 8.75vw;
  }
  .service_select_box2 img {
    width: 20vw;
  }
  .service_select_box :is(h4:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h4"])) {
    font-size: 6vw;
  }
  .service_txt {
    font-size: 3vw;
  }
  .service_select_box3 img {
    width: 22.5vw;
  }
  .service_select_box4 img {
    width: 22.5vw;
  }
  .cta_more {
    width: 80vw;
  }
  .service_select_box:last-child {
    margin-bottom: 12.5vw;
  }
  .support .reason_box :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"])) {
    text-align: left;
    width: max-content;
  }
  .support .reason_block img {
    width: 68.75vw;
    margin: 0 auto;
    display: block;
  }
  .support .reason_box :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"])) {
    margin-bottom: 5vw;
  }
  .teacher_block {
    display: block;
  }
  .teacher_inner {
    max-width: 80vw;
  }
  .teacher_box {
    margin-bottom: 10vw;
  }
  :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"])) {
    font-size: 6vw;
    margin-bottom: 1.25vw;
  }
  .teacher_box_txt p {
    font-size: 4vw;
  }
  .teacher_block .teacher_box {
    width: 80vw;
  }
  .news :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"])) {
    padding-left: 0;
    text-align: center;
  }
  .news_box {
    display: block;
  }
  .news_box_mini {
    display: flex;
    align-items: center;
    margin-bottom: 1.25vw;
  }
  .news_box p {
    font-size: 3vw;
  }
  .news_box span {
    font-size: 3vw;
    padding: 0.75vw 6.25vw;
  }
  /* .news_box_mini p {
    margin-right: 3.75vw;
  } */
  .news_inner {
    width: 80vw;
    margin: 0 auto;
  }
  .news_block {
    padding-left: 0;
    padding-bottom: 0;
  }
  .accordion {
    max-width: 80vw;
    width: 100%;
    margin: 0 auto;
  }
  .accordion_icon {
    font-size: 3.5vw;
    padding-left: 5vw;
    align-items: flex-start;
    padding-top: 6.25vw;
    padding-bottom: 6.25vw;
    height: auto;
  }
  .accordion-title::after {
        right: 7.5vw;
  }
  .accordion-title::before {
    margin-right: 2.5vw;
    font-size: 4.5vw;
  }
  .accordion-content p {
    font-size: 3.5vw;
    padding: 2.5vw 15vw 2.5vw 5vw;
  }
  .accordion-content p::before {
    margin-right: 2.5vw;
    font-size: 4.5vw;
  }
  .cta {
    padding: 15vw 0;
  }
  .cta_inner {
    max-width: 80vw;
    padding-left: 6.25vw;
    padding-right: 6.25vw;
    padding-top: 7.5vw;
    padding-bottom: 7.5vw;
  }
  .cta :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"])) {
    font-size: 6.5vw;
  }
  .cta_block p {
    font-size: 4vw;
    width: auto;
  }
  .cta_more {
    width: 67.5vw;
    margin: 0 auto;
  }
  .cta .cta_more a{
    margin-top: 6.25vw;
  }
  .footer_block {
    display: block;
  }
  .footer_box {
    display: block;
  }
  .footer_list {
    display: flex;
    flex-wrap: wrap;
  }
  .footer_list li {
    font-size: 3.25vw;
    margin-right: 2.5vw;
  }
  .footer_block {
    padding-top: 8.75vw;
    height: auto;
    padding: 8.75vw 3.75vw 0;
    padding-right: 1.25vw;
  }
  .footer_block .header_lef {
    margin-bottom: 7.5vw;
  }
  .footer_box {
    padding-bottom: 15vw;
  }
  .cta_more a {
    width: 100%;
    margin: 0 auto;
    margin-top: 7.5vw;
  }
  .teacher_inner {
    margin-bottom: 25vw;
  }
  :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"])) {
    margin-bottom: 20vw;
  }
  .reason {
    padding-bottom: 25vw;
  }
  .header_nav.sp img {
    width: 20px;
    margin-left: 50px;
    margin-top: 20px;
  }
  .home .header_item a {
    font-size: 20px;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
  }
  .arrow-link::after {
    width: 8px;
    height: 8px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    position: absolute;
    right: 20px;
  }
  .cta_more2 a::after {
    width: 8px;
    height: 8px;
    border-top: solid 1px rgb(22, 42, 112);
    border-right: solid 1px rgb(22, 42, 112);
    position: absolute;
    right: 20px;
  }
  .page-template .hamburger.sp span {
    background-color: #162a70;
  }
  .archive .hamburger.sp span {
    background-color: #162a70;
  }
  .menu_open .header_inner .header_lef p {
    color: #fff;
  }
  .page-template .menu_open .hamburger.sp span {
    background-color: #fff;
  }
  .archive .menu_open .hamburger.sp span {
    background-color: #fff;
  }
  .footer_cta {
    display: flex;
    background-color: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 99999;
  }
  .footer_contact {
    width: 50%;
    height: 50px;
    background-color: #162a70;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    background: linear-gradient(to bottom, #4A90E2, #003366);
    padding: 10px 0;
  }
  .footer_apply {
    width: 50%;
    height: 50px;
    background-color: #f8cf3f;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    background: linear-gradient(to bottom, #FFD700, #FFA500);
    padding: 10px 0;
  }
  .footer_cta img {
    margin-right: 10px;
  }
  .fv {
    margin-top: 0px;
  }
  .jisseki .pc {
    display: none;
  }
  .jisseki .sp {
    display: block;
  }
  .jisseki {
    padding-bottom: 75px;
  }
  .service_top {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .service_plan_box :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"])) {
    font-size: 18px;
  }
  .service_plan_box .service_price {
    font-size: 24px;
  }
  .slick-slide {
    padding: 65px 20px 65px;
  }
  .service_plan {
    justify-content: center;
  }
  .service_plan_name {
    font-size: 16px;
    width: 70px;
    height: 70px;
    margin-right: 10px;

  }
  .service_plan_name span {
    font-size: 10px;
  }
  .slider .slick-center {
    transform: scale(1);
  }
  .service_slide_txt {
    font-size: 14px;
    margin-left: 0;
  }
  .service_plan_box p {
    font-size: 16px;
  }
  .sliderArea .slick-prev, .sliderArea .slick-next {
    width: 35px;
    height: 35px;
  }
  .sliderArea .slick-prev {
    left: -15px;
  }
  .sliderArea .slick-next {
    right: -15px;
  }
  .service_tit_sub {
    margin-bottom: 40px;
  }
  .sliderArea .slick-dotted.slick-slider {
    margin-bottom: 0;
  }
  .full-screen.slider {
    height: 460px;
  }
  .sliderArea .slick-prev {
    top: 39%;
  }
  .news_box_mini span {
    padding: 0 5px;
    margin: 0 10px;
  }
  .single .news_box_mini span a {
    margin: 0 15px;
  }
  #floating-btn {
    width: 150px;
  }
  #floating-btn {
    bottom: 65px;
  }
  #custom-modal :is(h2:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h2"])) {
    font-size: 6.5vw;
    line-height: 1.2;
    margin-bottom: 30px;
  }
  .modal-content > :is(h3:where(:not([data-bal-as])),:is(h1,h2,h3,h4,h5,h6):where([data-bal-as="h3"])) {
    font-size: 5vw;
  }
  .modal_txt {
    font-size: 18px;
  }
  .highlight {
    font-size: 28px;
  }
  .modal_btn .modal_txt3 {
    width: 100%;
  }
  .fv .fv_tit {
    font-size: 7.13vw;
    font-weight: bold;
    left: 11.89vw;
    top: 22.72vw;
  }
  .fv .fv_tit span {
    font-size: 7.47vw;
  }
  .fv_block {
    left: 2vw;
  }
  .fv_box .fv_box_txt {
    width: 28.11vw;
    height: 28.11vw;
    font-size: 5.5vw;
  }
  .display_sp {
    display: block;
  }
  .fv_block {
    bottom: 23vw;
  }
  .fv_box_txt {
    font-size: ;
  }
  .fv_box_txt2 {
    font-size: 4.6vw;
    line-height: 1.2;
  }
  
  .fv_box_txt span {
    font-size: 3.5vw;
  }
  .fv-slider {
    height: 177.36vw;
  }
  .fv .fv_tit {
      -webkit-text-stroke: 0; /* 0で消える */
      text-stroke: 0;
  }
  .other_more {
    flex-flow: column;
  }
  .voices-title::before {
    bottom: 100px;
  }
  .voice-card {
    width: 100%;
    max-width: 90%;
    padding: 0;
  }
  .other_more_top .other_txt {
    height: auto;
  }
  .other_more_top .other_txt .other_btn {
    position: initial;
    width: 100%;
    bottom: 0;
    font-size: 14px;
    margin-top: 15px;
  }
  .home .service_select {
    max-width: 85%;
  }
}