/*
Theme Name: Original Theme
Author: Yuka
Description: Jisaku HTML base theme
Version: 1.0
*/


/* ===============================
カラーバリエーション
================================ */
:root {
	--main-bg: #fdf6f0;          /* 柔らかいクリーム */
	--main-color: #5a4d41;       /* 落ち着いたブラウン */
	--text-color: #3a3a3a;       /* ナチュラルなダークグレー */
	--accent: #a07c5c;           /* アクセントカラー（テラコッタ系） */
	--sub-accent: #d9cbb7;       /* 補助カラー（ベージュ） */
	--white: #ffffff;
	--shadow-light: rgba(0,0,0,0.05);
	--shadow-medium: rgba(0,0,0,0.1);
}

/* ===============================
全体・ベース設定
================================ */
* { 
	color: var(--text-color);
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Noto Sans JP', 'Poppins', sans-serif;
	font-size: 16px;
	line-height: 1.8;
	background-color: var(--main-bg);
}

.wrapper {
	max-width: 1000px;
	margin: 0 auto;
	padding: 2rem 1rem;
}

/* メインコンテンツ */
main {
	background: var(--white);
	border-radius: 12px;
	padding: 2rem;
	min-height: 80vh;
	box-shadow: 0 4px 12px var(--shadow-light);
}

section {
	margin: 2rem auto;
	max-width: 1200px;
	padding: 40px 20px;
}

/* スクロールバー */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}
::-webkit-scrollbar-thumb {
	background-color: #006d9c;
	border-radius: 10px;
	border: 2px solid transparent;
	background-clip: content-box;
}
::-webkit-scrollbar-track {
	background-color: #333;
	border-radius: 10px;
}

p { margin: 1rem 0; }

