@charset "UTF-8";

/* =========================================================
  top
========================================================= */
/* =========================================================
Flex Layout top 2column
========================================================= */

#globalMenu li a img:hover,
#newsPaper li a img:hover {
  opacity: 1;
}

/* pageHeader 
-----------------------------------------------*/
#pageHeader {
  position: absolute;
}

/* #globalNavi  
-----------------------------------------------*/
#globalNavi .mainMenu a {
  color: var(--mono-color-9);
  text-decoration: none;
}

#globalNavi .mainMenu a::after {
  background: #fff;
}

@media only screen and (max-width: 959px) {
  #sp-menu button {
    background-image: url("/_themes/site/images/ic-menu.svg");
  }

  #sp-menu button.active {
    background-image: url("/_themes/site/images/ic-close.svg");
  }

  #globalNavi .pieceConteiner {
    top: 0;
  }

  #siteLogo {
    position: absolute;
    z-index: 3;
  }
}

/* mainVisual
----------------------------------------------- */
#mainVisual {
  position: relative;
  z-index: -1;
  overflow: hidden;
  max-height: 100vh;
}

#mainVisual.active {
  overflow: visible;
}

/* #mainVisual:after {
  content: "";
  background: url("/_themes/site/images/mvcloud.png") left -100px center/cover;
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
} */

.cloud {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background-image: url("/_themes/site/images/mvcloud.png");
  background-repeat: repeat-x;
  background-size: cover;
  pointer-events: none;
  z-index: 1;
  opacity: 0.3;
  animation: scroll-horizontal 400s linear infinite;
}

.cloud.cloud-front {
  z-index: 2;
  opacity: 0.5;
}

@keyframes scroll-horizontal {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: -10000px 0;
  }
}

#mainVisual .mv {
  width: 100%;
  object-fit: cover;
  object-position: bottom;
  max-height: 100vh;
}


#mainVisual .mvlogo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 50vw;
  max-height: 80vh;
  z-index: 2;
}

@media only screen and (max-width: 559px) {
  #mainVisual .mv {
    height: 80vh;
  }

  #mainVisual .mvlogo {
    height: 75vw;
    max-height: 50vh;
  }
}

/*-----------------------------------------------
 content
 -----------------------------------------------*/
#content h2 {
  font-family: var(--font-family-min);
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

#content .pieceContainer:not(#event .pieceContainer),
#event {
  opacity: 0;
  transition: opacity 1s ease;
}

#content>div>.pieceContainer {
  max-width: var(--site-width);
  margin: 0 auto;
  height: 100%;
}

@media only screen and (max-width: 1240px) {
  #content>div>.pieceContainer {
    padding: 0 1.5rem;
  }
}

@media only screen and (max-width: 959px) {
  #content>div>.pieceContainer {
    padding: 0 1rem;
  }

  #content h2 {
    font-size: 1.8rem;
  }
}

/* #overview
 -----------------------------------------------*/
#overview {
  background: url("/_themes/site/images/bg-overview.png");
  text-align: center;
  padding: 8rem 0;
  font-size: 1.2rem;
  line-height: 2;
  position: relative;
  z-index: 0;
}

#overview::before,
#overview::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 213px;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
}

#overview::before {
  top: 0;
  right: 0;
  background-image: url("/_themes/site/images/overview-parts1.png");
  background-position: right top;
}

#overview::after {
  bottom: 0;
  left: 0;
  background-image: url("/_themes/site/images/overview-parts2.png");
  background-position: left bottom;
}

#overview .more-btn a {
  display: inline-block;
  margin-top: 2rem;
  background-color: var(--main-color-7);
  color: var(--mono-color-9);
  text-decoration: none;
  padding: 0.8rem 5rem;
  border: 1px solid var(--main-color-7);
  border-radius: 50px;
  font-size: 1rem;
  transition: 0.3s;
  line-height: 1.6;
}

#overview .more-btn a:hover {
  background-color: var(--mono-color-9);
  color: var(--main-color-7);
}

