/*
$main-purple : #9580AF;
$light-purple : #D0BFE6;
$pale-yellow : #FDFBF3; (top)
$gray- : #707070;
*/

* {
    box-sizing: border-box;
}
html, body, div, img {
    margin: 0;
    padding: 0;
    border: 0;
}
body{
  margin: 0;
  padding: 0 25px;
  background-color: #9580AF;
  color: #707070;
}
p{
  line-height: 1.8;
  font-size: 1.2em;
}
img{
  max-width: 100%;
  height: auto;
}
#wrapper{
  width: 100%;
  max-width: 1200px; /* 1600 */
  margin: auto;
}
header{
  width: 100%;
  height: 60px;
  background-color: #FDFBF3;
}
main{
  background-color: white;
  padding: 0 40px 10px 40px;
}
section{
  margin-bottom: 30px;
  padding: 20px;
}
section a, footer a{
  text-decoration: none;
}
section h2{
  margin-top: 0;
}
.pc{
  display: block;
}
.sp{
  display: none;
}
.row{
  display: flex;
  flex-wrap: wrap;
}
.row.center{
  justify-content: center;
}
.self-center{
  align-self: center;
}

.col{
  flex-grow: 1;
}
.col-10{ max-width: 10%; }
.col-15{ max-width: 15%; }
.col-20{ max-width: 20%; }
.col-25{ max-width: 25%; }
.col-40{ max-width: 40%; }
.col-50{ max-width: 50%; }
.col-75{ max-width: 75%; }
.col-90{ max-width: 90%; }

.t-left{
  text-align: left;
}
.t-center{
  text-align: center;
}
.m-auto{
  margin: auto;
}
.mx-auto{
  margin-left: auto;
  margin-right: auto;
}
.my-0{
  margin-top: 0;
  margin-bottom: 0;
}
.mt-0{
  margin-top: 0;
}
.mt-20{
  margin-top: 20px;
}
.pr-10{
  padding-right: 10px;
}
.pb-10{
  padding-bottom: 10px;
}
.pl-10{
  padding-left: 10px;
}
.bold{
  font-weight: bold;
}
.print-only{
  display: none;
}


#top_text article{
  /*padding: 30px 0;*/
}
#top_text article p{
  font-size: 1em;
}
.big-h2{
  font-size: 1.75em;
}
.div-border{
  border: 1px solid #707070;
}
.h-lightpurple{
  padding: 10px;
  background-color: #D0BFE6;
  font-weight: bold;
  font-size: 1.2em;
  text-align: center;
}

#button_area{
  margin: 0;
  padding: 0;
  text-align: right;
}
#button_area a{
}
#button_area p{
  margin: 0;
  display: inline-block;
  text-decoration: underline;
}

#schedule{
  padding-left: 0;
  padding-right: 0;
}
#schedule_time{
  padding: 0;
}
#schedule_time .time-data{
  margin: 20px 20px 25px;
}
#place_data{
  padding: 10px 20px;
}
#place_data .row{
  margin-left: 10px;
}
#place_data .row > .col{
  padding-top: 0;
}
#place_data .row > .col-75{
  width: 75%;
}
.map-print{
  height: auto;
  width: 100%;
  /*object-fit: cover;*/
  margin-top: -5px;
}

#live_youtube .row img{
  align-self: baseline;
}
#slider_memorial{
  margin-left: -20px;
  margin-right: -20px;
}
#slider_memorial div > img{
  padding-left: 9px;
  padding-right: 9px;
  margin: auto;
}
#slider_nav div *{
  margin: 0 10px;
  max-height: 120px;
}
.slick-prev , .slick-next {
  z-index: 9;
}
.slick-prev{
  left: 20% !important;
}
.slick-next{
  right: 20% !important;
}
.slick-prev:before, .slick-next:before{
  color: black !important;
}

#live_youtube .row .text-live{
  margin-left: 5%;
}

.qr_image{
  width: 100px; /* 120 -> 100 */
  height: 100px;
  margin: auto;
}
.bt_{
  width: auto;
  border-radius: 40px;
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
}
.bt-purple{
  min-width: 70px;
  height: fit-content;
  color: white;
  background-color: #9580AF;
  padding: 10px 12px;
}
.bt-gray{
  color: #000;
  background-color: #D9D9D9;
  margin: 30px 0;
  padding: 10px 20px;
}

footer{
  background-color: #9580AF;
  color: white;
  padding: 10px;
}
footer p{
  margin: 0;
}



@media screen and (max-width: 767px) {
  .pc{
    display: none;
  }
  .sp{
    display: block;
  }
  body{
    padding: 0 10px;
  }
  main{
    padding: 0 5px;
    padding-bottom: 1px;
  }
  .col-10, .col-15, .col-20, .col-25, .col-40, .col-50, .col-75, .col-90{
    width: 100%;
    max-width: 100%;
  }
  #slider_memorial *{
    max-height: 200px;
  }
}

