@charset "UTF-8";
/*
Theme Name:   the sonic child
Description:  THE SONICカスタマイズ用子テーマ
Template:     thesonic
Version:      4.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

* {
    margin: 0;
    padding: 0;
}
body {
    background: #fff !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: unset !important;
    color: #181a1a !important;
    font-weight: 400;
}
img {
    vertical-align: bottom;
}
ul,
li {
    list-style: none;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
p {
    margin-bottom: 2em;
}
th {
    color: #181a1a !important;
}

.l-footer {
    font-family:
        Zen Kaku Gothic New,
        Hiragino Kaku Gothic ProN,
        ヒラギノ角ゴ ProN W3,
        meiryo,
        メイリオ,
        sans-serif;
    -webkit-font-smoothing: unset;
}

:root {
    --maincolor: #009b7e;
    --subcolor: #efe9e3;
    --bgcolor: #e8f3fc;
    --bgcolor-dark: #c4c4c4;
    --heading-font: "Lora", serif;
}

.sp {
    display: none;
}
@media screen and (max-width: 767px) {
    .sp {
        display: block;
    }
}

#mkj .mkj-list {
    padding-left: 20px !important;
}

@media screen and (max-width: 767px) {
    #mkj .mkj-list {
        padding-left: 10px !important;
    }
}

#mkj .mkj-list li {
    position: relative;
    padding-left: 12px !important;
}
#mkj .mkj-list > li:before {
    content: counter(num) " | " !important;
    color: #181a1a !important;
    top: 0 !important;
    left: -10px !important;
}
#mkj .mkj-list li ol {
    counter-reset: num;
}
#mkj .mkj-list li ol li {
    counter-increment: num;
    padding-left: 35px !important;
    margin: 1em 0;
}
#mkj .mkj-list li ol li::before {
    content: counters(num, "-") " | ";
    color: #666;
    margin-right: 5px;
    top: 2px !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border: 0 !important;
}
#mkj .mkj-list a {
    color: #181a1a !important;
    font-size: 16px !important;
}

@media screen and (max-width: 767px) {
    #mkj .mkj-list a {
        font-size: 15px !important;
    }
}

#mkj .mkj-list ol li a {
    font-weight: 400;
    font-size: 15px !important;
}

@media screen and (max-width: 767px) {
    #mkj .mkj-list ol li a {
        font-size: 14px !important;
    }
}

.has-tsnc-accent-color-background-color {
    color: #fff !important;
}
.l-footer,
.l-footer a {
    color: #fff !important;
}

#page-overview #header {
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--maincolor);
}
#main footer {
    background: none;
}

#content {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
}
#main {
    width: 100%;
}
#main h1 {
    font-weight: 700;
    color: #181a1a;
    font-size: 24px;
}
#sidebar {
    width: 100%;
    background: var(--subcolor);
}
#sidebar h2 {
    font-weight: 700;
}
#footer {
    background: #f5f5f5 !important;
    color: #666;
}
#footer a {
    color: #666;
}

.pickup {
    background: var(--bgcolor);
}
.new-topics {
    background: #fafafa;
}

/* ピックアップスライダー */
.pickup-slider {
    width: 100%;
    background: #f8f9fa;
    padding: 40px 0;
    margin-bottom: 0;
}

.pickup-slider-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pickup-slider-container {
    position: relative;
}

.pickup-slide {
    outline: none;
}

.pickup-slide-link {
    display: block;
    text-decoration: none;
    color: inherit;
    min-height: 300px;
}

.pickup-slide-link:hover {
    text-decoration: none;
    color: inherit;
}

.pickup-slide-content {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-height: 290px;
}

@media screen and (max-width: 767px) {
    .pickup-slide-content {
        display: block;
    }
}

.pickup-slide-image {
    flex: 0 0 60%;
    overflow: hidden;
    position: relative;
}

.pickup-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pickup-slide-text {
    flex: 0 0 40%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--maincolor);
    box-sizing: border-box;
}

.pickup-slide-category {
    display: inline-block;
    background: yellow;
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    width: fit-content;
}

