@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
    font-size: 100%;
    background-color: #ffefd5;
}
body{
    font-family: "Hiragino Maru Gothic W4 JIS2004",serif;
    line-height: 1.7;
    color: #432;
    background-color: #fffff0;
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
}
header{
    position: sticky;
    top: 0;
    background-color: #fffff0;
    z-index: 5;
    box-shadow: 0px 4px 4px #f5f5f5;
}

a {
    text-decoration: none;
}
img {
    max-width: 100%;
}
.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}

/* 見出し設定 */
/* コーナータイトル共通 h3 */
h3 {
    font-family: "Maru Folk Medium",serif;
    font-size: 1.35rem;
    position: relative;
    text-align: center;
    padding: 1%;
    width: 330px;
    margin: 2em auto 1em; 
    background: linear-gradient(0deg, #ffaf65,#fffff0 40%, #fffff0);
    border-radius: 0%;    
}
.contact h4{
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
}
.line{
    font-size: 1.5rem;
    font-weight: 1200;
    color: #f00c6b;
}

 /* h3:after {
    content: "";
    display: block;
    height: 3px;
    background: -webkit-linear-gradient(to right, rgb(255, 186, 115), #ffb2b2);
    background: linear-gradient(to right, rgb(255, 186, 115), #ffb2b2);
  }
 */
/* 大きな背景画像 */
.big-bg {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* 見出し */
.page-title {
    padding-top: 50px;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: normal;
}
.sub-title {
    font-size: 1.375rem;
    padding: 0 8px 8px;
    border-bottom: 2px #0bd solid;
    font-weight: normal;
}

/* ボタン */
.item_lesson{
    text-align: right;    
}
.h4_top-lesson-list{
    float: left;
    display:inline;
}
.button_lesson {
    font-size: 1.06rem;
    background:#f00c6b;    
    color: #fff;
    border-radius: 10px;
    padding: 8px 15px 8px;
}
.button_lesson:hover {
    background: #e245ae;
}

/* iframe */
iframe {
    width: 100%;
}

/* HEADER
------------------------------- */
.page-header {
    display: flex;
    justify-content: space-between;
    padding-top: 2%;
    padding-bottom: 2%;
    
}
.logo {
    width: 350px;
    margin-top: 14px;
}
.main-nav {
    display: flex;
    font-size: 1rem;
    text-transform: uppercase;
    height:100%;
    align-items:center;
    list-style: none;
}
.main-nav li {
    margin-left: 20px;
    
}
.main-nav a {
    color: #432;
}
.main-nav a:hover {
    color: #ff7f50;
}
#yt_icon{
    width: 48px;
    margin-left: 5px;
}

/* HOME
------------------------------- */
#home {
    background-image: url(../images/main-bg.jpg);
    min-height: 40vh;
}
#home .page-title {
    text-transform: none;
}
.home-content {
    text-align: center;
    margin-top: 0%;
}
.home-content p {
    font-size: 1.125rem;
    margin: 10px 0 42px;
}
.top_message{
    text-align: center;
}
#h4_concept {
    font-family: "Maru Folk Medium",serif;
    text-align: center;
    font-size: 1.25rem;
    margin: 0 auto;
}
#h4_feature {
    position: relative;
    font-size: 1.1rem;
    padding: 1.25rem 0;
    margin: 0 auto;
}
#h4_feature:after {
    content: "";
    display: block;
    height: 3px;
    width: 330px;
    background: linear-gradient(90deg, #faa1bc, #fffff0);
}
.h4_top-lesson-list{
    text-align: left;
    font-size: 1.1rem;    
}
.h4_top-lesson-list:after {
    content: "";
    display: block;
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, #00ced1, #fffff0);
}
#h4_inst {
    font-family: "Maru Folk Medium",serif;
    font-size: 1.2rem;
    padding-top: 0.2rem;
    padding-bottom: 0;
}
#h5_inst {
    padding: 0.2rem;
}
#h4_inst:after {
    content: "";
    display: block;
    height: 2px;
    width: 120px;
    background: linear-gradient(90deg, #00ced1, #fffff0);
}

#h4_acsess {
    font-size: 1.1rem;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}
#h4_acsess:after {
    content: "";
    display: block;
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, #00ced1, #fffff0);
}
.youtube_link{
    text-align: center;
    padding-top: 5%;
    padding-bottom: 5%;
    
}
.h3_youtube{
    font-size: 1.15rem;
    padding:1%;
}
.h2_youtube{
    margin: 0 20% 3%;
    color: #ffffff;
    white-space: nowrap;
    background:#f00c6b;    
    padding:1%;
    font-size: 1.35rem;
    font-weight: bold;
    border-radius: 50px;
}
.h2_youtube:hover {
    background: #e245ae;
}

#content_box{
    padding: 1rem 0;
}

.fade {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 0;
    padding: 0;
    height: auto;
}
.fade img{
    width: 100%;
    opacity: 1;
}
.h2_fadetext{
    color:#fff;
    white-space: nowrap;
    font-size: 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin:0;
    padding:0;
    background:rgba(243, 34, 149, 0.8);
    line-height: 1;
    padding:1em;/*文字周りの余白*/
    border-radius:20px; 
}

.contact{
    text-align: center;    
}
.tel_nbr {
    width: 300px;
}

/* LESSON PAGE
------------------------------- */
.lesson_page_title {
    position: relative;
}
.lesson_page_title img{
    opacity: 0.5;
}

