/* Common responsive layout. */
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  min-width: 0;
}

#page {
  width: 100%;
  max-width: 1000px;
  overflow-x: hidden;
}

#page img {
  max-width: 100%;
  height: auto;
}

#page a:focus {
  outline: 3px solid #f0b429;
  outline-offset: 2px;
}

h1,
.header.w960,
.container.w960,
.footer_inner.w960 {
  width: 960px;
  max-width: calc(100% - 40px);
}

h1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header {
  height: auto;
  min-height: 0;
  background-size: 100% auto;
}

.header:after,
.container:after,
.big_container001:after,
.topcontag:after {
  content: "";
  display: block;
  clear: both;
}

.header > p.fl {
  max-width: calc(100% - 460px);
}

.header > p.clear img {
  display: block;
  width: 100%;
}

.legacy-image-nav {
  display: block;
}

.text-global-nav {
  display: none;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.text-global-nav a {
  color: #2f7f2f;
  text-decoration: none;
}

.h2bg01 {
  width: 710px;
  max-width: 100%;
}

.topcontag {
  width: 100%;
}

.index_bn1,
.index_bn2,
.index_bn3 {
  width: 230px;
}

.h2indexbn {
  width: 100%;
}

.mitdamashi {
  width: 100%;
  max-width: 710px;
}

.mitdamashiimg img {
  display: block;
  width: 100%;
}

@media screen and (min-width: 769px) {
  .header > div.w440.mt10 {
    margin-top: 5px !important;
  }

  .header > div.w440 > p.lh15,
  .header > div.w440 > p.lh15 a {
    line-height: 15px !important;
  }

  .header > div.w440 > .h10 {
    height: 0 !important;
  }
}

@media screen and (max-width: 1000px) {
  h1,
  .header.w960,
  .container.w960,
  .footer_inner.w960 {
    max-width: calc(100% - 32px);
  }

  .contents.w710 {
    width: calc(100% - 250px) !important;
  }

  .side_navi.w230 {
    width: 230px !important;
  }

  .h2bg01 {
    width: 100%;
  }

  .footer .w650 {
    width: calc(100% - 290px) !important;
  }

  .footer .btdotted.w650 {
    width: 100% !important;
  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 100%;
    line-height: 1.65;
    background-color: #fff;
  }

  #page {
    max-width: none;
  }

  .h1wrap {
    height: auto;
    background: #477f32;
  }

  h1 {
    width: 100%;
    max-width: none;
    height: auto;
    padding: 6px 14px;
    overflow: visible;
    font-size: 12px;
    line-height: 1.45;
    white-space: normal;
  }

  .header.w960,
  .container.w960,
  .footer_inner.w960 {
    width: 100%;
    max-width: none;
    padding-right: 14px;
    padding-left: 14px;
  }

  .header {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    padding-top: 14px;
    background: none;
  }

  .header > p.fl,
  .header > div.fr {
    float: none !important;
    width: 100% !important;
    max-width: none;
    text-align: center;
  }

  .header .w440 > img.fl {
    display: block;
    float: none !important;
    margin: 8px auto;
  }

  .legacy-image-nav {
    display: none;
  }

  .text-global-nav {
    display: grid;
    clear: both;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0 0;
  }

  .text-global-nav a {
    display: block;
    min-height: 44px;
    padding: 11px 8px;
    border: 1px solid #9fca9f;
    border-radius: 4px;
    background: #f5faf2;
    color: #2f7f2f;
    font-weight: bold;
    line-height: 1.35;
    text-align: center;
  }

  .text-global-nav a:hover,
  .text-global-nav a:focus {
    background: #e8f4e4;
    color: #1f641f;
    text-decoration: none;
  }

  .header > p.clear {
    margin-top: 12px;
  }

  .contents.w710,
  .side_navi.w230 {
    float: none !important;
    clear: both;
    width: 100% !important;
  }

  .contents {
    font-size: 15px;
    line-height: 1.7;
  }

  div.fl_left,
  div.fl_right {
    float: none !important;
    width: 100% !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
  }

  div.fl_left {
    text-align: center;
  }

  .title2,
  .h2bg01 {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0;
    margin-top: 18px !important;
    padding: 10px 12px !important;
    border-top: 1px solid #d6e6d2;
    border-bottom: 1px solid #d6e6d2;
    border-left: 5px solid #419b41;
    background: #f6faf4 !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
  }

  .h2bg01 a {
    display: block;
  }

  .topcontag {
    float: none;
    width: 100%;
    margin-bottom: 18px;
  }

  .index_bn1,
  .index_bn2,
  .index_bn3 {
    float: none !important;
    width: 100% !important;
    min-height: 0;
    margin-right: 0 !important;
    padding: 14px !important;
    border: 1px solid #cfdcc9;
    background: #f8fbf5 !important;
  }

  .h2indexbn {
    float: none !important;
    width: 100% !important;
    margin: 0 0 8px !important;
  }

  .index_bn1 a,
  .index_bn2 a,
  .index_bn3 a {
    display: block;
    padding: 6px 0;
  }

  .mitdamashi {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    padding-bottom: 12px;
    border: 1px solid #d7e1d7;
    background: #315f43 !important;
  }

  .mitdamashiimg {
    float: none !important;
    margin: 0 0 12px !important;
  }

  .mitdamashitxt,
  .mitdamashitxt02 {
    float: none !important;
    width: auto !important;
    margin: 0 14px 12px !important;
    font-size: 14px;
    line-height: 1.65;
  }

  .side_navi {
    margin-top: 20px !important;
    padding: 0;
    list-style: none;
  }

  ul.side_navi .n1,
  ul.side_navi .n2,
  ul.side_navi .n3 {
    height: auto !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #dbe6d8;
    background: none !important;
    line-height: 1.5 !important;
  }

  ul.side_navi .n1 a,
  ul.side_navi .n2 a,
  ul.side_navi .n3,
  ul.side_navi li > a {
    display: block;
    min-height: 42px;
    padding: 10px 12px !important;
  }

  ul.side_navi .n1 a,
  ul.side_navi .n3 {
    background: #eef7eb;
    font-weight: bold;
  }

  ul.side_navi li img {
    display: block;
    margin: 12px auto !important;
  }

  .footer {
    margin-top: 20px;
  }

  .footer_inner {
    padding-top: 20px !important;
  }

  .footer .w270,
  .footer .w650,
  .footer .btdotted {
    float: none !important;
    width: 100% !important;
  }

  .footer img {
    float: none !important;
    margin: 0 8px 10px 0 !important;
  }

  .footer ul {
    float: none !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
  }

  .footer li a {
    display: inline-block;
    padding: 4px 0;
  }

  .copyright {
    height: auto;
    padding: 6px 10px;
    line-height: 1.4;
  }
}

