html {
    overflow-x: hidden;
}

body {
    line-height: 1.6;
    font-family: 'Noto Sans JP', sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    color: #000000;
    font-weight: 400;
    overflow-x: hidden;
}
.banner {
    padding: 0% !important;
}

#home {
    overflow: hidden;
    position: relative;
    height: 550px;
}

#home video {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

@media (max-width: 480px) {
    #home {
        height: 450px;
    }

    #home video {
        height: 450px;
    }
}

@media (max-width: 400px) {
    #home {
        height: 450px;
    }

    #home video {
        height: 450px;
    }
}

.square {
    width: 38.385416666667vw;
    position: absolute;
    top: -4vw;
    left: -1vw;
    z-index: 1;
}

.feature-dot {
    height: 5VW;
    width: 34vw;
    --dotSize: 0.13rem;
    --bgSize: 0.7rem;
    --bgPosition: calc(var(--bgSize) / 2);
    background-image: radial-gradient(circle at center, black var(--dotSize), transparent 0), radial-gradient(circle at center, black var(--dotSize), transparent 0);
    background-size: var(--bgSize) var(--bgSize);
    background-position: 0 0, var(--bgPosition) var(--bgPosition);
    position: absolute;
    margin-top: -8VW;
}

.posts {
    width: 75.3125vw;
    background-color: white;
    border-radius: 0.3125vw;
    box-shadow: 8px 8px #fff, 8px 9px 0 4px #000;
    border: solid black;
    margin-top: 3vw;
    padding: 0 0 2.3270833333333vw;
    position: relative;
    left: 5.2083333333333vw;
}

@media (max-width: 480px) {
    .posts {
        left: -3%;
        margin-top: -3rem;
        box-shadow: 8px 8px #fff, 8px 9px 0 4px #000;
        width: 95%
    }

    .feature-image {
        top: 0;
    }

    .square {
        top: -20vw;
    }
}

.posts h2 {
    font-size: 1.875vw;
    line-height: 1.8vw;
    letter-spacing: 5.4px;
    color: #000000;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    margin: 6.0416666666667vw  5vw 2.0833333333333vw;
}

.posts p {
    margin-left: 5vw;
    width: 36.354166666667vw;
    font-size: 1.25vw;
    line-height: 2.4vw;
    font-style: normal;
    font-variant: normal;
    font-weight: 500;
    margin-bottom: 0px;
}

.content-image {
    border-bottom: 28em solid #555;
    border-left: 75px solid transparent;
    height: 0%;
    width: 50%;
    margin-left: 50%;
    margin-top: -368px;
}

.show-in-tablet {
    position: relative;
    padding: 0px;
    margin-top: 9vw;
}

.house {
    background: white;
    width: 100%;
    height: 24%;
    border-bottom: 5px solid;
}

.house__roof {
    width: 41%;
    background: black;
    text-align: center;
    color: white;
    background: #000000 0% 0% no-repeat padding-box;
    border-radius: 0.26041666666667vw;
    margin-top: -0.10416666666667vw;
}

.house__roof h2 {
    margin-top: 12px;
    font-size: 1.4583333333333333vw;
    line-height: 1.8229166666666667vw;
    letter-spacing: 4.2px;
    color: #FFFFFF;
    opacity: 1;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
}

.house-title {
    position: absolute;
    top: 9em;
    left: 36%;
}

