@media screen and (min-width: 768px) {
/*@import url("kyudo-club-hp-blog.css");*/
.wrapper {
  min-height: 100vh;
  position: relative;/*←相対位置*/
  padding-bottom: 180px;/*←footerの高さ*/
  box-sizing: border-box;/*←全て含めてmin-height:100vhに*/

}

  .header .nav-list-item {
    list-style: none;
    display:inline;
    font-size: 1.4vw;
    flex-grow: 1;
    margin-right: 1.2vw; 
    border-bottom: 0.1vw solid #808080;
  }

  .nav-list {
    margin-top: 1.5vw;
    margin-bottom: 0;
  }


  #nav1 {
    display: flex;
  }


  .header {
    font-family: serif;
    position: fixed;           /* ヘッダーの固定 */
    top: 0px;                   /* 位置(上0px) */
    left: 0px;                  /* 位置(右0px) */
    background-color: midnightblue;     /* 背景色(濃い青) */
    padding: 5px 0 20px;      
    height:4vw;             
    width:100%;               
  }


  .header a {
    color: #fffafa;
    text-decoration: none;
    /* margin-right: 10px; */
    text-align: center; 
  }

  .homephoto {
    width: 100%;
    height: 400px;
    object-fit: cover;
  }
  .header .headline {
    color: white;
    text-align: left;
    font-size: 2.1vw;
    margin-left: 1vw;
    flex-grow: 1;
    margin-top: 0.9vw;
    margin-bottom: 0;
  }


  body {
    padding-top: 2vw;
    padding-left: 0px;
    padding-right: 0px;
    font-family: serif;
    margin: 0;
  }
  
  .main .contents{
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: auto;
  }

  .result {
    display: flex;
    flex-wrap: wrap;
  }

  .result a {
    text-decoration: none;
    color: black;
  }
  .result img {
    width: 5vw;
    height: 5vw;
    border-radius: 30%;
    padding: 1vw;
    margin-top: 0.5vw;
  }

  .result-m {
    border: 1px solid #ccc; /* 枠線 */
    background-color: #fff; /* 背景色 */
    box-shadow: 3px 3px 6px #ccc;
    text-align: center;
    margin-right: 2vw;
    width: 20vw;
    height: 8vw;
    display: flex;
  }


.result-m:hover {
  opacity: 0.7;
}

  .result-w {
    border: 1px solid #ccc; /* 枠線 */
    background-color: #fff; /* 背景色 */
    box-shadow: 3px 3px 6px #ccc;
    text-align: center;
    width: 20vw;
    height: 8vw;
    display: flex;
    margin-right: 2vw;

  }

  .result-w:hover {
    opacity: 0.7;
  }
  
  .result-gw {
    border: 1px solid #ccc; /* 枠線 */
    background-color: #fff; /* 背景色 */
    box-shadow: 3px 3px 6px #ccc;
    text-align: center;
    width: 22vw;
    height: 8vw;
    display: flex;

  }

  .result-gw:hover {
    opacity: 0.7;
  }
  
  p {
    margin-left: 20px;
    margin-right: 20px;
  }

  .footer p {
    text-align: center;
    font-size: 1vw;
    margin: 0 0;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 10px;
  }

  .result p {
    margin: 0 0;
    padding: 0 0;
    padding-top: 2.3vw;
    padding-left: 1vw;
    font-size: 1.2vw;
    font-weight: bold;
    /* font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; */
  }

  .main-list1-item {
    margin-bottom: 30px;
  }

  .main-h2-1 {
    padding: 0.5em 1em;
    margin: 25px 0;
    color: #232323;
    background: #e8f5ff;
    border-left: solid 10px cornflowerblue
  }


  h3 {
    font-size: 23px;
    margin-left: 20px;
  }


  .footer {
    width: 100%;
    background-color: #405c70;
    color: #fff;
    text-align: center;
    padding: 5px 0;
  
    position: absolute;/*←絶対位置*/
    bottom: 0; /*下に固定*/
    }
  
  .footer .headline {
    color: white;
    text-align: center;
    margin-bottom: 0;
    }

  .footer h2 {
    font-size: 20px;
    margin-top: 3px;
  }
    
    .main-h2-2 {
      font-size: 25px;
      font-weight: bold;
      padding: 1em 1em;
      margin: 40px 0;
      color: #232323;
      background: #e8f5ff;
      border-left: solid 10px rgb(40, 103, 222)
    }

  .sp-nav {
    display: none;
  }
