@charset "UTF-8";

html, body {
    scroll-behavior: smooth;
    color: #777;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
    Roboto, "Helvetica Neue", Arial, "Noto Sans",
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}
* {
    box-sizing: border-box;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}
a {
    color: #b51a86;
    text-decoration: none;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
}

/* header */
header {
    position: sticky;
    top: 0;
    height: 65px;
    background: #fff;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
    z-index: 2;
}
.header-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    padding: 8px 16px;
}
.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-weight: 400;
}
.logo img {
    width: 136px;
}
nav {
    display: flex;
    align-items: center;
}
nav ul {
    display: flex;
    flex-direction: row;
    column-gap: 48px;
}
nav ul li {
    font-size: .95em;
    font-weight: 900;
    letter-spacing: .0125em;
}
nav a {
    padding-bottom: 6px;
    background: linear-gradient(currentColor 0 0) bottom 0   left 50% /var(--a, 0) 1px no-repeat,
                linear-gradient(currentColor 0 0) bottom 3px left 50% /var(--b, 0) 1px no-repeat;
    transition: .2s;
}
nav a:hover {
    --a: 80%;
    --b: 100%;
}
/* header */

/* footer */
footer {
    background: #b51a86;
    color: #fff;
    font-size: .8em;
}
footer a {
    color: #fff;
    padding-bottom: 5px;
    position: relative;
}
footer a:before {
    position: absolute;
    left: 0;
    bottom: 0;
    content: '';
    width: 100%;
    height: 1px;
    margin: auto;
    background: #fff;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
}
footer a:hover:before {
    transform-origin: left top;
    transform: scale(1, 1);
}
.footer-wrapper,
.footer-copyright {
    max-width: 900px;
    margin: 0 auto;
    padding: 8px 16px;
}
.footer-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.footer-copyright {
    display: flex;
    justify-content: flex-end;
}
footer ul {
    display: flex;
    flex-direction: row;
    column-gap: 48px;
}
/* footer */