@media only screen and (max-width: 959px) {
  #overview {
    padding: 5rem 0;
    font-size: 1.1rem;
  }

  #overview::before,
  #overview::after {
    background-size: 300px;
  }
}

@media only screen and (max-width: 559px) {
  #overview::before, #overview::after {
    background-size: 50%;
  }
}

/* news 
----------------------------------------------- */
#news {
  padding: 4rem 0 5rem;
}

#news ul {
  margin-bottom: 2rem;
}

#news li {
  padding: 20px 0;
  align-items: center;
}

#news .more {
  text-align: center;
}

#news .more a {
  display: inline-block;
  padding: 0.8rem 5rem;
  border-radius: 50px;
  border-color: var(--main-color-7);
  border-width: 1px;
  color: var(--main-color-7);
  transition: 0.3s;
}

#news .more a:hover {
  background-color: var(--main-color-7);
  color: var(--mono-color-9);
}

@media only screen and (max-width: 959px) {
  li.docs .title_link {
    margin-left: 0;
    padding-left: 1rem;
  }
}

@media only screen and (max-width: 559px) {
  #news li {
    gap: 6px 0.5rem;
  }

  li.docs .title_link {
    padding-left: 0.5rem;
  }
}

/*-----------------------------------------------
#event 
----------------------------------------------- */
#event {
  display: flex;
  gap: 5rem;
  background: url("/_themes/site/images/bg-event.png");
  justify-content: center;
  padding: 5rem 0;
}

#event>div {
  flex-basis: 50%;
  max-width: calc((var(--site-width) / 2) - 2rem);
}

#event h2 {
  font-size: 1.7rem;
}

@media only screen and (max-width: 1240px) {
  #event {
    gap: 2rem;
    padding: 5rem 1.5rem;
  }

  #event>div {
    flex-basis: 50%;
    max-width: calc(50% - 1rem);
  }
}


@media only screen and (max-width: 959px) {
  #event {
    flex-wrap: wrap;
    gap: 4rem 2.5rem;
    padding: 5rem 1rem;
  }

  #event h2 {
    margin-bottom: 1.5rem;
  }

  #event #calendar {
    flex-grow: 1;
    max-width: 456px;
    min-width: 360px;
  }

  #event #regularEvents {
    flex-basis: 220px;
    flex-grow: 1;
    max-width: none;
  }

  div[id^="calendar"] .pieceContainer {
    padding: 0;
  }
}

@media only screen and (max-width: 559px) {
  #event #calendar {
    flex-grow: 1;
    max-width: 100%;
    min-width: 330px;
  }

}


/* event-list
----------------------------------------------- */
.calendarEvents table {
  width: 100%;
}

.calendarEvents th {
  padding: 8px 15px;
  background-color: var(--main-color-9);
  font-weight: normal;
  text-align: center;
}

.calendarEvents th:first-child {
  width: 10rem;
}

.calendarEvents th:not(:last-child) {
  border-right: 1px solid var(--main-color-8);
}

.calendarEvents td {
  padding: 8px;
  border-bottom: 1px solid var(--mono-color-6);
  vertical-align: middle;
}

.calendarEvents .image,
.calendarEvents .date {
  text-align: center;
}

.calendarEvents .image {
  width: 90px;
  text-align: center;
}

/* regularEvents  
-----------------------------------------------*/
#regularEvents ul li {
  padding-bottom: 13px;
  margin-bottom: 13px;
  border-bottom: 1px solid var(--mono-color-6);
  line-height: 1.9;
}

#regularEvents ul li::before {
  content: "-";
  margin-right: 10px;
}


/* globalMenu
----------------------------------------------- */
#globalMenu {
  padding: 6rem 0;
}

#globalMenu h2 {
  margin-bottom: 4.5rem;
}

#globalMenu ul {
  display: flex;
  gap: 3rem 1rem;
  flex-wrap: wrap;
}

#globalMenu li {
  background: url("/_themes/site/images/global-menu.png") center/cover;
  flex-basis: calc((100% / 3) - 0.7rem);
  position: relative;
  padding: 0.5rem 2rem;
}

