@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* PC版・スマホ版共通のスタイル */

body {
    font-family: Noto Sans JP;
}

.h1_row {
    display: flex;
    align-items: center;
    /* 縦方向に中央揃え */
    margin-top: 20px;
}

h1 {
    margin-right: 20px;
    font-size: 48px;
    font-weight: 650;
    line-height: 57.6px;
    letter-spacing: 0.04em;
}

#contents .contact {
    font-size: 12px;
    font-weight: 650;
    line-height: 14.4px;
    letter-spacing: 0.08em;
}

.sentence {
    color: #282F46;
    font-size: 11px;
    font-family: Noto Sans JP;
    font-size: 14px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 0.04em;
    /* text-align: left; */
    margin-top: 20px;
    margin-bottom: 50px;
}

.col-md-10 form {
    margin-top: 40px;
    margin-bottom: 0px;
}


.mail_add_item_body {
    display: block;
    flex: 1;
    align-items: center;
    padding: 10px;
    font-family: Noto Sans JP;
    font-size: 14px;
    line-height: 32px;
}

.mail_add_item_caption {
    padding: 10px 0px 10px 0px;
    width: 150px;
    font-size: 14px;
    font-weight: 700;
}

.contact_naiyou_caption {
    padding: 10px 0px 10px 0px;
    width: 150px;
    font-size: 14px;
    font-weight: 700;
}


/* bootstrap.min.cssを上書き */
.mail_add_item_body input[type="text" i] {
    padding-block: 0px;
    padding-inline: 0px;
}

/* bootstrap.min.cssを上書き */
.mail_add_item_body input {
    text-rendering: auto;
    color: fieldtext;
    letter-spacing: normal;
    word-spacing: normal;
    line-height: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    /* text-align: start; */
    appearance: auto;
    -webkit-rtl-ordering: logical;
    cursor: text;
    background-color: field;
    margin: 0em;
    padding: 0px;
    border-width: 0px;
    border-style: inset;
    border-color: light-dark(rgb(118, 118, 118), rgb(133, 133, 133));
    border-image: initial;
    padding-block: 0px;
    padding-inline: 0px;
}

#container #WebMailWriterName,
#container #WebMailTel,
#container #WebMailCtel,
#container #WebMailEmail,
#container #WebMailSubject,
#container #WebMailContent {
    background: #F8F6F4;
    border: 1px solid #282F4614;
    width: 276px;
    height: 32px;
    font-family: Noto Sans JP;
    font-size: 12px;
}

#container #WebMailQType {
    background: #F8F6F4;
    border: 1px solid #282F4614;
    width: 278px;
    height: 34px;
    font-family: Noto Sans JP;
    font-size: 12px;
}

#container #WebMailContent {
    background: #F8F6F4;
    border: 1px solid #282F4614;
    width: 760px;
    height: 325px;
    font-family: Noto Sans JP;
    font-size: 12px;
}

textarea {
    resize: none;
}

.info {
    width: 172px;
    height: 17px;
    opacity: 0.5;
    font-family: Noto Sans JP;
    font-size: 12px;
    font-weight: 400;
    line-height: 17.38px;
    margin-left: 10px;
}

/* bootstrap.min.cssを上書き */
/* バリデーションエラー表示 */
.mail_add_item_body p {
    display: block;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    font-size: 13px;
}

.add_input_base p {
    display: block;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    font-size: 13px;
}

.asterisk {
    color: red;
}

button {
    background: transparent;
}

.back_button {
    width: 167px;
    height: 40px;
    border: 1px solid #282F46;
    font-weight: bold;
    font-family: Noto Sans JP;
}

.submit_button {
    width: 167px;
    height: 40px;
    border: 1px solid #282F46;
    background-color: #282F46;
    color: white;
    font-weight: bold;
    font-family: Noto Sans JP;
}

.add_input_btn {
    /* display: flex; */
    /* margin: 0 auto; */
    text-align: center;
    margin-top: 50px;
}



/* ホームに戻るボタン */
.goto_home {
    /* height: 60px; */
    height: 90px;
    /* line-height: 60px; */
    border-top: 1px solid #BEC5DC;
    border-bottom: 1px solid #BEC5DC;
    text-align: center;
    margin-top: 70px;
    /* margin-bottom: 120px; */
}

.goto_home a {
    display: block;
    /* height: 40px; */
    /* line-height: 40px; */
    width: 120px;
    text-align: right;
    margin: 0 auto;
    background-image: url('../image/page_navi_first.png');
    background-repeat: no-repeat;
    background-position: 0 3px;
    /* margin-top: 27px; */
    margin-top: 35px;
    text-decoration: none;
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-weight: 700;
    color: #282F46;
}






/* PC版のスタイル */
@media only screen and (min-width: 768px) {

    #container #contents {
        width: 760px;
        margin: 0 auto;
    }

    .row {
        display: flex;
    }

}


/* スマホ版のスタイル */
@media only screen and (max-width: 767px) {

    main {
        margin-left: 24px;
        margin-right: 24px;
    }

    #container #WebMailWriterName,
    #container #WebMailTel,
    #container #WebMailCtel,
    #container #WebMailEmail,
    #container #WebMailSubject {
        width: 100%;
    }

    #container #WebMailContent {
        width: 100%;
        height: 80px;
    }

    #container .mail_add_item_body {
        padding-top: 8px;
        padding-bottom: 24px;
        padding-left: 0;
        padding-right: 0;
    }

    #container .add_input_btn {
        display: flex;
        flex-direction: column-reverse;
        width: 100%;
    }

    #container .add_input_btn .back_button {
        margin: 0 auto;
        margin-top: 16px;
        width: 223px;
        height: 56px;
    }

    #container .add_input_btn .submit_button {
        margin: 0 auto;
        width: 223px;
        height: 56px;
    }

    #container .goto_home {
        margin-bottom: 64px;
    }

}