@CHARSET "utf-8";

@font-face {
	font-family: 'LinLibertineR';
	src: url('./font/LinLibertine_R.woff2') format('woff2')
		,url('./font/LinLibertine_R.woff') format('woff');
	font-display: swap;
}
@font-face {
	font-family: 'LinLibertineRB';
	src: url('./font/LinLibertine_RB.woff2') format('woff2')
		,url('./font/LinLibertine_RB.woff') format('woff');
	font-display: swap;
}
@font-face {
	font-family: 'MyGyo';
	src: url('./font/HGRGY_sub.woff2') format('woff2');
	font-display: swap;
}

@font-face {
	font-family: 'MyKai';
	src: url('./font/HGRSKP_sub.woff2') format('woff2');
	font-display: swap;
}

@font-face {
	font-family: 'Tensho';
	src: url('./font/Awa.woff2') format('woff2')
		,url('./font/Awa.woff') format('woff');
	font-display: swap;
}

@font-face {
	font-family: 'TBookB';
	src: url('./font/UDDigiKyokashoN-B.woff2') format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'TBookR';
	src: url('./font/UDDigiKyokashoN-R.woff2') format('woff2');
	font-display: swap;
}

* {
	margin: 0;
	padding: 0;
	font-size: 22px;
	font-family: LinLibertineR, TBookR, "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, sans-serif;
	font-weight: 500;
	-ms-font-feature-settings: "kern", "liga", "pnum";
	box-sizing: border-box;

	color: rgba( 38,  38,  38, 1.0); /*#9e3a24; #6c2c2f; #ec6d71*/
}
	@media (min-width: 600px) and (max-width: 959px) {
		* {
			font-size: 16px;
		}
	}
	@media (max-width: 599px) {
		* {
			font-size: 10px;
			box-sizing:border-box;
		}
	}

*, *::before, *::after { box-sizing: border-box; }

html {
}

body {
	width: 100%;
	min-height: 99%;

	display: flex;
	flex-direction: column;
	align-items: center;
	display: -webkit-flex;
	overflow-y: scroll;
/*
	background: linear-gradient(to right, rgba(255, 255, 255, .5), rgba(255, 255, 255, .7)), url("../image/body2.jpg");
*/
	background: linear-gradient(to right, rgba(235, 246, 247, .5), rgba(235, 246, 247, .7)), url("../image/body2.jpg");
}
	@media (max-width: 599px) {
		body {
			width: 100vw;
			overflow-y: auto;
		}
	}

a { text-decoration: none; }

i.fas { color: gray; }
i.fas:hover { color: silver; }

