/* =========================================
   ブックカバー作成ガイド リデザイン
   help.css 読み込み後に help_bookcover.css として読み込む前提
========================================= */

/* -----------------------------------------
   Base
----------------------------------------- */
.bookcover-guide-page {
	padding-bottom: 50px;
}

.guide-breadcrumb {
	margin-bottom: 20px;
	font-size: 14px;
	color: #666;
}

.guide-breadcrumb a {
	color: #333;
	text-decoration: none;
}

.guide-breadcrumb i {
	margin: 0 8px;
	color: #999;
}

.guide-shell {
	width: 100%;
}

/* -----------------------------------------
   Hero
----------------------------------------- */
.guide-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 20px 40px;
	border-radius: 24px;
	background: linear-gradient(135deg, #f7fcff 0%, #e8f6ff 55%, #d9efff 100%);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	margin-bottom: 24px;
}

.guide-hero__content {
	flex: 1;
	min-width: 280px;
}

.guide-hero__eyebrow {
	display: inline-block;
	margin-bottom: 12px !important;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(14, 116, 144, 0.10);
	color: #0e7490;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.guide-hero__title {
	margin: 0 0 14px !important;
	font-size: 52px;
	line-height: 1.1;
	font-weight: 800;
	color: #075985;
}

.guide-hero__lead {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	color: #243746;
	font-size: 20px;
	line-height: 1.8;
}

.guide-hero__visual {
	flex: 0 0 360px;
	min-width: 280px;
}

.guide-sample-card {
	padding: 14px;
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 20px;
	box-shadow: 0 10px 28px rgba(14, 116, 144, 0.12);
}

.guide-sample-card img {
	width: 100%;
	border-radius: 12px;
}

/* -----------------------------------------
   Quick nav
----------------------------------------- */
.guide-quicknav {
	display: grid;
	gap: 16px;
	margin-bottom: 24px;
}

