@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ウィジェット・アーカイブの件数の表示設定 */
.archive-count {
  font-size: 0.9em;
  opacity: 0.7;
  margin-left: .25em;
}

/*ピンク丸アイコンリスト*/
/* ===== 共通：デフォルトのマーカーを消して自前の12pxを出す ===== */
.wp-block-list.is-style-pink-bullet-circle-12,
.wp-block-list.is-style-pink-bullet-square-12{
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.wp-block-list.is-style-pink-bullet-circle-12 > li,
.wp-block-list.is-style-pink-bullet-square-12 > li{
  position: relative;
  padding-left: 1.6em; /* マーカー分の余白 */
  margin: 0.35em 0;
}

/* 薄いピンク（お好みで調整OK） */
:root{
  --pink-bullet: #f4aa9a;
}

/* ===== 丸（12px） ===== */
.wp-block-list.is-style-pink-bullet-circle-12 > li::before{
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--pink-bullet);
  position: absolute;
  left: 0;
  top: 0.45em; /* 行の高さに合わせて微調整 */
}

/* ===== 四角（12px） ===== */
.wp-block-list.is-style-pink-bullet-square-12 > li::before{
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 2px; /* 完全な四角なら0に */
  background: var(--pink-bullet);
  position: absolute;
  left: 0;
  top: 0.45em;
}

/* フッターメニューのカスタマイズ */
.l-footer__nav {
    padding: .5em 0 .5em;
	line-height: 1em;
}
.l-footer__nav li:first-child a {
    border-left: 2px solid #dbdbdb;
}
.l-footer__nav a {
    border-right: 2px solid #dbdbdb;
	color: #585858;
}
.l-footer__nav a:hover {
    color: #0044cc;
}
.c-iconList__icon::before {
    color: #ec6d65;
}


/* ===== migrated from Customizer Additional CSS ===== */
/* サイト全体行間を変更 */
body p {
	line-height: 2.2em;
}
/*見出しだけ行間ツメ*/
h1, h2, h3, h4, h5, h6{
  line-height: 1.5;
}
/* ページトップに戻るマークの矢印を大きく */
.c-fixBtn__icon {
    font-size: 26px;
}
/* トップページ＞フッター＞SNSアイコン設定
　→大きくする。色をピンクにする */
.c-iconList__icon::before {
    color: #ec6d65;
}
.u-fz-14 {
        font-size: 28px;
}
/* メインメニューの文字色変更 */
.c-gnav,
/* footerナビとコピーライトの文字色 */
.l-footer__nav,
.l-footer .copyright {
    color: #ec6d65;
}
/* =====================================
   SWELL ボタンブロック：ピル型＋枠線（#ec6d65）最終形
   ===================================== */

/* 基本 */
.wp-block-button.is-style-outline .wp-block-button__link{
  background: transparent;
  color: #ec6d65;
  border: 2px solid #ec6d65;
  border-radius: 999px;

  padding: .9em 1.6em;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;

  box-shadow: none;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}

/* ホバー */
.wp-block-button.is-style-outline .wp-block-button__link:hover{
  background: #ec6d65;
  color: #fff;
  transform: translateY(-1px);
}

/* 押下 */
.wp-block-button.is-style-outline .wp-block-button__link:active{
  transform: translateY(0);
  opacity: .9;
}

/* 中の strong / span の影響を受けないように */
.wp-block-button.is-style-outline .wp-block-button__link *{
  line-height: 1.2;
}
/*リストマークのカスタマイズ*/
.post_content li {
    line-height: 2;
}
ul.is-style-index li:before,
ul.post_content li:before {
    color: #f4aa9a;
    height: 12px;
    width: 12px;
}
/* SWELL ブロックボタン：アウトラインの線を太くする */
.wp-block-button.is-style-outline .wp-block-button__link{
  border-width: 2px;   /* ← 好みで 2px / 3px / 4px など */
}
.is-style-btn_line a {
	border: 2px solid;
	line-height: .8em;
}

/* =========================
   SWELL 目次を Rich TOC 風に（整理版・最終）
   - SWELLの「1｜」は消す
   - 自前で「01｜」を本文前に固定表示（末尾に行かない）
   ========================= */

/* 目次全体 */
.p-toc{
  background:#fff;
  border:6px solid #dbeeff;
  padding:3em 2.5em;
  margin:3em 0;
}

/* タイトル：「目次」→「Contents」 */
.p-toc__ttl{
  font-size:0 !important;
  display:block;
  margin:0 0 2em;
  text-align:left;
}
.p-toc__ttl::before{
  content:"Contents";
  font-size:1.6rem;
  font-weight:500;
  color:#f3b6c6;
  letter-spacing:.05em;
	margin-bottom: 1.2em;
}

