/* mkwi.css - マリオカートワールド アイテム一覧スタイル */

:root {
    --primary-color: #e60012; /* マリオカートの赤色 */
    --primary-dark: #b10010;
    --primary-light: #ff3b4b;
    --secondary-color: #0069aa; /* マリオカートの青色 */
    --throw-color: #ff6600; /* 投げられるタグの色 */
    --equip-color: #00cc33; /* 装備できるタグの色 */
    --background-color: #fff;
    --text-color: #333;
    --border-color: #ddd;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --new-badge-color: #ffcc00; /* 新規アイテムバッジの色 */
    --button-color: #0069aa; /* ボタンの色 */
    --breadcrumb-color: #666;
}

/* ベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f5f5;
}

.page-wrapper {
    width: 100%;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: var(--background-color);
    box-shadow: 0 0 10px var(--shadow-color);
    min-height: 100vh;
}

/* マリオカートテーマのパンくずリスト */
.mario-breadcrumb-nav {
    background-color: #f5f5f5;
    padding: 10px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e0e0e0;
    margin: 0; /* すべてのマージンを削除 */
}

.mario-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child):after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 10px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e60012"><path d="M8,5v14l11-7L8,5z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: arrowPulse 1.5s infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    color: #444;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 5px 8px;
    border-radius: 20px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.breadcrumb-link:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: var(--primary-color);
}

.breadcrumb-link:active {
    transform: translateY(0);
}

.breadcrumb-icon {
    margin-right: 6px;
    font-size: 1.1rem;
}

.current-page {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: bold;
    border-radius: 20px;
    padding: 5px 8px;
    background-color: rgba(230, 0, 18, 0.1);
}

.breadcrumb-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        to right,
        var(--primary-color) 0,
        var(--primary-color) 10px,
        transparent 10px,
        transparent 20px
    );
    animation: moveStripes 20s linear infinite;
}

@keyframes moveStripes {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 0;
    }
}

/* パンくずとヘッダーの間の余白を完全に削除 */
.mario-breadcrumb-nav + .mario-header,
.mario-breadcrumb-nav + .container .mario-header,
.mario-breadcrumb-nav + div .mario-header {
    margin-top: 0;
}

/* アクション性のあるマリオカートヘッダー */
.mario-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: hidden;
    margin: 0;
}

.header-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #333;
    overflow: hidden;
}

.road-stripe {
    position: absolute;
    width: 80px;
    height: 20px;
    background-color: white;
    left: 50%;
    animation: roadStripeAnimation 4s infinite linear;
    transform: translateX(-50%) perspective(500px) rotateX(45deg);
}

.road-stripe:nth-child(1) {
    top: 40%;
    animation-delay: 0s;
}

.road-stripe:nth-child(2) {
    top: 55%;
    animation-delay: -1.5s;
}

.road-stripe:nth-child(3) {
    top: 70%;
    animation-delay: -3s;
}

@keyframes roadStripeAnimation {
    0% {
        width: 80px;
        opacity: 0;
        transform: translateX(-50%) perspective(500px) rotateX(45deg) translateZ(0px);
    }
    20% {
        opacity: 1;
    }
    100% {
        width: 120vw;
        opacity: 0.2;
        transform: translateX(-50%) perspective(500px) rotateX(45deg) translateZ(300px);
    }
}

.header-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.title-container {
    position: relative;
    animation: titleEnter 0.8s ease-out forwards;
    transform: translateY(-100px);
    opacity: 0;
}

