@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

body {
    text-align: center;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
}

header {
    background-color: #800000;
    padding-top: 20px;
}

header div {
    width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    position: relative;
}

header div h1 {
    font-weight: 700;
    font-size: 80px;
    color:#ffffff;
    letter-spacing: .5rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

header div h1 p {
    font-size: 25px;
}

header div p a:nth-of-type(1) {
    color: #ffffff;
    font-size: 39px;
    line-height: 1.8em;
}

header div p a:nth-of-type(2) {
    color: #ffffff;
    font-size: 23px;
}

header div p a:nth-of-type(1)::after {
    content: "";
    position: absolute;
    top: 25%;
    left: 74%;
    width: 40px;
    height: 40px;
    background: url(../images/phone.svg) no-repeat;
}

header div p a:nth-of-type(2)::after {
    content: "";
    position: absolute;
    top: 65%;
    left: 74.5%;
    width: 30px;
    height: 30px;
    background: url(../images/mail.svg) no-repeat;
}

header nav {
    border-top: 1px #ffffff solid;
    
}

header nav ul {
    width: 50%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0 auto;
}

header nav ul li {
    width: 250px;
    padding: 10px 20px;
}

header nav ul li:hover {
    background-color: #ffffff;
}

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

header nav ul li a {
    font-size: 25px;
    text-transform: capitalize;
    color: #ffffff;
}

main section {
    width: 1200px;
    margin:0 auto 80px;
}

main #hero {
    display: flex;
    justify-content: space-evenly;
    margin: 30px auto 80px;
    padding: 50px 0;
    border: 10px #314366 dashed;
}

main #hero .left p {
    font-size: 40px;
    padding: 20px 0;
}

main #hero .left p:nth-of-type(2) span,
main #hero .left p:nth-of-type(3) span {
    font-size: 50px;
    color: #a21051;
}

main #hero .right {
    height: 300px;
    width: 300px;
    border: 15px #a21051 solid;
    border-radius: 50%;
    padding: 40px 0;
}

main #hero .right p {
    font-size: 40px;
}

/* main .sns {
    height: 80px;
    background-color: #121212;
    display: flex;
    justify-content: center;
    align-items: center;
}

main .sns a img {
    width: 35px;
    height: 35px;
} */

main h2 {
    font-size: 50px;
    color: #333333;
    margin: 20px 0 30px;
    font-weight: 600;
}

main #about p {
    width: 1200px;
    font-size: 25px;
    color: #333333;
    font-weight: 600;
    padding: 40px;
    line-height: 2em;
    letter-spacing: .1em;
    margin: 0 auto;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.8);
    border: 15px #800000 solid;
    filter: drop-shadow(15px 15px 10px rgba(0, 0, 0, 0.6));
}

main #price table {
    width: 900px;
    border: 2px #333333 solid;
    margin: 0 auto;
}

main #price table thead tr th,
main #price table tbody tr td {
    width: 450px;
    text-align: center;
    border: 2px #333333 solid;
    padding: 20px;
}

main #price table thead tr th {
    font-size: 30px;
    background-color: rgba(128, 0, 0, 0.8);
    color: #ffffff;
}

main #price table tbody tr td {
    font-size: 20px;
    vertical-align: middle;
}

main #price p:nth-of-type(1) {
    width: 900px;
    font-size: 14px;
    text-align: right;
    margin: 0 auto;
}

main #price p span {
    font-size: 16px;
    font-weight: 700;
    color: #cc0000;
}

main #price p:nth-of-type(2) {
    display: inline-block;
    font-size: 24px;
    text-decoration: 2px underline #a21051;
    text-underline-offset: 3px;
    margin: 20px auto;
}

main #contact {
    width: 1200px;
    margin: 0 auto 80px;
}

main #contact form {
    width: 600px;
    margin: 0 auto;
}

main #contact form p {
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
}

main #contact form label span {
    font-size: 14px;
    font-weight: 700;
    color: #cc0000;
    margin-left: 5px;
}

main #contact form input[type="text"],
main #contact form input[type="email"],
textarea {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    width: 100%;
    margin: 5px 0 20px 0;
    padding: 4px 8px;
    text-align: left;
}

