@charset "UTF-8";
html{
    font-family: "Helvetica Neue", "Arial", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", "sans-serif";
    scroll-behavior: smooth;
}
@media screen and (max-width: 415px) {
    html {
        font-size: 18px;
    }
}

body{
    width: 100%;
    border: none;
    color: #333;
}



/*header*/
.header{
    display: flex;
    position: fixed;
    background-color: #101010;
    top: 0;
    width: 100%;
    height: 110px;
    z-index: 10;
    transition: transform 0.2s ease;
}
header.hide {
  transform: translateY(-100%);
}
.headerLogo{
    padding: 10px 20px;
    padding-top: 25px;
    width: 30%;
}
.headerNav{
    width: 70%;
    margin-top: 2.5em;
}
.logoimg{
    width: 10.5vw;
    vertical-align: bottom;
}
.menu ul{
    display: flex;
    justify-content: flex-end;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 1px;
    list-style: none;
}
.menu li{
    margin-right: 30px;
}
.menu li a{
    color: #ffffff;
    text-decoration: none;
}
.hover-button {
    color: rgb(255, 255, 255);
    padding: 5px 3px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.hover-button::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: rgb(255, 255, 255);
    transition: width 0.3s ease;
}
.hover-button:hover::before {
    width: 100%;
}
.hover-button:hover {
    background-color: #101010;
    transform: scale(1.5);
    color: #e71f19;
    transition-duration: 0.3s;
}

@media screen and (max-width: 768px) {
  .header {
    height: 10.5vw;
    flex-direction: column;
    align-items: center;
  }

  .headerLogo {
    width: 100%;
    padding: 0;
    margin-top: 1vw;
    text-align: center;
  }

  .headerNav {
    display: none;
  }

   .logoimg{
      width: 25vw;
      vertical-align: bottom;
  }
}



/*メイン*/
#section1{
    position: relative;
    height: 1000px;
    width: 100%;
    overflow: hidden;
}
.video-wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
}
.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}
.overlay-text {
    position: absolute;
    top: 10vw;        /* 上からの距離 */
    left: 4.8vw;       /* 左からの距離 */
    color: #fff;
    font-size: 4vw;
    font-weight: 600;
    text-shadow:
        0 0 3px #79c7ff,   /* 近い光 */
        0 0 10px #ff638a,   /* 近い光 */
        0 0 50px #e71f19;  /* 大きくぼかす */
    line-height: 1.5;
    z-index: 5;
}
#section1 .text {
    position: absolute;
    top: 22vw;        /* 上からの距離 */
    left: 6vw;       /* 左からの距離 */
    color: #fff;
    font-size: 1vw;
    font-weight: 500;
    line-height: 1.5;
    line-height: 1.8em;
    z-index: 5;
}
.filtter {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 50vw;
    z-index: 2;
    background-image: radial-gradient(rgb(20, 20, 20) 1px, transparent 1px);
    background-size: 3px 3px;
    opacity: 70%;
}

@media screen and (max-width: 768px) {
  #section1 {
    height: auto;
    margin-top: 10vw;
  }
  .video-wrapper video {
    height: auto;
  }
  .overlay-text {
    font-size: 7vw;
    top: 10vw;
    left: 19vw;
    text-align: center;
  }
  .text {
    display: none;
  }
}

@media screen and (max-width: 415px) {
  .overlay-text {
    font-size: 28px;
    top: 50px;
    left: 20px;
  }
}


/*buisness*/
#section2{
    position: relative;
    padding: 120px;
}

#section2 .sub-title{
    position: relative;
    font-size: 64px;
    font-weight: 500;
    right: 1.3vw;
    padding-bottom: 70px;
}
#section2 .container{
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列を均等幅で */
    gap: 2rem; /* カラム間の余白 */
}

.img-wrapper img{
    margin-bottom: 2em;
    width: 100%;
    height: auto;
    box-shadow: 0 0 10px #333;
}

.col{
    line-height: 2em;
    color: #f3f3f3;
    font-weight: 500;
    text-shadow: 0 0 10px #333;
}

.home-intro_bg {
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

@media screen and (max-width: 768px) {
  #section2 {
    padding: 40px 20px;
  }
  #section2 .container {
    grid-template-columns: 1fr;
  }
  #section2 .sub-title {
    font-size: 36px;
    text-align: center;
  }
}



/*News*/
#section3{
    position: relative;
    padding: 120px;
}

#section3 .sub-title{
    position: relative;
    font-size: 64px;
    font-weight: 500;
    right: 1.3vw;
    padding-bottom: 70px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.news-item {
  border: 1px solid #ddd;
  padding: 20px;
  background: #fff;
}
.news-item:hover{
  box-shadow: 0 0 20px 3px #e71f19;
  transition: box-shadow 0.2s ease;
  filter: brightness(1.1);
  cursor: pointer;
}

.news-item img {
  max-width: 100%;
  height: auto;
  z-index: 5;
  transition: filter 0.2s ease,;
}

.news-item img:hover {
    box-shadow: inset 0 0 10px #fff;
    cursor: pointer;
}

.news-item h2 {
  font-size: 1.2em;
  margin: 10px 0;
}

.news-item p {
  font-size: 0.9em;
  color: #333;
}

