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

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


/* ================================================================= 
   No001  UTF8B無.LF     ARUBA Add 20261028.0801
   WordPress.テーマ「Cocoon」スキン「grayish」
   *関係PHP  → /wp-content/themes/cocoon-child-master/functions.php
                No001

   独自ページタイプ
   AB.1ｶﾗﾑ.ｻB無(y1440px)
   AB.1ｶﾗﾑ.ｻB無(y1200px)
   AB.1ｶﾗﾑ.ｻB無(y1024px)
　 ================================================================= */

/* 1. AB.1ｶﾗﾑ.ｻB無(y1024px) */
body.column-middle .content-in {
    width: 1024px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* 2. AB.1ｶﾗﾑ.ｻB無(y1200px) */
body.column-large .content-in {
    width: 1200px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* 3. AB.1ｶﾗﾑ.ｻB無(y1440px) */
body.column-xlarge .content-in {
    width: 1440px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* 4. 3種類共通のメインカラム設定 */
body.column-middle #main,
body.column-large #main,
body.column-xlarge #main {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* 5. 3種類共通のサイドバー非表示 */
body.column-middle #sidebar,
body.column-large #sidebar,
body.column-xlarge #sidebar {
    display: none;
}

/* ------------------------------------ 
   6. スマートフォン・タブレット対応
　 ------------------------------------ */

/* 1. AB.1ｶﾗﾑ.ｻB無(y1024px) */
@media screen and (max-width: 1024px) {

    body.column-middle .content-in {
        width: 100%;
        max-width: 100%;
    }

}

/* 2. AB.1ｶﾗﾑ.ｻB無(y1200px) */
@media screen and (max-width: 1200px) {

    body.column-large .content-in {
        width: 100%;
        max-width: 100%;
    }

}

/* 3. AB.1ｶﾗﾑ.ｻB無(y1440px) */
@media screen and (max-width: 1440px) {

    body.column-xlarge .content-in {
        width: 100%;
        max-width: 100%;
    }

}

/* ================================================================= 
   No002  UTF8B無.LF     ARUBA Add 20261028.0801
   WordPress.テーマ「Cocoon」スキン「grayish」
   *関係PHP  → /wp-content/themes/cocoon-child-master/functions.php
                No002
   全カテゴリー・投稿一覧
   最大幅1200px・中央寄せ
   個別投稿・固定ページは対象外
   ベース：最大幅1200px（他の幅はコメントアウト＃ＡＢ）
　 ================================================================= */

/* 1. 一覧ページ全体の幅を設定 */
body.archive .content-in,
body.blog:not(.home) .content-in {
/*  下記差替＃ＡＢ  */
    width: 1200px;
/*     width: 1400px; */
/*     width: 1024px; */
/*     width: 1600px; */

    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* 2. メインカラム中央寄せ */
body.archive #main,
body.blog:not(.home) #main {
    width: 100%;
    max-width: 100%;
    float: none;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* 3. サイドバー非表示 */
body.archive #sidebar,
body.blog:not(.home) #sidebar {
    display: none;
}

/* 4. スマートフォン対応 */
@media screen and (max-width: 1200px) {

    body.archive .content-in,
    body.blog:not(.home) .content-in {
        width: 100%;
        max-width: 100%;
    }

}

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

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

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

/* ================================================================= 
   No003  UTF8B無.LF     ARUBA Add 20261029.0801
   WordPress.テーマ「Cocoon」スキン「grayish」
   *関係PHP  → /wp-content/themes/cocoon-child-master/functions.php
                No003
   カテゴリー別・折りたたみ記事目次
　 ================================================================= */

.aruba-category-accordion {
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
}

.aruba-accordion-title {
    font-size: 18px;
    font-weight: bold;
    padding: 12px 0;
    margin-bottom: 12px;
    border-bottom: 2px solid #666;
}

.aruba-accordion-item {
    margin-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

/* カテゴリー見出し */
.aruba-accordion-item summary {
    position: relative;
    display: block;
    padding: 12px 32px 12px 14px;
    background: #f5f5f5;
    cursor: pointer;
    font-weight: bold;
    list-style: none;
}

.aruba-accordion-item summary::-webkit-details-marker {
    display: none;
}

/* 開閉マーク */
.aruba-accordion-item summary::after {
    content: "＋";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.aruba-accordion-item[open] summary::after {
    content: "－";
}

/* 記事件数 */
.aruba-article-count {
    margin-left: 8px;
    color: #777;
    font-size: 12px;
}

/* 投稿記事一覧 */
.aruba-article-list {
    list-style: none;
    margin: 0;
    padding: 8px 12px;
}

.aruba-article-list li {
    padding: 9px 0;
    border-bottom: 1px solid #eee;
}

.aruba-article-list li:last-child {
    border-bottom: none;
}

.aruba-article-list li a {
    color: #333;
    text-decoration: none;
}

.aruba-article-list li a:hover {
    color: #0073aa;
    text-decoration: underline;
}

/* カテゴリー一覧へのリンク */
.aruba-category-more {
    display: block;
    padding: 10px 12px;
    text-align: right;
    font-size: 12px;
    color: #0073aa;
    border-top: 1px solid #eee;
}