.guide-quicknav--bookcover {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-quicknav__item {
	min-height: 76px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid #e4eaef;
	border-radius: 18px;
	color: #0e7490;
	font-size: 22px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.guide-quicknav__item:hover {
	transform: translateY(-2px);
	color: #075985 !important;
	background: #f7fcff;
	text-decoration: none;
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.guide-quicknav__item i {
	font-size: 22px;
}

.guide-quicknav__item--blue {
	color: #2563eb;
}

.guide-quicknav__item--blue:hover {
	color: #1d4ed8 !important;
	background: #f8fbff;
}

/* -----------------------------------------
   Accordion / section
----------------------------------------- */
.modern-help-accordion {
	width: 100%;
	margin: 0;
}

.modern-help-accordion>h1 {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 18px 0 0 !important;
	padding: 18px 24px;
	background: #fff;
	color: #0e7490;
	border: 1px solid #e6edf1;
	border-radius: 20px 20px 0 0;
	font-family: inherit;
	font-size: 28px;
	font-weight: 800;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.modern-help-accordion>h1:first-child {
	margin-top: 0 !important;
}

#bookcover_size {
	padding-top: 0 !important;
}

.bookcover-guide-page .modern-help-accordion>h1:hover,
.bookcover-guide-page .modern-help-accordion>h1:hover span {
	color: #0e7490 !important;
	background: #fff !important;
}

.guide-title-blue {
	color: #2563eb;
}

.guide-section-body {
	display: block;
	margin-bottom: 18px;
	padding: 24px;
	background: #f9fbfc;
	border: 1px solid #e6edf1;
	border-top: 0;
	border-radius: 0 0 20px 20px;
}

.guide-card {
	padding: 22px;
	background: #fff;
	border: 1px solid #e6edf1;
	border-radius: 18px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.guide-card--soft {
	background: #f8fcff;
}

.guide-card--center {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.guide-card__title {
	margin-bottom: 16px;
	color: #0e7490;
	font-size: 24px;
	font-weight: 800;
	text-align: left;
}

/* -----------------------------------------
   Section 1: bookcover size
----------------------------------------- */
.bookcover-size-grid {
	display: grid;
	grid-template-columns: 380px 1fr;
	align-items: start;
	gap: 20px;
}

.guide-form-box {
	padding: 20px;
	background: #eef8ff;
	border: 1px solid #cfe8f7;
	border-radius: 16px;
}

.guide-form-list {
	margin-bottom: 0;
	padding-left: 0;
}

.guide-form-list li {
	margin-bottom: 20px;
	list-style: none;
}

.guide-inline-link {
	margin-left: 8px;
	font-size: 14px;
	font-weight: normal;
}

.guide-inline-link a {
	color: #2563eb;
}

.bookcover-guide-page .guide-btn-primary,
.bookcover-guide-page .guide-btn-primary:focus,
.bookcover-guide-page .guide-btn-primary:active {
	min-width: 220px;
	padding: 14px 22px;
	color: #fff !important;
	background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%) !important;
	border: 0 !important;
	border-color: transparent !important;
	border-radius: 12px;
	box-shadow: none;
	font-size: 18px;
	font-weight: 700;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.bookcover-guide-page .guide-btn-primary:hover {
	transform: translateY(-1px);
	color: #fff !important;
	background: linear-gradient(135deg, #06a6c9 0%, #075985 100%) !important;
	border-color: transparent !important;
	box-shadow: 0 8px 18px rgba(14, 116, 144, 0.22);
}

.guide-side-note {
	margin-top: 20px;
	padding: 20px;
	border-radius: 18px;
	line-height: 1.8;
}

.guide-side-note__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.5;
}

.guide-side-note p {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

.guide-note-box {
	background: #f8fbff;
	border: 1px solid #dce8f8;
	color: #1f2937;
}

.guide-note-box__title {
	color: #1f2937;
}

.canva-badge {
	display: inline-block;
	margin-right: 4px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #14b8c4;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
}

.guide-attention-box {
	background: #f1f9ff;
	border: 1px solid #cfe8f7;
	color: #24465a;
}

.guide-attention-box__title {
	color: #075985;
}

.guide-attention-box__title i {
	color: #0891b2;
}

.guide-attention-box ul {
	margin: 0;
	padding-left: 1.2em;
}

.guide-attention-box li {
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.75;
}

.guide-attention-box li:last-child {
	margin-bottom: 0;
}

.guide-result-area {
	padding: 0 !important;
	background: transparent;
}

.guide-result-main-figure {
	margin-bottom: 22px;
	padding: 20px;
	background: #fff;
	border: 1px solid #e6edf1;
	border-radius: 16px;
	text-align: center;
}

.guide-result-main-figure #sizefig {
	margin: 0 auto;
}

.guide-result-main-figure img {
	width: 100%;
	max-width: 640px;
	height: auto;
}

.guide-result-main-figure .kakudai {
	margin-top: 12px !important;
	margin-bottom: 0 !important;
	font-size: 14px;
}

.guide-result-cards--bookcover {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 0;
}

.guide-result-card {
	min-height: 150px;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid #e6edf1;
	border-radius: 16px;
}

.guide-result-card__label {
	margin-bottom: 10px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
}

.guide-result-card__value,
.guide-result-canva {
	background: transparent !important;
	font-size: 28px !important;
	line-height: 1.2 !important;
	font-weight: 800 !important;
	padding: 0 !important;
}

.guide-result-card__value:empty::before {
	content: "計算後に表示";
	color: #9ca3af;
	font-size: 14px;
	font-weight: 600;
}

.guide-result-card__sub {
	margin-top: 10px !important;
	padding: 0 !important;
	background: transparent !important;
	font-size: 18px;
	font-weight: 600;
}

.guide-result-card__sub:empty::before {
	content: "計算後に表示";
	color: #9ca3af;
	font-size: 14px;
	font-weight: 600;
}

.guide-result-card--blue .guide-result-card__label,
.guide-result-card--blue .guide-result-card__value,
.guide-result-card--blue .guide-result-card__sub {
	color: #2563eb;
}

.guide-result-card--red .guide-result-card__label,
.guide-result-card--red .guide-result-card__value,
.guide-result-card--red .guide-result-card__sub {
	color: #d64242;
}

.guide-result-card--green .guide-result-card__label,
.guide-result-card--green .guide-result-card__value,
.guide-result-card--green .guide-result-card__sub {
	color: #178a47;
}

.guide-result-card--purple .guide-result-card__label,
.guide-result-card--purple .guide-result-card__value,
.guide-result-card--purple .guide-result-card__sub {
	color: #a21caf;
}

.guide-result-mm {
	margin-top: 10px;
}

.guide-result-canva {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px dashed #e2e8f0;
}

.guide-result-canva__title {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #14b8c4;
	border: 1px solid #14b8c4;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.guide-result-canva .guide-result-card__sub {
	margin-top: 0 !important;
	font-size: 18px;
	line-height: 1;
	color: #444 !important;
}

.nuritasi_note {
	margin-top: 12px !important;
	padding: 0 !important;
	background: transparent !important;
	font-size: 0.9em !important;
	font-weight: normal;
	line-height: 1.5;
}

.guide-mini-note {
	margin-top: 16px;
	padding: 10px 12px;
	background: #eef8ff;
	border-radius: 10px;
	color: #075985;
	font-size: 14px;
	font-weight: 600;
}

.guide-check-card {
	padding: 18px;
	background: #fff;
	border: 1px solid #e6edf1;
	border-radius: 16px;
}

.guide-check-card--wide {
	width: 100%;
}

.guide-check-card__title {
	margin-bottom: 14px;
	color: #0e7490;
	font-size: 20px;
	font-weight: 800;
}

.guide-line-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.guide-line-box {
	padding: 14px 16px;
	background: #f8fafc;
	border: 1px solid #e8eef4;
	border-radius: 12px;
}

.guide-line-box .hojyosen p {
	margin-bottom: 8px !important;
	padding: 0 !important;
	background: transparent !important;
	line-height: 1.5;
}

.small-note {
	color: #666;
	font-size: 12px;
}

/* -----------------------------------------
   Section 2: specification
----------------------------------------- */
/*.guide-spec-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 20px;
    align-items: start;
}*/
.guide-data-figure img {
	max-width: 100%;
	height: auto;
}

.guide-spec-table {
	border: 1px solid #e6edf1;
	border-radius: 14px;
	overflow: hidden;
}

.guide-spec-row {
	display: grid;
	grid-template-columns: 180px 1fr;
}

.guide-spec-row:not(:last-child) {
	border-bottom: 1px solid #e6edf1;
}

.guide-spec-row__head {
	padding: 16px;
	background: #f4f8fb;
	font-weight: 700;
}

.guide-spec-row__body {
	padding: 16px;
	line-height: 1.8;
}

.guide-helper-text {
	display: block;
	margin-top: 6px;
	color: #6b7280;
	font-size: 13px;
	line-height: 1.6;
}

/* -----------------------------------------
   Section 3: data specification
----------------------------------------- */
.guide-data-layout {
	display: grid;
	grid-template-columns: 0.8fr 1fr;
	gap: 20px;
	align-items: start;
}

.guide-data-figure {
	text-align: center;
}

.guide-data-figure img {
	width: 100%;
	max-width: 560px;
	height: auto;
}

.guide-data-figure__note {
	margin-bottom: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	color: #4b5563;
	font-size: 14px;
	line-height: 1.8;
	text-align: left;
}

.guide-data-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.guide-data-item {
	background: #fff;
	border: 1px solid #e6edf1;
	border-radius: 14px;
	overflow: hidden;
}

.guide-data-item__label {
	padding: 14px 16px;
	background: #f4f8fb;
	font-weight: 700;
}

.guide-data-item__value {
	padding: 16px;
	line-height: 1.8;
}

.guide-badge {
	display: inline-block;
	margin-left: 8px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	vertical-align: middle;
}

.guide-badge--danger {
	background: #ffe6e6;
	color: #d53939;
	border: 1px solid #f6b2b2;
}

.guide-badge--info {
	background: #e6f0ff;
	color: #2563eb;
	border: 1px solid #b9d2ff;
}

.guide-badge--muted {
	background: #f1f5f9;
	color: #64748b;
	border: 1px solid #d5dee8;
}

/* -----------------------------------------
   Section 4: tool links
----------------------------------------- */
.guide-tool-links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.guide-tool-link {
	min-height: 92px;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid #e6edf1;
	border-radius: 18px;
	color: #1f2937;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
	transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.guide-tool-link:hover {
	transform: translateY(-2px);
	color: #111827;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.guide-tool-link--green {
	background: linear-gradient(135deg, #f3fbf5 0%, #ffffff 100%);
	border-color: #cfe8d6;
}

.guide-tool-link__icon {
	width: 54px;
	height: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: #f4f8fb;
	border-radius: 14px;
	font-size: 28px;
}

.guide-tool-link--green .guide-tool-link__icon {
	background: #1c8b46;
	color: #fff;
}

.guide-tool-link__icon img {
	max-width: 36px;
	max-height: 36px;
}

.guide-tool-link__text {
	flex: 1;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
}

.guide-tool-link__note {
	display: block;
	margin-top: 4px;
	color: #6b7280;
	font-size: 12px;
	font-weight: 600;
}

.guide-tool-link__arrow {
	color: #9ca3af;
	font-size: 20px;
}

/* -----------------------------------------
   Utility / help.css override
----------------------------------------- */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.mt20 {
	margin-top: 20px !important;
}

.mt30 {
	margin-top: 30px !important;
}

.bookcover-guide-page .accordion p:not(.nuritasi_note),
.bookcover-guide-page .accordion .guide-helper-text {
	background: transparent !important;
}

/* -----------------------------------------
   Responsive
----------------------------------------- */
@media screen and (max-width: 991px) {
	.guide-hero {
		flex-direction: column;
		align-items: flex-start;
		padding: 28px 24px;
	}

	.guide-hero__title {
		font-size: 38px;
	}

	.guide-hero__lead {
		font-size: 17px;
	}

	.guide-hero__visual {
		flex: 1 1 auto;
		width: 100%;
	}

	.guide-quicknav--bookcover {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bookcover-size-grid,
	.guide-spec-layout,
	.guide-data-grid,
	.guide-tool-links,
	.guide-line-grid,
	.guide-result-cards--bookcover {
		grid-template-columns: 1fr;
	}

	.modern-help-accordion>h1 {
		padding: 16px 18px;
		font-size: 26px;
	}

	.guide-section-body {
		padding: 16px;
	}

	.guide-result-card__value {
		font-size: 32px !important;
	}
}

@media screen and (max-width: 480px) {
	.guide-hero__title {
		font-size: 32px;
	}

	.guide-quicknav--bookcover {
		grid-template-columns: 1fr;
	}

	.guide-quicknav__item {
		min-height: 64px;
		font-size: 18px;
	}

	.guide-card {
		padding: 16px;
	}

	.guide-card__title {
		font-size: 20px;
	}

	.guide-side-note {
		padding: 16px;
	}

	.guide-side-note__title {
		font-size: 16px;
	}

	.guide-attention-box li {
		font-size: 13px;
	}

	.guide-spec-row {
		grid-template-columns: 1fr;
	}

	.guide-spec-row__head {
		border-bottom: 1px solid #e6edf1;
	}
}

#book_size_px {
	line-height: 1.2em;
	font-size: 0.9em !important;
}

.pad0 {
	padding: 0 !important
}

/* =========================================
   ブックカバー作成ガイド：白青系（青緑寄り）微調整
   表紙ガイドの緑、PDF入稿ガイドの濃い青と区別するため、
   ブックカバーは「白＋淡い水色＋青緑」にしています。
========================================= */

.bookcover-guide-page .guide-hero {
	background: linear-gradient(135deg, #ffffff 0%, #eef8ff 55%, #dff3ff 100%);
}

.bookcover-guide-page .guide-hero__eyebrow {
	background: #e6f7fb;
	color: #0e7490;
}

.bookcover-guide-page .guide-hero__title,
.bookcover-guide-page .modern-help-accordion>h1,
.bookcover-guide-page .guide-card__title,
.bookcover-guide-page .guide-check-card__title {
	color: #075985;
}

.bookcover-guide-page .guide-quicknav__item {
	color: #0e7490;
}

.bookcover-guide-page .guide-quicknav__item:hover {
	color: #075985 !important;
	background: #f2fbff;
}

.bookcover-guide-page .modern-help-accordion>h1:hover,
.bookcover-guide-page .modern-help-accordion>h1:hover span {
	color: #075985 !important;
	background: #fff !important;
}

.bookcover-guide-page .guide-card--soft,
.bookcover-guide-page .guide-form-box {
	background: #f4fbff;
	border-color: #cfe8f7;
}

.bookcover-guide-page .guide-btn-primary,
.bookcover-guide-page .guide-btn-primary:focus,
.bookcover-guide-page .guide-btn-primary:active {
	background: linear-gradient(135deg, #0891b2 0%, #075985 100%) !important;
}

.bookcover-guide-page .guide-btn-primary:hover {
	background: linear-gradient(135deg, #06a6c9 0%, #075985 100%) !important;
	box-shadow: 0 8px 18px rgba(14, 116, 144, 0.22);
}

.bookcover-guide-page .guide-btn-primary:focus {
	box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.18);
}

.bookcover-guide-page .guide-attention-box {
	background: #f1f9ff;
	border-color: #cfe8f7;
	color: #24465a;
}

.bookcover-guide-page .guide-attention-box__title,
.bookcover-guide-page .guide-attention-box__title i {
	color: #075985;
}

.bookcover-guide-page .guide-mini-note {
	background: #eef8ff;
	color: #075985;
}