@charset "utf-8";
/* CSS Document */
body {
  background: #171635;
  font-family: "Sawarabi Mincho", serif;
}
/*header用に画面全体の右に210pxの隙間を作る*/
#wrapper {
  width: calc(100% - 210px);
  margin: 0;
  padding: 0;
}
/*ヘッダー設定*/
header {
  position: fixed;
  top: 0;
  right: 0;
  width: 210px;
  height: 100vh;
  background-color: #eee;
  z-index: 1;
  text-align: center;
}
header img {
  margin-top: 80px;
}
nav {
  margin-top: 100px;
}
header nav ul li {
  margin: 40px 0;
}
nav ul li a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  display: block;
}
nav ul li a:hover, footer ul li a:hover {
  color: #6CF47A;
  transition: 0.2s;
  text-decoration: underline;
}
/* ハンバーガーメニューアイコンを768px以上で非表示 */
.menu-btn {
  display: none; /* 768px以上では非表示 */
}
/*footer設定*/
footer {
  background: #000;
  width: 100%;
  height: 80px;
}
footer ul {
  display: flex;
  justify-content: center;
}
footer ul li {
  margin: 10px 65px;
}
footer ul li a {
  text-decoration: none;
  color: #fff;
  display: block;
}
footer p {
  text-align: center;
  color: #fff;
  font-size: 13px;
  margin-top: 20px;
}
/*TOPページmainview設定*/
.mainview img {
  width: 100vw;
  position: relative;
  object-fit: cover;
  vertical-align: top;
}
.mainview p {
  position: absolute;
  top: 15%;
  left: 5%;
  font-size: 2vw;
  color: #fff;
  line-height: 3em;
  letter-spacing: 0.5em;
}
#slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
#slideshow img {
  position: absolute;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  object-fit: cover;
}
#slideshow img.active {
  opacity: 1;
}
/*企業理念コンテンツ設定*/
#misstion {
  width: 100%;
  height: 800px;
  background: #eee;
  display: flex;
  justify-content: space-between;
}
.idea {
  width: 100%;
  position: relative;
}
.idea h2 {
  font-size: 36px;
  padding-top: 100px;
  padding-left: 150px;
}
.idea h3 {
  font-size: 24px;
  width: 800px;
  margin: 150px auto 0 auto;
  line-height: 1.5em;
  letter-spacing: 0.03em;
}
.idea p {
  font-size: 18px;
  width: 800px;
  margin: 100px auto 0 auto;
  line-height: 2.0em;
  letter-spacing: 0.05em;
}
.idea .under {
  width: fit-content;
  font-size: 20px;
  margin: 35px 0 0 0;
  padding-left: 150px;
}
.under::after {
  content: "";
  display: block;
  width: 100%;
  height: 10px;
  background-color: #6CF47A;
  margin-left: 20px;
}
.vertical {
  color: #fff;
  transform: rotate(90deg);
  position: absolute;
  top: 35%;
  right: -20%;
  font-size: 36px;
  letter-spacing: 0.5em;
}
#misstion img {
  object-fit: cover;
}
/*事業紹介コンテンツ設定*/
#business h2 {
  font-size: 36px;
  color: #FFF;
  margin-top: 80px;
  text-align: center;
}
#business h3 {
  font-size: 24px;
  color: #6CF47A;
  margin-top: 20px;
  text-align: center;
}
.aria {
  margin-top: 100px;
  display: flex;
  justify-content: space-around;
}
.service {
  position: relative;
  display: inline-block;
}
.service img {
  display: block;
}
.service p {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}
.service:hover img {
  opacity: 0.7;
}
/*代表挨拶*/
#ceo h2 {
  font-size: 36px;
  color: #FFF;
  margin-top: 80px;
  text-align: center;
}
#ceo h3 {
  font-size: 24px;
  color: #6CF47A;
  margin-top: 20px;
  text-align: center;
  margin-bottom: 100px;
}
.flex {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.message {
  width: 500px;
  height: 600px;
  background: #000;
  position: relative;
  top: 100px;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
}
.message p {
  width: 430px;
  color: #fff;
  font-size: 16px;
  line-height: 1.5em;
  margin: 0 auto;
  margin-top: 30px;
  margin-bottom: 40px;
}
/*アクセス*/
#map h2 {
  font-size: 36px;
  color: #FFF;
  margin-top: 180px;
  text-align: center;
}
#map h3 {
  font-size: 24px;
  color: #6CF47A;
  margin-top: 20px;
  text-align: center;
}
.adress {
  text-align: center;
}
.adress p {
  color: #fff;
  font-size: 18px;
  margin: 20px auto;
  display: block;
  text-align: left;
  width: 500px;
}
iframe {
  width: 100%;
  height: 450px;
}
/*お問い合わせ*/
#contact h2 {
  font-size: 36px;
  color: #FFF;
  margin-top: 80px;
  text-align: center;
}
#contact h3 {
  font-size: 24px;
  color: #6CF47A;
  margin-top: 20px;
  text-align: center;
}
.foamflex {
  display: flex;
  justify-content: center;
  gap: 200px;
  margin: 100px 0;
}
.foam {
  width: 400px;
  height: 150px;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.foam p {
  color: #fff;
  font-size: 24px;
}
.foam img {
  width: 60px;
  height: 60px;
}
#contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  gap: 20px;
}

