.sp-only {
    display: none;
}
.pc-only {
    display: block;
}
/* 受注入力 */
main {
    background-color:aliceblue;
    padding: 70px 30px 30px;
    grid-area: main;
}

#areaRightCart {
    background-color: #333;
    padding: 0 10px;
    position: fixed;
    top: 40px;
    right: 0;
    width: 415px;
    overflow-y: scroll;
    overflow-x: hidden;
    height: calc(100vh - 40px);
    scrollbar-width: thin;
    scrollbar-color: gold #222;
}

/* リスト・カートページ読み込み時の調整 */
#showLoadingScreen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.2s ease-out;
}

/* ページ上部のエリア */
#container-toparea {
    display: block;
    width: 1187px;
    min-height: 42px;
    margin-bottom: 10px;
    overflow: hidden;
    padding-bottom: 5px;
}


/*固定されるヘッダ部分*/
header {
    position: fixed;
    display: block;
    top: 0;
    height: 40px;
    width: 100%;
    background-color: #000000;
    color: #FFF;
    overflow: hidden;
    z-index: 20;
}

header #titlelogo {
    float: left;
    width: 500px;
    margin-left: 10px;
}

header #titlelogo .logo {
    font-size: 24px;
    line-height: 40px;
    font-style: italic;
    font-weight: 500;
    letter-spacing: -0.05em;
}
header #titlelogo .logo .yg {
    font-weight: 600;
    /* color:deepskyblue; */
}

header #titlelogo .sublogo {
    font-size: 14px;
    line-height: 40px;
}

header #headnav {
    float: right;
}

header #headnav ul {
    text-align: right;
    margin-right: 10px;
}
header #headnav li {
    display: inline;
    line-height: 40px;
    padding: 0 10px;
    border-right: #ddd 1px solid;
}

header #headnav li a {
    color: #FFF;
}

header #headnav li a:hover {
    color: #99F;
}

header #headnav li:last-child {
    border-right: none;
}

/*スクロールするコンテンツ部分*/
#contentwrap {
    display: block;
    position: relative;
    margin: 0 0 0 230px;
    min-height: calc(100vh - 40px);
}

#wrapper-content {
    /* display: grid; */
    position: relative;
    margin: 0 0 0 230px;
    /* grid-template-columns: 1fr 420px; 左は残りのスペース、右は520px */
    min-height: calc(100vh - 40px);
}

nav {
    position: fixed;
    left: 0;
    top: 40px;
    width: 230px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: gray #222;
    background-color: #222;
    color: #FFF;
    z-index: 9999;
    height: calc(100vh - 40px);
}

nav .spacer {
    height: 60px;
}

nav a {
    color: #FFF;
    display: block;
    height: 100%;
    width: 100%
}

nav a:hover {
    color: #FFF;
    font-weight: bold;
}

nav ul {
    margin-top: 20px;
}

nav ul li ul li {
    line-height: 1.8em;
    padding-left: 30px;
}

nav ul li ul li:hover {
    background-color: #99F;
    transition: 0.3s;
}

nav ul li.navtitle {
    margin: 30px 0 -14px 10px;
    padding: 0 0 2px 10px;
    border-left: 5px solid #99F;
    color: #CCF;
    font-weight: bold;
}

main #toparea {
    display: block;
    width: 1274px;
    /* width: 1280px; */
    min-height: 42px;
    margin-bottom: 10px;
    overflow: hidden;
    padding-bottom: 5px;
}

main #toparea.kakunintable {
    display: block;
    width: 1180px;
    /* width: 1280px; */
    min-height: 42px;
    margin-bottom: 10px;
    overflow: hidden;
    padding-bottom: 5px;
}

main #toparea p {
    font-size: 18px;
}

#nav-drawer {
    position: relative;
    display: none;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
    display:none;
}

/*アイコンのスペース*/
#nav-open {
    display: inline-block;
    width: 30px;
    height: 22px;
    vertical-align: middle;
}

/*ハンバーガーの形をCSSで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 3px;/*線の太さ*/
    width: 25px;/*長さ*/
    border-radius: 3px;
    background: #FFF;
    display: block;
    content: '';
    cursor: pointer;
}
#nav-open span:before {
    bottom: -8px;
}
#nav-open span:after {
    bottom: -16px;
}

