/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8; }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto;
  width: 70vw;
  height: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important;
}

#buy-modal01,
#buy-modal02,
#buy-modal03 {
  padding-bottom: 1rem;
  border-left: 1rem solid #B0B0B0;
	border-right: 1rem solid #B0B0B0;
  padding: 2rem 0;
  overflow: hidden;
}
.modal-title {
  /* background: #A6986D; */
  color: #322A2A;
  font-family: YuMincho, "游明朝", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN W3", "MS PMincho", "ＭＳ Ｐ明朝", "Times New Roman", Meiryo, serif;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  letter-spacing: 0.2rem;
  margin-left: 1.5rem;
  width: 100%;
  padding: 1rem;
  position: relative;
}

.icon {
  position: absolute;
  width: 3rem;
  height: 1.9rem;
  bottom: 18px;
  margin-left: -4rem;
  display: inline-block;
}

.flow {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3,max-content);
    grid-row-gap: 1.3rem;
}

.flow-contents {
  display: grid;
  background: #fff;
  grid-template-columns: max-content 5fr;
  grid-template-rows: repeat(2, max-content);
}

.flow-contents:not(.num){
  box-shadow: 0px 5px 15px -5px #777777;
}

.flow-contents
.num {
    grid-area: 1 / 1 / 3 / 2;
    align-self: center;
    height: auto;
    width: 5rem;
    padding: 0.5rem;
}

.flow-contents
.title {
  align-self: end;
  color: #333333;
  font-family: "Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3",sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.05rem;
padding-top: 1rem;
  width: 100%;
  grid-area: 1 / 2 / 2 / 5;
  font-size: 1.2rem;
}

.flow-contents
.detail {
  align-self: start;
  line-height: 1.3;
  color: #333333;
  font-feature-settings: 'halt' on;
  font-family: "Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3",sans-serif;
  font-style: normal;
  font-weight: 500;
  grid-area: 2 / 2 / 3 / 5;
  font-size: 15px;
  padding: 1rem 1rem 1rem 0;
}

.flow-contents
.img-box {
  grid-area: 1 / 5 / 3 / 7;
  margin: 0;
  width: 15rem;
  height: auto;
  align-self: center;
}

.contact-simple {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 1rem;
  justify-items: center;
  padding: 1rem;
}

.contact_txt {
  color: #333333;
  text-align: center;
  font-family: "Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3",sans-serif;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  font-size: 1.2rem;
}

.contact_txt img {
  display: inline-block;
  height: 1.5rem;
  margin-right: 4px;
}

.contact_txt2 {
  color: #333333;
  text-align: center;
  font-family: "Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3",sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.04rem;
}

.contact-simple .tel {
  text-align: center;
  margin: 1.5rem 0;
}


.contact-simple .tel .tel-btn {
  margin: 1rem auto;
  justify-content: center;
  width: 100%;
  padding: 0;
  height: 6rem;
  max-height: 5rem;
  border-radius: 1.5rem;
  display: flex;
  cursor: pointer;
  pointer-events: none;
}

.tel-btn img {
  width: 3rem;
  height: auto;
  margin-right: 0.5rem;
}

.contact-simple .tel
.tel-btn p {
  color: #8D1116;
  text-align: center;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.16875rem;
  font-size: clamp(1.3rem, 3.1vw, 2rem);
  line-height: 5rem;
}

.contact-simple .mail {
  text-align: center;
  margin: 1.5rem 0;
}

.contact-simple
.mail .mail-btn {
  margin: 1rem auto;
  padding: 0.5rem 3.5rem;
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  background: #3a439a;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  transition-duration: 100ms;
  display: flex;
  cursor: pointer;
  pointer-events: auto;
}

.mail-btn:hover {
  box-shadow: none;
  opacity: .5;
}

.mail-btn img {
  width: 2rem;
  height: auto;
  margin-right: 0.5rem;
}


.contact-simple .mail-btn
a {
  color: #ffffff;
  text-align: center;
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1rem;
  line-height: 4rem;
  cursor: pointer;
  pointer-events: auto;
}

.mail p {
  color: #333333;
  text-align: center;
  font-family: "Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3",sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.04rem;
}

.contact-simple .mail
.contact_txt {
  font-weight: bold;
  text-align: center;
  width: 100%;
  justify-content: center;
}

.contact-shop {
  margin: 2rem 0;
}

