@charset "utf-8";

/*iframe設定
---------------------------------------------------------------------------*/

.bim-fl{justify-content: center;margin: 0 auto;display: flex;/* width: 80%; */flex-wrap: wrap; /* 横並びが収まらないときは折り返し */gap: 10px; /* アイテム間の余白 *//* justify-content: space-between; */ /* アイテム間を均等に配置 */}
.bim-fl .iframe-aspect{
  aspect-ratio: 32 / 21;
  max-width: 690px;
  /* margin: 0 auto; */
  width: 90%;
  /* height: 450px; */
}
.iframe-aspect iframe {
  width: 100%;
  height: 100%;
}





/*各コンテンツ
---------------------------------------------------------------------------*/
.cad-wrapper{
  padding: 0!important;
}

#cad {
  /*レイアウト用のCSS*/
  padding: 10px 0 40px 0;
  background-color: #E5E5E5;
}
#bim {
  position: relative;
  padding: 20px 0 100px 0;
  
}
#bim::before{
  content:"";
  position: absolute;
  bottom: 0;
  left: 0;
  
  width: 0;
  height: 0;
  border-style: solid;
 
  /*ここで三角形のサイズを決める。
  必ず幅100vwにして、ブラウザサイズいっぱいにしてください。*/
  border-width: 100px 0 0 100vw ;
 
  border-color: transparent  transparent  transparent #E5E5E5;
  z-index: -100;
}

#vr {
  /*レイアウト用のCSS*/
  padding: 10px 0 40px 0;
  background-color: #fff;
}
#cad {
  position: relative;
  padding: 20px 0 90px 0;
}
#cad::before{
  content:"";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
 
  /*ここで三角形のサイズを決める。
  必ず幅100vwにして、ブラウザサイズいっぱいにしてください。*/
  border-width: 50px 0 0 100vw;
 
  border-color: transparent  transparent  transparent #fff;
  z-index: -100;
}
.item-txt h2 {
  margin: 2rem 0;
}
.item-txt p span {
  font-weight: bold;
  border-bottom: 1px solid;
  margin-top: 1rem;
  font-size: 1.1em;
}


.btn-area{
  text-align: right;
  margin: 4rem 4rem 0 0;
}
.bimbtn{
  background-color: #000;
  border-radius: 50px;
  padding: 20px 30px;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1.5px;
}
.bimbtn:hover{
  background-color: #c3c3c3;
  color: #333;
}



/*bim一覧
---------------------------------------------------------------------------*/
/* ギャラリーのスタイル */
.thumbnail-gallery {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  flex-wrap: wrap;
  width: 75%;
}

.thumbnail {
  cursor: pointer;
  border: 2px solid #ccc;
  border-radius: 8px;
  width: 32%;
  margin-bottom: 2rem;
}

.thumbnail:hover {
  box-shadow: 5px 5px 10px -5px #777777;
  transform: translate(-5px,-5px);
  transition: .3s;
}

/* ポップアップのオーバーレイ */
.popup-overlay {
  display: none; /* 初期状態では非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* ポップアップの内容部分 */
.popup-content {
  background-color: white;
  padding: 0px;
  border-radius: 8px;
  position: relative;
  aspect-ratio: 32 / 21;
  max-width: 800px;
  width: 59%;
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  color: #000;
  cursor: pointer;
}

/* iframeのスタイル（WebGL用） */
iframe {
  border: none;
  max-width: 800px;
}

.backbtn{
  text-align: left;
  margin: 2rem 2rem 4rem;
}
a.btn-back {
  border: 2px solid #000;
  border-radius: 0;
  background: #fff;
  border-radius: 50px;
  text-align: right;
  font-size: 1.2rem;
  padding: 15px 40px;
  color: #000;
  text-decoration: none;
}

a.btn-back::before {
  font: var(--fa-font-solid);
  content: "\f0a8";
  margin-right: .7rem;
}
a.btn-back:hover {
  color: #fff;
  background: #000;
}

/*---------------------------------------------------------------------------
【SP】画面サイズが767px以下
---------------------------------------------------------------------------*/
@media screen and (max-width:767px) { 

  .fl-1 {
    padding: 7em 3%;
    flex-wrap: wrap;
  }
  .fl-txt {
    width: 100%;
    position: relative;
    margin-bottom: 2em;
  }
  .fl-img{
    width: 100%;
  }
  .patent02 {
    flex-direction:column-reverse
  }
  .patent01 .fl-img ,
  .patent02 .fl-img {
    text-align: center;
  }
  .patent01 .img-ab ,
  .patent02 .img-ab {
    position: relative;
    bottom: 0;
    left: 0;
    width: 50%;
    text-align: center;
    margin: 1em auto;
  }

/*bim一覧
---------------------------------------------------------------------------*/
/* ギャラリーのスタイル */
.thumbnail-gallery {
  width: 90%;
}

.thumbnail {
  width: 100%;
}

/* ポップアップの内容部分 */
.popup-content {
  border-radius: 8px;
  position: relative;
  aspect-ratio: 32 / 21;
  max-width: 767px;
  width: 100%;
  padding: 10px;
}

/* 閉じるボタン */
.close-btn {
  top: -50px;
  color: #fff;
}

/* iframeのスタイル（WebGL用） */
iframe {
  border: none;
  max-width: 767px;
}

  

/*メイン画像
---------------------------------------------------------------------------*/
#mainimg {
  height: 50vw;
}

/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/
}


/*---------------------------------------------------------------------------
【SP】画面サイズが767px以下かつ横持ちのとき
---------------------------------------------------------------------------*/
@media (orientation: landscape) and (max-width: 767px){
  /* ポップアップの内容部分 */
  .popup-content {
    max-width: 75vw;
    max-height: 90vh;
  }

  /* 閉じるボタン */
  .close-btn {
    top: -20px;
    right: -40px;
  }

}



/*---------------------------------------------------------------------------
【Tab】画面サイズ768px以上1024px以下
---------------------------------------------------------------------------*/
@media screen and (min-width:768px) and ( max-width:1024px) {

/*bim一覧
---------------------------------------------------------------------------*/
/* ギャラリーのスタイル */
.thumbnail-gallery {
  width: 80%;
}

.thumbnail {
  width: 48%;
}

/* ポップアップの内容部分 */
.popup-content {
  border-radius: 8px;
  position: relative;
  aspect-ratio: 32 / 21;
  max-width: 800px;
  width: 100%;
  padding: 10px;
}

/* 閉じるボタン */
.close-btn {
  top: -50px;
  color: #fff;
}

/* iframeのスタイル（WebGL用） */
iframe {
  border: none;
  max-width: 767px;
}


/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/
}





/*---------------------------------------------------------------------------
【PC】画面サイズ1025px以上の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:1025px) {

/*menubarブロック設定
---------------------------------------------------------------------------*/

/*メニュー１個あたりの設定*/
.p #menubar a {
	color: #616161;
}


/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/
}