/*閉じる用の薄黒箇所*/
#nav-close {
    display: none;
    position: fixed;
    z-index: 99;
    top: -2px;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3s ease-in-out;
}

/*メニューの中身*/
#nav-content {
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: gray #222;
    position: fixed;
    top: 40px;
    left: 0;
    z-index: 9999;
    width: 90%;
    max-width: 230px;/*最大幅（お好みで調整を）*/
    height: calc(100vh - 40px);
    background: #222;
    transition: .3s ease-in-out;
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%);
}
  
/*チェックがついたら表示させる*/
#nav-drawer label {
    float: left;
    margin-top: 10px;
    margin-left: 10px;
}

#nav-input:checked ~ #nav-close  {
    display: block;
    opacity: .5;
}

#nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    /* box-shadow: 6px 0 25px rgba(0,0,0,.15); */
}






.loginwrap {
    position: relative;
    background-color: aliceblue;
    /* background-image: radial-gradient(circle at 100% 0%, rgba(168, 193, 253, 1) 15%, rgba(161, 243, 205, 1)); */
    height: 100vh;
}

#enterarea {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    text-align: center;
    transform: translateY(-50%);
    margin-left: -250px;
    font-family: "Century Gothic";
}

#loginarea {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    text-align: center;
    transform: translateY(-50%);
    margin-left: -250px;
    font-family: "Century Gothic";
}

#loginarea p {
    display: block;
    margin-bottom: 30px;
    font-size: 16px;
    text-align: left;
    color: rgba(44, 93, 183, 1);
    text-align: justify;
    text-justify: inter-ideograph;
}

h1.entertitle {
    font-size: 30px;
    color:skyblue;
    border-bottom: 1px solid skyblue;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

h2.logintitle {
    font-size: 18px;
    color:black;
    margin-bottom: 40px;
}

h3.subtitle {
    font-size: 18px;
    color: rgb(23, 69, 155);
    margin-bottom: 20px;
    font-weight: normal;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.btn a {
  position: relative;
  z-index: 0;
  color: #fff;
  width: 350px;
  height: 60px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: normal;
  font-family: "Century Gothic";
  font-size: 20px;
  letter-spacing: 0.2em;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.5s;
  box-shadow: 0px 5px 9px 1px rgba(44, 93, 183, 0.5);
  border: none;
  cursor: pointer;
}

.btn button {
  position: relative;
  z-index: 0;
  color: #fff;
  width: 300px;
  height: 50px;
  margin: 40px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: normal;
  font-family: "Century Gothic";
  font-size: 20px;
  letter-spacing: 0.2em;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.5s;
  box-shadow: 0px 5px 9px 1px rgba(44, 93, 183, 0.5);
  border: none;
  cursor: pointer;
}

.nextbtn button {
    position: relative;
    z-index: 0;
    color: #fff;
    width: 200px;
    height: 40px;
    margin: 40px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: normal;
    font-family: "Century Gothic";
    font-size: 20px;
    letter-spacing: 0.2em;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s;
    box-shadow: 0px 5px 9px 1px rgba(44, 93, 183, 0.5);
    border: none;
    cursor: pointer;
  }

.nextbtn a {
    position: relative;
    z-index: 0;
    color: #fff;
    width: 200px;
    height: 40px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: normal;
    font-family: "Century Gothic";
    font-size: 20px;
    letter-spacing: 0.2em;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s;
    box-shadow: 0px 5px 9px 1px rgba(44, 93, 183, 0.5);
    border: none;
    cursor: pointer;
  }

.minibtn button {
    position: relative;
    z-index: 0;
    color: #FFF;
    width: 300px;
    height: 30px;
    margin: 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: normal;
    font-family: "Century Gothic";
    font-size: 18px;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s;
    box-shadow: 0px 5px 7px 1px rgba(255, 181, 102, 0.5);
    border: none;
    cursor: pointer;
  }

.minibtn a {
    position: relative;
    z-index: 0;
    color: #FFFFFF;
    width: 300px;
    height: 30px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: normal;
    font-family: "Century Gothic";
    font-size: 20px;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s;
    box-shadow: 0px 5px 7px 1px rgba(255, 181, 102, 0.5);
    border: none;
    cursor: pointer;
}

.enterbutton a:before,
.enterbutton button:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  left: 0;
  transition: 0.5s;
  background: rgb(130, 163, 241);
  background: linear-gradient(90deg, rgba(130, 163, 241, 1) 0%, rgba(125, 248, 191, 1) 100%);
}

.enterbutton a:after,
.enterbutton button:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -2;
  left: 0;
  background: rgb(125, 248, 191, 1);
  background: linear-gradient(90deg, rgba(125, 248, 191, 1) 0%, rgba(130, 163, 241, 1) 100%);
}

