/* screens smaller than 640---------------------------------------------------------- */
@media only screen and (max-width: 640px) {
  /*下層共通*/
  /*------------------------------------------------------------------------------*/
  .inner_box01 {
    padding: 0;
    background: none;
    box-shadow: none;
    width: 94%;
    margin: 0 auto 50px;
  }
  .inner_box02 {
    padding: 0;
    background: none;
    box-shadow: none;
    width: 94%;
    margin: 0 auto 50px;
  }

  /*layout*/
  /*------------------------------------------------------------------------------*/
  #contents {
    margin-top: 0;
  }
  #contents_in {
    width: 100%;
    display: block;
  }
  #main {
    width: 100%;
  }
  #side {
    width: 94%;
    margin: 0 auto 50px;
  }
  .owned #contents_in #main {
    width: 100%;
    max-width: 800px;
  }
  .owned #footer_box01 #unit01 {
    top: auto;
  }
  .owned #footer_box01 #unit01 dt {
    margin: 0 0 30px;
  }

  /*pagetitle_area*/
  /*--------------------------------------------------------------------------------*/
  #pagetitle_area {
    position: relative;
    height: 180px;
    z-index: 0;
  }
  #pagetitle_area::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: RGBA(0, 0, 0, 0.3);
    z-index: -1;
  }

  /*locator*/
  /*--------------------------------------------------------------------------------*/
  #locator {
    width: 94%;
    text-align: center;
    margin: 0 auto 20px;
    color: #014099;
    padding: 10px 0;
  }
  #locator a {
    color: #014099;
  }

  /*pagetitle*/
  /*------------------------------------------------------------------------------*/
  #pagetitle {
    height: 180px;
    top: -234px;
    padding: 0 2%;
  }
  #pagetitle .subtitle02_01 {
    font-size: 30px;
  }

  /*subtitle*/
  /*------------------------------------------------------------------------------*/
  .subtitle03_01 {
    font-size: 24px;
    padding-top: 25px;
    margin-bottom: 30px;
  }
  .subtitle04_01,
  .subtitle04_02 {
    font-size: 16px;
  }
  .subtitle04_02 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .subtitle04_03 {
    font-size: 15px;
  }

  /*box*/
  /*------------------------------------------------------------------------------*/
  .box2_01 dl {
    margin-bottom: 40px;
  }
  .box2_01 dl:last-child,
  .box2_01 dl:nth-last-child(2):nth-child(odd) {
    margin-bottom: 10px;
  }
  .box2_02 .left_box {
    width: 100%;
    margin-bottom: 25px;
  }
  .box2_02 .right_box {
    width: 100%;
  }
  .box3_01 dl {
    width: 48%;
    margin-bottom: 40px;
  }
  .box3_01 dl:last-child,
  .box3_01 dl:nth-last-child(2):nth-child(odd) {
    margin-bottom: 10px;
  }

  /*table*/
  /*------------------------------------------------------------------------------*/
  .table_wrap {
    width: 100%;
    overflow-x: auto;
  }
  .table_wrap table {
    margin-bottom: 15px;
    width: 680px;
  }
  .table_wrap p {
    display: block;
    margin-bottom: 10px;
  }

  .table02 {
    border: none;
  }
  .table02 th {
    border: none;
    display: block;
    width: 100%;
    padding: 15px 3%;
  }
  .table02 td {
    border: none;
    display: block;
    width: 100%;
    padding: 20px 3%;
  }

  /*top_nav*/
  /*------------------------------------------------------------------------------*/
  .top_nav01 li {
    width: 48%;
  }
  .top_nav01 a {
    min-height: 80px;
  }

  /*bottom_nav*/
  /*------------------------------------------------------------------------------*/
  .bottom_nav01 {
    margin: 0 0 50px;
    padding: 40px 40px 30px;
    box-shadow: none;
  }
  .bottom_nav01 li {
    width: 100%;
    margin-bottom: 10px;
  }
  .bottom_nav01 a {
    height: auto;
    font-size: 15px;
    padding: 20px 14% 20px 15px;
  }
  .bottom_nav01.cell_3 li {
    width: 49%;
  }

  /*bottom_contact*/
  /*------------------------------------------------------------------------------*/
  .bottom_contact01 {
    margin-bottom: 50px;
    padding: 40px 40px 20px;
  }
  .bottom_contact01 dt {
    letter-spacing: 0;
  }
  .bottom_contact01 dl {
    width: 100%;
    margin-bottom: 20px;
  }
  .bottom_contact01 a,
  .bottom_contact01 dl:nth-child(4) dd {
    height: auto;
    font-size: 15px;
    padding: 20px 15px;
  }
  .one-column .bottom_contact01 dl {
    width: 100%;
  }

  /*side*/
  /*------------------------------------------------------------------------------*/
  #s_banner {
    text-align: center;
  }
  #s_banner .s_box {
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  /*tab*/
  /*------------------------------------------------------------------------------*/
  .tab li {
    width: calc(100% / 3);
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
  }
  .tab li:nth-child(3n + 1) {
    border-left: none;
  }
  .tab li a {
    height: 60px;
    font-size: 15px;
  }

  /*owned_nav*/
  /*------------------------------------------------------------------------------*/
  .owned_nav.bottom {
    margin-bottom: 0;
  }
  .owned_nav .inner {
    width: 100%;
    flex-wrap: wrap;
  }
  .owned_nav ul {
    width: 100%;
    order: 2;
    flex-wrap: wrap;
  }
  .owned_nav li {
    width: calc(100% / 3);
  }
  .owned_nav li:nth-child(3n) {
    border-right: 1px solid #ddd;
  }
  .owned_nav .search_text {
    width: 100%;
    order: 1;
    padding: 10px 20px;
  }

  /*products*/
  /*------------------------------------------------------------------------------*/
  #products_search {
    height: 45px;
  }
  #products_search input.search_textbox {
    width: calc(100% - 50px);
    height: 45px;
    padding: 10px 20px;
  }
  #products_search input.search_submit {
    height: 45px;
    width: 50px;
  }
  #products_box02 .unit:last-child,
  #products_box02 .unit:nth-last-child(2):nth-child(odd) {
    margin-bottom: 0;
  }
  #products_box02 dd {
    width: 100%;
    max-width: 100%;
    position: static;
    font-size: 15px;
    background: none;
    padding-top: 15px;
  }
  #products_box02 .in {
    height: auto;
  }
  #products_box02 p {
    margin: 15px 0;
  }

  /* products-list */
  /*------------------------------------------------------------------------------*/
  .toptitle03_02 {
    font-size: 26px;
    text-align: center;
  }
  .toptitle03_02::after {
    background: #3768af;
    width: 80px;
    height: 2px;
    position: absolute;
    top: auto;
    bottom: 0;
    right: auto;
    left: 50%;
    transform: translate(-50%, 0);
  }

  #top_box01 {
    padding: 20px 0;
    /*box-shadow: 0px 10px 23.75px 1.25px rgba(0, 0, 0, 0.1);*/
    margin-bottom: 20px;
  }
  #top_search {
    padding: 0 2%;
  }
  #top_search h3 {
    width: 100%;
    margin-bottom: 20px;
  }
  .top_search_in {
    padding-left: 0;
    width: 100%;
  }

  /*owned-media*/
  /*------------------------------------------------------------------------------*/
  #owned_box01 .slider-arrow {
    top: 29.125vw;
  }
  #owned_box01 dt {
    height: 58.25vw;
  }
  #owned_box01 dd {
    position: static;
    left: auto;
    bottom: auto;
    padding: 10px;
  }
  #owned_box01 dd a {
    font-size: 18px;
    padding: 5px;
  }
  #owned_box02 {
    padding: 30px 3% 10px;
  }
  #owned_box02 li {
    width: 100%;
  }
  #owned_box03_in {
    padding: 0 3% 20px;
  }
  #owned_box03_in dl {
    padding-right: 0;
  }
  #owned_box03_in dl:before,
  #owned_box03_in dl:after {
    content: none;
  }
  #owned_box03_in dt {
    padding: 10px 0 10px 10px;
  }
  #owned_box03_in dd {
    padding: 10px 10px 10px 20px;
  }
  #owned_box03_in .media_title {
    font-size: 16px;
    margin: 0 0 15px;
  }
  #owned_box03_in .media_cat {
    margin-bottom: 5px;
  }
  #owned_box03_in .media_date {
    display: block;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

  /*faq*/
  /*------------------------------------------------------------------------------*/
  .faq_box01,
  inner_box02 {
    padding: 30px 0 0;
  }
  .faq_box01 dl {
    padding: 10px 10px 0;
    margin-bottom: 30px;
  }
  .faq_box01 dt {
    font-size: 15px;
    padding: 2px 20px 0 60px;
    margin-bottom: 10px;
  }
  .faq_box01 dt:before {
    font-size: 30px;
    padding-right: 10px;
  }
  .faq_box01 dd {
    padding: 10px 0 10px 60px;
    margin-top: 10px;
  }
  .faq_box01 dd:before {
    font-size: 28px;
    padding-right: 10px;
    top: 10px;
  }

  /* rss */
  /*------------------------------------------------------------------------------*/

  #sub_rss_box dt {
    float: none;
    width: 100%;
    margin-bottom: 5px;
  }
  #sub_rss_box .rss_title {
    float: none;
    width: 100%;
  }
  #sub_rss_box .rss_contents {
    clear: both;
    margin-top: 5px;
    padding: 5px 0 0 0;
  }

  /* contact_info_box */
  /*------------------------------------------------------------------------------*/

  .contact_info_box {
    padding: 25px 5%;
  }
  .contact_info_title {
    margin-bottom: 15px;
  }
  .contact_info_num {
    font-size: 20px;
  }

  /* cart */
  /*------------------------------------------------------------------------------*/

  .cart_list {
    width: 100%;
    overflow: auto;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .cart_list::-webkit-scrollbar {
    height: 10px;
  }
  .cart_list::-webkit-scrollbar-track {
    border-radius: 10px;
    background: #ddd;
  }
  .cart_list::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #213f85;
  }
  .scroll-info {
    display: block;
    margin-bottom: 10px;
    text-align: center;
    font-size: 12px;
  }

  .cart_list table {
    width: 700px;
  }
  .cart_list tr,
  .cart_list tr > * {
    float: none !important;
  }

  .cart_list tr,
  .cart_list tr > * {
    width: auto;
  }
  .cart_list tr > *:nth-child(1) {
    width: 25%;
  }
  .cart_list tr > *:nth-child(3) {
    width: 100px;
  }
  .cart_list tr > *:nth-child(4) {
    width: 100px;
  }

  .product_four_block {
    float: none;
    width: 100%;
    margin-right: 0px;
    margin-bottom: 40px;
    text-align: center;
  }

  .product_four_block img {
    width: 70%;
    height: auto;
  }

  .rp_img {
    margin-bottom: 10px;
  }

  .product_tp_l {
    float: none;
    width: 100%;
    margin-bottom: 10px;
  }

  .product_tp_r {
    float: none;
    width: 100%;
    margin: 0;
  }

  /*#area01, #area02, #area03, #area04, #area05, #area06, #area07, #area08, #area09, #area10 {
	margin-top:-100px;
padding-top:100px;
}*/

  /*#area07 {
	margin-top:-30px;
	padding-top: 50px;
}*/

  .one-column .bottom_contact01 a,
  .one-column .bottom_contact01 dl:nth-child(4) dd {
    height: 20px !important;
  }

  .con_telfax_box {
    height: 20px !important;
    display: block;
  }

  .con_telfax li {
    font-size: 14px !important;
    line-height: 1;
  }

  .con_telfax .tel {
    font-size: 20px !important;
    line-height: 1;
  }

  /*box*/
  /*------------------------------------------------------------------------------*/
  .box2_03 dl {
    width: 100%;
    margin-bottom: 40px;
  }
  .box2_03 dt {
    margin-bottom: 10px;
  }
  .box2_03 li {
    font-size: 12px;
  }
  .box2_03 dl:last-child {
    margin-bottom: 10px;
  }

  /*add*/
  /*------------------------------------------------------------------------------*/
  .grid-col-sp-1 {
    grid-template-columns: repeat(1, 1fr);
  }

  .float_right {
    float: none;
  }

  .float_right.w300 {
    width: 300px;
  }

  /*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/

/* screens smaller than 540---------------------------------------------------------- */
@media only screen and (max-width: 539px) {
  /*owned-media*/
  /*------------------------------------------------------------------------------*/
  #owned_box03_in dl {
    flex-wrap: wrap;
  }
  #owned_box03_in dt {
    padding: 0;
    width: 100%;
  }
  #owned_box03_in dd {
    padding: 10px;
    width: 100%;
  }

  /*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/

/* screens smaller than 520---------------------------------------------------------- */
@media only screen and (max-width: 519px) {
  /*bottom_nav*/
  /*------------------------------------------------------------------------------*/
  .bottom_nav01.cell_3 li {
    width: 100%;
  }

  /*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/

/*bottom_nav*/
/*------------------------------------------------------------------------------*/
/* screens smaller than 420---------------------------------------------------------- */
@media only screen and (max-width: 419px) {
  /*box*/
  /*------------------------------------------------------------------------------*/
  .box2_01 dl,
  .box3_01 dl {
    width: 100%;
  }
  .box2_01 dt {
    margin-bottom: 10px;
  }
  .box2_01 li {
    font-size: 12px;
  }
  .box2_01 dl:nth-last-child(2):nth-child(odd),
  .box3_01 dl:nth-last-child(2):nth-child(odd) {
    margin-bottom: 40px;
  }

  .box2_03 dl {
    flex-direction: column;
  }
  .box2_03 dt {
    width: 100%;
  }
  .box2_03 dd {
    width: 100%;
  }
  .box2_03 dl:last-child {
    margin-bottom: 10px;
  }

  /*products*/
  /*------------------------------------------------------------------------------*/
  #products_box02 .unit {
    width: 100%;
    margin-bottom: 30px;
  }
  #products_box02 .unit:nth-last-child(2):nth-child(odd) {
    margin-bottom: 30px;
  }

  /*support*/
  /*------------------------------------------------------------------------------*/
  #support_box02 dt,
  #support_box02 dd {
    width: 100%;
  }

  /*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/
