/* マリオのピクロス テーマCSS */
:root {
    --key-color: #f54913;
    --sub-color: #f2820c;
    --base-text-color: #000000;
    --section-bg-color: #ffffff;
    --base-bg-color: #9edffb;
    --mario-red: #f54913;
    --mario-yellow: #f2c60c;
    --grid-line: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 2px;
}

/* 更新日とSNSシェアボタン */
.article-info {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.article-info .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.time {
    font-size: 0.85rem;
    color: #555;
    margin: 0;
}

.share-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.twitter-share-button {
    display: inline-block;
    min-width: 80px;
}

.fb-xfbml-parse-ignore {
    display: inline-block;
    margin-left: 10px;
}

.fb-xfbml-parse-ignore a {
    background-color: #4267B2;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background-color 0.2s;
    display: inline-block;
}

.fb-xfbml-parse-ignore a:hover {
    background-color: #365899;
    text-decoration: none;
}

/* モバイル対応 */
@media (max-width: 480px) {
    .article-info .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-buttons {
        margin-top: 8px;
    }
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
    background-color: var(--base-bg-color);
    color: var(--base-text-color);
    line-height: 1.6;
    padding: 0;
}

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* タイトルスタイル */
.picross-title {
    position: relative;
    text-align: center;
    font-size: 2.2rem;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    color: var(--key-color);
    text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff,
                 2px -2px 0 #fff, -2px 2px 0 #fff,
                 0px 2px 0 #fff, 0px -2px 0 #fff,
                 2px 0px 0 #fff, -2px 0px 0 #fff;
    overflow: hidden;
    animation: pixelReveal 0.2s ease-out forwards;
}

.picross-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        135deg,
        var(--key-color) 0px,
        var(--key-color) 10px,
        var(--sub-color) 10px,
        var(--sub-color) 20px
    );
    z-index: -1;
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><rect x="0" y="0" width="4" height="4" fill="black"/><rect x="4" y="4" width="4" height="4" fill="black"/><rect x="8" y="8" width="4" height="4" fill="black"/><rect x="12" y="12" width="4" height="4" fill="black"/><rect x="16" y="16" width="4" height="4" fill="black"/><rect x="20" y="20" width="4" height="4" fill="black"/><rect x="24" y="24" width="4" height="4" fill="black"/><rect x="28" y="28" width="4" height="4" fill="black"/></svg>');
    mask-size: 32px 32px;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><rect x="0" y="0" width="4" height="4" fill="black"/><rect x="4" y="4" width="4" height="4" fill="black"/><rect x="8" y="8" width="4" height="4" fill="black"/><rect x="12" y="12" width="4" height="4" fill="black"/><rect x="16" y="16" width="4" height="4" fill="black"/><rect x="20" y="20" width="4" height="4" fill="black"/><rect x="24" y="24" width="4" height="4" fill="black"/><rect x="28" y="28" width="4" height="4" fill="black"/></svg>');
    -webkit-mask-size: 32px 32px;
    border-radius: 16px;
    border: 4px solid var(--key-color);
}

.picross-title::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, transparent 0%, transparent 70%, var(--base-bg-color) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(0,0,0,0.1) 8px, rgba(0,0,0,0.1) 16px);
    z-index: -1;
    animation: labyrinthAnimation 5s infinite alternate;
}

.subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: normal;
    margin-top: 0.5rem;
    color: var(--sub-color);
}

/* セクションスタイル */
.guide-section {
    background-color: var(--section-bg-color);
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.guide-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--key-color), var(--sub-color));
}

