/* main.css @@@ 20240621 */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Noto Sans CJK JP', sans-serif;
}
@media (max-width: 700px) {
    body {
        background-size: 150% auto;
    }
}
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background-color: #dfdbd6;
    border-bottom: 5px solid  #f1f1f1;
    padding: 0;
    box-sizing: border-box;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    height: 100px;

}
@media (max-width: 992px) {
    .header {
        height: 80px;
    }
}
@media (max-width: 475px) {
    .header {
        height: 80px;
    }
}
.header-left {
    flex: 1;
    position: relative;
    top: -45px;
}
.header-logo {
    position: absolute;
    left: 25px;
    top: 15px;
    max-width: 130px;
}
@media (max-width: 992px) {
    .header-logo {
        left: 20px;
        max-width: 130px;
    }
}
@media (max-width: 700px) {
    .header-logo {
        left: 20px;
        max-width: 130px;
    }
}
.header-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-right: 20px;
    position: relative;
}
@media (max-width: 992px) {
    .header-right {
        transform: translateY(-20px);
        padding-top: 20px;
        font-size: 0.5rem;
    }
}
.header-link {
    color: #000;
    font-size: 0.8em;
    text-decoration: none;
    padding: 5px;
    margin-left: 8px;
}
.header-link:hover {
    color: #000;
}
.header-link:first-child {
    margin-left: 0;
}
.header-button {
    width: 120px;
    font-weight: 500;
    font-size: 0.8em;
    border: none;
    margin-left: 20px;
    cursor: pointer;
}
.header-tel {
    margin-left: 10px;
    color: #d5b227;
    font-size: 0.8em;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .header-link, .header-button, .header-tel {
        font-size: 0.75rem;
    }
}
@media (max-width: 870px) {
    .header-link, .header-button, .header-tel {
        font-size: 0.7rem;
    }
}
@media (max-width: 845px) {
    .header-link, .header-button, .header-tel {
        font-size: 3px;
    }
}
@media (max-width: 845px) {
    .header-link, .header-button, .header-tel {
        font-size: 0.65em;
    }
}

.hamburger-icon {
    display: none;
    transform: translateY(-30px);
}
.hamburger-icon span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background: #fffffe;
}
.header-button-sp {
    display: none;
}

@media (max-width: 845px) {
    .hamburger-icon {
        display: block;
        position: fixed;
        top: 53px;
        right: 20px;
        border: 1px solid #000;
        background-color: #000;
        z-index: 10000; 
    }
    .header-right {
        transform: translateY(-10px);
    }
}

.header-links {
    display: flex;
}
@media (max-width: 845px) {
    .header-links {
        display: none;
    }
    .header-button {
        display: none;
    }
    .header-button-sp {
        display: block;
        position: relative;
        top: 0;
        right: 50px;
        background-image: url(./imgs/header/mail.png);
        background-size: contain;
        background-color: transparent;  
        width: 36px;
        height: 36px;
        border: 0;
    }
}

.hamburger-links {
    display: none;
    position: fixed;
    top: 10px;
    right: 20px;
    flex-direction: column;
    color: #fff;
    background: #1d1d1d;
    border: 5px solid #606060;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10000;
}


.hamburger-link {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    border-bottom: 1px solid #b7b0ac;
    padding: 5px;
    margin-bottom: 10px;
    text-align: center;
    width: 200px;
}
.hamburger-link:hover {
    color: #fff;
}
.hamburger-links.open {
    display: flex;
}

.haike-wrapper {
    background-image: url("./imgs/haike01.png");
    background-size: 75%;
    background-position-x: right;
    background-repeat: no-repeat;
}
.haike-wrapper#u {
    background-image: url("./imgs/haike02.png");
}
.haike-wrapper-page {
    background-size: 60%;
    background-position: right -120px top -140px;
    background-repeat: no-repeat;
}
.haike-wrapper-page#about {
    background-image: url("./imgs/haike03.png");
}
.haike-wrapper-page#kiyaku {
    background-image: url("./imgs/haike04.png");
    background-position: right -80px top -50px;
}
.haike-wrapper-page#p-policy {
    /*
    background-size: 100%;
    background-position: right -160px top -20px;
    */
    background-image: url("./imgs/haike05.png");
}
.haike-wrapper-page#tokutei {
    /*
    background-size: 100%;
    background-position: right -160px top -30px;
    */
    background-image: url("./imgs/haike06.png");
}
.haike-wrapper-page#mail-setting {
    background-image: url("./imgs/haike07.png");
    background-position: right -80px top -40px;
}
.haike-wrapper-page#kaime {
    background-image: url("./imgs/haike01.png");
    background-size: 60%;
    background-position: right -120px top 0px;
}
.haike-wrapper-page#aboutpayment {
    background-image: url("./imgs/haike08.png");
}