@media screen and (max-width: 768px) {
   #section3 {
   padding: 40px 10px
}
  .news-grid {
    padding: 0 10px;
    grid-template-columns: 1fr;
  }

  #section3 .sub-title {
    font-size: 36px;
    text-align: center;
  }
}



/*Company*/
#section4{
    margin: 0 auto;
    padding: 50px;
}
#section4 .sub-title{
    position: relative;
    text-align: center;
    font-size: 64px;
    font-weight: 500;
    padding-bottom: 70px;
}

/*会社情報の設定*/
div.company-detail{
    margin: 0 5%;
    border-top: 1px solid #cecece;
}
dl.company-item{
    display: flex;
    margin: 0;
    padding: 40px 0;
    border-bottom: 1px solid #cecece;
}
dl.company-item dt{
    width: 20%;
    font-size: 20px;
    font-weight: 500; 
}
dl.company-item dd{
    width: 80%; 
    font-size: 18px;
    font-weight: 400;
}

@media screen and (max-width: 768px) {
  dl.company-item {
    display: block;
  }
  dl.company-item dt,
  dl.company-item dd {
    width: 100%;
  }
  #section4 .sub-title{
    font-size: 36px;
    text-align: center;
    right: 2.5vw;
  }
}



/*Contact us*/
#section5{
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #dedede;
}

#section5 .attention{
    font-size: 16px;
    font-weight: 500;
}

#section5 .container{
    text-align: center;
    line-height: 2em;
    max-width: 1000px;
    margin: 0 auto;
}

#section5 .sub-title{
    margin: 1.5em;
    text-align: center;
    font-size: 64px;
    color: #333;
}
@media screen and (max-width: 415px) {
    #section5 .sub-title{
        
        font-size: 36px;
        padding: 20px 0;
        background-position: center;
        background-size: cover;
        background-attachment: unset;
    }
}

label{
    font-size: 16px;
    font-weight: 600;
}

.name,.number,.email,.company,.department,textarea {
  background-color: #fff;
  color: #000;
}

#section5 .name,.number,.email,.company,.department{
    margin-bottom: 1em;
    text-align: left;
    border: solid 1px black;
    width: 50%;
}
#section5 .highlight{
    color: #e71f19;
}

#section5 .description{
    margin-bottom: 1em;
    text-align: left;
    border: solid 1px black;
    width: 65%;
    height: 6em;
}

#privacy-open {
  padding: 10px 20px;
  color: rgb(0, 0, 255);
  cursor: pointer;
}

#privacy-open:hover {
  text-decoration: underline;
}

#modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 10;
}

#modal {
  position: fixed;
  left: 50%;
  bottom: -100%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  background: #fff;
  border-radius: 8px 8px 0 0;
  padding: 20px;
  z-index: 20;
  transition: bottom 0.4s ease;
}

#modal.show {
  bottom: 0;
}

.hidden {
  display: none;
}

.modal-content {
  max-height: 70vh;
  overflow-y: auto;
}

#privacy-close {
  margin-top: 20px;
  padding: 8px 16px;
  border-color: #333;
}

#privacy-check{
    cursor: pointer;
}

#section5 .submit{
    display: inline-block;
    color: #ffffff;
    background: linear-gradient(45deg, #e71f19 0%, #ffb78d 75%);
    padding: 0.5% 10%;
    box-shadow:0 4px 0 #dcdcdc;
    border-radius: 100px;
    width: 30%;
    height: 10%;
    margin-top: 2%;
    margin-bottom: 1%;
    position: relative;
    transition: 0.2s;
}

#section5 .submit:hover{
    color: #fff;
    padding: 0.5% 10%;
    box-shadow:0 4px 0 #dcdcdc;
    width: 30%;
    height: 10%;
    margin-top: 2%;
    position: relative;
    margin-bottom: 1%;   
}

#section5 .submit:active {
    color: #ffffff;
    background-color: #e71f19;
    box-shadow: none;
    bottom: -5px;
    transition: 0s;
}

@media screen and (max-width: 768px) {
  #section5 .name,
  #section5 .number,
  #section5 .email,
  #section5 .company,
  #section5 .department,
  #section5 .description {
    width: 70%;
  }
}
@media screen and (max-width: 415px) {
  #section5 .submit {
      width: 40%;
      padding: 0.5em 0em;
      font-size: 1rem;
  }
}
@media screen and (max-width: 415px) {
  #section5 .submit:hover {
      display: inline-block;
      color: #fff;
      padding: 0.5% 10%;
      box-shadow:0 4px 0 #dcdcdc;
      width: 30%;
      height: 10%;
      margin-top: 2%;
      margin-bottom: 1%;
      position: relative;
      transition: none;
  }
}
@media screen and (max-width: 415px) {
  #section5 .submit:active {
      width: 40%;
      padding: 0.5em 0em;
      font-size: 1rem;
  }
}



/*fotter*/
.footer{
    padding:1em;
}

.footer .copyright{
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-top: 1.5%;
}
@media screen and (max-width: 415px) {
    .footer {
        padding: 1em;
    }
}
@media screen and (max-width: 415px) {
  .footer .copyright {
    font-size: 12px;
  }
}
@media (min-width: 768px) {
    .md-flex {
      display: flex;
    }
  
    .md-justify-between {
      justify-content: space-between;
    }
  
    .copyright {
      text-align: left;
    }
}