main {
    padding: 0;
}

section {
    margin: auto;
    box-sizing: border-box;
    padding: 40px 0;
}

header {
    height: 100vh;
    max-height: 800px;
    min-height: 680px;
}

footer {
    margin-top: -2px;
    background-position: bottom;
}

section.new_seminar {
    max-width: 900px;
}

section.company {
    background: #282755;
    max-width: unset;
    color: #fff;
}

section.movie {
    background: linear-gradient(135deg, rgba(96, 213, 255, .3), 15%, rgba(206, 187, 213, .3), 85%, rgba(255, 116, 73, .3) 100%);
    max-width: unset;
}

section p:nth-child(2) {
    text-align: center;
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: #0e0d42;
}

section h2 {
    text-align: center;
    font-size: 46px;
    padding: 0;
    margin: 0;
    color: #0e0d42;
}

section.ranking h2,
section.ranking p:nth-child(2) {
    color: #fff;
}

span.red {
    color: red;
}

.news {
    width: 55%;
}

video {
    width: 100%;
}

.head {
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding: 80px 0 80px 50px;
}

.hd_logo {
    width: 350px;
}

.login-form {
    font-size: 18px;
    width: 350px;
}

.login-form>p {
    margin: 15px 0 5px;
}

.login-form .input {
    margin: 5px 0;
    border-radius: 0;
}

.regist-form {
    background: rgb(3 2 29 / 80%);
    padding: 15px 10px 30px;
}

.regist-form p {
    text-align: center;
    margin: 15px;
}

a.btn.regist-btn {
    background: #a00317;
    border: 1px solid #fff;
    height: 66px;
    padding: 15px;
    font-size: 20px;
}

.fv_img {
    width: 50%;
    margin: 10px 7%;
}

.fv_img>img {
    width: 100%;
}

.btn-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.btn.sub-btn {
    width: 100%;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 0;
    margin: 10px 0;
    font-size: 20px;
    padding: 10px;
}

.btn.movie-btn {
    height: auto;
    color: #000;
    border-radius: 0;
    background: none;
    width: 320px;
}

span.big {
    font-size: 22px;
    margin: 10px;
    display: block;
}

.thum {
    /*background: #999;*/
    min-height: 200px;
}

.thum.new {
    position: relative;
    overflow: hidden;
}

.thum.new:before {
    content: "";
    width: 76px;
    height: 76px;
    display: block;
    background: #ba3e3f;
    position: absolute;
    transform: rotate(45deg);
    left: -38px;
    top: -38px;
}

.thum.new:after {
    content: "NEW";
    position: absolute;
    display: block;
    font-size: 12px;
    top: 9px;
    left: 3px;
    transform: rotate(-45deg);
    color: #fff;
}

.thum>img {
    width: 100%;
}

