/*-------------- media query ------------*/
.sp_large_inline {
  display: none;
}
@media screen and (max-width: 1024px) {
  :root {
    --headerHight: 50px;
  }
  .sp_large_inline {
    display: inline;
  }
  a.cube .txt {
    transform: none;
    position: static;
  }
  a.cube .ti .arrow:after {
    transform: translate(-50%, -50%) scaleY(0.6);
    opacity: 1;
    left: 50%;
  }
  a.cube:hover {
    transform: none;
  }
  a.cube:hover .txt {
    transform: none;
  }
  a.cube .txt p br {
    display: none;
  }

  #header {
    height: 50px;
    position: fixed;
    top: 0;
    left: 0;
    background: white;
    width: 100%;
    z-index: 9999;
  }
  #keyvisual {
    padding-top: var(--headerHight);
    /* overflow: hidden; */
  }

  #header > div.inner {
    padding: 0;
    height: 100%;
  }
  #header .sitename {
    padding: 0 0 0 10px;
    z-index: 888;
  }
  #header .sitename img.logo {
    width: 76px;
  }

  #nav-drawer {
    display: block;
    height: 100%;
    z-index: 999;
  }
  #globalmenu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    padding: 0;
    z-index: 777;
  }
  #menu {
    padding: 100px 20px 20px;
    max-width: 640px;
    margin: auto;
  }
  #menu ul {
    display: block;
  }
  #menu > ul > li > a {
  }
  #menu > ul li {
    margin: 0.8em 0;
  }
  #menu ul ul li a {
    position: relative;
    padding-left: 23px;
  }
  #menu ul ul li a:before {
    content: "";
    width: 15px;
    height: 1px;
    background: #444444;
    position: absolute;
    left: 0;
    top: 50%;
  }
  #menu ul ul ul {
    padding-left: 20px;
  }
  #menu ul ul ul li > a {
    position: relative;
    padding-left: 10px;
    line-height: 1.4;
  }
  #menu ul ul ul li a:before {
    content: "\e902";
    font-family: "icomoon";
    font-size: 7px;
    width: auto;
    height: auto;
    background: transparent;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-30%);
  }
  #menu > ul > li > a {
    font-weight: normal;
  }
  #menu .child_area {
    display: block;
    position: static;
    background: transparent;
    transform: none;
    padding: 0;
    margin-left: 1em;
  }
  #menu .child_area:before {
    display: none;
  }
  #menu > ul > li.child > a:after {
    display: none;
  }
  #menu .child_area > ul > li > a {
    padding-left: 20px;
  }
  #menu .child_area > ul > li a::after {
    display: none;
  }
  #topService .section {
    align-items: flex-start;
  }
  #topEenvironment .textarea {
    width: 50%;
  }
  #topNews .news-list {
    padding: 0 var(--sideMargin);
  }
  #footer .footerlink {
    display: none;
  }
  #footer .corp {
    width: 100%;
    padding: 0;
  }
  #contents.sub {
    padding-top: var(--headerHight);
  }
  #kv {
    display: block;
    padding-left: 0;
  }
  #kv .photoarea {
    width: 100%;
  }
  #kv .textarea {
    width: 100%;
    padding-top: 50px;
    padding: 50px var(--sideMargin) 0;
    margin-bottom: 50px;
  }
  #kv .title span.en {
    font-size: 40px;
  }
  #kv .title span.ja {
    font-size: 28px;
  }
  #kv .textarea .subtitle {
    font-size: 20px;
  }
  #kv .textarea .discription {
    font-size: 14px;
    line-height: inherit;
  }
  .contentWrap {
    padding: 10px calc(var(--sideMargin)) 0;
  }
  .window-x {
    width: 100%;
  }
  .window-x {
    overflow-x: scroll;
    padding: 1em 0;
  }
  .window-x table.function tr td {
    padding: 1em;
  }

  /*-------------- 1024px ------------*/
}

.pc {
  display: block;
}
.sp {
  display: none;
}