@media screen and (max-width: 480px) {
  .header.w960,
  .container.w960,
  .footer_inner.w960 {
    padding-right: 10px;
    padding-left: 10px;
  }

  .contents {
    font-size: 15px;
  }

  .text-global-nav {
    gap: 6px;
  }

  .text-global-nav a {
    padding-right: 6px;
    padding-left: 6px;
  }

  .footer img {
    max-width: 100%;
  }
}
.title1 {
  box-sizing: border-box;
  width: 100%;
  height: auto !important;
  min-height: 31px;
  background-color: #f7f7f7;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
}
.table-scroll-note {
  display: none;
  margin: 0 0 6px;
  color: #555;
  font-size: 13px;
  line-height: 1.5;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}

.table-scroll:focus {
  outline: 3px solid #f0b429;
  outline-offset: 2px;
}

.table-scroll table {
  margin-bottom: 0 !important;
}

@media screen and (max-width: 768px) {
  .title1 {
  box-sizing: border-box;
  width: 100%;
  height: auto !important;
  min-height: 31px;
  background-color: #f7f7f7;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
}
.table-scroll-note {
    display: block;
  }

  .table-scroll {
    margin-bottom: 18px;
    padding-bottom: 4px;
  }

  .table-scroll table {
    width: auto !important;
    max-width: none !important;
  }

  .table-scroll--product-spec table {
    min-width: 640px;
  }

  .table-scroll--piston-prices table {
    min-width: 680px;
  }

  .table-scroll--whitford table {
    min-width: 980px;
  }

  .table-scroll th,
  .table-scroll td {
    white-space: normal;
  }

  .table-scroll--piston-prices th,
  .table-scroll--piston-prices td,
  .table-scroll--whitford th,
  .table-scroll--whitford td {
    word-break: keep-all;
  }

  .contents .w340 {
    float: none !important;
    width: 100% !important;
    max-width: 100%;
  }
  .contents table.table-fluid {
    width: 100% !important;
    max-width: 100%;
    table-layout: auto;
  }

  .contents table.table-fluid th,
  .contents table.table-fluid td {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .contents table.table-fluid th.w160,
  .contents table.table-fluid td.w160 {
    width: 34% !important;
  }

  .contents table.table-fluid--image-grid {
    float: none !important;
    margin-left: 0 !important;
  }

  .contents table.table-fluid--image-grid td {
    width: 50%;
    padding: 6px !important;
    vertical-align: top;
  }

  .contents table.table-fluid--image-grid img {
    max-width: 100%;
    height: auto;
  }

  .title1 {
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    min-height: 31px;
    padding: 8px 12px 8px 16px !important;
    background: #f7f7f7 !important;
    border: 1px solid #ccc;
    font-size: clamp(15px, 4vw, 16px) !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
  }
}
.map-responsive {
  position: relative;
  width: 100%;
  max-width: 710px;
  aspect-ratio: 71 / 30;
  overflow: hidden;
  margin-bottom: 4px;
}

.map-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form-table input[type="text"],
.contact-form-table textarea,
.contact-confirm-table td {
  max-width: 100%;
  box-sizing: border-box;
}

.contact-form-actions,
.contact-confirm-actions {
  display: block;
  text-align: center;
}

.contact-confirm-table td {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media screen and (max-width: 768px) {
  .map-responsive {
    aspect-ratio: 4 / 3;
    min-height: 280px;
  }

  .contact-form-table,
  .contact-form-table tbody,
  .contact-form-table tr,
  .contact-form-table th,
  .contact-form-table td,
  .contact-confirm-table,
  .contact-confirm-table tbody,
  .contact-confirm-table tr,
  .contact-confirm-table th,
  .contact-confirm-table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  .contact-form-table tr,
  .contact-confirm-table tr {
    margin-bottom: 12px;
  }

  .contact-form-table th,
  .contact-confirm-table th {
    padding: 8px 10px !important;
    text-align: left;
  }

  .contact-form-table td,
  .contact-confirm-table td {
    padding: 8px 10px !important;
  }

  .contact-form-table input[type="text"],
  .contact-form-table input[type="email"],
  .contact-form-table input[type="tel"],
  .contact-form-table select,
  .contact-form-table textarea {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 8px;
    font-size: 16px;
    line-height: 1.5;
    box-sizing: border-box;
  }

  .contact-form-table textarea {
    min-height: 180px;
  }

  .contact-form-actions,
  .contact-confirm-actions {
    margin: 14px 0 !important;
    text-align: center !important;
  }

  .contact-form-actions input[type="submit"],
  .contact-confirm-actions input {
    min-height: 44px;
    margin: 4px 6px;
    padding: 8px 18px;
    font-size: 16px;
    line-height: 1.4;
  }

  .contact-confirm-error {
    overflow-wrap: anywhere;
  }
}
