@charset "UTF-8";

/* ヒーローエリア */
section.hero_contact {
	width: 100%;
	height: 600px;
	background: url(../img/hero_contact.jpg) no-repeat center center;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0px 30px;
}

section.hero_contact img {
	display: block;
	max-width: 686px;
	width: 100%;
	height: auto;
}

/* コンテンツ */
section.content {
	padding: 30px 0px 45px;
}

section.content img.icon1 {
	display: block;
	width: 156px;
	height: auto;
	margin: 0 auto 60px;
}

.flow {
  width: 100%; /* ステップフロー全体の横幅を指定 */
  display: flex;            /* flexboxで横並びにする */
  justify-content: space-between; /* 横並びにしたものを等間隔で並べる */
  margin-bottom: 40px;
}

.flow li {
  color: #000;        /* 文字色を黒に指定 */
  font-size: 14px;    /* 文字サイズを指定 */
  width: calc(100% / 3); /* 横幅を三等分した1つの大きさに指定 */
  background: #e5e5e5;   /* 背景色をグレーに指定 */
  line-height: 50px;  /* 行間(高さの代わり)を指定 */
  text-align: center; /* 文字を中央寄せにする */
  position: relative; /* 基準位置とする */
}

.flow li:not(:first-child):not(:last-child) { 
  padding: 0 0 0 10px;  /* 最初と最後以外には左に適度な余白を指定 */
}

.flow li::before,
.flow li::after {
  content: "";  /* 疑似要素では必須 */
  width: 0;     /* 横幅を0に指定 */
  height: 0;　　/* 高さを0に指定 */
  display: block;  /* ブロック要素にする */
  position: absolute; /* 相対位置に指定 */
}

.flow li::before {
  border: solid 32px transparent;     /* 32pxのborderを指定 */
  border-right: solid 13px transparent;  /* 幅を合わせるため右線は13pxにする */
  border-left: solid 13px #FFF;          /* 白い三角形を作成して▷の形で上に重ねて削り取る */
  top: -7px;  /* 重ねる位置(縦軸)を調整 */
  left: 0;    /* 重ねる位置(横軸)を調整 */
  z-index: 1; /* 重なり順を指定 */
}

.flow li::after {
  border: solid 25px transparent;  /* 25pxのborderを指定 */
  border-left: solid 10px #E5E5E5; /* 左のborderで背景色と同じ矢印の部分を作成する */
  border-right: solid 10px transparent; /* 幅を合わせるために右線は10pxにする */
  top: 0;       /* 重ねる位置(縦軸)を調整 */
  right: -20px; /* 重ねる位置(横軸)を調整 */
  z-index: 2;   /* 重なり順の優先度を他よりも上げる */
}

.flow li:first-child::before,
.flow li:last-child::after {
  content: none;  /* 最初のliの左と最後のliの右は作らない */
}

.flow li.current {
  color: #FFF;
  background: #17284d;
}

.flow li.current::after {
  border-left: solid 10px #17284d;
}

section.content .container h3 {
	border-left: 6px solid #17284d;
	font-size: 16px;
	font-weight: normal;
	padding-left: 10px;
	margin-bottom: 20px;
}

section.content .container dl {
	margin-bottom: 20px;
	color: #000;
}

section.content .container dl dt {
	padding: 15px;
	background: #e5e5e5;
	margin: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

section.content .container dl dt span {
	display: block;
}

section.content .container dl dt span.req {
	background: #17284d;
	color: #FFF;
	padding: 3px 6px;
}

section.content .container dl dd {
	padding: 15px;
	background: #eee;
	margin: 0;
}

section.content .container dl.pri dt,
section.content .container dl.pri dd {
	background: #6f7e9f;
	color: #FFF;
}

section.content .container dl dd input.text,
section.content .container dl dd textarea {
	font-size: 16px;
	background: #fff;
	border: 1px solid #b6b6b6;
	width: 100%;
}

section.content .container dl dd textarea {
	height: 100px;
}

section.content .container div.privacy {
	padding: 20px;
	background: #eee;
	margin-bottom: 40px;
}

section.content .container div.privacy p {
	margin: 0;
	padding: 0;
}

section.content .container p.last {
	margin-bottom: 60px;
	padding: 0;
}

section.content .container .btn {
	display: flex;
	justify-content: center;
}

section.content .container input.submit-btn {
	background: #17284d;
	color: #fff;
	font-size: 16px;
	border: none;
	border-radius: 6px;
	padding: 10px 60px;
	cursor: pointer;
}

/* メールアドレス画像 */
img.image_add {
	width: 100%;
	max-width: 217px;
	height: auto;
	margin: 0 auto;
}

/* 大きい画面用の設定 */
@media(min-width:1000px) {
	section.content .container dl {
	display: flex;
	}
	section.content .container dl dt {
	flex: 0 0 300px;
	}
	section.content .container dl dd {
	flex: 1;
	}
}
