@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

body {
  overflow-x: hidden;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Meiryo",
  "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3",
  "Hiragino Kaku Gothic Pro", sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
}

ul li {
  list-style: none;
}

ul {
  margin: 0;
  padding: 0;
}

.container {
  display: flex;
  max-width: 100%;
  padding: 0 !important;
  /* overflow: hidden; */
}

.sidebar {
  width: 19%;
  flex-grow: 1;
  background-color: #f5f8fa;
  border-right: 1px solid #e6ecf0;
  position: fixed; /* サイドバーを固定 */
  height: 100vh; /* 画面の高さに合わせる */
  overflow-y: auto; /* サイドバー内でスクロールできるように */
  /* サイドバーのスタイル */
}

.logo {
  margin: 20px auto;
  text-align: center;
}

.beta {
  font-size: 12px;
  color: #666;
  text-align: center;
  display: block;
  margin-top: -20px;
}

nav li a {
  display: block;
  font-size: 1rem;
  padding: 10px 10px;
  color: #777;
}

nav li a:hover {
  background: #ddd;
}

nav li a {
  text-decoration: none;
}

.menu {
  border-top: solid 2px #ddd;
  padding-top: 15px;
}
.menu,
.menu-con,
.menu-bottom  {
  border-bottom: solid 2px #ddd;
  padding-bottom: 15px;
  margin: 15px 20px;

}

.menu i {
  padding-right: 10px;
  width: 20px;
}

.menu-con li a {
  font-size: 13px;
}

.menu-sns i {
  margin: 0 5px;
  font-size: 1.5rem;
  color: #777;
}

.copy {
  font-size: 11px;
  bottom: 20px;
  position: absolute;
  left: 30px;
  color: #555;
}

/* main */

.main-content {
  flex-grow: 1;
  display: grid;
  display: flex;
  width: 81%;
  flex-grow: 1; /* 残りの空間を確保 */
  margin-left: 19%; /* サイドバーの幅分左にずらす */
  border-right: 1px solid #e6ecf0;

}

.feed {
  width: 70%;
  margin: 0 20px;
  display: flex;
  flex-basis: auto;
  flex-direction: column;
}

.feed h1 {
  font-size: 1.2rem;
  margin: 20px 0 10px;
  color: #333;
  line-height: 150%;
}

.feed p {
  line-height: 2;
  margin-bottom: 1.2em;
  color: #444;
  font-size: 1.125rem;
  text-align: justify;
  hyphens: auto;
  word-break: break-word;
}

/* 記事 */

article {
  border-bottom: solid 1px #ddd;
  padding-bottom: 30px;
  margin-bottom: 30px;
}

article h2 {
  background: #ddd;
  font-size: 1rem;
  padding: 15px 15px;
  color: #333;
}

.sub-head {
  line-height: 200%;
  margin-bottom: 10px;
  display: block;
  font-size: 12px;
  color: #888;
}

time {
  font-size: 12px;
  color: #888;
}

article a {
  text-decoration: none;
  color: #777;
}
article a:hover {
  text-decoration: underline;
}

blockquote {
  margin: 1.5em 0;
  padding: 1em 1.5em;
  color: #222;
  line-height: 1.8;
  font-style: normal;
  font-weight: 500;
  border-left: 4px solid #bbb;
  background: #f9f9f9;
  border-radius: 5px;
}


.fluid-width-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
}

.fluid-width-video-wrapper {
  width: 100%;
  position: relative;
  padding-top: 56.25% !important; /* 16:9のアスペクト比 (9 / 16 = 0.5625) */
}


.wp-embedded-content {
  width: 100%;
}

img#cis-load-img {
  width: 100%;
}

/* sns 関連 */

iframe.instagram-media {
  max-width: 100% !important;
  margin: 0 auto;
}

/* navigation */

.navigation {
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
}

.navigation a {
  text-decoration: none;
  color: #777;
}

/* アフィリ */

.sticky-itslink,
.amazlet-box {
  font-size: 13px;
  line-height: 150%;
  background: #f2f2f2;
  padding: 5px 5px 0px;
}

.sticky-itslinktext a,
.amazlet-box a {
  text-decoration: none;
  color: #777;
}

.sticky-itslink img {
  padding-right: 10px;
}

