/*
Theme Name: dp-magjam-child
Version: 1.3.5.5
Template: dp-magjam
*/

/***** コンタクトフォーム *****/
.table-contactform7{
  overflow: hidden;
table-layout: fixed;
}
 
.required-contactform7{
  padding: 5px;
  background: #DE8686;
  color: #fff;
  border-radius: 3px;
  margin-right: 3px;
}
 
.unrequired-contactform7{
  padding: 5px;
  background: #BDBDBD;
  color: #fff;
  border-radius: 3px;
  margin-right: 3px;
}
 
.table-contactform7 th{
  font-weight:bold;
}
 
.table-contactform7 input,
.table-contactform7 textarea{
  max-width: 100% !important;
  margin: 5px 10px 10px 5px;
}
 
.address-100 input{
  max-width: 100% !important;
  margin: 5px 10px 10px 5px;
}
 
.message-100 textarea{
  width: 100%;
  margin: 5px 10px 10px 5px;
}
 
@media screen and (min-width: 900px){
  .table-contactform7 th{
    width:28%;
  }
    }
     
@media screen and (max-width: 900px){
.table-contactform7{
  display:block;
}     
       
  .table-contactform7 tbody,
  .table-contactform7 tr{
    display: block;
    width: 100%;
  }
  .table-contactform7 th{
  width:100%;
  display:block;
  margin: 0 auto;
  border:none;
}
.table-contactform7 td{
  display: list-item;
  list-style-type:none;
  margin:0;
  padding:0;
  width: 100%;
  border-top: none !important;
}



.gwaku
 {
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #2c2c2f;
    background: #cde4ff;/*背景色*/
}

.float
{
float:left;
width:200px;
height:150px;
background:#eeeeee;
}

.mwth
{
width:150px;
background-color:#e0d3d3;
}


.mwtd
{
width:150px;
background-color:#e0d3d3;
}

.mw_box {
  width: 76%;
  margin: 0 auto;
  background: #e6eae3;
  padding: 40px;
  margin-bottom: 30px;
}
.mw_box .mid {
  overflow: hidden;
  align-items: center;
  background: #3cb3e4;
  color: #fff;
  font-weight: 600;
  font-size: 1.6em;
  height: 50px;
  line-height: 40px;
  display: flex;
  margin: 0px 0 20px 0;
}
.mw_box .mid:before,
.mw_box .mid:after {
  content: "";
  flex: 1;
  background: #fff;
  padding: 3px 0;
  height: 0;
  transform: rotate(45deg);
  }
}
.f_box {
  width: 100%;
  margin: 0px 0 20px 0;
}
.f_box .s_box {
  width: 100%;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
}
.f_box_2 {
  width: 100%;
  margin: 0px 0 20px 0;
}
.f_box_2 .s_box {
  width: 100%;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
}
.f_box .tit {
  font-weight: 600;
  font-size: 1.4em;
  color: #3cb3e4;
}
.f_box_2 .tit {
  font-weight: 600;
  font-size: 1.4em;
  color: #3cb3e4;
}
.f_box input[type="text"],input[type="email"],select {
  font: 15px/24px sans-serif;
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0.3em;
  padding-left: 30px;
  transition: 0.3s;
  border: 1px solid #1b2538;
  border-radius: 4px;
  outline: none;
}
.f_box input[type="checkbox"] {
  border: 1px solid #1b2538;
  border-radius: 4px;
  outline: none;
}
.f_box textarea {
  font: 15px/24px sans-serif;
  box-sizing: border-box;
  width: 100%;
  height: 100px;
  margin: 0;
  padding: 0.3em;
  padding-left: 30px;
  transition: 0.3s;
  border: 1px solid #1b2538;
  border-radius: 4px;
  outline: none;
}
.sub_box {
  width: 20%;
  margin: 30px auto 0;
}
.sub_box input[type="submit"] {
  font: 15px/24px sans-serif;
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0.3em;
  text-align:center;
  transition: 0.3s;
  border: 1px solid #1b2538;
  border-radius: 4px;
  outline: none;
}
.f_box_2 input[type="text"] {
  font: 15px/24px sans-serif;
  box-sizing: border-box;
  width: 15%;
  height: 40px;
  margin: 0;
  padding: 0.3em;
  padding-left: 10px;
  transition: 0.3s;
  border: 1px solid #1b2538;
  border-radius: 4px;
  outline: none;
}
.f_box input:focus,select:focus,textarea:focus {
  border-color: #da3c41;
}
.f_box_2 input:focus {
  border-color: #da3c41;
}
.f_box .req {
  padding: 5px;
  background: #DE8686;
  color: #fff !important;
  border-radius: 3px;
  margin-right: 3px;
  font-weight: normal !important;
  font-size: 0.8em;
  margin-left: 8px;
  margin-bottom: 8px;
}
.f_box_2 .req {
  padding: 5px;
  background: #DE8686;
  color: #fff !important;
  border-radius: 3px;
  margin-right: 3px;
  font-weight: normal !important;
  font-size: 0.8em;
  margin-left: 8px;
  margin-bottom: 8px;
}
.kome {
  font-size: 0.8em !important;
  color: #b44c97 !important;
}

@media only screen and (min-width:0) and (max-width:480px){

.mw_box {
  width: 100%;
  margin: 0 auto;
  background: #e6eae3;
  padding: 10px;
  margin-bottom: 30px;
}
.sub_box {
  width: 50%;
  margin: 30px auto 0;
}
.f_box_2 input[type="text"] {
  font: 15px/24px sans-serif;
  box-sizing: border-box;
  width: 15%;
  height: 40px;
  margin: 0;
  padding: 0.3em;
  padding-left: 5px;
  transition: 0.3s;
  border: 1px solid #1b2538;
  border-radius: 4px;
  outline: none;
}
}
.loop-sec-header h1 {
    display: none;
}
.s_box span br {
    display: none;
}

