@charset "UTF-8";
/* ===============================================================================
Body Setting
=============================================================================== */
html {
  font-size: 62.5%;
}
main {
  font-family: 'Helvetica','Arial',sans-serif;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
   -ms-text-size-adjust: 100%;
       text-size-adjust: 100%;
  line-height: 1.875;
  font-size: 1.6rem;
}
.spOnly{
  display: none;
}
@media screen and (max-width: 640px) {
  .pcOnly{
    display: none;
  }
  .spOnly{
    display: block;
  }
  br{
    display: none;
  }
  br.sp-br{
    display: block;
  }
}

/* a {
  text-decoration: none;
}

a:hover {
  opacity: 0.5;
  text-decoration: none;
} */
a[target=_blank]:after {
    font-family: "Hobonichi-Icons";
    content: "\e914";
    font-weight: normal;
    font-size: .8em;
    position: relative;
    top: -.2em;
}
img {
  vertical-align: top;
  max-width: 100%;
}
/* ===============================================================================
Header
=============================================================================== */
html.yokoku header[role="yokoku"]{
  margin-bottom: 0;
}
/* ===============================================================================
Main
=============================================================================== */
main{
  background: url(../img/bg_main.jpg);
}
.title{
  background: url(../img/bg_ttl.png);
  background-size: cover;
  height: 140px;
  position: relative;
  text-align: center;
}
.title h1{
  font-family: "Shuei MaruGo B",sans-serif;
  font-size: 2.5rem;
  line-height: 130px;
  position: relative;
  display: inline-block;
  background: url(../img/border-bottom_ttl.png) no-repeat;
  background-size: contain;
  background-position: -3px 84px;
  padding: 0 3px;
}
.title h1:before{
  content: "";
  display: block;
  background: url(../img/stamp_0801.png);
  background-size: contain;
  width: 125px;
  height: 120px;
  position: absolute;
  top: 10px;
  left: -160px;
}
.title h1:after{
  content: "";
  display: block;
  background: url(../img/img_start.png);
  background-size: contain;
  width: 97px;
  height: 90px;
  position: absolute;
  top: 20px;
  right: -100px;
}
.wrapper{
  padding: 10px 0 60px;
}
.wrapper h2{
  text-align: center;
  padding-bottom: 40px;
  max-width: 600px;
  margin: 0 auto;
}
.wrapper div{
  margin: 0 auto;
}
.wrapper .note{
  width: 600px;
  padding:0 1em;
  background: linear-gradient(#f2e4c7 1px, transparent 1px);
  background-size: auto 2.5em;
  line-height: 2.5em;
  overflow: hidden;
}

.wrapper .handwrite{
  max-width: 716px;
  padding: 15px 0 20px;
}
.wrapper .video{
  max-width: 700px;
  margin: 50px auto;
}
.wrapper .video div{
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.wrapper .video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.wrapper .note.right{
  text-align: right;
  padding-right: 1em;
}
.wrapper .note.book{
  position: relative;
}
.wrapper .note.book img{
  position: absolute;
  width: 207px;
  top: 10px;
  left: 230px;
}
.wrapper .border{
  max-width: 600px;
  padding-bottom: 10px;
}
.wrapper .border p{
  border-top: solid 1px #f2e4c7;
  width: 100%;
  margin: 0px auto;
  padding-top: 11px;
}
@media screen and (max-width: 768px) {
  .wrapper .note.book img {
    top: 10px;
    left: 40%;
  }
}
@media screen and (max-width: 640px) {
  .title{
    height: 100px;
    padding-top: 17px;
    text-align: left;
  }
  .title h1{
    width: 47%;
    margin-left: 26%;
    display: block;
    font-size: 107%;
    line-height: 185%;
    background: url(../img/border-bottom_ttl_sp.png) no-repeat;
    background-size: contain;
    padding-top: 5px;
    padding-left: 5px;
  }
  .title h1:before{
    width: 83px;
    height: 80px;
    top: -8px;
    left: -51%;
  }
  .title h1:after{
    width: 80px;
    height: 74px;
    top: -8px;
    right: -27%;
  }
  .wrapper {
    padding: 10px 10px 0;
  }
  .wrapper h2{
    padding-bottom: 30px;
    padding-left: 1em;
  }
  .wrapper .note{
    width: 100%;
  }
  .wrapper .handwrite {
    padding: 20px 0 40px;
  }
  .wrapper .border{
    padding-bottom: 40px;
  }
  .wrapper .note.book img {
    width: 65%;
    top: 10px;
    left: 25%;
  }
  .wrapper .video{
    margin: 20px auto 30px;
  }
}