@charset "UTF-8";
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/* // 全体 // */
html {
  scroll-behavior: smooth;
}

body {
  letter-spacing: 1px;
}

a {
  text-decoration: none;
}

a:hover {
  color: inherit;
}

img {
  vertical-align: top;
}

.main {
  padding: 8px;
}

.is-style-border-radius-s-solid {
  border-color: #fff;
}

/* // ヘッダー // */
#header-container {
  background: #f7f7f7;
}

.header {
  width: 100%;
  margin: 1.25em 0 0.7em;
}

.fixed-header .header {
  margin: 1em 0 0.25em;
}

#header-container .navi {
  background-color: transparent;
  margin: 0 0 1em;
}

#header-container.fixed-header .navi {
  margin: 0 0 0.75em;
}

.header-in {
  display: flex !important;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  color: initial;
}

.header-title {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  line-height: 1;
  flex-direction: column;
}

.header-title-logo a {
  display: block;
  width: 210px;
  margin: 0 0 0.3em;
}

.fixed-header .header-title-logo a {
  width: 180px;
  margin: 0;
}

.header-headline {
  font-size: 0.8em;
  font-weight: 500;
}

.fixed-header .header-headline {
  display: none;
}

.header-container-in.hlt-top-menu.hlt-tm-small .logo-header {
  display: none;
  padding: 20px;
}

.header-container-in.hlt-top-menu {
  flex-wrap: wrap;
}

#menu-header-tag {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 1em 0;
  padding: 0 1em;
  display: none;
}

.fixed-header #menu-header-tag {
  margin: 0.1em 0 1em;
}

.menu-tag-item a {
  padding: 5px 15px;
  margin: 7px;
  display: block;
  background: #0050a9;
  font-size: 0.75em;
  text-decoration: none;
  color: #fff;
  border-radius: 2em;
  transition: 0.3s;

  &:hover {
    opacity: 0.6;
  }
}

.fixed-header .menu-tag-item a {
  font-size: 0.7em;
}

@media screen and (max-width: 1023px) {
  #navi .navi-in>.menu-mobile li a {
    font-size: 13px;
  }

  .header-headline {
    display: none;
  }
}

@media screen and (max-width: 834px) {
  #header-container {
    background-size: auto 100%;
  }

  .header {
    width: 100%;
    margin: 1em 0 0.5em;
  }

  .header-title-logo a {
    display: block;
    width: 200px;
    margin: 3px 0 0;
  }

  .header-container-in.hlt-top-menu {
    display: flex;
  }

  #menu-header-tag {
    margin: 0.5em 0 1em;
  }

  .menu-tag-item a {
    padding: 2px 7px;
    margin: 3px;
    font-size: 12px;
    box-shadow: 0px 3px 10px 0px rgba(12, 2, 0, 0.2);
    border-radius: 3px;
  }
}

@media screen and (max-width: 480px) {
  .header-in {
    flex-direction: column;
    gap: 8px 0;
  }

  .header-menu-cat-item {
    padding: 0;
  }

  li.menu-cat-button ul.menu-cat-list {
    height: 80vw;
  }

  #navi .navi-in>.menu-mobile li a {
    padding: 4px 8px;
  }
}

/* ヘッダー　ブックマーク */
.menu-fix {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0 0 20px;
  padding: 2px 0 4px 3px;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
  background: #0050a9;
}

.menu-fix-list a {
  display: block;
  padding: 1em;
  font-size: 0.6em;
  font-weight: bold;
  color: #fff;
  text-align: center;
  line-height: 1.1;
  letter-spacing: 2px;
  transition: 0.2s;
}

.menu-fix-list a.menu-fix-list-fav {
  color: #fff7cc;
}

.menu-fix-list a:hover {
  opacity: 0.7;
}

.menu-fix-list a i {
  display: block;
  font-size: 25px;
  padding: 5px;
}

@media screen and (max-width: 834px) {
  .menu-fix-list a {
    padding: 0.3em 1.2em 1em;
  }
}

/* ヘッダー　ドロップダウンリスト */
.header-menu-cat-item {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.header-menu-cat-item>li {
  float: left;
  list-style: none;
  background: #0050a9;
  font-size: 0.8em;
  border-radius: 0.25rem;
}

.fixed-header .header-menu-cat-item>li {
  font-size: 0.7em;
}

.header-menu-cat-item>li a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 0.3em 1em;
}

ul.menu-cat-list {
  visibility: hidden;
  opacity: 0;
  z-index: 1;
}

ul.menu__third-level {
  visibility: hidden;
  opacity: 0;
}

ul.menu__fourth-level {
  visibility: hidden;
  opacity: 0;
}

.header-menu-cat-item>li:hover {
  background: #0050a999;
  transition: all .5s;
}

.menu-cat-list li {
  border-top: 1px solid #111;
}

.menu-cat-list li a:hover {
  background: #ddd;
  border-radius: 4px;
}

li.menu-cat-list-master {
  display: block;
  width: 100% !important;
  padding: 0.5em 1em;
  margin: 1em 0 0.5em;
  background: #0050a9;
  border-radius: 4px;
  color: #fff;
}

