@charset "utf-8";
/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  border: 0;
  font-size: 100%;
  font-family: inherit;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
:focus {
  outline: 0;
}
ol, ul {
  list-style: none;
}
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
a img {
  border: 0;
}
a {
  color: #971a18;
  text-decoration: none;
}
.red {
  color: #991918;
}
.f180 {
  font-size: 180%;
}
.f150 {
  font-size: 150%;
}
.f90 {
  font-size: 90%;
}
.f80 {
  font-size: 80%;
}
.mb5 {
  margin-bottom: 5px;
}
.mb10 {
  margin-bottom: 10px;
}
.spblock {
  display: none;
}

.lum-lightbox-inner {
  bottom: 2.5%;
  left: 10%;
  right: 2.5%;
  top: 2.5%;
}
body {
    background-image: url("../images/body_bg.png");
    font-size: 19px;
    color: #090909;
    line-height: 1.4;
    -webkit-text-size-adjust: none;
    z-index: 0;
    font-family: "MS Serif", "New York", serif;
    overflow: hidden;
    background-position: center top;
    background-repeat: repeat;
}


.maki-wrapper {
  position: absolute;
  width: 102px;
  height: 100dvh;
  left: 0px;
  top: 0px;
  z-index: 501;
}
.maki-box {
  width: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  flex-direction: column;
}
.maki-top {
  width: 102px;
  height: 36px;
  background-image: url("../images/maki_top.png");
  background-position: center bottom;
  background-repeat: no-repeat;
}
.maki-middle {
  width: 100%;
  height: 89dvh;
  background-image: url("../images/maki.png");
  background-position: center 0;
  background-repeat: no-repeat;
}
.maki-bottom {
  width: 102px;
  height: 40px;
  background-image: url("../images/maki_bottom.png");
  background-position: center top;
  background-repeat: no-repeat;
}
#ougi {
  background-image: url("../images/ougi_bg.jpg");
  background-position: 0 center;
  background-repeat: repeat;
  width: 100vw;
  height: 88dvh;
  margin: 0;
  border-top: 12px solid #991918;
  border-bottom: 12px solid #991918;
  position: absolute;
  top: 37px;
}
.wrapper {
  width: 100%;
  display: grid;
  height: 85dvh;
  padding-left: 130px;
  padding-right: 20px;
}
.title-box {
  width: 788px; /*!important*/
  height: auto;
  margin: 0 auto 0;
  padding: 30px 0 0px;
}
h1 {
  text-align: center;
}
h1 img {
	width: 100%;
  max-width: 788px;
  height: auto;
}
.logo h1 img.logo-top {
  display: none;
}
/* メニュー
------------------------------------------------------------*/
footer{
	position: relative;
}
 /* #c-header {
  position: relative;
  width: 100%;
	height: 35px;
	z-index: 1010;
	position: relative;
  height: 70px;
  background-color: #f0fca6;
  justify-items: center;
}
#footerlink {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translate(-50%);
  height: 35px;
  border: 1px solid #333;
  width: 900px;
}
#footerlink ul {
  width: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 32px;
}
#footerlink ul li {
  background-color: #fff;
  padding: 3px 16px;
  margin: 0 8px;
  border: 1px solid #fdfdfd;
  border-radius: 10px;
  align-self: center;
}
#footerlink ul li:first-child {
  margin-left: 0px;
}
#footerlink ul li.eigo {
  background-color: #000;
}
#footerlink ul li.last {
  margin-right: 0px;
  padding: 0;
}
#footerlink ul li img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}*/
@media (max-width: 1350px) {
  .maki-wrapper {
    position: absolute;
    width: 51px;
    height: 100dvh;
    left: 0px;
    top: 0px
  }

  .maki-top {
    width: 30px;
    height: 32px;
    background-image: url("../images/maki_top.png");
    background-position: center bottom;
    background-repeat: no-repeat;
  }
  .maki-middle {
    width: 100%;
    height: 90dvh;
    background-image: url("../images/maki.png");
    background-position: center top;
    background-repeat: repeat-y;
  }
  .maki-bottom {
    width: 30px;
    height: 37px;
    background-image: url("../images/maki_bottom.png");
    background-position: center top;
    background-repeat: no-repeat;
  }
  .wrapper {
    padding-left: 70px;
  }
  .c-header {
    position: relative;
    width: 100%;
    margin: 0 auto;
  }
  .title-box {
    width: 100%;
    max-width: 788px;
    height: auto;
    max-height: 69px;
  margin: 0 auto 0;
  padding: 30px 0 0px;
  }
  h1 img {
    width: 80%;
    max-width: 100%;
    height: auto;
  }
	}
  /* メニュー
-----------------------------------------------------------
#footerlink ul {
  width: 80%;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  justify-content: center;
  align-items: center;
	margin:0 auto; 
	padding-left:30px;
}	
#footerlink ul li {
  background-color: #fff;
  padding: 3px 10px 0;
}	
.c-header {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
#footerlink ul {
  width: 80%;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  justify-content: center;
  align-items: center;
	margin:0 auto; 
	padding-left:30px;
}	
#footerlink ul li {
  background-color: #fff;
  padding: 3px 10px 0;
}	-*/