.section-title {
    color: var(--key-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px dashed var(--sub-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: var(--key-color);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.action-description {
    font-size: 1.2rem;
    color: var(--sub-color);
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 4px solid var(--key-color);
}

figure {
    margin: 20px 0;
    text-align: center;
}

figure img {
    max-width: 100%;
    height: auto;
    border: 3px solid var(--key-color);
    border-radius: 8px;
}

figcaption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #666;
}

.instruction-text {
    font-weight: bold;
    margin-bottom: 10px;
}

.instruction-detail {
    margin-bottom: 15px;
    padding-left: 15px;
}

/* アニメーション */
@keyframes pixelReveal {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    30% {
        clip-path: inset(0 70% 0 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes labyrinthAnimation {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

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

    .picross-title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .action-description {
        font-size: 1.1rem;
    }
}

/* パンくずリスト */
.breadcrumb-nav {
    margin-bottom: 20px;
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 10px 15px;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
}

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

.breadcrumb-item:not(:last-child)::after {
    content: ">";
    margin: 0 8px;
    color: var(--sub-color);
    font-weight: bold;
}

.breadcrumb-link {
    color: var(--key-color);
    text-decoration: none;
    transition: color 0.2s;
    padding: 2px 4px;
    border-radius: 3px;
}

.breadcrumb-link:hover {
    color: var(--sub-color);
    background-color: rgba(242, 130, 12, 0.1);
    text-decoration: underline;
}

.current-page {
    color: #666;
    font-weight: bold;
}

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

    .picross-title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .action-description {
        font-size: 1.1rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
        padding: 8px 10px;
    }

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

/* おすすめコンテンツ */
#recommendations {
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* マリオのピクロスらしいヘッダー装飾 */
#recommendations::before {
    content: "おすすめ";
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(90deg, var(--key-color), var(--sub-color));
    margin: -20px -20px 15px -20px;
    padding: 10px 20px;
    border-bottom: 4px dashed rgba(255, 255, 255, 0.5);
    position: relative;
}

/* ピクロスのグリッドを模した装飾 */
#recommendations::after {
    content: "";
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

#recommendations a.push0 {
    display: block;
    margin-bottom: 15px;
    padding: 12px;
    text-decoration: none;
    color: var(--base-text-color);
    background-color: white;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    z-index: 1;
    border-left: 5px solid var(--key-color);
    font-weight: 500;
    overflow: hidden;
}

#recommendations a.push0:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ホバー時のピクロス風エフェクト */
#recommendations a.push0::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        45deg,
        rgba(242, 130, 12, 0.1) 25%,
        transparent 25%,
        transparent 50%,
        rgba(242, 130, 12, 0.1) 50%,
        rgba(242, 130, 12, 0.1) 75%,
        transparent 75%
    );
    background-size: 10px 10px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: -1;
}

#recommendations a.push0:hover::after {
    opacity: 0.6;
}

#recommendations img.sneak {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 8px;
    border: 2px solid var(--base-bg-color);
    transition: transform 0.3s;
}

#recommendations a.push0:hover img.sneak {
    transform: scale(1.03);
}

/* スマホ対応 */
@media (max-width: 768px) {
    #recommendations {
        padding: 15px;
        margin: 20px 0;
    }

    #recommendations::before {
        font-size: 1.1rem;
        margin: -15px -15px 10px -15px;
        padding: 8px 15px;
    }

    #recommendations a.push0 {
        padding: 8px;
        margin-bottom: 10px;
    }
}/* フッター */
footer.copy {
    margin-top: 40px;
    padding: 25px 15px;
    background: linear-gradient(to bottom, var(--base-bg-color), #78c5f7);
    border-top: 4px solid var(--key-color);
    position: relative;
    color: #333;
    font-size: 0.9rem;
}

/* マリオのピクロス風のドット装飾 */
footer.copy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background-image: repeating-linear-gradient(
        to right,
        var(--key-color),
        var(--key-color) 8px,
        var(--sub-color) 8px,
        var(--sub-color) 16px
    );
}

/* ピクセルボーダー装飾 */
footer.copy::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    height: 4px;
    background-image: linear-gradient(to right,
        transparent, transparent 4px,
        rgba(0,0,0,0.1) 4px, rgba(0,0,0,0.1) 8px
    );
    background-size: 8px 4px;
}

.contact-info, .usage-terms, .copyright {
    max-width: 1000px;
    margin: 0 auto 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* マリオのピクロス風のブロック装飾 */
.contact-info::before, .usage-terms::before, .copyright::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><rect x="0" y="0" width="8" height="8" fill="%23f54913"/><rect x="8" y="8" width="8" height="8" fill="%23f54913"/><rect x="8" y="0" width="8" height="8" fill="%23f2820c"/><rect x="0" y="8" width="8" height="8" fill="%23f2820c"/></svg>') 2;
    pointer-events: none;
    border-radius: 8px;
}

