/*------------------------------------------------------------
common
------------------------------------------------------------*/
body {
  font-family: 'Noto Sans JP', 'Century Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 游ゴシック体, YuGothic, "Yu Gothic Medium", 游ゴシック, 'Yu Gothic', メイリオ, Meiryo, sans-serif;
}

#company {
  font-size: 13px;
  font-weight: 500;
  color: #1F0305;
  overflow: hidden;
  background: #fff;
  position: relative;
}

#company * {
  box-sizing: border-box;
}

#company a {
  transition: opacity .3s;
}

#company a[href^="tel:"] {
  display: inline-block;
  transition: none;
}

#company a:hover {
  text-decoration: none;
}

#company a:focus-visible {
  outline: none;
}

#company img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

#company .js-fadein {
  opacity: 0;
  transform: translate(0, 20px);
  transition-property: opacity, transform;
  transition-duration: 1s;
}

#company .scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}

#company .pc-br {
  display: none;
}

#company .sp-br {
  display: inline;
}

#company .inner {
  width: calc(100% - 24px);
  max-width: 1200px;
  margin: 0 auto;
}

#company .inner-inside{
  width: calc(100% - 36px);
  margin: 0 auto;
}

#company .font-mont{
  font-style: normal;
  font-family: montserrat, sans-serif;
  font-weight: 600;
}

#company .company-txt a{
  color: #1F0305;
  transition: all .3s;
}

#company .company-txt a.mail-link{
  display: block;
  margin-top: 5px;
}

#company .company-txt a.pdf-link svg{
  display: inline-block;
  width: 15px;
  height: 18px;
  margin-left: 5px;
  transform: translateY(3px);
}

#company .company-txt a.pdf-link svg path{
  fill: #D41221;
  transition: all .3s;
}

#company .common-heading .ja{
  background: rgb(255, 255, 255);
  background: linear-gradient(-90deg, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 25%, rgb(212, 18, 33) 43%, rgb(230, 0, 133) 59%, rgb(31, 3, 5) 75%, rgb(31, 3, 5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-position: 100%, 0;
  background-size: 400% 100%;
}
#company .common-heading .en{
  background: rgb(31, 3, 5);
  background: linear-gradient(-90deg, rgb(31, 3, 5) 0%, rgb(230, 0, 133) 38%, #e60012 75%, #e60012 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-position: 100%, 0;
  background-size: 400% 100%;
}

#company .common-heading.scroll-in .ja{
  animation: heading01 ease-in-out 2s forwards;
}
#company .common-heading.scroll-in .en{
  animation: heading01 ease-in-out 3s forwards;
}

#company .company-heading{
  position: relative;
  padding-top: 110px;
}

#company .company-heading::before{
  position: absolute;
  content: "COMPANY";
  bottom: 40px;
  left: 12px;
  color: #FEF2F2;
  font-style: normal;
  font-family: montserrat, sans-serif;
  font-weight: 700;
  font-size: 50px;
  line-height: .8;
  z-index: -1;
}

#company .company-heading .ja,
#company .company-heading .en{
  display: block;
  line-height: 1.1;
}

#company .company-heading .ja{
  margin-bottom: 8px;
  font-size: 23px;
  font-weight: 700;
}

#company .company-heading .en{
  position: relative;
  display: block;
  padding-left: 15px;
  font-size: 18px;
  font-style: normal;
  font-family: montserrat, sans-serif;
  font-weight: 700;
} 

#company .company-menu{
  max-width: 1200;
  margin: 100px auto 0;
  display: flex;
  flex-wrap: wrap;
}

#company .menu-item{
  position: relative;
  width: 50%;
  margin-bottom: 10px;
}

#company .company-menu .menu-item:nth-of-type(3),
#company .company-menu .menu-item:nth-of-type(4){
  margin-bottom: 0;
}

#company .company-menu .menu-item:nth-of-type(3)::after,
#company .company-menu .menu-item:nth-of-type(4)::after{
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  top: -5px;
  left: 0;
  background-color: #DDD;
}

#company .company-menu .menu-item:nth-of-type(2n){
  border-right: solid 1px #DDDDDD;
}

#company .company-menu .menu-item:nth-of-type(2n+1){
  border-left: solid 1px #DDDDDD;
  background-image: repeating-linear-gradient(180deg, #DDD, #DDD 2px, transparent 2px, transparent 4px);
  background-position: right top;
  background-repeat: repeat-y;
  background-size: 1px 100%;
}