.contents {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contents>p {
    margin: 0;
    display: flex;
    align-items: flex-end;
}

span.haishin {
    border: 1px solid #0a76be;
    color: #0a76be;
    padding: 2px 5px;
}

.btn.movie-btn {
    height: auto;
    color: #000;
    border-radius: 0;
    background: none;
    width: 300px;
    overflow: hidden;
}

.contents .time img {
    width: 12px;
    margin: 0 3px;
}

span.category {
    color: #fff;
    background: #f8931e;
    padding: 2px 5px;
    font-size: 12px;
}

span.category.blue {
    background: #122978;
}

span.category.red {
    background: #ba3e3f;
}

.category.purple {
    background: #882685;
}

span.category.work {
    background: #f5c33d;
}

.caution>p {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.caution {
    font-size: 18px;
    text-align: center;
    margin: 25px 0 0;
    color: #0e0d42;
}

.caution>p:nth-child(2) {
    color: #000;
    font-weight: normal;
}

p.mov-title {
    margin: 0;
    text-align: left;
    font-size: 16px;
}

p.mov-sub-title {
    margin: 0;
    text-align: left;
    font-size: 16px;
}

.facebook {
    margin: 0;
    width: auto;
}

section.ranking {
    background-image: url(/img/ranking_bg.jpg);
    background-size: cover;
    max-width: unset;
    min-height: 600px;
    min-height: 100vh;
}

.company-box {
    max-width: 1200px;
    margin: 30px auto;
    display: flex;
    justify-content: center;
}

.company-box>div {
    width: 45%;
    margin: 0px 0%;
    padding: 10px 2%;
    box-sizing: border-box;
}

.company-box>div:first-child {
    border-right: 3px solid;
}

p.company-tel.big {
    font-size: 42px;
    text-align: left;
    margin: 0;
    line-height: 1;
    word-break: keep-all;
    white-space: nowrap;
}

table.company-table {
    width: 100%;
    border-collapse: collapse;
}

table.company-table th,
table.company-table td {
    padding: 10px;
    border-bottom: 2px solid;
}

.btn.contact-btn {
    margin: 0;
    border: 1px solid;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    height: 70px;
    width: 350px;
}

a.btn.contact-btn>img {
    width: 35px;
    margin-right: 10px;
}

section.movie>div {
    max-width: 900px;
    margin: auto;
}

.step-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 25px 0;
}

.step {
    width: 28%;
    min-width: 265px;
    border-left: 1px solid #333;
    margin: 15px;
    position: relative;
}

.step:before {
    position: absolute;
}

.step1:before {
    content: url(/img/flow01.png);
}

.step2:before {
    content: url(/img/flow02.png);
}

.step3:before {
    content: url(/img/flow03.png);
}

.step4:before {
    content: url(/img/flow04.png);
}

.step5:before {
    content: url(/img/flow05.png);
}

p.step-title {
    padding-left: 75px;
    font-weight: bold;
    font-size: 16px;
    font-style: italic;
    margin: 5px 0;
    color: #0e0d42;
}

.step h3 {
    color: #0e0d42;
    padding-left: 72px;
    margin: 0;
    font-size: 24px;
}

p.step-word {
    /*text-align: center;*/
    color: #0e0d42;
    font-weight: bold;
    padding-left: 72px;
}

section.company h2,
section.company p:nth-child(2) {
    color: #fff;
}

.flow-icon {
    width: 180px;
    margin: auto;
}

.flow-icon>img {
    width: 100%;
}

.step.regist-zone {
    border: none;
}

.btn.step-regist-btn {
    background: #a0020e;
    height: 75px;
    padding: 18px;
    font-size: 22px;
    margin: 0;
    margin-left: 60px;
    width: 225px;
}

.regist-p {
    text-align: center;
    font-size: 22px;
    margin: 0;
    font-weight: bold;
    color: #a0020e;
    margin-bottom: 10px;
    margin-left: 20px;
}

.foot {
    padding: 50px 40px 20px;
    box-sizing: border-box;
    align-items: flex-start;
}

.hd_logo>img {
    width: auto;
}

p.menu-icon.right-menu-icon {
    margin: 16px 55px;
    /*margin-left: 260px;*/
    position: static;
}

p.right-menu-txt {
    margin: 12px 10px 10px 10px;
}

.hamburger {
    top: 15px;
}

a.icon02.right-menu-icon>span {
    position: absolute;
    border-radius: 100%;
    background: #fff;
    color: #090c46;
    right: 380px;
    top: 15px;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s;
}

a.icon02.right-menu-icon>span:after {
    content: "ご利用の流れ";
    position: absolute;
    left: 90px;
    width: 120px;
    z-index: 100;
    font-size: 18px;
    color: #fff;
    transition: .3s;
}

header a:hover {
    opacity: .8;
}

a.icon02.right-menu-icon>span {
    position: static;
    margin-right: 115px;
}

@media screen and (max-width: 770px) {
    a.icon02.right-menu-icon>span:after {
        content: none;
    }

    a.icon02.right-menu-icon>span {
        position: absolute;
        margin: 0 !important;
        right: 85px;
        top: 16px;
        width: 28px;
        height: 28px;
    }
}


.category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
}

.category-list>a {
    margin: 10px;
    max-width: 300px;
    width: 30%;
}

.category-list a img {
    width: 100%;
}

.no-link {
    position: relative;
}

.no-link:after {
    content: "COMING SOON";
    display: inline-block;
    margin: auto;
    font-size: 14px;
    position: absolute;
    bottom: -15px;
    right: 0;
    left: 0;
    text-align: center;
    color: red;
}

.category-list a {
    transition: .3s;
}

.category-list a[href]:hover {
    opacity: .7;
}

.btn-area>a {
    transition: .3s;
}

.btn-area>a:hover {
    opacity: .7;
}

.faq_banner>img {
    width: 100%;
}

.hygienist.end {
    position: relative;
}

.hygienist.end:after {
    content: "終了しました";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(0 0 0 / 50%);
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0px;
}




