

@media screen and (min-width: 1024px) {

    div#body_container {
        margin-top: 50px;
    }
    div#body_container form#inquiry_form {
        width: 1000px;
        margin: 0px auto;
    }
    div#body_container div#content_wrap {
        width: 1000px;
        margin: 0px auto;
    }
    div#body_container h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    div#instruction_wrap {
        width: 100%;
        margin-bottom: 30px;
        font-size: 14px;
        line-height: 1.5;
        color: #000000;
    }
    div#error_msg {
        width: 100%;
        margin-bottom: 15px;
        font-size: 16px;
        font-weight: bold;
        line-height: 1.5;
        color: #dd0000;
        text-decoration: underline;
    }
    div#body_container div.row_wrap {
        margin-bottom: 20px;
    }
    div#body_container div.row_wrap div.tag {
        padding: 0px 3px 5px;
        font-size: 16px;
    }
    div#body_container div.row_wrap div.tag span.required_cmt {
        color: #dd0000;
        font-size: 12px;
        vertical-align: middle;
        font-weight: bold;
    }
    div#body_container div.row_wrap div.val {
        
    }
    div#body_container div.row_wrap div.val input[type='text'] {
        width: 100%;
        height: auto;
        line-height: 1.3;
        padding: 5px;
        font-size: 16px;
        background-color: #eaf6ff;
        border: 1px solid #cccccc;
    }
    div#body_container div.row_wrap div.val input[type='text']#post_code {
        width: 200px !important;
        margin-bottom: 3px;
    }
    div#body_container div.row_wrap div.val select {
        width: 100%;
        height: auto;
        line-height: 1.3;
        padding: 5px;
        font-size: 16px;
        background-color: #eaf6ff;
        border: 1px solid #cccccc;
    }
    div#body_container div.row_wrap div.val select.product {
        margin-bottom: 3px;
    }
    
    div#body_container div.row_wrap div.val textarea {
        width: 100%;
        height: 150px;
        line-height: 1.3;
        padding: 5px;
        font-size: 16px;
        background-color: #eaf6ff;
        border: 1px solid #cccccc;
    }
    div#body_container div.row_wrap div#address_wrap {
        display: flex;
        flex-wrap: wrap;
    }
    div#body_container div.row_wrap div#address_wrap div.subtag {
        width: 50px;
        font-size: 16px;
        padding: 8px 5px 0px 0px;
        text-align: right;
    }
    div#body_container div.row_wrap div#address_wrap div.subval {
        width: calc(100% - 50px);
    }
    div#body_container div#for_order {
        color: #ffffff;
        background-color: #dd0000;
        font-size: 18px;
        margin: 40px auto 20px;
        padding: 5px;
    }

    div#body_container div.submit_wrap {
        text-align: center;
    }
    div#body_container div.submit_wrap button#submit {
        font-size: 18px;
        padding: 20px 30px;
        border: none;
        border-radius: 0px;
        background-color: #e32525;
        color: #ffffff;
        cursor: pointer;
    }
    div#body_container div.submit_wrap button#return {
        font-size: 18px;
        padding: 20px 30px;
        border: none;
        border-radius: 0px;
        background-color: #a3b4bc;
        color: #ffffff;
        cursor: pointer;
    }
    
    div#body_container div.row_wrap div#name,
    div#body_container div.row_wrap div#mail,
    div#body_container div.row_wrap div#post_code,
    div#body_container div.row_wrap div#address,
    div#body_container div.row_wrap div#tel,
    div#body_container div.row_wrap div#sport,
    div#body_container div.row_wrap div#product,
    div#body_container div.row_wrap div#design,
    div#body_container div.row_wrap div#delivery_time,
    div#body_container div.row_wrap div#quantity,
    div#body_container div.row_wrap div#comment {
        border: 1px solid #cccccc;
        background-color: #eaf6ff;
        background-color: #ffffff;
        padding: 10px;
        min-height: 40px;
        line-height: 1.3;
    }
    
    div#body_container div.row_wrap div#comment {
        border: 1px solid #cccccc;
        padding: 10px;
        min-height: 100px;
        line-height: 1.3;
    }
    
    div#thanks_wrap {
        width: 100%;
        text-align: center;
        font-size: 16px;
        line-height: 2em;
        padding-top: 50px;
    }
    div#thanks_wrap a {
        display: inline-block;
        font-size: 18px;
        padding: 20px 30px;
        border: none;
        border-radius: 0px;
        background-color: #e32525;
        color: #ffffff;
        cursor: pointer;
        margin-top: 15px;
    }

}

