@charset "UTF-8";
/* ------------------------------------
// #message_container
------------------------------------ */
#message_container {
  max-width: 1200px;
  margin: 0 auto 5rem;
  display: grid;
  grid-template-columns: 40% calc(60% - 5vw);
  grid-template-rows: auto 1fr;
  gap: 2rem 5vw;
}
#message_container .motto {
  align-self: self-start;
  width: 80%;
  margin: 0 auto 0;
  position: relative;
}
#message_container .motto:before {
  content: "";
  width: 100%;
  aspect-ratio: 674/11;
  position: absolute;
  background: url(/lib/img/greeting/img_01.webp) no-repeat center/contain;
  top: 0.75em;
}
#message_container .motto dt {
  color: #FFF;
  background: #3E699E;
  text-align: center;
  position: relative;
  margin: 0 4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.5rem 0;
}
#message_container .motto dt:before, #message_container .motto dt:after {
  content: "";
  width: 3em;
  height: 100%;
  background: #3E699E;
  position: absolute;
  z-index: -1;
}
#message_container .motto dt:before {
  top: 0.5rem;
  right: calc(100% - 2rem);
  clip-path: polygon(100% 0%, 100% 50%, 100% 100%, 25% 100%, 50% 50%, 25% 0%);
}
#message_container .motto dt:after {
  bottom: 0.5rem;
  left: calc(100% - 2rem);
  clip-path: polygon(100% 0%, 76% 50%, 100% 100%, 0 100%, 0 50%, 0 0);
}
#message_container .motto dd {
  text-align: center;
  padding: 2rem 0;
  position: relative;
}
#message_container .motto dd:after {
  content: "";
  width: 100%;
  aspect-ratio: 674/11;
  background: url(/lib/img/greeting/img_01.webp) no-repeat center/contain;
  display: block;
  position: absolute;
  bottom: 0;
}
#message_container .message {
  grid-row: 1/3;
  grid-column: 2/3;
}
#message_container .message p + p {
  margin-top: 2em;
}
#message_container .message .docter {
  font-size: 2rem;
  margin-top: 2em;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1em;
}
#message_container .message .docter .kana {
  font-size: 1.6rem;
}
@media screen and (max-width: 1024px) {
  #message_container {
    grid-template-columns: 30% calc(70% - 5vw);
  }
  #message_container .motto {
    width: 100%;
  }
  #message_container .motto:before {
    top: 1.75em;
  }
  #message_container .motto dt {
    margin: 0 2rem;
  }
  #message_container .motto dt:before, #message_container .motto dt:after {
    content: "";
    width: 2em;
    height: 100%;
    background: #3E699E;
    position: absolute;
    z-index: -1;
  }
  #message_container .motto dt::before {
    right: calc(100% - 1rem);
  }
}
@media screen and (max-width: 768px) {
  #message_container {
    grid-template-columns: 1fr;
  }
  #message_container .photo {
    order: 1;
  }
  #message_container .motto {
    order: 3;
    width: 80%;
  }
  #message_container .motto:before {
    top: 0.75em;
  }
  #message_container .message {
    order: 2;
    grid-column: 1/2;
  }
}

/* ------------------------------------
// #profile
------------------------------------ */
#profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
#profile .item {
  background: #F6F9FA;
  padding: 3rem 2rem;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  text-align: center;
  gap: 1rem 0;
}
#profile .item hgroup {
  display: contents;
}
#profile .item hgroup h2 {
  color: #3E699E;
  font-weight: 500;
}
#profile .item hgroup .en {
  align-self: center;
  font-family: "Figtree", sans-serif;
  letter-spacing: 0.3em;
  padding-left: -0.3em;
  font-size: clamp(2rem, 2.8vw, 2.8vw);
  font-weight: 300;
  text-transform: uppercase;
  color: #00A187;
  line-height: 1.2;
}
#profile .item .container {
  padding-top: 2rem;
  padding: 2rem 1rem;
  text-align: left;
}
#profile .item .container dl {
  display: grid;
  margin-top: 1rem;
  grid-template-columns: max-content 1fr;
  gap: 1rem 1rem;
}
#profile .item .container ul li {
  text-indent: -1em;
  padding-left: 1em;
}
#profile .item .container ul li + li {
  margin-top: 1rem;
}
#profile .item .container ul li::before {
  content: "・";
}
@media screen and (max-width: 768px) {
  #profile {
    grid-template-columns: 1fr;
  }
}