@charset "UTF-8";

/* CSS Document */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1a1a1a;
}

.inner {
  max-width: 120rem;
  margin: 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  /* 比率を保ったまま高さを自動調整 */
  vertical-align: bottom;
  /* 画像下の微妙な隙間を消す */
}

.sp-only {
  display: none;
}

.fade-in {
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(50px);
  transform: translateY(50px);
  -webkit-transition: opacity 1s, -webkit-transform 1s;
  transition: opacity .8s, -webkit-transform .8s;
  transition: opacity .8s, transform .8s;
  transition: opacity .8s, transform .8s, -webkit-transform 1s;
}

.fade-in.show {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}

header ul {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: space-between; */
  align-items: center;
  padding: 2rem 0;
}

header ul li:first-of-type img {
  width: 35.5rem;
  max-width: 100%;
}

header a {
  transition: .2s;
}

header a:hover {
  opacity: 67%;
  transition: .2s;
}

.hero {
  background-image: url(../images/hero_bg_pc.webp);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0 0 5rem 0;
}

.hero h1 img {
  margin-top: -3rem;
  padding-left: 2%;
  max-width: 100%;
}

.hero .contact {
  margin-top: -15rem;
  padding-left: 2%;
}

.contact a:hover {
  opacity: 80%;
  transition: .2s;
}

.contact a {
  transition: .2s;
}

.pioneer {
  padding: 5rem 0 8rem 0;
  position: relative;
}

.pioneer .pc-only .img:nth-of-type(2) {
  position: absolute;
  top: -1rem;
  right: 0rem;
  z-index: -70000;
}

.pioneer .pc-only .img:nth-of-type(1) {
  position: absolute;
  top: 36rem;
  left: 0rem;
  z-index: -70000;
}

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

.point .point_item:first-of-type {
  background-image: url(../images/point_bg_pc.webp);
  background-repeat: no-repeat;
  background-size: 100%;
}

.point_item {
  margin-bottom: 7rem;
}


.point .point_text img {
  max-width: 100%;
  padding: 6rem 0 0 0;
}

.point .point_text:first-of-type img {
  max-width: 100%;
  padding: 13% 0 0 0;
}

.style {
  background-image: url(../images/style_bg_pc.webp);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: top center;
  text-align: center;
  padding: 6.2rem 0;
  height: auto;
}

.style h3 {
  padding: 0 0 1.8rem 0;
}

.style .contact {
  padding: 8rem 0 0 0;
  position: relative;
}

.style .pc-only {
  position: absolute;
  top: 47%;
  right: 4%;
}

.curriculum {
  text-align: center;
  padding: 7.9rem 0 10.7rem 0;
}

.curriculum h3 {
  padding: 0 0 3rem 0;
}

.curriculum p {
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.6;
  padding: 0 0 5rem 0;
}

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

.voice {
  text-align: center;
  background-image: url(../images/voice_bg_pc.webp);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 9.4rem 0;
}

.voice h3 {
  padding: 0 0 6.6rem 0;
}

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

.form {
  text-align: left;
  padding: 12.5rem 0;
  font-size: 1.8rem;
  font-weight: 400;
}

.form_item_text input {
  display: block;
}

.form label span {
  color: #ffffff;
  background-color: #b81c22;
  font-size: 1.4rem;
  padding: 0.1rem 0.9rem;
  border-radius: 2rem;
  margin: 0 .4rem 0 0;
}

.form_item_text label {
  display: block;
  margin: 4rem 0 1.6rem 0;
}

.form_item_day label {
  display: block;
  margin: 0 0 1.6rem 0;
}

form {
  max-width: 78rem;
  margin: 0 auto;
}

.form h3 {
  padding: 0 0 7rem 0;
  text-align: center;
}

form .form_item:first-of-type ul {
  font-weight: 700;
  font-size: 2.7rem;
}

form .form_item:first-of-type ul li {
  border-radius: 1rem;
  transition: .2s;
  display: flex;
  flex-wrap: wrap;
}

form .form_item:first-of-type ul li label {
  cursor: pointer;
  transition: .2s;
  display: flex;
  padding: 2.5rem 1.3rem 2.5rem 2.5rem;
}
form .form_item:first-of-type ul li label > div {
  display: flex;
  flex-direction: column;
  width: 100%;
}

form .form_item:first-of-type ul li .mwform-radio-field:hover {
  opacity: .6;
  transition: .3s;
}

form .form_item:first-of-type ul li:nth-of-type(4),
form .form_item:first-of-type ul li:nth-of-type(5),
form .form_item:first-of-type ul li:nth-of-type(6) {
  margin: 0;
}

