@charset "utf-8";
/* background */
html {
  background-image: url("https://gakuensai.cloudfree.jp/materials/background/background.png");
  background-size: cover;
	background-repeat: repeat;
}

/* header */
header{
  z-index: 1;
  display: flex;
  position: fixed;
  top: 0;
  height: 30px;
  width: 100%;
  flex-flow: space-between;
  align-items: center;
}
.header_img {
  pointer-events: none;
}
.header_icon{
  position: absolute;
  height: 30px;
  top: 10px;
  left: 5px;
  transition: all 1s;
  z-index: 1;
}
#menuControl:checked~.header_icon{
  height: 50px;
}
#menuControl{
  display: none;
}
.openbtnWrap{
  position: absolute;
  height: 50px;
  width: 50px;
  border-radius: 5px;
  right: 15px;
  top: 10px;
  z-index: 1;
  background-color:#fff;
}
.openbtn1{
  position: relative;
  cursor: pointer;
  width: 50px;
  height:50px;
}
.openbtn1 span{
  display: inline-block;
  transition: all 1s;
  position: absolute;
  left: 14px;
  height: 2px;
  border-radius: 5px;
  background: #000;
  width: 22.5px;
}
.openbtn1 span:nth-of-type(1) {
  top:13px;	
}
.openbtn1 span:nth-of-type(2) {
  top:19px;
}
.openbtn1 span:nth-of-type(3) {
  top:25px;
}
.openbtn1 span:nth-of-type(4) {
  position: absolute;
  top:30px;
  left:12px;
  color: #000;
  font-size: 0.6rem;
  text-transform: uppercase;
  background: none;
  font-family: Arial, Helvetica, sans-serif;
}
.openbtn1 span:nth-of-type(5) {
  position: absolute;
  top: 30px;
  left: 65px;
  color: #000;
  font-size: 0.6rem;
  text-transform: uppercase;
  background: none;
  font-family: Arial, Helvetica, sans-serif;
}
.openbtn1.active span:nth-of-type(1) {
  top: 14px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 15px;
}
.openbtn1.active span:nth-of-type(2) {
  transform: rotate(180deg);
  opacity: 0;
}
.openbtn1.active span:nth-of-type(3){
  top: 26px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 15px;
}
.openbtn1.active span:nth-of-type(4) {
  transform: translateX(65px);
  top:30px;
  left:65px;
}
.openbtn1.active span:nth-of-type(5) {
  transform: translateX(5px);
  top: 30px;
  left: 5px;
}
.menuWrap{
  background-color: #fff;
  position: fixed;
  right: 0;
  bottom: 0;
  top: -100%;
  transition: all 1s;
  height: 100%;
  width: 100%;
  opacity: 0;
}
#menuControl:checked~.menuWrap{
  top: 0;
  opacity: 1;
}
.menuContent{
  position: absolute;
  top: 75px;
  width: 100%;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  text-align: center;
  align-items: center;
  overflow-y: scroll;
}
#menuWrapVisible,#menuVisible,#iconVisible{
  display: none;
}
.menu{
  position: relative;
  display: inline-block;
  top: 10px;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  opacity: 0;
  transition: all 1s .5s;
}
#menuVisible:checked~.menu{
  top: 0px;
  opacity: 1;
}
#menuBackground{
  position: absolute;
  margin: auto 0;
  bottom: -30%;
  right: 0%;
  top: 0%;
  left: 0;
  width: 100%;
  z-index: -1;
  display: none;
  opacity: 0;
  transition: all 1s;
}
#menuWrapVisible:checked~#menuBackground{
  opacity: .5;
}
.iconContainer{
  position: absolute;
  bottom: 25px;
  width: 250px;
  left: 50%;
  display: flex;
  justify-content: space-between;
  transform: translateX(-50%);
}
.xicon,
.instaicon{
  position: relative;
  opacity: 0;
  top: 10px;
  border-radius: 10px;
  margin: auto;
  width: 40px;
  height: 40px;
  transition: all 1s 1s;
}
#iconVisible:checked~.xicon{
  top: 0px;
  opacity: 1;
}#iconVisible:checked~.instaicon {
  top: 0px;
  opacity: 1;
}
.mainContent{
  position: absolute;
  top: 50px;
}
/* 本編 */
.question_example {
  padding-top: 2%;
}
.question_example>h1 {
  text-align: center;
  font-size: 1.5em;
}
.summary{
  height: 30em;
  margin-bottom: 2em;
}
.disclaimer {
  background-color: #F7F7F7;
  border-radius: 15px;
  padding: 2vw;
  margin-left: 5%;
  margin-right: 2.5%;
  border: solid 1px #aaa;
  margin-top: 1em;
  text-align: center;
}
.disclaimer>p {
  overflow-y: scroll;
  margin-top: 1em;
  margin-bottom: 1em;
  height: 22em;
}
.privacy_policy {
  background-color: #F7F7F7;
  border-radius: 15px;
  padding: 2vw;
  margin-right: 5%;
  margin-left: 2.5%;
  border: solid 1px #aaa;
  margin-top: 1em;
  text-align: center;
}
.privacy_policy_sentence {
  overflow-y: scroll;
  margin-top: 1em;
  margin-bottom: 1em;
  height: 22em;
}
@media screen and (min-width:481px) {
  /* PC */
  .summary {
    display:flex;
  }
  .summary>section {
    width: 50%;
  }
}
@media screen and (max-width:480px) {
	/* スマホ */
  .summary{
    height: fit-content;
  }
  .disclaimer{
    margin-right: 5%;
  }
  .privacy_policy{
    margin-left: 5%;
  }
  #contact tr td{
    width: 100%;
    display: block;
  }
}
#contact{
  width: 90%;
  margin: auto;
  border: none;
}
#contact tr td{
  vertical-align: top;
  padding: .5em;
  border: none;
}
#contact tr td:nth-of-type(1){
  width: 170px;
}
#contact tr td label::before{
  background-color: rgb(64, 179, 64);
  padding: 0 .2em;
  border-radius: .4em;
  font-size: .5em;
  color: #fff;
  content: "必須";
  vertical-align: text-top;
  margin-right: .5em;
}
#name,
#email,
#comment{
  box-sizing: border-box;
  width: 100%;
  border: solid 1px #aaa;
  appearance: none;
  background: #eaeaea;
}
.comment{
  min-height: 5em;
}
.submitButton{
  display: block;
  width: 100px;
  height: 50px;
  font-size: 1em;
  margin: 1em auto;
  border-radius: 10px;
  border: solid 1px #aaa;
  background-color: #666;
}
.submit{
  position: relative;
}
/* footer */
a {
  text-decoration: none;
}
a:link { /*アクセスしたことないリンク*/
  color:#000;
}
a:visited { /*アクセスしたことあるリンク*/
  color:#363636;
}
a:hover {/*マウスがいる*/
  color: #5f5f5f;
  text-decoration: underline;
}
a:active {/*クリック*/
  color:#ff0000;
}

