@charset "utf-8";
/* CSS Document */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "メイリオ" ;
  color: #4D4D4D;
}
a:link, a:visited {
  color: #005CAC;
  text-decoration: none;
}
a:hover, a:active {
  color: #999;
}
h2, h3 {
  margin: 0 0 10px 0;
  font-size: 1.3rem;
}
p {
	line-height: 180%;
}
img {
  max-width: 100%;
  height: auto;
}
.brpc, .spnone {
  display: none;
}
.pcnone {
  display: inline;
}
#wrap {
  position: relative;
}
#header {
  position: relative;
  width: 100%;
  height: auto;
  padding: 0;
}
#content-area {
  padding: 0;
}
.header-area {
  display: none;
}
#header .sns-link {
  display: none;
}
.headlogo {
  width: 150px;
  height: auto;
  margin: 20px;
}
#header h1 {
  font-size: 1.5rem;
}
.ctmg {
  margin: 50px 0;
}

.hugmil-header {
  background-image: url("../images/kawanoji.jpg");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100%;
  position: relative;
  padding: 30px 20px 200px 20px;
  margin: 0 0 50px 0;
}
.hugmil-header h3 {
	margin: 0 0 20px 0;
}
.capline, .capline-w {
  position: relative;
}
.capline:before {
  content: '';
  position: absolute;
  left: 0;
  top: -25px;
  border-top: solid 3px #005CAC;
  animation: border_anim 0.8s ease forwards;
}
.capline-w:before {
  content: '';
  position: absolute;
  left: 0;
  top: -25px;
  border-top: solid 3px #FFF;
  animation: border_anim 0.8s ease forwards;
}
@keyframes border_anim {
  0% {
    width: 0%;
  }
  100% {
    width: 50px;
  }
}
.movieh2 {
  background: linear-gradient(transparent 60%, #D6E3EB 60%);
}
.brand-mg {
  margin: 50px 0;
}
.panel_area span {
  color: #4D4D4D;
  position: relative;
  padding: 0 0 0 30px;
}
.panel_area span:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  border-top: solid 3px #005CAC;
  animation: br_border_anim 0.8s ease forwards;
}
@keyframes br_border_anim {
  0% {
    width: 0%;
  }
  100% {
    width: 20px;
  }
}
.itemlink {
	background: #005CAC;
	padding: 8px 0;
	border-radius: 5px;
	text-align: center;
}

.itemlink a {
	color: #fff;
}

