/* 共通スタイルと狭い画面の基本レイアウト */
:root {
    --text: #333;
    --link: #007dd5;
    --link-hover: #9c3;
    --pink: #ff9cbe;
    --pink-border: #f35c87;
    --widget-border: #e2ddd0;
    --footer: #eef0d3;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    color: var(--text);
    background: #fff;
    font: 62.5%/1.5 "Hiragino Kaku Gothic Pro", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a { color: var(--link); }
a:hover, a:focus-visible { color: var(--link-hover); }

.site-width {
    width: 98%;
    max-width: 950px;
    margin-inline: auto;
}

#header { background: #fff; }
#header-in { padding-block: 1.2em; }
.header-logo { margin: 0 0 4.8px; }

#menu, #menu .sub-menu, #breadcrumbs ol, #top-menu, .widget-conts ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.disclosure-button {
    box-sizing: border-box;
    width: 100%;
    border: 0;
    border-bottom: 2px solid var(--pink-border);
    padding: 1em 1em 1em 2.5em;
    background: var(--pink) url("../images/icon-arrow07.png") no-repeat 1em center;
    color: #fff;
    text-align: left;
    font: inherit;
    font-size: .875rem;
    cursor: pointer;
}

.disclosure-panel.is-collapsed { display: none; }
#sidebar .disclosure-button {
    margin-bottom: 1em;
    padding-block: .5em;
    background: #ff9cde;
}

#menu li {
    border-bottom: 1px solid #fff;
    background-color: #eaeaea;
    font-weight: bold;
}

#menu { font-size: .875rem; }

#menu a {
    display: block;
    padding: .8em 1em .8em 2em;
    color: var(--text);
    text-decoration: none;
    background: url("../images/icon-arrow04.png") no-repeat 1em 1em;
}

#menu a:hover, #menu a:focus-visible { background-color: #e4e4e4; }
#menu .sub-menu { padding-inline-start: 10%; }

#main { padding-block-start: 1.5em; }

#breadcrumbs {
    margin-bottom: 1.5em;
    font-size: .813rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

#breadcrumbs li { display: inline; margin-inline-end: .5em; }
#breadcrumbs a {
    padding-inline-end: 15px;
    background: url("../images/icon-brc.gif") no-repeat center right;
}

#main-contents {
    min-width: 0;
    font-size: .938rem;
    overflow-wrap: anywhere;
}

#main-contents .contents {
    display: flow-root;
    margin-bottom: 1.5em;
    padding-inline: 10px;
}

#main-contents p { margin: 0 0 1.5em; line-height: 1.8; }

.post-title {
    margin: 0 0 30px;
    padding-bottom: 5px;
    border-bottom: 4px solid var(--pink-border);
    font-size: 1.2rem;
    line-height: 1.2;
}

.post-title a { color: inherit; }
.post-title a:hover, .post-title a:focus-visible { color: var(--link-hover); }
.single .post-title, .archive .post-title { margin-bottom: 1em; }
.archive .post-title a { text-decoration: none; }

.archive-title,
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    margin: -1px;
    padding: 0;
    clip-path: inset(50%);
    white-space: nowrap;
}

#main-contents .list-thumbnail {
    display: block;
    margin-bottom: 1em;
}

