@charset "UTF-8";
@import url("../css/styles.css");

/*外部ファイル*/
:root {
  --link_color: #37952F;
  --link_color2: #FF7A00;
  --link_color3: #EBF4EF;
  --link_color4: #fff;
}

html {
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch
}

/*サブタイトルレイアウト*/
.sub__pagetitle {
  position: relative;
  height: 400px;
  z-index: 0;
  background: url(../image/green.jpeg) no-repeat center top/cover;
  object-fit: cover;
}

.sub__pagetitle::before {
  content: "";
  background: url(../image/green.jpeg) no-repeat center top/cover;
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  width: 100%;
  height: 100%;
  filter: blur(3px);
  z-index: -1;
}

.sub__pagetitle h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  white-space: nowrap;
  font-size: 32px;
  color: #000;
}

.sub__pagetitle span {
  position: absolute;
  left: 50%;
  bottom: 30%;
  transform: translate(-50%, 50%);
  font-size: 25px;
  color: var(--link_color2);
}

/*パンくずリスト*/
.breadcrumb__menu {
  height: 33px;
  padding: 5px;
  width: 100%;
  background: var(--link_color);
  color: var(--link_color4);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: auto;
  width: 1200px;
  max-width: 100%;
}

.breadcrumb li:not(:last-of-type)::after {
  content: ">";
  margin: 0.6em;
  color: #fff;
}

/*プロフィール*/
.profile {
  max-width: 100%;
  padding-top: 40px;
}

.profile:not(.contents__title) {
  padding-top: 0;
}

.contents.color {
  background: var(--link_color4);
}

.profile__photo {
  width: min(100%, 500px);
  object-fit: cover;
  flex-shrink: 0;
  flex-basis: 60%
}

.profile__about {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: auto;
}

/*プロフィールテキスト*/

.profile__txt {
  flex-basis: 50%;
}

.profile__txt h2 {
  font-size: clamp(20px, 3.7vw, 32px);
  margin-bottom: -12px;
  margin-top: 5px;
  letter-spacing: 0.2em;
  text-align: left;

}

.profile__txt p {
  line-height: 1.8;
  text-align: left;
  letter-spacing: 0.1em;
}

.profile__txt span {
  display: inline-block;
  font-size: clamp(5px, 3vw, 14px);
  letter-spacing: 0.2em;
  box-sizing: border-box;
  color: var(--link_color);
  text-align: center;
}

.profile__txt h2::after:not(.profile__txt) {
  padding-top: 0;
}

/*院内案内*/

.contents:not(.contents)+.contents:not(.contents) {
  padding-top: 0;
}

.contents__info dl {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 20px 4%;
  margin: auto;
  width: 100%;
}

.contents__info dd {
  overflow: hidden;
}

/*院内画像*/
.contents__guidance-caption {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
  margin-top: 80px;
}

.guidance__thumb img {
  aspect-ratio: auto;
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: 0.3s;
}


.guidance__thumb img:hover {
  aspect-ratio: auto;
  object-fit: cover;
  height: 100%;
  transform: scale(1.1);
  overflow: hidden;
}

.guidance__thumb img {
  overflow: hidden;
}

.guidance__thumb {
  overflow: hidden;

}


/*サイトマップ*/
.map {
  position: relative;
  max-width: 100%;
  margin: auto;
  aspect-ratio: 16/9;
}

.map iframe {
  width: 100%;
  height: 100%;
  vertical-align: bottom;
}


@media screen and (min-width: 768px), print {
  .contents__info dt {
    clear: left;
    float: left;
    width: 22%;
  }

  .contents__info dd {
    margin-left: 16%;
  }

}

@media screen and (min-width: 992px), print {
  .contents__info dt {
    clear: left;
    float: left;
    width: 22%;
  }

  .contents__info dl {
    width: 920px;
  }

  .contents__info dd {
    margin-left: 16%;
  }
}

/*プロフィール*/
@media screen and (min-width: 768px), print {
  .profile__about {
    flex-direction: row;
    align-items: flex-start;
    gap: 45px;
  }

  .profile {
    max-width: 100%;
    padding-top: 80px;
  }
}

@media screen and (min-width: 992px), print {
  .profile__about {
    flex-direction: row;
    align-items: flex-start;
    gap: 45px;
  }

  .profile {
    padding-top: 80px;
  }
}