/*
Theme Name: Hinata Clinic
Theme URI: 
Author: StudioC3
Author URI: 
Description: Hinata Clinic's theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hinata-clinic
*/

body.access .footer > .access,
body.access .footer > .information {
  display: none;
}

body.access .pageHeader {
  padding-bottom: 120px;
}

.accessPageHero {
  position: relative;
  min-height: 150px;
  margin-top: 0 !important;
}

.accessPageHero + .accessPageSection {
  margin-top: 0 !important;
}

.accessPageHero {
  overflow: hidden;
}

.accessPageHero .inner {
  position: relative;
  min-height: 160px;
}

.accessPageHeroScenery {
  position: relative;
  height: 160px;
  border-radius: 0 0 120px 120px;
  background:
    radial-gradient(circle at 14% 30%, rgba(255, 255, 255, 0.95) 0 28px, transparent 29px),
    linear-gradient(180deg, #f2f5f6 0%, #fff 100%);
}

.accessPageHeroScenery::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -70px;
  width: 65%;
  height: 150px;
  background: #fff;
  border-radius: 50%;
}

.accessPageHeroCloud,
.accessPageHeroTree,
.accessPageHeroBus {
  position: absolute;
}

.accessPageHeroCloud {
  width: 58px;
  height: 20px;
  background: #dff2fb;
  border-radius: 999px;
  opacity: 0.9;
}

.accessPageHeroCloud::before,
.accessPageHeroCloud::after {
  content: "";
  position: absolute;
  bottom: 6px;
  background: inherit;
  border-radius: 50%;
}

.accessPageHeroCloud::before {
  left: 7px;
  width: 20px;
  height: 20px;
}

.accessPageHeroCloud::after {
  right: 8px;
  width: 24px;
  height: 24px;
}

.accessPageHeroCloud--left {
  top: 24px;
  right: 210px;
}

.accessPageHeroCloud--right {
  top: 16px;
  right: 90px;
}

.accessPageHeroTree {
  bottom: 22px;
  width: 20px;
  height: 46px;
}

.accessPageHeroTree::before {
  content: "";
  position: absolute;
  bottom: 14px;
  left: 50%;
  width: 32px;
  height: 36px;
  background: #3f9631;
  border-radius: 20px 20px 16px 16px;
  transform: translateX(-50%);
  box-shadow: inset -6px -2px 0 rgba(0, 0, 0, 0.08);
}

.accessPageHeroTree::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 9px;
  height: 18px;
  background: #c28a43;
  border-radius: 999px;
  transform: translateX(-50%);
}

.accessPageHeroTree--1 {
  right: 320px;
}

.accessPageHeroTree--2 {
  right: 195px;
}

.accessPageHeroTree--3 {
  right: 125px;
}

.accessPageHeroBus {
  right: 250px;
  bottom: 18px;
  width: 92px;
  height: 48px;
  background: #ffd232;
  border-radius: 18px 18px 14px 14px;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.08);
  transform: rotate(28deg);
}

.accessPageHeroBus::before {
  content: "";
  position: absolute;
  inset: 9px 10px 13px;
  background:
    linear-gradient(90deg, #86d8f5 0 18%, transparent 18% 24%, #86d8f5 24% 50%, transparent 50% 56%, #86d8f5 56% 82%, transparent 82% 100%);
  border-radius: 8px;
}

.accessPageHeroBus::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -5px;
  width: 52px;
  height: 18px;
  border-bottom: 4px solid #9a9a9a;
  border-radius: 999px;
  box-shadow:
    0 0 0 6px transparent,
    0 0 0 0 #000;
}

.accessPageSection .inner {
  position: relative;
}

.accessPageHoursTableWrap {
  margin-top: 70px;
}

.accessPageHoursTable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-bottom: 1px dashed rgba(11, 158, 206, 0.3);
}

.accessPageHoursTable th,
.accessPageHoursTable td {
  padding: 28px 12px;
  border-top: 1px dashed rgba(11, 158, 206, 0.3);
  text-align: center;
  line-height: 1;
}

.accessPageHoursTable thead th {
  font-size: 14px;
  font-weight: 400;
}

.accessPageHoursTable thead th:not(:first-child) {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
}

.accessPageHoursTable tbody th {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.accessPageHoursTable tbody td {
  font-size: 24px;
}

.accessPageHoursNotes {
  margin-top: 24px;
}

.accessPageHoursNotes p {
  font-size: 16px;
  line-height: 1.9;
}

.accessPageHoursHoliday {
  color: var(--primary-color);
}

.accessPageSection + .accessPageSection {
  padding-top: 40px;
}

.accessPageLead {
  margin-top: 60px;
  text-align: center;
  font-size: 20px;
}

.accessPageFirstCard {
  margin-top: 40px;
  padding: 54px 70px;
  background: #f6fbfd;
  border-radius: 40px;
}

.accessPageFirstList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 48px;
}

.accessPageFirstList li,
.accessPageFirstNote {
  font-size: 16px;
  line-height: 1.9;
}

.accessPageFirstList li::before {
  content: "・";
  color: var(--primary-color);
}

.accessPageFirstNote {
  margin-top: 18px;
}

.accessPageMap {
  overflow: hidden;
  margin-top: 70px;
  border-radius: 40px;
}

.accessPageMap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 1090 / 560;
}

.accessPageMapInfo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 60px;
  align-items: start;
  margin-top: 55px;
}

.accessPageAddress,
.accessPageStation,
.accessPageParking,
.accessPageMapLink a,
.accessPageMapNote p {
  font-size: 16px;
}