@media (max-width: 960px), screen and (max-height: 620px) {
.lum-lightbox-inner img.lum-img {
  max-width: 80vw;
}	
.lum-lightbox-inner .lum-lightbox-caption {
  color: #fff;
  margin: 0 auto;
  max-width: 700px;
  text-align: center;
	padding-right: 20px;
}	
  .spblock {
    display: block;
  }
  .maki-wrapper {
    position: absolute;
    width: 50px;
    height: 100dvh;
    left: 0px;
    top: 0px
  }

  .maki-top {
    width: 30px;
    height: 32px;
    background-image: url("../images/maki_top.png");
    background-position: center bottom;
    background-repeat: no-repeat;
  }
  .maki-middle {
    width: 100%;
    height: 90dvh;
    background-image: url("../images/maki.png");
    background-position: center top;
    background-repeat: repeat-y;
  }
  .maki-bottom {
    width: 30px;
    height: 37px;
    background-image: url("../images/maki_bottom.png");
    background-position: center top;
    background-repeat: no-repeat;
  }
  .wrapper {
    width: auto;
    min-width: 1050px;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flexbox;
    display: -moz-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    flex-wrap: nowrap;
    grid-template-rows: 0;
    height: 88dvh;
    padding-left: 70px;
    padding-right: 20px;
    padding-top: 0%;
    justify-content: flex-start;
    align-items: center;
  }
  #ougi {
    background-image: url("../images/ougi_bg.jpg");
    background-position: 0 center;
    background-repeat: repeat;
    width: auto;
    height: 88dvh;
    margin: 0 0 0vh;
    border-top: 12px solid #991918;
    border-bottom: 12px solid #991918;
    position: absolute;
    top: 37px;
  }

   .title-box {
    width: 20%;
    max-width: 300px; /*!important*/
    height: auto;
    max-height: 100%;
    margin: 0px auto 0px;
    padding: 0;
  }
  .logo h1 img.logo-top {
    display: block;
    min-width: 300px;
    height: auto;
  }
  .logo h1 img.logo-other {
    display: none;
  }
  .logo h1:before {
    content: ''; /*何も入れない*/
    display: block;
    background-image: url(../images/logo.png);
    background-size: contain;
    background-position: center top;
    width: 54px;
    height: 54px;
    margin: 0px auto 20px;
  }
/*  #footerlink {
    position: fixed;
    bottom: 20px;
    left: 0%;
    width: 700px;
    transform: translate(0%);
    height: 35px;
    border: 1px solid #333;
  }
  #footerlink ul {
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flexbox;
    display: -moz-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 32px;
  }*/

