:root {
  --color-base: #D9E299;
  --color-sub: #849306;
  --color-point: #EF9426;
  --color-red: #c00;
  --color-lightgray: #E3E3E3;
}


/*---------------------------------
reset
---------------------------------*/
*{ margin:0; padding:0; box-sizing: border-box; }
a, a::before, a::after{ text-decoration: none; transition: .5s all; }
img{ width:100%; }
h1,h2,h3,h4,h5,h6 { font-size: 100%;}
ul ,li{ list-style-type:none; }

/* 
 * Always set the map height explicitly to define the size of the div element
 * that contains the map. 
 */
#map {
  height: 400px; /* The height is 400 pixels */
  width: 100%; /* The width is the width of the web page */
}



/*---------------------------------
layout
---------------------------------*/
/* 
 * Optional: Makes the sample page fill the window. 
 */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body{
  background-color: var(--color-base);
  color: #242424;
  font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  font-feature-settings: "palt";
  letter-spacing: .08em;
  line-height: 1.6;
}
main{
  padding:0 0 5px;
}
.main_v .pc{
  display: none;
}
.container{
  background-color: #fff;
  border-radius: 10px;
  filter: drop-shadow(0px 0px 7px rgba(131, 207, 81, 0.6));
  overflow: hidden;
  margin: 12px auto;
  width: calc( 100% - 24px);
  max-width: 520px;
  position: relative;
}

.inr{
  margin: 60px auto;
  width: 84%;
}
.present{
  background-color:#fff;
  position:relative;
  border: 3px solid #E66C4E;
  border-radius: 8px;
  padding: 30px 20px 20px;
  color: #E66C4E;
}
.present_ico{
  position:absolute;
  top: -35px;
  left: calc(50% - 27px);
  width: 55px;
  height: auto;
}
.present ul{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  -ms-flex-pack: distribute;
  -webkit-box-align: center;
  -ms-flex-align: center;
}
.present li {
  width: 95%;
  margin: 20px auto;
  max-width: initial;
  position: relative;
}
.present li .pre_num {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px 10px;
  color: #fff;
  background: #d7003a;
}
.pre_wrap{
  border: 1px solid #CCCCCC;
  width: 100%;
  height: 0;
  padding-bottom: 70%;
  overflow: hidden;
  position: relative;
}
.pre_wrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left 50% top 50%;
  position: absolute;
  top: 0;
  left: 0;
}
.li_ttl {
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
}
.li_des{
  color: #000;
}

h1{
  font-size: 140%;
}

.mt10{
  margin-top: 10px;
}
.mt20{
  margin-top: 20px;
}
.mt40{
  margin-top: 40px;
}
.mb20{
  margin-bottom: 20px;
}
.mb40{
  margin-bottom: 40px;
}
.bg_gray{
  background-color: #ACD03F;
}

/*---------------------------------
element
---------------------------------*/

.link{
  color: var(--color-point);
  text-decoration: underline;
}
.texta_c{
  text-align: center;
}
.fz140{
  font-size: 140%;
}
.fz120{
  font-size: 120%;
}
.fz90{
  font-size: 90%;
}
.f-bold{
  font-weight: bold;
}

/*---------------------------------
top
---------------------------------*/
section#caution{
  padding: 20px;
  border-radius: 10px;
}
.lead em{
  display: block;
  font-style: normal;
  color: var(--color-point);
}
.lead .wrapper{
  padding-bottom: 25px;
  border-bottom: 1px dotted #707070;
}
.about_ttl{
  background-color: #535353;
  color: #fff;
  text-align: center;
  padding: 7px 0;
  border-radius: 5px;
  position: relative;
}
.about_ttl:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #535353;
}
.about_content{
  background-color: #CCCCCC;
  padding: 30px 28px;
  margin-top: 36px;
}
.quiz_name{
  margin-top: 36px;
  font-weight: bold;
  text-align: center;
}
.t_red{
  color: #E66C4E;
}
.note{
  padding-bottom:30px;
}
.note p{
  color :#5a5a5a;
}
.contact p,
.contact h2,
.faq p{
  color: #353535;
}
section.way{
  padding-top: 40px;
}
section.way ol li{
  position: relative;
  background-color: #fff;
  padding: 20px 10px;
  border-radius: 5px;
}
section.way ol li .step + p{
  font-weight: bold;
  font-size: 110%;
  color: #5a5a5a;
}
section.way ol li .step{
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background-color: var(--color-point);
  padding: 13px;
  border-radius: 30px;
}
section.way ol li .step img{
  display: block;
  margin: auto;
  height: 100%;
  width: auto;
}
section.way ol li figure{
  width: 80%;
  max-width: 300px;
  margin: 0 auto;
}
.wrapper{
  margin: 0 auto;
  width: 90%;
}


/*---------------------------------
btn
---------------------------------*/
.btn{
  background-color:  var(--color-point);
  border-radius: 100px;
  color: #fff;
  display: block;
  font-size: 110%;
  margin: 0 auto 20px;
  padding: 16px 20px;
  text-align: center;
  width: 90%;
}
.btn_white{
  background-color: #fff;
  border: 3px solid  #E66C4E;
  color:  #E66C4E;
}
.btn_orange{
  background-color: #EF9426;
  color:  #fff;
}
.btn_worange{
  background-color: #fff;
  border: 3px solid  #EF9426;
  color:  #EF9426;
}
.btn_red{
  background-color: #E66C4E;
  border: 3px solid  #E66C4E;
  color:  #fff;
}