#company .company-menu .menu-item-txt{
  position: relative;
  display: block;
  padding: 10px 0 22px;
  color: #1F0305;
  font-size: 15px;
  text-align: center;
  transition: all .3s;
}

#company .company-menu .menu-item-txt::before{
  position: absolute;
  content: "";
  width: 15px;
  height: 10px;
  left: calc(50% - 8px);
  bottom: 4px;
  background: url("../images/company/arrow_red.svg")no-repeat center center / contain;
  transition: all .3s;
}

#company .content-heading .ja,
#company .content-heading .en{
  display: block;
  line-height: 1;
}

#company .content-heading .ja{
  margin-bottom: 5px;
  font-size: 23px;
  font-weight: 700;
}

#company .content-heading .en{
  position: relative;
  padding-left: 16px;
  font-size: 18px;
  font-style: normal;
  font-family: montserrat, sans-serif;
  font-weight: 700;
}

#company .content-heading .en::before{
  position: absolute;
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #E60012;
  top: calc(50% - 3px);
  left: 0;
}

#company .company-main{
  margin: 75px auto ;
  max-width: 1200px;
}

#company #content01,
#company #content03{
  background-color: #F7F8FC;
}

#company #content01{
  padding: 46px 0 40px;
}

#company .content01-txt{
  margin: 40px 0 20px;
}

#company .content01-txt .ttl{
  width: calc(100% + 28px);
  margin-right: -28px;
  margin-bottom: 30px;
  color: #D41221;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
}

#company .content01-txt .txt{
  margin-bottom: 1em;
  font-size: 14px;
  line-height: 1.78;
}

#company .content01-txt .ceo{
  text-align: right
}

#company .content01-txt .ceo .name{
  margin-left: 1em;
  font-size: 14px;
  line-height: 1. 78;
}

#company .content01-img{
  text-align: center;
}

#company #content02{
  padding: 75px 0;
}

#company .company-list {
    margin-top: 35px
}

#company .company-item {
    margin-bottom: 30px;
    border-bottom: solid 1px #DDDDDD
}

#company .company-ttl {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 700
}

#company .company-txt {
    padding-bottom: 8px;
    font-size: 14px;
    line-height: 1.5
}

#company .company-txt .name {
    padding-left: 16px
}

#company .company-txt .pdf-link{
  padding-right: 20px;
  color: #d41221;
  text-decoration: underline;
  transition: all .3s
}

#company #content03{
  padding: 40px 0;
}

#company .company-access {
  margin-bottom:0;
  border: none
}

#company .access-item{
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: solid 1px #DDDDDD;
}

#company .access-item:last-of-type {
  margin-bottom: 0
}

#company .access-txt .place {
  margin-bottom: 8px
}

#company .access-txt .place .ml-1 {
  margin-left: 1em
}

#company .access-txt .address {
  margin-bottom: 8px
}

#company .access-txt .address .ttl{
  margin: 20px 0 5px;
  color: #E60085;
  font-size: 14px;
  font-weight: 700;
}

#company .access-txt .address .txt {
  margin-bottom: 15px;
}

#company .access-item .img {
  width: 155px;
  margin-bottom: 8px
}

#company .access-item .map-block .map {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 44%
}

#company .access-item .map-block .map iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0
}

#company .access-item .map-block .map-link {
    margin-top: 10px;
    text-align: right
}

#company .access-item .map-block .map-link .link-txt {
    font-size: 13px;
}

#company .access-item .map-block .map-link .link-txt:after {
    display: inline-block;
    height: 13px;
    width: 15px;
    font-family: "Font Awesome 5 Free";
    content: "\f35d";
    font-weight: 600;
    font-size: 11px;
    margin: 0 0 0 4px;
    transform: translateY(-1px)
}

#company .access-external-link-block{
  margin-top: 20px;
}

#company .access-external-link{
  display: block;
  position: relative;
  width: 240px;
  margin: 0 auto;
  padding: 9px 0;
  border: solid 1px #707070;
  border-radius: 99px;
  text-align: center;
  overflow: hidden;
  z-index: 0;
}

#company .access-external-link:first-of-type{
  margin-bottom: 15px;
}

#company .access-external-link::before{
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #fff;
  z-index: -2;
}

#company .access-external-link .link-txt{
  position: relative;
  display: inline-block;
  padding-right: 16px;
  font-size: 14px;
  line-height: 1.14;
  text-align: left;
}

