@charset "utf-8";

/* ↓↓↓↓ 共通[Start] ↓↓↓↓ */
@media screen and (max-width: 480px) {

* {
  font-size:14px;
}

h2{
  font-size:28px;
  margin-bottom:30px;
}

h3{
  font-size:22px;
  border-bottom:2px solid currentColor;
  padding-bottom:5px;
  margin-bottom:10px;
  line-height: 1.2;
}

section{
  margin-bottom:50px;
  margin-left:auto;
  margin-right:auto;

  &:last-child{
    margin-bottom:0px;
  }
}

.section_inner{
  width: 94%;
  margin-left:auto;
  margin-right:auto;
  padding: 30px 16px;  
}

.btn{
  color: #ffffff;
  background: #222222;
  border: 1px solid #222222;
  border-radius: 5px;
  margin:0px;

  &:hover{
    border-radius: 5px;

    > *{
        border-radius: 5px;
    }
  }

  > *{
    color: #ffffff;
  }
}

.btn_midium{  
  height: 60px;
  font-size: 20px;
  min-width: 300px;

  > *{
    padding: 0 10px;
    font-size: inherit;
    line-height: 60px;
  }
}

.border {
  width: 100%;     /* 幅は任意で調整 */
  border: 1px solid black;
}

.indent{
  margin: 0.5rem 0;
}

.read-txt{
  font-size: 16px;
  line-height: 1.6;
}

/*header---------*/
.nav {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 10px;

  display: flex;
  flex-flow: column;
  align-items: center; /* 垂直方向中央揃え */

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* 必要に応じて前面に出す */
  border-radius: 0;


  .logo {
    width: 100%;
    display: block;     

    h1{
      width:100%;
      font-size: 28px;
    }
  }

  .nav-list {
    &.close{
      display: none;
      transition: all 0.3s linear;
    }
    &.open{
      display: flex;
      flex-flow: column;
      list-style: none;
      text-align: center;
      margin-top: 30px;
    }

    .nav-item {
      margin-left: 0; /* 必要に応じて調整 */
    }

    .nav-link {
      font-size: 24px;
    }
  }
}
/* Nabi Toggle Botton */
.nav-toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10000;

    &::after{
      transition: all 0.3s linear;
      content: url(../../images/menu-open.svg);    
      width: 32px;
      height: 32px;
      display: block;
    }
    &.active::after{
      content: url(../../images/menu-close.svg);
    }

      
}

/*pagetop---------*/
#pagetop{
  right: 10px;
}


/*footer---------*/
footer{
  padding-top: 30px;

  & .section_inner{
    flex-flow: column;
    gap:20px;

    & .company_logo{
      width:265px;
      height:auto;
    }

    & .btn{
      margin-top:10px;
      margin-bottom:10px;
    }
  }
}

/* ↑↑↑↑ 共通[End] ↑↑↑↑ */

/* ↓↓↓↓ 以下個別ページ[Start] ↓↓↓↓ */
/********************************
/*top
********************************/
#top {
  background-image: url("../../images/main_back.png");
  background-position: 50% 3%;
  background-size: 100% auto;
}

/*mainvisual---------*/

#mainvisual {
  height: calc(100vh - 60px - 130px);
  margin-top: 60px;
  margin-bottom: 280px; 

  & .logopng {
    max-width: 40%;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -30%);
  }

  & .sp_chatchcopy{
    width: 100%;
    font-size: 7vw;
    font-weight:500;
    letter-spacing: 0.1rem;
    color: #fff;
    text-align: center;
    line-height: 1.4;
    display: inline-block;
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -65%);
    text-shadow: 0 0 10px #F5D100, 0 0 15px #F5D100;

    & span{
      font-weight: 700;
      font-size: 9vw;
      font-family: "Hiragino Kaku Gothic Std", "メイリオ", Meiryo, sans-serif;
    }
  }

  & .realxdigital {
    max-width: 199px;
    max-height: 99px;

    position: absolute;
    top: 201px;
    right: 58px;
  }

  & .expo2025 {
    max-width: 250px;
    max-height: 90px;

    top: 90%;
    left: 50%;
    transform: translate(-50%, -90%);
  }

  & .kengakuform {
    width: 100%;
    height: auto;
    opacity: 1;
    position: absolute;
    top: calc(100vh - 220px);
    left: 0px;
    right: unset;
    display: flex;
    flex-flow: column;
    overflow: hidden;
    
    & .formbox {
      width: 100%;
      text-align: center;

      & .heading-txt{
        text-align: center;
        
        & span::after{
          content: none;
        }
        & .area{font-size: 16px; font-weight: 700;}
        & .bull{font-size: 16px; font-weight: 600;}
        & .notes{font-size: 16px; font-weight: 600;}
      }

      & .formbutton {
        margin: 4px auto 20px;
        width: fit-content;
      }
    }
  }
}

/*info---------*/

