@charset "UTF-8";

html {
    width: 100%;
    margin: 0 auto;
    font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体";
    animation: loading 1s;
    scroll-behavior: smooth;
}

@keyframes loading {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

body {
    width: 100%;
}

header {
    width: 100%;
    position: relative;
}

header p img {
    width: 100%;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

.fix {
    position: fixed;
    display: flex;
    top: 0px;
    width: 100%;
    background-color: rgb(255, 255, 255, 0.5);
    padding: 20px 50px;
    justify-content: space-between;
    align-items: center;
    z-index: 5000;
}

.fix img {
    width: 100%;
}

.nav {
    padding: 10px 0px;
    text-align: right;
}

.nav a {
    font-size: 24px;
    margin: 0px 20px;
    font-weight: bold;
    transition: 0.5s;
    position: relative;
    display: inline-block;
    text-decoration: none;

}

.nav a:hover {
    color: #ff7300;
}

.nav a::after {
    position: absolute;
    bottom: -3px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #ff7300;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}

.nav a:hover::after {
    transform: scale(1, 1);
}

.maincon {
    background-image: url(../img/bg.png);
    background-size: 100%;
    padding: 100px 0px;
    width: 100%;
}

.con {
    text-align: center;
    padding: 20px 0px;
    background-image: url(../img/title_1.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.con h1 {
    font-size: 50px;
    font-weight: bold;
}

.main {
    display: flex;
    justify-content: space-around;
    padding: 100px 0px;
}

.main p {
    text-align: center;
    font-size: 25px;
    padding-top: 20px;
    font-weight: bold
}

#work {
    max-width: 1024px;
    margin: 0 auto;
}

.work_1 {
    display: flex;
    margin-bottom: 50px;
}

.work_h1w {
    font-size: 30px;
    border-bottom: 2px white solid;
    font-weight: bold;
}

.work_h1b {
    font-size: 30px;
    border-bottom: 2px rgb(0, 0, 0) solid;
    font-weight: bold;
}

.work_p {
    font-size: 17px;
    padding-top: 30px;
    line-height: 2;
}

.work_1_1 {
    width: 55%;
    background-color: #ff7300;
    color: white;
    padding: 50px 30px;
}

.work_1_2 {
    width: 45%;
}

.work_1_2 p {
    text-align: center;
}

.work_1_2 p img {
    width: 80%;
}

.work_2 {
    display: flex;
    margin-bottom: 50px;
}

.work_2_1 {
    width: 45%;
}

.work_2_2 {
    width: 55%;
    background-color: #ffa55c;
    color: rgb(0, 0, 0);
    padding: 50px 30px;
}

.work_2_1 p {
    text-align: center;
}

.work_2_1 p img {
    width: 80%;
}

.work_3 {
    display: flex;
    margin-bottom: 50px;
}

.work_3_1 {
    width: 55%;
    background-color: #ff7300;
    color: white;
    padding: 50px 30px;
}

.work_3_2 {
    width: 45%;
}

.work_3_2 p {
    text-align: center;
}

.work_3_2 p img {
    width: 80%;
}

#contact {
    text-align: center;
    max-width: 1024px;
    margin: 0 auto;
}

#contact p {
    font-size: 24px;
    font-weight: 500;
    padding-bottom: 50px;
    line-height: 1.5;
}

.con_2 {
    background-image: url(../img/title_5.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

.con_2 h1 {
    font-size: 50px;
    padding: 30px 0px;
    font-weight: bold;
}

#contact p img {
    width: 15%;
    padding: 40px 0px;
}

.contact_item {
    display: flex;
    width: 100%;
    align-items: center
}

.contact_item-text {
    width: 45%;
}

.ggmp {
    width: 55%;
}

footer {
    padding: 30px 0px 100px 0px;
    background-color: #ff7300;
}

footer p {
    text-align: center;
    color: white;
    font-size: 20px;
}

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

    .nav a {
        font-size: 20px;
    }

    .contact_item {
        display: flex;
        width: 100%;
        align-items: center;
        flex-direction: column;
    }

    .contact_item-text {
        width: 100%;
    }

    .ggmp {
        width: 100%;
    }
}

@media screen and (max-width: 540px) {
    /*スマホ*/

    html {
        max-width: 540px;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    header p img {
        width: 100%;
    }

    .nav {
        display: none;
    }

    .fix {
        position: fixed;
        display: block;
        float: left;
        top: 0px;
        width: 100%;
        height: 80px;
        background-color: #ffffff;
        padding: 15px 0px;
        z-index: 1000000;
    }

    .navtext-container img {
        width: 90%;
    }

    .menu {
        list-style: none;
        position: absolute;
        width: 100%;
        height: auto;
        top: 0;
        margin-top: 80px;
        clear: both;
        background-color: #ffffff;
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
        transform: scale(1, 0);
        transform-origin: top;
    }

    /* Hamburger menu button */
    .menu-btn:checked~.menu {
        transform: scale(1, 1);
        transform-origin: top;
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    }

    /* Hamburger menbu text */
    .menu a {
        text-decoration: none;
        font-weight: bold;
        letter-spacing: 2px;
        font-size: 16px;
        text-transform: capitalize;
        color: rgb(0, 0, 0);
        opacity: 0;
        transition: 0.5s;
    }

    .menu li {
        border-bottom: 2px solid rgb(0, 0, 0);
        padding: 15px 40px;
        opacity: 0;
        transition: 0.5s;
    }

    .menu-btn:checked~.menu a,
    .menu-btn:checked~.menu li {
        opacity: 1;
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
    }

    .menu-btn {
        display: none;
    }

    .menu-icon {
        display: inline-block;
        position: relative;
        cursor: pointer;
        padding: 24px 14px;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }

    .navicon {
        background: rgb(0, 0, 0);
        display: block;
        height: 3px;
        width: 26px;
        position: relative;
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    }

    .navicon:before,
    .navicon:after {
        content: "";
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        background: rgb(0, 0, 0);
        transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    }

    .navicon:before {
        top: 9px;
    }

    .navicon:after {
        bottom: 9px;
    }

    /* Hamburger Menu Animation Start */
    .menu-btn:checked~.menu-icon .navicon:before {
        transform: rotate(-45deg);
    }

    .menu-btn:checked~.menu-icon .navicon:after {
        transform: rotate(45deg);
    }

    .menu-btn:checked~.menu-icon:not(.steps) .navicon:before {
        top: 0;
    }

    .menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
        bottom: 0;
    }

    .menu-btn:checked~.menu-icon .navicon {
        background: rgba(0, 0, 0, 0);
        transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    }

    /* Hamburger Menu Animation End */

    /* Navbar Container */
    .navtext-container {
        width: 100%;
        height: 52px;
        position: absolute;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Navbar Text */
    .navtext {
        position: absolute;
        text-transform: uppercase;
        color: rgb(0, 0, 0);
        letter-spacing: 4px;
        font-size: 20px;
    }

    .maincon {
        background-image: url(../img/bg_sp.png);
        background-size: 100%;
        background-repeat: no-repeat;
        padding: 30px 0px;
    }

    .con {
        text-align: center;
        padding: 20px 0px;
        background-image: none;
        background-repeat: no-repeat;
    }

    .con h1 {
        font-size: 35px;
        font-weight: bold;
    }

    .main {
        display: flex;
        justify-content: space-around;
        padding: 20px 0px;
        flex-direction: column;
        align-items: center;
    }

    .main p {
        text-align: center;
        font-size: 25px;
        padding-top: 20px;
        font-weight: bold;
        padding-bottom: 20px
    }

    #work {
        background-image: url(../img/title_1_sp.png);
        background-size: 20%;
        background-repeat: no-repeat;
        padding-top: 50px;
    }

    .work_1 {
        display: flex;
        margin-bottom: 30px;
        flex-direction: column;
        align-items: center;
    }

    .work_h1w {
        font-size: 25px;
        border-bottom: 2px white solid;
        font-weight: bold;
    }

    .work_h1b {
        font-size: 25px;
        border-bottom: 2px rgb(0, 0, 0) solid;
        font-weight: bold;
    }

    .work_p {
        font-size: 14px;
        padding-top: 15px;
        line-height: 2;
        font-weight: 500;
    }

    .work_1_1 {
        width: 100%;
        background-color: #ff7300;
        color: white;
        padding: 30px 20px;
    }

    .work_1_2 {
        width: 90%;
    }

    .work_1_2 p {
        text-align: center;
        padding-top: 30px;
    }

    .work_1_2 p img {
        width: 85%;
    }

    .work_2 {
        display: flex;
        margin-bottom: 30px;
        flex-direction: column-reverse;
        align-items: center;
    }

    .work_2_1 {
        width: 85%;
    }

    .work_2_2 {
        width: 100%;
        background-color: #ffa55c;
        color: rgb(0, 0, 0);
        padding: 30px 20px;
    }

    .work_2_1 p {
        text-align: center;
        padding-top: 30px;
    }

    .work_2_1 p img {
        width: 85%;
    }

    .work_3 {
        display: flex;
        margin-bottom: 30px;
        flex-direction: column;
        align-items: center;
    }

    .work_3_1 {
        width: 100%;
        background-color: #ff7300;
        color: white;
        padding: 30px 20px;
    }

    .work_3_2 {
        width: 85%;
    }

    .work_3_2 p {
        text-align: center;
        padding-top: 30px;
    }

    .work_3_2 p img {
        width: 80%;
    }

    #contact {
        text-align: center;
        background-image: url(../img/title_5_sp.png);
        background-size: 20%;
        background-repeat: no-repeat;
        background-position: right top;
        padding-top: 50px;
    }
    
    #contact p {
        font-size: 17px;
        font-weight: 500;
        line-height: 1.5;
        padding-bottom: 30px;
    }
    
    .con_2 {
        background-image: none;
        background-repeat: no-repeat;
        background-position: right;
    }
    
    .con_2 h1 {
        font-size: 35px;
        padding: 50px 0px 30px 0px;
        font-weight: bold;
    }
    
    #contact p img {
        width: 15%;
        padding: 20px 0px;
    }

    .ggmp iframe {
        width: 90%;
    }

    footer {
        padding: 30px 0px 100px 0px;
        background-color: #ff7300;
    }

    footer p {
        text-align: center;
        color: white;
        font-size: 15px;
    }

}

