@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    /*outline: 1px solid blue;*/
}

html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    line-height: 1.7;
    font-family: "Zen Kaku Gothic New", serif;
    font-weight: 400;
    font-style: normal;
    color: #0F0F0F;
    background-color: #fcfcfa;
}

/*imgが親要素の幅！縦横比を保って高さが決まる*/
img {
    max-width: 100%;
    height: auto;
}

/*リンク文字色とホバー*/
a:link {
    color: #0F0F0F;
}

a:visited {
    color: #0F0F0F;
    text-decoration: none;
}

a:hover {
    color: #C1643C;
    text-decoration: none;
    transition: 0.5s all;
}

/*ここからbodyの内容*/

/*パンくずリスト*/
.breadcrumb li {
    display: inline-block;
    font-weight: bold;
    padding: 5px;
}

/* >を表示*/
.breadcrumb li:after {
    content: url(images/icon右.png);
    vertical-align: middle;
  
}

.breadcrumb li:last-child:after {
    content: '';
}
.breadcrumb li:first-child a:before {
    content: url(images/icon家.png);
    vertical-align: middle;

}
.breadcrumb li a {
    text-decoration: none;
}

.breadcrumb  {
    background-color: #F1E9DC;
    padding: 10px 0 10px 20px;
}
.tomo{
    text-align: center;
    background-color: #F3CD7A;
    padding:  10px;
}
.tomo img {
    width: 30vh;
    height: auto;
}




/*メイン画像*/
.mainpic {
    width: 30%;
    margin: 100px auto;
}

.warap {
    display: flex;
    padding: 0 7vw;
}

/*クライアント*/
.warap .name {
    width: 25%;
}

h1 {
    font-size: 2.7rem;
    font-weight: bold;
}

.name p {
    font-size: 2.3rem;
}

/*ご依頼*/
.service {
    padding-top: 100px;
    width: 75%;
}


.service .about {
    margin-bottom: 60px;
    padding: 10px 10px 25px 20px;
    border: solid 3px #FFAAAA;
}

.about p {
    margin-top: 10px;
}

.about2 p {
    padding-top: 30px;
}

.about2 .abouttext {
    display: none;
}

h2 {
    font-size: 2rem;
}

.service .fammsp img {
    max-height: 500px;
}

.service .fammsp {
    text-align: center;
}

.home {
    font-size: 2rem;
    margin-top: 50px;
    padding: 30px 7vw;
    background-color: #F3CD7A;
}

/*ブラウザ幅が959px以下のとき*/

@media (max-width:959px) {
    .mainpic {
        width: 50%;
    }
     .tomo img {
        width: 25vh;
        height: auto;
    }

}

/*PD*/

/*ブラウザ幅が559px以下のとき*/

@media (max-width:559px) {
    .mainpic {
        width: 65%;
    }

    .warap {
        display: block;
    }

    .warap .name {
        padding-left: 20px;
    }

    .service {
        width: 90%;
        margin: 0 auto;
        padding-top: 70px;
    }

    h1 {
        font-size: 2.2rem;
    }

    .about2 .abouttext {
        display: block;

    }

    .name p {
        font-size: 2rem;
    }

}

/*SH*/