/*
Theme Name: Simple Theme
Theme URI: http://example.com/
Author: Your Name
Author URI: http://example.com/
Description: シンプルで実用的なWordPressテーマ
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: simple-theme
Domain Path: /languages

This theme, like WordPress, is licensed under the GPL v2 or later.
*/

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

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #fff;
}

a {
	color: #0073aa;
	text-decoration: none;
}

a:hover {
	color: #005a87;
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	margin: 1em 0 0.5em 0;
	line-height: 1.2;
}

h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.25em; }

p {
	margin-bottom: 1em;
}

.site {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

header {
	background-color: #f5f5f5;
	padding: 20px 0;
	margin: 0;
	display: block;
	position: relative;
	z-index: 1000;
}

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

.header-left {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 15px;
}

.site-logo-link {
	display: inline-block;
	flex-shrink: 0;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.site-logo-link:hover {
	opacity: 0.7;
}

.site-logo-link img {
	display: block;
	max-width: 100%;
	height: auto;
}

.header-right {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 20px;
}

/* ハンバーガーメニューボタン */
.hamburger-menu-btn {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	width: 40px;
	height: 40px;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
}

.hamburger-menu-btn span {
	display: block;
	width: 24px;
	height: 3px;
	background-color: #333;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.hamburger-menu-btn.active span:nth-child(1) {
	transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-menu-btn.active span:nth-child(2) {
	opacity: 0;
}

.hamburger-menu-btn.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

.site-title {
	font-size: 1.5em;
	margin: 0;
}

.site-title a {
	color: #000;
}

nav {
	margin: 0;
}

.nav-menu {
	list-style: none;
	display: flex !important;
	gap: 20px;
	margin: 0 !important;
	padding: 0 !important;
	flex-wrap: wrap;
}

.nav-menu li {
	display: inline-block !important;
	margin: 0 !important;
	padding: 0 !important;
}

.nav-menu a {
	color: #333;
	display: block;
	padding: 10px 5px;
	white-space: nowrap;
}

nav ul {
	list-style: none;
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
}

main {
	margin: 0;
	display: block;
}

.post {
	margin-bottom: 40px;
	padding-bottom: 40px;
}

.post-title {
	margin-top: 0;
}

.post-meta {
	color: #666;
	font-size: 0.9em;
	margin-bottom: 10px;
}

footer {
	background-color: #f5f5f5;
	border-top: 1px solid #ddd;
	padding: 40px 0 20px;
	margin-top: 0;
	color: #666;
	font-size: 0.9em;
}

footer .site {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
}

.footer-menu {
	list-style: none;
	display: flex !important;
	gap: 30px;
	margin: 0 !important;
	padding: 0 !important;
	justify-content: center;
	flex-wrap: wrap;
}

.footer-menu li {
	display: inline-block !important;
	margin: 0 !important;
	padding: 0 !important;
}

.footer-menu a {
	color: #666;
	text-decoration: none;
}

.footer-menu a:hover {
	color: #333;
	text-decoration: underline;
}

.sidebar {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid #ddd;
}

.widget {
	margin-bottom: 30px;
}

.widget-title {
	font-size: 1.1em;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid #0073aa;
}

.widget ul {
	list-style: none;
}

.widget li {
	margin-bottom: 8px;
}

/* Front Page Styles */
/* メインビジュアル（100%横幅） */
.front-page-hero {
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	margin-top: 0;
	margin-bottom: 60px;
	position: relative;
	display: block;
}

.front-page-hero img {
	display: block;
	width: 100%;
	height: auto;
}

/* メインビジュアルのグラデーションオーバーレイ */
.front-page-hero::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 150px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
	pointer-events: none;
}

/* フロントページコンテナ */
.front-page-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* タイトルセクション */
.front-page-title-section {
	text-align: center;
	margin-bottom: 60px;
	padding: 0;
	border-bottom: 2px solid #eee;
	padding-bottom: 40px;
}

.front-page-title {
	font-size: 3em;
	margin: 0;
	color: #333;
	font-weight: 700;
}

/* ロゴセクション */
.front-page-logo-section {
	text-align: center;
	margin-bottom: 0;
	padding: 20px 0 60px 0;
}

.front-page-logo-section img {
	max-width: 400px;
	height: auto;
	display: inline-block;
}

.site-logo-fallback {
	font-size: 3em;
	font-weight: 700;
	color: #0073aa;
	margin: 0;
}

/* インフォセクション */
.front-page-info-section {
	margin-bottom: 80px;
	padding: 60px 0;
	background-color: #f9f9f9;
	border-radius: 8px;
	padding: 40px;
}

.info-title {
	font-size: 2em;
	margin-top: 0;
	margin-bottom: 30px;
	text-align: center;
	color: #333;
	text-transform: uppercase;
}

.info-content {
	max-width: 800px;
	margin: 0 auto;
	font-size: 1.05em;
	line-height: 1.8;
	color: #555;
}

.info-timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.info-timeline::before {
	content: '';
	position: absolute;
	left: 30px;
	top: 0;
	bottom: 0;
	width: 2px;
	background-color: #0073aa;
}

.info-item {
	margin-bottom: 30px;
	padding-left: 100px;
	position: relative;
}

.info-item::before {
	content: '';
	position: absolute;
	left: 16px;
	top: 5px;
	width: 28px;
	height: 28px;
	background-color: #0073aa;
	border: 4px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.info-item time {
	display: block;
	font-weight: bold;
	color: #0073aa;
	margin-bottom: 8px;
	font-size: 0.95em;
}

.info-item time span {
	font-size: 1.2em;
	margin-right: 5px;
}

.info-item p {
	margin: 0;
	color: #555;
	font-size: 0.95em;
}

.info-content h2 {
	font-size: 1.5em;
	margin-top: 30px;
	margin-bottom: 15px;
}

.info-content h3 {
	font-size: 1.25em;
	margin-top: 25px;
	margin-bottom: 12px;
}

.info-content p {
	margin-bottom: 15px;
}

.info-content ul,
.info-content ol {
	margin-bottom: 15px;
	margin-left: 20px;
}

.info-content li {
	margin-bottom: 8px;
}

/* コンタクトセクション */
.front-page-contact-section {
	margin-top: 80px;
	padding: 60px 0;
	background-color: #fff;
}

/* Contact Form 7 のスタイル */
.wpcf7-form {
	display: grid;
	gap: 15px;
}

.wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
	width: 100%;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-family: inherit;
	font-size: 16px;
	box-sizing: border-box;
	transition: border-color 0.3s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.wpcf7-form textarea {
	resize: vertical;
	min-height: 150px;
}

.wpcf7-form-submit {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

.wpcf7-form-submit,
.wpcf7-form-submit button,
.wpcf7-form-submit input[type="submit"],
p input[type="submit"].wpcf7-form-control {
	background-color: #0096FA !important;
	color: #fff !important;
	padding: 18px 70px !important;
	border: none !important;
	border-radius: 6px !important;
	font-weight: 700 !important;
	font-size: 18px !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	box-shadow: 0 4px 12px rgba(0, 150, 250, 0.3) !important;
	display: block !important;
	margin: 20px auto 0 !important;
}

.wpcf7-form-submit button:hover,
.wpcf7-form-submit input[type="submit"]:hover,
p input[type="submit"].wpcf7-form-control:hover {
	background-color: #0084D1 !important;
	box-shadow: 0 6px 20px rgba(0, 150, 250, 0.4) !important;
	transform: translateY(-2px) !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.wpcf7-form input[type="text"],
	.wpcf7-form input[type="email"],
	.wpcf7-form input[type="tel"],
	.wpcf7-form textarea,
	.wpcf7-form select {
		font-size: 16px;
		padding: 12px;
	}

	.wpcf7-form-submit button,
	.wpcf7-form-submit input[type="submit"] {
		padding: 12px 40px;
		font-size: 14px;
	}
}

/* スペシャルサンクスセクション */
.front-page-thanks-section {
	margin-top: 40px;
	margin-bottom: 0;
	padding: 30px 0;
	background-color: #f9f9f9;
}

.thanks-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 20px;
}

.thanks-card {
	text-align: center;
	padding: 10px;
}

.thanks-role {
	font-size: 0.9em;
	color: #0073aa;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

.thanks-name {
	font-size: 1.2em;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
}

.thanks-twitter {
	display: inline-block;
	transition: opacity 0.3s ease;
	text-decoration: none;
}

.thanks-twitter:hover {
	opacity: 0.7;
}

.thanks-twitter-icon {
	fill: #000;
	width: 24px;
	height: 24px;
}

/* レスポンシブ：タブレット */
@media (max-width: 1024px) {
	.thanks-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}
}

/* レスポンシブ：モバイル */
@media (max-width: 768px) {
	.thanks-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.front-page-thanks-section {
		padding: 40px 0;
	}
}

.button-primary {
	display: inline-block;
	background-color: #0073aa;
	color: #fff;
	padding: 12px 30px;
	border-radius: 4px;
	transition: background-color 0.3s ease;
	font-weight: 500;
}

.button-primary:hover {
	background-color: #005a87;
	text-decoration: none;
}

/* Page & Post Styles */

.page-main-content {
	max-width: 900px;
	margin: 40px auto;
	padding: 40px 20px;
	min-height: calc(100vh - 200px);
	border-radius: 8px;
}

.page-post {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

/* ブロックのスタイル */
.post-block {
	margin-bottom: 20px;
}

.post-block:last-child {
	margin-bottom: 0;
}

/* ポストブロック内のスタイル */

.post-block .post-header {
	background-color: transparent;
	border-bottom: none;
	padding: 0;
	position: static;
	z-index: auto;
}

.post-block .post-title {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 2em;
	text-align: center;
	background-color: transparent;
	border: none;
}

.post-block .post-meta {
	margin-bottom: 0;
}

.post-block .post-content {
	font-size: 1.05em;
	line-height: 1.8;
	color: #333;
	background-color: rgba(255, 255, 255, 0.85);
	padding: 30px;
	border: 4px solid #0073aa;
	border-radius: 8px;
	backdrop-filter: blur(10px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.post-block .post-content h2 {
	font-size: 1.5em;
	margin-top: 25px;
	margin-bottom: 15px;
}

.post-block .post-content h3 {
	font-size: 1.25em;
	margin-top: 20px;
	margin-bottom: 12px;
}

.post-block .post-content p {
	margin-bottom: 1.2em;
}

.post-block .post-content ul,
.post-block .post-content ol {
	margin-left: 20px;
	margin-bottom: 1.2em;
}

.post-block .post-content li {
	margin-bottom: 8px;
}

.post-block .post-thumbnail {
	margin: -30px -30px 20px -30px;
	overflow: hidden;
	border-radius: 8px 8px 0 0;
}

.post-block .post-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

.post-block .post-footer {
	margin-top: 20px;
	padding-top: 15px;
	border-top: 1px solid #ddd;
}

.post-block .tags {
	color: #666;
	font-size: 0.95em;
	margin: 0;
}

/* ナビゲーション */
.post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 40px;
}

.nav-previous,
.nav-next {
	flex: 1;
}

.nav-previous a,
.nav-next a {
	display: block;
	color: #0073aa;
	padding: 15px;
	border: 2px solid #0073aa;
	border-radius: 4px;
	transition: all 0.3s ease;
	font-weight: 500;
}

.nav-previous a:hover,
.nav-next a:hover {
	background-color: #0073aa;
	color: #fff;
	text-decoration: none;
}

/* ページサイドバー */
.page-sidebar {
	margin-top: 40px;
}

.sidebar {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.widget {
	margin-bottom: 0;
}

.widget-title {
	font-size: 1em;
	margin-bottom: 12px;
	padding-bottom: 8px;
}

/* Circles Archive */
.circles-archive-header {
	text-align: center;
	padding: 40px 0 20px;
}

.circles-archive-header h1 {
	font-size: 2.5em;
	margin: 0;
	color: #333;
}

.post-block .circles-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	padding: 20px;
	border: 4px solid #0073aa;
	border-radius: 4px;
	background-color: #fff;
}

.circles-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	padding: 40px 0;
}

.circle-item {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circle-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.circle-image {
	width: 100%;
	height: 250px;
	overflow: hidden;
}

.circle-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.circle-content {
	padding: 20px;
}

.circle-title {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 10px 0;
	color: #333;
	line-height: 1.4;
}

.circle-description {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin-bottom: 15px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.circle-sns-links {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #f0f0f0;
}

.circle-sns-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	opacity: 1;
	transition: opacity 0.3s ease;
}

.circle-sns-link:hover {
	opacity: 0.7;
}

.circle-sns-link svg {
	width: 100%;
	height: 100%;
}

.circle-sns-twitter svg {
	filter: none;
}

.circle-sns-pixiv {
	margin-left: auto;
}

.circle-sns-pixiv svg {
	filter: none;
}

/* レスポンシブ：タブレット */
@media (max-width: 992px) {
	.post-block .circles-grid,
	.circles-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.circles-archive-header h1 {
		font-size: 2em;
	}
}

/* レスポンシブ：モバイル */
@media (max-width: 768px) {
	/* フロントページロゴセクション */
	.front-page-logo-section img {
		max-width: 200px;
	}

	.front-page-logo-section {
		padding: 15px 0 30px 0;
	}

	/* ヘッダーを薄くする */
	header {
		padding: 12px 0;
		min-height: 50px !important;
	}

	header .site {
		flex-wrap: wrap;
	}

	.header-left {
		flex-shrink: 0;
		display: flex;
		align-items: center;
		gap: 10px;
	}

	.site-title {
		font-size: 1.1em;
		margin: 0;
	}

	.site-logo-link img {
		height: 40px !important;
		width: auto;
	}

	/* ハンバーガーメニュー */
	.hamburger-menu-btn {
		display: flex;
	}

	.nav-menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: #fff;
		border-bottom: 1px solid #ddd;
		flex-direction: column !important;
		gap: 0 !important;
		padding: 15px 0 !important;
		margin-top: 0 !important;
		display: flex !important;
		visibility: hidden;
		max-height: 0;
		overflow-y: auto;
		transition: max-height 0.3s ease, visibility 0.3s ease;
		z-index: 100;
	}

	.nav-menu.active {
		visibility: visible;
		max-height: 500px;
	}

	body.nav-menu-active {
		overflow-y: auto;
	}

	.nav-menu li {
		padding: 0;
	}

	.nav-menu a {
		display: block;
		padding: 12px 20px !important;
		border-bottom: 1px solid #f0f0f0;
	}

	.nav-menu li:last-child a {
		border-bottom: none;
	}

	header {
		position: relative;
	}

	/* サークルグリッド */
	.post-block .circles-grid,
	.circles-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		padding: 20px 0;
	}

	.circles-archive-header {
		padding: 20px 0 15px;
	}

	.circles-archive-header h1 {
		font-size: 1.5em;
	}

	.circle-item {
		display: flex;
		flex-direction: row;
	}

	.circle-image {
		width: 100px;
		min-width: 100px;
		height: 100px;
	}

	.circle-content {
		flex: 1;
		display: flex;
		flex-direction: column;
		padding: 10px;
	}

	.circle-title {
		font-size: 14px;
		margin-bottom: 5px;
	}

	.circle-description {
		-webkit-line-clamp: 2;
		font-size: 12px;
		margin-bottom: 10px;
	}

	.circle-sns-links {
		gap: 8px;
		margin-top: auto;
	}

	.circle-sns-link {
		width: 24px;
		height: 24px;
	}
}

/* ライトボックス */
#circle-lightbox {
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	z-index: 99998;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

#circle-lightbox.active {
	opacity: 1;
	pointer-events: auto;
}

.lightbox-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 60px 20px 20px;
}

.lightbox-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
	transform: scale(0.9);
	transition: transform 0.3s ease;
}