a { color: #487d8b; }

a:hover { color: #a07c5c; }

/* ===============================
ヘッダー
================================ */
header {
	position: sticky;
	top: 0;
	background: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 1rem;
	box-shadow: 0 2px 8px var(--shadow-light);
	z-index: 1000;
}

header h1 {
	font-size: 1.6rem;
	color: var(--main-color);
	font-weight: 700;
	text-align: center;
	margin: 0;
}

header a {
	color: var(--accent);
	text-decoration: none;
}

header a:hover {
	opacity: 0.7;
}

/* ===============================
リンク・ボタン
================================ */
a.btn, .btn {
	background: var(--accent);
	color: var(--white);
	border-radius: 50px;
	padding: 10px 24px;
	text-decoration: none;
	font-weight: 600;
	box-shadow: 0 4px 12px var(--shadow-light);
	transition: all 0.3s ease;
}

a.btn:hover, .btn:hover {
	background: #7bc4ff;
	transform: translateY(-2px);
}

/* ===============================
フッター
================================ */
footer {
	background: #d9cbb7;
	text-align: center;
	padding: 40px 20px;
	color: #5a4d41;
}
footer a { color: #5a4d41; font-weight: bold; }
footer small { display: block; margin-top: 10px; font-size: 0.85rem; }

/* ----------------------------
ヒーローセクション
---------------------------- */
.hero {
	background: linear-gradient(
		rgba(255, 255, 255, 0.6),
		rgba(255, 255, 255, 0.6)
	),
		url('https://blog.tsukinosho.com/wp-content/uploads/2025/11/IMG_3220-scaled.jpeg')
		center/cover no-repeat;
	color: var(--main-color);
	text-align: center;
	margin-top: 0;
	padding: 140px 20px;
	position: relative;
	border-radius: 0 0 40px 40px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.hero-content {
	display: inline-block;
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(4px);
	padding: 30px 40px;
	border-radius: 20px;
}

.hero h1 {
	font-size: 2.6rem;
	font-weight: 700;
	letter-spacing: 1px;
	margin-bottom: 1rem;
}

.hero p {
	font-size: 1.1rem;
	line-height: 1.8;
	max-width: 600px;
	margin: 0 auto 2rem;
	color: #4b4b4b;
}

.hero .btn {
	display: inline-block;
	background: var(--accent);
	color: #fff;
	padding: 10px 26px;
	border-radius: 40px;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
}

.hero .btn:hover {
	transform: translateY(-3px);
	background: #8b684a;
}

/* ----------------------------
カテゴリカード
---------------------------- */
.categories {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}
.category-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	width: 250px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
	transition: transform 0.3s, box-shadow 0.3s;
	text-align: center;
}
.categories p {
	margin: 0;
}
.category-card img {
	width: 100%;
	height: 160px;
	object-fit: cover;
}
.category-card h3 {
	margin: 15px 0;
	font-size: 1.2rem;
}
.category-card h3::before {
	content: none;
}
.category-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.categories a {
	text-decoration: none;
}

/* ----------------------------
最近の投稿
---------------------------- */
.featured {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.feature-card {
	width: 90%;
	max-width: 780px;
	background: #fff;
	border-radius: 16px;
	padding: 18px 26px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-shadow: 0 3px 10px rgba(0,0,0,0.04);
	transition: all 0.25s ease;
	border: 1px solid #f3f3f3;
	text-align: left;
}

.feature-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.feature-card h4 {
	border-left: none;
	font-size: 1.1rem;
	font-weight: 600;
	color: #444;
	margin-bottom: 6px;
	letter-spacing: 0.02em;
}

.feature-card p {
	font-size: 0.96rem;
	color: #666;
	line-height: 1.7;
}

.feature-card h4::before {
	content: "✿";
	color: #f5c2b8;
	margin-right: 8px;
	font-size: 1rem;
}

/* ----------------------------
私について
---------------------------- */
#about-me {
	max-width: 700px;
	margin: 4rem auto;
}

.about-me-content {
	text-align: center;
	border-radius: 20px;
	padding: 2rem 1.5rem;
	box-shadow: 0 8px 24px rgba(0,0,0,0.08);
	background: #fff;
	position: relative;
}

.about-me-content::before {
	content: "✿";
	position: absolute;
	top: 20px;
	left: 20px;
	font-size: 1.5rem;
	color: #f5c2b8;
	opacity: 0.3;
}
.about-me-content::after {
	content: "✿";
	position: absolute;
	bottom: 20px;
	right: 20px;
	font-size: 1.5rem;
	color: #f5c2b8;
	opacity: 0.3;
}

.about-me-icon {
	width: 85px;
	height: 85px;
	border-radius: 50%;
	display: block;
	background: #fff;
	padding: 5px;
	margin: -60px auto 1rem auto; /* 上に飛び出す感じ */
}

.about-me-title {
	font-size: 1.8rem;
	color: #a07c5c;
	margin-bottom: 1rem;
	position: relative;
	border-bottom: none;
}

.about-me-title::after {
	content: '';
	display: block;
	width: 50px;
	height: 3px;
	background: #a07c5c;
	margin: 0.5rem auto 0 auto;
	border-radius: 2px;
}

.about-me-content p {
	margin: 1rem 0;
	line-height: 1.7;
	color: #3a3a3a;
	font-size: 1rem;
}

/* ===============================
見出しデザイン
================================ */
h1 { font-size: 2rem; text-align: center; margin-bottom: 2rem; color: var(--main-color); }

h2 {
	font-size: 1.7rem;
	margin: 2rem 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--sub-accent);
	color: var(--main-color);
}

h3 {
	font-size: 1.4rem;
	margin: 1.8rem 0 0.8rem;
	color: var(--accent);
	position: relative;
}

h3::before {
	content: "✿";
	color: #f5c2b8;
	margin-right: 8px;
	font-size: 1rem;
}

h4 {
	margin: 1.8rem 0 0.8rem;
	padding-left: 0.5rem;
	border-left: 4px solid var(--accent);
}

h5 {
	display: inline-block;
	position: relative;
	padding: 12px 24px;
	font-weight: bold;
	font-size: 1.4rem;
	text-align: center;
	margin: 48px 0 0 0;
	left: 50%;
	transform: translateX(-50%);
}

h5::before {
	content: "＼";
	position: absolute;
	left: -24px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	color: var(--main-color);
	transition: transform 0.3s;
}
h5::after {
	content: "／";
	position: absolute;
	right: -24px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	color: var(--main-color);
	transition: transform 0.3s;
}

h4, h5, h6 { color: var(--accent); }

/* ===============================
STEP 見出し
================================ */
.step-heading {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    padding: 0.6rem 1rem;
    background: var(--accent);
    color: #5a3a3a;
    border-radius: 12px;
    position: relative;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.step-heading::before {
	content: "STEP ";
	font-weight: 800;
	margin-right: 0.4rem;
	color: #f0f0f0;
	opacity: 0.8;
}

/* ===============================
招待コード
================================ */
.invite-card {
	max-width: 500px;
	margin: 30px auto;
	padding: 26px 30px;
	background: var(--white);
	border-radius: 18px;
	border: 2px solid var(--sub-accent);
	box-shadow: 0 4px 14px var(--shadow-light);
	text-align: center;
	font-family: "Yu Gothic", "Hiragino Maru Gothic ProN", sans-serif;
}

.invite-title {
	font-size: 1.35rem;
	color: var(--accent);
	margin-bottom: 16px;
	font-weight: bold;
}

.invite-text {
	font-size: 0.95rem;
	color: var(--main-color);
	line-height: 1.7;
}

.invite-guide {
	margin-top: 22px;
	font-size: 1.05rem;
	font-weight: bold;
	color: var(--accent);
}

.invite-button {
	display: inline-block;
	margin-top: 14px;
	padding: 12px 22px;
	background: var(--accent);
	color: var(--white);
	font-size: 1rem;
	font-weight: bold;
	border-radius: 12px;
	text-decoration: none;
	transition: 0.2s ease;
	box-shadow: 0 3px 7px var(--shadow-medium);
}

.invite-button:hover {
	background: #8b6448;
	transform: translateY(-2px);
}

/* ===============================
アドバイスボックス
================================ */
.advice-box {
	background-color: var(--main-bg);
	border-left: 4px solid var(--main-color);
	padding: 1.2em;
	margin: 2em 0;
	border-radius: 6px;
}

/* ===============================
区切りライン
================================ */
.fancy-divider {
	border: none;
	height: 2px;
	background: linear-gradient(to right, transparent, var(--accent), transparent);
	margin: 3em 0;
}

/* ===============================
リスト装飾
================================ */
ul {
	list-style-type: disc;
}

ul li {
	list-style-type: none;
	position: relative;
	padding-left: 1rem;
}

ul li::before {
	content: '◦';
	position: absolute;
	left: 0;
	color: var(--accent);
	font-size: 1em;
}

/* ナンバリングリスト */
.numbered-list {
	counter-reset: number;
	list-style: none;
	padding-left: 0;
}
.numbered-list li {
	counter-increment: number;
	margin: 0.6em 0;
	padding-left: 2em;
	position: relative;
}
.numbered-list li::before {
	content: counter(number) ".";
	position: absolute;
	left: 0;
	color: var(--accent);
	font-weight: bold;
}

/* チェックリスト風（✔マーク付き） */
.checklist {
	list-style: none;
	padding: 0;
	margin: 1rem 0;
}

.checklist li {
	position: relative;
	margin: 0.6rem 0;
	padding-left: 2rem;
}

.checklist li::before {
	content: "✔";
	position: absolute;
	left: 0;
	color: var(--accent);
	font-weight: bold;
}

/* ===============================
カード
================================ */
.card {
	background: var(--white);
	border-radius: 16px;
	padding: 1.5rem;
	margin: 1.5rem 0;
	box-shadow: 0 6px 16px var(--shadow-light);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px var(--shadow-medium);
}

/* 通常カード */
.my-blogcard {
	display: flex;
	align-items: center;
	text-decoration: none;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 12px;
	padding: 1rem;
	margin: 1.5rem 0;
	box-shadow: 0 3px 8px rgba(0,0,0,0.04);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.my-blogcard:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.my-blogcard .card-img {
	width: 120px;
	height: 70px;
	flex-shrink: 0;
	margin-right: 1rem;
	overflow: hidden;
	border-radius: 8px;
}

.my-blogcard .card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

.my-blogcard .entry-title {
	flex: 1;
	font-weight: 600;
	color: var(--text-color, #252a65);
}

/* ===============================
ボタン
================================ */
.btn, a.btn {
	display: inline-block;
	padding: 10px 24px;
	border-radius: 50px;
	background: var(--accent);
	color: var(--white);
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 10px var(--shadow-light);
}

.btn:hover, a.btn:hover {
	background: #c08b6a;
	transform: translateY(-2px);
}

/* アフィリエイトボタン */
.btn-affiliate {
	background: linear-gradient(135deg, #d9cbb7, #a07c5c);
	color: var(--white);
	padding: 12px 28px;
	border-radius: 30px;
	font-weight: 700;
	text-decoration: none;
	display: inline-block;
	box-shadow: 0 6px 12px var(--shadow-medium);
	transition: all 0.3s ease;
}

.btn-affiliate:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 16px var(--shadow-medium);
}

/* ===============================
導入部
================================ */
.article-summary {
	background: #fff;
	border-left: 5px solid #446E72;
	padding: 1em 1.5em;
	margin: 2em 0;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

/* ===============================
テーブル
================================ */
.wp-block-table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
	box-shadow: 0 4px 10px var(--shadow-light);
}

.wp-block-table th {
	background: var(--accent);
	color: var(--white);
	font-weight: 600;
	padding: 0.8rem;
}

.wp-block-table td {
	border: 1px solid #ddd;
	padding: 0.8rem;
	text-align: center;
}

.wp-block-table thead {
	border-bottom: none !important;
}

.wp-block-table tbody {
	border-top: none !important;
}

.wp-block-table.recipe {
	border-collapse: collapse;
	width: 100%;
	margin: 2rem 0;
	box-shadow: none;
}

.wp-block-table.recipe th,
.wp-block-table.recipe td {
	border: none;
	padding: 0.8rem;
	text-align: center;
}

.wp-block-table.recipe tr {
	border-bottom: 1px dashed #ddd;
}

.wp-block-table.recipe th {
	background: var(--accent);
	color: var(--white);
	font-weight: 600;
}


/* ===============================
アコーディオン
================================ */
details {
	background: var(--white);
	border-radius: 12px;
	box-shadow: 0 2px 8px var(--shadow-light);
	margin: 1rem 0;
	overflow: hidden;
	transition: box-shadow 0.3s;
}

details[open] { box-shadow: 0 4px 12px var(--shadow-medium); }

details summary {
	padding: 0.8rem 1.2rem;
	cursor: pointer;
	background: var(--sub-accent);
	font-weight: 600;
	border-bottom: 1px solid rgba(0,0,0,0.05);
}

details summary:hover { background: #e0d7c9; }

details summary::after {
	content: '▸';
	float: right;
	transition: transform 0.3s;
}

details[open] summary::after { transform: rotate(90deg); }

details p {
	padding: 0.8rem 1.2rem;
	margin: 0;
	line-height: 1.6;
}

/* ===============================
コメント
================================ */
.comment-form-field textarea {
	width: 100%;
	padding: 12px;
	border-radius: 8px;
	border: 1px solid #ccc;
	font-size: 16px;
	resize: vertical;
	box-sizing: border-box;
	transition: 0.3s;
}

.comment-form-field textarea:focus {
	border-color: #666;
	outline: none;
	box-shadow: 0 0 5px rgba(100,100,100,0.2);
}

.form-submit input[type="submit"] {
	background: #333;
	color: #fff;
	padding: 10px 20px;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	font-size: 15px;
	transition: 0.3s;
}

.form-submit input[type="submit"]:hover {
	background: #555;
}

/* ===============================
目次
================================ */
#toc-wrapper {
	max-width: 90%;
	margin: 1em auto 3em auto;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(0,0,0,0.1);
	background: linear-gradient(145deg, #ffffff, #f0f0f3);
	font-family: 'Helvetica Neue', sans-serif;
}

#toc-container {
	padding: 0.8em 1em;
	background-color: var(--accent);
	color: #fff;
	font-weight: bold;
	font-size: 1em;
	cursor: pointer;
	user-select: none;
	transition: background 0.3s;
	text-align: center;
}

#toc-container:hover {
	background-color: #8b6448;
}

#toc-panel {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out, padding 0.3s ease-out;
	background-color: #fff;
	padding: 0 1em;
}

#toc-panel.open {
	padding: 0.5em 1em;
	max-height: 1000px;
}

#toc-panel ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

#toc-panel li::before {
	content: "" !important;
}

#toc-panel li {
	padding: 0.4em 0;
	border-bottom: 1px solid #eee;
}