/* main */
main {
    position: relative;
    margin: 0 auto;
}
.main-screen {
    position: relative;
}
.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}
.form-wrapper.register iframe {
    width: 100%;
    height: 1200px;
}
.form-wrapper.contact iframe {
    width: 100%;
    height: 1400px;
}
.form-wrapper.referafriend iframe {
    width: 100%;
    height: 1500px;
}
.main-img-bg {
    background-attachment: fixed;
    background-position: top 55px left 0;
    background-size: 100%;
    background-repeat: no-repeat;
    height: 320px;
}
.main-img-bg.center {
    height: 240px;
}
.main-img-bg.bottom {
    background-position: bottom;
}
.main-img-bg.main-img-bg-index {
    background-image: url('../img/top2.jpg');
    background-size: auto 100%;
    height: calc(100vh - 65px);
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.main-img-bg.main-img-bg-about { background-image: url('../img/about.png'); }
.main-img-bg.main-img-bg-services1 {  background-image: url('../img/pexels-jess-loiterton-5232467.png'); }
.main-img-bg.main-img-bg-services2 {  background-image: url('../img/2000_2018-12-11_05-28-07_174.png'); }
.main-img-bg.main-img-bg-register {  background-image: url('../img/pexels-jess-loiterton-4319852.png'); }
.main-img-bg.main-img-bg-contact {  background-image: url('../img/jakob-owens-nmXwoDphQGs-unsplash.png'); }
.main-img-bg.main-img-bg-privacy {  background-image: url('../img/guille-pozzi-naJwfMcJ1XU-unsplash.png'); }
.main-img-bg.main-img-bg-referafriend {  background-image: url('../img/referafriend.png'); }

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 16px;
}
.content-title {
    margin: 32px auto;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: .03em;
    text-align: center;
}
.index-title {
    margin-top: 60px;
}
.content-sentence {
    padding: 0 8px;
    margin-bottom: 40px;
}
.index-sentence {
    margin-bottom: 0;
}
.content-sentence p {
    text-indent: .5em;
}
.content-sentence,
.content-sentence p {
    line-height: 1.6;
    letter-spacing: .0125em;
}
.content-sentence.main-list {
    display: flex;
    justify-content: space-around;
    text-indent: unset;
}
.content-sentence.main-list .list-wrapper {
    display: inline-block;
    padding: 24px 100px;
    border: 1px solid #01579b;
}
.content-sentence.index-service-list ul {
    margin-left: 16px;
}
.content-sentence.index-service-list ul,
.content-sentence.main-list ul {
    list-style: disc;
}
.content-sentence.index-service-list ul li,
.content-sentence.main-list ul li {
    line-height: 2;
}
.services h2 {
    position: relative;
    padding-top: 16px;
    padding-left: 8px;
    margin-bottom: 40px;
    /*background: #b51a86;
    color: #fff;*/
    color: #b51a86;
    line-height: 1.6;
}
.services h2.service-top {
    margin-top: 64px;
    margin-bottom: 24px;
}
.services h2:not(.service-top) {
    margin-top: 120px;
}
.services h2:before/*,
.services h2:after*/ {
    position: absolute;
    display: inline-block;
    content: '';
    width: 4px;
    height: 2em;
    background: #b51a86;
}
.services h2:before {
    bottom: 0;
    left: -8px;
}
.services h2:after {
    top: 0;
    right: -8px;
}
.services .service-bottom {
    margin-bottom: 120px;
}
.content-img-wrapper {
    padding: 24px 40px 0;
}
.content-sentence ol {
    width: calc(100% - 40px);
    margin: 0 auto;
}
.content-sentence ol li {
    margin-bottom: 24px;
}
.content-sentence dl {
    width: calc(100% - 40px);
    margin: 0 auto;
}
.content-sentence dl dt {
    font-weight: bold;
    color: #b51a86;
}
.content-sentence dl dd {
    margin-bottom: 24px;
}
.profile-table {
    width: 100%;
    border-collapse: collapse;
}
.profile-table td {
    padding: 8px 16px;
    border: 1px solid #bbb;
    line-height: 2;
    vertical-align: top;
}
.profile-table td:first-of-type {
    min-width: 160px;
}
.profile-table td a {
    color: #b51a86;
    text-decoration: underline;
}
.modified {
    margin-bottom: 16px;
}
.privacy h2 {
    padding-bottom: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid #9fa8da;
}
.privacy h3,
.privacy h4 {
        margin: 32px 0 24px;
}
.explainations {
    margin: 16px 0 16px 24px;
}
ul.explainations.explainations-dot {
    list-style: disc;
}
.explainations li:not(:last-of-type),
.explainations dt,
.explainations dd:not(:last-of-type) {
        margin-bottom: 8px;
}
.explainations dt {
    font-weight: bolder;
}
.child-sentence {
    padding-left: 24px;
}
span.strong {
    font-weight: bolder;
}
.btn {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #b51a86;
    border-radius: 4px;
    background: #b51a86;
    font-size: .9em;
    font-weight: 300;
    color: #fff;
    transition: all .3s;
}
.btn:hover {
    opacity: .7;
}
.btn.btn-fellows {
    margin-top: -6px;
}
.btn.btn-fellows-mobile {
    display: none;
}
/* main */

