@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600&family=Roboto&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
	overflow-x: hidden;
    color: #fff;
    min-height: 100vh;
    width: 100vw;
	box-sizing: border-box;
}

body#login {
    background: linear-gradient(-45deg, #A9AAE4, #5E8FF2, #8AD6FD, #A8DEF9, #E6EDF0);
    background-attachment: fixed;
    height: 100vh;
}
body#login div {
    border: 1px solid #fff;
    border-radius: 20px;
    max-width: 100vw;
    margin: 20px 20px 0;
    background:rgba(255,255,255,0.2);
    padding: 0 20px 50px;
}
body#login h1 {
    margin: 60px auto 0;
    max-width: 120px;
    text-align: center;
    font-size: 2.8rem;
    line-height: 3.2rem;
}
body#login p {
    text-align: center;
    font-size: 2.8rem;
    margin: 40px auto;
}
body#login form {
    position: relative;
}
body#login input {
    border: solid 2px #fff;
    display: block;
    width: 100%;
    height: 3rem;
    border-radius: 30px;
    padding: 10px 15px;
    margin-bottom: 15px;
}
body#login input::placeholder,
body#login textarea::placeholder { 
    color: rgba(255,255,255,0.9); 
}
body#login button {
    display: block;
    width: 100%;
    height: 3rem;
    border-radius: 30px;
    margin: 30px 0 0;
    padding: 10px;
    color: #5D8DF2;
    background: #fff;
    text-align: center;
    font-size: 1.3rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    box-shadow: 0px 0px 5px #1119CA;
}
body#login ul {
    position: absolute;
    top: -1.8rem;
    padding: 0;
    color: #1119CA;
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
}
input:invalid {
	background-color: rgba(255, 182, 193, 0.8);
}

body#index {
    background: linear-gradient( #3F6DE3, #BFCDF9);
}
body#index article.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 6px 10px;
    height: 7rem;
    padding: 20px;
}
body#index article:first-child a:first-child {
    width: 90px;
}
body#index img.twphoto {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    border: #fff solid 2px;
    object-fit: cover;
}
body#index h1 {
    margin-top: 3px;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.2rem;
    max-width: 14.5rem;
}
body#index h1 img {
    margin: 0 5px;
    display: inline;
    height: 1rem;
}
body#index h1 p {
    margin-left: 5px;
}
body#index section {
    display: block;
}
body#index a.config {
    margin-top: 5px;
    opacity: 0.5;
    height: 2.2rem;
}



body#index div#todaysnice_bg {
    background-image: url('../img/user_todaysnice.png');
    background-size: cover;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    position: fixed;
    top: 150px;
    left: 0;
    right: 0;
    z-index: 0;
    animation-name: rotate;
    animation-duration: 100s;
    animation-timing-function: cubic-bezier(0.5, 0.51, 0.51, 0.52);
    animation-iteration-count: infinite;
}
body#index div#todaysnice_bg::before{
    content: '';
    padding-top: 50%;
}
@keyframes rotate{
0% {
    transform: rotateZ(0);
}
100% {
    transform: rotateZ(360deg);
}
}
body#index article#todaysnice {
    position: fixed;
    top: 225px;
    left: 0;
    right: 0;
    z-index: 10;
    max-width: 0 auto;
    text-align: center;
    font-size: 1.5rem;
}
body#index article#todaysnice span:first-child {
    font-size: 1rem;
    display: block;
}
body#index article#todaysnice p {
    font-size: 8rem;
    font-weight: bold;
    line-height: 7rem;
    font-family: 'arial', sans-serif;
}
body#index article#log {
    z-index: 100 !important;
    position:absolute;
    top: 500px;
    background: #E7EDFC;
    width: 100%;
    border-radius: 30px 30px 0 0;
    padding: 30px 20px;
}
body#index article#log h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: block;
    text-align: center;
    background-color: #CBD6F7;
    width: 80px;
    height: 8px;
    border-radius: 10px;
    margin: 15px auto;
}
body#index article#log h2 {
    color: #406EE3;
    font-weight: bold;
    font-size: 1.3rem;
    margin: 30px 0;
}
body#index article#log li {
    background: #fff url('../img/user_logicon.png') no-repeat 15px center;
    background-size: 40px;
    border-radius: 18px;
    color: #616161;
    height: 4.5rem;
    line-height: 4.5rem;
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-left: 22%;
}


body#config {
    background: linear-gradient(-45deg, #80CAF7, #7DCAF5, #61CFE8, #3BD5D8, #21D6CD, #0DD7C5);
    padding: 20px;
}
body#config article#header {
    display: flex;
    flex-direction: row;
    justify-content: left;
    gap: 0px 30px;
}
body#config h1 {
    font-size: 1.3rem;
}
body#config a#back {
    margin-top: 5px;
    margin-bottom: 15px;
    display: block;
    width: 1.5rem;
}
body#config a img {
    width: 1.5rem;
}
body#config article#config_main {
    border: 1px solid #fff;
    border-radius: 20px;
    max-width: 100vw;
    background:rgba(255,255,255,0.2);
    padding: 20px 20px 50px;
    margin-bottom: 30px;
}

