@charset "utf-8";
@import url(../style.css?v=1);

main {
    overflow: hidden;
}

span {
    display: inline-block;
}

p {
    margin: 0.9em 0;
}

.btn-1 {
    display: block;
    background-color: white;
    color: #1D439A;
    text-decoration: none;
    padding: 8px 32px;
    border: solid 0.8px #1D439A;
    position: relative;
    text-align: center;
    font-size: min(4vw,18px);
    font-weight: bold;
    box-sizing: border-box;
    width: min(100%,368px);
    margin: 0 auto;
}

.btn-1::before {
    position: absolute;
    content: "";
    width: 58px;
    height: 58px;
    left: 6%;
    top: 5%;
    background-repeat: no-repeat;
}

.btn-1::after {
    background-image: url(sankaku-B.png);
    position: absolute;
    content: "";
    width: 10px;
    height: 18px;
    background-repeat: no-repeat;
    left: 85%;
    top: 35%;
}
/***************************************

fv

**************************************/
#fv {
    max-width: 1200px;
    padding: 40px 18px 56px;
    overflow-x: hidden;
}

#fv > img {
    width: min(114%,700px);
    margin: 0 -18px;
    object-position: right center;
    object-fit: cover;
    height: 300px;
}

.fv {
    margin: 0 auto;
    width: fit-content;
}

h1 {
    font-size: min(5vw,24px);
}

.fv img {
    width: min(100%,400px);
    display: block;
    margin: 0 auto 20px;
}

@media(min-width:640px){
    #fv {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: center;
        gap: 4vw;
        margin: 0 auto;
    }

    #fv > img {
        width: 55%;
        object-position: center;
        height: auto;
    }

    .fv {
        width: 45%;
        text-align: right;
    }
}

@media(min-width:945px){
    .fv p {
        margin-left: 52px;
    }
}
/*****************************************

about

*******************************************/
#about {
    background: linear-gradient(to bottom,#F0FCFF 85%, white 5%);
    padding: 48px 0;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
}

.hukidashi {
    padding: 0 20px;
}

.hukidashi h2 {
    border-radius: 73px;
    background-color: white;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    position: relative;
    padding: 24px 32px;
    text-align: center;
    margin: 0;
    font-size: min(6vw,26px);
    font-weight: 700;
}

.hukidashi::after {
    content:"";
    display: block;
    background: url(sankaku-W.png) no-repeat center;
    background-size: contain;
    height: 34px;
    width: 34px;
    margin: -10px auto 0;
    filter: drop-shadow(0 10px 4px rgba(0,0,0,0.25));
}

.hukidashi img {
    width: min(100%,400px);
    margin: auto;
}

.sentence p {
    margin: 0.9em 16px;
}

.article .txt img {
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    border: solid 10px white;
    width: min(87%,480px);
    display: block;
    margin: 28px auto ;
}

@media(min-width:640px){
    #about {
        background: linear-gradient(to bottom,#F0FCFF 75%, white 25%);
    }

    .hukidashi {
        max-width: 700px;
        padding-bottom: 24px;
        margin: 0 auto;
    } 

    .hukidashi h2 {
        margin: 0 auto;
    }

    .hukidashi img {
        width: 400px;
        margin: unset;
        vertical-align: middle;
    }

    .article {
        gap: 24px;
        display: flex;
        padding: 20px;
    }    

    .article {
        display: flex;
        justify-content: space-evenly;
    }

    .article .txt {
        width: 50%;
        display: flex;
        flex-direction: column;
    }

    .article .txt .sentence {
        flex-grow: 1;
    }  
}
/*****************************************

tips

*****************************************/
#tips {
    margin: 0;
    padding: 0 20px;
    position: relative;
}

#tips::before {
    content: '';
    position: absolute;
    top: 180px;
    bottom: 180px;
    left: 0;
    right: 0;
    transform: skewY(-7deg);
    z-index: -1;
    background: radial-gradient(50% 50% at 50% 50%, #D6F6FF 0%, #D1F4FE 56.67%, #B0ECFD 100%);
}

#tips h2 {
    position: relative;
    margin: 40px auto 60px;
    width: 100%;
    color: #1D439A;
    font-weight: 700;
    text-align: center;
    padding: 0;
    font-size: min(20px,24px);
    max-width: 640px;
}

#tips h2::before {
    position: absolute;
    left: 10px;
    top: 20%;
    content: "";
    width: 3px;
    height: 48px;
    background: #1D439A;
    transform: rotate(-30deg);
}

#tips h2::after {
    position: absolute;
    right: 10px;
    top: 20%;
    content: "";
    width: 3px;
    height: 48px;
    background: #1D439A;
    transform: rotate(30deg);
}

#tips h2 img {
    display: block;
    width: min(85%,400px);
    margin: 0 auto;
    object-fit: contain;
}

.tips-list {
    padding: 0;
    list-style: none;
}

.search {
    margin-top: -28px;
}

.numbers {
    color: #1D439A;
    font-weight: 700;
    font-size: min(11vw,60px);
    margin: -16px 0 0 8px;
}

