@charset "utf-8";

html {
	font-size:62.5%;
	-webkit-text-size-adjust:100%;
	-ms-text-size-adjust:100%;
}

body{
	background:#ffffff url(../../common/img/bg_body.gif);
	color:#000000;
	font-family:メイリオ, Meiryo, "游ゴシック", "ヒラギノ角ゴ Pro W3", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic Pro", "Noto Sans Japanese", "Yu Gothic", YuGothic, "ＭＳ Ｐゴシック", sans-serif;
	font-weight:400;
	font-size:1rem;
	word-wrap:break-word;
}

img{
    font-size:0;
    height:auto;
    line-height:0;
    max-width:100%;
    vertical-align:top;
	-ms-interpolation-mode:bicubic;
}



/* Link
-------------------------------------------------- */
a{
	color:rgba(0, 0, 153, 1.0);
	text-decoration:underline;
}
a:visited{
	text-decoration:underline;
}
a:active{
	text-decoration:underline;
}
a:hover{
	color:red;
	text-decoration:underline;
}



/* Layout
-------------------------------------------------- */
#container{
  font-size:1.6rem;
}

/* ヘッダー */
header{
  box-sizing:border-box;
	width:100%;
  height:50px;
  background-color:#eeeeee;
}
header #head p.lang_pc{
  display:none;
}
header #head{
  float:left;
}
header h1{
	width:202px;
  height:34px;
  margin:8px 0;
}
header h1 a{
  display:block;
	width:202px;
  height:34px;
  background:url(../../common/img/logo.gif) no-repeat left center;
  background-size:100%;
  text-indent:100%;
	white-space:nowrap;
	overflow:hidden;
}
header h1 a:hover{
  color:yellow;
}

/* バーガーボタン */
#burger{
  float:right;
  cursor:pointer;
  text-align:center;
  width:24px;
  height:20px;
  margin:15px 15px 15px 0;
}
header.fixed #burger{
  margin:14px 0;
}
.burgerfixed{
  position:fixed;
  right:20px;
  top:0;
  z-index:3;
}
#burger .menu-trigger,
#burger .menu-trigger span{
	display:inline-block;
	transition:all .4s;
	box-sizing:border-box;
}
#burger .menu-trigger{
	position:relative;
	width:24px;
	height:20px;
}
#burger .menu-trigger span{
	position:absolute;
	left:0;
	width:100%;
	height:2px;
	background-color:#4d244e;
}
.burgerfixed .menu-trigger span{
  background-color:#ffffff!important;
}
#burger .menu-trigger span:nth-of-type(1){
	top:0;
}
#burger .menu-trigger span:nth-of-type(2){
	top:9px;
}
#burger .menu-trigger span:nth-of-type(3){
	bottom:0;
}
#burger .menu-trigger.open span:nth-of-type(1){
	-webkit-transform:translateY(9px) rotate(-315deg);
	transform:translateY(9px) rotate(-315deg);
}
#burger .menu-trigger.open span:nth-of-type(2){
	opacity:0;
}
#burger .menu-trigger.open span:nth-of-type(3){
	-webkit-transform:translateY(-9px) rotate(315deg);
	transform:translateY(-9px) rotate(315deg);
}

/* メニュー */
nav#menu{
  position:fixed;
  z-index:2;
  top:0;
  right:0;
  color:#ffffff;
  background-color:rgba(0,0,0, 0.8);
  transform:translateX(100%);
  transition:all 0.6s;
  width:100%;
  height:100%;
  box-sizing:border-box;
}

/* 時計 */
#head .time_kyoto{
  text-align:center;
  padding:5px 0;
  font-size:1.2rem;
}
#head .time_kyoto input{
  text-align:center;
}

/* 言語ボタン */
nav#menu p.lang_sp{
  text-align:center;
  margin-top:50px;
}
nav#menu p.lang_sp a{
  color:#ffffff;
}

/* ナビゲーション */
nav#menu ul.menu-parent{
  margin:0 auto;
  padding:60px 0 0 0;
}
nav#menu ul.menu-parent > li{
  list-style-type:none;
  margin-bottom:10px;
}
nav#menu ul.menu-parent > li a{
  font-size:2rem;
  font-weight:700;
  padding:12px 20px;
  display:block;
  color:#ffffff;
  text-align:center;
  text-decoration:none;
  font-family:serif;
}
nav#menu.open{
  transform:translateX(0%);
}

/* コンテンツ */
main{
  clear:both;
  background-color:#ffffff;
  border-top:1px solid #000000;
  border-bottom:1px solid #000000;
  padding:15px;
}

/* フッター */
footer{
  padding:15px;
  font-size:1.2rem;
}
footer #copyright{
  line-height:150%;
}
footer #privacy{
  text-align:right;
}



/* タブレット
-------------------------------------------------- */
@media only screen and (min-width: 667px) {

  /* ヘッダー */
  nav#menu{
    width:370px;
  }

  /* メニュー */
  nav#menu{
    overflow-y:scroll;
  }
  
  /* フッター */
  footer{
    display:flex;
    justify-content:space-between;
  }
}



/* PC
-------------------------------------------------- */
@media only screen and (min-width: 750px) {

  /* ヘッダー */
  header{
    padding:0;
    max-width:750px;
    height:auto;
    margin:0 auto;
    border-right:1px solid #000000;
    border-left:1px solid #000000;
  }
  header #head{
    width:100%;
  }
  header #head p.lang_pc{
    display:block;
    float:right;
  }
  header #head p.lang_pc a{
    display:block;
    padding:5px 70px;
    background:#000000;
    color:#ffffff;
    text-decoration:none;
    font-size:1.2rem;
    margin-top:26px;
   }
  header #head p.lang_pc a:hover{
    color:yellow;
  }
  header h1{
    float:left;
    width:473px;
    height:79px;
    margin:0;
  }
  header h1 a{
    width:473px;
    height:79px;
  }

  /* バーガーボタン */
  #burger{
    display:none;
  }
  header nav p.lang_sp{
    display:none;
  }

  /* メニュー */
  nav#menu{
    clear:both;
    transform:none;
    position:relative;
    background-color:#fd9090;
    width:auto;
    height:auto;
    overflow-y:hidden;
  }

  /* ナビゲーション */
  nav#menu ul.menu-parent{
    padding:0 10px;
    display:flex;
    justify-content:center;
  }
  nav#menu ul.menu-parent > li{
    margin-bottom:0;
    text-align:center;
    width:13%;
    padding:10px 0;
  }
  nav#menu ul.menu-parent > li:nth-child(3),
  nav#menu ul.menu-parent > li:nth-child(4),
  nav#menu ul.menu-parent > li:nth-child(5){
    width:20.3%;
  }
  nav#menu ul.menu-parent > li:hover{
    background:#feb0b0;
  }
  nav#menu ul.menu-parent > li:first-child a{
    border-left:3px dashed #000000;
  }
  nav#menu ul.menu-parent > li a{
    font-size:1.4rem;
    display:block;
    padding:0;
    color:#4d244e;
    border-right:3px dashed #000000;
  }

  /* コンテンツ */
  main{
    max-width:750px;
    margin:0 auto;
    border-right:1px solid #000000;
    border-left:1px solid #000000;
    box-sizing:border-box;
    padding:25px 40px;
  }

  /* フッター */
  footer{
    max-width:750px;
    margin:0 auto;
  }
}