.sns {
  text-align: center;
}

.sns_link {
  display: flex;
  justify-content: center;
  margin-top: 1%;
  margin-bottom: 1%;
}

.content {
  text-align: center;
}
.copy_and_rights {
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
}

.footer {
  width: 100%;
  background-image: url("https://gakuensai.cloudfree.jp/materials/main/book_big.png");
  background-size: cover;
	background-repeat: no-repeat;
}

@media screen and (min-width:481px) {
  /* PC */
  .sns>p {
    font-size: 3vw;
  }
  .footer_top_space {
    margin: 17vw;
  }
  .link {
    display: flex;
    margin-top: 10vh;
    margin-left: 30vw;
    margin-right: 20vw;
  }
  .link>div{
    width: 50%;
    font-size: clamp(2px, 2vw, 30px);
    text-align: justify;
  }
  .icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .logo>img{
    width: 15vw;
    height: auto;
  }
  .icon>div{
    margin-left: 5%;
    font-size: clamp(5px, 2vw, 40px);
    vertical-align: middle;
  }
  .x {
    width: 5%;
    margin-right: 10%;
    padding: 1vw;
  }
  .insta {
    width: 5%;
    padding: 1vw;
  }
}

@media screen and (max-width:480px) {
	/* スマホ */
  .content {
    font-size: 3vw;
  }
  .icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .logo>img{
    width: 20vw;
    height: auto;
  }
  .icon>div{
    margin-left: 5%;
    margin-right: 3%;
    font-size: clamp(5px, 3vw, 40px);
    vertical-align: middle;
  }
  .sns {
    font-size: 3vw;
  }
  .sns>p {
    font-size: 4vw;
  }
  .x {
    width: 10%;
    margin-right: 10%;
    padding: 1vw;
  }
  .insta {
    width: 10%;
    padding: 1vw;
  }
  .footer_top_space {
    margin: 15vw;
  }
  .link {
    font-size: 5vw;
    text-align: center;
  }
  .copy_and_rights {
    font-size: 3vw;
  }
}