form .form_item:first-of-type ul li .mwform-radio-field {
  display: inline-block;
  font-size: 1.6rem;
  background-color: #ffffff;
  color: #1a1a1a;
  width: calc(33.333% - 30px / 3);
  border: 0.07rem solid #1a1a1a;
  border-radius: 1rem;
}
form .form_item:first-of-type ul li .mwform-radio-field:nth-child(n + 4) {
  margin-top: 20px;
}
.mw_wp_form .horizontal-item + .horizontal-item {

}
.date_item4,.date_item7,.date_item10 {
  margin-left: 0 !important;
}
form .form_item:first-of-type ul li .elemClass,
form .form_item:first-of-type ul li .elemClass2 {
  display: inline-block;
  font-size: 1.6rem;
  background-color: #ffffff;
  color: #1a1a1a;
}
form .form_item:first-of-type ul li .elemClass {
  font-size: 2.7rem;
  font-weight: 700;
}
form .form_item:first-of-type ul li .elemClass2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 5px;
}

input[type="radio"] {
  transform: scale(2);
  margin: 0 1.2rem 0.5rem 0;
  accent-color: #b81c22;
  cursor: pointer;
}


.form_item_text #name,
.form_item_text #name_f {
  width: 64%;
  padding: 1.4rem;
  background-color: #efefef;
  border: 1px solid #c5c5c5;
  font-size: 1.8rem;
}

.form_item_text #tel,
.form_item_text #email {
  width: 100%;
  padding: 1.4rem;
  background-color: #efefef;
  border: 1px solid #c5c5c5;
  font-size: 1.8rem;
}

.form_item_text select {
  background-color: #efefef;
  border: 1px solid #c5c5c5;
  font-size: 1.8rem;
  padding: 1rem;
}

.form_item_text ::placeholder {
  color: #ababab;
  font-size: 1.8rem;
}

.form_item_text textarea {
  width: 100%;
  padding: 1.4rem;
  background-color: #efefef;
  border: 1px solid #c5c5c5;
  font-size: 1.8rem;
  height: 150px;
}

.submit_btn {
  text-align: center;
}

select {
  position: relative;
  background: url(../images/icon.webp);
  background-repeat: no-repeat;
  background-position: top 55% right 6%;
}

.submit_btn input {
  background-color: #ba303c;
  color: #ffffff;
  font-size: 3.1rem;
  font-weight: 700;
  border: none;
  padding: 2rem;
  width: 53rem;
  max-width: 100%;
  border-radius: 1rem;
  margin-top: 7.8rem;
  cursor: pointer;
}

.submit_btn input:hover {
  opacity: 80%;
  transition: .2s;
}

.submit_btn input {
  transition: .2s;
}

footer {
  background-color: #d7e6f0;
  padding: 5.3rem 0;
  font-size: 1.4rem;
  font-weight: 400;
  display: block;
}

footer .inner {
  max-width: 94.7rem;
  margin: 0 auto;
}

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

footer .address {
  display: block;
  padding-bottom: 2.8rem;
}

footer .school {
  font-size: 3rem;
  font-weight: 500;
  padding: 5rem 0 3rem 0;
}

footer p {
  line-height: 1.7;
}

footer .tel p:first-of-type {
  font-size: 1.8rem;
  line-height: 0.2;
}

footer .tel p:nth-of-type(3) {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
}

footer .cta a {
  color: #0070cd;
  font-weight: 700;
  font-size: 1.65rem;
  border-bottom: 1px solid;
  transition: .2s;
}

footer .cta a:hover {
  opacity: 80%;
  transition: .2s;
}

footer small {
  display: block;
  font-size: 1.2rem;
  padding-top: 4.5rem;
}

footer .img_map {
  width: 100%;
}

/* .point ul li:nth-of-type(2){
  position: relative;
}
 */
/* .point .pc-only .img{
  position: absolute;
  right: 0;
  top: 260rem;
  z-index: 1;
} */

.point .pc-only .img {
  display: block;
  padding-right: 11%;
  margin-top: -20rem;
  z-index: 1;
  text-align: right;
}

.mw_wp_form_input #back_btn {
  display: none;
}
.mw_wp_form_confirm #back_btn {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mw_wp_form_confirm .submit_btn {
  display: flex;
  align-items: center;
  justify-content: center;
}
  #back_btn {
  background-color: #c5c5c5;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  border: none;
  padding: 2rem;
  width: 30rem;
  max-width: 100%;
  border-radius: 1rem;
  cursor: pointer;
  height: 7rem;
  margin: 0 1rem;
}
#back_btn:hover {
  opacity: 80%;
  transition: .2s;
}
.mw_wp_form_confirm .form_wrap {
  width: 100%;
  max-width: 57rem;
  margin: 3rem auto 5rem auto;
}

