@charset "UTF-8";

/* ---------------------------------------------------------
   gaiheki.css【まず初めに】
----------------------------------------------------------*/
.gaiheki_wrap {
  max-width: 980px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .gaiheki_wrap {
    padding: 0 10px;
  }
}

.mainvidual .mainimg {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  height: 220px;
  font-weight: bold;
}

.mainvidual h2 {
  font-size: 40px;
  position: absolute;
  text-align: center;
  left: 7%;
  top: 50%;
  transform: translateY(-50%);
  background-size: cover;
}

.case-main {
  background: url(../../assets/images/gaiheki/gaiheki_main_img.png) right/cover no-repeat;
}

@media screen and (max-width: 767px) {
  .mainvidual .mainimg {
    height: 78px;
  }

  .mainvidual h2 {
    left: 5%;
    font-size: 20px;
    line-height: 2rem;
  }

}

@media screen and (max-width: 767px) {
  .case-main {
    width: 100%;
  }
}

.gaiheki_subttl {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 30px;
  margin-bottom: 30px;
  min-height: 75px;
}

.gaiheki_subttl::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 25px;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
}

.gaiheki_subttl::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25px;
  border-bottom: 3px solid #eb6120;
  border-right: 3px solid #eb6120;
}

.gaiheki_subttl .point_item {
  width: 75px;
  height: 75px;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gaiheki_subttl .point_item::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 75px 75px 0 0;
  border-color: #000000 transparent transparent transparent;
  line-height: 0px;
  _border-color: #000000 #ffffff #ffffff #ffffff;
  _filter: progid:DXImageTransform.Microsoft.Chroma(color='#ffffff');
  z-index: -1;
}

.gaiheki_subttl .point_item p {
  font-size: 15px;
  font-weight: bold;
  color: #ffe832;
  margin-right: 10px;
  margin-bottom: 15px;
}

.gaiheki_subttl .point_item p span {
  font-size: 46px;
  color: #fff;
  display: block;
  font-style: italic;
  margin-top: 2px;
  text-shadow: black 2px 0px, black -2px 0px, black 0px -2px, black 0px 2px, black 2px 2px, black -2px 2px, black 2px -2px, black -2px -2px, black 1px 2px, black -1px 2px, black 1px -2px, black -1px -2px, black 2px 1px, black -2px 1px, black 2px -1px, black -2px -1px;
}

.gaiheki_subttl h2 {
  font-size: 40px;
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 900;
  width: calc(100% - 75px);
  padding: 10px 0 10px 75px;
  line-height: normal;
  /*margin: 10px;*/
}

.gaiheki_subttl h2 span {
  color: #eb6120;
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 900;
}

.gaiheki_trouble {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: center;
}

.gaiheki_trouble .gaiheki_con {
  width: 980px;
  margin-top: 40px;
}

.gaiheki_trouble h2 {
  font-size: 40px;
  padding-bottom: 30px;
  margin-bottom: 40px;
  position: relative;
  text-align: center;
  margin-top: 70px;
}

.gaiheki_trouble h2 span {
  color: #eb6120;
  font-weight: 900;
}

.gaiheki_trouble h2::before {
  position: absolute;
  bottom: 0px;
  right: calc(50% - 50px);
  content: '';
  width: 50px;
  height: 5px;
  background: #000;
}

.gaiheki_trouble h2::after {
  position: absolute;
  bottom: 0px;
  left: calc(50% - 51px);
  content: '';
  width: 50px;
  height: 5px;
  background: #eb6120;
}

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

.gaiheki_trouble .gaiheki_trouble_sub {
  font-size: 22px;
  color: #eb6120;
}

.gaiheki_reason {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: center;
}

.gaiheki_reason .gaiheki_con {
  width: 980px;
}

.gaiheki_reason .gaiheki_ttl {
  font-size: 34px;
  margin-top: 50px;
  color: #fff;
  text-align: center;
  position: relative;
  background: #eb6120;
  padding: 20px 0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-left: 20px;
}

.gaiheki_reason .gaiheki_ttl span {
  display: inline-block;
  background: #fff;
  color: #000;
  font-size: 26px;
  padding: 0 10px;
}

.gaiheki_reason .gaiheki_ttl::before {
  content: "";
  width: 70px;
  height: 70px;
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 70px 70px 0 0;
  border-color: #000000 transparent transparent transparent;
  line-height: 0px;
  _border-color: #000000 #ffffff #ffffff #ffffff;
  _filter: progid:DXImageTransform.Microsoft.Chroma(color='#ffffff');
}

