@charset "utf-8";

/* formに関しては sp サイズも form.css に記載 */

/* ---------------------------------------
  max-width: 960px
--------------------------------------- */

@media screen and (max-width: 960px) {
  /* ---------------------------------------
  ヘルパーグループ
  --------------------------------------- */

  /* 960px 以上で表示 */
  .pc_only {
    display: none;
  }

  /* 959px 以下で表示 */
  .sp_only {
    display: block;
  }

  .hp_bbYellow::after {
    height: 8px;
  }


  /* ---------------------------------------
  header
  --------------------------------------- */

  /* --------- レイアウトグループ --------- */
  .ly_header_inner {
    height: auto;
    padding: 10px;
  }

  /* --------- ブロックモジュール --------- */

  .bl_headerInfo img:first-of-type{
    margin: 5px -5px 0 0;
  }

  .bl_headerLogo_link > img {
    min-width: 90px;
  }

  .bl_headerInfo {
    justify-content: flex-end;
  }

  .bl_headerInfo > img {
    width: 45%;
    min-width: 100px;
  }

  /* ---------------------------------------
    form
  --------------------------------------- */

  /* form の内容に関しては form.css に記載 */

  /* --------- レイアウトグループ --------- */
  .ly_sectionForm {
    padding-top: 90px;
    padding-bottom: 30px;
    margin-top: -10px;
  }

  .ly_sectionForm_inner {
    padding: 30px 10px 15px;
    border: 4px solid #392726;
  }

  .ly_sectionForm_inner::before {
    min-width: 300px;
    min-height: 80px;
    background-repeat: no-repeat;
    background-position-x: center;
    transform: translateX(-50%);
  }

  /* --------- ブロックモジュール --------- */
  /*.bl_formTtl {
    font-size: 28px;
  }

  .bl_formTtl > strong {
    font-size: 36px;
    letter-spacing: -5px;
    padding-right: 5px;
  }*/

  .bl_formTtl__new{
  margin: 0 auto 10px;
}

  .bl_formTtl__new img{
    width: 70%;
  }

  .bl_present {
    overflow-x: hidden;
  }

  .bl_present > img {
    width: 120%;
  }

  .bl_present_row {
    flex-direction: column-reverse;
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .bl_present_part,
  .bl_present_part > img {
    width: 100%;
    max-width: 650px;
    text-align: center;
  }

  .bl_books {
    text-align-last: left;
  }

  .bl_form_batuIcon {
  margin-top: 28px;
  margin-bottom: 28px;
}

/* ここから20200808 吉田追加 数字部分のズレが起きるため垂直中央揃え */

/*.bl_flexbox__alignCenter{
  align-items: center;
}*/

/* ここまで */

  /* ---------------------------------------
  cases
  --------------------------------------- */

  /* --------- レイアウトグループ --------- */

  .ly_sectionImg{
    padding-top: 25px;
  }

  .ly_sectionCases {
    padding: 60px 0 10px;
    margin-top: -40px;
    text-align: center;

  }

  /* --------- ブロックモジュール --------- */
  .bl_cases_ttl {
    font-size: 26px;
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .bl_cases_ttl > strong {
    font-size: 48px;
  }

  .bl_cases_slideItem > img {
    max-width: none;
    height: auto;
  }

  .bl_cases_icon{
    margin: 0 auto 20px;
  }


  /* ---------------------------------------
  reasons
  --------------------------------------- */

  /* --------- レイアウトグループ --------- */
  .ly_reasons {
    padding: 30px 10px 10px;
  }

  /* --------- ブロックモジュール --------- */
  .bl_reasons_ttlImg {
    margin-bottom: 30px;
  }

  /* モディファイアにも適応させる為、詳細度を上げた記述にしている */
  .bl_reasons_media.bl_reasons_media {
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 45px;
  }

  .bl_reasons_media > img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    max-width: 100%;
  }

  .bl_reasons_media_body {
    position: static;
    width: 100%;
    max-width: 100%;
    padding: 25px 5px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    text-align: center;
  }

  .bl_reasons_media_body::after {
    display: none;
  }

  .bl_reasons_media_num {
    border: 2px solid #392726;
    display: inline-block;
    font-size: 22px;
    padding: 2px 8px 0px;
    margin-bottom: 16px;
  }

  .bl_reasons_media_num,
  .bl_voices_media_num {
    /* Mr Eaves Mod OT Bold */
    font-family: mr-eaves-modern, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }

  .bl_reasons_media_ttl {
    text-align: center;
    padding-left: 0;
    padding-bottom: 12px;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
  }

  .bl_reasons_media_txt{
    text-align: left;
  }

  /* ---------------------------------------
  points
  --------------------------------------- */

  /* --------- レイアウトグループ --------- */
  .ly_points {
    padding-top: 45px;
    padding-bottom: 30px;
    background-image: url(../images/sp/points-bg-sp.png);
  }

  /* --------- ブロックモジュール --------- */
  .bl_points_ttlImg {
    width: 90%;
    text-align: center;
    margin: 0 auto 20px;
  }

  .bl_points_cards {
    display: block;
  }

  .bl_card {
    margin-top: 180px;
    padding-bottom: 30px;
  }

  .bl_card:first-of-type{
    margin-top: 150px;
  }

  .bl_points_cards > .bl_card {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .bl_card_ttl{
    font-size: 20px;
    text-align: left;
    padding-left: 60px;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 55px;
    margin-top: 20px;
    margin-bottom: 15px;
    margin-left: -5px;
  }

  .bl_card .bl_card_ttl{
    background-image: url("../images/point-icon-1.png");
  }

  .bl_card__2 .bl_card_ttl{
    background-image: url("../images/point-icon-2.png");
    padding-left: 70px;
    background-size: 60px;
  }

  .bl_card__3 .bl_card_ttl{
    background-image: url("../images/point-icon-3.png");
  }

  .bl_card::before{
    bottom: calc(100% + 55px);
  }

  .bl_card_ttl > strong{
    font-size: 32px;
  }

  .bl_card_imgWrapper > img {
    width: 100%;
  }

  .bl_card_txt {
    font-size: 20px;
  }

  /* ---------------------------------------
  voices
  --------------------------------------- */

  /* --------- レイアウトグループ --------- */
  .ly_voices {
    padding: 20px 3% 0;
  }

  /* --------- ブロックモジュール --------- */
  .bl_voices_ttl {
    background-image: url(../images/sp/voices-title-sp.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 95%;
    height: 30vw;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 8px;
  }

  /* モディファイアにも適応させる為、詳細度を上げた記述にしている */
  .bl_voices_media.bl_voices_media {
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 40px;
  }

  .bl_voices_media > img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .bl_voices_media_body {
    position: static;
    width: 100%;
    max-width: 100%;
    padding: 25px 5px;
    border-top: 2px solid #d5a525;
    border-bottom: 2px solid #d5a525;
  }

  .bl_voices_media_body::after {
    display: none;
  }

  .bl_voices_media_num {
    text-align: center;
    margin-bottom: 0;
    font-size: 20px;
    color: #d5a525;
  }

  .bl_voices_media_ttl {
    text-align: center;
    padding-left: 0;
    font-size: 28px;
    letter-spacing: -0.6px;
    margin-bottom: 15px;
  }

  .bl_voices_media_ttl > .hp_fz0 > span {
    font-size: 28px;
  }

  .bl_voices_media_name {
    font-size: 18px;
    text-align: center;
    padding-bottom: 4px;
    margin-bottom: 16px;
  }


  /* ---------------------------------------
  js 操作
  --------------------------------------- */
  /* ドロワー(open) */
  .js_drawer.is_open {
    width: 70%;
  }

  /* ハンバーガーメニュー（ドロワー open） */
  .js_drawerToggle.is_open {
    background-color: #28b472;
  }

  .js_drawerToggle.is_open > span {
    background-color: transparent;
  }

  .js_drawerToggle.is_open > span::before {
    margin: 0;
    width: 120%;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .js_drawerToggle.is_open > span::after {
    margin: 0;
    width: 120%;
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  /* ドロワー（open）の背景 */
  .js_drawerBg.is_open {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9;
  }
}

/* ---------------------------------------
  max-width: 640px
--------------------------------------- */
@media screen and (max-width: 640px) {
  .bl_formTtl,
  .bl_reasons_media_ttl,
  .bl_voices_media_ttl,
  .bl_voices_media_ttl > .hp_fz0 > span {
    font-size: 22px;
  }

  .bl_reasons_media_txt,.bl_card_txt,.bl_voices_media_txt{
    font-size: 16px;
  }

  .bl_formTtl{
    margin-bottom: 15px;
  }

  .el_icon.el_icon__form{
    background-image: url(../images/checksheet.png);
    background-position: center;
    width: 200px;
    height: 50px;
  }
}
