@charset "utf-8";
/* CSS Document */

/*採用ページ*/
.text1 {
    font-size: 22px;
    font-weight: 550;
}

.text2 {
    font-size: 15px;
}


.text3 {
    font-size: 22px;
    font-weight: 700;
    color: #005ECF;
}



/*new tab top page*/

.tabs {
  max-width: 700px;
  margin: auto;
}


.tabs input {
  display: none;
}


.tab-labels {
  display: flex;
  justify-content: center;
  gap: 40px;
  border-bottom: 1px solid #eee;
  width: fit-content;
  margin: 0 auto;
}

.tab-labels label {
  padding: 12px 0;
  cursor: pointer;
  font-weight: 500;
  color: #777;
  position: relative;
  transition: 0.3s ease;
}


.tab-labels label:hover {
  color: #000;
}


.tab-labels label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0%;
  height: 2px;
  background: #000;
  transition: 0.3s ease;
}


#tab1:checked ~ .tab-labels label[for="tab1"],
#tab2:checked ~ .tab-labels label[for="tab2"],
#tab3:checked ~ .tab-labels label[for="tab3"],
#tab4:checked ~ .tab-labels label[for="tab4"]{
  color: #000;
}

#tab1:checked ~ .tab-labels label[for="tab1"]::after,
#tab2:checked ~ .tab-labels label[for="tab2"]::after,
#tab3:checked ~ .tab-labels label[for="tab3"]::after,
#tab4:checked ~ .tab-labels label[for="tab4"]::after{
  width: 100%;
}


.tab-content {
  display: none;
  padding: 25px 0;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4{
  display: block;
}


@media (max-width: 600px) {
  .tab-labels {
    gap: 20px;
  }
}


.card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}