.mw_wp_form_confirm form .form_item:first-of-type ul {
  display: initial;
  padding: 1.4rem;
  flex: 1;
}
.mw_wp_form_confirm form .form_item:first-of-type ul li {
  border: none;
  font-size: 1.8rem;
  font-weight: 400;
}
.mw_wp_form_confirm form .form_item:first-of-type {
  display: flex;
  border: 0.1rem #c5c5c5 solid;
}
.mw_wp_form_confirm .form_item_text label {
  margin: 0;

}
.mw_wp_form_confirm .form_item_text {
  border: 0.1rem #c5c5c5 solid;
  border-top: none;
  display: flex;
  font-weight: 400;
  font-size: 1.8rem;
}
.mw_wp_form_confirm .form_item_text_input {
  padding: 1.4rem;
  flex: 1;
  word-break: break-all;
}
.mw_wp_form_confirm .form_item_text label {
  font-size: 1.8rem;
  font-weight: 500;
  flex: 0 0 25rem;
  padding: 1.4rem;
  border-right: 0.1rem #c5c5c5 solid;
  background-color: #efefef;
}
.mw_wp_form_confirm .form_item_text label span {
  display: none;
}
.mw_wp_form_confirm .form_item_day {
  flex: 0 0 25rem;
  padding: 1.4rem;
  border-right: 0.1rem #c5c5c5 solid;
  background-color: #efefef;

}
.mw_wp_form_confirm .form_item_day label {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 500;

}
.mw_wp_form_confirm .form_item_day label span {
  display: none;
}
.mw_wp_form_confirm .submit_btn input:first-of-type {
  background: #c5c5c5;
}
.mwform-radio-field input {
  margin-top: -10px;
}
.mw_wp_form_confirm .submit_btn {
  margin-top: 0;
}
.mw_wp_form .error {
  font-size: 1.6rem !important;
  font-weight: 300 !important;
  margin-top: 1rem !important;
}
.mw_wp_form_confirm div.form_notice{
  display: none;
}

/*----------------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------モニター／ブレイクポイント-------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------------*/


@media screen and (min-width:1600px) {
  /* .hero{
    background-image: url(../images/hero_bg_pc_max.webp);
    background-size: cover;
 }  */

  .point .point_item:first-of-type {
    background-image: url(../images/point_bg_pc_max.webp);
    background-size: 100%;
  }
}



/*----------------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------pc／ブレイクポイント-------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------------*/

