/* layout */

html {
    scroll-behavior: smooth;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.md-container {
    
}

.md-h2-title {
    padding-bottom: 2.6rem;
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1.4;
    letter-spacing: .1em;
    text-align: center;
}

.md-btn {
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.64px;
    text-align: center;
    border-radius: 8px;
    border: none;
    outline: none;
    cursor: pointer;
}

.md-btn--s-height {
    font-size: 12px;
    line-height: 1;
}

.md-btn--l-border-radius {
    border-radius: 100px;
}

.md-btn--m-border-radius {
    border-radius: 8px;
}

.md-btn--left-arrow::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: rotate(45deg);
    transform-origin: right;
}

.md-btn--extend-info {
    width: auto;
    font-size: 12px;
    font-weight: normal;
    padding-right: 30px;
}

.md-btn--extend-info[aria-expanded=true].md-btn--plus::before {
    background: #999;
    content: "\EA07";
}

.md-btn--plus::before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #fff;
    font-weight: 400;
    font-size: 12px;
    font-family: icons;
    font-style: normal;
    font-variant: normal;
    text-transform: none;
    vertical-align: middle;
    background: #4676bf;
    border-radius: 100px;
    content: "\EA06";
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
    -webkit-font-smoothing: antialiased;
}

.md-btn--arrow-down::before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #fff;
    font-weight: 300;
    font-size: 12px;
    font-family: icons;
    font-style: normal;
    font-variant: normal;
    text-transform: none;
    vertical-align: middle;
    background: #4676bf;
    border-radius: 100px;
    content: "\EA1B";
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
    -webkit-font-smoothing: antialiased;
}

.md-btn .btn__text-content {
    position: relative;
    display: inline-block;
}

.btn__text-content .btn-text-content--style {
    font-size: 26px;
    color: #ffffff;
}

.md-btn--red {
    color: #BF2F2E;
    background-color: #BF2F2E;
}

.md-btn--green {
    color: #2AB161;
    background-color: #2AB161;
}

.md-btn--light-green {
    color: #ffffff;
    background-color: #399D26;
}

.md-btn--blue {
    color: #ffffff;
    background-color: #344BA0;
}

.md-btn--orange {
    color: #ffffff;
    background-color: #F1A92C;
}

.md-btn--dark-orange {
    color: #ffffff;
    background-color: #FF6E0E;
}

.md-btn--dark-blue {
    color: #ffffff;
    background-color: #224087;
}

.md-btn--light-blue {
    color: #224087;
    background-color: #E0F0FF;
}

.md-btn--l-border-radius.md-btn--red {
    box-shadow: 0 4px 0px #93100F;
}

.md-btn--l-border-radius.md-btn--green {
    box-shadow: 0 4px 0px #1E8E4C;
}

.md-btn--l-border-radius.md-btn--blue {
    box-shadow: 0 4px 0px #192963;
}

.md-btn--l-border-radius.md-btn--orange {
    box-shadow: 0 4px 0px #B17816;
}

.md-btn--l-border-radius.md-btn--light-green {
    box-shadow: 0 4px 0px #287519;
}

.md-btn--l-border-radius.md-btn--dark-orange {
    box-shadow: 0 4px 0px #BF5916;
}

/* .md-blue-btn {
    color: #ffffff;
    background-color: #324382;
    flex-shrink: 116;
} */

.md-btn.js-toggle_btn[aria-expanded=true] .open {
    display: block;
}

.md-btn.js-toggle_btn .open {
    display: none;
}

.md-btn.js-toggle_btn[aria-expanded=true] .close {
    display: none;
}

.md-btn.js-toggle_btn .close {
    display: block;
}

.md-section-header__title {
    display: flex;
    justify-content: center;
    align-items: center;
}

.md-section__title--blue-has-mark {
    display: inline-block;
    position: relative;
    color: #003682;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.md-section__title--blue-has-mark span {
    position: relative;
    z-index: 1;
    line-height: 1.5;
    width: fit-content;
    margin: auto;
}

.md-section__title--blue-has-mark::before {
    content: "";
    background-image: url('/top/assets/images/md-img/title-mark1.svg');
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    position: absolute;
    width: 25px;
    height: 100%;
    top: -10px;
    left: -20px;
}

.md-section__title--blue-has-mark span::after {
    content: "";
    /* background-image: url(/top/assets/images/md-img/title-mark2.svg); */
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    /* height: 100%; */
    top: calc(100% - 5px);
    right: 0;
    background-color: #FEE302;
}
.md-block__toggle-content {
    display: none;
}

.md-block__toggle-content[aria-hidden=false] {
    display: block;
}

.p-footer-service__body {
    display: block;
}
.p-footer-service__body[aria-hidden=false] {
    display: none;
}
.md-text-line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.md-modal {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.3);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
}

.md-modal__contain {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.md-btn__close-modal {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 30px;
    font-weight: 500;
    width: 50px;
    height: 50px;
    text-align: center;
}

.hide-scrollbar {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}
.hide-scrollbar::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}
