/* style.css */

/*----------------------
base
----------------------*/
*, *::before, *::after {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

html {
    font-size: 62.5%;
    line-height: 1.75;
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    margin: 0 auto;
    height: 100%;
    color: #333;
    background-color:#eaeef9;
    background: url(./img/body.gif);
    font-size: 1.6rem;
    font-family: "Noto Sans JP";
    font-weight: 400;
    position: relative;
}

html, body {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.inner {
    max-width: 1000px;
    margin: 0 auto;
}


.bg-White,.bg-Winered,.bg-Gray,.bg-Gold {
    position: relative;
}

.bg-White::before,
.bg-Winered::before,
.bg-Gray::before,
.bg-Gold::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transform: skewY(-5deg);
    z-index: -1;
  }
.bg-Gray::before { background-color: #f0f0f0; }
.bg-Winered::before { background-color: #731e32; }
.bg-Gold::before { background-color: #f6eddf; }
.bg-White::before { background-color: #FFF; }

@media all and (-ms-high-contrast: none) {
    *::-ms-backdrop, .btn {
      padding: 環境に合わせ調整
    }
}

a { transition: .3s all; }
a:hover { transition: .3s all; }


a.btn {
    display: block;
    background-color: #731e32;
    font-size: 1.4rem;
    color: #FFF;
    border-radius: 40px;
    padding: 5px 20px;
}
a.btn:hover {
    background-color: #b79541;
}


i {
    padding: 0 5px 0 0;
    font-size: 110%;
}

p {
    text-align: justify;
}

section {
    padding: 60px 0;
}

section + section {
    padding: 50px 0;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.PC {
    display: block !important;
}
.SP {
    display: none !important;
}



/*----------------------
header
----------------------*/

header {
    position: fixed;
    top: -50px;  
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-size: 1.4rem;
    text-align: center;
    background-color: #FFF;
    box-sizing: border-box;
    transition: .5s;
    z-index: 99999999;
  }

header.is-show {
    top: 0;
  }

  nav{
    max-width: 1020px;
    display:flex;
    align-items:center;
    width:100%;
    margin:0 auto;
  }
  nav a {
    margin:0 10px;
    padding:0 10px;
    text-decoration:none;
    letter-spacing:.1em;
  }

 .navtitle{
    width:auto;
    margin-right:auto;
    margin-left:0;
  }

  .navtitle img {
    width: 100px;
    margin-bottom: 14px;
    margin-right: 10px;
  }

  .modal-open {
   margin-left: 10px;
   padding:0 40px;
   font-size:1.4rem;
   background-color: #731e32;
   color: #FFF;
   font-weight: 700;
   cursor: pointer;
   transition: .3s all;
 }

 .modal-open:hover {
    background-color: #b79541;
    transition: .3s all;
  }

#titlemv {
	position: relative;
	width: 100%;
    height: 600px;
    overflow: hidden;
    background: url(./img/titlemv_BG3.jpg) center top / cover no-repeat;
}




.mv-bg {
	-webkit-transform: translateX(-50%);
	left: 50%;
	max-height: initial;
	max-width: initial;
	min-height: 700px;
	min-width: 100%;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
    z-index: 1;
    opacity: .5;
}



.heroMessage {
	position: absolute;
    top:30px;
    left: 0;
	width: 100%;
	padding: 0;
	z-index: 2;
    text-align: center;
}


img.heroLogo {
    display: block;
    margin: 0 auto 30px auto;
    width: 150px;
}


img.heroTitle {
    display: block;
    max-width:700px;
    margin: 0 auto;
}

@media screen and ( max-width:768px) {
    #titlemv  {
        height: 400px;
        background: url(./img/titlemv_BG_sp.jpg) center top / cover no-repeat;
    }
    .mv-bg {
        min-height: 400px;
    }
    img.heroTitle {
        display: block;
        max-width:95%;
        margin: 0 auto;
    }
}

/*----------------------
内容
----------------------*/

#main {
    width: 100%;
    margin: 0 auto;
}

.inner {
    max-width: 1020px;
}

footer {
    margin-top: 50px;
    padding: 10px;
    text-align: center;
}

footer img {
    width: 100px;
}

/* PCでは改行を入れない */
br.sp-br {
    display: none;
}

/* スマホでは、この位置で改行する */
@media screen and (max-width: 768px) {
    br.sp-br {
        display: inline;
    }
}

@media screen and ( max-width:1020px) {

    #main {
        margin: 0 auto;
    }
       
    .inner {
        width: 97%;
        margin: 0 auto;
    }

}

  


@media screen and ( max-width:768px) {
    body {
        font-size: 1.4rem;
        line-height: 1.5;
    }


    #titlemv {
        padding-top:70%;
    }

    #main {
        margin: 0 auto;
    }

    .inner {
    }

    section + section {
        padding: 50px 0;
    }

    img.heroLogo {
        display: block;
        margin: 0 auto 60px auto;
        width: 20%;

    }
    .seminar_subtitle {
        width: 80%;
    } 
    img.seminar_title {
        max-width: 100%;
    }

    .heroMessage p {
        display: block;
        background-color: #FFF;
        position: absolute;
        rotate: -10deg;
        right: 5%;
        bottom:-5%;
        padding: 8px 10px;
        font-weight: 700;
        font-size: 1.6rem;
        color: #b79541;
        border-radius: 5px;
        box-shadow: 5px 5px 10px rgba(0,0,0,.4);
    }
    

    footer {
        margin-top: 20px;
        padding: 10px;
        text-align: center;
        /* border-top: 1px solid #CCC; */
    }
    
}
    


@media screen and ( max-width:545px) {

    nav{
        max-width: 1020px;
        display:flex;
        align-items:center;
        width:100%;
        margin:0 auto;
      }
      nav a {
        margin:0x;
        padding:0;
        letter-spacing:0;
        font-size: 1.2rem;
      }
    
     .navtitle{
        width:auto;
        margin-right:auto;
        margin-left:5px;
      }
    
      .navtitle img {
        width: 70px;
        margin-right: 0;
      }
    

    img.seminar_subtitle {
        width: 280px;
    } 
    img.seminar_title {
        width: 500px;
    }

    .heroMessage p {
        display: block;
        background-color: #FFF;
        position: absolute;
        rotate: -10deg;
        right: 5%;
        bottom:-30px;
        padding: 5px 8px;
        font-weight: 700;
        font-size: 1.4rem;
        color: #b79541;
        border-radius: 5px;
        box-shadow: 5px 5px 10px rgba(0,0,0,.4);
    }

      .modal-open {
       margin-left: 10px;
       padding:0 20px;
       font-size:1.2rem;
       background-color: #731e32;
       color: #FFF;
       font-weight: 700;
       cursor: pointer;
     }
    
     .modal-open:hover {
        background-color: #b79541;
      }
    



}