/*注意書き*/
.attention{
	font-size:15px;
	color: #fff;
	text-align: center;
	margin: 50px auto;
}
/*下層3ページ分のメインビュー設定*/
.view {
  position: relative;
  width: 100%;
}
.view2 {
  width: 100%;
  object-fit: cover;
}
.view p {
  font-size: 3.5vw;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
.view img {
  width: 100%;
  height: 400px;
  vertical-align: top;
}
/*当社の強み見出し*/
#appeal {
  width: 100%;
  height: calc(100% - 400px);
  background: #000;
  text-align: center;
}
#appeal h2 {
  font-size: 36px;
  color: #fff;
  padding-top: 50px;
}
#appeal h3 {
  font-size: 24px;
  color: #6CF47A;
  margin-top: 20px;
}
#appeal h4 {
  font-size: 24px;
  color: #fff;
  margin-top: 100px;
}
#appeal p {
  font-size: 18px;
  color: #fff;
  line-height: 3.0em;
  letter-spacing: 0.1em;
  margin-top: 80px;
	padding-bottom: 80px;
}
/*当社の強みコンテンツ*/
.title {
  font-size: 36px;
  color: #fff;
  margin: 50px 0;
  text-align: center;
}
.strongleft h3, .strongright h3 {
  font-size: 24px;
  color: #6CF47A;
}
.strongleft h4, .strongright h4 {
  font-size: 24px;
  color: #fff;
  margin: 50px 0;
}
.strong p {
  font-size: 18px;
  color: #fff;
  text-align: left;
  letter-spacing: 0.02em;
  line-height: 1.2em;
}
.strongright, .strongleft {
  width: 100%;
  height: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 100px 0;
}
.strong {
  width: 450px;
  height: auto;
  margin-left: 100px;
}
.strongleft img, .strongright img {
  margin-right: 100px;
  display: block;
  object-fit: cover;
}
.strongright .strong {
  order: 1;
  margin-right: 100px;
}
.strongright img {
  order: 2;
  margin-left: 100px;
}
/*取り扱いメーカー*/
.makerleft h3, .makerright h3 {
  font-size: 24px;
  color: #6CF47A;
  padding-bottom: 80px;
}
.maker p {
  font-size: 18px;
  color: #fff;
  text-align: left;
  letter-spacing: 0.02em;
  line-height: 1.5em;
}
.makerright, .makerleft {
  width: 100%;
  height: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 100px 0;
}
.maker {
  width: 450px;
  height: auto;
  margin-left: 100px;
}
.makerleft img, .makerright img {
  margin-right: 100px;
  display: block;
  object-fit: cover;
}
.makerright .maker {
  order: 1;
  margin-right: 100px;
}
.makerright img {
  order: 2;
  margin-left: 100px;
}
/*技術サポート*/
.support h3 {
  font-size: 24px;
  color: #6CF47A;
  margin-bottom: 50px;
}
.support p {
  width: 500px;
  font-size: 18px;
  color: #fff;
  line-height: 1.3em;
  letter-spacing: 0.02em;
}
#support1, #support2 {
  display: flex;
  justify-content: center;
}
.column {
  display: flex;
  flex-direction: column;
  order: 1;
  margin-right: 100px;
}
#support1 img, #support2 img {
  width: 500px;
  height: 500px;
  order: 2;
  margin-left: 100px;
  margin-bottom: 100px;
  object-fit: cover;
}
#support1 .support:nth-child(2) h3, #support2 .support:nth-child(2) h3, #support2 .support:nth-child(3) h3 {
  margin-top: 50px;
}
#support2 {
  margin-bottom: 100px;
}
/*・スマートフォン → width=768px まで*/
@media screen and (max-width: 768px) {
  #wrapper {
    width: 100%;
  }
  /*ヘッダー設定*/
  header {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    background-color: #eee;
  }
  header img {
    margin-top: 0;
    width: 100px;
    height: auto;
  }
  /* ハンバーガーメニューアイコンを表示 */
  .menu-btn {
    font-size: 30px;
    cursor: pointer;
    display: block; 
    color: #000;
  }
	h1{
		margin-left: 20px;
	}
  nav {
    display: none;
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; 
    background-color: rgba(238, 238, 238, 0.95);
    text-align: center;
	margin-top: 50px;
    z-index: 1000; 
  }
  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul li {
    margin: 10px 0;
  }
  nav.active {
    display: block;
  }
	/*フッター設定*/
	footer ul li {
  margin: 10px 15px;
}
/*メインビュー設定*/
	
  .mainview p {
    font-size: 4vw;
    top: 10%;
  }
  /* 企業理念 */
  #misstion {
    display: block;
    height: auto;
  }
	.idea h2{
		width: 80%;
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
    font-size: 24px;
	}
