@charset "UTF-8";
/*
---------------------------------------
    common style
---------------------------------------
*/

* {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height:1.7;
}




/* init / utility
--------------------------------------- */
* a {
  color: #256fa7;
}
a img:hover {
  opacity: .7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)"; 
  -ms-transition: opacity 0.2s ease-out;
  transition: opacity 0.2s ease-out;
  text-decoration: none;   
}
em { font-weight: bold;}


.ov {
  -ms-transition: opacity 0.2s ease-out;
  transition: opacity 0.2s ease-out;
  text-decoration: none; 
}

.ov:hover {
  opacity: .7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)"; 
}

.cf:after {
  content: "";
  display: block;
  clear: both;
} 
.cf:before {
  content: "";
  display: block;
  clear: both;
} 
.cf {
  display: block;
}

.btn {
    padding: 0.3em 0.6em;
    line-height: 1.3;
}

.alC { text-align: center; }
.alR { text-align: right; }
.ma { margin-left: auto; margin-right: auto;}
.bold { font-weight: bold;}
.crimson { color: crimson; }

@media screen and (min-width: 961px) {
    
    .p20 { padding: 20px; }
    
    .mb10 { margin-bottom: 10px;}
    .mb20 { margin-bottom: 20px;}
    .mb30 { margin-bottom: 30px;}
    .mb50 { margin-bottom: 50px;}
    .mb70 { margin-bottom: 70px;}
    .mb90 { margin-bottom: 90px;}

    .pt10 { padding-top: 10px;}
    .pt20 { padding-top: 20px;}
    .pt30 { padding-top: 30px;}
    .pt40 { padding-top: 40px;}
    .pt50 { padding-top: 50px;}
    .pt90 { padding-top: 90px;}
    .pt200 { padding-top: 200px;}

    .pb10 { padding-bottom: 10px;}
    .pb20 { padding-bottom: 20px;}
    .pb30 { padding-bottom: 30px;}
    .pb50 { padding-bottom: 50px;}
    .pb70 { padding-bottom: 70px;}
    .pb90 { padding-bottom: 90px;}

    .pl10 { padding-left: 10px;}
    .pl20 { padding-left: 20px;}
    .pl30 { padding-left: 30px;}
    .pl40 { padding-left: 40px;}
    .pl50 { padding-left: 50px;}
    .pl100 { padding-left: 100px;}
    .pl150 { padding-left: 150px;}
    
    .pr10 { padding-right: 10px;}
    .pr20 { padding-right: 20px;}
    .pr30 { padding-right: 30px;}
    .pr40 { padding-right: 40px;}
    .pr50 { padding-right: 50px;}
}




/* parts
--------------------------------------- */


.pagetop {
  position: fixed;
  right: 30px;
  bottom: 30px;
  visibility: hidden;
  opacity: 0;
  -ms-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  z-index: 150; 
}
.pagetop.active {
    visibility: visible;
    opacity: 1; 
}
@media screen and (max-width: 960px) {
    .pagetop {
      width: 13vw;
      right: 3vw;
      bottom: 3vw;
    }
}





@media screen and (min-width: 961px) {
      .pc {
        display: block; 
    }

      .pcImg {
        display: inline-block; 
    }

      .sp {
        display: none !important; 
    }

      .spImg {
        display: none; 
    }
    .pc-100 { width: 100%; }
    .pc-90 { width: 90%; }
    .pc-80 { width: 80%; }
    .pc-70 { width: 70%;}
    .pc-60 { width: 60%; }
    .pc-50 { width: 50%; }
    .pc-40 { width: 40%; }
    .pc-30 { width: 30%; }
    .pc-20 { width: 20%; }    
}
@media screen and (max-width: 960px) {
      .sp {
        display: block; 
    }
      .spImg {
        display: inline-block; 
    }
      .pc {
        display: none; 
    }

      .pcImg {
        display: none; 
    }
    .sp-100 { width: 100%; margin: 0 auto;}
    .sp-90 { width: 90%; margin: 0 auto;}
    .sp-80 { width: 80%; margin: 0 auto;}
    .sp-70 { width: 70%; margin: 0 auto;}
    .sp-60 { width: 60%; margin: 0 auto;}
    .sp-50 { width: 50%; margin: 0 auto;}
    .sp-40 { width: 40%; margin: 0 auto;}
    .sp-30 { width: 30%; margin: 0 auto;}
    .sp-20 { width: 20%; margin: 0 auto;}

    #btnSubmit,
    #btnConfirm {
        display: block;
        margin: 0 auto;
    }

}






/* wrapper
--------------------------------------- */

