@charset "utf-8";
* {
 box-sizing: border-box; /*幅や高さにpadding,borderを含ませる*/
 margin: 0;
 font-family: 'Noto Sans JP', sans-serif;
}

img {
 width: 100%;
 height: auto;
}

/*ページ全体の設定*/
body {
 display: grid;
 grid-template-columns: 20px 1fr 20px;
 grid-template-rows:
 [head]  auto
 [title] auto
 [intro] auto
 [news]  auto
 [result] auto
 [access] auto
 [footer] 60px;
 /*row-gap: 20px;*/
 font-family: 'Noto Sans JP', sans-serif;

}
@media only screen and (max-width: 485px){
 body {
  grid-template-columns: 10px 1fr 10px;
 }
}

/*パーツの配置*/
body > * {
 grid-column: 2 / -2;
}

/*ヘッダー*/
header {
 grid-column: 1 / -1;
 grid-row: head;
 width: 100%;

 background-color:#ffffff;
 padding: 5px 20px 3px;
 /*position: fixed;   /*画面上に固定下二行もいるよ*/
 /*top: 0;*/
 /*z-index: 10;*/
 display: flex;
 color: #293855;
 line-height: 0.8;

 .logo p {
  font-size: 24px;

 }
 h1 {
  width: 200px;
  height: auto;
 }

 /*ナビ*/
 nav {
  margin: 0 0 0 auto;

  ul {
   display: flex;
   list-style: none;
   padding: 0;
   margin: 0;
  }

  a {
   color: #293855;
   text-decoration: none;
   display: block;
   line-height: 60px;
   padding: 0 20px;

   img {
    height: 40px;
   }
  }

 }
}



/*タイトル*/
figure {
 grid-column: 1 / -1;
 grid-row: title;

 /* スライダー */
 .slider-container {
  position: relative;
  width: 100%;
  height: 88vh;
  overflow: hidden;
  object-fit: cover; /*画像が伸びないようにする*/
  vertical-align: bottom; /*下の余白をなくす*/
 }
 .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s;
 }
 .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
 }
 .slide.active {
  opacity: 1;
 }
}
/*各セクションの上下の幅*/
section {
 margin: 80px 0;

}
/*メインページ設定*/
h2 {
 padding-top: 30px;
 font-size:36px;
 text-align: center;
 margin-bottom: 60px;
 color: #293855;
}

/*挨拶文*/
.intro {
 grid-row: intro;
 h3 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 15px;
  border-bottom: 1px solid #293855;
 }
 p {
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.7px;
 }
}

/*お知らせ*/
.news {
 grid-column: 1 / -1;
 grid-row: news;
 background-color: #293855;
 padding-bottom: 80px;

 h2 {
  color: #ffffff;
 }
 .news-list {
  background-color: #ffffff;
  padding: 40px;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  width: 70%;
  margin: 0 auto;

  li a {
   display: flex;
   flex-wrap: wrap;
   margin: 0 0 20px 0;
   padding: 0 0 20px 0;
   border-bottom: 1px solid #333;

   time {
    padding: 0 2em 0 0;
    font-size: 0.8rem;
   }
   p {
    font-size: 1rem;
   }
  }

 }
}

/*大会結果*/
.result {
 grid-row: result;

 .coming_soon {
    p {
    text-align: center;
    padding: 160px 25px;
    font-size: 4em;
    font-weight:900;
    color: #ffffff;
    background-color: rgba(41,56,85,0.55);
    margin: 80px 0;
    }
 }

 .result_list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 50px;
  li {
   width: 28%;
   background-color: #ffffff;
   padding: 20px 20px 50px 20px;
   border-radius: 10px;
   box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.1);
   color: #333;
   text-align: center;
   margin-bottom: 25px;

   img {
    margin-bottom: 30px;
   }
   h5 {
    font-size: 1.3rem;
    padding: 0 0 30px 0;
    color: #293855;
    border-bottom: 5px double #293855;
   }
  }
 }
 
 /*過去の大会ボタン…大会結果ができたら大会ボタンを表示させるComing Soonを消す*/
 
}
.p-resultSec__btn {
    display: block;
    font-size: 0.9rem;
    text-align: center;
    background-color: #293855;
    color: #fff;
    width: 240px;
    margin: 0 auto;
    padding: 18px 0;
    border-radius: 5px;
   }
  
/*スマホサイズのメディアクエリ*/
@media only screen and (max-width: 485px){
 .result {
  .result_list {
   display: block;

   li {
    width: 100%;
   }
  }
 }
}


/*ここから共通*/
/*アクセス、マップ*/
.access {
 grid-row: access;
 text-align: center;
 justify-self: center;
}
 .access iframe {
  margin-bottom: 80px;
 }
 .access .access_logo {
  margin-bottom: 30px;
  h6 {
   margin: 0 auto;
   width: 150px;
   margin-bottom: 20px;
  }
}
.access .hours {
    margin-bottom: 30px;
    line-height: 1.5;
  }

  .access a {

  font-size: 24px;
  background-color: #293855;
  color: #ffffff;
  display: block;
  width: 300px;
  margin: 0 auto;
  padding: 20px 0;
  border-radius: 4px;
 }




