@charset "utf-8";
:root {
  --main-primary-50: #FF7171;
}
.photo-box-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

.photo-box-list > li {
  border-radius: 1rem;
  width: calc(33.3% - 2rem / 3);
  overflow: hidden;
}

#con-tit #shareSns .shareSns-list {
  z-index: 99;
}

#detail_con .table-wrap+.des-sec {
  padding-left: 0;
  margin-top: 1rem;
}

#detail_con .table-wrap+.des-sec:not(p) {
  gap: 1rem;
}

.info-list li.point-blet::before,
.point-blet::before {
  background: url(../img/sub/point-ic.svg) no-repeat center / 1.8rem;
}

#detail_con .section h3 {
  gap: 0.8rem;
  align-items: flex-start;
  color: #1A2E7E;
  background: url(../img/sub/ico_main_sec_h3.svg) no-repeat left 0.5rem / 2.6rem;
}

#detail_con .section h4 {
  background: url(../img/sub/ico_main_sec_h4.svg) no-repeat left 0.5rem / 1.6rem;
}

.info-list.decimal > li:before {
  background-color: #5D6267;
}

.greeting .tit-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: var(--one-typo-font-type);
  font-size: 2.4rem;
}

.greeting .tit-box span {
  color: #EA2379;
}

.greeting .con-box {
  background: url(../img/sub/greeting.svg) no-repeat right bottom / 35.8rem;
}

.greeting .con-box p {
  margin-top: 3rem;
  font-size: 1.6rem;
}

.greeting .con-box p:not(.con-tit) {
  padding-right: 40.1rem;
}

.greeting .con-box .con-tit {
  font-size: 1.8rem;
  font-weight: 600;
}

.greeting .con-box .name {
  font-size: 1.8rem;
  font-weight: 600;
  text-decoration: underline;
}

.history {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 3.4rem;
}

.history>dl {
  display: flex;
  padding: 3rem !important;
  gap: 4rem;
  border-radius: 1rem;
  border: 1px solid #D7D7D7;
}

.history dt {
  flex: 0 0 auto;
  color: #EA2379;
  font-size: 2.4rem;
  font-weight: 800;
}

.history dd>ul {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 0.7rem;
}

.history dd>ul>li {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  font-size: 1.6rem;
}

.history dd>ul>li .date {
  flex: 0 0 auto;
  color: #522492;
  font-size: 1.6rem;
  font-weight: 600;
}


/*organ*/
.organ ol {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.organ ol li.rank1 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 6rem;
  width: 24rem;
  height: 5.1rem;
  color: #fff;
  font-size: 1.8rem;
  border-radius: 0.8rem;
  background: #FF5D78;
}

.organ ol li.rank1::after {
  content: '';
  position: absolute;
  left: -0.7rem;
  top: -0.7rem;
  width: calc(100% + 1.4rem);
  height: calc(100% + 1.4rem);
  border-radius: 0.8rem;
  background: rgba(255, 93, 120, 0.13);
}

.organ ol li.rank1::before {
  display: block;
  content: '';
  position: absolute;
  bottom: -6rem;
  left: 50%;
  width: 0.1rem;
  height: 8rem;
  background: #B1B8BE;
  z-index: -1;
}

.organ ol li.rank2 {
  position: relative;
  max-width: 84rem;
  width: 100%;
}

.organ ol li.rank2 ul {
  display: flex;
  gap: 1.6rem;
  margin-top: 3.3rem;
}

.organ ol li.rank2 ul::before {
  display: block;
  content: '';
  position: absolute;
  top: 0rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: calc(100% - 26.8rem);
  height: 0.1rem;
  background: #B1B8BE;
}

.organ ol li.rank2 ul li {
  flex: 1 1 33.3%;
  position: relative;
  text-align: center;
  padding: 1.2rem 2rem;
  font-size: 1.8rem;
  border-radius: 1rem;
  background: #EBE0FF;
}