.enterbutton a:hover:before,
.enterbutton button:hover:before {
  opacity: 0;
}

.minibutton a:before,
.minibutton button:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  left: 0;
  transition: 0.5s;
  background: rgb(70, 70, 70);
  background: linear-gradient(90deg, rgb(70, 70, 70) 0%, rgb(100, 100, 100) 100%);
}

.minibutton a:after,
.minibutton button:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -2;
  left: 0;
  background: rgb(100, 100, 100);
  background: linear-gradient(90deg, rgb(100, 100, 100) 0%, rgb(70, 70, 70) 100%);
}

.minibutton a:hover:before,
.minibutton button:hover:before {
  opacity: 0;
}

.entersmall {
    /* position: absolute;
    bottom: 0; */
    display: block;
    font-size: 16px;
    color: skyblue;
    margin-top: 50px;
    margin-bottom: 10px;
    text-align: center;
    background-color: aliceblue;
}

.enterlogout {
    display: inline-block;
    margin-bottom: 10px;
    padding: 2px 5px;
}

.resetpass {
    display: block;
    width: 500px;
    margin-top: 40px;
    text-align: center;
    color: skyblue;
}

.resetpass a {
    color: skyblue;
    text-decoration: underline !important;
}

.resettext {
    display: inline-block;
    color: skyblue;
}

.resettext a {
    color: skyblue;
    text-decoration: underline;
}

.loginform {
    width: 300px;
    margin: 0 auto;
}

.loginform input {
    width: 300px;
    height: 40px;
    font-size: 22px !important;
    color: #666 !important;
    font-weight: normal;
    font-family: "Century Gothic";
    border: none;
    border-bottom: 1px solid skyblue;
    background-color: rgb(240, 240, 255);
  }

.loginform input:focus {
    border: none;
    outline: none;
    border-bottom: 1px solid pink;

}

.loginform label {
    display: block;
    font-size: 16px;
    color: #666;
    text-align: left;
    margin-top: 20px;
}

.form-text {
    font-size: 12px;
    text-align: left;
    color: rgba(44, 93, 183, 1);
}

.invalid-feedback {
    background-color: yellow;
}

.asteriskField {
    color:crimson;
}




@media screen and (max-width: 1699px) {
    #areaRightCart  {
        background-color: #333;
        padding: 0 10px;
        position: fixed;
        top: 40px;
        right: -335px;
        width: 415px;
        transition: right 0.4s ease; /* アニメーション */
        overflow-y: scroll;
        overflow-x: hidden;
        height: calc(100vh - 40px);
        scrollbar-width: thin;
        scrollbar-color: gold #222;
    }
    /* 表示状態 */
    #areaRightCart.open {
        right: 0;
    }
}


@media screen and (max-width: 1909px) {
    #contentwrap {
        display: block;
        position: relative;
        margin: 0;
        min-height: calc(100vh - 40px);
        overflow: visible;
    }

    #wrapper-content {
        display: block;
        position: relative;
        margin: 0;
        min-height: calc(100vh - 40px);
        /* grid-template-columns: 1fr 420px; 左は残りのスペース、右は520px */
        overflow: visible;
    }

    #contentwrap nav,
    #wrapper-content nav {
        display: none;
    }

    nav {
        position: absolute;
        background-color: #222;
        color: #FFF;
        top: 0;
        bottom: 0;
        left: -230px;
        width: 230px;
        height: 100%;
        left: 0;
    }

    #nav-drawer {
        display: block;
    }

}