@charset "utf-8";

/* 共通（全体に関わる部分） */
* {
    box-sizing: border-box;
}

body {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #534741;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    height: auto;
    vertical-align: bottom;
}

.common_contents_area {
    width: 960px;
    margin-left: auto;
    margin-right: auto;
    /* margin: auto; */
}

.common_margin {
    margin-top: 80px;
}

.home_headline {
    font-family: serif;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}

.common_link_container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.common_link {
    display: flex;
    align-items: center;
    background: palevioletred;
    color: #fff;
    padding: 10px 30px;
    border-radius: 5px;
    transition: opacity 0.3s;
}

.common_link:hover {
    opacity: 0.5;
}

/* ヘッダー */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 15px;
}

.header_logo {
    width: 200px;
}

/* グローバルナビゲーション */
.gnav_list {
    display: flex;
}

.gnav_item {
    border-right: 1px solid;
}

.gnav_item:last-child {
    border-right: none;
}

.gnav_link {
    padding: 10px 20px;
    transition: opacity 0.3s;
}

.gnav_link:hover {
    opacity: 0.5;
}

/* フッター */
.footer {
    background: palevioletred;
    color: #fff;
    padding: 40px;
}

.fnav_list {
    display: flex;
    justify-content: center;
}

.fnav_item {
    border-right: 1px solid;
}

.fnav_item:last-child {
    border-right: none;
}

.fnav_link {
    padding: 10px 20px;
    transition: opacity 0.3s;
}

.fnav_link:hover {
    opacity: 0.5;
}

.line {
    width: auto;
    height: 36px;
    margin-top: 30px;
}

.footer_copyright {
    font-size: 13px;
    text-align: center;
    margin-top: 30px;
}

/*****************
 HOMEページ 
 *****************/

/* メインビジュアル */
.main_visual_title {
    font-size: 1.8vw;
    font-size: clamp(14px, 1.8vw, 30px);
    display: flex;
    justify-content: center;
    background-color: palevioletred;
    padding: 20px;
}

.main_visual {
    width: 100%;
}

.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
  }
  
  .slider-list {
    position: relative;
    list-style: none;
  }
  
  .slider-list-item {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
  }
    img {
      width: 100%;
      height: auto;
      vertical-align: top;
    }
  
   .contact_link {
    transition: opacity 0.3s;
   }
   
   .contact_link:hover {
    opacity: 0.5;
}

  
  /* slider animation */
  .slider-list .slide1 {
    position: relative;
  }
  
  .slider-list .slider-list-item {
    animation: slidshow 18s infinite;
  }
  
  @keyframes slidshow {
    0% {
      transform: translateX(0);
    }
  
    31% {
      transform: translateX(0);
    }
  
    35% {
      transform: translateX(100%);
    }
  
    35.001% {
      transform: translateX(-100%);
    }
  
    96% {
    transform: translateX(-100%);
    }
  
    100% {
      transform: translateX(0);
    }
  }
  
  .slider-list .slide1 {
    animation-delay: 0s;
  }
  
  .slider-list .slide2 {
    animation-delay: -12s;
  }
  
  .slider-list .slide3 {
    animation-delay: -6s;
  }
  
/* 教室案内 */
.home_concept_img{
    width: 300px;
    height: 400px;
    border-radius: 10px;
}
.home_concept_title{
    font-family: serif;
    font-size: 30px;
    margin-left: 10px;
}


.concept_sentence {
    padding: 15px;
}

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


/* レッスン一覧 */
.home_product_contents {
    display: flex;
    justify-content: space-between;
}

.home_product_content {
    width: 31%;
    /* フレックスアイテムの場合は flex-basis でも可能 */
}

.home_product_img {
    width: 100%;
}

.home_product_name {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0;
}


/* アクセス */
.iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
  }
  
.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

.home_shop_table {
    width: 100%;
    margin-bottom: 30px;
}

.home_shop_table_header {
    font-weight: bold;
    background: #faf6f4;
    border: 1px solid #b8a392;
    padding: 10px 20px;
}

.home_shop_table_data {
    border: 1px solid #b8a392;
    padding: 10px 20px;
}


/***********************
 教室案内ページ
************************/

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

.image_grt {
    width: auto;
    height: 350px;
    border-radius: 10px;
    margin-right: 20px;
}

.grt_content {
    display: flex;
    flex-direction: column;
    justify-content: space-around; 
    }