@media screen and (max-width: 1023px) and (min-width: 768px) {

    div.message_wrap {
        display: flex;
        padding: 100px 0px 200px;
    }
    div.message_wrap div.message {
        width: auto;
        font-size: 14px;
        line-height: 1.5;
        flex-shrink: 10;
    }
    div.message_wrap div.message h3 {
        width: 100%;
        font-size: 36px;
        margin-bottom: 20px;
    }
    div.message_wrap div.message a.discover {
        display: inline-block;
        font-weight: bold;
        color: #ffffff;
        background-color: #000000;
        transition: background-color 0.3s ease;
        padding: 20px 40px;
        margin-top: 40px;
        font-size: 13px;
    }
    div.message_wrap div.message a.discover:hover {
        background-color: #ffffff;
        color: #000000;
    }

    div.message_wrap div.image {
        width: 230px !important;
        padding: 0px 0px 0px 50px;
    }
    div.message_wrap div.image img {
        width: 100%;
    }

    div.image_wrap {
        display: flex;
        width: 100%;
    }
    div.image_wrap div {
        width: calc(100% / 3);
        height: auto;
    }
    div.image_wrap img {
        width: 100%;
    }


    div#body_container div#top_image {
        width: 100%;
        height: 90vh;
        position: relative;
    }
    div#body_container div#top_image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
    div#body_container div#top_image div.brand_name {
        position: absolute;
        top: 60%;
        left: 5%;
        font-weight: bold;
        color: #ffffff;
        font-size: 2vw;
    }
    div#body_container div#top_image div.page_title {
        position: absolute;
        top: 62%;
        left: 5%;
        font-weight: bold;
        color: #ffffff;
        font-size: 8vw;
    }
    div#body_container div#top_image div.our_history {
        position: absolute;
        width: 60%;
        top: 55%;
        left: 20%;
        font-weight: bold;
        color: #ffffff;
        font-size: 3vw;
        line-height: 1.5;
    }


    div.for_the_world_message_wrap {
        display: flex;
        padding: 100px 0px 100px;
        width: 100%;
    }
    div.for_the_world_message_wrap div.message {
        width: calc(100% - 250px);
        font-size: 14px;
        line-height: 1.5;
        flex-grow: 10;
    }
    div.for_the_world_message_wrap div.message h3 {
        width: 100%;
        font-size: 36px;
        margin-bottom: 20px;
    }
    div.for_the_world_message_wrap div.message div.sub {
        width: 100%;
        font-size: 24px;
        margin-bottom: 20px;
    }
    div.for_the_world_message_wrap div.message div.tag {
        width: 100%;
        font-size: 24px;
        margin-bottom: 20px;
        font-style: italic;
    }
    div.for_the_world_message_wrap div.image {
        width: 250px;
        padding: 0px;
        text-align: center;
        font-size: 16px;
    }
    div.for_the_world_message_wrap div.width-50 {
        width: 50% !important;
        padding: 0px 0px 0px 20px;
        flex-grow: 0 !important;
    }
    div.for_the_world_message_wrap div.image img {
        width: 100%;
    }
    div.for_the_world_message_wrap div.image img.small {
        width: 100px !important;
    }


    div.our_history_message_wrap {
        display: flex;
        padding: 100px 0px 100px;
        width: 100%;

    }
    div.our_history_message_wrap div.article {
        width: 50%;
        padding: 0px 20px;
    }
    div.our_history_message_wrap div.article.about_product {
        width: calc(100% / 3);
        padding: 0px 20px;
    }
    div.our_history_message_wrap div.article.about_ideal {
        width: calc(100% / 3);
        padding: 0px 20px;
        font-size: 22px;
        line-height: 1.5;
    }
    div.our_history_message_wrap div.article.about_ideal:first-child {
        padding: 0px 20px 0px 0px !important;
    }
    div.our_history_message_wrap div.article.about_ideal:last-child {
        padding: 0px 0px 0px 20px !important;
    }
    
    div.our_history_message_wrap div.article div.img {
        text-align: center;
        margin-bottom: 10px;
    }
    div.our_history_message_wrap div.article div.img img {
        width: 170px;
    }
    div.our_history_message_wrap div.article.about_product div.img img {
        width: 130px !important;
    }
    div.our_history_message_wrap div.article h3 {
        font-size: 22px;
        text-align: center;
        margin-bottom: 25px;
        font-weight: bold;
    }
    div.our_history_message_wrap div.article div.message {
        font-size: 14px;
        text-align: center;
        line-height: 1.5;
    }


}