.search .contents {
    background-color: white;
    margin-top: -10%;
    padding: 40px 24px;
}

.search h3 {
    color: #0E335F;
    font-size: min(6vw,24px);
    margin-top: 0;
}

.search p.text {
    font-size: 16px;
}

li .s-img {
    margin: -18px 0 28px;
}

li img {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    border: solid 10px white;
    position: relative;
    width: min(74%,400px);
}

li img.active {
    rotate: -10deg;
    transition: all 0.5s ease-in-out;
}

li.left .s-img img.s1-2 {
    right: -68px;
    top: -28px;
}

li.left .s-img img.s1-2.active {
    rotate: 7deg;
}

.right .enter {
    display: none;
}


li.right .s-img img.s2-1 {
    top: 12px;
}

li.right .s-img img.s2-1.active {
    rotate: 9deg;
}

li.right .s-img img.s2-2 {
    right: -68px;
    top: -24px;
}

li.right .s-img img.s2-2.active {
    rotate: -6deg;
}

li.left .s-img img.s3-1.active {
    rotate: -8deg;
}

li.left .s-img img.s3-2 {
    right: -60px;
    top: -24px;
}

li.left .s-img img.s3-2.active {
    rotate: 8deg;
}

li.right img.s4 {
    display: block;
    margin: -28px auto 0;
    width: min(85%,472px);
    rotate: -10deg;
}

li.right img.s4.active {
    rotate: 0deg;
}

@media(min-width:640px){
    #tips h2 {
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    #tips h2::before {
        left: 2%;
    }

    #tips h2::after {
        right: 2%;
    }  

    #tips h2 img {
        margin: 0;
    }

    .search .contents {
        margin-top: -52px;
    }

    .left {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        padding-top:60px
    }
    
    li .search {
        width: 65%;
    }

    li .s-img {
        width: 50%;
    }

    .right {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding-top:60px
    }

    li.right img.s4 {
        width: 50%;
    }
}

@media(min-width:765px){
    .right .enter {
        display: block;
    }
}

/***************************************

navi

****************************/
.inner {
    margin: 54px 20px;
    border: solid 2px #1D439A;
    background-color: #F6FAFB;
    padding: 32px 20px 108px;
}

.inner img {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: baseline;
    width: min(100%,280px);
}

.inner h3 p {
    font-weight: bold;
    color: #1D439A;
    font-size: 24px;
    margin: 0;
}

.inner .last {
    margin-bottom: 2em;
}
 
.btn {
    margin: -168px auto 0;
    max-width: 1000px;
}

.btn-1:first-child::before {
    background-image: url(mekulo-works-mark-1.png);
    width: 100%;
    left: 2%;
}

.btn-1:last-child::before {
    background-image: url(Group.png);
    left: 10%;
    top: 16%;
}

.btn a {
    width: min(80%,292px);
    margin: 12px auto;
}

@media(min-width:640px){
    #navi {
        text-align: center;
        max-width: 1200px;
        margin: 116px auto 0;
        padding-bottom: min(5%,50px);
    }

    .inner {
        padding: 32px 0;
    }

    .inner h3 p {
        display: inline-block;
    }    

    .inner h3 img {
        display: inline-block;
    }

    .btn {
        display: flex;
        justify-content: space-evenly;
        margin-top: -140px;
    }

    .btn a{
        margin: 0;
    }
}
/****************************************

user

*****************************************/
#user {
    background-image: url(naganoken.png);
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    max-width: 700px;
    margin: 0 auto;
}

#user .hukidashi {
    padding: 0;
}

#user .hukidashi::after {
    margin-top: -60px;
}

#user .hukidashi h2 {
    padding: 16px 0;
    margin: 0 0 50px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25),0 -3px 4px rgba(0, 0, 0, 0.25);
    font-size: min(6vw,26px);
    font-weight: bold;
}

#user strong {
    color: #1D439A;
}

#user .h2 span {
    display: inline-block;
}

#user > p {
    font-size: 16px;
    text-shadow:  0 1px 1px rgba(0, 0, 0, 0.3);
}

#user .btn-1 {
    padding: 24px 32px;
    margin: 24px auto 0;
}

#user .btn-1::before {
    background-image: url(camera.png);
    top: 30%;
    left: 15%;
}

@media(min-width:640px){
    #user {
        text-align: center;
        background-repeat: no-repeat;
        background-size: auto;
        margin: 0 auto;
    }

    #user .btn-1 {
        margin-top: 64px;
    }
}
/*******************************

about-nr

******************************/
#about-nr {
    padding: 0 20px; 
    max-width: 1100px;
    margin: 0 auto;
}

#about-nr h3 {
    color: #1D439A;
    font-weight: bold;
    font-size: min(8vw,36px);
    margin-bottom: 30px;
}

#about-nr .btn-1 {
    padding: 20px 40px;
}

#about-nr .btn-1::before {
    background-image: url(nr_mark_2.png);
    background-size: contain;
    top: 2%;
    left: 3%;
}

@media(min-width:640px){
    #about-nr .nr {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    #about-nr p {
        max-width: 640px;
    }   

    #about-nr .btn-1 {
        min-width:300px;
    }
}