/* ---------------------------------------------------------------------------------------------------------------------------------
   Footer Section   
--------------------------------------------------------------------------------------------------------------------------------- */

/* =================================================================
   Main Footer Container
================================================================= */
.footer {
    padding-top: 6rem;
    background-color: #F5F8FA;
}
@media (max-width: 768px) {
    .footer {
        padding-top: 5rem;
        /* background-color: #F5F8FA; */
    }
}

.footer__container {
    display: flex;
    align-items: flex-start;
    margin: 0 auto;
    padding-bottom: 5rem;
    gap: 60px;
}
@media (max-width: 768px) {
    .footer__container {
        flex-direction: column;
        padding-bottom: 4rem;
        gap: 2.8rem;
    }
}
/* =================================================================
   Main Footer Container
================================================================= */









/* =================================================================
   Clinic Information Section
================================================================= */
.footer__clinic-info {
    flex: 1;
    min-width: 400px;
    width: 100%;
}
@media (max-width: 768px) {
    .footer__clinic-info {
        min-width: auto;
    }
}

.footer__header {
    padding-bottom: 1.6rem;
    display: flex;
    justify-content: center;
}
@media (max-width: 768px) {
    .footer__header {
        padding-bottom: 3.6rem;
    }
}

.footer__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-bottom: 4rem;
}
@media (max-width: 768px) {
    .footer__logo {
        width: 90%;
        padding-bottom: 0;
    }
}

.footer__logo img {
    max-width: 50rem;
    width: 100%;
}

.footer__info-contents {
    display: grid;
    gap: 1.4rem;
    font-weight: 500;
}
@media (max-width: 768px) {
    .footer__info-contents {
        gap: 1.4rem;
        line-height: 1.4;
        letter-spacing: 0.025em;
    }
}

.footer__detail-item {
    display: flex;
    align-items: flex-start;
    vertical-align: middle;
    gap: 28px;
}
@media (max-width: 768px) {
    .footer__detail-item {
        align-items: flex-start;
        gap: 1.4rem;
    }
}

.footer__detail-label {
    width: 16%;
    padding: 4px 0;
    border-radius: 0.6rem;
    background-color: var(--color-100);
    /* border: 1px solid var(--neutral-400); */
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-900);
    text-align: center;
}
@media (max-width: 768px) {
    .footer__detail-label {
        width: 20%;
        min-width: 68px;
        padding: 4px 0;
        /* border-radius: 50vh; */
        font-size: 1.2rem;
    }
}

.footer__detail-value {
    /* font-size: 1.5rem; */
    position: relative;
}
@media (max-width: 768px) {
    .footer__detail-value {
        font-size: 1.4rem;
    }
}

.footer__access-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer__access-line {

}

.footer__access-btn {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin-top: 6px;
    padding: 8px 24px;
    border: 1px solid var(--color-300);
    border-radius: 14.4rem;
    background-color: #fff;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer__access-btn:hover {
    background-color: var(--color-600);
    color: #fff;
}
/* =================================================================
   Clinic Information Section
================================================================= */











/* =================================================================

   Schedule Section - 診療時間表

================================================================= */
.footer__schedule {
    flex: 1;
    width: 100%;
    border-radius: 1rem;
}
@media (max-width: 768px) {
    .footer__schedule {
        min-width: auto;
    }
}

.footer__schedule-wrap {
    padding: 1.2rem 2.8rem 1.2rem;
    border: 2px solid var(--color-100);
    border-radius: 0.8rem;
}
@media (max-width: 768px) {
    .footer__schedule-wrap {
        padding: 0.6rem 1.6rem 0.2rem 1.2rem;
    }
}

.footer__schedule-table {
    width: 100%;
    padding: 24px;
}

.footer__schedule-table td {
    text-align: center;
    vertical-align: middle;
    font-size: 2.2rem;
    color: var(--color-500);
}
@media (max-width: 768px) {
    .footer__schedule-table td {
        font-size: 1.8rem;
    }
}

.footer__schedule-table tr:not(:last-child),
.footer__schedule-table td:not(:last-child)::after {
    border-bottom: 1px solid var(--neutral-500);
}

.footer__schedule-table th:first-child,
.footer__schedule-table td:first-child {
    text-align: left;
    align-content: center;
    width: 26%;
    min-width: 50px;
    padding: 1.4rem 0;
    font-weight: 600;
}
@media (max-width: 768px) {
    .footer__schedule-table th:first-child,
    .footer__schedule-table td:first-child {
        text-align: left;
        align-content: center;
        width: 32%;
        min-width: 40px;
        padding: 1rem 0 1rem 0.4rem;
        font-size: 1.4rem;
    }
}

.footer__schedule-table thead {
    border-bottom: 1px solid var(--neutral-500);
}

.footer__schedule-table th {
    text-align: center;
    align-content: center;
    font-weight: 500;
}