.gothic  { font-family: TBookR, "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, sans-serif; }
.gothic2  { font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, sans-serif; }
.gyo     { font-family: MyGyo, HG行書体, serif; font-weight: normal; }
/*
.kai     { font-family: LinLibertineR, MyKai, HG正楷書体-PRO, serif; }
*/
.kai2     { font-family: MyKai, HG正楷書体-PRO, serif; }
.hotsuma { font-family: Hotsuma, serif; }
.tenchi     { font-family: Tensho, serif; font-weight: normal; }
.en      { font-family: LinLibertineR, serif; font-weight: normal; }
.enb     { font-family: LinLibertineRB, serif; font-weight: normal; }
.testf {
	font-family: TBookR;
}
.testfb {
	font-family: TBookB;
}

.cw { color: rgba(255, 255, 255, 1.0); }
.ce { color: rgba(100,   1,  37, 1.0); }
.cb { color: rgba(132,  60,  12, 1.0); }
.cg { color: rgba( 38,  38,  38, 1.0); }
.cr { color: rgba(255,   0,   0, 1.0); }

.fwn { font-weight: normal; }
.fwb { font-weight: bold; }
.fwm { font-weight: lighter; }

.fb10 { font-size: 42px; }
.fb9 { font-size: 38px; }
.fb8 { font-size: 36px; }
.fb7 { font-size: 34px; }
.fb6 { font-size: 32px; }
.fb5 { font-size: 30px; }
.fb4 { font-size: 28px; }
.fb3 { font-size: 26px; }
.fb2 { font-size: 24px; }
.fb1 { font-size: 22px; }
/* 標準サイズは20px */
.fs1 { font-size: 18px; }
.fs2 { font-size: 16px; }
.fs3 { font-size: 14px; }
.fs4 { font-size: 12px; }
.fs5 { font-size: 10px; }

	@media (min-width: 600px) and (max-width: 959px) {
		.fb10 { font-size: 28px; }
		.fb9 { font-size: 27px; }
		.fb8 { font-size: 26px; }
		.fb7 { font-size: 25px; }
		.fb6 { font-size: 24px; }
		.fb5 { font-size: 23px; }
		.fb4 { font-size: 22px; }
		.fb3 { font-size: 21px; }
		.fb2 { font-size: 20px; }
		.fb1 { font-size: 19px; }
		/* 標準サイズは16px */
		.fs1 { font-size: 15px; }
		.fs2 { font-size: 14px; }
		.fs3 { font-size: 13px; }
		.fs4 { font-size: 12px; }
		.fs5 { font-size: 11px; }
	}
	@media (max-width: 599px) {
		.fb10 { font-size: 20px; }
		.fb9  { font-size: 19px; }
		.fb8  { font-size: 18px; }
		.fb7  { font-size: 17px; }
		.fb6  { font-size: 16px; }
		.fb5  { font-size: 15px; }
		.fb4  { font-size: 14px; }
		.fb3  { font-size: 13px; }
		.fb2  { font-size: 12px; }
		.fb1  { font-size: 11px; }
		/* 標準サイズは10px */
		.fs1  { font-size:  9px; }
		.fs2  { font-size:  8px; }
		.fs3  { font-size:  7px; }
		.fs4  { font-size:  6px; }
		.fs5  { font-size:  5px; }
	}

.right  { text-align: right; }
.center { text-align: center; }

.ls3 { letter-spacing: 0.3em; }
.ls2 { letter-spacing: 0.2em; }
.ls1 { letter-spacing: 0.1em; }
    @media (min-width: 600px) and (max-width: 959px) {
		.ls3 { letter-spacing: 0.3em; }
		.ls2 { letter-spacing: 0.2em; }
		.ls1 { letter-spacing: 0em; }
    }

.nodisp {
	display: none !important;
}

.invisible {
	visibility: hidden;
}

.nowrap {
	white-space: nowrap;
}

.flex {
	display: flex;
	justify-content: left;
	align-items: center;
}



#frame {
	min-height: 98%;
	max-height: 98%;

	min-width: 1100px;
	max-width: 82vw;
	width: 1100px;

	display: flex;
	align-items: center;
	flex-direction: column;
}

	@media (max-width: 599px) {
		#frame {
			min-width: 100vw;
			width: 100vw;
			overflow-x: hidden;

		}
	}
	@media (min-width: 600px) and (max-width: 959px) {
		#frame {
			min-width: 750px;
			max-width: 80vw;
			width: 750px;
			overflow-x: hidden;

			min-height: 100%;
			max-height: 100%;
		}
	}



/* Header関連 --------------------------------------------------------------------------------------------------------*/
#header {
	width: 100%;
	background: url('../image/hanabishi6.gif') repeat center;
}
#header_mask {
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse, rgba(255, 255, 255, 0.5) 20%, rgba(255, 255, 255, .9) 35%, rgba(255, 255, 255, 1) 60%);
}
	@media (max-width: 959px) {
		#header {
			width: 100vw;
		}
	}

#header .space {
	height: 30px;
}
	@media (max-width: 599px) {
		#header .space {
			height: 10px;
		}
	}

#particles-js {
	width: 100%;
	position: relative;
	z-index: 1;
}
	#particles-js canvas {
		position: absolute;
		top: 0;
		left: 0;
		z-index: 1;
		cursor: pointer;
	}

#site {
	z-index: 2;
	background: rbga(255, 255, 255, 1);
}

#siteframe {
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 20px;
}

#siteframe img {
	width: auto;
	height: 73px;
	padding-right: 0.5em;
}
	@media (max-width: 599px) {
		#siteframe img {
			height: 50px;
		}
	}

