#contents {
  max-width: 1100px;
  margin: 0 auto;
}

/* companytop
------------------------------------ */
#companytop .categorymenu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 5rem;
}
#companytop .categorymenu .box a {
  display: block;
  background: #A4C8D9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  transition: 0.5s;
}
#companytop .categorymenu .box a:hover {
  opacity: 1;
  background: #589AB7;
}
#companytop .categorymenu .box a .photo {
  width: 50%;
}
#companytop .categorymenu .box a p {
  width: 45%;
  color: #FFF;
}
#companytop .categorymenu .box a p span {
  font-family: "Red Hat Display", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding-left: -0.05em;
  display: block;
  margin-bottom: 0rem;
}
@media screen and (max-width: 1024px) {
  #companytop .categorymenu {
    gap: 3rem;
  }
  #companytop .categorymenu .box a p span {
    font-size: clamp(1.8rem, 1.4vw, 2rem);
  }
}
@media screen and (max-width: 768px) {
  #companytop .categorymenu {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* greeting
------------------------------------ */
#greeting .message {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  align-items: center;
}
#greeting .message:after {
  content: "";
  width: 100vw;
  position: absolute;
  top: 100%;
  height: 10rem;
  left: 50%;
  transform: translateX(-50%);
  background: #EEF6F7;
  display: block;
}
#greeting .message .photo {
  width: 43%;
  position: relative;
}
#greeting .message .photo:before {
  content: "";
  width: 100%;
  position: absolute;
  bottom: 0;
  height: 50%;
  right: 100%;
  background: #EEF6F7;
  display: block;
}
#greeting .message .text {
  width: 50%;
}
#greeting .message .text .sig {
  margin-top: 3rem;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  letter-spacing: 0.05em;
  padding-left: -0.05em;
}
#greeting .message .text .sig dd {
  font-size: 2rem;
}
@media screen and (max-width: 768px) {
  #greeting .message {
    display: block;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
  }
  #greeting .message:after {
    content: "";
    width: 100vw;
    position: absolute;
    top: 100%;
    height: 5rem;
    left: 50%;
    transform: translateX(-50%);
    background: #EEF6F7;
    display: block;
  }
  #greeting .message .photo {
    width: 60%;
    margin-top: 2rem;
  }
  #greeting .message .text {
    width: 100%;
  }
}

/* about
------------------------------------ */
#about #basedata {
  width: 100%;
  margin-bottom: 10rem;
}
#about #basedata th {
  width: 20%;
}
#about #basedata td {
  width: 80%;
}
#about #basedata .yakuin {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0rem 1rem;
}
#about .btn01 {
  width: fit-content;
  margin: 3rem auto;
}
#about #certification {
  position: relative;
  padding: 4rem 0;
  margin-bottom: 10rem;
}
#about #certification:before {
  background: #EEF6F7;
  content: "";
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  transform: translateX(-50%);
  z-index: -1;
}
#about #certification ul {
  width: fit-content;
  margin: 0 auto;
}
#about #certification .btn01 {
  width: fit-content;
  margin: 3rem auto;
}
#about #client {
  margin-bottom: 10rem;
}
#about #client ul {
  margin-bottom: 1rem;
}
#about #client .notes {
  text-align: right;
  color: #7F7F7F;
}
#about #vender ul {
  margin-bottom: 1rem;
}
#about #vender .notes {
  text-align: right;
  color: #7F7F7F;
}

/* download
------------------------------------ */
#download .basedata {
  width: 100%;
  margin-bottom: 10rem;
}
#download .basedata th {
  width: 30%;
}
#download .basedata td {
  width: 80%;
}
#download .basedata td:last-child {
  width: auto;
}

