@charset "UTF-8";

/*!
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
*/
.main {
  background: unset
}

.article {
  h2 {
    font-weight: 900;
    font-style: italic;
    background: unset;
    padding: unset;
    color: #fff;
    text-shadow: 0 0 10px #0394df, 0 0 10px #0394df, 0 0 10px #0394df;
    border-bottom: 0.3em solid #0394df;
    padding-bottom: 0.2em;
  }

  h3 {
    padding: unset;
    border: unset;
    border-left: 0.3em solid #0394df;
    padding-left: .4em
  }

  p {
    margin-bottom: unset
  }
}

.entry-content {
  margin-bottom: unset;
}

.sidebar {
  padding-top: 60px;
  background: unset;

  h3 {
    margin: 0 0 10px 0
  }
}

.a-wrap:hover {
  background-color: unset
}

.ect-vertical-card .entry-card-wrap .entry-card-content {
  padding-bottom: 15px
}

.entry-card-title {
  margin: 0
}

.footer {
  margin-top: unset
}

.page-numbers {
  color: #fff;
  border-radius: unset;
  width: 25px;
  height: 25px;
  line-height: unset;
  font-size: 14px;
  margin: 0 10px
}

.pagination .current {
  color: #000
}

html{scroll-behavior:smooth;scroll-padding-top:calc(80px + 1em)}
@media screen and (max-width:767px){
	html{scroll-padding-top:calc(60px + 1em)}
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td,
figure {
  margin: 0;
  padding: 0
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

strong,
th {
  font-style: normal;
  font-weight: normal
}

ol,
ul {
  list-style: none
}

caption,
th {
  text-align: left
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal
}

q:before,
q:after {
  content: ''
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased
}

img {
  vertical-align: text-bottom;
  max-width: 100%
}

.m0 {
  margin: 0
}

.mt10 {
  margin-top: 10px
}

.mt20 {
  margin-top: 20px
}

.mt30 {
  margin-top: 30px
}

.mt40 {
  margin-top: 40px
}

.mt50 {
  margin-top: 50px
}

.mb10 {
  margin-bottom: 10px
}

.mb20 {
  margin-bottom: 20px
}

.mb30 {
  margin-bottom: 30px
}

.mb40 {
  margin-bottom: 40px
}

.mb50 {
  margin-bottom: 50px
}

.mr10 {
  margin-right: 10px
}

.mr20 {
  margin-right: 20px
}

.mr30 {
  margin-right: 30px
}

.mr40 {
  margin-right: 40px
}

.mr50 {
  margin-right: 50px
}

.ml10 {
  margin-left: 10px
}

.ml20 {
  margin-left: 20px
}

.ml30 {
  margin-left: 30px
}

.ml40 {
  margin-left: 40px
}

.ml50 {
  margin-left: 50px
}

.pt10 {
  padding-top: 10px
}

.pt20 {
  padding-top: 20px
}

.pt30 {
  padding-top: 30px
}

.pt40 {
  padding-top: 40px
}

.pt50 {
  padding-top: 50px
}

/* ===== 位置 ===== */
.tCenter {
  text-align: center
}

.tRight {
  text-align: right
}

.tLeft {
  text-align: left
}

.fLeft {
  float: left
}

.fRight {
  float: right
}

/* ===== フォントサイズ ===== */
.fs12 {
  font-size: 12px
}

.fs14 {
  font-size: 14px
}

.fs16 {
  font-size: 16px
}

.bold {
  font-weight: bold
}

/* ===== クリア ===== */

/*reset.cssここまで*/

body {
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #fff;
  background: #000;

  a {
    color: #fff;
    text-decoration: none;
    transition: .2s;
  }

  a:hover {
    text-decoration: none;
    opacity: .5;
  }
}

.sp_only {
  display: none
}

@media screen and (max-width:767px) {
  body {
    font-size: 14px;
  }

  .pc_only {
    display: none;
  }

  .sp_only {
    display: block;
  }
}

/*header*/
.header {
  position: sticky;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  height: 80px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 2%;
  z-index: 10;

  .search_btn {
    display: none;
  }

  .menu_toggle {
    display: none;
  }
}

.header_logo {
  position: absolute;
  left: 2%;
  width: 170px;
  transition: 0.3s ease-in-out;
}

.header_logo:hover {
  opacity: 0.7;
}

.header_nav ul {
  display: flex;

  li {
    margin-right: 30px
  }

  a {
    font-weight: bold
  }

  a:hover {
    text-decoration: underline
  }
}

.searchform {
  position: relative;
  width: 220px;
}

#s {
  background: #000;
  height: 40px;
  width: 220px;
  padding: 0 20px;
  font-size: 14px;
  border: 1px solid #fff;
  border-radius: 100px;
  color: #fff;
}

#searchsubmit {
  width: 40px;
  height: 40px;
  background: url(/wp-content/themes/cocoon-child-master/images/ico_search.png) center center no-repeat;
  background-size: 15px;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  transition: 0.3s ease-in-out;
}