.grt_contents {
    margin: 5px 0;
}

.features {
    width: 100%;
    list-style: none;
    border: 1px solid #333;
    padding: 5px;
    background-color: #f2f2f2;
    margin-bottom: 30px;
}

.features_list {
    margin: 16px;
}

.features_box {
    display: flex;
    justify-content: space-between;
}
.image_features {
    width: 250px;
    height: 350px;
    border-radius: 10px;
}

.features_content {
    width: 660px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.features_contents{
    margin-right: 20px;
}

/**********************
　講師紹介ページ
**********************/

.prof {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.image_prof {
    width: 45%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
}

.prof_sentence {
    width: 85%;
    margin-bottom: 20px;
}

/* 特徴　教室案内　と同じcss使用 */

/* 使用ピアノ　教室案内　と同じcss使用*/

/***********************
 お問い合わせページ
 ***********************/

 .form_contact {
    width: 100%;
    height: 850px;
}


/******************** 
レッスンページ 
*********************/

/* レッスン一覧 　Homeのものと同じ　*/

/* レッスン料金　*/

.lesson_table {
    width: 100%;
    margin-bottom: 30px;
}

.lesson_table_header {
    font-weight: bold;
    background: #faf6f4;
    border: 1px solid #b8a392;
    padding: 10px 20px;
}

.lesson_table_data {
    border: 1px solid #b8a392;
    padding: 10px 20px;
    text-align: center;
}

/* 授業時間　*/

.lesson_time {
    display: flex;
    justify-content: center;
    background-color: #faf6f4;
}


/*********************
 ニュースページ 
*********************/

/* ブログ記事 */
 .blog_page{
     width: 100%;
     height: 850px;
 }


/**********************
　メディアクエリ
**********************/ 

/* スマートフォン用のスタイル */
@media screen and (max-width: 600px) {

/*  共通　*/   
.common_contents_area {
    width: 360px;
    margin-left: auto;
    margin-right: auto;
    /* margin: auto; */
}

/* ヘッダー */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 15px;
}

.header_logo {
    width: 200px;
}

/* グローバルナビゲーション */
.gnav_list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gnav_item {
    border-right: none;
}

.gnav_item:last-child {
    border-right: none;
}


/* フッター */
.footer {
    background: palevioletred;
    color: #fff;
    padding: 40px;
}

.fnav_list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fnav_item {
    border-right: none;
}

.fnav_item:last-child {
    border-right: none;
}

.fnav_link {
    padding: 10px 20px;
    transition: opacity 0.3s;
}

.fnav_link:hover {
    opacity: 0.5;
}

.line {
    width: auto;
    height: 36px;
    margin-top: 30px;
}

.footer_copyright {
    font-size: 13px;
    text-align: center;
    margin-top: 30px;
}

/* 教室案内　*/

.home_concept {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* レッスン一覧 */
.home_product_contents {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home_product_content {
    width: 80%;
    margin-bottom: 20px;
}

/* アクセス */

.home_shop_wrapper {
    display: flex;
    justify-content: center;
}

.home_shop_table {
    width: 90%;
    margin-bottom: 30px;
}

.home_shop_table_header {
    writing-mode: vertical-rl;
    
}

/***********************
 教室案内ページ
************************/

.greeting {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

.image_grt {
    margin-bottom: 20px; 
    } 

.grt_content {
    width: 80%;
    }

.features {
    width: 90%;
    margin: 20px;
}

.features_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    }

.features_content {
    width: 80%;
    margin-bottom: 20px;
}
/**********************
　講師紹介ページ
**********************/
.image_prof {
    width: auto;
    height: 350px;
}

/* 特徴　教室案内　と同じcss使用 */

/* 使用ピアノ　教室案内　と同じcss使用*/

/******************** 
レッスンページ 
*********************/

/* レッスン一覧 　Homeのものと同じ　*/

/* レッスン料金　*/

.lesson_contents {
    padding: 20px;
}
}


/* タブレット用のスタイル */
@media screen and (min-width: 601px) and (max-width: 1024px) {
    
/*  共通　*/   
.common_contents_area {
    width: 760px;
    margin-left: auto;
    margin-right: auto;
    /* margin: auto; */
}

/* ヘッダー */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 15px;
}

.header_logo {
    width: 200px;
}
/* グローバルナビゲーション */
.gnav_list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gnav_item {
    border-right: none;
}

.gnav_item:last-child {
    border-right: none;
}



  }