.contact-info a {
    color: var(--key-color);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info a:hover {
    color: var(--sub-color);
    text-decoration: underline;
}

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

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

.copyright {
    text-align: center;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.copyright .push0 {
    display: inline-flex;
    align-items: center;
    color: var(--key-color);
    text-decoration: none;
    padding: 3px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.copyright .push0:hover {
    background-color: rgba(242, 130, 12, 0.1);
}

.copyright .push0 img {
    margin-right: 6px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    footer.copy {
        padding: 20px 10px;
    }

    .contact-info, .usage-terms, .copyright {
        padding: 12px;
        margin-bottom: 15px;
    }
}/* マリオのピクロス テーマCSS */
:root {
    --key-color: #f54913;
    --sub-color: #f2820c;
    --base-text-color: #000000;
    --section-bg-color: #ffffff;
    --base-bg-color: #9edffb;
    --mario-red: #f54913;
    --mario-yellow: #f2c60c;
    --grid-line: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 更新日とSNSシェアボタン */
.article-info {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.article-info .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.time {
    font-size: 0.85rem;
    color: #555;
    margin: 0;
}

.share-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.twitter-share-button {
    display: inline-block;
    min-width: 80px;
}

.fb-xfbml-parse-ignore {
    display: inline-block;
    margin-left: 10px;
}

.fb-xfbml-parse-ignore a {
    background-color: #4267B2;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background-color 0.2s;
    display: inline-block;
}

.fb-xfbml-parse-ignore a:hover {
    background-color: #365899;
    text-decoration: none;
}

/* モバイル対応 */
@media (max-width: 480px) {
    .article-info .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-buttons {
        margin-top: 8px;
    }
}

/* ピクロスアニメーションのスタイル（ヒントマーキング付き） */
.picross-container {
  margin: 30px auto;
  max-width: 400px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  border: 3px solid var(--sub-color2);
}

.picross-title {
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--sub-color1);
  padding-bottom: 8px;
  border-bottom: 2px dashed var(--sub-color2);
}

.picross-grid {
  position: relative;
  margin: 50px auto 20px;
  width: 240px;
  height: 240px;
}

.picross-hints-top {
  position: absolute;
  top: -40px;
  left: 40px;
  display: flex;
  width: calc(100% - 40px);
}

.picross-hints-left {
  position: absolute;
  left: -40px;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hint-cell-top {
  width: calc(100% / 3);
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: var(--sub-color1);
  transition: all 0.3s ease;
  position: relative;
}

.hint-cell-left {
  width: 40px;
  height: calc(100% / 3);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: var(--sub-color1);
  transition: all 0.3s ease;
  position: relative;
}

.hint-cell-top.active,
.hint-cell-left.active {
  color: white;
  background-color: var(--key-color);
  border-radius: 4px;
  transform: scale(1.1);
  z-index: 2;
}

.hint-cell-top.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: calc(50% - 6px);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--key-color);
}

.hint-cell-left.active::after {
  content: '';
  position: absolute;
  right: -6px;
  top: calc(50% - 6px);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid var(--key-color);
}

.picross-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  width: 100%;
  height: 100%;
  gap: 4px;
  background-color: var(--sub-color2);
  padding: 4px;
  border-radius: 4px;
}

.picross-cell {
  background-color: #fff;
  border-radius: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  transition: background-color 0.3s ease;
  cursor: pointer;
  position: relative;
}

.picross-cell.highlight-row {
  box-shadow: inset 0 0 0 2px rgba(245, 2, 12, 0.3);
}

.picross-cell.highlight-col {
  box-shadow: inset 0 0 0 2px rgba(245, 2, 12, 0.3);
}

.picross-cell.highlight-row.highlight-col {
  box-shadow: inset 0 0 0 3px rgba(245, 2, 12, 0.5);
}

.picross-cell.filled {
  background-color: var(--key-color);
  animation: cell-fill 0.5s ease forwards;
}

@keyframes cell-fill {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.picross-instruction {
  text-align: center;
  margin: 15px 0;
  font-size: 0.9rem;
  color: var(--sub-color1);
  line-height: 1.5;
}

/* レスポンシブ対応 */
@media screen and (max-width: 480px) {
  .picross-grid {
    width: 200px;
    height: 200px;
    margin: 45px auto 20px;
  }

  .picross-title {
    font-size: 1.1rem;
  }
}
/* 基本情報テーブル */
.gba-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 30px 0;
    background-color: var(--section-bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* ピクロス風のピクセル装飾 */
.gba-table::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--key-color), var(--sub-color));
    z-index: 1;
}

.gba-table::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    height: 3px;
    background-image: linear-gradient(to right,
        rgba(255,255,255,0.7), rgba(255,255,255,0.7) 4px,
        transparent 4px, transparent 8px
    );
    background-size: 8px 3px;
    z-index: 1;
}

.gba-table th,
.gba-table td {
    padding: 10px 15px;
    border-bottom: 1px dashed rgba(242, 130, 12, 0.3);
    position: relative;
}

.gba-table tr:last-child th,
.gba-table tr:last-child td {
    border-bottom: none;
}

.gba-table th {
    text-align: left;
    font-weight: bold;
    background-color: rgba(245, 73, 19, 0.1);
    color: var(--key-color);
    width: 30%;
    border-right: 2px solid rgba(242, 130, 12, 0.3);

    /* マリオのピクロスらしいピクセル装飾 */
    background-image:
        linear-gradient(45deg, rgba(242, 130, 12, 0.05) 25%, transparent 25%),
        linear-gradient(135deg, rgba(242, 130, 12, 0.05) 25%, transparent 25%),
        linear-gradient(225deg, rgba(242, 130, 12, 0.05) 25%, transparent 25%),
        linear-gradient(315deg, rgba(242, 130, 12, 0.05) 25%, transparent 25%);
    background-size: 10px 10px;
}

.gba-table td {
    background-color: white;
}

/* 格子模様を表現 */
.gba-table tr:nth-child(even) td {
    background-color: rgba(158, 223, 251, 0.05);
}

.gba-table a.push0 {
    color: var(--key-color);
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.2s;
    position: relative;
}

