/* AIプロンプトページ */

.main_contents {
	margin-bottom: 0!important;
	padding: 0!important;
	background: #F5F8FA;
	padding: 50px 0!important;
}
.page_ttl {
	display: none;
}
.ai-prompt-wrap {
	background: #F5F8FA;
	margin: 0!important;
}

.ai-prompt-container {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
	font-family: sans-serif;
	line-height: 1.6;
	color: #333;
	background: #FFF;
	margin: 10px auto;
	border: 1px solid #CCC;
	border-radius: 10px;
}
.hero-section {
	text-align: center;
	margin-bottom: 40px;
}
.hero-section img {
	width: 100%;
	max-width: 800px;
	height: auto;
	border-radius: 8px;
}
.hero-section h1 {
	font-size: 1.6em;
	margin-top: 20px;
	color: #333;
	font-weight: bold;
}
.lead-text {
	background: #f9f9f9;
	padding: 25px;
	border-radius: 8px;
	margin-bottom: 30px;
}    
.section-title {
	font-size: 1.4em!important;
	border-bottom: 2px solid #0056b3;
	padding-bottom: 10px;
	margin-top: 40px!important;
	margin-bottom: 25px;
	color: #0056b3;
}
.section-title:after {
	display: none!important;
}
    
/* プロンプトボックス */
.top-prompt-box {
	border: 2px solid #FFCC00;
	border-radius: 8px;
	margin-bottom: 25px;
	padding: 20px;
	background: #FFFDF5;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.top-prompt-box p {
	font-size: 0.95em;
	margin-bottom: 15px;
}

.top-prompt-box h3 {
	font-size: 1.1em!important;
	margin-top: 0;
	margin-bottom: 10px!important;
	border-color: #ffcc00;
	background: #fffdf5;
}
.top-prompt-content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 15px;
	background: #fff;
	padding: 15px;
	border: 1px solid #CCC;
	border-radius: 4px;
}





.top-prompt-text {
	margin: 0;
	flex-grow: 1;
	font-size: 0.95em;
	white-space: pre-wrap;
	word-break: break-all;
	color: #444;
}    
.copy-btn {
	background: #0056b3;
	color: #fff;
	border: none;
	padding: 10px 20px;
	padding-bottom: 12px;
	border-radius: 4px;
	cursor: pointer;
	white-space: nowrap;
	font-weight: bold;
	transition: 0.3s;
	background:#ffcc00;
	color:#333;
	user-select: none;
}
.copy-btn:hover {
	color: #FFF!important;
	background: #004494;
}

/* カテゴリカード */
.category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-bottom: 50px;
}
.category-card {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 20px;
	text-align: center;
	background: #fff;
	transition: transform 0.2s, box-shadow 0.2s;
	text-decoration: none;
	color: #333;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 120px;
	cursor: pointer;
	user-select: none;
}
.category-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0,86,179,0.15);
	border-color: #0056b3;
	text-decoration: none;
}
.category-card h3 {
	font-size: 1.2em!important;
	text-align: center;
	margin: 0 0 10px 0!important;
	color: #0056b3;
}
.category-card p {
	text-align: center;
}

.category-card img {
	width: 100%;
	height: 100px;
	margin-bottom: 10px;
	object-fit: contain;
	text-align: center;
}

#ajax-content {
	transition: opacity 0.2s ease-in-out;
	margin-bottom: 50px;
}
.is-loading {
	opacity: 0;
}

/* 各カテゴリーページ */



.breadcrumb {

	font-size: 0.9em;
	max-width: 800px;
	margin: auto;
	margin-bottom: 20px;
}
.breadcrumb a {
	color: #0056b3;
	text-decoration: none;
	font-weight: bold;
	cursor: pointer;
}
.category-title {
	font-size: 1.6em;
	border-bottom: 3px solid #0056b3;
	padding-bottom: 10px;
	margin-bottom: 30px;
	line-height: 2em;
}

.category-title img {
	user-select: none;
}

.prompt-box {
	border: 2px solid #ddd;
	border-radius: 8px;
	margin-bottom: 25px;
	padding: 20px;
	background: #fff;
}
.prompt-box h3 {
	font-size: 1.1em;
	color: #333;
	margin-top: 0;
	margin-bottom: 15px;
}
.prompt-content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 15px;
	background: #f4f6f8;
	padding: 15px;
	border-radius: 4px;
	border: 1px solid #CCC;
}
.prompt-text {
	margin: 0;
	flex-grow: 1;
	font-size: 0.95em;
	white-space: pre-wrap;
	word-break: break-all;
	color: #444;
	field-sizing: content;
}

.cta-section {
	background: #e6f2ff;
	padding: 50px 30px 60px 30px;
	border-radius: 8px;
	margin-top: 50px;
	user-select: none;
	border: 1px solid #12347C;
	font-weight: bold;
}
.cta-section p, .cta-section div {
	text-align: center;
}

.cta-section h2 {
	margin: 20px auto 0 auto!important;
}

.cta-section h2:after {
	display: none!important;
}


.cta-btn {
	display: inline-block;
	background: #ff6600;
	color: #fff;
	padding: 12px 30px;
	text-decoration: none;
	border-radius: 30px;
	font-weight: bold;
	margin-top: 15px;
	border: 1px solid #ff6600;
	min-width: 300px;
} 
.cta-btn:hover {
	background: #fff!important;
	color: #ff6600!important;
	text-decoration: none!important;
} 



#ajax-content {
	transition: opacity 0.2s ease-in-out;
}
.is-loading {
	opacity: 0;
}

@media screen and (max-width: 560px) {
	.ai-prompt-container {
		padding: 20px 5px;
	}
	h1 {
		text-align: center;
	}
	.top-prompt-content, h1 span {
		display: block;
		width: 100%;
	}
	.lead-text {
		padding: 10px;
	}
	h1 span {
		margin-bottom: 20px;
	}
	.copy-btn {
		display: block;
		margin: 20px auto;
		width: 60%;
	}
	.section-title span {
		display: block;
		margin: 15px auto;
	}
	.top-prompt-box {
		padding: 5px;
	}
	
	h3 {
		font-size: 1.2em!important;
	}
	.prompt-box {
		padding: 20px 10px!important;
	}
	.prompt-content {
		padding: 5px;
	}
}