.contact-shop
h3 {
  color: #494E5D;
  font-family: "Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3",sans-serif;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.15rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact-shop
p {
  color: #333333;
  font-feature-settings: 'halt' on;
  font-family: "Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3",sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

.contact-shop
.btn-wrapper {
  display: flex;
  margin: 1rem auto;
  padding: 1rem 0;
  text-align: center;
  justify-content: center;
}

@media screen and (min-width: 577px) {

  .contact-shop
  .btn-wrapper {
    background: #fff;
  }
}

.contact-shop
a {
  border-radius: 0.6rem;
  padding: .5rem;
  font-size: 14px;
  letter-spacing: 0.1rem;
  font-weight: 500;
  line-height: normal;
  display: inline-block;
  width: 50%;
  margin: 0 .5rem;
}

.contact-shop a p span{
  color: #D1291F;
}

.contact-shop
a p span {
  font-size: 1.5em;
  font-weight: 700;
}

.contact-shop
a:hover {
  opacity: .5;
  transition-duration: 100ms;
}

.popup-modal-dismiss {
  border-radius: 0.375rem;
  background: #B0B0B0;
  width: 10rem;
  margin: 0 auto;
  text-align: center;
  padding: 1rem;
}

.shop {
  margin-top: 2rem;
}

.popup-modal-dismiss
a {
  color: #333333;
  text-align: center;
  font-family: "Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3",sans-serif;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.05rem;
  position: relative;
}

.popup-modal-dismiss
.batsu {
  font-size: 2rem;
}

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  margin: 10px 26px;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation;
  background: #575757;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #ffffff; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1; }
  .mfp-arrow:before,
  .mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
    @media screen and (max-width: 575px) {
      .mfp-arrow:before,
      .mfp-arrow:after {
      content:none;}
    }

  .mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -60px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 1200px) {
    .mfp-auto-cursor .mfp-content {
      width: 90vw;
    }

}


/* タブレットサイズここから */
@media all and (max-width: 1024px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; }

  .mfp-auto-cursor .mfp-content {
    width: 90vw;
  }

  .flow {
    grid-row-gap: 1.3rem;
  }

  .flow-contents {
    grid-template-columns: max-content 5fr;
  }

  .flow-contents .num {
    grid-area: 1 / 1 / 3 / 2;
    align-self: center;
    height: auto;
    width: 5rem;
  }

  .flow-contents .title {
    width: 100%;
    grid-area: 1 / 2 / 2 / 5;
    font-size: 1.2rem;
    padding: 1rem 1rem 0 0;
  }

  .flow-contents .detail {
    grid-area: 2 / 2 / 3 / 5;
    font-size: 15px;
  }

  .flow-contents .img-box {
    grid-area: 1 / 5 / 3 / 7;
    margin: 0;
    width: 10rem;
    height: auto;
    align-self: center;
  }

  .contact-simple .tel {
    width: 100%;
  }
  .contact-simple .tel
  .tel-btn {
    justify-content: center;
    border-radius: 1rem;
    padding: 0.3rem;
    pointer-events: none;
    height: auto;
  }

  .tel-btn img {
    width: 1.5rem;
    margin-right: 0.5rem;
    align-self: center;
  }

  .contact-simple .tel .tel-btn p {
    letter-spacing: 0.08rem;
    line-height: 3.5rem;
  }

  .contact_txt2 {
    font-size: 14px;
  }

  .contact_txt img {
    display: inline-block;
    height: 1.2rem;
  }

  .contact-simple .mail {
    width: 100%;
  }

  .contact-simple .mail
  .mail-btn {
    justify-content: center;
    border-radius: 1rem;
    padding: 0.3rem;
    width: 100%;
    pointer-events: auto;
  }

  .contact-simple .mail
  .mail-btn a {
    font-size: 1.5rem;
    line-height: 3.5rem;
    cursor: pointer;
  }
}

/* mdサイズここから */

