/*
Theme Name: やわろっく
Template: stinger6
*/
@import url("../stinger6/style.css");

/* 基本スタイル ---------------------------------*/
.aligncenter {
    padding: 0 10px;
    box-sizing: border-box;
}
.post ol li {
    line-height: 18px !important;
}
html {
    scroll-behavior: auto !important;
}
.font-gray-s {
    font-size: 13px;
    line-height: 110%;
    color: #777;
}
.memo {
    padding: 10px;
    display: block;
    margin-top: 30px;
    background-color: #efefef;
    border-radius: 10px;
}
.menu_underh2,
.st-post-tags,
.none {
    display: none;
}
a.btn-blue {
    background-color: #42add8;
    color: #fff;
    padding: 10px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    text-decoration: none;
    width: 60%;
    display: block;
    font-size: 12px;
}
#side aside h4 {
    margin-top: 20px;
}
.cf:before,
.cf:after {
    content: "";
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
    zoom: 1;
}
.cl {
    clear: both;
}
p {
    font-size: 14px;
    line-height: 25px;
    margin-bottom: 30px;
}
.wp-caption-text a,
.wp-caption-text {
    color: #bbb;
    line-height: 110%;
    font-size: 12px;
}
.textwidget p {
    font-size: 12px;
}

/* sns関連 ---------------------------------*/
.twitter-tweet {
    margin: 0px auto 20px auto !important;
    display: block;
    @media only screen and (max-width: 667px) {
        max-width: 94% !important;
    }
}
.container-youtube {
    margin-bottom: 10px;
}
.youtube-container {
    margin-bottom: 10px;
}

/* AmazonJSアイテム関連 ---------------------------------*/
.amazonjs_item {
    min-height: 160px;
    margin-top: 50px !important;
}
h3 + .amazonjs_item {
    margin-top: 30px !important;
}

/* 見出しスタイル  ---------------------------------*/
h2 {
    position: relative;
    background: #f3f3f3;
    color: #1a1a1a;
    font-size: 17px;
    line-height: 27px;
    margin-bottom: 20px;
    padding: 8px 10px;
    margin-top: 70px;
    background-color: #42add8;
    color: #fff;
}
h2:after,
h2:before {
    content: "";
    position: absolute;
    border-top: 10px solid #42add8;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    bottom: -10px;
    left: 30px;
    border-radius: 2px;
}
.post h2:first-child {
    margin-top: 0px;
}
h3 {
    word-break: keep-all;
}
.post h3 {
    margin-top: 30px;
    background: #dddddd;
    padding: 10px 8px;
    border-left: solid 5px #42add8;
    border-bottom: none;
    clear: both;
    font-size: 15px;
    line-height: 150%;
    letter-spacing: 0px;
}
.post h4 {
    font-size: 14px;
    padding: 0px;
    margin: 0px;
    color: #42add8;
    background: #fff;
}
.setori h4 {
    padding-top: 10px;
    padding-left: 10px;
}

/* セットリスト関連 ---------------------------------*/
.setlist .post h3 {
    padding-right: 40px;
    background-color: #d8f2f6;
    line-height: 110%;
    border: solid 2px #b2e5ed;
    margin-bottom: 0px;
}
#setori p.center {
    padding-left: 10px;
}
.setori {
    padding: 0.5em;
    border: solid 2px #b2e5ed;
    border-top: none;
}
.nosetlist .setori {
    padding: 0;
    border: none;
}
.nosetlist .post ol {
    border: none;
}

.setori ol {
    border: none;
}
.setori p {
    padding: 0.5em 1em;
    margin-bottom: 0px;
}
.setori p.btn01 {
    margin-top: 0px;
    padding: 0px;
}
.setori iframe {
    display: block !important;
    margin: 0px auto !important;
}
.setori img {
    margin-bottom: 20px;
}
.post ul li,
.post ol li {
    margin-bottom: 0.5rem;
    font-size: 14px;
}
.post ul li {
    margin-bottom: 1rem;
}
.post ol {
    list-style-type: decimal;
    padding: 15px 10px 5px 45px;
    font-size: 14px;
    line-height: 110%;
    border: solid 2px #b2e5ed;
    border-top: none;
}
ol li {
    padding-bottom: 5px;
}
.post h4.point {
    color: #222;
}
.post .setori ol {
    margin: 0px !important;
    border: none !important;
}
.center {
    margin: 30px auto 0px auto;
    display: block;
    text-align: center;
}
.setori p.center {
    padding: 0 !important;
    margin-top: 0px;
}
a.btn01,
a.btn02 {
    display: inline-block;
    padding: 0.3em 1em;
    text-decoration: none;
    background: #666;
    color: #fff;
    border-radius: 50px;
    margin: 0em auto 2em;
    text-align: center;
    font-size: 13px;
}
a.btn02 {
    background: #f57b2f !important;
}

