@charset "utf-8";

/* contact/
--------------------------------------------------------------------------*/
.contact-type {
  display: grid;
	grid-gap: 1em;
	grid-template-columns: repeat(3, 1fr);
  justify-content: space-between;
  grid-template-areas: "tel fax email";
  margin-bottom: 50px;
}
.contact-type li {position: relative;}
.contact-type li p {
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
}
.contact-type .tel,
.contact-type .fax,
.contact-type .email a {
  border: solid 1px #ccc;
  background-color: #eee;
	height: 80px;
  line-height: 1.2;
  text-align: center;
  font-weight: bold;
  font-size: 2.4rem;
  display: block;
  text-decoration: none;
}
.contact-type .tel {grid-area: tel;}
.contact-type .fax {grid-area: fax;}
.contact-type .email {grid-area: email;}
.contact-type .email span {
  font-size: 1.4rem;
  margin-left: 1em;
}
.contact-type .email a:hover {
  background-color: rgba(230, 255, 255, .4);
  border-color: #00c8ff;
}
@media screen and (max-width: 1400px) {
	.contact-type {
    grid-template-columns: repeat(2, 1fr);
		grid-template-areas: "tel fax"
			"email email";
  }
  .contact-type .email br{display: none;}
}
@media screen and (max-width: 768px) {}
@media screen and (max-width: 480px) {
  .contact-type {
		grid-template-columns: 1fr;
		grid-template-areas: "tel"
			"fax"
			"email";
	}
  .contact-type .tel,
  .contact-type .fax {width: 100%;}
  .contact-type .email a {
    line-height: 1.2;
    font-size: 2.2rem;
  }
  .contact-type .email br{display: block;}
  .contact-type .email span {
    display: block;
    margin-top: 5px;
  }
}
.optional,
.required {
	position: relative;
	padding-left: 3.5em;
	text-align: left;
}
.optional::before,
.required::before {
	position: absolute;
	left: 0.5em;
  color: #fff;
  font-weight: normal;
  font-size: 1.4rem;
  padding: 1px 5px;
  border-radius: 3px;
}
.optional::before {
	content: '任意';
  background-color: #888;
}
.required::before {
	content: '必須';
  background-color: #f00;
}
input,
textarea,
select {
  border: solid 1px #ccc;
  padding: 1em;
  width: 100% !important;
  box-sizing: border-box;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック Medium","Yu Gothic Medium", "メイリオ", "Meiryo", "sans-serif";
	font-feature-settings: "palt";
  font-size: 1.4rem;
  transition: all .3s ease-in-out;
}
input.sizeS {
  width: 50% !important;
}
select {
  width: 50% !important;
}
textarea {
  height: 7em !important;
}
::placeholder {
  color:#999;
}
input:focus,
input:hover,
select:focus,
select:hover,
textarea:focus,
textarea:hover {
  border-color: #00c8ff;
  background-color: rgba(230, 255, 255, .3);
}
.error-text {
	margin-bottom: 0;
	margin-top: .2em;
	color: #f00;
}
.send-btn {text-align: center;}
.send-btn input {
  width: 300px !important;
  margin: 50px 1em;
  text-align: center;
  display: inline-block;
  cursor: pointer;
  background-color: #1d2087;
  color: #fff;
  border-color: #1d2087;
  font-size: 1.6rem;
}
.send-btn input:hover {
  background-color: #fff;
  color: #1d2087;
}
.send-btn input#backbutton {
	background-color: #666;
  border-color: #666;
}
.send-btn input#backbutton:hover {
	background-color: #fff;
	color: #666;
}
@media screen and (min-width: 1600px) {
  input.sizeS {
    width: 33% !important;
  }
  select {
    width: 33% !important;
  }
}
@media screen and (max-width: 480px) {
  select {
    width: 100% !important;
  }
  input.sizeS {
    width: 100% !important;
  }
  .send-btn input {
		display: block;
    width: 100% !important;
		margin-left: 0;
		margin-right: 0;
  }
}


/* thanks.html
--------------------------------------------------------------------------*/
.thanks-box {
  text-align: center;
}
.thanks-box .title {
  font-size: 2.0rem;
  font-weight: bold;
}
.thanks-box .btn a {
  display: block;
  text-decoration: none;
  width: 300px;
  margin: 2em auto 0;
  background-color: #1d2087;
  color: #fff;
  border: solid 1px #1d2087;
  padding: 1em 0;
}
.thanks-box .btn a:hover {
  background-color: #fff;
  color: #1d2087;
}
@media screen and (max-width: 480px) {
  .thanks-box .btn a {
    width: 100%;
  }
}


/* common
--------------------------------------------------------------------------*/
.side-navi .btn-products li:not(:last-child) {
  margin-bottom: 10px;
}
.side-navi .btn-products a {
  display: block;
  color: #fff;
  background-repeat: no-repeat;
  background-position: center left 10px, center right 10px;
  height: 70px;
  font-size: 1vw;
  font-size:min(1vw,16px);
  line-height: 1.2;
  position: relative;
}
.side-navi .btn-products a span{
  position: absolute;
  top: 50%;
  left: 39%;
  transform: translateY(-50%);
}
.side-navi .btn-products a:hover {
  opacity: .7;
}
.side-navi .btn-products .kenna a {
  background-color: #f4ca20;
  background-image: url("../img/logo_kennametal.svg"), url("../img/arrow_w.svg");
  background-size: 32%, 10px;
  color: #333;
}
.side-navi .btn-products .haynes a {
  background-color: #de3232;
  background-image: url("../img/logo_haynes.svg"), url("../img/arrow_w.svg");
  background-size: 32%, 10px;
}
.side-navi .btn-products .gtv a {
  background-color: #317eb2;
  background-image: url("../img/logo_gtv.svg"), url("../img/arrow_w.svg");
  background-size: 20%, 10px;
  background-position: center left 10%, center right 10px;
}
.side-navi .btn-products .deloro a {
  background-color: #004899;
  background-image: url("../img/logo_deloro.svg"), url("../img/arrow_w.svg");
  background-size: 32%, 10px;
}
@media screen and (min-width: 1500px) {
  .side-navi .btn-products .gtv a {
    background-size: 15%, 10px;
    background-position: center left 15%, center right 10px;
  }
  .side-navi .btn-products .deloro a {
    background-size: 26%, 10px;
    background-position: center left 10%, center right 10px;
  }
}
@media screen and (max-width: 768px) {
  .side-navi {
    display: none;
  }
}