@charset "UTF-8";

/* header */
#l-header {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-bottom: 3px solid #81D058;
}
.p-header__logo {
    margin-left: 50px;
    margin-top: 20px;
}
.p-header__home {
    position: relative;
    margin-right: 40px;
    font-size: 0.875rem;
}
.p-header__home a {
    color: #333;
}
.p-header__home svg {
    position: absolute;
    top: -2px;
    left: -30px;
}

/* 共通CSS */
html {
    font-size: 100%;
    font-family:   "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #333;
}
a {
    text-decoration: none;
    color: #333;
}
li {
    list-style: none;
}
img {
    vertical-align: bottom;
}
#p-form {
    max-width: 1000px;
    margin: 0 auto;
}
fieldset {
    border: none;
    padding: 0;
}
.err{
    width: 100%;
    font-size: 0.875rem;
    color: red;
    text-align: left;
}
.c-text {
    font-size: 1rem;
    display: block;
    position: relative;
    margin-bottom: 10px;
}
.c-input {
    box-sizing: border-box;
    height: 70px;
    border: 1px solid #333;
    border-radius: 5px;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}
.c-select {
    box-sizing: border-box;
    border: 1px solid #333;
    border-radius: 5px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url(../img/select-button.png);
    background-position: right 25px center;
    background-repeat: no-repeat;
    background-size: 20px 15px;
    padding-left: 10px;
    padding-right: 10px;
}
option {
    padding-left: 20px;
}
.c-title {
    height: 35px;
    margin: 50px auto 30px auto;
    background: #E5F8DC;
    font-size: 1.125rem;
    color: #4AA61B;
    padding-top: 15px;
    padding-left: 20px;
    font-weight: bold;
}

/* 最小パーツ */
.u-min {
    font-size: 0.875rem;
}
.u-req {
    position: absolute;
    top: -7px;
    left: -52px;
    font-size: 0.875rem;
    color: #fff;
    background: red;
    padding: 5px;
}
.u-reqText {
    margin-left: 52px;
}
.u-unit {
    margin-left: 20px;
    padding-top: 15px;
}
.-sp {
    display: none;
}
/* メインタイトル */
.p-main__title {
    width: 100%;
    height: 100px;
    background: #E5F8DC;
    margin-top: 103px;
    text-align: center;
}
.p-main__title h2 {
    padding-top: 35px;
    font-size: 1.875rem;
    color: #4AA61B;
    font-weight: normal;
}

/* 顧客情報 */
.p-form__client {
    padding: 65px 50px;
}
.p-form__client fieldset {
    margin-top: 30px;
}
.p-form__client  .c-input{
    display: block;
}
.p-form__client  .c-input::-webkit-outer-spin-button,
.p-form__client  .c-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* 部材購入 */
.p-form__element {
    outline: 1px solid #333;
    margin-top: 30px;
    padding: 50px;
}
.p-form__element .p-form__element01,
.p-form__element .p-form__element02,
.p-form__element .p-form__element03 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.p-form__element .c-input {
    width: 90%;
    height: 70px;
    margin-bottom: 0;
}
.p-form__element .c-select {
    width: 90%;
    height: 70px;
}
/* 01 */
/* 02 */
/* 03 */
/* 04 */
.p-form__element .p-form__element04 {
    margin-top: 150px;
    gap: 65px;
    display: grid;
    grid-template-columns: 1fr;
}
.p-form__element .p-form__element04 .c-select {
    width: 43%;
}
.p-form__element .p-form__element04 .-long {
    width: 100%;
}

/* イメージ図 */
.p-form__image {
    margin-top: 65px;
    width: 100%;
}
.p-form__image img {
    display: block;
    object-fit: cover;
    width: 100%;
}

/* ボタン */
.p-form__btn {
    width: 280px;
    margin: 100px auto;
}
.p-form__btn button {
    font-size: 1.125rem;
    font-weight: bold;
    width: 280px;
    height: 80px;
    background: #fff;
    color: #4AA61B;
    border: 1px solid #4AA61B;
    border-radius: 10px;
}
.p-form__btn button:hover {
    cursor: pointer;
    background: #E5F8DC;
}

/* フッター */
.p-footer {
    text-align: center;
    border-top: 3px solid #81D058;
    height: 200px;
}
.p-footer__logo {
    margin: 50px auto;
}
.p-footer__copy {
    color: #fff;
    font-size: 0.875rem;
    background: #61C52E;
    height: 30px;
    padding-top: 20px;
    margin-top: 0px;
    margin-bottom:0;
}


/*====================*/
        /* SP */
/*====================*/

@media screen and (max-width: 768px) {
    /* header */
    .p-header__logo {
        max-width: 185px;
        margin-left: 20px;
        padding-bottom: 10px;
    }
    .p-header__logo img {
        max-width: 185px;
    }
    .p-header__home {
        margin-right: 20px;
    }
    /* 共通CSS */
    .c-text {
        font-size: 0.875rem;
    }
    .c-input {
        height: 50px;
    }
    .err {
        font-size: 0.675rem;
    }
    /* メインタイトル */
    .p-main__title h2 {
        font-size: 1rem;
        padding-top: 40px;
    }
    /* 顧客情報 */
    .p-form__client {
        margin-bottom: 25px;
        padding: 30px 45px;
    }
    .u-unit {
        font-size: 0.875rem;
        margin-left: 8px;
    }
    /* 部材購入 */
    .p-form__element {
        padding: 25px;
        width: 75%;
        margin: 0 auto;
        align-content: center;
    }
    .p-form__element .c-input {
        width: 90%;
        height: 50px;
        margin-bottom: 0;
    }
    .p-form__element .c-select {
        width: 90%;
        height: 50px;
    }
    .p-form__element .p-form__element01,
    .p-form__element .p-form__element02,
    .p-form__element .p-form__element03 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .c-title {
        font-size: 1rem;
        padding-left: 5px;
    }
    /* 02 */
    .p-form__element .p-form__element02 {
        grid-template-columns: none;
    }
    .p-form__element .p-form__element02 .c-text {
        padding-top: 10px;
    }
    /* 03 */
    .p-form__element .p-form__element03 {
        margin-left: 0;
    }
    /* 04 */
    .p-form__element .p-form__element04 {
        margin-top: 50px;
        gap: 30px;
    }
    .p-form__element .p-form__element04 .c-select {
        width: 60%;
    }
    .p-form__element .p-form__element04 .c-text {
        padding-top: 5px;
    }
    .p-form__element .p-form__element04 .-long {
        width: 100%;
    }
    /* イメージ図 */
    .p-form__image {
        margin-top: 50px;
    }
    .p-form__image img {
        width: 80%;
        margin: 0 auto;
    }
    /* ボタン */
    .p-form__btn {
        margin: 50px auto;
    }
    .p-form__btn button {
        height: 60px;
        font-size: 1rem;
    }
    /* footer */
    .p-footer {
        height: auto;
    }
    .p-footer__logo {
        max-width: 185px;
        margin: 25px auto;
    }
    .p-footer__copy {
        font-size: 0.5rem;
        margin-bottom:0;
    }
}

.p-form__element .sub_type .c-select {height: 40px; margin:4px 0;}
    .p-form__image img.sp {
        display: none;
    }
    .p-form__image img.pc {
        display: block;
    }
@media screen and (max-width: 599px) {
    .p-form__image img.sp {
        display: block;

    }
    .p-form__image img.pc {
        display: none;
    }
}