.related-entry-card-content {
  color: #fff;
}

@media screen and (max-width:767px) {
  .header {
    height: 60px;

    .search_btn {
      display: block;
      position: absolute;
      top: 18px;
      right: calc(40px + 3% + 1em);
      width: 28px
    }

    .menu_toggle {
      position: absolute;
      top: 18px;
      right: 3%;
      display: block;
      height: 24px;
      cursor: pointer;
    }

    .menu_toggle div {
      position: relative;
      width: 40px;
    }

    .menu_toggle span {
      width: 100%;
      z-index: 100;
      height: 3px;
      right: 0;
      display: block;
      background: #fff;
      position: absolute;
      transition: all 0.3s ease-out;
    }

    /* 通常時：三本線 */
    .menu_toggle span:nth-child(1) {
      top: 0;
    }
    .menu_toggle span:nth-child(2) {
      top: 11px;
    }
    .menu_toggle span:nth-child(3) {
      top: 22px;
    }

    /* activeクラスが付いた時：バツに変形 */
    .menu_toggle.active span:nth-child(1) {
      transform: rotate(45deg);
      top: 10px; /* 見やすい位置に微調整 */
    }
    .menu_toggle.active span:nth-child(2) {
      opacity: 0; /* 真ん中の線を消す */
    }
    .menu_toggle.active span:nth-child(3) {
      transform: rotate(-45deg);
      top: 10px; /* 見やすい位置に微調整 */
    }

  }

  .header_logo {
    position: absolute;
    left: 3%;
    width: 31vw
  }

  .header_nav {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    padding: 10px 5% 0;
    display: none;
  }

  .header_nav ul {
    display: block;

    li {
      margin-right: 0;
      border-bottom: 1px solid #fff
    }

    a {
      display: block;
      font-weight: bold;
      font-size: 16px;
      padding: 18px 0
    }
  }

  .is-open {
    overflow: hidden;

    .header_nav {
      visibility: visible;
      opacity: 1;
      transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out
    }

    .menu_toggle span:nth-child(1) {
      top: 12px;
      transform: rotate(45deg)
    }

    .menu_toggle span:nth-child(2) {
      opacity: 0
    }

    .menu_toggle span:nth-child(3) {
      top: 12px;
      transform: rotate(-45deg)
    }
  }

  .searchform {
    display: none;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1em;
  }

  .searchform form {
    display: flex;
    align-items: center;
    position: relative;
  }

  .searchform.active {
    display: block;
    background-color: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 10px 20px
  }

  #s {
    background: #000;
    height: 40px;
    width: 100%;
    padding: 0 20px;
    font-size: 14px;
    border: 1px solid #fff;
    border-radius: 100px;
    color: #fff;
  }

  #searchsubmit {
    width: 1.5em;
    height: 1.5em;
    background: url(/wp-content/themes/cocoon-child-master/images/ico_search.png) center center no-repeat;
    background-size: 100%;
    border: none;
    transition: 0.3s ease-in-out;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1em;
  }

  #searchsubmit:hover {
    opacity: 0.7;
  }
}

