@import url('https://unpkg.com/css.gg@2.0.0/icons/css/software-download.css');

/**drawing_css2023/01/18更新**/
body {
    margin: 0;
    padding: 0;
    font-family: 'Titillium Web', sans-serif;
    min-height:100vh;
    position:relative;
    padding-bottom:180px;
    box-sizing:border-box;
}

h1 {
    margin-block-start: 0;
    margin-block-end: 0;
    margin: 0;
    padding: 0;
    font-weight: 700;
    font-family: 'Titillium Web', sans-serif;
}

h2 {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.2em;
}

h3 {
    width: 1080px;
    margin: 15px auto 10px auto;
    display: block;
    font-weight: 400;
    font-size: 1.0em;
}

h3 b {
    padding: 0 10px 0 0;
}

h3 span {
    font-size: 1.2em;
    font-weight: 700;
}

/**header.php**/

.form_part>h2,
.form_part2>h2 {
    padding: 10px 0 12px 0;
    border-bottom: 1px solid #d40025;
    color: #000000;
    display: flex;
    flex-wrap: wrap;
    font-weight: 600;
}

.form_part3>h2 {
    padding: 10px 0 12px 0;
    border-bottom: 1px solid #555555;
    color: #636363;
}

.form_part>h2 b,
.form_part2>h2 b,
.form_part3>h2 b {
    margin: 0 5px 0 0;
}

.form_part {
    width: 20%;
}

.form_part2 {
    width: 20%;
}

.form_part3 {
    width: 20%;
}

h2>span {
    font-size: 0.8em;
    margin: 0px 0px 0px 10px;
}

h2>span,
h3>b,
.header_comment b,
.Required,
.Required0 {
    color: #d40025;
}

.Required0,
.Required2 {
    /* padding: 0px 10px; */
    position: relative;
    /* margin: 0 0 0 18px; */
    bottom: 15px;
    left: 30px;
    width: 194px;
}

.Required {
    margin: 0px 5px 0px 10px;
}

.Required2 {
    margin: 0px 0 0 30px;
    /* padding: 8px 0 16px 22px; */
    font-weight: 100;
    /* bottom: -29px !important; */
}

.header {
    position: static;
    width: 100%;
    height: 60px;
    z-index: 9999;
    background-color: #2b2b2b;
    /* top: 0; */
    /* border-top: 5px solid #c70606; */
}

.header_inner {
    margin: 0 auto;
    max-width: 1100px;
    height: 60px;
    display: flex;
}

.header h1 img {
    width: 90px;
    padding: 5px 0 0px 26px;
}

.header h1 span {
    font-size: 0.9em;
    font-family: 'Titillium Web', sans-serif;
    margin: 7px 5px 5px 20px;
    padding: 0;
    position: absolute;
    color: #ffffff;
}

.header_form {
    top: 7px;
    right: 10px;
    margin: 0 0 0 auto;
    align-self: center;
}

.header_form select {
    background: #2b2b2b;
    color: #fff;
    font-weight: 100;
    border: 1px solid #666;
    padding: 5px 10px;
}

.lesponsivesize {
    width: 100%;
    margin: 0 auto;
    display: block;
}

.footer {
    height: 180px;
    background: #2b2b2b;
    bottom: 0;
    color: #979797;
    padding: 2px 0px;
    text-align: center;
    font-size: 0.9em;
    font-family: 'Titillium Web', sans-serif;
    justify-content: center;
    position:absolute;
    width:100%;
}

.footerflex {
    display: flex;
    height: 45px;
    width: 600px;
    margin: 0 auto;
    justify-content: space-between;
}

.footer a {
    margin: 10px 20px;
    text-decoration: none;
    color: #ffffff;
    width: 240px;
}

.flex_form {
    width: 1100px;
    display: flex;
    gap: 3px;
    margin: 0 auto;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    z-index: 9999;
    right: 0;
    top: -17px;
    /* padding: 20px 5px; */
    justify-content: space-around;
    /* border-bottom: 3px solid #c40000; */
}

.flex_form0 {
    width: 1100px;
    margin: 0 auto;
    position: static;
    background: #f7f7f7;
}

.formplus {
    /* width: 64%; */
    display: block;
    /* position: absolute; */
    bottom: 0;
    left: 0;
}