/* breahpoint 900px */
@media screen and (max-width: 900px) {
    .main-img-bg {
        background-size: 180%;
    }
    .index-title {
        margin-top: 48px;
    }
    .btn.btn-fellows-mobile {
        position: absolute;
        right: 70px;
        top: 16px;
        display: block;
        z-index: 3;
    }
}
/* breahpoint 450px */
@media screen and (max-width: 450px) {
    .header-wrapper,
    .footer-wrapper,
    .footer-copyright,
    .form-wrapper,
    .content-wrapper {
        max-width: 100%;
    }
    .content-wrapper {
        padding: 0 0 0 0;
    }
    .main-img-bg {
        height: 160px
    }
    .main-img-bg.main-img-bg-index {
        background-size: auto 600px;
    }
    .befree {
        max-width: 95%;
    }
    .animate br:not(.fixed) {
        display: unset;
    }
    .index-sentence {
        margin-bottom: 64px;
    }
    .services h2:not(.service-top) {
        margin-top: 64px;
    }
    .main-img-bg-services1 {
        display: none;
    }
    .services h2.service-top {
        margin-top: 0;
    }
    .services .service-bottom {
        margin-bottom: 64px;
    }
    .main-img-bg.bottom {
        background-position: bottom 29.5px right 0;
    }
    table.profile-table,
    table.profile-table tbody,
    table.profile-table td {
        display: block;
    }
    table.profile-table tr {
        display: grid;
        grid-template-columns: 1fr;
    }
    .profile-table td:first-of-type {
        background: #ecd2e4;
    }
    .profile-table tr
    .profile-table td:not(:first-of-type) {
        border-top: none;
    }
    .profile-table tr
    .profile-table td:not(:last-of-type) {
        border-bottom: none;
    }
    .profile-table td iframe {
        max-width: 100%;
    }
    .content-title {
        font-size: 24px;
    }
    .content-title.index-title {
        margin-top: 24px;
    }
    .services .content-sentence h2 {
        padding-top: 8px;
        font-size: 20px;
    }
    .content-sentence.main-list .list-wrapper {
        width: 100%;
        padding: 24px 0 24px 32px;
    }
    .content-sentence p {
        line-height: 1.6;
    }
    .content-img-wrapper {
        padding: 24px 0 80px;
    }
    .form-wrapper.register iframe {
        height: 1300px;
    }
    .form-wrapper.contact iframe {
        height: 1500px;
    }
    .form-wrapper.referafriend iframe {
        height: 1600px;
    }
}
/* breahpoint 450px */

/* hamburger */
.menu {
    display: none;
}
@media screen and (max-width: 900px) {
    .menu {
        position: absolute;
        right: 20px;
        top: 11px;
        display: block;
        width: 42px;
        height: 42px;
        text-align: center;
        cursor: pointer;
        z-index: 3;
    }
    .menu span {
        position: absolute;
        left: 6px;
        display: block;
        width: 30px;
        height: 2px ;
        background: #bbb;
        transition: 0.3s ease-in-out;
    }
    .menu span:first-of-type {
        top: 10px;
    }
    .menu span:nth-of-type(2) {
        top: 20px;
    }
    .menu span:nth-of-type(3) {
        top: 30px;
    }
    .menu.active span:first-of-type {
        top: 20px;
        left: 6px;
        transform: rotate(-45deg);
    }
    .menu.active span:nth-of-type(2),
    .menu.active span:nth-of-type(3) {
        top: 20px;
        transform: rotate(45deg);
    }
    nav {
        display: none;
    }
    .nav-footer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #b51a86;
        color: #fff;
        text-align: center;
        transform: translateY(-100%);
        transition: all 0.6s;
        z-index: 2;
    }
    .nav-footer ul {
        flex-direction: column;
        row-gap: 4px;
        width: 100%;
    }
    .nav-footer ul li {
        width: 100%;
        height: 4em;
        line-height: 4em;
        transition: .3s all;
    }
    .nav-footer ul li a {
        color: #fff;
    }
    .nav-footer.active {
        display: block;
        transform: translateY(65px);
        opacity: 1;
    }
}
/* hamburger */
/* Katsuta */
.btn2 {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #2b2a2a;
    border-radius: 4px;
    background: #ffffff;
    font-size: .9em;
    font-weight: 300;
    color: #2b2a2a;
    transition: all .3s;
}
.btn2:hover {
    opacity: .7;
}
a.btn2.btn-lang {
    margin-top: -6px;
}
.btn2.btn-lang-mobile {
    display: none;
}
.btn2.btn-del {
    text-decoration-line: line-through;
  }
  
/*
  a.btn-lang:hover {
    color: #fff;
    background: #000;
  }
*/