@media (max-width: 992px) {
    .haike-wrapper {
        background-image: url("./imgs/haike01.png");
        background-size: 100%;
        background-position-x: center;
        background-position-y: 100px;
        background-repeat: no-repeat;
    }
    .haike-wrapper-page {
        background-size: 70%;
        background-position: right -100px top -70px;
        background-repeat: no-repeat;
    }
    .haike-wrapper-page#kaime {
        background-size: 70%;
        background-position: right -100px top 0px;
    }
    #title-logo {
        margin-top: 20px;
    }
}
#page-title {
    font-size: 1.5rem;
}
@media (max-width: 512px) {
    .haike-wrapper-page {
        background-size: 80%;
        background-position: right -70px top 0px;
        background-repeat: no-repeat;
    }
    .haike-wrapper-page#kaime {
        background-size: 100%;
        background-position: right -70px top 0px;
    }
    #page-title {
        font-size: 0.7rem;
    }
}
@media (max-width: 767px) {
    #title-logo {
    }
}

.container {
}

#title-logo {
    width: 100%;
    max-width: 300px;
    margin-top: 120px;
}
@media (min-width: 320px) {
    #title-logo {
        margin-top: 10px;
        max-width: 300px;
    }
}
@media (min-width: 768px) {
    #title-logo {
        margin-top: 10px;
        max-width: 300px;
    }
}
@media (min-width: 992px) {
    #title-logo {
        max-width: 400px;
        margin: 140px auto 140px;
    }
}
@media (min-width: 1200px) {
    #title-logo {
        max-width: 450px;
        margin: 170px auto 170px;
    }
}
.form-group.row {
    display: flex;
    align-items: center;
}

#login-form {
    width: 60%;
    margin: 170px auto 170px;
}
.login-id {
    position: relative;
    top: -132px;
    width: 80px;
    color: #d0b448;
}
.login-pw {
    position: relative;
    top: -112px;
    width: 80px;
    color: #d0b448;
}
.login-btn {
    position: relative;
    top: -85px;
    left: -0px;
}
.login-btn button {
    border: 0;
    background: none;
    color: #d0b448;
    width: 100%;
}
.logout-btn {
    position: relative;
    top: -40px;
    left: -0px;
}
.logout-btn button {
    border: 0;
    background: none;
    color: #fff;
    width: 100%;
}
@media (min-width: 1200px) {
    #login-form {
        width: 50%;
        margin: 190px auto 190px;
    }
}
@media (max-width: 992px) {
    #login-form {
        width: 40%;
    }
}
@media (max-width: 768px) {
    #login-form {
        width: 50%;
    }
}
@media (max-width: 767px) {
    #login-form {
        margin-top: 25px;
        margin-bottom:  25px;
        width: 53%;
    }
}
@media (max-width: 512px) {
    #login-form {
        width: 60%
    }
}
.twl-l {
    display: inline-block; 
    width: 45%;
    font-weight: 600;
    font-size: 1.25rem;
}
.twl-r {
    display: inline-block; 
    width: 50%;
}
@media (max-width: 376px) {
    #login-form {
        width: 78%
    }
    br.spacer { display: none; }
    .twl-l,.twl-r {
        width: 100%;
    }
    .haike-wrapper-page#p-policy {
        background-size: 100%;
        background-image: url("./imgs/haike05.png");
        background-position: right -160px top -20px;
    }
    .haike-wrapper-page#tokutei {
        background-size: 100%;
        background-image: url("./imgs/haike06.png");
        background-position: right -160px top -30px;
    }
}
.col-7 {
    width: 50%;
}
@media (min-width: 768px) {
    #login-form {
    }
    br.sp { display: none; }
}
#loginId, #password {
    margin-bottom: 10px;
}
@media (min-width: 768px) {
    .form-control, .btn {
        margin-right: 10px !important;
    }
    .form-control:last-child, .btn:last-child {
        margin-right: 0 !important;
    }
}