.caution {
    font-size: 0.6em;
    color: #666666;
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-family: Heebo;
}

.form_parts {
    margin: 20px 0 10px 0;
    padding: 10px 0;
    display: block;
    position: relative;
    /* width: 183px; */
    width: 100%;
}

.form_parts p b {
    font-size: 1.1em;
    margin: -7px 2px 0px 0;
    font-weight: 100;
}

.form_parts p {
    margin: 0px 0 5px 0;
    font-size: 0.95em;
    color: #636363;
    font-weight: 400;
}

/* .form_parts p span {
    color: #ff0000 !important;
    font-size: 2.5em;
} */


input[type="radio"] {
    display: none;
}

input[type="radio"]+label,
input[type="radio"]+img {
    cursor: pointer;
}

input[type="radio"]+label {
    /* padding: 5px; */
    color: #666666;
    line-height: 2.5em;
    border-radius: 5px;
    font-weight: 700;
    border: 2px solid #ededed;
    background: #ffffff;
    margin: 0 5px 10px 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.form_parts input[type="radio"]:checked+label {
    background: #8d4040;
    color: #d40025;
    border: 2px solid #d40025;
    transition: 0.2s ease-in-out;
    /* font-size: 1.1em; */
    background: #ffffff;
}

.form_parts input[type="radio"]:checked+label img {
    filter: hue-rotate(90deg);
}


input[type="radio"]:checked+img {
    border: 3px solid rgb(255, 63, 105);
}

input:invalid {
    border: solid 3px red;
    outline: 2px solid #b30202;
    background: #ffbbbb;
}

input,
select {
    font-size: 0.95em;
    font-weight: 700;
    padding: 5px 5px;
    margin: 5px 4px;
    border-radius: 6px;
    color: #d40025;
    border: none;
    font-family: 'Titillium Web', sans-serif !important;
    letter-spacing: 1px;
}

.drawing_area {
    position: relative;
    width: 1080px;
    height: 644px;
    margin: 10px auto 0px auto;
    font-size: 0.7em;
    font-weight: 700;
}

.drawing_area2 {
    display: none;
}

.header_comment {
    position: relative;
    width: 1080px;
    margin: 0 auto;
}

.submit_area::-webkit-inner-spin-button,
.submit_area::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    -moz-appearance: textfield !important;
}

/* ブラウザ上PDFの横幅 */
.drawed_pdf {
    width: 100%;
}

.radio_part {
    display: flex;
    flex-wrap: wrap;
}

.radio_parts {
    display: grid;
    width: 50%;
}

/* RFQ */
.rfq_no {
    bottom: 15px;
    left: 280px;
    width: 96px;
}

.inputday {
    bottom: 22px;
    left: 380px;
    width: 203px;
    text-align: center;
}

.your_name {
    bottom: 15px;
    left: 499px;
    width: 96px;
}

.Desination {
    bottom: 15px;
    left: 592px;
    width: 475px;
    text-align: center;
    font-size: 1.7em;
    font-weight: 900;
}



/* 左側　ワーク名・被削材・機械 */
.workname {
    top: 510px;
    left: 30px;
    width: 300px;
    padding: 5px;
}

.material_no {
    top: 540px;
    left: 30px;
    width: 300px;
    padding: 5px;
}

.remark {
    top: 570px;
    left: 30px;
    width: 340px !important;
    padding: 5px;
}

.workname span,
.material_no span,
.machine span {
    float: left !important;
}

textarea {
    width: 93%;
    height: 59px;
    /* font-size: 1.2em; */
    border-radius: 5px;
    border: none;
    font-family: 'Titillium Web', sans-serif !important;
    letter-spacing: 1px;
    line-height: 1.0em;
}


.text10_12 input {
    width: 87%;
    font-size: 12px;
}

.hidden {
    display: none;
}


.submit_button,
.submit_button2 {
    text-align: center;
    width: 240px;
    color: #fff;
    font-size: 1.0em;
    font-family: 'Titillium Web', sans-serif !important;
    letter-spacing: 0;
    white-space: normal;
    word-wrap: break-word;
    line-height: 18px;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 35px;
    background-color: #d40025;
    border-radius: 50px;
    border: none !important;
    cursor: pointer;
}

