@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
.article h2 {
    position: relative;
    padding: .5em .7em;
    border-radius: 10px;
    background-color: #1e50a2;
    color: #fff;
}
.article h2::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 30px;
    width: 0;
    height: 0;
    border: 11px solid transparent;
    border-top: 11px solid #1e50a2;
}
.article h3 {
    border: 0;
    display: flex;
    align-items: center;
    padding: .5em .7em;
    background-color: #f5f5f5;
    color: #333333;
}
article.article h3::before {
    display: inline-block;
    width: 5px;
    height: 1.5em;
    margin-right: .5em;
    background-color: #1e50a2;
    content: '';
}
.article h4 {
	border-top: 0;
    position: relative;
    padding: .5em .7em .4em;
    border-bottom: 3px solid #1e50a2;
    color: #333333;
}
.article h4::before,
.article h4::after {
    position: absolute;
    left: 30px;
    bottom: -15px;
    width: 30px;
    height: 15px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}
.article h4::before {
    background-color: #1e50a2;
}
.article h4::after {
    bottom: -11px;
    background-color: #fff;
}
.article h5 {
    padding:0 .4em .2em;
    border-top: 0;
    border-bottom: 3px dashed #1e50a2;
    background-color: #ffffff;
    color: #333333;
}

#sidebar .search-edit {
    border-radius: 30px;
}
#sidebar h3 {
    border-radius: 50px 0 0 50px;
    background-color: #1e50a2;
    color: #fff;
    display: inline-block;
    position: relative;
    padding: .5em .7em;
    width: 100%;
}
#sidebar h3::before {
    content: "\f518";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 13px;
}
/* カテゴリー */
#sidebar .widget_categories ul li {
    padding-bottom: 5px;
	padding-left: 20px;
}
#sidebar .widget_categories ul li span {
    background-color: #2ca9e1;
    border-radius: 50px 0 0 50px;
    color: #fff;
    display: inline-block;
    font-size: 0.8rem;
    position: relative;
    padding: 5px 10px 5px 40px;
    width: 100%;
}
#sidebar .widget_categories ul li span::before {
    background: #fff;
    border-radius: 50%;
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 13px;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}
#sidebar .widget_categories ul li span:hover {
    background-color: #33beff;
}
#sidebar .widget_categories ul li a {
    color: #ffffff;
    padding: 0;
}

/* 目次 */
.article .toc {
    background: #f5f5f5;
    width: 100%;
}
.article .toc .toc-content ul:first-child,
.article .toc .toc-content ol:first-child {
    list-style-position: inside;
    padding: 0;
}
.article #toc ol.toc-list > li:not(:first-child) {
    border-top: 1px solid #cccccc;
    margin-top: 10px;
    padding-top: 10px;
}
.article .toc .toc-title {
    font-weight: bold;
    padding-left: 0;
    text-align: left;
}
.article .toc .toc-title:before {
    color: #1e50a2;
    content: "\f70e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.article ul:not(.toc-list):not(.toc-list ul):not(.normal-list) {
    list-style: none;
    padding-left: 0;
}
.article ul:not(.toc-list):not(.point-list):not(.toc-list ul):not(.toc-list ol):not(.alert-box ul):not(.info-box ul):not(ul ul):not(ul ol):not(.normal-list) {
    background: #ebf6f7;
    border: 3px solid #1e50a2;
    border-radius: 10px;
    padding: 15px 10px;
}
.article ul:not(.toc-list):not(.toc-list ul):not(.normal-list) li {
    position: relative;
    padding-left: 25px;
}
.article ul:not(.toc-list):not(.toc-list ul):not(.normal-list) li::before {
    font-weight: 900;
    content: "\f058";
    position: absolute;
    left: 0;
    color: #1e50a2;
	font-family: "Font Awesome 5 Free";
}
.article .common-icon-box ul li {
    padding-left: 15px;
}
.article .common-icon-box ul li::before {
    content: "\f105";
}
.article .normal-list {
	margin-left: 15px;
}

.article ol:not(.toc-list):not(.toc-list ul):not(.toc-list ol):not(.less-list) {
    list-style-type: none;
    padding: 1em;
    border: 2px solid #1e50a2;
	border-radius: 5px;
    counter-reset: li;
	background: #ebf6f7;
}
.article ol:not(.toc-list):not(.toc-list ul):not(.toc-list ol):not(.less-list) li {
    display: flex;
    align-items: center;
    padding: .3em;
}
.article ol:not(.toc-list):not(.toc-list ul):not(.toc-list ol):not(.less-list) li::before {
    display: inline-block;
    min-width: 1.7em;
    margin-right: 8px;
    background-color: #1e50a2;
    color: #fff;
    font-weight: bold;
    font-size: .75em;
    line-height: 1.7em;
    text-align: center;
    content: counter(li);
    counter-increment: li;
}

