@charset "UTF-8";
header .mv {
  background: url(../image/nyuukyosha/mv.jpg) no-repeat center center;
  background-size: cover;
}

.box03 p a {
  color: #0a8e89;
}

.box04 {
  background: #faf8f7;
}

.box04 li {
  background: #fff;
}

.box05 {
  max-width: 1060px;
  text-align: center;
  margin: 80px auto;
}

.box05 h3 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 50px;
}

.box05 h3 img {
  display: block;
  margin: 15px auto 0;
}

.box05 p {
  font-size: 18px;
  line-height: 2;
}

.box05 .check {
  width: 100%;
  text-align: left;
  background: #f8f8f8;
  padding: 50px;
  margin: 50px auto;
  box-sizing: border-box;
}

.box05 .check h4 {
  text-align: left;
  font-size: 26px;
  margin-bottom: 30px;
}

.box05 .check ul li {
  list-style: disc;
  margin-left: 1rem;
  font-size: 18px;
  line-height: 2.4;
}

.box05 .check ul li span {
  font-weight: bold;
  background: linear-gradient(transparent 40%, #fbf2c7 40%);
}

.box05 .check .left {
  width: calc(100% - 290px);
}

.box05 .check img.sp {
  display: none;
}

.box05 .cont {
  margin: 50px auto;
}

.box05 .cont .icn {
  text-align: center;
  display: flex;
  align-items: center;
  margin: auto;
}

.box05 .cont .icn::before, .box05 .cont .icn::after {
  content: "";
  flex-grow: 1;
  height: 5px;
  background: #e2e2e2;
  display: block;
}

.box05 .cont .icn::after {
  margin-left: 2em;
}

.box05 .cont .icn::before {
  margin-right: 2em;
}

.box05 .cont h4 {
  font-size: 26px;
  margin: 30px auto;
}

.box05 .cont p {
  font-size: 18px;
  line-height: 2;
}

.box05 .cont p a {
  color: #0a8e89 !important;
}

.box05 .flow {
  width: 100%;
  border-top: 1px solid #e2e2e2;
  text-align: left;
  margin-top: 50px;
  position: relative;
}

.box05 .flow::before {
  content: "▶";
  position: absolute;
  top: -11px;
  right: -2px;
  font-size: 20px;
  line-height: 20px;
  color: #e2e2e2;
}

.box05 .flow .step {
  margin-top: -15px;
}

.box05 .flow .left {
  width: 60%;
}

.box05 .flow .left .img img {
  max-width: 616px;
  width: 100%;
  display: block;
  margin: 20px auto 0;
}

.box05 .flow .right {
  width: 37%;
  margin-left: 3%;
}

.box05 .flow .right .img img {
  margin: 20px auto 0;
  max-width: 385px;
  width: 100%;
  display: block;
}

.box05 .schedule {
  text-align: left;
}

.box05 .schedule h4 {
  text-align: left;
  font-size: 22px;
  margin-bottom: 10px;
}

.box05 .btn a {
  font-size: 22px;
  display: block;
  width: 90%;
  margin: 30px auto 80px;
  background: linear-gradient(-90deg, #751007, #a00f03);
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  padding: 35px 10px;
  box-sizing: border-box;
  line-height: 1;
  max-width: 570px;
  box-shadow: 6px 6px rgba(0, 0, 0, 0.15);
}

.box05 h3 img {
  max-width: 317px;
  width: 90%;
}

@media (max-width: 1060px) {
  .box05 {
    width: 90%;
  }
}
@media (max-width: 980px) {
  header .mv {
    background: url("../image/nyuukyosha/mv_sp.jpg") no-repeat center;
    background-size: cover;
  }
  .box05 h3 {
    font-size: 23px;
  }
  .box05 p {
    font-size: 15px;
  }
  .box05 .check {
    padding: 30px 10px;
  }
  .box05 .check h4, .box05 .cont h4 {
    font-size: 20px;
  }
  .box05 .check .left {
    float: none;
    width: 100%;
  }
  .box05 .check ul li, .box05 .cont p {
    font-size: 15px;
  }
  .box05 .check .right {
    float: none;
    width: 100%;
  }
  .box05 .check .right img {
    display: block;
    margin: 30px auto 0;
    max-width: 278px;
    width: 90%;
  }
  .box05 .flow {
    border-top: none;
    border-left: 1px solid #e2e2e2;
  }
  .box05 .flow .left {
    float: none;
    width: 100%;
    margin: 20px 0 40px;
    padding: 0;
    padding-left: 30px;
    box-sizing: border-box;
  }
  .box05 .flow .right {
    float: none;
    width: 100%;
    margin: 20px 0;
    padding: 0 10px;
    padding-left: 30px;
    box-sizing: border-box;
  }
  .box05 .flow .step {
    margin-top: 0;
    margin-left: -45px;
    margin-bottom: 20px;
  }
  .box05 .flow::before {
    content: "▼";
    position: absolute;
    top: auto;
    bottom: -2px;
    left: -11px;
    font-size: 20px;
    line-height: 20px;
    color: #e2e2e2;
  }
  .box05 .flow .step .st-img {
    display: inline-block;
    vertical-align: middle;
  }
  .box05 .flow .step .st-img::before {
    content: "";
    display: inline-block;
    width: 30px;
    margin-top: 15px;
    border-top: 2px solid #dbcf0d;
    vertical-align: top;
    margin-left: 5px;
    margin-right: 5px;
  }
  .box05 .flow .step img {
    display: inline-block;
    vertical-align: middle;
  }
  .box05 .flow .step span {
    margin-left: 70px !important;
    margin-right: 0;
    display: block;
    margin-top: 5px;
    line-height: 31px;
    vertical-align: top;
    font-weight: bold;
    font-size: 18px;
  }
  .box05 .btn a {
    font-size: 17px;
    line-height: 1.5;
  }
  .box05 .check img.pc {
    display: none;
  }
  .box05 .check img.sp {
    display: block;
    width: 100%;
    max-width: 343px;
  }
}
.schedule .img01 .sp {
  display: none;
}

.schedule .img01 {
  text-align: center;
  padding: 15px 0;
}

.schedule .img01 img {
  width: 100%;
}

@media (max-width: 980px) {
  .schedule .img01 .pc {
    display: block !important;
  }
  .schedule .img01 .sp {
    display: none;
  }
}
@media (max-width: 680px) {
  .schedule .img01 .pc {
    display: none !important;
  }
  .schedule .img01 .sp {
    display: block;
    width: 100%;
  }
}



#paymentModal .modal-content {
  padding: 0;
  padding-bottom: 40px;
  position: relative;
  overflow: unset;
  border-radius: 0;
}
@media (max-width: 980px) {
  #paymentModal .modal-content {
    overflow-y: scroll;
  }
}
#paymentModal .modal-content .modal-close {
  position: absolute;
  right: 0;
  bottom: 100%;
  top: auto;
  display: flex;
  align-items: center;
}
@media (max-width: 980px) {
  #paymentModal .modal-content .modal-close {
    position: static;
    justify-content: flex-end;
  }
}
#paymentModal .modal-content .modal-close span {
  font-size: 14px;
}
@media (max-width: 980px) {
  #paymentModal .modal-content .modal-close span {
    font-size: 12px;
  }
}
#paymentModal .modal-content .flow-ttl {
  background: #eeeeee;
  padding: 20px;
  box-sizing: border-box;
  font-size: 26px;
}
#paymentModal .flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 40px;
  box-sizing: border-box;
}
@media (max-width: 980px) {
  #paymentModal .flex {
    display: block;
    margin-bottom: 30px;
  }
}
#paymentModal .flex .guide-box {
  width: 50%;
  box-sizing: border-box;
  background: none;
  padding: 0;
}
@media (max-width: 980px) {
  #paymentModal .flex .guide-box {
    width: 100%;
  }
}
#paymentModal .flex .guide-box p {
  line-height: 2.1;
  font-size: 18px;
}
@media (max-width: 980px) {
  #paymentModal .flex .guide-box p {
    font-size: 14px;
  }
}
#paymentModal .flex .guide-box ul li {
  list-style: disc;
  font-size: 16px;
  line-height: 1.7;
}
#paymentModal .flex .guide-box ul li span {
  font-weight: bold;
  background: linear-gradient(transparent 40%, #fbf2c7 40%);
}
#paymentModal .flex .img {
  width: 45%;
  text-align: center;
}
@media (max-width: 980px) {
  #paymentModal .flex .img {
    width: 100%;
  }
}
#paymentModal .flex .img img {
  width: 100%;
  display: block;
}
#paymentModal .btn-final {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 454px;
  border: 2px solid #9f9f9f;
  background: #eee1ba;
  color: #000;
  box-shadow: none;
  box-sizing: border-box;
}
#paymentModal .btn-select {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
#paymentModal .btn-select span {
  font-size: 70%;
  display: block;
  text-align: center;
}
#paymentModal #step-card-check .flex {
  margin-bottom: 30px;
}
#paymentModal #step-card-check .flex .img img {
  margin: 0 auto;
  max-width: 331px;
}
#paymentModal #step-card-check .flex .img p {
  text-align: center;
}