/* ヘッダー ----------------------------------------------------*/
header {
    padding-top: 0 !important;
    margin-top: -10px;
}
header .descr,
header h1 {
    font-size: 12px !important;
    font-weight: normal !important;
    line-height: 0px !important;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
}
.header-inner {
    max-width: 1000px;
    padding: 0 0 70px 0;
    margin: 0 auto;
    position: relative;
}
.sitename2 img {
    display: block;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 10px;
    width: 140px;
    height: auto;
}

/* 一覧 ---------------------------------*/
#topnews dt {
    height: 150px;
    overflow: hidden;
}

/* タグ ----------------------------------------------------*/
.tagst {
    margin-top: 30px;
}
.tagst a,
.blog_info .pcone a {
    background-color: #6ec05e;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 5px;
    font-size: 14px;
}
.tagst a.btn-orange {
    background-color: #ff8000;
}

/* テーブル ----------------------------------------------------*/
.post table.table01 {
    padding: 0px;
    border: none;
}
.post table.table01 tr th,
.post table.table01 tr td {
    padding: 0px;
    border: none;
}
.post table.table01 tr:nth-child(even) {
    background-color: #fff;
}
.post table.table02 {
    width: 100%;
    table-layout: fixed;
    word-break: break-word;
}
.post table.table02 th {
    background-color: #f3f3f3;
}
.post table.table02 td {
    text-align: center;
    word-break: break-word;
}
.post table.table02 tr:nth-child(even) {
    background-color: #fff;
}
.post table ul {
    margin: 0px;
}
.post table ul li {
    font-size: 13px;
    padding: 0px;
}
/* 記事タイトル下  ----------------------------------------------------*/
.blogbox p {
    font-size: 14px;
    margin: 0px;
    color: #333333;
    line-height: 15px;
}
.blogbox {
    border: none;
    border-top: solid 1px #dddddd;
    border-bottom: none;
    background-color: #f2f2f2;
}
/* 検索 -------------------------------------------------------------- */
#kensaku {
    padding-bottom: 20px;
}
.search-wrap {
    width: 100%;
    padding: 0px 0px 20px 0px;
    margin: 0px auto;
    text-align: center;
}
#search {
    padding-bottom: 0px;
    position: relative;
    width: 100%;
}
#s {
    height: 36px;
    color: #333;
    font-size: 14px;
    border-radius: 0;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    background-color: #fff;
    z-index: 0;
    padding: 3px 65px 3px 10px;
    width: 100%;
    border: solid #e4e4e4 1px;
    box-sizing: border-box;
    -webkit-appearance: none;
}
#searchsubmit {
    border-radius: 0;
    background-color: #fff;
    position: absolute;
    right: 2px;
    top: 2px;
    width: 50px;
    height: 32px;
    z-index: 0;
    margin-bottom: 10px;
    padding: 0px;
}
*:first-child + html #searchsubmit {
    top: 1px;
}
/* 関連記事 ----------------------------------------------------*/
#kanren dt {
    width: 80px;
    height: 80px;
    overflow: hidden;
}
#kanren dd {
    padding-left: 90px;
    font-size: 12px;
}
#kanren dd h5 {
    font-size: 14px;
}
#kanren dt img {
    width: 80px;
    height: 80px; /* 高さを追加して安定化★ */
    object-fit: cover; /* アスペクト比を保ちながら収める★ */
}
/* ぱんくず ---------------------------------*/
#breadcrumb,
#breadcrumb ol,
#breadcrumb li,
#breadcrumb h1 {
    margin: 0;
    padding: 0;
    font-weight: normal;
    background: #ffffff;
    border: none;
}
#breadcrumb ol li,
#breadcrumb ol li h1 {
    color: #ccc;
    font-size: 13px;
    list-style: none;
    display: inline-block;
}
#breadcrumb ol li a,
#breadcrumb ol li h1 a {
    text-decoration: none;
    color: #ccc;
}
/* タブレット・スマホ設定 ----------------------------------------------------*/
@media only screen and (max-width: 803px) {
    nav {
        border: none !important;
    }
    #topnews dt {
        height: 80px;
        overflow: hidden;
    }
    .apple .youtube-container {
        padding-bottom: 120% !important;
    }
    .ad_wrap {
        margin: 0 auto;
        overflow: hidden;
    }
    header {
        position: relative;
    }
    header #logo {
        float: none;
        text-align: center;
    }
    #logo img {
        max-width: 140px;
    }
    header {
        margin: 0px;
        padding: 0px;
        position: relative;
        background: #fff;
        -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
        -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    }
    #content {
        margin-top: 0px;
    }
    #wrapper {
        padding: 0px;
    }
    .entry-title {
        margin-top: 5px;
    }
    #side aside {
        padding: 0 10px;
    }
    /* タブレット・スマホ見出し */
    .post h1 {
        font-size: 18px;
    }
    .post h2 {
        font-size: 15px;
    }
    .post h3 {
        font-size: 13px;
    }
    .post h4 {
        font-size: 14px;
    }
    dd h3 a {
        font-size: 14px;
        line-height: 100%;
    }
    #topnews dd h3 {
        font-size: 15px;
        line-height: 100%;
        margin-bottom: 5px;
    }
    p {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 30px;
    }
    .post ul li,
    .post ol li {
        font-size: 14px;
        line-height: 110%;
    }
    .post ol li {
        margin-bottom: 0px !important;
    }
    /* タブレット・スマホ検索 */
    .search-sp {
        padding: 15px 10px 5px 10px;
        text-align: center;
    }
    .search-wrap {
        margin: 0px auto;
        text-align: center;
    }
    #search {
        margin-bottom: 10px;
    }
    /* スマホアコーディオンメニュー ----------------------------------------------------*/
    #s-navi dl.acordion p {
        margin: 0;
    }
    #s-navi dl.acordion {
        margin: 0px;
    }
    #s-navi dt.trigger {
        cursor: pointer;
        position: absolute;
        top: -20px;
        right: 10px;
    }
    #s-navi dt.trigger .op {
        font-size: 30px;
        color: #333;
    }
    #s-navi dd.acordion_tree {
        display: none;
        overflow: hidden;
    }
    /* スマホ用ドロップダウンメニュー　*/
    .acordion_tree {
        z-index: 999999;
        background: #ffffff;
        padding: 0px;
        position: absolute;
        top: 80px;
        width: 100%;
        box-sizing: border-box;
        display: none;
    }
    .acordion_tree li {
        border: none;
        padding: 0px;
        margin: 0px;
        float: none;
        text-align: center;
        color: #222222;
    }
    .acordion_tree li a {
        padding: 3% 0%;
        margin: 0px;
        float: none;
        font-size: 14px;
        display: block;
        color: #222222;
    }
    .acordion_tree li:last-child a {
        border-bottom: none;
    }
    .acordion_tree li a:hover {
        text-decoration: none;
    }
    .op .bar {
        display: block;
        width: 25px; /* 線の長さ */
        height: 3px; /* 線の太さ */
        background-color: #333; /* 線の色 */
        margin: 5px auto; /* 線間の間隔、中央揃えを微調整 */
        transition:
            transform 0.4s,
            opacity 0.4s; /* アニメーションをtransformとopacityに適用 */
        border-radius: 2px; /* 角丸の追加 */
    }
    /* クリック時のアニメーション調整 */
    .op.change .bar:nth-child(1) {
        transform: translateY(8px) rotate(-45deg); /* 位置と角度の調整 */
    }
    .op.change .bar:nth-child(2) {
        opacity: 0;
    }
    .op.change .bar:nth-child(3) {
        transform: translateY(-8px) rotate(45deg); /* 位置と角度の調整 */
    }

    /* セトリ間隔 ----------------------------------------------------*/
    .post ol li {
        line-height: 15px;
    }
    .post ol li a {
        line-height: 25px;
    }
    /* 一覧サムネイル ----------------------------------------------------*/
    #topnews dt {
        float: left;
        width: 80px;
    }
    #topnews dt img {
        width: 100%;
    }
    #topnews dd {
        padding-left: 100px;
    }
    #topnews dl {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    #wpcr3_fname {
        width: 30% !important;
        min-width: 100px !important;
    }
    .wpcr3_respond_2 textarea {
        width: 45% !important;
        min-width: 100px !important;
        height: auto !important;
    }
    /* レスポンシブ広告対応 -------------------------------------------------------------------------------------------------*/
    p,
    h1.entry-title,
    h2,
    h3,
    h4,
    .blogbox,
    .tagst,
    #kanren,
    #breadcrumb,
    #topnews,
    .post ol,
    .setori,
    .amazonjs_item,
    .dem-poll-shortcode {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
    .post .setori ol {
        margin: 0px !important;
        border: none;
    }
}

