@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'SawarabiGothic';
    src: url(../font/SawarabiGothic/SawarabiGothic-Regular.ttf);
}

@font-face {
    font-family: 'ZenKakuGothicAntique';
    src: url(../font/ZenKakuGothicAntique/ZenKakuGothicAntique-Regular.ttf);
}

body {
    font-family: 'SawarabiGothic';
    font-size: 1.8vw;
    color: #4c4c4c;
}

.header-flex {
    display: flex;
}

/*header*/
header {
    position: absolute;
    position: fixed;
    width: 20%;
    z-index: 0;
}

header h1 {
    width: 100%;
    margin: 15% auto 0 3%;
}

header h1 img {
    width: 100%;
}

header nav {
    position: relative;
    margin-top: 40%;
    margin-left: 10%;
    margin-bottom: 10%;
}

header nav::before {
    position: absolute;
    content: "";
    border-right: 0.4vw solid #F17633;
    height: 21vw;
    left: -1vw;
    animation: withAnime 3s infinite;
}

@keyframes withAnime {
    0% {height: 0%;
    }
    100% {
        height: 100%;
    }
}

header nav ul li {
    list-style-type: none;
    line-height: 3.5;
}

header nav ul li a {
    display: block;
    color: #8c867b;
    text-decoration: none;
    transition: 0.5s;
}

header nav ul li a:hover {
    color: #F17633;
}

/*パンくず*/
header nav ul li:nth-child(6) {
    background-color: #8c857a2d;
}

/*お問い合わせbutton*/

.header-flex header + p {
    position: relative;
    position: fixed;
    right: 1.5%;
    font-size: 2vw;
    width: 10em;
    height: 6vw;
    text-align: center;
    letter-spacing: 0.1em;
    line-height: 2.9;
    background-color: #294C74;
    border-radius: 0 0 1.5vw 1.5vw; 
    z-index: 3000;   
}

.header-flex header + p a {
    display: block;
    color: white;
    text-decoration: none;
}

/*main*/
main {
    margin-left: 20%;
    padding-bottom: 10%;
    background: rgb(253,236,219);
    background: linear-gradient(265deg, rgba(253,236,219,1) 0%, rgba(254,245,236,0.6096813725490196) 48%, rgba(255,255,255,0) 100%);
}

main h2 {
    position: relative;
    color: #4c4c4c;
    font-size: 1.3vw;
    line-height: 2.0;
    font-weight: 100;
    margin-left: 3vw;
    padding-top: 10%;
}

main h2::before {
    content: "";
    display: block;
    width: 1.5vw;
    height: 2.0vw;
    top: 9vw;
    left: -3vw;
    border-top: 0.2vw solid #F17633;
    position: absolute;
}

/*main*/
main section p{
    width: 70%;
    margin: 5% auto;
    line-height: 2;
    letter-spacing: 0.1em;
}

/*form*/
main section form {
    width: 70%;
    border-radius: 1.5vw;
    padding: 3vw;
    margin: 0 auto 0 auto;
    line-height: 2.5;
    letter-spacing: 0.1em;
    background-color: white;
}

form .flex-box {
    display: flex;
    margin-top: 5%;
}

form .flex-box label {
    width: 20vw;
}

form div span {
    display: inline-block;
    width: 3vw;
    height: 2.2vw;
    font-size: 1.1vw;
    color: white;
    background-color: #F17633;
    border-radius: 0.5vw;
    text-align: center;
    line-height: 2;
    margin-top: 0.4vw;
    margin-left: 0.5vw;
}

form .flex-box input {
    width: 20vw;
}

form .flex-box input::placeholder {
    font-size: 1.5vw;
}

form .flex-box textarea {
    width: 30vw;
    height: 13vw;
}

form .flex-box textarea::placeholder {
    font-size: 1.5vw;
}

.message-box {
    margin-top: 5%;
}
.message-box label {
    width: 30vw;
}

.message-box input {
    display: inline-block;
    margin-left: 2vw;
}

.message-box input:nth-of-type(1){
    margin-left: 0vw;
}

.submit {
    display: block;
    padding: 0.5vw 4vw;
    margin: 0 auto;
    margin-top: 5vw ;
    letter-spacing: 0.3em;
    
}

/*footer*/
footer {
    background-color: #294C74;
}

.footer-flex {
    display: flex;
    width: 80%;
    margin: 0 auto;
}

.footer-flex div {
    width: 8%;
    margin-left: 20%;
    margin-top: 3%;
}

.footer-flex div img {
    width: 100%;
}

.footer-flex p {
    color: #F17633;
    font-size: 2.3vw;
    font-weight: bold;
    margin-left: 2%;
    margin-top: 3%;
}

footer div p span {
    font-size: 1.8vw;
    letter-spacing: 0.1em;
    line-height: 1.6;
}

.footer-box div:nth-of-type(2) {
    display: flex;
    width: 60%;
    margin: 0 auto;
}

.footer-box div:nth-of-type(2) ul {
    margin: 3% auto;

}

.footer-box div:nth-of-type(2) ul li {
    list-style: none;
    position: relative;
}
.footer-box div:nth-of-type(2) ul li::before{
    content: "";
    width: 0.8vw;
    height: 0.8vw;
    clip-path: polygon(0 0, 0 100%, 100% 50%);
    background-color: #F17633;
    bottom: 0.5vw;
    left: -1.5vw;
    position: absolute;
}

.footer-box div:nth-of-type(2) ul li a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.5vw;
}
.footer-box div:nth-of-type(2) ul li a:hover{
    color: #F17633;
}

/*コピーライト*/
footer div + p {
    color: white;
    text-align: center;
    line-height: 1.8;
    padding: 2% 0;
}




