html {
  height: 100%;
}
body {
  height: 100%;
  margin: 0;
}

/*--------------------------------------------
* header
*-------------------------------------------*/
header {
  width: 100%;
  height: 150px;
  padding: 5px 0;
  text-align: center;
  color: #a52a2a;
  background-image: url("sampleimg2.jpg");
  background-position: center bottom;
  background-size: cover;
  border-bottom: 1px solid #ddd;
}
header .headline{
    line-height: 50px;
    font-size: 40px;
    /*text-decoration: underline;*/
}

.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.active {
  background-color: #04AA6D;
  color: white;
}

.topnav .icon {
	font-size:15px;
	margin-right: 5px;
	display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;    
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}

/*
.nav-list {
    line-height: 50px;
    list-style: none;
    font-weight: bold;
}
.nav-list-item {
  list-style: none;
  display: inline-block;
  margin: 0 20px;
}
*/
/*
.gnav {
	display: flex;
	height: 2rem;
	margin: 0 auto;
	width: 60%;
}
.gnav > li {
	width: 20%;
}
*/
/*全てのリスト・リンク共通*/
/*
.gnav li {
	list-style: none;
	position: relative;
}
*/
.gnav li a {
	/*
	background: #001b34;
	border-right: 1px solid #eee;
	color: #fff;
	*/
/*	
	color: #88f;
	font-weight: bold;
	display: block;
	height: 2rem;
	line-height: 2rem;
	text-align: center;
	text-decoration: none;
	width: 100%;
*/
}

/*子階層以降共通*/
/*
.gnav li li {
	position: absolute;
	height: 0;
	overflow: hidden;
	transition: .3s;
	background: #fff;
	width: 100%;
	left: 0px;
}
*/
.gnav li li a {
	/*
	border: 1px solid #ddd;
	*/
}
/*
.gnav li:hover > ul > li {
	height: 2rem;
	overflow: visible;
}
*/
/* ナビゲーションの大きさ */
/*
#header-nav {
  width: 900px;
  margin: auto;
}
*/

/* カラム落ちの防止 */
/*
.header-list {
  font-size: 0;
}
*/

/* メインメニュー */
/*
.menu-item {
  display: inline-block;
  width: 20%;
  position: relative;
}

.menu-item a {
  display: block;
  width: 100%;
  height: 50px;
  line-height: 50px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: #684;
}
*/

/* サブメニュー */
/*
.sub-menu {
  position: absolute;
  width: 100%;
  top: 20px;
  left: -30px;
}
*/
.sub-menu-item {
/*
  overflow: hidden;
  opacity: 0;
  height: 0;
*/	
  /* サブメニューが出現する速度の調整 */
/*	
  -webkit-transition: 0.3s;
  transition: 0.3s;
*/
}

/* メインメニューマウスカーソルが乗ったらサブメニューを出現させる */
/*
.menu-item:hover > .sub-menu > .sub-menu-item {
  overflow: visible;
  opacity: 1;
  height: 50px;
}
*/



/*--------------------------------------------
* footer
*-------------------------------------------*/
footer{
    width: 100%;
    height: 100px;
	margin-top: 20px;
	padding-top: 30px;
    /*background-color: #174a5c;*/
    background-color: #fff;
	border-top: 1px solid #ddd;
    /*color: white;*/
	color: #a52a2a;
    text-align: center;
}
ul.footer-menu li {
	font-size: 0.7em;
	display: inline;
}
/* --------------------------------------------
* メイン
*
* ----------------------------------------------*/
.root-container{
    flex: 1;
    background-color: #fff;
    text-align: center;
    margin-top: 30px;
}
.l1-container {
	display:none;
}
.l1-active {	
	display: block;
}

@media screen and (max-width: 680px) {
	.root-container{
		margin-top:5px;
	}
	.gnav {
		font-size: 0.7em;
		width: 100%;
		margin: 0;
		padding: 0;
	}	
}
