@charset "UTF-8";
/*
Theme Name: TokyoChips Generic Category Style
Description: TokyoChips Custom CSS
*/

/* ==========================================
 * Variables & Base
 * ========================================== */
:root {
    --font-base: 'Zen Kaku Gothic New', "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
    --font-pop: 'Zen Maru Gothic', "Hiragino Maru Gothic ProN", sans-serif;
}

@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?zvxgl');
  src:  url('fonts/icomoon.eot?zvxgl#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?zvxgl') format('truetype'),
    url('fonts/icomoon.woff?zvxgl') format('woff'),
    url('fonts/icomoon.svg?zvxgl#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

body.tokyochips-custom-layout {
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--font-base) !important;
    color: #333333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html,
body.tokyochips-custom-layout {
    overflow-x: hidden !important;
    width: 100%;
}

/* ==========================================
 * Layout Reset & Container
 * ========================================== */
#primary.tokyochips-cat-content-area,
.tokyochips-cat-content-area main,
.tokyochips-cat-content-area #main,
.tokyochips-cat-content-area .site-main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 auto !important;
    padding: 0 0 40px 0 !important;
    box-sizing: border-box;
    background-color: #FFF2F6 !important;
}

/* ▼ 子カテゴリー（メインビジュアルがないページ）の場合のヘッダー余白確保 ▼ */
body:not(:has(.tokyochips-cat-page-header)) #primary.tokyochips-cat-content-area {
    padding: 120px 0 40px 0 !important;
}
@media screen and (max-width: 767px) {
    body:not(:has(.tokyochips-cat-page-header)) #primary.tokyochips-cat-content-area {
        padding: 80px 0 40px 0 !important;
    }
}
/* ▲ ここまで ▲ */

.tokyochips-cat-content-area .container,
.tokyochips-cat-content-area .wrapper,
.tokyochips-cat-content-area .inner,
.tokyochips-cat-content-area .site-content,
.tokyochips-cat-content-area #content,
.tokyochips-cat-content-area #page {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
}

.tokyochips-cat-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 0;
    background: transparent !important;
}

/* ==========================================
 * Header (MV)
 * ========================================== */
.tokyochips-cat-page-header {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0;
    margin-bottom: 60px;
    height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('./img/gourmet/header-gourmet.jpg?v2026080407') !important;
}

.tokyochips-cat-page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tokyochips-cat-page-header-inner {
    text-align: center;
    color: #fff;
    padding: 30px 50px;
    box-sizing: border-box;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.tokyochips-cat-taxonomy-description {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #333;
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 8px;
}

.single .tokyochips-cat-page-header {
    margin-bottom: 0 !important;
}

@media screen and (max-width: 767px) {
    .tokyochips-cat-page-header {
        height: 400px;
        margin-bottom: 25px;
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
    }
    .tokyochips-cat-page-header-inner {
        padding: 12px 18px 0;
        border-radius: 12px;
    }
    .tokyochips-cat-taxonomy-description {
        font-size: 12px;
    }
}

/* ==========================================
 * Header Logo
 * ========================================== */
.tokyochips-cat-page-logo {
    margin: 0 0 20px 0;
    padding: 0;
}

.tokyochips-cat-page-logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.tokyochips-cat-page-logo a br {
    display: none;
}

.tokyochips-logo-sub {
    font-family: var(--font-pop);
    font-size: 56px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.02em;
    line-height: 1;
    -webkit-text-stroke: 2px #333333;
    text-shadow: 4px 4px 0px #333333;
    margin: 0;
}

.tokyochips-logo-main {
    font-family: var(--font-pop);
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
    line-height: 1;
    background-color: #E85375;
    padding: 8px 20px;
    border-radius: 30px;
    box-shadow: 2px 3px 0px #333333;
    margin: 0;
}

@media screen and (max-width: 767px) {
    .tokyochips-cat-page-logo a {
        gap: 10px;
    }
    .tokyochips-logo-sub {
        font-size: 34px;
        -webkit-text-stroke: 1.5px #333333;
        text-shadow: 3px 3px 0px #333333;
    }
    .tokyochips-logo-main {
        font-size: 12px;
        padding: 6px 16px;
    }
}

/* ==========================================
 * Category Section Title & Badge
 * ========================================== */
.tokyochips-cat-section-title {
    font-family: var(--font-pop);
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 40px 0;
}

.tokyochips-cat-section-title span {
    color: #E85375;
}

.tokyochips-cat-badge-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-family: var(--font-pop);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1;
    background-color: #E85375;
    color: #ffffff;
    border-radius: 30px;
    border: none;
}

