﻿@charset "utf-8";
/*--------------------------------------------------------------------------------

  greeting

--------------------------------------------------------------------------------*/
@media (min-width: 761px) {
  .greeting {
    display: grid;
    grid-template-columns: max(200px, 25%) 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas: 
      "greeting-img greeting-txt"
      "greeting-img greeting-prof";
    column-gap: var(--space-m);
  }
  .greeting .img { grid-area: greeting-img; }
  .greeting .txt { grid-area: greeting-txt; }
  .greeting .prof-tbl { grid-area: greeting-prof; }
}
@media (max-width: 760px) {
  .greeting .img {
    width: min(60%, 300px);
    margin-inline: auto;
    padding-bottom: var(--space-s);
  }
  .greeting .txt {
    width: fit-content;
    margin-inline: auto;
    text-align: center;
  }
}
.greeting .txt { padding-bottom: var(--space-s); }

/*--------------------------------------------------------------------------------

  outline

--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------
  .outline-rinen
--------------------------------------------------------------------------------*/
.outline-rinen {
  display: grid;
  row-gap: 1.5rem;
}
.outline-rinen .img { margin-inline: auto; }
@media (min-width: 761px) {
  .outline-rinen {
    grid-template-columns: 3fr 1fr;
    column-gap: var(--space-m);
  }
  .outline-rinen .img {
    width: min(75%, 200px);
    order: 2;
    margin-top: calc(-1 * var(--space-m));
  }
  .outline-rinen .txt { order: 1; padding-left: 1.25rem; }
}
@media (max-width: 760px) {
  .outline-rinen .img {
    width: min(30%, 140px);
    margin-top: 0.5rem;
  }
}

/*--------------------------------------------------------------------------------
  .outline-tbl
--------------------------------------------------------------------------------*/
.outline-tbl th { width: min(25%, 200px); vertical-align: top; }
.outline-tbl td { width: 75%; }

/*--------------------------------------------------------------------------------
  .outline-dl-list
--------------------------------------------------------------------------------*/
.outline-dl-list {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
}
.outline-dl-list dt { font-weight: normal; }

/*--------------------------------------------------------------------------------
  .outline-zeneiren
--------------------------------------------------------------------------------*/
.outline-zeneiren {
  line-height: var(--line-height-s);
  width: fit-content;
  display: flex;
  column-gap: clamp(0.75rem, 3vw, 1.5rem);
  align-items: center;
  border: 1px solid var(--border-color-light);
  padding: clamp(0.5rem, 2vw, 1rem);
  font-size: min(2.5vw, var(--fs-n));
}
.outline-zeneiren .img { width: clamp(60px, 20%, 100px); }

/*--------------------------------------------------------------------------------

  history

--------------------------------------------------------------------------------*/
.history { line-height: var(--line-height); }
.history dt,
.history .month { color: var(--color-primary); }
.history .num {
  display: inline-block;
  width: 1.5em;
  text-align: right;
}
.history dt .num {
  font-weight: 600;
  font-size: var(--fs-2l);
  margin-top: calc(-1 * (1em - 1rem));
  line-height: 1;
}
.history dd:has(.month) {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
}
.history dd { position: relative; }
.history dd:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 1rem;
  bottom: 0;
  border-left: 1px solid var(--pale-color-primary-lighter);
}
.history dd + dd { padding-top: 0.25rem; }
.history dd small { display: inline-block; }
@media (min-width: 761px) {
  .history {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: var(--space-m);
  }
  .history dd + dd { grid-column: 2 / -1; }
  .history dt:not(:first-of-type),
  .history dd:not(:first-of-type) { margin-top: var(--space-s); }
  .history dd + dd { margin-top: 0 !important; }
  .history dd:not(:has(.month)) { padding-left: calc(var(--space-2s) + 5.5rem); }
  .history dd:has(.month) { padding-left: calc(var(--space-2s) + 1rem); }
  .history dd .month { padding-right: 1rem; }
}
@media (max-width: 760px) {
  .history dt:not(:first-of-type) { margin-top: var(--space-m); }
  .history dt { padding-bottom: 0.25rem; }
  .history dd + dd { margin-top: 0 !important; }
  .history dd:not(:has(.month)) { padding-left: 6rem; }
  .history dd:has(.month) { padding-left: 2.5rem; }
}

/*--------------------------------------------------------------------------------

  floor

--------------------------------------------------------------------------------*/
.floor-map {
  display: flex;
  flex-direction: column;
  max-width: 960px;
  margin-inline: auto;
}

/*--------------------------------------------------------------------------------
  .floor-box
--------------------------------------------------------------------------------*/
.floor-box { display: none; max-width: 720px; }
.floor-box .ttl { font-weight: bold; font-size: var(--fs-l); padding-bottom: 1rem; }
.floor-box img { margin-inline: auto; }
.floor-box .txt { padding-top: 1rem; }
.floor-box .img-cols2 { display: flex; gap: 1rem; }
@media (max-width: 600px) {
  .floor-box .img-cols2 { flex-direction: column; }
}

/*--------------------------------------------------------------------------------

  access

--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------
  .access-parking
--------------------------------------------------------------------------------*/
.access-parking {
  display: grid;
}
.access-parking .ad { grid-area: parking-ad; padding-bottom: var(--space-s); }
.access-parking .nav { grid-area: parking-nav; }
.access-parking .map { grid-area: parking-map; }
@media (min-width: 761px) {
  .access-parking {
    column-gap: var(--space-s);
    grid-template-columns: 1fr min(60%, 730px);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "parking-ad parking-map"
      "parking-nav parking-map";
  }
  .access-parking .map { margin-top: calc(-1 * var(--space-s)); }
}
@media (max-width: 760px) {
  .access-parking {
    grid-template-areas:
      "parking-ad"
      "parking-nav"
      "parking-map";
  }
  .access-parking .nav { padding-bottom: var(--space-s); }
}

/*--------------------------------------------------------------------------------
  .access-bus-tbl
--------------------------------------------------------------------------------*/
.access-bus-tbl thead th:first-child {
  width: 20%;
  min-width: 9em;
}
.access-bus-tbl thead th:not(:first-child) { width: 40%; }
@media (max-width: 760px) {
  .access-bus-tbl { font-size: min(3vw, var(--fs-s)); }
}
  
/*--------------------------------------------------------------------------------
  .access-gmap
--------------------------------------------------------------------------------*/
.access-gmap {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  max-width: calc(var(--base-width) * 1px);
  max-height: 600px;
  min-height: 300px;
  border: 0;
  vertical-align: bottom;
}

/*--------------------------------------------------------------------------------
  健康診断実績
--------------------------------------------------------------------------------*/
:root {
  --default-file-size: 2rem;
}

.results section ul {
}
.results section ul li {
}
.results section ul li a {
  display: inline-block;
  text-indent: calc((var(--file-size, var(--default-file-size)) + var(--file-mgr, 0.75rem)) * -1);
  padding-left: calc(var(--file-size, var(--default-file-size)) + var(--file-mgr, 0.75rem));
}
.results section ul li a::before {
  content: "";
  display: inline-block;
  width: var(--file-size, var(--default-file-size));
  height: var(--file-size, var(--default-file-size));
  vertical-align: -10px;
  line-height: 1;
  text-indent: calc(var(--file-size, var(--default-file-size)) * -1);
  background-image: url("../img/icon/pdf.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  margin: var(--file-mgt, 0) var(--file-mgr, 0.75rem) var(--file-mgb, 0) var(--file-mgl, 0);
}