.gaiheki_reason .gaiheki_reason_txtbox {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
}

.gaiheki_reason .gaiheki_reason_txtbox .order1 {
  order: 1;
}

.gaiheki_reason .gaiheki_reason_txtbox .order2 {
  order: 2;
}

.gaiheki_reason .gaiheki_reason_txtbox .reason_img {
  width: 400px;
}

.gaiheki_reason .gaiheki_reason_txtbox .reason_txt {
  width: calc(100% - 440px);
}

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

.gaiheki_reason .gaiheki_under {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: center;
  margin: 40px;
}

.gaiheki_reason .gaiheki_key {
  text-align: center;
}

.gaiheki_reason .gaiheki_key h2 {
  font-size: 40px;
  line-height: 1.5em;
  margin: 20px 0;
}

.gaiheki_reason .gaiheki_key h2 span {
  font-size: 40px;
  color: #eb6120;
  font-weight: 900;
}

.gaiheki_policy {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: center;
}

.gaiheki_policy .gaiheki_con {
  width: 980px;
}

.gaiheki_policy .gaiheki_ttl {
  font-size: 34px;
  margin-top: 50px;
  color: #fff;
  text-align: center;
  position: relative;
  background: #eb6120;
  padding: 20px 0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-left: 20px;
}

.gaiheki_policy .gaiheki_ttl::before {
  content: "";
  width: 70px;
  height: 70px;
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 70px 70px 0 0;
  border-color: #000000 transparent transparent transparent;
  line-height: 0px;
  _border-color: #000000 #ffffff #ffffff #ffffff;
  _filter: progid:DXImageTransform.Microsoft.Chroma(color='#ffffff');
}

.gaiheki_policy .gaiheki_reason_txtbox {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
}

.gaiheki_policy .gaiheki_reason_txtbox .order1 {
  order: 1;
}

.gaiheki_policy .gaiheki_reason_txtbox .order2 {
  order: 2;
}

.gaiheki_policy .gaiheki_reason_txtbox .reason_img {
  width: 400px;
}

.gaiheki_policy .gaiheki_reason_txtbox .reason_txt {
  width: calc(100% - 440px);
}

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

.gaiheki_policy .gaiheki_policy_txtbox {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
}

.gaiheki_policy .gaiheki_policy_txtbox .policy_img {
  width: 400px;
}

.gaiheki_policy .gaiheki_policy_txtbox .policy_txt {
  width: calc(100% - 440px);
}

.gaiheki_policy .gaiheki_policy_txtbox .order1 {
  order: 1;
}

.gaiheki_policy .gaiheki_policy_txtbox .order2 {
  order: 2;
}


/* button setting */
.cl_btn01 {
  position: relative;
  margin-top: 30px;
  width: 100%;
  border-top: 0px solid white;
  border-bottom: 7px solid #b03318;
  border-radius: 10px 10px 5px 5px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background: #b03318;
  padding-bottom: 1px;
}

.cl_btn01:hover {
  padding-bottom: 0;
  border-top: 5px solid white;
  border-bottom: 3px solid #b03318;
}

.cl_btn01 a {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2em;
  background: #EB6222;
  display: block;
  padding: 20px;
  text-decoration: none;
  text-align: center;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border-radius: 5px;
  position: relative;
}

.cl_btn01 a:hover {
  opacity: 1;
}

.cl_btn01 a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url(../../assets/images/btn-ptn01.png) repeat;
}

.cl_btn02 {
  position: relative;
  width: 100%;
  border-top: 0px solid white;
  border-bottom: 7px solid #b03318;
  border-radius: 10px 10px 5px 5px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background: #b03318;
  padding-bottom: 1px;
}

.cl_btn02 .btn_txt {
  font-size: 24px;
}

.cl_btn02 .btn_txt .btn_free {
  padding: 3px 10px;
  font-size: 24px;
  color: #ff4119;
  background-color: #ffe300;
  font-weight: bold;
  margin-right: 10px;
  border-radius: 3px;
  vertical-align: bottom;
}

.cl_btn02 .btn_txt .btn_tel {
  font-size: 40px;
  font-weight: bold;
  display: block;
  margin-top: 5px;
}

.cl_btn02 .btn_txt .btn_tel::before {
  content: url(../../assets/images/first/btn_tel.png);
  margin-right: 10px;
}