.pickup-slide-title {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* Slickスライダーのカスタマイズ */
.pickup-slider-container .slick-dots {
    bottom: -40px;
    text-align: center;
}

.pickup-slider-container .slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.pickup-slider-container .slick-dots li button {
    content: "" !important;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    font-size: 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.pickup-slider-container .slick-dots li.slick-active button {
    background: var(--maincolor);
}

.slick-dots li button:before {
    content: "" !important;
}

.pickup-slider-container .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--maincolor);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pickup-slider-container .slick-prev {
    left: -20px;
}

.pickup-slider-container .slick-next {
    right: -20px;
}

.pickup-slider-container .slick-prev:before {
    content: "‹";
    font-size: 24px;
    font-weight: bold;
}

.pickup-slider-container .slick-next:before {
    content: "›";
    font-size: 24px;
    font-weight: bold;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .pickup-slider {
        padding: 20px 16px;
    }

    .pickup-slider-inner {
        padding: 0;
    }

    .pickup-slide-content {
        min-height: auto;
    }

    .pickup-slide-image {
        flex: 0 0 50%;
    }

    .pickup-slide-text {
        flex: 0 0 50%;
        padding: 15px;
    }

    .pickup-slide-title {
        font-size: 16px;
        -webkit-line-clamp: 2;
    }

    .pickup-slider-container .slick-arrow {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .pickup-slider-container .slick-prev {
        left: -15px;
    }

    .pickup-slider-container .slick-next {
        right: -15px;
    }
}

#header {
    width: 100%;
    background: #fafafa;
}
#header .header-logo {
    margin: 0 20% 0 0;
    padding: 10px 0;
    width: 217px;
}
#header .header-logo .logo {
    position: relative;
    display: block;
    padding-left: 17px;
}
@media screen and (max-width: 767px) {
    #header .header-logo .logo {
        width: 275px;
        padding-left: 0;
        line-height: normal;
        margin: 0 auto;
    }
}
#header .header-logo .logo img {
    width: 200px;
    height: auto;
}
#header .navigation ul {
    display: flex;
    gap: 20px;
    position: relative;
    right: 70px;
}
#header .navigation ul li a {
    color: #181a1a !important;
}
@media screen and (max-width: 767px) {
    #header .navigation {
        display: none;
    }
}
.category-header-inner {
    padding: 10px;
}
.header-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-evenly;
}
.header-category-list li.cat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #000;
    font-weight: bold;
}
.header-category-list li.cat-item a {
    display: flex;
    align-items: center;
    color: #181a1a !important;
}
.header-category-list li.cat-item.light-bulb-category a::before {
    content: "";
    display: inline-block;
    width: 48px;
    height: 48px;
    margin-right: 5px;
    background: url("icon_denki.png") no-repeat center / contain;
}
.header-category-list li.cat-item.gas-category a::before {
    content: "";
    display: inline-block;
    width: 48px;
    height: 48px;
    margin-right: 5px;
    background: url("icon_gas.png") no-repeat center / contain;
}
.header-category-list li.cat-item.water-category a::before {
    content: "";
    display: inline-block;
    width: 48px;
    height: 48px;
    margin-right: 5px;
    background: url("icon_water.png") no-repeat center / contain;
}
@media screen and (min-width: 768px) {
    .header-category-list {
        gap: 20px;
    }
    .header-category-list li.cat-item {
        font-size: 24px;
    }
    .header-category-list li.cat-item.cat-item-2::before {
        font-size: 48px;
    }
    .header-category-list li.cat-item.cat-item-3::before {
        font-size: 48px;
    }
    .category-header-inner {
        padding: 20px;
    }
}

@media screen and (max-width: 767px) {
    .category-header {
        display: none;
    }
    .slick-slide {
        margin: 0 !important;
    }
}

.header-navigation {
    display: none;
}
.hamburger-menu {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: auto;
    right: 0;
    top: 5%;
}
.menu-open {
    flex: 0 0 auto;
    display: block;
    height: 56px;
    width: 56px;
    font-size: 32px;
    line-height: 56px;
    color: var(--maincolor);
    text-align: center;
    color: #181a1a !important;
}
.menu-open::before {
    content: "\e94b";
    font-family: Material Icons;
    cursor: pointer;
}
.menu-close {
    position: absolute;
    bottom: 16px;
    left: calc(50% - 80px);
    width: 160px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    font-size: 18px;
    color: #aaa !important;
    z-index: 15;
    cursor: pointer;
}
.menu-close::before {
    content: "\e5cd";
    font-family: Material Icons;
    cursor: pointer;
    font-size: 24px;
    vertical-align: top;
}
.menu {
    position: fixed;
    top: 0;
    right: 0;
}
.menu.showing {
    width: 100%;
    height: 100vh;
    z-index: 12;
}
.menu-inner {
    display: none;
    width: 90%;
    height: 80vh;
    background: #fafafa;
    padding: 56px 24px;
    box-sizing: border-box;
    position: absolute;
    top: 10vh;
    right: 5%;
    z-index: 14;
}
.showing .menu-inner {
    display: block;
}
.menu .cat-list li a {
    display: block;
    color: #181a1a !important;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 16px;
}
.menu .cat-list li ul a {
    font-size: 14px;
    font-weight: normal;
    padding-left: 1em;
}
.cat-list h3 {
    color: #181a1a;
    margin: 2em 0 1em;
}
.header-navigation .cat-list li {
    position: relative;
}
.header-navigation .cat-list li ul.sub-menu {
    display: none;
}

