@charset "utf-8";


/*===== #what =====*/
#what {
}
#what h2 {
  line-height: 1.4;
  text-align: center;
  padding: 18px 2%;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  background-color: #5094f1;
  border-top: 3px double #fff;
  border-bottom: 3px double #fff;
  margin-bottom: 20px px;
}

#what .text-box {
  padding: 20px 0;
  line-height: 1.8;
}

/*===== #aisatu =====*/
#aisatu {
    padding-bottom: 60px;
    overflow: hidden;
}
#aisatu .bg {
}
#aisatu .box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
#aisatu .box .img {
    width: 50%;
    margin-top: 6%;
}
#aisatu .box .text-box {
    width: 50%;
    margin-left: auto;
    padding: 35px 3%;
    color: #fff;
    background-color: #5094f1;
}
#aisatu .box .text-box h2 {
    line-height: 1.6;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}
#aisatu .box .text-box .text {
}
#aisatu .box .text-box .name {
    font-size: 16px;
    font-weight: bold;
    text-align: right;
}

/*===== #riyu =====*/
#riyu {
}
#riyu h2 {
    line-height: 0;
}
#riyu .bg {
    background: url(../img/index/riyu-bg.jpg) no-repeat center center;
    background-size: cover;
    padding: 50px 0;
}
#riyu dl {
    display: flex;
    justify-content: space-between;
    font-size: 17px;
    font-weight: bold;
    line-height: 1.6;
    text-shadow: #fff 1px 0 10px;
    margin-bottom: 20px;
}
#riyu dl dt {
    width: 45px;
}
#riyu dl dd {
    width: calc(100% - 45px);
}
#riyu .txt {
    color: #5094f1;
    text-align: center;
    line-height: 1.6;
    font-size: 25px;
    font-weight: bold;
    text-shadow: #fff 1px 0 10px;
    margin-top: 35px;
}

/*===== #intyo =====*/
#intyo {
    background-color: #f5f0e2;
    padding: 50px 0;
}
#intyo .box {
    position: relative;
}
#intyo .box .text-box {
    width: 50%;
    background-color: #fff;
    border: 2px solid #5094f1;
    border-radius: 15px;
    padding: 3% 3% 1%;
    box-shadow: 6px 4px 5px #0003;
    position: relative;
    z-index: 1;
}
#intyo .box .text-box h2 {
    color: #5094f1;
    line-height: 1.4;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}
#intyo .box .text-box .text {
}
#intyo .box .img {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translatey(-50%);
    z-index: 0;
    width: 56%;
    border-radius: 15px;
    overflow: hidden;
}

/*===== #nayami =====*/
#nayami {
}
#nayami h2 {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    line-height: 0;
    padding: 30px 2% 0;
}
#nayami .next {
    background-color: #5094f1;
    padding: 20px 2%;
}
#nayami .next .txt {
    text-align: center;
    line-height: 1.4;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}
#nayami .nayami-box {
    background: #edf8fc url(../img/index/nayami-next.png) no-repeat top center;
    background-size: 150px;
    padding-top: 50px;
}
#nayami .cn-sw {
    position: relative;
}
#nayami .nayami-box .text-box {
    width: 60%;
    background-color: #fff;
    border: 3px solid #0068bb;
    box-shadow: 6px 4px 5px #0003;
    padding: 15px 2%;
    position: absolute;
    top: 50%;
    transform: translatey(-50%);
}
#nayami .nayami-box .text-box ul {
    line-height: 1.4;
}
#nayami .nayami-box .text-box ul li {
    background: url(../img/common/icon-check.png) no-repeat left 2px;
    background-size: 28px;
    font-size: 16px;
    font-weight: bold;
    padding: 1px 0 3px 32px;
    margin-bottom: 6px;
    color: #343434;
}
#nayami .nayami-box .text-box ul li.last {
    margin-bottom: 0;
}
#nayami .nayami-box .img {
    width: 30%;
    margin-left: auto;
    line-height: 0;
}

