<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&family=Zen+Old+Mincho&display=swap');

body, div,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre, dl, dt, dd, ol, ul, li, hr,
fieldset, form, label, legend, th, td,
article, aside, figure, footer, header, hgroup, menu, nav, section,
summary, hgroup {
  margin: 0;
  padding: 0;
  border: 0;
}

@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }

.nav-collapse ul {
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
  list-style: none;
}

.nav-collapse li {
  width: 100%;
  line-height: 35px;
  display: block;
}

.js .nav-collapse {
  clip: rect(0 0 0 0);
  max-height: 0;
  position: absolute;
  display: block;
  overflow: hidden;
  zoom: 1;
}

.nav-collapse.opened {
  max-height: 9999px;
}

.disable-pointer-events {
  pointer-events: none !important;
}

.nav-toggle {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

@media screen and (min-width: 40em) {
  .js .nav-collapse {
    position: relative;
  }
  .js .nav-collapse.closed {
    max-height: none;
  }
  .nav-toggle {
    display: none;
  }
}

@media screen and (max-width: 640px) {
  .circle {
    width: 80%;
  }
  .circle .thead {
    display: none;
  }
  .circle tr {
    width: 100%;
  }
  .circle td {
    display: block;
    text-align: right;
    width: 100%;
  }
  .circle td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    margin-right: 10px;
  }
}

body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: #333;
  background: #fff;
	font-size: 14px;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
}

@media screen and (min-width: 40em) {
  body{
    background-color: #555555;
  }
}

section {
  border-bottom: 1px solid #999;
  text-align: center;
  padding: 100px 0 0;
  width: 100%;
}

h1 {
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  font-family: "Zen Old Mincho", serif;
}
h1:before, h1:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: #000;
}
h1:before {
  left:0;
}
h1:after {
  right: 0;
}

h2 {
  position: relative;
  padding: 5px;
  text-align: center;
  font-family: "Zen Old Mincho", serif;
}

h3 {
	font-size: 15px;
  margin: 10px 0;
  font-family: "Zen Old Mincho", serif;
}

@media screen and (max-width: 40em) {
  h1{
    font-size: 14px;
  }

  h2{
    font-size: 13px;
  }
}

@media screen and (min-width: 40em) {
    .main{
      position: relative;
      width: 70%;
      margin: auto;
      min-height: 100vh;
      background-color: #eee;
      box-shadow: 0 0 15px #444444;
      z-index:0;
    }
  }

p {
  width: 90%;
  margin: 10px auto;
}

img {
  width: 100%;
  height: auto;
  }

@media screen and (max-width: 90em) {
  .resizeimage img {
    width: 100%;
    }
  }
  
@media screen and (min-width: 40em) {
  img {
  width: auto;
  }
  
}

a {
	color: #ff9900;
	text-decoration: none;
	transition: .3s;
  }
a:hover {
	color:#ffd17d;
}
img.link:hover {
	opacity: 0.6;
	transition: .3s;
}
img.illust {
	width: 100px;
	height: 100px;
	object-fit: cover;
  }
img.illust:hover {
	opacity: 0.6;
	transition: .3s;
}
table {
	border: 0;
	margin: 1rem auto;
	text-align: left;
	border-collapse: collapse;
}
th {
	padding: 0.5rem 1.5rem;
	text-align: center;
	border: solid 1px #fff;
	background-color: #ccc;
}
td {
	padding: 0.5rem;
}

header {
  background: #332424;
  position: fixed;
  z-index: 3;
  width: 100%;
  left: 0;
  top: 0;
}

.logo {
  line-height: 20px;
  padding: 10px 0px 0px 20px;
  float: left;
}

.mask {
  -webkit-transition: opacity 300ms;
  -moz-transition: opacity 300ms;
  transition: opacity 300ms;
  background: rgba(0,0,0, .5);
  visibility: hidden;
  position: fixed;
  opacity: 0;
  z-index: 2;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
}

.android .mask {
  -webkit-transition: none;
  transition: none;
}

.js-nav-active .mask {
  visibility: visible;
  opacity: 1;
}

@media screen and (min-width: 40em) {
  .mask {
    display: none !important;
    opacity: 0 !important;
  }
}


/* ------------------------------------------
  NAVIGATION STYLES
--------------------------------------------- */

.fixed {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
}

.nav-collapse,
.nav-collapse * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.nav-collapse,
.nav-collapse ul {
  list-style: none;
  width: 100%;
  float: left;
}

@media screen and (min-width: 40em) {
  .nav-collapse {
    float: right;
    width: auto;
  }
}

.nav-collapse li {
  float: left;
  width: 100%;
}

@media screen and (min-width: 40em) {
  .nav-collapse li {
    width: auto;
  }
}

.nav-collapse a {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  border-top: 1px solid #fff;
  text-decoration: none;
  background: #332424;
  padding: 0.7em 1em;
  color: #fff;
  width: 100%;
  float: left;
}

