@charset "UTF-8";

/* =========================================================
  fusumakarakuri
========================================================= */

/* site layout
----------------------------------------------- */
#wrapper {
  border-bottom: 1px solid var(--mono-color-6);
  background: var(--mono-color-9);
}

@media only screen and (max-width: 534px) {
  #wrapper {
    padding-top: 0;
  }

  #main {
    padding-bottom: 20px !important;
  }
}

/* breadCrumbs
----------------------------------------------- */
#breadCrumbs {
  border-bottom: none;
  background: var(--mono-color-9);
}

/* CKEditor templates
----------------------------------------------- */
@media only screen and (max-width: 534px) {
  .adobeReader {
    margin: 20px 0;
  }
}

/* body
----------------------------------------------- */
@media only screen and (max-width: 534px) {
  .cke_editable,
  .contentGpArticleDoc .body .text-beginning,
  .contentPage .body,
  .surveyForm .body {
    font-size: 0.875rem;
  }
}

/* fusumakarakuri */
:is(.contentPage .body, .cke_editable) .fusumakarakuri {
  max-width: 720px;
  margin: 0 auto;
  font-weight: 300;
  letter-spacing: normal;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri p {
  margin-bottom: 2.5em;
  line-height: 2;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri h2 {
  margin-bottom: 1em;
  padding: 0;
  border: none;
  background: none;
  color: #59493f;
  font-size: 2rem;
  font-family: "Zen Maru Gothic", sans-serif;
  text-align: center;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri h2::before {
  display: none;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri *~h2 {
  margin-top: 2em;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri strong {
  font-weight: 700;
}

@media only screen and (max-width: 767px) {
  :is(.contentPage .body, .cke_editable) .fusumakarakuri h2 {
    font-size: 1.375rem;
  }
}

/* over */
@media only screen and (min-width: 768px) {
  :is(.contentPage .body, .cke_editable) .fusumakarakuri .over {
    transform: translateX(-50%);
    width: 100vw;
    max-width: 1060px;
    margin-left: 50%;
    padding-right: 30px;
    padding-left: 30px;
  }
}

/* main-visual */
:is(.contentPage .body, .cke_editable) .fusumakarakuri .main-visual {
  margin-bottom: 50px;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri .main-visual img {
  width: 100%;
}

@media only screen and (max-width: 534px) {
  :is(.contentPage .body, .cke_editable) .fusumakarakuri .main-visual {
    margin: 0 -16px 30px;
  }
}

/* bg-area */
:is(.contentPage .body, .cke_editable) .fusumakarakuri .bg-area {
  position: relative;
  z-index: 1;
  margin-top: 80px;
  margin-bottom: 80px;
  padding-top: 70px;
  padding-bottom: 70px;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri .bg-area::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  width: 100vw;
  background-color: #fef4e8;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri>.bg-area:first-child {
  margin-top: 0 !important;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri .bg-area>*:last-child {
  margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
  :is(.contentPage .body, .cke_editable) .fusumakarakuri .bg-area {
    margin-top: 40px;
    margin-bottom: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* gallery */
:is(.contentPage .body, .cke_editable) .fusumakarakuri .gallery ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri .gallery li {
  flex-basis: calc((100% - 40px) / 3);
  list-style: none;
  margin: 0;
  padding: 0;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri .gallery li:nth-child(n+4) {
  margin-top: 60px;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri .gallery li a {
  display: block;
  position: relative;
  aspect-ratio: 9/5;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri .gallery li img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition-duration: 0.3s;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri .gallery li:hover .normal-img {
  visibility: hidden;
  opacity: 0;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri .gallery li .hover-img {
  visibility: hidden;
  opacity: 0;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri .gallery li:hover .hover-img {
  visibility: visible;
  opacity: 1;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri .gallery li span {
  display: block;
  padding-top: 5px;
  text-align: center;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri .gallery li:hover .txt {
  display: none;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri .gallery li .txt-reverse {
  display: none;
}

:is(.contentPage .body, .cke_editable) .fusumakarakuri .gallery li:hover .txt-reverse {
  display: block;
}

@media only screen and (max-width: 959px) {
  :is(.contentPage .body, .cke_editable) .fusumakarakuri .gallery ul {
    gap: 0 15px;
  }

  :is(.contentPage .body, .cke_editable) .fusumakarakuri .gallery li {
    flex-basis: calc((100% - 15px) / 2);
  }

  :is(.contentPage .body, .cke_editable) .fusumakarakuri .gallery li:nth-child(n+3) {
    margin-top: 20px;
  }
}

/* remodal */
.remodal-wrapper {
  padding: 5em 0;
}

.remodal {
  transform: translate3d(0, 0, 0);
  width: auto;
  max-width: 95%;
  margin-bottom: 0;
  padding: 20px 15px 35px;
  border-radius: 3px;
  box-sizing: border-box;
  color: #2b2e38;
  font-size: 16px;
  line-height: 2;
  text-align: left;
}

.remodal .remodal-close {
  position: absolute;
  top: -1.5em;
  right: 0em;
  left: auto;
}

.remodal .remodal-close::before {
  display: none;
}

.remodal .remodal-close img {
  width: 35px;
  height: 35px;
}

.remodal .remodal-close img:hover {
  opacity: .9;
}

.remodal .remodal-contents {
  transform: translate3d(0, 0, 0);
  width: 1000px;
  max-width: 100%;
  max-height: 570px;
  padding: 0px 0 1em;
  border-radius: 3px;
  background: #fff;
}

@media screen and (max-width: 767px) {
  .remodal-wrapper {
    padding: 0;
  }

  .remodal {
    transform: translate3d(0, 0, 0);
    max-width: 95%;
    margin-bottom: 0;
    padding: 25px 0;
    border-radius: 3px;
    box-sizing: border-box;
    color: #2b2e38;
    font-size: 14px;
    line-height: 2;
    text-align: left;
  }

  .remodal .remodal-close {
    position: absolute;
    top: -1.5em;
    right: 0em;
    left: auto;
  }

  .remodal .remodal-close::before {
    display: none;
  }

  .remodal .remodal-close img {
    width: 28px;
    height: 28px;
  }

  .remodal .remodal-contents {
    transform: translate3d(0, 0, 0);
    width: 100%;
    max-width: 100%;
    max-height: 570px;
    margin: 0 0px;
    padding: 0 0px 1em 0px;
    overflow-y: visible;
    border-radius: 3px;
  }

  .remodal img {
    max-width: 100%;
  }
}

/* remodal-contents */
.remodal-contents>ul li {
  text-align: center;
}

.remodal small {
  font-size: 70%;
}

#fusuma-canvas {
  display: block;
  width: 100%;
  height: 480px;
  margin: 0;
}

#fusuma-canvas .fusuma-thumb {
  display: block;
  position: relative;
  width: 140px;
  height: 100px;
  margin: 10px 0;
  background-position: center;
  background-size: cover;
}

#fusuma-canvas .fusuma-thumb-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 0;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  text-align: center;
}

#fusuma-loupe-canvas {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  border-radius: 100px;
  border: 4px solid #4b4b4b;
  visibility: hidden;
}

.fusuma-controls {
  position: relative;
  z-index: 3;
  width: 200px;
  margin: 0 auto;
  border-radius: 2px;
  background: #4b4b4b;
}

.fusuma-controls button {
  padding: 2px 0px;
  border: none;
  background-color: transparent;
}

.fusuma-controls button::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 20px;
  margin: 0 10px 0;
  background-size: 18px 18px;
  background-repeat: no-repeat;
  vertical-align: middle;
}

#play-icon::before {
  background-image: url("/_themes/site/images/fusumakarakuri/play-icon.png");
  background-size: 11px 16px;
}

#left-icon::before {
  background-image: url("/_themes/site/images/fusumakarakuri/prev-icon.png");
  background-size: 11px 16px;
}

#right-icon::before {
  background-image: url("/_themes/site/images/fusumakarakuri/next-icon.png");
  background-size: 11px 16px;
}

#fusuma-zoom::before {
  background-image: url("/_themes/site/images/fusumakarakuri/search.png");
}

#fusumas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#loading-text {
  position: absolute;
  top: 50px;
  left: 0;
  width: 8em;
  padding: 2px 4px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
}

.loading-gif {
  height: 2.1em;
}

.remodal .box-info {
  width: 400px;
  max-width: 100%;
  padding: 0 10px;
  margin: 0px auto;
  text-align: center;
}

.remodal .box-info .title {
  display: block;
  font-size: 1.5em;
}

.remodal .box-info .list-info {
  margin: 0 auto;
}

.remodal .box-info ul li {
  display: table;
  width: auto;
}

.remodal .box-info .info,
.remodal .box-info .detail {
  display: table-cell;
  min-width: 5em;
  text-align: left;
}

.fusuma-info-memo {
  margin-bottom: 1em;
}

.fusuma-info-memo>.info {
  min-width: 4em;
  vertical-align: top;
}

.fusuma-info-memo>.fusuma-detail {
  width: 20em;
  text-align: left;
}