/*===== #kayoi =====*/
#kayoi {
    padding: 50px 0;
}
#kayoi .txt {
    line-height: 1.4;
    font-size: 18px;
    margin: 35px 0;
}
#kayoi .kayoi-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#kayoi .kayoi-box .box {
    width: 49%;
}
#kayoi .kayoi-box .box h3 {
    line-height: 1.4;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-color: #f57404;
    border-radius: 10px;
    padding: 5px 2%;
    margin-bottom: 15px;
}
#kayoi .kayoi-box .box .img {
    width: 100%;
    max-width: 350px;
    margin: 0 auto 15px;
}
#kayoi .kayoi-box .box .text-box {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}
#kayoi .kayoi-box .box .text-box .text {
    margin-bottom: 0;
}

/*===== #point =====*/
#point {
    background-color: #edf8fc;
    padding: 50px 0;
}
#point h2 {
    width: 100%;
    max-width: 747px;
    margin: 0 auto 35px;
    line-height: 0;
    padding: 50px 0;
}
#point .box {
    margin-bottom: 30px;
}
#point .box h3 {
    width: 62%;
    float: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
#point .box h3 .icon {
    display: block;
    width: 64px;
}
#point .box h3 .hx {
    display: block;
    width: calc(97% - 64px);
    line-height: 1.4;
    font-size: 20px;
    font-weight: bold;
}
#point .box .img {
    width: 33%;
    float: right;
}
#point .box .text-box {
    width: 62%;
    float: left;
}
#point .box .text-box .text {
}
#point .box .text-box .text span {
    color: #0068bb;
    font-weight: bold;
}
#point .box .text-box .link {
    width: 90%;
    max-width: 180px;
    margin: 20px auto 0;
}

/*===== #step =====*/
#step {
    padding: 50px 0;
}
#step h2 {
    width: 100%;
    max-width: 747px;
    margin: 0 auto 35px;
    line-height: 0;
    padding: 50px 0 0;
}
#step .main-text {
    text-align: center;
    line-height: 1.4;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 30px;
}
#step .step-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#step .step-box .box {
    width: 32%;
    border: 1px solid #09c0fc;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 2px 3px 6px #0003;
}
#step .step-box .box h3 {
    background-color: #09c0fc;
    line-height: 1.4;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    padding: 8px 2%;
    margin-bottom: 15px;
}
#step .step-box .box h3 span {
    font-size: 18px;
}
#step .step-box .box .img {
    width: 100%;
    max-width: 149px;
    margin: 0 auto 15px;
}
#step .step-box .box .text-box {
    margin: 0 5%;
    padding-bottom: 15px;
}
#step .step-box .box .text-box h4 {
    line-height: 1.4;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #00325a;
}
#step .step-box .box .text-box .text {
    margin-bottom: 0;
}

/*===== #tigai =====*/
#tigai {
    background-color: #e9f8fc;
    padding: 50px 0;
}
#tigai h2 {
    width: 100%;
    max-width: 580px;
    margin: 0 auto 35px;
    line-height: 0;
}
#tigai table {
    line-height: 1.4;
    width: 100%;
}
#tigai table tr {
}
#tigai table tr th {
    width: 33%;
    text-align: center;
    background-color: #6fa8f3;
    border: 1px solid #3a7edb;
    padding: 15px 2%;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    vertical-align: middle;
}
#tigai table tr td {
    background-color: #fff;
    border: 1px solid #3a7edb;
    text-align: center;
    padding: 12px 2%;
    vertical-align: middle;
}
#tigai table tr td.hx {
    background-color: #bbdaf9;
    color: #222222;
    font-weight: bold;
}

/*===== #gallery =====*/
#gallery {
    padding: 50px 0;
}
#gallery .slider img {
    width:100%;/*スライダー内の画像を横幅100%に*/
    height:auto;
}
/*slickのJSで書かれるタグ内、スライド左右の余白調整*/
#gallery .slider .slick-slide {
    margin:0 10px;/*スライド左右の余白調整*/
}

/*===== #tiryohi =====*/
#tiryohi {
    padding: 50px 0;
}
#tiryohi h2 {
    width: 100%;
    max-width: 715px;
    margin: 0 auto 35px;
    line-height: 0;
}
#tiryohi .tiryohi-box {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
#tiryohi .tiryohi-box .text-box {
    margin-bottom: 30px;
}
#tiryohi .tiryohi-box .text-box h3 {
    background-color: #5094f1;
    border-radius: 10px;
    line-height: 1.4;
    text-align: center;
    color: #fff;
    font-size: 23px;
    font-weight: bold;
    padding: 15px 2%;
    margin-bottom: 20px;
}
#tiryohi .tiryohi-box .text-box ul {
    margin-bottom: 15px;
}
#tiryohi .tiryohi-box .text-box ul li {
    line-height: 1.4;
    color: #0068bb;
    font-weight: bold;
    margin-bottom: 3px;
}
#tiryohi .tiryohi-box .text-box .txt {
    text-align: center;
    line-height: 1.4;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}