#wrapper {
    width: 100%;
    color: #322825;
    background: url(../img/bg_top1.png?v=1) top center no-repeat; 
}
body.p-sub #wrapper {
    background: url(../img/bg_sub1.png?v=1) top center repeat-y; 
}

#header-top-bg {
    position: absolute;
    top:0;
    width: 100%;
    height: 346px;
    text-align: center;
}
#header-top-bg{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:346px;
    text-align:center;
    overflow:hidden;
    pointer-events:none;
}
#header-top-bg img{
    position:absolute;
    top:0;
    left:50%;
    max-width:none;
    transform:translateX(-50%);
    filter:drop-shadow(0 3px 4px rgba(0,0,0,.1));
}





@media screen and (max-width: 960px) {
    #wrapper {
        min-width: auto;
        background-image: none;
        background-color: #FFC3CE;
    }
}


#wrapper .kv_area {
    position:sticky;
    top:0;
    z-index:5000;
}


#wrapper .kv_area > .inner {
    width: 1160px;
    margin: 0 auto;
    position: relative; 
}
@media screen and (max-width: 960px) {
    #wrapper .kv_area > .inner {
        width: 100%;
        background: none;
        height: auto; 
    }
}

#wrapper .main_contents {
    padding-bottom: 5em;
}
@media screen and (max-width: 960px) {
    #wrapper .main_contents {
        padding:  0 3vw 6vw 3vw;
        background-size:cover;
    }
}
#wrapper .main_contents > .inner {
    width: 1160px;
    margin: 0 auto;
    position: relative; 
}
body.p-sub #wrapper .main_contents > .inner {
    height: auto;
}
@media screen and (max-width: 960px) {
    #wrapper .main_contents > .inner {
        width: 100%;
        height: auto; 
        padding-top: 0px;
    }
}




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

header {
    position: relative;
    z-index: 1;
    width: 1160px;
    height: 160px;
    margin: 0 auto;
    font-size: 0; 
}
header #logo {
    padding: 5px 0 0 0;
    text-align: center;
}
header #logo img {
    display: inline-block;
}
@media screen and (max-width: 960px) {
    header {
        position: relative;
        width: 100%;
        height: 63vw !important;
        padding: 0;
        z-index: 1000; 
    }
}



/* HAM
--------------------------------------- */

#hamburger{
    position:absolute;
    top:30px;
    left:30px;

    width:60px;
    height:60px;

    border:none;
    background:none;
    cursor:pointer;

    z-index:3000;
}

#hamburger span{
    display:block;
    width:36px;
    height:4px;
    margin:7px auto;
    border-radius:999px;

    background:#fff;

    transition:.3s;
}
@media (max-width:960px){

    #hamburger{
        position:fixed;
        top:5px;
        left:5px;

        width:50px;
        height:50px;
    }

    #hamburger span{
        width:30px;
        height:3px;
    }

}
#menu-overlay{

    position:fixed;
    inset:0;

    background:rgba(0,0,0,.5);

    opacity:0;
    visibility:hidden;

    transition:.3s;

    z-index:1990;
}
#side-menu{
    position:fixed;
    top:0;
    right:0;
    width:420px;
    max-width:90vw;
    height:100vh;
    background:#fff;
    overflow-y:auto;
    transform:translate3d(100%,0,0);
    transition:transform .35s ease;
    z-index:6000;
    box-shadow:-10px 0 30px rgba(0,0,0,.15);
    visibility:hidden;
}
body.menu-open #side-menu{
    transform:translate3d(0,0,0);
    visibility:visible;
}
body.menu-open #menu-overlay{
    opacity:1;
    visibility:visible;
}
body.menu-open{
    overflow:hidden;
}

/* 開いたとき：ハンバーガーを×にする */
body.menu-open #hamburger span:nth-child(1){
    transform: translateY(11px) rotate(45deg);
}
body.menu-open #hamburger span:nth-child(2){
    opacity:0;
}
body.menu-open #hamburger span:nth-child(3){
    transform: translateY(-11px) rotate(-45deg);
}
@media (max-width:960px){
    body.menu-open #hamburger span:nth-child(1){
        transform: translateY(10px) rotate(45deg);
    }
    body.menu-open #hamburger span:nth-child(3){
        transform: translateY(-10px) rotate(-45deg);
    }
}




.menu-header{
    display:flex;
    justify-content:flex-end;
    padding:20px;
}
.menu-close{
    border:none;
    background:none;
    font-size:40px;
    cursor:pointer;
}
#side-menu .ham-link{
    margin:0;
    padding:20px;
    list-style:none;
}
#side-menu .ham-link li{
    border-bottom:1px solid #eee;
}
#side-menu .ham-link a{
    display:block;
    padding:12px 10px;
    color:#333;
    font-size:18px;
    text-decoration:none;
    transition:.2s;
}
#side-menu .ham-link a:hover{
    background:#f8f8f8;
}







