@charset "utf-8";
/* Berrycake.js Demo Page CSS */

/* 名前変換フォーム */
#cakeMix,
.name_form {
  width: 20em;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1em 0; /* 縦と横の間隔 */
  margin: 0 auto 1em;
  padding: 1em 1em 1em;
  position: relative;
  background: #fff;
}
.row:not(:has(button)) {
  display: flex;
  width: 48%;
  flex-direction: column;
  gap: .2em;
  position: relative;
}
#cakeMix label,
#cakeMix input,
.name_form label,
.name_form input {
  flex: 1;
}
#cakeMix label,
.name_form label {
  font-size: .8em;
  position: relative;
  margin-top: -1.2em;
  top: 1.7em;
  left: .4em;
  opacity: .5;
  line-height: 1;
  color: var(--main-color);
}
.row:has(input:focus) label {
  opacity: 1;
}
#cakeMix input,
.name_form input {
  line-height: 1.3;
  border: none;
  border-bottom: 1px solid var(--light-color);
  color: var(--dark-color);
}
#cakeMix input:focus,
.name_form input:focus {
  outline: none;
  border-bottom-color: var(--main-color);
  background: var(--nuance-color);
}
#cakeMix ::placeholder,
.name_form ::placeholder {
  color: rgb(202, 195, 191);
}
#cakeMix .row:has(button),
.name_form .row:has(button) {
  margin-top: .5em;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: .5em;
}
#cakeMix button,
.name_form button {
  display: block;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #c3c4c6;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 4px 16px 2px;
  border: 1px solid #c3c4c6;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -moz-transition: 0.2s;
  border-radius: 999px;
  -webkit-border-radius: 999px;
  -moz-border-radius: 999px;
  -ms-border-radius: 999px;
  -o-border-radius: 999px;




/*  font-size: .9em;
  width: 6em;
  border: none;
  cursor: pointer;
  padding: 0 .1em;
  border-radius: .4em;
  line-height: 2;
  background: var(--base-color);
  box-shadow: 0 5px 10px var(--button-shadow);
  color: #fff;
*/
}
#cakeMix button:focus,
#cakeMix button:hover,
.name_form button:focus,
.name_form button:hover {
  background: var(--main-color);
  outline: none;
}
.name_form > *:last-child:not(:has(button)) {
  text-align: center;
  font-size: .8em;
  width: 100%;
  height: .8em;
  margin-bottom: .5em;
  color: var(--light-color);
}



/* 変換範囲 */
.main_content {
  padding: 0 1em 1em;
  font-size: .9em;
}
.name_view {
  text-align: center;
}
.novel_list {
  margin: 2em 0;
}