#tiryohi .tiryohi-box .text-box .text {
}
#tiryohi .tiryohi-box .text-box.n1 .text {
    text-align: center;
}

/* 交通事故の慰謝料計算ツール */
#tiryohi .tool {
  margin: 5rem auto 0;
  padding: 0 1rem 1.5rem;
  max-width: 1000px;
  border: 2px solid #09c0fc;
  border-radius: 10px;
    background-color: #fff;
}

#tiryohi .tool_title {
  transform: translateY(-24px);
  padding: 1.5rem 1rem;
  margin: 0;
  background-color: #6cbefa;
  border-radius: 5px;
  color: #fff;
  text-align: center;
  font-size: 120%;
  font-weight: bold;
}

#tiryohi .tool_content {
  padding: 0 1rem;
}

#tiryohi .tool dl {
  display: flex;
  flex-wrap: wrap;
  padding: 0 0 10px 0;
}

#tiryohi .tool dl dt {
  margin: 0;
  width: 50%;
}

#tiryohi .tool dl dd {
  margin: 0;
  width: 50%;
}

#tiryohi .tool dl .inner {
  padding: 0.7rem;
}

#tiryohi .tool dl .item-title {
  font-size: 150%;
  font-weight: 700;
}

#tiryohi .tool dl .item-title > .txt_s {
  display: block;
  font-size: 1.5rem;
  font-weight: normal;
  margin-top: 7px;
  line-height: 1.2;
}

#tiryohi .tool input {
  width: 90%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  padding: 0.5rem 0.75rem;
  font-size: 100%;
  line-height: 2.5rem;
  border: 1px solid #666;
  border-radius: 6px;
}

#tiryohi .tool .submit,
#tiryohi .tool .submit02 {
  margin: 0.5em auto;
  display: block;
  margin-bottom: 1rem;
  padding: 1rem 4rem;
  border: 0;
  border-radius: 15px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.18);
  font-size: 150%;
  color: #fff;
  cursor: pointer;
}

#tiryohi .tool .submit {
  background-color: #0068b7;
}

#tiryohi .tool .submit02 {
  background-color: #ff0000;
}

#tiryohi .jibai_ttl,
#tiryohi .bengo_ttl {
  font-size: 150%;
  font-weight: 700;
  margin: 20px 0;
}

#tiryohi .tool #price:not(:empty),
#tiryohi .tool #price02:not(:empty) {
  text-align: center;
  padding: 2rem;
  font-size: 250%;
  font-weight: 700;
}

#tiryohi .tool #price:not(:empty) {
  color: #00467c;
}

#tiryohi .tool #price02:not(:empty) {
  color: #e91e63;
}

#tiryohi .tool .info {
  margin-top: 1.5rem;
}

#tiryohi .tool .info p {
  margin: 0.5rem 0;
  font-size: 1em;
  line-height: 1.5;
}

/*===== #kansyu =====*/
#kansyu {
    padding: 50px 0;
}
#kansyu h2 {
    background-color: #5094f1;
    line-height: 1.4;
    text-align: center;
    font-size: 20px;
    color: #fff;
    padding: 7px 2%;
    border-radius: 100px;
    margin-bottom: 20px;
}
#kansyu .intyo-box {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: space-between;
}
#kansyu .intyo-box .img {
    width: 40%;
}
#kansyu .intyo-box .text-box {
    width: 55%;
}
#kansyu .intyo-box .text-box .name {
    width: 150px;
    background: url(../img/common/icon07.png) no-repeat left center;
    background-size: 50px;
    line-height: 1.4;
    font-size: 20px;
    font-weight: bold;
    padding: 13px 0 13px 60px;
    margin: 0 auto 20px;
}
#kansyu .intyo-box .text-box .box {
    margin-bottom: 20px;
}
#kansyu .intyo-box .text-box .box h3 {
    color: #0068bb;
    line-height: 1.4;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