@media screen and (max-width: 834px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }

  .title h3 span.en {
    font-size: 40px;
  }
  .title h3 span.ja {
    font-size: 28px;
  }
  .title2 h3 {
    font-size: 20px;
    line-height: 1.4;
  }
  .more_btn a {
    padding: 0.6em 2.5em;
  }
  .more_btn a span {
    font-size: 15px;
  }
  html,
  body {
    width: 100%;
    height: 100%;
  }
  #keyvisual {
    width: 100%;
    height: 100vh;
  }
  #keyvisual .photoarea {
    width: 100%;
    height: 100%;
  }
  #keyvisual .photoarea .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  #keyvisual .textarea {
    width: auto;
    min-width: auto;
    /* padding: 150px 10% 10%; */
    /* background: url(../img/top/paper_sp.png) no-repeat; */
    /* background-position: left top 50px; */
  }
  #keyvisual .textarea:after {
    display: none;
  }
  #keyvisual .textarea .text-cont {
    width: auto;
  }
  #keyvisual .textarea h2 {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 0.5em;
    width: 75%;
  }
  #keyvisual .textarea p {
    width: 75%;
  }

  /*-------- slider style --------*/

  #keyvisual .pagenation {
    position: absolute;
    left: 0;
    bottom: -25vh;
    justify-content: center;
    z-index: 100;
  }
  /* @media screen and (max-width: 375px) {
    #keyvisual .pagenation {
      bottom: -220px;
    }
  } */
  #keyvisual .pagenation span.swiper-pagination-bullet {
    background: #999;
    border-radius: 10px;
    width: 10px;
    height: 10px;
    margin: 0 0.3em;
  }
  #topConcept {
    margin: 0 0 0 0;
    padding: 0;
  }
  #topConcept .photoarea {
    position: relative;
    z-index: 11;
  }
  #topConcept .textarea:after {
    transform: translate(20%, 20%);
  }
  #topConcept .photoarea .imgs {
    width: 100%;
    height: clamp(300px, 100vw, 500px);
  }
  #topConcept .photoarea .imgs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #topConcept .textarea {
    position: relative;
    width: 100%;
  }
  #topEenvironment {
    height: clamp(300px, 100vw, 500px);
  }
  #topEenvironment .photoarea,
  #topEenvironment .inner {
    height: 100%;
  }
  #topEenvironment .photoarea .imgs {
    height: 100%;
  }
  #topNews .flex {
    display: block;
  }
  #topNews .news-list {
    width: 100%;
    padding: 30px var(--sideMargin);
  }
  #topRecruit {
    margin-bottom: 100px;
  }
  #topRecruit .photoarea {
    height: 100vw;
  }
  #topRecruit .photoarea {
    height: clamp(300px, 100vw, 500px);
  }
  #topRecruit .photoarea .imgs {
    width: 100%;
    height: 100%;
  }
  #topRecruit .photoarea .imgs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #topRecruit h3 {
    font-size: 70px;
  }
  #topRecruit:after {
    top: -100px;
  }
  #topRecruit .textarea {
    padding: 30px var(--sideMargin);
  }
  #topRecruit .textarea .text-cont {
    padding: 0px 0 40px 0;
  }
  #topRecruit .next_btn {
    height: auto;
    width: 300px;
    right: auto;
    bottom: auto;
    left: 50%;
    transform: translate(-50%, 0%);
  }
  #topRecruit .next_btn a {
    border-radius: 4px;
    padding: 1.5em;
  }
  #topRecruit .next_btn a span {
    font-size: 19px;
  }

  /**-*-*-*-*-*-*-*-* product*-*-*-*-*-*-*-*-**/
  .product-list dl dt {
    font-size: 16px;
  }
  #other .other-list a {
    width: 50%;
  }
  #product-item {
  }
  #product-item.contentWrap {
    margin: 3em var(--sideMargin);
    padding-right: 10%;
  }
  #product-item .eco {
    top: 0;
    right: 0%;
    transform: translate(0%, 0%);
    width: 100px;
  }
  #product-explain .flex {
    display: block;
  }
  #product-explain .item {
    width: 100%;
    margin-bottom: var(--sideMargin);
    padding: 25px;
  }
  #breadcrumbs {
    display: none;
  }
  #machine {
    margin: 100px 0;
  }
  #machine .machine .textarea {
    width: 100%;
    padding: 50px var(--sideMargin);
    display: block;
    margin: auto;
    transform: none;
  }
  #machine .machine .textarea h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-align: center;
    width: 70%;
    transform: translate(-50%, -50%);
    left: auto;
    right: auto;
    left: 50%;
  }

  #machine .machine02 .textarea h3 {
    right: auto;
  }
  #machine .machine .textarea h3 .big {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.05em;
  }
  #machine dl {
    margin: 2em auto;
    width: fit-content;
  }

  /**-*-*-*-*-*-*-*-* footer *-*-*-*-*-*-*-*-**/
  #footer .corp {
    width: 100%;
  }

  /*-------------- 834px ------------*/
}

