@charset "utf-8";

/* ----------------------------------------
	pc
---------------------------------------- */
body{
    scroll-padding-top: 1.5em;
    }

#container {
    background: url(../img/bk.jpg) no-repeat ;
    background-size: cover;
}

#main{
    width: 1020px;
    margin: auto;
    max-width: 100%;
}

#main_bg {
    background: url(../img/main.png) no-repeat;
    background-position: center center;
    background-size: contain;
    height: 70vh; /* 必要に応じて適切な高さを指定 */
}

h2{
    text-align: center;
    font-size: 30px;
    line-height: 2.5rem;
}

h3{
    text-align: center;
    font-size: 20px;
    margin: 2rem 0;
}

.note {
    margin-bottom: 20px;
}

button {
    display: block;
    margin: auto;
    background: none;
    border: none;
}

/* 背景用*/

.btn,
a.btn {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1rem 4rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
}

a.btn-border-shadow {
    padding: calc(1rem - 12px) 3rem 1rem;
    background: #fff;
}

a.btn-border-shadow:before {
    position: absolute;
    top: -6px;
    left: -6px;

    width: 100%;
    height: 100%;

    content: "";
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;

    border: 3px solid #000;
    border-radius: 0.5rem;
}

a.btn-border-shadow:hover {
    padding: calc(1rem - 6px) 3rem;
}

a.btn-border-shadow:hover:before {
    top: 0;
    left: 0;
}

a.btn-border-shadow--color {
    border-radius: 10px;
    background: yellow;
}

a.btn-border-shadow--color:before {
    border-radius: 10px;
}

/* -----------------------------------------
    menu
----------------------------------------- */
header {
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

li a{
    color: #749CD2;
}

@media screen and (min-width: 769px) {
    #header_inner{
        max-width: 1020px;
        width: 100%;
        padding: 2rem 1rem;
        margin-left: auto;
        margin-right: auto;
    }
  }/* pc */

nav {
    border-bottom: #749CD2 solid;
}
nav ul {
    display: flex;
    justify-content: space-between;
}

li {
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold; 
}

.nav_item {
    padding: 1.4em;
    margin: 0 0 0 1em;
}

/* -----------------------------------------
    top
----------------------------------------- */
#top p {
    text-align: center;
    font-size: 24px;
    color: #000;
    line-height: 2.5;
    margin: 0;
}

#top span {
    display: block;
    text-align: end;
}

/* -----------------------------------------
    Read more
----------------------------------------- */
#text-wrap {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto;
    padding: 20px 0;
}

.hide-text {
    display: none;
}

button.readmore {
    position: relative;
    height: 80px;
    width: 90px;
    margin: 20px auto;
    display: block;
    background-color: transparent;
    color: #000;
    padding-bottom: 40px;
    border: none;
    outline: 0;
    transition: .5s;
    -erbkit-transition: .5s;
    line-height: 1em;
}

button.readmore::after {
    content: " ";
    position: absolute;
    width: 20px;
    height: 20px;
    border-top: solid 3px #000;
    border-right: solid 3px #000;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    right: 33px;
    top: 35px;
    transition: .5s;
    -erbkit-transition: .5s;
}

button.readmore:hover::after {
    top: 40px;
}

.on-click {
    color: transparent!important;
}

.on-click {
    transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
}
/* -----------------------------------------
    about
----------------------------------------- */
#about {
    background: url(../img/blue_bk.svg) no-repeat;
    background-size: cover;
    color: #fff;
    padding: 3rem 3rem 150px;
}
#about h4{
    background: url(../img/blue_title.webp) no-repeat;
    padding: 5px 30px;
    display: inline-block;
    margin: 0.5rem 0;
}
/* -----------------------------------------
    Profile
----------------------------------------- */
#introduce {
    margin: 3rem auto;
}

.profile_content {
    display: flex;
}

.face {
    flex: 1;
    text-align: center;
}
.face img {
    height: 100%;
}

.text{
    flex: 1;
}

/* -----------------------------------------
    fee
----------------------------------------- */
#fee {
    color:#749CD2;
    padding: 3rem 3rem 100px;
}
#fee h3{
    font-weight: 400;
}
#fee .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); /* カラムの最小幅と自動調整を指定 */
    grid-gap: 10px;
}
#fee .grid-container dl {
    border: solid 2px #749CD2;
    box-sizing: border-box;
    text-align: center;
    height: 250px;
    width: 250px;
    margin: auto;
    font-size: 24px;
}
#fee .grid-container dt {
    padding: 20px 0;
}
#fee .grid-container dd {
    letter-spacing: 2px;
}

.notice {
    margin: 2rem auto;
}
.notice span {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
}
.notice p {
    padding: 0px 6rem 3rem;
}

.lessonInfo {
    display: none;
}


/* -----------------------------------------
    Contact
----------------------------------------- */
#contact {
    background: url(../img/blue_bk.svg) no-repeat;
    background-size: cover;
    padding: 3rem 3rem 150px;
}
#contact h2 {
    color: #fff;
    margin-bottom: 5rem;
}
#contact .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* カラムの最小幅と自動調整を指定 */
    grid-gap: 10px;
}
#contact .grid-container dl {
    display: inline-block;         
    background: #fefeffbe;
    -webkit-box-shadow: 0px 0px 0px 5px #fefeffbe;
            box-shadow: 0px 0px 0px 5px #fefeffbe;
    border: solid 2px #6387B8;
    height: 350px;
    width: 350px;
    text-align: center;
    margin: auto;
}
#contact .grid-container dt {
    font-size: 26px;
    font-weight: bold;
    padding: 20px 0;
}
#contact .grid-container dd {
    margin-bottom: 2rem;
}
#contact .grid-container dd small{
    display: block;
    margin-top: 20px;
}

#access dd {
    margin: 0 3rem;
    text-align: left;
}
#access dt {
    margin-bottom: 1rem;
}
#access span {
    display: block;
    font-weight: 600;
    font-size: 20px;
}

/* -----------------------------------------
    footer
----------------------------------------- */
.box {
    text-align: center;
    color: #749CD2;
    padding: 5rem 0 2rem;
}