/*スマホサイズのメディアクエリ*/
@media only screen and (max-width: 485px){
 iframe {
  width: 100%;
  height: 300px;
 }
}

/*フッター*/
footer {
 grid-column: 1 / -1;
 grid-row: footer;
 font-size: 0.9rem;
 color: #ffffff;
 text-align: center;
 font-size: 12px;
 background-color:#293855 ;
 padding-top: 20px;
}



/*サブページ*/
.page {
 grid-template-rows:
 [head]  auto
 [page_title] auto
 [list] auto
 [access] auto
 [footer] 60px;
     overflow-x: hidden;
}
/*サブページ共通タイトル*/
.page_title {
 grid-column: 1 / -1;
 grid-row: page_title;
 display: grid;
 grid-template-columns: 50% 50%;
 background-color:#293855 ;
 margin: 0 0;

 h2 {
  align-self: center;
  color: #fff;
  font-size:32px;
 }
 img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  object-position: center;
 }

}

.list {
 grid-row: list;
}

/*施設紹介ページ*/
.page h3 {
 font-size: 1.5rem;
 font-weight: 400;
 background-color: #293855;
 color: #ffffff;
 text-align: center;
 padding: 10px 0 10px 0;
}
.page h4 {
 font-size: 1.3rem;
 padding-bottom: 12px;
 border-bottom: 1px solid #293855;
 margin: 50px 0 50px;
}

.facility_list .section06_waku {
 display: flex;
 justify-content: space-between;
 margin-bottom: 80px;
 dl {
  width: 48%;
  text-align: center;
  dt img {
   height: 400px;
   object-fit: cover;
  }
  dd {
   font-size: 16px;
   padding-top: 12px;
   text-align: left;
  }
 }
}


/*スマホサイズのメディアクエリ*/
@media only screen and (max-width: 485px) {

 .facility_list .section06_waku {
  display: block;
  justify-content: center;

  dl {
   width: 100%;
   margin-bottom: 40px;
   dt img {

    object-fit: cover;
   }
  }
 }
}



/*レンタルのお知らせｐ*/

.rental {
 font-size: 18px;
 padding: 20px 15px;
 background-color: #f5e5cc;
 color: #6b4812;
}

/*ご利用料金ページ*/
/*料金テーブル*/
table {
 width: 80%;
 border-collapse: collapse;
 margin: 0 auto 60px;

 th, td {
  border: solid 2px #293855;
  padding: 12px 0;
  text-align: center;
  font-size: 1rem;
  color: #293855;
 }
}

.price_list {
    
    .member_benefits {
        margin: 0 10%;
        background-color: rgba(41,56,85,0.88);
        color: #ffffff;
        padding: 8px;
        h6 {
            font-size: 20px;
            margin-bottom: 15px;
        }
        width: 80%;
        
        ul li {
            
            margin-bottom: 12px;
    
        }
    }
}
/*スマホサイズのメディアクエリ*/
@media only screen and (max-width: 485px){
    .price_list {
    
        .member_benefits {
            margin: 0 0;
            h6 {
                font-size: 20px;
                margin-bottom: 15px;
            }
            width: 100%;
            
            ul li {
                list-style-type: square;
                margin-bottom: 8px;
        
            }
        }
    }
} 


.price_list02 {
 display: flex;
 font-size: 1rem;
 color: #293855;
 margin: 50px 0 60px;
 text-align: center;
 dt dd {
  padding: 10px 0;
 }
 dt {
  width: 30%;
 }
 dd {
  width: 70%;
 }
}

/*スマホサイズのメディアクエリ*/
@media only screen and (max-width: 485px){
 table {
  width: 100%;
 }
}

/*レッスンページ*/
.lesson_list {
 display: flex;
 justify-content: space-between;
 .instructor {
  border: 3px solid #293855;
  width: 30%;
  padding: 20px;
  text-align: center;

  h5 {
   font-size: 24px;
   padding-bottom: 15px;

  }
  p {
   font-size: 20px;
   padding-bottom: 15px;
  }
  dl {
   display: flex;
   flex-wrap: wrap;
   padding-bottom: 10px;
   dt {
    padding: 0 0 8px 0;
   }
   dd {
    padding: 0 0 8px 10px;
   }
  }
 }
}
/*スマホサイズのメディアクエリ*/
@media only screen and (max-width: 485px){
 .lesson_list {
  display: block;

  .instructor {
   width: 100%;
   margin-bottom: 30px;
  }
 }
}



/*おしらせページ*/
article {
 margin-bottom: 60px;
}
.news_list {
 h4 {
  margin-top: 0;
  margin-bottom: 15px;
 }
}

/*PCサイズのメディアクエリ*/
@media only screen and (min-width: 486px){
    .news_list img {
        width: 40%;
        text-align: center;
    }

    .news_list article {
        text-align: center;
    }

}


/*大会結果ページ*/
.resultPage_list {
    text-align: center;
    article {
        img {
            width: 60%;
            margin: 10px 0 50px 0;
        }
        p {
            margin-bottom: 8px;
        }
        table {
            margin-top: 50px;
        }  
    }
}