.box03 .cont table td .trigger-btn {
  margin-left: 0;
  display: block;
  background: linear-gradient(-90deg, #e5a200, #faeb00);
}/*# sourceMappingURL=nyuukyosha.css.map */



/* インラインフローエリアの幅と余白をSTEP03に合わせる */
#inline-flow-area {
    max-width: 790px; /* STEP03の幅に合わせる */
    margin: 20px 0 0; /* 左寄せ（またはSTEP03と同じ配置） */
    border: 2px solid #eee; 
    padding: 30px; 
    border-radius: 12px; 
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

/* 質問タイトルなどのサイズ微調整 */
.flow-ttl {
    font-size: 1.3rem;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* 選択ボタンの幅をエリアに合わせる */
.btn-select {
    width: 48%; /* 2つ並びの時のサイズ */
    max-width: 350px;
}

@media screen and (max-width: 768px) {
    #inline-flow-area {
        width: 100%;
        padding: 20px 15px;
    }
    .btn-select {
        width: 100%;
        max-width: none;
    }
}

/* 親のtdの中でコンテンツが広がりすぎないように制限 */
.step-content-inner {
    max-width: 680px; /* STEP 03の青い背景部分の幅に合わせる */
    width: 100%;
    margin: 0; /* 左寄せにする場合 */
}

/* それに伴い、inline-flow-areaの幅も100%（親に従う）にする */
#inline-flow-area {
    width: 100%; 
    max-width: 100%; /* 個別の制限を解除して親に合わせる */
    margin: 20px 0 0;
    box-sizing: border-box;
    /* その他のスタイルはそのまま */
}

