@charset "UTF-8";

@font-face {
  font-family: "MaruMinyaM";
  src: url("../fonts/x12y12pxMaruMinyaM.ttf") format("truetype");
}

@font-face {
  font-family: "OPTIFrankfurter-Medium";
  src: url("../fonts/OPTIFrankfurter-Medium.otf") format("opentype");
}

html {
	overflow-y: auto;
	scrollbar-color: #000f80 transparent;
  scrollbar-width: auto;
  scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	background-image: url("../img/paper5.png");
	background-color: #ffc6b0;
	color: #000f80;
	font-size: 12px;
	line-height: 1.8em;
}

a {
	text-decoration: none;
}

p {
	font-family: "MaruMinyaM",sans-serif;
	display: block;
	margin: 0;
}

hr {
	border: 1px dashed #000f80;
	border-bottom: none;
}

.main_area {
	display: grid;
	grid-template-columns: 1fr 3fr;
	margin-right: auto;
	margin-left: auto;
	height: 100dvh;
	max-width: 1100px;
}


.menu_area {
	position: relative;
	margin: 0;
	height: 100dvh;

		h1 {
	font-family: "OPTIFrankfurter-Medium",sans-serif;
	font-size: 2.3em;
	font-weight: bold;
	position: absolute;
	right: 25%;
	text-align: right;
	padding-top: 2em;


}

nav {
		position: absolute;
		top: 25%;
	  right: 25%;

	  .menu {
	  	margin: 1em 0 1em 0 ;
	  	font-family: "OPTIFrankfurter-Medium",sans-serif;
	  	font-size: 1.3em;
	    list-style: none;
	    text-align: right;
    }
}

}

.menu_area a {
	color: #000f80;
	text-shadow: 2px 2px #fafafa;
}

h3 {
	display: inline-block;
	margin-bottom: 0.3em;
	padding: 0.1em 0.3em;
	font-family: "MaruMinyaM",sans-serif;
	font-size: 1.1em;
	font-weight: 900;
	color: #fafafa;
	background-color: #000f80;
	/*text-shadow: 2px 2px #fafafa;
	background-size: auto auto;
  background-color: rgba(255, 255, 255, 0);
  background-image: repeating-linear-gradient(121deg, transparent, transparent 2px, rgba(255, 198, 176, 1) 2px, rgba(255, 198, 176, 1) 6px );*/
}

h4 {
	margin: 0.5em 0;
	font-family: "MaruMinyaM",sans-serif;
	font-weight: bold;
	margin-bottom: 0;
}

.title {
	text-decoration: none;
}



.menuimg {
	position: absolute;
	left: 10%;
	bottom: 8%;
	width: 200px;
	height: 250px;
	border: 1px solid;
	background-color: #fff;
}

.copy {
	padding: 0;
	margin: 0;
	position: absolute;
	right: 25%;
	bottom: 2%;
}

.content_area {
	scroll-behavior: smooth;
	background-image: url("../img/paper3.gif");
	background-color: #f7f5f0;
	mask: conic-gradient(from 45deg at left,#0000,#000 1deg 89deg,#0000 90deg) 50%/100% 50px;
	height: 100dvh;
	overflow-y: auto;
}

.info_area {
	width: 68%;
	margin-left: auto;
	margin-right: auto;
}

.infobox {
	margin: 4em 0 4em 0;

	li {
		font-family: "MaruMinyaM",sans-serif;
		font-size: 12px;
	}
}

.updatebox {
	margin-top: 0;
	list-style: none;
	height: 80px;
	border: 1px solid #000f80;
	overflow-y: hidden;
}

iframe {
	border: none;
	width: calc(100% - 1em);
	height: 80px;
	margin: 0 0 0 1em;
}

.material {
	margin-top: -19px;
}

#sec1 {
	a {
		text-decoration: underline;
		color: #ffc6b0;
	}

	a:hover {
		background-color: #ffc6b0;
		color: #fff;
	}
}

#sec2 {

	img {
		margin-bottom: -6px;
	}

	a {
		display: inline-block;
	}

	   #textlink {
	  	font-family: "MaruMinyaM",sans-serif;
	  	font-size: 1em;
	  	color: #000f80;
	  	margin-bottom: 6px;
	  	padding: 0 5px;
	  	border: 1px solid #000f80;
      }

      #textlink:hover {
      	color: #fff;
      	background-color: #ffc6b0;
      }
}


@media (max-width: 767px) {
	body {
		margin: 0;
		padding: 0;
	}
	.main_area {
		display:flex;
		flex-direction: column;
		height: 100dvh;
		width: 100%;
		margin: 0;
		padding: 0;
}

.menu_area {

	margin: 0;
	height: 85px;
	font-weight: 100%;

		h1 {
			position: absolute;
			top: 0;
			left: 1em;
	    font-family: "OPTIFrankfurter-Medium",sans-serif;
	    text-align: left;
	    padding: 0;
      }

      ul {
      	display: flex;
      }

      li {
      	padding: 0 0.5em;
      }
}

nav {
	margin-top: 0.5em;
	margin-right: -20%;
  padding: 0;


	  .menu {
	  	margin: 1em 0 1em 0 ;
	  	font-family: "OPTIFrankfurter-Medium",sans-serif;
	  	font-size: 1em;
	    list-style: none;
    }
}

.menu_area a {
	color: #000f80;
	text-shadow: 2px 2px #f7f5f0;
}

.menuimg {
  display: none;
	width: 200px;
	height: 250px;
	border: 1px solid;
	background-color: #fff;
}

.copy {
	position: absolute;
	top: 0.5em;
	right: 0.5em;
	bottom: 0;
	padding: 0;
	margin: 0;
}

.content_area {
	background-image: url("../img/paper3.gif");
	flex: 1;
	overflow-y: auto;
	margin: 0;
	mask: conic-gradient(from 135deg at top,#0000,#000 1deg 89deg,#0000 90deg) 50%/40px 100%;
}

}

@media (prefers-color-scheme: dark) {
	html {
	  scrollbar-color: #2a2a2b transparent;
	}

  body {
    background-image: url("../img/paper1.gif");
    background-color: transparent;
    color: #1b1b1c;
  }

  .menu_area a {
	  color: #dedee0;
	  text-shadow: 2px 2px #1b1b1c;
  }

  .copy {
  	color: #dedee0;
  }

  hr {
	  border-color: #1b1b1c;
  }

  h3 {
	  color: #dedee0;
	  background-color: #2a2a2b;
  }

  .content_area {
	background-image: url("../img/paper2.gif");
  }

  .updatebox {
  	border-color: #1b1b1c;
  }

#sec1 {
	a {
		text-decoration: underline;
		color: #1b1b1c;
	}

	a:hover {
		background-color: transparent;
		color: #dedee0;
	}
}

#sec2 {

	   #textlink {
	   	color: #1b1b1c;
	   	border-color: #1b1b1c;
      }

      #textlink:hover {
      	color: #1b1b1c;
      	background-color: #dedee0;
      }
}
}