.header-navigation .cat-list li:first-child:hover ul.sub-menu {
    display: block;
    position: absolute;
    background: #2a2e88;
    text-align: center;
    font-weight: bold;
    left: 0px;
}
.header-navigation .cat-list li:first-child:hover ul.sub-menu a {
    width: 153px;
    padding: 10px 0;
}

.header-navigation .cat-list li:first-child:hover ul.sub-menu a:hover {
    color: #fff;
}

.header-navigation ul a:hover {
    background: rgba(255, 255, 255, 0.2);
}
.nav-background {
    display: none;
}
.showing .nav-background {
    display: block;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 13;
}
.search-form {
    display: flex;
    position: relative;
    max-width: 400px;
    margin: 0 auto 48px;
}
.search-form .search-input {
    flex: 1 1 auto;
    height: 48px;
    border: none;
    border-bottom: solid 1px #666;
    padding: 8px 16px;
    box-sizing: border-box;
    font-size: 15px;
    width: 100%;
    border-radius: 0px;
    background: transparent;
}
.search-form .search-button {
    flex: 0 0 auto;
    height: 48px;
    width: 48px;
    border: none;
    background: none;
    color: #888;
    text-align: center;
    cursor: pointer;
    position: absolute;
    right: 0;
}
.search-form .search-button::before {
    content: "\e8b6";
    font-family: Material Icons;
    font-size: 30px;
    line-height: 48px;
}
@media screen and (min-width: 768px) {
    #header .header-logo a {
        margin: 0;
    }
    .menu-inner {
        width: 80%;
        right: 10%;
        padding: 56px 48px;
    }
}
@media screen and (min-width: 960px) {
    .menu-open::before {
        content: "\e94b";
    }
    .header-navigation {
        display: block;
        background: var(--maincolor);
    }
    .header-navigation ul {
        display: flex;
        gap: 0 24px;
        justify-content: center;
        flex-wrap: nowrap;
        font-weight: bold;
    }
    .header-navigation ul a {
        font-size: 16px;
        color: #fff;
        line-height: 40px;
        word-break: keep-all;
        white-space: nowrap;
        display: block;
        width: 218px;
        padding: 12px 0;
        text-align: center;
    }
    .header-navigation ul.overflow {
        justify-content: start;
        overflow-x: scroll;
    }
    .header-navigation ul.overflow li:first-child {
        padding-left: 24px;
    }
    .header-navigation ul.overflow li:last-child {
        padding-right: 24px;
    }
}

#top-carousel {
    width: 100%;
    height: calc(100vw * 1.2);
    background: #aaa;
    flex: 0 0 auto;
}
@media screen and (min-width: 768px) {
    #top-carousel {
        height: calc(100vw * 0.5625);
    }
}
@media screen and (min-width: 960px) {
    #top-carousel {
        max-height: 650px;
    }
}

#top-content {
    width: 100%;
}
#top-content section {
    flex: 0 0 auto;
    width: 100%;
    padding-bottom: 32px;
    max-width: 1200px;
    margin: 0 auto;
}
#top-content section header {
    padding: 16px;
}
#top-content section h1 {
    font-size: 30px;
    font-weight: bold;
    position: relative;
    color: #181a1a;
}
#top-content section h1 span {
    display: block;
    font-size: 16px;
    font-weight: normal;
    color: #666;
    font-family: initial;
}
#top-content section h1::after {
    content: "";
    display: block;
    width: 48px;
    height: 48px;
    background: var(--maincolor);
    opacity: 0.2;
    position: absolute;
    top: 4px;
    left: 8px;
    z-index: -1;
}
@media screen and (min-width: 960px) {
    #top-content section header {
        padding: 24px;
    }
}

@media screen and (min-width: 960px) {
    section header {
        padding: 24px;
    }
}

section header {
    padding: 16px;
}