/* PC設定 -------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 804px) {
    /* ドロワーメニュー非表示 */
    .drawer-wrap {
        display: none;
    }
    /* サイドバー設定 */
    #side {
        position: sticky;
        top: 20px;
        padding-top: 20px;
    }
    /* ヘッダー設定 */
    header {
        background: #fff;
        border-bottom: 2px solid #e4e4e4;
        text-align: center;
    }
    header #logo img {
        max-width: 150px;
    }
    header .sitename {
        font-size: 30px;
    }
    /* グローバルメニュー */
    nav {
        margin: 0;
        padding: 0;
        height: 41px;
        background: #fff;
        border: 1px solid #e4e4e4;
        border-bottom: 2px solid #e4e4e4;
    }
    .menu {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
    }
    .menu li {
        font-weight: bold;
        margin: 0;
        padding: 0;
        border-right: 1px solid #e4e4e4;
        border-bottom: 3px solid #dddddd;
    }
    .menu li:first-child {
        border-left: 1px solid #e4e4e4;
    }
    .menu li a {
        display: block;
        width: 100%;
        padding: 10px 0;
        text-align: center;
        font-size: 14px;
        color: #222;
    }
    .menu li a:hover {
        text-decoration: none;
    }
    .menu li:hover ul li {
        overflow: visible;
    }
    .menu li.current-menu-item,
    .menu li.current-menu-parent {
        border-bottom: 3px solid #42add8;
    }
    /* 非表示メニュー項目 */
    .menu-item-14312,
    .menu-item-12347 {
        display: none;
    }
}

