/*おおたけ*/
@charset "utf-8";

@keyframes fadeIn {
	from {
		opacity:0; /* 初めは透明 */
	}
	to {
		opacity:1; /* 不透明にする */
	}
}

body{
	margin:0;
	padding:0;
	overflow-y:scroll; /* 上下のスクロールバーを表示 */
	overflow-x:hidden;
}

nav{
	display:block;
	width:220px;
	position:fixed;
	background-color:#4d4d4d;
	top:0;
	left:0;
	bottom:0;
	transition:all 0.5s;
	z-index:10;
	opacity:1;
}

.open nav{
 left:0;
}

.sikaku{
	z-index:10;
	width:220px;
	height:100px;
	position:fixed;
	background:#d10011;
	bottom:0;
}

.red{
  background:#ff0000;
}

h4{
	z-index:11;
	color:#fff;
	left:5.6%;
	padding-top:5px;
}

.inner ul li img{
	width:190px;
}

nav .inner{
	padding:25px 0 0 0;
}

nav .inner ul{
	list-style:none;
	margin:0;
	padding:0;
}

nav .inner ul li{
	margin:0;
}

nav .inner ul li a{
	text-align:center;
	display:block;
	text-decoration:none;
	color:#fff;
	font-size:14px;
	padding:1rem;
	transition-duration:0.2s;
}

nav .inner ul li a:hover{
	background-color:#e60013;
}


.toggle-btn{
	display:none;
	position:fixed;
	top:30px;
	right:30px;
	width:30px;
	height:30px;
	z-index:999;
	cursor:pointer;
}

.toggle-btn span{
	z-index:11;
	position:absolute;
	display:block;
	left:0;
	width:30px;
	height:2px;
	background-color:#fff;
	transition:all 0.5s;
	border-radius:4px;
}

.toggle-btn span:nth-child(1){
	top:4px;
}

.toggle-btn span:nth-child(2){
	top:14px;
}

.toggle-btn span:nth-child(3){
	bottom:4px;
}

.open .toggle-btn span{
	background-color:#fff;
}

.open .toggle-btn span:nth-child(1){
	transform:translateY(10px)rotate(-315deg);
}

.open .toggle-btn span:nth-child(2){
	opacity:0;
}

.open .toggle-btn span:nth-child(3){
	transform:translateY(-10px)rotate(315deg);
}

#mask{
	display:none;
	transition:all 0.5s;
}

.open #mask{
	display:block;
	background-color:#000;
	width:100%;
	height:100%;
	top:0;
	left:0;
	position:fixed;
	z-index:9;
	opacity:0.8;
	cursor:pointer;
}

#wrap{
	margin:0 auto;
	height:auto;
	margin-left:220px;
}

.header{
  width:100%;
  height:350px;
  display:flex;
  justify-content:center;
  overflow:hidden;
  background:#ccc;
  transition:all 0.5s;
}

.header img{
	width:1920px;
	height:calc(1920px * 0.3);
	transition:all 0.5s;
	z-index:1;
	position:relative;
	bottom:150px;
}

main{
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
}

.title{
  width:100%;
  height:auto;
}

.title-contents{
  width:650px;
  height:auto;
  position:relative;
}

.title-contents h2{
  margin:0;
  padding:0;
	font-size:1200%;
	height:200px;
	line-height:200px;
	padding-left:30px;
	opacity:0.2;
	position:absolute;
	top:-100px;
	z-index:2;
}

.title-contents h2::first-letter{
	color:#ff0000;
}

.contxTitle{
	font-size:300%;
	color:#333;
	height:100px;
	line-height:100px;
	position:absolute;
	margin:0;
	padding:0;
	padding-top:20px !important;
	padding-left:100px !important;
}

.line{
  width:80%;
  height:100px;
  border-bottom:1px solid #bbb;
  position:relative;
  left:10%;
  margin-top:-150px;
  padding-top:200px;
}

.renraku{
	width:100%;
	height:auto;
	margin-top:50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.renraku h2{
	margin:0;
	padding:10px;
	width:65%;
	display:flex;
	flex-direction:column;
	align-items:center;
	background:#ccc;
}

.renraku h2 p{
	margin:0;
	padding:0;
}

.reTitle1{
	font-size:150%;
	letter-spacing:0.05em;
	font-family:Arial;
	color:#707070;
  width: 80%;
  text-align: center;
  border-bottom: 1px solid #333;
  padding: 10px 0 !important;
}

.reTitle2{
	height:15px;
	line-height:15px;
	font-size:55%;
	letter-spacing:0.1em;
	color:#707070;
	margin-top: 10px !important;
}

small{
 font-size:70%;
}

.reContents{
  padding-top: 50px;
  padding-bottom: 100px;
}

.name, .email, .message {
  width: 100%; /* テキストボックスの幅を100%に設定 */
  box-sizing: border-box;
  /* 幅にpaddingやborderを含める */
  line-height:30px;
}

.left-align {
  text-align: left;
}

.grey-background {
  background-color: #d2d2d2; /* グレーの背景色 */
  border: 1px solid #ccc; /* グレーのボーダー */
}

.table-row {
  height: 50px; /* 適切な高さに調整してください */
}

.sousin{
  background-color:#333333;
  height:50px;
  width:160px;
  color:#fff;
  margin-top:40px;
}

tr:last-child{
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer{
	width:100vw;
	height:300px;
	background:#313131;
	color:#fff;
	margin-left:calc(50% - 50vw);
	margin-right:calc(50% - 50vw);
}

.footer p{
	margin:0;
	padding:0;
}

.contact{
	display:flex;
	flex-direction:column;
	align-items:center;
}

.conTitle1{
	font-size:140%;
	font-weight:bold;
	margin-top:10px !important;
}

.addreess small{
	font-size:70%;
}

.tel-num , .fax-num{
	font-size:140%;
	font-weight:bold;
}

.info{
	display:flex;
	width:auto;
	height:70px;
	margin-top:25px;
}

.contact-btn{
	height:70px;
	display:flex;
	align-items:center;
}

.footer-sikaku{
	width:150px;
	height:40px;
	margin-left:50px;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:50%;
	border:2px solid #fff;
	transition: all .3s;
}

.footer-sikaku:hover{
	background:#ff0000;
	transition: all .3s;
}

.footer-logo{
	width:100%;
	display:flex;
	justify-content:center;
}

.footer-logo img{
	width:200px;
}

.copylight{
	font-size:30%;
	width:100%;
	text-align:center;
}

.animated-element {
	opacity:0; /* 最初は透明 */
	transform:translateY(100%); /* 下からスライド */
	transition:opacity 0.5s ease, transform 1.5s ease;
}

.animated-element.active {
	opacity:1; /* 不透明にする */
	transform:translateY(0); /* 下からスライド */
}

@media screen and (max-width:1000px){
 .header{
  justify-content:flex-end;
 }

 .header,.header img{
  width:100%;
  height:calc(100vw * 0.35);
 }
 
 .header img{
  bottom:0;
 }

 nav{
  left:-220px;
 }

 .toggle-btn{
  display:block;
 }

 #wrap{
  margin-left:0;
 }
 
 .line{
   visibility:hidden;
   top:500px;
   left:10%;
 }

 .title-contents h2{
  font-size:500%;
 }
 
 .contxTitle{
  padding-left: 35px !important;
 }
 
 .explanation-wrap {
   flex-direction: column;
 }
 
 .contents-text{
  width:100%;
  order:2;
 }
 
 .contents-img{
  width:100%;
  order:1;
 }

}

@media screen and (min-width:1200px){
 .contents-img{
  height:480px;
 }
}