/*mv*/
.mv {
  backdrop-filter: blur(4px) brightness(0.5);
  border-bottom: 4px solid #0394df;

  h1 {
    max-width: 1256px;
    margin: 0 auto
  }

  img {
    width: 100%;
    vertical-align: bottom
  }
}

/*main*/
.content {
  background: url(/wp-content/themes/cocoon-child-master/images/bg_body.jpg) center bottom no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding-bottom: 1px;
  margin-top: 0;
}

.main {
  padding: 60px 0;
  max-width: 860px;
  width: 71%
}

h1#archive-title {
  font-size: 32px;
  font-weight: 900;
  font-style: italic;
  text-shadow: 0 0 10px #0394df, 0 0 10px #0394df, 0 0 10px #0394df;
  position: relative;
  padding-top: 25px;
  margin-bottom: 30px
}

h1#archive-title::after {
  content: "";
  position: absolute;
  top: 0;
  left: -5px;
  width: 67px;
  height: 30px;
  background: url(/wp-content/themes/cocoon-child-master/images/pic_ttl.png) no-repeat;
  background-size: contain;
}

.article h1.sec_ttl {
  font-size: 32px;
  font-weight: 900;
  font-style: italic;
  text-shadow: 0 0 10px #0394df, 0 0 10px #0394df, 0 0 10px #0394df;
  position: relative;
  padding-top: 25px;
  margin-bottom: 30px
}

.article h1.sec_ttl::after {
  content: "";
  position: absolute;
  top: 0;
  left: -5px;
  width: 67px;
  height: 30px;
  background: url(/wp-content/themes/cocoon-child-master/images/pic_ttl.png) no-repeat;
  background-size: contain;
}

.article h2.sec_ttl {
  font-size: 32px;
  font-weight: 900;
  font-style: italic;
  text-shadow: 0 0 10px #0394df, 0 0 10px #0394df, 0 0 10px #0394df;
  position: relative;
  padding-top: 25px;
  margin-bottom: 30px
}

.article h2.sec_ttl::after {
  content: "";
  position: absolute;
  top: 0;
  left: -5px;
  width: 67px;
  height: 30px;
  background: url(/wp-content/themes/cocoon-child-master/images/pic_ttl.png) no-repeat;
  background-size: contain;
}

.article .article_box h2.sec_ttl::after {
  content: none;
}

h3.widget-sidebar-title.widget-title {
  font-size: 32px;
  font-weight: 900;
  font-style: italic;
  text-shadow: 0 0 10px #0394df, 0 0 10px #0394df, 0 0 10px #0394df;
  position: relative;
  padding-top: 25px;
  margin-bottom: 30px;
  background: unset;
  padding-left: unset
}

h3.widget-sidebar-title.widget-title::after {
  content: "";
  position: absolute;
  top: 0;
  left: -5px;
  width: 67px;
  height: 30px;
  background: url(/wp-content/themes/cocoon-child-master/images/pic_ttl.png) no-repeat;
  background-size: contain;
}

.main_list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 45px
}

.article .main_list li {
  width: 48%;
  margin-bottom: 50px
}

article.main_list_article {
  position: relative
}

article.main_list_article {
  display: block;
  width: 100%;
  height: 100%;
  transition: 0.3s ease-in-out;
  position: relative
}

article.main_list_article:hover {
  opacity: 0.7
}

article.main_list_article::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1px;
  width: 23px;
  height: 23px;
  background: url(/wp-content/themes/cocoon-child-master/images/ico_triangle_02.png) no-repeat;
  background-size: contain;
}

article.main_list_article::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  width: 23px;
  height: 23px;
  background: url(/wp-content/themes/cocoon-child-master/images/ico_triangle_01.png) no-repeat;
  background-size: contain;
}

.main_list_category {
  position: absolute;
  top: -15px;
  left: -10px;
  height: 30px;
  line-height: 28px;
  text-align: center;
  font-weight: bold;
  z-index: 2;
  font-size: 16px;
  color: #fff;
  padding: 0 1em;
}

