@charset "UTF-8";

html{
	font-size:62.5%;
	}

*,*::before, *::after{
	box-sizing:border-box;
	}

body{
	background:#151515 url(../images/bg.png) no-repeat fixed left bottom;
	background-size:cover;
	color:#fff;
	text-align:center;
	font-size:1.4rem;
	font-family:"Yu Mincho", "Hiragino Mincho ProN", "serif";
	}

ul {
  list-style: none;
}

/* --------------------------------
 * タイトルの文字を線で囲う
 * -------------------------------- */

.line-title {
  position: relative;
  display: inline-block;
  padding: 20px 30px;
}

.line-title span {
  position: absolute;
  background: #000;
}

/* 上 */
.line-title span:nth-child(1) {
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  animation: line-x 0.6s ease forwards;
  animation-delay: 0.6s; /* ←ここで遅らせる */
}

/* 右 */
.line-title span:nth-child(2) {
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top;
  animation: line-y 0.6s ease forwards;
  animation-delay: 1.1s;
}

/* 下 */
.line-title span:nth-child(3) {
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: right;
  animation: line-x 0.6s ease forwards;
  animation-delay: 1.6s;
}

/* 左 */
.line-title span:nth-child(4) {
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  transform: scaleY(0);
  transform-origin: bottom;
  animation: line-y 0.6s ease forwards;
  animation-delay: 2.1s;
}

@keyframes line-x {
  to { transform: scaleX(1); }
}

@keyframes line-y {
  to { transform: scaleY(1); }
}


/* --------------------------------
 * header
 * -------------------------------- */

.header{
	padding:0 0 200px;
	}

.site-title{
	margin:120px 0 40px;
	font-size:7.6rem;
	}

/*ハンバーガー*/

.rogo_w_h {
  position: fixed;
  left: 0;
  width: 200px;
  margin: 7px 3%;
  z-index: 20;
}

.rogo_w_h a:hover{
  opacity: 0.7;
  filter: alpha(opacity=80);
  -moz-opacity: 0.7;
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
}

.img_rogo{
  display: block;
  width:37px;
  height:auto;

  transform: translateY(-100px);
  opacity: 0;
  animation: dropIn 1s ease-out forwards;
  animation-delay: 1.5s;
}
@keyframes dropIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#nav_b{
	position:fixed;
	top:0;
	right: 0;
	width:100%;
	height:55px;
	/*
	background-color: rgba(255,255,255,0.7);
	*/
	z-index:10;
	}

.nav_bb {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 55px;
  background-color:#c8cfdc;
  z-index: 1;

  /* 左下を斜めにする 
  clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
  */
  /* 初期状態は縮小・透明 */
  transform: scaleX(0);
  transform-origin: right;
  opacity: 0;

  /* アニメーション設定 */
  animation: slideFade 1s ease-out forwards;
  animation-delay: 2s; /* 3秒後に開始 */
}

@keyframes slideFade {
  to {
    transform: scaleX(1); /* 右から左に伸びる */
    opacity: 1;           /* フェードイン */
  }
}



.global-nav {
	height: 600px;
}

.global-nav-ul{
	padding: 0;
}

.site-description{
	margin-bottom:30px;
	color:#fff;
	font-size:1.6rem;
	}

.button{
	display:inline-block;
	width:50px;
	height:50PX;
	border-radius:50px;
	background-color: rgba(255,255,255,0.3);
	color:#fff;
	text-decoration:none;
	font-size:1.2rem;
	}

.button .skill-icon-b {
	width:50px;
	height:50px;
	padding:10px 0;
	font-size:3.5rem;
	opacity: 0.7;
	}


.button:hover{
	opacity:0.7;
	}
	
.buttons .button{
	margin:10px;
	}



/* --------------------------------
 * about
 * -------------------------------- */

.about{
	margin: 0 3% 50px;
	padding:80px 30px 80px;
	background-color:#fff;
	color:#000;
	box-shadow: 0px 0px 5px 4px rgba(0,0,0,0.1);
	}

.headihg{
	position: relative;
	display:inline-block;
	margin:30px 0 15px;
	padding-bottom:15px;
	letter-spacing:2px;
	font-size:4rem;
	}


.about-text{
	margin:30px 0;
	line-height:2.5;
	}


/* --------------------------------
 * 事業内容
 * -------------------------------- */

.about-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px auto;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.about-table th,
.about-table td {
  border: 1px solid #ccc;
  padding: 10px 15px;
  vertical-align: top;
}

.about-table th {
  background-color: #f8f8f8;
  font-weight: bold;
  text-align: left;
  white-space: nowrap;
  width: 180px;
}

.about-table td {
  background-color: #fff;
}


/* --------------------------------
 * contact
 * -------------------------------- */

.contact{
	padding:80px 0 150px;
	background:#fff;
	color:#4B4B4B ;
	}

.contact_b{
	background:#fff;
	background-size:cover;
	}

.contact_h2{
	color:#4B4B4B ;
}

.contact-form{
	width:50%;
	margin:30px auto 0;
	}

.contact-form input[type=text],
.contact-form textarea{
	display:block;
	width:100%;
	margin-bottom:10px;
	padding:15px;
	outline:none;
	border:1px solid #CFCFCF;
	border-radius:0;
	background-color:#EBEBEB;
	color:#4B4B4B;
	}