/* リスト：標準番号を消してカウンタ開始 */
.p-toc__list.is-style-index{
  list-style:none !important;
  padding-left:0 !important;
  margin:0 !important;
  counter-reset: toc-num;
}
.p-toc__list.is-style-index > li{
  counter-increment: toc-num;
  margin:0 0 0.7em;
}

/* SWELL側が li::before などで作る「1｜」を潰す */
.p-toc__list.is-style-index > li::before,
.p-toc__list.is-style-index > li::after{
  content:none !important;
  display:none !important;
}

/* 1文字崩れ防止：リンクは flex で安定配置 */
.p-toc__list.is-style-index > li > a.p-toc__link{
  display:flex;
  align-items:flex-start;
  width:100%;
  line-height:1.8;
  color:#444;
  text-decoration:none;

  /* 長いタイトルの折り返し保険 */
  overflow-wrap:anywhere;
  word-break:normal;
}
.p-toc__list.is-style-index > li > a.p-toc__link:hover{
  text-decoration:underline;
}

/* 「01｜」を before で固定（縦棒が末尾に行かない） */
.p-toc__list.is-style-index > li > a.p-toc__link::before{
  content: counter(toc-num, decimal-leading-zero) "｜";
  color:#4da0ff;          /* 数字＋縦棒は同色（青） */
  font-weight:600;
  display:inline-block;
  min-width:2em;        /* 01｜ の幅 */
  margin-right:.5em;
  flex:0 0 auto;
}

/* after は使わない（末尾問題を封じる） */
.p-toc__list.is-style-index > li > a.p-toc__link::after{
  content:none !important;
}

/* 子階層（H3など）は非表示 */
.p-toc__list.is-style-index ul{
  display:none;
}

/* 枠線の設定 */
.p-toc.-double {
    border: solid 4px #dbeeff; /* 薄い水色の枠 */ !important;
	padding: 2em 3.5em 1em;
}

/* ブログ記事（投稿ページ）のH2だけカスタマイズ */
.single-post h2,
.editor-styles-wrapper h2 {
border-top: none;
border-left: solid 6px #f4aa9a;
border-bottom: solid 2px #f4aa9a;
}

/* サイドバーのタイトルをカスタマイズ */
.c-widget__title {
  background: #f4aa9a;
  border: 3px double #fff;
  font-size: 16px;
  font-weight: 700;
	line-height: 1.6em;
  color: #ffffff;
	text-align: center;
}
/* カテゴリー一覧：左のフォルダアイコン（a:before）だけ色変更 */
.widget_categories > ul > .cat-item > a::before,
.wp-block-categories > ul > li > a::before,
.widget_block .wp-block-categories > ul > li > a::before {
  color: #f4aa9a !important;
}


/* =========================
   背景色を付けるページ指定
========================= */

/* 投稿ページすべて */
body .single-post,

/* 固定ページ：ID6とID7のみ */
body .page-id-6,
body .page-id-7{
  background: #fffdf9; /* 好きな色に変更OK */
}

/* =========================
   SWELLの外側白背景を消す
========================= */

body .single-post #content,
body .page-id-6 #content,
body .page-id-7 #content{
  background: transparent;
}

/* =========================
   記事エリアを白カード化
========================= */

body .single-post .l-mainContent__inner,
body .page-id-6 .l-mainContent__inner,
body .page-id-7 .l-mainContent__inner{
  background: #fff;
  padding: 40px;
  border-radius: 3px;
  box-shadow: 0 3px 3px rgba(0,0,0,.065);
}

/* スマホ余白調整 */
@media (max-width: 768px){
  body .single-post .l-mainContent__inner,
  body .page-id-6 .l-mainContent__inner,
  body .page-id-7 .l-mainContent__inner{
    padding: 20px;
  }
}

.l-content {
    padding-top: 0;
}
/*===============
この記事を書いた人のリンクアイコンを小さくする
===============　*/

.p-authorBox .c-iconList__icon::before {
    color: #5f5f5f;
}
.u-fz-14 {
    font-size: 18px;
}

/* 記事一覧でカテゴリ表示を左端に */
.c-postThumb__cat {
    right: auto;
    left: 0;
}
/* よく読まれる記事の表示を整える｜プラグイン「WP Popular Posts」を削除したら消す */
.wpp-list li {
    overflow: hidden;
    display: grid;
    grid-template-columns: 75px auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 1rem;
}
