@charset "utf-8";
/* CSS Document */
html {
	font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
	color: #fff;
	font-size: 62.5%;
	scroll-behavior: smooth;
}
body {
	background-color: #000;
	color: #fff;
	letter-spacing: 0.08em;
	font-size: 1.5rem;
	font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
	font-weight: 500;
	font-feature-settings: 'palt'1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
p {
	line-height: 2.0;
	text-align: justify;
	margin-bottom: 1.4em;
}
p:last-child {
	margin-bottom: 0!important;
}

h2 {
	font-family: "WDXL Lubrifont JP N", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 2.0rem;
}
h3 {
	font-family: "WDXL Lubrifont JP N", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 2.0rem;
}

input, textarea {
  font-size: 1.6rem;
}


@media screen and (max-width: 780px) { /*-----------------SP----- */
	body {
		font-size: 1.5rem;
		line-height: 1.875em;
		letter-spacing: 0.1em;
	}
	p {
		line-height: 1.8;
	}
}

@media only screen and (min-width: 781px) {
    .sp { display: none!important; }
    .pc { display: block; }
}
@media only screen and (max-width: 780px) {
    .pc { display: none!important; }
    .sp { display: block!important; }
}



h1 {
	max-width: 440px;
	margin: 0 auto 40px;
	padding: 6px;
}
main {
	max-width: 440px;
	margin: 0 auto;
	padding: 0 20px;
}
.txt_form {
	margin: 0 10% 40px;
}
#form {
	display: flex;
	align-items: center;
	width: 100%; /* 必要に応じて幅調整 */
	gap: 8px; /* inputとbuttonの間にスペース */
}
#form input {
	flex: 1;
	min-width: 0; /* 長いplaceholderで伸びすぎ防止 */
	padding: 6px 6px; /* ボタンの見た目調整（任意） */
	line-height: 1.4;
	border: 0;
}
#form button {
	white-space: nowrap; /* 改行させない */
	padding: 6px 10px; /* ボタンの見た目調整（任意） */
	line-height: 1.4;
	background-color: #15ffd2;
	border: 0;
	border-radius: 3px;
	color: #000;
}

.lists {
	margin: 6px 0 0;
}
.lists li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #fff;
	color: #000;
	letter-spacing: 0.04em;
	padding: 4px 8px;
	margin-bottom: 4px;
}
.lists li:last-child {
	margin-bottom: 0;
}
.lists span.manga-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lists div {
	display: flex;
	align-items: center;
}
.lists div button {
	white-space: nowrap;
	flex-shrink: 0;
	font-size: 1.3rem;
	line-height: 1;
	padding: 8px;
	border: 0;
	border-radius: 3px;
	color: #fff;
}
.sec_buy .lists div button:first-child{
	background-color: #ffb91b;
}
.sec_not .lists div button:first-child{
	background-color: #1b9dff;
}
.lists div button:last-child{
	background-color: #e74c3c;
}
.sec_trash .lists div button:last-child{
	background-color: #1b9dff;
}



.sec_buy {
	margin-bottom: 20px;
}
.sec_not {
	margin-bottom: 20px;
}
.sec_trash {
	margin-bottom: 50px;
}
.trash_clear {
	margin: 10px 0 0;
	display: flex;
	gap: 8px;
	align-items: center;
}
.trash_clear button {
	white-space: nowrap;
	flex-shrink: 0;
	font-size: 1.1rem;
	line-height: 1;
	padding: 4px 10px;
	background-color: #000;
	border: 2px solid #fff;;
	border-radius: 100px;
	color: #fff;
	height: fit-content;
}


.about {
	border: 1px solid #15ffd2;
	padding: 20px;margin-top: 4em;
}
.about h2 {
	margin-bottom: 12px;
	font-size: 1.6rem;
	text-align: center;
	line-height: 1;
}
.about p {
	font-size: 1.4rem;
}


.copy {
	font-size: 1.0rem;
	letter-spacing: 0.02em;
	text-align: center;
	padding: 40px 0 70px;
}
.copy a {
	color: #fff;
}


.install-banner {
	display: none; /* 初期非表示 */
	justify-content: center;
	align-items: center;
	gap: 1em;
	background: #fff;
	color: #000;
	padding: 12px;
	font-size: 1.2rem;
	font-weight: bold;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: center;
}

.install-banner.show {
	display: flex;
}
.hidden {
	display: none !important;
}
.install-banner {
	display: none;
	/* その他のデザインがあればここに記述 */
}

.sec_completed {
	margin-top: 2em;
}
.empty-message {
  opacity: 0.3;
  pointer-events: none;
}
.volume-input {
  width: 3ch;
  min-width: 3ch;
  max-width: 6ch;
  flex: 0 0 auto;
  text-align: center;
  box-sizing: content-box;
	margin-right: 4px;
	margin-left: 10px;
}
.drag-handle {
  flex: none;
  cursor: grab;
  padding-right: 6px;
  color: #999;
  user-select: none;
  touch-action: none;
}

.manga-title {
  flex: 1;
}
.manga-title-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: inherit;
  font-family: inherit;
  color: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
}

.manga-title-input:focus {
  background: #eee;
  color: #000;
}
.delete-btn {
	margin-left: 10px;
}

.volume-wrapper {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
}

.volume-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  background: #000;
  border: 1px solid #15ffd2;
  padding: 6px;
  z-index: 10;
}

.volume-panel-btn {
  background: #15ffd2 !important;
  color: #000 !important;
  border: none;
  border-radius: 3px;
  padding: 6px 10px !important;
  font-size: 1.2rem;
  line-height: 1;
  white-space: nowrap;
}

.manga-title-input {
  pointer-events: auto;
  touch-action: manipulation;
}

.volume-input,
.delete-btn,
.volume-panel-btn {
  touch-action: manipulation;
}

.drag-handle {
  touch-action: none;
}