
.company_wrapp {
    /*background:#e60012;
    background: #02af79; */
        background: #369d78;
    padding:0px 0;
    position: relative;
    margin-bottom: 150px;
}

.company_wrapp .company_wrapp_in {
    margin-top: -80vh;
    
    @media screen and (max-width: 767px) {
margin-top: -90vh;
    }
}

.company_wrapp .bg_movie {
    position: sticky;
    z-index: 1;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    opacity: 0.45;
}
.company_wrapp .bg_movie video {
        display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
}

/* サブナビ */
/* 1200px以下で少し細く */
/* 767px以下で下部固定 */
.company_sub_nav {
    z-index: 4;
    left: 0;
    background: #fff;
    width: 12%;
    padding: 50px 20px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    
    box-shadow: 6px 6px 17px 0px rgba(0, 0, 0, 0.19);
    min-width: 88px;
    position: absolute;
    @media screen and (max-width: 1200px) {
        width: 14%;
        padding: 40px 1.5%;
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
    }
    @media screen and (max-width: 767px) {
        border-radius: 20px;
        bottom: 5vh;
        left: 10px;
        padding: 12px 1.5%;
        position: fixed;
        right: 10px;
        width: calc(100% - 20px);
    }
}


.company_sub_nav .cara {
  width: 80%;
    position: absolute;
    top: -30%;
    left: 5%;
    @media screen and (max-width: 767px) {
    width: 30%;
    top: -130%;
    left: 0%;
    }
}

.company_sub_nav .cara .cara_in {
    width: 50%;
    margin: 0 auto;
}

.company_sub_nav .cara .fukudashi {
       animation: subnav_yurayura 2s linear infinite; 
}
@keyframes subnav_yurayura {
  0% , 100%{
      transform: scale(0.8) translateY(10px);
  }
  50%{
    transform: scale(1) translateY(0px);
  }
}


#js-sidemenu.company_sub_nav {
     opacity: 1;
    
    @media screen and (max-width: 767px) {
      transition: all .6s ease; 
     opacity: 0;
        bottom: -5vh;
    }  
    
}
/* 初期状態非表示 */
#js-sidemenu.company_sub_nav.mobile-fixed {

    opacity: 0;
    @media screen and (max-width: 767px) {
     opacity: 1;
        bottom: 5vh;
    }  
    
}
.company_sub_nav ul {
    @media screen and (max-width: 767px) {
        align-items: stretch;
        display: flex;
        justify-content: center;
    }
}
.company_sub_nav li {
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    @media screen and (max-width: 767px) {
        line-height: 1;
        margin-bottom: 0;
    }
}
.company_sub_nav li a {
    font-size: min(2.8vw, 15px);
    position: relative;
    display: inline-block;
    background: #fff;
    padding: 0 5px;
    z-index: 2;
    transition: all .6s ease;
    @media screen and (max-width: 1200px) {
        font-size: clamp(11px, 1.5vw, 15px);
        line-height: 1.6;
        text-align: center;
    }
    @media screen and (max-width: 767px) {
        background: transparent;
        padding: 14px 2.4vw 0;
        font-size: clamp(10px, 2vw, 14px);
    }
}
.company_sub_nav li.current a {
    color: #e60012;
    font-size: 120%;
    font-weight: 700;
    @media screen and (max-width: 1200px) {
        font-size: clamp(11px, 1.5vw, 15px);
    }
    @media screen and (max-width: 767px) {
        font-size: clamp(10px, 2vw, 14px);
    }
}
.company_sub_nav li::after {
    content: "";
    width: 0%;
    height: 2px;
    background: #e60012;
    position: absolute;
    right: 0;
    left: 50%;
    top: 49%;
    z-index: 1;
    transition: all .6s ease;
    @media screen and (max-width: 767px) {
        background: #e60012;
        clip-path: polygon(0 40%, 50% 0, 100% 40%, 100% 55%, 50% 15%, 0 55%);
        height: 12px;
        width: 12px;
        left: calc(50% - 6px);
        top: 10%;
    }
}
.company_sub_nav li.current::after {
    content: "";
    width: 80%;
    height: 2px;
    background: #e60012;
    position: absolute;
    right: 0;
    left: 50%;
    top: 49%;
    z-index: 1;
    /* モバイル時はボーダーではなく丸に */
    @media screen and (max-width: 767px) {
        background:radial-gradient(circle farthest-side, #e60012 50%, #fff 65%, #fff 75%,#e60012 90%, #fff 100%);
        border-radius: 50%;
        clip-path:none;
        height: 12px;
        width: 12px;
        right: auto;
        left: calc(50% - 6px);
        top: 0;
    }
}
.company_sub_nav li a:hover {
    color: #e60012;
}

.company_sub_nav li:hover::after {
    width: 80%;
    @media screen and (max-width: 767px) {
        transform: scale(1.1);
        width: 12px;
    }
}
.company_sub_nav li.current:hover::after {
    @media screen and (max-width: 767px) {
        width: 12px;
    }   
}


.company_wrapp .contents_in {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    /*margin-top: -70vh;*/
    position: relative;
    z-index: 2;
}
@media screen and (max-width: 1200px) {
    .company_wrapp .contents_in {
        margin-block: 0;
        margin-left: max(15%, 94px);/* 左ナビ分 */
        margin-right: 60px;/* 右ナビ分 */
        width: auto;
    }
}
@media screen and (max-width: 767px) {
    .company_wrapp .contents_in {
        margin: 0 auto;
        width: 90%;
    }
}

.company_wrapp .company_title {
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(32px, 4.5vw, 70px);
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    line-height: 100%;
}
@media screen and (max-width: 1200px) {
    .company_wrapp .company_title {
        margin-bottom: 40px;
    }
}
@media screen and (max-width: 768px) {
    .company_wrapp .company_title {
        flex-direction: column;
    }
}

.company_wrapp .company_title span {
    font-size: 18px;
    margin-left: 15px;
}
@media screen and (max-width: 768px) {
    .company_wrapp .company_title span {
        margin-left: 0;
    }
}

.company_section_wrapp {
    position: relative;
    z-index: 2;
    color: #fff;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 80px;
}
@media screen and (max-width: 1200px) {
    .company_section_wrapp {
        width: 100%;
    }
}
.company_section_wrapp:has(.company_title) {
    padding-bottom: 0;
}

/**数字で見るアイビ産業**/
.company_wrapp .item_nom {
    width: 100%;
    background: #deefd7;
    color: #0b6d40;
    text-align: center;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
}

.company_numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 80%;
    margin-inline: auto;
    max-width: 1200px;
}

