@charset "utf-8";

/*
** Description: 柏木クリニック｜医療法人社団ぶなの森
** Parts - CSS
** ================================================== */

/* 2Column
======================================== */
.text-columns {
  columns: 2 16em;
  column-gap: var(--size-l);
}

.col2 {
  display: grid;
  gap: var(--size-ll);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: flex-start;
}


/* Button
======================================== */
.btn {
  padding: var(--size-ss) var(--size-m);
  max-width: 16em;
  background-color: var(--color_green);
  color: var(--color_white);
  border-radius: 4px;
  text-align: justify;
  text-align-last: justify;
}


/* ContactInfo
======================================== */
.contactInfo {
  display: grid;
  gap: var(--size-s);
  justify-content: center;
  list-style: none;
  padding: 0;
}

.contactInfo a {
  color: var(--color_white);
}



/* GoogleMap
======================================== */
.googleMap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 8px;
}

.googleMap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* PageTop
======================================== */
#pageTop {
  position: sticky;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  transform: translateY(100px);
  transition: 1.0s;
  opacity: 0;
  z-index: 1000;
  left: calc(100vw - 15px);
  max-width: 11em;
}

#pageTop * {
  color: var(--color_white);
}

#pageTop.show {
  transform: translateY(-20px);
  opacity: 0.95;
}

#pageTop .pageTop-info {
  background-color: var(--color_green);
  border-radius: 8px 0 0 8px;
  display: flex;
  align-items: center;
  padding: var(--size-s) var(--size-ss);
}

#pageTop .pageTop-info a {
  padding: var(--size-s);
  display: grid;
  text-align: center;
  line-height: 1.4;
}

#pageTop .pageTop-info p:first-child {
  border-right: 1px solid #fff;
  padding-right: var(--size-ss);
  margin: 0 var(--size-ss) 0 0;
}

#pageTop .pageTop-info a::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: var(--size-m);
}

#pageTop .pageTop-info .arrow a::before {
  content: "\f139";
}

#pageTop .pageTop-info .home a::before {
  content: "\f015";
}



/* Pickup
======================================== */
#pickup {
  border-top: 6px solid var(--color_green);
  border-bottom: 6px solid var(--color_green);
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  padding: 1.4em;
  background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.4));
  background-color: rgba(255, 255, 200, 0.8);
  text-shadow: none;
}

#pickup .symptoms {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color_green);
  padding: var(--size-s);
  border: 4px solid var(--color_orange);
  border-radius: var(--size-s);
}


/* ScheduleList 
======================================== */
.scheduleList {
  list-style: none;
  padding: 0;
}


/* Doctor
======================================== */
.doctorList {
  display: grid;
  gap: var(--size-l);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

#doctor .position {
  margin: 0;
  font-size: var(--size-s);
  line-height: 1.2;
}

#doctor .name ruby {
  display: inline-flex;
  align-items: center;
}

#doctor .name rt {
  display: inline;
  margin-left: var(--size-s);
  font-size: var(--size-m);
}


/* NewsArticle
======================================== */
#newsArticle {
  max-width: 700px;
  margin-inline: auto;
  padding: var(--size-l);
  border-radius: var(--size-s);
  box-shadow: 0 0 var(--size-s) rgb(0 0 0 /0.1);
}
#newsArticle h2 {
  line-height: 1.2;
  padding-bottom: 0.4em;
}
#newsArticle .signature {
  padding-top: var(--size-ll);
  text-align: right;
}


/* Notice
======================================== */
.noticeList {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--size-l);
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.noticeList dl dd {
  line-height: 1.4;
  margin-top: var(--size-ss);
}


/* Facility
======================================== */
.facilityList {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--size-l);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.facilityList dl dd {
  line-height: 1.4;
  margin-top: var(--size-ss);
}
