
@media(max-width:1024px) {
  
  .match-photo1,
  .match-photo2 {
    display: block;
  }
    
  .activity-match-photo1,
  .activity-match-photo2 {
      width: 100%;
      height: auto;
      margin: 10px 0 0 0 ;
  }

  .match-photo2 {
    width: 100%;
  }
  
  .activity-event-title {
    text-align: center;
  }  

  .activity-event-wrapper {
    display: block;
  }

  .activity-event-wrapper1,
  .activity-event-wrapper2,
  .activity-event-wrapper3 {
    width: 100%;
    margin: 0 auto;
  }

  .activity-event-photo1,
  .activity-event-photo3 {
    width: 95%;
    text-align: center;
    margin: 10px auto;
  }

  .event-content-back1,
  .event-content-back2,
  .event-content-back3 {
    height: auto;
    padding: 10px 0 50px ;
  }

  .activity-event-content1,
  .activity-event-content2,
  .activity-event-content3 {
    margin: 10px auto;
  } 

  .activity-event-mark {
    display: none;
  }

  .join-title-text1 {
    width: 90%;
    text-align: center;
  }

  .join-title-text1 h1 {
    font-size: 40px;
  }
}

@media(max-width:860px) {
  .month4-8 {
    width: 100%;
  }

  .year ,.month4 ,.month5 ,.month6 ,.month7 ,.month8 ,.month9
    ,.month10 ,.month11 ,.month12 ,.month1 ,.month2 ,.month3  {
      width: 95%;
      height: 70px;
      margin: 20px auto 0;
    }
    
  .yearly,.month,.month10-12 {
    width: 60px;
    height: 60px;
    margin: 0px 0 0 0px;
    font-family: 'Alkatra';
  }
    
  .yearly {
    font-size: 25px;
  }
    
  .month {
    font-size: 45px;
  }
    
  .month10-12 {  
    font-size: 30px;
  }
    
  .gatu {
    font-size: 20px;
    padding: 20px 0 0 0px ;
  }
    
  .month-text {
    margin: 25px 0 0 50px;
  }
    
  .month-text2 {
    margin: 10px 0 0 50px;
  }

  .month9-text {
    font-size: 12px;
  } 
    
  .activity-match-mark {
    display: none;
  }
    
  .activity-match-kome {
    width: 100%;
    margin: 10px 0 50px;
  }

  .activity-match-kome ul {
    width: 90%;
    text-align: center;
    margin: 0 auto;
  }
    
  .activity-match-kome li {
    max-width: 100%;
    word-wrap: break-word;
  }  
  
  .join-flow {
    margin: 30px auto ;
  }

  .join-flow-title {
    padding: 30px;
  }

  .join-flow-wrapper {
    display: block;
  }

  .join-flow-wrapper1,
  .join-flow-wrapper2,
  .join-flow-wrapper3 {
    width: 90%;
    margin: 30px auto 10px;
    padding: 10px 0 10px;
  }

  .join-flow-text1 p,
  .join-flow-text2 p,
  .join-flow-text3 p {
  margin: 40px auto 20px;
 }

  .join-flow-wrapper4 {
    width: 90%;
    display: block;
    padding-top: 20px; 
    text-align: center;
  }

  .join-flow-arrow1,
  .join-flow-arrow2 {
    width: 100%;
    margin: 0;
  }

  .join-flow-arrow1 img,
  .join-flow-arrow2 img {
    width: 50px;
    height: 100px;
    transform: rotate(-90deg);
    display: block;
  }
   
  .join-pt {
    display: block;
    margin: 30px auto;
  }

  .join-price,
  .join-tool {
    width: 100%;
  }

  .join-price-container,
  .join-tool-container {
    width: 95%;
    padding-bottom: 50px;
    margin-bottom: 20px;
  }

  .join-price-wrapper,
  .join-tool-wrapper {
    width: 90%;
    height: auto;
    margin: 30px auto 0;
  }

  .join-price-text,
  .join-tool-text {
    width: 100%;
    text-align: center;
  }

  .join-price-wrapper ul,
  .join-tool-wrapper ul {
    margin-top: -10px;
  }

  .join-flow-kome {
    padding-bottom: 20px;
  }
}  

