@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP');
@import url('https://fonts.googleapis.com/css?family=M+PLUS+1p');

/* header全体 */
header {
   	display: flex;
   	position: fixed;
   	top: -1px;
    left: 0px;
    width: 100%;
    height: 61px;
	z-index: 10;

    background-color: #ffcc00;
    border-top: 1.8px solid #513b00;
    border-bottom: 1.8px solid #513b00;
    border-left: 1.0px solid #513b00;
    border-right: 1.0px solid #513b00;
}

/* メニュー 初期位置は画面外 */
.menu {
    position: fixed;
    top: 96px;
   	left: -100%;
   	width: calc(240px - 22px);
    height: 100%;
	overflow-y: auto;
	z-index: 10;
	transition:all 0.5s ease-out;

    background-color: #f9f8f3ee;
    border-right: 1.8px solid #513b00;
}

/* メニュータイトル */
#menu-title {
	width: 84%;

	clip-path: polygon(0% 0%, 100% 0%, calc(100% - 24px) 100%, 0% 100%);
	background-color: #66624fee;
	text-align: center;
}

/* メニュー内p */
.menu p {
	text-indent: -12px;
	font-size: 22px;
	font-weight: bold;
	font-family: "Meiryo UI", sans-serif;
	color: #f9f8f3;
}

/* メニュー内li */
.menu li {
	display: flex;
	margin-top: 24px;

	padding-left: 20px;
	align-items: center;
}

/* メニュー内a */
.menu a {
	padding-left: 8px;
	padding-bottom: 2px;

	text-decoration: none;
	font-size: 17px;
	font-weight: bold;
	font-family: "Meiryo UI", sans-serif;
	color: #37356a;
}

/* メニュー内a(カーソル時) */
.menu li:hover a {
	color: #ff7824;
}

/* メニュー内img */
.menu img {
	width: auto;
    height: 24px;
}

/* メニュートグル(チェックボックス) */
#menu-toggle {
    display: none;
}

/* メニュートグルがチェックされた時メニューの位置を変更する */
#menu-toggle:checked ~ .menu {
    left: 0;
}

/* メニュートグルがチェックされた時メニューボタンエリアの色を変える */
#menu-toggle:checked ~ .header-menu {
    background-color: #ffaf2e;
	
}

/* ヘッダーメニュー */
.header-menu {
	position: fixed;
   	top: -1px;
   	width: 60px;
    height: 61px;
    
	border-top: 1.8px solid #513b00;
	border-bottom: 1.8px solid #513b00;
	border-right: 1.8px solid #513b00;
    text-align: center;
}

/* メニューボタン */
.menu-button {
	margin-left: auto;
	margin-right: auto;

    cursor: pointer;
    z-index: 11;
}

/* メニューボタン画像 */
#menu-button-icon {
	position: relative;
	top: 14px;

	width: 20px;
}

/* メニューボタンテキスト */
#menu-button-text {
	position: relative;
	top: 4px;

	font-size: 11px;
	font-weight: bold;
	font-family: "Meiryo UI", sans-serif;
	color: #333;
}

/* ヘッダータイトル */
.header-title {
	width: 100%;
	height: 60px;
	text-align: center;
}

/* タイトル1 */
#title1 {
	position: relative;
	top: 4px;
	left: 0px;

	font-size: 18px;
	font-weight: bold;
	font-family: "Meiryo UI", sans-serif;
	color: #513b00;
}

/* タイトル2 */
#title2 {
	position: relative;
	top: 4px;
	left: 2px;

	font-size: 34px;
	font-weight: bold;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	color: #513b00;
}

/* アイコン */
#header-icon {
	position: relative;
	top: -3px;
	left: 3px;
	width: auto;
	height: 50px;
}

/* ヘッダー備考 */
.header-remarks {
	display: flex;
	position: absolute;
	top: 0px;
	left: 70%;
	width: 30%;
	height: 60px;
	
	justify-content: end;
	align-items: end;
}

/* 備考欄 */
#remarks {
	position: relative;
	top: -4px;
	width: auto;
}

/* 備考1 */
#remarks1 {
	margin: 0px 6px 0px 0px;
	text-align: left;
	
	font-size: 14px;
	font-weight: bold;
	font-family: "Meiryo UI", sans-serif;
	color: #513b00;
}

/* 備考2 */
#remarks2 {
	margin: 0px 6px 0px 0px;
	text-align: left;

	font-size: 14px;
	font-weight: bold;
	font-family: "Meiryo UI", sans-serif;
	color: #513b00;
}

/* ページ名エリア */
.page-name-area {
	display: flex;
	position: fixed;
	top: 60px;
	left: 0px;
	width: 240px;
	height: 36px;
	z-index: 2;

	justify-content: center;
    align-items: center;

	background-color: #ffcc00;
	border-bottom: 1.8px solid #513b00;
	border-left: 1.0px solid #513b00;

	clip-path: polygon(0% 0%, 100% 0%, calc(100% - 24px) 100%, 0% 100%)
}

/* ページ名エリア(背景) */
.page-name-area-bk {
	position: fixed;
	top: 60px;
	left: 0px;
	width: calc(240px + 10px);
	height: 36px;
	z-index: 1;

	background-color: #513b00;

	clip-path: polygon(0% 0%, 100% 0%, calc(100% - 24px) 100%, 0% 100%)
}

/* ページ名テキスト */
.page-name {
	text-indent: -24px;
	font-size: 18px;
	font-weight: bold;
	font-family: "Meiryo UI", sans-serif;
	color: #513b00;
}