.article-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.article-list .item {
    flex: 0 0 auto;
    width: calc(100% - 32px);
    margin-bottom: 16px;
}
@media screen and (min-width: 768px) {
    .article-list {
        margin-left: 16px;
        justify-content: start;
    }
    .article-list .item {
        flex: 0 0 auto;
        width: calc((100% - 32px) / 2);
        margin-right: 16px;
    }
}
@media screen and (min-width: 960px) {
    .article-list {
        margin-left: 24px;
    }
    .article-list .item {
        width: calc((100% - 48px) / 2);
        margin-right: 24px;
        margin-bottom: 24px;
    }
}
@media screen and (min-width: 1080px) {
    .article-list .item {
        width: calc((100% - 72px) / 3);
    }
}
.article-list .item a {
    display: block;
    height: 100%;
    border-radius: 0px;
    overflow: hidden;
    background: #fff; /* box-shadow:3px 3px 8px rgba(111,111,111,0.1), -1px -1px 8px rgba(111,111,111,0.1); */
    transition: all 0.8s;
}
/* .article-list .item a:hover { box-shadow:3px 3px 8px rgba(111,111,111,0.2), -1px -1px 8px rgba(111,111,111,0.2);} */
.article-list .item a:hover img {
    transform: scale(1.05);
    transition-duration: 1.5s;
}
.article-list .item a article {
    display: flex;
    flex-wrap: wrap;
}
.article-list .item .thumbnail {
    flex: 0 0 auto;
    width: 100%;
    background: #f0f0f0;
    overflow: hidden;
    border-radius: 0 0;
    z-index: 1;
    margin: 0;
}
.article-list .item .thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.5s;
}
.article-list .item .metadata {
    flex: 1 1 auto;
    padding: 16px 16px 32px;
    position: relative;
}
.article-list .item .title {
    font-size: 16px;
    font-weight: bold;
    color: #181a1a;
    line-height: 1.3;
    height: 3.9em;
    overflow: hidden;
}
.article-list .item a:hover .title {
    color: #333;
}
.article-list .item .categories {
    display: none;
}
.article-list .item .time {
    color: #bbb;
    font-size: 13px;
    line-height: 24px;
    position: absolute;
    left: 16px;
    bottom: -20px;
}
.article-list .item.small-image a article {
    flex-wrap: nowrap;
    height: 100%;
}
.article-list .item.small-image .thumbnail {
    width: 45%;
    border-radius: 0 0;
}
.article-list .item.small-image .thumbnail img {
    height: 100%;
}
.article-list .item.small-image .metadata {
    width: 55%;
}
.article-list .item.small-image .title {
    font-size: 14px;
}
@media screen and (min-width: 480px) {
    .article-list .item .title {
        font-size: 18px;
    }
    .article-list .item.small-image .title {
        font-size: 15px;
    }
}
@media screen and (min-width: 768px) {
    .article-list .item .title {
        font-size: 20px;
    }
    .article-list .item.small-image .thumbnail {
        width: 50%;
    }
}

.button {
    padding: 32px 0;
    margin-bottom: 0;
}
.button a {
    display: block;
    text-align: center;
    color: #181a1a !important;
    font-weight: bold;
    font-size: 16px;
    line-height: 48px;
    width: 70%;
    max-width: 320px;
    margin: 0 auto;
    border: solid 2px #ccc;
    border-radius: 0px;
    transition: all 0.5s;
    position: relative;
}
.button a:hover {
    background: #fff;
    opacity: 0.9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.main-list-header {
    width: 100%;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 16px;
    background: var(--subcolor-op2);
}
.main-list-header h1 {
    text-align: center;
    padding: 0 24px;
    font-size: 30px;
}
.main-list-header .description {
    text-align: center;
    padding: 0 24px;
    font-size: 15px;
}

.main-list-footer {
    padding: 16px;
}
.main-list-footer ul {
    margin: 0;
}
.main-list-footer .page-numbers a {
    background: #f0f0f0;
}
.main-list-footer .page-numbers.prev {
    display: none;
}
.main-list-footer .page-numbers.next {
    display: none;
}
@media screen and (min-width: 960px) {
    .main-list-header {
        margin-bottom: 24px;
    }
}
@media screen and (min-width: 1080px) {
    .main-list .article-list {
        max-width: 1200px;
        padding-left: 24px;
        margin: 0 auto;
    }
}

.content > h2:first-child {
    margin-top: 0;
}
.related-posts h3 {
    color: #666;
}
.related-posts a {
    background: var(--bgcolor) !important;
}
.related-posts h4 {
    color: #666 !important;
}

.static-page .article-header {
    padding-top: 56px;
}

#sidebar {
    display: block;
    padding: 0;
    border-top: solid 1px #eee;
    margin-top: 0px;
}
#sidebar .sidebar-content h3 {
    padding: 16px;
    font-size: 20px;
    font-weight: bold;
    color: #777;
}
#sidebar .sidebar-content h3 span {
    display: block;
    font-size: 15px;
    font-weight: normal;
}
@media screen and (min-width: 960px) {
    #sidebar .sidebar-content {
        max-width: 1200px;
        margin: 0 auto;
    }
    #sidebar .sidebar-content h3 {
        padding: 24px;
        font-size: 24px;
    }
}

#footer {
    padding: 24px 0 0;
}
#footer .footer-content {
    padding: 0;
}
#footer .footer-copyright {
    color: #666;
    text-align: center;
    padding: 0 16px;
}
#footer .navigation-list {
    font-size: 14px;
}
#footer .navigation-list a {
    color: #fff;
}
#footer .footer-links {
    padding: 0 0 32px;
    max-width: 1152px;
    margin: 0 auto;
}
#footer .footer-links h2 {
    color: #666;
}
#footer .footer-links a {
    font-size: 13px;
}
#footer .footer-logo {
    text-align: center;
    margin-bottom: 24px;
}
#footer .footer-logo .logo {
    position: relative;
    display: block;
    width: 426px;
    margin: 0 auto;
}
#footer .footer-logo img {
    width: 100%;
    height: auto;
}
#footer .footer-logo .logo .official {
    position: absolute;
    top: 0;
    left: 0;
    width: 333px;
    height: 60px;
}
#footer .footer-logo .logo .media {
    position: absolute;
    width: 83px;
    height: 60px;
    top: 0;
    left: 334px;
}

