/*
  Junpu Law Office
  Car Accident Consultations
  Stylesheet fot SP
  ---

  Create:  2016/06/13
  Update:  2017/09/27
  Author:  @kuraryo (TNS Inc.),@mtfuji (TNS Inc.)
  ---
 */


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

  /* ---
    Global Navigation
   */
  .navi {
    position: fixed;
    z-index: 999;
  }

  .menu-btn {
      position: fixed;
      top: 0;
      right: 0;
      margin: 2vmax;
      font-size: 12px;
      text-align: center;
      cursor: pointer;
      z-index: 1000;
      background-color: rgba(255, 255, 255, .8);
      border-radius: 12px;
  }

  .menu-btn img {
  width: 7vmax;
  }

  .menu-btn span {
      color: #fff;
  }

  .menu-btn span:after {
      content: attr(data-txt-menu);
  }

  .menu {
      z-index: 1100;
      position: fixed;
      display: table;
      width: 100%;
      height: 100%;
      margin: 0 auto;
      top: 0;
      font-weight: bold;
      background: rgba(0,0,0, .8) top left;
      background-size: cover;
      -webkit-transition: all .3s;
      transition: all .3s;
      display: none;
      opacity: 0;
  }

  .menu ul {
    list-style: none;
    width: 90%;
    height: 100%;
    padding: 15vmin 0;
    margin: auto;
  }

  .menu li {
      width: 50%;
      max-width: 100%;
      height: 80px;
      display: block;
      text-align: center;
      margin: 3vmax auto;
      font-size: 2vmax;
      color: #fff;
  }

  .menu li a img {
    width: 7vmax;
    display: block;
    margin: 0 auto;
    padding: 15px;
  }

  .menu .flort{
    float: left;
  }

  .menu .close {
    margin: 30vmin auto 0;
    display: inline-block;
    width: 100%;
  }

  .menu .close div {
    background: none;
    border: solid 1px #fff;
    color: #fff;
    border-radius: 10px;
    width: 30%;
    padding: 15px;
    margin: auto;
    display: block;
  }

  /* 開閉用ボタンがクリックされた時のスタイル */
  .open .menu {
      -webkit-transition: all .3s;
      transition: all .3s;
      display: block;
      opacity: 1;
  }


/* ---
  page
   */
main{
  background: rgba(255, 255, 255, 0.8) fixed;
  overflow: scroll;
}


/* ---
  Window
 */