.accessPageAddress {
  line-height: 2.1;
}

.accessPageStation {
  margin-top: 16px;
  font-size: 18px;
}

.accessPageMapLink {
  margin-top: 12px;
}

.accessPageMapLink a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.accessPageMapLink a span {
  border-bottom: 1px solid var(--primary-color);
  color: var(--font-color);
}

.accessPageParking {
  margin-top: 26px;
  line-height: 2;
}

.accessPageMapNote {
  min-height: 260px;
  padding: 36px 34px;
  background: #f1f1f1;
  border-radius: 40px;
}

.accessPageMapNoteTitle {
  color: var(--primary-color);
  font-size: 24px;
}

.accessPageMapNote p + p {
  margin-top: 16px;
  line-height: 2;
}

.accessPageInfo {
  padding-block: 110px 0;
}

.accessPageInfoWrap {
  position: relative;
  padding: 70px 80px 80px;
  background: #fff;
  border-radius: 40px;
}

.accessPageInfoHeader {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.accessPageInfoTitle {
  font-size: 40px;
  line-height: 1.6;
  color: var(--primary-color);
}

.accessPageInfoDescription {
  font-size: 18px;
  line-height: 2.1;
}

.accessPageInfoGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 45px;
}

.accessPageInfoItem {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px 30px;
  background: #fbfbfb;
  border-radius: 32px;
}

.accessPageInfoItem--wide {
  grid-template-columns: 150px minmax(0, 1fr);
}

.accessPageInfoThumb {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: #e8e8e8;
  border-radius: 22px;
}

.accessPageInfoFloor,
.accessPageInfoName {
  color: var(--primary-color);
}

.accessPageInfoFloor {
  font-size: 18px;
  line-height: 1.2;
}

.accessPageInfoCategory {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
}

.accessPageInfoName {
  display: inline-block;
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.8;
}

@media (max-width: 767.9px) {
  body.access .pageHeader {
    padding-bottom: 90px;
  }

  .accessPageHero {
    min-height: 90px;
  }

  .accessPageHero .inner,
  .accessPageHeroScenery {
    min-height: 110px;
    height: 110px;
  }

  .accessPageHeroScenery {
    border-radius: 0 0 56px 56px;
  }

  .accessPageHeroScenery::after {
    right: -10%;
    bottom: -52px;
    width: 82%;
    height: 100px;
  }

  .accessPageHeroCloud {
    width: 36px;
    height: 13px;
  }

  .accessPageHeroCloud::before {
    width: 14px;
    height: 14px;
  }

  .accessPageHeroCloud::after {
    width: 16px;
    height: 16px;
  }

  .accessPageHeroCloud--left {
    right: 104px;
  }

  .accessPageHeroCloud--right {
    right: 34px;
  }

  .accessPageHeroTree {
    width: 14px;
    height: 34px;
    bottom: 10px;
  }

  .accessPageHeroTree::before {
    width: 22px;
    height: 25px;
  }

  .accessPageHeroTree::after {
    width: 7px;
    height: 12px;
  }

  .accessPageHeroTree--1 {
    right: 140px;
  }

  .accessPageHeroTree--2 {
    right: 88px;
  }

  .accessPageHeroTree--3 {
    right: 42px;
  }

  .accessPageHeroBus {
    right: 96px;
    bottom: 8px;
    width: 54px;
    height: 29px;
    border-radius: 10px 10px 8px 8px;
  }

  .accessPageHeroBus::before {
    inset: 5px 6px 8px;
    border-radius: 5px;
  }

  .accessPageHoursTableWrap,
  .accessPageMap,
  .accessPageLead {
    margin-top: 45px;
  }

  .accessPageHoursTable th,
  .accessPageHoursTable td {
    padding: 18px 4px;
  }

  .accessPageHoursTable thead th {
    font-size: 11px;
  }

  .accessPageHoursTable thead th:not(:first-child) {
    font-size: 13px;
  }

  .accessPageHoursTable tbody th {
    font-size: 13px;
  }

  .accessPageHoursTable tbody td {
    font-size: 16px;
  }

  .accessPageHoursNotes p,
  .accessPageFirstList li,
  .accessPageFirstNote,
  .accessPageAddress,
  .accessPageParking,
  .accessPageMapLink a,
  .accessPageMapNote p {
    font-size: 13px;
  }

  .accessPageLead,
  .accessPageStation {
    font-size: 15px;
    line-height: 2;
  }

  .accessPageFirstCard,
  .accessPageInfoWrap {
    padding: 34px 24px;
    border-radius: 24px;
  }

  .accessPageFirstList {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .accessPageMap {
    border-radius: 24px;
  }

  .accessPageMapInfo,
  .accessPageInfoHeader,
  .accessPageInfoGrid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .accessPageMapNote {
    min-height: 0;
    padding: 24px 22px;
    border-radius: 24px;
  }

  .accessPageMapNoteTitle {
    font-size: 20px;
  }

  .accessPageInfo {
    padding-top: 80px;
  }

  .accessPageInfoTitle {
    font-size: 28px;
  }

  .accessPageInfoDescription {
    font-size: 14px;
    line-height: 2;
  }

  .accessPageInfoItem,
  .accessPageInfoItem--wide {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
    border-radius: 22px;
  }

  .accessPageInfoThumb {
    border-radius: 16px;
  }

  .accessPageInfoFloor,
  .accessPageInfoName {
    font-size: 16px;
  }

  .accessPageInfoCategory {
    margin-top: 4px;
    font-size: 12px;
  }
}
