/****
--------------------------------------------
TABLE OF CONTENTS
  - 1.共通要素
  - 2.個別要素
-----------------------------------------  */


/*----------------------
 1.共通要素
---------------------  */
.text-center {
  text-align: center;
}

.btn-center .button {
  margin: 50px auto;
  float: none;
}

.badge {
  font-size: 12.75px;
  display: inline-block;
  line-height: 1;
  padding: 3px 7px 4px 7px;
  text-align: center;
  font-weight: normal;
  text-transform: uppercase;
  background-color: #c60f13;
  color: white;
}

.block-entry {
  max-width: 860px;
  margin: 0 auto 4.5rem;
  padding: 2.5rem;
  background: #f2ede9;
}

.block-entry2 {
  max-width: 860px;
  margin: 0 auto 4.5rem;
  padding: 2.5rem;
}

@media screen and (max-width: 768px) {
  .block-entry2 {
    max-width: 100%;
    margin: 0 0 2rem;
    padding: 0;
  }
}





.block-entry.is-bg-white {
  background: #f7f6f4 !important;
}

table.mail-f {
  width: 100%;
}

table.mail-f td,
table.mail-f th {
  border: 1px solid #dbdbdb;
  border-width: 0 0 1px;
  padding: 0.75em 0.75em;
  vertical-align: top;
}

table.mail-f th {
  color: #46443e;
  width: 30%;
  text-align: left;
  background-color: #f5f5f5;
}

table.mail-f tr:hover {
  background-color: whitesmoke;
}

table.mail-f thead td,
table.mail-f thead th {
  border-width: 0 0 2px;
  color: #46443e;
}

table.mail-f tfoot td,
table.mail-f tfoot th {
  border-width: 2px 0 0;
  color: #46443e;
}

table.mail-f tbody tr:last-child td,
table.mail-f tbody tr:last-child th {
  border-bottom-width: 0;
}



/* form */
.mail-f .input,
.mail-f textarea {
  /*  appearance: none;
  background: #fff;*/
  /*  background-image: none;*/
  border: 0.05rem solid #9d9d9d;
  border-radius: 0.1rem;
  color: #1e1e1e;
  display: block;
  font-size: 0.8rem;
  height: 1.8rem;
  line-height: 1.2rem;
  /*  max-width: 100%;*/
  outline: none;
  padding: 0.25rem 0.6rem;
  position: relative;
  /*  transition: background .2s, border .2s, box-shadow .2s, color .2s;*/
  width: 100%;
}

.mail-f textarea {
  overflow: auto;
}

.mail-f textarea {
  height: auto;
}

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

  table.mail-f th,
  table.mail-f td {
    width: 100%;
    display: block;
    border: none;
    padding: 0.25em 0;
  }

  .mail-f .input,
  .mail-f textarea {
    padding: 0;
  }
}

.is-danger {
  color: #ed7505;
}
.mt-12{
  margin-top: 3rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-24 {
  margin-bottom: 6rem;
}

.text-center {
  text-align: center;
}

h3.flow {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: inherit;
}

.flow-block ul li {
  list-style: disc outside !important;
  margin-left: 1.5em !important;
  color: #bd9f77;
}

.flow-block ul li span {
  color: #333;
}

.price {
  display: flex;
  justify-content: space-between;
}

.price-item {
  width: 47%;
}


.price-item-img img {
  display: block;
  height: 300px;
  object-fit: cover;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .price {
    flex-wrap: wrap;
    justify-content: center;
  }

  .price-item {
    width: 100%;
  }

  .price-item-img img {
    margin-bottom: 1rem;
  }

}



.inline {
  display: flex !important;
  justify-content: center;
}

.inline .button {
  width: 140px !important;
}

/*----------------------
 .gallery
---------------------  */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /*    padding-left: 2rem;
    padding-right: 2rem;*/
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gallery-wrapper {
  width: 100%;
  /*  overflow: hidden;*/

}

.gallery-link {
  /*  position: relative;
  display: block;
  overflow: hidden;
  padding-bottom: 10rem;*/
}

.gallery-img {
  /*  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;*/
  height: 100%;
  width: 100%;
  /*  -o-object-fit: cover;
     object-fit: cover;*/
}

/*全て共通：モーダルのボタンの色を変更したい場合*/
.modaal-close:after,
.modaal-close:before {
  background: #ccc;
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before {
  background: #666;
}


/* top top-grid */


.top-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .top-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-wrapper {
  width: 100%;
}

.gallery-link {}

.gallery-img {
  height: 100%;
  width: 100%;
}

  .hoverMask-parent {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    line-height: 1;
  }

  .hoverMask {
    opacity: 0;
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    transition: all 0.6s ease;
  }

  .hoverMask:hover {
    opacity: 1;
  }

.text-lg{
font-size: 1.125rem;
line-height: 1.75rem;
}