@charset "UTF-8";
html {
  font-size: 62.5%;
  color: #333333;
  background-color: #f9f5ef;
}

body {
  font-family: "Noto Sans JP", sans-serif;
}

img {
  width: 100%;
}

li {
  list-style: none;
}

a {
  display: block;
  text-decoration: none;
  color: #333333;
}

.section__header {
  padding: 40px 0;
  font-size: 1.8rem;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.section__header .en {
  font-size: 1.1rem;
}
.section__header a {
  font-size: 1.1rem;
}
@media screen and (max-width: 768px) {
  .section__header {
    padding: 40px 0 0 0;
  }
}

.section__header::before {
  position: absolute;
  content: "";
  width: 32px;
  height: 1px;
  background-color: #333333;
  top: 70px;
  left: 0;
}

.section__headline {
  font-size: 2.4rem;
  margin-left: 10px;
}

.header-border {
  background-color: #EC008C;
  height: 1px;
}

.section-border {
  background-image: linear-gradient(45deg, #EF849D, #758EC4 50%);
  height: 1px;
  margin-top: 80px;
}

.footer-border {
  background-image: linear-gradient(45deg, #EF849D, #758EC4 50%);
  height: 1px;
  margin-left: auto;
  width: 80%;
}
@media screen and (max-width: 1024px) {
  .footer-border {
    width: 68%;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: #f9f5ef;
  width: 100%;
  height: 150px;
  box-shadow: 0 0 8px 4px #525151;
}

.common-header {
  padding: 15px;
  box-sizing: border-box;
}
.common-header img {
  width: 20%;
}
.common-header .header-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.common-header .header-logo .header-logo-left {
  display: flex;
  align-items: center;
}
.common-header .header-logo .header-logo-left .header-logo-left:hover {
  background-position: 0 100%;
}
.common-header .header-logo .header-logo-left a:hover {
  background-position: 0 100%;
}
.common-header .header-logo .header-logo-left .abbreviation {
  font-size: 3.2rem;
  color: transparent;
  background: linear-gradient(to right, #EC008c 50%, #000 50%) 100%;
  -webkit-background-clip: text;
          background-clip: text;
  background-size: 200% 100%;
  transition: background-position 0.3s;
}
@media screen and (max-width: 768px) {
  .common-header .header-logo .header-logo-left .abbreviation {
    font-size: 2.4rem;
  }
}
.common-header .header-logo .header-logo-left .header-logo-text {
  font-size: 1.6rem;
  margin-left: 8px;
  color: transparent;
  background: linear-gradient(to right, #EC008c 50%, #000 50%) 100%;
  -webkit-background-clip: text;
          background-clip: text;
  background-size: 200% 100%;
  transition: background-position 0.3s;
}
@media screen and (max-width: 768px) {
  .common-header .header-logo .header-logo-left .header-logo-text {
    font-size: 1.2rem;
  }
}
.common-header .header-logo .header-logo-right {
  width: 200px;
  text-align: right;
}
.common-header .header-logo .header-logo-right img {
  width: 100%;
}
@media screen and (max-width: 768px) {
  .common-header .header-logo .header-logo-right img {
    width: 70%;
  }
}

.nav {
  display: flex;
  justify-content: flex-end;
  margin-right: 40px;
  padding: 8px;
  font-size: 1.6rem;
  align-items: center;
}
@media screen and (max-width: 1024px) {
  .nav {
    margin-right: 0;
  }
}

#header-nav {
  margin-right: 56px;
  z-index: 1020;
}
@media screen and (max-width: 1024px) {
  #header-nav {
    display: none;
  }
}

.header-menu-list {
  display: flex;
  align-items: center;
}
.header-menu-list .header-menu {
  margin-right: 24px;
  font-weight: 550;
}
.header-menu-list .header-menu a {
  display: inline-block;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(to right, #EC008c 50%, #000 50%) 100%;
  -webkit-background-clip: text;
          background-clip: text;
  background-size: 200% 100%;
  transition: 0.4s;
}
.header-menu-list .header-menu a:hover {
  background-position: 0 100%;
}

.pageheader {
  padding-top: 150px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.pageheader h2 {
  padding: 3% 4%;
  font-size: 3rem;
}

.hamburger {
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  position: relative;
  z-index: 1020;
}
.hamburger span {
  position: absolute;
  display: inline-block;
  transition: all 0.4s;
  left: 14px;
  height: 2px;
  border-radius: 5px;
  background: #333333;
  width: 45%;
}

.hamburger span:nth-of-type(1) {
  top: 13px;
}

.hamburger span:nth-of-type(2) {
  top: 19px;
}

.hamburger span:nth-of-type(3) {
  top: 25px;
}

.hamburger span:nth-of-type(3)::after {
  content: "Menu";
  position: absolute;
  top: 5px;
  left: -2px;
  color: #333333;
  font-size: 1rem;
  text-transform: uppercase;
}

.hamburger.active span:nth-of-type(1) {
  top: 14px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.hamburger.active span:nth-of-type(2) {
  opacity: 0;
}

.hamburger.active span:nth-of-type(3) {
  top: 26px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

.hamburger.active span:nth-of-type(3)::after {
  content: "Close";
  transform: translateY(0) rotate(-45deg);
  top: 5px;
  left: 4px;
}

#hamburger-nav {
  width: 60%;
  background-color: #fff;
  padding: 4% 0 4% 4%;
  position: absolute;
  top: 100%;
  left: 100%;
  opacity: 0;
  transition: 0.5s;
  z-index: 1010;
}
@media screen and (max-width: 768px) {
  #hamburger-nav {
    width: 100%;
  }
}

.open #hamburger-nav {
  left: 40%;
  opacity: 1;
}
@media screen and (max-width: 768px) {
  .open #hamburger-nav {
    left: 0;
  }
}

#mask {
  display: none;
  transition: 0.5s;
}

.open #mask {
  width: 100%;
  height: 100%;
  background-color: #000;
  cursor: pointer;
  display: block;
  opacity: 0.8;
  position: fixed;
  top: 150px;
  left: 0;
  z-index: 1000;
}

.hamburger-contents {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  box-sizing: border-box;
}
.hamburger-contents .hamburger-content-border {
  background-image: linear-gradient(45deg, #EF849D, #758EC4 50%);
  height: 1px;
  width: 40%;
  margin-top: 24px;
  margin-bottom: 24px;
}

.hamburger-content-title {
  display: flex;
  flex-direction: column;
  font-size: 1.8rem;
}
@media screen and (max-width: 768px) {
  .hamburger-content-title {
    font-size: 1.4rem;
  }
}
.hamburger-content-title .num {
  font-size: 6rem;
  color: #039EEC;
}
@media screen and (max-width: 768px) {
  .hamburger-content-title .num {
    font-size: 4rem;
  }
}

.hamburger-content-text {
  margin-left: 4%;
}
@media screen and (max-width: 768px) {
  .hamburger-content-text {
    font-size: 1rem;
  }
}

.wrapper {
  padding: 0 4%;
}

.container {
  max-width: 880px;
  padding: 0 4%;
  margin: 0 auto;
}

.mainvisual {
  position: relative;
  overflow: hidden;
}
.mainvisual img {
  -o-object-fit: cover;
  object-fit: cover;
}

.division {
  background-image: linear-gradient(90deg, rgba(192, 235, 168, 0.6), rgba(122, 199, 199, 0.6) 29%, rgba(208, 140, 198, 0.6) 76%, rgba(231, 173, 132, 0.6));
  -webkit-mask-image: radial-gradient(circle at center, black 75%, transparent 100%);
          mask-image: radial-gradient(circle at center, black 75%, transparent 100%);
  margin-top: 56px;
  padding-bottom: 120px;
  padding-top: 24px;
}
@media screen and (max-width: 500px) {
  .division {
    display: none;
  }
}

.division__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 54px;
  margin-top: 56px;
  padding: 0 4%;
}
.division__list .division__Internal__medicine {
  position: relative;
  height: 540px;
  border-radius: 16px;
  box-shadow: 0 0 8px 4px #9a9999;
}
.division__list .division_dr_img {
  height: 220px;
  border-radius: 16px 16px 0 0;
  -o-object-fit: cover;
     object-fit: cover;
  vertical-align: bottom;
}
.division__list .background-white {
  width: 100%;
  height: 320px;
  background-color: #fff;
  border-radius: 0 0 16px 16px;
}
.division__list .division__text {
  position: absolute;
  top: 35%;
  left: 20%;
  border-radius: 16px;
  background-color: #fff;
  width: 60%;
  text-align: center;
  margin-bottom: 16px;
}
.division__list .division__text img {
  width: 60px;
  margin-top: 20px;
}
.division__list .more-btn {
  display: inline-block;
  vertical-align: center;
  color: #333;
  line-height: 1;
  width: 2rem;
  height: 2rem;
  border: 0.1em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateX(-25%) rotate(45deg);
}
.division__list .division__title {
  margin-top: 20px;
}
.division__list .division__title .ja {
  font-size: 1.8rem;
}
.division__list .division__title .en {
  font-size: 1.1rem;
  opacity: 0.6;
}
.division__list .description {
  font-size: 1.2rem;
  margin-top: 10px;
  margin-bottom: 32px;
}

.importantNews {
  margin-top: 56px;
}
.importantNews .important {
  display: flex;
  box-shadow: 0 0 8px 4px #9a9999;
  border-radius: 16px;
}
@media screen and (max-width: 768px) {
  .importantNews .important {
    display: flex;
    flex-direction: column;
  }
}
.importantNews .important__notice {
  font-size: 1.8rem;
  width: 20%;
  color: white;
  background-color: #FF4F4B;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px 0 0 16px;
}
@media screen and (max-width: 768px) {
  .importantNews .important__notice {
    width: 100%;
    border-radius: 0;
  }
}
.importantNews .important__contents {
  font-size: 1.6rem;
  width: 80%;
  color: #FF4F4B;
  border: 3px solid #FF4F4B;
  padding: 20px;
  border-radius: 0 16px 16px 0;
}
@media screen and (max-width: 768px) {
  .importantNews .important__contents {
    width: 100%;
    border-radius: 0;
    padding: 10px;
    font-size: 1.2rem;
  }
}
.importantNews .important__content {
  display: flex;
  padding: 10px;
}
.importantNews .important__content dt {
  width: 25%;
}
@media screen and (max-width: 768px) {
  .importantNews .important__content dt {
    width: 40%;
  }
}
.importantNews .important__content dd {
  width: 75%;
}
@media screen and (max-width: 768px) {
  .importantNews .important__content dd {
    width: 60%;
  }
}

.news .news-contents {
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .news .news-contents {
    flex-direction: column;
  }
}
.news li {
  width: 30%;
}
@media screen and (max-width: 768px) {
  .news li {
    width: 100%;
    margin-top: 40px;
  }
}
.news h5 {
  display: flex;
  align-items: center;
}
.news h5 img {
  width: 50px;
}
.news .news__list {
  margin-top: 15px;
  border-top: 1px solid #333333;
  position: relative;
}
.news .news__list::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: 80%;
  height: 100%;
  background-color: #f7f5f2;
  z-index: -10;
}
.news .news__item {
  width: 100%;
  margin: 0 auto;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.news .news__item a {
  display: flex;
  padding: 15px;
}
.news .news__item a .date {
  width: 15%;
  text-align: center;
}
.news .news__item a .year {
  font-size: 1.1rem;
}
.news .news__item a .day {
  font-size: 1.6rem;
  border-top: 1px solid #333333;
  opacity: 0.7;
  padding-top: 5px;
}
.news .news__title {
  display: flex;
  align-items: center;
  margin-left: 4%;
  font-size: 1.6rem;
}

.popular-pages-contents {
  display: flex;
  justify-content: space-around;
}
@media screen and (max-width: 768px) {
  .popular-pages-contents {
    flex-direction: column;
    margin-top: 40px;
  }
}

.popular-pages-content {
  display: block;
  width: 20%;
  aspect-ratio: 1/1;
  border: 1px solid #333333;
  border-radius: 50%;
  background-color: #dfd7bb;
  z-index: 0;
  position: relative;
}
@media screen and (max-width: 768px) {
  .popular-pages-content {
    width: 40%;
    margin-top: 16px;
  }
}

.popular-pages-content:hover {
  background-color: #eeedbc;
  transition: all 0.5s;
}

.popular-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  text-align: center;
  width: 100%;
  height: 50%;
}
.popular-inner img {
  width: 50px;
}
.popular-inner .popular-inner-ja {
  font-size: 1.6rem;
}
.popular-inner .popular-inner-en {
  font-size: 1.3rem;
}

@media screen and (max-width: 768px) {
  .popular-first {
    margin-left: 8%;
  }
}

@media screen and (max-width: 768px) {
  .popular-second {
    margin-left: 50%;
  }
}

@media screen and (max-width: 768px) {
  .popular-third {
    margin-left: 8%;
  }
}

.table-of-contents {
  margin-top: 56px;
  padding-left: 2%;
  border-left: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 1.4rem;
}
.table-of-contents li {
  position: relative;
  padding-left: 3%;
  margin-top: 5px;
}
.table-of-contents li::before {
  position: absolute;
  content: "・";
  left: 0;
}
.table-of-contents a {
  text-decoration: underline;
}

.access-section {
  margin-top: 64px;
}

.access-infomation {
  margin-top: 56px;
  font-size: 1.4rem;
  font-weight: bold;
}

.access-infomation-contents {
  display: flex;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding: 24px 0 24px;
}
.access-infomation-contents dt {
  width: 20%;
}

.tel {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

h3 {
  font-size: 2.4rem;
  line-height: 2;
}

#section2 {
  font-size: 1.4rem;
}
#section2 .access-title {
  margin-top: 40px;
  display: flex;
  align-items: center;
  width: 100%;
}
#section2 .access-title p {
  margin-left: 16px;
}
#section2 .access-title img {
  margin-right: 10px;
  width: 40px;
}
@media screen and (max-width: 768px) {
  #section2 .access-title img {
    display: none;
  }
}
#section2 .access-title span {
  color: #758EC4;
  font-size: 1.7rem;
  display: block;
}
#section2 .access-title .postscript {
  display: flex;
}
#section2 .access-way, #section2 .public {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding: 25px 0 25px;
}
#section2 .public {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
#section2 .car-contents, #section2 .train-contents {
  display: flex;
  line-height: 1.2;
}
#section2 dt {
  width: 15%;
}
@media screen and (max-width: 768px) {
  #section2 dt {
    width: 30%;
  }
}
@media screen and (max-width: 500px) {
  #section2 dt {
    width: 40%;
  }
}
#section2 dd {
  width: 85%;
}
@media screen and (max-width: 768px) {
  #section2 dd {
    width: 70%;
    margin-left: 24px;
  }
}
@media screen and (max-width: 500px) {
  #section2 dd {
    width: 60%;
  }
}