@media screen and (max-width: 767px) {
    .tokyochips-cat-section-title {
        font-size: 20px;
        margin: 0 0 25px 0;
    }
    .tokyochips-cat-badge-overlay {
        top: 7px;
        right: 4px;
        padding: 6px 10px;
        font-size: 10px;
    }
}

/* ==========================================
 * Category Grid List & Cards
 * ========================================== */
.tokyochips-cat-grid-list {
    display: block !important;
    column-count: 3;
    column-gap: 50px;
    margin-bottom: 50px;
    background: transparent !important;
}

.tokyochips-cat-grid-item {
    break-inside: avoid;
    page-break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin-bottom: 60px;
    background: transparent !important;
    border-radius: 0px;
    box-shadow: none !important;
}

.tokyochips-cat-card-link {
    display: block;
    text-decoration: none !important;
    color: inherit;
    width: 100%;
}

.tokyochips-cat-post-thumbnail {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.03);
    border-radius: 0px;
}

.tokyochips-cat-square-img {
    width: 100% !important;
    height: auto !important;
    display: block;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.tokyochips-cat-card-link:hover .tokyochips-cat-square-img {
    transform: scale(1.08);
    opacity: 1 !important;
}

.tokyochips-cat-post-info {
    padding: 22px 0 0 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: transparent !important;
}

.tokyochips-cat-post-date {
    font-size: 15px;
    color: #555;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.tokyochips-cat-post-date::before {
    content: "●";
    font-size: 12px;
    color: #E85375;
    margin-right: 8px;
    display: inline-block;
}

.tokyochips-cat-post-title {
    font-family: var(--font-pop);
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    font-weight: 700;
    color: #333;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    min-height: 5.4em;
    transition: color 0.2s;
}

.tokyochips-cat-card-link:hover .tokyochips-cat-post-title {
    color: #E85375;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .tokyochips-cat-grid-list {
        column-count: 2;
        column-gap: 30px;
    }
}

@media screen and (max-width: 767px) {
    .tokyochips-cat-grid-list {
        column-count: 2 !important;
        column-gap: 18px;
        margin-bottom: 30px;
    }
    .tokyochips-cat-grid-item {
        margin-bottom: 35px !important;
    }
    .tokyochips-cat-post-info {
        padding: 12px 0 0 0;
    }
    .tokyochips-cat-post-date {
        font-size: 14px;
        margin-bottom: 6px;
    }
    .tokyochips-cat-post-date::before {
        font-size: 10px;
        margin-right: 5px;
    }
    .tokyochips-cat-post-title {
        font-size: 14px;
        min-height: 3.2em;
    }
    .tokyochips-cat-card-link {
        -webkit-tap-highlight-color: transparent;
    }
    .tokyochips-cat-card-link:hover .tokyochips-cat-post-title,
    .tokyochips-cat-card-link:active .tokyochips-cat-post-title,
    .tokyochips-cat-card-link:focus .tokyochips-cat-post-title {
        transition: none;
    }
}

/* ==========================================
 * Pagination
 * ========================================== */
.tokyochips-cat-pagination {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    background: transparent !important;
    clear: both;
}

.tokyochips-cat-pagination .nav-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.4);
    padding: 8px 16px;
    border-radius: 30px;
}

.tokyochips-cat-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: bold;
    color: #555 !important;
    background-color: #fff;
    border-radius: 50%;
    border: none !important;
    box-sizing: border-box;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.tokyochips-cat-pagination .page-numbers.current {
    background-color: #E85375 !important;
    color: #fff !important;
    transform: none !important;
}

