@charset "UTF-8";
/*
 * Ranius 資料ダウンロード — フォームまわりだけのスタイル。
 * すべて .ranius-dl の中で完結しているので、SWELLや他のページには影響しません。
 * 色を変えたいときは、いちばん上の変数だけ書き換えてください。
 */

.ranius-dl {
	--rdl-deep: #2E1065;
	--rdl-pri: #6D28D9;
	--rdl-soft: #F3EEFC;
	--rdl-gold: #D9A441;
	--rdl-gold-deep: #B9862C;
	--rdl-ink: #1F2329;
	--rdl-sub: #6D7480;
	--rdl-line: #DDD7CE;
	--rdl-card: #fff;
	--rdl-bg: #FBF9F5;
	--rdl-ok: #1E9E6A;
	--rdl-bad: #C63B3B;

	background: var(--rdl-bg);
	border: 1px solid var(--rdl-line);
	border-top: 3px solid var(--rdl-gold);
	border-radius: 14px;
	padding: 30px 28px;
	margin: 32px 0;
	color: var(--rdl-ink);
	scroll-margin-top: 90px;
}

.ranius-dl *, .ranius-dl *::before, .ranius-dl *::after { box-sizing: border-box; }

.ranius-dl__title {
	font-size: 19px;
	font-weight: 700;
	margin: 0 0 18px;
	line-height: 1.5;
}

/* ---------------------------------------------------------------- 入力欄 */

.ranius-dl__grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	margin-bottom: 20px;
}

.ranius-dl__field { margin: 0 0 20px; }
.ranius-dl__grid .ranius-dl__field { margin: 0; }

.ranius-dl__field label,
.ranius-dl__set legend {
	display: block;
	margin-bottom: 7px;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.6;
	padding: 0;
}

.ranius-dl__req,
.ranius-dl__opt {
	display: inline-block;
	margin-left: 6px;
	font-size: 10.5px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 3px;
	vertical-align: 2px;
}
.ranius-dl__req { background: #FBEAEA; color: var(--rdl-bad); }
.ranius-dl__opt { background: #EFEBE4; color: var(--rdl-sub); }

.ranius-dl input[type="text"],
.ranius-dl input[type="email"],
.ranius-dl textarea {
	width: 100%;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.6;
	color: var(--rdl-ink);
	background: var(--rdl-card);
	border: 1px solid var(--rdl-line);
	border-radius: 9px;
	-webkit-appearance: none;
	appearance: none;
}
.ranius-dl textarea { resize: vertical; min-height: 100px; }

.ranius-dl input[type="text"]:focus,
.ranius-dl input[type="email"]:focus,
.ranius-dl textarea:focus {
	border-color: var(--rdl-pri);
	outline: 2px solid rgba(109, 40, 217, .2);
	outline-offset: 0;
}

/* ------------------------------------------------------------ 選択ボタン */

.ranius-dl__set {
	border: 0;
	padding: 0;
	margin: 0 0 20px;
	min-width: 0;
}

.ranius-dl__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ranius-dl__choice input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.ranius-dl__choice label {
	display: inline-block;
	margin: 0;
	cursor: pointer;
	padding: 9px 17px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 700;
	background: var(--rdl-card);
	color: var(--rdl-ink);
	border: 1px solid var(--rdl-line);
	transition: background-color .12s ease, color .12s ease, border-color .12s ease;
}
.ranius-dl__choice label:hover { border-color: var(--rdl-pri); color: var(--rdl-pri); }
.ranius-dl__choice input:checked + label {
	background: var(--rdl-pri);
	color: #fff;
	border-color: var(--rdl-pri);
}
.ranius-dl__choice input:focus-visible + label {
	outline: 3px solid var(--rdl-gold);
	outline-offset: 2px;
}

/* ------------------------------------------------------------ ボタンなど */

.ranius-dl__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 14px 30px;
	border: 0;
	border-radius: 999px;
	background: var(--rdl-gold);
	color: #241505;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .12s ease, transform .12s ease;
}
.ranius-dl__btn:hover,
.ranius-dl__btn:focus {
	background: var(--rdl-gold-deep);
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}
.ranius-dl__btn--block { width: 100%; }

.ranius-dl__submit { margin: 24px 0 0; }
.ranius-dl__privacy { margin: 4px 0 0; font-size: 12.5px; line-height: 1.8; color: var(--rdl-sub); }
.ranius-dl__note { margin: 16px 0 0; font-size: 12.5px; line-height: 1.8; color: var(--rdl-sub); }

.ranius-dl__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* -------------------------------------------------------- 送信後・お知らせ */

.ranius-dl__done-title {
	margin: 0 0 8px;
	font-size: 21px;
	font-weight: 700;
	color: var(--rdl-deep);
}
.ranius-dl__done-lead { margin: 0 0 20px; font-size: 15px; line-height: 1.9; }

.ranius-dl__files {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}
.ranius-dl__files li { margin: 0; }

.ranius-dl__error,
.ranius-dl__warn {
	margin: 0 0 20px;
	padding: 14px 18px;
	border-radius: 9px;
	font-size: 14.5px;
	line-height: 1.8;
}
.ranius-dl__error { background: #FDF3F3; border-left: 4px solid var(--rdl-bad); }
.ranius-dl__warn { background: #FDF8EE; border-left: 4px solid var(--rdl-gold-deep); }

@media (max-width: 600px) {
	.ranius-dl { padding: 24px 18px; border-radius: 12px; }
	.ranius-dl__btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.ranius-dl * { transition: none !important; }
	.ranius-dl__btn:hover { transform: none; }
}

/* ------------------------------------------------------------------ */
/* 応募フォーム（[ranius_apply]）で足りない分                          */
/* ------------------------------------------------------------------ */
.ranius-dl select {
	width: 100%;
	padding: 13px 40px 13px 14px;
	border: 1px solid #DED6C6;
	border-radius: 11px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%236B6252' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 15px center;
	font-size: 15px;
	font-family: inherit;
	color: inherit;
	line-height: 1.6;
	appearance: none;
	-webkit-appearance: none;
}
.ranius-dl select:focus {
	outline: none;
	border-color: #6D28D9;
	box-shadow: 0 0 0 3px rgba(109, 40, 217, .14);
}
.ranius-dl__field--wide { margin-top: 20px; }
.ranius-dl__field label span { color: #B4322F; margin-left: 2px; }