.gba-table a.push0:hover {
    background-color: rgba(242, 130, 12, 0.1);
    color: var(--sub-color);
    text-decoration: underline;
}

/* ピクロスのカーソル風の装飾 */
.gba-table a.push0::before {
    content: "▶";
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--key-color);
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    font-size: 0.8em;
}

.gba-table a.push0:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(3px);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .gba-table th,
    .gba-table td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .gba-table th {
        width: 40%;
    }
}/* おすすめコンテンツ */
#recommendations {
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* マリオのピクロスらしいヘッダー装飾 */
#recommendations::before {
    content: "おすすめ";
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(90deg, var(--key-color), var(--sub-color));
    margin: -20px -20px 15px -20px;
    padding: 10px 20px;
    border-bottom: 4px dashed rgba(255, 255, 255, 0.5);
    position: relative;
}

/* ピクロスのグリッドを模した装飾 */
#recommendations::after {
    content: "";
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

#recommendations a.push0 {
    display: block;
    margin-bottom: 15px;
    padding: 12px;
    text-decoration: none;
    color: var(--base-text-color);
    background-color: white;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    z-index: 1;
    border-left: 5px solid var(--key-color);
    font-weight: 500;
    overflow: hidden;
}

#recommendations a.push0:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ホバー時のピクロス風エフェクト */
#recommendations a.push0::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        45deg,
        rgba(242, 130, 12, 0.1) 25%,
        transparent 25%,
        transparent 50%,
        rgba(242, 130, 12, 0.1) 50%,
        rgba(242, 130, 12, 0.1) 75%,
        transparent 75%
    );
    background-size: 10px 10px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: -1;
}

#recommendations a.push0:hover::after {
    opacity: 0.6;
}

#recommendations img.sneak {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 8px;
    border: 2px solid var(--base-bg-color);
    transition: transform 0.3s;
}

#recommendations a.push0:hover img.sneak {
    transform: scale(1.03);
}

/* スマホ対応 */
@media (max-width: 768px) {
    #recommendations {
        padding: 15px;
        margin: 20px 0;
    }

    #recommendations::before {
        font-size: 1.1rem;
        margin: -15px -15px 10px -15px;
        padding: 8px 15px;
    }

    #recommendations a.push0 {
        padding: 8px;
        margin-bottom: 10px;
    }
}/* フッター */
footer.copy {
    margin-top: 40px;
    padding: 25px 15px;
    background: linear-gradient(to bottom, var(--base-bg-color), #78c5f7);
    border-top: 4px solid var(--key-color);
    position: relative;
    color: #333;
    font-size: 0.9rem;
}

/* マリオのピクロス風のドット装飾 */
footer.copy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background-image: repeating-linear-gradient(
        to right,
        var(--key-color),
        var(--key-color) 8px,
        var(--sub-color) 8px,
        var(--sub-color) 16px
    );
}

/* ピクセルボーダー装飾 */
footer.copy::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    height: 4px;
    background-image: linear-gradient(to right,
        transparent, transparent 4px,
        rgba(0,0,0,0.1) 4px, rgba(0,0,0,0.1) 8px
    );
    background-size: 8px 4px;
}

.contact-info, .usage-terms, .copyright {
    max-width: 1000px;
    margin: 0 auto 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* マリオのピクロス風のブロック装飾 */
.contact-info::before, .usage-terms::before, .copyright::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><rect x="0" y="0" width="8" height="8" fill="%23f54913"/><rect x="8" y="8" width="8" height="8" fill="%23f54913"/><rect x="8" y="0" width="8" height="8" fill="%23f2820c"/><rect x="0" y="8" width="8" height="8" fill="%23f2820c"/></svg>') 2;
    pointer-events: none;
    border-radius: 8px;
}

