/* main.css */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    font-family: Arial, sans-serif;
    background: #040404;
    background-image: url("/imgs/index/wall.png");
    background-position: top;
    background-size: 95% auto;
    background-repeat: no-repeat;
    padding-top: 160px;
}
@media (max-width: 700px) {
    body {
        background-size: 150% auto;
        padding-top: 130px;
    }
}
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #942c2a;
    height: 130px;
    border-bottom-left-radius: 50% 20%;
    border-bottom-right-radius: 50% 20%;
    padding: 0;
    box-sizing: border-box;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    position: fixed;
}
@media (max-width: 992px) {
    .header {
        height: 100px;
    }
}
@media (max-width: 475px) {
    .header {
        height: 80px;
    }
}
.header-left {
    flex: 1;
}
.header-logo {
    position: absolute;
    left: 25px;
    top: 15px;
    max-width: 130px;
}
@media (max-width: 992px) {
    .header-logo {
        left: 20px;
        max-width: 90px;
    }
}
@media (max-width: 700px) {
    .header-logo {
        left: 20px;
        max-width: 70px;
    }
}
.header-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-right: 70px;
    position: relative;
}
@media (max-width: 992px) {
    .header-right {
        transform: translateY(-20px);
    }
}
.header-link {
    color: #d5b227;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.8em;
    text-decoration: none;
    border: 1px solid #d5b227;
    padding: 5px;
    margin-left: 8px;
}
.header-link:hover {
    background-color: #d5b227;
    color: #942c2a;
}
.header-link:first-child {
    margin-left: 0;
}
.header-button {
    background-color: #d5b227;
    color: #942c2a;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 0.8em;
    border: none;
    padding: 6px 10px;
    margin-left: 20px;
    cursor: pointer;
}
.header-tel {
    margin-left: 10px;
    color: #d5b227;
    font-size: 0.8em;
    font-family: 'Noto Sans JP', sans-serif;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .header-link, .header-button, .header-tel {
        font-size: 0.5em;
    }
}
@media (max-width: 870px) {
    .header-link, .header-button, .header-tel {
        font-size: 5px;
    }
}
@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.7em;
    }
}

.hamburger-icon {
    display: none;
    transform: translateY(-30px);
}
.hamburger-icon span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background: #d5b227;
}
@media (max-width: 845px) {
    .hamburger-icon {
        display: block;
        position: fixed;
        top: 22px;
        right: 22px;
        border: 1px solid #d5b227;
        z-index: 10000; 
    }
    .header-right {
        transform: translateY(-10px);
    }
}

.header-links {
    display: flex;
}
@media (max-width: 845px) {
    .header-links {
        display: none;
    }
}

.hamburger-links {
    display: none;
    position: fixed;
    top: 10px;
    left: 20px;
    flex-direction: column;
    background: #fff;
    border: 1px solid #d5b227;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10000;
}


.hamburger-link {
    color: #d5b227;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.8em;
    text-decoration: none;
    border: 1px solid #d5b227;
    padding: 5px;
    margin-bottom: 10px;
    text-align: center;
    width: 200px;
}
.hamburger-link:hover {
    background-color: #d5b227;
    color: #942c2a;
}
.hamburger-links.open {
    display: flex;
}



#title-logo {
    margin-top: 120px;
    width: 100%;
    max-width: 300px;
}
@media (min-width: 768px) {
    #title-logo {
        max-width: 300px;
    }
}
@media (min-width: 992px) {
    #title-logo {
        max-width: 400px;
    }
}
@media (min-width: 1200px) {
    #title-logo {
        max-width: 450px;
    }
}
.form-group.row {
    display: flex;
    align-items: center;
}

#login-form {
    margin-top: 150px;
}
@media (max-width: 768px) {
    #login-form {
        width: 80%;
    }
}
@media (max-width: 767px) {
    #login-form {
        margin-top: 0px;
    }
}
@media (min-width: 768px) {
    #login-form {
        width: 70%;
    }
}
#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;
    font-family: 'Noto Sans JP', sans-serif;
    border: none;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@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;
    align-items: center;
    border-radius: 1.2rem;
    background-color: #d0b448;
    height: 35px;
    color: #000;
    padding: 0 10px;
}
.input-label {
    padding-right: 10px;
    border-right: 1px solid #942c2a;
    font-size: 0.8em;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    min-width: 80px;
    text-align: right;
}
.styled-input {
    flex-grow: 1;
    background-color: transparent;
    border: none;
    color: #000000;
    outline: none;
    margin-left: 5px;
    padding-top: 12px;
    box-sizing: border-box;
}

/* FOOTER */
.site-footer {
    background-color: #942c2a;
    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: #776b58;
    font-size: 14px;
    text-align: left;
}
.footer-logo {
    width: 200px;
}
@media (max-width: 992px) {
    .footer-logo {
        width: 150px;
    }
}
.copyright {
    color: #776b58;
    margin-top: 3px;
    margin-bottom: 2px;
    line-height: 1.2;
}
.line {
    width: 100%;
    height: 1px;
    background-color: #776b58;
}
.footer-text {
    color: #d5b227;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    margin: 3px 0;
    width: 95%;
}

/* ABOUT */
.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: -50px;
    position: relative;
}
@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: #2d0808;
    border-radius: 25px 25px 0 0;
    padding: 20px;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 0.9em;
    height: calc(100vh - 140px - 100px);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
}
.text-with-line {
    position: relative;
    margin-bottom: 45px;
    width: 100%;
}
.text-with-line:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    border-bottom: 1px dashed #7e4229;
    width: 100%;
    margin: auto;
}

/* TERMS */
.content-section-terms {
    background-color: #2d0808;
    border-radius: 25px 25px 0 0;
    padding: 20px;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    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 dashed #7e4229;
    width: 100%;
    margin: auto;
}
.content-section h5 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    text-align: left;
}

/* Mail Setting */
.content-section-mail {
    background-color: #2d0808;
    border-radius: 25px 25px 0 0;
    padding: 20px;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    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-family: 'Noto Sans JP', sans-serif;
    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: #2d0808;
    border-radius: 25px 25px 0 0;
    padding: 20px;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    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 dashed #7e4229;
    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: #d5b227;
    padding-left: 10px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 1.3em;
    color: #942c2a;
    border: none;
}
.credit-button {
    margin: 10px 5px;
    padding: 2px;
    background-color: #942c2a;
    color: #c8ae4a;
    font-family: 'Noto Sans JP', sans-serif;
    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: #d5b227;
    font-size: 1.3em;
    margin: 20px 0;
}
.highlight-link {
    color: #d5b227;
    text-decoration: none;
}

@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: #2d0808;
    border-radius: 25px 25px 0 0;
    padding: 25px;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    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%;
    margin-top: 100px;
    margin-bottom: 80px;
}
.contact-button {
    background-color: #fff;
    color: #942c2a;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.8em;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}
@media (max-width: 768px) {
    .button-group {
        font-size: 0.8em;
        width: 100%;
    }
}