/* フッターカテゴリメニュー */
#footer .footer-menu {
    margin: 0 24px !important;
}

.footer-navigation {
    display: flex;
    gap: 0 24px;
    flex-wrap: wrap;
    justify-content: center;
    background: #f5f5f5;
}
.footer-menu {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.footer-category h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.footer-category-list {
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
}

.category-group {
    padding: 15px 0;
}

.parent-category {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
}

.parent-category a {
    color: var(--maincolor);
    text-decoration: none;
    transition: color 0.3s ease;
}

.parent-category a:hover {
    color: #1a1d5c;
    text-decoration: none;
}

.parent-category.gas-category a::before {
    content: "";
    display: inline-block;
    width: 48px;
    height: 48px;
    vertical-align: middle;
    margin-right: 5px;
    background: url("icon_gas.png") no-repeat center / contain;
}

.parent-category.light-bulb-category a::before {
    content: "";
    display: inline-block;
    width: 48px;
    height: 48px;
    vertical-align: middle;
    margin-right: 5px;
    background: url("icon_denki.png") no-repeat center / contain;
}
.parent-category.water-category a::before {
    content: "";
    display: inline-block;
    width: 48px;
    height: 48px;
    vertical-align: middle;
    margin-right: 5px;
    background: url("icon_water.png") no-repeat center / contain;
}

.child-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.child-categories li {
    margin-bottom: 5px;
}

.child-categories li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
    display: block;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.child-categories li a:before {
    content: "▶";
    position: absolute;
    left: 0;
    color: var(--maincolor);
    font-size: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.child-categories li a:hover {
    color: var(--maincolor);
    text-decoration: none;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .footer-category {
        padding: 15px;
    }

    .footer-category h3 {
        font-size: 18px;
    }

    .footer-category-list {
        flex-wrap: wrap;
    }

    .category-group {
        padding: 10px 0;
    }

    .parent-category {
        font-size: 15px;
        justify-content: center;
    }

    .child-categories li a {
        font-size: 13px;
    }

    /* フッターの親カテゴリアイコンを少し小さく */
    .parent-category.gas-category::before,
    .parent-category.light-bulb-category::before,
       .parent-category.water-category::before {
        width: 32px;
        height: 32px;
        margin-right: 6px;
    }

    /* フッターナビを縦並びに */
    .footer-navigation {
        flex-direction: column;
        align-items: center;
        gap: 12px 0;
    }
}
@media screen and (min-width: 960px) {
    #footer {
        padding: 48px 0 0;
    }
    #footer .footer-content {
        padding: 0;
    }
    #footer .navigation-list {
        display: flex;
        gap: 8px 24px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media screen and (max-width: 767px) {
    #header .header-logo a {
        padding-left: 0;
        width: 275px;
    }
    #header .header-logo .logo img {
        display: block;
        width: 215px;
        margin: 0 auto;
    }
    #footer .footer-logo .logo {
        width: 275px;
    }
    #footer .footer-logo .logo .official {
        top: 0;
        left: 0;
        width: 214px;
        height: 39px;
    }
    #footer .footer-logo .logo .media {
        width: 56px;
        height: 39px;
        top: 0;
        left: 215px;
    }
}
#footer #scrolltop {
    color: #fff;
}

.sitemap {
    padding: 16px;
}
.sitemap h2 {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 24px;
}
.sitemap-category {
    margin-bottom: 16px;
}
.sitemap-category h3 {
    font-size: 16px;
    margin-bottom: 8px;
}
.sitemap-category h3 a {
    color: #333;
}
.sitemap-category li a {
    font-size: 13px;
    color: #666;
    display: inline-block;
    line-height: 1.5;
}
.sitemap-category li a::before {
    content: "・";
}
@media screen and (min-width: 960px) {
    .sitemap {
        padding: 24px;
    }
}

article.entry,
article.single {
    margin: 0;
}

.single li {
    display: list-item !important;
}

.single li a::before {
    content: "" !important;
}
.wp-block-button a {
    color: #fff !important;
}
.wp-block-buttons {
    margin: 20px 0;
}

