@charset "UTF-8";

/**************
reset css
**************/

html, body, div, span,
h1, h2, p, a, ol, ul, li {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	font-family: inherit;
	font-style: inherit;
	font-weight: inherit;
}

img {
	vertical-align: text-bottom;
	-ms-interpolation-mode: bicubic;
}

ol, ul {
	list-style: none;
}

a {
	-webkit-tap-highlight-color: transparent;
}

/**************
reset css end
***************/

body {
  background-image: url("../images/bg.jpg");
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.logo {
  max-width: 350px;
  width: 90%;
}

h1 {
  text-align: center;
  margin: 60px auto;
}

h2 {
  font-weight: 800;
  font-size: 1.7em;
  margin: 0 auto 30px auto;
  padding-bottom: 5px;
  border-bottom: 1px solid #009e96;
  line-height: .9;
  letter-spacing: .03em;
}

h2 .ttl_s {
  font-size: .6em;
  color: #009e96;
  position: relative;
  bottom: 4px;
  white-space: nowrap;
  padding-left: 15px;
}

.guidance {
  background-color: #f3f1ec;
	color: #555;
	width: 100%;
	margin: 0 auto 30px auto;
	padding: 30px;
	box-sizing:border-box;
  border-radius: 10px;
}

.guidance_ttl {
  display: inline-block;
  font-size: 1.3em;
  margin-bottom: 5px;
}

.main {
  max-width: 1100px;
	margin: 0 auto;
  padding: 0 30px;
  text-align: left;
	color: #555;
}

.sp_br {
  display: none;
}

ol {
  margin: 0 auto 0 20px;
}

.caution_ttl {
	font-size: 1.4em;
  margin-bottom: 5px;
}

.check_content {
  margin-top: 25px;
}

.agree_txt {
  font-size: 1.2em;
}

.agree_txt_s {
  font-size: .8em;
}

.agree {
  display: inline-block;
  margin-top: 5px;
  padding-bottom: 3px;
  background: linear-gradient(transparent 70%, #009e96 70%);
}

.check_txt iframe {
  width: 100%;
  height: 800px;
}

.check_txt {
  display:none;
  margin-top: 30px;
  transition: .5s;
}

input[type="checkbox"]:checked + .check_txt{
  display:block;
  transition: opacity 0.5s;
}

input[type="checkbox"] {
  border-radius: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

input[type="checkbox"] {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid #555;
  background-color: #fff;
  border-radius: 2px;
  vertical-align: -5px;
  margin: 0;
}

input[type="checkbox"]:checked:before {
  position: absolute;
  top: 0px;
  left: 5px;
  transform: rotate(50deg);
  width: 5px;
  height: 13px;
  border-right: 3px solid #009e96;
  border-bottom: 3px solid #009e96;
  content: '';
}

p.check_txt {
  display: none;
}
input[type="checkbox"]:checked + p.check_txt{
  display:block;
}

a.allergy_btn {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 10px 30px;
  background-color: #555;
  font-size: 1em;
  border-radius: 5px;
}

@media (hover: hover) {

  a.allergy_btn:hover {
   background-color: #009e96;
  }
  
}

#link_icon {
  position: relative;
  bottom: 2px;
}

/*-----------------------
footer
-----------------------*/

.wrapper {
  display: grid;
  grid-template-columns: 100%;
  min-height: 100vh;
}

footer {
  width: 100%;
  text-align: center;
  z-index: 1;
  margin-top: 80px;
  letter-spacing: .2em;
  display: block;
}

footer ul {
  margin: 0 auto;
  text-align: center;
  display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}

footer ul li {
  font-size: .9em;
  line-height: 1.4;
  padding: 0 20px;
}

footer ul li a {
  color: #555;
  text-decoration: none;
}

footer ul li + li {
  border-left: 1px solid #555;
}

@media (hover: hover) {

  footer ul li a:hover{
    color: #96928e;
  }
  
}

#copyright {
  font-size: 8px;
	color: #555;
	clear: both;
	text-align: center;
  padding: 30px 0 15px 0;
  letter-spacing: .2em;
}


@media only screen and (max-width: 768px) {
  
  footer ul {
    max-width: 400px;
    letter-spacing: 2px;
  }

  footer ul li {
    list-style-type: none;
    flex-grow: 1;
    text-align: center;
  }

 
}


@media only screen and (max-width: 480px) {
 
   h1 {
     margin: 50px auto 50px auto;
   }

   h2 {
     text-align: center;
     padding-bottom: 10px;
     line-height: 1.1em;
   }
  
  .sp_br {
    display: inline-block;
  }

   h2.ttl_s {
     padding-left: 0px;
     display: block;
     position: relative;
     bottom: 0;
   }

   .logo {
     max-width: 330px;
   }
  
  .agree {
     margin-top: 30px;
  }
  
  .check_txt {
     text-align: center;
  }
  
  a.allergy_btn {
     width: 100%;
     padding: 10px;
     box-sizing: border-box;
  }
  
  .check_txt iframe {
     width: 100%;
     height: 300px;
  }
  
  footer ul {
    max-width: 300px;
    letter-spacing: 2px;
  }
  
  footer ul li {
    padding: 0;
  }


}
