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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/* 親テーマからの移行分 */
body {
  background: #fff;
}
a {
  color: #333;
}
a:hover {
  color: #333;
}
.content {
  background: #fff;
  padding-top: 40px;
}
.breadcrumb {
  margin: 0 0.4em 1em;
}
.cat-link {
  color:#000;
  background-color: initial;
}
.cat-link:hover {
  opacity: 0.5;
  color: initial;
}
div#wp_sidebar #sub-column {
  width: 100%;
  margin-right: 0;
}
.sidebar {
  padding: 0 20px;
}
.side_info {
  margin-bottom: 0!important;
}
.no-sidebar .sidebar, div#subc_calendar {
  display: none;
}
.menu-close-button {
  display: none;
}
.footer {
  margin-top: 50px;
padding: 0;
}

/* 最近の投稿を非表示 */
div#newpostcatch-2 {
  display: none;
}
/* カテゴリ項目 調整用*/
div#categories-3 ul li{
    color: var(--cocoon-text-color);
    text-decoration: none;
    display: inline-block;
    margin-top:10px;
    font-size: 12px;
    border: 0.1px solid var(--cocoon-x-pallid-text-color);
    border-radius: var(--cocoon-badge-border-radius);
    word-break: break-all;
    text-align:center;
}
/* カテゴリ項目 位置調整用*/
div#categories-3 ul{
padding-left:3px;  
}
.widget-single-content-bottom-title.main-widget-label.widget-title {
  text-align: center;
  background: #2D5F91;
  color: #ffffff;
  padding: 11px 0px 9px 0px;
}
span.list-item-caption {
    font-size: 12px;
}
div#categories-3 ul li a:hover{
opacity: 0.5;
}
/*2024年12月19日　Eストアー作成*/
/* 以上 */
.content{
  padding-top:160px;
}
.header .forb a span.btn{
  border: none;
  line-height: 1.4;
}
.header .forb a span.btn::after{
  margin-right: 0;
	box-sizing: content-box;
}
.flex_box02 .h_contact a.btn-tag--b{
  padding-left: 18%;
}

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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
    div.sidebar {
        padding: 15px;
        margin: 12px 0;
        border-width: 0;
    }
    .content {
        margin-top: 0;
    }
}

/*768px以下*/
@media screen and (max-width: 768px){
    .content{
        padding-top:67px;
    }
    ul.smp-V {
        display: none !important;
    }
    .header_logo_area {
        width: 96% !important;
        margin: 10px 2% 10px 2%!important;
    }
    div#wp_sidebar #sub-column {
        width: 100%;
        padding: 200px 2% 0;
    }  
}

/*580px以下*/
@media (max-width: 580px) {
.header_logo_area {
    width: 96%!important;
    margin: 10px 2% 10px 2%!important;
}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
    div#wp_sidebar #sub-column {
        width: 100%;
        padding: 190px 2% 0;
    }  
}

/************************************
** 投稿
************************************/
/*アンカーリンク調整*/
:target::before {
    content:"";
    display:block;
    height:320px;
    margin:-320px 0 0;
}

/*見出し*/
.article h1.entry-title {
    font-size: 1.5rem;
    line-height: 1.6;
    font-weight: bold;
    padding: 10px 0;
    margin-bottom: 0;
}
.article .post_box h2.post_ttl {
    width: 100%;
    background: #F8FAFC;
    text-align: left;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: bold;
    padding: 20px;
    margin-bottom: 20px;
}
.article .post_box h3.post_ttl {
    text-align: left;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: bold;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-left: 6px solid #2d5f91;
    border-right: 1px solid #D9D9D9;
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;
}

/*投稿内容*/
.post_box {
    margin-bottom: 8%;
}
.post_heading img , .post_box img {
    display: block;
    width: 100%;
}
.post_heading p, .post_box p {
    font-size: .94rem;
    line-height: 2;
    text-align: left;
}
.toc {
    border: 1px solid #D9D9D9;
    font-size: .94rem;
    padding: 2em;
}
.toc-center {
    margin: 3em auto;
}
.img_txt_2column {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.img_txt_2column img {
    width: 48%;
}
.img_3column {
    display: flex;
    flex-wrap: wrap;
}
.img_3column img {
    width: 32%;
    margin-right: 2%;
    margin-bottom: 2%;
}
.img_3column img:nth-child(3n) {
    margin-right: 0;
}
.img_3column br {
    display: none;
}
.post_table {
    margin-bottom: 5%;
}
.post_table dl {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    border: 1px solid #d9d9d9;
    box-sizing: border-box;
    font-size: .94rem;
}
.post_table dt, .post_table dd {
  box-sizing: border-box;
}
.post_table dt {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    padding: 15px 20px;
    background-color: #eef3f8;
    border-bottom: 1px solid #d9d9d9;
}
.post_table dt:last-of-type , .post_table dd:last-of-type {
    border: none;
}
.post_table dd {
    display: flex;
    align-items: center;
    width: 70%;
    margin-left: 0;
    padding: 15px 20px;
    background-color: #fff;
    border-bottom: 1px solid #d9d9d9;
}

/*ボタン*/
.post_btn {
    text-align: center;
    width: 70%;
    max-width: 350px;
    margin: 3% auto 0;
}
.post_btn a {
    display: block;
    text-align: center;
    color: #fff;
    background: #2d5f91;
    text-decoration: none;
    padding: 15px 0;
    border-radius: 10px;
    position: relative;
    font-size: .94rem;
}
.post_btn a::after{
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  position: absolute;
  right: 16px;          
  top: calc(50% - 2px); 
  border-top: solid 1px;
  border-right: solid 1px;
  transform: rotate(45deg) translateY(-50%);
  color: inherit;
}
.post_btn a:hover {
    background: #133d67;
    transition: .5s;
}

/*関連記事*/
.rect-vartical-card .related-list {
    justify-content: flex-start;
}

@media screen and (max-width: 768px){
/*アンカーリンク調整*/
:target::before {
    content:"";
    display:block;
    height:270px;
    margin:-270px 0 0;
}    
    
/*見出し*/    
.article h1.entry-title {
    font-size: 1.4rem;
}  
    
/*投稿内容*/
.post_box {
    margin-bottom: 10%;
}    
.post_heading p, .post_box p {
    font-size: .9rem;
    line-height: 1.8;
}  
.toc , .post_btn a , .post_table dl  {
    font-size: .9rem;
}    
}

@media screen and (max-width: 480px){
/*アンカーリンク調整*/
:target::before {
    content:"";
    display:block;
    height:250px;
    margin:-250px 0 0;
}    
    
/*見出し*/    
.article h1.entry-title {
    font-size: 1.3rem;
}  
.article .post_box h2.post_ttl , .article .post_box h3.post_ttl {
    font-size: .9rem;
}
  
/*投稿内容*/ 
.post_box {
    margin-bottom: 12%;
}    
.img_3column {
    justify-content: space-between;
}    
.img_3column img {
    width: 49%;
    margin-right: 0;
}  
    
/*ボタン*/    
.post_btn {
    margin: 5% auto 0;
}    
.post_btn a, .post_table dl {
    font-size: .8rem;
}  
.post_btn a {
    padding: 10px 0;
}
}