#footer p {
    margin-bottom: 0;
}
#footer .foot-support {
    background: #f5f5f5;
}
#footer .foot-support .inner {
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px 0;
}
#footer .foot-support .inner dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
#footer .foot-support .inner dt {
    color: #2a2e88;
    font-size: 16px;
    font-weight: bold;
    width: 75%;
}
#footer .foot-support .inner dt span {
    font-size: 11px;
    font-weight: normal;
    color: #777;
}
#footer .foot-support .inner dd {
    font-size: 11px;
    width: 25%;
}
#footer .foot-support .inner dd a {
    color: #0066cc;
}
#footer .foot-security {
    background: #fff;
}
#footer .foot-security .inner {
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px 0;
}
#footer .foot-security .inner .security {
    display: flex;
}
#footer .foot-security .inner .sbs-icon {
    width: 114px;
    margin-right: 20px;
}
#footer .foot-security .inner .secutiry-text {
    color: #3e3a39;
    font-size: 11px;
    padding-top: 8px;
}
#footer .foot-security .inner .spsite-banner {
    width: 271px;
}
#footer .foot-copyright {
    width: 100%;
    background: #2a2e88;
}
#footer .foot-copyright .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 16px;
}
#footer .foot-copyright .inner .link-list {
    display: flex;
    overflow: hidden;
}
#footer .foot-copyright .inner .link-list li {
    margin-right: 20px;
}
#footer .foot-copyright .inner .link-list li a {
    color: #fff;
    font-size: 12px;
}
#footer .foot-copyright .inner .copyright {
    color: #fff;
    font-size: 11px;
}

.br-sp {
    display: none;
}

@media screen and (max-width: 960px) {
    .br-sp {
        display: block;
    }
    #footer .foot-support .inner {
        padding: 15px 16px;
    }
    #footer .foot-support .inner dt,
    #footer .foot-support .inner dd {
        float: initial;
    }
    #footer .foot-security .inner {
        padding: 15px 16px;
    }
}

@media screen and (max-width: 767px) {
    #footer .foot-support .inner dl {
        display: block;
    }
    #footer .foot-support .inner dd,
    #footer .foot-support .inner dt {
        width: auto;
        line-height: 1.6;
    }
    #footer .foot-security .inner {
        display: block;
    }
    #footer .foot-security .inner .security {
        justify-content: center;
    }
    #footer .foot-security .inner .spsite-banner {
        margin: 20px auto 0;
    }
    #footer .foot-copyright .inner {
        display: block;
    }
    #footer .foot-copyright .inner .link-list {
        justify-content: center;
    }
    #footer .foot-copyright .inner .copyright {
        text-align: center;
    }
}

.promotion-note {
    max-width: 800px;
    margin: 10px auto;
    font-size: 12px;
    color: #888;
    padding: 0 16px;
}

/* wifi-ranking */
.yellow {
    color: yellow;
}
.red {
    color: red;
}
.bold {
    font-weight: bold;
}
.wifi-ranking {
    max-width: 800px;
    margin: 0 auto;
}
.wifi-ranking__header {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.wifi-ranking__body {
    padding: 10px 0px;
}
.ranking-tabs__tab--active {
    background-color: #027fc7;
    color: #fff;
    z-index: 3;
}
.ranking-tabs__content--active {
    display: block;
}

.ranking-content {
    border: 2px solid #c8e5ec;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
}
.ranking-content__header {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    padding: 16px 30px;
    background: #027fc7;
}

.ranking-content__header .rank {
    position: relative;
    font-weight: bold;
    width: 63px;
    height: 58px;
}
.ranking-content__header .rank::before {
    content: "\f521";
    font-family: "Font Awesome 6 Free";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 3.5em;
    font-weight: bold;
    color: brown;
}
.ranking-content__header .rank.rank-1::before {
    color: gold;
}
.ranking-content__header .rank.rank-2::before {
    color: silver;
}
.ranking-content__header .rank.rank-3::before {
    color: peru;
}

.ranking-content__header .rank p {
    position: relative;
    margin: 24px 0 0;
    display: flex;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}
.ranking-content__header .head-2 {
    flex-grow: 1;
    font-size: 24px;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10px;
    font-weight: bold;
    color: #fff;
}
.ranking-content__header .score {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 4px;
    line-height: 1.4;
    padding: 5px;
    box-sizing: border-box;
}
.ranking-content__header .score .score-star {
    color: gold;
    letter-spacing: 6px;
}
.ranking-content__body .copy {
    background: beige;
    font-size: 18px;
    color: #ff5465;
    font-weight: bold;
    padding: 5px 5px 5px 15px;
    margin: 5px 10px;
}
.ranking-content__body .ranking-point {
    padding: 15px 5px;
}
.ranking-content__body .ranking-point .list ul {
    list-style: disc;
    margin: 0;
    padding: 0;
}
.ranking-content__body .ranking-point ul {
    padding-left: 15px;
    padding-right: 10px;
    font-size: 15px;
}
.ranking-content__body .ranking-point li {
    position: relative;
    list-style-type: none;
    padding: 0.3em 0.3em 0.3em 1.2em;
    border-bottom: 2px dotted #fff;
}
.ranking-content__body .ranking-point li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2589d0;
}
.ranking-content__body .ranking-point .list li::marker {
    color: #2589d0;
    font-size: 1.1em;
}

