
/*
* cmn_layout.css
*
*/

body {
  font-family: 'Noto Sans JP',"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Arial, Helvetica, Verdana, sans-serif;
  -webkit-text-size-adjust: 100%;
  background: #fff;
  font-size: 16px;
  color: #000;
  text-align: center;
  line-height: 160%;
  word-wrap: break-word;
}


@media all and (-ms-high-contrast:none) {
  body {
    font-family: 'Noto Sans JP',"メイリオ",Meiryo,"游ゴシック",YuGothic,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック","MS PGothic",sans-serif;
  }
}


#wrapper,
#contents {
  position: relative;
  width: 100%;
  margin:0 auto;
  padding:0;
  overflow: hidden;
}

#contents {
  background-color: #EEECD8;
}

a{
  color: #000;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

/*よくある質問の表示・非表示*/
#qa .qa-q:before {
  display: block;
  content: "";
  position: absolute;
  top: 38px;
  right: 40px;
  width: 18px;
  height: 4px;
  background-color: #ED6D00;
  transition: .2s;
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
}

#qa .qa-q:after {
  display: block;
  content: "";
  position: absolute;
  top: 38px;
  right: 40px;
  width: 18px;
  height: 4px;
  background-color: #ED6D00;
  transition: .3s;
}

#qa .qa-q.on:before{
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
}

#qa .qa-q.on:after{
  background-color: transparent;
}

/*来場予約特典の表示・非表示*/
#present .open::before {
  display: block;
  content: "";
  position: absolute;
  top: 20px;
  right: 30px;
  width: 13px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 100vh;
  transition: .2s;
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
}

#present .open::after {
  display: block;
  content: "";
  position: absolute;
  top: 20px;
  right: 30px;
  width: 13px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 100vh;
  transition: .3s;
}

#present .open.on::before{
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
}

#present .open.on::after{
  background-color: transparent;
}

