@charset "UTF-8";
/*
Theme Name: サワムラガク足立 教習時間目安
Author: あそびラボ
*/

main {
  padding: 0;
}

/*=======================================================
h1
=======================================================*/
.h1_wrapper h1::before {
  content: "";
  background: url("../images/top/police_hagumi.svg") bottom left / 66px 104px no-repeat;
  width: 66px;
  height: 104px;
  display: block;
  position: absolute;
  left: 335px;
  top: -15px;
}
@media screen and (max-width: 750px) {
  .h1_wrapper h1::before {
    left: 166px;
    top: -7px;
  }
}
/*=======================================================
見出し
=======================================================*/
h2 {
  background:
    url(../images/top/tree3.png) center left 280px / 55px 66px no-repeat,
    url(../images/top/tree3.png) center right 280px / 55px 66px no-repeat;
  height: 67px;
  color: #422a0a;
  font-size: 32px;
  text-align: center;
  font-weight: bold;
  margin: 0 0 35px !important;
  padding: 20px 0 0 !important;
}
@media screen and (max-width: 750px) {
  h2 {
    font-size: 42px;
    margin: 0 0 30px !important;
    background:
      url(../images/sp/top/tree3.png) center left 50px / 66px 88px no-repeat,
      url(../images/sp/top/tree3.png) center right 50px / 66px 88px no-repeat;
    height: 97px;
  }
}
/*=======================================================
シミュレーション
=======================================================*/
#calc {
  width: 1020px;
  margin: 0 auto;
  line-height: 1.5;
  padding: 0 0 121px;
}
/***見出し+テキスト***/
#calc h2 + span p {
  margin: 0 0 40px;
  text-align: center;
}
/***回答フォーム***/
#calc form {
  margin: 0 0 15px;
}
/*見出し*/
.fields > label {
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  height: 55px;
  display: flex !important;
  align-items: center;
  background: #3c2a10;
  border-radius: 10px;
  padding: 4px 0 0 57px;
  margin: 0 0 25px;
  position: relative !important;
  cursor: auto;
}
/*内容*/
.dfield {
  margin: 0 0 30px;
  padding: 0 150px 0 57px;
  display: flex;
  flex-wrap: wrap;
}
.dfield > div {
  margin: 0 30px 10px 0;
}
.dfield input[type="radio"] + span {
  padding: 0 0 0 25px;
}
/*走行の目的*/
.fieldname5_1 .dfield > div {
  margin: 0 0 10px !important;
}
/*結果隠し*/
.pbreak > div:last-of-type {
  display: none;
}
/*結果ボタン*/
#calc .btn {
  width: 250px;
  height: 54px;
  margin: 0 auto 10px;
  padding: 3px 0 0;
  background: #dd8925;
  border-radius: 10px;
  color: #fff;
  font-weight: bold;
  font-size: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
}
#calc .btn + .att {
  display: block;
  margin: 0 0 40px;
  font-size: 14px;
  text-align: center;
}
#calc .btn + .att::before {
  position: static;
}
/***結果***/
.result {
  width: 800px;
  margin: 0 auto;
  padding: 25px 0 35px;
  background: #e7dbc4;
  border-radius: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1.8;
}
.result > span {
  background: linear-gradient(transparent 60%, #ffff66 60%);
}
.result .time {
  display: inline-block;
  width: 80px;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  color: #422a0a;
}
@media screen and (max-width: 750px) {
  #calc {
    width: 690px;
  }
  /***回答フォーム***/
  /*見出し*/
  .fields > label {
    line-height: 1.4;
    font-size: 28px;
    padding: 4px 0 0 20px;
  }
  /***回答フォーム***/
  #calc form {
    margin: 0 0 45px;
  }
  /*内容*/
  .dfield {
    margin: 0 0 25px;
    padding: 0 20px;
  }
  .dfield > div {
    margin: 0 35px 20px 0;
  }
  .dfield input[type="radio"] + span::before {
    margin: 0;
    top: 7px;
  }
  .dfield input[type="radio"] + span::after {
    margin: 0;
    top: 12px;
  }
  .dfield input[type="radio"] + span {
    padding: 0 0 0 35px;
    display: block;
  }
  /*ブランク、走行経験、走行の目的*/
  .fieldname3_1 .dfield,
  .fieldname4_1 .dfield,
  .fieldname5_1 .dfield {
    display: block;
  }
  .fieldname3_1 .dfield > div,
  .fieldname4_1 .dfield > div,
  .fieldname5_1 .dfield > div {
    margin: 0 0 20px !important;
  }
  /*結果ボタン*/
  #calc .btn {
    width: 340px;
    height: 70px;
    font-size: 32px;
  }
  #calc .btn + .att {
    font-size: 22px;
    margin: 0 0 50px;
    padding: 0;
  }
  /***結果***/
  .result {
    width: 690px;
    padding: 35px 0;
  }
  .result .time {
    width: 84px;
  }
}
/*=======================================================
教習時間の大まかな目安
=======================================================*/
#time {
  margin: 0 auto 54px;
  width: 1020px;
}
/***見出し+テキスト***/
#time h2 {
  background:
    url(../images/top/tree3.png) center left 240px / 55px 66px no-repeat,
    url(../images/top/tree3.png) center right 240px / 55px 66px no-repeat;
}
#time h2 + p {
  margin: 0 0 40px;
  text-align: center;
  line-height: 1.5;
}
/***画像たち***/
#time ul {
  display: flex;
  justify-content: space-between;
  width: 1020px;
  margin: 0 auto;
}
#time ul li {
  width: 332px;
  height: 126px;
  background: #33b666;
  border-radius: 10px;
  padding: 2px;
}
#time ul li div {
  border: 2px solid #fff;
  border-radius: 7px;
  display: flex;
  padding: 14px 18px;
  height: 122px;
}
#time ul li div p {
  border-radius: 10px;
  background: #fff;
  width: 87px;
  height: 89px;
  margin: 0 17px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
