@charset "UTF-8";

@import url(common.css);

* {
    margin: 0;
    padding: 0;
}

#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
}
#page-top a {
    display: block;
    width: 100px;
    height: 100px;
    line-height: 8;
    text-align: center;
    background: #666;
    text-decoration: none;
    color: #fff;
    border-radius: 50px;
}
#page-top a:hover {
    opacity: 0.5;
}

.header-box {
    width: 85%;
    height: 50vw;
    margin-left: auto;
    background-image: url(../images/header.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    font-size: 5vw;
    color:#fffaed;
}

.header-box p {
    margin-left: 8%;
}

.header-box p:nth-of-type(1) {
    padding-top: 10%;
}


/* ここからabout */
.about-box {
    background-color: #fffaed;
    width: 85%;
    margin-left: auto;
}

.about-textbox1 {
    display: flex;
    align-items: baseline;
}

.about-textbox1 h2 {
    font-size: 3vw;
    margin-right: 1em;
}

.about-textbox1 p {
    font-size: 1.5vw;
}

.about-flexbox {
    display: flex;
    flex-wrap: wrap;
    margin-left: 10%;
}

.about-flexbox img {
    padding: 4%;
    width: 300px;
    height: 300px;
}

.about-textbox2 {
    padding: 2% 4%;
    width:380px;
}

.about-textbox2 p:nth-of-type(1) {
    font-size: 2.7vw;
    font-weight: 100px;
}

.about-textbox2 p:nth-of-type(2) {
    margin-bottom: 5%;
    font-size: 2vw;
}

.about-textbox2 p:nth-of-type(3),.about-textbox2 p:nth-of-type(4) {
    font-size: 1.5vw;
    line-height: 1.8;
}
/* ここまで */

/* ここからWorks */


.works-box {
    background-color: #fffaed;
    width: 85%;
    margin-left: auto;
}

.works-textbox1 {
    display: flex;
    align-items: baseline;
}

.works-textbox1 h2 {
    font-size: 3vw;
    margin-right: 1em;
}

.works-textbox1 p {
    font-size: 1.5vw;
}

.works-flexbox {
    display: flex;
    flex-wrap: wrap;
    margin-left: 10%;
}

.works-flexbox a {
    display: block;
    text-decoration: none
}

.works-flexbox .box {
    padding: 2%;
}

.box:hover {
    transform: scale(1,1);
    transition: 0.8s;
}

.box  {
    transform: scale(0.9,0.9);
    transition: 1s;
}


.works-imgtextbox {
    margin-top: 3%;
}
.works-imgtextbox p:nth-of-type(1) {
    font-size: 1.5vw;
    font-weight: bolder;
}



/* ここから作品 */

/* 父の日 */
/* 画像のぼかし */
.works-imgbox {
    position: relative;
    width: 450px;
    height: 350px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.works-imgbox::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: url("../images/banner.png");
    background-size: cover;
    background-position: center;
    filter: blur(15px);
}

/* 元画像はぼかさない */
.works-imgbox img {
    position: relative;
    z-index: 1;
    width: 70%;
    height: auto;
    display: block;
}

/* クリスマス */
.works-imgbox2 {
    position: relative;
    width: 450px;
    height: 350px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.works-imgbox2::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: url("../images/banner2.png");
    background-size: cover;
    background-position: center;
    filter: blur(15px);
}

.works-imgbox2 img {
    position: relative;
    z-index: 1;
    width: 70%;
    height: auto;
    display: block;
}

/* ジム */
.works-imgbox3 {
    position: relative;
    width: 450px;
    height: 350px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.works-imgbox3::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: url("../images/banner3.jpg");
    background-size: cover;
    background-position: center;

    filter: blur(15px);
}

.works-imgbox3 img {
    position: relative;
    z-index: 1;
    width: 70%;
    height: auto;
    display: block;
}


/* ワセリン */
.works-imgbox4 {
    position: relative;
    width: 450px;
    height: 350px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.works-imgbox4::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: url("../images/banner4.jpg");
    background-size: cover;
    background-position: center;

    filter: blur(15px);
}

.works-imgbox4 img {
    position: relative;
    z-index: 1;
    width: 70%;
    height: auto;
    display: block;
}


/* ランクル */
.works-imgbox5 {
    position: relative;
    width: 450px;
    height: 350px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.works-imgbox5::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: url("../images/banner5.jpg");
    background-size: cover;
    background-position: center;

    filter: blur(15px);
}

.works-imgbox5 img {
    position: relative;
    z-index: 1;
    width: 70%;
    height: auto;
    display: block;
}


/* 宿 */
.works-imgbox6 {
    position: relative;
    width: 450px;
    height: 350px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.works-imgbox6::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: url("../images/web2-2.png");
    background-size: cover;
    background-position: center;
    filter: blur(15px);
}

.works-imgbox6 img {
    position: relative;
    z-index: 1;
    width: 70%;
    height: auto;
    display: block;
}


/* カフェ */
.works-imgbox7 {
    position: relative;
    width: 450px;
    height: 350px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.works-imgbox7::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: url("../images/web1-1.png");
    background-size: cover;
    background-position: center;
    filter: blur(15px);
}

.works-imgbox7 img {
    position: relative;
    z-index: 1;
    width: 70%;
    height: auto;
    display: block;
}

/* ↓ここからContact */
.contact-box {
    background-color: #fffaed;
    width: 85%;
    margin-left: auto;
    padding-bottom: 5%;
}

.contact-textbox1 {
    display: flex;
    align-items: baseline;
}

.contact-textbox1 h2 {
    font-size: 3vw;
    margin-right: 1em;
}

.contact-textbox1 p {
    font-size: 1.5vw;
}


form {
    width: 70%;
    margin-top: 5%;
    margin-left: 10%;
    font-size: 1.4vw;
}

.form-flex {
    display: flex;
    margin-bottom: 4%;
}

.label-item {
    width: 40%;
}

label span {
    margin-right: 1em;
    color: #ff0000;
}

.input-item {
    width: 60%;
}

.input-item input {
    width: 97%;
    padding: 0.3em;
}

.form-flex ul {
    display: flex;
    list-style-type: none;
}

.form-flex ul li {
    margin-right: 1em;
}

select {
    padding: 0.3em;
}

.message-item {
    width: 60%;
}

textarea {
    width: 97%;
    height: 8em;
    padding: 0.3em;
}

.submit-item {
    width: 17%;
    margin-left: auto;
    margin-right: auto;
}

.submit-item input {
    width: 100%;
    padding-top: 0.7em;
    padding-bottom: 0.7em;
}
/* ↑ここまで */