.submit_button_pdf {
    text-align: center;
    width: 300px;
    color: #fff;
    font-size: 1.0em;
    font-family: 'Titillium Web', sans-serif !important;
    letter-spacing: 0;
    white-space: normal;
    word-wrap: break-word;
    line-height: 18px;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 25px;
    background-color: #d40025;
    border-radius: 50px;
    border: none !important;
    cursor: pointer;
}

/* .submit_button_pdf {
    transition: 0.3s ease-in-out;
} */

/* .submit_button:hover {
    background: #8a0202;
    cursor: pointer;
} */

.totop {
    color: #d40025;
    margin: 15px;
}

/* 送信ボタンが無効化された場合のスタイル */
#submitButton:disabled {
    background-color: gray;
    color: rgb(177, 177, 177);
    cursor: not-allowed;
}

/* 送信ボタンが有効化された場合のスタイル */
#submitButton:not(:disabled) {
    background: #be0303;
    color: white;
    cursor: pointer;
}

.download_button_area {
    width: 1080px;
    margin: 20px auto 50px auto;
    display: flex;
    bottom: 0;
    flex-direction: column;
    height: 82px;
    align-items: center;
    justify-content: space-between;
}

/* .inputElement {
    bottom: 0;
    width: 100%;
    z-index: 9998;
    margin: 30px auto;
}
.inputElement2{position:static;} */




.download.icon {
    color: #ffffff;
    position: absolute;
    margin-left: 8px;
    margin-top: 6px;
    width: 7px;
    height: 2px;
    border-radius: 1px;
    border: solid 1px currentColor;
    border-top: none;
    zoom: 2.0;
    /* vertical-align: middle; */
}

.download.icon:before {
    content: '';
    position: absolute;
    left: 3px;
    top: -5px;
    width: 1px;
    height: 5px;
    background-color: currentColor;
}

.download.icon:after {
    content: '';
    position: absolute;
    left: 2px;
    top: -2px;
    width: 2px;
    height: 2px;
    border-top: solid 1px currentColor;
    border-right: solid 1px currentColor;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

.loading-overlay {
    display:none;
    text-align:center;
}

.loading-icon {
    border:2px solid #f3f3f3;
    border-top: 2px solid #d40025;
    border-radius:50%;
    width:30px;
    height:30px;
    animation:spin 1s linear infinite;
    margin:0 auto 20px;
}

@keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

.submit_area {
    width: 100%;
    text-align: center;
    /* margin: 0 auto; */
    border-radius: 10px;
    border: none;
    font-family: 'Titillium Web', sans-serif !important;
}

/* .submit_area_long {
    width: 100% !important;
    display: block;
    border: 5px solid #ffffff;
    box-shadow: 5px 5px 5px 0px #000000;
} */

.displaynone {
    display: none;
}

.displaynone2 {
    display: flex;
    margin: 50px auto 0 auto;
}


/* スクロールバー */
::-webkit-scrollbar {
    width: 2px;
    height: 0;
    border-radius: 20px;
    background: #e3e0e0;
}

/* スクロールバーのトラック */
::-webkit-scrollbar-track {
    background: #b3b3b300;
}

/* スクロールバーのハンドル */
::-webkit-scrollbar-thumb {
    background: #9b9b9b;
}

/* スクロールバーのボタン（上下の矢印） */
::-webkit-scrollbar-button {
    display: none;
}

/* スムーズスクロール */
html {
    scroll-behavior: smooth;
}



/*CSSアイコン*/
.edit-solid.icon {
    color: #ffffff;
    position: absolute;
    margin-left: 14px;
    margin-top: 4px;
    width: 10px;
    height: 2px;
    border-radius: 1px;
    border: solid 1px currentColor;
    background-color: currentColor;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    /* transform: scale(1.15); */
}

.edit-solid.icon:before {
    content: '';
    position: absolute;
    left: -8px;
    top: -1.5px;
    width: 0;
    height: 0px;
    border-left: solid 0px transparent;
    border-right: solid 6px currentColor;
    border-top: solid 3px transparent;
    border-bottom: solid 2px transparent;
}

.edit-solid.icon::after {
    content: '';
    position: absolute;
    left: -16px;
    top: 4px;
    width: 17px;
    height: 2px;
    background: #ffffff;
    transform: rotate(45deg);
}

/* 画面サイズ（表示解像度）
1,920×1,080：28.2％
1,536×864：11.45％
●1,366×768：10.9％
●1,280×720：5.06％
2560×1440：3.83％
1,440×900：3.48％ */



/* ポップアップ */
.popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: .6s;
}

