body {
    font-family: "inter", "Noto Sans JP", sans-serif;
    background-color: #ffffff;
    color: #333;
    margin: 0;
    display: flex;
    justify-content: center;
    padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.02em;
}

.app {
    width: 100%;
    max-width: 340px;
    display: none;
}

h1 {
    font-family: "Stick", sans-serif;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

#form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

input {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 12px 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    background: transparent;
}

input:focus {
    border-bottom-color: #333;
}

button#addbutton {
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 8px;
}

#tasklist {
    margin-top: 20px;
    padding: 0;
    border-top: 1px solid #f5f5f5;
}

#tasklist li {
    list-style: none;
    padding: 16px 0;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

#tasklist li strong {
    font-size: 15px;
    font-weight: 500;
    display: block;
}

#tasklist li small {
    color: #999;
    font-size: 12px;
}

#tasklist li button {
    background: none;
    color: #ccc;
    border: none;
    font-size: 18px;
    padding: 10px;
    cursor: pointer;
}

#tasklist li button:hover {
    color: #ff4d4f;
}

/* 以下、ログインモーダル */

.login {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0,0.4);
    
    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 1000;
}


.logincard {
    background: white;
    padding: 30px 20px 40px 20px;
    width: 320px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 20px;
    flex-direction: column;

    justify-content: center;
    align-items: center;
}

.logincard h2 {
    margin-bottom: 8px;
}

.logincard p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

#loginbutton {
    background-color: #E5E7EB;
    color: #111827;
}

.maillogin {
    display: none;
}

.mailnew {
    display: none;
}

.mailnew span {
    font-size: 11px;
}

#password-keikoku {
    color: red;
    font-size: 11px;
}

#email-login {
    background-color: #000000;
    color: #FFFFFF;
    margin-top: 20px;
    font-size: 16px;
}

#email-new {
    background-color: #000000;
    color: #FFFFFF;
    margin-top: 20px;
    font-size: 16px;
}

#mailnewpass {
    margin-top: 10px;
}

.maillogin, .mailnew { 
    display: none;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    background-color: white;
    box-shadow: 0 8px 20px rgba( 0, 0, 0, 0.2);
    border-radius: 16px;
    width: 320px;
    padding: 30px 20px 40px 20px;
}


.maillogin input, .mailnew input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #CCC;
    border-radius: 12px;
    box-sizing: border-box;
}

.maillogin button, .mailnew button {
    width: 100%;
    background-color: #1DA1F2;
    color: white;
    border-radius: 20px;
    padding: 10px 0;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
}

.form-back-btn {
    cursor: pointer;
    font-size: 13px;
    color: #555;
    margin-top: 20px;
    background: none;
    border: none;
    text-decoration: underline;
}

.email-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.email-buttons .gsi-material-button {
    flex: 1;
}

/*ロード画面*/
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: none;
    justify-content: center;
    align-items: center; 

    background: rgba(255, 255, 255, 0.6);
    z-index: 999;
}


/* Google */

.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 10px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: 'Roboto', arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity .218s;
  transition: opacity .218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state, 
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}


/*onedivloaders*/

.loading {
  --size: 24px;
  --stroke-width: calc(var(--size) / 6);
  --color: currentColor;
  --animation-timing-function: linear;
  --animation-duration: 1s;
  width: var(--size);
  height: var(--size);
  border-width: var(--stroke-width);
  border-style: solid;
  border-color: var(--color) var(--color) var(--color) transparent;
  border-radius: 50%;
  transform: rotate(0deg);
  animation: var(--animation-timing-function) var(--animation-duration) infinite circle-spin-1-animation;
}

@keyframes circle-spin-1-animation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}