@charset "utf-8";
/*モーダルを開くボタン*/
.modal {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99999;
}
.modal .inner{
	max-height: 80vh;
	padding: 85px 100px;
	  box-sizing: border-box;
	overflow-y: auto;
}
@media only screen and (max-width: 850px) {
  .modal .inner {
    padding: 40px 20px;
  }
}
.modal__bg {
  background: rgba(38, 38, 38, 0.9);
  height: 100vh;
  position: absolute;
  width: 100%;
}
.modal__content {
  background: #FFFEEB;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 854px;
  border-radius: 20px;
}
@media only screen and (max-width: 850px) {
  .modal__content {
  width: 90%;
}
}
.modal__content .close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -50px;
  right: -50px;
  width: 35px;
  height: 35px;
  cursor: pointer;
}
@media only screen and (max-width: 850px) {
  .modal__content .close {
    top: -60px;
    right: 0;
  }
}
.modal__content p {
  font-size: 16px;
  line-height: 1.6;
}
.modal__content p:last-child {
  margin-bottom: 0;
}
.modal__content .title p {
  color: #017103;
  font-size: 32px;
  line-height: 1.4;
  margin-bottom: 30px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 600;
}
.modal__profile {
  display: flex;
  padding: 0 60px 30px;
}
@media only screen and (max-width: 850px) {
  .modal__profile {
    display: block;
    margin-bottom: 30px;
    padding: 0;
  }
}
.modal__profile__img {
  margin-right: 20px;
}
@media only screen and (max-width: 850px) {
  .modal__profile__img {
    margin-right: 0;
    margin-bottom: 20px;
    text-align: center;
  }
}
.modal__profile__img img {
  width: 120px;
  height: 120px;
}
.modal__profile__text {
  font-size: 21px !important;
  font-weight: bold;
  line-height: 1.8 !important;
}
.modal__profile__text span {
  display: block;
  font-size: 16px;
}
.modal .links {
  margin-top: 10px;
  border-radius: 20px;
  margin-bottom: 2em;
}
.modal .links .stit {
  background-image: url(../images/ico_detail.png);
  background-size: calc(28px / 2) calc(22px / 2);
  background-repeat: no-repeat;
  background-position: left 0.3em;
  padding-left: 25px;
  margin-bottom: 1em;
}
.modal .links ul li {
  margin-bottom: 1em;
}
.modal .links ul li a {
  text-decoration: underline;
  display: block;
  color: #e05d1d;
}
.modal .links ul li a span {
  display: inline-block;
  background-image: url(../images/ico_outside.png);
  background-size: 100% 100%;
  margin-left: 10px;
  width: calc(24px / 2);
  height: calc(24px / 2);
}
@media only screen and (max-width: 850px) {
  .modal .links {
    border-radius: 20px;
    margin-bottom: 2em;
  }
  .modal .links .stit {
    background-image: url(../images/ico_detail.png);
    background-size: calc(28px / 2) calc(22px / 2);
    background-repeat: no-repeat;
    background-position: left 0.3em;
    padding-left: 25px;
    margin-bottom: 1em;
  }
  .modal .links ul li {
    margin-bottom: 1em;
  }
  .modal .links ul li a {
    text-decoration: underline;
    display: block;
    color: #e05d1d;
  }
  .modal .links ul li a span {
    display: inline-block;
    background-image: url(../images/ico_outside.png);
    background-size: 100% 100%;
    margin-left: 10px;
    width: calc(24px / 2);
    height: calc(24px / 2);
  }
}