/* 共通 */
.text1{
  color: #333333;
  font-size: 12px;
}
.text2{
  margin-top: 0px;
  color: #fff;
  

}
.text3{
  color: #333333;
  font-size: 15px;
  text-align: left;
  padding-left: 20px;
  padding-right: 20px;
}

.h1midashi1{
  padding: 0.5rem 1rem;
  background: #fc6100;
  color: #ffffff;
  margin-left: 5px;
  margin-right: 10px;
  -webkit-box-shadow:5px 5px 0 #8A3500;
  box-shadow:5px 5px 0 #8A3500;
  }

  .h2midashi2{
    padding: 0.5rem 1rem;
    background: #fc6100;
    color: #ffffff;
    margin-left: 3px;
    margin-right: 3px;
    }

  .h3midashi3{
    padding: 0.1rem 0.5rem;
    border-left: 5px solid #fc6100;
    background: #f4f4f4;
    font-size: 20px;
    color: #000000;
    margin-left: 3px;
    margin-right: 3px;
      }

.honbun1{
margin-left: 3px;
margin-right: 3px;
}

p span {
  font-size: 15px;
  font-weight: bold;
  color: #666666;

}

/* 背景 */
body{
  display: flex;
  flex-direction: column;
  margin: 0 auto ;
  background-color: rgba(245, 245, 245, 0.753);
}

/* タイトルロゴ・ヘッダー */
.header{
  height: 150px;
  text-align: center;
  background-color: #009efd;
  
}

.titlebanner{
  display: block;
  margin: auto;
  max-width: 100%; /* 画像の最大幅を親要素に合わせる */
  height: auto;
}

.subtitle{
  height: 35px;
  text-align: center;
  background-color: #ffffff;

}

/* タイトルロゴ・ヘッダー 終わり*/

main{
  display: flex;
  min-height: 100vh;
  margin-right: auto;
  margin-left: auto;
  margin-top: 20px;
  max-width: 1250px;
  margin-bottom: 30px;
}

/* ■ ■ ■ ■タイトル下サブメニュー■ ■ ■ ■ */

.glovalNavigation{
  height: 45px;
  text-align: center;
  background:#fc6100;
  color: #fff;
  font-size: 15px;
}

.minimenu ul{
  display: table;
  width: 80%;
  padding: 0;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  }
  
  .minimenu ul li {
  display: table-cell;
  min-width: 30px;
  padding: 2px;
  border-right: 3px dotted #fff;
  
  }
  
  .minimenu ul li:first-child{
  border-left: 3px dotted#fff;
  }
  
  .minimenu ul li a{
  display: inline-block;
  width: 100%;
  text-decoration: none;
  color: hsl(0, 0%, 100%);
  margin-left: auto;
  margin-right: auto;
  position: relative; /* 追加 */
  }
  
  .minimenu ul li a::before { /* 追加 */
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  bottom:-4px;
  transition: 0.4s;
  transform:scale(0,1);

  }
  
  .minimenu ul li a:hover::before { /* 追加 */
  transform:scale(1);

  }


/* ■ ■ ■ ■サブメニュー終わり ■ ■ ■ ■*/


/*■ ■ ■ ■ パンくずリスト■ ■ ■ ■ */
 
.breadcrumb {
  margin: 0;
  padding: 0;
  list-style: none;
  float: left;
}
.breadcrumb li {
  position: relative;
  display: inline-block;/*横に並ぶように*/
  list-style: none;
  /*font-weight: bold;太字*/
  margin-right: 0.8em;
}
.breadcrumb li:after {/*三角の部分*/
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  border-style: solid;
  border-color: transparent;
  border-left-color: #9cfc00;/*背景色*/
  border-width: 14px 12px;
  width: 0;
  height: 0;
}
.breadcrumb li a {
  display: inline-block;
  padding: 0 3px 0 7px;
  height: 28px;
  line-height: 28px;
  text-decoration: none;
  color: #ffffff;
  background: #9cfc00;/*背景色*/
  font-size: 12px;
}
.breadcrumb li a:hover {
  color: #FFF;
  text-decoration: underline;
}
/* ■ ■ ■ ■パンくずリスト終わり■ ■ ■ ■ */

/* 検索ボックス */
.search{
  /* display: flex;
  justify-content: flex-start; */
  float: right;
  
}
.search input[type="text"] {
  height: 25px
}

/* パンくず＋検索ボックス横並び */
.breadsearch{
  overflow: hidden;
  margin-top: 5px;
  margin-left: 5px;
  margin-right: 5px;
}