.ranking-content__details {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px 10px 10px;
}

.ranking-content__details > div {
    width: 50%;
}

@media screen and (max-width: 767px) {
    .ranking-content__details {
        display: block;
    }
    .ranking-content__details > div {
        width: 100%;
        margin-bottom: 5px;
    }
}

.ranking-content__details .item-image img {
    width: 100%;
    height: auto;
}

.ranking-content__details .item-table table {
    width: 100%;
    table-layout: fixed;
    border: 1px solid #c5c5c5;
    border-collapse: collapse;
    font-size: 14px;
}

.ranking-content__details .item-table table tr:not(:last-child) {
    border-bottom: 1px solid #c5c5c5;
}

.ranking-content__details .item-table table th:not(:last-child),
.ranking-content__details .item-table table td:not(:last-child) {
    border: 1px solid #c5c5c5;
}

.ranking-content__details .item-table table th {
    background: #d4f3ff;
    padding: 2px 6px;
    vertical-align: middle;
    height: 44px;
}

.ranking-content__details .item-table table td {
    padding: 2px 6px;
    vertical-align: middle;
    height: 44px;
    border: 1px solid #c5c5c5;
}

.ranking-bottom {
    background-color: #d4f3ff;
}

.ranking-campaign {
    position: relative;
    margin-top: 1em;
    padding: 5px 10px;
}
.ranking-campaign h6 {
    position: absolute;
    height: 30px;
    background: #ff5465;
    color: #fff;
    font-size: 1rem;
    padding: 4px 1rem 4px 1rem;
    top: -15px;
    display: flex;
    align-items: center;
}
.ranking-campaign ul {
    font-size: 15px;
    margin-bottom: 0;
    padding: 1.5rem 1rem 1rem 0.5rem;
    background: beige;
}
.ranking-campaign ul li {
    padding: 0em 0.3em 0em 1em;
    position: relative;
    list-style-type: none;
}
.ranking-campaign li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #333;
}
.ranking-campaign p {
    font-size: 1rem;
    margin-bottom: 0;
    padding: 1.5rem 1rem 1rem 0.5rem;
    background: #fff7ca;
}
.ranking-content__footer {
    display: flex;
    gap: 10px;
    background-color: #d4f3ff;
    padding: 16px;
    justify-content: center;
}
.ranking-content__footer .detail-button {
    width: 45%;
    text-align: center;
}
.ranking-content__footer .official-button {
    width: 70%;
    text-align: center;
}
.ranking-content__footer .detail-button a {
    display: block;
    padding: 10px 20px;
    box-sizing: border-box;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
    border-bottom: 5px solid #f4f4f4;
    border-radius: 8px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
}
.ranking-content__footer .detail-button a:hover {
    border-bottom: 2px solid #f4f4f4;
    margin-top: 3px;
    transition: all 0.3s;
}
.ranking-content__footer .official-button a {
    display: block;
    padding: 10px 20px;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 3px 5px rgba(207, 112, 154, 0.3);
    border-bottom: 5px solid #cf709a;
    background: #fd69ab;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
}
.ranking-content__footer .official-button a {
    position: relative;
    overflow: hidden;
}
.ranking-content__footer .official-button a:hover {
    border-bottom: 2px solid #cf709a;
    margin-top: 3px;
    transition: all 0.3s;
}
.ranking-content__footer .official-button a::before {
    position: absolute;
    content: "";
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #fff;
    transition: 300ms;
    animation: shinyshiny 2.5s ease-in-out infinite;
}
.ranking-content__footer .official-button a::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 25px;
    width: 0;
    height: 0;
    margin: auto;
    border-top: 6px solid transparent;
    border-right: 0 solid transparent;
    border-left: 9px solid #fff;
    border-bottom: 6px solid transparent;
    box-sizing: border-box;
}

@media screen and (max-width: 767px) {
    .ranking-content__footer .detail-button a,
    .ranking-content__footer .official-button a {
        font-size: 16px;
    }
    .ranking-content__footer .official-button a::after {
        right: 15px;
    }
}

