body {
	background: #fff;
	color: #111;
	font-family: "";
	line-height: 1.5;
}

.u-desktop {
	display: block;
}

.u-mobile {
	display: none;
}

/* リキッドレイアウト対応 */

html {
	font-size: 16px;
}

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

/* Remove default padding */

ul,
ol {
	padding: 0;
}

/* Remove default margin */

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: inherit;
	font-weight: inherit;
}

/* Set core root defaults */

html {
	scroll-behavior: smooth;
}

/* Set core body defaults */

body {
	line-height: 1.5;
	min-height: 100vh;
}

/* Remove list styles on ul, ol elements with a class attribute */

ul,
ol {
	list-style: none;
}

/* A elements that don't have a class get default styles */

a:not([class]) {
	-webkit-text-decoration-skip: ink;
	text-decoration-skip-ink: auto;
}

/* Make images easier to work with */

img {
	display: block;
	max-width: 100%;
	width: 100%;
}

/* Natural flow and rhythm in articles by default */

article > * + * {
	margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */

input,
button,
textarea,
select {
	font: inherit;
}

/* Blur images when they have no alt attribute */

img:not([alt]) {
	filter: blur(10px);
}

/* フォームリセット */

input,
button,
select,
textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: transparent;
	border: none;
	border-radius: 0;
	font: inherit;
	outline: none;
}

textarea {
	resize: both;
}

input[type=checkbox],
input[type=radio] {
	opacity: 0;
	position: absolute;
}

input[type=submit],
input[type=button],
label,
button,
select {
	cursor: pointer;
}

select::-ms-expand {
	display: none;
}

/* ホバー */

a {
	-webkit-text-decoration: none;
	color: inherit;
	text-decoration: none;
	transition: opacity 0.3s;
}

.inner {
	margin-left: auto;
	margin-right: auto;
	max-width: 1650px;
	padding-left: 25px;
	padding-right: 25px;
	width: 100%;
}

.functions__wrapper2 {
	text-align: right;
}

.functions {
	display: flex;
	justify-content: space-between;
}

.accordionButton {
	border: 2px solid #000;
	color: #000;
	cursor: pointer;
	display: inline-block;
	font-size: 1.25rem;
	font-weight: 600;
	margin-top: 3.75rem;
	padding: 0.9375rem 1.875rem;
	position: relative;
	text-transform: uppercase;
	transition: 0.3s;
}

.accordionButton::before {
	background-color: #fff;
	content: "";
	height: calc(100% + 0.125rem);
	left: -0.125rem;
	position: absolute;
	top: -0.125rem;
	transform: scaleY(1);
	transition: 0.3s ease-out;
	width: calc(100% + 0.25rem);
}

.accordionButton::after {
	background-color: #fff;
	content: "";
	height: calc(100% - 50px);
	left: -0.125rem;
	position: absolute;
	top: -0.125rem;
	transform: scaleY(1);
	transition: 0.3s ease-out;
	width: calc(100% + 4px);
}

.accordionButton:hover::before {
	height: 0;
	transform: translateY(-25px);
}

.accordionButton:hover::after {
	transform: scaleX(0);
	transition-delay: 0.15s;
}

.accordionButton:hover {
	border: 2px solid #000;
}

.accordionButton span {
	padding-right: 1.25rem;
	position: relative;
	z-index: 3;
}

.accordionButton span::after {
	border: 0.21875rem solid #000;
	border-right: 0;
	border-top: 0;
	color: #000;
	content: "";
	height: 0.625rem;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-68%) rotate(-45deg);
	width: 0.625rem;
}

.instruction {
	font-size: 1.25rem;
	margin-top: 1.25rem;
}

li {
	padding-left: 1em;
	text-indent: -1em;
}

.localstorage {
	display: flex;
	gap: 1.25rem;
	justify-content: end;
	margin-top: 1.25rem;
}

.btn-shadow {
	-webkit-user-select: none;
	-moz-user-select: none;
	background: rgba(22, 144, 236, 0.46);
	color: #000;
	cursor: pointer;
	display: inline-block;
	font-size: 1.25rem;
	font-weight: 700;
	padding: calc(0.9375rem - 12px) 1.875rem 0.9375rem;
	position: relative;
	text-align: center;
	text-transform: uppercase;
	transition: all 0.3s;
	user-select: none;
	vertical-align: middle;
}