/* ■ ■ ■ ■左側コンテンツ■ ■ ■ ■ */
/* 左側コンテンツ背景 */
.content{
  flex: 1;
  background:linear-gradient(to top,#c4eedb 0%,#009efd 100%);
  margin-right: 10px;
  border-radius: 10px;
  margin-left: 1px;
  padding-bottom: 30px;

}
.content-in{
  background-color: rgb(255, 255, 255);
  margin-top: 20px;
  margin-left:10px;
  margin-right: 10px;
  margin-bottom: 20px;
  height: 200px;
  border-radius: 10px;
  border: outset 3px #009efd;
 
  }

.content-in:hover{
  opacity: 0.8;
  transition-duration: 0.3s;
}


/* ブログ記事のコンテンツ */

h3{margin-top: 12px;
  margin-bottom: 1px;

color:#fc6100 ;}

.bannertextwaku{
  /* border: solid 1px #f30707;  枠線確認用*/
  margin-right: 5px;
  margin-left: 280px;
  padding-top: 5px;
}


.bannerimagewaku{
  width: 280px;
  height: 180px;
  margin-top: 10px;
  margin-left: 10px;
  float: left;
  /* border: solid 1px #666666; 枠線確認用*/
}

.bannerimage{
  width: 270px;
  height: 180px;
  margin-top: 0px;
  margin-left: 0px;
  float: left;
  /* border: solid 1px #666666; 枠線確認用 */
 }
.bannertextwaku p {
  font-size: 13px;
}

a {
  color: #333333;
  text-decoration: none;
}

/* ページネーション */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 8px;
  list-style-type: none;
  padding: 0;

}

.pagination a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2em;
  height: 2em;
  border: 1px solid #2589d0;
  border-radius: 5px;
  color: #2589d0;
  background-color: #FFF;
}

.pagination a:hover {
  text-decoration: underline;
  }

.pagination a:not(:hover) {
  text-decoration: none;
}

.pagination .current a {
  background-color: #2589d0;
  color: #fff;
  pointer-events: none;
}


/* ■ ■ ■ ■左側コンテンツ 終わり■ ■ ■ ■*/

/* ■ ■ ■ ■右側メニュー ■ ■ ■ ■*/
/* 右側メニュー背景 */
.localNavigation{
  text-align: center;
  background:linear-gradient(to top,#c4eedb 0%,#009efd 100%);
  border-radius: 10px;
  color: #333333;
  width: 350px;
  margin-right: 2px;
  padding-top: 20px;
}

/* プロフィール */
.name{
  color:#6100FC;
  border-bottom: 3px solid #6100FC;
}
.name:hover{
  color: #333333;
  border-bottom: 3px solid #333333;
}
.profile{
  background-color: #ffffff;
  text-align: center;
  margin: 5px 5px 5px 5px;
  height: 530px;
  padding: 5px 5px 5px 5px;
}
.profileimg{
  margin: 5px 5px 5px 5px;
  height: 200px;
}

/* SNSアイコン５つならんでいたときのもの */
/* .profile_sns{
  display: flex;
  justify-content: space-between;
  max-width: 250px;
  margin-left: 40px;
}
.profile_sns img{
  width: 100%;
  height: auto;
} */
 /* SNSアイコン１つ */
.profile_sns {
  display: flex;
  justify-content: center; /* 中央配置 */
  align-items: center; /* 縦方向の中央配置（必要なら） */
  width: 100%; /* コンテナを横幅いっぱいに */
  margin: 20px 0; /* 上下の余白 */
}

.profile_sns img {
  width: 50px; /* アイコンサイズを適宜調整 */
  height: auto;
}


/* 広告スペース */
.koukokubanner{
  background-color: #f7f4f6;
  margin: 5px 5px 5px 5px;
  height: 200px;
}

/* 右側サブメニュー */
.localmenu{
  background-color: #ffffff;
  margin: 5px 5px 5px 5px;
  height: 220px;
  }
ul.localmenulist{
  font: 14px/1.6 'arial narrow', sans-serif;
  list-style: none;
  padding: 0.5em 0.7em;
    border-radius: 5px;
}
.localmenulist li {
  display: flex;
  align-items: center;
  gap: 0 10px;
  position: relative;
  padding: .3em .3em .3em 1.5em;
  border-bottom:dashed#009efd 2px;
  line-height: 30px;
  font-size: 14px;
}
.localmenulist li::before,
.localmenulist li::after {
  position: absolute;
  content: '';
}
.localmenulist li::before {
  left: 0;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background-color: #009efd;
}
.localmenulist li::after {
  left: .6em;
  transform: translateX(-75%) rotate(-45deg);
  width: .3em;
  height: .3em;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
}
.localmenulist  a:hover{
  text-decoration: underline;
  color: #009efd;
}

/* カテゴリ説明 */
.text4{
  position: relative;
  display: inline-block;
  text-align: center;
  color: #ffffff;
  font-size: 17px;
  margin-bottom: 0px;
  border-bottom: 3px solid #ffffff;
  margin-top: 7px;
}



/* 人気記事一覧 */
.populartext{
  background-color: rgb(255, 255, 255);
  margin:5px 5px 5px 5px;
  height: 100px;
  width: 330px;
  text-align: left;
}
.populartext:hover{
  opacity: 0.8;
  transition-duration: 0.3s;
}
.popularbannerimage{
  width: 135px;
  height: 90px;
  margin-top: 5px;
  margin-left:5px;
  float: left;
  background-color: aqua;
  margin-right: 5px;
}
.popularbannertext{
  float: right; 
 

  
}
.popularlist{
  list-style: none;
  padding-left: 5px;
  color: #280c8b;
}


/* ■ ■ ■ ■右側メニュー 終わり■ ■ ■ ■*/






/* フッター */
.footer{
  height: 150px;
  text-align: center;
  background-color: #fc6100;
  padding-top: 20px;
}

.footerlist ul{

  display: table;
  margin: 0 auto;
  padding: 0;
  width: 80%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.footerlist ul li {
  display: table-cell;
  min-width: 20px;
  padding: 2px;
  border-right: 3px dotted #ffffff;
  
}

.footerlist ul li:first-child{
  border-left: 3px dotted#ffffff;
}

.footerlist ul li a{
  display: block;
  width: 100%;
  text-decoration: none;
  color: #ffffff;
  margin-left: auto;
  margin-right: 0;
  font-size: 15px;
}

.footerlist ul li a:hover{
  text-decoration: underline;
  color: #fff;
}

.bottom{
  background-color: white;
  height: 50px;
}

/* ページトップに戻るボタン */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  background-color: #6100FC;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 10px 10px 10px #01114736;
}

#back-to-top:hover {
  background-color: #555;
}