#company .access-external-link .link-txt::before{
  position: absolute;
  top: 0;
  right: 0;
  height: 13px;
  width: 15px;
  font-family: "Font Awesome 5 Free";
  content: "\f35d";
  font-weight: 600;
  font-size: 10px;
  margin: 0 0 0 4px;
  transform: translateY(-1px);
}

#company .access-external-link .link-txt::after{
  position: absolute;
  content: "";
  width: 10px;
  height: 6px;
  top: calc(50% - 3px);
  right: -10px;
  transform: rotate(90deg);
  background: url("../images/company/arrow_black.svg")no-repeat center center / contain;
}

#company #content04{
  padding: 50px 0 90px;
}

#company .history-list{
  margin-top: 20px;
}

#company .history-item{
  padding: 15px 18px;
  border-bottom: 1px solid #DDD;
}

#company .history-ttl{
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
}

#company .history-ttl .ad{
  margin-bottom: 10px;
  color: #E60085;
  font-size: 15px;
}

#company .history-txt .item{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-left: 10px;
  font-size: 14px;
  line-height: 1.6;
}

#company .history-txt .item:last-of-type{
  margin-bottom: 0;
}

#company .history-txt .month{
  width: 52px;
}

#company .history-txt .txt{
  width: calc(100% - 52px);
}

