/* # =================================================================
   # outline
   # ================================================================= */

.pageHero-h2 {
  margin-bottom: 5rem;
}

.outline__head_table {
  background: #fff;
  border-collapse: collapse;
  border-radius: 1.5rem 1.5rem 0 1.5rem;
  font-size: 1.6rem;
  line-height: 1.875;
  margin-top: 1.3888888888888888vw;
  margin-bottom: 3.680555555555556vw;
  overflow: hidden;
  width: 100%;
}

.outline__head_table tr {
  border-bottom: #bfbfbf solid 1px;
}

.outline__head_table tr:last-child {
  border-bottom: none;
}

.outline__head_table th {
  background: #0f7f4b;
  color: #fff;
  font-weight: 700;
  text-align: left;
  line-height: 1.4;
  padding: 0.6944444444444444vw 4rem;
  width: 25.5rem;
}

.outline__head_table td {
  padding: 1.6rem 2.5rem;
  width: calc(100% - 25.5rem);
}

.outline__inner_block {
  background: #fff;
  border-radius: 15px;
  padding: 3.2638888888888893vw 2.7777777777777777vw;
  overflow: hidden;
}

.outline__group {
  border-radius: 15px 15px 0 0;
  margin-bottom: 1.7361111111111112vw;
  margin-left: 2.7777777777777777vw;
  margin-right: 2.7777777777777777vw;
  overflow: hidden;
}

.outline__group dt {
  color: #3c1f15;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 56px;
  padding: 0 1.66rem;
  display: flex;
  align-items: center;
}

.outline__group dt span {
  display: inline-block;
  margin-right: 10px;
  width: 3.36rem;
}

.outline__group a {
  display: block;
  background: url(../../images/outline/arrow_link.png) center right 16px no-repeat;
}

.outline__group dd ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  border-bottom: 1px solid #d9d9d9;
}

.outline__group dd ul li {
  flex-shrink: 0;
  border-bottom: #d9d9d9 solid 1px;
  border-right: #d9d9d9 dotted 1px;
  width: calc(100% / 3);
  @media screen and (min-width: 768px) {
    &:nth-last-child(1):nth-child(3n),
    &:nth-last-child(2):nth-child(3n-1),
    &:nth-last-child(3):nth-child(3n-2),
    &:nth-last-child(1):nth-child(3n + 1),
    &:nth-last-child(1):nth-child(3n + 2),
    &:nth-last-child(2):nth-child(3n + 1) {
      border-bottom: none;
    }
  }
}

.outline__group dd ul li:nth-child(3),
.outline__group dd ul li:nth-child(6),
.outline__group dd ul li:nth-child(9) {
  border-right: none;
}

.outline__group dd ul li a {
  padding-inline: 2.3rem 4rem;
  min-height: 8.5rem;
  display: flex;
  align-items: center;
  letter-spacing: 0.07em;
  transition: 0.3s;
}

@media (hover: hover) {

  .outline__group a:hover {
    background-color: var(--hover-bg, transparent);
  }
}

.gmap {
  margin-bottom: 1.25rem;
}

.history {
  margin-top: 5.3rem;
}

.outline__table_history {
  font-size: 1.6rem;
  line-height: 1.875;
}

.outline__table_history tr {
  border-bottom: #e9e9e9 solid 1px;
}

.outline__table_history th,
.outline__table_history td {
  letter-spacing: 0.54px;
  padding: 0.75rem 0;
  vertical-align: top;
}

.outline__table_history th {
  text-align: left;
  width: 19.2rem;
}

.sect-access {
  margin-top: 4.4rem;
}

.sp_only {
  display: none;
}

@media screen and (max-width: 767px) {
  .container1040 {
    padding-inline: 3rem;
  }
  .pageHero-h2 {
    margin-bottom: 1.9rem;
    padding-block: 0 1.5rem;
  }
  .outline__head_table,
  .outline__head_table tbody,
  .outline__head_table tr,
  .outline__head_table th,
  .outline__head_table td {
    display: block;
    width: 100%;
  }
  .outline__head_table {
    border-radius: 1.5rem 1.5rem 0 0;
    margin-bottom: 4.5rem;
  }
  .outline__head_table th {
    padding: 0.5rem 1.9rem;
    line-height: 10.133333333333333vw;
  }

  .outline__head_table tr:nth-child(n + 1) th {
    padding-block: 0.2rem;
  }

  .outline__head_table td {
    padding: 1.3rem;
  }

  .outline__head_table tr:nth-last-child(1) td {
    border-bottom: 1px solid #bfbfbf;
  }

  .sect-group-company {
    position: relative;
  }

  .sect-group-company::before {
    aspect-ratio: 591/1921;
    content: "";
    background: url(../../images/common/img_bg_right-tree-3-sp.png) no-repeat center center / contain;
    width: 20rem;
    position: absolute;
    top: -13rem;
    right: -3rem;
    z-index: -1;
  }

  .sect-group-company::after {
    aspect-ratio: 332/1214;
    content: "";
    background: url(../../images/common/img_bg_right-tree-4-sp.png) no-repeat center center / contain;
    width: 20rem;
    position: absolute;
    top: 60rem;
    right: -5rem;
    z-index: -1;
  }

  .outline__group {
    margin-bottom: 5.333333333333334vw;
    margin-left: 0;
    margin-right: 0;
  }
  .outline__group dt {
    padding: 1.4rem 2.2rem 1.4rem 1.4rem;
    line-height: 1.4;
  }
  .outline__group dd ul {
    display: block;
  }
  .outline__group dd ul li {
    border-right: none;
    width: 100%;
  }
  .outline__group dd ul li a {
    background: url(../../images/outline/arrow_link.png) center right 10px no-repeat;
    padding: 1.5rem 0.8rem;
    min-height: 6rem;
    display: block;
  }
  .pc_only {
    display: none;
  }
  .sp_only {
    display: block;
  }
  .outline__inner_block {
    margin-bottom: 4.8rem;
    padding: 4vw;
  }
  .outline__table_history th {
    display: block;
    padding-bottom: 0;
    width: 100%;
  }
  .outline__table_history td {
    display: block;
    padding-top: 0;
    width: 100%;
  }
  .gmap iframe {
    height: 256px !important;
  }

  .sect-access {
    position: relative;
  }

  .sect-access::before {
    aspect-ratio: 591/1921;
    content: "";
    background: url(../../images/common/img_bg_right-tree-5-sp.png) no-repeat center center / contain;
    width: 23rem;
    position: absolute;
    top: -30rem;
    right: -3rem;
    z-index: -1;
  }
}
