/*
    prefix: kz (Kanazawa {Nihongo HP})
*/


form,
input,
textarea {
    -moz-user-select: all !important;
    -webkit-user-select: all !important;
    -ms-user-select: all !important;
    user-select: all !important;
    -webkit-user-select: text !important;
}

* {
  user-drag: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -ms-overflow-style: none;
  /* IE and Edge hide scrollbar bar*/
  scrollbar-width: none;
  /* Firefox hide scrollbar bar */
}

*::-webkit-scrollbar {
    /* chrome hide scrollbar bar */
    display: none;
}

*::-webkit-scrollbar {
    /* chrome hide scrollbar bar */
    display: none;
}

:root {
    --black: #000000;
    --white: #ffffff;
    --golden: #CAB15D;
    --dark-golden: #b39430;
    --dark-blue: #182c45;
    --facebook: #1093F4;
    --kz-red: #f51000;
    --golden-glow-1: #7c6004;
    --golden-glow-2: #110e04;
}

img {
    vertical-align: middle;
}

#langMB {
    display: flex;
    font-size: 14px;
    margin-top: -1px !important;
}

/* all underline padding below */
u {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.linkstyle {
    color: blue !important;/* Sets the color of the link */
    text-decoration: none !important; /* Removes the underline from the link */
    border-bottom: 1px solid blue !important; /* Adds a blue line under the link */
    transition: border-bottom 0.2s !important; /* Adds a smooth transition effect */
}
.linkstyle:hover {
    border-bottom: 2px solid blue !important; /* Increases the thickness of the line on hover */
    color: rgb(60, 0, 255) !important;/* Sets the color of the link */

}

/* Horizontal space */

.space-x-10> :not([hidden])~ :not([hidden]) {
    --kz-space-x-reverse: 0;
    margin-right: calc(2.50rem * var(--kz-space-x-reverse));
    margin-left: calc(2.50rem * calc(1 - var(--kz-space-x-reverse)));
}

.space-x-5> :not([hidden])~ :not([hidden]) {
    --kz-space-x-reverse: 0;
    margin-right: calc(1.25rem * var(--kz-space-x-reverse));
    margin-left: calc(1.25rem * calc(1 - var(--kz-space-x-reverse)));
}

.space-x-2> :not([hidden])~ :not([hidden]) {
    --kz-space-x-reverse: 0;
    margin-right: calc(0.5rem * var(--kz-space-x-reverse));
    margin-left: calc(0.5rem * calc(1 - var(--kz-space-x-reverse)));
}

.space-x-1> :not([hidden])~ :not([hidden]) {
    --kz-space-x-reverse: 0;
    margin-right: calc(0.35rem * var(--kz-space-x-reverse));
    margin-left: calc(0.35rem * calc(1 - var(--kz-space-x-reverse)));
}

.button-space> :not([hidden])~ :not([hidden]) {
    --kz-space-x-reverse: 0;
    margin-right: calc(2.50rem * var(--kz-space-x-reverse));
    margin-left: calc(2.50rem * calc(1 - var(--kz-space-x-reverse)));
}


/* Smooth transitions */
body {
    background-color: var(--white);
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--black)
}

h1 {
    font-size: 1.5rem;
    font-weight: bold;
}
/* KZ Feature section */


.kz-top-section {
    background-image: url('../images/background.svg');
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: cover;
    height: calc(450px * 2);
}

.swiper {
    width: 100%;
    height: 400px;
}

.kz-language {
    display: flex;
    align-items: center;
    background-color: cadetblue;
}

.kz-language a {
    color: var(--kz-red);
}


.form-check-input {
    background-color: var(--golden);
}

input[type=checkbox]:checked {
    background-color: var(--golden);
}

a:hover {
    color: #c4a12b !important;
}

#lang {
    display: inline-block;
}

.kz-language-items {
    padding: .25rem 2rem;
}

.kz-language-items:hover {
    background-color: var(--golden);
}

.kz-language-items:hover {
    color: var(--white) !important;
}

.kz-language-items a:hover {
    color: var(--white);
}

.main-content {
    object-fit: cover;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}


.play-btn {
    width: 45px;
    height: 45px;
    border-radius: 100%;
    color: var(--golden);
    font-size: 4rem;
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    z-index: 5;
    top: 65px;
    left: 150px;
}


/* Student's voice section css */

.modal-header {
    background-color: var(--golden);
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    align-items: center;
    font-size: 65%;
    font-weight: 100;
    text-align: left !important;
}

/* News section css */


hr {
    margin: 0px;
    padding: 0px;
}


/* Contact section css */

.confirmation-contact {
    position: relative;
    top: -400px;
}

.iso-code-group {
    display: flex;
}

.country-codes {
    width: 25%;
    position: relative;
}

.kz-phone {
    width: 75%;
}

.kz-select-icon {
    position: absolute;
    right: 3%;
    top: 19%;
    font-size: 1.25rem;
}

.kz-btn-custom {
    color: #fff;
    background-color:#f1a948;
    border-color: var(--golden);
}

.kz-btn-custom:hover {
    background-color: #f1a948;
}

.kz-policy-title {
    font-weight: bold;
}

/* .news_contact {
    background-image: url('../images/background.svg');
} */

.kz-contact {
    padding: 4rem 0rem;
}

.kz-contact-wrapper {
    padding: 4rem 4rem;
    padding-bottom: 2rem;
    background-color: rgba(255, 255, 255, .75);
    margin: 4em 0em;
    border: 1px solid #000;
}

.kz-btn-back {
    background-color: var(--dark-blue);
    color: var(--white);
}

.kz-btn-back:hover {
    background-color: var(--dark-blue);
    color: var(--white);
}

.kz-form-element {
    padding: 0.5rem 0rem;
}