.article ol.less-list {
    counter-reset: li;
	padding-left: 0;
}
.article ol.less-list li {
    display: flex;
	align-items: flex-start;
    padding: .3em;
}
.article ol.less-list li::before {
    display: inline-block;
    min-width: 1.7em;
    margin-right: 10px;
    background-color: #1e50a2;
    color: #ffffff;
    font-weight: bold;
    font-size: .75em;
    line-height: 1.7em;
    text-align: center;
    content: counter(li);
    counter-increment: li;
	margin-top: 0.2em;
}

.article .article-point {
    border: 2px solid #1e50a2;
    border-radius: 10px;
    padding: 3.0rem 1rem 0.8rem 1rem;
    position: relative;
}
.article .article-point > div {
    background-color: #1e50a2;
    border-radius: 5px 0 10px 0;
    color: #ffffff;
    font-size: 1.0rem;
    font-weight: 600;
    padding: 5px 10px 5px 30px;
    position: absolute;
    top: 0;
    left: 0;
}
.article .article-point > div::before {
    content: "\f05b";
	font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 10px;
    top: 45%;
    transform: translateY(-45%);
}
.article .article-point > div > i {
    margin-right: 10px;
}
.article .article-point > ul {
    margin: 0;
    list-style-position: inside;
}
.article .article-point > ul > li::before {
    content: "\f005" !important;
    font-size: 1.0rem;
}

.article table thead th {
    background-color: #1e50a2;
	color: #fff;
}
.article table tbody th {
	min-width: 150px;
	text-align: left;
}

.video-container {
	max-width: none;
}

