/* bodyの背景_PC */
body {
  background-color: #f9f9bc;

}

/* 全幅共通 */
h1 {
  font-size: 2.5rem ;
}

.news_title {
  color: #000;
}

p {
  font-size: 1.1rem;
}

.justify {
  text-align: justify;
}

#icon_anime_top {
  position: absolute;
  top: 1%;
  position: fixed;
  z-index: 9;
}

#icon_anime_bottom {
  position: absolute;
  bottom: 1%;
  position: fixed;
  
}

li {
  list-style: none;
}

li a {
  text-decoration: none;
  list-style: none;
  color: #000;
}

li.current-menu-item a { 
  border-bottom: 3px solid #27A100;
}

li.current-menu-item a::before {
  content: "\f133";
  font-family: bootstrap-icons;
  color: #27A100;
}

iframe {
  border-radius: 5%;
}

/* フェードイン */
.fade-in {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.rest_area {
  margin-bottom: 50px;
  opacity: 0;          /*初期値は透明にしておく  初期値は透明にしておく  */
  transition: .5s;     /*動くスピードを0.5秒に指定 */
  position: relative;  /*相対位置の設定*/ 
  top: 50px; 
}

/* タグ検索 */
.tag_flex {
  display: flex;
  justify-content:center ;
}

.tag_item a::before {
  content: none; /* アイコンを消す */

}

/* チャットgptに打ってもらったコード（タグ検索） タグの大きい箱*/
.tag-list {
  width: 90%;
  display: flex;
  flex-wrap: wrap;
  align-content: center; /* 縦のブロックを均等に並べる */
  justify-content: space-around; /* 水平方向 */          
  gap: 10px; /* 要素間のスペースを設定 */         
  
}

/* タグリストのアイテム　小さい箱 */
.tag_item {
  border-radius: 10px;
  border: 3px solid #ade8b9;
  flex: 0 1 150px; /* 幅を固定 */
  
  display: flex;          
  align-items: center;
  justify-content: center;
                                
}

.tag-list a {
  
  flex: 0 1 150px; /* 幅を150pxに固定し、必要に応じて縮小または拡大 */
  border-radius: 10px;
  height: 50px;          
  background-color: #fff;         
  display: flex;          
  align-items: center;          
  justify-content: center;          
}

.tag-list a:hover {
  background-color: #f9f9bc;
}


/* 検索機能 */ 
 #s-btn-area{
  background:none;
  color:#666;
  border:none;
  font-size:20px;
  outline: 0;
  padding: 0;
 }
 #s-btn{
  background-color: black;
  width: 35px;
  height: 30px;
  border-radius: 3px;
  font-size: 16px;
  color: #fff;
  line-height: 31px;
 }
 .underline {
  text-decoration: underline;
 }
 

/* bodyトップのアニメーション */

  .scroll-infinity__wrap {
    display: flex;
    overflow: hidden;
  }
  .scroll-infinity__list {
    display: flex;
    list-style: none;
    padding: 5px;
  }
  

   
 
/* アニメーション共通コード */

.scroll-infinity__item > img {
    width: 50%;
}


/* PCナビ */
.pc_device_nav {
  
  z-index: 100;
  width: 20%;
}


.fixed {
  position: fixed;
  top: 5rem;
  width: 20%;
}

.p_relative {
  position: relative;
}

/* メイン軸（スマホ表示画面） */
#main_colum {
  background-color: #fff;
  /* position: absolute; */
  /* left: 32%; */
  width: 60%; 
  z-index: 100;
}

/* slickスライドの部分 */
.center {
  width: 90%;
  margin: auto;
}

.center button {
  background-color: #ADE8B9;
  border-radius: 50%;       /* 背景を丸くする */
} 


.slick-slide {
  opacity: 0.5;
  transition: opacity 0.5s ease-in-out;
}
.slick-center {
  opacity: 1;
}



/* 右側背景  */
#pc_right {
  
  position: relative;
  z-index: 100;
  width: 20%;
  
}

.infiniteslide {
	position: fixed;
}

.w_100 {
  width: 32vw;
}

.wp-block-image {
  margin: 0;
}

.bg_white {
  background-color: rgba(255, 255, 255, 0.6);
}

/* 右側*/
.f_container {
  display:flex;
  flex-wrap:wrap;
}

/* インスタボタンのバックカラー */
#inst {
  background-color: #FFFB91;
}

/* センターのボタン部分 */
.area_flex {
  display: flex;
  justify-content: center;
}

#area_box {
  width: 90%;
  display: flex;
  flex-wrap: wrap;
  align-content: center; /* 縦のブロックを均等に並べる */
  justify-content: space-around; /* 水平方向 */          
  gap: 10px; /* 要素間のスペースを設定 */
}

#area_box a {
  height: 50px;        
  display: flex;          
  align-items: center;          
  justify-content: center;  
  color: #000;
  text-decoration: none;       
}

#area_box a:hover {
  background-color: #f9f9bc;
}

#mima {
  border-radius: 10px;
  border: 3px solid #FF8B3C;
  flex: 0 1 150px; /* 幅を固定 */
  display: flex;          
  align-items: center;
  justify-content: center;
}

#miyoshi {
  border-radius: 10px;
  border: 3px solid #27A100;
  flex: 0 1 150px; /* 幅を固定 */
  display: flex;          
  align-items: center;
  justify-content: center;
}

#higashimiyoshi {
  border-radius: 10px;
  border: 3px solid #A6DF55;
  flex: 0 1 150px; /* 幅を固定 */
  display: flex;          
  align-items: center;
  justify-content: center;
}

#tsurugi {
  border-radius: 10px;
  border: 3px solid #f3e100;
  flex: 0 1 150px; /* 幅を固定 */
  display: flex;          
  align-items: center;
  justify-content: center;  
}

#sonota {
  border-radius: 10px;
  border: 3px solid #ade8b9;
  flex: 0 1 150px; /* 幅を固定 */
  display: flex;          
  align-items: center;
  justify-content: center;
}

/* PCとスマホの幅　1000を境にする*/ 
/* 1000超がPC */
@media screen and (min-width: 1001px) {
  .sh_nav {
    display: none;
  }

  /*.top_news {
    display: none;
  }*/

  .site {
    display: none;
  }

  /* 検索機能 */
  #form{
    position:relative;
    text-align: center;
   }
}

/* 1000以下がスマホ */
@media screen and (max-width: 1000px) {
  body {
    background-color: #fff;
  }

  .pc_device_nav{
    display: none;
  }

  #pc_right {
    display: none;
  }

  
  
  #main_colum {
    width: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 60px;
    z-index: 100;
  }
  

  .nav-link {
    padding-left: 40px;
  }

  .menu-item {
    padding: 8px;
  }

  .navbar-brand {
    margin-right: 0;
  }

  #form {
    padding: 8px 0 8px 40px;
  }

  .sh_nav_flex {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between; 
    width: 100%;
    
  } 

  .sh_nav_conta {
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 0;
    position: fixed;
    z-index: 110;
  }
  
  /* スライド部分 */
  .center {
    width: 100%;
    margin: auto;
  }

  .slick-prev, .slick-next {
    display: none !important;
  }

}