.lesson_page_title-text {
    text-align: center;
    color: #ffffff;
    position: absolute;
    top: 50%;/*画像の左上に配置*/
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    background:rgba(243, 34, 149, 0.8);
    margin: 0 auto; /*余計な隙間を除く*/
    font-size: 1.1rem;
    line-height: 1;
    padding:3%;/*文字周りの余白*/
    border-radius: 45px 2px 45px 2px; 
}
.lesson_page_title p{
    margin-top: 4%;
}
.lesson_page_title h2{
    font-family: "Maru Folk Medium",serif;
}
.lesson_image{
    text-align: center;
}    
.lesson_image img{
    position: relative;
    margin-top: 3%;
    width: 480px;
    border-radius: 10px; 
}
#course {
    position: relative;
    padding-top: 1.3rem;
    padding-bottom: 0.4rem;
    margin: 0 auto;
}
#course:after {
    content: "";
    display: block;
    height: 2px;
    width: 300px;
    background: linear-gradient(90deg, #ffb6c1, #fffff0);
  }

/* NEWS
------------------------------- */
#news {
    background-image: url(../images/news-bg.jpg);
    height: 270px;
    margin-bottom: 40px;
}
#news .page-title {
    text-align: center;
}
.news-contents {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

/* 記事部分 */
article {
    width: 74%;
}
.post-info {
    position: relative;
    padding-top: 4px;
    margin-bottom: 40px;
}
.post-date {
    background: #0bd;
    border-radius: 50%;
    color: #fff;
    width: 100px;
    height: 100px;
    font-size: 1.625rem;
    text-align: center;
    position: absolute;
    top: 0;
    padding-top: 10px;
}
.post-date span {
    font-size: 1rem;
    border-top: 1px rgba(255,255,255,.5) solid;
    padding-top: 6px;
    display: block;
    width: 60%;
    margin: 0 auto;
}
.post-title {
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: 2rem;
    font-weight: normal;
}
.post-title,
.post-cat {
    margin-left: 120px;
}
article img {
    margin-bottom: 20px;
}
article p {
    margin-bottom: 1rem;
}

/* サイドバー */
aside {
    width: 22%;
}
.sub-menu {
    margin-bottom: 60px;
    list-style: none;
}
.sub-menu li {
    border-bottom: 1px #ddd solid;
}
.sub-menu a {
    color: #432;
    padding: 10px;
    display: block;
}
.sub-menu a:hover {
    color: #0bd;
}
aside p {
    padding: 12px 10px;
}

/* MENU
------------------------------- */
#menu {
    background-image: url(../images/menu-bg.jpg);
    min-height: 100vh;
}
.menu-content {
    max-width: 560px;
    margin-top: 10%;
}
.menu-content .page-title {
    text-align: center;
}
.menu-content p {
    font-size: 1.125rem;
    margin: 10px 0 0;
}

.grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 3%;
  margin-bottom: 3%;
}

/* CONTACT
------------------------------- */
#contact {
    background-image: url(../images/contact-bg.jpg);
    min-height: 100vh;
}

/* フォーム */
form div {
    margin-bottom: 14px;
}
label {
    font-size: 1.125rem;
    margin-bottom: 10px;
    display: block;
}
input[type="text"],
input[type="email"],
textarea {
    background: rgba(255,255,255,.5);
    border: 1px #fff solid;
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
}
input[type="text"],
input[type="email"] {
    width: 100%;
    max-width: 240px;
}
textarea {
    width: 100%;
    max-width: 480px;
    height: 6rem;
}
input[type="submit"] {
    border: none;
    cursor: pointer;
    line-height: 1;
}

/* 店舗情報・地図 */
#location {
    padding: 4% 0;
}
#location .wrapper {
    display: flex;
    justify-content: space-between;
}
.location-info {
    width: 22%;
}
.location-info p {
    padding: 12px 10px;
}
.location-map {
    width: 74%;
}

/* SNS */
#sns {
    background: #FAF7F0;
    padding: 4% 0;
}
#sns .wrapper {
    display: flex;
    justify-content: space-between;
}
#sns .sub-title {
    margin-bottom: 30px;
}
.sns-box {
    width: 30%;
}

/* フッター
------------------------------- */
footer {
    text-align: center;
    padding: 10px 0;
}
footer p {
    color: #a9a9a9;
    font-size: 0.8rem;
}

/* モバイル版
------------------------------- */
@media (max-width: 700px) {
    html {
        font-size: 95%;
    }
    .page-title {
        font-size: 2rem;
    }
    .page-header {
        flex-direction: column;
        align-items: center;
    }
    .logo {
        width: 230px;
        margin-top: 0px;
    }

    /* HEADER */
    header{
        width: 100%;
        padding: 0;
    }
    .main-nav {
        font-size: 0.85rem;
        margin-top: 2px;
    }
    .main-nav li {
        width: 100%;
        margin: 0 3px;
    }
    ul{
        margin-block-start: 0;
        margin-block-end: 0;
    }

    #yt_icon{
        width: 33px;
        margin-left: 3px;
    }

    /* HOME */
    .home-content {
        margin-top: 15%;
    }
    .h2_fadetext{
        font-size: 1.25rem;
        padding:3%;/*文字周りの余白*/
        border-radius: 15px; 
    }
    .h2_youtube{
        font-size: 1.2rem;        
    }

    /* lesson page */
    .lesson_page_title-text {
        width: 85%;
        font-size: 0.9rem;
    }

    /* MENU */
    .menu-content {
        margin-top: 20%;
    }

    /* CONTACT */
    #contact .page-title {
        margin-top: 40px;
    }

    /* フォーム */
    input[type="text"],
    input[type="email"],
    textarea {
        max-width: 100%;
    }

    /* 店舗情報・地図 / SNS */
    #location .wrapper,
    #sns .wrapper {
        flex-direction: column;
    }
    .location-info,
    .location-map,
    .sns-box {
        width: 100%;
    }
    .sns-box {
        margin-bottom: 30px;
    }
}