.main_list_category::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(1, 153, 234);
  background: linear-gradient(90deg, rgb(1, 153, 234) 0%, rgb(2, 209, 163) 100%);
  transform: skewX(-10deg);
  z-index: -1;
}

.main_list_pic {
  position: relative;
  border: 1px solid #0394df
}

.main_list_pic::before {
  display: block;
  padding-top: 40%;
  content: ""
}

.main_list_pic img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.main_list_contents {
  border: 1px solid #0394df;
  border-top: none;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 15px 20px;
  flex-grow: 1
}

.main_list_date {
  color: #0394df;
  font-size: 12px
}

.main_list_ttl {
  font-weight: bold;
  color: #fff
}

.recommend01 {
  margin-bottom: 40px
}

.pager {
  display: flex;
  justify-content: center;

  li {
    margin: 0 10px
  }

  a {
    display: block;
    width: 25px;
    height: 25px;
    border: 1px solid #fff;
    text-align: center;
    line-height: 23px;
    font-size: 14px;
    transition: 0.3s ease-in-out
  }

  a:hover,
  .current {
    background: #fff;
    color: #000
  }
}

@media screen and (max-width:767px) {
  .contents {
    padding-top: 0;
    background: url(/wp-content/themes/cocoon-child-master/images/bg_body.jpg) center bottom no-repeat;
    background-size: 350%;
    background-attachment: fixed;
  }

  .contents_wrap {
    padding: 0 3%;
    display: block
  }

  .main {
    padding: 20px 0 40px;
    width: 100%
  }

  .article h1.sec_ttl {
    font-size: 22px;
    margin-bottom: 0.5em;
  }

  .article h2.sec_ttl {
    font-size: 24px;
    margin-bottom: 30px
  }

  .main_list {
    display: block;
    margin-top: 35px
  }

  .article .main_list li {
    width: 100%;
    margin-bottom: 40px
  }

  .main_list_category {
    top: -15px;
    left: -5px;
    height: 25px;
    line-height: 23px
  }
}

/*============================
aside
============================*/
.aside {
  padding-top: 60px;
  max-width: 280px;
  width: 23%;
}

.aside_list {
  margin-bottom: 60px;
}

article.aside_article {
  border-bottom: 1px solid #fff;
  margin-bottom: 20px;

  a {
    display: block;
    width: 100%;
    height: 100%;
    transition: 0.3s ease-in-out;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    &:hover {
      opacity: 0.7
    }
  }
}

.aside_article {
  position: relative;
}

.aside_list_pic {
  width: 80px;
  position: relative;
  border: 1px solid #0394df;
  margin-right: 20px;

  &::before {
    display: block;
    padding-top: 100%;
    content: ""
  }

  img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
}

.aside_list_contents {
  flex: 1
}

.aside_list_date {
  color: #0394df;
  font-size: 12px
}

h3.aside_list_ttl {
  background: unset;
  padding: unset;
  border-radius: unset;
  font-size: 14px;
  font-weight: bold
}

@media screen and (max-width:767px) {
  .aside {
    padding-top: 0px;
    max-width: 100%;
    width: 100%;
  }

  .aside_list {
    margin-bottom: 60px;
  }
}

/*============================
sp_nav
============================*/
.sp_nav {
  display: none;
}

@media screen and (max-width:767px) {
  .sp_nav {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10;

    ul {
      display: flex;
      border-top: 1px solid #fff
    }

    li {
      width: 25%;
      text-align: center
    }

    a {
      display: block;
      line-height: 1.2;
      font-weight: bold;
      padding-top: 45px;
      width: 100%;
      padding-bottom: 5px;
      background-position: center top;
      background-repeat: no-repeat;
      background-size: max(28%, 50px);
      font-size: 3.8vw;
    }

    li:nth-child(1) a {
      background-image: url(/wp-content/themes/cocoon-child-master/images/ico_nav_01.png)
    }

    li:nth-child(2) a {
      background-image: url(/wp-content/themes/cocoon-child-master/images/ico_nav_02.png);
      padding-top: calc(45px + 0.5em)
    }

    li:nth-child(3) a {
      background-image: url(/wp-content/themes/cocoon-child-master/images/ico_nav_03.png);
      padding-top: calc(45px + 0.5em)
    }

    li:nth-child(4) a {
      background-image: url(/wp-content/themes/cocoon-child-master/images/ico_nav_04.png);
      padding-top: calc(45px + 0.5em)
    }
  }
}