/* TOC --------------------------------------*/
#toc_container {
    margin: 20px auto 30px;
    background-color: rgba(44, 153, 181, 0.04);
    border: 3px solid rgba(64, 105, 144, 0.2);
    border-radius: 3px;
    box-sizing: border-box;
    padding: 38px 52px;
    display: table;
    min-width: 68%;
    max-height: 400px;
    overflow-y: auto;
    min-height: 100px;
}
#toc_container ul.toc_list li::before {
    content: none;
    padding: 0;
    margin: 0;
    width: 0;
    height: 0;
    background: none;
    box-shadow: none;
}
#toc_container .toc_title {
    text-align: center;
    font-weight: bold;
    font-size: 100%;
    padding: 0;
    line-height: 1.5;
}
#toc_container .toc_title::before {
    position: relative;
    font-size: 28px;
    content: "\2254";
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 34px;
    margin-right: 8px;
    border-radius: 50%;
    vertical-align: baseline;
    speak: none;
    -webkit-font-smoothing: antialiased;
    color: #fff;
    background-color: #42add8;
}
#toc_container .toc_toggle a {
    font-size: 13px;
    font-weight: normal;
    padding: 2px 4px;
}
#toc_container p.toc_title + ul.toc_list {
    padding: 20px 0 0;
    margin: 20px 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
#toc_container ul.toc_list li {
    padding: 0;
    margin: 0;
}
#toc_container ul.toc_list li a {
    position: relative;
    font-size: 74%;
    font-weight: normal;
    text-decoration: none;
    display: inline-block;
    padding: 3px 0;
    margin: 7px 0;
    line-height: 1.6;
    transition: all 0.3s ease;
    min-height: 1.6em;
}
#toc_container ul.toc_list a,
#toc_container ul.toc_list a:visited {
    color: #333333;
}
#toc_container ul.toc_list a:hover {
    opacity: 0.88;
    text-decoration: none;
}
#toc_container ul.toc_list > li > a {
    font-size: 84%;
    font-weight: bold;
    margin-left: 40px;
}
#toc_container .toc_number {
    display: inline-block;
    text-align: center;
    margin-right: 5px;
    font-family: "Avenir Next", "Helvetica Neue", Arial, "Meiryo", "Yu Gothic", san-serif;
    font-weight: 400;
    color: #fff;
    background-color: #66bedf;
    min-width: 26px;
    min-height: 26px;
}
#toc_container .toc_number.toc_depth_1 {
    position: absolute;
    top: 0;
    left: -40px;
    width: 26px;
    height: 26px;
    line-height: 26px;
    border-radius: 16px;
}
#toc_container .toc_number:not(.toc_depth_1) {
    border-radius: 15px;
    line-height: 30px;
    padding: 0 5.43px;
}
#toc_container ul.toc_list > li > ul {
    margin-left: 40px;
}
@media only screen and (max-width: 667px) {
    #toc_container {
        padding: 20px 3vw;
        min-width: auto;
        width: 100% !important;
        max-height: 400px;
        overflow-y: auto;
        min-height: 100px;
    }
    #toc_container p.toc_title + ul.toc_list {
        padding: 20px 0 0;
    }
    #toc_container ul.toc_list > li > ul {
        margin-left: 30px;
    }
}