@media screen and (min-width:768px) {

  /* ファーストビュー */
  .fv-wrap {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
  }

  .fv_inner {
    margin: 0;
    padding: 0;
  }

  /* CTAボタン */
  .cta-btn-wrap-fv {
    width: 25%;
    display: block;
    margin: auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
  }


  .cta-btn-wrap-flow {
    width: 25%;
    display: block;
    margin: auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
  }

  /* 上にかぶらない（口コミ下）CTAボタン */
  .cta-btn-wrap-voice {
    width: 25%;
    display: block;
    margin: auto;
    padding: 5vw 0;
  }

  /* ヘッダー */
  .header-wrap {
    margin-left: 40px;
  }


  /* 選べる講座スタイル */
  .style_item {
    display: flex;
    max-width: 60%;
    margin: 70px auto;
  }

  .style_web {
    margin-right: 30px;
  }

  /* 講座から気象予報士になるまで */
  .flow {
    background-color: #D7E6F0;
    padding: 9.4rem 0;
    position: relative;
    margin-bottom: 120px;
  }

  .flow h3 {
    max-width: 60%;
    margin: auto;
  }

  .flow ul {
    display: flex;
    max-width: 90%;
    margin: 70px auto;
    justify-content: space-between;
    align-items: center;
  }

  .flow_inner {
    display: flex;
  }

  .flow_inner img {
    width: 100%;
  }

  /* 口コミ */
  .member-slider-list {
    display: flex;
    /* 横並びにする */
    flex-wrap: nowrap;
    /* 折り返さない（一直線に並べる） */
    gap: 20px;
    /* カード同士の間隔 */

    list-style: none;
    padding: 0;
    margin: 0;

    /* JSが無効な場合でも最低限横に並ぶように幅を確保 */
    width: 100%;
    box-sizing: border-box;
  }

  /* --- 2. カード本体（li） --- */
  .member-card {
    /* ★JSでスライドさせるため、勝手に縮まないように固定 */
    flex-shrink: 0;

    /* カードのサイズ（縦長デザイン） */
    width: 300px;
    /* デザインに合わせて調整してください */

    /* カードの見た目 */
    background-color: #ffffff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* ふんわりした影 */
    box-sizing: border-box;
  }

  /* --- 3. 上段エリア（写真 + 名前・肩書） --- */
  .card-header {
    display: flex;
    /* 横並び */
    align-items: flex-start;
    gap: 15px;
    /* 写真と文字の間隔 */
    margin-bottom: 20px;
    /* 本文との余白 */
    border-bottom: 1px solid #eee;
    /* デザイン上の区切り線（任意） */
    padding-bottom: 15px;
  }

  /* --- 写真 --- */
  .card-img {
    flex-shrink: 0;
    width: 118px;
    /* 写真の幅 */
    height: 172px;
    /* 写真の高さ（縦長トリミング） */
    border-radius: 4px;
    /* 角丸 */
    overflow: hidden;
  }

  .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 枠いっぱいにトリミング */
    image-rendering: -webkit-optimize-contrast;
    /* Chrome, Safari用 */
    backface-visibility: hidden;
    /* チラつき防止 */
  }

  /* --- 名前・肩書エリア --- */
  .card-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .info-job {
    color: #0099ff;
    /* 指定の水色 */
    font-weight: bold;
    font-size: 1.1rem;
    margin: 10px 0 4px 0;
  }

  .info-name {
    color: #0099ff;
    /* 指定の水色 */
    font-weight: bold;
    font-size: 1.4rem;
    margin: 0 0 10px 0;
    line-height: 1.3;
  }

  .info-lead {
    color: #333;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
  }

  /* --- 4. 下段エリア（本文） --- */
  .card-body p {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.7;
    /* 読みやすい行間 */
    color: #333333;
    text-align: justify;
    /* 両端揃え（お好みでleftに） */
  }

  /* 1. スライド全体を包むレールを Flexbox に変える */
  /* これをすると、中身の子要素（スライド）が強制的に一番高いものに合わせられます */
  .slick-track {
    display: flex !important;
  }

  /* 2. スライド自体の高さを自動（親に合わせる）にする */
  .slick-slide {
    height: auto !important;
    float: none !important;
    /* もともとのfloatを無効化 */
    margin: 0 10px;
  }

  /* 3. 【重要】カード自体を縦いっぱいに引き伸ばす */
  /* ".your-card-class" の部分は、あなたが作っているカードのクラス名に変えてください */
  .slick-slide>div,
  .slick-slide .member-card {
    height: 100%;
  }

  /* 4. 【追加】カードの中身が崩れないように縦並びを固定 */
  /* これを入れると、カードが伸びても中身が変な位置に行きません */
  .member-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    /* 上詰めで表示 */
  }






  /* 無料オンライン説明会 */

  .seminar {
    background-color: #FFFDDD;
    width: 100%;
    padding: 9.4rem 0;
  }

  .seminar-wrap {
    background-color: #ffffff;
    width: 80%;
    margin: auto;
    height: auto;
    padding: 50px;
    position: relative;
  }


  .decoration_left {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
    /* 文字の下に敷く場合（※補足参照） */
    width: 20%;
    /* 例: 親の幅の20% */
    max-width: 150px;
    /* PCで大きくなりすぎないように制限 */
    height: auto;
    /* 比率を保つ */
  }

  .decoration_right {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    /* 文字の下に敷く場合（※補足参照） */
    width: 20%;
    /* 例: 親の幅の20% */
    max-width: 150px;
    /* PCで大きくなりすぎないように制限 */
    height: auto;
    /* 比率を保つ */

  }

  .seminar_next {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 90%);
    width: 80%;
    max-width: 1000px;
    /* PCで大きくなりすぎないように制限 */
    height: auto;
    z-index: 10;
  }


  /* セミナータイトル */
  .seminar h3 {
    max-width: 30%;
    margin: auto;
    padding: 0 0 6.6rem 0;
  }

  .seminar-subtitle {
    text-align: center;
    width: 100%;
    position: relative;
  }

  .subtitle-top-row {
    display: flex;
    /* 横並びにする魔法 */
    justify-content: center;
    /* 画面の中央に寄せる */
    align-items: center;
    /* 上下の中心を揃える */
    gap: 0.5em;
    /* ★重要：画像と文字の間の隙間（文字サイズに合わせて伸縮） */
    width: 100%;
    margin-bottom: 0.7rem;
    /* 2行目との間隔 */
  }

  .subtitle-top-row .text-top {
    font-size: clamp(2.5rem, 2.349rem + 0.32vw, 2.625rem);
    font-weight: bold;
    line-height: 1;
  }

  .emphasis_left,
  .emphasis_right {
    /* 幅を「文字サイズ(1em)」に合わせるとレスポンシブで綺麗です */
    width: auto;
    height: 3.5em;
    /* 文字の1.5倍の高さにする（お好みで調整） */
    object-fit: contain;
    /* position: absolute; は削除 */
  }

  /* --- 2行目のエリア設定 --- */
  .subtitle-bottom-row {
    text-align: center;
    margin: 0;
    /* 元のpタグの設定 */
    font-size: clamp(3.125rem, 2.974rem + 0.32vw, 3.25rem);
    line-height: 1.278;
  }




  .seminar-desc {
    width: 55%;
    /* ★重要：幅を少し狭くします（親要素より小さく） */
    max-width: 600px;
    /* 必要であれば最大幅も設定（PCで見やすくするため） */
    margin: 20px auto;
    /* ★箱自体を中央寄せ（上下20px、左右自動） */
    text-align: left;
    /* ★中のテキストを右揃え */
    line-height: 1.75;
    font-size: clamp(1.563rem, 1.411rem + 0.32vw, 1.688rem);
  }

  .seminar-point {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .seminar-point img {
    width: 30%;
    /* 3つ並べるなら30%くらいが安全です */
    max-width: 145px;
    /* パソコンで巨大になりすぎないように制限 */
    margin: 10px;
    /* 30pxだと余白が大きすぎる場合があるので調整 */
    height: auto;
    /* 高さを自動調整 */
    object-fit: contain;
    /* 画像の比率を保つ */
  }

  .seminar-item {
    padding: 3.3333rem 0;
    width: 60%;
    margin: auto;
  }

  .seminar-inner img {
    display: block;
    margin: 10px auto;

  }

  .blue {
    font-weight: bold;
    color: #0582D6;
  }

  .big {
    font-size: clamp(1.375rem, 1.319rem + 0.28vw, 1.563rem);
    font-weight: bold;
    border-bottom: 2px dotted #0099FF;
  }

}