/* for setting place ( TEMP only ) */
.bg-gray{
  background-color: #EEE;
  padding: 20px;
}

/* form
---------------------------*/
#message #js-qa {
  cursor: pointer;
  position: relative;
  display: inline-block;
  padding-right: 40px;
  margin: 0;
}

#message #js-qa:before {
  content: '';
  display: block;
  position: absolute;
  top: 60%;
  right: 0;
  border-top: 3px solid #707070;
  border-right: 3px solid #707070;
  transition: 0.5s;
  width: 14px;
  height: 14px;
  transform: translateY(-50%) rotate(495deg);
}

#message #js-qa.open:before {
  top: 70%;
  transform: translateY(-50%) rotate(-45deg);
}

#message .answer {
  padding: 1em;
  display: none;
}

input[type="text"], input[type="number"], input[type="tel"], input[type="email"] {
  border: solid 1px #707070;
  border-radius: 8px;
  padding: 16px;
  width: 100%;
  outline: none;
  color: #707070;
  font-size: 1.2em
}

input[type="text"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="email"]:focus {
  box-shadow: 0 0 5px #707070;
  border: 1px solid #707070;
}

textarea {
  border: solid 1px #707070;
  border-radius: 8px;
  padding: 16px;
  height: 200px;
  width: 100%;
  outline: none;
  color: #707070;
  font-size: 1.2em;
}

textarea:focus {
  box-shadow: 0 0 5px #707070;
  border: 1px solid #707070;
}

input[type="submit"] {
  display: block;
  padding: .6em 1em;
  margin: 0 auto;
  max-width: 320px;
  width: 100%;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  outline: none;
  font-size: 18px;
  background: #EB9749;
  color: #fff;
  font-weight: bold;
  border: 1px solid #EB9749;
  transition: .3s;
  margin-top: 3%;
}

@media screen and (max-width: 767px) {
  input[type="submit"] {
    margin-top: 2.4rem;
  }
  #message #js-qa {
    font-size: 18px;
  }
}

input[type="submit"]:hover {
  background: #fff;
  color: #EB9749;
  border: 1px solid #EB9749;
}

.wpcf7-form-control.wpcf7-checkbox {
  display: flex;
  flex-direction: column;

}

@media (max-width: 767px) {
  .wpcf7-form-control.wpcf7-checkbox {
    flex-direction: column;
  }
}

.wpcf7-form-control .wpcf7-list-item {
  flex: 0 1 50%;
  position: relative;
  font-size: 22px;
  font-weight: bold;
  padding-left: 1.5em;
  display: block;
  margin: 10px 0 0;
}

.wpcf7-form-control .wpcf7-list-item:first-child {
  margin: 0;
}

@media (max-width: 767px) {
  .wpcf7-form-control .wpcf7-list-item {
    margin: 0;
  }
}

.wpcf7-form-control input[type="checkbox"] {
  position: absolute;
  top: 22%;
  left: 0;
  transform: scale(1.5);
}

.text_red {
  color: red;
}

@media (max-width: 1024px) {
  .text_red {
    display: block;
  }
}

.answer {
  max-width: 1000px;
  width: 100%;
  margin: auto;
}

.contactBlock {
  margin-top: 40px;
}

table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}

table td,
table th {
  padding: .6em;
}

table th {
  width: 25%;
  font-weight: bold;
  text-align: left;
  font-size: 1.2em;
}

table td {
  width: 37.5%;
  text-align: left;
}

@media (max-width: 767px) {
  table td,
  table th {
    padding: 0.5em .3em;
    display: block;
  }
  table th {
    width: 100%;
    font-size: 1em;
  }
  table td {
    width: 100%;
  }
}

.message-btn-wrap {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.message-btn {
  margin-top: 10px;
  width: 42%;
}

.message-btn a {
  display: block;
  padding: .4em 1em;
  margin: 0 auto;
  max-width: 370px;
  width: 100%;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  outline: none;
  font-size: 22px;
  background: #9580AF;
  color: #fff;
  font-weight: bold;
  border: 1px solid #9580AF;
  transition: .3s;
  margin-top: 3%;
  position: relative;
}

@media (max-width: 767px) {
  .message-btn a {
    font-size: 18px;
  }
  .message-btn {
    width: 100%;
  }
  section {
    padding: 5px;
  }
}

@media screen and (max-width: 767px) {
  .message-btn a {
    margin-top: 2.4rem;
  }
}

.message-btn a:after {
  position: absolute;
  content: '';
  display: block;
  top: 50%;
  right: 7%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
  transition: .3s;
}

.message-btn a:hover {
  background: #fff;
  color: #9580AF;
  border: 1px solid #9580AF;
}

.message-btn a:hover:after {
  right: 5%;
  border-color: #9580AF;
}