.company_number {
    padding: 20px 10px;
}

.company_number:nth-child(2){
    border-left: 1px solid currentColor;
    border-right: 1px solid currentColor;
}

.company_number_title {
    font-size: clamp(14px, 1.4vw, 25px);
    font-weight: bold;
    margin-bottom: 50px;
}

.company_number_text {
    font-size: min(1.5vw, 34px);
    font-weight: bold;
    line-height: 1;
    margin-bottom: 10px;
}

.company_number_text .num {
    font-family: "Josefin Sans", sans-serif;
    font-size: clamp(40px, 6.5vw, 120px);
    font-weight: 400;
}
.company_number_text .num2 {
    font-family: "Josefin Sans", sans-serif;
    font-size: clamp(55px, 5.5vw, 110px);
    font-weight: 700;
        display: inline-block;
    overflow: hidden;
}
.company_number_text .num2 span {
    display: inline-block;
    transform: translateY(105%);
    transition: all 0.8s;
}

.company_number_text .num2.late2 span {
    transition-delay: 0.5s;
}

.company_number_text .num2.on span {
    display: inline-block;
    transform: translateY(17%);
}



.odometer-formatting-mark {
    font-size: clamp(1.25rem, 0.49rem + 3.24vw, 3.125rem);
    letter-spacing: -.1em;
    margin-left: -.08em;
}

.company_number_text .num#odmeter {
    vertical-align: baseline;
}

.company_number:nth-child(2) .company_number_text .num {
    letter-spacing: -.05em;
}

.company_number_text .note {
    display: block;
    font-size: min(1.2vw, 20px);
    text-align: right;
    transform: translateY(-120%);
}

.company_number_image {
    margin-inline: auto;
    width: 70%;
}