/* .blog {
  text-align: center;
}  */
  .resume {
    /* text-align: center; */
    justify-content: center;
    display: flex;
    height: 100vh;
}
.lonly {
  /* text-align: center; */
  margin-left: 20px;
  margin-top: 80px;
}

   .left {
    width: 50%;
    padding: 20px;
}

.right {
  width: 50%;
  padding: 20px;
}

.notice-history {
  overflow-y: scroll; /* 縦方向にスクロール可能にする */
  height: auto; /* コンテンツの高さ */
  display: wrap;
  flex-wrap: wrap; /* 要素が横方向に並べられ、余った場合は折り返される */
  justify-content: space-between; /* 要素を左右に均等に配置 */
  height: 335px;
}

.notice-history li {
  flex: 1 1 300px; /* 各要素の幅を300pxに設定、flexboxの伸縮に対応 */
  margin: 10px;
  list-style: none; /* リストのマーカーを非表示 */
}

.notice-history a {
  text-decoration: none; /* リンクのアンダーラインを消す */
  color: inherit; /* リンクの色を継承 */
  display: flex; /* aタグ内をflexboxでレイアウト */
  align-items: center; /* 画像とテキストを縦方向に中央揃え */
}

.notice-history img {
  width: 150px;
  height: 100px;
  margin-right: 10px;
}

.article-box {
  border: 1px solid #ccc; /* 枠線 */
  padding: 10px; /* 内側の余白 */
  padding-right: 100px;
  margin: 10px; /* 外側の余白 */
  background-color: #f9f9f9; /* 背景色 */
  border-radius: 5px; /* 角を丸くする */
}

.blog {
  /* text-align: center; */
  margin: auto;
  display: block;
}

.blog ul {
  padding-left: 0px;
}

}


