/*
Theme Name: GRACE BODY REPAIR
Description: GRACE BODY REPAIR のテーマ
Version: 1.0
Author:	株式会社GRACE
License: GPL
License URI: https://www.gnu.org/copyleft/gpl.html
*/

@charset "utf-8";

/*クリアフィックス*/
.cf:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

.inner {
  width: 1000px;
  margin-right: auto;
  margin-left: auto;
}

/* セクション共通 */

section {
  padding: 40px 0;
}

.h2 {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
}

.h3 {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 15px;
}

.blueline {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#2297e2+0,0d89d8+65,0281d3+100 */
  background: #2297e2;
  /* Old browsers */
  background: -moz-linear-gradient(left, #2297e2 0%, #0d89d8 65%, #0281d3 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #2297e2 0%, #0d89d8 65%, #0281d3 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #2297e2 0%, #0d89d8 65%, #0281d3 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2297e2', endColorstr='#0281d3', GradientType=1);
  /* IE6-9 */
  color: #fff;
  margin-bottom: 0;
  position: relative;
  line-height: 1;
  letter-spacing: 2px;
  font-size: 36px;
  padding: 20px 10px 25px;
  position: relative;
}

.tablebox {
  display: table;
  width: 100%;
}

.tablebox .left,
.tablebox .right {
  display: table-cell;
  vertical-align: top;
  width: 50%;
}

.tablebox .left img,
.tablebox .right img {
  vertical-align: top;
}

.red {
    color: #002a6f;
}
.fw_b {
    font-weight: bold;
}


.btncommon {
  color: #fff;
  font-weight: bold;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#2297e2+0,0d89d8+65,0281d3+100 */
  background: #2297e2;
  /* Old browsers */
  background: -moz-linear-gradient(left, #2297e2 0%, #0d89d8 65%, #0281d3 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #2297e2 0%, #0d89d8 65%, #0281d3 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #2297e2 0%, #0d89d8 65%, #0281d3 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2297e2', endColorstr='#0281d3', GradientType=1);
  /* IE6-9 */
  padding: 5px 30px 5px 10px;
  display: inline-block;
  position: relative;
  /* box-shadow */
  box-shadow: 4px 4px 4px -2px #dadada;
  /* border-radius */
  border-radius: 3px;
}

.btncommon::after {
  position: absolute;
  content: "";
  top: 50%;
  right: 15px;
  margin-top: -5px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.btncommon:hover {
  color: #fff;
}

.bracket01::before {
  position: absolute;
  content: "";
  width: 35px;
  height: 10px;
  background: #2297e2;
  top: 0;
  left: 0;
}

.bracket01::after {
  position: absolute;
  content: "";
  width: 35px;
  height: 10px;
  background: #2297e2;
  top: 0;
  right: 0;
}

.bracket02::before {
  position: absolute;
  content: "";
  width: 10px;
  height: 35px;
  background: #2297e2;
  top: 0;
  right: 0;
}

.bracket02::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 35px;
  background: #2297e2;
  bottom: 0;
  right: 0;
}

.bracket03::before {
  position: absolute;
  content: "";
  width: 35px;
  height: 10px;
  background: #2297e2;
  bottom: 0;
  right: 0;
}

.bracket03::after {
  position: absolute;
  content: "";
  width: 35px;
  height: 10px;
  background: #2297e2;
  bottom: 0;
  left: 0;
}

.bracket04::before {
  position: absolute;
  content: "";
  width: 10px;
  height: 35px;
  background: #2297e2;
  bottom: 0;
  left: 0;
}

.bracket04::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 35px;
  background: #2297e2;
  top: 0;
  left: 0;
}

/* 初めての方へ */

#firstbloc {
  background-image: url(../images/bg_bluetile.png);
}

#firstbloc .bracket01 {
  position: relative;
  margin-bottom: 20px;
}

#firstbloc .bracket04 {
  padding: 20px;
}

#firstbloc h3 {
  margin-bottom: 0;
  color: #002a6f;
  font-size: 24px;
}

#firstbloc h3+p {
  font-size: 120%;
  font-weight: bold;
  text-align: center;
}

#firstbloc .tablebox .left,
#firstbloc .tablebox .right {
  width: auto;
}

#firstbloc .tablebox .left .img {
  margin-left: -200px;
}

#firstbloc .tablebox .right {
  padding-left: 20px;
}

#customer #flow {
  padding-top: 0;
}

#customer #flow h3 {
  line-height: 1.3;
}

#customer #flow h3 span.inner {
  display: block;
  font-weight: bold;
}

#customer #flow h3 span.small {
  font-weight: bold;
  font-size: 80%;
}