/*===============================================
●画面の横幅が667px以上(タブレット・PC)
===============================================*/
@media screen and (min-width: 667px) {

  #wrapper{
    min-width: 1160px;
  }

  /* !共通
  ---------------------------------------------------------- */
  .sp-only{
    display:none !important;
  }

  a:hover{
    opacity: 0.8;
  }

  .list-flex{
    display:-webkit-box !important;
    display:-moz-box !important;
    display:-ms-box !important;
    display:-webkit-flexbox !important;
    display:-moz-flexbox !important;
    display:-ms-flexbox !important;
    display:-webkit-flex !important;
    display:-moz-flex !important;
    display:-ms-flex !important;
    display:flex !important;
    -webkit-box-lines:multiple !important;
    -moz-box-lines:multiple !important;
    -webkit-flex-wrap:wrap !important;
    -moz-flex-wrap:wrap !important;
    -ms-flex-wrap:wrap !important;
    flex-wrap:wrap !important;
  }

  a {
    opacity: 1;
    filter: alpha(opacity=100);
    -ms-filter: "alpha(opacity=100)";
    zoom: 1;
    transition: opacity 0.5s ease;
  }

  /* メイン画像
  ---------------------------------------------------------- */
  header {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto;
    background-color: #EEECD8;
  }

  header>a.logo {
    display: block;
    position: absolute;
    z-index: 3;
    top: 20px;
    left: 20px;
    width: 7%;
  }

  header > h1 {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
  }

  header > div {
    position: absolute;
    z-index: 3;
    bottom: 25px;
    left: 0;
    right: 0;
    width: 50%;
    margin: 0 auto;
  }

  header > div > a {
    display: block;
    width: 48%;
    margin: 0 auto;
  }


  /* コンテンツ部分
  ---------------------------------------------------------- */

  /* box01 */
  #box01 {
    width: 960px;
    margin: 0 auto;
  }

  #box01 > div.btn {
    position: relative;
    width: 817px;
    margin: 0 auto;
  }

  #box01 > div.btn > a {
    display: block;
    width: 390px;
    margin: 0;
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
  }

  #box01 > div.btn > a:nth-of-type(2) {
    width: 407px;
    margin-left: 20px;
  }

  #box01 > div#toku{
    width: 554px;
    margin: 30px auto 0;
    padding: 30px 0 0 0;
  }

  #box01 > div#toku > img.txt {
    width: 554px;
    margin: 0 auto;
  }

  #box01 > div.link {
    justify-content: space-between;
    position: relative;
    width: 960px;
    margin: 45px auto 0;
  }

  #box01 > div.link > a {
    display: block;
    width: 227px;
  }

  /* course */
  .course {
    width: 100%;
    margin: 30px auto 0;
    padding: 30px 0 0 0;
  }

  .course > img.title{
    width: 100%;
    margin: 0 auto;
  }

  .course > img.txt{
    width: 960px;
    margin: 50px auto 0;
  }

  .course > img.detail{
    width: 960px;
    margin: 40px auto 0;
  }

  /* box02 */
  #box02 {
    width: 960px;
    margin: 40px auto 0;
  }

  #box02 > img.joken {
    width: 960px;
    margin: 0 auto;
  }

  #box02 > img.gentei {
    width: 710px;
    margin: 50px auto 0;
  }

  #box02 > img.btn-title {
    width: 441px;
    margin: 40px auto 0;
  }

  #box02 > a.btn {
    display: block;
    width: 500px;
    margin: 10px auto 0;
  }

  #box02 > a.btn > img {
    display: block;
    width: 500px;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.3));
  }

  /* box03 */
  #box03 {
    width: 100%;
    margin: 60px auto 0;
    padding: 50px 0 60px 0;
    background: url(../images/bg.webp) top center no-repeat;
    background-size: cover;
  }

  #box03 > img.title {
    width: 497px;
    margin: 0 auto;
  }

  #box03 > div {
    width: 799px;
    margin: 0px auto 0;

    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  #box03 > div > img.img01 {
    width: 319px;
    margin: 0;
  }

  #box03 > div > img.img02 {
    width: 450px;
    margin: 0 0 0 30px;
  }

  #box03 > img.img03 {
    width: 799px;
    margin: 45px auto 0;
  }

  #box03 > img.img04 {
    width: 960px;
    margin: 40px auto 0;
  }

  #box03 > img.btn-title {
    width: 441px;
    margin: 30px auto 0;
  }

  #box03 > a.btn {
    display: block;
    width: 500px;
    margin: 10px auto 0;
  }

  #box03 > a.btn > img {
    display: block;
    width: 500px;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.3));
  }

  /* qa */
  #qa {
    width: 100%;
    margin: 40px auto 0;
  }

  #qa > img.title {
    width: 304px;
    margin: 0 auto 20px;
  }

  #qa > div.box {
    position: relative;
    width: 960px;
    margin: 0 auto 20px;
    background-color: #ffffff;
    border-radius: 10px;
  }

  #qa > div.box > div:nth-of-type(1) {
    position: relative;
    width: 100%;
    padding: 25px 90px 25px 90px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    text-align: left;
    cursor: pointer;
  }

  #qa > div.box > div:nth-of-type(1) > img {
    position: absolute;
    top: 30px;
    left: 40px;
    width: 18px;
  }

  #qa > div.box > div:nth-of-type(2) {
    display: none;
    position: relative;
    width: 100%;
    padding: 25px 40px 30px 90px;
    font-size: 16px;
    text-align: left;
    background: url(../images/qa-line.webp) top center no-repeat;
    background-size: 880px;
  }

  #qa > div.box > div:nth-of-type(2) > img {
    position: absolute;
    top: 30px;
    left: 40px;
    width: 17px;
  }

  /* present */
  #present {
    width: 100%;
    margin: 40px auto 0;
    padding: 40px 0 80px 0;
  }

  #present > img.title {
    width: 699px;
    margin: 0 auto;
  }

  #present > img.present {
    width: 960px;
    margin: 55px auto 0;
  }

  #present > div.present_joken {
    position: relative;
    width: 650px;
    margin: 35px auto 0;
  }
  #present > div.present_joken > p{
    margin: 0 auto;
    font-size: 16px;
    font-weight: 700;
    color: #292526;
    line-height: 1.4;
  }
  #present > div.present_joken > div:nth-of-type(1) {
    position: relative;
    width: 100%;
    height: 40px;
    margin: 25px auto 0;
    padding: 8px 0 0 30px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
    background-color: #ED6D00;
    border-radius: 5px;
    cursor: pointer;
  }
  #present > div.present_joken > div:nth-of-type(2) {
    display: none;
    position: relative;
    width: 100%;
    margin: 15px auto 0;
    font-size: 12px;
    text-align: left;
  }


  /* フッター
  ----------------------------------------------------------*/
  footer {
    width: 100%;
    margin: 70px auto 0 auto;
    padding: 50px 0 0 0;
    border-top: #D6D6D6 1px solid;
  }

  footer > a {
    display: block;
    width: 443px;
    margin: 0 auto;
  }

  footer > a > img {
    width: 443px;
  }

  footer > div {
    width: 400px;
    margin: 40px auto 0 auto;
  }

  footer > div > div:nth-of-type(1) {
    width: 254px;
  }

  footer > div > div:nth-of-type(1) img {
    width: 254px;
  }

  footer > div > div:nth-of-type(2) {
    width: 130px;
    margin: 0 0 0 10px;
    font-size: 12px;
    text-align: left;
    line-height: 140%;
  }

  footer > p:nth-of-type(1) {
    margin: 10px 0 0 0;
    font-size: 14px;
  }

  footer > p:nth-of-type(2) {
    margin: 25px 0 0 0;
    font-size: 12px;
    line-height: 160%;
  }

  footer > p:nth-of-type(2) span {
    display: inline-block;
    margin: 0 5px;
  }

  footer > p.copyright {
    display: block;
    width: 100%;
    margin: 60px auto 0 auto;
    padding: 15px 0;
    font-size: 12px;
    color: #fff;
    background-color: #333333;
    line-height: 100%;
  }

  /* フォームへ
  ----------------------------------------------------------*/
  .gotoForm {
    display: none;
    position: fixed;
    top: 25%;
    right: 0;
    margin: auto;
    width: 68px;
    height: 240px;
    z-index: 999999;
  }

  .gotoForm > a {
    display: block;
    width: 68px;
    height: 240px;
  }

  .gotoForm > a:hover {
    opacity: 1;
  }

}