/* -----------------------------
   LuckyWP Table of Contents（目次）表示スタイル＋CLS対策
----------------------------- */

/* 目次の基本スタイル */
.lwptoc_item {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 1em;
}
.lwptoc_itemWrap .lwptoc_itemWrap {
    padding-bottom: 1em;
}
.lwptoc_header {
    text-align: center;
    font-size: 16px;
}

/* CLS対策：読み込み直後の高さ確保と表示の明示化 */
.lwptoc {
    min-height: 120px; /* 目安値。長い目次が多いなら 150px〜に調整可 */
    display: block;
    visibility: visible;
}

/* CLS対策：アンカーリンクのズレ防止（固定ヘッダー対策） */
:target::before {
    content: "";
    display: block;
    height: 80px; /* ヘッダーの高さに合わせて */
    margin-top: -80px;
}

.lwptoc_toggle_label {
    background: #6ec05e;
    color: white !important;
    display: block;
    padding: 0.3em 1em;
    border-radius: 50px;
    text-align: center;
    font-weight: bold;
    margin: 0.5em auto !important;
    font-size: 1rem; /* ← 明示的に指定 */
    line-height: 1.4;
    font-family: "Helvetica", "Arial", sans-serif; /* ← フォントも指定 */
    text-decoration: none;
    width: fit-content;
}
.lwptoc_toggle:before,
.lwptoc_toggle:after {
    display: none;
}
.lwptoc_item a {
    display: flex;
    align-items: flex-start; /* 行の高さをそろえる */
}

.lwptoc_item_number {
    flex: 0 0 2.2em; /* 数字部分の幅を固定 */
    text-align: right;
    margin-right: 0.4em;
}

.lwptoc_item_label {
    flex: 1;
    display: inline-block;
    word-break: break-word; /* 長いタイトル折り返し */
}

/* 初期状態はすべて閉じる */
.setlist h3 + ol,
.setlist h3 + p.center,
.setlist h3 + .setori {
    display: none;
}

/* h3 開閉アイコン */
.setlist h3 {
    position: relative;
    padding-right: 32px;
    cursor: pointer;
}

/* プラス */
.setlist h3::after {
    content: "+";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    font-weight: bold;
    color: #007eaf;
}

/* マイナス */
.setlist h3.active::after {
    content: "−";
}

/* セトリなし → 開閉アイコンを消す */
.setlist h3.no-toggle::after {
    display: none;
}

/* セトリなし → カーソル普通 */
.setlist h3.no-toggle {
    cursor: default;
}

/* h3.open の場合は常に表示 */
.setlist h3.open + ol,
.setlist h3.open + p.center,
.setlist h3.open + .setori {
    display: block !important;
}

/* h3.open のアイコンは最初から「−」 */
.setlist h3.open::after {
    content: "−";
}

.amazon-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    border: 1px solid #eee;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
    background: #fff;
    margin: 2rem 0;
}
@media only screen and (max-width: 667px) {
    .amazon-card {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
}

.amazon-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.amazon-card-img img {
    width: 120px;
    height: auto;
    border-radius: 6px;
}

.amazon-card-body {
    flex: 1;
}

.amazon-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
}

.amazon-card-price {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.amazon-card-btn {
    display: inline-block;
    font-size: 13px;
    padding: 6px 12px;
    border: 1px solid #111;
    border-radius: 999px;
}

.amazon-card-note {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 10px;
}

/* h4 トグル本体 */
h4.toggle-h4 {
    cursor: pointer;
    position: relative;
    padding-left: 42px; /* アイコン分しっかり空ける */
    line-height: 1.6;
}

/* ＋ / − 共通スタイル */
h4.toggle-h4::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%); /* ← 縦ズレ完全解消 */
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e6f0ff; /* 目立つ背景 */
    color: #1a5cff;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

/* 開いた状態（−） */
h4.toggle-h4.active::before {
    content: "−";
    background: #1a5cff;
    color: #fff;
}

/* ホバーでUI感を出す */
h4.toggle-h4:hover::before {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
