.contactbox {
  padding-top: 90px;
  padding-bottom: 80px;
}

h3 {
  text-align: center;
  font-weight: bold;
  color: #00159C;
  border-top: 1px solid #808ACD;
  border-bottom: 1px solid #808ACD;
}

.warning_area {
  max-width: 1063px;
  width: 90%;
  padding: 40px 60px;
  border: 2px solid #004EA2;
  border-radius: 20px;
  margin: 0 auto;
}
.warning_area > div:not(:last-of-type) {
  padding-bottom: 60px;
  display: block;
}
.warning_area > div h4 {
  font-size: 24px;
  padding: 0.5em 0 0.5em 1.75em;
  margin-bottom: 0.5em;
  position: relative;
  font-weight: bold;
}
.warning_area > div h4::before {
  content: "";
  width: 1.45em;
  height: 1.45em;
  background: url(../img/arrow01.svg) no-repeat center / contain;
  position: absolute;
  left: 0;
  top: 0.5em;
}
.warning_area > div:last-of-type h4::before {
  background: url(../img/arrow02.svg) no-repeat center / contain;
}
.warning_area > div h4 a {
  text-decoration: underline;
  text-underline-offset: 9px;
}

.warning_area > div p {
  margin: 0 0 1em;
}
.warning_area > div > span {
  font-size: 21px;
  color: #666666;
  padding-left: 1em;
  text-indent: -1em;
  display: inline-block;
}

.title {
  background-color: #F1F1F1;
  margin-bottom: 30px;
}
.title p.products_title_ja {
  padding: 30px;
  font-size: 26px;
  font-weight: bold;
  position: relative;
  max-width: 1063px;
    margin: 0 auto;
}
.title p.products_title_ja::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 60px;
  left: 0;
  top: 0;
  transform: skew(-22deg, 0);
  background-color: #002989;
}

.products_title_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 30px;
  max-width: 1063px;
  margin: 0 auto;
}
.products_title_wrapper h4 {
  font-size: 24px;
}
.products_title_wrapper ul.contact_list {
  display: flex;
  align-items: flex-start;
  position: relative;
}
.products_title_wrapper ul.contact_list::before {
  content: "";
  width: calc(100% - 5em);
  height: 4px;
  background: #D9D9D9;
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  margin: auto;
}
.products_title_wrapper ul.contact_list li {
  padding: 0 1em;
}
.products_title_wrapper ul.contact_list li span {
  font-size: 14px;
  font-weight: 600;
  padding: 1em 0 0;
  display: block;
  position: relative;
}
.products_title_wrapper ul.contact_list li span::before {
  content: "";
  width: 1em;
  height: 1em;
  border: 2px solid #666666;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  border-radius: 50px;
}
.products_title_wrapper ul.contact_list li.active span::before {
  background: #666666;
}


span.err {
  color: red;
  font-size: 80%;
  display: block;
}

@media screen and (min-width: 768px), print { 
  h3 {
     margin-bottom: 35px; 
     font-size: 30px; 
     padding-top: 24px; 
     padding-bottom: 24px; 
  }
  .title p.products_title_ja::before {
    width: 12px;
    height: 60px;
    left: 0;
  }
 }
