.row-from-tb {
    display: flex;
    flex-direction: row;
}

@media screen and (orientation: landscape) {
    .nav-bar {
        position: sticky;
        top: 0;
        left: 0;
        display: flex;
        height: 70px;
        z-index: 5;

        .logo {
            span {
                margin-left: 3px;
            }

            img {
                align-self: center;
            }
        }

        ul {
            gap: 20px;
        }
    }
}

header {
    .bg-dot-sp {
        width: 200px;
    }

    p {
        font-size: 150px;
    }

    @media screen and (orientation: landscape) {
        & {
            &.other-header {
                .hero {
                    .hero-image {
                        display: block;
                        height: 316px;
                    }
                }
            }
        }

        .bg-dot-sp {
            display: none;
        }

        p {
            font-size: clamp(100px, 15vw, 220px);
        }

        .hero-image {
            display: block;
        }

        .hero-image-sp {
            display: none;
        }

        .hmbg-nav {
            display: none;
        }
    }
}

footer {
    @media screen and (orientation: ladscape) {
        ul {
            gap: 40px;
        }

        address {
            margin-top: 20px;
        }

        small {
            margin-bottom: 40px;
        }

        .bg-dot-pc {
            width: 311px;
            top: 25%;
        }
    }
}

main {
    &#privacy-policy {
        .text-container {
            .head-icon-text-2 {
                .head-icon {
                    display: none;
                }
            }
        }
    }

    &.osirase {
        .navigation-container {
            margin: 0 20%;
        }
        .anim-head2 {
            margin: 80px 0 40px;
        }
    }

    .recruit-info {
        .content-kyou {
            .uketsuke {
                display: flex;
            }

        }
        
        .training {
            .container {
                &:nth-of-type(odd) {
                    h3 {
                        background: linear-gradient(-90deg, #ffffffcc 5%, #b5b5c4cc 80%);
                        justify-content: right;

                        .bg-dot {
                            right: 0;
                        }
                    }

                    .box {
                        p {
                            order: 2;
                            margin-left: 80px;
                            margin-right: 20px;
                        }

                        img {
                            order: 1;
                        }
                    }
                }

                &:nth-of-type(even) {
                    h3 {
                        background: linear-gradient(90deg, transparent 5%, #b5b5c4cc 80%);

                        .bg-dot {
                            left: 0;
                        }
                    }

                    .box {
                        P {
                            margin-right: 80px;
                            margin-left: 20px;
                        }
                    }
                }

                h3 {
                    height: 158px;
                    padding-right: 20px;
                    padding-left: 20px;
                }

                .bg-dot {
                    width: 169px;
                }

                .box {
                    flex-direction: row;
                    P {
                        order: initial;
                        margin-top: 40px;
                        width: 474px;
                    }

                    img {
                        order: initial;
                    }
                }
            }
        }

        .qanda {
            ul {
                li {
                    .q-box {
						p {
							margin: 0 10px;
						}
					}
                }
            }

            .more-btn {
                margin-right: 20%;
            }
        }

        .line-qa {
            .container {
				.left {
					p {
						font-size: 20px;
					}
				}

				.bg {
					width: 50%;
				}
			}
        }

        .recruit-flow {
            .bg-dot-pc-1, .bg-dot-pc-2, .bg-dot-pc-3, .bg-dot-pc-4 {
                display: none;
            }
        }
    }

    section {
        &.about-container {
            .system-container-sp {
                margin-top: 100px;

                .pagination-text {
                    font-size: 10px;
                    gap: 40px;
                }

                .swiper {
                    width: 70%;
                }
            }
        }

        &.staff-intro {
            .staff-intro-sp {
                .bg-box {
                    img {
                        width: 50vw;
                    }
                }
            }
        }

        &.our-stores {
            ul {
                li {
                    width: 50vw;
                }
            }
        }

        &.benefit {
            ul {
                align-items: center;

                li {
                    width: 355px;
                }
            }
        }

        &.recruit {
            .right {
                margin: 0 10%;
            }

            .view-more-ripple {
                margin-bottom: 100px;
            }

            .bg-recruit {
                display: block;
                width: 100%;
            }

            .bg-recruit-sp {
                display: none;
            }
        }
    }

    .about {
        .vector {
            display: none;
        }
    }

    .message-wrapper {
        background-image: url("../assets/imgs/bg-entry-ty.webp");
        aspect-ratio: 1440/893;

        .message-box {
            width: 90%;
            aspect-ratio: 1051/489;
            justify-content: center;

            b {
                margin-bottom: 80px;
            }
        }

        .view-more-ripple {
            bottom: 10%;
        }
    }

    .entry-flow {
        margin: 200px 0;

        .current {
            width: 200px;
            height: 200px;
            font-size: 48px;
        }

        .prev-arrows,
        .next-arrows {
            gap: 10px;

            span {
                width: 30px;
                height: 30px;
            }
        }

        .prev,
        .next {
            margin: 0 20px;
            font-size: 32px;
        }
    }

    .entry-container {
        .fields {
            width: 70%;

            .note {
                position: absolute;
                top: 4%;
                right: 10%;
                font-size: 14px;
            }

            .star {
                font-size: 20px;
            }

            p {
                &:not(.cf7-privacy) {
                    input {
                        width: 100%;
                        font-size: 14px;
                        padding: 10px 20px;
                    }
                }
            }

            .select-parent {
                width: 90%;
            }

            .self-pr {
                flex-direction: column;
                width: 90%;

                label {
                    margin-top: 10px;
                }

                textarea {
                    width: 100%;
                    padding: 10px 20px;
                    font-size: 20px;
                }
            }
        }
    }

    .entry-confirm-container {
        form {
            .fields {
                width: 70vw;
            }
        }
    }

    .anim-head2 {
        margin-bottom: 0;
    }

    .section-container {
        section {
            .bg {
                width: 70%;
            }
        }
    }

    .story {
        .text {
            order: 2;
            padding: 100px 15% 0 15%;
        }

        .bg {
            order: 1;
            width: 70%;
            margin: 0 auto;
        }
    }

    .hobby {
        margin-bottom: 100px;

        h3 {
            margin: 80px 0 50px;
        }

        p {
            font-size: 18px;
            width: 403px;
        }

        .bg {
            width: 196px;
            height: 196px;
        }

        a {
            font-size: 20px;
            width: 403px;
            height: 68px;
        }
    }

    #feature {
        h3 {
            padding-left: 30px;
            padding-right: 30px;
        }

        ol {
            li {
                &:first-of-type {
                    padding-left: 30px;
                    padding-right: 30px;
                }

                &:nth-of-type(2) {
                    padding-left: 30px;
                    padding-right: 30px;
                }

                &:last-of-type {
                    padding-left: 30px;
                    padding-right: 30px;
                }
            }
        }

        .row-from-tb {
            justify-content: space-around;

        }
    }

    #merit {
        padding-left: 30px;
        padding-right: 30px;
    }

    @media screen and (orientation: landscape) {
        &#privacy-policy {
            .text-container {
                .head-icon-text-2 {
                    .head-icon {
                        display: block;
                    }
                }
            }
        }
        
        section {
            &.about-container {
                .information {
                    h2 {
                        width: 200px;
                        font-size: 20px;
                    }

                    ul {
                        width: 510px;
                        padding: 20px 20px;

                        li {
                            align-items: center;
                            gap: 40px;
                        }
                    }

                    a {
                        display: none;
                    }
                }
            }

            &.staff-intro {
                margin-bottom: 100px;

                .staff-intro-pc {
                    gap: 40px;

                    .bg-dot-pc {
                        bottom: -50px;
                        left: 0;
                        width: 150px;
                    }

                    .bg-box {
                        gap: 40px;
                        transform: translateX(12vw);

                        img {
                            width: 380px;
                        }
                    }

                    .content {
                        padding: 20px 12vw 20px 12vw;

                        .bg-img {
                            margin-top: 10px;
                            margin-bottom: 20px;
                            width: 380px;
                        }

                        a {
                            padding: 5px 15px;
                            font-size: 24px;

                            .arrow {
                                width: 20px;
                                height: 20px;
                            }
                        }
                    }
                }

                .staff-intro-sp {
                    display: none;
                }
            }

            &.benefit {
                ul {
                    li {
                        width: 50vw;
                    }
                }
            }
        }

        .about {
            .bg-dot {
                &.bg-dot-1 {
                    top: 0;
                    left: 12%;
                    width: 131px;
                }

                &.bg-dot-2 {
                    bottom: 0;
                    right: 10%;
                    width: 53px;
                }
            }

            ul {
                width: 850px;

                li {
                    .left {
                        width: 100%;
                        padding: 10px 0;
                    }

                    .right {
                        width: 100%;
                        padding: 10px 0 10px 10px;
                    }

                    address {
                        display: flex;
                        gap: 10px;
                    }
                }
            }
        }

        .history {
            .bg-dot-pc-1 {
                width: 50px;
                bottom: 20%;
                left: 10%;
            }

            .bg-dot-pc-2 {
                width: 119px;
                bottom: -50px;
                right: 10%;
            }

            .history-container {
                .dots {
                    left: -50px;

                    .dot {
                        &.dot-2 {
                            margin-top: 120px;
                        }

                        &.dot-3 {
                            margin-top: 110px;
                        }

                        &.dot-4 {
                            margin-top: 115px;
                        }

                        &.dot-5 {
                            margin-top: 120px;
                        }
                    }
                }

                ul {
                    li {
                        p {
                            font-size: 18px;
                        }
                    }
                }
            }
        }

        .message {
            width: initial;

            .content-sp {
                margin: 80px;

                .item {
                    &.item-2 {
                        .bg {
                            margin-left: auto;
                        }
                    }

                    .bg {
                        width: 40%;
                    }
                }
            }
        }

        .entry-container {
            .fields {
                width: 60%;

                .name-age {
                    p {
                        span {
                            &:nth-of-type(1) {
                                input {
                                    width: 255px;
                                }
                            }

                            &:nth-of-type(2) {
                                input {
                                    width: 110px;
                                }
                            }
                        }
                    }

                    .name-age-body {
                        label {
                            margin-left: 15%;
                            margin-right: 60px;
                        }
                    }
                }
            }
        }

        .entry-confirm-container {
            .bg-dot {
                width: 252px;
                bottom: 5%;
                right: 2%;
            }

            form {
                .fields {
                    width: 60vw;
                }
            }
        }

        .anim-head2 {
            margin-bottom: 40px;
        }

        .goto-pc {
            padding: 0 20px 30px 40px;
            margin-bottom: 150px;

            .left {
                span {
                    font-size: 24px;

                    &:first-child {
                        font-size: 40px;
                    }
                }
            }

            .right {
                font-size: 24px;
            }
        }

        .goto-pc {
            display: flex;
        }

        .goto-sp {
            display: none;
        }

        .section-container {
            section {
                &:nth-of-type(odd) {
                    flex-direction: row-reverse;
                }

                &:nth-of-type(even) {
                    flex-direction: row;
                }

                .text {
                    p {
                        margin: 0;
                    }
                }
            }
        }

        .story {
            flex-direction: row-reverse;

            .text {
                padding: 0;

                h4 {
                    display: block;
                }
            }
        }

        .hobby {
            h3 {
                align-self: center;
            }
        }

        .other-staff {
            padding-bottom: 80px;

            h3 {
                padding: 40px 0 40px 5%;
            }

            ul {
                li {
                    &:not(:first-child) {
                        display: flex;
                    }
                }
            }
        }
    
        .recruit-info {
            .training {
                .container {
                    &:nth-of-type(even) {
                        .box {
                            P {
                                margin-right: 80px;
                                margin-left: 20px;
                            }
                        }
                    }
                }
            }
        }
    
        .entry-section {
            .view-more-ripple {
                margin: 10px auto 0;
            }
        }
    
        .content {
            .category {
                h3 {
                    margin-left: 3vw;
                    margin-bottom: 100px;
                }
    
                nav {
                    margin-left: 5vw;
                    width: 251px;
                    border-bottom: 1px solid black;
    
                    .all-store {
                        font-size: 20px;
                        padding-bottom: 20px;
                    }
    
                    .stores {
                        padding-top: 20px;
                        margin-left: 20px;
                        font-size: 15px;
                        gap: 20px;
                    }
    
                    .kakuin {
                        padding-top: 20px;
                        font-size: 20px;
    
                        .arrow {
                            width: 26px;
                            height: 26px;
    
                            &:before {
                                width: 11px;
                                height: 11px;
                            }
                        }
                    }
                }
            }
    
            .staff-container {
                margin-bottom: 100px;
    
                h3 {
                    margin-left: 80px;
                    margin-bottom: 50px;
                }
    
                h4 {
                    height: 158px;
                    font-size: 24px;
                    padding: 20px 0 0 10%;
                }
    
                .store-container {
                    .ul-pc {
                        display: flex;
                        gap: 80px;
                        margin-left: 20%;
                        transform: translateY(-50px);
                        flex-wrap: wrap;
                        width: auto;
    
                        li {
                            width: 215px;
    
                            img {
                                width: 100%;
                            }
    
                            p {
                                font-size: 18px;
                                margin-top: 30px;
                                margin-bottom: 20px;
                            }
                        }
                    }
    
                    .swiper {
                        display: none;
                    }

                    .swiper-button-prev {
                        left: 25%;
                    }
    
                    .swiper-button-next {
                        right: 25%;
                    }
                }
            }
        }
    
        .access {
            .map {
                aspect-ratio: 613/367;
            }
        }
    }

}