/* =========================================================
   モバイルファースト構成
   ベース(無条件) = SP(〜568px)
   min-width: 569px  = 〜960px 相当
   min-width: 961px  = 〜1024px 相当
   min-width: 1025px = 1025px〜(PC)
   ========================================================= */

#sub_other_service .sub_other_content::after {
  background: url("../img/pull_down/pull-down_top.jpg") no-repeat;
  background-size: cover;
}

#intro .intro_box .half_box {
  flex-direction: column;
}

#intro .intro_box .half_box .ttl {
  font-size: 21px;
  margin-bottom: 10px;
}

#intro .intro_box .half_box .photo {
  margin-bottom: 20px;
}

.full_wide_ttl {
  padding: 14px 0 16px;
}

.full_wide_ttl .txt_white {
  padding-left: 4vw;
  position: relative;
}

/* .full_wide_ttl .txt_white .txt_yellow {
  position: relative;
} */

.full_wide_ttl .txt_white::before {
  content: none;
}

/* ---------- merit_demreit_wrapper / feature_list / point_list ----------
   #intro セクションと同様、このページの実コンテンツ(初めての方へページと同一)
   に合わせて beginner.css の値をそのまま踏襲する。
   (.merit-demerit / .about_list / #pull-down_flow は本ページの実際の
   HTMLでは使用されていない、将来の専用デザイン差し替え用の温存ルール)
   ------------------------------------------------------------------ */
.merit_demreit_wrapper {
  margin-top: 0;
  flex-direction: column;
  gap: 20px 0;
}

.merit_demreit_wrapper .box {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.merit_demreit_wrapper .box .ttl {
  font-size: 21px;
  padding: 11px 0 11px;
}

.merit_demreit_wrapper .box .content {
  padding: 20px 20px 10px;
  border-radius: 0 0 10px 10px;
  display: flex;
  flex-direction: column;
  flex: 2;
}

.merit_demreit_wrapper .box img {
  margin-bottom: 5px;
}

.merit_demreit_wrapper .box li {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding: 13px 0 16px;
  display: flex;
  justify-content: space-between;
}

.merit_demreit_wrapper .box li span {
  width: calc(100% - (24px + 12px));
}

.merit_demreit_wrapper .box li::after {
  content: '';
  background: url("../img/common/line_dot.png") repeat-x;
  width: 100%;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.merit_demreit_wrapper .box li:last-child::after {
  content: none;
}

.merit_demreit_wrapper .box.merit .ttl {
  background: #2d89f8;
}

.merit_demreit_wrapper .box.merit .content {
  border: 4px solid #88c7ff;
  border-top: none;
}

.merit_demreit_wrapper .box.merit li::before {
  content: '';
  background: url("../img/common/icon_check.svg") no-repeat;
  background-size: contain;
  width: 25px;
  height: 24px;
  display: block;
  margin-right: 0;
  position: relative;
  top: 1px;
}

.merit_demreit_wrapper .box.demerit .ttl {
  background: var(--site-keycolor);
}

.merit_demreit_wrapper .box.demerit .content {
  border: 4px solid #f1b7bd;
  border-top: none;
}

.merit_demreit_wrapper .box.demerit li::before {
  content: '';
  background: url("../img/beginner/batsu.svg") no-repeat;
  background-size: contain;
  width: 20px;
  height: 19px;
  display: block;
  margin-right: 0;
  position: relative;
  top: 3px;
}

.feature_list li {
  margin-bottom: 20px;
  flex-direction: column-reverse;
}

.feature_list li:last-child {
  margin-bottom: 0;
}

.feature_list li .txt_box {
  padding: 15px 20px 20px;
}

.feature_list li .ttl {
  font-size: 21px;
  line-height: 1.45;
  border-bottom: 1px solid #c7c7c7;
  padding-bottom: 16px;
  margin-bottom: 12px;
  text-align: center;
}

.feature_list li .ttl_row {
  margin-top: 0;
}

.feature_list li img {
  width: 100%;
}

.point_list {
  border: 4px solid #2d89f8;
  border-right: none;
  border-left: none;
  border-radius: 0;
}

.point_list li {
  padding: 25px 0 20px;
  position: relative;
}

.point_list li .ttl_left_border {
  border-bottom: none;
  margin: 14px 0 8px;
  padding: 4px 0 8px 20px;
  line-height: 1.5;
}

.point_list li .ttl_left_border::before {
  height: 76%;
}

.point_list li .photo {
  position: relative;
}

.point_list li .photo::before {
  content: '';
  width: 70px;
  height: 70px;
  position: absolute;
  top: 0;
  left: 0;
}

.point_list li::after {
  content: '';
  background: url("../img/common/line_dot.png") repeat-x;
  width: 100%;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.point_list li:first-child {
  padding-top: 0;
}

.point_list li:first-child .photo::before {
  background: url("../img/common/label_num01_large.svg") no-repeat;
  background-size: contain;
}

.point_list li:nth-child(2) .photo::before {
  background: url("../img/common/label_num02_large.svg") no-repeat;
  background-size: contain;
}

.point_list li:last-child {
  padding-bottom: 0;
}

.point_list li:last-child .photo::before {
  background: url("../img/common/label_num03_large.svg") no-repeat;
  background-size: contain;
}

.about_list {
  margin-top: 0;
  border: 4px solid #73a8e8;
  border-radius: 0;
  border-left: none;
  border-right: none;
}

.about_list li {
  position: relative;
  flex-direction: column;
}

.about_list li .txt_box {
  width: 100%;
}

.about_list li .txt_box p {
  margin: 0;
}

.about_list li .ttl_left_border {
  font-size: 21px;
  margin: 0 0 14px;
}

.about_list li img {
  width: 100%;
  max-width: 356px;
  margin-bottom: 15px;
}

.about_list li:first-child {
  padding-bottom: 23px;
  margin-bottom: 25px;
}

.about_list li:first-child::after {
  content: '';
  background: url("../img/common/line_dot.png") repeat-x;
  width: 100%;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.merit-demerit {
  flex-direction: column;
  gap: 20px 0;
  margin-top: -4px;
}

.merit-demerit .box {
  width: 100%;
}

.merit-demerit .box .ttl {
  font-size: 21px;
  padding: 11px 0 13px;
}

.merit-demerit .box.merit .ttl {
  background: #2d89f8 url("../img/pull_down/mark_maru.svg") no-repeat;
  background-position: 50% 0;
  padding-left: 0;
}

.merit-demerit .box.demerit .ttl {
  background: #cf1126 url("../img/pull_down/mark_batsu.svg") no-repeat;
  background-position: 50% 0;
  padding-left: 0;
}

.merit-demerit .box.demerit li::before {
  background: #cf1126;
}

.merit-demerit .box ul {
  padding: 15px 20px 20px;
  border: 1px solid #ccc;
}

.merit-demerit .box ul li {
  font-size: 15px;
  line-height: 1.8;
  margin-left: 1em;
  text-indent: -1em;
}

.merit-demerit .box ul li::before {
  content: '';
  display: inline-block;
  background: #0071be;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
  top: -3px;
}

#pull-down_flow .ttl_under_bar {
  margin-bottom: 28px;
}

#pull-down_flow ul {
  margin-top: 20px;
}

#pull-down_flow ul li.content {
  width: 100%;
  padding: 20px 20px 25px;
  position: relative;
  flex-direction: column;
}

#pull-down_flow ul li.content .txt_box {
  width: 100%;
}