/*===============================================
●画面の横幅が666px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 666px) {

  /* !共通
  ---------------------------------------------------------- */
  .pc-only{
    display:none !important;
  }

  .sp-list-flex{
    display:-webkit-box !important;
    display:-moz-box !important;
    display:-ms-box !important;
    display:-webkit-flexbox !important;
    display:-moz-flexbox !important;
    display:-ms-flexbox !important;
    display:-webkit-flex !important;
    display:-moz-flex !important;
    display:-ms-flex !important;
    display:flex !important;
    -webkit-box-lines:multiple !important;
    -moz-box-lines:multiple !important;
    -webkit-flex-wrap:wrap !important;
    -moz-flex-wrap:wrap !important;
    -ms-flex-wrap:wrap !important;
    flex-wrap:wrap !important;
  }

  /*------------------------------------
  clearfix
  --------------------------------------*/
  .clearfix-sp {
    zoom:1;
    overflow:hidden;
  }
  .clearfix-sp:after {
    content: " ";
    display: block;
    visibility: hidden;
    clear: both;
    height: 0;
    line-height: 0;
  }

  /* メイン画像
  ---------------------------------------------------------- */
  header {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto;
  }

  header>a.logo {
    display: block;
    position: absolute;
    z-index: 3;
    top: 20px;
    right: 20px;
    width: 15%;
  }

  header > h1 {
    z-index: 2;
    width: 100%;
    margin: 0 auto;
  }

  /* box01 */
  #box01 {
    width: 100%;
    margin: 15px auto 0;
  }

  #box01 > div.btn {
    position: relative;
    width: 96%;
    margin: 0 auto;
  }

  #box01 > div.btn > a {
    display: block;
    width: 45%;
    margin: 0 auto;
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
  }

  #box01 > div#toku{
    width: 90%;
    margin: 10px auto 0;
    padding: 20px 0 0 0;
  }

  #box01 > div#toku > img.txt {
    width: 100%;
    margin: 0 auto;
  }

  #box01 > img.txt {
    width: 90%;
    margin: 30px auto 0;
  }

  #box01 > div.link {
    position: relative;
    width: 96%;
    margin: 15px auto 0;
  }

  #box01 > div.link > a {
    display: block;
    width: 50%;
    margin: 0 auto 10px;
  }

  /* course */
  .course {
    width: 100%;
    margin: 20px auto 0;
    padding: 20px 0 0 0;
  }

  #course-a {
    margin: 0 auto;
    padding: 0;
  }

  .course > img.title{
    width: 100%;
    margin: 0 auto;
  }

  .course > img.txt{
    width: 90%;
    margin: 20px auto 0;
  }

  .course > img.detail{
    width: 90%;
    margin: 20px auto 0;
  }

  #course-b > img.detail {
    margin: 30px auto 0;
  }

  /* box02 */
  #box02 {
    width: 100%;
    margin: 40px auto 0;
  }

  #box02 > img.joken {
    width: 90%;
    margin: 0 auto;
  }

  #box02 > img.gentei {
    width: 100%;
    margin: 35px auto 0;
  }

  #box02 > img.btn-title {
    width: 75%;
    margin: 35px auto 0;
  }

  #box02 a.btn {
    display: block;
    width: 85%;
    margin: 10px auto 0;
  }

  #box02 a.btn > img {
    display: block;
    width: 100%;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.3));
  }

  /* box03 */
  #box03 {
    width: 100%;
    margin: 40px auto 0;
    padding: 30px 0 40px 0;
    background: url(../images/bg_sp.webp) top center no-repeat;
    background-size: cover;
  }

  #box03 > img.title {
    width: 98%;
    margin: 0 auto;
  }

  #box03 > div {
    width: 100%;
    margin: 0 auto;
    padding: 0 0 0 5%;

    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  #box03 > div > a.img01 {
    display: block;
    width: 46%;
    margin: 0;
  }

  #box03 > div > img.img02 {
    width: 50%;
    margin: 0 0 0 4%;
  }

  #box03 > img.img03 {
    width: 90%;
    margin: 20px auto 0;
  }

  #box03 > img.img04 {
    width: 100%;
    margin: 40px auto 0;
  }

  #box03 > img.btn-title {
    width: 75%;
    margin: 50px auto 0;
  }

  #box03 > a.btn {
    display: block;
    width: 85%;
    margin: 10px auto 0;
  }

  #box03 > a.btn > img {
    display: block;
    width: 100%;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.3));
  }

 /* qa */
 #qa {
  width: 100%;
  margin: 30px auto 0;
 }

 #qa > img.title {
  width: 60%;
  margin: 0 auto 5px;
}