.popup.is-show {
    opacity: 1;
    visibility: visible;
}

.popup-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1400px;
    padding: 50px;
    background-color: #fff;
    z-index: 2;
}

.popup-inner img {
    width: 100%;
}

.close-btn {
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    line-height: 50px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.bg-black {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .8);
    z-index: 1;
    cursor: pointer;
}

.sampleflex {
    display: flex;
    justify-content: right;
    margin:10px 0;
}

#show-btn {
    width: 160px;
    background: #e3e0e0;
    text-align: center;
    border-radius: 20px;
    font-size: 0.9em;
    padding: 5px 10px;
    cursor: pointer;
}

.not_selected {
    background: #f3f3f3 !important;
    cursor: not-allowed !important;
}

/* 刃型形状ホバー時にエラーメッセージ表示 */
.not_selected {
    position: relative;
}

.select_error {
    display: none;
    z-index:9999;
    background: none repeat scroll 0 0 #fff;
    border: 1px solid #d40025;
    color: #000000;
    line-height: 1.2em;
    padding: 0.3em;
    position: absolute;
    top: 50px;
    left:-6px;
    width: 14.5em;
    font-size:14px;
    font-weight:100;
}

.not_selected:hover .select_error {
    display: block;
}


/* ポップアップ */
.popup2,
.popup3 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: .6s;
}

.popup2.is-show,
.popup3.is-show {
    opacity: 1;
    visibility: visible;
}

.popup-inner2,
.popup-inner3 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    /* max-width: 600px; */
    padding: 50px;
    background-color: #fff;
    z-index: 2;
}

.popup-inner2 img,
.popup-inner3 img {
    width: 500px;
}

.close-btn2,
.close-btn3 {
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    line-height: 50px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.bg-black2,
.bg-black3 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .8);
    z-index: 1;
    cursor: pointer;
}


#show-btn2 {
    display: block;
    border-radius: 50%;
    background: #535353;
    color: #ffffff;
    /* font-weight: 700 !important; */
    padding: 1px 1px 1px 1.3px;
    margin: -20px 0 0 0;
    width: 14px;
    height: 14px;
    text-align: center;
    /* float: right; */
    font-size: 0.7em;
    line-height: 1em;
    position: relative;
    top: -4px;
    right: -179px;
    cursor: pointer;
}

#show-btn3 {
    display: block;
    border-radius: 50%;
    background: #535353;
    color: #ffffff;
    font-weight: 600;
    padding: 1px 1px 1px 1.5px;
    margin: 5px 0 0 61px;
    width: 14px;
    height: 14px;
    text-align: center;
    /* float: right; */
    font-size: 0.8em;
    line-height: 1.05em;
    position: relative;
    top: -27px;
    right: -93px;
    cursor: pointer;
}

#contact {
    color: #d40025;
    padding: 6px 45px;
    border: 1px solid #d40025;
    text-decoration: none;
    font-size: 0.8em;
    border-radius: 5px;
    font-weight: 700;
    margin: 25px 0 0 0px;
}

#contact:hover {
    background: #d40025;
    color: #ffffff;
}

