@charset "utf-8";

:root {
	--tr-05: all 0.5s ease-in-out;
  --color-blue: #004bc8;
  --color-skyblue: #0098d8;
  --color-cyan: #0098d8;
}
li {
  line-height: 1.6;
}
.bg-dx-blue {
  background-color: var(--color-blue)
}
.border-skyblue {
  border-color: var(--color-skyblue);
}
.border-cyan {
  border-color: var(--color-cyan);
}

.text-blue {
  color: var(--color-blue);
}
.text-cyan {
  color: var(--color-cyan);
}

/* ---------
header
--------- */
html {
	min-width: 320px;
	overflow-y: scroll;
}

body {
	min-width: 320px;
	font-family: "Noto Sans Gothic", sans-serif;
	font-weight: 400;
	color: #000;
	word-break: normal;
	word-wrap: break-word;
	stroke-opacity: 0.5;
	stroke-width: 0.5px;
	stroke-dasharray: 3, 3;
	shape-rendering: crispEdges;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
  background-color: #fff;
}

header {
	position: fixed;
	top: 0;
	z-index: 10;
	width: 100%;
	height: 60px;
	background-color: rgba(255, 255, 255, 0.75);
}

#header-inner {
	display: flex;
	justify-content: space-between;
	min-width: 320px;
	padding-left: 10px;
	margin: 10px auto 0 auto;
}
#header-inner div#logo {
	margin-top: 8px;
	margin-left: 5px;
}
#header-inner div#logo img {
	width: 220px;
}
#header-inner-nav {
	display: flex;
}

/* navi */
.openbtn {
	/*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
	position: relative;
	width: 60px;
	height: 50px;
	cursor: pointer;
	border-radius: 5px;
}

/*ボタン内側*/
.openbtn span {
	position: absolute;
	left: 14px;
	display: inline-block;
	width: 45%;
	height: 3px;
	background: #00008c;
	border-radius: 2px;
	transition: all 0.4s; /*アニメーションの設定*/
}

.openbtn span:nth-of-type(1) {	top: 15px;}
.openbtn span:nth-of-type(2) {	top: 23px;}
.openbtn span:nth-of-type(3) {	top: 31px;}

/*activeクラス付与 回転して×に*/
.openbtn.active span:nth-of-type(1) {
	top: 18px;
	left: 18px;
	width: 50%;
	transform: translateY(6px) rotate(-45deg);
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0; /*真ん中の線は透過*/
}

.openbtn.active span:nth-of-type(3) {
	top: 30px;
	left: 18px;
	width: 50%;
	transform: translateY(-6px) rotate(45deg);
}
#globalmenu {
	position: fixed;
	top: 60px;
	right: -100%;
	z-index: 9;
	width: 100%;
	height: 100vh;
	padding-top: 20px;
	transition: all 0.5s ease-in-out;
}
#globalmenu::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 190, 0.5);
	mix-blend-mode: multiply;
}
#globalmenu p {
	display: none;
}

#globalmenu.active {
	right: 0;
}
#globalmenu ul {
	position: relative;
	padding: 0 30px;
}
#globalmenu ul li {
	border-top: 1px dotted #fff;
}
#globalmenu ul li:last-child {
	border-bottom: 1px dotted #fff;
}

#globalmenu ul li a {
	display: block;
	box-sizing: border-box;
	max-width: 350px;
	padding: 10px 15px;
	display: flex;
	justify-content: space-between;
	color: #fff;
	font-weight: normal;
	transition: all 0.5s ease-in-out;
}
#globalmenu ul li a:hover {
	background-color: rgba(0, 0, 100, 0.6);
}
#globalmenu ul li a span img {
	zoom: 0.8;
}
#globalmenu ul li a span:last-child {
	text-align: right;
}

/* ---------
 footer
--------- */
footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-top: 30px;
	padding-bottom: 30px;
}
footer #footer-logo {
	margin-bottom: 20px;
}

/* ---------
main
--------- */
main {
	width: 100%;
	padding: 0;
	margin: 60px auto 0 auto;
}

main p {
	line-height: 2;
	text-justify: inter-character;
}
main li {
  line-height: 2;
}

.bg-dx-vision {
  background-image: url(../img/bg_vision_sp.jpg);
  background-position: right top;
  background-repeat: no-repeat;
  background-size: 750px auto;
}
.h2ti-dx img {
  height: 44px;
}

.bg-dx-policy {
  background-image: url(../img/bg_policy.png);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 1000px auto;
}
.bg-dx-system {
  background-image: url(../img/bg_system.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}
.bg-dx-indicator {
  background-image: url(../img/bg_indicator_pc.png);
  background-position: right -100px top;
  background-repeat: no-repeat;
  background-size: 750px auto;
}
.bg-dx-security {
  background-color: #e6f0f5;
}
.bg-dx-message {
  background-image: url(../img/bg_message.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

/*--- Tablet---*/
@media print, screen and (min-width: 744px) {
	/* navi */
	#globalmenu p {
		display: block;
		position: relative;
		margin-bottom: 20px;
		display: flex;
		justify-content: center;
	}
	#globalmenu {
		width: 400px;
	}
	#globalmenu ul li a {
		padding: 15px;
	}
	#globalmenu ul li a span img {
		zoom: initial;
	}

  .bg-dx-vision {
    background-image: url(../img/bg_vision_pc.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 2000px auto;
  }
  .bg-dx-indicator {
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
  }

}

/*--- PC---*/
@media print, screen and (min-width: 1025px) {
	/* header */
	header {
		height: 80px;
	}
  #globalmenu {
    top: 80px;
  }

  main {
  	margin: 80px auto 0 auto;
  }
	#header-inner {
		max-width: 1200px;
		margin: 15px auto 0 auto;
	}
	#header-inner div#logo img {
		width: 236px;
	}

	/* footer */
	footer {
		padding-top: 50px;
	}

	footer #footer-logo img {
		width: 363px;
	}

  .h2ti-dx img {
    height: 88px;
  }
  .bg-dx-policy,
  .bg-dx-message {
    background-size: 2000px auto;
  }
}

/*--- A ---*/
a.link-round {
	display: inline-block;
	padding: 10px 40px;
	border: 2px solid #fff;
	border-radius: 100px;
	transition: var(--tr-05);
  position: relative;
}
a.link-round:hover {
	background-color: #c5c0ff;
	border: 2px solid #c5c0ff;
}
input.link-round {
	display: inline-block;
	padding: 10px 30px;
	border: 2px solid var(--cl-purple);
	border-radius: 100px;
	transition: var(--tr-05);
}
input.link-round:hover {
	background-color: #c5c0ff;
	border: 2px solid #c5c0ff;
}