.form-control, .form-control:focus, .form-control:hover {
    border-radius: 1.2rem;
    background-color: #d0b448;
    color: #000000;
    border: none;
    height: 30px;
}
.btn {
    border-radius: 1.2rem;
    background-color: #942c2a;
    color: #d0b448;
    border: none;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-button {
    width: 100%;
    padding: 10px;
    background-color: transparent;
    background-image: url("/imgs/login-bg.png");
    color: #9d8425;
}
.logout-button {
    width: 100%;
    padding: 10px;
    opacity:70%;
    background-color: #000;
    border-radius: 50px;
    color: #fff;
}
@media (min-width: 768px) {
    .form-group .col-md-5, .form-group .col-md-2 {
        padding-right: 5px !important;
        padding-left: 5px !important;
    }
    .form-group .col-md-5:first-child, .form-group .col-md-2:first-child {
        padding-left: 15px !important;
    }
    .form-group .col-md-2:last-child {
        padding-right: 15px !important;
    }
}
@media (max-width: 768px) {
    .btn {
        width: 150px !important;
        margin: auto;
    }
}
#loginId.form-control, #password.form-control {
    border-radius: 1.2rem;
    background-color: #d0b448;
    color: #000000;
    border: none;
    height: 35px;
}
.input-wrapper {
    display: flex;
    background-image: url("/imgs/login-bg.png");
    color: #9d8425;
    padding: 0 10px;
    margin: 0 0 10px 0;
    height: 35px;
    align-items: center;
}
.input-label {
    min-width: 80px;
    padding-right: 10px;
    text-align: right;
    font-size: 0.8em;
}
.styled-input {
    width: 100%;
    border: none;
    flex-grow: 1;
    background-color: #000;
    border-left: 1px solid #fff;
    color: #fff;
}

/* FOOTER */
.site-footer {
    background-color: #000;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    margin-top: auto;
}
.footer {
    background-color: #942c2a;
    display: flex;
    justify-content: flex-start;
    align-items: left;
    padding: 20px;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #d5b329;
    font-size: 14px;
    text-align: left;
}
.footer-logo {
    width: 100%;
    text-align: center;
}
@media (max-width: 992px) {
    .footer-logo {
        width: 100%;
    }
}
.copyright {
    color: #d5b329;
    margin-top: 3px;
    margin-bottom: 2px;
    line-height: 1.2;
    text-align: center;
    width: 100%;
    display: block;
}
.line {
    width: 100%;
    height: 1px;
    background-color: #d5b329;
}
.footer-text {
    color: #d5b227;
    font-size: 12px;
    margin: 3px 0;
}

/* ABOUT */
.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 2rem 0;
}
.mail-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 2rem 0;
}
@media (max-width: 992px) {
    .about-image {
        margin-top: 0px;
    }
}
.about-image {
    width: 70%;
    max-width: 90%;
    position: relative;
    z-index: 0;
}
@media (max-width: 992px) {
    .about-image {
        width: 80%;
    }
}
@media (max-width: 750px) {
    .about-image {
        width: 95%;
    }
}

.content-section-about {
    background-color: #dfdbd6;
    opacity: 80%;
    margin: 0px 20px 0 20px;
    padding: 20px 10%;
    color: #9d8425;
    font-weight: 400;
    font-size: 0.9em;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.text-with-line {
    position: relative;
    margin-bottom: 45px;
    padding-bottom: 20px;
    width: 100%;
}
.text-with-line:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    border-bottom: 1px solid #7a6a56;
    width: 100%;
    margin: auto;
}

