@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.1.0
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.m-auto { margin-left: auto; margin-right: auto; }

.mt10  { margin-top: 10px; }
.mt20  { margin-top: 20px; }
.mt30  { margin-top: 30px; }
.mt40  { margin-top: 40px; }
.mt50  { margin-top: 50px; }
.mt60  { margin-top: 60px; }
.mt70  { margin-top: 70px; }
.mt80  { margin-top: 80px; }
.mt90  { margin-top: 90px; }
.mt100 { margin-top: 100px; }


.mb10  { margin-bottom: 10px; }
.mb20  { margin-bottom: 20px; }
.mb30  { margin-bottom: 30px; }
.mb40  { margin-bottom: 40px; }
.mb50  { margin-bottom: 50px; }
.mb60  { margin-bottom: 60px; }
.mb70  { margin-bottom: 70px; }
.mb80  { margin-bottom: 80px; }
.mb90  { margin-bottom: 90px; }
.mb100 { margin-bottom: 100px; }

/* 見出し */
.article h2 {
    border-radius: 50px 0 0 50px;
    background-color: #192f60;
    color: #fff;
    display: inline-block;
    position: relative;
    padding: .5em .7em;
    width: 100%;
}

.article h2::before {
    content: "\f5ad";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 13px;
}
.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: #192f60;
    content: '';
}
.article h4 {
    padding:0 .4em .2em;
    border-top: 0;
    border-bottom: 3px dashed #192f60;
    background-color: #ffffff;
    color: #333333;
}
.article h5 {
    display: inline-block;
    position: relative;
    padding: .5em 1em;
    border-right: 27px solid #192f60;
    background-color: #f5f5f5;
    color: #333333;
}
.article h5::before {
    position: absolute;
    bottom: 2px;
    right: -20px;
    z-index: -1;
    transform: rotate(5deg);
    width: 100%;
    height: 50%;
    background-color: #d0d0d0;
    content: "";
    filter: blur(4px);
}

/* サイド */
#sidebar .search-edit {
    border-radius: 30px;
}
#sidebar h3 {
    display: inline-block;
    position: relative;
    padding: .5em 1em;
    border-right: 27px solid #192f60;
    background-color: #f5f5f5;
    color: #333333;
	width: 100%;
}
#sidebar h3::before {
    position: absolute;
    bottom: 2px;
    right: -20px;
    z-index: -1;
    transform: rotate(5deg);
    width: 100%;
    height: 50%;
    background-color: #d0d0d0;
    content: "";
    filter: blur(4px);
}

.center {
	text-align: center;
}

/* スライダー用 */
.slider img {
  height: 225px;
  width: 225px;
  object-fit: cover;
}

/* Amazon用 */
.iframe-side {
	display: table;
	width: 100%;
}
.iframe-side .amazon {
	display: table-cell;
	overflow: hidden;
	margin: 0 auto;
	padding: 10px;
	text-align: center;
	vertical-align: middle;
}

/* 目次 */
.article .toc {
    background: #f0f8ff;
    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: #192f60;
    content: "\f03a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.article ul:not(.toc-list):not(.toc-list ul):not(.toc-list ol) {
    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 ol):not(ul ul):not(ol ol):not(ol ul):not(.related-list) {
    background: #f0f8ff;
    border: 3px solid #192f60;
    border-radius: 10px;
    padding: 15px 10px;
}
.article ul:not(.toc-list):not(.toc-list ul):not(.toc-list ol) li {
    position: relative;
    padding-left: 25px;
}
.article ul:not(.toc-list):not(.toc-list ul):not(.toc-list ol) li::before {
    font-weight: 900;
    content: "\f00c";
    position: absolute;
    left: 0;
    color: #192f60;
	font-family: "Font Awesome 5 Free";
}
.article .common-icon-box ul li {
    padding-left: 15px;
}
.article .common-icon-box ul li::before {
    content: "\f0da";
}

.article ol:not(.toc-list):not(.toc-list ul):not(.toc-list ol) {
    list-style-type: none;
    padding: 1em;
    border: 2px solid #192f60;
	border-radius: 5px;
    counter-reset: li;
	background: #f0f8ff;
}
.article ol:not(.toc-list):not(.toc-list ul):not(.toc-list ol) li {
    display: flex;
    align-items: center;
	flex-wrap: wrap;
    padding: .3em;
}
.article ol:not(.toc-list):not(.toc-list ul):not(.toc-list ol) li::before {
    display: inline-block;
    min-width: 1.7em;
    margin-right: 8px;
    background-color: #192f60;
    color: #fff;
    font-weight: bold;
    font-size: .75em;
    line-height: 1.7em;
    text-align: center;
    content: counter(li);
    counter-increment: li;
}
.article ul li pre,
.article ol li pre {
    display: block;
    width: 100%;
    margin-top: 0.5em;
}
pre {
	background: #000000;
	color: #ffffff;
}

.article .article-point {
    border: 2px solid #192f60;
    border-radius: 10px;
    padding: 3.0rem 1rem 0.8rem 1rem;
    position: relative;
}
.article .article-point > div {
    background-color: #192f60;
    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: "\f0eb";
	font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.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: "\f138" !important;
    font-size: 1.0rem;
}

/* 関連記事 */
.article .related-article {
    border: 2px solid #192f60;
    border-radius: 10px;
    padding: 3.0rem 1rem 0.8rem 1rem;
    position: relative;
}
.article .related-article > div {
    background-color: #192f60;
    border-radius: 5px 0 10px 0;
    color: #ffffff;
    font-size: 1.0rem;
    font-weight: 600;
    padding: 5px 10px 5px 35px;
    position: absolute;
    top: 0;
    left: 0;
}
.article .related-article > div::before {
    content: "\f1ea";
	font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.article .related-article > div > i {
    margin-right: 10px;
}
.article .related-article > ul {
    margin: 0;
    list-style-position: inside;
}
.article .related-article > ul > li::before {
    content: "\f138" !important;
    font-size: 1.0rem;
}
.article .related-article > ul > li {
	margin-top: 0;
	margin-bottom: 0;
}
.article .related-article > ul > li a {
	color: #333;
	text-decoration: none;
}

/* CTA */
.cta-button-box {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.cta-button-top {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.6;
}
.cta-button-link {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.cta-button-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}
.cta-button-note {
    font-size: 14px;
    color: #7f8c8d;
    margin-top: 15px;
    font-style: italic;
}
/* キャンペーンだけアニメ付き */
.cta-campaign-box .cta-button-link {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1);}
    50% { transform: scale(1.05);}
    100% { transform: scale(1);}
}
/* レスポンシブ */
@media (max-width: 768px) {
    .cta-button-box {
        margin: 20px 10px;
        padding: 15px;
    }
    .cta-button-top {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .cta-button-link {
        padding: 15px 30px;
        font-size: 16px;
    }
    .cta-button-note {
        font-size: 12px;
        margin-top: 10px;
    }
}




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

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

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

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