:root {
  --main: #2e75b6;
  --sub: #1b5c98;
  --btn: #f6a200;
  --bg: #f3f3f3;
}
body {
  font-family: "Roboto", "Noto Sans JP", serif;
}
.os {
  font-family: "Oswald", serif;
}
header {
  width: 100%;
  z-index: calc(infinity);
  background-color: rgb(255, 255, 255, 1);
  .logo {
    width: 200px;
  }
}

.fill-main {
  fill: var(--main);
}
.fill-sub {
  fill: var(--sub);
}
.bg-main {
  background-color: var(--main);
}
.text-main {
  color: var(--main);
}
.bg-sub {
  background-color: var(--sub);
}
.bg-btn {
  background-color: var(--btn);
}
.text-green {
  color: var(--green);
}
.bg-green {
  background-color: var(--green);
}
.text-sub {
  color: var(--sub);
}
.bg {
  background-color: var(--bg);
}
.map iframe {
  aspect-ratio: 16 / 9;
  max-width: 1000px;
  width: 100%;
  height: auto;
}
.anime {
  opacity: 0;
  transition: 0.75s;
  transform: translate3d(0, 30px, 0);
}
.anime.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.anime:nth-child(2) {
  transition-delay: 0.15s;
}
.anime:nth-child(3) {
  transition-delay: 0.3s;
}

.sp {
  width: 100%;
}
.company-block {
  padding-block: 20px;
  padding-inline: 20px;
  display: grid;
  align-items: center;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  margin-block: 5px;
}

.company-block dt {
  font-size: clamp(14px, 2.5vw, 18px);
  font-weight: 700;
}
.company-block dd {
  font-size: clamp(14px, 2.5vw, 18px);
  margin: 0;
}

.map {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  height: 0;
}
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(100%);
}

@media (width > 678px) {
  header {
    .logo {
      width: 240px;
    }
  }
  .mv {
    width: 50%;
  }
  .sp {
    width: 60%;
  }
  .map {
    padding-top: 35%;
  }
}
/*table*/
table {
  border-collapse: collapse;
  margin: 0 auto;
  padding: 0;
  width: 70%;
  table-layout: fixed;
}

table tr {
  background-color: #fff;
  border: 1px solid #bbb;
  padding: 0.35em;
}
table th,
table td {
  padding: 1em 10px 1em 1em;
  border-right: 1px solid #bbb;
}
table thead tr {
  background-color: var(--main);
}
.txt {
  text-align: left;
}
.Sample_img {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 80%;
  margin: 3em auto;
}
.Sample_img img {
  width: 45%;
  display: block;
}
@media screen and (max-width: 768px) {
  .sp {
    display: block;
  }
  .nayami_come {
    font-size: 1.5em;
  }
  .px-80s {
    padding-left: 50px;
    padding-right: 50px;
  }
  .contact_flex {
    display: block;
  }
  table {
    border: 0;
    width: 100%;
  }
  table th {
    background-color: #eee;
    display: block;
    border-right: none;
  }
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  table tr {
    display: block;
    margin-bottom: 0.625em;
  }

  table td {
    border-bottom: 1px solid #bbb;
    display: block;
    font-size: 0.8em;
    text-align: right;
    position: relative;
    padding: 0.625em 0.625em 0.625em 5em;
    border-right: none;
  }

  table td::before {
    content: attr(data-label);
    font-weight: bold;
    position: absolute;
    left: 5px;
  }

  table td:last-child {
    border-bottom: 0;
  }
}