.contact-info a {
    color: var(--key-color);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info a:hover {
    color: var(--sub-color);
    text-decoration: underline;
}

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

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

.copyright {
    text-align: center;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.copyright .push0 {
    display: inline-flex;
    align-items: center;
    color: var(--key-color);
    text-decoration: none;
    padding: 3px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.copyright .push0:hover {
    background-color: rgba(242, 130, 12, 0.1);
}

.copyright .push0 img {
    margin-right: 6px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    footer.copy {
        padding: 20px 10px;
    }

    .contact-info, .usage-terms, .copyright {
        padding: 12px;
        margin-bottom: 15px;
    }
}/* マリオのピクロス テーマCSS */
:root {
    --key-color: #f54913;
    --sub-color: #f2820c;
    --base-text-color: #000000;
    --section-bg-color: #ffffff;
    --base-bg-color: #9edffb;
    --mario-red: #f54913;
    --mario-yellow: #f2c60c;
    --grid-line: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 更新日とSNSシェアボタン */
.article-info {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.article-info .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.time {
    font-size: 0.85rem;
    color: #555;
    margin: 0;
}

.share-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.twitter-share-button {
    display: inline-block;
    min-width: 80px;
}

.fb-xfbml-parse-ignore {
    display: inline-block;
    margin-left: 10px;
}

.fb-xfbml-parse-ignore a {
    background-color: #4267B2;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background-color 0.2s;
    display: inline-block;
}

.fb-xfbml-parse-ignore a:hover {
    background-color: #365899;
    text-decoration: none;
}

/* モバイル対応 */
@media (max-width: 480px) {
    .article-info .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-buttons {
        margin-top: 8px;
    }
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
    background-color: var(--base-bg-color);
    color: var(--base-text-color);
    line-height: 1.6;
    padding: 0;
}

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* タイトルスタイル */
.picross-title {
    position: relative;
    text-align: center;
    font-size: 2.2rem;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    color: var(--key-color);
    text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff,
                 2px -2px 0 #fff, -2px 2px 0 #fff,
                 0px 2px 0 #fff, 0px -2px 0 #fff,
                 2px 0px 0 #fff, -2px 0px 0 #fff;
    overflow: hidden;
    animation: pixelReveal 2s ease-out forwards;
}

.picross-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        135deg,
        var(--key-color) 0px,
        var(--key-color) 10px,
        var(--sub-color) 10px,
        var(--sub-color) 20px
    );
    z-index: -1;
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><rect x="0" y="0" width="4" height="4" fill="black"/><rect x="4" y="4" width="4" height="4" fill="black"/><rect x="8" y="8" width="4" height="4" fill="black"/><rect x="12" y="12" width="4" height="4" fill="black"/><rect x="16" y="16" width="4" height="4" fill="black"/><rect x="20" y="20" width="4" height="4" fill="black"/><rect x="24" y="24" width="4" height="4" fill="black"/><rect x="28" y="28" width="4" height="4" fill="black"/></svg>');
    mask-size: 32px 32px;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><rect x="0" y="0" width="4" height="4" fill="black"/><rect x="4" y="4" width="4" height="4" fill="black"/><rect x="8" y="8" width="4" height="4" fill="black"/><rect x="12" y="12" width="4" height="4" fill="black"/><rect x="16" y="16" width="4" height="4" fill="black"/><rect x="20" y="20" width="4" height="4" fill="black"/><rect x="24" y="24" width="4" height="4" fill="black"/><rect x="28" y="28" width="4" height="4" fill="black"/></svg>');
    -webkit-mask-size: 32px 32px;
    border-radius: 16px;
    border: 4px solid var(--key-color);
}

.picross-title::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, transparent 0%, transparent 70%, var(--base-bg-color) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(0,0,0,0.1) 8px, rgba(0,0,0,0.1) 16px);
    z-index: -1;
    animation: labyrinthAnimation 5s infinite alternate;
}

.subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: normal;
    margin-top: 0.5rem;
    color: var(--sub-color);
}

/* セクションスタイル */
.guide-section {
    background-color: var(--section-bg-color);
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.guide-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--key-color), var(--sub-color));
}