.contact-wrapper {
  max-width: 1200px;
  padding: 4% 4% 0 4%;
  margin: 0 auto;
}

.contact-title {
  display: flex;
}
.contact-title img {
  width: 40px;
  margin-right: 16px;
}

.tel-section {
  padding: 56px 0 32px;
  line-height: 2;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.tel-section .phone {
  font-size: 3.2rem;
}
.tel-section .reception {
  font-size: 1.6rem;
}

.mail-section {
  padding: 56px 0 32px;
  line-height: 2;
}
.mail-section .mail-section-body {
  font-size: 1.6rem;
}
.mail-section .mail-intro {
  margin-top: 24px;
}
.mail-section .mail-intro .red {
  color: #D04D47;
}
@media screen and (max-width: 768px) {
  .mail-section .mail-intro .mail-intro-text {
    margin-top: 16px;
  }
}
.mail-section .contact-form {
  margin-top: 24px;
}
.mail-section .contact-form input, .mail-section .contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 4px 8px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 8px;
}
.mail-section .contact-form input ::-moz-placeholder, .mail-section .contact-form textarea ::-moz-placeholder {
  color: rgba(0, 0, 0, 0.1);
}
.mail-section .contact-form input ::placeholder, .mail-section .contact-form textarea ::placeholder {
  color: rgba(0, 0, 0, 0.1);
}
.mail-section .contact-form-item {
  margin-top: 32px;
}
.mail-section .required::before {
  content: "必須";
  color: #FFF;
  margin-right: 8px;
  font-size: 1.2rem;
  background-color: #FF4F4B;
  padding: 4px 8px;
  border-radius: 8px;
  font-weight: bold;
}
.mail-section .contact-any::before {
  content: "任意";
  color: #FFF;
  margin-right: 8px;
  font-size: 1.2rem;
  background-color: #3b6982;
  padding: 4px 8px;
  border-radius: 8px;
  font-weight: bold;
}
.mail-section .checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 8px 0;
}
.mail-section .checkbox-item {
  display: inline-flex;
}
.mail-section .checkbox-item input {
  width: 20px;
  margin-top: 0;
  margin-right: 8px;
}