@media screen and (max-width: 769px) {
  .more_btn {
    text-align: center;
  }

  #topEenvironment .textarea {
    width: 70%;
  }
  #topEenvironment .textarea h3 {
    font-size: 24px;
  }
  #topEenvironment .textarea p {
    text-align: left;
  }
  #topEenvironment .textarea:after {
    width: 80%;
    height: 100%;
  }

  /**-*-*-*-*-*-*-*-* product*-*-*-*-*-*-*-*-**/
  .product-list {
    max-width: calc(768px - var(--sideMargin) * 3);
    margin: auto;
  }
  .product-list ul li {
    width: 44%;
    margin: 5% 3%;
  }
  .btnarea .inq_btn.large a {
    font-size: 20px;
    padding: 1.3em;
    line-height: 1.4;
  }

  #product-item {
    display: block;
  }
  #product-item.contentWrap {
    padding: 0;
  }

  #product-item .thumb {
    width: 50%;
    margin: auto;
    position: relative;
  }
  #product-item dl {
    width: 100%;
    max-width: 500px;
    margin: 2em auto;
    padding: 0;
  }
  #product-item dl dt {
    font-size: 21px;
    text-align: center;
  }
  #product-item .eco {
    transform: translate(50%, -50%);
  }
  .thumblist {
    margin: 25px auto;
  }
  .thumblist ul li {
    width: 47%;
  }
  #procuct-place .place {
    display: block;
  }
  #procuct-place .place .place-cont {
    width: 100%;
  }
  #procuct-place .place .place-cont:nth-child(1):after {
    width: 70%;
    height: 1px;
    top: auto;
    bottom: 0;
    left: 50%;
    right: auto;
    transform: translate(-50%, 0);
    border-right: 0;
    border-bottom: 1px solid #18a2a2;
  }

  .func_ti h4 {
    font-size: 18px;
  }
  .contentWrap {
    padding-bottom: 0;
  }

  .window-x table.function {
    width: 900px;
  }
  .product-navi ul {
    flex-wrap: wrap;
  }
  .product-navi ul li {
    margin: 1.5%;
    width: 45%;
    text-align: center;
  }
  .product-navi .name {
    font-size: 14px;
  }
  .gallery-list dl {
    margin: 3% 1.3%;
    width: 47.3%;
  }
  .gallery-list dl dt {
    font-size: 15px;
  }
  #issue {
    display: block;
  }
  #issue .imgs {
    width: 100%;
    text-align: center;
  }
  #issue dl {
    width: 100%;
    padding: 40px 0;
  }
  #issue dl dd .more_btn {
    margin-top: 3em;
  }
  #corp-navi ul li a span {
    font-size: 16px;
  }
  #shaze ul {
    max-width: 430px;
  }
  #shaze ul li {
    font-size: 14px;
  }
  table.outline tr th {
    width: 22%;
  }
  table.outline tr th,
  table.outline tr td,
  table.factory tr th,
  table.factory tr td {
    padding: 0.8em;
  }
  #outline table.outline tr th,
  #outline table.outline tr td {
    font-size: 14px;
    line-height: 1.4;
  }

  table.outline tr th,
  table.outline tr td,
  table.outline tr td p,
  #outline table.outline tr td p,
  table.factory tr th,
  table.factory tr td p {
    font-size: 16px;
    line-height: 1.4;
  }
  table.outline tr td.flex,
  table.factory tr td.flex {
    display: block;
  }
  table.outline tr td.flex .more_btn,
  table.factory tr td.flex .more_btn {
    text-align: left;
  }
  #factory table.factory tr td p {
    width: auto;
  }

  /*---------- post ----------*/
  #post-detail .thumbnail .imgs {
    height: 50vw;
    width: 100%;
  }
  #post-detail .thumbnail .imgs img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  /*-------------- 769px ------------*/
}