.house-content {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.house-content p {
    margin-top: 45px;
    text-align: center;
    font: normal normal bold 30px/35px Noto Sans JP;
    letter-spacing: 4.5px;
    color: #FF7600;
    opacity: 1;
}

.primary {
    text-align: center;
}

.primary h5 {
    margin: 28px;
    text-align: center;
    font: normal normal bold 18px/28px Noto Sans JP;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
}

.controls-secondary {
    height: auto;
    border: 1px solid #11C7B2;
    background: #11C7B2 0% 0% no-repeat padding-box;
    border-radius: 10px;
    margin-top: 3rem;
    margin: 0.8333333333333334vw 1.7229166666667vw 1.0416666666666667vw;
}

@media (max-width:480px) {
    .controls-secondary {
        margin: 16px 0px 20px;
    }
    .element-btn-action {
        /* height: 360px !important; */
        /* margin-top: 15px; */
    }
}

.controls-secondary h2 {
    background: black;
    color: #11C7B2;
    font-size: 1.5625vw;
    line-height: 1.4583333333333333vw;
    margin: 8px 0 8px;
    padding: 10px;
}

.controls-secondary p {
    display: grid;
    grid-template-rows: repeat(auto-fill, minmax(100px, 1fr));
    text-align: center;
    font-size: 0.9375vw;
    line-height: 1.4583333333333333vw;
    letter-spacing: 0px;
    color: #000000;
    margin: 1.40625vw 1.6145833333333333vw 0.8333333333333334vw;
    font-style: normal;
    font-variant: normal;
    font-weight: 500;
}

.controls-second-1 {
    margin-right: 0%;
    margin-left: 40%;
}

.controls-second-2 {
    margin-right: 32%;
    margin-left: 10%;
}

.mainheading-boder {
    border: 2px solid black;
}

.policy-midvision {
    border-bottom: 3px solid;
    padding: 10px 0 85px;
}

.brand-btn {
    position: relative;
    padding: 1.5vw 0vw;
    background: #000;
    border-radius: 5px;
    width: 100%;
    text-align: center;
    margin-top: -10rem;
    right: 10px;
    top: 12px;
}

.brand-btn-link>span {
    display: inline-block;
    color: #fff;
    font-size: 1.3vw;
    line-height: 1.8vw;
    letter-spacing: 5.2px;
}

.btn-rhombus {
    position: absolute;
    top: 91px;
    right: 43px;
    width: 30px;
    height: 16px;
    background: #000;
    transform: skew(-38deg);
}

span.btn-rhombus::before {
    position: absolute;
    content: "";
    top: 9px;
    left: 1px;
    border-top: 0px solid transparent;
    border-bottom: 35px solid transparent;
    border-right: 33px solid #000;
    transform: skew(-223deg);
}

.mainheading-boder-secound {
    border: 2px solid black;
    margin-top: 6em;
}

.feature-image {
    height: 33vw;
    margin-left: 48vw;
    top: 9vw;
    margin-right: -0.6vw;
    width: 56%;
    position: absolute;

}
.policy-ig-mb {
    display: none;
}

@media (max-width: 480px) {
    .brand-btn {
        top: 72px;
    }

    .policy-visionmap svg {
        top: -15vw;
    }
    .show-in-tablet {
        margin-top: -20vw;
    }
}

@media (max-width: 400px) {
    .feature-image {
        height: 35%;
        top: 42vw;
    }
}

.inner-image {
    height: 100%;
    overflow: hidden;
    transform-origin: 0 100%;
}

.inner-image .image {
    height: 100%;
    display: block;
    position: relative;
    width: 100%;
    transform-origin: 0 100%;
    transform: skewX(-12deg) translatez(1px);
    overflow: hidden;
    border: 5px solid #000000;
}

.inner-image .image:before {
    content: '';
    position: absolute;
    width: 102%;
    height: 100%;
    background-image: var(--si-image-url);
    background-size: cover;
    background-position: center;
    transform-origin: inherit;
    transform: skewX(12deg);
    transition: 0.4s ease;
}

.inner-image .image:hover:before {
    -webkit-transform: scale(1.08);
    transform: scale(1.08) skewX(12deg);
}

.photo_pc {
    position: absolute;
    bottom: 15vw;
    right: 5vw;
}

.photo_pc img {
    width: 25%;
}

.policy-visionmap img {
    opacity: 0.3;
    filter: brightness(0.5);
}

.management {
    background: #FFFFFF;
    width: 50.235%;
    height: auto;
    border: 5px solid #000000;
    border-radius: 10px;
    margin-bottom: 7vw;
}

.card-policy-1 {
    padding: 3vw 0 1vw;
    letter-spacing: 4.5px;
    color: #FF7600;
    font-size: 1.5625vw;
    line-height: 1.8229166666666667vw;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
}

.card-policy-2 {
    font-size: 1.3020833333333333vw;
    line-height: 1.8229166666666667vw;
    padding: 1.5104166666667vw  0 1.1052083333333vw;
    font-style: normal;
    font-variant: normal;
    font-weight: 500;
}

.policy-midvision p {
    color: #000000;
    letter-spacing: 4.5px;
    font-size: 1.5625vw;
    line-height: 2.6vw;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    margin-bottom: 4rem;
}

.policy-visionmap {
    position: relative;
}

.policy-visionmap svg {
    position: absolute;
    left: 1vw;
    bottom: 1vw;
    width: 90%;
}

.banner img {
    height: 21.822916666666668vw;
    width: 100%;
    object-fit: cover;
}

.services-content {
    position: relative;
}

.main-policy {
    position: relative;
    bottom: -0.1vw;
}
.title-policy img {
    max-width: 102%;
}
.square-primary {
    padding-left: 0px;
    padding-right: 0px;
}
.services {
    padding: 0px !important;
}
.inquiry {
    padding: 0px !important;
    background-color: #EDE9E2;
    margin-top: -3vw;
}
.element-btn-action {
    margin-bottom: 0px;
}
@media only screen and (min-width: 761px) and (max-width: 1200px) {
    .controls-secondary {
        max-height: 14vw;
    }
}
@media (max-width:760px) {
    .management {
        width: 86.843%;
        padding-bottom: 7.2vw;
    }

    .controls-secondary p {
        grid-template-rows: repeat(auto-fill, minmax(11.841vw, 1fr));
        font-size: 1.9736842105263vw;
        line-height: 3.2894736842105vw;
    }

    .feature-image {
        height: 63.157894736842vw;
        margin-left: 8vw;
        top: -10em;;
        margin-top: 4vw;
        width: 95%;
        position: relative;
    }

    .posts {
        left: -3%;
        width: 96%;
        box-shadow: 8px 8px #fff, 8px 9px 0 4px #000;
        padding: 0 0 23.477631578947vw;
    }

    .services {
        padding: 1vw 0 65vw;
    }

    .btn-rhombus {
        top: 9vw;
    }

    .brand-btn {
        top: 5vw;
        padding: 3vw 0vw;
    }

    .posts p {
        width: 76.973684210526vw;
        font-size: 3.1578947368421vw;
        line-height: 3.9473684210526vw;
        font-weight: bold;
        margin-bottom: 2rem;
    }

    .posts h2 {
        font-size: 4.7368421052632vw;
        line-height: 30px;
        margin-top: 17vw;
        margin-bottom: 9vw;
    }

    .photo_pc img {
        display: none;
    }
    .controls-secondary h2 {
        font-size: 2.6315789473684vw;
        line-height: 3.6842105263158vw;
    }
    .square {
        width: 56.973684210526vw;
        left: -13vw;
    }

    .show-in-tablet {
        margin-top: 3vw;
    }

    .posts {
        border: 5px solid black;
        border-radius: 10px;
        left: -4%;
    }

}

@media (max-width: 760px) {
    .main-policy {
        background-image: url('./../images/policy/mb-backgroud-policy.png') !important;
        background-size: cover;
        background-position: center;
        bottom: 0vw;
    }

    .banner img {
        width: 100%;
        height: 114.32291666667vw;
        object-fit: cover;
    }

    .policy-midvision p {
        font-size: 3.5625vw;
        line-height: 5vw;
    }
    .controls-secondary {
        margin: 10px 2.8723684210526vw 10px;
    }
    .services-content {
        top: 15.921052631579vw;
    }

    .house__roof {
        border-radius: 00.65789473684211vw;
    }

    .house__roof h2 {
        font-size: 2.5vw;
        line-height: 3.1578947368421vw;
    }
    .card-policy-1 {
        font-size: 2.6315789473684vw;
        line-height: 3.0263157894737vw;
        margin-top: 4.0789473684211vw;
        margin-bottom: 0.91145833333333vw;
        padding: 0;
    }
    .card-policy-2 {
        font-size: 2.1052631578947vw;
        line-height: 2.8947368421053vw;
        margin-top: 4.0131578947368vw;
        margin-bottom: 5.6578947368421vw;
    }
    .policy-ig {
        display: none;
    }
    .policy-ig-mb {
        display: inline-block;
    }
}

@media screen
  and (min-device-width: 980px) 
  and (max-device-width: 1820px) {
    .show-in-tablet {
        margin-top: 13vw;
    }
}

@media only screen and (max-width: 500px) {
    .services {
        padding-top: 50px !important;
    }

    .feature-image {
        top: -27vw;
    }

    .posts h2 {
        letter-spacing: 0px;
        margin-bottom: 5vw;
    }

    .posts {
        left: -6%;
        box-shadow: 3px 3px #fff, 3px 3px 0 3px #000;
        border: 3px solid;
        border-radius: 5px;
    }

    .inner-image .image {
        border: 3px solid #000000;
    }

    .management {
        border: 3px solid #000000;
        margin-top: 15vw;
        padding-bottom: 7vw;
        border-radius: 7px;
    }

    .management-content {
        border-bottom: 3px solid !important;
    }

    .card-policy-1 {
        font-size: 13px;
        letter-spacing: 0px;
        margin-bottom: 3vw;
    }
    
    .house__roof {
        width: 55%;
        border-radius: 5px 5px 10px 10px;
        font-size: 13px;
    }

    .card-policy-2 {
        margin-bottom: 0px !important;
        margin-top: 2vw;
    }

    .controls-secondary h2 {
        padding: 4px;
    }

    .show-in-tablet {
        margin-top: -23vw;
    }

    .controls-secondary {
        margin: 10px 2.8723684210526vw 8px;
    }

    .feature-image {
        height: 55vw;
        margin-left: 9vw;
    }
}