.britem-tmb {
  display: flex;
  flex-wrap: wrap;
  margin: 10px 0;
  padding: 0;
}
.britem-tmb li {
  position: relative;
  width: 20%;
  list-style: none;
  margin: 0 10px 0 0;
  cursor: pointer;
}
.britem-tmb li:before {
  content: "";
  display: block;
  padding-top: 100%;
}
.britem-tmb img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  object-fit: cover;
  border: solid 1px #ccc;
}
/*タブ実装*/
.btn_area {}
.tab_btn {}
.db_tab_panel, .serta_tab_panel, .ruf_tab_panel, .ww_tab_panel {
  display: none;
}
.db_tab_panel.active, .serta_tab_panel.active, .ruf_tab_panel.active, .ww_tab_panel.active {
  display: block;
}
.db-obsession {
  background: #D6E3EB;
}
.srpagelink {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  font-size: 1.2rem;
  box-shadow: 0px -3px 5px 0 rgba(0, 0, 0, 0.2);
}
.srpagelink a {
  display: block;
  background: #005CAC;
  padding: 25px;
  text-align: center;
}
.srpagelink span {
  padding: 20px 0 20px 80px;
  background: url("../images/reserve-icon.png") no-repeat 0 50%;
}
.srpagelink a:link, .srpagelink a:visited {
  color: #FFF;
}
.limitedpr {
  border: solid 2px #005CAC;
  padding: 20px 20px 10px 20px;
}
.card, .card-body, .card-footer {
  border: none;
  padding: 0;
  margin: 0;
  background: none;
}
.srwrap h3 {
  margin-top: 20px;
  font-size: 1.3rem;
}
.srinfo {
  font-size: 0.8rem;
}
.srlink div {
  margin: 0;
  padding: 0;
}
.srlink a, .srreservelink a {
  display: block;
  padding: 20px;
  background: #005CAC;
  text-align: center;
	border-radius: 5px;
}
.srlink a {
  display: block;
  padding: 20px;
  background: #FFF;
  text-align: center;
  border: solid 1px #CCC;
}
.brandlink {
  display: block;
  background: #FFF;
  border: solid 1px #CCC;
  text-align: center;
  margin: 10px 0 0 0;
  padding: 15px;
}
.cataloglink {
  display: block;
  background: #D6E3EB;
  text-align: center;
  margin: 10px 0 0 0;
  padding: 15px;
}
.cplink-db {
  display: block;
  background: #eee;
  text-align: center;
  margin: 10px 0 0 0;
  padding: 15px;
  color: #005CAC !important;
  border: solid 1px #005CAC;
}
.cplink-serta {
  display: block;
  background: #eee;
  text-align: center;
  margin: 10px 0 0 0;
  padding: 15px;
  color: #001339 !important;
  border: solid 1px #001339;
}
.cplink-ruf {
  display: block;
  background: #eee;
  text-align: center;
  margin: 10px 0 0 0;
  padding: 15px;
  color: #464742 !important;
  border: solid 1px #464742;
}
.cplink-ww {
  display: block;
  background: #eee;
  text-align: center;
  margin: 10px 0 0 0;
  padding: 15px;
  color: #005CAC !important;
  border: solid 1px #005CAC;
}
.srreservelink {
  font-size: 1.1rem;
}
.srreservelink a:link, .srreservelink a:visited {
  color: #fff;
}
.maplink {
  display: block;
  background: url("../images/mappin.png") no-repeat top 50% left 10px;
  margin: 10px 0;
  padding: 8px 5px 5px 30px;
  border: solid 1px #005CAC;
  width: 80px;
}
footer {
  background: #005CAC;
  margin: 1px 0 0 0;
  padding: 50px 0;
  font-size: 0.9rem;
  color: #FFF;
}
footer .ftlogo {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto 15px auto;
}
footer .snsicon {
  display: block;
}
footer a:link, footer a:visited {
  color: #fff;
}
address {
  font-size: 0.7rem;
}
/* フェード */
.fadeInTrigger {
  opacity: 0;
}
/* その場で */
.fadeIn {
  animation-name: fadeInAnime;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeInAnime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/*スクロールダウン全体の場所*/
.scrolldown1 {
  /*描画位置※位置は適宜調整してください*/
  position: absolute;
  right: 8%;
  bottom: 0;
  /*全体の高さ*/
  height: 50px;
}
/*Scrollテキストの描写*/
.scrolldown1 span {
  /*描画位置*/
  position: absolute;
  left: -2px;
  top: 10px;
  /*テキストの形状*/
  color: #333;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  transform: rotate(90deg);
}
/* 線の描写 */
.scrolldown1::after {
  content: "";
  /*描画位置*/
  position: absolute;
  top: 0;
  /*線の形状*/
  width: 1px;
  height: 30px;
  background: #999;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}
/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 30px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}
/*========= ナビゲーションのためのCSS ===============*/
#g-nav {
  /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
  position: fixed;
  z-index: -1;
  opacity: 0; /*はじめは透過0*/
  /*ナビの位置と形状*/
  top: 0;
  width: 100%;
  height: 100vh; /*ナビの高さ*/
  background: rgba(255, 255, 255, 0.9);
  /*動き*/
  transition: all 0.3s;
}
/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive {
  opacity: 1;
  z-index: 999;
}
/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh; /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
/*ナビゲーション*/
#g-nav ul {
  display: none;
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
}
#g-nav.panelactive ul {
  display: block;
}
/*リストのレイアウト設定*/
#g-nav li {
  list-style: none;
  text-align: left;
  list-style-type: disc;
}
#g-nav li a {
  color: #4D4D4D;
  text-decoration: none;
  padding: 10px;
  display: block;
  font-weight: bold;
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: fixed;
  z-index: 9999; /*ボタンを最前面に*/
  top: 10px;
  right: 15px;
  cursor: pointer;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.9);
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 5px;
  height: 2px;
  border-radius: 2px;
  background-color: #999;
  width: 80%;
}
.openbtn span:nth-of-type(1) {
  top: 10px;
}
.openbtn span:nth-of-type(2) {
  top: 21px;
}
.openbtn span:nth-of-type(3) {
  top: 32px;
}
.openbtn.active span:nth-of-type(1) {
  top: 20px;
  left: 5px;
  transform: rotate(-45deg);
  width: 80%;
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
  top: 20px;
  left: 5px;
  transform: rotate(45deg);
  width: 80%;
}
/* ↓レスポンシブ */
@media (min-width: 1200px) {
  .container {
    max-width: 1080px;
  }
}
@media (min-width: 992px) {
  #header {
    position: fixed;
    top: 0;
    left: 0;
    width: 230px;
    height: 100vh;
    background: #fff;
    padding: 30px 0 0 0;
  }
  #content-area {
    width: 100%;
    padding: 5px 0 0 230px;
  }
  .header-area {
    display: block;
    text-align: left;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    margin: 40px auto;
  }
  #header h1 {
    font-size: 1.7rem;
  }
  #header .sns-link {
    display: inline;
    position: absolute;
    left: 25%;
    bottom: 7%;
  }
  #header .sns-link a {
    margin: 0 5px;
  }
  .ctmg {
    margin: 80px 0;
  }
  .hugmil-header {
    background-size: contain;
    background-attachment: fixed;
    background-position: 130px bottom;
    height: 100vh;
    padding: 100px 40px 0 120px;
  }
	
  .hugmil-header h1 {
    margin: 0 0 40px 0;
  }
  .hugmil-header h2 {
    margin: 0 0 25px 0;
  }
  .hugmil-header h3 {
    margin: 0 0 20px 0;
    font-size: 1.3rem;
  }

  footer .snsicon {
    display: none;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    top: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
  }
  .openbtn span:nth-of-type(1) {
    top: 10px;
  }
  .openbtn span:nth-of-type(2) {
    top: 21px;
  }
  .openbtn span:nth-of-type(3) {
    top: 32px;
  }
  /*ナビゲーション*/
  #g-nav ul {
    width: auto;
    font-size: 1.2rem;
  }
  /*動画PCサイズ*/
  #mil-embed-wrapper {
    max-width: 500px;
    display: block;
    margin: 0 auto;
  }
}