/*--------------------------------- ここからスマホ版--------------------------------- */
@media screen and (max-width:767px) {
  .header .nav-list-item {
    display: none;
  }
  .sp-nav {
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: block;
    width: 100%;
    background: rgba(0, 0, 0, .8);
    transition: all .2s ease-in-out;
    opacity: 0;
    transform: translateY(-100%);
  }
  #hamburger {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    margin-top: 2vw;
    margin-left: auto;
    margin-right: 10px;
  }
  
  #hamburger span {
    position: absolute;
    top: 50%;
    left: 0;

    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform: translateY(-50%);
 }

  #hamburger::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
  }

  #hamburger::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 2px;
    background-color: #fff;
  }

  .sp-nav {
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    width: 100%;
    background: rgba(0, 0, 0, .8);
    transition: all .2s ease-in-out;
 }
 
  .sp-nav ul {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
  }

  .sp-nav li {
    margin: 0;
    padding: 0;
  }

  .sp-nav li span {
    font-size: 15px;
    color: #fff;
  }

  .sp-nav li a, .sp-nav li span {
    display: block;
    padding: 20px 0;
    color: white;
  }
  .sp-nav .close {
    position: relative;
    padding-left: 20px;
  }
  /*バツ印線1*/
  .sp-nav .close::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 16px;
    height: 1px;
    background: #fff;
    transform: rotate( 45deg );
  }
  /*バツ印線2*/
  .sp-nav .close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 16px;
    height: 1px;
    background: #fff;
    transform: rotate( -45deg );
  }

  
  .toggle {
    transform: translateY( 0 );
    opacity: 1;
  }
  .wrapper{
    min-height: 100vh;
    position: relative;/*←相対位置*/
    padding-bottom: 130px;/*←footerの高さ*/
    box-sizing: border-box;/*←全て含めてmin-height:100vhに*/
  }

  
  .main-visual {
    padding: 0 4%;
  }
 .main .contents{
   margin: 0 20px;
   }

   .result {
    display: flex;
    flex-wrap: wrap;
  }

  .result a {
    text-decoration: none;
    color: black;
  }
  .result img {
    width: 10vw;
    height: 10vw;
    border-radius: 30%;
    padding: 1vw;
  }

  .result-m {
    border: 1px solid #ccc; /* 枠線 */
    background-color: #fff; /* 背景色 */
    box-shadow: 3px 3px 6px #ccc;
    text-align: center;
    width: 43vw;
    height: 12vw;
    display: flex;
    margin: 1vw;

  }

  .result-w {
    border: 1px solid #ccc; /* 枠線 */
    background-color: #fff; /* 背景色 */
    box-shadow: 3px 3px 6px #ccc;
    text-align: center;
    width: 43vw;
    height: 12vw;
    display: flex;
    margin: 1vw;

  }

  .result-gw {
    border: 1px solid #ccc; /*枠線*/
    background-color: #fff; /*背景色*/
    box-shadow: 3px 3px 6px #ccc;
    text-align: center;
    width: 43vw;
    height: 12vw;
    display: flex;
    margin: 1vw;
  }
  p {
    margin: 0 10px;
  }

  .result p {
    margin :0 0;
    margin-top: 3.5vw;
    padding-left: 2vw;
    font-size: 2vw;
    font-weight: bold;
    }



    .footer p {
      text-align: center;
      font-size: 1vw;
      margin: 0 0;
      margin-left: 20px;
      margin-right: 20px;
      margin-top: 10px;
    }
      

  li {
    margin-right: 10px;
  }

  .header {
    /* text-align: center; */
    font-family: serif;
    position: fixed;           /* ヘッダーの固定 */
    top: 0px;                   /* 位置(上0px) */
    left: 0px;                  /* 位置(右0px) */
    background-color: midnightblue;     /* 背景色(濃い青) */
    padding:10px 0 20px;       /* 上10px、下20pxをあける */
    width:100%;                /* 横の幅を100% */
    height: 7vw;
    display: flex;
  }
  
 .homephoto {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

 .header .headline {
   color: white;
   text-align: left;
   width: 100%;
   font-size: 4vw;
   margin: 0 0;
   margin-left: 10px;
   margin-top: 5px;
 }

  .main-list1-item {
    margin-bottom: 30px;
  }

  .footer{
    width: 100%;
     /* height: 50vw; */
    background-color: #405c70;
    color: #fff;
    padding: 5px 0;
    position: absolute;/*←絶対位置*/
    bottom: 0; /*下に固定*/
  }
      
  .footer .headline {
    color: white;
    text-align: center;
    margin: 0 0;
    font-size: 3vw;
  }

  .footer h2 {
    font-size: 2vw;
    text-align: center;
    margin-top: 1px;
  }
      
  .main-h2-2 {
    font-size: 23px;
    font-weight: bold;
    padding: 0.5em 0.5em;
    margin: 20px 0;
    color: #232323;
    background: #e8f5ff;
    border-left: solid 10px rgb(40, 103, 222)
  }

  h3 {
    font-size: 21px;
    margin-left: 20px;
  }


  body {
    font-size: small;
    padding-top: 50px;
    padding-left: 0px;
    padding-right: 0px;
    font-family: serif;
    margin: 0;
   }
   .notice-history {
    overflow-y: scroll; /* 縦方向にスクロール可能にする */
    height: 100px; /* コンテンツの高さ */
    display: wrap;
    flex-wrap: wrap; /* 要素が横方向に並べられ、余った場合は折り返される */
    justify-content: space-between; /* 要素を左右に均等に配置 */
    height: 200px;
  }
  
  .notice-history li {
    flex: 1 1 300px; /* 各要素の幅を300pxに設定、flexboxの伸縮に対応 */
    margin: 10px;
    list-style: none; /* リストのマーカーを非表示 */
  }
  
  .notice-history a {
    text-decoration: none; /* リンクのアンダーラインを消す */
    color: inherit; /* リンクの色を継承 */
    display: flex; /* aタグ内をflexboxでレイアウト */
    align-items: center;/*画像とテキストを縦方向に中央揃え*/
    height: 110px;
    padding-bottom: 10px;

  }


  
  .notice-history img {
    width: 150px;
    height: 80px;
    margin-right: 10px;
  }

  .article-box {
    border: 1px solid #ccc; /* 枠線 */
     padding: 10px; /*内側の余白 */ 
    /* padding-right: 100px; */
    margin: 10px; /* 外側の余白 */
    background-color: #f9f9f9; /* 背景色 */
    border-radius: 5px; /* 角を丸くする */
    height: 100px;
  }

  .article-box h3 {
    font-size: 2px;
    margin-bottom: 0;
    margin-left: 0;
    margin-top: 0;
    font-size: 15px;
  }
  /* .blog {
    text-align: center;
    margin: auto;
    display: block;
  } */

  /* .blog {
    text-align: center;
  } */
    /* .resume {
      text-align: center;
      /*justify-content: center;*/
      /* display: flex;
      height: 100vh;
  } */
  
     /* .left {
      width: 50%;
      padding: 20px;
  }
  
  .right {
    width: 50%;
    padding: 20px;
  } */
  
  .lonly {
    /* text-align: center; */
    margin-top: 50px;
    font-size: 20px;
    /* margin-left: 20px; */

  }

  .uv {
    font-size: 17px;
  }
  
.blog ul {
  padding-left: 0px;
}
}