@charset "UTF-8"; /*文字化けを防ぐ*/
html {
  font-size: 100%; /*設定した文字サイズを正しく反映させる*/
}
body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
}
/*----------------------------- fede ふわっと出現するCSS　できればすべてに適用 ★★★ -----------------------------*/
.fade {
  transition: 0.8s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}
.fade.on {
  transform: translateY(0);
  opacity: 1.0;
}








/*---------------------------------------------------ナビ---------------------------------------------------*/

 .fade-time{ 
  font-size:40px;
  opacity:0;
  animation-name: sample01; 
  animation-duration: 5s; 
  animation-iteration-count:1;
  animation-fill-mode: both; 
}
@keyframes sample01 {
0% {
  opacity: 0;
  color:#0F4089;
}
90% {
 opacity: 1;
 color:#0F4089;
}
 100% {
  opacity: 1;
  color:#0F4089;
} 
}


.header-nav {
	font-size: 95%;
	width: 100%;
	height: 75px;
	text-align: center;
	display: flex;
	background: #FFF;/*バナーの色*/
	align-items: center;
}

.logo-jp{/*石川測器の左上の文字*/
	font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-weight: 500;
	font-size: 1.8vw;
    letter-spacing: 0.2rem;
    margin-right: 1rem;
    color: #000;
}
.logo-eg{/*左上の英語*/
    font-family: 'Josefin Sans', sans-serif;
  font-style: normal;
  font-weight: 500;
	align-content: center;
	font-size: 1.1vw;
    color: #000;
}
.contact-btn{
        background: #0F4089;
    font-size: 0.9vw;
    border-radius: 1.2vw;
    padding: 0.4vw 1.5vw 0.6vw 1.5vw;
     color: #FFF;
}
.contact-btn a{
    vertical-align: 1px;
}
.header-nav a {/*ヘッダー文字色*/
	color: #000;
	padding: 20px 2vw;
    text-decoration: none;
}
.header-nav nav {/*ヘッダー間*/
	margin: 0 0 0 auto;
}

.header-nav ul {/*スマホ用ボタン*/
	list-style: none;
	margin: 0;
	display: flex;
}




.sp-nav {/*スマホ用のナビ非表示*/
	display: none;
}


/*------------------------------------------------------------ヘッダー　プルダウン---------------------------------------------------*/

.pc-nav ul{/*ナビゲーションを横並びに*/
  list-style: none;
  display: flex;
  justify-content: center;
    font-size: 105%;
}

.pc-nav ul ul{/*2階層目以降は横並びにしない★*/
  display: block;
}

.pc-nav ul li{/*下の階層のulや矢印の基点にするためliにrelativeを指定★*/
  position: relative;
    font-size: 1vw;
}

.pc-nav ul li a{/*ナビゲーションのリンク設定*/
  display: block;
  transition:all .3s;
}

.pc-nav ul li li a{/*ナビゲーションのリンク設定★*/
  padding: 15px 15px;
}

.pc-nav ul li a:hover{/*ナビゲーションのカーソル色変わる*/
  	color: #0F4089;
	opacity:0.5;
}

/*==矢印の設定*/




/*下の階層を持っているulの指定*/
.pc-nav li.has-child ul{
    /*絶対配置で位置を指定*/
  position: absolute;
  padding: 0;
  left: 12px;
    top: 68px;
  z-index: 4;
    /*形状を指定*/
  background:#FFF;
  width:160px;
    /*はじめは非表示*/
  visibility: hidden;
  opacity: 0;
    /*アニメーション設定*/
  transition: all .3s;
}

/*hoverしたら表示*/
.pc-nav li.has-child:hover > ul,
.pc-nav li.has-child ul li:hover > ul,
.pc-nav li.has-child:active > ul,
.pc-nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

/*ナビゲーションaタグの形状*/
.pc-nav li.has-child ul li a{
  color: #0F4089;
  border-bottom:solid 1px rgba(15,64,137,0.24);
}

.pc-nav li.has-child ul li:last-child a{
  border-bottom:none;
}

.pc-nav li.has-child ul li a:hover,
.pc-nav li.has-child ul li a:active{
  background: #0F4089;
    opacity: 1;
    color: #FFF;
}












.companyname-breadcrumb {
  display: flex;
  grid-gap: 2rem;
  max-width: 90%;
  margin: 0 auto;
  padding: 3rem 0;
  font-size: 1vw;
    font-style: normal;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  letter-spacing: 1px;
}
.breadcrumb li a {
  color: #0F4089;
}
.breadcrumb li a:hover{
    text-decoration: none;
}

