﻿/* 設定１つ  - 四辺すべてに適用 */
/* 設定２つ  - 上下 | 左右 */
/* 設定３つ  - 上 | 左右 | 下 */
/* 設定４つ  - 上 | 右 | 下 | 左 */

.contact {
    display: block;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0 auto;
    font-weight: 400;
    width: calc(100% - 25px);
    max-width: 1200px;
    margin-bottom: 20px;
}

.contact_title {
    display: inline-block;
    height: 40px;
    border: 1px solid #BBBBBB;
    border-bottom: 3px solid #ED7537;
    font-size: 16pt;
    align-content: center;
    width: 100%;
    padding-left: 20px;
}

#errbox {
    width: 100%;
}

    #errbox > p {
        font-size: 16pt;
        line-height:25px;
        color: #ff0000;
    }

.contact_intro {
    display: block;
    margin-top: 10px;
    width: 100%;
}

    .contact_intro > p {
        /* 1文字分の幅を調整。全角なら1emがちょうど1文字 */
        padding-left: 1em; /* 全体を1文字分右へ */
        text-indent: -1em; /* 1行目だけ1文字分左へ突き出す */

        font-size: 12pt;
        line-height: 28px;
    }

.contact_title2 {
    display: flex;
    height: 32px;
    border: 1px solid #BBBBBB;
    border-radius: 6px;
    align-items: center;
    width: 100%;
    background-color: #EEEEEE;
    margin-top: 20px;
}

    .contact_title2 > p {
        font-size: 16pt;
        font-weight: 600;
    }

.contact_title2_deco {
    height: calc(100% - 8px);
    border-left: 1px solid #000000;
    border-right: 5px solid #ED7537;
    margin-left: 10px;
    margin-right: 5px;
}



/*  ┌contact_box ────────────────────────────┐*/
/*  │┌contact_box_group ───────────────────────┐│*/
/*  ││┌──────────────────────────────┐││*/
/*  │││┌contact_box_group_left─┐┌contact_box_group_right ──┐│││*/
/*  ││││　　　　　　　　　　　　││　　　　　　　　　　　　　　││││*/
/*  ││││　　　　　　　　　　　　││　　　　　　　　　　　　　　││││*/
/*  ││││　　　　　　　　　　　　││　　　　　　　　　　　　　　││││*/
/*  │││└────────────┘└──────────────┘│││*/
/*  ││└──────────────────────────────┘││*/
/*  │└────────────────────────────────┘│*/
/*  └──────────────────────────────────┘*/
.contact_box { /*　入力エリア　*/
    box-sizing: content-box;
    margin-top: 20px;
    border-top: 3px solid #ED7537;
    border-right: 3px solid #ED7537;
    border-bottom: 3px solid #ED7537; /* 最下部でcontact_box_groupの下線が表示されないのでとりあえず */
    width: 100%;
}

.contact_box_group {
    box-sizing: content-box;
    border-bottom: 3px solid #ED7537;
    width: 100%;
}

.contact_box_subgroup {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}

.contact_subgroup_left {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-left: 3px solid #ED7537;
    max-width: 250px;
    min-width: 250px;
    padding: 10px;
    line-height: 25px;
}

    .contact_subgroup_left > p:last-child {
        margin-left: auto;
    }

    .contact_subgroup_left > .title {
        margin: 0;
        font-size: 12pt;
        font-weight: 600;
    }

    .contact_subgroup_left > .title2 { /* 右寄せ */
        margin: 0;
        font-size: 12pt;
        font-weight: 600;
        flex-grow: 1;
        text-align: right;
    }

    .contact_subgroup_left > .req::before {
        display: flex;
        content: "必須";
        background-color: #ff0000;
        border: 1px solid #ff0000;
        color: #ffffff;
        line-height: 18px;
        margin: 0;
        padding: 1px 4px;
        font-size: 9pt;
        font-weight: 600;
    }

    .contact_subgroup_left > .opt::before {
        display: flex;
        content: "任意";
        background-color: #ffffff;
        border: 1px solid #666666;
        color: #666666;
        line-height: 18px;
        margin: 0;
        padding: 1px 4px;
        font-size: 9pt;
        font-weight: 600;
    }

.contact_subgroup_right {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 20px; /*行　列*/
    border-left: 3px solid #ED7537;
    background-color: #fdf5e6;
    padding: 10px;
    width: 100%;
}

    .contact_subgroup_right > .title {
        margin: 0;
        font-size: 11pt;
        width: 100%;
    }

.checkbox_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0 5px; /*行　列*/
}

    .checkbox_wrapper > label {
        white-space: normal;
    }

#ta_toiawase {
    box-sizing: border-box;
    width: 100%;
    min-height: 8rem;
    padding: 5px;
    font-size: 12pt;
    line-height: 1.5;
    color: #222;
    background: #fff;
    border: 1px solid #c9c9c9;
    border-radius: 2px;
    resize: vertical; /* ユーザーが縦方向のみリサイズ可能 */
}

    #ta_toiawase::placeholder {
        color: #9aa0a6;
    }

._textbox_A { /* 入力用 */
    width: 100%;
    max-width: 400px;
    font-size: 12pt;
    height: 34px;
}

    ._textbox_A::placeholder {
        color: #9aa0a6;
    }

._textbox_B { /* 入力用 */
    width: 100%;
    margin-left:30px;
    font-size: 12pt;
    height: 34px;
}

    ._textbox_B::placeholder {
        color: #9aa0a6;
    }

#cb_ken {
    width: 250px;
}

/*****　画面下部　********************************************* */

.bottomwrap {
    display: block;
    width: 100%;
    justify-items: center;
    margin-top: 20px;
}


#btn_send {
    padding: .5em 2em;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    background-color: #0066cc;
    color: #ffffff;
    border: none;
}

    #btn_send:disabled {
        background-color: #666666;
        color: #CCCCCC;
        opacity: 1.0;
        cursor:not-allowed;
    }

    #btn_send:hover {
        opacity: .8;
    }

.agreeWrap {
    display: flex;
    margin: 0 auto;
}

#close {
    font-size: 1.5em;
    cursor: pointer;
    width: 30px;
    border: 1px solid #ccc;
    border-radius: 20px;
    text-align: center;
    padding: 2px;
    margin: 16px auto 16px;
    background: #696969;
    color: #fff;
}

    #close:hover {
        opacity: .8;
    }

/*#mask {
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1;
}
    #mask.hidden {
        display: none;
    }
*/
/* モーダルウィンドウ */
.privacyWrap {
    display: flex;
}

/* 個人情報保護方針 */

.privacyTitle {
    width: 95%;
    font-size: 1.2em;
    margin-top: 1.5em;
    margin-bottom: .5em;
}

.privacyBox {
    width: 95%;
    padding: 1em;
    border: #333 1px dotted;
    line-height: 2em;
    margin: auto;
}

    .privacyBox li {
        list-style: none;
    }

#modalPrivacy {
    background: #ffffff;
    max-width: 900px;
    padding: 0 12px 20px;
    border-radius: 4px;
    position: fixed;
    top: 15%;
    left: 0;
    right: 0;
    z-index: 2;
    margin: auto;
}


    #modalPrivacy > p {
        margin: 0 0 0;
        text-align: center;
        margin-top: 5px;
        margin-bottom: 25px;
    }

    #modalPrivacy.hidden {
        display:none;
        /*transform: translate(0, -2000px);*/
    }