/* access
------------------------------------ */
#access #accessContainer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
#access #accessContainer .menu {
  width: 200px;
  position: sticky;
}
#access #accessContainer .menu ul li {
  border-top: 1px solid #F5F5F5;
  position: relative;
}
#access #accessContainer .menu ul li::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  display: block;
  background: #1D88B9;
  position: absolute;
  left: 0;
  top: 0;
}
#access #accessContainer .menu ul li a {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
#access #accessContainer .menu ul li a::after {
  content: "";
  width: 2rem;
  aspect-ratio: 1;
  display: block;
  background: url(/lib/img/cmn/icon_arrow_02.png) no-repeat center/contain;
}
#access #accessContainer .menu ul li.current a {
  color: #1D88B9;
}
#access #accessContainer .area {
  width: calc(100% - 260px);
}
#access #accessContainer .area .notes {
  text-align: right;
  font-size: 1.4rem;
  color: #7F7F7F;
}
#access #accessContainer .area section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 10rem;
}
#access #accessContainer .area section h2 {
  width: 100%;
  font-size: 2.2rem;
  padding-bottom: 1rem;
  margin-bottom: 2.5rem;
  color: #1D88B9;
  border-bottom: 1px solid #D9D9D9;
}
#access #accessContainer .area section .data {
  width: 35%;
}
#access #accessContainer .area section .data .mapchange li {
  margin-bottom: 5px;
}
#access #accessContainer .area section .data .mapchange li a {
  display: block;
  position: relative;
}
#access #accessContainer .area section .data .mapchange li a:not(.default) {
  background: #F5F5F5;
  border-radius: 8px;
  padding: 1.5rem 3rem 1.5rem 4.5rem;
}
#access #accessContainer .area section .data .mapchange li a:not(.default) dl {
  margin-block: calc((1em - 1lh) / 2);
}
#access #accessContainer .area section .data .mapchange li a:not(.default) dl dt {
  color: #1D88B9;
  text-decoration: underline;
  font-weight: 500;
}
#access #accessContainer .area section .data .mapchange li a:not(.default) dl dd {
  font-size: 1.4rem;
}
#access #accessContainer .area section .data .mapchange li a:not(.default):after {
  content: "";
  width: 2rem;
  aspect-ratio: 1;
  display: block;
  background: url(/lib/img/cmn/icon_arrow_03.png) no-repeat center/contain;
  position: absolute;
  right: 5px;
  top: calc(50% - 1rem);
}
#access #accessContainer .area section .data .mapchange li a:not(.default):before {
  content: "";
  width: 2.6rem;
  aspect-ratio: 1;
  display: block;
  border-radius: 3px;
  position: absolute;
  left: 10px;
  top: calc(50% - 1.3rem);
}
#access #accessContainer .area section .data .mapchange li a:not(.default).car:before {
  background: #1B9CD3 url(/lib/img/cmn/icon_car.png) no-repeat center/contain;
}
#access #accessContainer .area section .data .mapchange li a:not(.default).train:before {
  background: #1B9CD3 url(/lib/img/cmn/icon_train.png) no-repeat center/contain;
}
#access #accessContainer .area section .data .mapchange li a:not(.default).subway:before {
  background: #1B9CD3 url(/lib/img/cmn/icon_subway.png) no-repeat center/contain;
}
#access #accessContainer .area section .data .mapchange li a:not(.default).air:before {
  background: #1B9CD3 url(/lib/img/cmn/icon_air.png) no-repeat center/contain;
}
#access #accessContainer .area section .data .mapchange li a.default {
  color: #1D88B9;
  font-size: 1.4rem;
  text-align: right;
  text-decoration: underline;
}
#access #accessContainer .area section .map {
  width: 60%;
}
#access #accessContainer .area section .map > * {
  height: 100%;
}
#access #accessContainer .area section .map iframe {
  height: 100%;
  min-height: 400px;
}
#access #accessContainer .area section .map .maplink a {
  display: block;
  background: #F5F5F5;
  border-radius: 8px;
  padding: 1rem 3rem 1rem;
  font-size: 1.2rem;
  text-align: right;
  text-decoration: underline;
  position: relative;
  color: #1D88B9;
}
#access #accessContainer .area section .map .maplink a:after {
  content: "";
  width: 2rem;
  aspect-ratio: 1;
  display: block;
  background: url(/lib/img/cmn/icon_arrow_03.png) no-repeat center/contain;
  position: absolute;
  right: 5px;
  top: calc(50% - 1rem);
}
@media screen and (max-width: 1024px) {
  #access #accessContainer .area section .data {
    width: 100%;
    margin-bottom: 1rem;
  }
  #access #accessContainer .area section .data .mapchange a:not(.default) dl {
    display: flex;
    gap: 1rem;
  }
  #access #accessContainer .area section .data .mapchange a:not(.default):after {
    content: "";
    width: 2rem;
    aspect-ratio: 1;
    display: block;
    background: url(/lib/img/cmn/icon_arrow_03.png) no-repeat center/contain;
    position: absolute;
    right: 5px;
    top: calc(50% - 1rem);
    transform: rotate(90deg);
  }
  #access #accessContainer .area section .map {
    width: 100%;
  }
  #access #accessContainer .area section .map iframe {
    aspect-ratio: 3/2;
    height: auto;
    min-height: 0;
  }
}
@media screen and (max-width: 768px) {
  #access #accessContainer {
    display: block;
    justify-content: space-between;
    align-items: flex-start;
  }
  #access #accessContainer .menu {
    width: 100%;
    position: relative;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #F5F5F5;
    z-index: 10;
    border-radius: 8px;
  }
  #access #accessContainer .menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 1rem;
  }
  #access #accessContainer .menu ul li {
    border-top: none;
    position: relative;
  }
  #access #accessContainer .menu ul li::before {
    display: none;
  }
  #access #accessContainer .menu ul li a {
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  #access #accessContainer .menu ul li a::after {
    transform: rotate(90deg);
  }
  #access #accessContainer .area {
    width: 100%;
  }
  #access #accessContainer .area section {
    margin-bottom: 5rem;
  }
  #access #accessContainer .area section .data .mapchange a:not(.default) dl {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1rem;
  }
  #access #accessContainer .area section .data .mapchange a:not(.default):after {
    content: "";
    width: 2rem;
    aspect-ratio: 1;
    display: block;
    background: url(/lib/img/cmn/icon_arrow_03.png) no-repeat center/contain;
    position: absolute;
    right: 5px;
    top: calc(50% - 1rem);
    transform: rotate(90deg);
  }
  #access #accessContainer .area section .map {
    width: 100%;
  }
  #access #accessContainer .area section .map iframe {
    aspect-ratio: 1/1;
  }
}