/*----------------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------タブレット／ブレイクポイント-------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------------*/

@media screen and (min-width:768px) and (max-width:1225px) {


  header ul {
    padding: 2rem 2rem;
    flex-wrap: nowrap;
  }

  header ul li:first-of-type .img img {
    display: block;
    width: 35.5rem;
    max-width: 87%;
    margin: 0 auto 0 0;
  }

  header ul li:nth-of-type(2) .img img {
    display: block;
    width: 81%;
    margin: 0 0 0 auto;
  }

  .hero {
    padding: 0 0 5rem 0;
  }

  .hero h1 img {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .form_item_text #tel,
  .form_item_text #email {
    width: 96%;
  }

  .hero .contact img {
    width: 40%;
  }

  .hero .contact {
    margin-top: -11rem;
  }

  .inner {
    max-width: 100%;
    padding: 0 2rem;
  }

  .pioneer {
    padding: 5rem 2rem 8rem 2rem;
  }

  .pioneer .pc-only .img:nth-of-type(1) {
    top: 28rem;
    width: 14%;
  }

  .pioneer .pc-only .img:nth-of-type(2) {
    top: 5rem;
    width: 11%;
  }

  .point img {
    padding: 5% 0 0 0;
  }

  .style {
    padding: 3.2rem 0;
  }

  .style .contact img {
    max-width: 60%;
  }

  .style .contact {
    padding: 4rem 0 0 0;
  }

  .curriculum {
    padding: 4rem 0 5.5rem 0;
  }

  .voice {
    padding: 5rem 0;
  }

  .form {
    padding: 6.5rem 0;
  }

  .form h3 {
    padding: 0 0 4rem 0;
  }

  .submit_btn input {
    padding: 1.5rem;
    width: 48rem;
    max-width: 100%;
    margin-top: 3.8rem;
  }

  footer {
    padding: 3.3rem 0;
  }

  footer .access_item {
    flex-wrap: wrap;
    justify-content: center;
  }

  footer .img_map {
    display: block;
    margin-bottom: 3rem;
  }

  footer ul li:nth-of-type(2) {
    display: block;
    padding-left: 1.2%;
  }

  .style .pc-only {
    position: absolute;
    top: 47%;
    right: -2%;
    width: 26%;
  }

  .point .pc-only .img {
    padding-right: 0%;
  }

  footer .school {
    padding: 3rem 0 3rem 0;
  }
}

/*----------------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------------*/
/*-------------------------------------------スマートフォン／ブレイクポイント-------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------------*/