/*============================
footer
============================*/
.footer {
  border-top: 1px solid #fff;
  padding: 30px 0;
  text-align: center;
  font-size: 12px;
  background: #000;
}

.page_top {
  position: fixed;
  bottom: 3%;
  right: 3%;
  transition: 0.3s ease-in-out;

  a {
    display: block;
    width: 50px;
    height: 50px;
    background: rgb(1, 153, 234);
    background: linear-gradient(90deg, rgb(1, 153, 234) 0%, rgb(2, 209, 163) 100%);
    position: relative
  }

  &::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 50%;
    width: 12px;
    height: 12px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: translateX(50%) translateY(-25%) rotate(-45deg)
  }
}

article.main_list_article>a {
  display: flex;
  flex-direction: column;
  height: 100%;
}


@media screen and (max-width:767px) {
  .footer {
    padding: 10px 0;
    margin-bottom: 95px;
  }

  .page_top {
    position: fixed;
    bottom: 100px;
    right: 3%;

    a {
      width: 40px;
      height: 40px
    }

    &::after {
      width: 10px;
      height: 10px
    }
  }
}

/*============================
article
============================*/
.article_pic {
  margin-bottom: 30px;
}

.article_info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.article_category {
  display: block;
  height: 30px;
  line-height: 28px;
  margin-right: 20px;
  text-align: center;
  font-weight: bold;
  z-index: 2;
  position: relative;
  padding: 0 1em;

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(1, 153, 234);
    background: linear-gradient(90deg, rgb(1, 153, 234) 0%, rgb(2, 209, 163) 100%);
    transform: skewX(-10deg);
    z-index: -1;
  }
}

.article p.article_date {
  font-size: 14px;
  margin-bottom: 0
}

.article_txt {
  margin-bottom: 40px
}

.article_box {
  border: 1px solid #0394df;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 30px
}

.article_box p+p {
  margin-top: 30px
}

/* toc */
.toc-list a {
  color: #fffedd
}

/* お問い合わせフォーム */
/* フォーム全体のスタイル */
.wpcf7-form {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: #2c2c2c;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #fff;
  font-family: 'Arial', sans-serif
}

/* 見出しのスタイル */
.wpcf7-form h3 {
  font-size: 32px;
  font-weight: 900;
  font-style: italic;
  text-shadow: 0 0 10px #0394df, 0 0 10px #0394df, 0 0 10px #0394df;
  position: relative;
  padding-top: 25px;
  margin-bottom: 30px
}

.wpcf7-form h3::after {
  content: "";
  position: absolute;
  top: 0;
  left: -5px;
  width: 67px;
  height: 30px;
  background: url(/wp-content/themes/cocoon-child-master/images/pic_ttl.png) no-repeat;
  background-size: contain;
}

/* ラベルのスタイル */
.wpcf7-form p label {
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
  color: #ccc;
}

/* 入力フィールドのスタイル */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 2px solid #444;
  border-radius: 5px;
  background: #3c3c3c;
  color: #fff;
  font-size: 16px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

/* 送信ボタンのスタイル */
.wpcf7-form input[type="submit"] {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  background: #fff;
  color: #2c2c2c;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;

  &:hover {
    background: #fff;
  }
}

/* レスポンスメッセージのスタイル */
.wpcf7-response-output {
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
  background: #444;
  color: #fff;
  text-align: center;
  font-weight: bold;
}

.footer_nav {
  margin: 30px auto;
  text-align: center;
  display: flex;
  width: 100%;
  max-width: 660px;
  gap: 10px;

  a {
    width: calc(50% - 10px);
  }
}

/* メディアクエリ - モバイル対応 */
@media (max-width:480px) {
  .wpcf7-form {
    padding: 15px;

    input[type="submit"] {
      font-size: 16px;
    }
  }
}