.nav-collapse a:active,
.nav-collapse .active a {
  background: #5c4343;
}

@media screen and (min-width: 40em) {
  .nav-collapse a {
    border-left: 1px dashed #ddd;
    padding: 1.02em 2em;
    text-align: center;
    border-top: 0;
    float: left;
    margin: 0;
  }
}

.nav-collapse ul ul a {
  background: #444;
  padding-left: 2em;
}

@media screen and (min-width: 40em) {
  .nav-collapse ul ul a {
    display: none;
  }
}


/* ------------------------------------------
  NAV TOGGLE STYLES
--------------------------------------------- */

@font-face {
  font-family: "responsivenav";
  src:url("../icons/responsivenav.eot");
  src:url("../icons/responsivenav.eot?#iefix") format("embedded-opentype"),
    url("../icons/responsivenav.ttf") format("truetype"),
    url("../icons/responsivenav.woff") format("woff"),
    url("../icons/responsivenav.svg#responsivenav") format("svg");
  font-weight: normal;
  font-style: normal;
}

.nav-toggle {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-decoration: none;
  text-indent: -300px;
  position: relative;
  overflow: hidden;
  width: 60px;
  height: 55px;
  float: right;
}

.nav-toggle:before {
  color: #444; /* Edit this to change the icon color */
  font: normal 28px/55px "responsivenav"; /* Edit font-size (28px) to change the icon size */
  text-transform: none;
  text-align: center;
  position: absolute;
  content: "\2261"; /* Hamburger icon */
  text-indent: 0;
  speak: none;
  width: 100%;
  left: 0;
  top: 0;
}

.nav-toggle.active:before {
  font-size: 24px;
  content: "\78"; /* Close icon */
}

#index {
	margin: 1rem auto 0 auto;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

#about {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

#circle {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

#howinvite {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

#qanda {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

#link {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

#mail {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

footer {
	position: relative;
	margin: 5rem auto 0 auto;
	padding-bottom: 1rem;
	text-align: center;
}

/* FORM */
input[type=text], textarea{
  border:1px solid #f6f7f8;
  padding: 7px;
  margin: 2px 0;
  background: #fff;
  border-radius: 4px;
  outline: none;
  border-radius: 8px;
  transition: 0.3s;
  width: 100%;
  box-sizing: border-box;

}
input[type=text]:focus {
border-color: #ccc;
box-shadow: 0 0 8px 0 #ddd;
}
textarea:focus {
border-color: #ccc;
box-shadow: 0 0 8px 0 #ddd;
}
.dropdown{
  border:1px solid #777;
  padding: 7px;
  background: #fff;
  border-radius: 3px;
}
input[type=radio], input[type=checkbox] {
display: none;
}
.radio, .checkbox {
box-sizing: border-box;
-webkit-transition: background-color 0.2s linear;
transition: background-color 0.2s linear;
position: relative;
display: inline-block;
margin: 2px 5px 2px 0;
padding: 6px 15px 6px 35px;
border-radius: 8px;
background-color: #f6f7f8;
vertical-align: middle;
cursor: pointer;
}
.radio:hover, .checkbox:hover {
background-color: #ddd;
}
.radio:hover:after, .checkbox:hover:after {
border-color: #aaa;
}
.radio:after, .checkbox:after {
-webkit-transition: border-color 0.2s linear;
transition: border-color 0.2s linear;
position: absolute;
top: 50%;
left: 15px;
display: block;
margin-top: -10px;
width: 16px;
height: 16px;
border: 2px solid #bbb;
border-radius: 6px;
content: '';
}
.radio:before {
-webkit-transition: opacity 0.2s linear;
transition: opacity 0.2s linear;
position: absolute;
top: 50%;
left: 21px;
display: block;
margin-top: -5px;
width: 7px;
height: 7px;
border-radius: 50%;
background-color: #aaa;
content: '';
opacity: 0;
}
input[type=radio]:checked + .radio:before {
opacity: 1;
}
.checkbox:before {
-webkit-transition: opacity 0.2s linear;
transition: opacity 0.2s linear;
position: absolute;
top: 50%;
left: 21px;
display: block;
margin-top: -7px;
width: 5px;
height: 9px;
border-right: 3px solid #53b300;
border-bottom: 3px solid #53b300;
content: '';
opacity: 0;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
input[type=checkbox]:checked + .checkbox:before {
opacity: 1;
}
.save {
position: relative;
text-align: center;
display: inline-block;
margin: 1rem auto;
width: 100%;
max-width: 200px;
box-sizing: border-box;
padding: 10px;
background: linear-gradient(135deg, #ccc,  #aaa);
color: #fff;
font-weight: bold;
border-radius: 8px;
transition: 0.3s;
border: 2px solid #aaa;
background: #fff;
color: #aaa;
}
.saveclick:hover {
background: #ccc;
color: #fff;
}
.save.border:active, .saveclick:focus {
top: 2px;
}

#lightbox .lb-image {
  border: none;
}