@keyframes titleEnter {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    60% {
        transform: translateY(10px);
        opacity: 1;
    }
    80% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.mario-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 5px;
    text-shadow:
        4px 4px 0 rgba(0,0,0,0.2),
        0 0 10px rgba(255,255,255,0.4);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.title-part {
    display: block;
    background: linear-gradient(to bottom, #fff 40%, #ffcc00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 2;
}

.title-part-1 {
    font-size: 1.2em;
    transform: scale(1, 1.2);
    transform-origin: center bottom;
}

.title-part-2 {
    font-size: 0.9em;
    letter-spacing: 0.1em;
}

.title-shadow {
    position: absolute;
    width: 100%;
    height: 10px;
    bottom: -10px;
    left: 0;
    background: rgba(0,0,0,0.3);
    filter: blur(5px);
    z-index: 1;
    border-radius: 50%;
}

.title-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    background-color: white;
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 30px;
    display: inline-block;
    margin-top: 8px;
    box-shadow: 0 4px 0 rgba(0,0,0,0.2);
    animation: subtitlePop 0.4s ease-out 0.6s forwards;
    transform: scale(0);
    opacity: 0;
}

@keyframes subtitlePop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.item-box {
    position: absolute;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(220,220,220,0.3) 100%);
    border-radius: 10px;
    animation: itemBoxFloat 2s ease-in-out infinite, itemBoxSpin 10s linear infinite;
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.item-box-inner {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    animation: questionMarkPulse 2s ease-in-out infinite;
}

@keyframes itemBoxFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes itemBoxSpin {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

@keyframes questionMarkPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.view-selector {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.view-selector button {
    background: linear-gradient(to bottom, var(--primary-dark) 0%, var(--primary-dark) 80%, #000 100%);
    color: white;
    border: none;
    border-bottom: 4px solid rgba(0,0,0,0.3);
    padding: 10px 20px;
    margin: 0 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.2s;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.view-selector button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.view-selector button:active {
    transform: translateY(2px);
    border-bottom-width: 2px;
}

.view-selector button.active {
    background: linear-gradient(to bottom, white 0%, #f5f5f5 80%, #ccc 100%);
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

.view-selector button:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 30%;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
    border-radius: 5px 5px 0 0;
}

/* 更新日時とSNSボタン */
.article-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: #666;
}

.time {
    margin-right: 20px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.fb-share-button a {
    display: inline-block;
    background-color: #3b5998;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.7rem;
}

/* メインコンテンツ */
main {
    padding: 20px 0;
}

section.view {
    display: none;
}

section.view.active {
    display: block;
}

section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* リスト表示 */
.item-list {
    list-style-type: none;
}

.item-list li {
    border-bottom: 1px solid var(--border-color);
}

.item-list a {
    display: flex;
    align-items: center;
    padding: 10px;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.3s;
}

.item-list a:hover {
    background-color: #f5f5f5;
}

.item-list img {
    margin-right: 10px;
}

/* グリッド表示 */
.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
}

.grid-item {
    text-align: center;
    transition: transform 0.3s;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-item a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
}

.item-image {
    position: relative;
    margin-bottom: 8px;
}

.item-name {
    font-size: 0.9rem;
}

/* 詳細表示 */
.item-detail {
    background-color: #f9f9f9;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    scroll-margin-top: 100px;
}

.item-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.item-icon {
    width: 128px;
    height: 128px;
    margin-right: 15px;
}

.item-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    background-color: #eee;
    color: #999;
    font-size: 0.9rem;
    font-weight: bold;
}

.tag.throw-tag {
    background-color: var(--throw-color);
    color: white;
}

.tag.equip-tag {
    background-color: var(--equip-color);
    color: white;
}

.item-description {
    margin-bottom: 20px;
    line-height: 1.7;
}

.item-screenshot {
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px var(--shadow-color);
}

/* 新規アイテムバッジ */
.new-badge {
    display: inline-block;
    background-color: var(--new-badge-color);
    color: #333;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 8px;
}

/* ナビゲーションボタン */
.nav-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.nav-button {
    background-color: var(--button-color);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
    flex: 1;
    min-width: 150px;
}

.list-button {
    background-color: var(--primary-color);
    flex: 2;
}

.nav-button:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.list-button:hover {
    background-color: var(--primary-light);
}

/* おすすめ記事セクション */
.recommendations-section {
    margin: 40px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    font-size: 1.5rem;
}

.recommendations-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.recommendations-container a {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px var(--shadow-color);
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.recommendations-container a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.recommendations-container .sneak {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 800 / 366;
}

.recommendations-container a {
    font-size: 0.95rem;
    font-weight: bold;
    line-height: 1.4;
    padding: 15px;
}

.recommendations-container br {
    display: none;
}

/* フッターデザイン - マリオカートテーマ */
.site-footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 0;
    position: relative;
    margin-top: 60px;
}

/* 波のデコレーション */
.wave-decoration {
    height: 40px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 60" preserveAspectRatio="none"><path d="M0,0 C150,40 350,40 500,20 C650,0 800,40 1000,30 C1100,25 1150,10 1200,0 L1200,60 L0,60 Z" fill="%23b10010"/></svg>');
    background-size: 100% 100%;
    position: absolute;
    top: -40px;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

/* メール問い合わせセクション */
.contact-section {
    display: flex;
    flex-direction: column;
}

.mail-link {
    display: flex;
    align-items: center;
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.mail-link:hover {
    color: white;
}

.mail-icon {
    background-color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.contact-text {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 利用規約セクション */
.usage-terms {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 20px;
}

.terms-content {
    font-size: 0.9rem;
    line-height: 1.6;
}

.terms-main p {
    margin-bottom: 10px;
}

.terms-list {
    list-style: none;
    padding-left: 15px;
}

.terms-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
}

.terms-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ffcc00;
}

.link-text, .site-name {
    color: #ffcc00;
    font-weight: bold;
}

/* ブランドセクション */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.brand-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.brand-link:hover {
    transform: scale(1.05);
}

.brand-icon {
    background-color: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* レースフラッグ装飾 */
.site-footer:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: repeating-linear-gradient(
        to right,
        #000 0,
        #000 20px,
        #fff 20px,
        #fff 40px
    );
}

/* レスポンシブデザイン */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .usage-terms {
        border-left: none;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 20px 0;
    }

    .footer-brand {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .item-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .container {
        padding: 0 10px;
    }

    .nav-button {
        flex: 1 1 calc(50% - 5px);
    }

    .list-button {
        flex: 1 1 100%;
        order: -1;
        margin-bottom: 5px;
    }

    .article-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .time {
        margin-bottom: 10px;
    }

    .mario-title {
        font-size: 2.5rem;
    }

    .title-subtitle {
        font-size: 1.2rem;
    }

    .item-box {
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .view-selector button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .mario-breadcrumb {
        font-size: 0.8rem;
    }

    .breadcrumb-item:not(:last-child):after {
        width: 15px;
        height: 15px;
        margin: 0 5px;
    }

    .breadcrumb-icon {
        margin-right: 3px;
    }

    .recommendations-container {
        grid-template-columns: 1fr;
    }

    .wave-decoration {
        height: 25px;
        top: -25px;
    }
}

@media (max-width: 480px) {
    .item-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 10px;
    }

    .item-detail {
        padding: 15px;
    }

    .item-header {
        flex-direction: column;
        text-align: center;
    }

    .item-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .item-tags {
        justify-content: center;
    }

    .nav-buttons {
        flex-direction: column;
    }

    .nav-button {
        width: 100%;
    }

    .header-container {
        flex-direction: column;
    }

    .mario-title {
        font-size: 2rem;
    }

    .title-subtitle {
        font-size: 1rem;
    }

    .item-box {
        position: relative;
        right: auto;
        margin-top: 15px;
    }

    .view-selector {
        flex-wrap: wrap;
    }

    .view-selector button {
        margin: 5px;
        flex: 1 1 auto;
    }

    .breadcrumb-text {
        display: none;
    }

    .breadcrumb-icon {
        margin-right: 0;
        font-size: 1.3rem;
    }

    .current-page .breadcrumb-text {
        display: inline;
    }

    .breadcrumb-item:not(:last-child):after {
        margin: 0 2px;
    }

    .mail-link, .brand-link {
        font-size: 0.9rem;
    }

    .mail-icon, .brand-icon {
        width: 24px;
        height: 24px;
    }
}
/* プレイ動画セクション */
.video-section {
  margin: 40px 0;
  padding: 0;
}

.video-container {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
}

.video-title-bar {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  border-bottom: 4px solid var(--primary-dark);
}

.video-icon {
  background-color: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
  animation: iconSpin 10s linear infinite;
}

@keyframes iconSpin {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* プレイ動画セクション - タイトル文字色修正 */
.video-title {
  margin: 0;
  font-size: 1.4rem;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
  padding: 0;
  border: none;
  color: white; /* 文字色を白に設定 */
}

.video-frame-container {
  padding: 20px;
  background: repeating-linear-gradient(
    45deg,
    #f0f0f0,
    #f0f0f0 10px,
    #f9f9f9 10px,
    #f9f9f9 20px
  );
  position: relative;
}

.video-frame-border {
  position: relative;
  padding: 8px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.video-frame-container iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 3px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.video-description {
  background-color: white;
  padding: 15px 20px;
  text-align: center;
  font-weight: bold;
  color: var(--text-color);
  border-top: 1px solid var(--border-color);
}

/* レーストラック装飾 */
.video-container:before, .video-container:after {
  content: "";
  position: absolute;
  height: 8px;
  background: repeating-linear-gradient(
    to right,
    #000 0,
    #000 20px,
    #fff 20px,
    #fff 40px
  );
  left: 0;
  right: 0;
  z-index: 10;
}

.video-container:before {
  top: 52px; /* タイトルバーの下 */
}

.video-container:after {
  bottom: 0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .video-frame-container {
    padding: 15px;
  }

  .video-title {
    font-size: 1.2rem;
  }

  .video-icon {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .video-frame-container {
    padding: 10px;
  }

  .video-frame-border {
    padding: 5px;
  }

  .video-title-bar {
    padding: 10px 15px;
  }

  .video-title {
    font-size: 1rem;
  }

  .video-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }

  .video-container:before {
    top: 45px;
  }
}
/* シンプルでスタイリッシュなタイトル */
.title-banner {
  background-color: var(--primary-color);
  padding: 20px 15px;
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.modern-title {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}

.title-banner:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(255, 255, 255, 0.7) 20%,
    rgba(255, 255, 255, 0.7) 80%,
    transparent 100%
  );
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .modern-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .title-banner {
    padding: 15px 10px;
  }

  .modern-title {
    font-size: 1.2rem;
  }
}
/* シンプルでスタイリッシュなタイトル */
.title-banner {
  background-color: var(--primary-color);
  padding: 20px 15px;
  margin-bottom: 0; /* マージンを0にして画像との隙間をなくす */
  position: relative;
  overflow: hidden;
  border-radius: 4px 4px 0 0; /* 下部の角を丸めない */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.modern-title {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}

.title-banner:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(255, 255, 255, 0.7) 20%,
    rgba(255, 255, 255, 0.7) 80%,
    transparent 100%
  );
}

/* メイン画像コンテナ */
.featured-image-container {
  width: 100%;
  margin-bottom: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 4px 4px; /* 上部の角を丸めない */
  overflow: hidden;
  position: relative;
}

.featured-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

/* ホバーエフェクト（PCのみ） */
@media (min-width: 769px) {
  .featured-image:hover {
    transform: scale(1.02);
  }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .modern-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .title-banner {
    padding: 15px 10px;
  }

  .modern-title {
    font-size: 1.2rem;
  }
}
/* マリオカートワールド風 フッターデザイン */
.copy {
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b6b 100%);
  color: white;
  padding: 40px 20px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    45deg,
    var(--accent-color),
    var(--accent-color) 20px,
    var(--secondary-color) 20px,
    var(--secondary-color) 40px
  );
}

.copy::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 100" preserveAspectRatio="none"><path d="M0,0 C300,80 900,80 1200,0 L1200,100 L0,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: 100% 100%;
  pointer-events: none;
}

.contact-info, .usage-terms, .copyright {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.95rem;
}

.contact-info a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

.contact-info a:hover {
  color: white;
  text-decoration: underline;
}

.usage-terms {
  font-size: 0.9rem;
}

.usage-terms p {
  margin: 8px 0;
  position: relative;
  padding-left: 20px;
}

.usage-terms p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  background-color: var(--accent-color);
  border-radius: 50%;
}

.copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
  text-align: center;
}

.copyright .push0 {
  display: inline-flex;
  align-items: center;
  color: white;
  text-decoration: none;
  margin-right: 10px;
  padding: 5px 10px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  transition: background-color 0.2s;
}

.copyright .push0:hover {
  background-color: var(--secondary-color);
}

.copyright img {
  margin-right: 5px;
}

/* レースフラッグのような装飾 */
.copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    45deg,
    var(--accent-color),
    var(--accent-color) 20px,
    var(--secondary-color) 20px,
    var(--secondary-color) 40px
  );
}

/* マリオカートアイテムアイコン装飾 */
.contact-info::after,
.usage-terms::after,
.copyright::after {
  content: "";
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.3;
}

.contact-info::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="40" r="30" fill="white"/><rect x="20" y="40" width="60" height="40" fill="white"/></svg>');
}

.usage-terms::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 61,39 92,39 67,59 76,90 50,70 24,90 33,59 8,39 39,39" fill="white"/></svg>');
}

.copyright::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="20" fill="white"/><circle cx="50" cy="20" r="15" fill="white"/><circle cx="80" cy="50" r="15" fill="white"/><circle cx="50" cy="80" r="15" fill="white"/><circle cx="20" cy="50" r="15" fill="white"/></svg>');
}

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

  .contact-info, .usage-terms, .copyright {
    padding: 12px;
  }

  .usage-terms p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .copy {
    padding: 25px 10px;
  }

  .contact-info, .usage-terms, .copyright {
    padding: 10px;
  }

  .copyright .push0 {
    padding: 4px 8px;
    font-size: 0.85rem;
  }
}
