@charset "utf-8";

/* ---------------------------------------- 
 - header
---------------------------------------- */
#header-top {
  position: absolute;
  z-index: 2;
}
#header{
  position: fixed;
  top: 55px;
}
#header #header-box{
	background-color: transparent;
	/*background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));*/
}
#header.fixed #header-box {
  background: #e3ebf5;
}
#header.fixed.top #header-box {
  background-color: transparent;
  box-shadow: none;
	/*background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));*/
}
#header ul.header-list a,
#header ul.header-list span{
	color:#fff;
}
#header.fixed ul.header-list a,
#header.fixed ul.header-list span {
    color: #111;
}
#header.fixed.top ul.header-list a,
#header.fixed.top ul.header-list span {
    color: #fff;
}

#header .header-language{
	color:#fff;
}
#header.fixed .header-language {
    color: #222;
}
#header.fixed.top .header-language {
    color: #fff;
}
#header .header-language::after {
    background-image: url(/demitasnx/assets/images/common/ico_language_wht.svg);
}
#header.fixed .header-language::after {
    background-image: url(/demitasnx/assets/images/common/ico_language.svg);
}
#header.fixed.top .header-language::after {
    background-image: url(/demitasnx/assets/images/common/ico_language_wht.svg);
}

#header .header-member a {
	border-color: #fff;
	color: #fff;
}
#header.fixed .header-member a {
  border-color: #111;
	color: #111;
}
#header.fixed.top .header-member a {
  border-color: #fff;
	color: #fff;
}

/* hamburger-menu */
.hamburger {
	border-color: #fff;
	color:#fff;
}
#header.fixed .hamburger {
  border-color: #111;
	color:#111;
}
#header.fixed.top .hamburger {
  border-color: #fff;
	color:#fff;
}
.hamburger.active .hamburger-txt .close{
	color: #111;
}
.hamburger i,
.hamburger i::after{
    background: #fff;
}
#header.fixed #header-box .hamburger i,
#header.fixed #header-box .hamburger i::after {
    background: #111;
}
#header.fixed.top #header-box .hamburger i,
#header.fixed.top #header-box .hamburger i::after {
    background: #fff;
}
.hamburger.active i,
.hamburger.active i::after{
    background: #111 !important;
}

/* ---------------------------------------- 
 - #contents
---------------------------------------- */
#contents {
	margin-bottom: 0;
}
@media screen and (max-width: 768px) {
	#contents {
		margin-bottom: 0;
	}
}

/* ---------------------------------------- 
 - #footer
---------------------------------------- */
#footer {
    z-index: 3;
}