#pull-down_flow ul li.content .ttl {
  font-size: 21px;
  margin: 0 0 8px;
}

#pull-down_flow ul li.content .ttl .size_small {
  font-size: 0.84em;
}

#pull-down_flow ul li.content picture {
  width: 100%;
  max-width: 356px;
  margin-top: 15px;
}

#pull-down_flow ul li.content::before {
  content: '';
  width: 70px;
  height: 70px;
  position: absolute;
  top: 0;
  left: 0;
}

#pull-down_flow ul li.content:nth-child(1)::before {
  background: url("../img/common/label_num01_large.svg") no-repeat;
  background-size: contain;
}

#pull-down_flow ul li.content:nth-child(3)::before {
  background: url("../img/common/label_num02_large.svg") no-repeat;
  background-size: contain;
}

#pull-down_flow ul li.content:nth-child(5)::before {
  background: url("../img/common/label_num03_large.svg") no-repeat;
  background-size: contain;
}

#pull-down_flow ul li.content:nth-child(7)::before {
  background: url("../img/common/label_num04_large.svg") no-repeat;
  background-size: contain;
}

#pull-down_flow ul li.content:nth-child(9)::before {
  background: url("../img/common/label_num05_large.svg") no-repeat;
  background-size: contain;
}

#pull-down_flow ul li.content:nth-child(11)::before {
  background: url("../img/common/label_num06_large.svg") no-repeat;
  background-size: contain;
}

#pull-down_flow ul li.arrow img {
  width: 47px;
  display: block;
  margin: 5px auto;
}