/*===========
.scroll-box
===========*/
  #scroll-box {
    display: flex;
    flex-direction: row;
    height: 94dvh;
    width: 100vw;
    overflow-x: auto;
	  -webkit-overflow-scrolling: touch; 
	  padding-bottom: 40px;
  }

  #scroll-box > div {
    height: 100%;
    display: flex;
    align-items: center;
  }
}	

/*@media (max-width: 650px) {

.maki-middle {width:100%;  height: 88vh;
  background-image: url("../images/maki.png");
  background-position: center top;
  background-repeat: no-repeat;
}
 .ougi {
  background-image: url("../images/ougi.png");
  background-position: 0 center;
  background-repeat: repeat;
  width: 270vw;
  height: 87vh;
  margin: 0;
  border-top: 10px solid #991918;
  border-bottom: 10px solid #991918;
	position: absolute;
	top:5vh;
}	
#top .ougi {
  background-image: url("../images/ougi.png");
  background-position: 0 center;
  background-repeat: repeat;
  width: 190vw;
  height: 87vh;
  margin: 0;
  border-top: 10px solid #991918;
  border-bottom: 10px solid #991918;
	position: absolute;
	top:5vh;
}*/
/*メニュー
------------------------------------------------------------	
#footerlink {
  position:fixed;
  bottom: 0;
  left: 50%;
	transform: translate(-50%, -50%);
	width:100vw;
  max-width: 600px;
	height: 24px;
}
#footerlink ul {
  width: 88%;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
#footerlink ul li {
  background-color: #fff;
  padding: 0px 8px;
  margin: 0 2px;
  border: 1px solid #fdfdfd;
  border-radius: 10px;
	align-self: center;
}*/
	


/* ハンバーガー
------------------------------------------------------------*/
.h-header {
	  position:fixed;
  bottom: 3px;
	width:100%;
  align-items: center;
  box-sizing: border-box;
  display: flex;
 justify-content: center;
    align-items: flex-end;
}
/*ul*/
.h-header__list {
  width: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  justify-content: center;
  align-items: center;
/*  margin-left: 80px;*/
}
/*li*/
.h-header__list-item {
  list-style: none;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 1px 18px 3px;
  margin: 0 8px;
  border: 1px solid #999;
  border-radius: 10px;
  align-self: center;
  text-align: center;
  z-index: 20000;
}
li.h-header__list-item:first-child {
  margin-left: 0px;
}
li.eigo {
  background-color: rgba(0, 0, 0, 0.8);
	margin-right: 0;
}
li.last {
  background-color: transparent;
  border: none;
  margin-right: 0;
}
#footerlink ul li.h-header__list-item:last-child {
  margin-right: 0px;
  padding: 0;
}
li.h-header__list-item img {
  max-width: 86%;
  height: auto;
  vertical-align: middle;
}
li.last img{
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a.h-header__list-link {
  color: #000; 
  display: block;
  margin-right: 0px;
  text-decoration: none;
  padding: 0px 0px 0; 
}
a.h-header__list-link:hover {
  filter: opacity(0.6);
}
	

/*OPEN後*/
/*.h-hamburger-menu {
  position: relative;
}*/
.h-hamburger-menu__input {
  display: none;
}
.h-hamburger-menu__bg {
  background-color: #f5f5dc;
  cursor: pointer;
  display: none;
  height: 100dvh;
  left: 0px;
  opacity: 0.9;
  position: absolute;
  bottom: -3px;
  width: 100%;
  z-index: -1;
}
#hamburger:checked ~ .h-hamburger-menu__bg {
  display: block;
}
	
/*メニューボタン*/
.h-hamburger-menu__button {
  display: none;
}
.h-hamburger-menu__button::before {
  content: "";
  position: absolute;
  bottom: 10px;
  right: 30px;
/*  background: #e8825c;*/
background: #000;	
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: 1s;
	animation: uneune 5s linear infinite; 
}