/* お問い合わせ 確認 完了ページ共通 */
.concommon-wrap {
    text-align: center;
    max-width: 1024px;
    margin-inline: auto;
    margin-top: 150px;
   margin-bottom: 150px;
}

.concommon_title {
    padding: 30px 0px;
    font-weight: bold;
}

.concommon_logo {
    width: 15%;
    padding: 40px 0px;
}

.form_bt {
    color: #ffffff;
    border: #07d 1px solid;
    background-color: #07d;
    border-radius: 3px;
    padding: 10px;
    margin-inline: auto;
    transition: .3s;
}

.form_bt:hover {
    color: #07d;
    background-color: #ffffff;
}

.form_bt_wh {
    color: #07d;
    border: #07d 1px solid;
    background-color: #ffffff;
    transition: .3s;
}

.form_bt_wh:hover {
    color: #ffffff;
    background-color: #07d;
}

.sp_br {
    display: none;
}

@media screen and (max-width:599px) {
    .sp_br {
        display: block;
    }
}

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

    /* スマホ */
    .concommon-wrap {
        text-align: center;
        margin-top: 80px;
        padding: 0 5px;
    }

    .concommon_title {
        padding: 50px 0px 30px 0px;
        line-height: 1.5;
    }

    .concommon_logo {
        width: 15%;
        padding: 20px 0px;
    }
}