.tokyochips-cat-pagination .page-numbers:not(.current):hover {
    background-color: #fff !important;
    color: #E85375 !important;
    transform: none !important;
}

.tokyochips-cat-pagination .page-numbers.prev,
.tokyochips-cat-pagination .page-numbers.next {
    width: auto;
    padding: 0 15px;
    border-radius: 20px;
    font-size: 13px;
}

@media screen and (max-width: 767px) {
    .tokyochips-cat-pagination {
        margin-top: 40px;
    }
    .tokyochips-cat-pagination .page-numbers {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 13px;
    }
    .tokyochips-cat-pagination .page-numbers.prev,
    .tokyochips-cat-pagination .page-numbers.next {
        padding: 0 10px;
    }
    .tokyochips-cat-pagination .nav-links {
        gap: 6px;
        padding: 6px 12px;
    }
}

/* ==========================================
 * Global Navigation Header & Mobile Menu
 * ========================================== */
.tokyochips-global-header {
    background-color: transparent !important;
    border-bottom: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    padding-top: 15px;
    transition: background-color 0.2s ease, padding 0.2s ease;
}

.tokyochips-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.tokyochips-header-logo {
    display: none;
    margin-right: auto;
}

/* ▼ シングルページ、または子カテゴリー（MVなし）の場合にロゴを表示 ▼ */
.single .tokyochips-header-logo,
body:has(.tokyochips-cat-content-area):not(:has(.tokyochips-cat-page-header)) .tokyochips-header-logo {
    display: block;
}

.tokyochips-header-logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 4px;
}

.tokyochips-header-logo-sub {
    font-family: var(--font-pop);
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0.02em;
    -webkit-text-stroke: 1.5px #333333;
    text-shadow: 2px 2px 0px #333333;
}

.tokyochips-header-logo-main {
    font-family: var(--font-pop);
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0.1em;
    background-color: #E85375;
    padding: 5px 16px;
    border-radius: 20px;
    box-shadow: 1px 2px 0px #333333;
    margin: 6px 0 0 0;
}

.tokyochips-pc-nav ul {
    list-style: none;
    margin: 0;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.tokyochips-pc-nav a {
    text-decoration: none;
    color: #333333;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.tokyochips-pc-nav a:hover {
    color: #E85375;
}

.tokyochips-pc-nav .tokyochips-nav-highlight > a {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #0a3a60;
    border-radius: 20px;
    color: #0a3a60;
    transition: all 0.3s ease;
}

.tokyochips-pc-nav .tokyochips-nav-highlight > a:hover {
    background-color: #0a3a60;
    color: #ffffff;
}

.tokyochips-pc-nav li.has-submenu {
    position: relative;
    transition: border-radius 0.3s ease;
}

.tokyochips-pc-nav li.has-submenu:hover > a {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-color: #0a3a60;
    color: #ffffff;
}

.tokyochips-pc-nav .tokyochips-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 160px;
    background-color: #0a3a60;
    border-radius: 0 12px 12px 12px;
    padding: 5px 0 10px 0;
    margin: 0;
    display: block;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: -1;
}

.tokyochips-pc-nav li.has-submenu:hover .tokyochips-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tokyochips-pc-nav .tokyochips-submenu li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

.tokyochips-pc-nav .tokyochips-submenu li:last-child {
    border-bottom: none;
}

.tokyochips-pc-nav .tokyochips-submenu a {
    display: block;
    padding: 10px 20px;
    text-align: center;
    color: #ffffff;
    font-size: 13px;
    border: none;
    border-radius: 0;
    background: transparent;
    transition: background-color 0.2s, padding-left 0.2s;
}

.tokyochips-pc-nav .tokyochips-submenu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding-left: 25px;
}

.tokyochips-hamburger {
    display: none;
}

.tokyochips-sp-nav {
    display: none;
}

.tokyochips-sp-nav .tokyochips-sp-nav-highlight {
    border-bottom: none !important;
    padding: 0;
}

.tokyochips-sp-nav .tokyochips-sp-nav-highlight > a {
    display: block;
    background-color: transparent !important;
    color: #0a3a60 !important;
    font-weight: 700;
    text-align: center;
    padding: 16px 0 !important;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px dashed rgba(10, 58, 96, 0.3) !important;
}

