/*
Theme Name: BlankSlate
Theme URI: https://opencollective.com/blankslate
Author: Web Guy
Author URI: https://opencollective.com/blankslate#section-contributors
Description: Donate: https://opencollective.com/blankslate. Learn: https://blankslate.me/. BlankSlate is the definitive WordPress boilerplate starter theme. I've carefully constructed the most clean and minimalist theme possible for designers and developers to use as a base to build websites for clients or to build completely custom themes from scratch. Clean, simple, unstyled, semi-minified, unformatted, and valid code, SEO-friendly, jQuery-enabled, no programmer comments, standardized and as white label as possible, and most importantly, the CSS is reset for cross-browser-compatability, with no intrusive visual CSS styles added whatsoever. A perfect skeleton theme. For support and suggestions, go to: https://github.com/webguyio/blankslate/issues. Thank you.
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2026
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate

BlankSlate WordPress Theme 2011-2026
BlankSlate is distributed under the terms of the GNU GPL
*/

/* BlankSlate デフォルトのリセットCSS（ここは絶対に触らない！） */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{appearance:none;border-radius:0}input[type="search"]{appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}

/* 
 * ============================================
 * ここから下を追加（王道ファンタジーRPG風に書き換え！）
 * ============================================
 */

/* 変数（前回の「追加CSS」の魔法の色使いと統一します） */
:root {
    --bg-color: #121316;
    --text-color: #e3d7bf;
    --accent-color: #c5a059;
    --border-color: #383227;
    --surface-color: #1a1b20;
}

/* -----------------------------------
 * フッター（ページの一番下）
 * ----------------------------------- */
#footer {
    text-align: center;
    border-top: 2px solid var(--border-color);
    padding-top: 20px;
    margin-top: 50px;
    font-size: 0.9rem;
    color: #8b806a; /* 暗めのアンティークカラー */
}

/* -----------------------------------
 * ヘッダーメニュー（RPGのコマンド選択風）
 * ----------------------------------- */
.menu ul {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px 0;
    list-style: none;
    flex-wrap: wrap; /* スマホで綺麗に折り返す */
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}

.menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 8px 16px;
    border: 1px solid transparent;
    transition: 0.3s;
    letter-spacing: 1px;
}

/* マウスを乗せるとコマンドが光るエフェクト */
.menu a:hover {
    color: #ffffff;
    background-color: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    box-shadow: inset 0 0 10px rgba(197, 160, 89, 0.2);
}

/* コマンドの左側に「◆」マークを隠しておく */
.menu a::before {
    content: "◆ ";
    color: var(--accent-color);
    font-size: 0.8em;
    opacity: 0;
    transition: 0.3s;
}

/* マウスを乗せると「◆」が出現する */
.menu a:hover::before {
    opacity: 1;
}

/* -----------------------------------
 * 検索フォーム（魔法の探求・アンティーク風）
 * ----------------------------------- */
.search-form {
    text-align: center;
    margin-top: 20px;
}

/* 検索の入力エリア */
.search-form input[type="search"] {
    background-color: #0a0a0c;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 10px 15px;
    font-family: inherit;
    border-radius: 4px 0 0 4px;
    width: 60%;
    max-width: 300px;
    transition: 0.3s;
}

/* 入力中に枠が光る */
.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(197, 160, 89, 0.3);
}

/* 検索ボタン */
.search-form input[type="submit"] {
    background-color: #292317;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 10px 20px;
    font-family: inherit;
    cursor: pointer;
    font-weight: bold;
    border-radius: 0 4px 4px 0;
    margin-left: -5px; /* 入力欄とボタンの隙間をピッタリくっつける */
    transition: 0.3s;
}

/* 検索ボタンにマウスを乗せた時 */
.search-form input[type="submit"]:hover {
    background-color: var(--accent-color);
    color: #121316;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
}

/* -----------------------------------
 * コードブロック・引用（攻略のメモ書き風）
 * ----------------------------------- */
pre, code {
    background-color: #0a0a0c;
    color: #d4af37; /* ゴールドの文字 */
    padding: 15px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    display: block;
    overflow-x: auto;
    font-family: monospace;
    border-radius: 4px;
}

/* -----------------------------------
 * コメント欄（ギルドのタレコミ掲示板）の装飾
 * ----------------------------------- */
#comments {
    background: #141518;
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 6px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
}

/* 他の冒険者のコメントブロック */
.comment-list li {
    background: #1a1b20;
    border: 1px solid #383227;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* コメントした人の名前 */
.comment-author {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1em;
}

/* コメントへの返信リンク */
.comment-reply-link {
    color: #2dd4bf; /* 魔力っぽい青緑色 */
    font-size: 0.9em;
    border: 1px solid #2dd4bf;
    padding: 3px 8px;
    border-radius: 3px;
    transition: 0.3s;
}
.comment-reply-link:hover {
    background: #2dd4bf;
    color: #000;
}

/* 入力フォーム（名前や本文を書く場所）の暗黒化 */
#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"],
#respond textarea {
    background: #0a0a0c;
    border: 1px solid #383227;
    color: var(--text-color);
    padding: 12px;
    width: 100%;
    max-width: 100%;
    border-radius: 4px;
    font-family: inherit;
    margin-bottom: 15px;
    box-sizing: border-box;
}

/* 入力中に枠が光る */
#respond input:focus, #respond textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(197, 160, 89, 0.3);
}

/* 送信ボタン（報告書を提出する） */
#respond input[type="submit"] {
    background: #292317;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 12px 25px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
    font-family: inherit;
    letter-spacing: 1px;
}

#respond input[type="submit"]:hover {
    background: var(--accent-color);
    color: #121316;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.5);
}

/* -----------------------------------
 * コメント欄の「見づらさ」を解消する魔法
 * ----------------------------------- */

/* 「〇〇としてログインしています」の文字を小さく・暗くして目立たなくする */
.logged-in-as {
    font-size: 0.85em;
    color: #8b806a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #383227;
}

/* ログアウトなどのリンク色をアンティーク風に */
.logged-in-as a {
    color: var(--accent-color);
    text-decoration: underline;
    margin: 0 5px;
}

/* 「コメント ※」などのラベル（見出し）を綺麗に配置する */
.comment-form label {
    display: block;
    font-weight: bold;
    color: #e3d7bf;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

/* 必須マーク（※）を赤くして分かりやすく */
.comment-form .required {
    color: #e63946;
    margin-left: 5px;
}

/* 入力エリアごとのスキマ（余白）をしっかりとる */
.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 25px;
}

/* 「投稿ナビゲーション（←前の投稿）」との間隔を空ける */
.footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}