@charset "utf-8";
/* iOSでのデフォルトスタイルをリセット
============================================== */
.pv_h1 {
  background: url("../../../common/img/pv_h1.webp")no-repeat center;
  background-size: cover;
}
.main {
	width: 100%;
  max-width: 100%;
}
form {
    font-size: 1.6rem;
}
button,input[type="submit"],input[type="reset"],input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
    position: relative;
  z-index: 1;
}
input[type="submit"]::-webkit-search-decoration,
input[type="reset"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="reset"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}
[type="checkbox"], [type="radio"] {
    padding: 0;
    display: inherit;
    margin-top: 3px;
    margin-right: 8px;
    transform: scale(1.2);
    height: 16px;
}

.mt10{
  margin-top:10px;
}
/* form共通
============================================== */
.w_all {width: 100%;}
.w_full {
    width: 100%;
    max-width: calc(100% - 5em);}
.w_middle {width: 65%;}
.w_half {width: 50%;}
.w_25pc {width: 25%;}
.required {color: red;}

.form-input span {
    color: #ccc;
    margin: 0 0 5px 0.5em;
}
input[type="text"], input[type="email"], input[type="password"], textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-transition: all .3s;
  transition: all .3s;
  border-radius: 2px;
  border: 1px solid #aaa;
  padding: 8px 5px;
    box-sizing: border-box;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus {
  box-shadow: 0 0 7px #aaa;
}
select {
    padding: 5px;
    border: 1px solid #aaa;
}

/* form label部分
============================================== */
.form-label , .form-book{
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.form-input label {
    display: flex;
    align-items: center;
    margin-right: 30px;
    line-height: 2;
}
/* 確認・送信 ========== */
input[type="submit"], input[type="reset"], button {
    padding: 0;
    width: 150px;
    height: 70px;
    color: #fff;
    margin: 20px 35px 0;
    background: #c23940;
    border-radius: 5px;
    font-size: 1.6rem;
}
/* リセット・戻る ========== */
input[type="reset"], input[type="submit"].back {
    background: #CBCBCB;
}
input[type="submit"]:hover, input[type="reset"]:hover, button:hover {
    opacity: .8;
}
input[type="submit"]:active, input[type="reset"]:active, button:active {
    opacity: .8;
}
  input.zipcode-3 {
    width: 45px;
}
  input.zipcode-4 {
    width: 55px;
}
/* error
============================================== */
p.errmsg {
  color:#ff0000;
  margin:0px;
}
.msgarea {
    color: #ff0000;
    margin: 20px 0px;
    padding: 10px 20px 10px 20px;
    background-color: #f2eee2;
    font-size: 1.6rem;
}
.top_text {
    margin-top: 40px;
    margin-bottom: 20px;
}
.top_caution {
    margin: -20px 0 20px;
    padding-top: 20px;
}
.sub_text {
    margin: 1em 0 5px;
}
.sub_text.mt_0 {
    margin-top: 0;
}
/* 以下ページごと
============================================== */
.container ,.root-container {
    max-width: 1024px;
    width: 100%;
    margin: auto;
}
.root-container {
    margin: 50px auto;
    max-width: 860px;
}
.btn_box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
    width: 100%;
    margin: 70px auto 0;
    font-weight: bold;
}
/* TOPへ戻る ========== */
.back_home {
    text-align: center;
    margin: 60px 0 0;
}
.back_home a {
    color: #fff;
    padding: 15px 35px;
    background: #c23940;
    border-radius: 5px;
}
/* table ========== */
.form-field {
    display: table-cell;
    width: 180px;
    padding: 15px 10px;
    vertical-align: middle;
    text-align: center;
    border-bottom: 1px solid #c23940;
    background: #f2eee2;
    color: #000;
}
.form-input {
  display: table-cell;
  vertical-align: middle;
  padding: 8px 20px;
  border-bottom: 1px solid #c23940;
}
.form-input.mg_address {
    padding-bottom: 12px;
}
.form-element-container {
  display: table;
  width: 100%;
  margin: 0 auto;
  border-top: 1px solid #c23940;
}
.form-field-input-pair {
  display: table-row;
}
.form-element-text {
    margin: 2.5em 0 10px;
}

/* 確認部分
============================================== */
.btn_box {
    margin: 50px auto;
}