@media screen and (max-width: 767px){

    div.message_wrap {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
        padding: 50px 0px 50px;
    }
    div.message_wrap div.message {
        width: auto;
        font-size: 14px;
        line-height: 1.5;
        flex-shrink: 10;
    }
    div.message_wrap div.message h3 {
        width: 100%;
        font-size: 30px;
        margin-bottom: 20px;
    }
    div.message_wrap div.message a.discover {
        display: inline-block;
        font-weight: bold;
        color: #ffffff;
        background-color: #000000;
        transition: background-color 0.3s ease;
        padding: 20px 40px;
        margin-top: 40px;
        font-size: 13px;
    }
    div.message_wrap div.message a.discover:hover {
        background-color: #ffffff;
        color: #000000;
    }
    div.message_wrap div.image {
        width: 100% !important;
        padding: 0px 0px 20px;
        text-align: center;
    }
    div.message_wrap div.image img {
        width: 80%;
    }

    div.image_wrap {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    div.image_wrap div {
        width: 100%;
        height: auto;
    }
    div.image_wrap img {
        width: 100%;
    }


    div#body_container div#top_image {
        width: 100%;
        height: 90vh;
        position: relative;
    }
    div#body_container div#top_image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
    div#body_container div#top_image div.brand_name {
        position: absolute;
        top: 60%;
        left: 5%;
        font-weight: bold;
        color: #ffffff;
        font-size: 4vw;
    }
    div#body_container div#top_image div.page_title {
        position: absolute;
        top: 62%;
        left: 5%;
        font-weight: bold;
        color: #ffffff;
        font-size: 10vw;
    }
    div#body_container div#top_image div.our_history {
        position: absolute;
        width: 80%;
        top: 55%;
        left: 10%;
        font-weight: bold;
        color: #ffffff;
        font-size: 5vw;
        line-height: 1.5;
    }


    div.for_the_world_message_wrap {
        display: flex;
        flex-wrap: wrap;
        padding: 50px 0px 50px;
        width: 100%;
    }
    div.for_the_world_message_wrap div.message {
        width: 100%;
        font-size: 14px;
        line-height: 1.5;
        flex-grow: 10;
    }
    div.for_the_world_message_wrap div.message h3 {
        width: 100%;
        font-size: 30px;
        margin-bottom: 20px;
    }
    div.for_the_world_message_wrap div.message div.sub {
        width: 100%;
        font-size: 20px;
        margin-bottom: 20px;
    }
    div.for_the_world_message_wrap div.message div.tag {
        width: 100%;
        font-size: 18px;
        margin-bottom: 20px;
        font-style: italic;
    }
    div.for_the_world_message_wrap div.image {
        width: 100%;
        padding: 0px;
        text-align: center;
        font-size: 16px;
    }
    div.for_the_world_message_wrap div.width-50 {
        width: 100% !important;
        padding: 20px 0px 0px 0px;
        flex-grow: 0 !important;
    }
    div.for_the_world_message_wrap div.width-50 > img {
        width: 100% !important;
    }
    div.for_the_world_message_wrap div.image img {
        width: 60%;
    }
    div.for_the_world_message_wrap div.image img.small {
        width: 100px !important;
    }


    div.our_history_message_wrap {
        display: flex;
        flex-wrap: wrap;
        padding: 50px 0px 50px;
        width: 100%;

    }
    div.our_history_message_wrap div.article {
        width: 100%;
        padding: 10px 0px;
    }
    div.our_history_message_wrap div.article.about_product {
        width: 100%;
        padding: 20px 0px;
    }
    div.our_history_message_wrap div.article.about_ideal {
        width: 100%;
        padding: 20px 0px 20px;
        font-size: 22px;
        line-height: 1.5;
        text-align: left;
    }

    div.our_history_message_wrap div.article div.img {
        text-align: center;
        margin-bottom: 10px;
    }
    div.our_history_message_wrap div.article div.img img {
        width: 170px;
    }
    div.our_history_message_wrap div.article.about_product div.img img {
        width: 130px !important;
    }
    div.our_history_message_wrap div.article h3 {
        font-size: 22px;
        text-align: center;
        margin-bottom: 15px;
        font-weight: bold;
    }
    div.our_history_message_wrap div.article div.message {
        font-size: 14px;
        text-align: left;
        line-height: 1.5;
    }


}