.tokyochips-sp-submenu {
    display: flex !important;
    flex-wrap: wrap;
    list-style: none;
    padding: 0 !important;
    margin: 0;
}

.tokyochips-sp-submenu li {
    width: 50%;
    box-sizing: border-box;
    border-bottom: 1px dashed rgba(10, 58, 96, 0.3) !important;
}

.tokyochips-sp-submenu li:nth-child(odd) {
    border-right: 1px dashed rgba(10, 58, 96, 0.3) !important;
}

.tokyochips-sp-submenu a {
    display: block !important;
    background-color: transparent;
    border: none;
    border-radius: 0;
    color: #0a3a60 !important;
    font-size: 14px !important;
    padding: 16px 5px !important;
    font-weight: 500;
    box-shadow: none;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .tokyochips-pc-nav {
        display: none;
    }
    .tokyochips-hamburger {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 58px;
        height: 58px;
        border-radius: 0;
        background-color: #E85375 !important;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        cursor: pointer;
        padding: 0;
        z-index: 10000;
        border: none;
    }
    .tokyochips-hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        position: absolute;
        transition: all 0.3s ease;
        background-color: #ffffff !important;
        left: 19px; 
    }
    .tokyochips-hamburger span:nth-child(1) { top: 19px; }
    .tokyochips-hamburger span:nth-child(2) { top: 26px; }
    .tokyochips-hamburger span:nth-child(3) { top: 33px; }

    .tokyochips-hamburger.is-active span:nth-child(1) {
        top: 26px;
        transform: rotate(45deg);
    }
    .tokyochips-hamburger.is-active span:nth-child(2) {
        opacity: 0;
    }
    .tokyochips-hamburger.is-active span:nth-child(3) {
        top: 26px;
        transform: rotate(-45deg);
    }

    .tokyochips-global-header {
        padding-top: 8px;
    }

    .tokyochips-sp-nav {
        display: none;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background-color: #FFF2F6 !important;
        z-index: 9998;
        padding-top: 100px;
        box-sizing: border-box;
        overflow-y: auto;
    }

    .tokyochips-sp-nav.is-active {
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        padding-bottom: 120px;
    }

    .tokyochips-sp-nav ul {
        list-style: none;
        margin: 0;
        padding: 0 30px;
        text-align: center;
    }

    .tokyochips-sp-nav li {
        border-bottom: 1px dashed rgba(232, 83, 117, 0.3);
    }

    .tokyochips-sp-nav li:last-child {
        border-bottom: none;
    }

    .tokyochips-sp-nav a {
        display: block;
        padding: 16px 0;
        color: #333333;
        text-decoration: none;
        font-family: var(--font-pop);
        font-size: 17px;
        font-weight: 700;
    }

    .tokyochips-header-logo a {
        gap: 0 !important;
    }

    .tokyochips-header-logo-sub {
        font-size: 22px !important;
        -webkit-text-stroke: 1px #333333;
        text-shadow: 1.5px 1.5px 0px #333333;
        line-height: 1 !important;
    }

    .tokyochips-header-logo-main {
        font-size: 10px !important;
        padding: 3px 10px 3px !important; 
        margin-bottom: 0 !important;
        line-height: 1 !important;
        box-shadow: 1px 1px 0px #333333;
    }
}

/* ==========================================
 * Single Article Page
 * ========================================== */
.tokyochips-single-wrapper {
    background-color: #FFF2F6;
    padding: 120px 20px 60px;
    box-sizing: border-box;
    width: 100%; /* ← 横揺れ防止のため修正しました */
    overflow-x: hidden;
}