.dimension_title {
    position:relative;
    display:flex;
}
.dimension_title h3 {
    font-size:15px;
    font-weight:400;
    color:#4d4d4d;
    margin:0 0 0 10px;
}
.open_btn {
    cursor: pointer;
    width:25px;
    border:1px solid #000;
    background-color:#fff;
}
.open_btn::before {
    content: '';
    position: absolute;
    top: 51%;
    left: 11px;
    transform: translate(-50%,-50%) rotate(90deg);
    background-color: #000;
    width: 2px;
    height: 15px;
}
.open_btn::after {
    content: '';
    position: absolute;
    top: 51%;
    left: 11px;
    transform: translate(-50%,-50%);
    background-color: #000;
    width: 2px;
    height: 15px;
}
.close_btn {
    cursor: pointer;
    width:25px;
    border:1px solid #000;
    background-color:#fff;
}
.close_btn::before {
    content: '';
    position: absolute;
    top: 51%;
    left: 11px;
    transform: translate(-50%,-50%) rotate(90deg);
    background-color: #000;
    width: 2px;
    height: 15px;
}
.dimension_part {
    width:85%;
    margin-top:10px;
}
.dimension_area {
    display:flex;
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition: height 0.5s ease, opacity 0.5s ease;
}
.dimension_area.show {
    height: auto;
    opacity: 1;
}
.dimension_item p {
    margin:10px 0;
    font-size:18px;
    font-weight:bold;
}
.dimension_item img {
    width:70%;
}

