@charset "UTF-8";
/*
Theme Name:   KDDI光ver2
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;
}
img {
    vertical-align: bottom;
}
ul,
li {
    list-style: none;
}
a {
    color: #333;
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
p {
    margin-bottom: 2em;
}

:root {
    --maincolor: #ec5504;
    --subcolor: #efe9e3;
    --bgcolor: #f7f7f7;
    --bgcolor-dark: #c4c4c4;
}

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

#page-overview #header {
    background-color: #fff;
}
#main footer {
    background: none;
}

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

@media screen and (max-width: 960px) {
    #footer {
        background: #eee !important;
    }
}

.pickup {
    background: var(--bgcolor);
}
.category-top {
    padding: 32px 24px;
}
.category-top .category-inner {
    display: flex;
    justify-content: center;
    gap: 30px;
}
.category-top .category-inner h2 {
    font-weight: bold;
    text-align: center;
}
.category-top .category-inner div {
    width: calc(30% - 10px);
    border: 1px solid;
    border-radius: 20px;
    box-shadow: 10px 5px 15px -5px #bababa;
}
.category-top .category-inner div a {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    color: #212121;
}
.category-top .category-inner div a svg {
    width: 30px;
    margin: 0 auto;
}
.category-top .category-inner div p {
    margin-bottom: 0;
    text-align: center;
}
@media screen and (max-width: 767px) {
    .category-top .category-inner {
        display: block;
    }
    .category-top .category-inner div {
        width: 100%;
        margin-bottom: 20px;
    }
}
.fixed-parts {
    padding: 32px 0;
}
.fixed-parts.hikari {
    background: #fff5f4;
}
.fixed-parts.sim {
    background: #f4f4f4;
}
.new-topics {
    background: var(--bgcolor);
}

#header {
    width: 100%;
    background: #fafafa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#header .header-logo {
    margin: 0 0;
    padding: 20px 0;
}
#header .header-logo a {
    display: flex;
    align-items: center;
    padding: 0 0;
    width: 200px;
    margin: 0 auto;
    padding-left: 17px;
}
#header .header-logo .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 56px;
}
#header .header-logo .logo img {
    width: 200px;
    height: auto;
}
#header .navigation {
    display: flex;
    align-items: center;
}
#header .navigation .category-navigation {
    display: flex;
    gap: 10px;
}
#header .navigation .category-navigation a {
    color: #212121;
}
#header .navigation .menu .category-navigation {
    display: none;
}

@media screen and (max-width: 767px) {
    #header .navigation .navigation-wrapper {
        display: none;
    }
    #header .navigation .menu .category-navigation {
        display: block;
    }
    #header .navigation .menu .category-navigation li a {
        display: block;
        color: #666;
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 16px;
    }
}

.header-navigation {
    display: none;
}
.hamburger-menu {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-open {
    flex: 0 0 auto;
    display: block;
    height: 56px;
    width: 56px;
    font-size: 32px;
    line-height: 56px;
    color: var(--maincolor);
    text-align: center;
}
.menu-open::before {
    content: "\e5d2";
    color: #000;
    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;
    font-family: var(--heading-font);
    color: #aaa;
    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%;
    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: #666;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 16px;
}
.menu .cat-list li ul a {
    font-size: 14px;
    font-weight: normal;
    padding-left: 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: "\e8b6";
    }
    .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-family: var(--heading-font);
    font-size: 30px;
    font-weight: bold;
    position: relative;
    color: #777;
    text-align: center;
}
#top-content section h1 span {
    display: block;
    font-size: 16px;
    font-weight: normal;
    color: #666;
    font-family: initial;
}
@media screen and (min-width: 960px) {
    #top-content section header {
        padding: 24px;
    }
}

.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%;
    margin-bottom: 0;
    background: #f0f0f0;
    overflow: hidden;
    border-radius: 0 0;
    z-index: 1;
}
.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: #666;
    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: #888;
    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;
    font-family: var(--heading-font);
}
.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;
    font-family: var(--heading-font);
}
.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;
    font-family: var(--heading-font);
    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: 25px 0;
}
#footer .footer-content {
    padding: 0;
}
#footer .footer-copyright {
    color: #fff;
    text-align: center;
    padding: 0 16px;
    font-family: var(--heading-font);
}
#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 {
    font-family: var(--heading-font);
    color: #666;
}
#footer .footer-links a {
    font-size: 13px;
}
#footer .footer-logo {
    text-align: center;
    margin-bottom: 24px;
}
#footer .footer-logo a img {
    width: 426px !important;
}
@media screen and (min-width: 960px) {
    #footer {
        padding: 25px 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: 960px) {
    #footer {
        padding: 25px 0 60px;
    }
}

@media screen and (max-width: 767px) {
    #header .header-logo a {
        padding-left: 0;
        width: 200px;
    }
    #header .header-logo .logo img {
        width: 200px;
    }
    #footer .footer-logo a img {
        width: 275px !important;
    }
}
#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;
}

.promotion-note {
    max-width: 800px;
    margin: 10px auto;
}

.wp-block-buttons {
    margin: 20px 0;
}

#footer p {
    margin-bottom: 0;
}

#footer .container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}
#footer .container.sp {
    display: none;
}

@media screen and (max-width: 960px) {
    #footer .container.pc {
        display: none;
    }
    #footer .container.sp {
        display: block;
    }
    #footer .container.sp .text .link li a {
        color: #000;
    }
    #footer .container.sp .text {
        justify-content: center;
        margin-left: 0;
        padding-bottom: 13px;
        border-bottom: 1px solid #fff;
    }
    #footer .container.sp .text .link li:first-child {
        margin-left: 0;
    }
    #footer .container.sp .text .link li:nth-child(2) {
        border-left: 1px solid #000;
        border-right: 1px solid #000;
        padding: 0 10px;
    }
    #footer .text .link li:last-child {
        border-left: 1px solid #000;
        padding-left: 10px;
    }
    #footer .container.sp .logo {
        padding: 13px;
        border-bottom: 1px solid #fff;
        text-align: center;
    }
    #footer .container.sp .copy-right {
        width: 100%;
        background: #000;
        text-align: center;
        padding: 3px 0;
    }
}

#footer .logo img {
    max-width: 100%;
}

#footer .text {
    display: flex;
    font-size: 0;
    margin-left: 20px;
}

#footer .text .company {
    position: relative;
    font-size: 12px;
    color: #fff;
}

#footer .text .company::after {
    content: "|";
    position: absolute;
    top: 0;
    right: -10px;
}

#footer .text .link {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#footer .text .link li:first-child {
    margin-left: 20px;
}

#footer .text .link li {
    margin-left: 10px;
}

#footer .text .link li a {
    font-size: 12px;
    color: #fff;
}

#footer .copy-right {
    font-size: 12px;
    color: #fff;
}

@media (max-width: 767px) {
    .is-style-titlebox-mark6 {
        padding: 20px 0 0 0;
    }
}

/* 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-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: 10px 10px 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;
}
.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-header {
    margin-bottom: 1em;
}
.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-area {
        width: 100%;
        overflow-x: scroll;
        padding-top: 40px;
    }
    .wifi-toc .toc-inner {
        width: 700px;
        justify-content: flex-start;
    }
    .wifi-toc .toc-inner .toc-box {
        width: 33%;
    }
}
@media screen and (min-width: 767px) {
    .wifi-toc .toc-inner .toc-box .m-text {
        padding-left: 5px;
    }
}

/* 関連メディア */
.connection-media {
    max-width: 800px;
    margin: 80px auto 0;
}
.connection-media ul {
    margin-left: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    gap: 30px;
}
.connection-media ul li {
    width: calc(33% - 20px);
}
.connection-media ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
}
.connection-media ul li a img {
    width: 100% !important;
    height: auto;
}
@media screen and (max-width: 767px) {
    .connection-media ul {
        display: block;
        margin-left: 0;
        padding: 16px;
    }
    .connection-media ul li {
        width: 80%;
        margin: 0 auto 20px;
    }
}