.submit_button {
  display: block;
  margin: 0 auto;
  width: 120px;
  padding: 1rem 4rem;
  font-weight: bold;
  background-image: linear-gradient(to top, #D8D9DB 0%, #fff 80%, #FDFDFD 100%);
  border-radius: 100vh;
  color: #333;
  border: 1px solid #999;
  text-shadow: 0 1px #fff;
  box-shadow: 0 3px 2px 1px #fcfcfc, 0 4px 6px #cecfd1, 0 -2px 2px #cecfd1, 0 -4px 2px #eee, inset 0 0 2px 2px #cecfd1;
  transition: 0.5s;
}

.submit_button:hover {
  opacity: 0.5;
}

.photo {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.photo li {
  width: calc(25% - 16px);
  margin-bottom: 8px;
}
@media screen and (max-width: 500px) {
  .photo li {
    width: calc(25% - 8px);
  }
}
.photo li a {
  position: relative;
  display: block;
}
.photo li p {
  position: absolute;
  bottom: 0;
  display: table;
  width: 100%;
  height: 100%;
  color: #FFF;
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: left;
  opacity: 1;
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 50%);
  transition: all 0.2s cubic-bezier(0.21, 0.42, 0.5, 1.16);
}
@media screen and (max-width: 1024px) {
  .photo li p {
    font-size: 0.7rem;
    line-height: 1;
  }
}
.photo li span {
  position: relative;
  display: table-cell;
  width: 100%;
  height: auto;
  padding: 40px 10px 10px;
  font-weight: bold;
  vertical-align: bottom;
  box-sizing: border-box;
}
.photo li figure {
  height: auto;
}
.photo li img {
  display: block;
  border-radius: 4px;
}

.map {
  position: relative;
  overflow: hidden;
  background-color: #fff;
  margin-top: 40px;
  margin-bottom: 40px;
}
.map .zoom-buttons {
  position: absolute;
  top: 24px;
  left: 12px;
  display: inline-flex;
  background: #333;
  padding: 12px 20px;
  border-radius: 20px;
  gap: 25px;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .map .zoom-buttons {
    padding: 6px 10px;
  }
}
.map .zoom-btn {
  background: none;
  border: none;
  font-size: 3.2rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
@media screen and (max-width: 768px) {
  .map .zoom-btn {
    font-size: 2.4rem;
  }
}
.map .zoom-btn:hover {
  opacity: 0.7;
}

.modaal-overlay {
  z-index: 1050;
}

.modaal-close:after,
.modaal-close:before {
  background: #ccc;
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before {
  background: #666;
}

.internal-medicine-logo {
  position: absolute;
  top: 50%;
  right: 15%;
  color: #FFF;
  font-size: 7.5rem;
}

.division-visual {
  width: 100%;
  position: relative;
  padding-top: 150px;
}
.division-visual .orthopedic-surgery-logo {
  position: absolute;
  top: 50%;
  right: 15%;
  color: #FFF;
  font-size: 5rem;
}
.division-visual img {
  height: calc(100vh - 145px);
  -o-object-fit: cover;
  object-fit: cover;
}

.division-intro {
  text-align: left;
}
.division-intro h2 {
  font-size: 2.4rem;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 40px;
}
.division-intro p {
  font-size: 1.8rem;
}

.division-contents {
  margin-top: 56px;
  margin-bottom: 56px;
}

.division-content-top {
  display: flex;
  justify-content: space-between;
  gap: 5%;
  font-size: 1.8rem;
}
.division-content-top .attention-text {
  width: 50%;
  line-height: 1.8;
}
.division-content-top h3 {
  font-weight: bold;
  font-size: 2.4rem;
}

.doctor-intro {
  display: flex;
  width: 50%;
}
.doctor-intro .doctor-text {
  width: 66%;
}
.doctor-intro .doctor-text .specialty {
  margin-top: 32px;
}
.doctor-intro .doctor-text .career {
  margin-top: 16px;
  margin-bottom: 16px;
}
.doctor-intro .doctor-text span {
  font-weight: bold;
}
.doctor-intro .doctor-img {
  width: 30%;
  margin-left: 4%;
}

.division-content-bottom {
  display: flex;
  justify-content: space-between;
  gap: 5%;
  margin-top: 56px;
  margin-bottom: 56px;
  font-size: 1.8rem;
}
.division-content-bottom .osteoporosis, .division-content-bottom .diabetes, .division-content-bottom .atopic-dermatitis {
  width: 50%;
}
.division-content-bottom h4 {
  margin-bottom: 40px;
}
.division-content-bottom .abovetext {
  margin-bottom: 24px;
}
.division-content-bottom .osteoporosis-ratio, .division-content-bottom .diabetes-img, .division-content-bottom .atopic-dermatitis-img {
  width: 50%;
  display: flex;
  align-items: center;
  position: relative;
}
.division-content-bottom .osteoporosis-ratio-text1 {
  position: absolute;
  top: 22%;
  left: 6%;
  color: #1985B3;
}
.division-content-bottom .osteoporosis-ratio-text2 {
  position: absolute;
  top: 25%;
  right: 9%;
  font-size: 2.5rem;
  color: white;
  font-weight: bold;
  letter-spacing: 0.5em;
}
.division-content-bottom .osteoporosis-ratio-text3 {
  position: absolute;
  top: 60%;
  left: 6%;
  color: #D04D47;
}
.division-content-bottom .osteoporosis-ratio-text4 {
  position: absolute;
  top: 63%;
  right: 20%;
  font-size: 2.5rem;
  color: white;
  font-weight: bold;
  letter-spacing: 0.5em;
}

.outpatient-mainvisual {
  padding-top: 150px;
}
.outpatient-mainvisual img {
  -o-object-fit: cover;
  object-fit: cover;
}

.schedule-wrapper {
  padding: 0 4%;
  margin-top: 40px;
}

.schedule-title {
  display: flex;
}
.schedule-title img {
  width: 32px;
}
.schedule-title p {
  margin-left: 16px;
  font-size: 2rem;
}

.schedule-notice {
  margin-top: 16px;
  font-size: 1.5rem;
}
@media screen and (max-width: 1024px) {
  .schedule-notice {
    display: none;
  }
}

.general-outpatient, .special-outpatient {
  text-align: center;
  margin-top: 64px;
}

.general-outpatient-title {
  font-weight: bold;
  font-size: 2rem;
}

.time-table {
  margin-top: 24px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.time-table th {
  height: 40px;
  font-weight: bold;
  background-color: rgb(242, 242, 242);
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-collapse: separate;
}
.time-table th :first-child {
  border-left: 1px solid #ddd;
}
.time-table td {
  width: 10%;
  height: 40px;
  padding: 3px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-collapse: separate;
  box-sizing: border-box;
}

.doctor {
  display: inline-block;
  position: relative;
}

.doctor-name {
  cursor: pointer;
  display: inline-block;
  border-bottom: 1px solid currentColor;
  margin: 8px 5px;
}

.doctor-popup {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 400px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 20;
}
@media screen and (max-width: 1024px) {
  .doctor-popup {
    display: none;
  }
}

.doctor:hover .doctor-popup {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
@media screen and (max-width: 1024px) {
  .doctor:hover .doctor-popup {
    display: none;
  }
}

.popup-inner {
  display: flex;
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}
.popup-inner img {
  width: 40%;
}

.popup-inner-text {
  text-align: left;
  margin-left: 24px;
}
.popup-inner-text h3 {
  font-size: 1.6rem;
}
.popup-inner-text h3 span {
  margin-left: 8px;
}
.popup-inner-text p {
  margin-top: 16px;
  line-height: 2;
}

.doctor-popup::after {
  position: absolute;
  content: "";
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}
@media screen and (max-width: 1024px) {
  .doctor-popup::after {
    display: none;
  }
}

.saturday {
  position: absolute;
  bottom: 120%;
  left: -200%;
  transform: translateX(-50%) translateY(10px);
  width: 400px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 20;
}
@media screen and (max-width: 1024px) {
  .saturday {
    display: none;
  }
}

.saturday::after {
  position: absolute;
  content: "";
  top: 100%;
  left: 82%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}
@media screen and (max-width: 1024px) {
  .saturday::after {
    display: none;
  }
}

.doctor:hover .saturday {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
@media screen and (max-width: 1024px) {
  .doctor:hover .saturday {
    display: none;
  }
}

.questionnaire-wrapper {
  max-width: 1000px;
  padding: 0 4%;
  margin: 0 auto;
}

.questionnaire-contents {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


@media screen and (max-width: 1024px) {
  .questionnaire-contents {
    flex-direction: column;
  }
}

.questionnaire-content {
  display: flex;
  margin-right: 4%;
}

.questionnaire-content p{
  display: flex;
  align-items: center;
}

.questionnaire-content br{
  display: none;
}

@media screen and (max-width: 1024px) {
  .questionnaire-content {
    margin: 0 4% 16px auto;
    flex-direction: column;
  }
}

.lang-label {
  margin-right: 8px;
  color: #918b86;
}

#lang {
  padding: 4px 64px 4px 8px;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  font-size: 1.6rem;
  background-color: #fff;
}

.font-size {
  font-size: 1.8rem;
  margin-right: 40px;
}
.font-size button {
  background-color: #fff;
  color: #2199e8;
  padding: 8px;
  border: 1px solid #2199e8;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}
.font-size button:hover {
  background-color: #2199e8;
  color: #fff;
}

.langbar {
  display: flex;
}
@media screen and (max-width: 1024px) {
  .langbar {
    margin-top: 8px;
  }
}
.langbar .lang-label {
  font-size: 1.6rem;
}

fieldset {
  border: none;
}

fieldset br{
  display: none;
}


.form {
  --line:#e5e7eb;
  --blue:#2563eb;
  --muted:#6b7280;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 24px 0;
}

legend {
  font-weight: 700;
  margin: 0 0 8px;
}

.req {
  background: #d24437;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  padding: 2px 8px;
  margin-left: 6px;
}

.any {
  background: #60a5fa;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  padding: 2px 8px;
  margin-left: 6px;
}

label {
  display: grid;
  gap: 6px;
  margin: 10px 0;
}

input, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

input::-moz-placeholder {
  color: #9ca3af;
}

input::placeholder {
  color: #9ca3af;
}

input:focus, select:focus {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

select {
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
          appearance: menulist;
}

.grid2 p{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}


.grid3 p{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

@media (max-width: 640px) {
  .grid2, .grid3 {
    grid-template-columns: 1fr;
  }
}
.pill {
  display: inline-flex;
  align-items: center;
  background-color: #fff;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin: 6px 8px 6px 0;
  cursor: pointer;
}

.pill input {
  inline-size: 16px;
  block-size: 16px;
}

.pill:has(input:checked) {
  background: #fff;
  border-color: rgb(61, 133, 228);
}

.checkgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 28px;
  margin-top: 8px;
}



@media (max-width: 800px) {
  .checkgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .checkgrid {
    grid-template-columns: 1fr;
  }
}
.cbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.cbox .wpcf7-list-item.first.last{
  display: flex;
}


.cbox input[type=checkbox] {
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  inline-size: 22px;
  block-size: 22px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fff;
  display: grid;
  place-content: center;
  transition: border-color 0.15s, background-color 0.15s;
}

.cbox input[type=checkbox]:checked {
  border-color: var(--blue);
  background-color: var(--blue);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10.5l3 3 7-8' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

textarea {
  width: 100%;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  resize: vertical;
  min-height: 72px;
  background-color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 送信ボタン */
.actions {
  margin-top: 20px;
  text-align: center;
}

.btn {
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  background: rgb(79, 79, 246);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* JSなしで「はい」以外なら診察券番号を非表示（:has対応ブラウザ） */
fieldset:has([name=has_card][value=yes]:checked) ~ .hidden fieldset:has([name=has_card][value=no]:checked) .cardno,
fieldset:has([name=has_card][value=unknown]:checked) .cardno {
  display: none;
}

.update-wrapper {
  max-width: 1200px;
  padding: 4% 4% 0 4%;
  margin: 0 auto;
}

.list-header {
  margin-top: 40px;
  margin-bottom: 24px;
}
.list-header h3 {
  position: relative;
  font-size: 1.6rem;
  border-bottom: 1px solid rgb(217, 217, 217);
}

.important {
  color: #ff3364;
}
@media screen and (max-width: 1024px) {
  .important h3 {
    margin-left: 24px;
  }
}
.important h3::before {
  position: absolute;
  content: "";
  left: -1.3em;
  top: 0.5em;
  width: 1em;
  height: 1em;
  border: 0.25em solid #ff3364;
  border-radius: 50%;
  box-sizing: border-box;
}

.closed {
  color: #3261c6;
}
@media screen and (max-width: 1024px) {
  .closed h3 {
    margin-left: 24px;
  }
}
.closed h3::before {
  position: absolute;
  content: "";
  left: -1.3em;
  top: 0.5em;
  width: 1em;
  height: 1em;
  border: 0.25em solid #3261c6;
  border-radius: 50%;
  box-sizing: border-box;
}

.hospital {
  color: rgb(72, 180, 72);
}
@media screen and (max-width: 1024px) {
  .hospital h3 {
    margin-left: 24px;
  }
}
.hospital h3::before {
  position: absolute;
  content: "";
  left: -1.3em;
  top: 0.5em;
  width: 1em;
  height: 1em;
  border: 0.25em solid rgb(72, 180, 72);
  border-radius: 50%;
  box-sizing: border-box;
}

.news-list {
  font-size: 1.4rem;
}
.news-list li {
  display: flex;
  padding: 16px 0;
  border-bottom: 1px solid rgb(217, 217, 217);
}
.news-list li dt {
  width: 10%;
}
@media screen and (max-width: 1024px) {
  .news-list li dt {
    width: 30%;
  }
}
.news-list li dd {
  width: 90%;
}
@media screen and (max-width: 1024px) {
  .news-list li dd {
    width: 70%;
  }
}

footer {
  margin-top: 80px;
  margin-bottom: 64px;
}
footer .footer-line {
  display: flex;
  align-items: center;
  font-size: 2rem;
}
@media screen and (max-width: 500px) {
  footer .footer-line {
    font-size: 1.4rem;
  }
}
footer .footer-contents {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  footer .footer-contents {
    flex-direction: column;
  }
}
footer img {
  width: 15%;
  height: 60px;
}
@media screen and (max-width: 768px) {
  footer img {
    width: 35%;
  }
}
@media screen and (max-width: 500px) {
  footer img {
    width: 40%;
  }
}
footer .footer-menu {
  display: grid;
  grid-template-columns: 30% 1fr;
  font-size: 1.3rem;
  width: 35%;
}
@media screen and (max-width: 768px) {
  footer .footer-menu {
    width: 100%;
    grid-template-columns: 25% 1fr;
    margin-top: 24px;
  }
}
@media screen and (max-width: 500px) {
  footer .footer-menu {
    grid-template-columns: 35% 1fr;
  }
}
footer .footer-menu dt {
  margin-bottom: 15px;
}
footer .footer-menu dd {
  margin-bottom: 15px;
  padding-left: 20px;
  border-left: 1px solid rgba(0, 0, 0, 0.2);
}
footer .to-top {
  display: block;
  width: 50px;
  height: 50px;
  border: 1px solid #333333;
  border-radius: 50%;
  position: relative;
}
@media screen and (max-width: 768px) {
  footer .to-top {
    margin-left: auto;
  }
}
footer .to-top::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  content: "";
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #333333;
}/*# sourceMappingURL=style.css.map */