/* history
------------------------------------ */
#history #historypanel > dl {
  display: grid;
  grid-template-columns: 5em 1fr;
  gap: 1rem 0;
}
#history #historypanel > dl > dt {
  color: #1B9CD3;
  padding-right: 2rem;
  position: relative;
}
#history #historypanel > dl > dt:after {
  content: "";
  width: 1rem;
  aspect-ratio: 1;
  border-radius: 50vh;
  background: #1B9CD3;
  display: block;
  position: absolute;
  right: 0;
  top: 1rem;
}
#history #historypanel > dl > dt:before {
  content: "";
  width: 2px;
  height: calc(100% - 3rem);
  background: #1B9CD3;
  display: block;
  position: absolute;
  right: calc(0.5rem - 1px);
  top: 3rem;
}
#history #historypanel > dl > dt:last-of-type:before {
  display: none;
}
#history #historypanel > dl > dd {
  padding-left: 2rem;
}
#history #historypanel > dl > dd dl {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 0 2.5rem;
}
#history #historypanel > dl > dd dl dt {
  color: #1B9CD3;
  position: relative;
  padding-right: 6rem;
}
#history #historypanel > dl > dd dl dt:after {
  content: "";
  width: 4rem;
  height: 1px;
  border-radius: 50vh;
  background: #ddd;
  display: block;
  position: absolute;
  right: 0;
  top: 1.5rem;
}
#history #historypanel > dl > dd dl dd {
  margin-bottom: 4rem;
}
@media screen and (max-width: 768px) {
  #history #historypanel > dl {
    display: grid;
    grid-template-columns: 5em 1fr;
    gap: 1rem 0;
  }
  #history #historypanel > dl > dt {
    padding-right: 1rem;
  }
  #history #historypanel > dl > dt:after {
    top: 0.8rem;
  }
  #history #historypanel > dl > dd {
    padding-left: 2rem;
  }
  #history #historypanel > dl > dd dl {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  #history #historypanel > dl > dd dl dt {
    color: #1B9CD3;
    position: relative;
    padding-right: 6rem;
  }
  #history #historypanel > dl > dd dl dt:after {
    content: "";
    width: calc(100% - 4rem);
  }
  #history #historypanel > dl > dd dl dd {
    margin-bottom: 3rem;
  }
}

