@charset "UTF-8";
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
button,
input,
label {
  line-height: 1.1;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentcolor;
}

/* Make images easier to work with */
img,
picture {
  display: block;
  max-width: 100%;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  word-break: break-all;
}

html:not(.is-contact) {
  scroll-behavior: smooth;
}

@media screen and (min-width: 1101px) {
  :root {
    scroll-padding-top: 105px;
  }
}
@media screen and (max-width: 1100px) {
  :root {
    scroll-padding-top: 50px;
  }
}

body {
  width: 100%;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  font-family: "Noto Sans JP", "Yu Gothic", "游ゴシック体", "Yu Gothic Medium", "游ゴシック Medium", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  font-weight: 400;
}
@media screen and (min-width: 769px) {
  body {
    font-size: 20px;
  }
}

body.home {
  background-image: url("../../images/openaccess/bg.webp");
  background-repeat: repeat-y;
}

h1 {
  font-size: 30px;
  font-weight: 500;
}
@media screen and (min-width: 769px) {
  h1 {
    font-size: 40px;
  }
}

h2 {
  font-size: 28px;
  font-weight: 500;
}
@media screen and (min-width: 769px) {
  h2 {
    font-size: 30px;
  }
}

h3 {
  font-size: 20px;
  font-weight: 500;
}
@media screen and (min-width: 769px) {
  h3 {
    font-size: 30px;
  }
}

h4 {
  font-size: 18px;
  font-weight: 500;
}
@media screen and (min-width: 769px) {
  h4 {
    font-size: 20px;
  }
}

h5 {
  font-size: 16px;
  font-weight: 500;
}
@media screen and (min-width: 769px) {
  h5 {
    font-size: 18px;
  }
}

a {
  color: #4477b0;
  text-decoration: none;
}
a:hover {
  color: #4477b0;
  opacity: 0.7;
  text-decoration: underline;
}

img {
  height: auto;
  max-width: 100%;
}

ul {
  padding-left: 1.5em;
}
ul.is-no-style {
  list-style: none;
  padding-left: 0;
}

.l-footer {
  padding: calc(60px + 20 * (100vw - 375px) / 1545) 20px calc(20px + 20 * (100vw - 375px) / 1545);
}

.l-header {
  position: relative;
}

.l-main {
  margin-top: 60px;
}

.l-wrapper {
  background-image: url("../../images/openaccess/bg_total.png");
  background-repeat: repeat-y;
}
@media screen and (max-width: 768px) {
  .l-wrapper {
    background-size: cover;
  }
}
@media screen and (min-width: 1921px) {
  .l-wrapper {
  background-size: cover; 
  background-position: center;
  background-repeat: no-repeat;
  }
}