@media screen and (max-width: 770px) {
    .category-list>a {
        width: 40%;
    }
}

@media screen and (max-width: 1030px) {

    header {
        height: auto;
        max-height: unset;
    }

    .head {
        justify-content: center;
    }

    .head>div:first-child {
        order: 2;
    }

    .fv_img {
        width: 60%;
        margin: 35px 7%;
    }
}

.pc {
    display: block;
}

.sp {
    display: none;
}

@media screen and (max-width: 770px) {

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .foot {
        flex-wrap: wrap;
        justify-content: center;
        padding: 25px;
    }

    .news {
        width: 100%;
    }

    .ft_logo {
        margin: 0 auto 20px;
        width: 60%;
        max-width: 350px;
    }

    .news table {
        margin: 0 0 50px;
    }

    .company-box {
        flex-wrap: wrap;
        padding: 25px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .company-box>div {
        width: 100%;
        border: none !important;
    }

    .btn.contact-btn {
        width: 100%;
    }

    p.company-tel.big {
        font-size: 35px;
    }

    table.company-table th,
    table.company-table td {
        padding: 10px 0;
    }

    table.company-table th {
        width: 33%;
    }

    .head {
        padding: 90px 25px 50px;
    }

    .hd_logo {
        width: 80%;
        margin: 0 auto !important;
        text-align: center;
    }

    .hd_logo>img {
        width: 100%;
    }

    .fv_img {
        width: 80%;
        margin: 0 auto;
    }

    .login-form {
        width: 100%;
    }

    header .left>p {
        padding: 17px 10px;
        font-size: 16px;
        height: 60px;
        box-sizing: border-box;
    }

    header .left {
        position: static;
    }

    header .right ul {
        padding: 0;
        display: flex;
        justify-content: center;
        margin: 10px 0;
    }

    header .right {
        position: absolute;
        right: 0;
        width: 100%;
        min-width: unset;
        background: #0d0d41;
        border-radius: 0;
        top: 35px;
        bottom: unset;
    }

    header .right ul li {
        margin: 0 5px;
    }

    .login-form>p {
        margin: 15px 0 5px;
        font-size: 16px;
        text-align: center;
    }

    section.new_seminar {
        max-width: 900px;
        padding: 20px;
    }

    .caution>p:nth-child(2) {
        font-size: 16px;
    }

    .step {
        width: 35%;
        min-width: 330px;
    }

    .step h3 {
        font-size: 20px;
    }

    section h2 {
        font-size: 38px;
    }

    p.regist-p {
        font-size: 18px;
    }

    span.big {
        font-size: 18px;
        margin: 10px;
        display: block;
    }

    .regist-form p {
        font-size: 16px;
    }

    p.menu-icon.right-menu-icon {
        margin: 15px 203px;
        /*margin-left: 85%;*/
        width: 28px;
        height: 28px;
        cursor: alias;
    }

    a.menu-icon.right-menu-icon.icon02 {
        position: absolute;
        right: 80px;
        top: 15px;
        width: 28px;
        height: 28px;
    }

    a.icon02.menu-icon.right-menu-icon>span:after {
        content: none;
    }

    .hygienist {
        max-width: 320px;
        width: 100%;
        margin: auto;
    }

    .hygienist>img {
        width: 100%;
    }
}


/* 20230719 fv調整用css追記 */

.header__wrap {
    max-height: 830px;
}

.add-head {
    align-items: start;
    max-height: 800px;
    padding: 110px 50px 50px 50px;
}

.mv-img__wrap {
    width: 65%;
    width: calc(100% - 450px);
    text-align: right;
}

.mv-img__wrap img {
    max-width: 240px;
    margin-top: 10px;
}

.header__wrap_02 {
    max-height: 680px;
}

@media screen and (max-width: 1030px) {
    .header__wrap {
        max-height: 880px;
    }

    .add-head {
        flex-direction: column;
        flex-wrap: initial;
        align-items: center;
    }

    .mv-img__wrap {
        width: 100%;
        max-width: 350px;
        margin-top: 25px;
    }

    .mv-img__wrap img {
        display: none;
    }

    .head-input__wrap {
        order: initial !important;
    }

    .header__wrap_02 {
        max-height: 880px;
    }
}

@media screen and (max-width: 770px) {
    .add-head {
        padding: 90px 20px 30px 20px;
    }
}