@media print, screen and (min-width: 768px) {
  
  #company .sp-br {
    display: none;
  }
  
  #company .pc-br {
    display: inline;
  }
  
  #company .inner-inside{
    width: 100%;
  }
  
  #company .company-txt a{
    color: #1F0305;
    font-weight: 700;
    text-decoration: none;
  }
  
  #company .company-txt a.pdf-link svg path{
    fill: #1F0305
  }
  
  #company .company-heading{
    padding-top: 140px;
    padding-left: 10px;
  }

  #company .company-heading::before{
    bottom: 80px;
    left: 20px;
    font-size: 120px;
  }

  #company .company-heading .ja{
    margin-bottom: 24px;
    font-size: 48px;
    filter: blur(0);
  }

  #company .company-heading .en{
    padding-left: 20px;
    font-size: 30px;
    filter: blur(0);
  }
  
  #company .company-heading .en::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 3px;
    top: -1px;
    left: 0;
    background: #fff;
    z-index: 1;
  }

  #company .company-menu{
    margin: 130px auto 0;
  }
  
  #company .company-menu .menu-item-txt{
    padding: 14px 0 28px;
    font-size: 18px;
  }

  #company .company-menu .menu-item-txt::before{
    width: 20px;
    height: 12px;
    left: calc(50% - 10px);
    bottom: 12px;
    transition: all .3s;
  }
  
  #company .menu-item{
    width: 25%;
    overflow: hidden;
    margin-bottom: 0!important;
    background-image: repeating-linear-gradient(180deg, #DDD, #DDD 3px, transparent 3px, transparent 6px);
    background-position: right top;
    background-repeat: repeat-y;
    background-size: 1px 100%;
  }

  #company .company-menu .menu-item:nth-of-type(3)::after,
  #company .company-menu .menu-item:nth-of-type(4)::after{
    content: none;
  }

  #company .company-menu .menu-item:nth-of-type(2n),
  #company .company-menu .menu-item:nth-of-type(2n+1){
    border: none;
  }
  
  #company .company-menu .menu-item:first-of-type{
    border-left: solid 1px #DDD;
  }
  
  #company .company-menu .menu-item:last-of-type{
    background: none;
    border-right: solid 1px #DDD;
  }
  
  #company .menu-item::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: #F7F8FC;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    transition: all .3s;
  }

  #company .content-heading .ja{
    margin-bottom: 16px;
    font-size: 34px;
    filter: blur(0);
  }

  #company .content-heading .en{
    padding-left: 20px;
    font-size: 26px;
    filter: blur(0);
  }

  #company .content-heading .en::before{
    width: 8px;
    height: 8px;
    top: calc(50% - 4px);
  }
  
  #company .content-heading .en::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 3px;
    top: -1px;
    left: 0;
    background: #fff;
    z-index: 1;
  }
  
  #company #content01 .content-heading .en::after,
  #company #content03 .content-heading .en::after{
    background-color: #F7F8FC;
  }
  
  #company .company-txt .pdf-link{
    color: #1F0305;
    font-weight: 700;
    text-decoration: none;
  }
  
  #company .company-main{
    margin: 150px auto;
  }

  #company #content01{
    padding: 100px 0;
  }

  #company #content01 .inner-inside{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 70px;
  }
  
  #company .content01-txt{
    width: calc(100% - 430px);
    margin: 0;
  }

  #company .content01-txt .ttl{
    width: 100%;
    margin: 0 0 60px;
    font-size: 30px;
    line-height: 1.5;
  }

  #company .content01-txt .txt{
    font-size: 18px;
    line-height: 1.8;
  }

  #company .content01-txt .ceo,
  #company .content01-txt .ceo .name{
    font-size: 18px;
    line-height: 1. 8;
  }

  #company #content02{
    padding: 150px 0;
  }
  
  #company .company-list {
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 80px
  }

  #company .company-list .company-list-block {
    width:calc((100% - 40px)/2)
  }

  #company .company-item {
    display:flex;
    margin-bottom: 60px;
    flex-wrap: wrap
  }

  #company .company-item:last-of-type {
    margin-bottom: 0
  }

  #company .company-access {
    display: block;
    width:100%;
    padding-bottom: 44px
  }


  #company .company-ttl {
    width:120px;
    font-size: 18px;
  }

  #company .company-txt {
    padding-bottom: 16px;
    font-size: 16px;
    line-height: 1.75
  }
  
  #company .pdf-link{
    color:#1f0305;
    font-weight: 700;
    text-decoration: none
  }
  
  #company #content03{
    padding: 100px 0;
  }
  
  #company .access-item{
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 50px 80px 50px 50px;
  }

  #company .access-txt {
    padding-right:16px
  }
  
  #company .access-txt .place {
    font-weight:700;
    margin-bottom: 20px
  }
  
  #company .access-item .img {
    width:260px;
    margin-bottom: 0
  }
  
  #company .access-item .map-block {
    width:490px
  }
  
  #company .access-item .map-block .map-link .link-txt {
    font-size:14px;
  }
  
  #company .access-txt .address .ttl{
    font-size: 15px;
  }
  
  #company .access-block{
    display: flex;
    justify-content: space-between;
    width: calc(50% + 15px);
  }
  
  #company .access-external-link-block{
    margin-top: 40px;
  }

  #company .access-external-link{
    width: fit-content;
    margin: 0;
    padding: 12px 60px 12px 28px;
    border-width: 2px;
  }

  #company .access-external-link:first-of-type{
    margin-bottom: 20px;
  }

  #company .access-external-link::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #E3E3E3;
    border-radius: 99px;
    transform: translateX(-100%);
    transition: all .3s;
    z-index: -1;
  }
  
  #company .access-external-link .link-txt{
    padding-right: 20px;
    color: #514F4F;
  }

  #company .access-external-link .link-txt::before{
    font-size: 11px;
  }

  #company .access-external-link .link-txt::after{
    width: 14px;
    height: 8px;
    top: calc(50% - 4px);
    right: -26px;
    transition: all .3s;
  }
  
  #company #content04{
    padding: 150px 0 180px;
  }

  #company .history-list{
    margin: 30px auto 0;
    max-width: 960px;
  }

  #company .history-item{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 0 30px;
  }

  #company .history-ttl{
    width: 200px;
    margin-bottom: 0;
  }

  #company .history-ttl .ad{
    font-size: 18px;
  }

  #company .history-txt{
    width: calc(100% - 200px);
  }
  
  #company .history-txt .item{
    margin-bottom: 20px;
    padding-left: 0;
    font-size: 16px;
  }

  #company .history-txt .month{
    width: 116px;
  }

  #company .history-txt .txt{
    width: calc(100% - 116px);
  }
}

@media print, screen and (min-width: 1201px){
  #company .menu-item:hover::before{
    transform: none;
  }
  
  #company .menu-item:hover .menu-item-txt::before{
    transform: translateY(2px);
  }
  
  #company .company-txt a:hover{
    color: #D41221;
  }
  
  #company .company-txt a:hover svg path{
    fill: #D41221;
  }
  
  #company.access-item .map-block .link-txt:hover  {
    color:#d41221
  }
  
  #company .access-external-link:hover::after{
    transform: none;
  }
  
  #company .access-external-link:hover .link-txt::after{
    transform: rotate(90deg) translateY(-8px);
  }
}

@keyframes heading01 {
  0% {
    background-position: 100%,0;
  }
  100% {
    background-position: 0,0;
  }
}