.c-auth-button {
  display: inline-flex;
  width: calc(76px + 43 * (100vw - 375px) / 1545);
  height: calc(76px + 43 * (100vw - 375px) / 1545);
  border-radius: 50%;
  text-align: center;
  color: #fff;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}
.c-auth-button:hover {
  color: #fff;
  opacity: 0.8;
  text-decoration: none;
}
.c-auth-button--login {
  background-color: #f8b500;
}
.c-auth-button__icon {
  width: calc(37px + 15 * (100vw - 375px) / 1545);
}
.c-auth-button__text {
  font-size: calc(14px + 6 * (100vw - 375px) / 1545);
  font-weight: bold;
}

.c-block {
  padding-left: 20px;
  padding-right: 20px;
}
.c-block__inner {
  width: min(1200px, 100%);
  margin: 0 auto;
}
.c-block__inner--8 {
  width: min(800px, 100%);
  margin: 0 auto;
}
.c-block__inner--9 {
  width: min(900px, 100%);
  margin: 0 auto;
}
.c-block__inner--10 {
  width: min(1000px, 100%);
  margin: 0 auto;
}
.c-block__inner--11 {
  width: min(1100px, 100%);
  margin: 0 auto;
}
.c-block__inner--13 {
  width: min(1300px, 100%);
  margin: 0 auto;
}
.c-block__inner--14 {
  width: min(1400px, 100%);
  margin: 0 auto;
}
.c-block__inner--15 {
  width: min(1500px, 100%);
  margin: 0 auto;
}

.c-copyright {
  font-size: 13px;
  text-align: center;
  color: #333;
  text-decoration: none;
}
.c-copyright:hover {
  color: #333;
  text-decoration: none;
}
.c-copyright__wrap {
  padding: 15px;
  text-align: center;
}

.c-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media screen and (min-width: 769px) {
  .c-header {
    justify-content: center;
  }
}
.c-header__brand {
  display: flex;
  position: relative;
  width: calc(275px + 425 * (100vw - 375px) / 1545);
  padding: 10px 8px 5px 15px;
  border-radius: 0 0 10px;
  background-color: #fff;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
}
@media screen and (min-width: 769px) {
  .c-header__brand {
    padding: 20px 8px 15px;
    border-radius: 0 0 20px 20px;
    align-items: center;
    gap: 10px;
  }
}
@media screen and (min-width: 769px) {
  .c-header__brand::before {
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: calc(10px + 35 * (100vw - 375px) / 1545);
    width: 10.4285714286%;
    height: 73.2954545455%;
    background-image: url("../../images/openaccess/mii_01.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
  }
}
.c-header__brand::after {
  display: inline-block;
  position: absolute;
  bottom: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}
@media screen and (min-width: 769px) {
  .c-header__brand::after {
    right: calc(10px + 35 * (100vw - 375px) / 1545);
    width: 12.7142857143%;
    height: 72.7272727273%;
    background-image: url("../../images/openaccess/mii_02.svg");
  }
}
@media screen and (max-width: 768px) {
  .c-header__brand::after {
    right: 8px;
    width: 23.7410071942%;
    height: 70%;
    background-image: url("../../images/openaccess/mii_03.svg");
  }
}
.c-header__logo {
  width: 61.1510791367%;
}
@media screen and (min-width: 769px) {
  .c-header__logo {
    width: 48.5714285714%;
  }
}
.c-header__title {
  position: relative;
  width: 61.1510791367%;
  font-size: calc(16px + 8 * (100vw - 375px) / 1545);
  color: #efae18;
  font-family: "Zen Maru Gothic", "Yu Gothic", "游ゴシック体", "Hiragino Maru Gothic Pro", "ヒラギノ丸ゴ Pro W4", "メイリオ", sans-serif;
  font-weight: bold;
}
@media screen and (min-width: 769px) {
  .c-header__title {
    width: 48.5714285714%;
    text-align: center;
  }
}
.c-header__title::before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #efae18;
  content: "";
}
.c-header__title-text {
  display: inline-block;
  position: relative;
  line-height: 1.4;
  background-color: #fff;
  max-width: 70%;
  padding-right: 1em;
}
@media screen and (min-width: 769px) {
  .c-header__title-text {
    padding: 0 1em;
  }
}
@media screen and (min-width: 769px) {
  .c-header__login {
    position: absolute;
    top: calc(10px + 25 * (100vw - 375px) / 1545);
    right: calc(15px + 130 * (100vw - 375px) / 1545);
  }
}
@media screen and (max-width: 768px) {
  .c-header__login {
    margin: 0 15px;
  }
}

.c-hospital-status:not(:last-child) {
  margin-bottom: 20px;
}
.c-hospital-status__header {
  position: relative;
  z-index: 1;
  padding: 0.55em calc(15px + 5 * (100vw - 375px) / 1545);
  border-radius: 20px;
  background-color: #f2988d;
  transform: translateY(1.25em);
  cursor: pointer;
}
.c-hospital-status__header::before, .c-hospital-status__header::after {
  position: absolute;
  top: 50%;
  right: calc(22.5px + 5 * (100vw - 375px) / 1545);
  z-index: 1;
  width: calc(18px + 2 * (100vw - 375px) / 1545);
  height: 3px;
  background-color: #e94b38;
  transition: transform 0.5s;
  content: "";
}
@media screen and (min-width: 769px) {
  .c-hospital-status__header::before, .c-hospital-status__header::after {
    height: 4px;
  }
}
.c-hospital-status__header::before {
  transform: translateY(-50%);
}
.c-hospital-status__header::after {
  transform: translateY(-50%) rotate(90deg);
}
.c-hospital-status__header.is-open::before {
  transform: translateY(-50%) rotate(180deg);
}
.c-hospital-status__header.is-open::after {
  transform: translateY(-50%) rotate(-180deg);
}
.c-hospital-status__title {
  position: relative;
  font-size: calc(20px + 4 * (100vw - 375px) / 1545);
  text-align: center;
  color: #fff;
}
.c-hospital-status__title::after {
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 0;
  width: calc(32px + 3 * (100vw - 375px) / 1545);
  height: calc(32px + 3 * (100vw - 375px) / 1545);
  border-radius: 50%;
  background-color: #fff;
  transform: translateY(-50%);
  content: "";
}
.c-hospital-status__title-text {
  display: inline-block;
  display: block;
  padding-right: calc(42px + 3 * (100vw - 375px) / 1545);
}
.c-hospital-status__content {
  position: relative;
  z-index: 0;
  padding: calc(60px + 15 * (100vw - 375px) / 1545) calc(20px + 30 * (100vw - 375px) / 1545) 50px;
  border-radius: 0 0 20px 20px;
  background-color: #fff;
  box-shadow: 0 4px 4px -4px rgba(0, 0, 0, 0.25);
}
.c-hospital-status__legend {
  margin-top: 40px;
}
@media screen and (min-width: 769px) {
  .c-hospital-status__legend {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    padding-right: calc(20px + 30 * (100vw - 375px) / 1545);
  }
}
.c-hospital-status__legend-list {
  list-style: none;
  margin-bottom: 1.5em;
  padding-left: 0;
}
@media screen and (min-width: 769px) {
  .c-hospital-status__legend-list {
    display: flex;
    gap: 1em;
  }
}
.c-hospital-status__legend-item {
  font-size: 16px;
}
@media screen and (max-width: 768px) {
  .c-hospital-status__legend-item:not(:last-child) {
    margin-bottom: 0.5em;
  }
}
.c-hospital-status__legend-status {
  display: inline-block;
  width: 1.25em;
  font-size: 20px;
  font-weight: bold;
}
.c-hospital-status__legend-status--available {
  color: #26a2dc;
}
.c-hospital-status__legend-status--limited {
  color: #efae18;
}
.c-hospital-status__legend-status--full {
  color: #e94b38;
}
.c-hospital-status__legend-note {
  font-size: 16px;
}

/*病名表示あり*/
.c-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 750px;
  table-layout: fixed;
}
@media screen and (min-width: 769px) {
  .c-table {
    min-width: 900px;
  }
}

