/*リセット&基本設定*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	color: #fff;
	background-color: #000;
	position: relative;
}

html,
body {
	height: 100%;
}

/*カラー・幅*/
:root {
	--l_blue: #00b0ec;
	--blue: #007aff;
	--cyan: #32ade6;
	--l_cyan: #87ceef;
	--l_cyan2: #e1f4fd;
	--green: #30d158;
	--red: #ff3b30;
	--orange: #ff8e00;
	--gray: #8e8e93;
	--gray2: #636366;
	--gray3: #48484a;
	--gray4: #3a3a3c;
	--border: #48484a;
	--maxwide: 1500px;
	--wide: calc(100% - 60px);
	--wideSP: calc(100% - 20px);
}

ul {
	box-sizing: border-box;
	list-style: none;
	list-style-type: none;
}

p,
a {
	font-size: 13px
}

a {
	cursor: pointer;
	text-decoration: none;
}

a:focus {
	outline: none;
}

a.a_style1 {
	color: var(--l_cyan);
	text-decoration: underline;
}

a.a_style1:hover {
	color: var(--l_cyan2);
}

a img {
	opacity: 0.5;
	transition: all 0.4s;
}

a img:hover {
	opacity: 1.0;
	transition: all 0.4s;
}

p.red {
	color: var(--red);
}

footer {
	position: sticky;
	width: 100%;
	top: 100vh;
	top: 100dvh;
	padding-bottom: 30px;
	margin: -10px auto 0;
}

p.copyright {
	text-align: center;
	color: var(--gray);
}



/* 入力フォーム */
input {
	padding: 10px;
	border-radius: 6px;
	font-size: 20px;
	color: #fff;
	background-color: #000;
	border: 1px solid var(--gray);
}

input:focus {
	outline: none;
}

/*ラジオボタン、チェックボックス*/
input[type=radio] {
	display: none;
}

.radio_t {
	display: inline-block;
	position: relative;
	padding: 2px 0 0 45px;
	cursor: pointer;
}

.radio_t::before {
	content: '';
	display: inline-block;
	position: absolute;
	width: 26px;
	height: 26px;
	top: -3px;
	left: 0px;
	border: 2px solid var(--gray);
	border-radius: 25px;
}

.radio_t::after {
	content: '';
	display: inline-block;
	position: absolute;
	width: 20px;
	height: 20px;
	border-radius: 20px;
	top: 2px;
	left: 5px;
	background: var(--green);
	opacity: 0;
}

input[type=radio]:checked + span::after {
	opacity: 1;
}

button {
	background: none;
	border: none;
	cursor: pointer;
}

.btn1,
.btn2,
.btn3,
.btn4 {
	display: block;
	width: 150px;
	padding: 12px 0;
	color: #fff;
	border: none;
	border-radius: 25px;
	cursor: pointer;
	font-size: 16px;
	text-align: center;
	margin: 0 auto;
}

.btn1 {
	font-weight: bold;
	background-color: var(--blue);
	transition: 0.5s;
}

.btn1:hover {
	background-color: var(--cyan);
	transition: 0.5s;
}

.btn2 {
	background-color: var(--gray3);
	transition: 0.5s;
}

.btn2:hover {
	background-color: var(--gray);
	transition: 0.5s;
}

.btn3 {
	font-weight: bold;
	background-color: var(--red);
	transition: 0.5s;
}

.btn3:hover {
	background-color: var(--orange);
	transition: 0.5s;
}

.btn4 {
	border: 1px solid var(--gray);
	width: 200px;
	transition: 0.5s;
}

.btn4:hover {
	border: 1px solid var(--blue);
	background-color: var(--blue);
	transition: 0.5s;
}

div.btn_box {
	display: flex;
	justify-content: space-between;
	width: 100%;
	max-width: 400px;
	margin: 40px auto 0;
}

/*タグセレクト*/
.selectbox {
	display: inline-flex;
	align-items: center;
	position: relative;
	width: 100%;
}

.selectbox select:focus {
	outline: none;
}


.selectbox::after {
	position: absolute;
	right: 15px;
	width: 10px;
	height: 7px;
	background-color: var(--gray);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	content: '';
	pointer-events: none;
}

.selectbox select {
	appearance: none;
	width: 100%;
	height: 40px;
	padding: .3em calc(.8em + 30px) .3em .8em;
	border: 1px solid var(--gray);
	border-radius: 6px;
	background-color: #000;
	color: #fff;
	font-size: 14px;
	cursor: pointer;
}

/*スイッチ*/
div.switchbox {
	display: flex;
	align-items: center;
	margin-left: auto;
}

div.switchbox p {
	font-size: 14px;
	margin-right: 10px;
}

.switch {
	display: inline-block;
	position: relative;
	width: 60px;
	height: 30px;
	border-radius: 25px;
	background-color: var(--gray);
	cursor: pointer;
	transition: background-color .4s;
}

.switch:has(:checked) {
	background-color: var(--green);
}

.switch::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	box-shadow: 0 0 5px rgb(0 0 0 / 20%);
	background-color: #fff;
	content: '';
	transition: left .4s;
}

.switch:has(:checked)::after {
	left: 30px;
}

.switch input {
	display: none;
}

@media only screen and (max-width: 1000px) {

	.btn1,
	.btn2 {
		width: 130px;
		font-size: 16px;
	}
}