#customer #flow .box {
  position: relative;
  margin-bottom: 60px;
  padding: 30px 0;
}

#customer #flow .box.bggray {
  background: #f2f2f2;
}

#customer #flow .box::after {
  content: "";
  display: block;
  width: 189px;
  height: 34px;
  background-image: url(../images/arrow_blue.png);
  background-position: center top;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
  position: absolute;
  bottom: -45px;
  left: 50%;
  margin-left: -94px;
}

#customer #flow .box:nth-child(2) {
  padding-bottom: 0;
}

#customer #flow .box:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

#customer #flow .box:last-child::after {
  content: none;
}

#customer #flow .box h4.step {
  color: #2297e2;
  font-size: 150%;
  font-weight: bold;
  margin-bottom: 15px;
  padding: 0 10px 10px;
  border-bottom: 2px solid #2297e2;
  line-height: 1;
}

#customer #flow .box .upper .img {
  float: left;
  width: 36%;
}

#customer #flow .box .upper .img img {
  max-width: 100%;
  height: auto;
}

#customer #flow .box .upper .txt {
  float: right;
  width: 62%;
}

#customer #flow .box .lower {
  margin-top: 20px;
}

#customer #flow .box .lower .top {
  background: #2297e2;
  color: #fff;
  font-size: 120%;
  font-weight: bold;
  width: 80%;
  margin: 0 auto;
  padding: 10px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

#customer #flow .box .lower .left,
#customer #flow .box .lower .right {
  text-align: center;
  padding: 10px;
}

#customer #flow .box .lower h4 {
  font-size: 150%;
  font-weight: bold;
}

#customer #flow .box .lower .left .txt {
  font-size: 14px;
}

#customer #flow .box .lower .right .time span {
  display: block;
  font-size: 70%;
  line-height: 1.4;
}

#customer #flow .box .lower .right .tel span {
  color: #2297e2;
  font-size: 42px;
  font-weight: bold;
  font-style: italic;
  position: relative;
  padding-left: 40px;
}

#customer #flow .box .lower .right .tel span::before {
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -16px;
  content: "";
  width: 32px;
  height: 32px;
  background-image: url(../images/contents/customer_icon_tel.png);
  background-position: center top;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
}

#customer #flow .box .lower .right .tel span a,
#customer #flow .box .lower .right .tel span a:hover {
  color: #2297e2;
}

#customer #flow .box .btn {
  margin-top: 10px;
}

#customer #flow .box .btn a {
  font-size: 120%;
  padding: 5px 30px 5px 15px;
  margin-top: 15px;
  text-align: center;
  display: block;
  width: 60%;
  margin: 0 auto;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#50abe3+0,2297e2+100 */
  background: #50abe3;
  /* Old browsers */
  background: -moz-linear-gradient(left, #50abe3 0%, #2297e2 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #50abe3 0%, #2297e2 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #50abe3 0%, #2297e2 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#50abe3', endColorstr='#2297e2', GradientType=1);
  /* IE6-9 */
  /* box-shadow */
  box-shadow: 4px 4px 4px -2px #dadada;
}

#customer #flow .box:nth-child(6) .btn a {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#2297e2+0,0d89d8+65,0281d3+100 */
  background: #2297e2;
  /* Old browsers */
  background: -moz-linear-gradient(left, #2297e2 0%, #0d89d8 65%, #0281d3 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #2297e2 0%, #0d89d8 65%, #0281d3 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #2297e2 0%, #0d89d8 65%, #0281d3 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2297e2', endColorstr='#0281d3', GradientType=1);
  /* IE6-9 */
}

#customer #flow .box:last-child ul {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#customer #flow .box:last-child ul li {
  float: left;
  width: 49%;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#2297e2+0,0d89d8+65,0281d3+100 */
  background: #2297e2;
  /* Old browsers */
  background: -moz-linear-gradient(left, #2297e2 0%, #0d89d8 65%, #0281d3 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #2297e2 0%, #0d89d8 65%, #0281d3 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #2297e2 0%, #0d89d8 65%, #0281d3 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2297e2', endColorstr='#0281d3', GradientType=1);
  /* IE6-9 */
  color: #fff;
  font-weight: bold;
  padding: 5px 10px;
  text-align: center;
  font-size: 14px;
  box-shadow: 4px 4px 4px -2px #dadada;
  
}

#customer #flow .box:last-child ul li:nth-child(2n) {
  float: right;
}

#customer #flow .box:last-child ul li img {
  vertical-align: middle;
}


#customer #insurance h3 {
  line-height: 1.3;
}

#customer #insurance h3 span.inner {
  display: block;
  font-weight: bold;
}