/*---------------------------------
faq
---------------------------------*/
.faq{
  padding: 60px 0;
  border-top: 1px dotted #707070;
}
.faq_sub_ttl{
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  margin: 20px 0 20px;
  padding: 10px 0;
}

.faq_list dt{
  color: var(--color-point);
  font-size: 120%;
  position: relative;
  padding-left: 12px;
}
.faq_list dt::before{
  content: '';
  display: block;
  height: 1px;
  width: 10px;
  background-color: var(--color-point);
  position: absolute;
  top: .7em;
  left: 0;
}
.faq_list dd{
  padding: 5px 0 20px 12px;
}
.faq_list dd:not(:last-child){
  border-bottom: solid 1px #e6e6e6;
  margin-bottom: 20px;
}
.faq_kome{
  background-color: var(--color-lightgray);
  border-radius: 6px;
  padding: 12px 12px;
  font-size: 90%;
  margin-top: 10px;
}
.faq_kome li{
	padding-left:1em;
	text-indent:-1em;
}

.btn_faq_list li{
  margin-bottom: 10px;
}
.btn_faq{
  display: flex;
  align-items: center;
  font-size: 85%;
  width: auto;
  color: #E66C4E;
}
.btn_faq::after{
  content: '';
  display: block;
  color: #E66C4E;
  width: 6px;
  height: 6px;
  margin-left: 5px;
  border: 1px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  transform: translateY(-25%) rotate(135deg);
}


/*---------------------------------
form
---------------------------------*/
.form label{
  color: #808080;
}

#msg ul{
  background-color: #ffe4e4;
  padding: 20px 20px 20px;
}
#msg ul::before{
  content: "入力エラー";
  color: var(--color-red);
  display: block;
  font-size: 110%;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}
#msg li{
  margin-top: 3px;
  position: relative;
  padding-left: 18px;
}
#msg li::before,
#msg li::after {
	content: "";
	position: absolute;
	top: .7em;
  left: 0;
	width: 16px;
	height: 3px;
	background-color: var(--color-red);
}
#msg li::before {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
#msg li::after {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}


/*reset*/
input,
button,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
  width: 100%;
}
input[type='number'] {
  min-width: 60px;
}
select {
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
  min-width: 60px;
}

textarea {
  min-height: 40px;
  max-height: 200px;
  resize: vertical;
}

.checkbox  {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type='submit'],
input[type='button'],
label,
button,
select {
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}
/* モーダルウィンドウ */
.modal-window,
.modal-window_login {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 77%;
  max-width: 300px;
  background-color: var(--color-base);
  border-radius: 5px;
  z-index: 11;
  padding: 30px 20px;
  text-align: center;
}
.modal-window_login .input_code{
  border-radius: 8px;
  border: 2px solid #CCCCCC;
  background-color: #fff;
  padding: 4px 10px;
}

/* 取得不可モーダルウィンドウ */
.modal-window_er {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 77%;
  max-width: 300px;
  background-color: var(--color-base);
  border-radius: 5px;
  z-index: 11;
  padding: 30px 20px;
  text-align: center;
}

.modal-window_er p{
  font-size: 20px;
  font-weight: bold;
}

.modal-window_er .erDes{
  font-size: 16px;
  font-weight: inherit;
}

.erMark{
  border-radius: 50%;
  background-color: #fff;
  text-align: center;
  width: 75px;
  height: 75px;
  line-height: 78px;
  margin: 15px auto;
  font-size: 50px;
  font-weight: bold;
  color: var(--color-base);
}

.user_cd{
  font-size: 25px;
  font-weight: bold;
  color: var(--color-red);
}

/* 閉じるボタン */
.button-close {
  width: 90%;
  padding: 16px 0;
  background-color: #535353;
  color: #fff;
  border-radius: 20rem;
}
/* オーバーレイ */
.overlay ,
.overlay_er{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  z-index: 10;
}

.caution{
  color: var(--color-sub);
  font-size: 120%;
  border: 1px solid;
  border-radius: 10px;
  padding: 10px;
}

@media screen and (min-width:600px) {
  .main_v .sp{
    display: none;
  }
  .main_v .pc{
    display: block;
  }
  .present li {
    width: 40%;
    max-width: 280px;
    margin: 25px 20px;
  }
  .container{
    max-width: 900px;
  }
  .wrapper ol{
    display: flex;
    justify-content: space-around;
  }
  .wrapper div{
    display: flex;
  }
  .wrapper div a{
    width: 45%;
  }
  .wrapper ol li{
    width: 45%;
  }
  ol .texta_c{
    margin-bottom: 10px;
  }
  .about_ttl{
    padding: 14px 0;
  }
  .btn_orange:hover,
  .btn_worange:hover,
  .btn_red:hover,
  .btn_white:hover{
    opacity: .6;
  }
  .btn,.button-close{
    width: 60%;
  }
  .modal-window, .modal-window_login{
    top: 15%;
    width: 77%;
    max-width: 450px;
    z-index: 11;
    padding: 30px 20px;
  }
}