/* お問い合わせページ */
.contact {
    background-image: url(../img/title_2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}

.contact_title {
    font-size: 50px;
}

.form-wrap {
    max-width: 800px;
    width: 90%;
    margin-inline: auto;
    margin-bottom: 150px;
}

.form_block {
    margin-bottom: 40px;
    text-align: left;
}

.form_block input,
.form_block textarea {
    border: 1px solid #a0a0a0;
    border-radius: 3px;
    width: 100%;
    padding: 5px;
    margin-top: 5px;
}

@media screen and (max-width:540px) {
    .contact-wrap {
        background-image: url(../img/title_2_sp.png);
        background-size: 20%;
        background-repeat: no-repeat;
        background-position: right top;
    }

    .contact {
        background-image: none;
        background-repeat: no-repeat;
        background-position: right;
    }

    .contact_title {
        font-size: 35px;
    }

    .form-wrap {
        width: 100%;
        padding: 0 10px;
    }
}

/* お問い合わせ 確認ページ */
.confirm {
    background-image: url(../img/title_3.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}

.confirm_title {
    font-size: 40px;
    margin-bottom: 70px;
}

.confirm_block-wrap {
    max-width: 800px;
    width: 90%;
    margin-inline: auto;
}

.confirm_block {
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding: 30px 40px;
    border-bottom: 1px solid #a0a0a0;
    text-align: left;
}

.confirm_block:first-of-type {
    border-top: 1px solid #a0a0a0;
}

.confirm_bt-wrap {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 80px;
}

@media screen and (max-width:768px) {
    .confirm_title {
        font-size: 28px;
    }
}

@media screen and (max-width:540px) {
    .confirm-wrap {
        background-image: url(../img/title_3_sp.png);
        background-size: 20%;
        background-repeat: no-repeat;
        background-position: right top;
    }

    .confirm {
        background-image: none;
        background-repeat: no-repeat;
        background-position: right;
    }

    .confirm_title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .confirm_block-wrap {
        width: 100%;
        padding: 0 10px;
    }

    .confirm_block {
        padding: 30px 20px;
    }

        .confirm_bt-wrap{
            gap: 20px;
        }
}

/* お問い合わせ 完了ページ */
.completion-wrap{
    margin-top: 220px;
}
.completion {
    background-image: url(../img/title_4.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}

.completion_title {
    font-size: 40px;
    margin-bottom: 70px;
}

.completion_text {
    line-height: 1.6;
    font-size: 18px;
    margin-bottom: 100px;
}

@media screen and (max-width:999px) {
    .completion_title {
        font-size: 24px;
    }
        .completion_text{
            font-size: 16px;
        }
}

@media screen and (max-width:540px) {
    .completion-wrap {
        background-image: url(../img/title_4_sp.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: right top;
    }

    .completion {
        background-image: none;
        background-repeat: no-repeat;
        background-position: right;
    }

    .completion_title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .completion_text {
        font-size: 14px;
    }
}