/* インラインエリア内のボタンが飛び出さないように固定 */
#inline-flow-area .btn-final {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px 0 0 0 !important;
    padding: 15px 10px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    border-radius: 40px !important; /* 角丸を維持 */
    box-shadow: 0 4px 0 #d68100 !important; /* 既存のオレンジ用影 */
}

/* スマホ表示での微調整 */
@media screen and (max-width: 768px) {
    #inline-flow-area .btn-final {
        font-size: 1.1rem !important;
    }
}

/* 緑ボタン専用のスタイル（影を緑色に変更） */
#inline-card-check .btn-final {
    background: #8fc31f !important; /* ボタン自体の緑 */
    box-shadow: 0 4px 0 #6da312 !important; /* 影を濃い緑に変更 */
}

/* ついでにマウスを乗せた時の影の沈み込みも微調整（必要であれば） */
#inline-card-check .btn-final:hover {
    box-shadow: 0 2px 0 #6da312 !important;
}


/* ガイドボックスを横並びにする設定 */
.guide-box-flex {
    display: flex;
    align-items: flex-start; /* 上揃え */
    justify-content: space-between;
    background: #f0f7ff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    gap: 20px; /* テキストと画像の間の溝 */
}

/* テキスト側の幅調整 */
.guide-text {
    flex: 1; /* 残りの幅をすべて使う */
    text-align: left;
    line-height: 1.6;
}

/* 画像側の幅調整 */
.guide-img {
    width: 300px; /* 画像の表示幅（必要に応じて調整） */
    flex-shrink: 0; /* 画像が潰れないようにする */
}

.guide-img img {
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
}

/* スマホでは縦並びに戻す */
@media screen and (max-width: 768px) {
    .guide-box-flex {
        flex-direction: column;
    }
    .guide-img {
        width: 100%;
        margin-top: 15px;
    }
}

/* ボタン下の説明文（補足）のスタイル */
.step-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #005bac;
    line-height: 1.5;
    margin-top: 15px; /* ボタンとの間隔 */
    font-weight: bold;
}

/* ついでに、ボタンの中の文字がはみ出さないようにボタン自体の高さ指定を解除 */
.btn-select {
    height: auto !important;
    min-height: 80px;
    padding: 15px !important;
}

/* ボタン自体の高さ制限を解除（中身に合わせて伸びるようにする） */
.btn-select {
    height: auto !important; /* 固定高さを解除 */
    min-height: 80px; /* 最低限の高さは維持 */
    flex-direction: column; /* 文字を縦に並べる */
    padding: 15px 10px !important;
    line-height: 1.4 !important;
}

/* ボタン内の注釈テキスト専用スタイル */
.btn-sub-text {
    display: block; /* 改行させる */
    font-size: 0.75rem !important; /* 文字を小さくする */
    font-weight: normal !important; /* 注釈なので細く */
    margin-top: 5px;
    color: inherit; /* 親の文字色（青または白）を引き継ぐ */
}

/* ホバー時に文字が見えなくならないよう調整（必要に応じて） */
.btn-select:hover .btn-sub-text {
    color: #fff;
}