.win {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: auto;
  z-index: 30;
  text-align: center;
  -webkit-transform: translate(-50%, -50%); /* for Safari */
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

.win.brand {
  width: 100%;
}

.win h2 {
  position: relative;
  clear: both;
  font-size: 18px;
  line-height: 1.3;
  margin: 15vh auto 20px;
  width: 85%;
}

.win h2.heading {
  display: inline-block;
  margin-right: auto;
  margin-left: auto;
  text-decoration: underline;
  font-size: 150%;
}

.tag {
  position: absolute;
  display: block;
  padding: 20px 0;
  width: 100%;
  font-size: 18px;
  font-weight: bold;
  color: rgb(255, 255, 255);
  background: rgb(91, 196, 230);
}


/* ---
  Box
 */

/* exp */
.box {
  position: relative;
  width: 100%;
  margin-bottom: 5%;
}

.box p {
  font-size: 18px;
  line-height: 1.5;
  width: 90%;
  margin: 0 auto;
}

.box p.text-line {
  padding: 20px 0;
  margin: auto;
  width: 90%;
  line-height: 1.7;
  text-align: left;
  clear: both;
}

.text-line .look{
  font-size: x-large;
  font-weight: bold;
  background-color: rgb(220, 222, 65);
  margin: 10px 10px 0;
  padding: 0 5px;
}

.interest{
  font-weight: bold;
}

.annotation {
  font-size: 14px;
}

.page-q .box p.text-line {
  line-height: 1.7;
  text-align: center;
}

.text-line img {
  max-width: 80%;
  margin: auto;
}

.box .text-caution {
  margin-top: 50px;
  font-weight: bold;
  color: rgb(91, 196, 230);
}

.box img {
  max-width: 90%;
  width: 40vmax;
  margin: auto;
  display: block;
}

.box ul {
  flex-direction: row;
  justify-content: space-between;
  margin: 10px 0;
}

.box ul li {
  padding: 5px;
  background: rgb(255, 255, 255);
  border-radius: 10px;
  margin: 15px auto;
  width: 90%;
}

.box ul li h3 {
  font-size: 24px;
  line-height: 1.3;
  color: rgb(250, 94, 126);
}

.box ul li p {
  text-align: left;
  font-size: 16px;
  line-height: 1.3;
}

.box .column-line {
  justify-content: space-between;
  margin-bottom: 10px;
}

.box .column-line ul li {
  margin: auto;
}

.box .column-line h3 {
  width: 80%;
  margin: 5px auto 0;
  display: block;
}

.box .column-line li p {
  width: 90%;
  margin: 10px auto 0;
  display: block;
}

.box .column-line li img {
  width: 30%;
}

.box .column-line2 li p,.box .column-line2 li h3 {
  height: 10%;
}

/*.page-e .box .column-line li:nth-child(1) { width: 30%; }
.page-e .box .column-line li:nth-child(2) { width: 30%; }
.page-e .box .column-line li:nth-child(3) { width: 30%; }*/


.box .column-table table {
  margin-bottom: 30px;
  margin: auto;
  border-collapse: collapse;
  text-align: left;
  line-height: 1.5;
  width: 90%;
  background: rgb(255, 255, 255);
}

.box .column-table th,
.box .column-table td {
  padding: 10px;
  border: 1px solid rgb(150, 152, 154);
}

.box .text-caption {
  float: left;
  padding: 0;
  padding-left: 20px;
  text-align: left;
  font-size: 14px;
  width: 30%;
}

/* adv */
.box .column-lawer {
  width: 80%;
  max-width: 200px;
  margin: 20px auto;
  display: block;
}

.column-price2{
  margin: inherit;
  width: inherit;
  display: block;
}

.box .column-text {
  padding: 0 20px;
  display: block;
  background-position: left top;
  background-repeat: no-repeat;
}

.page-m .box .column-text,
.page-n .box .column-text {
  display: block;
  width: auto;
  margin: auto;
}

.box .column-text h4, .box .column-line h4 {
  text-align: left;
  font-size: 18px;
  color: rgb(250, 94, 126);
  width: 90%;
  margin: 20px auto 5px;
}

.box .column-text p {
  text-align: left;
  line-height: 2;
  font-size: 18px;
}

.box .column-text .career {
  border-collapse: collapse;
  text-align: left;
  width: 90%;
  margin: auto;
  line-height: 2;
}

.box .column-text .career td {
  vertical-align: baseline;
  font-size: 18px;
  padding: 0 5px;
}

.book a {
  color: #5BC4E6;
    width: auto;
}

.book img {
  width: 20vmin;
  float: left;
  padding-right: 10px;
}


/* ---
  Icons
 */
.icon-group {
  flex-direction: row;
  justify-content: center;
  width: 100%;
  z-index: -1;
}

.icon-group-sp {
  position: absolute;
  bottom: 15vmax;
}

.icon-group img {
  padding: 0 5vmin;
  margin: auto;
  height: 25vmin;
}


/* ---
  Buttons
 */
.btn-group {
  clear: both;
  width: 100%;
  margin: 0;
  padding: 0;
}

.btn-sp-bottom {
  position: absolute;
  bottom: 0;
}

.win > .flex {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}

a.btn{
  font-size: 120%;
  font-weight: bold;
  line-height: 1.2em;
  color: rgb(255, 255, 255);
  border-radius: 50px;
  width: 100%;
  margin: 0 auto;
  padding: 15px;
  vertical-align: middle;
  border: solid 1px #eee;
}

a.btn-blue {
  background-color: rgb(91, 196, 230);
}
a.btn-blue:hover {
  color: rgb(255, 255, 255);
  background-color: rgb(72, 160, 189);
}
a.btn-green {
  background-color: rgb(220, 222, 65);
}

a.btn-green:hover {
  color: rgb(255, 255, 255);
  background-color: rgb(181, 182, 52);
}

a.btn-pink {
  background-color: rgb(250, 94, 126);
}

a.btn-pink:hover {
  color: rgb(255, 255, 255);
  background-color: rgb(250, 94, 126);
}

a.btn-sqea{
  border-radius: 0;
  padding: 20px 15px;
}

/* btn-slide */
.btn-slide {
  position: relative;
  margin: 30px auto;
  display: inline-block;
}

.btn-slide a.btn {
  margin: 0;
  padding: 14px 20px;
  font-size: 100%;
}

/* btn-circle */
.page .btn-circle {
  width: 90%;
  margin: auto;
}

.page .btn-circle p {
  margin: 0 auto;
  display: inline-block;
}

.btn-circle a {
  text-align: center;
  font-size: large;
  font-weight: bold;
  line-height: 1.2;
  background-color: rgb(220, 222, 65);
  display: block;
  float: left;
  border-radius: 50%;
  width: 35%;
  padding: 8% 2%;
  margin: 5%;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.16);
  -webkit-box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.16);
}

.btn-circle a img {
  margin:auto;
  width: 50%;
  display: block;
  padding: 0 2%;
}


/* ---
  display-hidden
   */
nav ul , .exp-m, .exp-n, .page-r, .column-price {
  display: none;
}

}