.fa-light{
    font-size: 160%;
line-height: 3px;
}

/*欧文+日本語のタイトル部分*/
.jp-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1.2vw;
  vertical-align: 0.8vw;
  color: #FFF;
  padding: 0 1rem 0 1rem;
    letter-spacing: 0.2rem;
}
.eg-title {
  font-family: 'Josefin Sans', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 4vw;
  color: #FFF;
}
.parent {
  position: relative;
}
header img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}
header h2 {
  position: absolute;
  top: 43%;
  left: 39%;
}
.title {
  text-shadow: 3px 3px 6px #04063a40;
}
.headline {
  color: #0F4089;
  margin: 9rem 0 5rem;
  padding-bottom: 1rem;
  font-size: 185%;
  font-style: normal;
  font-weight: 500;
  border-bottom: solid 1px #aaaaaa;
}
section {
  width: 100%;
}
section img {
    width: 15vw;
  max-width: 300px;
}
.underline a {
  display: inline-block;
  position: relative;
  color: #0F4089;
  text-decoration: none;
}
.underline a:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -45px;
  width: 100%;
  height: 3px;
  background: #0F4089;
  transform: scale(0, 1);
  transform-origin: left;
  transition: 0.4s;
}
.underline a:hover:before {
  transform: scale(1);
}
.caption {
  font-size: 1.1vw;
  padding: 1rem 0;
  color: #000;
}
.between-lines{
    line-height: 1.5rem;
}
.youhin-box6-caption{
    line-height: 1.5rem;
    font-size: 1vw;
  padding: 1rem;
    margin: auto;
}

.totalstation-box1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-between;
  margin: 3rem 0 0 0;
  grid-gap: 4rem 0;
}
.totalstation-box1::before {
  content: "";
  width: 15vw;
  max-width: 300px;
  order: 1;
}
.totalstation-box1::after {
  content: "";
  width: 15vw;
  max-width: 300px;
}


.cad-drone-box0 {
  display: flex;
  justify-content: space-between;
}
.cad-drone-box1 {
  width: 47%;
  max-width: 625px;
}
.cad-drone-box2 {
  display: flex;
  justify-content: space-between;
}

.cad-drone-box3 {
  display: flex;
  align-items: center;
  grid-gap: 0rem;
  width: 100%;
  max-width: 300px;
}
.cad-drone-box4 {
  display: flex;
  flex-wrap: wrap;
    justify-content: center;
  align-content: space-between;
  text-align: center;
  grid-gap: 2rem;
}
.cad-drone-box4 img{
        width: 14vw;
    max-width: 300px;
    transition: transform 0.3s ease;
}
.cad-drone-box4 img:hover {
  transform: scale(1.2);
}
#pc .cad-drone-box4{
        margin: 0 auto;
    }


.youhin-box1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-between;
  margin: 3rem 0 0 0;
  grid-gap: 4rem 0;
}
.youhin-box2 {
  display: flex;
    flex-direction: column;
}
.youhin-box3 {
  display: flex;
  align-items: center;
  width: 70%;
  max-width: 910px;
  max-height: 325px;
}
.youhin-box4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  grid-gap: 2rem;
}
.youhin-box5 {
  text-align: center;
    overflow: hidden;
}
.youhin-box5 img:hover {
  transform: scale(1.2);
}
.youhin-box5 img{
        width: 13vw;
    max-width: 300px;
      transition: transform 0.3s ease;
}
.youhin-box6 {
  display: flex;
      overflow: hidden;
}

.youhin-box6 img{
    width: 5.5vw;
        max-width: 100px;
    transition: transform 0.3s ease;
    }
.youhin-box6 img:hover {
  transform: scale(1.2);
}


.hidden-br{
        display: none;
    }

.copyright {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  margin: 15rem 0 3rem 0;
  text-align: center;
}
.productwrap {
  max-width: 70%;
  margin: 0 auto;
}