.organ ol li.rank2 ul li::before {
  display: block;
  content: '';
  position: absolute;
  top: -3.3rem;
  left: 50%;
  width: 1px;
  height: 3.3rem;
  background: #B1B8BE;
  z-index: -1;
}

.organ ol li.rank2 ul li.list02 {
  background: #D0E9FF;
}

.organ ol li.rank2 ul li.list03 {
  background: #CEF2E5;
}

.organ_btn {
  display: inline-block;
  margin: 0 0 1rem 1rem;
  padding: 0.5rem 1rem;
  color: #fff;
  font-size: 1.4rem;
  border: 1px solid #e54545;
  border-radius: 5px;
  background: var(--main-primary-50);
}

.org-cap {
  display: flex;
  justify-content: flex-end;
  gap: 3.1rem;
}

.org-cap p {
  margin-top: 0 !important;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.03rem;
}

.org-cap p span {
  color: var(--main-primary-50);
  font-weight: 700;
}

/*location*/
.location {
  --bg: url(../img/sub/location.svg) no-repeat 0 0 / 20rem;
}

.location .info {
  display: flex;
  align-items: center;
  margin-top: 2rem;
}

.location .info dt {
  position: relative;
  margin-right: 2.5rem;
  padding-left: 2.5rem;
  color: var(--main-primary-50);
  font-size: 1.6rem;
  font-weight: 700;
}

.location .info dt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2rem;
  height: 2rem;
  background: var(--bg);
}

.location .tel dt::before {
  background-position: -4rem 0;
}

.location .fax dt::before {
  background-position: -2rem 0;
}

.location .info dd {
  font-size: 1.6rem;
}

.location .info .map_btn {
  margin-left: 2rem;
}

.location .info dd.map_btn a {
  gap: 1rem;
  color: #fff;
  background: var(--main-primary-50);
  border: none;
}

.location .info dd.map_btn i {
  background-color: #fff;
}

.traffic dl {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 16rem;
  padding: 3rem 3rem 3rem 16rem;
  background: #F9F9F9;
  border-radius: 5px;
}

.traffic dl::before {
  content: '';
  position: absolute;
  top: 3rem;
  left: 3rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: #fff var(--bg);
}

.traffic dl.bus::before {
  background-position: 0 -2rem;
}

.traffic dl.subway::before {
  background-position: -10rem -2rem;
}

.traffic dl.bus {
  margin-bottom: 2rem;
}

.traffic dl dt {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.traffic dd ul li span {
  font-weight: 500;
}

.traffic dl ul.bl03 {
  margin-left: 0;
  word-break: keep-all;
}

.location .img-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 1rem;
  border: 1px solid #D7D7D7;
}

.facility_tit {
  padding: 1.6rem 0;
  font-size: 2.4rem;
  font-weight: 700;
}

.facility_tit.jp {
  border-bottom:3px solid var(--jp);
  color: var(--jp);
}
.facility_tit.sh {
  border-bottom:3px solid var(--sh);
  color: var(--sh);
}

@media (max-width: 767px) {
  .photo-box-list > li {
    width: 100% !important;
  }

  .greeting .con-box {
    background: none;
  }
  
  .greeting .con-box p {
    padding-right: 0 !important;
  }

  .history>dl {
    flex-direction: column;
    gap: 2rem;
  }

  .organ ol li.rank2 ul::before {
    display: none;
  }

  .organ ol li.rank2 ul {
    align-items: center;
    flex-direction: column;
    margin-top: 0;
  }

  .organ ol li.rank2 ul li {
    width: 24rem;
  }
  
  .location .info {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .location .info .map_btn {
    margin-left: 0;
  }

  .location dd {
    margin: 0.5rem 0;
  }

  .traffic dl {
    padding-top: 16rem;
    padding-left: 3rem;
    height: auto;
  }
  
  .traffic dl::before {
    top: 3rem;
    right: 0;
    margin: 0 auto;
  }
}