/* 広告・アフィリエイト関係 */
.ad-1{
  font-size: 12px;
  color:#fff ;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
}
.ad-center{
  text-align: center;
 
}
.ad-center img{
  max-width: 100%;
  height: auto;
  text-align: center;
 margin-right: 1px;
  margin-left: 1px;
}

.ad-2{
  max-width: 300px;
   padding-left: 10px;
   padding-right: 10px;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-left: 10px;
    max-width: 80%;
    height: auto;
  }

  
  .genkoumain {
    height: auto;
    margin-left: 20px;
    margin-right: 20px;
    width: auto;
  }
  
  .genkoubannerimg {
    max-width: 100%;
    height: auto;
  }



/* メディアクリエリ */
/* タブレット向け */


@media screen and (max-width:1199px){
.text1{font-size: 15px;}
.text2{font-size: 15px;}
.subtitle{height:auto;}
.footerlist ul{width: 95%;}
.bannertextwaku{margin-left: 260px;}
.content-in{height: auto; min-height: 200px;}
}

@media screen and (max-width:960px){
  .header{height: auto;}
  main{flex-direction: column;}
  .content-in{margin-top: 10px;margin-bottom: 10px;}
  h3{margin-top: 5px;}
  .minimenu ul{width: 95%;}
  .localNavigation{margin-top: 10px;width: 500px;
    margin-left: auto;margin-right: auto;}
    .populartext{width: auto;}
  .footer{height: 230px;padding-top: 10px;}
  .bottom{height: 40px;}
  .footerlist ul{width: 100%;}
  .footerlist ul li {display: table-row;}
  .footerlist ul li a{padding-top: 5px;}
  .profile_sns{max-width: 400px;margin-left: 40px;}
}

/* スマホ向け */
@media screen and (max-width:767px){
  .text1{font-size: 12px;margin-top:1px;margin-bottom: 1px;}
  .text2{font-size: 15px;}
  .glovalNavigation{height: auto;font-size: 13px;}
  .minimenu ul{display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
   margin-top: 1px;margin-bottom: 2px;}
  .minimenu ul li {display: block;border-right:none;}
  .minimenu ul li:first-child{border-left:none;}
  .content{margin-right: 10px;margin-left: 10px;}
  .bannerimage{  width: 225px;height: 150px;}
.bannerimagewaku{width: 235px;height: 150px;margin-top:25px;}
  .localNavigation{width: auto;}
  .content{margin-right: 0px; margin-left: 0px;}
  .content-in{margin-right: 4px; margin-left: 4px;}
     .genkoumain {margin-left:5px;margin-right:5px;}
}

/* 旧スマホ画面小さ目用 */
@media screen and (max-width:400px){
  .populartext{width: auto;}
  .bannertextwaku{margin-left: 5px;margin-top: 200px;}
}