.kz-important {
    color: var(--kz-red);
}

.kz-input {
    height: 3rem;
    background-color: #ededed;
    margin-top: 0px;
}

.kz-msg-input {
    background-color: #ededed;
}

.kz-checkbox {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.kz-check-label {
    height: 22px !important;
}

.kz-privacy-policy {
    height: 10rem;
    border: 1px solid rgba(0, 0, 0, 0.3);
    padding: 0em 1em;
    margin: 1em 0em;
    overflow-y: scroll;
}

.inactive {
    display: none !important;
}

.error {
    padding: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--kz-red);
    background: rgba(192, 0, 0, 0.25);
}

.err-name,
.err-email,
.err-message {
    color: var(--kz-red);
    padding: .25em 0em;
}


.kz-btn-wrapper {
    padding: 1rem 0rem;
}

.kz-form-btn {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}


/* Footer section css */


.kz-content-wrapper {
    border-left: 1px solid #fff;
}

.kz-sns-conent {
    display: flex;
    align-items: center;
    padding: 1em 0em;
}

.kz-sns-conent img {
    width: 2.55rem;
}

.kz-sns-conent img:hover {
    opacity: .55;
}

.disabled {
    pointer-events: none;
    color: #fff;
}

/* list_link */


.flex_row_between{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.list_link{
  margin: 3rem 0;
}

.fixed_link .items:hover {
  width: 110px;
  background: #165348;
  padding-left: 15px;
}
.img_link {
  width: 19%;
}
.img_link img{
  width: 100%;
}
.img_link:hover{
  opacity: .6;
}

.form_btn{
  padding: 5px 15px;
  background: #f2a94887;
  border-radius: 20px;
  font-size: 17px;
}
.end_btn{
  background: #817e7e!important;
  color: #fff;
}

.describe_semi a:hover{
  text-decoration: none;
  color: #000!important;
  background: darkorange;
}

.app_btn{
    background: #1093F4;
    color: #fff;
    border-radius: 50px;
    padding: 10px 20px;
    text-align: center;
    min-width: 136px;
    font-size: 13px;
}
.app_btn span{
    font-size: 20px;
    padding-left: 5px;
}
.app_btn:hover{
    background: none;
    color: #000;
}
.list_btn a{
    text-decoration: none;
}
.adr_btn{
    background: #5eb968;
}
.ios_btn:hover{
    border: 2px solid #1093F4;
}
.adr_btn:hover{
    border: 2px solid #5eb968;
}



/* The dialog (background) */
.dialog {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1021; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* dialog Content */
  .dialog-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #eeeeee;
    padding: 2rem 1.5rem;
    width: 50%;
    min-width: 300px;
    border-radius: 0.5rem;
  }
  
  /* The Close Button */
  .close_btn {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close_btn:hover,
  .close_btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  .iframe_tt_re{
    display: none;
  }

  .hidden {
    display: none;
  }
  
  #dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: rgba(218,226,232,80%);
    z-index: 9999;
  }
#dialog h2{
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
    background-color: darkorange;
    padding: 15px 0;
    border-radius: 10px 10px 0 0;
}
  #dialog .content{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 60%;
    min-width: 250px;
    max-width: 550px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  }
  #dialog .text{
    padding: 20px;
  }
  #dialog .cont{
    margin-bottom: 10px;
  }
  #dialog .cont span{
    font-size: 20px;
  }
  #dialog .cont a{
    -webkit-text-decoration: #3d424b solid underline;
    text-decoration: #3d424b solid underline;
    -webkit-text-underline-position: under;
    text-underline-position: under;
    margin-left: 10px;
  }
  #dialog button{
    border-radius: 15px;
    border: 1px solid darkorange;
    background-color: darkorange;
    margin: auto;
    color: #fff;
    margin-top: 2rem;
    padding: 5px 30px;
  }

  .btn_detail span{
    font-size: 20px;
    vertical-align: middle;
    margin-right: 10px;
  }
  .btn_detail a{
    vertical-align: middle;
    color: #b07217 !important;
  }
  .btn_detail a:hover{
    color: #f8ca87 !important;
    background: none!important;
  }
@media (min-width:200px) and (max-width: 850px) {
    .kz-checkbox {
        display: block !important;
        text-align: left;
        justify-content: left;
        align-items: center;
    }

    .button-space> :not([hidden])~ :not([hidden]) {
        --kz-space-x-reverse: 0;
        margin-right: calc(1.25rem * var(--kz-space-x-reverse));
        margin-left: calc(1.25rem * calc(1 - var(--kz-space-x-reverse)));
    }

    /* for hero images */
    .kz-top-section {
        height: calc(150px * 2);
    }

    .kz-top-section {
        padding: 20px 0px;
    }
    div.kz-dd-item:last-of-type {
        border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    }
    .swiper {
        width: 100%;
        height: 150px;
    }

    .kz-image-wrap {
        width: 105px;
        height: 105px;
    }

    .slide-img {
        width: 100px !important;
        height: 100px !important;
    }

    .kz-news-text {
        font-size: .95rem;
    }

    .kz-contact-wrapper {
        padding: 2rem 1.5rem;
    }

    .confirmation-contact {
        top: -125px;
    }

    .kz-input {
        height: 2.5rem;
    }

    .kz-select-icon {
        right: 3%;
        top: .5rem;
    }

    .iso-code-group {
        display: block;
    }

    .country-codes {
        width: 100%;
        position: relative;
    }

    .kz-phone {
        width: 100%;
        transform: translate(-21px, 7px);
    }
    #dialog .content{
        width: 80%;
    }

    /* footer responsive */

}
@media (max-width: 400px) {
    #dialog .content{
        width: 90%;
    }
}