#globalMenu li a {
  text-decoration: none;
  color: var(--mono-color-1);
}

#globalMenu li p {
  font-family: var(--font-family-min);
  font-weight: bold;
  padding: 0.8rem;
  background-color: var(--mono-color-9);
  border: 2px solid var(--main-color-5);
  writing-mode: vertical-rl;
  position: absolute;
  margin-left: 1rem;
  height: 14.5rem;
  letter-spacing: 0.2rem;
  font-size: 1.2rem;
  transition: 0.3s;
  box-shadow: 1px 1px 10px #ddd;
}

#globalMenu li.shinmei p {
  font-size: 1.05rem;
  padding-left: 1.3rem;
}

#globalMenu li a:hover p {
  transform: translateY(-0.5rem);
}

#globalMenu li a:hover img {
  opacity: 0.8;
}

#globalMenu li img {
  margin-left: auto;
  padding-top: 4rem;
  width: 75%;
  display: block;
  margin-bottom: 0.5rem;
}

#globalMenu .small {
  font-size: 10px;
  position: absolute;
  left: 5px;
}

@media only screen and (max-width: 1240px) {
  #globalMenu li {
    padding: 0 2rem;
  }
}

@media only screen and (max-width: 1100px) {
  #globalMenu li {
    padding: 0 1.5rem;
  }

  #globalMenu li img {
    padding-top: 3rem;
  }
}

@media only screen and (max-width: 1100px) and (min-width: 960px) {
  #globalMenu li p {
    font-size: 1rem;
    height: 12.5rem;
    padding: 0.6rem 0.8rem;
  }

  #globalMenu li.shinmei p {
    font-size: 0.9rem;
  }
}

@media only screen and (max-width: 959px) {
  #globalMenu li {
    flex-basis: calc(50% - 0.5rem);
    padding: 0.5rem 2rem;
  }
}

@media only screen and (max-width: 790px) {
  #globalMenu li p {
    font-size: 1rem;
    height: 12.5rem;
    padding: 0.6rem 0.8rem;
  }

  #globalMenu li.shinmei p {
    font-size: 0.9rem;
  }
}

@media only screen and (max-width: 649px) {

  #globalMenu li p {
    margin-left: 0;
    font-size: 2.5vw;
    height: 30vw;
    padding: 0.5rem 0.8rem;
    letter-spacing: 0.1rem;
  }

  #globalMenu li.shinmei p {
    font-size: 2.28vw;
  }
}

@media only screen and (max-width: 499px) {
  #globalMenu .pieceContainer {
    padding: 0 0.5rem !important;
  }

  #globalMenu ul {
    gap: 2rem 0.6rem;
  }

  #globalMenu li {
    flex-basis: calc(50% - 0.3rem);
    padding: 0.8rem;
  }

  #globalMenu li p {
    padding: 0.3rem 0.5rem;
    font-size: 3.5vw;
    height: 37vw;
    letter-spacing: 0.13rem;
    left: 0.7rem;
    bottom: 0.5rem;
  }

  #globalMenu li.kinone p {
    letter-spacing: 0.03rem;
  }

  #globalMenu li.shinmei p {
    font-size: 3.1vw;
    letter-spacing: 0.03rem;
  }

  #globalMenu li img {
    padding-top: 1.7rem;
    margin-bottom: 0;
    width: 70%;
  }
}

/*-----------------------------------------------
#newsPaper 
----------------------------------------------- */
#newsPaper {
  display: flex;
  gap: 4rem;
  justify-content: center;
  background-image: url("/_themes/site/images/bg-news-paper.png");
  padding: 5rem 0;
}

#newsPaper>div {
  flex-basis: 50%;
  max-width: calc((var(--site-width) / 2) - 2rem);
  border-bottom: 1px solid var(--main-color-1);
}

#newsPaper h2 {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

#newsPaper h2::before,
#newsPaper h2::after {
  content: "";
  background-image: url("/_themes/site/images/news-paper_border.png");
  display: block;
  height: 1px;
}

#newsPaper h2::before {
  margin-right: 1rem;
}