.archive .article-list .item .metadata,
.category .article-list .item .metadata {
    padding: 16px 0 32px;
}

.floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}
.floating .wp-block-image {
    margin: 0;
}

.close-floating {
    position: fixed;
    bottom: 280px;
    right: 20px;
    z-index: 100;
}
.close-floating::before {
    content: "\e5cd";
    font-family: Material Icons;
    cursor: pointer;
    font-size: 24px;
    vertical-align: top;
}
@media screen and (max-width: 767px) {
    .floating {
        bottom: 0;
        right: 0;
        width: 100%;
    }
    .floating img {
        width: 100%;
        height: auto;
    }
    .close-floating {
        display: none;
    }
}
.sns-follow a {
    display: block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}
.sns-follow a[href*="instagram.com"] {
    background-image: url(./images/sc_ig.svg);
}
.sns-follow a[href*="x.com"] {
    background-image: url(./images/sc_x.svg);
}
.sns-follow a[href*="facebook.com"] {
    background-image: url(./images/sc_fb.svg);
}
.author .icon {
    display: flex;
    justify-content: center;
}
.author .icon a {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.author {
    position: relative;
    margin-top: 24px;
}
.author h4 {
    position: absolute;
    top: -16px;
    left: 12px;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    padding: 0 8px;
    line-height: 32px;
    background-color: #ffffff;
    color: #666;
}
/* ===== コメント全体のエリア ===== */
#comments {
    margin-top: 24px;
    max-width: 800px; /* .article-bodyに合わせる */
    margin-left: auto; /* 中央揃え */
    margin-right: auto; /* 中央揃え */
    padding-left: 24px; /* .article-bodyに合わせる */
    padding-right: 24px; /* .article-bodyに合わせる */
    box-sizing: border-box; /* .article-bodyに合わせる */
}