.h-hamburger-menu__button-mark {
  background-color: #dfdfdf;
  display: block;
  height: 2px; 
  transition: 0.5s;
  width: 30px; 
  transform: translate(0, 0);
  transition: all .22s ease 0s;
}

@media screen and (max-width: 960px), screen and (max-height: 620px) {
  .h-hamburger-menu__list {
    justify-content: center;
  align-items: center;
    display: flex;
    flex-direction: column;
     transform: translateX(-100%);
    transition: 0.3s;
    padding: 10rem 0 12rem;
    position: absolute;
    bottom: 100%;
   left: 70px;
    width: 100%;
    z-index: 1000;
  }
  #hamburger:checked ~ .h-hamburger-menu__list {
    transform: translatex(-10%);
    transition: 0.3s;
  }
  .h-header__list-link {
    color: #fff;
  }
  .h-header__list-item {
    list-style: none;
    text-decoration: none;
    background-color: transparent;
    padding: 0px 18px;
    margin: 8px 0;
    border: none;
    border-radius: 10px;
    align-self: center;
    z-index: 1000;
  }

	
	.h-hamburger-menu__button {
    appearance: none;
    background-color: transparent;
    border: medium;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%; 
    height: 42px; 
    justify-content: center;
    align-items: flex-end;
    z-index: 1000;
	padding-right:38px;
		padding-bottom: 20px;
  }

	
	/*閉じるボタン*/
  #hamburger:checked ~ .h-hamburger-menu__button .h-hamburger-menu__button-mark:nth-of-type(1) {
    transform: translate(4px, 1px) rotate(45deg); /* カスタマイズしてください */
    transform-origin: 0%; /* カスタマイズしてください */
  }
  #hamburger:checked ~ .h-hamburger-menu__button .h-hamburger-menu__button-mark:nth-of-type(2) {
    opacity: 0;
  }
  #hamburger:checked ~ .h-hamburger-menu__button .h-hamburger-menu__button-mark:nth-of-type(3) {
    transform: translate(4px, 3px) rotate(-45deg); /* カスタマイズしてください */
    transform-origin: 0%; /* カスタマイズしてください */
  }
}
@media (max-width: 460px) {
  .lum-lightbox-position-helper {
    margin: auto 0 auto 30px;
  }
 .lum-lightbox-inner .lum-lightbox-caption {
    padding-right: 40px;
  }
}

.animated-element {
  opacity: 0;
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.animated-element.is-visible {
  opacity: 1;
}
@media screen and (max-height: 620px) { 
  .maki-top {
    width: 30px;
    height: 10px;
    background-image: url("../images/maki_top.png");
    background-position: center bottom;
    background-repeat: no-repeat;
  }
  .maki-middle {
    width: 100%;
    height: 95dvh;
    background-image: url("../images/maki.png");
    background-position: center top;
    background-repeat: repeat-y;
  }
  .maki-bottom {
    width: 30px;
    height: 27px;
    background-image: url("../images/maki_bottom.png");
    background-position: center top;
    background-repeat: no-repeat;
  }
  .wrapper {
    width: auto;
    min-width: 1050px;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flexbox;
    display: -moz-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    flex-wrap: nowrap;
    grid-template-rows: 0;
    height: 93dvh;
    padding-left: 70px;
    padding-right: 20px;
    padding-top: 0;
    justify-content: flex-start;
    align-items: center;
  }
  #ougi {
    background-image: url("../images/ougi_bg.jpg");
    background-position: center center;
    background-repeat: repeat;
    width: auto;
    height: 93dvh;
    margin: 0 0 0vh;
    border-top: 10px solid #991918;
    border-bottom: 10px solid #991918;
    position: absolute;
    top: 13px;
  }	
  .h-hamburger-menu__list {
    padding: 1rem 0;
   /* position: absolute;
    bottom: 100%;
   left: 70px;*/

	}
}
