@charset "utf-8";

/*
Theme Name: MyTheme
Author: Yousuke
Description: original my theme
Version： 1.0.0
*/

.has-black-color {
	color: #000000;
}

.has-cyan-bluish-gray-color {
	color: #abb8c3;
}

.has-white-color {
	color: #ffffff;
}

.has-pale-pink-color {
	color: #f78da7;
}

.has-vivid-red-color {
	color: #cf2e2e;
}

.has-luminous-vivid-orange-color {
	color: #ff6900;
}

.has-luminous-vivid-amber-color {
	color: #fcb900;
}

.has-light-green-cyan-color {
	color: #7bdcb5;
}

.has-vivid-green-cyan-color {
	color: #00d084;
}

.has-pale-cyan-blue-color {
	color: #8ed1fc;
}

.has-vivid-cyan-blue-color {
	color: #0693e3;
}

.has-vivid-purple-color {
	color: #9b51e0;
}

body {
	background-color: #111;
	color: #fff;
	font-family: 'Arial', sans-serif;
	line-height: 1.6;
	font-size: 18px;
	padding: 0;
	margin: 0;
}

a {
	color: rgb(113, 176, 254);
	text-decoration: none;
	transition: color 0.3s;
}

a:hover {
	color: #0ff;
}

header,
footer {
	background: #222;
	padding: 5px;
}

#header-top {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.site-branding {
	display: flex;
	align-items: center;
}

#site-logo {
	width: 48px;
	height: 48px;
	margin-left: 15px;
}

#site-title {
	margin: 0;
}

#site-title a {
	color: #fff;
	margin-left: 10px;
	background: linear-gradient(to right, #8a8af1, #c4fbfb);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.site-description {
	color: #aaa;
	margin-left: 15px;
	margin-top: 5px;
	font-size: 1em;
}

/* フッターメニュー */

ul.footer-menu {
	list-style: none;
	padding: 20px;
	margin: 0;
}

ul.footer-menu li {
	margin: 10px;
	padding: 0;
}

/* メニュー */
ul.menu {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.menu li {
	width: 25%;
	margin: 0;
	padding: 0;
	text-align: center;
}

ul.menu li a {
	display: block;
	padding: 12px 20px;
	color: #fff;
	text-decoration: none;
	transition: background-color 0.3s;
}

ul.menu li a:hover {
	background-color: #444;
}

main {
	padding: 10px;
	background: #222;
	max-width: 1100px;
	margin: 20px auto;
}

h1 {
	font-size: 28px;
	color: #fff;
	margin: 20px;
}

.article-list {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 20px 0;
	gap: 20px;
}

.article-item {
	width: 300px;
	height: 300px;
	max-width: 100%;
	text-align: left;
	transition: 0.5s;
}


.article-item a:hover {
	color: cyan;
}

.article-item a {
	color: #fff;
}

.article-item img {
	max-width: 100%;
	height: auto;
}

.post-featured-image img {
	max-width: 100%;
	height: auto;
}

.article-item .img-wrap {
	position: relative;
	overflow: hidden;
}

.article-item .post-date {
	position: absolute;
	bottom: 10px;
	right: 5px;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.6);
	padding: 5px;
	font-size: 14px;
	border-radius: 3px;
}


.article-item h2 {
	font-size: 16px;
	margin: 0;
	padding: 0 0 5px 5px;
}

.article-item .text-wrap {
	display: flex;
	align-items: center;
	padding: 0 10px;
}

.article-main h2 {
	font-size: 22px;
	color: aqua;
	border-bottom: 1px solid aqua;
	padding-bottom: 5px;
}

.article-info .article-cat {
	display: flex;
	align-items: center;
}

.article-info .article-cat a {
	padding: 5px;
	margin-top: 5px;
}

.article-author {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	text-align: right;
}

.article-date {
	display: flex;
	align-items: center;
}

.article-author svg,
time svg {
	margin: -3px 5px 0 0;
}

figure {
	margin: 0 10px;
}

figure img {
	max-width: 100%;
	height: auto;
}

figcaption {
	font-size: 12px;
	margin-left: 4px;
	color: beige;
}

footer .copyright {
	text-align: center;
}

pre {
	font-family: 'Courier New', monospace;
	background: #000;
	color: #FFF;
	padding: 10px;
	white-space: pre;
}

p code {
	font-weight: bold;
	margin: 0 6px;
}

.dark-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin-bottom: 1.5em;
	background-color: #1a1a1a;
	color: #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
}

table th,
table td {
	padding: 12px 15px;
	border: 1px solid #333;
	text-align: left;
	vertical-align: middle;
}

table th {
	background-color: #2c2c2c;
	font-weight: bold;
	color: #f0f0f0;
	text-transform: uppercase;
}

/* 関連アイテム */
.related-posts {
	padding: 15px;
	margin: 20px 0;
}

.related-posts ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.related-posts ul li {
	margin-bottom: 10px;
}

.related-posts ul li a {
	display: flex;
	text-decoration: none;
	color: #FFF;
	background-color: #333;
	padding: 12px 15px;
	border-radius: 8px;
	transition: background-color 0.3s;

}

.related-posts ul li a:hover,
.related-posts ul li a:active {
	background-color: #555;
}