@media screen and (max-width:767px) {
  .article_pic {
    margin-bottom: 20px
  }

  .article_info {
    margin-bottom: 20px
  }

  .article_category {
    height: 25px;
    line-height: 23px
  }

  .article_date {
    font-size: 12px
  }

  .article_box {
    padding: 10px;

    p+p {
      margin-top: 20px
    }
  }

  .footer_nav {
    flex-wrap: wrap;
  }
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width:1023px) {

  /*必要ならばここにコードを書く*/
  .no-mobile-sidebar .sidebar {
    display: block;
  }
}

/*834px以下*/
@media screen and (max-width:834px) {
  .article ul {
    padding-left: 0;
    margin-bottom: 0.6em
  }

  main.main,
  div.sidebar {
    padding: 0 3%
  }

  .list {
    display: block
  }

  .ect-vertical-card .entry-card-wrap {
    width: 100%;
    margin-bottom: 1.8em
  }
}

.article .article_box {
  p {
    margin-bottom: 1.4em
  }

  h2 {
    font-weight: 900;
    font-style: italic;
    background: unset;
    padding: unset;
    color: #fff;
    text-shadow: 0 0 10px #0394df, 0 0 10px #0394df, 0 0 10px #0394df;
    border-bottom: 0.3em solid #0394df;
    font-size: 24px;
    border-radius: var(--cocoon-badge-border-radius)
  }

  h3 {
    padding: unset;
    border: unset;
    border-left: 0.3em solid #0394df;
    padding-left: .4em
  }

  ul li {
    list-style: disc inside
  }

  ul.main_list li {
    list-style: none
  }

  ol li {
    list-style: decimal inside
  }
}

table:not(.has-border-color) :where(th, td) a {
  color: blue
}

/* カウンターの初期化をリスト全体で行う */
.side_ranking_wrap .aside_list {
  counter-reset: article-counter;
}

/* 各 .aside_article でカウンターをインクリメントし、番号を表示する */
.side_ranking_wrap .aside_article::before {
  counter-increment: article-counter;
  content: counter(article-counter);
  position: absolute;
  top: -3px;
  left: -3px;
  background-color: rgba(0, 128, 255, 0.8);
  color: #fff;
  font-weight: bold;
  padding: 1px 7px;
  border-radius: 5px;
  font-size: 1rem;
  z-index: 2;
}

/* 番号を表示する位置を調整するためのスタイル */
.side_ranking_wrap .aside_article {
  position: relative;
}

.cv_red_button,
.cv_blue_button {
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: center right;
  padding: 1.2em 1em;
  width: 520px;
  max-width: 100%;
  display: block;
  text-align: center;
  font-weight: bold;
  margin: 10px auto;
  position: relative;
  overflow: hidden;
  border-radius: 0.5em;

  &::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #b5e7ff;
    transition: 300ms;
    animation: shinyshiny 2.5s ease-in-out infinite;
  }
}

.cv_red_button {
  background-image: url(/wp-content/themes/cocoon-child-master/images/cv-button-arrow.png), linear-gradient(93deg, rgba(222, 47, 47, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
  );
  );
  border-bottom: .2em solid #b91212;

  &:hover {
    color: unset;
    opacity: unset;
    filter: brightness(1.5);
    box-shadow: 0 0 10px #ff7e61, 0 0 10px #ff7e61, 0 0 10px #ff7e61
  }
}

.cv_blue_button {
  background-image: url(/wp-content/themes/cocoon-child-master/images/cv-button-arrow.png), linear-gradient(93deg, rgb(0 85 203) 0%, rgb(29 130 253) 50%, rgb(69 225 252) 100%);
  border-bottom: .2em solid #004cb5;

  &:hover {
    color: unset;
    opacity: unset;
    filter: brightness(1.5);
    box-shadow: 0 0 10px #0394df, 0 0 10px #0394df, 0 0 10px #0394df
  }
}

.oripa-review-button {
  p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    overflow: hidden
  }

  a {
    flex: 1;
    margin: 0 5px;
    text-align: center
  }

  br {
    display: none;
  }
}