li.menu-cat-list-child a {
  color: #252525;
  letter-spacing: 0;
  padding: 0.2em 0 0.3em 1em;
}

.menu__third-level li {
  border-top: 1px solid #111;
}

.menu__third-level li a:hover {
  background: #2a1f1f;
}

.menu__fourth-level li a:hover {
  background: #1d0f0f;
}

@media screen and (max-width: 834px) {
  .header-menu-cat-item>li {
    font-size: 0.8em;
  }
}

@media screen and (max-width: 480px) {
  .header-menu-cat-item {
    padding: 0;
  }
}

/* 下矢印 */
.init-bottom:after {
  content: '\F282';
  font-family: bootstrap-icons;
  font-size: 90%;
  font-weight: 900;
  padding-left: 6px;
  vertical-align: bottom;
}

/* floatクリア */
.header-menu-cat-item:before,
.header-menu-cat-item:after {
  content: " ";
  display: table;
}

.header-menu-cat-item:after {
  clear: both;
}

.header-menu-cat-item {
  *zoom: 1;
}

li.menu-cat-button ul.menu-cat-list {
  position: absolute;
  top: 40px;
  right: -100%;
  box-sizing: border-box;
  background: #f7f7f7;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: all .2s ease;
  width: 74vw;
  height: 70vh;
  max-width: 1000px;
  padding: 0px 15px 20px;
  overflow-y: scroll;
}

.fixed-header .menu-cat-button ul.menu-cat-list {
  right: -180%;
}

li.menu-cat-button:hover ul.menu-cat-list {
  top: 50px;
  visibility: visible;
  opacity: 1;
}

li.menu-cat-button ul.menu-cat-list>li {
  float: left;
  width: 25%;
  border: none;
  list-style: none;
}

@media screen and (max-width: 1000px) {
  li.menu-cat-button ul.menu-cat-list {
    right: -50%;
    width: 300px;
    height: 60vh;
    padding: 0px 15px 20px;
    overflow-y: scroll;
  }

  li.menu-cat-button ul.menu-cat-list>li {
    width: 100%;
  }
}

@media screen and (max-width: 834px) {
  .header-title {
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin: 0 0 0.5em;
  }
}

/* ヘッダー：ナビ */
.navi-in>ul {
  padding: 0;
  margin: 0 auto;
  width: fit-content;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
}

.navi-in a {
  position: relative;
  color: #252525 !important;
  display: block;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  padding: 0 0.8em;
}

#navi .navi-in a:hover {
  background-color: transparent;
}

.fixed-header .navi-in a {
  font-size: 0.75em;
  display: flex;
  justify-content: center;
  letter-spacing: 2px;
}

.navi-in>ul li {
  display: flex;
  width: fit-content;
  height: fit-content;
  line-height: 60px;
  position: relative;
  margin: 0;
  border-radius: 0.25em;
  transition: .3s;
  align-items: center;
}

.navi-in>ul li:hover {
  opacity: .6;
}

.navi-in>ul li::after {
  content: "|";
  font-style: 0.7em;
}

.navi-in>ul li:last-child::after {
  display: none;
}


.hlt-tm-small .navi-in>ul li, .cl-slim .navi-in>ul li {
  height: 24px;
  line-height: 24px;
}

@media screen and (max-width: 1023px) {
  #navi .navi-in>.menu-mobile li {
    width: fit-content;
    height: 34px;
  }

  .navi-in a {
    line-height: 2.5;
  }
}

@media screen and (max-width: 834px) {
  #navi .navi-in>ul li {
    margin: 2px 4px;
  }

  #navi .navi-in>.menu-mobile li {
    height: 26px;
  }
}

@media screen and (max-width: 480px) {
  li.menu-cat-button ul.menu-cat-list {
    right: -50%;
    width: 300px;
    height: 75vh;
  }

  .navi-in a {
    line-height: 1.3;
  }

  #navi .navi-in>.menu-mobile li {
    margin: 2px;
  }
}

/* ヘッダー：検索窓 */
.search-box {
  margin: 0 0 0 1em;
  position: relative;
  display: flex;
  align-items: center;
}

.main .search-box {
  display: none;
}

input.search-edit {
  border: 0;
  border-radius: 0.25em;
  padding: 8px 12px;
  font-size: 0.8em;
  background: #ddd;
}

.fixed-header input.search-edit {
  padding: 6px 10px;
  font-size: 0.7em;
}

.search-submit {
  right: 5px;
  top: calc(50% - 12px);
  font-size: 16px;
  padding: 5px 8px;
  color: #aaa;
}

/* // お知らせエリア // */
.notice-area {
  background-color: #CC0000;
  font-size: 0.7em;
}

/* // ページ // */
.content {
  padding-top: 24px;
  margin: 0 0 3em;
  position: relative;
  min-height: 600px;
}

/* .content::after {
  content: "";
  width: 100vw;
  height: 100vh;
  background: #265a93 url(/catalog/wp-content/uploads/2023/07/bg.png) repeat-x fixed bottom;
  position: fixed;
  bottom: 0px;
  left: 0px;
  z-index: -1;
} */

.header-container, .main, .sidebar {
  background-color: initial;
}