body#config article#config_main div {
    margin: 0 0 20px;
}
body#config article#config_main label {
    width: 100%;
    display: block;
    font-weight: bold;
}
body#config article#config_main input, body#config article#config_main span {
    width: 100%;
    display: block;
    padding: 2px 0 5px;
    margin-bottom: 15px;
}
body#config article#config_main span#passwordMatchMessage3 {
    display: block;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #ffed4a;
}
body#config article#config_main span#passwordMatchMessage2,
body#config article#config_main span#passwordMatchMessage {
    display: inline;
    padding: 0 0 0 1rem;
    margin: 0;
    font-size: 0.9rem;
    color: #ffed4a;
}
body#config article#config_main input {
    border-bottom: 1px solid #fff;
}
body#config article#config_main #submit {
    border: none;
    display: block;
    width: 100%;
    height: 3rem;
    border-radius: 30px;
    margin: 40px 0 0;
    padding: 10px;
    color: #fff;
    background: #5D8DF2;
    text-align: center;
    font-size: 1.2rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    box-shadow: 0px 0px 5px #1119CA;
}
body#config article#config_main #logout {
    color: #5D8DF2;
    display: block;
    text-align: center;
    margin: 30px 0 0;
    font-weight: bold;
}
body#config article#config_main ul {
    color: #ffed4a;
}
body#config #loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #80CAF7, #7DCAF5, #61CFE8, #3BD5D8, #21D6CD, #0DD7C5);
    text-align: center;
    padding-top: 20%;
    z-index: 1000;
}

.loader {
    font-size: 10px;
    margin: 150px auto;
    text-indent: -9999em;
    width: 11em;
    height: 11em;
    border-radius: 50%;
    background: #ffffff;
    background: -moz-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
    background: -webkit-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
    background: -o-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
    background: -ms-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
    background: linear-gradient(to right, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
    position: relative;
    -webkit-animation: load3 1.4s infinite linear;
    animation: load3 1.4s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
  }
  .loader:before {
    width: 50%;
    height: 50%;
    background: #ffffff;
    border-radius: 100% 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
  }
  .loader:after {
    background: #3BD5D8;
    width: 85%;
    height: 85%;
    border-radius: 50%;
    content: '';
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }
  @-webkit-keyframes load3 {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes load3 {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }

/* 管理ページ用 /////////////////////////*/
body#admin_login {
    background: #F2F2F2;
}
body#admin_login h1 {
    color: #406DED;
    width: 100px;
    font-size: 2.5rem;
    line-height: 2.3rem;
    text-align: center;
    margin: 150px auto 40px;
}
body#admin_login p {
    color: #406DED;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}
body#admin_login p span {
    color: #f48984;
}
body#admin_login article {
    max-width: 300px;
    margin: auto;
}
body#admin_login article input {
    background: #fff;
    display: block;
    width: 100%;
    height: 3rem;
    border-radius: 13px;
    padding: 10px 15px;
    margin-bottom: 15px;
    color: #999;
}
body#admin_login article #submit {
    display: block;
    width: 100%;
    height: 3rem;
    border-radius: 30px;
    margin: 30px 0 0;
    padding: 10px;
    color: #fff;
    background: #406DED;
    text-align: center;
    font-size: 1.3rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
}
body#admin_login article .flashes {
    color: #f48984;
}

