@charset "UTF-8";

:root {
  /* 色管理用の変数 */
  --black-color: #333;
  --white-color: #ffffff;
  --gray-color01: #f7f7f7;
  --gray-color02: #ebebeb;
  --gray-color03: #aaa;
  --main-color: #22cb84;
}

:root {
  /* コンテンツ幅管理用の変数 */
  --content-width-sm: 800px;
  --content-width: 960px;
  --content-width-lg: 1088px;
}

:root {
  /* z-index管理用の変数 */
  --z-index-back: -1;
  --z-index-default: 1;
  --z-index-header: 100;
  --z-index-menu: 150;
  --z-index-modal: 200;
}

/* ---------- base ---------- */

body {
  color: var(--black-color);
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.1em;
  background: var(--base-color);
}

/* クリックした際の青い枠線を削除 */
*:focus {
  outline: none;
}

/* タップした際の青い四角を削除 */
button,
span {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}

/* ---------- layout ---------- */

.l_header {
  text-align: center;
  background: var(--main-color);
  box-shadow: 2px 2px 4px rgba(170, 170, 170, 0.16);
}

@media screen and (min-width: 1080px) {
    .l_header{
      padding: 0 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
}

.l_header__title {
  height: 64px;
  color: var(--white-color);
  background: var(--main-color);
  display: inline-block;
  font-weight: bold;
  font-size: 24px;
}



.l_header__title-link {
  height: 100%;
  display: flex;
  align-items: center;
}

@media screen and (min-width: 1080px) {
    .l_header__title-link:hover{
      cursor: pointer;
    }
}

.l_header-nav {
  color: #333;
  background: var(--gray-color02);
}

@media screen and (min-width: 1080px) {
    .l_header-nav{
      color: var(--white-color);
      background: var(--main-color);
    }
}

.l_header-list {
  height: 64px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  overflow: scroll;
  scrollbar-width: none;
}


.l_header-list::-webkit-scrollbar {
  display: none;
}

.l_header-item {
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
  transition: color 0.3s ease;
}

@media screen and (min-width: 1080px) {
    .l_header-item:hover{
      color: var(--black-color);
      text-decoration: underline;
    }
}

.l_header-item:not(:first-child) {
  margin-left: 32px;
}

.l_header_link {
  height: 100%;
}

@media screen and (min-width: 1080px) {
    .l_contents_wrapper{
      width: 1024px;
      margin: 56px auto 0;
      display: flex;
      justify-content: space-between;
    }
}

.l_footer {
  height: 65px;
  color: var(--gray-color03);
  background: var(--gray-color02);
  text-align: center;
  margin-top: 64px;
  padding-top: 24px;
}

/* ---------- module ---------- */
.m_title {
  text-align: center;
  color: var(--main-color);
  font-weight: bold;
  font-size: 24px;
  margin: 64px 16px 0;
}

@media screen and (min-width: 1080px) {
    .m_title_line-break{
      display: none;
    }
}

@media screen and (max-width: 374px) {
  .m_txt {
    width: 100%;
    padding: 0 16px;
    font-size: 12px;
  }
}

.m_txt {
  text-align: center;
}

.m_posts {
  width: 343px;
  margin: 56px auto;
}

@media screen and (max-width: 374px) {
  .m_posts {
    width: calc(100% - 32px);
  }
}

@media screen and (min-width: 768px) {
  .m_posts {
    width: 515px;
  }
}

@media screen and (min-width: 1080px) {
    .m_posts{
      width: 672px;
      margin-top: 0;
    }
}

.m_post {
  box-shadow: 2px 2px 4px rgba(170, 170, 170, 0.16);
}

@media screen and (min-width: 1080px) {
    .m_post{
      width: 672px;
    }
}

@media screen and (min-width: 1080px) {
    .m_post_link{
      display: flex;
    }
}

.m_post:not(:first-child) {
  margin-top: 24px;
}

@media screen and (min-width: 768px) {
  .m_post.m_post:not(:first-child) {
    margin-top: 40px;
  }
}

@media screen and (min-width: 1080px) {
    .m_post__sidebar{
      width: 320px;
    }
}

.m_post_thumb-wrapper {
  width: 100%;
  height: 214px;
  aspect-ratio: 343 / 214;
  border: 1px solid var(--main-color);
}

@media screen and (min-width: 768px) {
  .m_post_thumb-wrapper {
    height: 318px;
  }
}

@media screen and (min-width: 1080px) {
    .m_post_thumb-wrapper{
      width: 272px;
      height: 170px;
    }
}

.m_post_thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m_post_content {
  padding: 24px 16px;
  background-color: var(--white-color);
}

@media screen and (min-width: 1080px) {
    .m_post_content{
      width: 400px;
      height: 170px;
      padding: 8px 32px;
    }
}

@media screen and (min-width: 1080px) {
    .m_post_content__sidebar{
      padding: 8px 16px;
    }
}

.m_post_meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.m_post_meta-data {
  color: #aaa;
  font-size: 12px;
  font-weight: bold;
}

.m_post_meta-cat {
  font-size: 12px;
  color: var(--main-color);
  font-weight: bold;
  width: 112px;
  height: 24px;
  display: flex;
  align-items: center;
  border: 1px solid var(--main-color);
  justify-content: center;
  border-radius: 4px;
}

.m_post_title {
  font-size: 18px;
  font-weight: bold;
  margin-top: 16px;
  letter-spacing: 0;
  line-height: 35.2px;
}

.m_pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 56px;
  gap: 8px;
}