#kansyu .intyo-box .text-box .box ul {
    line-height: 1.4;
}
#kansyu .intyo-box .text-box .box ul li {
    margin-bottom: 3px;
}
#kansyu .intyo-box .text-box .box ul.list li {
    background: url(../img/common/icon06.png) no-repeat left 5px;
    padding-left: 18px;
}


/*===============================================
    ■tablet 画面の横幅が900pxまで
===============================================*/
@media screen and (max-width: 900px) {
/*===== #nayami =====*/
  #nayami .nayami-box {
    padding-top: 90px;
  }
  #nayami .cn-w {
    position: static;
  }
  #nayami .nayami-box .text-box {
    width: 100%;
    position: static;
    top: auto;
    transform: none;
  }
  #nayami .nayami-box .img {
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
    line-height: 0;
  }
}

/*===============================================
    ■tablet 画面の横幅が800pxまで
===============================================*/
@media screen and (max-width: 800px) {
/*===== #aisatu =====*/
  #aisatu .bg:after {
    width: 100%;
    height: 350px;
}
  #aisatu .text-box {
    width: 100%;
    padding-top: 380px;
  }
/*===== #intyo =====*/
  #intyo .box {
    position: static;
  }
  #intyo .box .text-box {
    width: 100%;
  }
  #intyo .box .img {
    position: static;
    right: auto;
    top: auto;
    transform: none;
    z-index: auto;
    width: 90%;
    max-width: 620px;
    margin: 20px auto 0;
  }
/*===== #point =====*/
  #point .box h3 {
    width: 100%;
    float: none;
  }
  #point .box .img {
    width: 100%;
    float: none;
    max-width: 354px;
    margin: 0 auto 20px;
  }
  #point .box .text-box {
    width: 100%;
    float: none;
  }
/*===== #step =====*/
  #step .step-box .box {
    width: 48%;
  }
}

/*===============================================
    ■tablet 画面の横幅が520pxまで
===============================================*/
@media screen and (max-width: 520px) {
/*===== #aisatu =====*/
  #aisatu {
    padding-bottom: 0;
  }
  #aisatu .box .img {
    width: 100%;
    margin-top: 0;
    line-height: 0;
  }
  #aisatu .box .text-box {
    width: 100%;
    padding: 17px 3%;
  }
/*===== #riyu =====*/
  #riyu .bg {
    padding: 30px 0;
  }
  #riyu dl {
    font-size: 16px;
    margin-bottom: 10px;
  }
  #riyu .txt {
    font-size: 18px;
  }
/*===== #kayoi =====*/
  #kayoi {
    padding: 20px 0;
  }
  #kayoi .txt {
    font-size: 16px;
    margin: 35px 0 0;
  }
  #kayoi .kayoi-box .box {
    width: 100%;
    margin-top: 25px;
  }
/*===== #point =====*/
  #point {
    padding: 20px 0;
  }
  #point h2 {
    padding: 0;
  }
  #point .box h3 {
    align-items: flex-start;
  }
  #point .box h3 .icon {
    width: 45px;
  }
  #point .box h3 .hx {
    width: calc(97% - 45px);
    font-size: 17px;
  }
  #point .box .img {
        width: 80%;
  }
/*===== #step =====*/
  #step .step-box .box {
    width: 100%;
  }
/*===== #tiryohi =====*/
  #tiryohi .tiryohi-box .text-box h3 {
    font-size: 18px;
  }
  #tiryohi .tiryohi-box .text-box table tr th {
        width: 100%;
        display: block;
  }
  #tiryohi .tiryohi-box .text-box table tr td {
    padding-bottom: 10px;
    width: 100%;
    display: block;
  }
  #tiryohi .tool dl dt,
  #tiryohi .tool dl dd {
    width: 100%;
  }
  #tiryohi .tool dl .item-title {
    font-size: 18px;
    line-height: 1.4;
  }
  #tiryohi .jibai_ttl, #tiryohi .bengo_ttl {
    font-size: 18px;
    margin: 14px 0;
    line-height: 1.4;
  }
/*===== #gallery =====*/
  #gallery {
    padding: 20px 0 0;
  }
/*===== #kansyu =====*/
  #kansyu .intyo-box .img {
    width: 100%;
    max-width: 398px;
    margin: 0 auto 15px;
  }
  #kansyu .intyo-box .text-box {
    width: 100%;
  }
}