/* 三角フロー図
============================================== */
.flow-triangle {
    list-style-type: none;
    display: table;
    width: 100%;
    padding: 0;
    margin: 20px 0;
    overflow: hidden;
}
.flow-triangle li {
    display: table-cell;
    position: relative;
    background: #CBCBCB;
    padding: 0.7em 0.5em 0.6em 2em;
    color: #fff;
    font-weight: bold;
    text-align: center;
    width: 33%;
}
.flow-triangle li:last-child{
  padding-right: 1em;
}
.flow-triangle li:last-child:before,
.flow-triangle li:last-child:after{
  display:none;
}
.flow-triangle li:before,
.flow-triangle li:after{
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  margin: auto;
}
.flow-triangle li:before{
  top:-15px;
  right:-1em;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
  border-width: 40px 0 40px 1em;
  z-index: 1;
}
.flow-triangle li:after{
  top:-15px;
  right:-.8em;
  border-style: solid;
  border-color: transparent transparent transparent #CBCBCB;
  border-width: 40px 0 40px 1em;
  z-index: 1;
}
.flow-triangle li.is-current {
    background: #c23940;
    color: #fff;
}
.flow-triangle li.is-current:after{
  border-color: transparent transparent transparent #c23940;
}
.flow-triangle span {
    display: inline-flex;
    justify-content: center;
    margin-right: 10px;
    width: 23px;
    height: 23px;
    background: #fff;
    color: #cbcbcb;
    line-height: 1.5;
}
.flow-triangle .is-current span {
    background: #fff;
    color: #c23940;
}
/* ページ固有
------------------------------------------------------
------------------------------------------------------*/
.bt {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 180px;
  width: 90%;
  margin: auto;
  background: #c23940;
  height: 50px;
  border-radius: 5px;
  color: #fff;
  font-weight: bold;
}
/* 資料請求 ========== */
.form-book {
    max-width: 600px;
}
img.book-img {
    display: block;
    max-width: 100%;
    width: auto;
    height: 120px;
    margin: 10px auto 0;
    border: solid 1px #ccc;
}
.form-book label {
    flex-wrap: wrap;
    max-width: 270px;
    width: 100%;
    margin: 0px 25px 10px 0;
}
.form-book p {
    text-align: left;
    width: calc(100% - 1.5em);
}
.service label {
    width: 33%;
    margin: 0;
}


/* 固有レスポンシブ
------------------------------------------------------
------------------------------------------------------*/
/*タブレット（縦）*/
@media screen and (orientation: portrait) and (min-width: 768px){}

@media screen and (max-width: 767px) {
header {
    height: 0;
    width: 0;
    z-index: 9;
}
.w_full ,.w_middle , .w_half.mail{
    width: 100%;
    max-width: calc(100% - 5em);
}

.root-container {
    max-width: 92%;
    margin: 30px auto 50px;
}
  .form-element-container {
    margin: 30px auto 0;
    border-top: 1px solid #c23940;
  }
  .form-field-input-pair {
    display: block;
}
  .form-field {
    display: block;
    box-sizing: border-box;
    vertical-align: middle;
    width: 100%;
    padding: 10px 5%;
    text-align: left;
}
  .form-input {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    display: block;
  }
input[type="submit"], input[type="reset"], button {
    width: 140px;
    height: 60px;
    margin: 30px 15px 0;
}
.form-label, .form-book {
    flex-direction: column;
}
.form-element-text {
    margin: 40px 0 15px;
}

.form-book label {
    margin: 10px 0px 10px 0;
    justify-content: space-between;
    max-width: 100%;
}
.form-book p {
    text-align: left;
    margin-left: 8px;
    flex: 1;
    line-height: 1.5;
}
img.book-img {
    max-width: 100%;
    width: auto;
    height: 100px;
    margin: 0 0 0 10px;
}
.service label {
    width: 100%;
}
/* 三角フロー図 ----------------------------*/
.flow-triangle {
    display: flex;
}
.flow-triangle span {
    display: block;
    margin: 0 auto 2px;
    width: 20px;
    height: 20px;
    font-size: 1.0rem;
}
.flow-triangle li {
    padding: 8px 1% 5px 3%;
    font-size: 1.0rem;
    width: 33%;
}
.flow-triangle li:before {
    top: -12px;
}
.flow-triangle li:after {
    top: -12px;
}
}