/* ---------- 569px〜(旧 max-width:960px 相当) ---------- */
@media screen and (min-width: 569px) {
  #intro .intro_box .half_box {
    flex-direction: row;
  }
  #intro .intro_box .half_box .ttl {
    font-size: 23px;
    /* common.css の `.half_box .txt_box .ttl { margin: -7px 0 5px; }` (margin-bottom: 5px) に復帰 */
    margin-bottom: 5px;
  }
  #intro .intro_box .half_box .photo {
    /* common.css の汎用 `.photo { margin: 20px 0 0; }` (margin-bottom: 0) に復帰 */
    margin-bottom: 0;
  }
  .full_wide_ttl {
    /* underlayer.css の基本値 `.full_wide_ttl { padding: 20px 0 20px; }` に復帰 */
    padding: 20px 0 20px;
  }
  .full_wide_ttl .txt_white::before {
    content: '';
    background: url("../img/pull_down/items.png") no-repeat;
    background-size: contain;
    width: calc(175px * 0.7);
    height: calc(116px * 0.7);
    position: absolute;
    top: -24px;
    left: 0;
  }
  .merit_demreit_wrapper {
    margin-top: 10px;
    flex-direction: row;
    gap: 0;
  }
  .merit_demreit_wrapper .box {
    width: 48.2%;
    border-radius: 20px;
  }
  .merit_demreit_wrapper .box .ttl {
    font-size: 23px;
  }
  .merit_demreit_wrapper .box .content {
    padding: 4vw 3vw 3vw;
    border-radius: 0 0 20px 20px;
  }
  .merit_demreit_wrapper .box li {
    font-size: 17px;
    padding: 11px 0 13px;
    justify-content: normal;
  }
  .merit_demreit_wrapper .box.merit li::before {
    width: 24px;
    height: 23px;
    margin-right: 14px;
    top: 4px;
  }
  .merit_demreit_wrapper .box.demerit li::before {
    width: 19px;
    height: 18px;
    margin-right: 14px;
    top: 6px;
  }
  .feature_list li {
    margin-bottom: 30px;
    flex-direction: row;
  }
  .feature_list li .txt_box {
    padding: 4vw 3.3vw;
  }
  .feature_list li .ttl {
    line-height: 1.5;
    padding-bottom: 8px;
    margin-bottom: 10px;
    text-align: left;
  }
  .feature_list li .ttl_row {
    margin-top: -10px;
  }
  .feature_list li img {
    width: 50%;
  }
  .point_list {
    border-right: 4px solid #2d89f8;
    border-left: 4px solid #2d89f8;
    border-radius: 10px;
  }
  .point_list li {
    padding: 41px 0 41px;
  }
  .point_list li .ttl_left_border {
    margin: -5px 0 18px;
    padding: 2px 0 4px 25px;
  }
  .point_list li .photo::before {
    width: 80px;
    height: 80px;
  }
  .point_list li:first-child .photo::before {
    background: url("../img/common/label_num01.svg") no-repeat;
    background-size: contain;
  }
  .point_list li:nth-child(2) .photo::before {
    background: url("../img/common/label_num02.svg") no-repeat;
    background-size: contain;
  }
  .point_list li:last-child .photo::before {
    background: url("../img/common/label_num03.svg") no-repeat;
    background-size: contain;
  }
  .about_list {
    margin-top: 20px;
  }
  .about_list li {
    flex-direction: row;
  }
  .about_list li .txt_box {
    width: 61.3%;
  }
  .about_list li .txt_box p {
    margin-bottom: -10px;
  }
  .about_list li .ttl_left_border {
    font-size: 21px;
    margin-bottom: 20px;
  }
  .about_list li img {
    width: 35%;
    margin-bottom: 0;
  }
  .about_list li:first-child {
    padding-bottom: 40px;
    margin-bottom: 40px;
  }
  .merit-demerit {
    flex-direction: row;
    gap: 0;
    margin-top: 0;
  }
  .merit-demerit .box .ttl {
    font-size: 21px;
  }
  .merit-demerit .box ul {
    padding: 2.5vw 3.0vw 3.0vw;
  }
  .merit-demerit .box ul li {
    font-size: 16px;
    text-indent: -0.89em;
  }
  #pull-down_flow ul {
    margin-top: 30px;
  }
  #pull-down_flow ul li.content {
    padding: 4vw 3.5vw;
  }
  #pull-down_flow ul li.content .ttl {
    font-size: 22px;
    margin-bottom: 6px;
  }
  #pull-down_flow ul li.content::before {
    width: 80px;
    height: 80px;
  }
  #pull-down_flow ul li.content:nth-child(1)::before {
    background: url("../img/common/label_num01.svg") no-repeat;
    background-size: contain;
  }
  #pull-down_flow ul li.content:nth-child(3)::before {
    background: url("../img/common/label_num02.svg") no-repeat;
    background-size: contain;
  }
  #pull-down_flow ul li.content:nth-child(5)::before {
    background: url("../img/common/label_num03.svg") no-repeat;
    background-size: contain;
  }
  #pull-down_flow ul li.content:nth-child(7)::before {
    background: url("../img/common/label_num04.svg") no-repeat;
    background-size: contain;
  }
  #pull-down_flow ul li.content:nth-child(9)::before {
    background: url("../img/common/label_num05.svg") no-repeat;
    background-size: contain;
  }
  #pull-down_flow ul li.content:nth-child(11)::before {
    background: url("../img/common/label_num06.svg") no-repeat;
    background-size: contain;
  }
  #pull-down_flow ul li.arrow img {
    width: 48px;
    margin: 10px auto;
  }
}