#site_name {
	font-size: 40px;
	color: #333;
}
	@media (max-width: 599px) {
		#site_name {
			font-size: 26px;
		}
	}

#sub_site_name {
	font-size: 22px;
	color: #333;
}
	@media (max-width: 599px) {
		#sub_site_name {
			font-size: 16px;
		}
	}

#menuframe {
	width: 100%;
	display: flex;
	justify-content: center;
}
	@media (max-width: 959px) {
		#menuframe {
			width: 100vw;
		}
	}

#menu {
	width: 1000px;
	padding: 5px 0;
	display: flex;
	flex-shrink: 0;
	justify-content: space-around;
}
#menu a {
	margin: 0 25px;
	color: #333;
}
	@media (min-width: 600px) and (max-width: 959px) {
		#menu {
           width: 100vw;
	       padding: 5px 40px;
		}
			#menu a {
				margin: 0 10px;
			}
	}
    @media (max-width: 599px) {
        #menu {
            width: 100vw;
            flex-wrap: wrap;
            padding: 5px 5px;
        }
            #menu a {
                margin:0 3px;
                font-size: 3vw;
            }
    }

#menu a:hover {
	color: firebrick;
}

#menu .menuitem {
	min-width: 60px;
	border-bottom: 3px solid transparent;
	text-align: justify; /* 両端揃え */
	text-align-last: justify;
	-moz-text-align-last: justify;
	text-justify: inter-ideograph; /* 両端揃えの種類 */
}
@media (max-width: 599px) {
	#menu .menuitem {
		min-width: auto;
	}
}

#menu .active {
	border-bottom: 3px solid firebrick !important;
}



/* 本文関連 --------------------------------------------------------------------------------------------------------*/
#pic {
	width: 100%;
	height: 350px;
	position: relative;
}
	@media (min-width: 600px) and (max-width: 959px) {
		#pic {
			height: 300px;
		}
	}
	@media (max-width: 599px) {
		#pic {
			height: 130px;
		}
	}

#body {
	width: 100%;
	display: flex;
	flex-grow: 1;
	flex-direction: column;
	flex-shrink: 0;
	align-items: center;
}

#contents {
	flex-grow: 1;
}
	@media (max-width: 599px) {
		#contents { padding: 0 5px !important; }
	}



/* Footer関連 --------------------------------------------------------------------------------------------------------*/
#footer {
	width: 100%;
	background-color: rgba(255, 255, 255, .4);
	padding: 10px 15%;
}
    @media (min-width: 600px) and (max-width: 959px) {
        #footer {
            padding: 10px 1vw;
        }
    }
	@media (max-width: 599px) {
		#footer {
			padding: 0;
			width: 100vw;
		}
	}

#footerMenu {
	width: 100%; padding-left: 100px;
}
	@media (max-width: 599px) {
		#footerMenu {
			padding-left: 0;
		}
	}

/* 縦書き関連 --------------------------------------------------------------------------------------------------------*/
.vertical {
	writing-mode: vertical-rl;
	-moz-writing-mode: vertical-rl;
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
}

.rotate {
	display: inline-block;
	transform: matrix(0, 1, 1, 0, 0, 0);
	-ms-transform: matrix(0, 1, 1, 0, 0, 0);
	-moz-transform: matrix(0, 1, 1, 0, 0, 0);
	-o-transform: matrix(0, 1, 1, 0, 0, 0);
	-webkit-transform: matrix(0, 1, 1, 0.1, 1, 0);
}

.midashi {
	display: flex;
	align-items: center;
	text-align: center; /* for no-flexbox browsers */

}

.midashi:before,
.midashi:after {
    height: 2px;
    content: "";
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.midashi:before {
    margin-right: 0.5em;
    background: linear-gradient(to left, #b48a76, transparent);
}

.midashi:after {
    margin-left: 0.5em;
    background: linear-gradient(to right, #b48a76, transparent);
}

.boxshadow {
	box-shadow: 5px 5px 10px rgba(38, 38, 38, 0.8);
}

.pos_a { position: absolute; }
.pos_r { position: relative; }


.telemail { color: rgba(100,   1,  37, 1.0); }