#toc-panel li:last-child {
	border-bottom: none;
}

#toc-panel li a {
	text-decoration: none;
	transition: color 0.25s, background 0.25s;
	padding: 6px 8px;
	border-radius: 8px;
	display: block;
}

/* ===============================
レスポンシブ調整
================================ */
/* スマホ用 (最大768pxまで) */
/* スマホ用 (最大768pxまで) */
@media screen and (max-width: 768px) {
	h1 { font-size: 1.5rem; }
	h2 { font-size: 1.25rem; }
	h3 { font-size: 1.1rem; }
	h4 { font-size: 1rem; }
	h5 { font-size: 0.95em; }
	h6 { font-size: 0.85rem; }
	.hero, .news {
		padding-top: 7rem;
		padding-bottom: 6rem;
		left: 0;
	}
	.hero h1, .news h2, .diagnosis h2, .languages h2, .features h2 {
		font-size: 1.5rem;
	}
	.no-wrapper p { font-size: 14px; }

	aside#sidebar-progress {
		width: 220px;
		right: -280px;
	}

	.select-wrap .select {
		width: 100% !important;
		box-sizing: border-box;
		padding: 12px !important;
		margin-left: 0 !important;
		margin: 6px 0;
	}

	.tool-btn.next-btn {
		width: 100%;
		box-sizing: border-box;
		padding: 12px !important;
	}
}

