@charset "UTF-8";
/* CSS Document */
html {
	height: 100%;
	margin: 0;
	padding: 0;
}
body {
	margin: 0;
	padding: 0;
	height: 100vh;
	background: #fdfdfd;
	align-items: center;
	font-family: "Poppins", sans-serif;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
	position: relative;
}
h1 {
	font-size: 5rem;
	color: #222;
	letter-spacing: 0.1em;
	text-transform: lowercase;
	opacity: 0;
	transform: translateY(30px);
	animation: fadeInSlide 1.2s ease-out forwards;
	position: relative;
	margin-block-start: 0;
	margin-block-end: 0;
}
h3, h4 {
	margin-block-start: 0;
	margin-block-end: 0.5em;
}
main {
	max-width: 600px;
	margin: 5rem auto 5rem;
	padding: 20px 1rem 1rem;
	flex: 1;
	display: flex;
	align-items: center;
	flex-direction: column;
	width: 100%;
}
header, body, main, footer {
	width: 100%;
	box-sizing: border-box;
}
a {
	text-decoration: none;
	color: inherit;
}
article {
	width: 100%;
}
*, *::before, *::after {
	box-sizing: border-box;
}
hr {
	border: none;
	border-top: 1px dashed #ccc;
	margin: 2.5rem 0 1rem;
	position: relative;
}
hr::after {
	content: "⋯";
	position: absolute;
	top: -0.7em;
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	padding: 0 0.5em;
	color: #bbb;
	font-size: 1.2em;
}
/* ボタンの初期化（デフォルトスタイル除去） */
button {
	all: unset;
	display: inline-block;
	cursor: pointer;
}
/* iの点をちょっとジャンプさせる */
.dot {
	display: inline-block;
	animation: bounce 1.5s ease-out forwards;
	animation-delay: 1s;
}
@keyframes fadeInSlide {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes bounce {
	0% {
		transform: translateY(0);
	}
	30% {
		transform: translateY(-10px);
	}
	60% {
		transform: translateY(4px);
	}
	100% {
		transform: translateY(0);
	}
}
.code-ninja-tagline {
	color: #666;
	font-family: "Caveat", cursive;
	font-size: 1.2em;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin-block-start: 0;
	margin-bottom: 2.5em;
	text-align: center;
	opacity: 0;
	transform: translateY(6px);
	animation: fadeInUp 1.2s ease-out 0.5s forwards;
}
@keyframes fadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px); /* Safari対応 */
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
::selection {
	background-color: #d2e6e6;
	color: #222;
}
::-moz-selection {
	background-color: #d2e6e6;
	color: #222;
}
.nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 1.5rem;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	position: relative;
	z-index: 1000;
}
.logo {
	font-size: 1.5rem;
	font-weight: 600;
	color: #222;
}
.nav-menu {
	list-style: none;
	display: flex;
	gap: 1.5rem;
}
.nav-menu a {
	text-decoration: none;
	color: #222;
	font-weight: 500;
	transition: color 0.2s;
}
.nav-menu a:hover {
	color: #888;
}
.nav-toggle {
	display: none;
}
.nav-toggle-label {
	display: none;
	cursor: pointer;
	flex-direction: column;
	gap: 5px;
}
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
	content: "";
	display: block;
	width: 25px;
	height: 2px;
	background: #222;
	border-radius: 1px;
	transition: 0.3s ease;
}
.nav-toggle-label span::before {
	transform: translateY(-7px);
}
.nav-toggle-label span::after {
	transform: translateY(5px);
}
.link-section {
	width: 100%;
}
.link-button {
	display: block;
	text-align: center;
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	color: #fff;
	font-weight: 500;
	font-size: 1rem;
	padding: 0.9rem 1rem;
	margin: 0.5rem auto;
	text-decoration: none;
	border-radius: 8px;
	transition: background 0.2s ease;
	width: 90%;
	max-width: 380px;
}
.link-button:hover {
	opacity: 0.9;
}
.links-list {
	list-style: none;
	padding: 0;
	margin: 2rem 0;
}
.links-list li {
	margin-bottom: 1.2rem;
}
.links-list a {
	display: inline-block;
	font-size: 1.2rem;
	text-decoration: none;
	color: #007bff;
}
.links-list a:hover {
	text-decoration: underline;
}
.tool {
	background: #fff;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.2s ease;
	width: 100%;
}
.tool:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.tool h2 {
	margin: 0 0 0.5rem;
	font-size: 1.3rem;
	color: #111;
}
.tool p {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	color: #555;
}
.download {
	display: inline-block;
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	color: #fff;
	padding: 0.6rem 1.2rem;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 500;
	transition: background 0.2s ease;
}
.download:hover {
	opacity: 0.9;
}
.mac-only-icon {
	display: inline-block;
	margin-left: 0.5em;
	vertical-align: middle;
	color: #fff;
}
.about {
	padding: 0 1rem;
}
.about .container {
	margin: 0 auto;
	width: 100%;
}
.about-section {
	margin-bottom: 2.5rem;
}
.about-section h3 {
	font-size: 1.75rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #ccc;
	margin-block-start: 0;
	margin-block-end: 0;
}
.about-section p {
	line-height: 1.8;
	font-size: 1.1rem;
}
.about-section p strong {
	display: block;
	margin-top: 1rem;
}
@media (max-width: 600px) {
	.about-section h3 {
		font-size: 1.5rem;
	}
}
.profile-image-circle {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	margin: 0 auto 1rem;
}
.about-profile-1col {
	text-align: center;
	max-width: 600px;
	margin: 2rem auto;
}
.about-profile-1col .profile-text {
	text-align: left;
	margin-top: 1rem;
}
.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	padding: 0 1rem; /* ← 左右に余白を付ける！ */
	max-width: 100%;
	box-sizing: border-box;
}
@media (max-width: 600px) {
	.blog-grid {
		padding: 0 1rem;
	}
}
.post {
	position: relative;
	border: 1px solid #ddd;
	border-radius: 12px;
	padding: 0 1rem;
	background: #fff;
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}
.post a.full-link {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.5rem;
	z-index: 10; /* ← z-indexを10とかに上げる！ */
	display: block;
}
.post:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.post-title, .blog-date, .post-excerpt, .read-more {
	position: relative;
}
h2.post-title {
	margin-block-end: 0.3em;
	line-height: 1.4;
}
.read-more {
	display: inline-block;
	padding: 0.4rem 1.2rem;
	background: rgba(255, 255, 255, 0.7);
	color: #333;
	border-radius: 9999px;
	font-size: 0.9rem;
	text-decoration: none;
	border: 1px solid rgba(0, 0, 0, 0.1);
	transition: background 0.3s ease, color 0.3s ease;
	pointer-events: none; /* ←追加！ */
}
.read-more:hover {
	background: rgba(255, 255, 255, 0.9);
	color: #000;
}
h1.article-title {
	margin-block-start: 0;
}
.article-title {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 1rem;
	text-align: left;
	line-height: 1.2;
	opacity: 0;
	transform: scale(0.95);
	animation: fadeZoomIn 0.8s ease-out forwards;
}
.article-body {
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	line-height: 1.6;
}
.article-body code {
	font-family: Menlo, Consolas, monospace;
	font-size: 0.95em;
	background-color: #f4f4f4;
	padding: 0.2em 0.4em;
	border-radius: 4px;
	color: #d6336c; /* 少し映えるアクセント */
	vertical-align: middle;
}
.article-body h2 {
	font-size: 20px;
	font-weight: 600;
	border-bottom: 1px dotted #ccc;
	padding-bottom: 0.3em;
	color: #222;
	margin-block-start: 0;
	margin-block-end: 0.5em;
}
.article-body ul {
	padding-left: 1.2em;
	list-style-type: disc;
}
.article-body ul li {
	line-height: 1.6;
	color: #444;
	margin-bottom: 0.3em;
}
.article-body blockquote {
	padding: 1em 1.2em;
	background: #f9f9f9;
	border-left: 4px solid #ccc;
	font-style: italic;
	color: #555;
	line-height: 1.7;
	border-radius: 6px;
}
.article-body a {
	display: inline-block;
	max-width: 100%;
	overflow-x: auto;
	white-space: nowrap;
	vertical-align: bottom;
}
@keyframes fadeZoomIn {
	to {
		opacity: 1;
		transform: scale(1);
	}
}
.blog-date {
	font-size: 0.95rem;
	color: #666;
	margin-bottom: 1rem;
	position: relative;
	padding-bottom: 0.5rem;
}
.blog-date::before {
	content: "📅 ";
}
.blog-date::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: #ddd;
}
.blog-button {
	display: inline-block;
	margin: 2rem auto;
	padding: 0.75rem 2rem;
	background: rgba(255, 255, 255, 0.7); /* 白＋70%透明 */
	color: #333; /* 濃いめグレー */
	text-decoration: none;
	border-radius: 9999px;
	font-weight: bold;
	font-size: 1rem;
	text-align: center;
	border: 1px solid rgba(0, 0, 0, 0.1); /* うっすら境界線 */
	transition: background 0.3s ease, color 0.3s ease;
}
.blog-button:hover {
	background: rgba(255, 255, 255, 0.9); /* ほぼ白に */
	color: #000; /* 文字を少し濃くする */
}
.blog-button-wrapper {
	text-align: center;
}
.bg_gray {
	background: #eee;
	width: 100%;
	border-radius: 8px;
	padding: 0.6em 1em;
	overflow-x: auto;
	margin-bottom: 1em;
}
.bg_gray pre {
	margin: 0;
	white-space: pre; /* 改行・空白を保持しつつ折り返しなし */
}
code {
	display: inline-block;
	max-width: 100%;
	overflow-x: auto;
	white-space: nowrap;
	word-break: normal;
	-webkit-overflow-scrolling: touch; /* スムーズスクロール用（iOS対策） */
}
code.wrap {
	white-space: pre-wrap;
	width: 100%;
}
.blog-category-link {
	font-size: 0.9em;
	margin: 0.3em 0 1em;
	color: #666;
}
.blog-category-link a {
	color: #0066cc;
	text-decoration: none;
}
.blog-category-link a:hover {
	text-decoration: underline;
}
img.blog-border-img{
	border: 10px solid #DDD;
}
.tool-meta__title {
	font-size: 1.2rem;
	font-weight: 600;
	color: #111;
	margin-bottom: 1rem;
}
.tool-meta__list {
	padding-left: 1.2em;
	list-style: disc;
	font-size: 0.95rem;
	color: #444;
	line-height: 1.6;
}
.tool-meta__list li {
	margin-bottom: 0.5em;
}
.tool-link-wrapper {
	display: block;
	text-decoration: none;
	color: inherit;
}
.tool-link-wrapper:hover .tool {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.tool .fake-button {
	display: inline-block;
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	color: #fff;
	padding: 0.6rem 1.2rem;
	border-radius: 6px;
	font-weight: 500;
	font-size: 1rem;
	pointer-events: none;
}

/* Amazonアソシエイト */
.amazon-affiliate-link {
	display: block;
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	border: 1px solid #ddd;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	background: #fff;
}
.amazon-affiliate-link:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}
.amazon-affiliate-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 12px;
}
.amazon-affiliate-inner img {
	width: 100%;
	max-width: 320px;
	height: auto;
	object-fit: contain;
	margin-bottom: 8px;
	border-radius: 8px;
}
.amazon-affiliate-title {
	font-size: 1rem;
	font-weight: 600;
	color: #333;
	text-align: center;
	line-height: 1.4;
}
.amazon-affiliate-description {
	font-size: 0.9rem;
	color: #555;
	line-height: 1.6;
	text-align: left;
	margin: 0;
	white-space: normal;
}
.amazon-affiliate-description br {
	display: block;
	content: "";
	margin-top: 0.5em;
}
.article-body a:not(.amazon-affiliate-link) {
	text-decoration: none;
	font-weight: 500;
	color: #0066cc;
	border-bottom: 2px solid rgba(0, 102, 204, 0.3);
	transition: border-color 0.3s ease;
}
.article-body a:not(.amazon-affiliate-link):hover {
	border-color: #0066cc;
}
.news-section {
	max-width: 800px;
	margin: 0 auto;
	color: #444;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	font-size: 0.9em;
}
.news-title {
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
}
.news-list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}
.news-item {
	margin-bottom: 0.5rem;
}
.news-date {
	color: #888;
	margin-right: 0.5em;
}
.news-link {
	color: #0066cc;
	text-decoration: none;
	border-bottom: 1px dotted #ccc;
	display: inline-block;
	max-width: 24em; /* 半角28文字ぶんの幅に相当（等幅フォントを想定） */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: bottom;
	width: calc(100% - 84px);
}
@media (max-width: 600px) {
	.news-link {
		display: block;
		width: 100%;
	}
}
.support-page {
	max-width: 600px;
	width: 100%;
	margin: 2em auto;
	padding: 0 1em;
}
.support-page form {
	width: 100%;
}
.support-page label {
	display: block;
	margin-top: 1.5em;
	font-weight: bold;
}
.support-page input, .support-page select, .support-page textarea {
	width: 100%;
	padding: 0.5em;
	margin-top: 0.3em;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.support-page textarea {
	height: 160px;
	resize: vertical;
}
.support-page button {
	margin-top: 2em;
}
.honeypot {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.footer {
	background: #111;
	color: #fff;
	padding: 2em 1em;
	margin: 0;
	text-align: center;
	font-family: "Inter", sans-serif;
	min-height: 100px;
	width: 100%;
	box-sizing: border-box;
	flex-shrink: 0;
}
.footer-inner {
	max-width: 960px;
	margin: 0 auto;
}
.footer-logo {
	font-size: 1.4em;
	margin-bottom: 0.5em;
	font-weight: 700;
}
.footer-logo .dot {
	color: #4fd1c5;
}
.footer-links {
	list-style: none;
	padding: 0;
	margin: 0 0 1em;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1em;
}
.footer-links a {
	color: #ccc;
	text-decoration: none;
	transition: color 0.2s;
}
.footer-links a:hover {
	color: #fff;
}
.footer-copy {
	font-size: 0.85em;
	color: #666;
}
.footer-rss {
	margin-top: 1em;
	font-size: 0.9em;
}
.footer-rss a {
	color: #4fd1c5;
	text-decoration: none;
	border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
	transition: color 0.2s, border-color 0.2s;
}
.footer-rss a:hover {
	color: #fff;
	border-bottom-color: #fff;
}
.footer-link {
	background: #333;
	padding: 0.3em 0.5em;
	border-radius: calc(1px / 0);
	margin: 0.3em auto;
	width: 100%;
	max-width: 17em;
	font-size: 0.9em;
}
@media (max-width: 600px) {
	header h1 {
		font-size: 1.4rem;
	}
	.tool h2 {
		font-size: 1.1rem;
	}
}
.tool p.notes {
	font-size: 0.8em;
	color: #666;
}
@media (max-width: 768px) {
	body.menu-open {
		overflow: hidden;
	}
	.nav-menu {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		display: none;
		flex-direction: column;
		background-color: rgba(255, 255, 255, 0.9);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
		border-top: 1px solid rgba(0, 0, 0, 0.05);
		margin: 0;
		padding: 0;
		z-index: 2000;
		overflow: hidden;
		gap: 0;
	}
	.nav-menu li {
		text-align: center;
		padding: 0.8rem 0;
		border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	}
	.nav-toggle:checked + .nav-toggle-label + .nav-menu {
		display: flex;
	}
	.nav-toggle-label {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 48px; /* ← タップしやすいサイズ */
		height: 48px;
		cursor: pointer;
		flex-direction: column;
		gap: 5px;
	}
	.nav-menu a {
		display: block;
		width: 100%;
	}
}
/* パンクズリスト */
.breadcrumb {
	margin-top: 95px;
	font-size: 0.85em;
	width: calc(100% - 2rem);
}
.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	list-style: none;
	padding: 0;
	margin: 0;
}
.breadcrumb li + li::before {
	content: "›";
	color: #888;
	margin: 0 0.5em;
}
.breadcrumb a {
	color: #0066cc;
	text-decoration: none;
}
.breadcrumb a:hover {
	text-decoration: underline;
}
.breadcrumb span[itemprop="name"] {
	overflow-wrap: anywhere; /* モダンな推奨値 */
}