body#admin_main,
body#admin_shopedit,
body#admin_registration {
    background: linear-gradient(45deg, #B4BEFF, #BFAFF9, #D7BFFA, #FBE7EB, #FEDDE7,#FFD5E4);
    color: #323232;
}
body#admin_main h1,
body#admin_shopedit h1,
body#admin_registration h1 {
    max-width: 80vw;
    margin: 50px auto 20px;
    font-size: 2rem;
    height: 2.8rem;
    line-height: 2.8rem;
}
body#admin_main h1 span,
body#admin_shopedit h1 span,
body#admin_registration h1 span {
    color: #DA3E35;
}
body#admin_main h1 img,
body#admin_shopedit h1 img,
body#admin_registration h1 img {
    filter: invert(90%) sepia(0%) saturate(11%) hue-rotate(143deg) brightness(101%) contrast(93%);
    margin-right: 10px;
    height: 2.4rem;
    position: relative;
    top: 3px;
}
body#admin_main article,
body#admin_shopedit article,
body#admin_registration article {
    border-radius: 20px;
    max-width: 80vw;
    margin: 0 auto 60px;
    background:rgba(255,255,255,0.4);
    padding: 40px 50px 30px;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.5);
    position: relative;
}
body#admin_main article #search {
    border-radius: 20px;
    padding: 5px 30px 5px 40px;
    width: 100%;
    height: 2.3rem;
    max-width: 400px;
    background: #fff url('../img/admin_iconsearch.png') no-repeat 10px center;
    background-size: 20px;
}
body#admin_main article a#add {
    background: linear-gradient(90deg, #AB5BF6, #DF5FEB);
    border-radius: 20px;
    padding: 5px 20px;
    color: #fff;
    font-size: 0.9rem;
    float: right;
}
body#admin_main article ol {
    margin-top: 30px;
}
body#admin_main article ol li:first-child {
    background: none;
    background: none;
    box-shadow: none;
    margin-bottom: 0;
}
body#admin_main article ol li {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    border-radius: 20px;
    align-items: center;
    height: 5rem;
    background:rgba(255,255,255,0.4);
    box-shadow: 0px 0px 6px rgba(0,0,0,0.3);
    margin-bottom: 23px;
}
body#admin_main article ol li:first-child div:nth-child(2),
body#admin_main article ol li:first-child div:nth-child(3),
body#admin_main article ol li:first-child div:nth-child(4) {
    text-align: center;
}
body#admin_main article ol li div {
    text-align: center;
}
body#admin_main article ol li div:first-child {
    width: 70px;
}
body#admin_main article ol li div:nth-child(2) {
    width: 10rem;
    text-align: left;
}
body#admin_main article ol li div:nth-child(3) {
    width: 8rem;
    text-align: left;
}
body#admin_main article ol li div:nth-child(4) {
    width: 8rem;
}
body#admin_main article ol li div:nth-child(5) {
    width: 3rem;
    height: 1.2rem;
}
body#admin_main article ol li div:nth-child(6) {
    width: 5rem;
}
body#admin_main article ol li div:first-child img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: #fff solid 2px;
    object-fit: cover;
}
body#admin_main article ol li div#status_true {
    border: 2px solid #009A00;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #009A00;
    width: 4rem;
}
body#admin_main article ol li div#status_false {
    border: 2px solid #DA3E35;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #DA3E35;
    width: 4rem;
}

body#admin_registration section,
body#admin_shopedit section {
    position: relative;
    max-width: 400px;
    margin-top: 20px;
}
body#admin_shopedit section#information {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}
body#admin_shopedit section#information span {
    padding: 0;
    display: inline;
}
body#admin_registration section label,
body#admin_shopedit section label {
    margin-left: 10px;
}
body#admin_shopedit section p:first-child {
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    width: 4rem;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
}
body#admin_shopedit section p:first-child#status_true {
    border: 2px solid #009A00;
    color: #009A00;
}
body#admin_shopedit section p:first-child#status_false {
    border: 2px solid #DA3E35;
    color: #DA3E35;
}
body#admin_shopedit section h3 {
    font-size: 1.1rem;
}
body#admin_shopedit section img {
    border-radius: 50%;
    width: 90px;
    height: 90px;
    border: #fff solid 2px;
    object-fit: cover;
}
body#admin_registration section input,
body#admin_registration section textarea,
body#admin_registration section span,
body#admin_shopedit section input,
body#admin_shopedit section textarea,
body#admin_shopedit section span {
    background: #fff;
    display: block;
    width: 100%;
    height: 3rem;
    border-radius: 13px;
    padding: 10px 15px;
    margin-bottom: 20px;
}
body#admin_shopedit section span#passwordMatchMessage3 {
    background: none;
    display: dislplay;
    width: 100%;
    border-radius: none;
    padding: 0 10px;
    margin-bottom: 0;
    color: #DA3E35;
    font-size: 0.9rem;
}
body#admin_registration section span#passwordMatchMessage,
body#admin_shopedit section span#passwordMatchMessage {
    background: none;
    display: inline;
    width: 100%;
    height: 1rem;
    border-radius: none;
    padding: 0 10px;
    margin-bottom: 0;
    color: #DA3E35;
    font-size: 0.9rem;
}
body#admin_shopedit section span {
    background: none;
    padding-left: 10px;
}
body#admin_registration section textarea,
    body#admin_shopedit section textarea {
    height: 8rem;
}
body#admin_registration section input#submit,
body#admin_shopedit section input#submit {
    background: linear-gradient(90deg, #AB5BF6, #DF5FEB);
    border-radius: 30px;
    padding: 5px 20px;
    margin-top: 40px;
    color: #fff;
    font-size: 1rem;
    text-align: center;

}
body#admin_shopedit a.status {
    display: block;
    position: absolute;
    top: 40px;
    right: 50px;
    color: #fff;
    border-radius: 30px;
    padding: 5px 20px;
}
body#admin_shopedit a#status_false {
    background: #DA3F35;
}
body#admin_shopedit a#status_true {
    background: #009A00;
}
body#admin_shopedit a#deleate {
    color: #DA3F35;
    display: block;
    text-align: center;
    max-width: 400px;
}
body#admin_shopedit input::placeholder,
body#admin_shopedit textarea::placeholder,
body#admin_registration input::placeholder,
body#admin_registration textarea::placeholder { 
    color: #999; 
}