.btn-shadow:before {
	border: 0.125rem solid #000;
	content: "";
	height: 100%;
	left: -0.375rem;
	position: absolute;
	top: -0.375rem;
	transition: all 0.3s ease;
	width: 100%;
}

.btn-shadow:hover {
	padding: calc(0.9375rem - 6px) 1.875rem;
}

.btn-shadow:hover:before {
	left: 0;
	top: 0;
}

.textarea {
	grid-gap: 2.5rem 1.25rem;
	display: grid;
	gap: 2.5rem 1.25rem;
	grid-template-columns: 1fr 1fr;
	margin-top: 6.25rem;
}

textarea {
	border: 1px solid black;
	border-radius: 0.625rem;
	font-size: 0.875rem;
	padding: 0.375rem;
	transition: all 0.3s ease;
	width: 100%;
}

textarea:focus {
	border: 1px solid #3b69ff;
	box-shadow: 0px 0px 8px rgba(73, 115, 255, 0.5019607843);
}

.textarea__item {
	grid-gap: 0.3125rem;
	display: grid;
	gap: 0.3125rem;
}

.textarea__head {
	grid-gap: 0.3125rem;
	display: grid;
	gap: 0.3125rem;
	grid-template-columns: 2fr 1fr;
}

.textarea__head textarea {
	resize: none;
}

.textarea__main textarea {
	height: 18.75rem;
}

/* デフォルトはダークモード表示 */

body {
	background-color: #18181a;
	color: white;
	margin: 0;
	padding: 1em 2em;
	transition-duration: 1s;
	transition-property: color, background-color;
}

body textarea {
	background-color: #303139;
	color: white;
}

body .accordionButton {
	background-color: #18181a;
	color: white;
}

body .accordionButton::before {
	background-color: #18181a;
}

body .accordionButton::after {
	background-color: #18181a;
}

.msg {
	font-size: 30px;
	font-weight: bold;
}

.dark {
	display: block;
}

.light {
	display: none;
}

/* ライトモードのとき */

.js-mode-light {
	background-color: white;
	color: #000;
}

.js-mode-light .accordionButton {
	background-color: white;
	color: black;
}

.js-mode-light .accordionButton::before {
	background-color: white;
}

.js-mode-light .accordionButton::after {
	background-color: white;
}

.js-mode-light textarea {
	background-color: white;
	color: black;
}

.js-mode-light .light {
	display: block;
}

.js-mode-light .dark {
	display: none;
}

/* モード切り替えボタン */

input[type=checkbox] {
	display: none;
}

.switch {
	font-size: 1.875rem;
	position: fixed;
	right: 2rem;
	top: -1.875rem;
}

.switch-label {
	cursor: pointer;
}

.switch-mode {
	display: block;
	height: 4.375rem;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: rotate(0);
	transition: transform 1s;
	translate: -50%, -50%;
	width: 4.375rem;
}

/* 月と太陽を対角線上に設置しておく。
   設定したspanを回したら太陽がひっくり返ってしまったので、transform scaleで上下反転した */

.switch-mode::before {
	bottom: 0;
	content: "⏾";
	left: 0;
	position: absolute;
}

.switch-mode::after {
	content: "☀︎";
	position: absolute;
	right: 0;
	top: 0;
	transform: scale(1, -1);
}

@media (hover: hover) {

textarea:hover {
	border: 1px solid #3b69ff;
	box-shadow: 0px 0px 8px rgba(73, 115, 255, 0.5019607843);
}

}

@media (max-width: 1600px) {

html {
	font-size: 1vw;
}

}

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

.u-desktop {
	display: none;
}

.u-mobile {
	display: block;
}

html {
	font-size: 16px;
}

.inner {
	padding-left: 20px;
	padding-right: 20px;
}

.functions__wrapper {
	text-align: center;
}

.functions__wrapper2 {
	text-align: center;
}

.functions {
	flex-direction: column;
	gap: 0.625rem;
	justify-content: center;
}

.accordionButton {
	font-size: 1rem;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1.875rem;
}

.instruction {
	font-size: 1rem;
	text-align: left;
}

.localstorage {
	flex-direction: column;
	gap: 0.9375rem;
	justify-content: center;
}

.btn-shadow {
	margin-left: auto;
	margin-right: auto;
	width: 12.5rem;
}

.textarea {
	gap: 1.25rem;
	grid-template-columns: 1fr;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1.875rem;
	max-width: 38.25rem;
}

}

@media (max-width: 375px) {

html {
	font-size: 4.2666666667vw;
}

}


/*# sourceMappingURL=style.css.map */