@media screen and (max-width: 768px) {

  .contact-simple .mail .mail-btn a {
    font-size: 1.3rem;
  }

  .mail p {
    font-size: 14px;
  }

  .tel p {
    font-size: 14px;
  }

  .flow-contents .detail {
    line-height: 1.7;
  }

  .contact-shop a {
    font-size: 18px;
  }

}
/* スマホサイズここから */
@media screen and (max-width: 576px) {
  .mfp-auto-cursor .mfp-content {
    width: 90vw;
  }

  #buy-modal01, #buy-modal02, #buy-modal03 {
    margin: 0rem;
    padding-bottom: 0;
    border-left: .5rem solid #B0B0B0;
    border-right: .5rem solid #B0B0B0;
  }

  .modal-title {
    text-align: left;
    margin-left: 3.5rem;
    line-height: 1.5rem;
    padding-left: 0.5rem;
  }

  .mfp-close {
    width: 36px;
    height: 36px;
    line-height: 36px;
    top: 2px;
    right: 2px;
  }

  .modal-title .icon {
    width: 2rem;
    margin-left: -3rem;
    height: auto;
  }

  .flow {
    grid-row-gap: 1.5rem;
    padding: 0 0 1rem 0;
  }

  .flow-contents {
    display: grid;
    grid-template-columns: 4.5rem repeat(3, 1fr);
    grid-template-rows: repeat(4,max-content);
  }

  .flow-contents
  .num {
    grid-area: 1 / 1 / 2 / 2;
    width: auto;
    padding: 8px;
    margin: 0;
  }

  .flow-contents
  .title {
    grid-area: 1 / 2 / 2 / 5;
    align-self: center;
    font-size: 1.2rem;
    padding-top: 0;
  }

  .flow-contents
  .detail {
    grid-area: 4 / 1 / 5 / 5;
    font-size: 1rem;
    padding: 0;
    margin: 1rem 1.5rem;
  }

  .flow-contents
  .img-box {
    grid-area: 2 / 1 / 4 / 5;
    align-self: start;
    height: auto;
    width: 100%;
  }

  .flow-contents
  .img-box img {
    object-fit: cover;
    width: 70%;
    margin: auto;
    height: auto;
  }

  .contact_txt img {
    display: inline-block;
    height: 1.2rem;
  }

  .contact-simple {
    grid-template-columns: repeat(1,1fr);
    margin-top: 0.1rem;
    padding: 0;
  }

  .contact-simple
  .tel {
    margin: 0.5rem 0;
    width: 100%;
  }
  .contact-simple .tel
  .tel-btn {
    background:#9b8067;
    height: auto;
    justify-content: center;
    align-items: center;
    margin: 0.5rem auto;
    border-radius: 1rem;
    padding: 0.5rem;
    width: 90%;
    pointer-events: auto;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  }

  .tel-btn:hover {
    opacity: .5;
    transition-duration: 100ms;
    box-shadow: none;
  }

  .contact-simple .tel .tel-btn p {
    line-height: 3rem;
    font-size: 1.5rem;
    color: #ffffff;
  }

  .contact-simple .tel .tel-btn img {
    width: 2rem;
    height: auto;
    margin-right: 0.5rem;
  }

  .contact-shop {
    margin: 3rem 0.5rem 1rem 0.5rem;
  }
  .contnt-shop .btn-wrapper {
    background: none;
  }

  .contact-shop h3 {
    font-size: 1.25rem;
  }

  .contact-shop .btn-wrapper {
    display: block;
  }

  .contact-shop a p, .contact-shop a p span{
    color: white;
  }

  .btn-wrapper a:nth-child(1) {
    background: #354987;
  }

  .btn-wrapper a:nth-child(2){
    background: #338349;
  }

  .contact-shop a {
    width: 100%;
    margin: 0;
    margin-bottom: 0.7rem;
    box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.15);
  }

  .contact_txt {
    font-size: 0.8rem;
  }

  .contact_txt2 {
    font-size: 0.8rem;
  }
  .contact_txt2 p {
    font-size: 0.7rem;
  }
  .contact-simple .mail {
    margin: 0;
    width: 100%;
  }
  .contact-simple .mail .mail-btn {
    justify-content: center;
    margin: 0.5rem auto;
    border-radius: 1rem;
    padding: 0.5rem;
    width: 90%;
    pointer-events: auto;
  }
  .contact-simple .mail-btn a {
    font-size: 1.5rem;
    line-height: 3rem;
    cursor: pointer;
  }
  .mail p {
    font-size: 0.7rem;
  }

  .popup-modal-dismiss {
    padding: 0.5rem;
    margin: 1rem auto;
  }

  .popup-modal-dismiss a {
    font-size: 1rem;
  }

  .popup-modal-dismiss .batsu {
    font-size: 1.5rem;
  }

  button.mfp-close,
  button.mfp-arrow {
    margin: 10px 18px;
  }
}
