/* このページのh3をリセット */
.container h3 {
	margin: 0;
	padding: 0;
	font-size: inherit;
	color: inherit;
	font-weight: inherit;
	border: none;
	background: none;
}

.container h3::before,
.container h3::after {
	content: none !important;
	display: none !important;
}

.template-generator-form {
	max-width: 800px;
	margin: 30px auto;
	padding: 20px;
	background: #f9f9f9;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-section {
	margin-bottom: 25px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e0e0e0;
}

.form-section:last-child {
	border-bottom: none;
}

.form-section h3 {
	margin: 0 0 12px 0;
	padding: 8px 0 8px 12px;
	font-size: 16px;
	color: #2d3436;
	font-weight: 600;
	border-left: 3px solid #e47d0e;
	background: linear-gradient(to right, rgba(228, 125, 14, 0.08) 0%, transparent 100%);
}

.form-section select,
.form-section input[type="number"],
.form-section input[type="text"] {
	width: 100%;
	max-width: 400px;
	padding: 8px 12px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
}

.form-section select:focus,
.form-section input[type="number"]:focus,
.form-section input[type="text"]:focus {
	outline: none;
	border-color: #e47d0e;
	box-shadow: 0 0 0 2px rgba(228, 125, 14, 0.2);
}

.custom-size-inputs {
	display: flex;
	gap: 15px;
	align-items: center;
}

.custom-size-inputs label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.custom-size-inputs input {
	width: 120px !important;
	max-width: 120px;
}

.form-note {
	margin: 8px 0 0 0;
	font-size: 12px;
	color: #666;
	font-style: italic;
}

.form-section label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	cursor: pointer;
}

.form-section input[type="checkbox"] {
	width: auto;
	max-width: none;
	margin: 0;
	cursor: pointer;
}

.btn-generate {
	background: linear-gradient(135deg, #ffaf4e 0%, #e47d0e 100%);
	color: white;
	border: none;
	padding: 12px 30px;
	font-size: 16px;
	font-weight: bold;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s;
	box-shadow: 0 2px 8px rgba(228, 125, 14, 0.3);
}

.btn-generate:hover {
	background: linear-gradient(135deg, #e47d0e 0%, #c8690c 100%);
	box-shadow: 0 4px 12px rgba(228, 125, 14, 0.4);
	transform: translateY(-1px);
}

.btn-generate:active {
	background: linear-gradient(135deg, #c8690c 0%, #a8550a 100%);
	transform: translateY(0);
}

#previewArea {
	margin-top: 30px;
	padding: 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#previewArea h3 {
	margin: 0 0 15px 0;
	padding: 8px 0 8px 12px;
	font-size: 18px;
	color: #2d3436;
	font-weight: 600;
	border-left: 3px solid #eac931;
	background: linear-gradient(to right, rgba(234, 201, 49, 0.08) 0%, transparent 100%);
}

#previewImage {
	text-align: center;
}

#previewImage img {
	max-width: 100%;
	height: auto;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-download {
	background: linear-gradient(135deg, #eac931 0%, #d4b728 100%);
	color: white;
	border: none;
	padding: 12px 30px;
	font-size: 16px;
	font-weight: bold;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s;
	box-shadow: 0 2px 8px rgba(234, 201, 49, 0.3);
}

.btn-download:hover {
	background: linear-gradient(135deg, #d4b728 0%, #bfa425 100%);
	box-shadow: 0 4px 12px rgba(234, 201, 49, 0.4);
	transform: translateY(-1px);
}

.btn-download:active {
	background: linear-gradient(135deg, #bfa425 0%, #aa9121 100%);
	transform: translateY(0);
}

#loadingIndicator {
	padding: 20px;
}

#loadingIndicator p {
	margin: 0;
	font-size: 14px;
	color: #666;
}

#errorMessage {
	padding: 15px;
	border: 1px solid #dc3545;
}

.intro-section {
	max-width: 800px;
	margin: 25px auto 35px auto;
	padding: 25px 30px;
	background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
	border: 1px solid #ffd9a6;
	border-left: 5px solid #e47d0e;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(228, 125, 14, 0.15);
}

.intro-section p {
	margin: 0;
	padding: 0;
	line-height: 1.9;
	color: #2d3436;
	font-size: 15px;
}
@media (max-width: 768px) {
  .intro-section {
    margin: 25px 15px 15px 15px;
  }
}


.notice-section {
	max-width: 800px;
	margin: 0 auto 35px auto;
	padding: 30px 35px;
	background: linear-gradient(135deg, #fff9d9 0%, #fff4c4 100%);
	border: 2px solid #eac931;
	border-left: 8px solid #e47d0e;
	border-radius: 10px;
	box-shadow: 0 4px 16px rgba(228, 125, 14, 0.25), 0 2px 8px rgba(234, 201, 49, 0.2);
	position: relative;
}

.notice-section::before {
	content: "";
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: linear-gradient(135deg, #ffaf4e 0%, #e47d0e 50%, #eac931 100%);
	border-radius: 10px;
	z-index: -1;
	opacity: 0.3;
}

.notice-section h3 {
	margin: 0 0 22px 0;
	padding: 12px 15px;
	font-size: 21px;
	color: #e47d0e;
	font-weight: 700;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 100%);
	border: 2px solid #eac931;
	border-radius: 6px;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
	box-shadow: 0 2px 4px rgba(228, 125, 14, 0.15);
}

.notice-section ul {
	margin: 0;
	padding: 0;
	padding-left: 28px;
	list-style: none;
	line-height: 2;
	color: #34495e;
}

.notice-section li {
	margin-bottom: 14px;
	position: relative;
	font-size: 15px;
	padding: 10px 12px 10px 32px;
	background: rgba(255, 255, 255, 0.6);
	border-left: 4px solid #eac931;
	border-radius: 4px;
	font-weight: 500;
	transition: all 0.2s;
}

.notice-section li:hover {
	background: rgba(255, 255, 255, 0.9);
	transform: translateX(3px);
	box-shadow: 0 2px 6px rgba(234, 201, 49, 0.2);
}

.notice-section li::marker {
	color: #eac931;
}

.notice-section li::before {
	content: "▶";
	color: #e47d0e;
	font-weight: bold;
	font-size: 14px;
	position: absolute;
	left: 12px;
	top: 12px;
}

.notice-section li:last-child {
	margin-bottom: 0;
}

@media (max-width: 768px) {
  .notice-section {
    margin: 5px 15px 35px 15px;
  }
}


/* logo */
.site-logo {
  width: 500px;
  max-width: 92%;
  height: auto;
}

.fontRed {
	color: red;
	font-size: 12px;
	font-style: italic;
}