#time ul li:last-of-type div p {
  position: relative;
}
#time ul li div p .svg,
#time ul li:nth-of-type(2) div p .svg {
  width: 62px;
}
#time ul li:last-of-type div p .svg:first-of-type {
  width: 39px;
  position: absolute;
  top: 5px;
  left: 5px;
}
#time ul li:last-of-type div p .svg:last-of-type {
  width: 47px;
  position: absolute;
  right: 5px;
  bottom: 5px;
}
#time ul li div p .svg .cls-3,
#time ul li div p .svg .cls-4,
#time ul li div p .svg .cls-5 {
  stroke: #644922;
  fill: #644922;
}
#time ul li div dl dt {
  color: #fff;
  font-weight: bold;
  font-size: 21px;
  margin: 0 0 10px;
  line-height: 1.33;
}
#time ul li div dl dd {
  color: #ffe35e;
  font-size: 26px;
  font-weight: bold;
}
@media screen and (max-width: 750px) {
  #time {
    width: initial;
  }
  #time h2 {
    background:
      url(../images/sp/top/tree3.png) center left 30px / 66px 88px no-repeat,
      url(../images/sp/top/tree3.png) center right 30px / 66px 88px no-repeat;
  }
  #time h2 + p {
    margin: 0 59px 40px;
  }
  #time ul {
    flex-wrap: wrap;
    justify-content: center;
    width: initial;
    margin: 0 60px;
  }
  #time ul li {
    margin: 0 0 30px;
    width: 432px;
    height: 160px;
  }
  #time ul li div {
    height: auto;
  }
  #time ul li div dl dt {
    font-size: 28px;
    line-height: 1.2;
  }
  #time ul li div dl dd {
    font-size: 35px;
  }
  #time ul li div {
    padding: 21px 18px 20px;
  }
  #time ul li div p {
    width: 107px;
    height: 109px;
    margin: 0 25px 0 0;
  }
  #time ul li div p .svg,
  #time ul li:nth-of-type(2) div p .svg {
    width: 82px;
  }
  #time ul li:last-of-type div p .svg:first-of-type {
    width: 49px;
  }
  #time ul li:last-of-type div p .svg:last-of-type {
    width: 57px;
  }
}
/*=======================================================
教習項目の詳細
=======================================================*/
#detail {
  background: url(../images/top/line.png) top center / 2000px no-repeat;
  background-color: #c9e7d5;
  padding: 74px 0 125px;
}
#detail h3 {
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  background: #3c2a10;
  border-radius: 10px;
  height: 55px;
  padding: 16px 33px 0;
  margin: 0 0 30px;
}
#detail ul {
  margin: 0 0 36px;
}
#detail ul li {
  background: #fff;
  border: 1px solid #3c2a10;
  padding: 18px 12px 12px 32px;
  margin: 0 0 19px;
}
#detail ul li dl dt {
  color: #fff;
  font-size: 21px;
  font-weight: bold;
  background: #33b666;
  border-radius: 10px;
  margin: 0 0 18px;
  height: 42px;
  padding: 13px 28px;
  width: 234px;
}
#detail ul li dl dd {
  display: inline-block;
  margin: 0 21px 10px 0;
}
@media screen and (max-width: 750px) {
  #detail {
    background: url(../images/sp/top/line.png) top center / 750px no-repeat;
    background-color: #c9e7d5;
    padding: 74px 0 155px;
  }
  #detail h3 {
    font-size: 28px;
    height: 55px;
    padding: 14px 20px 0;
    margin: 0 0 30px;
  }
  #detail ul li {
    padding: 25px 12px 20px 32px;
    margin: 0 0 30px;
  }
  #detail ul li dl dt {
    font-size: 28px;
    margin: 0 0 23px;
    height: 52px;
    padding: 13px 20px;
    width: 280px;
  }
  #detail ul li dl dd {
    display: block;
    margin: 0 0 10px;
  }
}