/* ---------------------------------------- 
 - #mainvisual
---------------------------------------- */
#mainvisual {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--mainvisual-height, 100vh);
  z-index: 1;
  overflow: hidden;
}
#mainvisual .cover_bg {
  content: "";
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 89, 0.55);
  opacity: 0;
  transition: opacity .6s ease-in-out;
}
#mainvisual.is-scrolled .cover_bg {
  opacity: 1;
}
#mainvisual > .inner{
	height: 100%;
	position: relative;
	overflow: hidden;
}
/* mainvisual-visual */
.mainvisual-visual {
	width: 100%;
  height: 100%;
}
.mainvisual-visual img,
.mainvisual-visual picture {
	width: 100%;
  height: 100%;
  vertical-align: top;
  object-fit: cover;
  font-family: 'object-fit: cover';
}
/* mainvisual-txt */
.mainvisual-txt {
	position:absolute;
	top:50%;
	left:50%;
	transform: translate(-50%, -50%);
	text-align: center;
	width:100%;
	z-index: 2;
	color: #fff;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}
.mainvisual-txt.is-fade {
	opacity: 1;
}
.mainvisual-txt.is-hide {
	opacity: 0;
}
.mainvisual-txt .catch {
	max-width: 1400px;
	font-size: clamp(2.2rem, 4.6vw, 5.8rem);
	font-weight:200;
	line-height: 1.6;
	margin: 0 auto;
	box-sizing: border-box;
}
/* mainvisual-scroll */
.mainvisual-scroll {
	position: absolute;
	display: inline-block;
	bottom: 35px;
	left: 35px;
	margin: auto;
	text-align: center;
	z-index: 2;
	font-weight: normal;
	opacity: 0;
	animation: scrollIn 1s ease 0s 1 forwards;
	animation-delay:1.5s;
	z-index: 3;
}
.mainvisual-scroll span{
	display: block;
	font-size: 1.1rem;
	color: #fff;
	text-decoration: none;
	transform: rotate(-90deg);	
  position:relative;
}
.mainvisual-scroll::after {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 45px;
	content: "";
	width: 1px;
	height: 100px;
	margin: auto;
	display: block;
	opacity: 1;
	background-color:#fff;
	z-index: 2;
	transform: translate3d(0, 0, 0) scaleY(1);
	transform-origin: top left;
	transition: transform .4s;
}
.mainvisual-scroll.active::after {
	transform-origin: bottom left;
	transform: translate3d(0, 0, 0) scaleY(0);
}
@keyframes scrollIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
@-webkit-keyframes scrollIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
@media screen and (max-width: 768px) {
	.mainvisual-txt .catch {
    font-size: clamp(2.2rem, 7.2vw, 5.8rem);
  }
  /* mainvisual-scroll */
  .mainvisual-scroll {
    bottom: 75px;
    left: 0;
  }
  .mainvisual-scroll::after {
    height: 80px;
  }
}

/* ---------------------------------------- 
 - #news
---------------------------------------- */
#news-area {
  position: relative;
  margin-top: var(--mainvisual-height, 100vh);
  min-height: 100vh;
}
#news-area.is-scrolled #news {
  position: relative;
}
#news{
  position: fixed;
  top: 0;
  transform: translate(0px, 0px);
	margin: 0 auto 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  will-change: transform;
}
.news-inner {
  background: #fff;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 25px 25px 30px;
  text-align: center;
  max-height: calc(100vh - 120px);
  overflow: auto;
}
.news-ttl {
  text-align: right;
  margin-bottom: 25px;
}
.news-ttl span {
	font-size: 2.4rem;
	font-weight: 600;
	position: relative;
	padding-left: 25px;
}
.news-ttl span::before {
	content: "";
  display: block;
  position: absolute;
  top: 0;
	bottom: 0;
  left: 0;
  width: 9px;
  height: 9px;
	margin: auto;
	background-color: #001bc3;
}
#news ul.list {	
	width: 90%;
	max-width: 820px;
	margin: 0 auto 30px;
	text-align: left;
}
#news ul.list li {
	margin-bottom: 1.5em;
	padding-bottom: 1.5em;
	border-bottom: dotted 1px #c7c7c7;
	padding-left:0.5em;
}
#news ul.list li a {
	width: 100%;
	text-decoration: none;
	display: flex;
}
#news ul.list li .date{
	font-size: 1.4rem;
	color:#5a5a5a;
	width:8em;
}
#news ul.list li .ttl{
	line-height: 1.8;
	width:calc(100% - 15em);
	flex:1;
}
#news ul.list li a:hover .ttl{
	text-decoration: underline;
}
@media screen and (max-width: 768px) {
  .news-ttl {
    margin-bottom: 10px;
  }
	.news-ttl span {
		font-size: 1.6rem;
		padding-left: 20px;
	}
	.news-ttl span::before {
		width: 6px;
		height: 6px;
	}
  .news-inner {
    width: 84%;
    padding: 10px 3% 15px;
    max-height: calc(100vh - 140px);
  }
	#news ul.list {	
		width: 100%;
		margin-bottom: 20px;
    font-size: 1.4rem;
	}
	#news ul.list li {
		margin-bottom: 2em;
	}
	#news ul.list li a {
		display: block;
		position: relative;
	}
	#news ul.list li .date{
		font-size: 1.2rem;
	}
	#news ul.list li .ttl{
		width:100%;
	}
}

/* ---------------------------------------- 
 - #next-contents
---------------------------------------- */
#next-contents {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  background: #e3ebf5;
  padding-bottom: 100px;
}
@media screen and (max-width: 768px) {
  #next-contents {
    padding-bottom: 50px;
  }
}

/* ---------------------------------------- 
 - products
---------------------------------------- */
#products {
	width: 100%;
	max-width: 1400px;
	margin:0 auto;
	text-align: center;
  padding: 30px 0 0;
}
.products-ttl {
  text-align: right;
  margin: 0 25px;
}
.products-ttl span {
	font-size: 2.4rem;
	font-weight: 600;
	position: relative;
	padding-left: 25px;
}
.products-ttl span::before {
	content: "";
  display: block;
  position: absolute;
  top: 0;
	bottom: 0;
  left: 0;
  width: 9px;
  height: 9px;
	margin: auto;
	background-color: #001bc3;
}
.products-item {
  width: 90%;
	max-width: 1200px;
	margin: 120px 0;
	display: flex;
	justify-content: space-between;
}
.products-item:nth-child(even) {
  flex-flow: row-reverse;
  margin-left: auto;
}
.products-item:last-child {
	margin-bottom: 0;
}
.products-visual {
	width: 50%;
	max-width: 590px;
}
.products-visual img,
.products-visual picture {
  width: 100%;
  height: 100%;
  vertical-align: top;
  object-fit: cover;
  font-family: 'object-fit: cover';
}
.products-content {
	width: 45%;
  max-width: 520px;
	padding: 2% 0 0;
	text-align: left;
}
.products-title {
  font-size: clamp(1.8rem, 4.2vw, 5.2rem);
  font-weight: bold;
	line-height: 1.6;
}
.products-text {
  margin-top: 30px;
}
.products-list {
  margin-top: 1em;
}
.products-item .link-btn {
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  .products-ttl span {
		font-size: 1.6rem;
		padding-left: 5%;
	}
	.products-ttl span::before {
		width: 6px;
		height: 6px;
	}
  .products-item {
    margin: 50px auto;
    display: block;
  }
  .products-visual {
    width: 100%;
    max-width: 100%;
  }
  .products-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-top: 1em;
  }
  .products-title {
    font-size: 1.8rem;
  }
  .products-text {
    margin-top: 1em;
  }
  .products-list {
    margin-top: 1em;
    font-size: 1.4rem;
  }
  .products-item .link-btn {
    margin-top: 20px;
  }
}