/* ---------- 961px〜(旧 max-width:1024px 相当) ---------- */
@media screen and (min-width: 961px) {
  #intro .intro_box .half_box .ttl {
    font-size: 28px;
  }
  .full_wide_ttl .txt_white {
    padding-left: 8.2%;
  }
  .full_wide_ttl .txt_white::before {
    width: 175px;
    height: 116px;
    top: -43px;
    left: 0;
  }
  .merit_demreit_wrapper {
    margin-top: -10px;
  }
  .merit_demreit_wrapper .box .ttl {
    font-size: 25px;
  }
  .merit_demreit_wrapper .box .content {
    padding: 40px 40px 36px;
  }
  .merit_demreit_wrapper .box img {
    margin-bottom: 15px;
  }
  .merit_demreit_wrapper .box li {
    font-size: 18px;
  }
  .merit_demreit_wrapper .box li span {
    width: auto;
  }
  .feature_list li .txt_box {
    padding: 40px 40px 30px;
  }
  .feature_list li .ttl {
    font-size: 27px;
    padding-bottom: 19px;
    margin-bottom: 23px;
  }
  .point_list li .photo::before {
    width: 100px;
    height: 100px;
  }
  .merit-demerit .box {
    width: 48.3%;
  }
  .merit-demerit .box .ttl {
    font-size: 27px;
  }
  .merit-demerit .box.merit .ttl {
    background-position: 15% 0;
    padding-left: 10px;
  }
  .merit-demerit .box.demerit .ttl {
    background-position: 13.8% 0;
    padding-left: 5px;
  }
  #pull-down_flow ul li.content .ttl {
    font-size: 28px;
  }
}

/* ---------- 1025px〜(PC) ---------- */
@media screen and (min-width: 1025px) {
  #intro .intro_box .half_box .ttl {
    font-size: 32px;
  }
  .merit_demreit_wrapper .box .ttl {
    font-size: 30px;
  }
  .about_list li .ttl_left_border {
    font-size: 27px;
    margin: -10px 0 26px;
  }
  .merit-demerit .box .ttl {
    padding: 13px 0 15px;
  }
  .merit-demerit .box ul {
    padding: 20px 32px 35px;
  }
  #pull-down_flow .ttl_under_bar {
    margin-bottom: 54px;
  }
  #pull-down_flow ul {
    margin-top: 42px;
  }
  #pull-down_flow ul li.content {
    padding: 40px 40px;
  }
  #pull-down_flow ul li.content .txt_box {
    width: 62.5%;
  }
  #pull-down_flow ul li.content .ttl {
    font-size: 32px;
    margin: -10px 0 14px;
  }
  #pull-down_flow ul li.content picture {
    width: 34.3%;
  }
  #pull-down_flow ul li.content::before {
    width: 100px;
    height: 100px;
  }
  #pull-down_flow ul li.arrow img {
    width: 65px;
  }
}

/* ---------- 568px以下限定のまま残す例外 ----------
   下記は min-width の昇順カスケードへ安全に反転できないため、元の
   max-width スコープのまま維持する。
   ・.full_wide_ttl .txt_white の line-height … 568px以下のブロック以外に
     対応する記述が元CSSに存在せず、569px以上での実効デフォルト値(継承値)
     を値を推測せずに確定できないため。
   ・.about_list の border-radius:0 … 569px以上での実効デフォルト値が
     元CSS内に存在しない(外部スタイル依存)ため。
   ・.ttl_section_top の margin !important … underlayer.css 側の
     `.breadcrumbs.under_page + .ttl_section_top` (詳細度0,0,3,0)が
     本ページの `.ttl_section_top`(詳細度0,0,1,0)より高く、通常の
     カスケードでは568px以下専用の値を上書きできないため
     (beginner.css と同一の理由・同一値)。
   ・.merit_demreit_wrapper .box li の line-height と
     .box.demerit li span の width … 569px以上に対応する記述が
     元コード(beginner.css)にも存在せず、実効デフォルト値を値を
     推測せずに確定できないため、beginner.css と同様に維持する。
========================================================== */
@media screen and (max-width: 568px) {
  .full_wide_ttl .txt_white {
    line-height: 1.4;
  }
  .about_list {
    border-radius: 0;
  }
  .ttl_section_top {
    font-size: 28px;
    margin: -5px 0 20px !important;
  }
  .merit_demreit_wrapper .box li {
    line-height: 1.45;
  }
  .merit_demreit_wrapper .box.demerit li span {
    width: calc(100% - (20px + 12px));
  }
}