/* ヘッダ右エリア
--------------------------------------- */

.header-right{
    position:absolute;
    top:15px;
    right:30px;

    display:flex;
    align-items:center;
    gap:10px;

    z-index:100;
}

.header-instagram img{
    width:60px;
    height:60px;
    display:block;
}
.header-banner img{
    height:40px;
    display:block;
}
@media (max-width:960px){
    .header-right{
        position:fixed;
        top:5px;
        right:8px;
        z-index:3000;

        display:flex;
        flex-direction:column;
        align-items:flex-end;
        gap:3px;
    }
    .header-instagram img{
        width:10vw;
        height:10vw;
    }
    .header-banner img{
        height:6vw;
    }
}




/* nav
--------------------------------------- */

/* 親ナビ */
.global-nav ul {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.global-nav ul li a {
  display: block;
  padding: 0.2em 1em;
  color: #782A16;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  transition: 0.2s;
}

.global-nav ul li.active a {
  background: #782A16;
  color: #fff;
}

.global-nav ul li a:hover {
  background: #f0e6dd;
}

.global-nav ul li.active a:hover {
  background: #782A16;
}

/* サブナビ*/

/* サブナビの上の三角 */
.sub-nav::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 30%; /* 三角の位置 */
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #ffd3db; 
}
body.p-admission .sub-nav::before { left: 46%; }
body.p-course .sub-nav::before { left: 66%; }

.sub-nav {
  margin-top: 20px;
  position: relative; 
}
.sub-nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0 2em;
  padding: 0.5em 0;
  justify-content: center;
  background: #ffd3db;
  border-radius: 999px;
}
.sub-nav ul li a {
  display: block;
  padding: 0 0.2em;
  border-bottom: solid 3px #fff;
  color: #782A16;
  text-decoration: none;
  font-size: 84%;
  line-height: 170%;
  transition: 0.2s;
}

.sub-nav ul li.active a {
  border-bottom-color: #782A16;
}

.sub-nav ul li a:hover {
  border-bottom-color: #782A16;
}











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

#access {
    width: 1460px;
    margin:  0 auto 50px;
    text-align: center;
    font-size: 2.5rem;
}

footer {
    padding: 50px 0;
    background:#FF5380;
}
footer .in {
    width: 1000px;
    margin:  0 auto;
    color: #fff;
}
footer .left {
    width: 48%;
    height: 160px;
    float: left;
    padding-left: 2em;
    border-left: solid #eee 8px;
    font-size: 1.6rem;    
}
footer .left .top {
    line-height: 2em;
    margin-bottom: 20px;
}
footer .left .top h2 {
    font-size: 3.7rem; 
}
footer .left .bottom {
}
footer .right {
    width: 48%;
    height: 160px;
    float: right;
    padding-left: 2em;
    border-left: solid #eee 8px;
    font-size: 1.7rem;    
}
footer .right li {
    display: inline-block;
    width: 40%;
    margin:  0 5% 0.3em 0; 
}
footer .right li a {
    color: #fff;
}
#copy {
    padding: 3em 0 0 0;
    letter-spacing: 1px;
    text-align: center;
    color: #fff;
}
@media screen and (max-width: 960px) {

    #access {
        width: 100%;
    }
    footer a {
        color: #fff;
        text-decoration: underline;
    }
    footer .in {
        width: 100%;
        padding: 0 5vw;
    }
    footer .left {
        width: 100%;
        height: auto;
        float: none;
        margin-bottom: 5vw;
    }
    footer .right {
        width: 100%;
        height: auto;
        float: none;   
    }
    footer .right li {
        width: 40%;
        margin:  0 5% 0 0; 
    }
}




/* ▼セクション共通
------------------------------------- */

section {
    width: 80%;
    margin:  0 auto;
    padding: 2em 0 3em;
    font-size: 2.1rem;
    line-height: 170%;
}
.inner > section {
    padding-bottom: 1em; /* nav container */
}
section h2 {/* ttl-image */
    text-align: center;
}
section h3 { 
    display: block;
    width: 90%;
    margin:  0 auto 1em;
    padding: 0.75em;
    border: dashed 2px #FFC3CE;
    background: #ff7799;
    color: #fff;
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
}
section h4 { 
    display: block;
    width: 95%;
    margin:  0 auto 1em;
    padding: 0.5em 0;
    border-bottom: dashed 3px #fff;
    color: #FF5380;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
}
section p {
    margin-bottom: 1em;
    padding: 1em;
}
section p.em { 
    color: #F52B74;
    font-weight: bold;
}
section img.shadow {
    box-shadow: 0 0 6px 6px rgba(0, 0, 0, 0.05);
}
section .left {
    float: left;
}
section .right {
    float: right;
}
section .t-wrapper{
    width: 60%;
    margin:  0 auto;
    padding: 2em;
}
section table { 
    width: 100%;
}
section table th {
    padding: 0.5em 1.5em;
    font-weight: bold;
    text-align: right;
    vertical-align: middle;
}
section table td {
    padding: 0.5em;
    text-align: left;
}