#circle-lightbox.active .lightbox-img {
	transform: scale(1);
}

.lightbox-close {
	position: fixed;
	top: 16px;
	right: 20px;
	background: rgba(255, 255, 255, 0.15);
	border: 2px solid rgba(255, 255, 255, 0.6);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
	z-index: 99999;
}

.lightbox-close:hover {
	background: rgba(255, 255, 255, 0.3);
}

body.lightbox-open {
	overflow: hidden;
	padding-right: var(--scrollbar-width, 0px);
}

/* 超小型スマートフォン用 */
@media (max-width: 480px) {
	/* フロントページロゴセクション */
	.front-page-logo-section img {
		max-width: 150px;
	}

	.front-page-logo-section {
		padding: 10px 0 20px 0;
	}

	/* ヘッダーをさらに薄くする */
	header {
		padding: 8px 0;
		min-height: 45px !important;
	}

	.site-title {
		font-size: 1em;
	}

	.site-logo-link img {
		height: 32px !important;
	}

	.post-block .circles-grid,
	.circles-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.circle-item {
		display: flex;
		flex-direction: column;
	}

	.circle-image {
		width: 100%;
		height: auto;
		aspect-ratio: 3 / 4;
	}

	.circle-content {
		padding: 12px;
	}

	.circle-title {
		font-size: 14px;
		margin-bottom: 8px;
	}

	.circle-description {
		font-size: 12px;
		-webkit-line-clamp: 3;
		margin-bottom: 10px;
	}

	.circle-sns-links {
		gap: 10px;
	}

	.circle-sns-link {
		width: 24px;
		height: 24px;
	}
}