#main-contents .link-next { text-align: right; }
.pagination { margin-block: 1.5em; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: .25em .5em; }
.pagination .current { color: #fff; background: #666; }

/* 旧H3〜H6の装飾を、移行後の本文H2〜H5へ対応させる。 */
.rich-text h2 {
    clear: both;
    margin: 2.5em -10px 1.5em;
    padding: 4px 4px 4px 8px;
    border-left: 8px solid #a01651;
    border-bottom: 1px dashed #ccc;
    color: #000;
    font-size: 1.125rem;
}

.rich-text h3 { margin: 0 0 .5em; font-size: 1.4em; }
.rich-text h4 { margin: 0 0 1.5em; padding: 0 .8em .5em; border-bottom: 2px solid #414141; font-size: 1em; }
.rich-text h5 { margin: 0 0 1.5em; font-size: 1em; }

.rich-text .img-title { margin: 0 0 1.5em; padding: 0; border: 0; }
.rich-text :is(h2, h3, h4) a { color: var(--text); }
.rich-text :is(h2, h3, h4) a:hover { color: var(--link-hover); }
.rich-text :is(ul, ol) { margin: 0 .8em 1.5em 1.7em; padding: 0; }
.rich-text li { margin-bottom: 1em; line-height: 1.5; }
.rich-text q { margin-inline: 2px; padding-inline: 8px; background: #efefef; }

.rich-text blockquote {
    overflow: auto;
    margin: 0 1em 1.5em;
    padding: 1em;
    border: 3px solid #ddd;
    background: #efefef;
    color: #444;
}

.rich-text table {
    display: block;
    max-width: 100%;
    margin-bottom: 1.5em;
    overflow-x: auto;
    border-collapse: collapse;
}

.rich-text :is(th, td) { padding: .5em; border: 1px solid #959595; }
.rich-text th { background-color: #f0f0f0; text-align: left; }
.rich-text .aligncenter { display: block; margin-inline: auto; }
.rich-text .wp-caption { max-width: 100%; }
.rich-text .wp-caption-text { text-align: center; }
.rich-text .youtube { position: relative; aspect-ratio: 16 / 9; margin-bottom: 1.5em; }
.rich-text .youtube iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.rich-text .johnson { margin-bottom: 1.5em; padding: 10px 20px 0; border: 2px dashed #222; }
#main-contents .johnson p.last { margin-bottom: 10px; }
.rich-text #sitemap_list,
.rich-text #sitemap_list ul { margin: 0; }
.rich-text #sitemap_list li {
    list-style: none;
    padding: 3px 10px 3px 20px;
    background: url("../images/icon-arrow_r_gray.png") 2px 8px no-repeat;
}
.rich-text #sitemap_list li ul { margin-top: .5em; }
.rich-text #sitemap_list li li {
    padding: 6px 10px 6px 15px;
    background: url("../images/icon-menu02.png") 2px 12px no-repeat;
}
.b1 { font-weight: bold; font-size: 1em; }
.b { font-weight: bold !important; }
.big { font-size: 1.2em !important; }
.red { color: #f00 !important; }
.f14em { font-size: 1.4em; }

.sub-column { min-width: 0; font-size: .875rem; overflow-wrap: anywhere; }
.sub-column .contents { margin-bottom: 1.5em; padding-block: .5em; }
.sub-column .widget-title {
    margin: -.5em 0 0;
    border-bottom: 2px solid var(--widget-border);
    padding: 8px 5px 8px 10px;
    font-size: .938rem;
}

.widget-conts ul li {
    margin: 0;
    padding: 3px 10px 3px 20px;
    background: url("../images/icon-arrow_r_gray.png") no-repeat 2px 6px;
}

.widget-conts.cat-post-widget ul li {
    margin: 3px 0 10px;
    padding: 8px 0 3px;
    background: none;
}

.widget-conts ul a {
    display: block;
    padding: 7px 5px 8px 22px;
    background: url("../images/icon-arrow_r_gray.png") no-repeat 5px 11px;
    text-decoration: none;
}

.widget-conts ul a:hover, .widget-conts ul a:focus-visible { background-color: #eee; color: #f00; }
.cat-post-widget ul a {
    display: -webkit-box;
    overflow: hidden;
    padding-bottom: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.cat-post-widget a[aria-current="page"] { font-weight: bold; text-transform: uppercase; }

#footer { padding-top: 30px; background-color: var(--footer); font-size: 1.2em; }
.copyright { margin: 0; text-align: center; }
.copyright small { font-size: inherit; }
.copyright span { display: block; }
#top {
    background-color: var(--pink);
    border-bottom: 1px solid #ccc;
}

#top-menu { padding-block: 2px; }
#top-menu a { padding-left: 15px; background: url("../images/icon-arrow_r.png") no-repeat left center; color: #fff; }
#top-menu a:hover, #top-menu a:focus-visible { color: #137ca0; }

.page-top { margin: 0; text-align: center; font-weight: bold; }
.page-top a {
    display: block;
    padding: 15px;
    border-top: 1px solid #fff;
    background: #c8c8c8 url("../images/bg-pagetop.gif") no-repeat 14px center;
    color: #fff;
    text-decoration: none;
}

.article-ad-title {
    margin: 0 0 .5em;
    font-size: 1.4em;
}
#main-contents .bottom_link_img { margin: 0; }
.bottom_link_txt { font-weight: bold; font-size: 1.4em; }
#main-contents .fortop { margin: -.5em 0 1em; font-weight: bold; font-size: 2em; line-height: 1.3; }
#interview { margin-bottom: 1.5em; }
#winning { overflow: auto; margin-bottom: 20px; border: 2px dashed #000; }
#winning .title { margin: 5px 15px 0 20px; font-weight: bold; font-size: 1.6em; color: #f00; }
#winning .image { margin-bottom: 5px; }
#winning .image img { box-sizing: border-box; padding: 0 0 5px 30px; }
#winning .text { padding: 0 15px; }
#kanrenkiji { margin: 0 0 1.5em; padding: 0; list-style: none; }
#kanrenkiji li { padding: 0 0 10px 20px; background: url("../images/icon-arrow_r_gray.png") 0 5px no-repeat; }
#bottom-ad-wrap {
    position: fixed;
    z-index: 500;
    inset: auto 0 0;
    border-top: 1px solid #111;
    background: rgb(0 0 0 / 65%);
    text-align: center;
}
.bottom-ad img { width: auto; max-width: 100%; }