.idea h3, .idea p {
	  width: 80%;
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
    font-size: 16px;
  }
  .vertical {
    display: none;
  }
  #misstion img {
    width: 100%;
    height: 250px;
	  margin-top: 50px;
	  vertical-align: top;
  }
  /* 事業紹介 */
	#business h2{
		font-size:24px;
	}
	#business h3{
		font-size: 18px;
	}
  .aria {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .service img {
    width: 80%;
	margin: 0 auto;
  }
  .service p {
    font-size: 18px;
  }
  /* 代表挨拶 */
	#ceo h2{
		font-size:24px;
	}
	#ceo h3{
		font-size: 18px;
	}
  .flex {
    flex-direction: column;
    align-items: center;
  }
  .message {
    width: 100%;
    height: auto;
	top:0;
  }
  .message p {
    width: 100%;
  }
	#ceo img{
		width: 80%;
		margin-bottom: 0;
		padding-bottom: 0;
	}
  /* アクセスマップ */
	#map h2{
		font-size:24px;
	}
	#map h3{
		font-size: 18px;
	}
  .adress p {
    text-align: center;
    width: 90%;
  }
  iframe {
    height: 300px;
  }
  /* お問い合わせセクション */
	#contact h2{
		font-size:24px;
	}
	#contact h3{
		font-size: 18px;
	}
  .foamflex {
    flex-direction: column;
	  gap:0;
  }
  .foam {
    width: 300px;
    height: 100px;
	margin: 0 auto;
	  margin-top: 50px;
  }
  .foam img {
    width: 40px;
    height: 40px;
  }
  .foam p {
    font-size: 16px;
  }
/*下層3ページメインビュー*/
.view p{
	font-size: 5vw;
}
	.view img{
		width: 100%;
		height: 300px;
		object-fit: cover;
		vertical-align: top;
	}

/*下層３ページセクション1*/
#appeal h2 {
  font-size: 24px;
}
#appeal h3 {
  font-size: 18px;
}
#appeal h4 {
  font-size: 18px;
}
#appeal p {
	width: 85%;
	margin: 0 auto;
  font-size: 15px;
	letter-spacing: 0;
	line-height: 1.3em;
	text-align: left;
	margin-top: 50px;
	padding-bottom: 50px;
}

/*当社の強み*/
.title {
    font-size: 28px; 
    margin: 30px 0;  
  }

  .strongleft, .strongright,.strong p {
    flex-direction: column; 
    text-align: center;    
    margin: 50px 0;         
  }
	.strong:nth-child(2){
		margin:0 auto;
	}
  .strongleft img, .strongright img {
    margin: 0 0 20px 0;    
    width: 60%;            
    height: auto;           
  }

  .strong {
    width: 90%;            
    margin: 0 auto;        
  }

  .strongleft h3, .strongright h3 {
    font-size: 20px;        
  }

  .strongleft h4, .strongright h4 {
    font-size: 20px;        
    margin: 20px 0;         
  }

  .strong p {
	  width: 90%;
    font-size: 15px;      
    line-height: 1.3em;
	  text-align: left;
	  margin: 0 auto;
  }
.strongright img,.strong{
	order: 0;
}
/*技術サポート*/
	.support h3 {
    font-size: 20px;  
    margin-bottom: 30px; 
  }

  .support p {
    width: 90%;  
    font-size: 15px;  
    line-height: 1.5em; 
	  text-align: left;
	  margin: 0 auto;
	  margin-top: 50px;
  }

  #support1, #support2 {
    flex-direction: column;  
    align-items: center; 
	  text-align: center;
  }

  .column {
    margin: 0;  
    width: 100%;  
  }

  #support1 img, #support2 img {
    width: 80%; 
    height: auto;  
    margin: 20px 0;  
    order: -1;  
  }

  #support1 .support:nth-child(2) h3, 
  #support2 .support:nth-child(2) h3, 
  #support2 .support:nth-child(3) h3 {
    margin-top: 30px;  
  }

  #support2 {
    margin-bottom: 50px;  
  }
	/*取り扱いメーカー*/
	  .makerleft, .makerright {
    flex-direction: column; 
    align-items: center; 
    margin: 50px 0; 
		  text-align: center;
  }

  .maker {
    width: 90%;
    margin: 0; 
  }

  .makerleft img, .makerright img {
    width: 80%; 
    height: auto; 
    margin: 0 0 20px 0; 
  }

  .makerleft h3, .makerright h3 {
    font-size: 20px; 
    padding-bottom: 30px; 
  }

  .maker p {
    font-size: 15px; 
    line-height: 1.5em; 
    text-align: left; 
  }
	.makerright img,.maker{
		order: 0;
	}
	.maker:nth-child(2){
		margin-right: 0;
	}
	/*注意書き*/
.attention{
	font-size:12px;
}
}