.pc_mini {
  display: block;
}
.sp_mini {
  display: none;
}
.pc-inline {
  display: inline;
}
.sp-inline {
  display: none;
}

@media screen and (max-width: 768px) {
  :root {
    --sideMargin: 25px;
  }
  .pc_mini {
    display: none;
  }
  .sp_mini {
    display: block;
  }
  .pc-inline {
    display: none;
  }
  .sp-inline {
    display: inline;
  }
  a.cube {
    width: 100%;
    margin-bottom: var(--sideMargin);
  }
  a.cube .ti .arrow {
    left: 0;
    top: 35%;
    padding-left: 25px;
    transform: translate(0, -100%);
  }
  a.cube .txt {
    position: absolute;
    top: 38%;
    left: 0;
    padding: 0 25px;
    z-index: 89;
    margin: 0;
  }
  a.cube .txt p {
    color: white;
  }

  a.cube .ti .arrow:after {
    display: none;
  }
  a.cube .imgs:before {
    content: "\e904";
    font-family: "icomoon";
    color: white;
    position: absolute;
    font-size: 13px;
    transition: var(--transition);
    transform: scaleY(0.6);
    opacity: 1;
    left: auto;
    right: 5%;
    bottom: 5%;
    z-index: 78;
  }
  #other .other-list a {
    margin: 1.5em 0;
  }

  #keyvisual .textarea {
    padding: 80vh 5% 1%;
    width: 98%;
  }

  #topConcept .textarea {
    padding: var(--sideMargin);
    right: 0;
  }
  #topService .section {
    display: block;
  }
  #topService .section a.cube {
    width: 100%;
  }

  #topEenvironment {
    margin-bottom: 50%;
  }
  #topEenvironment .more_btn {
    width: 100%;
    position: absolute;
    bottom: -25%;
    left: 0;
    text-align: center;
  }

  #other .other-list {
    display: block;
  }
  #other .other-list a {
    width: 100%;
  }

  #procuct-place .place .place-cont {
    display: block;
  }
  .gallery-list {
    display: block;
  }
  .gallery-list dl {
    margin: 2em 0;
    width: 100%;
  }
  #issue {
    padding: 0;
    margin: 140px 0;
  }
  #issue dl {
    padding: 27px var(--sideMargin);
  }

  /*----- information ----*/

  #shaze .logo img {
    width: 60%;
  }
  table.outline tr th,
  table.factory tr th {
    width: 7em;
  }
  table.outline tr td,
  table.factory tr td {
    padding-right: 0;
  }

  /*---- privacy policy ----*/

  #privacy ol {
    margin: 2em 0;
  }
  #privacy ol li {
    margin: 0.5em 0;
    padding-left: 1.5em;
    line-height: 1.6;
  }

  /*----------- post -------------*/
  ul.post-list li {
    padding: 0.8em 0 1em 0;
  }
  ul.post-list li .meta {
    display: block;
    margin-bottom: 5px;
  }
  ul.post-list li .meta .new {
    width: fit-content;
    margin: 0.5em 0;
  }
  ul.post-list li .read_more {
    position: static;
    transform: none;
    text-align: right;
    padding: 0;
  }
  ul.post-list li .posttitle {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
  }
  #post-detail .posttitle {
    font-size: 16px;
  }
  #post-detail .posttitle br {
    display: none;
  }
  #post-detail .thumbnail .imgs {
    height: 80vw;
  }
  #post-relevance ul.post-list {
    margin: 0;
  }

  /*///////// footer /////////*/

  #footer {
    padding-bottom: 50%;
  }
  #footer .corp p {
    line-height: 1.6;
  }
  #footer .corp p.corp-name {
    font-size: 14px;
    margin-bottom: 0.5em;
  }
  #footer .inq_btn a {
    max-width: 100%;
    font-size: 20px;
    padding: 1.3em;
  }
  #footer .corp .mark {
    margin: 2em 0 3em 0;
  }
  .gototop {
    right: 50%;
    transform: translateX(50%);
  }
  .copyright p {
    font-size: 10px;
  }

  #other a.cube {
    margin: 0 0 30px;
  }
  /*-------------- 428px ------------*/
}