@media (max-width: 400px) /*メディアクエリー　数値は任意で！　内容も！*/ {
  header img {
    width: 100%;
    height: 250px;
    object-fit: cover;
      object-position: 68%;
  }
  header h2 {
    left: 28%;
    top: 45%;
    text-align: center;
    line-height: 2rem;
  }
    
    
    
    
    
    /*----------------------------------------------------　ナビゲーションメニュー　----------------------------------------------------*/
    .header-nav a {
  padding: 0 0 0 2rem;
}
    
    /*ハンバーガーメニュー*/
	.pc-nav {
		display: none;
	}
	.sp-nav {
		z-index: 1;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		display: block;
		background: rgba(0, 0, 0, .8);
		opacity: 0;
		transform: translateY(-100%);
		transition: all .2s ease-in-out;
	}
	
	.logo-jp {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 7vw;
        margin-right: 0;
}
    .logo-eg {
    font-size: 3vw;
}
	#hamburger {
		position: relative;
		display: block;
		width: 30px;
		height: 25px;
		margin: 0 0 0 4rem;
	}
	#hamburger span {
		position: absolute;
		top: 50%;
		left: 0;
		display: block;
		width: 100%;
		height: 2px;
		background-color: #000;
		transform: translateY(-50%);
	}
	#hamburger::before {
		content: '';
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 2px;
		background-color: #000;
	}
	#hamburger::after {
		content: '';
		display: block;
		position: absolute;
		bottom: 0;
		left: 0;
		width: 70%;
		height: 2px;
		background-color: #000;
	}
	/*スマホメニュー*/
	.sp-nav ul {
		padding: 0;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		height: 100%;
	}
	.sp-nav li {
		margin: 0;
		padding: 0;
	}
	.sp-nav li span {
		font-size: 15px;
		color: #FFF;
	}
	.sp-nav li a, .sp-nav li span {
		display: block;
		padding: 20px 0;
        color: #FFF;
	}
	/*-閉じるアイコンー*/
	.sp-nav .close {
		position: relative;
		padding-left: 20px;
	}
	.sp-nav .close::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 0;
		display: block;
		width: 16px;
		height: 1px;
		background: #FFF;
		transform: rotate( 45deg );
	}
	.sp-nav .close::after {
		content: '';
		position: absolute;
		top: 50%;
		left: 0;
		display: block;
		width: 16px;
		height: 1px;
		background: #FFF;
		transform: rotate( -45deg );
	}
    .toggle {
		transform: translateY( 0 );
		opacity: 1;
    }
    
    /*----------------------------------------------------　ナビゲーションメニューここまで　----------------------------------------------------*/
    
  .jp-title {
    font-size: 4.5vw;
          vertical-align: 1.8vw;
  }
  .eg-title {
    font-size: 10.5vw;
  }
    
    .companyname-breadcrumb {
    font-size: 80%;
        max-width: 80%;
    padding: 1.5rem 0 1rem 0;
}
  
    .headline {
    font-size: 130%;
        margin: 4rem 0 2rem;
    }
    
  section img {
      width: 100%;
    max-width: 150px;
  }
    
    .totalstation-box1 {
    grid-gap: 1rem 0;
}
    
    .cad-drone-box0 {
    display: block;
}
    .cad-drone-box1 {
    width: 100%;
}
    .cad-drone-box2 {
    display: flex;
        flex-wrap: nowrap;
    width: 100%;
}
    
    .cad-drone-box4 {
    display: block;
}
    .cad-drone-box4 img{
        margin: 0.5rem 0 0.5rem 0;
                width: 100%;
        max-width: 120px;
    }
    .youhin-box1 {
    grid-gap: 2rem 0;
        justify-content: center;
}
    .youhin-box3 {
    width: 100%;
    }
    
    .youhin-box4 {
        justify-content: center;
    grid-gap: 1.5rem 1.5rem;
}
    .youhin-box5 img{
        width: 100%;
        max-width: 120px;
    }
    .youhin-box6 img{
        width: 14vw;
        max-width: 50px;
    }
    
    .hidden-br{
        display: block;
    }
  
  .caption {
    font-size: 80%;
    padding: 1rem 0;
  }
    .totalstation-caption {
    font-size: 35%;
    padding: 1rem 0;
  }
    .youhin-box6-caption{
    font-size: 80%;
    padding: 0.5rem;
        letter-spacing: -0.11rem;
        text-align: center;
}
    
    #youhin .caption{
    padding: 0.3rem 0 0.5rem 0;    
    }
    
    .kerning{
    letter-spacing: -0.2rem;
}
    .between-lines {
    line-height: 1.2rem;
}

    .copyright {
    font-size: 10px;
    margin: 5rem 0 3rem 0;
}
    
    .productwrap {
    max-width: 80%;
    margin: 0 auto;
  }
    
}