.cl_btn02:hover {
  padding-bottom: 0;
  border-top: 5px solid white;
  border-bottom: 3px solid #b03318;
}

.cl_btn02 a {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2em;
  background: #ff4119;
  display: block;
  padding: 20px 20px;
  text-align: center;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border-radius: 5px;
  position: relative;
}

.cl_btn02 a:hover {
  opacity: 1;
}

.cl_btn02 a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url(../../assets/images/btn-ptn01.png) repeat;
}

.cl_arrow02::after {
  position: absolute;
  top: calc(50% - 15px);
  right: 30px;
  content: "";
  width: 30px;
  height: 30px;
  background: url(../../assets/images/top-arrow04.png) center/cover no-repeat;
}

.cl_btn_icon {
  position: absolute;
  left: 20px;
  padding: 15px;
  z-index: 10;
}

@media screen and (max-width: 767px) {
  .gaiheki_subttl h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .gaiheki_trouble .gaiheki_con {
    width: 100%;
    margin-top: 0;
  }

  .gaiheki_trouble h2 {
    font-size: 24px;
    margin: 50px 0 20px;
    line-height: 1.3;
  }

  .gaiheki_trouble p {
    font-size: 16px;
    line-height: 2em;
    padding: 10px;
  }

  .gaiheki_trouble .gaiheki_trouble_sub {
    font-size: 20px;
    line-height: 1.5em;
  }

  .gaiheki_reason .gaiheki_con {
    width: 100%;
  }

  .gaiheki_reason .gaiheki_ttl {
    font-size: 28px;
    display: block;
    padding-left: 50px;
    padding-bottom: 10px;
  }

  .gaiheki_reason .gaiheki_ttl span {
    padding: 0 10px;
    font-size: 18px;
    margin-top: 10px;
  }

  .gaiheki_reason .gaiheki_reason_txtbox {
    display: block;
  }

  .gaiheki_reason .gaiheki_reason_txtbox .order1 {
    order: none;
  }

  .gaiheki_reason .gaiheki_reason_txtbox .order2 {
    order: none;
  }

  .gaiheki_reason .gaiheki_reason_txtbox .reason_img {
    width: 100%;
  }

  .gaiheki_reason .gaiheki_reason_txtbox .reason_txt {
    width: 100%;
  }

  .gaiheki_reason p {
    font-size: 16px;
    padding: 10px;
  }

  .gaiheki_reason .gaiheki_key {
    text-align: center;
  }

  .gaiheki_reason .gaiheki_key h2 {
    font-size: 24px;
  }

  .gaiheki_reason .gaiheki_key h2 span {
    font-size: 24px;
  }

  .gaiheki_policy .gaiheki_con {
    width: 100%;
  }

  .gaiheki_policy .gaiheki_ttl {
    font-size: 34px;
    margin-top: 50px;
    padding-left: 20px;
  }

  .gaiheki_policy .gaiheki_reason_txtbox {
    display: block;
  }

  .gaiheki_policy .gaiheki_reason_txtbox .reason_img {
    width: 100%;
  }

  .gaiheki_policy .gaiheki_reason_txtbox .reason_txt {
    width: 100%;
  }

  .gaiheki_policy p {
    font-size: 16px;
    line-height: 2em;
    padding: 10px;
  }

  .gaiheki_subttl .point_item p {
    margin-bottom: 7px;
  }

  .gaiheki_policy .gaiheki_policy_txtbox {
    display: block;
  }

  .gaiheki_policy .gaiheki_policy_txtbox .policy_img {
    width: 100%;
    text-align: center;
  }

  .gaiheki_policy .gaiheki_policy_txtbox .policy_txt {
    width: 100%;
  }

  .cl_btn01 {
    margin-top: 30px;
    width: 100%;
    position: relative;
  }

  .cl_btn01 a {
    padding: 20px 50px;
  }

  .cl_btn02 {
    width: 100%;
  }

  .cl_btn02 a {
    padding: 10px 20px;
  }

  .cl_btn02 .btn_txt {
    line-height: 1.5em;
    font-size: 20px;
  }

  .cl_btn02 .btn_txt .btn_free {
    padding: 1px 3px;
    font-size: 20px;
  }

  .cl_btn02 .btn_txt .btn_tel {
    font-size: 26px;
  }

  .cl_arrow02::after {
    right: 10px;
  }

  .cl_btn_icon {
    left: 0px;
  }
}