.pagination-next-link, .comment-btn {
  background-color: #252525;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 1em;
  max-width: 500px;
  margin: 0 auto;
}

.pagination-next-link:hover, .comment-btn:hover {
  opacity: 0.6;
  background-color: #252525;
  transition: all 0.3s ease-in-out;
  color: #fff;
}

@media screen and (max-width: 480px) {
  main.main, div.sidebar {
    padding: 10px;
  }
}

.date-tags {
  display: none;
}

.footer {
  padding: 2em 0;
  width: 100%;
}

.footer-bottom {
  margin: 0;
}

footer.article-footer.entry-footer {
  display: none;
}

.entry-title {
  display: none;
}

.entry-title, .archive-title {
  position: relative;
  font-size: 22px;
  color: #252525;
  margin: 0 30px 8px;
  padding: 0 0 12px;
  line-height: 1.3;
  letter-spacing: 2px;
  border-bottom: 2px solid #c2ccd2;
}

.entry-title::after, .archive-title::after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 2px #0050a9;
  bottom: -2px;
  width: 100px;
}

.archive-title span {
  display: none;
}

@media screen and (max-width: 480px) {
  .entry-title, .archive-title {
    font-size: 19px;
    margin: 0 10px 15px;
    padding: 0 0 5px;
  }
}

/* // エントリーカード // */
.a-wrap:hover {
  background-color: transparent;
  opacity: .7;
}

.ect-3-columns {
  justify-content: flex-start;
}

.ect-3-columns .entry-card-wrap {
  position: relative;
  width: calc(25% - 3em);
  margin: 1.5em;
}

.cat-label {
  display: inline-block;
  width: fit-content;
  font-size: 11px;
  border: none;
  border-radius: 0 0 8px 0;
  padding: 6px 12px;
  background: #252525;
  top: 0;
  left: 0;
  z-index: 1;
}

.entry-card, .related-entry-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.entry-card-content, .related-entry-card-content {
  padding-bottom: 0;
}

figure.ect-vertical-cardentry-card-thumb, .entry-card-thumb {
  width: 100%;
  float: none;
  border: 1px solid #eee;
}

.card-thumb img {
  aspect-ratio: 4 / 6;
  object-fit: cover;
}

.entry-card-detail {
  display: inline-flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
}

.entry-card, .related-entry-card img {
  width: 100%;
}

.entry-card-title, .related-entry-card-title {
  font-size: 1em !important;
  color: #252525;
  margin: 8px 0;
  line-height: 1.3 !important;
}

.post-linkbutton {
  text-align: center;
  font-size: 0.8em;
  color: #fff;
  margin: 16px 0 4px;
  padding: 1em 1.8em;
  width: 100%;
  background: #0050a9;
  border-radius: 5px;

  &:hover {
    opacity: 0.6;
    transition: all 0.3s ease-in-out;
  }

}

.post-linkbutton p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  letter-spacing: 2px;
}

.post-linkbutton i {
  display: block;
  font-size: 1.2em;
}

@media screen and (max-width: 480px) {
  .entry-card-title, .related-entry-card-title {
    font-size: 12px !important;
    margin: 0.7em 0 0.3em;
  }
}

/* お気に入りボタン */
button.simplefavorite-button {
  position: absolute;
  top: 6px;
  right: 6px;
  border: none;
  background: #ffffff47;
  color: #ffd900;
  font-size: 28px;
  z-index: 1;
  padding: 7px;
  border-radius: 0 0 0 8px;
}

.simplefavorite-button.active {
  opacity: 0.9 !important;
}

@media screen and (max-width: 1080px) {
  .ect-3-columns .entry-card-wrap {
    width: calc(33.33% - 3em);
  }
}

@media screen and (max-width: 880px) {
  .ect-3-columns .entry-card-wrap {
    width: calc(50% - 20px);
    margin: 10px;
  }

  .entry-card, .related-entry-card {
    flex-direction: column;
  }

  .ect-vertical-card .entry-card-wrap .entry-card-thumb {
    width: 100%;
    border: 1px solid #ccc;
  }

}

@media screen and (max-width: 650px) {
  .post-linkbutton {
    width: 100%;
    font-size: 0.9em;
    padding: 0.8em;
    border-radius: 0.2em;
  }
}

@media screen and (max-width: 480px) {
  .ect-3-columns .entry-card-wrap {
    width: calc(50% - 10px);
    padding: 5px;
    margin: 4px 5px;
  }

  .post-linkbutton {
    font-size: 11px;
    padding: 0.6em;
  }

  .post-linkbutton p i {
    margin: 0 2px;
  }
}

/* // ブックマーク // */
.article p {
  margin-bottom: 0;
  position: absolute;
  top: 0;
  right: 0;
}

.article h2 {
  margin-bottom: revert;
  padding: 0;
  background: none;
}

.toc {
  display: none;
}

.entry-card, .related-entry-card {
  height: auto;
}

/* // 表示調整 // */
.article.post p {
  position: initial;
  margin: 0 0 1.8em;
}

.editor-post-taxonomies__hierarchical-terms-list {
  max-height: 30em;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
}