@charset "UTF-8";

.page-point__index01-text {
  font-size: 2rem;
}

.page-point__index02 {
  margin-top: 8rem;
}

.page-point__index02:not(:first-of-type) {
  margin-top: 4rem;
}

.page-point__index02-ttl {
  font-size: 2.8rem;
  font-weight: bold;
  text-align: center;
  background-color: #955b00 ;
  color: #fff;
  padding: 1rem 0;
}

.flex-box {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
}

.flex-box-item {
  width: 48%;
}

.flex-box-item-text {
  background-color: #f7f7f7;
  font-size: 1.8rem;
  text-align: center;
  padding: 1rem 0;
  font-weight: bold;
  margin-bottom: 4rem;
}

.page-point__index02-list-item:not(:first-of-type) {
  margin-top: 2rem;
}

/* モーダル(js) */

.modal {
  display: none;
  position: fixed;
  z-index: 8887;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.3);
  transition: all 1s ease-in-out;
}

.modal-container .img {
  background: #f1f1f1;
  margin-bottom: 15px;
}

.modal-container p:last-child {
  margin-bottom: 0;
}

.modal-content {
  background: #fff;
  overflow-y: auto;
  padding: 20px 25px;
  width: 65%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: show 0.6s linear 0s;
  filter: drop-shadow(0px 2px 6px #777);
}

.modal-top {
  display: inline-block;
  position: absolute;
  right: 5px;
  top: 5px;
}

.modal-close {
  color: #333;
  font-weight: bold;
  text-decoration: none;
  font-size: 4rem;
  line-height: 1;
  padding: 0 8px;
}

.modal-close:hover,
.modal-close:focus {
  text-decoration: none;
  cursor: pointer;
}

.modal-title {
  color: #fff;
}

@keyframes show {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-toggle {
  background: none;
  border: none;
  text-decoration: underline;
  font-size: 1.6rem;
  font-weight: bold
}

.modal-container {
  width: 80%;
  margin: auto;
}

.modal-container-ttl {
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  background-color: #f7f7f7;
  color: #333;
  margin-top: 1rem;
}

.modal-container-text {
  margin-top: 1rem;
  font-size: 1.4rem;
  text-align: center;
}

.modal-container-text a{
  color: blue;
}

.modal-container-text.--left {
  text-align: left;
}


/* モーダル(js) */

@media (max-width: 768px) {

  .page-point__index01-text {
    font-size: 1.8rem;
  }

  .page-point__index02 {
    margin-top: 4rem;
  }

  .page-point__index02-ttl {
    font-size: 2rem;
  }

  .flex-box {
    flex-direction: column;
    gap: 2rem;
  }

  .flex-box-item{
    width: 100%;
  }

  .flex-box-item-text {
    font-size: 1.6rem;
    padding: .5rem 0;
    margin-bottom: 2rem;
  }

  .modal-content {
    width: 90%;
  }

  .modal-container {
    width: 100%;
  }

  .modal-close {
    font-size: 2rem;
    padding: 0;
  }


  .modal-toggle {
    background: none;
    border: none;
    text-decoration: underline;
    font-size: 1.6rem;
    color: #000;
    text-align: left;
    font-weight: bold;
  }
}