@charset "utf-8";

main {
  height: auto;
  overflow-x: hidden;

}

/* ■■■■■■タイトル■■■■■■ */
h1 {
  border: 1px solid rgb(71, 197, 220);
  margin: 10px;
  border-radius: 20px;
  font-family: fot-tsukuardgothic-std, sans-serif;
  font-style: normal;
  font-weight: 400;
}

h1 div {
  text-align: center;
  color: white;
  background-color: rgb(71, 197, 220);
  margin: 2px;
  padding: 8px;
  border-radius: 20px;
  font-size: 22px;
  font-weight: 600;
}

/* ■■■■■■個別記事エリア■■■■■■ */
.toukou_kobetukiji {
  width: 100%;
  margin: 0 auto;
}

.toukou_kobetukiji article {
  margin: 0 auto;
  width: 100%;

}

.content-cover {
  width: 100%;
  border-radius: 15px;
}

/* ■■■■■■トップイメージ■■■■■■ */
.top-img {
  position: relative;
  width: 100%;
  height: 250px;
  display: flex;
  justify-content: center;
  /* 横方向の中央揃え */
  align-items: center;
  /* 縦方向の中央揃え */
}

.top-img img {
  position: absolute;
  object-fit: cover;
  width: 80%;
  /* 幅を100%に設定 */
  height: 95%;
  /* 高さを100%に設定 */
}

/* ■■コンテンツのヘッダー■■ */
.content-header {
  width: 100%;
  height: 170px;
}

/* ■■コンテンツのタイトル■■ */
h2 {
  font-family: fot-tsukuardgothic-std, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 30px;
  text-align: center;
  padding: 10px 0 5px;
}

.subtitle {
  font-family: sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  padding: 0px;
}

/* ■■■■■■タグ■■■■■■ */
.tags-kobetu {
  display: flex;
  justify-content: center;
  padding: 5px 24px 10px;
  pointer-events: none;
}

.tagcover {
  margin: 6px 5px 0%;
  text-align: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 13px;
  height: 23px;
  width: 103px;
}

#ta-1 {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 3px;
  border: 2px solid goldenrod;
  border-radius: 7px;
  color: goldenrod;
}

#ta-2 {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 3px;
  border: 2px solid goldenrod;
  border-radius: 7px;
  color: goldenrod;
}

#ta-3 {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 3px;
  border: 2px solid goldenrod;
  border-radius: 7px;
  color: goldenrod;
}

#ta-4 {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 3px;
  border: 2px solid goldenrod;
  border-radius: 7px;
  color: goldenrod;
}

#tb-1 {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 3px;
  border: 2px solid rgb(254, 126, 47);
  border-radius: 7px;
  background-color: rgb(254, 126, 47);
  color: white;
}

#tb-2 {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 3px;
  border: 2px solid rgb(0, 211, 218);
  border-radius: 7px;
  background-color: rgb(0, 211, 218);
  color: white;
}

#tb-3 {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 3px;
  border: 2px solid rgb(64, 176, 255);
  border-radius: 7px;
  background-color: rgb(64, 176, 255);
  color: white;
}

#tc-1 {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 3px;
  border: 2px solid rgb(102, 102, 102);
  border-radius: 7px;
  background-color: rgb(102, 102, 102);
  color: white;
}

#tc-2 {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 3px;
  border: 2px solid rgb(102, 102, 102);
  border-radius: 7px;
  background-color: rgb(102, 102, 102);
  color: white;
}

#tc-3 {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 3px;
  border: 2px solid rgb(102, 102, 102);
  border-radius: 7px;
  background-color: rgb(102, 102, 102);
  color: white;
}

#tc-4 {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 3px;
  border: 2px solid rgb(102, 102, 102);
  border-radius: 7px;
  background-color: rgb(102, 102, 102);
  color: white;
}


/* ■■■■■■日時■■■■■■ */
.date-cover {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 40px;
  margin: 0;
}

.date-cover a {
  padding: 12px;
  font-size: 14px;
  font-family: sans-serif;
}

.date-cover a span {
  padding: 5px 5px 4px;
  border-radius: 3px;
  color: white;
  background-color: rgb(34, 107, 170);
}

/* ■■■■■■SNS■■■■■■ */
.sns-box {
  width: 200px;
  height: 120px;
  display: flex;
  padding: 0px 20px;
}

.btn-X {
  display: block;
  background-image: url(../imgs/x.svg);
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
  margin: 0 5px 0 0;
}

.btn-fb {
  display: block;
  background-image: url(../imgs/facebook.svg);
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
  margin: 0 5px 0 0;
}

.btn-insta {
  display: block;
  background-image: url(../imgs/instagram.svg);
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
  margin: 0 5px 0 0;
}



/* ■■本文■■ */
.content-body {
  display: flex;
  width: 450px;
  margin: 0 auto;
  background-color: white;
}

.content-text {
  width: 100%;
  margin: 0 auto;
}


/* (見出し) */
.content-text h4 {
  font-family: fot-tsukuardgothic-std, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 22px;
  text-align: center;
  padding: 20px 0 10px;
}

/* (テキスト) */
.content-text p {
  /* background-color: rgb(195, 207, 217); */
  text-align: justify;
  font-family: sans-serif;
  line-height: 30px;
  font-weight: 300;

}

/* (画像) */
.wp-block-columns {
  padding: 15px 0px 0px;
}

.wp-block-column {
  padding: 5px;
}

@media only screen and (max-width:768px) {
  body {
    width: 100vw;
    overflow-x: hidden; /* 横スクロールを無効にする */
  }

  main {
    width: 100vw;
  }

  .content-header {
    height: 200px;
    margin: 10px 10px 20px;
    width: 95vw;
  }

  h1 {
    margin: 90px auto 0;
  }

  h2 {
    font-size: 25px;
  }

  .date-cover {
    display: block;
    text-align: center;
    line-height: 40px;
  }

  .sns-box {
    width: 100vw;
    margin: 0 auto;
    height: 60px;
    text-align: center;
    justify-content: center;
  }

  .sns-box a {
    display: block;
    width: 40px;
    height: 40px;
  }

  .content-body {
    padding: 15px 0px;
    width: 95vw; /* 100vw ではなく 95vw など、main 要素の幅より少し狭めに設定する */
    max-width: 400px; /* 最大幅を 500px に設定する */
    margin: 0 auto; /* 中央揃えにする */
    overflow-x: hidden; /* 横スクロールを無効にする */ 
   }

  .content-text {
    width: 90vw;
  }



}