/* 関連記事 */
#related-entries h2.related-entry-heading {
    position: relative;
    background: #3e62ad;
    border-radius: 0 10px 10px 0;
    color: #ffffff;
    font-size: 20px;
    margin-left: 30px;
    padding: 2px 5px 2px 25px;
}
#related-entries h2.related-entry-heading::before {
    font-family: "Font Awesome 5 Free";
    content: "\f15c";
    display: inline-block;
    line-height: 40px;
    position: absolute;
    padding: 0em;
    color: #ffffff;
    background: #1e50a2;
    font-weight: 900;
    width: 40px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    left: -30px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    border: solid 3px white; 
    border-radius: 50%;
}
.related-list .related-entry-card {
    border-radius: 20px;
    border: 1px solid #eeeeee;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    height: 300px;
}
.related-list .related-entry-card .related-entry-card-thumb img {
    border-radius: 20px 20px 0 0;
    border: none;
}
.related-list .related-entry-card .related-entry-card-title {
    margin: 15px 10px;
    overflow: hidden;
}
.related-list .related-entry-card .related-entry-card-snippet {
    line-height: 0;
}
.related-list .related-entry-card-thumb,
.related-list .related-entry-card-thumb img {
    margin-top: 0;
    height: 160px;
    width: 100%;
}
.related-list .cat-label {
    background-color: #1e50a2;
    border: none;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    opacity: 1.0;
    overflow: hidden;
    padding: 2px 9px 2px;
    position: absolute;
    top: auto;
    bottom: -130px;
    left: 1.0em;
    right: auto;
    max-width: 80%;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.related-list .post-date {
    color: #666666;
    position: absolute;
    bottom: 5px;
    right: 10px;
}
.related-list .post-update {
    color: #666666;
    position: absolute;
    bottom: 20px;
    right: 10px;
}

.af-lead-box {
    text-align: center;
}
.af-lead {
    border-bottom: 3px dashed #1e50a2;
    background-color: #ffffff;
    color: #666666;
    display: inline-block;
    font-size: 0.9rem;
	font-weight: bold;
    padding:0 0.6em 0.2em;
}
.af-lead-box p {
    color: #1e50a2;
    font-size: 3.0rem;
    margin-bottom: 30px;
}
.af-title {
    color: #666666;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}
.af-link {
    text-decoration: none;
}
.af-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto !important;
    margin-right: auto !important;
	margin-bottom: 50px;
    padding: .9em 2em;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 3px rgb(0 0 0 / 25%), 0 2px 3px -2px rgb(0 0 0 / 15%);
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    width: 60%;
}
.af-read {
    background-color: #2ecc71;
    color: #ffffff;
}
.af-read:hover {
    background-color: #27ae60;
}
.af-buy {
    background-color: #f7b500;
    color: #000000;
}
.af-buy:hover {
    background-color: #d99a00;
    color: #ffffff;
}
.af-coupon {
	background-color:#ff9900;
	color:#ffffff;
}
.af-coupon:hover {
	background-color:#ffa733;
	color:#ffffff;
}
.af-movie {
    background-color:#007aff;
    color:#ffffff;
}
.af-movie:hover {
    background-color:#005bbb;
    color:#ffffff;
}
.af-btn i {
    margin-right: 10px;
}
.af-triangle {
    background: #1e50a2;
    height: calc(tan(60deg) * 60px / 2);
    margin: 0 auto 30px;
    width: 60px;
}
.af-up {
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.af-right {
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.af-down {
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.af-left {
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.page-promo-txt {
	background: #fafafa;
	border: 1px solid #ccc;
	border-radius: 3px;
	color: #333;
	font-size: 16px;
	padding: 8px 5px;
	text-align: center;
}

#author_box-2 .author-name a {
    pointer-events: none;
    text-decoration: none;
    color: inherit;
	cursor: text;
}

.bct-x .blogcard-label .fa::before {
    content: "\e61b";
    font-family: "Font Awesome 6 Brands" !important;
}
.bct-x .blogcard-label::after {
    content: "公式X";
}

iframe {
    width: 100%;
}

.article .wp-caption .wp-caption-text {
	font-size: 0.8rem;
}

.article .list-title {
	font-weight: bold;
	margin-bottom: 0;
	text-align: left;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	.af-btn {
        width: 100%;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}


.form {
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
}
.form-item {
    padding-top: 24px;
    padding-bottom: 24px;
    width: 100%;
    display: flex;
    align-items: center;
}
.form-item-label {
    width: 100%;
    max-width: 248px;
    letter-spacing: 0.05em;
    font-weight: bold;
    font-size: 18px;
}
.form-item-label.isMsg {
    margin-top: 8px;
    margin-bottom: auto;
}
.form-item-label-required {
    border-radius: 5px;
    margin-right: 8px;
    padding: 5px 8px;
    width: 50px;
    display: inline-block;
    text-align: center;
    background: #1e50a2;
    color: #fff;
    font-size: 14px;
}
.form-item-input {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 48px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
}
.wpcf7-not-valid-tip {
    margin-left: 40px;
}
.form-item-textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 216px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
}
.form-item-checkbox {

}

/* Checkboxes styles */
.form-item-checkbox {
    display: none;
}
.form-item-checkbox + span {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.form-item-checkbox + span:last-child {
    margin-bottom: 0;
}
.form-item-checkbox + span:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid #dc143c;
    position: absolute;
    left: 0;
    top: 7px;
    opacity: .6;
    -webkit-transition: all .12s, border-color .08s;
    transition: all .12s, border-color .08s;
}
.form-item-checkbox:checked + span:before {
    width: 10px;
    top: 0px;
    left: 5px;
    border-radius: 0;
    opacity: 1;
    border-top-color: transparent;
    border-left-color: transparent;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.submit-btn {
    border-radius: 6px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 280px;
    display: block;
    letter-spacing: 0.05em;
    background: #00a381;
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
}

@media screen and (max-width: 480px) {

    .form {
        margin-top: 40px;
    }
    .form-item {
        padding-left: 14px;
        padding-right: 14px;
        padding-top: 16px;
        padding-bottom: 16px;
        flex-wrap: wrap;
    }
    .form-item-label {
        max-width: inherit;
        display: flex;
        align-items: center;
        font-size: 15px;
    }
    .form-item-label.isMsg {
        margin-top: 0;
    }
    .form-item-label-required {
        border-radius: 4px;
        padding-top: 4px;
        padding-bottom: 4px;
        width: 32px;
        font-size: 10px;
    }
    .form-item-input {
        margin-left: 0;
        margin-top: 18px;
        height: 40px;
        flex: inherit;
        font-size: 15px;
    }
    .form-item-textarea {
        margin-top: 18px;
        margin-left: 0;
        height: 200px;
        flex: inherit;
        font-size: 15px;
    }
    .form-item-checkbox + span:before {
        top: 3px;
    }
    .submit-btn {
        margin-top: 24px;
        padding-top: 8px;
        padding-bottom: 8px;
        width: 160px;
        font-size: 16px;
    }
}

/* 記事下 */
.cta-ebook {
  background: #fff8e1;
  border: 1px solid #ffc107;
  border-radius: 12px;
  padding: 20px;
  margin-top: 32px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.cta-ebook__cover {
  max-width: 120px;
  border-radius: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.cta-ebook__title {
  font-weight: bold;
  font-size: 1.08em;
  margin-bottom: 10px;
}
.cta-ebook__note {
  color: #757575;
  font-size: 0.92em;
  margin-bottom: 13px;
}
.cta-ebook__button {
  background: #ffc107;
  color: #333;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 24px;
  font-size: 1.12em;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.10);
  transition: background 0.2s;
  display: inline-block;
}
.cta-ebook__button:hover {
  background: #ffd54f;
  color: #222;
}
.cta-ebook__workname {
  color: #ff9800;
  font-size: 1.1em;
}