@media screen and (max-width: 767px) {
    .company_wrapp .item_nom {
        margin-bottom: 15px;
    }
    
    .company_numbers {
        grid-template-columns: 1fr;
    }
    
    .company_number {
        padding: 20px 10px;
    }
    
    .company_number:nth-child(2){
        border-bottom: 1px solid currentColor;
        border-left: none;
        border-right: none;
        border-top: 1px solid currentColor;
    }
    
    .company_number_title {
        font-size: clamp(0.875rem, 0.383rem + 2.46vw, 1.563rem);
        margin-bottom: 20px;
    }
    
    .company_number_text {
        font-size: clamp(1.25rem, 0.624rem + 3.13vw, 2.125rem);
    }
    
    .company_number_text .num {
        font-size: clamp(3.75rem, 1.96rem + 8.95vw, 6.25rem);
    }
    
    .odometer-formatting-mark {
        font-size: clamp(1.25rem, 0.49rem + 3.24vw, 3.125rem);
    }
    
    .company_number_text .note {
        font-size: clamp(0.75rem, 0.392rem + 1.79vw, 1.25rem);
    }
}

.company_wrapp .item_nom img {
    width: 100%;
    max-width: 1500px;
    height: auto;
    margin: 0 auto;
}

.company_wrapp .item_cap {
    font-size: 11px;
    display: block;
    text-align: right;
    padding: 0 20px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.sub_text {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 2;
    padding: 80px 0;
}
.sub_text h4 {
    font-size: clamp(1.375rem, 1.008rem + 1.84vw, 2.5rem);
}
.sub_text p {
    font-size: 18px;
}


/***会社概要***/
.outline_image {
    width: 100%;
    margin: 0 auto 50px;
    position: relative;
    z-index: 2;
}

.leadImgs {
  width: 100%;
  overflow: hidden;
  position: relative;
        margin: 0 auto 50px;
    position: relative;
    z-index: 2;
    background: rgb(255 255 255);
    padding: 10px 0;
}
.leadImgs img {
    width: 120%;
    max-width: inherit;
    height: auto;
}

.leadImgTop {
    display: flex;
  -webkit-animation: leadImgTopSlider 40s linear infinite;
          animation: leadImgTopSlider 40s linear infinite;
  will-change: transform;
}
@-webkit-keyframes leadImgTopSlider {
  from {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(-120%);
            transform: translateX(-120%);
  }
}

@keyframes leadImgTopSlider {
  from {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(-120%);
            transform: translateX(-120%);
  }
}

@media screen and (max-width: 767px) {
    
.leadImgs {
    padding: 5px 0;
}
    
    
.leadImgs img {
    width: 300%;
    max-width: inherit;
    height: auto;
}
.leadImgTop {
    display: flex;
  -webkit-animation: leadImgTopSlider 20s linear infinite;
          animation: leadImgTopSlider 20s linear infinite;
  will-change: transform;
} 
   
@-webkit-keyframes leadImgTopSlider {
  from {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(-300%);
            transform: translateX(-300%);
  }
}

@keyframes leadImgTopSlider {
  from {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(-300%);
            transform: translateX(-300%);
  }
} 
    
    
}




.company_table {
    width: 100%;
}

.company_wrapp .company_table th,
.company_wrapp .company_table td {
    padding: 14px 10px;
    vertical-align: middle;
}

.company_wrapp .company_table th {
    border-bottom: 2px solid currentColor;
    font-size: clamp(11px, 1.65vw, 17px);
    min-width: 100px;
    text-align: left;
    width: 27%;
}

.company_wrapp .company_table td {
    border-bottom: 1px solid currentColor;
    font-size: clamp(10px, 1.5vw, 16px);
    text-align: left;
}

.inner_table_layout {
    display: grid;
    gap: 0 24px;
    grid-template-columns: auto 1fr;
}

.company_table_row {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: span 2;
}

:where(.company_table_row .bold) {
    font-weight: bold;
}

.company_products_text h3,
.company_suppliers_text h3  {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.375rem, 1.008rem + 1.84vw, 2.5rem);
    line-height: 140%;
    text-align: center;
    margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
    .company_products_text h3,
    .company_suppliers_text h3 {
        line-height: 120%;
    }
}

.company_products_text h3 .jp,
.company_suppliers_text h3 .jp {
    font-size: clamp(0.75rem, 0.628rem + 0.61vw, 1.125rem);
    position: relative;
    display: block;
}

.company_products {
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(3,1fr);
    }

@media screen and (max-width: 767px) {
    
    .company_products {
        gap: 3px;
        grid-template-columns: repeat(2,1fr);
    }
}