.footer__schedule-table tbody :last-child td,
.footer__schedule-table tbody :first-child tr {
    border-bottom: none;
}

.footer__time-slot {
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

.footer__time-slot span{
    color: var(--color-600);
}

.footer__schedule-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-weight: bold;
}

.footer__schedule-dot--active {
    background-color: var(--color-600);
}

.footer__schedule-dot--inactive {
    background-color: transparent;
    color: var(--neutral-500);
}

.footer__schedule-notes {
    margin-top: 16px;
}
@media (max-width: 768px) {
    .footer__schedule-notes {
        margin-top: 1rem;
    }
}

.footer__note-text {
    /* color: var(--neutral-600); */
    font-size: 15px;
    font-weight: 500;
}
@media (max-width: 768px) {
    .footer__note-text {
        font-size: 13px;
    }
}

.footer__holiday-label {
    font-weight: 600;
    color: var(--color-600);
}

.footer__holiday-days {
    color: var(--neutral-700);
}
/* =================================================================

   Schedule Section - 診療時間表

================================================================= */






















/* =================================================================

   Footer sitemap Navigation - サイトマップ

================================================================= */

.footer__nav {
    padding-bottom: 4rem;
    padding-top: 2.8rem;
    border-top: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
}
@media (max-width: 768px) {
  .footer__nav {
    padding-bottom: 2rem;
    padding-top: 0rem;
    border: none;
  }
}

.footer__nav-container {
  margin: 0 auto;
  gap: 4rem;
  display: grid;
  grid-template-columns: 0.8fr 1.8fr 1.2fr 1.2fr;
}
@media (max-width: 768px) {
  .footer__nav-container {
    grid-template-columns: auto;
    gap: 0;
    border-bottom: solid 1px #ccc;
  }
}

.footer__nav-column {
    flex: 1;
}


.footer__nav-title {
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 600;
  position: relative;
}
@media (max-width: 768px) {
  .footer__nav-title {
    margin-bottom: 0;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #ccc;
  }
}


@media (max-width: 768px) {
  .footer__nav-title a {
    padding: 1.5rem 0;
    width: 100%;
    font-size: 1.6rem;
  }
}

.footer__nav-list {
  display: grid;
  row-gap: 1.6rem;
}
@media (max-width: 768px) {
  .footer__nav-list {
    row-gap: 0;
  }
}

.footer__nav-list li {
  position: relative;
  padding-left: 1.6rem;
}

.footer__nav-list--two-columns {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 2rem;
}

.footer__nav-link {
  display: block;
  color: var(--neutral-700);
  font-size: 14px;
  /* position: relative; */
}
@media (max-width: 768px) {
  .footer__nav-link {
    padding: 0.8rem 0;
  }
}

.footer__nav-link:hover {
    color: var(--color-700);
    text-decoration: underline;
}

.footer__nav-link::before {
    content: "";
    display: block;
    width: 8px;
    height: 1px;
    position: absolute;
    background-color: var(--color-500);
    left: 0px;
    top: 56%;
    transform: translateY(-50%);
}

/* フッターアコーディオンボタン */
@media (min-width: 769px) {
  .footer__accordion-btn {
    display: none;
  }
}
@media (max-width: 768px) {
  .footer__accordion-btn {
    display: flex;
    width: 6rem;
    aspect-ratio: 1;
    padding: 0;
    /* border: solid var(--color-50); */
    border-radius: 50vh;
    -moz-appearance: none;
    appearance: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }
  /* アコーディオン用＋開閉ボタン */
  .footer__accordion-btn::after {
    content: "";
    position: absolute;
    display: block;
    width: 2px;
    height: 16px;
    background-color: var(--color-500);
    transition: transform 0.3s;
  }
  .footer__accordion-btn::before {
    content: "";
    position: absolute;
    display: block;
    width: 16px;
    height: 2px;
    background-color: var(--color-500);
    transition: transform 0.02s;
  }
  .footer__accordion-btn.-active::after {
    transform: rotate(-90deg);
  }
  /* フッターアコーディオンの初期状態 */
  .footer__accordion {
    height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: height 0.25s ease-out, opacity 0.25s ease-out;
  }
  /* フッターアコーディオンが開いた状態 */
  .footer__accordion.-active {
    opacity: 1;
    visibility: visible;
    padding-bottom: 2.4rem;
  }
  /* PC版では常に表示 */
  @media (min-width: 769px) {
    .footer__accordion {
      height: auto !important;
      opacity: 1;
      visibility: visible;
    }
  }
}
/* =================================================================

   Footer sitemap Navigation - サイトマップ

================================================================= */
