@-webkit-keyframes shinyshiny {
    0% {
        -webkit-transform: scale(0) rotate(45deg);
        opacity: 0;
    }
    80% {
        -webkit-transform: scale(0) rotate(45deg);
        opacity: 0.5;
    }
    81% {
        -webkit-transform: scale(4) rotate(45deg);
        opacity: 1;
    }
    100% {
        -webkit-transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}

/* wifi-toc */
.wifi-toc .toc-header {
    margin-bottom: 1.5em;
    padding: 0;
}
.wifi-toc .toc-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.wifi-toc .toc-inner .toc-box {
    width: calc((100% - 10px) / 3);
    border-top: 30px solid #212121;
    border-left: 5px solid #212121;
    border-right: 5px solid #212121;
    border-bottom: 10px solid #212121;
    border-radius: 5px;
    position: relative;
}
.wifi-toc .toc-inner .toc-box.rank-1 {
    border-color: #fee146;
}
.wifi-toc .toc-inner .toc-box.rank-2 {
    border-color: #adadae;
}
.wifi-toc .toc-inner .toc-box.rank-3 {
    border-color: #bb724f;
}
.wifi-toc .toc-inner .toc-head {
    width: 30px;
    position: absolute;
    top: -6.5%;
    left: 50%;
    transform: translateX(-50%);
}
.wifi-toc .toc-inner .toc-item a {
    display: block;
    text-decoration: underline;
}
.wifi-toc .toc-inner .toc-item img {
    padding: 5px;
    box-sizing: border-box;
}
.wifi-toc .toc-inner .toc-box p {
    text-align: center;
    margin-bottom: 1em;
    font-size: 14px;
    font-weight: bold;
}
.wifi-toc .toc-inner .toc-box .n-text {
    font-size: 18px;
}
.wifi-toc .toc-inner .toc-item .h-text {
    font-size: 11px;
    background: #f4f4f4;
    padding: 3px 0;
    font-weight: normal;
}
.wifi-toc .toc-inner .toc-box .m-text {
    text-align: start;
    font-size: 13px;
}
.wifi-toc .toc-inner .toc-item .red {
    color: red;
    font-weight: bold;
}
.wifi-toc .toc-inner .toc-item .bold {
    font-weight: bold;
}

.wifi-toc .toc-inner .toc-item .toc-button {
    text-decoration: none;
    width: 70%;
    font-size: 15px;
    box-shadow: 0 5px 0 #c4440f;
    display: inline-block;
    background: #fe4b00;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    transition: 0.3s;
}
.wifi-toc .toc-inner .toc-item .toc-button:hover {
    transform: translateY(5px);
    box-shadow: 0 0 0 #c4440f;
}
@media screen and (max-width: 767px) {
    .wifi-toc {
        overflow: scroll;
    }
    .wifi-toc .toc-header {
        margin-bottom: 0;
    }
    .wifi-toc .toc-area {
        width: 100%;
        overflow-x: scroll;
        padding-top: 30px;
    }
    .wifi-toc .toc-inner {
        width: 700px;
        justify-content: flex-start;
        gap: 3px;
    }
    .wifi-toc .toc-inner .toc-box {
        width: 33%;
    }
    .wifi-toc .toc-inner .toc-box .n-text {
        font-size: 15px;
    }
}
@media screen and (min-width: 767px) {
    .wifi-toc .toc-inner .toc-box .m-text {
        padding: 0 5px;
    }
}

.category-group ul {
    padding-left: 15px;
}
.privacy-policy-btn {
    margin: 0 0 10px;
    display: block;
}
.privacy-text-box {
    padding: 10px;
    height: 200px;
    overflow-y: scroll;
    border: 1px solid #ccc;
}
.privacy-text-box p {
    margin-bottom: 0;
    font-size: 14px;
}
.privacy-text-box .privacy-head {
    margin-bottom: 1em;
}
.privacy-check-box {
    margin: 10px 0;
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
}
.privacy-check-box input {
    flex: 0;
    margin-right: 5px;
    margin-bottom: 0 !important;
}
.contact-button {
    padding: 0 16px 24px;
}
.contact-button a {
    display: block;
    width: 100%;
    max-width: 480px;
    text-align: center;
    margin: 0 auto;
    line-height: 48px;
    background: #009b7e;
    color: #fff !important;
    font-weight: bold;
    border-radius: 24px;
    box-shadow: 0 4px 0 #006000;
}
.content a {
    color: #004cca;
}
main {
    padding: 0 16px;
}
.link-table-image {
    position: relative;
    width: 100%;
}
.link-table-image .image-container img {
    width: 100%;
    height: auto;
    display: block;
}
.link-table-image .links {
    list-style: none;
    position: absolute;
    top: 22%;
    left: 0;
    width: 100%;
    height: 16%;
    display: flex;
    padding: 0 4%;
    box-sizing: border-box;
    gap: 5%;
    z-index: 2;
}
.link-table-image .links li {
    width: calc((100% - 10%) / 3);
    height: 100%;
}
.link-table-image .links a {
    display: block;
    width: 100%;
    height: 100%;
    background-color:transparent;
}

.evergreen-highlight {
    border-left: 4px solid #009b7e;
    padding-left: 16px;
    font-weight: 700;
    font-size: 1.15em;
}