.sticky-itslink p {
  margin: 5px 0 0;
}

/* 関連記事 */

.kanren {
  font-size: 14px;
  font-weight: 600;
  color: #777;
  text-align: center;
  letter-spacing: 2px;

  margin-bottom: 20px;
}

.list-post {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-bottom: solid 1px #ddd;
  margin-bottom: 30px;
  padding-bottom: 20px;
  position: relative;
}

.list-post li {
  width: calc(33% - 10px);
  margin-bottom: 15px;
}

.list-post li a {
  border: none;
  text-decoration: none !important
}

.main-content-one figure a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

figure {
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.thumb {
  width: auto;
  height: 130px;
  overflow: hidden;
  border-radius: 0;
  transition: border-radius 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: border-radius 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.thumb:hover {
  border-radius: 20px;
}

.thumb:hover img {
  border-radius: 10px;
  transform: scale(1.1);
}

figure h3 {
  margin: 0;
  padding: 10px 0 !important;
  font-size: .8rem !important;
  color: #777;
  line-height: 130%;
}

figure img {
  width: 100%;
  height: auto;
}

/* right */

.trends {

  width: 31%;
  background-color: #f5f5f5;
  border-left: 1px solid #e6ecf0;
  /* トレンドのスタイル */
  padding: 20px 20px 20px;
  box-sizing: border-box;
  display: flex;
  flex-basis: auto;
  flex-direction: column;

}

.trends p {
  margin: 0 0 20px;
}

.sticky {
  position: sticky;
  top: 20px;
  position: -webkit-sticky;
}

/* youtube */

.youtube-responsive {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* アスペクト比16:9の場合 */
}

.youtube-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.space {
  width: 100%;
  height: 20px;
}

/* ranking */

.rank-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;

  padding: 7px;
  border-radius:15px;
  background: #777;
  text-align: center;
  margin-bottom: 20px;
}

.sticky {

}

/* tab */

.tabs {
  display: flex;
  cursor: pointer;
  padding: 0;
  margin: 0 auto;
  width: 100%;
}

.tab {
  flex-grow: 1;
  background-color: #fff;
  padding: 12px;
  text-align: center;
  color: #000;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
}

.tab:last-child {
  border-right: solid 1px #ddd;
}

.tab-content {
  display: none;
  padding: 0;
  border-top: none;
}

.tab:hover {
  background-color: #fff;
}

.tab.active {
  border-bottom: 3px #777 solid;
  color: #777;
}

.tab-content.active {
  display: block;
}

.ranking {
  width: 100%;
  position: inherit;
  /* margin: 20px auto; */
}

.ranking li {
  display: grid;
  border-bottom: solid 1px #f5f5f5;
}
.ranking a {
  background: #fff;
}
.rank-img {
  width: 25%;
  float: left;
  height: auto;
}

.ranking li a {
  color: #333;
}
.ranking li {
  position: relative;
  list-style: none;
}

.ranking li:before {
  content: counter(wpp-count);
  display: block;
  position: absolute;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background-color: #999;
  padding: 2px 6px;
  z-index: 1;
  transition: 60%;
}

.ranking li {
  counter-increment: wpp-count;

}

.ranking li:nth-child(1):before{
  background-color: #999;
}

.ranking li:nth-child(2):before{
  background-color: #999;
}

.ranking li:nth-child(3):before{
  background-color: #999;
}

a .rank-text {
  text-decoration: none;
}
.rank-text {
  width: 71%;
  float: left;
  margin-left: 4%;
  font-size: 11px;
  line-height: 150%;
  padding: 10px 0 0;
}

/* main one column　*/

.main-content-one {
  flex-grow: 1;
  display: grid;
  display: flex;
  width: 81%;
  flex-grow: 1; /* 残りの空間を確保 */
  margin-left: 19%; /* サイドバーの幅分左にずらす */
  border-right: 1px solid #e6ecf0;

}

.feed-one {
  width: 100%;
  margin: 20px;
  display: flex;
  flex-basis: auto;
  flex-direction: column;
}

.feed-one .list-post li {
  margin-bottom: 30px;
}

.feed-one .thumb {
  width: auto;
  height: 180px;
  overflow: hidden;
  border-radius: 10px;
}

.feed-one figure h3 {
  font-size: .9rem !important;
  color: #333;
  padding-bottom: 2px !important;
}

.feed-one figure * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.feed-one figure img {
  max-width: 100%;
  vertical-align: top;
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.feed-one figure:hover img,
.feed-one figure.hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/* release */

.list-post-release {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-bottom: solid 1px #ddd;
  margin-bottom: 30px;
  padding-bottom: 20px;
  position: relative;
}

.list-post-release li {
  width: calc(24.5% - 10px);
  margin-bottom: 20px;
}

.list-post-release li .thumb {
  width: auto;
  height: auto;
  overflow: hidden;
  border-radius: 10px;
  border: solid #ddd 1px;
}
.list-post-release li span {
  color: #666;
  font-size: 12px;
  display: block;
  margin-top: 5px;
}

/* event */

.pc-event {
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}

.pc-event li {
  width: 49%;
  position: relative;
  margin-bottom: 1%;
  display: flex;
}

.pc-event li:nth-child(2n) {
  margin-left: 1.5%;
}

.thum {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  background: #000;
}

.txt {
  width: 100%;
  padding: 10px 20px;
  background: #f5f5f5;
}

.txt a {
  text-decoration: none;
  color: #333;
}

.txt h3 {
  font-size: 1rem;
  padding: 10px 0 20px;
  margin: 0;
}

.txt p {
  line-height: 180%;
  font-size: 13px;
  margin: 0 auto 20px;
}

.btn-more {
  display: inline-block;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
  width: 100%;
  outline: 0;
  background-color: #ff6666;
  text-align: center;
  height: 40px;
  line-height: 40px;
  font-size: 17px;
  color: #FFF !important;
  cursor: pointer;
  transition: all .5s;
  transition-timing-function: cubic-bezier(0.2, 3, 0.4, 1);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-decoration: none;
  margin: 10px auto 30px;
  border-radius: 10px;
}
.btn-more:hover {
  text-decoration: none;
  color: #fff;
  opacity: .7;
}

/* shared utility */

.koukoku-title {
  text-align: center;
  padding: 0 10px 20px;
  font-size: 16px;
}

.bold {
  font-weight: bold;
}

/* release list */

.release-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.release-item {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  transition: background-color 0.3s;
}

.release-item:hover {
  background-color: #eaeaea;
}

.release-image {
  width: 80px;
  height: 80px;
  overflow: hidden;
  margin-right: 16px;
  flex-shrink: 0;
}

.release-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-info {
  flex-grow: 1;
}

.release-name {
  font-size: 12px;
  line-height: 150%;
  color: #000;
  margin-bottom: 4px;
}

.release-follow {
  font-size: 10px;
  color: #757575;
}

.release-info a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* home */

.main-content-home article a {
  text-decoration: none;
  color: #333 !important;
}

.main-content-home article a:hover {
  text-decoration: none;
  opacity: .7;
}

.main-content-home .posco img {
  width: 100%;
  height: auto;
}

.main-content-home a.nav-next {
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 20px;
  display: block;
  background: #555;
  color: #fff;
  text-decoration: none;
  border: solid 2px #555;
  transition: background 0.3s ease, color 0.3s ease;
}

.main-content-home a.nav-next:hover {
  background: #fff;
  color: #555;
}

.main-content-home .youtube-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 15px;
  cursor: pointer;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-content-home .youtube-wrapper iframe {
  border-radius: 15px;
}

.main-content-home .youtube-thumbnail {
  width: 100%;
  height: 100%;
  background-size: cover;
  border-radius: 15px;
  background-position: center;
}

.main-content-home .youtube-play-btn {
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-content-home .youtube-play-btn:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

.main-content-home .recomen-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.main-content-home .recomen-item {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.main-content-home .recomen-item:hover {
  background-color: #eaeaea;
}

.main-content-home .recomen-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 16px;
  flex-shrink: 0;
}

.main-content-home .recomen-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-content-home .recomen-info {
  flex-grow: 1;
}

.main-content-home .recomen-name {
  font-size: 12px;
  line-height: 150%;
  color: #000;
  margin-bottom: 4px;
}

.main-content-home .recomen-follow {
  font-size: 14px;
  color: #757575;
}

.main-content-home .recomen-info a {
  text-decoration: none;
  color: inherit;
  display: block;
}