.m_pagination_numbers {
  font-weight: bold;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gray-color01);
  background: var();
}

.m_pagination_numbers__current {
  color: var(--white-color);
  border-color: var();
  background: var(--main-color);
}

.m_pagination_numbers__between {
  font-size: 14px;
  border: none;
}

.m_pagination_numbers__next {
  position: relative;
}

.m_pagination_numbers__next::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--black-color);
  border-right: 1px solid var(--black-color);
  position: absolute;
  top: 50%;
  left: 32%;
  transform: translateY(-50%) rotate(45deg);
}

.m_sidebar {
  padding-top: 80px;
  width: 343px;
  margin: 0 auto;
}

@media screen and (max-width: 374px) {
  .m_sidebar {
    width: 100%;
  }
}

@media screen and (min-width: 768px) {
  .m_sidebar {
    width: 515px;
  }
}

@media screen and (min-width: 1080px) {
    .m_sidebar{
      width: 320px;
      padding: 0;
      margin: 0;
    }
}

.m_sidebar-box_head {
  width: 100%;
  height: 64px;
  background: var(--main-color);
}

.m_sidebar-box_txt {
  padding-left: 16px;
  font-weight: bold;
  height: 100%;
  color: var(--white-color);
  display: flex;
  align-items: center;
}

.m_sidebar-box_contents {
  margin-top: 40px;
}

@media screen and (max-width: 374px) {
  .m_sidebar-box_contents {
    width: calc(100% - 32px);
    margin: 40px auto 0;
  }
}

.m_sidebar-cat_item {
  width: 100%;
  height: 80px;
  padding: 0 16px;
}

.m_sidebar-cat_link {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.m_sidebar-cat_txt {
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.m_sidebar-cat_count {
  color: var(--main-color);
  display: inline-block;
  width: 56px;
  height: 48px;
  border: 1px solid var(--main-color);
  border-radius: 8px;
  text-align: center;
  padding-top: 8px;
  transition: all 0.3s ease;
}

@media screen and (min-width: 1080px) {
    .m_sidebar-cat_item:hover .m_sidebar-cat_txt{
      color: var(--main-color);
    }
    .m_sidebar-cat_item:hover .m_sidebar-cat_count{
      color: var(--white-color);
      background: var(--main-color);
    }
}

.m_single {
  width: 343px;
  margin: 64px auto;
}

@media screen and (max-width: 374px) {
  .m_single {
    width: calc(100% - 32px);
    margin: 0 16px;
  }
}

@media screen and (min-width: 768px) {
  .m_single {
    width: 515px;
  }
}

@media screen and (min-width: 1080px) {
    .m_single{
      width: 672px;
      margin: 0;
    }
}

.m_single_thumb-wrapper {
  width: 100%;
  height: 214px;
  aspect-ratio: 343 / 214;
}

@media screen and (min-width: 768px) {
  .m_single_thumb-wrapper {
    height: 318px;
  }
}

@media screen and (min-width: 1080px) {
    .m_single_thumb-wrapper{
      height: 420px;
    }
}

.m_single_thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.m_single_meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.m_single_meta-date {
  font-size: 12px;
  font-weight: bold;
  color: var(--gray-color03);
}

.m_single_meta-cat {
  width: 112px;
  height: 24px;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.m_single_content {
  margin-top: 24px;
}

.m_single_title {
  width: 100%;
  font-size: 22px;
  letter-spacing: 0;
  line-height: 35.2px;
  font-weight: bold;
}

@media screen and (min-width: 1080px) {
    .m_single_title{
      font-size: 32px;
    }
}

.m_single_txt {
  width: 100%;
  letter-spacing: 0;
  line-height: 32px;
  margin-top: 40px;
}

/* ---------- jav script ---------- */
