@charset "utf-8";

/* header */
@media screen and (max-width: 1399px){
.cw_header-contact-pc,.cw-header-btn2{
  display: none;
}

.cw_only-sp{
  display: block;
  }
.other_nav.cw_only-sp{
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;

}
ul.cw_other_nav > li {
    width: 100%;
    clear: both;
}
ul.cw_other_nav > li span {
  background: #fff;
  margin: 0px 0px 3px;
  padding: 0.5em 1em;
  width: 100%;
  height: auto;
  color: #EC6608;
  font-size: 14px;
  font-weight: bold;
  display: block;
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}
ul.cw_other_nav > li span::after{
  transition: 0.5s;
  width: 0.8em;
  height: 0.8em;
  top: 0.8em;
  right: 1em;
  border-right-color: #EC6608;
  border-bottom-color: #EC6608;
  border-right-width: 2px;
  border-bottom-width: 2px;
  border-right-style: solid;
  border-bottom-style: solid;
  display: block;
  position: absolute;
  content: "";
  transform: rotate(-45deg);
}
ul.cw_other_nav li.cw_sp-news span::after{
  border-right-color: #0B2DA3;
  border-bottom-color: #0B2DA3;
}
ul.cw_other_nav li.cw_sp-news span a {
  color: #0B2DA3;
}
ul.cw_other_nav > li.no_sub a {
  color: #EC6608;
  text-decoration: none;
  position: relative;
}

ul.cw_other_nav li span > a::before{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  position: absolute;
  top: 0.8em;
  left: 1em;
  display: block;
}
ul.cw_other_nav li.cw_sp-news span a::before{
  width: 23px;
  height: 23px;
  background-image: url(../images/news.png);
  top: -20%;
  left: -45%;
  
}
ul.cw_other_nav li:nth-child(2) span a::before{
  width: 30px;
  height: 30px;
  background-image: url(../images/letter.png);
  top: -45%;
  left: -37%;
}
ul.cw_other_nav li:nth-child(3) span a::before{
  width: 18px;
  height: 18px;
  background-image: url(../images/meeting.png);
  top: -10%;
  left: -22%;
}

}
@media screen and (min-width: 1400px){
  .cw_only-pc{
  display: block;
  }
  .cw_only-sp{
    display: none;
    }
  #cw_header.header_box{
    padding-right: 20px;
  }
  #cw_header.header_box .logo {
    width: 280px;
  }