.contact-form input[type=email],
.contact-form emailtarea{
	display:block;
	width:100%;
	margin-bottom:10px;
	padding:15px;
	outline:none;
	border:1px solid #CFCFCF;
	border-radius:0;
	background-color:#EBEBEB;
	color:#4B4B4B;
	}

.contact-form input[type=tel],
.contact-form teltarea{
	display:block;
	width:100%;
	margin-bottom:10px;
	padding:15px;
	outline:none;
	border:1px solid #CFCFCF;
	border-radius:0;
	background-color:#EBEBEB;
	color:#4B4B4B;
	}

.contact-form ::-webkit-input-placeholder{
	color: #CFCFCF;
	opacity:1;
	}
	
.contact-form :-ms-input-placeholder{
	color: #CFCFCF;
	opacity:1;
	}

.contact-form ::-moz-placeholder{
	color: #CFCFCF;
	opacity:1;
	}

.contact-form textarea{
	height:250px;
	}

.contact-form input[type=text]:focus,
.contact-form textarea:focus{
	box-shadow:0 0 8px rgba(0,0,0,0.2) inset;
	}

.contact-form .btn-submit{
  display: block;
  width: 100%;
  margin: 40px auto 0;
  padding: 15px;
  border: 1px solid rgba(0,0,0,0.23);
  border-radius: 5px;
  background-color: rgba(0,0,0,0.8);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 1rem;
  appearance: none;
  -webkit-appearance: none;
}

/* hover */
.contact-form .btn-submit:hover{
  background-color: rgba(0,0,0,0.3);
}

/* ===== 送信中/完了の演出 ===== */
.contact-form { position: relative; }

.form-thanks{
  position:absolute; inset:0;
  display:grid; place-items:center;
  opacity:0; pointer-events:none;
  transform: translateY(6px);
}

.contact-form.is-success .form-thanks{
  opacity:1; transform:translateY(0);
  pointer-events:auto;
  transition: opacity .45s ease .15s, transform .45s ease .15s;
}

.contact-form.is-success input,
.contact-form.is-success textarea,
.contact-form.is-success .btn-submit{
  opacity:0; transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events:none;
}

.contact-form.is-sending .btn-submit{
  opacity:.8;
  cursor:not-allowed;
}

.form-error{ margin-top:12px; color:#c62828; min-height:1.2em; }

.thanks-mark{
  width:56px; height:56px; border-radius:999px;
  display:grid; place-items:center;
  margin:0 auto 12px;
  background: rgba(30,144,255,.15);
  color:#1e90ff;
  font-size:1.6rem; font-weight:800;
}


/* --------------------------------
 * footer
 * -------------------------------- */
.footer{
	padding:130px 0 100px;
	font-size:1.3rem;
	background:#183465;
	color:#fff;
	}

.horizontal-item{
	display:inline-block;
	position: relative;
	padding:0 30px 0 10px;
	letter-spacing:1px;
	}

.horizontal-list{
	width:100%;
	margin:0 auto 30px;
	}

.horizontal-list .horizontal-item a{
	color:#fff;
	transition:color .15s;
	text-decoration:none;
	}

.horizontal-list .horizontal-item a:hover{
	opacity: 0.5;
	transition: opacity 0.6s;
	}

.horizontal-item::before{
	content:'';
	position:absolute;
	top: 7px;
	left:0;
	width: 8px;
	height: 8px;
	background: #fff;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-transform-origin: 0 100%;
	-moz-transform-origin: 0 100%;
	-ms-transform-origin: 0 100%;
	-o-transform-origin: 0 100%;
	transform-origin: 0 100%;
	}


.cop{
	margin: 80px auto 0;
}




/* --------------------------------
 * smart phone
 * -------------------------------- */

	
@media (max-width:1024px){
	
	body{
	background-image: none;
	}
	
	}	
	
	
@media (max-width:768px){
	
	body{
		font-size:1.3rem;
		}
	
	/*header*/
	
	.site-title{
		margin-top:35px;
		font-size:5rem;
		}
	
	.header{
		padding:100px;
		}
	
	.button:hover{
		opacity:1;
		}
	
	
	/*nav*/
	
	.global-nav .nav-item {
  	display: block;
    }
	
	/*about me*/
	
	.headihg{
		font-size:2.5rem;
		}
	
	.about{
	padding:50px 30px 10px;
	}
	
	.about-text{
		line-height:1.8;
		}
	
	
	/*事業内容*/
	
 .about-table,
  .about-table thead,
  .about-table tbody,
  .about-table th,
  .about-table td,
  .about-table tr {
    display: block;
    width: 100%;
  }

  .about-table tr {
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
  }

  .about-table th {
    background-color: #f0f0f0;
    padding: 10px;
    width: 100%;
	text-align: center;
    border-bottom: 1px solid #ccc;
  }

  .about-table td {
    padding: 10px;
    border: none;
  }

	
	
	/*contact*/

	.contact-form{
		width:80%;
		}
	
	.contact{
		padding-bottom:80px;
		}
	
	/* footer*/
	
	.horizontal-list{
		padding:0;
		}

	.horizontal-item{
		display:block;
		padding:5px 0;
		}
	
	.horizontal-item::before{
		display:none
	}
	
}
	