.section-title {
    color: var(--key-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px dashed var(--sub-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: var(--key-color);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.action-description {
    font-size: 1.2rem;
    color: var(--sub-color);
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 4px solid var(--key-color);
}

figure {
    margin: 20px 0;
    text-align: center;
}

figure img {
    max-width: 100%;
    height: auto;
    border: 3px solid var(--key-color);
    border-radius: 8px;
}

figcaption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #666;
}

.instruction-text {
    font-weight: bold;
    margin-bottom: 10px;
}

.instruction-detail {
    margin-bottom: 15px;
    padding-left: 15px;
}

/* アニメーション */
@keyframes pixelReveal {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    30% {
        clip-path: inset(0 70% 0 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes labyrinthAnimation {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* パンくずリスト */
.breadcrumb-nav {
    margin-bottom: 20px;
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 10px 15px;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
}

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

.breadcrumb-item:not(:last-child)::after {
    content: ">";
    margin: 0 8px;
    color: var(--sub-color);
    font-weight: bold;
}

.breadcrumb-link {
    color: var(--key-color);
    text-decoration: none;
    transition: color 0.2s;
    padding: 2px 4px;
    border-radius: 3px;
}

.breadcrumb-link:hover {
    color: var(--sub-color);
    background-color: rgba(242, 130, 12, 0.1);
    text-decoration: underline;
}

.current-page {
    color: #666;
    font-weight: bold;
}

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

    .picross-title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .action-description {
        font-size: 1.1rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
        padding: 8px 10px;
    }

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

/* 目次 */
.table-of-contents {
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* ピクロス風のヘッダー装飾 */
.table-of-contents::before {
    content: "目次";
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(90deg, var(--key-color), var(--sub-color));
    margin: -20px -20px 15px -20px;
    padding: 10px 20px;
    border-bottom: 4px dashed rgba(255, 255, 255, 0.5);
}

.toc-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

/* マリオのピクロスらしいカーソル */
.toc-list li::before {
    content: "□";
    position: absolute;
    left: 0;
    color: var(--key-color);
    font-weight: bold;
}

.toc-list li:hover::before {
    content: "■";
    color: var(--sub-color);
}

.toc-list a {
    color: var(--base-text-color);
    text-decoration: none;
    padding: 3px 6px;
    border-radius: 3px;
    transition: all 0.2s;
    display: inline-block;
}

.toc-list a:hover {
    background-color: rgba(242, 130, 12, 0.1);
    transform: translateX(3px);
    color: var(--key-color);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .table-of-contents {
        padding: 15px;
        margin: 20px 0;
    }

    .table-of-contents::before {
        font-size: 1.1rem;
        margin: -15px -15px 10px -15px;
        padding: 8px 15px;
    }

    .toc-list li {
        margin-bottom: 8px;
    }
}/* 基本情報テーブル */
.gba-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 30px 0;
    background-color: var(--section-bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* ピクロス風のピクセル装飾 */
.gba-table::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--key-color), var(--sub-color));
    z-index: 1;
}

.gba-table::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    height: 3px;
    background-image: linear-gradient(to right,
        rgba(255,255,255,0.7), rgba(255,255,255,0.7) 4px,
        transparent 4px, transparent 8px
    );
    background-size: 8px 3px;
    z-index: 1;
}

.gba-table th,
.gba-table td {
    padding: 10px 15px;
    border-bottom: 1px dashed rgba(242, 130, 12, 0.3);
    position: relative;
}

.gba-table tr:last-child th,
.gba-table tr:last-child td {
    border-bottom: none;
}

.gba-table th {
    text-align: left;
    font-weight: bold;
    background-color: rgba(245, 73, 19, 0.1);
    color: var(--key-color);
    width: 30%;
    border-right: 2px solid rgba(242, 130, 12, 0.3);

    /* マリオのピクロスらしいピクセル装飾 */
    background-image:
        linear-gradient(45deg, rgba(242, 130, 12, 0.05) 25%, transparent 25%),
        linear-gradient(135deg, rgba(242, 130, 12, 0.05) 25%, transparent 25%),
        linear-gradient(225deg, rgba(242, 130, 12, 0.05) 25%, transparent 25%),
        linear-gradient(315deg, rgba(242, 130, 12, 0.05) 25%, transparent 25%);
    background-size: 10px 10px;
}

.gba-table td {
    background-color: white;
}

/* 格子模様を表現 */
.gba-table tr:nth-child(even) td {
    background-color: rgba(158, 223, 251, 0.05);
}

.gba-table a.push0 {
    color: var(--key-color);
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.2s;
    position: relative;
}

.gba-table a.push0:hover {
    background-color: rgba(242, 130, 12, 0.1);
    color: var(--sub-color);
    text-decoration: underline;
}

/* ピクロスのカーソル風の装飾 */
.gba-table a.push0::before {
    content: "▶";
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--key-color);
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    font-size: 0.8em;
}

.gba-table a.push0:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(3px);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .gba-table th,
    .gba-table td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .gba-table th {
        width: 40%;
    }
}/* おすすめコンテンツ */
#recommendations {
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* マリオのピクロスらしいヘッダー装飾 */
#recommendations::before {
    content: "おすすめ";
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(90deg, var(--key-color), var(--sub-color));
    margin: -20px -20px 15px -20px;
    padding: 10px 20px;
    border-bottom: 4px dashed rgba(255, 255, 255, 0.5);
    position: relative;
}

/* ピクロスのグリッドを模した装飾 */
#recommendations::after {
    content: "";
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

#recommendations a.push0 {
    display: block;
    margin-bottom: 15px;
    padding: 12px;
    text-decoration: none;
    color: var(--base-text-color);
    background-color: white;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    z-index: 1;
    border-left: 5px solid var(--key-color);
    font-weight: 500;
    overflow: hidden;
}

#recommendations a.push0:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ホバー時のピクロス風エフェクト */
#recommendations a.push0::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        45deg,
        rgba(242, 130, 12, 0.1) 25%,
        transparent 25%,
        transparent 50%,
        rgba(242, 130, 12, 0.1) 50%,
        rgba(242, 130, 12, 0.1) 75%,
        transparent 75%
    );
    background-size: 10px 10px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: -1;
}

#recommendations a.push0:hover::after {
    opacity: 0.6;
}

#recommendations img.sneak {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 8px;
    border: 2px solid var(--base-bg-color);
    transition: transform 0.3s;
}

#recommendations a.push0:hover img.sneak {
    transform: scale(1.03);
}