/**  レスポンシブ、スマホ対応  **/
@media screen and (max-width:1099px) {
    body {
        -webkit-text-size-adjust: 100% !important;
    }

    input,
    button,
    select,
    textarea {
        -webkit-appearance: none;
    }

    .header,
    h3,
    .flex_form0,
    .flex_form,
    .form_part,
    .form_part2,
    .form_part3,
    .download_button_area,
    .footerflex,
    .popup-inner2,
    .popup-inner3,
    .popup-inner2 img,
    .popup-inner3 img {
        width: 100%;
        height: auto;
        -webkit-text-size-adjust: 100%;
    }

    .flex_form0 {
        background: #f7f7f7;
    }

    .form_parts p {
        margin: 0px 0 5px 0;
        font-size: 0.9em;
        color: #636363;
        font-weight: 400;
    }

    .header {
        position: sticky;
        width: 100%;
        height: 65px;
        /* box-shadow: 0px 0px 9px 0px #c7c7c7; */
        z-index: 9999;
        background-color: #2b2b2b;
    }

    .header_comment,
    .lesponsivesize,
    .shank_area,
    .shank_table {
        width: 94%;
    }

    .header h1 img {
        width: 60px;
        padding: 8px 0 6px 14px;
    }

    .header h1 span {
        font-size: 0.4em;
        margin: 10px 5px 5px 9px;
        padding: 0;
        color: #ffffff;
        width: 141px;
        line-height: 1.2em;
    }
    .footer {
        padding:0;
    }

    input,
    select {
        font-size: 1.2em;
    }

    .header select {
        font-size: 0.6em;
    }

    .header>select+option {
        font-size: 0px;
    }

    .header>select+option:before {
        content: 'Language';
        font-size: 1.2em;
    }

    .header_comment {
        width: 94%;
        padding-top: 20px;
    }

    .header_form {
        top: 8px;
        right: 5px;
    }

    .header_form select {
        background: #f7f7f7;
        color: #797979;
        font-weight: 700;
        border: initial;
        display: block;
    }

    #show-btn {
        font-size: 0.6em;
    }

    .form_part>h2,
    .form_part2>h2,
    .form_part3>h2 {
        padding: 10px 0 7px 0;
        margin: 25px 10px 0px 10px;
        font-size: 0.95em;
    }

    .form_parts p {
        margin: 0px 0 15px 20px;
        font-size: 0.8em;
        font-weight: 700;
    }

    h3 {
        font-size: 0.8em;
        font-family: noto sans jp, sans-serif !important;
    }

    .Required0,
    .Required2 {
        position: absolute;
        top: 140px;
        left: 3%;
        /* width: 86px; */
        height: 20px;
        font-size: 0.6em;
        display: block;
        font-weight: 300;
    }

    .Required2 {
        margin: 0px 0 0 109px;
        padding: initial;
        bottom: initial;
    }

    .form_part3 .conectiontype_img {
        width: 100%;
        padding: 10px 0 0 0;
    }

    .conectiontype_img {
        width: 80%;
        margin: 0 auto;
    }

    .form_part input[type="radio"]+label {
        padding: 10px 5px 5px 5px;
    }

    .number_button {
        width: 80%;
        margin: 0 auto;
    }

    .shankfeald {
        display: flex;
        justify-content: space-around;
        flex-direction: column;
    }

    .spiner {
        align-content: stretch;
        align-items: center;
    }

    .caution {
        display: block;
        margin: 5px 0 0 11%;
        font-family: noto sans jp, sans-serif !important;
    }

    .form_part input[type="radio"]+label,
    .form_part2 input[type="radio"]+label,
    .form_parts5 input[type="radio"]+label {
        border-radius: 122px;
        text-align: center;
        padding: 0 8%;
    }

    .form_part .conectiontype_img {
        width: 70%;
        margin: 0 auto;
    }

    .anycaution input,
    .text10_12 input {
        width: 98%;
        font-size: 14px;
        margin: 0 auto;
        display: block;
    }

    #show-btn2 {
        display: block;
        border-radius: 50%;
        background: #535353;
        color: #ffffff;
        font-weight: 600;
        padding: 1px 1px 1px 1.5px;
        margin: 5px 0 0 61px;
        width: 14px;
        height: 14px;
        text-align: center;
        /* float: right; */
        font-size: 0.8em;
        line-height: 1.05em;
        position: relative;
        top: 24px;
        right: -12px;
        cursor: pointer;
    }

    #show-btn3 {
        top: -33px;
        left: 100px;
    }

    .anycaution input,
    .text10_12 input {
        width: 78%;
    }

    textarea {
        width: 78%;
        margin: 0 auto;
        display: block;
        font-size: 14px;
    }

    .form_part2 input[type="radio"]+label {
        /* padding: 0 8%; */
        margin: 3% 5%;
        font-size: 1.1em;
        width:auto !important;
    }

    .form_part3 .form_parts3 input[type="radio"]+label {
        padding: 11px;
        /* margin: 0 auto; */
        /* font-size: 0.6em; */
        border-radius: 20px;
        /* text-align: center; */
        width: 72%;
        height: 65%;
        position: relative;
        top: 10px;
    }

    .form_part3 .form_parts5 input[type="radio"]+label {
        padding: 2px 3%;
        margin: 0px -4% 0px 10%;
        font-size: 0.8em;
        display: block;
        width: 30%;
        float: left;
    }

    .form_part3 br {
        display: none;
    }

    .form_part3 .form_parts4 input[type="radio"]+label {
        padding: 5px 4.5%;
        margin: 5px -7% 5px 10%;
        font-size: 1.1em;
        width: 14%;
        border-radius: 64px;
    }

    .submit_area,
    .anycaution input,
    .text10_12 input,
    textarea {
        box-shadow: 0px 0px 10px #e7e7e7;
    }

    .submit_button,
    .submit_button2 {
        font-size: 0.9em;
        width: 60%;
    }

    .footer {
        font-size: 0.8em;
    }

    .footer a {
        width: auto;
        margin: 10px 5px;
        font-size: 0.8em;
    }

    .footerflex {
        flex-direction: column;
    }

    #show-btn2 {
        margin: -22px 0 0 0;
    }

    .popup-inner {
        width: 100%;
        max-width: 100%;
        padding: 30px 0 10px 0;
    }

    .popup-inner2,
    .popup-inner3 {
        padding: 0;
    }

    .close-btn,
    .close-btn2,
    .close-btn3 {
        right: 5px;
        top: -30px;
        width: initial;
        height: initial;
        border-radius: 50%;
        line-height: initial;
        z-index: 9999;
        color: #fffdfd !important;
    }

    .drawing_area {
        display: flex;
        width: 100%;
        overflow-x: scroll !important;
        white-space: nowrap;
        overflow-scrolling: touch;
        -webkit-overflow-scrolling: touch;
        border-right: 1px solid #cccccc;
    }

    .drawing_area::-webkit-scrollbar {
        height: 8px;
        /* スクロールバーの高さ */
    }

    .drawing_area::-webkit-scrollbar-thumb {
        background: #676767;
        /* ツマミの色 */
        border-radius: 40px;
        /* ツマミ両端の丸み */
    }

    .drawing_areabox::-webkit-scrollbar-track {
        background: #9b9b9b;
        /* トラックの色 */
        border-radius: 40px;
        /* トラック両端の丸み */
    }

    .displaynone2 {
        display: block;
    }

    .drawed_pdf {
        width: initial;
    }
}
@media screen and (min-width:580px) and (max-width:620px) {

    .header h1 span {
        width: 340px;
    }

    .header {
        height:50px;
    }
}