/* ---------------------------------------- 
 - function-list
---------------------------------------- */
#function-list {
  width: 90%;
  max-width: 1200px;
  margin: 130px auto 0;
  background: #fff;
  text-align: center;
  padding: 50px 0 70px;
}
.function-ttl {
  font-size: clamp(1.8rem, 4.2vw, 5.2rem);
  line-height: 1.6;
  font-weight: bold;
}
.function-lead {
  margin-top: 1.5em;
}
.function-box-wrap {
	display: flex;
	justify-content: space-between;
  flex-wrap: wrap;
  width: 90%;
  max-width: 1050px;
  margin: 80px auto 0;
}
.function-box {
	width: 50%;
	padding-bottom: 60px;
	margin-bottom: 60px;
	border-bottom:solid 1px #153ea6;
	position: relative;
}
.function-box:nth-child(odd) {
	padding-right: 30px;
}
.function-box:nth-child(even) {
	padding-left: 30px;
}
.function-box:nth-child(odd)::before {
	display: block;
  width: 1px;
  height: calc(100% - 60px);
  content: '';
  background: #153ea6;
	position: absolute;
	top:0;
	right:0;
}
.function-box:nth-last-child(-n + 2) {
	margin-bottom: 0;
	border-bottom: none;
}
.function-box a {    
  display: block;
  max-width: 340px;
	margin: 0 auto;
  text-decoration: none;
  text-align: left;
}
.function-box .ttl {
	font-size: 2rem;	
	margin-top: 1em;
	margin-bottom: 1em;
	line-height: 1.6;
  position: relative;
  transition: color 0.3s ease-out;
}
.function-box .ttl::after {
  content: '';
  display: inline-block;
  background-image: url("/demitasnx/assets/images/common/ico_arw_blue.svg");
  background-size: contain;
  vertical-align: text-bottom;
  background-position: left top;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  right: 0;
  width: 13px;
  height: 12px;
  transform: translate(0, -50%);
}
.function-box .ttl::before {
  content: '';
  width: 0;
  height: 1px;
  position: absolute;
  bottom: 0;
  background: #153ea6;
  transition: width 0.3s ease-out;
}
.function-box a:hover .ttl {
	color: #153ea6;
}
.function-box a:hover .ttl::before {
	width: 100%;
}
.function-box .lead {
	font-size: 1.4rem;
	max-width: 430px;
	margin: 0.8em auto;
}
.function-box .visual {
  overflow: hidden;
}
.function-box ul.notice,
.function-box .txt{	
	margin: 0.5em auto 0;
	text-align: left;
	font-size: 1.4rem;
}
.function-box ul.notice li {
	text-indent: -1.0em;
	margin-left: 1.0em;
}
@media screen and (max-width: 768px) {
	#function-list {
		margin-top: 40px;
    padding: 20px 5% 30px;
	}
  .function-ttl {
    font-size: 2.2rem;
  }
  .function-lead {
    margin-top: 1em;
  }
  .function-box-wrap {
    display: block;
    width: 100%;
    margin: 30px auto 0;
  }
  .function-box {
		width: 100%;
		padding-bottom: 30px;
		margin-bottom: 30px;
		display: block;
	}
  .function-box:nth-child(odd) {
    padding-right: 0;
  }
  .function-box:nth-child(even) {
    padding-left: 0;
  }
  .function-box:nth-child(odd)::before {
    display: none;
  }
  .function-box:nth-last-child(2) {
		margin-bottom: 30px;
		border-bottom:solid 1px #153ea6;
	}
  .function-box a { 
    max-width: 100%;
  }
  .function-box .ttl {
    font-size: 1.8rem;
  }
  .function-box .lead {
    max-width: 100%;
  }
}