/*病名表示なし*/
.c-table-3col {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
  table-layout: fixed;
}
@media screen and (min-width: 769px) {
  .c-table-3col {
    min-width: 900px;
  }
}

.c-table__head th {
  padding: 10px;
  line-height: 1.4;
  text-align: center;
  color: #fff;
  background-color: #f2988d;
  font-weight: 500;
}
.c-table__body td {
  padding: 5px 10px;
  text-align: center;
  border-bottom: 1px solid #f2988d;
}

@media screen and (max-width: 767px) {
  .c-table_cannotReserve_cell{
    text-align: left !important;
  }
}

.c-table__body tr:nth-child(even) td {
  background-color: #fff7e5;
}
.c-table__row .c-table__cell:nth-child(1) {
  width: 20%;
}
.c-table__row .c-table__cell:nth-child(2) {
  width: 15%;
}
.c-table__row .c-table__cell:nth-child(3) {
  width: 30%;
}
.c-table__row .c-table__cell:nth-child(4) {
  width: 35%;
}

.c-table__status {
  font-size: 20px;
  font-weight: bold;
}
.c-table__status--available {
  color: #26a2dc;
}
.c-table__status--limited {
  color: #efae18;
}
.c-table__status--full {
  color: #e94b38;
}
.c-table__wrap {
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
}

.u-disp--bl {
  display: block;
}
.u-disp--ib {
  display: inline-block;
}
.u-disp--in {
  display: inline;
}
.u-disp--fl {
  display: flex;
}
.u-disp--gr {
  display: grid;
}
.u-disp--no {
  display: none;
}
@media screen and (min-width: 769px) {
  .u-disp--sp {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .u-disp--pc {
    display: none;
  }
}

.u-text-align--center {
  text-align: center;
}
@media screen and (min-width: 769px) {
  .u-text-align--center-pc {
    text-align: center;
  }
}
@media screen and (max-width: 768px) {
  .u-text-align--center-sp {
    text-align: center;
  }
}
.u-text-align--left {
  text-align: left;
}
.u-text-align--right {
  text-align: right;
}
.u-text-align--center-left {
  text-align: left;
}
@media screen and (min-width: 769px) {
  .u-text-align--center-left {
    text-align: center;
  }
}
.u-text-align--center-right {
  text-align: right;
}
@media screen and (min-width: 769px) {
  .u-text-align--center-right {
    text-align: center;
  }
}
.u-text-align--left-center {
  text-align: center;
}
@media screen and (min-width: 769px) {
  .u-text-align--left-center {
    text-align: left;
  }
}
.u-text-align--right-center {
  text-align: center;
}
@media screen and (min-width: 769px) {
  .u-text-align--right-center {
    text-align: right;
  }
}

/* 追加 */
.center-message {
  text-align: center;
  color: #3e7ce0;
}

.space-8h {
    padding-top: 8vh;
    width: 100%;
}

.ampm-font-weight {
    font-weight: normal;
}