/* ページネーション */
.pagination ul.page-numbers {
	display: flex;
	justify-content: center;
	list-style: none;
	padding: 0;
	margin: 20px 0;
}

.pagination ul.page-numbers li {
	margin: 0 5px;
}

.pagination ul.page-numbers a,
.pagination ul.page-numbers span {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	border-radius: 5px;
	text-decoration: none;
	color: #fff;
	font-size: 16px;
}

.pagination ul.page-numbers a:hover {
	background-color: #815656;
}

.pagination ul.page-numbers .current {
	background-color: #007bff;
	color: #fff;
	border-color: #007bff;
}

.pagination ul.page-numbers .next i.material-symbols-outlined {
	font-size: 20px;
}

.pagination ul.page-numbers .dots {
	color: #ccc;
	border: none;
}

/* フォームスタイル */
form {
	margin: 20px;
}

form label {
	display: block;
	margin-bottom: 8px;
	color: #ccc;
	font-size: 14px;
	font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="url"],
form input[type="number"],
form input[type="password"],
form textarea,
form select {
	width: 100%;
	padding: 12px 15px;
	margin-bottom: 20px;
	background: #222;
	border: 1px solid #444;
	border-radius: 4px;
	color: #fff;
	font-size: 16px;
	font-family: 'Arial', sans-serif;
	transition: all 0.3s ease;
	box-sizing: border-box;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form input[type="url"]:focus,
form input[type="number"]:focus,
form input[type="password"]:focus,
form textarea:focus,
form select:focus {
	outline: none;
	border-color: #0693e3;
	background: #2a2a2a;
	box-shadow: 0 0 0 3px rgba(6, 147, 227, 0.1);
}

form input::placeholder,
form textarea::placeholder {
	color: #666;
}

form textarea {
	min-height: 120px;
	resize: vertical;
}

form select {
	cursor: pointer;
}

form button[type="submit"],
form input[type="submit"] {
	width: 100%;
	padding: 14px 20px;
	background: linear-gradient(135deg, #0693e3 0%, #00d084 100%);
	border: none;
	border-radius: 4px;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

form button[type="submit"]:hover,
form input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
	background: linear-gradient(135deg, #0580c7 0%, #00b870 100%);
}

form button[type="submit"]:active,
form input[type="submit"]:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

form .form-group {
	margin-bottom: 20px;
}

form .form-row {
	display: flex;
	gap: 15px;
}

form .form-row .form-group {
	flex: 1;
}

form .error-message {
	color: #ff6b6b;
	font-size: 13px;
	margin-top: -15px;
	margin-bottom: 15px;
	display: block;
}

form .success-message {
	color: #51cf66;
	font-size: 13px;
	margin-top: -15px;
	margin-bottom: 15px;
	display: block;
}

/* チェックボックスとラジオボタン */
form input[type="checkbox"],
form input[type="radio"] {
	width: auto;
	margin-right: 8px;
	cursor: pointer;
}

form .checkbox-group,
form .radio-group {
	margin-bottom: 20px;
}

form .checkbox-group label,
form .radio-group label {
	display: inline-flex;
	align-items: center;
	font-weight: normal;
	margin-bottom: 8px;
	cursor: pointer;
}

/* 必須マーク */
form .required {
	color: #ff6b6b;
	margin-left: 4px;
}


/* 検索フォーム */
.search-form-container {
	padding: 10px 20px;
}

.search-form-container form {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
}

.search-form-container input[type="search"] {
	width: 200px;
	padding: 8px;
	background: #1a1a1a;
	border: 1px solid #444;
	border-radius: 3px;
	color: #fff;
	font-size: 14px;
	transition: all 0.3s;
	margin-top: 8px;
}

.search-form-container input[type="search"]:focus {
	outline: none;
	border-color: #666;
	background: #222;
}

.search-form-container input[type="search"]::placeholder {
	color: #777;
}

.search-form-container button[type="submit"],
.search-form-container input[type="submit"] {
	width: 60px;
	padding: 6px;
	background: #000000;
	border: 1px solid #444;
	border-radius: 3px;
	color: #ccc;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s;
}

.search-form-container button[type="submit"]:hover,
.search-form-container input[type="submit"]:hover {
	background: #444;
	color: #fff;
	border-color: #555;
}


@media (max-width: 768px) {
	body {
		font-size: 16px;
	}

	main {
		padding: 10px;
	}

	.sidebar {
		order: 1;
	}

	.contents {
		order: 2;
	}

}

/* 目次 */
.table-of-contents {
	background-color: #1a1a1a;
	border: 1px solid #333;
	border-radius: 8px;
	padding: 20px;
	margin: 30px 0;
}

.table-of-contents .toc-title {
	font-size: 18px;
	font-weight: bold;
	color: #fff;
	margin: 0 0 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid #333;
	text-align: center;
}

.table-of-contents ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.table-of-contents ul li {
	margin-bottom: 10px;
}

.table-of-contents ul li:last-child {
	margin-bottom: 0;
}

.table-of-contents ul li a {
	display: block;
	color: #ccc;
	text-decoration: none;
	padding: 8px 12px;
	border-radius: 4px;
	transition: all 0.3s ease;
	background-color: #222;
}

.table-of-contents ul li a:hover {
	background-color: #333;
	color: #fff;
	padding-left: 20px;
	border-left: 3px solid #0693e3;
}