/* ===== モバイル対応 ===== */
@media screen and (max-width: 960px) {
    #comments {
        max-width: 100%; /* モバイルでは全幅 */
        padding-left: 16px; /* モバイルでは左右パディングを16pxに */
        padding-right: 16px;
        margin-left: 0; /* 中央揃えを解除 */
        margin-right: 0;
    }

    /* モバイルでは返信ボタンを通常配置に戻す */
    .comment .reply {
        position: static; /* 絶対位置を解除 */
        margin-top: 8px; /* 元のマージンを復元 */
        text-align: right; /* 右寄せ */
    }

    .comment-content {
        padding-right: 0; /* パディングをリセット */
    }

    /* モバイルではコメントメタ情報をさらに小さく */
    .comment-meta {
        font-size: 0.8rem;
    }

    .comment-author .fn {
        font-size: 0.9rem; /* 名前は少し大きめに */
    }
}

/* 件数タイトル */
#comments-count {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5em;
    border-left: 4px solid #ec5504;
    padding-left: 10px;
}

/* ===== コメントリスト ===== */
#comments-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-body {
    position: relative; /* 基準位置を設定 */
}

.comment-author img.avatar {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-right: 12px;
}

.comment-meta {
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: #666;
    display: flex;
    flex-direction: column; /* 垂直方向に配置 */
    align-items: flex-start;
}

.comment-author .fn {
    font-weight: bold;
    color: #333;
    display: block; /* ブロック要素にして改行 */
    margin-bottom: 2px; /* 日付との間隔 */
}

.comment-meta time {
    font-size: 0.8rem; /* 少し小さく */
    color: #888; /* 少し薄い色 */
    margin-top: 2px; /* 名前との間隔 */
    display: block; /* 確実に改行 */
}

.comment-content {
    flex: 1; /* 残りのスペースを占有 */
    padding-bottom: 48px !important; /* 返信ボタンのスペースを確保 */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.comment-content p {
    margin: 0.5em 0;
    line-height: 1.6;
    word-wrap: break-word; /* 長い単語を改行 */
    overflow-wrap: break-word; /* コンテナからはみ出さないように改行 */
    word-break: break-word; /* より強力な改行 */
    hyphens: auto; /* ハイフネーション有効化 */
    max-width: 100%; /* 親要素の幅を超えないように */
    overflow-wrap: anywhere; /* どこでも改行可能 */
}

/* ===== 返信リンク ===== */
.comment .reply {
    position: absolute; /* 絶対位置指定 */
    bottom: 16px; /* 下端に配置 */
    right: 16px; /* 右端に配置 */
    margin-top: 0; /* 上マージンを0に */
    margin-bottom: 0; /* 下マージンを0に */
}

.comment .reply a {
    font-size: 0.85rem;
    color: #ec5504;
    text-decoration: none;
}

.comment .reply a:hover {
    text-decoration: underline;
}

/* ===== コメントフォーム ===== */
#respond {
    margin-top: 24px;
}

#respond h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #ec5504;
    padding-bottom: 5px;
}

.comment-form p {
    margin-bottom: 1em;
}

.comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"] {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

.comment-form textarea:focus,
.comment-form input:focus {
    outline: none;
}

.comment-form .form-submit {
    text-align: right;
}

.comment-form .submit {
    background: #ec5504;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
}

.comment-form .submit:hover {
    background: #005a8c;
}

/* ===== ログイン中の表示行 ===== */
.logged-in-as {
    font-size: 0.9rem;
    color: #555;
    background: #f6f6f6;
    padding: 10px;
    border-radius: 5px;
}