main #contact form textarea {
    height: 200px;
    margin-bottom: 60px;
}

main #contact form input[type="submit"] {
    background-color: #800000;
    color: #ffffff;
    padding: 18px 50px;
    border: 5px double #ffffff;
    text-transform: capitalize;
}

main #contact form input[type="submit"]:hover {
    background-color: rgba(128, 0, 0, 0.8);
}

main #company dl {
    width: 700px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto;
    text-align: left;
    padding-left: 150px;
}

main #company dl dt {
    width: 50%;
    font-size: 30px;
    margin: 20px 0;
}

main #company dl dd {
    width: 50%;
    font-size: 20px;
    margin: 20px 0;
}

.pageTop {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 20px;
    border-radius: 50%;
    background-color: #800000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    transform: translateY(100px);
}

.pageTop::before {
    content: "";
    height: 25px;
    width: 25px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: translateY(25%) rotate(-45deg);
}

.pageTop.upMove{
    animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pageTop.downMove{
    animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 1;
        transform: translateY(100px);
    }
}

footer {
    height: 40px;
    background-color: #800000;
}

footer p {
    color: #ffffff;
    line-height: 38px;
    font-size: 20px;
}

/* confirmここから */
main .confirm {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-flow: column;
}

main .confirm p {
    font-size: 20px;
    margin-bottom: 20px;
}

main .confirm table {
    display: inline-block;
    width: 400px;
    border: 1px #bbbbbb solid;
    background-color: #ffffff;
    padding: 10px;
    margin-bottom: 20px;
}

main .confirm table tbody tr:nth-of-type(1),
main .confirm table tbody tr:nth-of-type(2) {
    height: 30px;
}

main .confirm table tbody tr:nth-of-type(3) {
    height: 200px;
}

main .confirm table tbody tr th {
    width: 150px;
    text-align: right;
    padding-right: 30px;
    text-transform: capitalize;
}

main .confirm table tbody tr td {
    width: 200px;
    word-break: break-word;
}

main .confirm form input[type="submit"] {
    width: 100px;
    height: 50px;
    text-align: center;
    font-size: 16px;
    background: #800000;
    color: #ffffff;
    border: 5px double #ffffff;
    text-transform: capitalize;
}

main .confirm form input[type="submit"]:hover {
    background-color: rgba(128, 0, 0, 0.8);
}

main .confirm form button {
    width: 100px;
    height: 50px;
    text-align: center;
    font-size: 16px;
    background: #121212;
    color: #ffffff;
    border: 5px double #ffffff;
    text-transform: capitalize;
}

main .confirm form button:hover {
    background-color: rgba(18, 18, 18, 0.8);
}
/* confirmここまで */

/* completeここから */
main .complete p {
    font-size: 24px;
    text-align: center;
    margin: 150px auto;
    text-transform: uppercase;
}