#qa > div.box {
  position: relative;
  width: 90%;
  margin: 0 auto 20px;
  background-color: #ffffff;
  border-radius: 10px;
}

#qa > div.box > div:nth-of-type(1) {
  position: relative;
  width: 100%;
  padding: 15px 50px 15px 40px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
}

#qa > div.box > div:nth-of-type(1) > img {
  position: absolute;
  top: 20px;
  left: 15px;
  width: 12px;
}

#qa > div.box > div:nth-of-type(2) {
  display: none;
  position: relative;
  width: 100%;
  padding: 20px 20px 20px 40px;
  font-size: 14px;
  text-align: left;
  background: url(../images/qa-line_sp.webp) top center no-repeat;
  background-size: 90%;
}

#qa > div.box > div:nth-of-type(2) > img {
  position: absolute;
  top: 25px;
  left: 15px;
  width: 11px;
}

/*よくある質問の表示・非表示*/
#qa .qa-q:before {
  top: 0;
  bottom: 0;
  right: 20px;
  width: 17px;
  height: 3px;
  margin: auto;
}

#qa .qa-q:after {
  top: 0;
  bottom: 0;
  right: 20px;
  width: 17px;
  height: 3px;
  margin: auto;
}

/* present */
#present {
  width: 100%;
  margin: 30px auto 0;
  padding: 30px 0 60px 0;
}