#info {
  .section_inner {
    border-radius: 10px;

    .granfront {
      flex-flow: column;
      gap: 10px;
      margin: 0 0 60px 0 ;

      .granfront-left {
        width: 100%;
        height: auto;

        .granfront-pic {
          margin-bottom: 37px;
        }
      }

      .granfront-right {
        .activelab_map {
          width: 100%;
          height: auto;
        }
      }
    }

    .infobutton {
      margin: 84px auto 62px;
      width: fit-content;
    }
    .read-txt{
      font-size: 16px;
    }
    .heading-experience{
      font-size: 24px;
    }
    .btn_apply{
      margin: 20px auto;
    }
  }
}

/*productback---------*/

.product_background {
  width: 100vw;
  height: 667px;
  background-color: #000000;
  
  position: absolute;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  z-index: -1;
}

/*product---------*/

#product {
  width: 100%;
  background-color: #000;

  & .product_inner{
    flex-flow: column;
    gap: 20px;

    &>*{
      width:100%;
    }

    & .vid_contents {
      width: 100%;/*背景色を横幅いっぱいに広げる*/
      text-align: center;

      & .vid_main {
        width: 100%;
        max-width: 920px;/*PC版での最大幅*/
      }
    }
    & .heading-product{
      font-size: 24px;
      margin-bottom: 20px;
    }
    & .read-txt{
      font-size: 16px;
      line-height: 1.6;
    }
  }
}

/*category---------*/

#category {

  & h2{
    text-align: center;
  }

  & .category_inner{
    width:100%;
    height:100%;

    & .cate{
      position:relative;
      cursor:pointer;
      
      & .cate_info{
        position:absolute;
        top:0px;
        left:0px;
        width:100%;
        height:100%;
        z-index: 3;
        padding:150px 20px 20px 20px;
        background-color: rgba(255, 255, 255, 0.8);
        transition: opacity 0.5s ease; /* 0.5秒かけてopacityが変化 */
        opacity: 0; /* 初期状態は透明 */

        & .info_title{
          font-weight:bold;
          font-size:1.2em;
          margin-bottom:10px;
        }
      }

      &:hover{
        & .cate_info{
          opacity: 1;
        }
      }

      & .cate_title_left{
        font-size:25px;
        position:absolute;
        border-radius: 0px 0px 20px 20px;
        bottom:0px;
        left:0px;
        padding:20px;
        z-index: 5;
        width:100%;
        color:#fff;
        background: linear-gradient(to left,rgba(0,0,0,0),rgba(0,0,0,1));
      }

      & .cate_title_right{
        font-size:25px;
        position:absolute;
        border-radius: 20px 20px 0px 0px;
        top:0px;
        left:0px;
        padding:20px;
        z-index: 5;
        width:100%;
        color:#fff;
        background: linear-gradient(to right,rgba(0,0,0,0),rgba(0,0,0,1));
        text-align:right;
      }
    }

    & .slick-slide{
      border:10px solid #fff;
      border-radius: 30px;
      margin-right: 10px;
      margin-left:10px;
    }

    & img{
      width: 100%;
      object-fit: cover;
      border-radius: 20px;
    }
    
  }
}

/*point---------*/

#point {
  background-image: url(../../images/feature_back.png);
  background-position: center;

  & .point_inner{
    max-width: 300px;
    margin: 0 auto;

    & h2{
      text-align: center;
    }
  }
}


/********************************
/*問い合わせ・同行依頼
********************************/
#contact{
  padding-bottom: 30px;

  & .section_inner{
    padding: 0;
  }
  & #frm_forminput{
    padding: 0;
  }

  & a{
    text-decoration: underline;
    color:#000;

    &:hover{
      opacity: 0.6;
    }
  }

  & .contact{
    margin-top:100px;
  }

  & table{
    margin:0 auto;
    border-left:0px;
    border-right:0px;

    & tr{
      &:first-child{
        & td:first-child{
          border-radius: 0;
        }
        & td:last-child{
          border-radius: 0;
        }
      }
      
      &:last-child{
        border-bottom:none;

        & td:first-child{
          border-radius: 0;
        }
        & td:last-child{
          border-radius: 0;
        }
      }

      & td{
        border-bottom:none;
        font-size:1rem;
        padding:16px;

      }
    }
  }

  & .label_name{
    margin-right:5px;
  }

  & input[name="company_name"],
  & input[name="email"],
  & input[name="email_confirm"],
  & textarea{
    max-width: 330px;
  }

  & input[name="email"]{
    margin-bottom:5px;
  }

  & input[type="radio"]{
    margin-right:5px;
  }

  & .required{
    margin-left:5px;
    &::after{
      content: "入力必須";
    }
  }

  & .privacy-text-master{
    & *{
      font-size:0.8em;
    }
  }

  .button_area{
    & input[type="button"]{
      padding: 20px 30px;
    }

    & #lf_form_submit_button{
      color: #ffffff;
      font-size: 16px;
      font-weight: 600;
    }
  }
  
}

}