@media screen and (min-width:768px) {
  .oripa-review-button {
    p {
      margin-top: 20px;
      padding-bottom: 20px
    }
  }
}

@media screen and (max-width:767px) {
  .oripa-review-button {
    p {
      flex-direction: column;
      margin-top: 15px;
      padding-bottom: 35px
    }

    a {
      margin: 5px 0
    }
  }
}

@keyframes shinyshiny {
  0% {
    transform: scale(0) rotate(45deg);
    opacity: 0
  }

  80% {
    transform: scale(0) rotate(45deg);
    opacity: 0.5
  }

  81% {
    transform: scale(4) rotate(45deg);
    opacity: 1
  }

  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0
  }
}

strong {
  font-weight: bold
}


/******************************
20241112 表のCSS変更
*******************************/
table tr {
  color: #fff
}

table tr td {
  background: #000;
}

table tr:nth-child(2n+1) td {
  background: #222
}

table:not(.has-border-color) :where(th, td) {
  border-color: #0394df;

  a {
    color: #fff;
  }
}

table tr th {
  background: #003c89;
  font-weight: bold;
}


/*********************************
241113 toc 修正
*********************************/
.article .article .toc-content {
  li {
    list-style: none;
  }
}

.article .article .toc-content>ul>li>a {
  font-weight: bold
}

.article .article .toc-content>ul>li>ul>li {
  position: relative;
  margin-left: 0.4em
}

.article .article .toc-content>ul>li>ul>li:before {
  position: absolute;
  right: 100%;
  content: "├";
  padding-right: 0.4em;
  color: dimgray
}

.article .article .toc-content>ul>li>ul>li:last-child:before {
  content: "└"
}

.article .article .toc-content>ul>li>ul>li>a {
  color: #dbdbba
}

/**************************
250116 cocoon-custom-text
**************************/

.cocoon-custom-text-1 {
  color: #35baff;
  text-decoration: underline;
  font-weight: bold;
  padding: 0 0.2em;
}

/* コメント関連 */
h2#comments {
  margin: 10px auto
}

h2#comments span.comment-sub-heading{
  font-size: 12px;
  line-height: 1.0;
}

#reply-title.comment-reply-title{
  display: none;
}

#respond {
  inset: unset !important;
  position: unset !important;
  visibility: unset !important;
}

.tag-link,
.comment-reply-link {
  color: #fff;
}

#comment-reply-btn,
.comment-notes,
.comment-form-email,
.comment-form-url,
.comment-form-cookies-consent {
  display: none
}

ol.commets-list {
  padding-left: 1%;
}

#comment-area .comment-body {
  border: solid 1px gray;
  padding: 11px;
  margin-bottom: 3%;
}

#comment-area .commets-list li.comment {
  list-style: none;
}

#comment-area .comment-meta {
  margin-left: 6px
}

.flex {
  display: flex
}

.al-c {
  align-items: center
}


/* coupon_code_button */
.invitation_code {
    display: flex;
    gap: 0.5em;
    align-items: center;
	margin:.5em 0;
}
.coupon-code-button {
    display: grid;
    grid-template-columns: 1fr auto;
    transition: .2s;
	width:fit-content;
}
.coupon-code-button:hover{
    cursor:pointer;
    filter:brightness(1.3);
}
.coupon-code {
    background: #4b4b4b;
    padding: 0.2em 0.6em;
    border-radius:8px 0 0 8px;
    border: 2px solid #0394df;
    box-shadow:0.1em 0.1em #222222 inset;
}
.coupon-code-icon {
    background: #0394df;
    font-size:12px;
    font-weight:bold;
    display:flex;
    align-items:center;
    padding:0 1em;
    border-radius:0 8px 8px 0;
}
@media screen and (max-width:767px) {
.invitation_code {
    display: block;
}

h2#comments span.comment-sub-heading{
  display: block;
  line-height: 1.5;
}
}

.tweet-box a {
  color: blue;
}
.tweet-box {
  color: black;
}
