@charset "utf-8";


/* -- div#7th_form -------------------------------------------------------------------------------- */
div#thanks{
	width: 95%;
	margin:auto;
	font-size: 100%;

}

.ql-editor img {
	width: 100% !important;
	height: auto !important;
}

p:has(> img:only-child),
p:has(> img:only-child) > img {
	margin: 0;
}

/* -- responsive ----------------------------------------------------------------------------------------------------------------------- */

/* 1000pixel start */
@media screen and ( max-width: 1000px ) {


/* -- div#thanks -------------------------------------------------------------------------------- */

div#thanks {
	width: 95%;
	font-size: 100%;
}


}
/* 1000pixel end */


/* 統合されたスタイル */

/* ベース変数 */
:root {
	/* カラー設定 */
	--primary-color: #FF6B6B;
	--primary-color-rgb: 255, 107, 107;
	--secondary-color: #FF8E8E;
	--accent-color: #FF5252;
	--background-color: #FFF0F5; /* 薄いピンク色の背景 */
	--form-background: #FFFFFF;
	--text-color: #333333;
	--muted-text-color: #6c757d;
	--border-color: #dee2e6;
	--input-background: #ffffff;
	--input-border: #ced4da;
	--input-icon-color: #adb5bd;
	--input-focus-border: #FF6B6B;
	--input-focus-shadow: rgba(255, 107, 107, 0.25);
	--label-color: #495057;
	--required-color: #dc3545;
	--optional-color: #6c757d;
	--button-text: #ffffff;
	--button-hover: #FF5252;
	--shadow-color: rgba(0, 0, 0, 0.1);
}

/* 全体のスタイリング */
body {
	font-family: 'Noto Sans JP', sans-serif;
	background-color: var(--background-color);
	color: var(--text-color);
	line-height: 1.6;
	padding: 0;
	margin: 0;
	min-height: 100vh;
}

/* フォームコンテナ */
.ql-container {
	max-width: 800px;
	margin: 1rem auto;
	background-color: var(--form-background);
	border-radius: 12px;
	box-shadow: 0 5px 20px var(--shadow-color);
	overflow: hidden;
	padding: 0;
}

/* ヘッダー画像 */
.ql-editor {
	padding: 0;
}

.ql-editor img {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* フォームグループ - borderを削除 */
.fm_dl {
	margin-bottom: 15px;
	padding: 10px 15px;
	/* border-bottom: 1px solid rgba(0,0,0,0.05); この行を削除/コメントアウト */
}

/* ラベル部分 */
.fm_dt {
	font-weight: 500;
	color: var(--label-color);
	padding-top: 0.75rem;
	vertical-align: top;
}

/* 入力部分 */
.fm_dd {
	position: relative;
}

/* 必須・任意ラベル */
.ptinputrequired,
.ptinputoptional {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.15rem 0.4rem;
	border-radius: 4px;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	vertical-align: middle;
	margin-left: 0.5rem;
}

.ptinputrequired {
	background-color: var(--required-color);
	color: #fff;
}

.ptinputoptional {
	background-color: var(--optional-color);
	color: #fff;
}

/* 入力フィールド */
input[type='text'],
input[type='email'],
input[type='tel'],
input[type='password'],
input[type='number'],
textarea {
	padding: 10px;
	border: 1px solid var(--input-border);
	border-radius: 8px;
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
}

/* セレクトボックス */
select {
	padding: 10px;
	border: 1px solid var(--input-border);
	border-radius: 8px;
	background-color: #fff;
	font-family: inherit;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23495057' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 16px;
	padding-right: 35px;
}

/* 誕生日フィールドのレイアウト */
.birthday-fields {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 10px;
}

/* 年月日のセレクトボックスサイズ調整 */
#my_mag_send_year {
	width: 100px;
}

#my_mag_send_month,
#my_mag_send_day {
	width: 80px;
}

/* ラジオボタングループ */
.radio-group {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 5px;
}

.radio-option {
	margin-right: 15px;
}

/* アイコン */
.input-icon {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--input-icon-color);
}

/* 入力ラッパー */
.input-wrapper {
	position: relative;
}

.input-wrapper input {
	padding-left: 35px;
}

