/* ヘッダー画像 */
body {
background: rgba(15,190,124,0.2)!important;
animation-name:fadeUpAnime;
animation-duration:1.0s;
animation-fill-mode:forwards;
}

.form-top {
    overflow: hidden;
    padding: 0px 25px 150px;
    background-size: contain;
}

/* ヘッダー文字消し */
h3.text-break{
display:none;
}

/* 背景画像 */
.form-bottom{
 background-color: transparent;
 text-align: center;
 margin-top: -15px;
}

/* 角丸枠 */
.form-editor{
 background-color: #ffffff;
 padding: 0px 5px;
 border-radius: 10px;
 margin-top: 20px;
}


/* ふわっと出るアニメーション */
@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(60px);
  }
  to {
    opacity: 1;
  transform: translateY(0);
  }
}


.container .description-md-title {
    background-color: #edac19;
}

/* 中見出し */


h4.description-md-title {
position: relative;
    padding: 1rem 2rem;
    color: #fff;
    border-radius: 30px;
    background: #edac19;
    font-size: 2rem;
    font-weight: bold;
    margin: 30px auto 30px;

}


h4.description-md-title:after {
  position: absolute;
  bottom: -9px;
  left: 2em;
  width: 0;
  height: 0;
  content: '';
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #edac19 transparent transparent transparent;
}


/* 小見出し */
h5{
    text-align: center;
    position: relative;
    margin: 0.5em auto;
    padding: 15px 35px 15px 25px;
    background-color: #edac19;
    border: 1px solid #ccc;
    box-shadow: 3px 3px 3px #acacac;
    font-weight: bold;
    color: #555555;
    font-size: 2.5rem;
    margin-bottom: 30px;
    margin-top: 30px;
}

h5::before {
 position: absolute;
 content: '';
 top: -15px;
 right: 10px;
 height: 55px;
 width: 15px;
 border: 3px solid #555555;
 background-color: none;
 border-radius: 12px;
 box-shadow: 1px 1px 2px #999;
 transform: rotate(10deg);
 z-index: 1;
}

h5::after {
 position: absolute;
 content: '';
 top: 0px;
 width: 10px; 
 right: 20px;
 border: solid 5px #f9be00; 
 z-index: 2;
}


/* フォーム項目 */
.control-label{
border-bottom:#edac19 solid 2px;
width:100%;
margin-bottom:20px;
}

.control-label:before{
content:"■";
font-size:0.8em;
margin-right:10px;
}

.form-group{
margin-bottom:30px;
width: 90%;
margin: auto;
}

/* テキストの行間 */
.text-break{
line-height: 1.8em;
text-align: left;
}

/* 画像 */
.description-image{
width: 100%;
padding-top: 30px;
padding-bottom: 30px;
}


/* 必須項目 */
.label-danger{
  background-color: #0fbe7c;
  font-size: 0.7em;
  font-weight:bold;
}

/* 補足文 */
.help-block{
  text-align: right;
}
	

.col-sm-6{
width: 100%;
}

.col-sm-8{
width: 100%;
}

/*ラジオボタンがチェックされた時の外側の円の色指定*/
.radio input[type=radio]:checked:after{
border-color:#edac19;　/*←ここのカラーコードを変える*/
}
/*ラジオボタンがチェックされた時の中央の円の色指定*/
.radio input[type=radio]:before {
background-color:#edac19;　/*←ここのカラーコードを変える*/
}

/*チェックボックスがチェックされた時の色指定*/
.checkbox-inline input[type=checkbox]:checked:after, .checkbox input[type=checkbox]:checked:after, input[type=checkbox]:checked:after {
background-color:#edac19;　/*←ここのカラーコードを変える*/
}
/*チェックボックスがチェックされた時の色指定*/
.checkbox-inline input[type=checkbox]:checked:after, .checkbox input[type=checkbox]:checked:after, input[type=checkbox]:checked:after {
border-color:#edac19 !important;　/*←ここのカラーコードを変える*/
}


/*ラジオボタンやチェックボタンがチェックされた時のテキストの色指定*/
.has-success .checkbox, .has-success .checkbox-inline, .has-success.checkbox-inline label, .has-success.checkbox label, .has-success .control-label, .has-success .help-block, .has-success .radio, .has-success .radio-inline, .has-success.radio-inline label, .has-success.radio label{
color:#0fbe7c !important;
}

/*テキストボックスがアクティブな状態の色指定*/
.form-control:focus{border-color:#0fbe7c; outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(100,100,50,.6)}

/*その他のテキストボックスがアクティブな状態の色指定*/
.has-success .form-control{border-color:#edac19; outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(100,100,50,.6)}
.has-success .form-control:focus{border-color:#edac19; outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(100,100,50,.6)}

/* 送信ボタン */
.btn {
    position: relative;
    display: block;
    width: 85%;
    height: auto;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background-color: #edac19;
    border:#edac19 thin solid;
    border-radius: 30px;
    overflow: hidden;
    margin:0 auto 40px !important;
    font-size: 2rem;
    letter-spacing: 0.2rem;
font-weight: bold;
}

.btn::after {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 50px;
    height: 50px;
    background-image: linear-gradient(100deg,  rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 1) 100%, rgba(255, 255, 255, 0) 0%);
    /* アニメーション */
    animation-name: shiny;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* キラッと光るアニメーション */
@keyframes shiny {
    0% {
        transform: scale(0) rotate(25deg);
        opacity: 0;
    }

    50% {
        transform: scale(1) rotate(25deg);
        opacity: 1;
    }

    100% {
        transform: scale(50) rotate(25deg);
        opacity: 0;
    }
}

/* ラジオボタンの選択肢の文字を太くする */
label.text-break {
font-weight: 600;
}

.help-block.help-error {
    font-weight: 700;
    color: #edac19;
}
.has-error .form-control {
    border-color: #edac19;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}

label.text-break {
    font-weight: 600;
    color: #666;
text-align: left;
}

.checkbox, .radio {
    position: relative;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: left;
}
/* レスポンシブ背景サイズ調整 */
@media screen and (max-width:767px){

.form-editor div:first-child .form-group .col-sm-12 { 
    padding-right: 0px;
    padding-left: 0px;
}
.form-bottom {
    padding-bottom: 25px;
    padding-top: 10px;
}

.form-top {
overflow: hidden;
    padding: 0 25px 25px;
    background-size: cover;
}
}