@charset "utf-8";

/* ↓↓↓↓ 共通[Start] ↓↓↓↓ */
* {
	font-family: "Hiragino Kaku Gothic Std", "メイリオ", Meiryo, sans-serif;
  font-size:16px;
}

body {
  background: -moz-linear-gradient(top, #000000, #fff);
  background: -webkit-linear-gradient(top, #000000, #fff);
  background: linear-gradient(to bottom, #000000, #fff);
}

a {
  text-decoration: none;
}

h2{
	font-family: "Hiragino Mincho Std", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
  font-size:40px;
  font-weight: 600;
  margin-bottom:60px;
}

h3{
  font-size:32px;
  font-weight: 400;
  border-bottom:2px solid currentColor;
  padding-bottom:5px;
  margin-bottom:25px;
  line-height: 1.2;
}

section{
  margin-bottom:100px;
  margin-left:auto;
  margin-right:auto;

  &:last-child{
    margin-bottom:0px;
  }
}

.section_inner{
  max-width:1220px;
  width:100%;
  margin-left:auto;
  margin-right:auto;
  padding: 80px 60px;
}

.btn{
  color: #ffffff;
  background: #222222;
  border: 1px solid #222222;
  border-radius: 5px;
  margin:0px;

  &:hover{
    color: #222222;
    background: #ffffff;
    border-radius: 5px;

    > *{
        border-radius: 5px;
    }
  }

  > *{
    color: #ffffff;
  }
}

.btn_midium{
  width: fit-content;
  height: 76px;
  font-size: 18px;
  font-weight: 600;

  > *{
    padding: 0 30px;
    line-height: 76px;
  }
}

.border {
  width: 100%;     /* 幅は任意で調整 */
  border: 1px solid black;
}

.indent{
  text-indent: -1em;
  padding-left: 1em;
}

.read-txt{
  font-size: 18px;
}

/*header---------*/
.nav {
  height: 96px;
  margin: 0px 18px 0;
  padding: 0 80px 0 39px;

  display: flex;
  align-items: center; /* 垂直方向中央揃え */
  justify-content: space-between;

  position: fixed;
  top: 0;
  left: 0;
  width: calc(100% - 36px);
  z-index: 1000; /* 必要に応じて前面に出す */

  backdrop-filter: blur(17.5px);
  border-radius: 0px 0px 10px 10px;

  .logo {
    h1{
    color :#ffffff;
    font-size: 32px;
    font-weight: 600;
    }
  }

  .nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;

    .nav-item {
      margin-left: 35px; /* 必要に応じて調整 */
    }

    .nav-link {
      color: #ffffff;
      font-size: 18px;
      font-weight: 600;
    }
  }
}
/* Nabi Toggle Botton */
.nav-toggle {
    display: none;
}

/*pagetop---------*/
#pagetop{
  border-radius: 50%;
  background-color: #222222;
  width:50px;
  height:50px;
  bottom:50px;
  animation: borderWidthAnimation 2s infinite alternate;  

  & .pagetop_wrap{
    width:100%;
    height:100%;
    z-index:900;
    border-radius: 50%;
    background-color: rgba(34,34,34,0.2);
    transform: scale(1);
    animation: scaleIn 1s ease-in-out infinite;
  }

  & .icon_arrowUp{
    &::after{
      position:absolute;
      left:50%;
      top:50%;
      transform: translate(-50%, -50%);
      color:#fff;
    }
  }
}

@keyframes scaleIn {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}

/*footer---------*/
footer{
  background-color: #fff;

  & .section_inner{
    display:flex;
    justify-content: center;
    gap:70px;

    & .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-repeat: no-repeat;
  background-size: 100% auto;
}

/*mainvisual---------*/

#mainvisual {
  max-width: 1326px;
  position:relative;

  & .mainpng {
    & img{
      z-index: 999; /* 必要に応じて前面に出す */
    }
  }

  & .logopng {
    max-width: 188px;
    max-height: 188px;
    background-color: #FFF;

    position: absolute;
    top: 154px;
    left: 0px;
    z-index: 999; /* 必要に応じて前面に出す */
  }

  & .sp_chatchcopy{
    display: none;
  }

  & .realxdigital {
    max-width: 199px;
    max-height: 99px;

    position: absolute;
    top: 201px;
    right: 58px;
    z-index: 999; /* 必要に応じて前面に出す */
  }

  & .expo2025 {
    max-width: 250px;
    max-height: 90px;

    position: absolute;
    top: 200px;
    right: 58px;
    z-index: 999; /* 必要に応じて前面に出す */
  }

  & .kengakuform {
    width: 530px;
    height: 267px;

    position: absolute;
    top: 70%;
    right: 0px;
    z-index: 999; /* 必要に応じて前面に出す */

    display: flex;
    justify-content: space-between;
    
    & .formbox {
      width: 257px;
      background-color: rgba(255,255,255,0.7);
      text-align: center;
      padding-top: 20px;

      & .heading-txt{
        text-align: center;

        & span::after{
          content:"\a";
          white-space: pre;
        }
        & .area{font-size: 36px; font-weight: 700;}
        & .bull{font-size: 24px; font-weight: 600;}
        & .notes{font-size: 20px; font-weight: 600;}
      }

      & .formbutton {
        margin: 20px auto 0;
        width: fit-content;
      }
    }
  }
}

/*info---------*/

#info {
  .section_inner {
    background-color: #FFF;
    border-radius: 30px;

    .granfront {
      display: flex;
      width: 100%;
      min-height: 412px;
      margin: 0px 0px 34px;
      justify-content: space-between;

      .granfront-left {
        width: 650px;
        height: 100%;

        .granfront-pic {
          margin-bottom: 37px;
        }

        .margin-1 {
          margin: 7px 0 26px;
        }
      }

      .granfront-right {
        .activelab_map {
          width: 365px;
          height: 391px;
        }
      }
    }

    .margin-2 {
      margin-bottom: 26px;
    }

    .infobutton {
      margin: 84px auto 62px;
      width: fit-content;
    }

    .read-txt{
      font-size: 18px;
    }
    .heading-experience{
      font-size: 40px;
      font-weight: 600;
    }
    .btn_apply{
      margin: 50px 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{
    display:flex;
    gap:85px;

    &>*{
      width:50%;
    }

    & .vid_contents {
      width: 50%;/*背景色を横幅いっぱいに広げる*/
      text-align: center;

      & .vid_main {
        width: 100%;
        max-width: 920px;/*PC版での最大幅*/
      }
    }

    & .heading-product{
      font-size: 32px;
      color: #ffffff;
      font-weight: 400;
    }
    & .read-txt{
      font-size: 18px;
      color: #ffffff;
    }
  }
}

/*category---------*/

#category {
  max-width: 1220px;

  & .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;
}


/********************************
/*問い合わせ・同行依頼
********************************/
#contact{
  & 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: 20px 0 0 0;
        }
        & td:last-child{
          border-radius: 0 20px 0 0;
        }
      }
      
      &:last-child{
        border-bottom:none;

        & td:first-child{
          border-radius: 0 0 0 20px;
        }
        & td:last-child{
          border-radius: 0 0 20px 0;
        }
      }

      & td{
        border-bottom:none;
        font-size:1rem;
        padding:20px;

      }
    }
  }

  & .label_name{
    margin-right:5px;
  }

  & 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{
    margin:0 auto;
    width: fit-content;
    margin: 20px auto;
    display:flex;
    gap: 30px;
    align-items: center;  

    & input[type="button"]{
      color: #ffffff;
      background: #222222;
      padding: 20px 30px;
      border: 1px solid #222222;
      border-radius: 5px;
      cursor: pointer;  
      transition: all 0.3s linear;

      &:hover{
        color: #222222;
        background: #ffffff;        
      }
    }

    & #lf_form_submit_button{
      color: #ffffff;
      font-size: 16px;
      font-weight: 600;

      &:hover{
        color: #222222;
      }
    }
  }
  
}
