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

/************************************
** 1728.works: /count/ と同じ見た目にそろえる
** 色・ヘッダー・フッター・フォームの共通部分は
** mu-plugins/1728-style.css で読み込んでいます
************************************/

/* 全体 */
html body{background:var(--s-bg);color:var(--s-text);font-family:var(--s-font)}
body .container,body .content,body .content-in,body .main,body .article{background:transparent}

/* ヘッダー（tmp/header-container.php で /count/ と共通のマークアップを出力） */
body #header.s1728-header{background:transparent;border:0}
body .s1728-header .s1728-bar a{text-decoration:none}

/* 本文：1カラム・中央寄せ・幅760px */
body #content{margin-top:0;margin-bottom:0}
body #content-in.wrap{width:auto;max-width:760px;margin:0 auto;padding:20px 16px 40px;display:block}
body #main{width:100%;max-width:none;padding:0;margin:0;border:0;border-radius:0;background:transparent}
body #sidebar{display:none}
body .article{margin:0}
body .article-header{margin:0}
body .entry-title{font-size:1.35rem;font-weight:700;line-height:1.5;margin:0 0 14px;padding:0}
body .date-tags,body .article-footer,body .author-info,body .sns-share,body .sns-follow{display:none}

/* 本文カード */
body .entry-content{background:var(--s-panel);border:1px solid var(--s-line);border-radius:12px;padding:20px 22px;margin:0;font-size:16px;line-height:1.8}
body .entry-content > :first-child{margin-top:0}
body .entry-content > :last-child{margin-bottom:0}
body .entry-content p,body .entry-content li{font-size:.93rem;line-height:1.8}
body .entry-content :where(p,ul,ol){margin-top:0;margin-bottom:.9em}
body .entry-content a{color:var(--s-accent)}

/* 見出し：Cocoon の装飾を消して /count/ と同じ区切り線のスタイルに */
body .article .entry-content h2{font-size:1.02rem;font-weight:700;line-height:1.6;margin:24px 0 8px;padding:14px 0 0;
  background:none;border:0;border-top:1px solid var(--s-line);border-radius:0;color:var(--s-text)}
body .article .entry-content h2:first-child{border-top:0;padding-top:0}
body .article .entry-content h3{font-size:1.15rem;font-weight:700;margin:0 0 4px;padding:0;background:none;border:0}
body .article .entry-content h2::before,body .article .entry-content h2::after,
body .article .entry-content h3::before,body .article .entry-content h3::after{content:none}
body .entry-content .has-small-font-size{font-size:.8rem !important;color:var(--s-muted)}

/* お問い合わせフォーム：送信ボタンは横幅いっぱいにしない */
body .wpcf7-form input[type=submit]{width:auto;padding:.7em 2.2em}

/* 箇条書き */
body .entry-content ul{padding-left:1.3em}

/* トップのツールカード */
body .entry-content a.t1728-card{color:var(--s-text);text-decoration:none}
body .entry-content .t1728-card h3{font-size:1.15rem;color:var(--s-text)}
body .entry-content .t1728-card p{color:var(--s-muted)}

/* フッター（tmp/footer-bottom.php で /count/ と共通のマークアップを出力） */
body #footer{background:transparent;margin-top:0;padding:0;border:0}
body #footer-in.wrap{width:auto;max-width:none;padding:0;margin:0}
body .s1728-footer a{text-decoration:underline}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*480px以下*/
@media screen and (max-width: 480px){
  body .entry-content{padding:16px 16px}
}
