﻿<style type="text/css">
@charset "utf-8";

html,body,div,span,iframe,p,a,img,ul,li,footer,header,main,nav,section,textarea {
	margin: 10px;
	padding: 10px 10px;
	font-weight: normal;
	list-style: none;
	text-decoration: none;
	text-transform: full-width;
	line-height: 150%;
}

h0,h1,h2,h3,h4,h5 {
	font-weight: normal;
	list-style: none;
	text-decoration: none;
	text-transform: full-width;
}
body, #wrapper {
	font-family: Helvetica, Yu Gothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	display: flex;
	min-height: 100vh;
}
header {
	background-image: url("../ichi.png");
	background-repeat: repeat;
	height: auto;
	margin-top: auto;
}
.mi {
	width: 120px;
}
.themed {
	background: black;
	color: white;
}

@media (prefers-color-scheme: light) {
  .themed {
    background: white;
    color: black;
  }
}

@media (prefers-color-scheme: dark) {
  .themed {
    background: gray;
    color: white;
  }
}

a:link {
	color: blue;
	text-decoration-style: wavy;
}
a:visited {
	color: purple;
}
a:focus {
  	color: yellow;
}
a:hover {
	color: #FF0099;
}
a:active {
	color: #33CC00;
}
h0 {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 500px;
	height: 85px;
	margin: auto;
	color: #ccc;
	font-size: 4.3rem;
	text-align: center;
	display: table-cell;
	vertical-align: middle;
}
.scroll {
	height: 87px;
	width: 100%;
	background-color: #aaa;
	position: relative;
	display: table;
}
.scroll:after {
	content: "";
	display: block;
	width: 0px;
	height: 0px;
	bottom: -14px;
	border-top: 43px solid #aaa;
	border-right: 60px solid transparent;
	border-left: 60px solid transparent;
	left: 0;
	right: 0;
	margin: auto;
	position: absolute;
}
h1 {
	color: #000;
	font-size: 2rem;
	display: table-cell;
	vertical-align: middle;
}
h2 {
	color: #000;
	font-size: 1.8rem;
	text-align: right;
	display: table-cell;
	vertical-align: middle;
}

/* 上に戻るボタン */
.pagetop {
	color: #fff;
	background-color: rgba(0,0,0,0.3);
	text-decoration: none;
	display: none;
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	font-size: 1.5rem;
	width: 3.3rem;
	height: 3.3rem;
	line-height: 3.3rem;
	border-radius: 3.3rem;
	text-align: center;
	cursor: pointer;
}

.pagetop:hover {
	color: #fff !important;
	background-color: #ed702b;
	text-decoration: none;
}

table {
	table-layout: auto;
	width: 100%;
	border: 1px solid #000000; 
	border-collapse: collapse;
	border-spacing: none;
	font-size:0.8em;
	background-color: ghostwhite;
}
table td {
	border: 1px solid #000000;
	padding: 5px 5px;
}
table tr {
	vertical-align: top;
}
.table_nico {
	border: 1px solid #000000;
	border-collapse: collapse;
	border-spacing: none;
	word-break:break-all;
}
.table_nico th {
	padding: 2px 2px;
	border: 1px solid #000000; 
	text-align: left;
	vertical-align: top;
}

.table_nico td {
	line-height: 1.2em;
}
.table_nico td:first-child{
	width: 5%;
	white-space: nowrap;
}

.table_nico td:nth-child(n+2) {
	width: 13.57%;
	white-space: pre;
}

.list td {
	width:auto;
}

nav {
	height: 396px;
	width: 100%;
	margin: 0 auto;
}

.contents {
	height: 400px;
	overflow: hidden;
}
.left {
	float: left;
	height: 400px;
	width: 50%;
	background-repeat: no-repeat;
	background-size: cover;
}

.right {
	float: right;
	width: 50%;
	height: 400px;
}
.text {
	background-color: #aaa;
}
.contents p,h4 {
	margin: 30px 120px 0 21px;
	color: #fff;
}
h4 {
	font-size: 0.8rem;
	color: #aaa;
}
.main_contact {
	height: 163px;
	background-color: #aaa;
	margin-bottom: 100px;
	overflow: hidden;
}
.main_contact_inner {
	width: 50%;
	height: 163px;
	position: relative;
}
.contact_left {
	float: left;
}
.contact_left_inner {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 307px;
	height: 53px;
	margin: auto;
	overflow: hidden;
}
.contact_left_inner img {
	float: left;
}
.contact_left_inner p {
	float: right;
	font-size: 1.4rem;
	line-height: 20px;
	margin: 9px 0 5px;
}
.contact_left_inner span {
	font-size: 0.9rem;
}
.contact_right {
	float: right;
}
.contact_right_inner {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 243px;
	height: 33px;
	margin: auto;
	padding: 25px 85px 25px 41px;
	background-color: #ff0600;
	transition: 0.4s;
}
.contact_right_inner:hover {
	transform: scale(1.1,1.1);
}
.contact_right p {
	float: right;
	color: #fff;
	font-size: 1.3rem;
}
footer {
	height: auto;
	background-color: Lightblue;
	margin-top: auto;
}
footer p {
	margin-left: 24px;
	font-size: 1.2em;
	line-height: 24px;
}

@media screen and (max-width: 480px) {
table {
	margin: 2px 5px; /* テーブルの余白を指定する */
}
.list th, .list td {
	width: auto; /* テーブルの見出しの横幅を指定する */
	display: block; /* ブロックレベル要素化する */
	display:flex;
	flex-direction: column;
}
}
</style>