@media(max-width:767px) {

  .header-title {
    justify-content: left;
    margin-left: 20px;
  }
  
  .header-title  h1 {    
    font-size: 40px;
  }
  /*▽▽ハンバーガーメニュー▽▽*/ 

 nav {
    display: block;
    width: 220px;
    position: fixed; /*絶対配置　top　leftからの位置を絶対配置する*/
    top: 80px;  /*headerの余白分*/
    left: -300px;  /*headerの余白分　ヘッダーには左右に15px余白があるので、headerの子要素となる.smは15px分内側に設置されます。その余白を埋めるために左に寄せる。*/
    bottom: 0;
    transition: all 0.5s;
    z-index: 10;
    opacity: 0;
    background-color: #e0574d;
  }

  .inner {
    display: block;
  } 

  .open nav {
    left: 0;
    opacity: 1;
  }

  nav .inner {
    padding: 35px;
  }

  nav .inner ul {
    margin: 0;
    padding: 0;
  }

  nav .inner ul li {
    margin: 10px;
    border-bottom: 1px solid #fff
     
  } 

  nav .inner ul li a {
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    padding: 10px;
    transition-duration: 0.2s;
  }

  nav .inner ul li a:hover {
    background-color: #F27F77;
    
  }
  
  .toggle-btn {
    display: block;
    position: fixed;
    z-index: 10;
    top: 20px;
    right: 20px; 
    height: 40px;
    width: 40px;
    cursor: pointer;
   }

  .toggle-btn span {
    position: absolute;
    display: block;
    top: 0px;
    left: 0;
    width: 40px;
    height: 4px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.5s;
  }

  .toggle-btn span:nth-child(1) {
    top: 4px;
  }
  .toggle-btn span:nth-child(2) {
    top: 18px;
  }
  .toggle-btn span:nth-child(3) {
    top: 32px;
  }

  .open .toggle-btn span {
    background-color: #fff;
  }

  #mask {
    display: none;
    transition: all 0.5s;
  }

  .open #mask {
    display: block;
    background-color: #000;
    width: 100%;
    height: 100%;
    top: 80;
    left: 0;
    position: fixed;
    opacity: 0.5;
    cursor: pointer;
  } 

   .open .toggle-btn span:nth-child(1) {
    transform: translateY(14px) rotate(-315deg);
   }

   .open .toggle-btn span:nth-child(2) {
    opacity: 0;
   }

   .open .toggle-btn span:nth-child(3) {
    transform: translateY(-14px) rotate(315deg);
   }

  /*△△ハンバーガーメニュー△△*/

  .header-list {
    display: none;
  }

  .slide {
    display: none;
    margin-top: 80px;
  }

  .news-wrapper {
    display: block;
  }

  .news-heading  {
      width: 100%;
      margin: 0 auto ;
  }

  .news-heading h1 {
    margin: 50px auto 100px;
  }

  .news {
      width: 100%;
  }

  .news-page {
    margin: 0 auto;
  }

  .border {
      margin: 5px 0 50px 0;
  }

  .team-wrapper {
      display: block;
  }

  .team-photo {
      width: 100%;
      margin-top:20px ;
  }

  .team-page {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .team-title {
    width: 95%;
    margin-top: -80px;
  }

  .team-title h1 {  
      font-size: 40px;
      margin: 0px auto 0;
  }

  .team-text p {
      line-height: 200%;
      margin: 50px auto ;
  }

  .activity-title {
    display: block;
  }

  .activity-title-text {
    width: 100%;
    text-align: center;
    margin: 30px auto 30px;
  }

  .activity-title-text h1 {
    font-size: 35px;
  }

  .activity-title-photo {
    width: 100%;
    height: auto;
    clip-path: none;
    margin-bottom: 20px;
  }

  .activity-title-photo img {
    width: 100%;
    height: auto;
  }

  .activity-training-photo {
    width: 100%;
  }

  .activity-training-photo img {
      width: 100%;
      margin: 10px auto;
  }

  .activity-training-time,
  .activity-training-place {
      width: 90%;
      height: 120px;
  }
  
  .activity-training-time {
      margin: 100px auto 0px;
  }
    
  .activity-training-place {
      margin: 300px auto 0;
  }

  .activity-training-time-title {
      margin: -30px auto 0;
  }
  .activity-training-place-title {
      margin: -30px auto 0;
  }

  .training-time-icon,
  .training-place-icon {
    margin: 0px 10px;
  }

  .thursday dt,
  .sunday dt {
    margin: 20px 0 0 40px;
  }

  .thursday dd,
  .sunday dd {
    margin: 20px 0 0 10px;
  }

  .place1 {
      margin: 5px 0 0 5px;
  }

  .place2 {
      margin: 5px 0 0 5px; 
  }

  .place1 dd,
  .place2 dd {
      margin: 5px;
  }

  .kome {
      margin: 5px 0 0 0px;
  }

  .activity-training-time img,
  .activity-training-place img {
      width: 70px;
      height: 70px;
  }

  .activity-training-mark {
      display: none;
  }

  .activity-event-photo1 img,
  .activity-event-photo2 img,
  .activity-event-photo3 img{
    width: 95%;
    border-radius: 45px;
  }
    
  .join-wrapper {
    margin-top: 30px;
  }
  
  .join-title-photo{
    width: 100%;
    height: auto;
  }

  .join-title-text1 {
    width: 90%;
    margin: 10px auto;
    text-align: center;
  }

  .join-title-text1 h1 {
    font-size: 30px;
    display: block;
  }

  .join-title-text2 {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 30px;
  }

  .join-title-text2 P {
    line-height: 180%;
  }

  .contact-wrapper {
    margin-top: 50px;
  }

  .contact-title {
    width: 200px;
    padding-bottom: 10px;
  }

  .contact-title h1 {
    font-size: 35px;
  }

  .contact-photo {
    width: 60%;
    margin-bottom: 0px;
  }

  footer {
    display: block;
    margin: 0 auto ;
    padding-bottom: 30px;
  }

  .footer-title {
    width:100%;
    text-align: center;
    margin: 30px auto;
  }

  .footer-title p {
    padding: 20px 0;
  }

  .footer-logo {
    width: 100%;
    margin-top: 20px;
  }

  .fotter-address {
    width: 100%;
    margin: 50px auto ;
  }

  .footer-phone ,
  .footer-mail,
  .footer-Copyright {
    width: 100%;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media(max-width:390px) {
  .training-time-container, 
  .training-place-container {
    font-size: 12px;
    }
  }