main .complete a {
    color: #121212;
    border-bottom: 2px #800000 solid;
}
/* completeここまで */

    @media screen and (max-width:1180px) {
        
        header div {
            width: 960px;
        }

        header div p a:nth-of-type(1)::after {
            top: 27%;
            left: 69%;
        }
        
        header div p a:nth-of-type(2)::after {
            top: 67%;
            left: 69.5%;
        }

        main section {
            width: 960px;
        }

        main #hero .left p {
            font-size: 34px;
            padding: 15px 0;
        }

        main #hero .left p:nth-of-type(2) span,
        main #hero .left p:nth-of-type(3) span {
        font-size: 44px;
        }

        main #hero .right {
            height: 250px;
            width: 250px;
            padding: 30px 0;
        }
        
        main #hero .right p {
            font-size: 34px;
        }

        main #about p {
            width: 960px;
            font-size: 23px;
            line-height: 1.5em;
        }

        main #contact {
            width: 960px;
        }
    }

        @media screen and (max-width:430px) {

            header div {
                width: 370px;
                display: block;
                padding-bottom: 20px;
            }

            header div h1 {
                font-size: 40px;
            }
            
            header div h1 p {
                font-size: 20px;
                letter-spacing: .1em;
            }

            header div>p {
                margin-left: 10px;
            }
            
            header div p a:nth-of-type(1) {
                font-size: 30px;
                line-height: 1.5em;
            }
            
            header div p a:nth-of-type(2) {
                font-size: 18px;
            }
            
            header div p a:nth-of-type(1)::after {
                top: 55%;
                left: 15%;
                width: 30px;
                height: 30px;
            }
            
            header div p a:nth-of-type(2)::after {
                top: 78%;
                left: 16.5%;
                width: 20px;
                height: 20px;
            }

            /* バーガーナビここから */
            header nav {
                position: fixed;
                top: 0;
                z-index: 10;
                border: 0;
            }

            header nav ul {
                width: 100%;
                position: fixed;
                z-index: 10;
                display: block;
                height: 0;
                overflow: hidden;
                transition: .3s;
                background-color: #800000;
            }

            header nav ul li{
                width: 100vw;
                padding: 0;
            }

            header nav ul li:hover {
                background-color: #800000;
            }

            header nav ul li a {
                height: 50px;
                padding: 35px 0;
                font-size: 24px;
                color: #ffffff;
                display: block;
            }

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

            .burger {
                position: fixed;
                top: 20px;
                right: 20px;
                cursor: pointer;
                width: 40px;
                height: 40px;
                border-radius: 5px;
                z-index: 20;
                background-color: #ffffff;
            }

            .burger span {
                /*3本の線を作る*/
                transition: all .4s;
                position: absolute;
                left: 8px;
                height: 3px;
                border-radius: 2px;
                background-color: #800000;
                width: 60%;
            }

            .burger span:nth-of-type(1) {
                /*上の線の位置*/
                top: 9px;
            }

            .burger span:nth-of-type(2) {
                /*真ん中の線の位置*/
                top: 19px;
            }

            .burger span:nth-of-type(3) {
                /*下の線の位置*/
                top: 29px;
            }

            .burger.open span:nth-of-type(1) {
                /*openのとき、上の線を右斜めにする*/
                top: 13px;
                left: 8px;
                transform: translateY(6px) rotate(-45deg);
                width: 55%;
                background-color: #800000;
            }

            .burger.open span:nth-of-type(2) {
                /*真ん中の線を消す*/
                opacity: 0;
            }

            .burger.open span:nth-of-type(3) {
                /*下の線を左斜めにする*/
                top: 25px;
                left: 8px;
                transform: translateY(-6px) rotate(45deg);
                width: 55%;
                background-color: #800000;
            }
            /* バーガーナビここまで */

            main section {
                width: 370px;
                margin:0 auto 40px;
            }
            
            main #hero {
                display: block;
                margin: 30px auto 80px;
                padding: 50px 10px;
            }
            
            main #hero .left p {
                font-size: 18px;
                padding: 10px 0;
            }
            
            main #hero .left p:nth-of-type(2) span,
            main #hero .left p:nth-of-type(3) span {
                font-size: 28px;
                color: #a21051;
            }
            
            main #hero .right {
                height: 200px;
                width: 200px;
                padding: 30px 0;
                margin: 0 auto;
            }
            
            main #hero .right p {
                font-size: 24px;
            }

            main h2 {
                font-size: 40px;
            }
            
            main #about p {
                width: 370px;
                font-size: 20px;
                padding: 20px;
                line-height: 1.5em;
                text-align: center;
            }

            main #price table {
                width: 370px;
            }
            
            main #price table thead tr th {
                font-size: 20px;
            }
            
            main #price table tbody tr td {
                font-size: 16px;
            }

            main #price p:nth-of-type(1) {
                width: 370px;
                text-align: center;
            }
            
            main #price p:nth-of-type(2) {
                font-size: 18px;
                text-align: left;
            }

            main #contact {
                width: 370px;
            }
            
            main #contact form {
                width: 370px;
            }
            
            main #contact form p {
                font-size: 18px;
                text-align: left;
            }

            main #contact form textarea {
                margin-bottom: 20px;
            }

            main #company dl {
                width: 370px;
                padding-left: 40px;
            }
            
            main #company dl dt {
                width: 50%;
                font-size: 20px;
            }
            
            main #company dl dd {
                width: 50%;
                font-size: 14px;
            }

            .pageTop {
                width: 50px;
                height: 50px;
            }

            .pageTop::before {
                height: 20px;
                width: 20px;
            }
        }