@import "https://cdn.jsdelivr.net/npm/yakuhanjp@4.1.1/dist/css/yakuhanjp.css";
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wght@100..900&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css");

/* COMMON STYLE
---------------------------------------------------------------------- */


hr {
    clear: both;
    border: 0;
    border-top: 1px dashed #CCC;
    height: 1px;
}

a {
    color: #06C;
    text-decoration: none;
}

a:hover {
    color: #009993;
}

a:hover img,
input[type=button]:hover,
input[type=image]:hover,
input[type=submit]:hover {
    opacity: 0.9;
}

p {
    margin: 0 0 20px 0;
}

.alC {
    text-align: center;
}

.alR {
    text-align: right;
}


input,
textarea,
select {
    outline: none;
}

.attention {
    color: #d43f3a;
}


/* BASE LAYOUT
---------------------------------------------------------------------- */

body {
    font-family: YakuHanJP, Roboto, "Noto Sans JP", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

#baseWrap {
    width: 980px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    margin: 50px auto 10px auto;
    padding: 10px;
}

#mainWrap {
    width: 100%;
    background-color: #FFF;
    border-radius: 4px;
}

header {
    background: #1946C1;
    border-bottom: 1px solid #082269;
    border-radius: 4px 4px 0 0;
    padding: 14px 20px 10px;
    position: relative;
}

header .serviceList {
    position: absolute;
    top: 15px;
    right: 20px;
}

.siteLogo img {
    width: 150px;
}

article {
    border: 1px solid #AFB1B6;
    border-top: none;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.btn_df {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: #44AF35;
    color: #fff;
    border: none;
    border-radius: 100vh;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    overflow: hidden;
    width: 90%;
    margin: 1.25rem auto;
}

.btn_df.regist {
    background: #1946C1;
} 

.btn_df:hover {
    color: #FFF;
    text-decoration: none;
}

.btn_df::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.btn_df:hover::before {
    animation: shine 0.6s ease-out;
}

.btn_df__arrow {
    transition: transform 0.3s;
    position: absolute;
    right: 25px;
}

.btn_df:hover .btn_df__arrow {
    transform: translateX(4px);
}

.btn_info {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 3rem 0.25rem 1rem;
    background: #dedfde;
    border: 1px solid #c0c0c0;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    font-weight: 400;
    color: #333;
}

.btn_info:hover {
    text-decoration: none;
}

.btn-close {
    font-weight: 700;
    font-size: 1.5rem;
}



/* LOGIN TOP
---------------------------------------------------------------------- */

body#top {
    margin: 0 auto;
    padding: 0;
}

#inner {
    background-image: url(/assets/img/ralated_main_bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#topWrap {
    width: 750px;
}

#loginBox {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    margin: 0 auto 5px auto;
    padding: 10px;
}

#memberRegist,
#memberLogin {
    display: table-cell;
}

#memberRegist h3,
#memberLogin h3 {
    text-align: center;
    border-radius: 5px;
    padding: 14px 10px;
    margin-bottom: 20px;
    line-height: 1.0;
    font-size: 1rem;
}

#memberRegist h3 {
    background-color: #CFEBF7;
}

#memberLogin h3 {
    background-color: #BEEBC5;
}

#memberLogin {
    border-right: 1px solid #AFB1B6;
    padding: 5px 20px 0 10px;
}

#memberRegist {
    text-align: left;
    padding: 5px 10px 0 20px;
}


.forgetCont {
    text-align: right;
}

.forgetCont a {
    padding: 0 15px 0 0;
}


#specInfo {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dotted #AFB1B6;
}

#specInfo dl,
#specInfo ol {
    font-size: 0.825rem;
    margin: 0;
}

#specInfo ol {
    padding-left: 15px;
}

#specInfo dt {
    background-color: #099;
    padding: 3px 5px;
    color: #FFF;
    border-radius: 4px;
    text-align: center;

}

#specInfo dd {
    margin: 1rem 0;
}


/* -------------------------------------------------------
   Cookie使用同意ポップアップ
   
---------------------------------------------------------- */
.cookie-consent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, .85);
    padding: 25px;
    box-sizing: border-box;
    visibility: hidden;
    z-index: 10000;
}

@media only screen and (min-width: 600px) {
    .cookie-inner {
        width: 600px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
    }
}

.cookie-consent.is-show {
    visibility: visible;
}

.cookie-consent a {
    color: #fff !important;
}

.cookie-agree {
    color: #fff;
    font-size: 16px;
    text-align: center;
    background: dodgerblue;
    padding: 7px 25px;
}

.cookie-agree:hover {
    cursor: pointer;
}

.cookie-close {
    position: absolute;
    top: -32px;
    right: 0;
    font-size: 16px;
    color: #fff;
    background: rgba(0, 0, 0, .70);
    padding: 4px 15px;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
}

.cookie-close:hover {
    cursor: pointer;
}

/* パッと消える */
.cc-hide1 {
    display: none;
}

/* ゆっくり消える */
.cc-hide2 {
    animation: hide 1s linear 0s;
    animation-fill-mode: forwards;
}

@keyframes hide {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        visibility: hidden;
    }
}

@media screen and (max-width: 600px) {
    .cookie-consent {
        flex-direction: column;
    }

    .cookie-text {
        margin-bottom: 1em;
    }
}

.modal.show .modal-dialog {
        max-width: 80%;
        margin: 1.75rem auto;
    }
.testweb-terms-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 9999;
}

.modal-body {
    max-height: 350px;
    overflow-y: scroll;
    border: 1px solid #AFB1B6;
    padding: 1rem;
}

@media (max-width: 768px) {
#topWrap {
    width: 90%;
}
header .serviceList {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 0.75rem;
    text-align: right;
}
article {
    display: block;
    border: 1px solid #AFB1B6;
}
#memberRegist, #memberLogin {
    display: block;
    border: 0;
    padding: 10px;
}
#memberLogin {
    border-bottom: 1px solid #333;
    margin-bottom: 1.5rem;
}
}