/* TERMS */
.content-section-terms {
    background-color: #dfdbd6;
    opacity: 80%;
    margin: 0px 20px 0 20px;
    padding: 20px 10px;
    color: #9d8425;
    font-weight: 400;
    font-size: 0.9em;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
}
.text-with-line-terms {
    position: relative;
    margin-bottom: 25px;
    width: 100%;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
}
.text-with-line-terms:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    border-bottom: 1px solid #7a6a56;
    width: 100%;
    margin: auto;
}
.content-section h5 {
    font-weight: 400;
    text-align: left;
}
.content-section-terms h5 {
    font-weight: 600;
}
.span_h5 {
    font-weight: 600;
    font-size: 1.25rem;
}

/* Mail Setting */
.content-section-mail {
    background-color: #dfdbd6;
    opacity: 80%;
    margin: 0px 20px 0 20px;
    padding: 20px 10px;
    color: #9d8425;
    font-weight: 400;
    font-size: 1.2em;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
}
.text-mail-setting {
    position: relative;
    margin-bottom: 45px;
    width: 100%;
}
.mail-setting-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #d5b227;
    color: #942c2a;
    padding: 5px 20px 5px 15px;
    border-radius: 5px;
    font-size: 16px;
    width: 200px;
    margin-bottom: 80px;
  }
.mail-setting-button-text {
    color: #942c2a;
    font-size: 1.2em;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-right: 25px;
    margin-left: 15px;
}
.triangle {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7.5px solid #942c2a;
    transform: rotate(-45deg);
    position: relative;
    top: 3px;
}

/* Payment */
.content-section-payment {
    background-color: #dfdbd6;
    opacity: 80%;
    margin: 0px 20px 0 20px;
    padding: 20px 10%;
    color: #9d8425;
    font-weight: 400;
    font-size: 0.8em;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
}
.info-pair {
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid #7a6a56;
    padding: 10px 0;
}
.info-pair:last-child {
    border-bottom: none;
}
.info-pair .item {
    width: 200px;
}
.info-pair-b {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0;
}
.info-pair-b:last-child {
    border-bottom: none;
}
.info-pair-b .item {
    width: 200px;
}
.item {
    width: 20%;
    text-align: left;
}
.content {
    width: 80%;
    text-align: left;
}

select {
    margin: 10px 0;
    height: 30px;
    width: 150px;
    background-color: #4f433b;
    padding-left: 10px;
    font-weight: 500;
    font-size: 1.3em;
    color: #fff;
    border: none;
}
.credit-button {
    margin: 10px 5px;
    padding: 2px;
    background-color: #bbae92;
    color: #fff;
    font-weight: 500;
    font-size: 1.3em;
    border-radius: 10px;
    border: none;
    width: 80px;
    text-align: center;
}
.content > div {
    display: flex;
    align-items: center;
}
hr {
    border: 0;
    height: 2px;
    width: 200px;
    background: #ffffff;
}
.highlight-text {
    color: #9d8425;
    font-size: 1.3em;
    margin: 20px 0;
}
.highlight-link {
    color: #9d8425;
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    .info-pair {
        flex-direction: column;
    }
    .info-pair-b {
        flex-direction: column;
    }

    .item, .content {
        width: 100%;
        text-align: left;
    }
}

/* provision */
.provision-section {
    background-color: #dfdbd6;
    opacity: 80%;
    margin: 0px 20px 0 20px;
    padding: 20px 10px;
    color: #9d8425;
    font-weight: 400;
    font-size: 0.9em;
    letter-spacing: 0.1em;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items:flex-start;
    padding-top: 50px;
}
.provision-section h1 {
    font-size: 1.5em;
    margin-bottom: 10px;
}
.provision-section h2 {
    font-size: 1.3em;
    margin-bottom: 20px;
}
.provision-block {
    width: 100%;
    margin-bottom: 10px;
}
.provision-line {
    border: none;
    border-top: 1px dashed #7e4229;
    width: 100%;
    margin-bottom: 30px;
}
.provision-block h3 {
    font-size: 1.2em;
    margin-bottom: 25px;
}
.provision-block p {
    font-size: 1em;
    margin-bottom: 20px;
}
.provision-block p:last-child {
    margin-bottom: 0px;
}

/* Common Buttons */
.button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
}
.contact-button {
    font-size: 0.8em;
    text-decoration: none;
    width: 150px;
}
@media (max-width: 768px) {
    .button-group {
        font-size: 0.8em;
        width: 100%;
    }
}