.company_product {
    align-items: center;
    background-color: rgb(255 255 255 / 90%);
    color: #016b45;
    display: flex;
    font-size: clamp(10px, 1.5vw, 16px);
    justify-content: center;
    padding: 6px;
    text-align: center;
}

.company_suppliers {
    border-bottom: 1px solid currentColor;
    border-top: 1px solid currentColor;
    display: grid;
    gap: 2px 3%;
    grid-template-columns: repeat(4,1fr);
    margin-bottom: 16px;
    padding: 24px 0;
}

@media screen and (max-width: 1050px) {
    
    .company_suppliers {
        grid-template-columns: repeat(2,1fr);
    }
}

@media screen and (max-width: 767px) {
    
    .company_suppliers {
        margin-bottom: 8px;
    }
}


.company_supplier {
    font-size: clamp(10px, 1.3vw, 16px);
}

.company_suppliers_note {
    font-size: clamp(10px, 1.25vw, 13px);
    font-weight: bold;
    text-align: right;
}

/**ご挨拶**/
.company_greeting_in {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.company_greeting_in .company_greeting_photo {
     width: calc(590 / 1200 *100%);
    overflow: hidden;
}
.company_greeting_in .company_greeting_body {
    width: calc(520 / 1200 *100%);
}

.company_greeting_in .company_greeting_text {
    padding: 40px 0;
}

.company_greeting_in .company_greeting_text + .company_greeting_text {
    margin-top: 20px;
}

.company_greeting_in_title {
    font-size: clamp(16px, 1.6vw, 30px);
    font-weight: bold;
    line-height: 2.16;
    margin-bottom: 40px;
}

.company_greeting_in_text {
    font-size: clamp(12px, 1vw, 16px);
    line-height: 2.2;
}

@media screen and (max-width: 767px) {

    .company_greeting_in .company_greeting_photo {
        width: 100%;
        margin-bottom: 30px;
    } 
    .company_greeting_in .company_greeting_body {
        width: 100%;
        margin: 0 auto;
    }
    .company_greeting_in .company_greeting_text {
        padding: 20px 0;
    }
    .company_greeting_in_title {
        line-height: 2;
        margin-bottom: 20px;
    } 
    .company_greeting_in_text {
        line-height: 1.8;
    } 

}



/**会社沿革**/
.company_history {
    display: grid;
    grid-template-columns: auto auto 1fr;
    padding-bottom: 120px;
}

.company_history_row {
    align-items: start;
    display: grid;
    gap: 6vw;
    grid-template-columns: subgrid;
    grid-column: span 3;
    padding-top: min(4.6vw,80px);
}

.company_history_row.--year_empty,
.company_history_row:first-of-type {
    padding-top:  min(.6vw,18px);
}

.company_history_year {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.5rem, 1.051rem + 2.24vw, 2.875rem);
    font-weight: bold;
    line-height: 1;
}

.company_history_row_inner {
    align-items: start;
    display: grid;
    grid-column: span 2;
    grid-template-columns: subgrid;
    gap: 1vw;
    margin-top: min(1.8vw, 20px);;
    position: relative;
}

.company_history_row_inner::before {
    background: currentColor;
    content: "";
    display: block;
    height: calc(100% + 120px);
    left: calc(-3.6vw + 1px);
    position: absolute;
    top: 0;
    width: 2px;
}

.company_history_row:last-of-type .company_history_row_inner:before {
    background: linear-gradient(#ffffff, transparent);
}

.company_history_date,
.company_history_text {
    font-size: clamp(11px, 1vw, 16px);
    margin: -0.5em 0;
}
.company_history_text a {
   color: #fff;
    text-decoration: underline;
}

.company_history_date {
    align-items: center;
    display: flex;
    position: relative;
    white-space: nowrap;
}

.company_history_date::before {
    background-color: #00874a;
    border: 2px solid currentColor;
    border-radius: 50%;
    content: "";
    display: block;
    height: .8vw;
    left: -4vw;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: .8vw;
    z-index: 1;
}

.company_history_row.--year_empty .company_history_date::before {
    border: 1px solid currentColor;
    height: .6vw;
    left: -3.9vw;
    width: .6vw;
}

.company_history_date::after {
    background-color: currentColor;
    content: "";
    display: block;
    height: 1px;
    left: -3.8vw;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3.6vw;
}