#cw_header nav{
  width: calc(100% - 740px);
}
.cw_header-btn{
  width: auto;
  height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
ul.cw-header-btn2{
  max-width: 100%;
  width: 100%;
  /* height: 50%; */
  display: flex;
  justify-content: space-between;

  font-size: 14px;
}
ul.cw-header-btn2 li{
height: 100%;
background-color: #00164A;
position: relative;
}
li.cw_header-contact-pc{
  max-width: 100%;
  width: 100%;
  background-color:#EC6608;
  display: inline-block;
  text-align: center;
  margin-bottom: 10px;
  position: relative;
}
li.cw_header-contact-pc a{
  padding: 10px 20px;
  display: block;
  color: #fff!important;
  cursor: pointer;
 
}
li.cw_header-contact-pc::after{
  background-image: url(../images/arrow-header-contact.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  width: 15px;
  height: 15px;
  content: "";
  position: absolute;
  top:35%;
  right: 10px;
}
li.cw_header-contact-pc:hover::after{
  animation: fuwafuwa 1s linear infinite;
}

ul.cw-header-btn2 li:first-child{
  margin-right: 10px;
}
ul.cw-header-btn2 a{
  height: inherit;
  color: #fff!important;
  padding: 10px 40px 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
}
ul.cw-header-btn2 li a:after{
  background-image: url(../images/arrow-header.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  width: 15px;
  height: 15px;
  content: "";
  position: absolute;
  top:calc(50% -.8em);
  right: 10px;
  
  }
  ul.cw-header-btn2 li a:hover::after{
    animation: fuwafuwa 1s linear infinite;
}
@keyframes fuwafuwa{
  0%{transform:translateX(0)}
  50%{transform:translateX(-8px)}
  100%{transform:translateX(0)}
 }
}

/* 製品情報一覧 */
#cw_product-inner.inner{
  max-width: 960px;
  width: 90%;
  margin: 0 auto;
}
.cw_product-wrap{
  display: grid;
  margin-top: 40px;
}
@media screen and (min-width:1000px) {
.cw_product-wrap{
    grid-template-columns: repeat(3,1fr);
    gap: 0px 60px;
}
}
@media screen and (min-width:660px) and (max-width:999px) {
.cw_product-wrap{
    grid-template-columns: repeat(2,1fr);
    gap: 0px 60px;
}
}
@media screen and (max-width:659px) {
.cw_product-wrap{
  display: grid;
  grid-template-columns: repeat(1,1fr);
  gap: 30px;
  margin-top: 30px!important;
}
}
@media screen and (max-width:769px) {
.cw_product-wrap{
  margin-bottom: 60px;
}
}
.cw_product-wrap p{
    background-color: #75C6E8;
    padding: 10px;
    display: inline-block;
    position: relative;
    box-shadow: 2px 4px 15px -6px #163846;
    margin-bottom: 40px;
}
@media screen and (max-width:659px) {
  .cw_product-wrap p{
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
}
}
/* .cw_product-wrap p a{
    position: relative;
} */
.cw_arrow {
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    margin: auto 0;
    line-height: 1;
  }
  .cw_arrow:before,
  .cw_arrow:after {
    content: "→";
    position: absolute;
    top: 0;
    right: 0;
    animation-fill-mode: forwards;
    animation-duration: 0.6s;
  }
  .cw_arrow:after {
    transform: translateX(-100%);
  }
  .cw_product-wrap p a:hover .arrow:before {
    animation-name: transformRightLeft; /* 修正: hover時のアニメーションを指定 */
    animation-delay: 0s;
  }
  .cw_product-wrap p a:hover .arrow:after {
    animation-name: transformLeftRight; /* 修正: hover時のアニメーションを指定 */
    animation-delay: 0.2s;
  }
  
  @keyframes transformLeftRight {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(0);
    }
  }
  @keyframes transformRightLeft {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(100%);
    }
  }
  
  .arrow-button a{
    display:inline-block;
    cursor:pointer;
    position: relative;
    text-decoration: none;
    font-size: 15px;
    color: #fff;
    font-weight: bold;
    display: flex;
    justify-content: center;
  }
  @media screen and (max-width:659px) {
    .arrow-button a{
    font-size: 14px;
  }
}
  .arrow-button::after {
    content: "";
    display: block;
    position: absolute;
    top: 40%;
    left: 93%;
    width: 40px;
    height: 5px;
    border: none;
    border-right: 2px solid #000;
    border-bottom: 1px solid #000;
    transform: skew(45deg);
    transition: .3s;
  }
  @media screen and (max-width:659px) {
    .arrow-button::after {
      left: 90%;
  }
}
  .arrow-button:hover::after {
    position: absolute;
    top: 40%;
    left: 90%;
    width: 60px;
    height: 5px;
  }


  /* カタログ一覧 */
  .button-border {
    max-width: 260px;
    width: 100%;
    display: block;
    margin: 0 auto;
    border: 1px solid #75C6E8;
    padding: 10px 40px;
    position: relative;
    color: #fff;
    text-decoration: none;
    background-color: #75C6E8;
    border-radius: 5px;
    overflow: hidden; /* 擬似要素のはみ出し防止 */
    box-sizing: border-box;
    box-shadow: 2px 4px 15px -6px #163846;
    text-align:center;
    }
    
    /* 擬似要素共通：丸みを継承 */
    .button-border::after,
    .button-border::before,
    .button-border span::after,
    .button-border span::before {
      background-color: #fff;
      content: '';
      display: block;
      position: absolute;
      z-index: 10;
      transition: all 0.3s ease;
      border-radius: 5px; /* もしくは inherit */
    }
    
    /* 線の初期配置（内側1px） */
    .button-border::after {
      height: 2px;
      width: 0;
      top: 3px;
      left: 3px;
    }
    
    .button-border::before {
      height: 2px;
      width: 0;
      bottom: 3px;
      right: 3px;
    }
    
    .button-border span::after {
      width: 2px;
      height: 0;
      bottom: 3px;
      left: 3px;
    }
    
    .button-border span::before {
      width: 2px;
      height: 0;
      top: 3px;
      right: 3px;
    }
    a.button-border{
      font-weight:bold;
      color:#fff;
      margin-top: 30px;
    }
    a.button-border:hover{
      font-weight:bold;
      color:#fff;
    }
    /* ホバー時に内側に沿って広がる */
    .button-border:hover::after,
    .button-border:hover::before {
      width: calc(100% - 6px);
    }
    
    .button-border:hover span::after,
    .button-border:hover span::before {
      height: calc(100% - 6px);
    }

    /* TOPページボタン */
    .arrow-button2{
      position:relative;
      max-width:260px;
      width:100%;
      background-color: #75C6E8;
        padding: 10px;
        display: inline-block;
        position: relative;
        box-shadow: 2px 4px 15px -6px #163846;
        margin-bottom: 40px;
      }
      @media screen and (max-width: 374px) {
        .arrow-button2{
          max-width:200px;
      }
    }
       .arrow-button2 span{
        display:inline-block;
        cursor:pointer;
        position: relative;
        text-decoration: none;
        font-size: 15px;
        color: #fff;
        font-weight: bold;
        display: flex;
        justify-content: center;
        }
        @media screen and (max-width:659px) {
        .arrow-button2 span{
        font-size: 14px;
        }
        }
      .arrow-button2::after {
        content: "";
        display: block;
        position: absolute;
        top: 40%;
        left: 93%;
        width: 40px;
        height: 5px;
        border: none;
        border-right: 2px solid #fff;
        border-bottom: 1px solid #fff;
        transform: skew(45deg);
        transition: .3s;
        }
        @media screen and (max-width:659px) {
        .arrow-button2::after {
          left: 90%;
        }
        }
        @media screen and (max-width:374px) {
        .arrow-button2::after {
          width: 30px;
          left: 95%;
        }
        }
      .arrow-button2:hover::after {
        position: absolute;
        top: 40%;
        left: 90%;
        width: 60px;
        height: 5px;
        }