#newsPaper h2::after {
  margin-left: 1rem;
}

#shinmei h2::before,
#shinmei h2::after {
  width: calc(50% - 2.8rem);
}

#ashitsu h2::before,
#ashitsu h2::after {
  width: calc(50% - 6.1rem);
}

#newsPaper .pieceContainer {
  display: flex;
  flex-direction: column;
}

#newsPaper .pieceBody {
  height: 100%;
}

#newsPaper .docs {
  height: 100%;
}

#newsPaper li.docs a.doc_link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--mono-color-1);
  height: 100%;
  gap: 1rem;
}

#newsPaper li.docs a.doc_link img {
  box-shadow: 0 0 5px #aaaaaa5e;
}

#newsPaper li.docs a.doc_link .title {
  border-bottom: 1px solid transparent;
  padding-bottom: 8px;
  transition: 0.3s;
}


#newsPaper li.docs a.doc_link:hover .title {
  border-bottom: 1px solid var(--mono-color-3);
}

#newsPaper .image {
  flex-grow: 1;
  display: flex;
  align-items: center;
}

#newsPaper .more {
  text-align: right;
  margin-bottom: 1.5rem;
}

#newsPaper .more a {
  display: inline-block;
  border-width: 0;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
  border-radius: 0;
}

#newsPaper li.docs .more a:hover {
  border-bottom: 1px solid var(--mono-color-3);
  background-color: unset;
}

#newsPaper li.docs a:hover img {
  opacity: 0.8;
}

@media only screen and (max-width: 1240px) {
  #newsPaper {
    gap: 7rem 2rem;
    padding: 5rem 1rem;
  }

  #newsPaper>div {
    max-width: calc(50% - 1rem);
  }
}

@media only screen and (max-width: 959px) {
  #newsPaper {
    flex-wrap: wrap;
  }

  #newsPaper>div {
    flex-grow: 1;
    min-width: 400px;
    flex-basis: 100%;
    max-width: 600px;
  }
}

@media only screen and (max-width: 559px) {

  #newsPaper>div {
    flex-basis: 100%;
    min-width: 330px;
    max-width: 100%;
  }
}

/* snsBanner
----------------------------------------------- */
#snsBanner {
  padding: 6rem 0;
}

#snsBanner ul {
  display: flex;
  flex-wrap: wrap;
}

#snsBanner li {
  flex-basis: calc(100% / 3);
  text-align: center;
}

@media only screen and (max-width: 1240px) {
  #snsBanner ul {
    gap: 2rem 0.5rem;
  }

  #snsBanner ul:after {
    content: "";
  }

  #snsBanner ul:after,
  #snsBanner li {
    flex-basis: calc((100% - 1rem) / 3);
    min-width: 300px;
    flex-grow: 1;
  }

  #snsBanner img {
    object-fit: contain;
  }
}

/* #access
----------------------------------------------- */
#access {
  margin-bottom: 5rem !important;
}

#access .text-wrapper {
  display: flex;
  gap: 4rem;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

#access ul {
  padding-top: 1rem;
}

#access li {
  padding: 0.5rem 0 0.5rem 3rem;
  background-position: left 0.7rem;
  background-repeat: no-repeat;
  background-size: 1.9rem;
}

#access .adress {
  background-image: url("/_themes/site/images/access-map.svg");
}

#access .tel {
  background-image: url("/_themes/site/images/access-tel.svg");
}

#access .otsutome {
  background-image: url("/_themes/site/images/access-otsutome.svg");
  background-size: 2.2rem;
}

#access .access {
  background-image: url("/_themes/site/images/access-access.svg");
  background-position: 0.3rem;
}

#access iframe {
  max-width: 100%;
}

@media only screen and (max-width: 959px) {
  #access .text-wrapper {
    gap: 0.5rem 2rem;
    font-size: 1rem;
  }

  #access ul {
    min-width: 300px;
  }

  #access li {
    padding: 0.5rem 0 0.5rem 2.5rem;
  }
}

@media only screen and (max-width: 959px) {
  #access .text-wrapper {
    flex-wrap: wrap;
  }
}