/* =================================================================
   Copyright Section
================================================================= */
.footer__copyright {
  padding: 1.6rem 0 1.6rem;
  /* background-color: var(--color-50); */
  /* color: #fff; */
}
@media (max-width: 768px) {
  .footer__copyright {
    padding: 1rem 0 5.6rem;
  }
}
.footer__copyright-text {
  /* color: var(--neutral-600); */
  font-size: 12px;
}
@media (max-width: 768px) {
  .footer__copyright-text {
    font-size: 11px;
    text-align: left;
  }
}
/* =================================================================
   Copyright Section
================================================================= */








/* ---------------------------------------------------------------------------------------------------------------------------------
   End Footer Section   
--------------------------------------------------------------------------------------------------------------------------------- */
.footer__hover-color {
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    color: transparent;
    background-image: linear-gradient(
90deg,
#343434 0%,
#343434 50%,
var(--color-600) 50%,
var(--color-600) 100%
    );
    background-size: 200% 100%;
    background-clip: text;
    transition: background-position 0.5s var(--ease-out-quart);
    background-position: 0 0;
}

.footer__hover-color:hover {
    background-position: -100% 0;
}



.footer__mappin {
  width: 1.8rem;
  padding-top: 2px;
}
.footer__illustmap {
  opacity: 1;
  transform: translateY(0px);
  transition: 800ms;
}
.footer__txt-green {
  color: #73b037;
}
.footer__maru {
  color: #73b037;
}
.footer__bar {
  color: #ccc;
}











/* ------------------------------------------------------------------------------------------

  contact　お問い合わせ  

------------------------------------------------------------------------------------------ */
.contact {
  padding: 14rem 0 12rem;
  background-color: var(--color-300);
}
@media (max-width: 1024px) {
  .contact {
    padding: 14rem 0 12rem;
  }
}
@media (max-width: 768px) {
  .contact {
    padding: 6rem 0 9rem;
  }
}




.contact .info_icon {
    padding: 1.4rem;
}


.contact__title {
  display: grid;
  grid-area: 1 / 1 / 1 / 3;
  align-content: center;
}
@media (max-width: 1024px) {
  .contact__title {
    display: grid;
    grid-area: 1 / 1 / 3 / 3;
  }
}
@media (max-width: 768px) {
  .contact__title {
    display: grid;
    grid-area: 1 / 1 / 1 / 1;
  }
}

.contact__txt {
  /* プロパティがありません */
}

.contact__container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6rem 4rem;
}
@media (max-width: 1024px) {
.contact__container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3rem 4rem;
}
}
  @media (max-width: 768px) {
.contact__container {
  display: grid;
  grid-template-columns: 1fr;
}
  }

.contact__tel-btn {
  display: grid;
  grid-area: 1 / 3 / 1 / 5;
  grid-template-rows: 8rem auto;
  gap: 2rem;
  padding: 3rem;
  border-top: 1px solid #ccc;
  border-radius: 1.7rem;
  background-color: #fff;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  align-items: center;
  align-content: center;
}

@media (max-width: 1024px) {
.contact__tel-btn {
  display: grid;
  grid-area: 1 / 3 / 1 / 7;
  grid-template-rows: none;
  grid-template-columns: 8rem auto;
  gap: 2rem;
}
}
@media (max-width: 768px) {
.contact__tel-btn {
  grid-area: 2 / 1 / 2 / 1;
  grid-template-rows: none;
  grid-template-columns: 7rem auto;
          gap: 2.4rem;
        padding: 2.4rem 2rem 2.4rem 2.4rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}
    }

.contact__tel-btn:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact__tel-txt {
  color: var(--neutral-600);
  font-size: 1.2rem;
}

.contact__web-btn {
  display: grid;
  grid-area: 1 / 5 / 1 / 7;
  grid-template-rows: 8rem auto;
  gap: 2rem;
  padding: 3rem;
  border-top: 1px solid #ccc;
  border-radius: 1.7rem;
  background-color: #fff;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  align-items: center;
  /* align-content: center; */
}

@media (max-width: 1024px) {
.contact__web-btn {
  display: grid;
  grid-area: 2 / 3 / 2 / 7;
  grid-template-rows: none;
  grid-template-columns: 8rem auto;
  gap: 2rem;
}
}
@media (max-width: 768px) {
.contact__web-btn {
  display: grid;
  grid-area: 3 / 1 / 3 / 2;
  grid-template-rows: none;
  grid-template-columns: 7rem auto;
  padding: 2.4rem 2rem 2.4rem 3rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
}

.contact__web-btn:hover {
  box-shadow: 0px 8px 16px rgba(36, 57, 85, 0.2);
}

  
  
  
  

@media (max-width: 768px) {
.contact .info_icon {
    padding: 2rem;
}
  .contact .info_icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
  }
}

/* ------------------------------------------------------------------------------------------

  contact　お問い合わせ  

------------------------------------------------------------------------------------------ */

.footer__link{border-bottom: 1px solid var(--color-600);color: var(--color-900);}
.footer__link:hover{
  color:var(--color-400);
border-bottom: 1px solid var(--color-400);
}