.card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-content2 {
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.text {
  flex: 1;
}

.image {
  text-align: right;
}

.image img {
  max-width: 100%;
  height: auto;
}


.card1 {
  padding: 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  border-left: 5px solid #6c757d; 
}


.card1::before {
 content: "";
  position: absolute;
  top: -20px;
  left: -40px;
  width: 180px;
  height: 100px;
  background: #fff;
  transform: rotate(-25deg);
}


.card1 h3,
.card1 p,
.card1 img {
  position: relative;
  z-index: 2; 
}

.card1:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.card1 h3 {
  margin-bottom: 10px;
}

.card1 p {
  font-size: 27px;
  padding-left: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}


.card1 img {
    margin-right: 10px;
}



.card2 {
  padding: 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  border-left: 5px solid #ffb400; 
}


.card2::before {
 content: "";
  position: absolute;
  top: -20px;
  left: -40px;
  width: 180px;
  height: 100px;
  background: #fff;
  transform: rotate(-25deg);
}


.card2 h3,
.card2 p,
.card2 img {
  position: relative;
  z-index: 2; 
}

.card2:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.card2 h3 {
  margin-bottom: 10px;
}

.card2 p {
  font-size: 27px;
  padding-left: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.card2 img {
    margin-right: 10px;
}





.card3 {
  background: #fff;
  padding: 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  border-left: 5px solid #6c757d; 
}


.card3::before {
 content: "";
  position: absolute;
  top: -20px;
  left: -40px;
  width: 180px;
  height: 100px;
}


.card3 h3,
.card3 p,
.card3 img {
  position: relative;
  z-index: 2; 
}

.card3:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.card3 h3 {
  margin-bottom: 10px;
}

.card3 p {
  font-size: 27px;
  padding-left: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.card3 img {
    margin-right: 10px;
}




.card4 {
  background: #fff;
  padding: 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  border-left: 5px solid #ffb400; 
}


.card4::before {
 content: "";
  position: absolute;
  top: -20px;
  left: -40px;
  width: 180px;
  height: 100px;
}


.card4 h3,
.card4 p,
.card4 img {
  position: relative;
  z-index: 2; 
}

.card4:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.card4 h3 {
  margin-bottom: 10px;
}

.car42 p {
  font-size: 27px;
  padding-left: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.card4 img {
    margin-right: 10px;
}


.seihin p {
  font-size: 27px;
  padding-left: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}


@media (max-width: 992px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
  }
    
 
}


@media (max-width: 1280px) {
 
 .card1 p {
  font-size: 20px;
}
    
 .card2 p {
  font-size: 20px;
}
    
.card3 p {
  font-size: 20px;
}
    
.card4 p {
  font-size: 20px;
}
}


@media (max-width: 576px) {
  .card-container {
    grid-template-columns: 1fr;
  }
    .card-content {
    justify-content: center;   
  }

  .image {
    display: none;             
  }

  .text {
    text-align: center;        
    width: 100%;
  }
    
    .card1 {
  padding: 20px;
}

    
    .card2 {
  padding: 20px;
}
    
     .card3 {
  padding: 10px;
}
    
    .card4 {
  padding: 10px;
}
}



/*tabv2*/

.tab_container2 {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.tab_labels {
  display: flex;              
  justify-content: center;    
  flex-wrap: wrap;            
  gap: 10px;                  
  width: 100%;                
  margin-bottom: 20px;        
}

input, section {
  clear: both;
  padding-top: 10px;
  display: none;
}

.tab_container2 label {
  font-weight: 700;
  font-size: 18px;
  display: block;
  float: left;
  width: 20%;
  padding: 0.5em;
  color: #757575;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  background: #f0f0f0;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4,
#tab5:checked ~ #content5 {
  display: block;
  padding: 10px;
}

.tab_container2 .tab-content .container-card-tab,
.tab_container2 .tab-content p,
.tab_container2 .tab-content h3 {
  -webkit-animation: fadeInScale 0.7s ease-in-out;
  -moz-animation: fadeInScale 0.7s ease-in-out;
  animation: fadeInScale 0.7s ease-in-out;
}
.tab_container2 .tab-content h3  {
  text-align: center;
}

.tab_container2 [id^="tab"]:checked + label {
  border-bottom: 3px solid #ffb400;
  background: #A2A2A2;
  color: #fff;
}

.tab_container2 [id^="tab"]:checked + label .fa {
  color: #ffb400;
}

.tab_container2 label .fa {
  font-size: 1.3em;
  margin: 0 0.4em 0 0;
}


@media only screen and (max-width: 900px) {
  /*.tab_container2 label span {
    display: none;
  }*/

  .tab_container2 {
    width: 98%;
  }
}



/* Mobile - 2 tabs per row */
@media (max-width: 480px) {
  .tab_container2 label {
    width: 48%;
    float: none;
    font-size: 12px;
  }
}




@keyframes fadeInScale {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.no_wrap {
  text-align:center;
  color: #0ce;
}
.link {
  text-align:center;
}


.container-card-tab {
        max-width: 1350px;
        margin: auto;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 50px;
    }

    .card-tabs {
        background: #ffffff;
        border-radius: 5px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: 0.3s;
    }

    .card-tabs:hover {
        transform: translateY(-8px);
    }

    .card-tabs img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .card-content-tabs {
        padding: 10px;
    }

    .card-content-tabs h3 {
        margin-bottom: 10px;
        color: #333;
    }

    .card-content-tabs p {
        font-size: 14px;
        color: #666;
    }

    .card-content-tabs button {
        padding: 8px 15px;
        border: none;
        background: #667eea;
        color: white;
        border-radius: 5px;
        cursor: pointer;
    }

    .card-content-tabs button:hover {
        background: #764ba2;
    }

    
    @media (max-width: 992px) {
        .container-card-tab {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    
   @media (max-width: 600px) {
    .container-card-tab {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
       
.card-content-tabs {
    padding: 7px; 
}
       
     .card-content-tabs h3 {
        font-size: 14px;
    }

    .card-content-tabs p {
        font-size: 8px;
    }
}

/*end new tab top page*/