/* スマホ対応 */
@media (max-width: 768px) {
    #recommendations {
        padding: 15px;
        margin: 20px 0;
    }

    #recommendations::before {
        font-size: 1.1rem;
        margin: -15px -15px 10px -15px;
        padding: 8px 15px;
    }

    #recommendations a.push0 {
        padding: 8px;
        margin-bottom: 10px;
    }
}/* フッター */
footer.copy {
    margin-top: 40px;
    padding: 25px 15px;
    background: linear-gradient(to bottom, var(--base-bg-color), #78c5f7);
    border-top: 4px solid var(--key-color);
    position: relative;
    color: #333;
    font-size: 0.9rem;
}

/* マリオのピクロス風のドット装飾 */
footer.copy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background-image: repeating-linear-gradient(
        to right,
        var(--key-color),
        var(--key-color) 8px,
        var(--sub-color) 8px,
        var(--sub-color) 16px
    );
}

/* ピクセルボーダー装飾 */
footer.copy::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    height: 4px;
    background-image: linear-gradient(to right,
        transparent, transparent 4px,
        rgba(0,0,0,0.1) 4px, rgba(0,0,0,0.1) 8px
    );
    background-size: 8px 4px;
}

.contact-info, .usage-terms, .copyright {
    max-width: 1000px;
    margin: 0 auto 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* マリオのピクロス風のブロック装飾 */
.contact-info::before, .usage-terms::before, .copyright::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><rect x="0" y="0" width="8" height="8" fill="%23f54913"/><rect x="8" y="8" width="8" height="8" fill="%23f54913"/><rect x="8" y="0" width="8" height="8" fill="%23f2820c"/><rect x="0" y="8" width="8" height="8" fill="%23f2820c"/></svg>') 2;
    pointer-events: none;
    border-radius: 8px;
}

.contact-info a {
    color: var(--key-color);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info a:hover {
    color: var(--sub-color);
    text-decoration: underline;
}

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

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

.copyright {
    text-align: center;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.copyright .push0 {
    display: inline-flex;
    align-items: center;
    color: var(--key-color);
    text-decoration: none;
    padding: 3px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.copyright .push0:hover {
    background-color: rgba(242, 130, 12, 0.1);
}

.copyright .push0 img {
    margin-right: 6px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    footer.copy {
        padding: 20px 10px;
    }

    .contact-info, .usage-terms, .copyright {
        padding: 12px;
        margin-bottom: 15px;
    }
}/* マリオのピクロス テーマCSS */
:root {
    --key-color: #f54913;
    --sub-color: #f2820c;
    --base-text-color: #000000;
    --section-bg-color: #ffffff;
    --base-bg-color: #9edffb;
    --mario-red: #f54913;
    --mario-yellow: #f2c60c;
    --grid-line: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 更新日とSNSシェアボタン */
.article-info {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.article-info .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.time {
    font-size: 0.85rem;
    color: #555;
    margin: 0;
}

.share-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.twitter-share-button {
    display: inline-block;
    min-width: 80px;
}

.fb-xfbml-parse-ignore {
    display: inline-block;
    margin-left: 10px;
}

.fb-xfbml-parse-ignore a {
    background-color: #4267B2;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background-color 0.2s;
    display: inline-block;
}

.fb-xfbml-parse-ignore a:hover {
    background-color: #365899;
    text-decoration: none;
}

/* モバイル対応 */
@media (max-width: 480px) {
    .article-info .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-buttons {
        margin-top: 8px;
    }
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
    background-color: var(--base-bg-color);
    color: var(--base-text-color);
    line-height: 1.6;
    padding: 0;
}

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* タイトルスタイル */
.picross-title {
    position: relative;
    text-align: center;
    font-size: 2.2rem;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    color: var(--key-color);
    text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff,
                 2px -2px 0 #fff, -2px 2px 0 #fff,
                 0px 2px 0 #fff, 0px -2px 0 #fff,
                 2px 0px 0 #fff, -2px 0px 0 #fff;
    overflow: hidden;
    animation: pixelReveal 3s ease-out forwards;
}

.picross-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        135deg,
        var(--key-color) 0px,
        var(--key-color) 10px,
        var(--sub-color) 10px,
        var(--sub-color) 20px
    );
    z-index: -1;
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><rect x="0" y="0" width="4" height="4" fill="black"/><rect x="4" y="4" width="4" height="4" fill="black"/><rect x="8" y="8" width="4" height="4" fill="black"/><rect x="12" y="12" width="4" height="4" fill="black"/><rect x="16" y="16" width="4" height="4" fill="black"/><rect x="20" y="20" width="4" height="4" fill="black"/><rect x="24" y="24" width="4" height="4" fill="black"/><rect x="28" y="28" width="4" height="4" fill="black"/></svg>');
    mask-size: 32px 32px;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><rect x="0" y="0" width="4" height="4" fill="black"/><rect x="4" y="4" width="4" height="4" fill="black"/><rect x="8" y="8" width="4" height="4" fill="black"/><rect x="12" y="12" width="4" height="4" fill="black"/><rect x="16" y="16" width="4" height="4" fill="black"/><rect x="20" y="20" width="4" height="4" fill="black"/><rect x="24" y="24" width="4" height="4" fill="black"/><rect x="28" y="28" width="4" height="4" fill="black"/></svg>');
    -webkit-mask-size: 32px 32px;
    border-radius: 16px;
    border: 4px solid var(--key-color);
}

.picross-title::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, transparent 0%, transparent 70%, var(--base-bg-color) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(0,0,0,0.1) 8px, rgba(0,0,0,0.1) 16px);
    z-index: -1;
    animation: labyrinthAnimation 5s infinite alternate;
}

.subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: normal;
    margin-top: 0.5rem;
    color: var(--sub-color);
}

