/*
Theme Name: Doraemon 100
Theme URI: https://doraemon100japan.com
Author: Your Name
Author URI: https://yoursite.com
Description: 100%ドラえもん&フレンズ in 東京のWordPressテーマ
Version: 1.0.0
License: GPL v2 or later
Text Domain: doraemon100
*/

/* WordPressコア用スタイル */
.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption-text {
    text-align: center;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* アーカイブページ用追加スタイル */
.news-archive {
    background: #00b8ee;
    min-height: 100vh;
    padding: 100px 0;
}

.archive-title {
    color: #fff;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 700;
}

.news-list {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-item {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.news-item a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.news-date {
    font-size: 0.9em;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.news-title {
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.6;
}

/* シングルページ用追加スタイル */
.single-news {
    background: #00b8ee;
    min-height: 100vh;
    padding: 100px 0;
}

.single-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
}

.single-header {
    border-bottom: 2px solid #00b8ee;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.single-title {
    color: #00b8ee;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.single-meta {
    color: #666;
    font-size: 0.9em;
}

.single-body {
    color: #333;
    line-height: 1.8;
}

.single-body h2 {
    color: #00b8ee;
    margin: 30px 0 15px;
    font-size: 1.5em;
}

.single-body h3 {
    color: #00b8ee;
    margin: 25px 0 10px;
    font-size: 1.3em;
}

.single-body p {
    margin-bottom: 20px;
}

.single-body img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.back-to-news {
    text-align: center;
    margin-top: 40px;
}

.back-to-news a {
    display: inline-block;
    padding: 10px 30px;
    background: #00b8ee;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.back-to-news a:hover {
    background: #0099cc;
    transform: translateY(-2px);
}

/* ページネーション */
.pagination {
    text-align: center;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination .current {
    background: #fff;
    color: #00b8ee;
}

.pagination a:hover {
    background: rgba(255, 255, 255, 0.3);
}