#customer #insurance h3 span.small {
  font-weight: bold;
  font-size: 80%;
}

#customer #insurance .bgimg {
  background-image: url(../images/contents/customer_insurance_bg01.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  background-size: cover;
  padding: 40px 0;
}

#customer #insurance h4 {
  margin-bottom: 0;
}

#customer #insurance h4+p {
  text-align: center;
  font-weight: bold;
  font-size: 120%;
  margin-bottom: 20px;
}

#customer #insurance .tablebox .left ul li {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 10px;
  position: relative;
  padding-left: 36px;
}

#customer #insurance .tablebox .left ul li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  background-image: url(../images/contents/customer_insurance_icon01.png);
  background-size: contain;
}

#customer #insurance .tablebox .right {
  background: #f0f0f0;
  padding: 20px;
}

#customer p {
  text-align: unset;
}

#customer #insurance .contact {
  padding: 20px 0;
  background: #eaeaea;
}

#customer #insurance .contact .img {
  float: left;
  width: 240px;
}

#customer #insurance .contact .right {
  float: right;
  width: 730px;
}

#customer #insurance .contact .right .contactbox {
  text-align: center;
}

#customer #insurance .contact .right .contactbox .telarea,
#customer #insurance .contact .right .contactbox .mail {
  float: left;
  width: 50%;
  padding: 5px;
}

#customer #insurance .contact .right .contactbox .telarea p {
  font-weight: bold;
}

#customer #insurance .contact .right .contactbox .telarea .tel {
  font-size: 36px;
  line-height: 1;
}

/************************************************
      PC
************************************************ */
@media only screen and (min-width: 769px) {
  .sp,
  .mini {
    display: none;
  }
}


/************************************************
        Tablet max-width: 768px
************************************************ */
@media only screen and (max-width: 768px) {
  .inner {
    width: 100%;
    padding: 0 10px;
  }

  .pc,
  .mini {
    display: none;
  }

  /* セクション共通 */

  section {
    padding: 30px 0;
  }

  .h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .h3 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .tablebox,
  .tablebox .left,
  .tablebox .right {
    display: block;
    width: 100%;
  }

  #firstbloc h3 {
    font-size: 18px;
    line-height: 1.2;
  }

  #firstbloc .tablebox .left {
    margin-bottom: 10px;
  }

  #firstbloc .tablebox .left .img {
    margin-left: 0;
    text-align: center;
  }

  #firstbloc .tablebox .right {
    padding-left: 0;
  }

  #customer #flow h3 {
    margin-bottom: 0;
  }

  #customer #flow .box::after {
    width: 130px;
    height: 24px;
    margin-left: -65px;
  }

  #customer #flow .box h4.step {
    font-size: 120%;
  }

  #customer #flow .box .upper .img {
    float: none;
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }

  #customer #flow .box .btn a {
    width: 90%;
  }

  #customer #flow .box .upper .txt {
    float: none;
    width: 100%;
  }

  #customer #flow .box .lower .right .tel span {
    font-size: 28px;
    padding-left: 30px;
  }

  #customer #flow .box .lower .right .tel span::before {
    margin-top: -11px;
    width: 24px;
    height: 24px;
  }

  #customer #flow .box:last-child ul {
    margin-top: 15px;
  }

  #customer #flow .box:last-child ul li {
    float: none;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  #customer #flow .box:last-child ul li:nth-child(2n) {
    float: none;
  }

  #customer #flow .box:last-child ul li img {
    width: 45px;
    height: auto;
  }

  #customer #insurance .bgimg {
    background-image: url(../images/contents/customer_insurance_bg01_sp.jpg);
  }

  #customer #insurance .tablebox .left {
    margin-bottom: 20px;
  }

  #customer #insurance .tablebox .left ul {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  #customer #insurance .tablebox .left ul li {
    font-size: 17px;
    padding-left: 28px;
  }

  #customer #insurance .tablebox .left ul li::before {
    width: 24px;
    height: 24px;
  }

  #customer #insurance .contact .img,
  #customer #insurance .contact .right {
    float: none;
    width: 100%;
  }

  #customer #insurance .contact .img {
    text-align: center;
    margin-bottom: 10px;
  }

  #customer #insurance .contact .right .contactbox .telarea,
  #customer #insurance .contact .right .contactbox .mail {
    float: none;
    width: 100%;
    margin-bottom: 10px;
  }

  #facility .photobloc li img {
    height: 200px;
    width: auto;
  }

}


/************************************************
            Smartphone max-width: 414px
************************************************ */


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

  .mini {
    display: block;
  }

  #customer #insurance .contact .right .contactbox .telarea .tel {
    font-size: 26px;
  }
}