/* セクションスタイル */
.guide-section {
    background-color: var(--section-bg-color);
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.guide-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--key-color), var(--sub-color));
}

.section-title {
    color: var(--key-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px dashed var(--sub-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: var(--key-color);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.action-description {
    font-size: 1.2rem;
    color: var(--sub-color);
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 4px solid var(--key-color);
}

figure {
    margin: 20px 0;
    text-align: center;
}

figure img {
    max-width: 100%;
    height: auto;
    border: 3px solid var(--key-color);
    border-radius: 8px;
}

figcaption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #666;
}

.instruction-text {
    font-weight: bold;
    margin-bottom: 10px;
}

.instruction-detail {
    margin-bottom: 15px;
    padding-left: 15px;
}

/* アニメーション */
@keyframes pixelReveal {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    30% {
        clip-path: inset(0 70% 0 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes labyrinthAnimation {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* パンくずリスト */
.breadcrumb-nav {
    margin-bottom: 20px;
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 10px 15px;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
}

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

.breadcrumb-item:not(:last-child)::after {
    content: ">";
    margin: 0 8px;
    color: var(--sub-color);
    font-weight: bold;
}

.breadcrumb-link {
    color: var(--key-color);
    text-decoration: none;
    transition: color 0.2s;
    padding: 2px 4px;
    border-radius: 3px;
}

.breadcrumb-link:hover {
    color: var(--sub-color);
    background-color: rgba(242, 130, 12, 0.1);
    text-decoration: underline;
}

.current-page {
    color: #666;
    font-weight: bold;
}

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

    .picross-title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .action-description {
        font-size: 1.1rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
        padding: 8px 10px;
    }

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

/* 関連記事セクション */
.related-articles {
    background: var(--bg-white);
    padding: 60px 20px;
    border-top: 2px solid var(--gb-light);
}

.related-title {
    text-align: center;
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 900;
    color: var(--gb-black);
    margin-bottom: 40px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.related-item {
    background: white;
    border: 2px solid var(--gb-dark);
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-color: var(--gb-black);
}

.related-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-bottom: 1px solid var(--gb-light);
}

.related-item span {
    padding: 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    display: block;
}

/* CTAセクション */
.cta-section {
    background: var(--gb-black);
    color: var(--gb-white);
    padding: 60px 20px;
    text-align: center;
    margin-top: 80px;
}

.cta-title {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background: var(--gb-white);
    color: var(--gb-black);
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
    border: 2px solid var(--gb-black);
    transition: all 0.2s;
    margin: 20px 10px;
}

.cta-button:hover {
    background: var(--gb-light);
    transform: scale(1.05);
}

.price-tag {
    font-size: 24px;
    margin: 30px 0;
    color: var(--gb-light);
}

.price-note {
    font-size: 14px;
    color: #aaa;
    margin-top: 10px;
}

/* フッター警告 */
.footer-warning {
    background: var(--bg-white);
    padding: 40px 20px;
    text-align: center;
    font-size: 12px;
    color: #666;
    line-height: 2;
    border-top: 2px solid var(--gb-light);
}

/* フッター */
footer.copy {
    background: #333;
    color: #fff;
    padding: 30px 20px;
    margin-top: 50px;
}

footer.copy .contact-info {
    margin-bottom: 20px;
}

footer.copy a {
    color: #9bbc0f;
    text-decoration: none;
}

footer.copy a:hover {
    text-decoration: underline;
}

footer.copy .usage-terms {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-left: 3px solid var(--gb-light);
}

footer.copy .copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #555;
}

/* トップ画像セクション */
.top-image-section {
    padding: 0;
    background: white;
}

.top-hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-bottom: 4px solid var(--gb-light);
}

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

    .game-card {
        padding: 20px 15px;
        margin: 20px 10px;
    }

    .rank-badge {
        font-size: 24px;
        padding: 8px 16px;
        right: 10px;
    }

    .game-screen {
        margin: 15px auto;
        border-width: 6px;
    }

    .poem-section {
        padding: 30px 15px;
    }

    .game-description li {
        padding-left: 25px;
        font-size: 15px;
    }

    .comparison-table {
        overflow-x: scroll;
    }

    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .related-item span {
        font-size: 12px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .criteria-grid {
        grid-template-columns: 1fr;
    }
}
