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

/* 画像の影を消す（SWELL の初期値は影あり） */
.p-articleThumb__img,
.p-articleThumb__youtube,
.p-postList__thumb,
.p-pickupBanners__item .c-bannerLink {
    box-shadow: none;
}

/* カテゴリーのラベルは白い字（トップのグレージュ #d5d2cc の一段濃い色・案3 2026-10-08） */
.c-categoryList__link {
    background: #a8a39b;
    color: #fff;
}

/* H2：上下の細い線（SWELL の「上下に線」2px を 1px・淡いグレージュに）案4 2026-10-08 */
.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
    border-top: 1px solid #cfcbc4;
    border-bottom: 1px solid #cfcbc4;
    padding: 0.9em 0.4em;
}

/* H3：背景なし・細い下線（左だけ少し濃い）（2026-10-08 決定） */
.post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
    padding: 0 0 0.55em;
}
.post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before {
    height: 1px;
    background: linear-gradient(90deg, #6e6a63 18%, #e4e3df 18%);
}

/* シェアボタン：X・LINE・Facebook・コピーの4つ（Pocket・はてブはカスタマイザーで非表示）。色は残してくすませる（案C 2026-10-08） */
.c-shareBtns__item.-twitter-x {
    color: #4a4946;
    order: 1;
}
.c-shareBtns__item.-line {
    color: #8fa596;
    order: 2;
}
.c-shareBtns__item.-facebook {
    color: #7d8798;
    order: 3;
}
.c-shareBtns__item.-copy {
    color: #a8a39b;
    order: 4;
}
.c-shareBtns__btn {
    box-shadow: none;
}
/* 文言「SHARE」は細い英字で小さく・左右の斜線なし */
.c-shareBtns__message .__text {
    padding: 0;
    font-family: Jost, sans-serif;
    font-weight: 300;
    font-size: 12px;
    letter-spacing: 0.25em;
    color: #8c8a86;
}
.c-shareBtns__message .__text::before,
.c-shareBtns__message .__text::after {
    display: none;
}

/* Q&A：質問（Q）だけ薄グレーの帯・答えは白地。アイコンは角の細い枠（案A 2026-10-08・色は #f8f7f5）。位置は px で固定（字の大きさに左右されない） */
.swell-block-faq .swell-block-faq__item + .swell-block-faq__item {
    margin-top: 1.4em;
}
.swell-block-faq .faq_q {
    background: #f8f7f5;
    padding: 0.85em 1em 0.85em 52px;
    font-size: inherit;
    line-height: 1.6;
}
.swell-block-faq .faq_a {
    padding: 0.9em 1em 0 52px;
    line-height: 1.8;
}
.swell-block-faq .faq_q::before,
.swell-block-faq .faq_a::before {
    left: 14px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    font-family: Jost, sans-serif;
    letter-spacing: 0;
    background: none !important;
    border-radius: 0 !important;
    color: #6e6a63 !important;
    box-shadow: 0 0 0 1px #6e6a63 !important;
}
.swell-block-faq .faq_q::before {
    top: 50%;
    margin-top: -12px;
}
.swell-block-faq .faq_a::before {
    top: calc(1.8em - 8px);
}

/* 記事のタイトル・見出し・一覧のカードの題は細めの明朝（本文はゴシックのまま・2026-10-08）
   読みやすさのため太さは 500（細すぎる 400 は小さい字でかすれる）・行間はやや広め・字間は少しだけ */
.c-postTitle__ttl,
.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q)),
.post_content h3:where(:not([class^="swell-block-"]):not(.faq_q)),
.post_content h4:where(:not([class^="swell-block-"]):not(.faq_q)),
.p-postList__title {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    letter-spacing: 0.06em;
}
.c-postTitle__ttl {
    line-height: 1.6;
}
.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)),
.post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
    line-height: 1.65;
}
.p-postList__title {
    line-height: 1.7;
}

/* 404：明朝・やさしい言い方＋読みもの・ホームへの道（子テーマの 404.php・2026-10-08） */
.kami404 {
    padding: 12vh 0 14vh;
    text-align: center;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    color: #2a2a28;
}
.kami404__en {
    display: block;
    font-family: Jost, sans-serif;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.32em;
    color: #8c8a86;
}
.kami404__ttl {
    margin: 2.2em 0 0;
    font-weight: 400;
    font-size: 20px;
    line-height: 2;
    letter-spacing: 0.14em;
}
.kami404__txt {
    margin: 2em 0 0;
    font-size: 14px;
    line-height: 2.2;
    letter-spacing: 0.08em;
    color: #5f5d59;
}
.kami404__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 3.6em;
}
.kami404__nav a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 220px;
    padding: 14px 26px;
    border: 1px solid #bcb8b2;
    color: #2a2a28;
    font-size: 14px;
    letter-spacing: 0.2em;
    text-decoration: none;
    transition: background 0.4s, border-color 0.4s;
}
.kami404__nav a:hover {
    background: #d5d2cc;
    border-color: #d5d2cc;
}
.kami404__nav i {
    position: relative;
    width: 22px;
    height: 1px;
    background: currentColor;
}
.kami404__nav i::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 7px;
    height: 1px;
    background: currentColor;
    transform-origin: right center;
    transform: rotate(35deg);
}
@media (min-width: 600px) {
    .kami404__ttl { font-size: 24px; }
    .kami404__nav { flex-direction: row; justify-content: center; }
}