@media screen and (max-width:767px) {

  .form_item_text #tel,
  .form_item_text #email {
    width: auto;
  }

  .pc-only {
    display: none !important;
  }

  .sp-only {
    display: block !important;
  }

  header ul {
    display: block;
    flex-wrap: nowrap;
    padding: 1.4rem 1rem;
    margin: auto;
  }

  header ul li {
    text-align: center;
  }

  header ul li:first-of-type .img img {
    display: block;
    width: 60%;
    margin: 0 auto;
  }

  header ul li:nth-of-type(2) .img img {
    display: block;
    width: 81%;
    margin: 0 0 0 auto;
  }

  .hero h1 img {
    margin-top: 0;
    padding: 0;
    width: 100%;
  }

  .hero {
    background: none;
    padding: 0 0 2.75rem 0;
  }

  .hero .contact {
    padding-left: 0;
    width: 82%;
    margin: -29% auto 0 auto;
    text-align: center;
  }

  .pioneer {
    padding: 0;
    position: static;
  }

  .pioneer img {
    width: 100%;
    /* margin-bottom: 5vw; */
  }

  .point .point_item:first-of-type {
    background: none;
    padding: 0;
  }

  .point_item {
    padding: 0;
  }

  .point .point_text:first-of-type img {
    max-width: 100%;
    padding: 0;
  }

  .point .point_text img {
    padding: 4rem 0 0 0;
    width: 100%;
  }

  .point_item {
    margin: 4.3rem 0 4.5rem 0;
  }

  .style {
    background-image: url(../images/style_bg_sp.webp);
    background-size: cover;
    padding: 13vw 0 22vw 0;
    margin-top: 5vw;
  }

  .style h3 {
    padding: 0;
  }

  .style h3 img {
    max-width: 93%;
  }

  .style_item img {
    max-width: 85%;
    padding-top: 10vw;
  }

  .style .contact {
    padding: 2rem 0 0 0;
  }

  .style .contact img {
    max-width: 93%;
  }

  .curriculum {
    padding: 0 0 3.3rem 0;
  }

  .curriculum p {
    padding: 0 0 1.6rem 0;
  }

  .curriculum h3 img {
    max-width: 93%;
  }

  .curriculum p img {
    max-width: 93%;
  }

  .curriculum .sp-only .img img {
    max-width: 93%;
    padding: 2.2rem 0 1rem 0;
  }

  .curriculum .mobile-scroll:first-of-type img {
    max-width: 90rem !important;
    height: auto !important;
    padding: 0 1rem 0 1rem;
  }

  .curriculum .mobile-scroll:nth-of-type(2) img,
  .curriculum .mobile-scroll:nth-of-type(3) img {
    max-width: 104.375rem !important;
    height: auto !important;
    height: auto !important;
    padding: 0 1rem 0 1rem;
  }

  .mobile-scroll {
    overflow-x: scroll;
  }

  .voice {
    background-image: url(../images/voice_bg_sp.webp);
    padding: 3rem 0;
  }

  .voice h3 {
    padding: 0 0 10vw 0;
  }

  .voice h3 img,
  .voice_item img {
    max-width: 93%;
  }

  .form {
    padding: 27vw 0;
    font-size: 1.6rem;
    font-weight: 400;
  }


  .form h3 {
    padding: 0 0 3.3rem 0;
  }

  .form h3 img {
    max-width: 93%;
  }

  .form form .inner {
    padding: 0 1rem;
  }

  form .form_item:first-of-type ul {
    font-size: 2rem;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 8.2rem 8.2rem 8.2rem;
    gap: 1.5rem;
    /* place-items: center; */
  }

  form .form_item:first-of-type ul li span {
    font-size: 1.2rem;
  }

  form .form_item:first-of-type ul li {
    /* padding: 1.5rem 8% 1.5rem 8%; */
    /* border: .1rem solid #1a1a1a; */
    border-radius: .5rem;
    text-align: center;
  }

  form .form_item:first-of-type ul li label {
    padding: 1.5rem 7% 1.5rem 8%;
    align-items: baseline;
  }
  form .form_item:first-of-type ul li .mwform-radio-field {
    width: calc(50% - 20px / 2);
  }
  .mw_wp_form .horizontal-item + .horizontal-item {
    margin-left: 20px !important;
  }
  form .form_item:first-of-type ul li .mwform-radio-field:nth-child(n + 3) {
    margin-top: 20px;
  }
  .date_item4 {
    margin-left: 20px !important;
  }
  form .form_item:first-of-type ul li .mwform-radio-field:nth-child(odd){
    margin-left: 0 !important;
  }
  form .form_item:first-of-type ul li .elemClass {
    font-size: 2rem;
    padding: 0;
  }
  form .form_item:first-of-type ul li .elemClass2 {
    font-size: 1.2rem;
    text-align: left;
  }

  input[type="radio"] {
    transform: scale(2);
    margin: 0 1.2rem 0.5rem 0;
    accent-color: #b81c22;
    cursor: pointer;
  }


  .form label span {
    padding: 0.15rem 1rem 0.25rem 1rem;
    margin: 0 .4rem 0 1%;
    border-radius: 2rem;
  }

  input[type="button"],
  input[type="text"],
  input[type="submit"],
  input[type="mail"],
  textarea {
    -webkit-appearance: none;
    border-radius: 0;
  }

  .form_item_text label {
    margin: 3rem 0 1rem 0;
  }

  .form_item_text #name,
  .form_item_text #name_f {
    width: 93%;
    margin: 0 auto;
    padding: 1.5rem .8rem;
    font-size: 1.6rem;
  }

  .form_item_text #tel,
  .form_item_text #email {
    width: 93%;
    margin: 0 auto;
    padding: 1.5rem .8rem;
  }

  .form_item_text ::placeholder {
    color: #efefef;
  }

  .form_item_text .sp-only {
    font-size: 1.4rem;
    line-height: 1.4;
    padding: 1rem 0;
  }

  .form_item_text select {
    font-size: 1.6rem;
    color: #1a1a1a;
    padding: 1.8rem 0.8rem;
    width: 96.5%;
    display: block;
    margin: 0 auto;
  }

  .submit_btn input {
    font-size: 1.6rem;
    padding: 1rem;
    width: 26.5rem;
    max-width: 100%;
    border-radius: .5rem;
    margin-top: 2.4rem;
  }

  .form_item_text .birth {
    margin-top: 15px !important;
  }

  footer {
    padding: 2rem 0;
    font-size: 1.2rem;
  }

  footer .sp-only {
    display: inline !important;
  }

  footer .access_item {
    flex-wrap: wrap;
  }

  footer .inner {
    max-width: 100%;
    padding: 0 1.5rem;
  }

  footer .img_map img {
    display: block;
    margin: 0 auto;
    width: 96%;
  }

  footer .img_text img {
    display: block;
    margin: 0 auto 0 0;
    max-width: 10.5rem;
    padding: 1.7rem 0 0 0;
  }

  footer .school {
    font-size: 2.5rem;
    font-weight: 500;
    padding: 1.7rem 0;
  }

  a[href^="tel:"] {
    font-size: 2.4rem;
  }

  footer .tel {
    padding: 1.2rem 0;
  }

  footer .tel p a span {
    font-size: 1.85rem;
  }

  footer .tel p span {
    font-size: 1.4rem;
    font-weight: 400;
  }

  footer .cta a {
    font-size: 1.6rem;
    border-bottom: none;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  footer small {
    font-size: 1rem;
    padding-top: 4rem;
  }

  /* ////////////sp-yoshida追加 /////////////////*/
  .fv-wrap {
    display: block;
    width: 100%;
    height: auto;
    position: static;
  }

  /* CTAボタン */
  .cta-btn-wrap-fv {
    width: 60%;
    display: block;
    margin: auto;
    padding: 5vw 0;

  }

  .cta-btn-wrap-flow {
    width: 60%;
    display: block;
    margin: auto;
    padding: 5vw 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
  }



  /* 上にかぶらない（口コミ下）CTAボタン */
  .cta-btn-wrap-voice {
    width: 60%;
    display: block;
    margin: auto;
    padding: 5vw 0;
  }

  /* 講座から気象予報士になるまで */
  .flow {
    background-color: #D7E6F0;
    padding: 3rem 0;
    position: relative;
    margin-bottom: 100px;
  }

  .flow h3 {
    max-width: 93%;
    margin: auto;
  }

  .flow ul {
    display: block;
    max-width: 90%;
    margin: 10vw auto;
    justify-content: space-between;
    align-items: center;
  }

  .flow_inner_polygon {
    max-width: 15%;
    margin: auto;
  }

  .flow_inner img {
    width: 100%;
  }

  /* 口コミ */
  .member-slider-list {
    display: flex;
    /* 横並びにする */
    flex-wrap: nowrap;
    /* 折り返さない（一直線に並べる） */
    gap: 20px;
    /* カード同士の間隔 */

    list-style: none;
    padding: 0;
    margin: 0;

    /* JSが無効な場合でも最低限横に並ぶように幅を確保 */
    width: 100%;
    box-sizing: border-box;
  }

  /* --- 2. カード本体（li） --- */
  .member-card {
    /* ★JSでスライドさせるため、勝手に縮まないように固定 */
    flex-shrink: 0;

    /* カードのサイズ（縦長デザイン） */
    width: 300px;
    /* デザインに合わせて調整してください */

    /* カードの見た目 */
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* ふんわりした影 */
    box-sizing: border-box;
  }

  /* --- 3. 上段エリア（写真 + 名前・肩書） --- */
  .card-header {
    display: flex !important;
    flex-direction: column !important;
    /* 縦並びにする */
    align-items: flex-start !important;
    gap: 15px;
    /* 写真と文字の間隔 */
    margin-bottom: 10px;
    /* 本文との余白 */
    border-bottom: 1px solid #eee;
    /* デザイン上の区切り線（任意） */
    padding-bottom: 5px;
  }

  /* --- 写真 --- */
  .card-img {
    flex-shrink: 0;
    width: 118px;
    /* 写真の幅 */
    height: 172px;
    /* 写真の高さ（縦長トリミング） */
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto 15px auto !important;
    align-self: center !important;
  }


  .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 枠いっぱいにトリミング */
    image-rendering: -webkit-optimize-contrast;
    /* Chrome, Safari用 */
    backface-visibility: hidden;
    /* チラつき防止 */
  }

  /* --- 名前・肩書エリア --- */
  .card-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left !important;
    padding-left: 0;
  }

  .info-job {
    color: #0099ff;
    /* 指定の水色 */
    font-weight: bold;
    font-size: 1.6rem;
    margin: 10px 0 4px 0;
  }

  .info-name {
    color: #0099ff;
    /* 指定の水色 */
    font-weight: bold;
    font-size: 1.8rem;
    margin: 0 0 10px 0;
    line-height: 1.3;
  }

  .info-lead {
    color: #333;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
  }

  /* --- 4. 下段エリア（本文） --- */
  .card-body p {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.7;
    /* 読みやすい行間 */
    color: #333333;
    text-align: justify;
    /* 両端揃え（お好みでleftに） */
  }

  /* 1. スライド全体を包むレールを Flexbox に変える */
  /* これをすると、中身の子要素（スライド）が強制的に一番高いものに合わせられます */
  .slick-track {
    display: flex !important;
  }

  /* 2. スライド自体の高さを自動（親に合わせる）にする */
  .slick-slide {
    height: auto !important;
    float: none !important;
    /* もともとのfloatを無効化 */
    margin: 0 10px;
  }

  /* 3. 【重要】カード自体を縦いっぱいに引き伸ばす */
  /* ".your-card-class" の部分は、あなたが作っているカードのクラス名に変えてください */
  .slick-slide>div,
  .slick-slide .member-card {
    height: 100%;
  }

  /* 4. 【追加】カードの中身が崩れないように縦並びを固定 */
  /* これを入れると、カードが伸びても中身が変な位置に行きません */
  .member-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    /* 上詰めで表示 */
  }






  /* 無料オンライン説明会 */

  .seminar {
    background-color: #FFFDDD;
    width: 100%;
    padding: 3rem 0;
  }

  .seminar-wrap {
    background-color: #ffffff;
    width: 93%;
    margin: auto;
    height: auto;
    padding: 10vw 1vw;
    position: relative;
  }


  .decoration_left {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
    /* 文字の下に敷く場合（※補足参照） */
    width: 20%;
    /* 例: 親の幅の20% */
    max-width: 150px;
    /* PCで大きくなりすぎないように制限 */
    height: auto;
    /* 比率を保つ */
  }

  .decoration_right {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    /* 文字の下に敷く場合（※補足参照） */
    width: 20%;
    /* 例: 親の幅の20% */
    max-width: 150px;
    /* PCで大きくなりすぎないように制限 */
    height: auto;
    /* 比率を保つ */

  }

  .seminar_next {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 90%);
    width: 93%;
    max-width: 1000px;
    /* PCで大きくなりすぎないように制限 */
    height: auto;
    z-index: 10;
  }


  /* セミナータイトル */
  .seminar h3 {
    max-width: 93%;
    margin: auto;
    padding: 0 0 10vw 0;
  }

  .seminar-subtitle {
    text-align: center;
    width: 100%;
    position: relative;
  }

  .subtitle-top-row {
    display: flex;
    /* 横並びにする魔法 */
    justify-content: center;
    /* 画面の中央に寄せる */
    align-items: center;
    /* 上下の中心を揃える */
    gap: 0.5em;
    /* ★重要：画像と文字の間の隙間（文字サイズに合わせて伸縮） */
    width: 100%;
    margin-bottom: 0rem;
    /* 2行目との間隔 */
  }

  .subtitle-top-row .text-top {
    font-size: clamp(2.175rem, 2.295rem + 0.43vw, 2.1rem);
    font-weight: bold;
    line-height: 1;
  }

  .emphasis_left,
  .emphasis_right {
    /* 幅を「文字サイズ(1em)」に合わせるとレスポンシブで綺麗です */
    width: auto;
    height: 3.5em;
    /* 文字の1.5倍の高さにする（お好みで調整） */
    object-fit: contain;
    /* position: absolute; は削除 */
  }

  /* --- 2行目のエリア設定 --- */
  .subtitle-bottom-row {
    text-align: center;
    margin: 0;

    /* 元のpタグの設定 */
    font-size: clamp(2.1rem, 2.42rem + 0.43vw, 2.2rem);
    line-height: 1.278;
  }




  .seminar-desc {
    width: 100%;
    /* ★重要：幅を少し狭くします（親要素より小さく） */
    max-width: 600px;
    /* 必要であれば最大幅も設定（PCで見やすくするため） */
    margin: auto;
    /* ★箱自体を中央寄せ（上下20px、左右自動） */
    text-align: left;
    /* ★中のテキストを右揃え */
    line-height: 1.75;
    font-size: clamp(1.25rem, 1.026rem + 1.12vw, 1.563rem);
    padding: 5vw;
  }

  .seminar-point {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .seminar-point img {
    width: 25%;
    max-width: 145px;
    /* パソコンで巨大になりすぎないように制限 */
    margin: 5px;
    /* 30pxだと余白が大きすぎる場合があるので調整 */
    height: auto;
    /* 高さを自動調整 */
    object-fit: contain;
    /* 画像の比率を保つ */
  }

  .seminar-item {
    padding: 1.3333rem 0;
    width: 93%;
    margin: auto;
    position: relative;
    z-index: 2;
  }

  .seminar-inner img {
    display: block;
    margin: 3px auto;
  }

  .seminar-inner-polygon {
    max-width: 13%;
    margin: auto;
  }

  .blue {
    font-weight: bold;
    color: #0582D6;
  }

  .big {
    font-size: clamp(1.375rem, 1.319rem + 0.28vw, 1.563rem);
    font-weight: bold;
    border-bottom: 2px dotted #0099FF;
  }

  .mw_wp_form_confirm .form_item_day {
    flex: 0 0 12rem;
  }
  .mw_wp_form_confirm .form_item_text label {
    flex: 0 0 12rem;
    font-size: 1.6rem;
    line-height: 1.5;
  }
  .mw_wp_form_confirm .form_item_day label {
    font-size: 1.6rem;
    line-height: 1.5;
  }
  .mw_wp_form_confirm form .form_item:first-of-type {
    align-items: center;
  }
  .mw_wp_form_confirm form .form_item:first-of-type ul li {
    font-size: 1.6rem;
    line-height: 1.5;
  }
  .mw_wp_form_confirm .form_item_text_input {
    font-size: 1.6rem;
    line-height: 1.5;
  }
  .mw_wp_form_confirm .form_item_text {
    align-items: center;
  }
  .mw_wp_form_confirm .form_item_text_input a {
    font-size: 1.6rem;
  }

}

@media screen and (max-width:400px) {

  .form_item_text select {
    width: 98%;
  }
}





/* --- Slickの余計なスタイルを強制リセット --- */

/* !important をつけて、何がなんでもmarginを0にします */
.member-slider-list .slick-slide img {
  margin: 0 !important;
  /* ★ここが一番重要 */
  padding: 0 !important;
  width: 100% !important;
  /* 親要素(.card-img)の幅に強制的に合わせる */
}

/* 念のため、画像の外側の箱にも影響が出ないように */
.member-slider-list .card-img {
  display: block !important;
  margin: 0 !important;
}