a.btn {
    display: inline-block;
    width: 80%;
    margin-bottom: 30px; 
    padding: 0.5em 1em; 
    background: #fff;
    font-size: 2.4rem; 
    border: solid 1px #256fa7; 
    border-left-width: 10px;
    font-weight: 500;
}
a.btn:hover {
    color: #fff;
    background: #256fa7; 
}


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

    section {
        width: 100%;
        margin:  2em auto;
        padding: 2em 0;
        font-size: 4vw;
    }
    section:nth-child(1) { margin-top: 0 !important; }
    section .left {
        float: none;
    }
    section .right {
        float: none;
    }
    section h2 { 
    }
    section p {
    }
    section p img {
        width: 100%;
    }    
    section .t-wrapper{
        width: 100% !important;
        margin:  5em auto 0;
        padding: 0;
    }
    section table th {
        display: block;
        width:100% !important;
        padding: 0.5em !important;
        text-align: left;
        background: #eee;
        border: none !important;
    }
    section table th br {
        display: none;
    }
    section table td {
        display: block;
        width:100% !important;
        padding: 0.5em !important;
        border: none !important;
        margin-bottom: 1em;
    }    
}







/*
#########################################

    レスポンシブ

#########################################
*/



@media screen and (max-width:960px){
    body{
        overflow-x:hidden;
    }
    #header-top-bg{
        height:34vw;
    }
    #header-top-bg img{
        width:240vw;
        max-width:none;
    }
    header{
        height:16vw !important;
        min-height:120px;
    }
    header #logo{
        padding-top:5px;
    }
    header #logo img{
        width:42vw;
        max-width:200px;
        height:auto;
    }

    .global-nav{
        display:block;
        margin-bottom:10px;
    }
    .global-nav ul{
        gap:6px;
        flex-wrap:wrap;
    }
    .global-nav ul li{
        width:calc(50% - 5px);
    }
    .global-nav ul li:nth-child(5){
        display: none; /*お問い合わせはスマホ隠す*/
    }
    .global-nav ul li a{
        padding:8px 4px;
        font-size:3.4vw;
        text-align:center;
        border: solid 1px #782A16;
        background: #fafafa;
    }


    .sub-nav{
        margin-top:10px;
    }
    .sub-nav::before {
        display: none;
    }
    .sub-nav ul{
        display: block;
        margin: 0;
        padding:8px;
        background: none;
        text-align: center;
    }
    .sub-nav ul li{
        width:calc(50% - 16px);
        display: inline-block;
        margin: 5px;
    }
    .sub-nav ul li a{
        padding:4px 0;
        font-size:3.7vw;
        line-height:1.3;
    }

    section{
        margin:0 auto 8vw;
        padding:0;
        font-size:4.2vw;
    }
    .inner > section{
        padding-bottom:5vw;
        margin-bottom: 0;
    }
    section h2{
        margin:3vw auto 2vw;
    }
    section h2 img{
        max-width:100%;
        height:auto;
    }
    section h3{
        width:100%;
        padding:0.7em;
        font-size:5vw;
        line-height:1.5;
        box-sizing:border-box;
    }
    section h4{
        width:100%;
        font-size:4.8vw;
        line-height:1.5;
        box-sizing:border-box;
    }
    section p{
        margin: 1em 0;
        padding:0;
        font-size:4.2vw;
        line-height:1.8;
    }
    a.btn {
        width: 100%;
        padding: 0.5em;
        font-size: 3.8vw;
    }
    .kiji1{
        width:100% !important;
        margin:0 auto 8vw !important;
        padding:0 !important;
        box-sizing:border-box;
    }
    .kiji1 img{
        max-width:100%;
        height:auto;
    }
    footer{
        padding:10vw 0 8vw;
    }
    footer .in{
        box-sizing:border-box;
    }
    footer .left,
    footer .right{
        padding-left:4vw;
        box-sizing:border-box;
        font-size:4vw;
    }
    footer .left h2{
        margin:0.2em 0;
        font-size:7vw;
    }
    footer .right ul{
        margin:0;
        padding:0;
    }
    footer .right li{
        width:48%;
        margin:0 0 2vw;
        font-size:3.8vw;
    }
    #copy{
        padding-top:8vw;
        font-size:3.4vw;
    }
}