/* 送信ボタン */
#form_submit {
	text-align: center;
	padding: 20px 0;
	margin-top: 20px;
}

#form_submit_button {
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: var(--button-text);
	border: none;
	border-radius: 30px;
	padding: 15px 40px;
	font-size: 1.1rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
}

#form_submit_button:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 15px rgba(var(--primary-color-rgb), 0.4);
}

/* 入力ノート */
.input-note {
	font-size: 0.85rem;
	color: var(--muted-text-color);
	margin-top: 5px;
}

/* 可視性を隠すユーティリティクラス */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* テーマセレクター */
.theme-selector {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 9999;
}

.theme-toggler {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	font-size: 20px;
	transition: transform 0.3s ease;
}

.theme-toggler:hover {
	transform: scale(1.1) rotate(15deg);
}

.theme-menu {
	position: absolute;
	top: 60px;
	right: 0;
	background: white;
	border-radius: 16px;
	padding: 0;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
	width: 320px;
	display: none;
	overflow: hidden;
	z-index: 9999;
}

.theme-menu.active {
	display: block;
	animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.theme-menu-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	background-color: #fafafa;
}

.theme-menu-header h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.theme-close {
	background: transparent;
	border: none;
	color: #666;
	cursor: pointer;
	padding: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s;
}

.theme-close:hover {
	background-color: rgba(0, 0, 0, 0.05);
	color: var(--primary-color);
}

.theme-options {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	padding: 18px;
	max-height: 400px;
	overflow-y: auto;
}

.theme-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s;
	border: 1px solid transparent;
	min-height: 52px;
}

.theme-name {
	font-size: 14px;
	font-weight: 500;
}

.theme-option:hover {
	background: #f5f5f5;
	transform: translateY(-2px);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.theme-option.active {
	background-color: rgba(var(--primary-color-rgb), 0.08);
	border-color: var(--primary-color);
	font-weight: 500;
	box-shadow: 0 2px 8px rgba(var(--primary-color-rgb), 0.15);
}

.theme-option.active .theme-color-preview {
	box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary-color);
}

/* フォーム免責事項 */
.form-disclaimer {
	font-size: 0.85rem;
	color: var(--muted-text-color);
	margin-top: 15px;
	text-align: center;
}

.text-link {
	color: var(--primary-color);
	text-decoration: none;
}

.text-link:hover {
	text-decoration: underline;
}

/* テーマカラープレビュー */
.theme-color-preview {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease-in-out;
}

.theme-option:hover .theme-color-preview {
	transform: scale(1.15);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.theme-option[data-theme='modern'] .theme-color-preview {
	background-color: #4361ee;
}

.theme-option[data-theme='professional'] .theme-color-preview {
	background-color: #0a2540;
}

.theme-option[data-theme='monochrome'] .theme-color-preview {
	background-color: #262626;
}

.theme-option[data-theme='dusty-blue'] .theme-color-preview {
	background-color: #5c88da;
}

.theme-option[data-theme='feminine'] .theme-color-preview {
	background-color: #d81b60;
}

.theme-option[data-theme='classic'] .theme-color-preview {
	background-color: #795548;
}

.theme-option[data-theme='playful'] .theme-color-preview {
	background-color: #ff9800;
}

.theme-option[data-theme='minimalist'] .theme-color-preview {
	background-color: #333333;
}

.theme-option[data-theme='bold'] .theme-color-preview {
	background-color: #f44336;
}

.theme-option[data-theme='earth'] .theme-color-preview {
	background-color: #588157;
}

.theme-option[data-theme='tech'] .theme-color-preview {
	background-color: #006064;
}

.theme-option[data-theme='elegant'] .theme-color-preview {
	background-color: #6a1b9a;
}

/* レスポンシブデザイン */
@media screen and (max-width: 768px) {
	.ql-container {
		margin: 0;
		border-radius: 0;
		max-width: 100%;
	}

	body {
		padding: 0.5rem;
	}

	.fm_dt, .fm_dd {
		display: block !important;
		width: 100% !important;
	}

	.fm_dd {
		margin-top: 10px;
	}

	.birthday-fields {
		flex-wrap: wrap;
	}
}