#present > img.title {
  width: 90%;
  margin: 0 auto;
}

#present > img.present {
  width: 90%;
  margin: 20px auto 0;
}

  #present > div.present_joken {
    position: relative;
    width: 90%;
    margin: 25px auto 0;
  }
  #present > div.present_joken > p{
    margin: 0 auto;
    font-size: 14px;
    font-weight: 700;
    color: #292526;
    line-height: 1.4;
  }
  #present > div.present_joken > div:nth-of-type(1) {
    position: relative;
    width: 100%;
    height: 40px;
    margin: 10px auto 0;
    padding: 8px 0 0 30px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
    background-color: #ED6D00;
    border-radius: 5px;
    cursor: pointer;
  }
  #present > div.present_joken > div:nth-of-type(2) {
    display: none;
    position: relative;
    width: 100%;
    margin: 15px auto 0;
    font-size: 12px;
    text-align: left;
  }

/* フッター
  ----------------------------------------------------------*/
  footer {
    width: 100%;
    margin: 10px auto 0 auto;
    padding: 50px 0 0 0;
    border-top: #D6D6D6 1px solid;
  }

  footer > a {
    display: block;
    width: 90%;
    max-width: 335px;
    margin: 0 auto;
  }

  footer > a > img {
    width: 100%;
  }

  footer > div {
    width: 80%;
    margin: 20px auto 0 auto;
  }

  footer > div > div:nth-of-type(1) {
    width: 100%;
  }

  footer > div > div:nth-of-type(1) img {
    width: 206px;
    margin: 0 auto;
  }

  footer > div > div:nth-of-type(2) {
    width: 100%;
    margin: 10px auto 0 auto;
    font-size: 15px;
    line-height: 160%;
  }

  footer > p:nth-of-type(1) {
    margin: 10px 0 0 0;
    font-size: 15px;
    line-height: 160%;
  }

  footer > p:nth-of-type(2) {
    margin: 30px 0 0 0;
    font-size: 12px;
    line-height: 100%;
  }

  footer > p:nth-of-type(2) span {
    display: block;
    margin: 0 auto 10px auto;
  }

  footer > p.copyright {
    display: block;
    width: 100%;
    margin: 40px auto 0 auto;
    padding: 15px 0;
    font-size: 10px;
    color: #fff;
    background-color: #333333;
    line-height: 100%;
  }

  /* フォームへ
  ----------------------------------------------------------*/
  .gotoForm {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 999999;
  }

  .gotoForm > a {
    display: block;
    width: 100%;
    margin: 0 auto;
  }

  .gotoForm > a:hover {
    opacity: 1;
  }


}


/*===============================================
●画面の横幅が360px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 360px) {



}



/* 終了対応 */
 .end-message{
  text-align: center;
  color: white;
  background: red;
  padding: 0.8rem;
  font-weight: bold;
}
.end-message>.sp{
  display: none;
}
@media screen and (max-width: 666px) {
  .end-message{
    padding: 0.5rem;
  }
  .end-message>.sp{
    display: block;
  }
}