/* タブレット用 (769px〜1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
	h1 { font-size: 1.5rem; }
	h2 { font-size: 1.25rem; }
	h3 { font-size: 1.1rem; }
	h4 { font-size: 1rem; }
	h5 { font-size: 0.95em; }
	h6 { font-size: 0.85rem; }
	body { font-size: 16px; }
	header h1 { font-size: 1.6rem; }
	.hero h1, .news h2, .diagnosis h2, .languages h2, .features h2 { font-size: 2.2rem; }
	.hero, .news { padding-top: 8rem; padding-bottom: 8rem; }
	aside#sidebar-progress { width: 260px; right: -320px; }
}

/* デスクトップ用 (1025px以上) */
@media screen and (min-width: 1025px) {
	h1 { font-size: 2.4rem; font-weight: 800; }
	h2 { font-size: 1.8rem; font-weight: 700; }
	h3 { font-size: 1.4rem; font-weight: 600; }
	p, li { font-size: 1rem; line-height: 1.8; color: var(--text-color); }
	small { font-size: 0.85rem; color: #666; }
	body { font-size: 18px; }
	header h1 { font-size: 1.8rem; }
	.hero h1 { font-size: 3rem; }
	.hero, .news { padding-top: 10rem; padding-bottom: 10rem; }
	aside#sidebar-progress { width: 280px; right: -450px; }
}

/* ----------------------------
お問い合わせ
----------------------------- */
/* ラベル */
.forminator-label {
	display: block;
	font-size: 13px;
	letter-spacing: 0.1em;
	color: #487d8b;
	margin-bottom: 8px;
	text-transform: uppercase;
	font-weight: 600;
	transition: color 0.3s ease;
}

/* 入力欄 */
.forminator-input,
.forminator-textarea {
	width: 100%;
	border: 1px solid #d9dee3;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.75);
	padding: 14px 18px;
	font-size: 15px;
	color: #252a65;
	transition: all 0.3s ease;
	backdrop-filter: blur(4px);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.forminator-input:hover,
.forminator-textarea:hover {
	border-color: #a1beb0;
	background: rgba(255, 255, 255, 0.95);
}

.forminator-input:focus,
.forminator-textarea:focus {
	border-color: #487d8b;
	box-shadow: 0 0 0 4px rgba(72, 125, 139, 0.2);
	outline: none;
	background: #fff;
	transform: translateY(-1px);
}

/* ラジオボタン */
.forminator-radio {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	cursor: pointer;
	transition: color 0.2s ease;
}

.forminator-radio input[type="radio"] {
	appearance: none;
	width: 18px;
	height: 18px;
	border: 1.8px solid #b8c9c0;
	border-radius: 50%;
	background: #fff;
	position: relative;
	transition: all 0.25s ease;
	outline: none;
}

.forminator-radio input[type="radio"]:checked {
	border-color: #487d8b;
	background: radial-gradient(circle at center, #487d8b 45%, transparent 46%);
	box-shadow: 0 0 0 3px rgba(72, 125, 139, 0.15);
}

.forminator-radio:hover input[type="radio"] {
	border-color: #487d8b;
}

.forminator-radio-label {
	font-size: 15px;
	color: #252a65;
	transition: color 0.25s ease;
}

.forminator-radio:hover .forminator-radio-label {
	color: #487d8b;
}

/* 送信ボタン */
.forminator-button-submit {
	display: inline-block;
	background: #487d8b;
	border: 2px solid #487d8b;
	border-radius: 50px;
	box-shadow:
		3px 3px 6px rgba(72, 125, 139, 0.15),
		-3px -3px 6px rgba(255, 255, 255, 0.9);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	padding: 12px 40px;
	text-align: center;
	position: relative;
	cursor: pointer;
	transition: all 0.25s ease;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	text-decoration: none;
}

.forminator-button-submit:hover {
	background: #fff;
	color: #487d8b;
	box-shadow:
		inset 2px 2px 5px rgba(72, 125, 139, 0.1),
		inset -2px -2px 5px rgba(255, 255, 255, 0.6),
		0 0 12px rgba(72, 125, 139, 0.2);
	transform: translateY(-2px);
}

.forminator-button-submit:active {
	transform: translateY(1px);
	box-shadow:
		inset 3px 3px 6px rgba(72, 125, 139, 0.25),
		inset -3px -3px 6px rgba(255, 255, 255, 0.7);
}
/* 必須マーク */
.forminator-required {
	color: #e05b5b;
	font-weight: bold;
}

/* メッセージエリア */
.forminator-response-message {
	background: rgba(72, 125, 139, 0.1);
	border: 1px solid rgba(72, 125, 139, 0.25);
	border-radius: 10px;
	padding: 12px 24px;
	font-size: 14px;
	margin-bottom: 25px;
	color: #252a65;
}

/* レスポンシブ */
@media (max-width: 768px) {
	form.forminator-custom-form {
		padding: 35px 25px;
	}
}

@keyframes gradientShift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}


/* ----------------------------
アプリリンク
----------------------------- */
.appreach {
	text-align: left;
	padding: 15px;
	margin: 15px 0 50px 0;
	border: 1px solid #7C7C7C;
	overflow: hidden;
}
.appreach:after {
	content: "";
	display: block;
	clear: both;
}
.appreach p {
	margin: 0;
}
.appreach a:after {
	display: none;
}
.appreach__icon {
	float: left;
	border-radius: 10%;
	overflow: hidden;
	margin: 0 3% 0 0 !important;
	width: 25% !important;
	height: auto !important;
	max-width: 120px !important;
}
.appreach__detail {
	display: inline-block;
	font-size: 20px;
	line-height: 1.5;
	width: 72%;
	max-width: 72%;
}
.appreach__detail:after {
	content: "";
	display: block;
	clear: both;
}
.appreach__name {
	font-size: 16px;
	line-height: 1.5em !important;
	max-height: 3em;
	overflow: hidden;
}
.appreach__info {
	font-size: 12px !important;
}
.appreach__developper, .appreach__price {
	margin-right: 0.5em;
}
.appreach__posted a {
	margin-left: 0.5em;
}
.appreach__links {
	float: left;
	height: 40px;
	margin-top: 8px;
	white-space: nowrap;
}
.appreach__aslink img {
	margin-right: 10px;
	height: 40px;
	width: 135px;
}
.appreach__gplink img {
	height: 40px;
	width: 134.5px;
}
.appreach__star {
	position: relative;
	font-size: 14px !important;
	height: 1.5em;
	width: 5em;
}
.appreach__star__base {
	position: absolute;
	color: #737373;
}
.appreach__star__evaluate {
	position: absolute;
	color: #ffc107;
	overflow: hidden;
	white-space: nowrap;
}

/* 1200px以下：メイン幅を自然に縮める */
@media (max-width: 1200px) {
	.wrapper {
		padding: 2rem 1rem;
		gap: 1.5rem;
	}

	main {
		padding: 2rem;
	}
}

/* 900px以下：1カラム化（サイドバーはすでにトグル対応なのでOK） */
@media (max-width: 900px) {
	.wrapper {
		flex-direction: column;
		align-items: stretch;
	}

	main {
		width: 100%;
		min-height: auto;
		padding: 1.5rem;
	}

	section {
		padding: 0 1rem;
	}

	header h1 {
		font-size: 1.4rem;
	}
}

/* 700px以下：文字サイズやカード幅の最適化 */
@media (max-width: 700px) {
	body {
		line-height: 1.7;
	}

	h1 {
		font-size: 1.7rem;
		margin-bottom: 1.5rem;
	}

	h2.wp-block-heading {
		font-size: 1.4rem;
		padding: 0.8em 1em 0.8em 2em;
	}

	h3 {
		font-size: 1.3rem;
	}

	/* ブログカードを縦並びにする */
	.my-blogcard {
		flex-direction: column;
		text-align: left;
	}

	.my-blogcard .card-img {
		width: 100%;
		height: 160px;
		margin: 0 0 1rem 0;
	}

	/* ニュースページのリンクが詰まらないよう調整 */
	.news-item a {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.news-date {
		min-width: auto;
		margin-right: 0;
	}
}

/* 500px以下：スマホ最適化 */
@media (max-width: 500px) {
	header {
		height: 60px;
		padding: 0 1rem;
	}

	header h1 {
		font-size: 1.2rem;
	}

	/* ボタン大きすぎ対策 */
	.btn {
		font-size: 16px;
		padding: 8px 18px;
	}

	/* テーブル横スクロール許可 */
	.wp-block-table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	/* STEP 見出し縮小 */
	.step-heading {
		font-size: 1.2rem;
		padding: 0.5rem 0.8rem;
	}
}