@media screen and (max-width: 767px) {
  
  .contactbox {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .warning_area {
    padding: 20px 30px;
    border-radius: 10px;
}
.warning_area > div:not(:last-of-type) {
  padding-bottom: 30px;
}
.warning_area > div h4 {
  font-size: 20px;
  line-height: 1.8;
}
.warning_area > div h4::before {
  top: 0.75em;
}
.warning_area > div > span {
  font-size: 16px;
}
  h3 {
      margin-bottom: 20px;
      font-size: 20px;
      padding-top: 20px;
      padding-bottom: 20px;
  }
  .title p.products_title_ja::before {
    width: 8px;
    height: 40px;
    left: 10px;
}
.products_title_wrapper {
  flex-flow: column;
}
.products_title_wrapper h4 {
  font-size: 20px;
  margin: 1em 0 1.5em;
}
}

/*******************
ボタン・プライバシーポリシーまわり
*********************/
.contact_bottom_area .privacy_check.check_area {
  margin: 3em 0 0;
  text-align: center;
  display: block;
}
.privacy_textarea {
  margin: -100px 0 30px;
  padding-top: 100px;
}
.privacy_textarea .privacy_textarea_inner {
  margin: 3em 0;
  border: 1px solid #666666;
  padding: 20px;
  height: 260px;
  overflow: hidden;
  overflow-y: auto;
}
.privacy_textarea .privacy_textarea_inner p:not(:last-of-type) {
  margin: 0 0 2em;
}
.privacy_textarea .privacy_textarea_inner ol li {
  margin: 1em 0;
  padding-left: 0.75em;
  text-indent: -0.75em;
}


/*******************
フォーム
*********************/
.contents_area {
  background: #FAFAFA;
  padding: 20px 40px;
}

.contents_area dl.contact_inner {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  border-bottom: 1px solid #D9D9D9;
}
.contents_area dl.contact_inner:last-of-type {
  border-bottom: none;
}
.contents_area dl.contact_inner dt {
  width: 25%;
  position: relative;
  padding: 20px 0;
}
.require_wrap::after {
  background-color: #ec221f;
  color: #fff;
  border-radius: 3px;
  text-align: center;
  content: "必須";
  display: block;
  position: absolute;
  font-weight: bold;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 1.75em;
  line-height: 1.85em;
  padding: 0 0.5em;
  font-size: 12px;
}
.contents_area dl.contact_inner dt.require_wrap::after {
  top: 27px;
  bottom: auto;
}
.contents_area dl.contact_inner dt.require_wrap_not::after {
  background-color: #E3E3E3;
  color: #000000;
  border-radius: 3px;
  text-align: center;
  content: "任意";
  display: block;
  position: absolute;
  font-weight: bold;
  right: 0;
  top: 27px;
  margin: auto;
  height: 1.75em;
  line-height: 1.85em;
  padding: 0 0.5em;
  font-size: 12px;
}

.contents_area dl.contact_inner dd {
  width: 75%;
  padding: 20px;
}

.contents_area dl.contact_inner dd .zip_area {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.contents_area dl.contact_inner dd .zip_area span {
  padding: 0 0.5em;
}

.contents_area dl.contact_inner dd .zip_area input[type="text"] {
  width: 4em;
}


.check_area {
  display: inline-block;
  line-height: 2.2;
}
.check_area label {
  margin: 0 3em 0 0;
}

button, input, optgroup, select, textarea {
  border: 1px solid #E6E6E6;
  padding: 0.5em;
  border-radius: 3px;
  font-family: '游ゴシック体', YuGothic, '游ゴシック Medium', 'Yu Gothic Medium', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS P Gothic', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro W3', Osaka, Verdana, Arial, Helvetica, sans-serif;
}



input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select,
button{
    outline: none;
    width: 100%;
}


input[name="name"], input[name="kana"] {
  width: 80%;
  max-width: 400px;
}


@media only screen and (max-width: 768px){
  .contents_area dl.contact_inner {
    display: block;
}
.contents_area dl.contact_inner dt {
  width: 100%;
}
.contents_area dl.contact_inner dd {
  width: 100%;
  padding: 0 0 20px;
  margin: 0;
}
.contents_area dl.contact_inner dt.require_wrap::after,
.contents_area dl.contact_inner dt.require_wrap_not::after {
  position: relative;
  display: inline-block;
  right: auto;
  top: auto;
  margin: 0 0 -0.05em 1em;
}

}
.require_wrap{
  display: inline-block;
  position:relative;
}



.inputwrap1 > dt:first-of-type{
  width:100%;
}
.inputwrap1 > dt:first-of-type > div{
  background-color: #E6F4FF;
  padding-left:20px;
}
.inputwrap1 > dt:first-of-type > div > span{
  line-height: 70px;
  padding-right:75px;
}
.inputwrap1 > dt:first-of-type > div > span::after{
  right:0;
  top:25px;
}
.inputwrap1 > dd:first-of-type{
  padding-top:36px;
}
.type_input_wrap{

}
.type_input_wrap>li{
  display: none;
  padding-top:56px;
}
@media only screen and (max-width: 768px){
  .type_input_wrap>li{
    padding-top:5vw;
  }
}
.type_input_wrap > li > div{
  border:solid 1px #DCDDDE;
}
.type_input_wrap > li > div > h2{
  background-color: #054997;
  color: #fff;
  padding:0 30px;
  line-height: 69px;
  font-size: 18px;
}
.type_input_wrap >li > div > ol > li{
  list-style-type: none;
  padding: 36px;
}
@media only screen and (max-width: 768px){
  .type_input_wrap >li > div > ol > li{
    padding:2.5vw;
  }
}
.type_input_wrap >li > div > ol > li > h3{
  color: #054997;
  font-size: 18px;
  line-height: 22px;
}
.type_input_wrap >li > div > ol > li > div{
  padding-top:15px;
}
@media only screen and (max-width: 768px){
  .type_input_wrap >li > div > ol > li > div{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top:2.5vw;
  }
}
.type_input_wrap >li > div > ol > li > div > ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
@media only screen and (max-width: 768px){
  .type_input_wrap >li > div > ol > li > div > ul{
    display: block;
    width: 50%;
  }
}
@media only screen and (max-width: 768px){
  .type_input_wrap >li > div > ol > li > div > ul.samples{

  }
}
.type_input_wrap >li > div > ol > li > div > ul > li{
  padding:15px 0 0 15px;
  width: calc(((100% - 30px) / 3) + 15px);
  position:relative;
}
@media only screen and (max-width: 768px){
  .type_input_wrap >li > div > ol > li > div > ul > li{
    width:100%;
    height: calc(66px + 35vw);
    padding-top:2.5vw !important;
  }
  .type_input_wrap >li > div > ol > li > div > ul > li.none{
    display: none;
  }
}
.type_input_wrap >li > div > ol > li > div > ul.samples > li{
  padding-bottom:96px;
}
@media only screen and (max-width: 768px){
  .type_input_wrap >li > div > ol > li > div > ul.samples > li{
    padding-bottom:calc(66px + 2.5vw) !important;
  }
}
.type_input_wrap >li > div > ol > li > div > ul > li:nth-of-type(-n+3){
  padding-top:0;
}
.type_input_wrap >li > div > ol > li > div > ul > li:nth-of-type(3n+1){
  padding-left:0;
  width: calc((100% - 30px) / 3);
}
@media only screen and (max-width: 768px){
  .type_input_wrap >li > div > ol > li > div > ul > li:nth-of-type(3n+1){
    width:100%;
  }
}
.type_input_wrap >li > div > ol > li > div > ul.samples > li >div{
  margin-top:30px;
  background-color:#EDF1F4;
  height:66px;
  position:relative;
  width: 100%;
  position:absolute;
  left:0;
  bottom:0;
}
@media only screen and (max-width: 768px){
  .type_input_wrap >li > div > ol > li > div > ul.samples > li >div{
    width:200%;
    margin-top:2.5vw;
  }
}
.type_input_wrap >li > div > ol > li > div > ul > li > div > input {
  position:absolute;
  top:50%;
  left:50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 14px;
}
.type_input_wrap >li > div > ol > li > div > ul.thumbnail{
  padding-top:10px;
}
@media only screen and (max-width: 768px){
  .type_input_wrap >li > div > ol > li > div > ul.thumbnail{
    padding-top:0;
  }
  .type_input_wrap >li > div > ol > li > div > ul.thumbnail > li{
    padding-bottom:calc(66px + 2.5vw);
  }
}
.type_input_wrap >li > div > ol > li > div > ul.thumbnail > li > div{
  display: none;
  width:100%;
  height:200px;
  text-align: center;
}
.type_input_wrap >li > div > ol > li > div > ul.thumbnail > li > div.confirm_thumb{
  border:solid 1px #DCDDDE
}
@media only screen and (max-width: 768px){
  .type_input_wrap >li > div > ol > li > div > ul.thumbnail > li > div{
    height:100%;
  }
}
.type_input_wrap >li > div > ol > li > div > ul.thumbnail > li > div > img{
  max-width: 100%;
  max-height: 100%;
  width:auto;
  height: auto;
}
.type_input_wrap >li > div > ol > li > div > ul.thumbnail > li > div > button{
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background-color: #054997;
  line-height: 20px;
  color: #fff;
  right: 4px;
  top: 4px;
}
.type_input_wrap >li > div > ol > li > div > ul.thumbnail > li > div > button:hover{
  opacity:0.75
}
/* .type_input_wrap >li > div > ol > li > div > ul.filebtns > li{

} */
.inputwrap2{
  padding-top:56px;
}
@media only screen and (max-width: 768px){
  .inputwrap2{
    padding-top:5vw;
  }
}
.inputwrap2 > *{
  padding:30px 0;
}
@media only screen and (max-width: 768px){
  .inputwrap2 > *{
    width:100% !important;
    padding:2.5vw 0;
  }
}
.inputwrap2 > dt{
  position:absolute;
  padding-left:10px;
  width:230px;
}
@media only screen and (max-width: 768px){
  .inputwrap2 > dt,
  .inputwrap2 > dd{
    position: relative;
    padding:2.5vw !important;
  }
  .inputwrap2 > dt:first-of-type{
    border-top:solid 1px #DCDDDE;
  }
  .inputwrap2 > dd{
    border-top:solid 1px #DCDDDE;
  }
}
.inputwrap2 > dt::after{
  right: 0;
  top:44px;
}
@media only screen and (max-width: 768px){
  .inputwrap2 > dt::after{
    top: calc(2.5vw + 15px);
  }
}
.inputwrap2 > dd{
  border-bottom:solid 1px #DCDDDE;
  padding-left:315px;
}
.inputwrap2 dt{
  font-weight: bold;
  line-height: 50px
}
.inputwrap2 dt input{
  font-weight: normal;
}
.inputwrap2 > dd:first-of-type{
  border-top:solid 1px #DCDDDE;
}
form textarea,
.inputwrap2 > dd > select,
.inputwrap2 > dd input{
  border:solid 1px #DCDDDE;
}
form textarea{
  height:180px;
}


@media only screen and (max-width: 768px){
  form textarea{
    width:100%;
  }

}
.inputwrap2 > dd > dl{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.inputwrap2 > dd > dl > dt{
  padding-right: 35px;
  padding-left:56px;
}
@media only screen and (max-width: 768px){
  .inputwrap2 > dd > dl > dt{
    width:30%;
    padding:0 0 0 2.5vw !important;
  }
  .inputwrap2 > dd > dl > dd{
    width:70%;
  }
  .inputwrap2 > dd > dl > dt:nth-of-type(n+1),
  .inputwrap2 > dd > dl > dd:nth-of-type(n+1){
    padding-top:2.5vw !important;
  }
  .inputwrap2 > dd > dl.mailadrdl > dt,
  .inputwrap2 > dd > dl.mailadrdl > dd{
    width: 100% !important;
    padding-left: 0 !important;
  }
  .inputwrap2 > dd > dl.mailadrdl > dt >input{
    width: 100%
  }
}
.inputwrap2 > dd > dl > dt:first-of-type{
  padding-left: 0;
}
.inputwrap2 > dd input[type="text"],
.inputwrap2 > dd dt input[type="email"]{
  line-height: 48px;
  padding:0 15px;
}
.inputwrap2 > dd input[type="text"]{
  width:120px;
}
.inputwrap2 > dd dt input[type="email"]{
  width:300px;
}
.inputwrap2 > dd dd p{
  line-height: 50px;
}
.inputwrap2 > dd > p {
  padding-top:16px;
  font-weight: bold;
}
.inputwrap2 > dd > p > span{
  font-weight: normal;
  padding-left:20px;
  display: block;
}



.buttons_wrap{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 56px 0;
}
.buttons_wrap p{
  width: 100%;
  padding-bottom:28px;
  text-align: center;
  font-weight: bold;
}
.buttons_wrap button{
  width:400px;
  line-height: 80px;
  color: #fff;
  background-color: #00159C;
  font-size: 24px;
  font-weight: bold;
  margin:0 20px;
  cursor: pointer;
}

.buttons_wrap button:hover{
  opacity: 0.6;
  webkit-transition: all 0.6s cubic-bezier(0.5, 0, 0, 1);
  -moz-transition: all 0.6s cubic-bezier(0.5, 0, 0, 1);
  -ms-transition: all 0.6s cubic-bezier(0.5, 0, 0, 1);
  -o-transition: all 0.6s cubic-bezier(0.5, 0, 0, 1);
  transition: all 0.6s cubic-bezier(0.5, 0, 0, 1);
}
@media only screen and (max-width: 768px){
  .buttons_wrap button {
    font-size: 18px;
    line-height: 45px;
    margin: 0.5em 0;
}
}


#confirm .contactbox {
  display: none;
}
#confirm .title {
  margin: 30px 0;
}
#confirm .products_title_wrapper ul.contact_list li:nth-of-type(2) span::before {
  background: #666666;
}
#confirm .check_area input,
#confirm .check_area input + label {
  display: none;
} 
#confirm .check_area input[checked="checked"] + label {
  display: inline-block;
}


#confirm input, 
#confirm optgroup, 
#confirm select, 
#confirm textarea {
  background: none;
  border: none;
  height: auto;
}


#thanks .title {
  margin: 30px 0;
}
#thanks .products_title_wrapper {
  padding: 0 0 100px;
}
#thanks #thanks_area  {
padding-bottom: 120px;
max-width: 1063px;
margin: 0 auto;
}
#thanks #thanks_area p {
  margin: 0 0 1em;
  }
#thanks #thanks_area a.btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-line-pack: center;
      align-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #00159c;
  color: #fff;
  border: 1px solid #00159c;
  padding: 18px;
  line-height: 2rem;
  margin: 60px auto 0;
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
  font-size: 20px;
  text-decoration: none;
  max-width: 360px;
  position: relative;
}
#thanks #thanks_area a.btn::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  background-color: rgba(255, 255, 255, 0.2);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#thanks #thanks_area a.btn:hover::before {
  width: 100%;
  height: 70px;
}
@media only screen and (max-width: 768px){
  #thanks .products_title_wrapper {
    padding: 0 0 50px;
  }
}