/* partner
------------------------------------ */
#partner .lead {
  color: #1B9CD3;
  font-size: clamp(1.6rem, 2.1vw, 3rem);
  text-align: center;
}
#partner #partnerpanel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 7.8%;
  margin-top: 10rem;
}
#partner #partnerpanel section {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  gap: 30px;
  padding-bottom: 10rem;
}
#partner #partnerpanel section h3 {
  order: 2;
  margin-bottom: 0;
  color: #1D88B9;
  font-size: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #F5F5F5;
  position: relative;
}
#partner #partnerpanel section h3::after {
  content: "";
  width: 10rem;
  height: 2px;
  display: block;
  position: absolute;
  left: 0;
  bottom: -2px;
  background: #1D88B9;
}
#partner #partnerpanel section .image {
  order: 1;
}
#partner #partnerpanel section .address {
  order: 3;
  margin-bottom: 0;
}
#partner #partnerpanel section .link {
  order: 4;
  margin-bottom: 0;
}
#partner #partnerpanel section .link a {
  background: #206994;
  color: #FFF;
  font-weight: 500;
  display: flex;
  padding: 2rem;
  justify-content: center;
  gap: 2rem;
  border-radius: 5px;
}
#partner #partnerpanel section .link a::before {
  content: "";
  width: 2.2rem;
  aspect-ratio: 1;
  display: block;
  background: #FFF url(/lib/img/cmn/icon_arrow_02.png) no-repeat center/contain;
  border-radius: 3px;
}
@media screen and (max-width: 768px) {
  #partner #partnerpanel {
    grid-template-columns: 1fr;
  }
  #partner #partnerpanel section {
    padding-bottom: 5rem;
  }
}

/* privacy
------------------------------------ */
#privacy section {
  margin-top: 5rem;
}
#privacy h2 {
  font-size: 2.2rem;
  color: #1D88B9;
  padding-bottom: 1rem;
  border-bottom: 1px solid #D9D9D9;
  margin-bottom: 1rem;
}
#privacy .madoguchi {
  background: #EEF6F7;
  padding: 2rem 0;
  width: fit-content;
  margin: 5rem auto;
}
#privacy .madoguchi h2 {
  font-size: 2rem;
  text-align: center;
  color: #1D88B9;
  padding-bottom: 1rem;
  border-bottom: 1px solid #FFF;
  margin-bottom: 1rem;
}
#privacy .madoguchi dl {
  text-align: center;
  width: fit-content;
  margin: 0 auto;
}
#privacy .madoguchi dl dt {
  margin-bottom: 1rem;
}
#privacy .madoguchi dl dd {
  margin-top: 1rem;
}
#privacy .madoguchi dl dd.tel {
  font-family: "Red Hat Display", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  margin-block: calc((1cap - 1lh) / 2);
  text-align: center;
  font-size: 2rem;
  color: #1D88B9;
  font-weight: 700;
}
#privacy .madoguchi dl dd.tel span {
  font-size: 2.6rem;
}
#privacy .madoguchi dl dd.form a {
  display: block;
  border-radius: 5px;
  background: #1D88B9;
  color: #FFF;
  text-align: center;
  padding: 1rem 2rem;
  margin: 0 auto;
}
#privacy .madoguchi .notes {
  margin-top: 2rem;
  padding: 0 2rem;
  font-size: 1.4rem;
}
#privacy .backpage a {
  display: block;
  border-radius: 5px;
  background: #1D88B9;
  color: #FFF;
  text-align: center;
  padding: 0.5rem 4rem;
  margin: 0;
  width: fit-content;
}