@media screen and (min-width:621px) and (max-width:750px) {

    .header_comment,
    .lesponsivesize,
    .shank_area,
    .shank_table {
        width: 75%;
    }

    .Required0,
    .Required2 {
        left: 13%;
        top:125px;
    }

    .header h1 span {
        font-size: 0.5em;
        margin: 15px 5px 5px 12px;
        width: 375px;
    }

    .header {
        height:50px;
    }
}

@media screen and (min-width:751px) and (max-width:850px) {

    .header_comment,
    .lesponsivesize,
    .shank_area,
    .shank_table {
        width: 75%;
    }

    .Required0,
    .Required2 {
        left: 13%;
        top:150px;
    }

    .header h1 span {
        font-size: 0.8em;
        margin: 11px 5px 5px 17px;
        width: 500px;
    }

    .header {
        height:75px;
    }
}

@media screen and (min-width:851px) and (max-width:950px) {

    .header_comment,
    .lesponsivesize {
        width: 60%;
    }

    .Required0,
    .Required2 {
        left: 20%;
        top:130px;
    }

    .header h1 span {
        font-size: 0.8em;
        margin: 11px 5px 5px 17px;
        width: 600px;
    }

    .header {
        height:55px;
    }
}

@media screen and (min-width:951px) and (max-width:1099px) {

    .header_comment,
    .lesponsivesize,
    .shank_area,
    .shank_table {
        width: 56%;
    }

    .Required0,
    .Required2 {
        left: 22%;
        top:130px;
    }

    .header h1 span {
        font-size: 0.8em;
        margin: 11px 5px 5px 17px;
        width: 600px;
    }

    .header {
        height:55px;
    }
}

@media screen and (max-width:480px) {
    .dimensions_image {
        width:100%;
        margin:0;
    }
    .product_image {
        display:none;
        width:100%;
    }
}

@media screen and (max-width:600px) {
    .shank_table {
        display: flex;
        width: 100%;
        overflow-x: scroll !important;
        white-space: nowrap;
        overflow-scrolling: touch;
        -webkit-overflow-scrolling: touch;
        border-right: 1px solid #cccccc;
    }
    
    .shank_table::-webkit-scrollbar {
        height: 8px;
        /* スクロールバーの高さ */
    }
    
    .shank_table::-webkit-scrollbar {
        background: #676767;
        /* ツマミの色 */
        border-radius: 40px;
        /* ツマミ両端の丸み */
    }
    
    .shank_table::-webkit-scrollbar {
        background: #9b9b9b;
        /* トラックの色 */
        border-radius: 40px;
        /* トラック両端の丸み */
    }
    
    .shank_table {
        display:block;
    }
    .dimension_area {
        flex-flow: wrap;
    }
    .dimension_item img {
        width:100%;
    }
}

@media screen and (max-width:410px) {
    .form_part2 input[type="radio"]+label {
        font-size:16px;
    }
    .header_form select {
    padding: 5px 7px;
    }
}

@media screen and (max-width:340px) {
    .Required0,
    .Required2 {
        top: 230px !important;
    }
    .form_part2 input[type="radio"]+label {
        font-size:13px;
    }
}

/* @media screen and (min-width:379px) and (max-width:1099px) {

    .Required0,
    .Required2 {
        top: 180px !important;
    }
} */

/* テストサイト用に追加 */
.sample_area {
    width:1100px;
    margin:0 auto;
}
.grooving_flex {
    display: flex;
    flex-flow: wrap;
}
.grooving_dia {
    padding-left: 20px;
    padding-top:35px;
}
@media screen and (max-width:1099px) {
    .sample_area {
        width: 100%;
        height: auto;
        -webkit-text-size-adjust: 100%;
    }
}
table {
    /* border: 1px solid #555; */
    border-collapse: collapse;
    /* margin: 0 2.5%; */
    table-layout: auto;
    text-align: center;
    max-width: 95%;
}

table th,
table td {
    padding: 5px;
    font-size: 0.4em;
    border:1px solid #000;
}
.shank_table {
    width: 1080px;
    /* margin: 0 auto; */
    font-size: 2.2em;
    margin-bottom:50px;
}