@media (min-width: 768px) and ( max-width:992px) {
	  .hugmil-header {
    padding: 50px 0 400px 50px;
  }
	}

@media (min-width: 768px)  {
	  .brsp {
    display: none;
  }
  .brpc, .spnone {
    display: inline;
  }
	.pcnone {
  display: none;
}
	
  h2, h3 {
    font-size: 1.6rem;
	  padding: 0 0 10px 0;
  }
  #container {
    font-size: 100%;
  }

  .headmainimg {
    width: 90%;
    height: auto;
	  margin: 50px 0 0 0;
  }
  .headimgtitle {
    vertical-align: bottom;
    margin: 15px 0;
  }
  .headimgtitle span {
    border-bottom: solid 1px #666;
    padding: 15px 10px;
    font-size: 0.7rem;
  }
  .headimgtitle img {
    width: 100px;
    height: auto;
  }
  .submainimg {
    background-image: url("../images/dreambed-img01.jpg");
    background-position: top right;
    background-repeat: no-repeat;
    background-size: 50%;
  }
  .brand-mg {
    margin: 80px 0;
  }
  .srlink {
    display: none;
  }
  /*スクロールダウン全体の場所*/
  .scrolldown1 {
    /*描画位置※位置は適宜調整してください*/
    position: absolute;
    right: 50px;
    bottom: 30px;
    /*全体の高さ*/
    height: 50px;
  }
}