.tokyochips-single-container {
    max-width: 1100px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.tokyochips-single-main {
    flex: 1;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.tokyochips-single-sidebar {
    width: 300px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.tokyochips-article-header {
    margin-bottom: 30px;
}

.tokyochips-article-badge {
    display: inline-block;
    text-decoration: none !important;
    background-color: #E85375;
    color: #fff;
    font-family: var(--font-pop);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.tokyochips-article-title {
    font-family: var(--font-pop);
    font-size: 32px;
    font-weight: 900;
    line-height: 1.5;
    color: #333333;
    margin: 0 0 15px 0;
}

.tokyochips-article-meta {
    color: #888;
    font-size: 14px;
}

.tokyochips-article-date::before {
    content: "●";
    color: #E85375;
    font-size: 12px;
    margin-right: 6px;
    margin-left: 6px;
}

.tokyochips-article-content {
    font-size: 17px;
    line-height: 1.8;
    color: #000;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.tokyochips-article-content p {
    margin-bottom: 25px;
}

.tokyochips-article-content a {
    color: #E85375;
    text-decoration: underline;
    font-weight: bold;
    word-break: break-all !important;
}

.tokyochips-article-content h2 {
    font-family: var(--font-pop);
    font-size: 24px;
    color: #333;
    margin: 50px 0 25px 0;
    padding: 12px 15px;
    background-color: #FFF2F6;
    border-left: 6px solid #E85375;
    border-radius: 4px;
}

.tokyochips-article-content h3 {
    font-family: var(--font-pop);
    font-size: 20px;
    color: #333;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px dashed #E85375;
}

.tokyochips-article-content img,
.tokyochips-article-content iframe,
.tokyochips-article-content table {
    max-width: 100% !important;
    height: auto;
    box-sizing: border-box;
}

.tokyochips-article-content .wp-caption {
    max-width: 100% !important;
    width: auto !important;
    height: auto;
    margin: 0 auto 30px;
    box-sizing: border-box;
}

.tokyochips-article-content .wp-caption img {
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0;
}

.tokyochips-article-content .wp-caption-text {
    font-size: 13px !important;
    color: #666666 !important;
    text-align: center;
    padding: 10px 0 0 0;
    margin: 0 !important;
    line-height: 1.6;
}

.tokyochips-article-content iframe,
.tokyochips-article-content object,
.tokyochips-article-content embed {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    display: block;
    margin: 0 auto 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

@media screen and (max-width: 767px) {
    .tokyochips-single-wrapper {
        padding: 60px 0 40px;
    }
    .tokyochips-single-container {
        flex-direction: column;
        gap: 40px;
    }
    .tokyochips-single-main {
        padding: 25px 15px;
        border-radius: 0;
    }
    .tokyochips-single-sidebar {
        width: 100%;
        padding: 0 15px;
    }
    .tokyochips-article-title {
        font-size: 24px;
    }
    .tokyochips-article-content h2 {
        line-height: 1.3em;
        font-size: 20px;
    }
    .tokyochips-article-content h3 {
        font-size: 18px;
    }
    .tokyochips-article-content .wp-caption-text {
        font-size: 12px !important;
        padding-top: 8px;
    }
}

/* ==========================================
 * Sidebar Widgets
 * ========================================== */
.tokyochips-single-sidebar .widget {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 30px;
    box-sizing: border-box;
    width: 100%;
}

.tokyochips-single-sidebar .widget h3 {
    font-family: var(--font-pop);
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    text-align: center;
    border-bottom: 2px solid #E85375;
    padding-bottom: 10px;
}

.tokyochips-single-sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tokyochips-single-sidebar .widget li {
    margin-bottom: 15px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 15px;
}

.tokyochips-single-sidebar .widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.tokyochips-single-sidebar .widget a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    display: block;
    transition: color 0.2s;
}

.tokyochips-single-sidebar .widget a:hover {
    color: #E85375;
}

.tokyochips-sns-widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 15px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    text-align: center;
    box-sizing: border-box;
}

.tokyochips-sns-widget-title {
    font-size: 14px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 15px 0;
    font-family: var(--font-base);
}

.tokyochips-sns-widget-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tokyochips-sns-widget-list li {
    display: flex;
    justify-content: center;
}

.tokyochips-sns-widget-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #f4f5f7;
    color: #555555;
    text-decoration: none;
    transition: all 0.25s ease;
}

.tokyochips-sns-widget-list a:hover {
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.tokyochips-sns-widget-list .sns-x a:hover { background-color: #000000; }
.tokyochips-sns-widget-list .sns-instagram a:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.tokyochips-sns-widget-list .sns-tiktok a:hover { background-color: #000000; }
.tokyochips-sns-widget-list .sns-youtube a:hover { background-color: #FF0000; }
.tokyochips-sns-widget-list .sns-facebook a:hover { background-color: #1877F2; }
.tokyochips-sns-widget-list .sns-line a:hover { background-color: #06C755; }

/* ==========================================
 * Breadcrumbs
 * ========================================== */
.tokyochips-breadcrumbs {
    margin-bottom: 20px;
    font-size: 13px;
    font-family: var(--font-base);
}

.tokyochips-breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.tokyochips-breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tokyochips-breadcrumbs li:not(:last-child)::after {
    content: ">";
    font-size: 11px;
    color: #cccccc;
}

.tokyochips-breadcrumbs a {
    color: #888888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tokyochips-breadcrumbs a:hover {
    color: #E85375;
    text-decoration: underline;
}

.tokyochips-breadcrumbs span {
    color: #333333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

@media screen and (max-width: 767px) {
    .tokyochips-breadcrumbs {
        font-size: 12px;
        margin-bottom: 15px;
    }
    .tokyochips-breadcrumbs span {
        max-width: 150px;
    }
}

/* ==========================================
 * SNS Share Box
 * ========================================== */
.tokyochips-share-box {
    margin: 60px 0 30px;
    padding: 30px 20px;
    background-color: #f4f5f7;
    border-radius: 12px;
    text-align: center;
}

.tokyochips-share-title {
    font-family: var(--font-pop);
    font-size: 16px;
    font-weight: 700;
    color: #555555;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.tokyochips-share-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 50px;
}

.tokyochips-share-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.tokyochips-share-item a:hover {
    color: #E85375 !important;
}

@media screen and (max-width: 767px) {
    .tokyochips-share-box {
        margin: 40px 0 20px;
        padding: 25px 15px;
    }
    .tokyochips-share-list {
        gap: 20px;
    }
}

/* ==========================================
 * Post Navigation
 * ========================================== */
.tokyochips-post-nav {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.tokyochips-post-nav-prev,
.tokyochips-post-nav-next {
    flex: 1;
    display: flex;
}

.tokyochips-post-nav a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    text-decoration: none;
    color: #333333;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.tokyochips-post-nav-next a {
    text-align: right;
}

.tokyochips-post-nav a:hover {
    border-color: #E85375;
    background-color: #FFF2F6;
}

.tokyochips-post-nav .nav-label {
    font-family: var(--font-pop);
    font-size: 13px;
    color: #E85375;
    font-weight: 700;
    margin-bottom: 8px;
}

.tokyochips-post-nav .nav-title {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    .tokyochips-post-nav {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        padding-top: 30px;
    }
    .tokyochips-post-nav a {
        padding: 15px;
    }
    .tokyochips-post-nav .nav-title {
        font-size: 14px;
    }
}

/* ==========================================
 * Related Posts Section
 * ========================================== */
.tokyochips-single-related {
    margin-top: 50px;
}

.tokyochips-related-title {
    font-family: var(--font-pop);
    font-size: 30px;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.05em;
    -webkit-text-stroke: 1.5px #E85375;
    text-shadow: 2px 2px 0px rgba(232, 83, 117, 0.2);
    margin: 0 0 30px 0;
}

.tokyochips-related-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tokyochips-related-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333333;
    -webkit-tap-highlight-color: transparent; /* ← タップ時の濁り防止をベースに移動しました */
}

.tokyochips-related-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0px;
    overflow: hidden;
    background-color: rgba(0,0,0,0.03);
    margin-bottom: 12px;
}

.tokyochips-related-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.tokyochips-related-item:hover .tokyochips-related-thumb img {
    transform: scale(1.08);
    opacity: 1 !important;
}

.tokyochips-related-item:hover .tokyochips-related-post-title {
    color: #E85375;
}

.tokyochips-related-text {
    flex-grow: 1;
}

.tokyochips-related-post-title {
    font-family: var(--font-pop);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0;
    color: #333333;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    .tokyochips-single-related {
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box;
    }
    .tokyochips-related-title {
        font-size: 26px;
        margin-bottom: 20px;
    }
    .tokyochips-related-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
        width: 100%;
        box-sizing: border-box;
    }
    .tokyochips-related-item {
        width: 100%;
        box-sizing: border-box;
    }
    .tokyochips-related-post-title {
        font-size: 14px;
    }
    .tokyochips-related-item:hover .tokyochips-related-post-title,
    .tokyochips-related-item:active .tokyochips-related-post-title,
    .tokyochips-related-item:focus .tokyochips-related-post-title {
        transition: none;
    }
}

/* ==========================================
 * Page Top Button
 * ========================================== */
.tokyochips-pagetop {
    position: fixed;
    right: 20px;
    bottom: 90px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #E85375;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(232, 83, 117, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}

.tokyochips-pagetop.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tokyochips-pagetop:hover {
    background-color: #d14061;
}

@media screen and (max-width: 767px) {
    .tokyochips-pagetop {
        display: none;
    }
}

/* ==========================================
 * Footer
 * ========================================== */
.tokyochips-global-footer {
    background-color: #f8f8f8;
    padding: 20px 20px 120px;
    text-align: center;
    border-top: 1px solid #eeeeee;
}

.tokyochips-footer-logo {
    margin-bottom: 20px;
}

.tokyochips-footer-logo img {
    height: 24px;
    width: auto;
}

.tokyochips-footer-links {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tokyochips-footer-links a {
    color: #666666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.tokyochips-footer-links a:hover {
    color: #222222;
}

.tokyochips-copyright {
    color: #999999;
    font-size: 12px;
    margin: 0;
}

@media screen and (max-width: 767px) {
    .tokyochips-global-footer {
        padding: 20px 20px 200px;
    }
}

/* ==========================================
 * Header Scroll Status
 * ========================================== */
.tokyochips-global-header.is-scrolled .tokyochips-header-logo {
    display: block;
    animation: fadeInLogo 0.3s ease-out forwards;
}

@keyframes fadeInLogo {
    from { 
        opacity: 0; 
        transform: translateY(-5px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* ==========================================
 * Font Icons
 * ========================================== */
[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-tiktok:before { content: "\e900"; }
.icon-x:before { content: "\e901"; }
.icon-line:before { content: "\e902"; }
.icon-location:before { content: "\e947"; }
.icon-search:before { content: "\e986"; }
.icon-new-tab:before { content: "\ea7e"; }
.icon-fb:before { content: "\ea91"; }
.icon-instagram:before { content: "\ea92"; }
.icon-rss:before { content: "\ea9c"; }
.icon-youtube:before { content: "\ea9d"; }

/* ==========================================
 * Ads
 * ========================================== */
.tokyochips-ad-wrapper {
    text-align: center;
    margin: 0 0 25px;
}

/* 広告自体が親枠を絶対に超えないようにする強制指定 */
.tokyochips-ad-wrapper ins,
.tokyochips-ad-wrapper iframe,
.tokyochips-ad-wrapper img {
    max-width: 100% !important;
    box-sizing: border-box;
}

/* ▼ スマホの時だけ、左右の余白を無視して画面いっぱいに広げる ▼ */
@media screen and (max-width: 767px) {
    .tokyochips-ad-wrapper {
        margin-left: -15px;  /* 左の余白15pxを相殺して画面端まで広げる */
        margin-right: -15px; /* 右の余白15pxを相殺して画面端まで広げる */
        overflow: hidden;    /* 念のため横揺れを強制カット */
    }
}

/* --------------------
 記事中広告
-------------------- */
.tetsu-i-mobile-instream,
.tetsu-highlight-wrapper {
	display:block;
    border-top: 1px solid #dddee4;
    border-bottom: 1px solid #dddee4;
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 4px 0 10px
}
.tetsu-campass-inleadscroller {
	display:none;
}
@media screen and (max-width:736px){
	.tetsu-campass-inleadscroller {
		display:block;
		margin-top: 15px;
	}
}