@charset "UTF-8";

/*-----------------------------------------
    reset   
-----------------------------------------*/

*{
    margin: 0 ;
    padding: 0;
    line-height: 1;
    box-sizing: border-box;
}

ul {
    list-style: none;
}


a {
    color: #333;
    text-decoration: none;
}

img{
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    object-fit: contain;
}

/*-----------------------------------------
    html & body   
-----------------------------------------*/

html {
    scroll-behavior: smooth;
}

body {
    color: #555;
    background-color: #eeeeee;
    font-family: "Noto Sans JP", sans-serif;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

.small{
    font-size: small;
}

/*-----------------------------------------
    header - setting   
-----------------------------------------*/

header{
    max-width: 100%;
    margin: 0 auto;
    padding: 50px 0 250px;
    display: block;
    background-color: #F5EFB6;
}

h1{
    font-size: 60px;
    margin-bottom: 10px;
    opacity: 0;
    animation: h1-animation 2.0s linear forwards;
}

.h1-img{
    width: 100%;
    text-align: center;
}

.h1-img p{
    font-weight: bold;
    margin-bottom: 30px;
    opacity: 0;
    animation: h1-animation 2.0s linear 1.0s forwards;
}

.h1-img p img{
   width: 100px;
   opacity: 0;
   animation: h1-animation 2.0s linear 1.0s forwards;
}

@media (min-width:600px){
    header{
        max-width: 100%;
        height: 500px;
        margin: 0 auto;
        padding: 50px 0 200px;
        display: flex;
        justify-content: space-between;
    }
    h1{
        font-size: 60px;
        margin-right: 20px;
        margin-bottom: 10px;
       }
    .h1-img{
        width: 60%;
        display: flex;
        padding-left: 80px;
        text-align: left;
    }
    .h1-img p{
        text-align: left;
        padding-top: 20px;
    }
}

@media (min-width:900px){
    header{
        max-width: 1080px;
        box-shadow: 0 0 0 1px rgba(81, 81, 81, 0.15);
    }
}

@keyframes h1-animation {
    0%{opacity: 0;}
    100%{opacity: 1;}
}

/*-----------------------------------------
    nav - setting   
-----------------------------------------*/
nav{
    width: 100%;
}

nav ul{
    display: flex;
    justify-content: space-around;
    text-align: center;
}

nav ul li{
    width: 29%;
}

nav ul a{
    font-size: 18px;
    line-height: 40px;
    font-weight: bold;
    display: block;
    background-color: #fff;
    border-radius: 20px;
    color: #555;
}


@media (min-width:600px){
    nav{
        width: 40%;
    }
    nav ul{
        display: block;
        padding-right: 80px;
        text-align: right;
    }
    nav ul a{
        font-size: 20px;
        background-color: #F5EFB6;
        border-radius: 0;
        display: inline-block;
    }
    nav ul a::after{
        content: "";
        display: inline-block;
        width: 20px;
        height: 20px;
        padding-left: 6px;
        background-image: url('../img/header_icon_nav.svg');
        background-repeat:no-repeat;
        background-position: center;
        background-size: contain;
    }
    nav ul li{
        width: 100%;
    }
}


/*-----------------------------------------
    mein - setting   
-----------------------------------------*/
main{
    max-width: 100%;    
    margin: 0 auto;
}

h2{
    font-size: 40px;
    margin-bottom:30px;
    color: #555;
}

.h2-odd{
    text-align: left;
    color: #fff;
}

.before{
    width: 100%;
    margin-top: -150px;
    margin-bottom: -10px;
}

.before svg{
    width: 100%;
    height:150px;
}

.before-odd{
    transform: scale(1,1);
}

.before-mv{
    position: relative;
}

.dog-icon-01{
    display: none;
}

.dog-icon-02{
    display: none;
}

.dog-icon-01 img, .dog-icon-02 img{
    width: 105px;
}

@media (min-width:600px){
    h2{
        font-size: 60px;
        margin-bottom:80px;
    }
    .h2-odd{
        text-align: right;
    }
    .before-odd{
        transform: scale(-1,1);
    }
   
}

@media (min-width:730px){
    .dog-icon-01{
        display: block;
        position: absolute;
        left: 620px;
        top: 46px;
        transform: scale(-1,1) rotate(-7deg);
    }
    .dog-icon-02{
        display: block;
        position: absolute;
        left: 100px;
        top: -50px;
        transform: scale(-1,1);
    }
}

@media (min-width:900px){
    main{
        max-width: 1080px;
    }
}



/*-----------------------------------------
    mein > About - setting   
-----------------------------------------*/


.about{
    background-color:#C4E5DE ;
    padding:10px 20px 250px;
}

.about h3{
    font-size: 20px;
    margin-bottom: 20px;
}

.about .about-wrap{
    display: block;
    width: 100%;
}

.about .about-wrap .img{
    width: 100%;
}

.about .about-wrap .text{
    width: 100%;
}

.about p{
    font-size: 12px;
    line-height: 1.3;
}

.about .about-wrap .text p:nth-child(2){
    margin-bottom: 50px;
}

.about .profile{
    width: 130px;
    height: 130px;
    border-radius: 100%;
    overflow: hidden;
    margin: 0 auto 20px;    
}

.about .icon-wrap{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 150px;
    margin: 0 auto 50px;
}

.about .icon-x{
    width: 30px;
}
.about .icon-note{
    width: 100px;
}

@media (min-width:600px){
    .about{
        padding:10px 80px 250px;
    }
    .about h3{
        font-size: 30px;
        margin-bottom: 20px;
    }
    .about .profile{
        width: 280px;
        height: 280px;
        border-radius: 100%;
        overflow: hidden;
        margin: 0 auto 50px;    
    }
    .about p{
        font-size: 16px;
    }
    .about .icon-wrap{
        width: 280px;
    }
 
    .about .icon-x{
        width: 50px;
    }
    .about .icon-note{
        width: 170px;
    }
}

@media (min-width:900px){
    .about{
        box-shadow: 0 0 0 1px rgba(81, 81, 81, 0.15);
    }
    .about .about-wrap{
        display: flex;
    }
    .about .about-wrap .img{
        width: 47%;
    }    
    .about .about-wrap .text{
        width: 53%;
    }
}


/*-----------------------------------------
    mein > works - setting   
-----------------------------------------*/

.works{
    padding:10px 20px 250px;
    background-color: #F5EFB6;
}

.works-wrap{
    width: 100%;
    display: block;
    display: flex;
    flex-direction:column;
}

.works-container{
    width: 100%;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 30px;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all 1s;
    transform: translateY(80px);
}

.works-container:nth-child(1){
    order: 1;
}

.works-container:nth-child(4){
    order: 2;
}

.works-container:nth-child(2){
    order: 3;
}

.works-container:nth-child(5){
    order: 4;
}

.works-container:nth-child(3){
    order: 5;
}

.works-container:last-child{
    order: 6;
    position:relative;
    top: 30px;
    background-color: #F5EFB6;
    text-align: right;
    padding: 0;
    border-radius: 0;
}

.works-container h3{
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.works-container p{
    font-size: 12px;
    line-height: 1.5;
}
.works-container ul{
    margin:0 10px 0 26px;
}

.works-container ul li{
    padding-left: 6px;
    font-size: 12px;
    line-height: 1.5;
    list-style: circle;
}

.works-container ul li:last-child{
    margin-top: 10px;
    text-align: right;
    list-style: none;
}

@media (min-width:600px){
    .works{
        padding:10px 80px 250px;
    }
}

@media (min-width:900px){
    .works{
        box-shadow: 0 0 0 1px rgba(81, 81, 81, 0.15);
    }

    .works-wrap{
        width: 100%;
        max-height: 1300px;
        align-self:flex-start;
        align-items: flex-start;
        align-content:space-between;
        flex-wrap: wrap;
    }

    .works-container:nth-child(4),
    .works-container:nth-child(5){
        position:relative;
        top: 80px;
    }
    .works-container:nth-child(1){
        order: 1;
    }
    
    .works-container:nth-child(2){
        order: 2;
    }
    
    .works-container:nth-child(3){
        order: 3;
    }
    
    .works-container:nth-child(4){
        order: 4;
    }

    .works-container:nth-child(5){
        order: 5;
    }
    .works-container:last-child{
        top: 80px;
    }
    .works-container{
        width: 420px;
        padding: 30px;
        margin-bottom: 80px;
        border-radius: 50px;
        background-color: #ffffff;
    }
    .works-container h3{
        font-size: 30px;
        margin-bottom: 30px;
    }
    .works-container p{
        font-size: 16px;
    }
    .works-container ul li{
        font-size: 16px;
    }

}

.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

/*-----------------------------------------
    mein > form - setting   
-----------------------------------------*/

.form{
    padding:10px 20px 250px;
    background-color:#C4E5DE ;
    box-shadow: 0 0 0 1px rgba(81, 81, 81, 0.15);
}

.form h3{
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}
.form p{
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 30px;
}

.form .form-wrap{
    width: 90%;
    margin: 0 auto 25px;
}
.form .form-wrap .form-containe{
    display: block;
    margin-bottom: 30px;
}

.form .form-wrap .form-containe dt{
    width: 100%;
    margin-bottom: 10px;
    text-align: left;
    font-size: 16px;
}
.form .form-wrap .form-containe dd{
    width: 100%;
    margin-bottom: 20px;
    font-size: 12px;
}

form{
    text-align: center;
}

form input[type="text"],form input[type="email"]{
    padding: 10px;
    width: 100%;
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    border: 1px solid #999;
    border-radius: 32px;
    font-size: 12px;
}

form textarea{
    padding: 10px;
    width: 100%;
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    border: 1px solid #999;
    border-radius: 12px;
    font-size: 12px;
}

form p input[type="submit"]{
    padding: 20px 30px;
    font-family: "Noto Sans JP", sans-serif;
    background-color: #eee;
    border: 1px solid #999;
    border-radius: 32px;
    color: #444;
    margin-bottom: 30px;
}

@media (min-width:600px){
    .form{
        padding:10px 80px 250px;
    }
    .form h3{
        font-size: 30px;
        margin-bottom: 30px;
    }
    .form p{
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 60px;
    }
    .form .form-wrap .form-containe dt{
        font-size: 16px;
    }
    .form .form-wrap .form-containe dd{
        font-size: 16px;
    }
}

@media (min-width:900px){
    .form{
        box-shadow: 0 0 0 1px rgba(81, 81, 81, 0.15);
    }
    .form .form-wrap .form-containe{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 30px;
    }
    .form .form-wrap .form-containe dt{
        width: 20%;
        margin-bottom: 20px;
        text-align: right;
    }
    .form .form-wrap .form-containe dd{
        width: 75%;
        margin-bottom: 20px;
    }
}



/*-----------------------------------------
    toTop - setting   
-----------------------------------------*/

body>a {
    display: none;
    width: 50px;
    height: 50px;
    background-color: #66666660;
    position: fixed;
    bottom: 35px;
    right: 20px;
    color: #ffffffdd;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    box-shadow: 0 0 0 1px rgba(81, 81, 81, 0.15);
    border-radius: 100%;
}

/*-----------------------------------------
    footer - setting   
-----------------------------------------*/
.footer-before{
    max-width: 1080px;
    margin: -150px auto -10px;
}

footer{
    max-width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding-left: 20px;
    background-color: #F5EFB6;
    box-shadow: 0 0 0 1px rgba(81, 81, 81, 0.15);
}

footer p{
    font-size: 12px;
    text-align: left;
}

footer p img{
    width: 62px;
    padding-left: 10px;
}

@media (min-width:600px){
    footer{
        padding-left: 80px;
    }
    footer p{
        font-size: 18px;
        text-align: left;
    }
    footer p img{
        width: 94px;
        padding-left: 10px;
    }
}

@media (min-width:900px){
    footer{
        max-width: 1080px;
        box-shadow: 0 0 0 1px rgba(81, 81, 81, 0.15);
    }
}


/*-----------------------------------------
    thanks.html - setting   
-----------------------------------------*/

#bg{
    position: fixed;
    top: 0;
    left: 0;
    background-color: #f5efb688;
    width: 100%;
    height: 100vh;
    display: none;
}

.content{
    max-width: 700px;
    height: 70%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 50px 16px 0;
    background-color: #fff;
    border-radius: 16px;
}

.content h2{
    margin: 100px auto 50px;
    text-align: center;
    font-size: 18px;
}

.content p{
    display: block;
    padding: 0 50px;
    margin-bottom: 100px;
}

.content p a{
    display: block;
    max-width: 400px;
    margin: 0 20px;
    background-color: #C4E5DE;
    color: #fff;
    text-align: center;
    line-height: 50px;
    border-radius: 16px;
}

@media (min-width:600px){
    .content{
        margin: auto;
    }
    .content h2{
        font-size: 24px;
    }
    .content p a{
        margin: auto;
    }
}