@charset "UTF-8";

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.4;
  color: #333;
}

body.is-fixed {
  overflow: hidden;
}

h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.3;
}

a {
  display: block;
  text-decoration: none;
  color: #333;
}

ul {
  list-style: none;
  padding-left: 1.2em;
}

ul li {
  position: relative;
}

ul li::before {
  content: "•";
  position: absolute;
  left: -1em;
  top: 0.3em;
  font-size: 0.7em;
}

.logo {
  display: block;
  width: 160px;
  height: auto;
  max-width: 100%;
}

.section-title_border {
  position: relative;
  padding-bottom: 29px;
}

.section-title_border::before {
  position: absolute;
  content: '';
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: #548f38;
}

.section-title {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.section-title__label {
  margin-right: 20px;
  color: #212121;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.section-title__heading {
  color: #212121;
  font-weight: 500;
  line-height: 1;
  text-align: left;
}

.section:nth-child(n + 2) {
  margin-top: 100px;
}

.section__container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 80px;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  background-color: #050505;
  z-index: 1;
}

.header__inner {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 60px;
}

/* ---------- Top ---------- */
.section_top {
  position: relative;
  width: 100%;
  height: 800px;
  color: #fff;
}

.section_top::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  background: url(img/bg_top.jpg) no-repeat;
  background-size: cover;
  background-position: 50%;
  filter: brightness(0.7);
  z-index: 0;
}

.section_top h1 {
  margin-bottom: 20px;
}

.section_top .sb-title {
  font-size: 18px;
  font-weight: 500;
}

.section_top .section__container {
  position: relative;
  top: 245px;
  width: 1080px;
  padding: 0 40px;
}

/* ---------- Company ---------- */
.company-item {
  display: flex;
  margin-bottom: 6px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.company-item__head,
.company-item__data {
  display: flex;
  align-items: center;
}

.company-item__head {
  justify-content: center;
  width: 240px;
  padding: 30px;
  background: #eee;
  font-weight: 400;
  text-align: center;
}

.company-item__data {
  justify-content: left;
  width: calc(100% - 240px);
  padding: 24px 30px;
  background: #fff;
}

.company-item__data--flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.company-item__list {
  padding-left: 1em;
  text-align: left;
}

.company-item__btn {
  width: 200px;
  padding: 10px 12px;
  color: #549038;
  font-size: 14px;
  text-align: center;
  border: 1px solid #559138;
  border-radius: 21px;
  transition: .4s;
}

.company-item__btn:hover {
  background: #eeeeee;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s cubic-bezier(.4,.4,0,1);
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.16);
  opacity: 0;
  transition: opacity .4s cubic-bezier(.4,.4,0,1);
}

.modal.is-open .modal__overlay {
  opacity: 1;
}

.modal__content {
  position: relative;
  top: 50%;
  left: 50%;
  width: calc(80% - 40px);
  height: calc(80% - 40px);
  max-width: 100%;
  padding: 40px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0px 6px 15px 0px rgba(0, 0, 0, 0.2);
  overflow-y: scroll;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 62px));
  transition: transform .4s cubic-bezier(.4,.4,0,1), opacity .32s cubic-bezier(.4,.4,0,1);
}

.modal.is-open .modal__content {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.modal__content * {
  transition: none !important;
}

.modal__title {
  position: relative;
  width: 100%;
  height: auto;
  max-width: 100%;
  color: #333;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.modal__title.section-title_border {
  margin-bottom: 24px;
  padding-bottom: 14px;
}

.modal__title.section-title_border::before {
  left: 50%;
  transform: translate(-50% , 0)
}

.service-item {
  display: flex;
  margin-bottom: 12px;
}

.service-item__head {
  width: 30%;
  padding: 24px;
  background: #ededed;
  font-size: 16px;
  text-align: center;
}

.service-item__data {
  width: 70%;
  padding: 24px 12px;
  background: #f4f4f4;
}

.service-item__data a {
  color: #6aa84f;
  text-decoration: underline;
  word-break: break-all;
}

/* ---------- Footer ---------- */
.footer {
  margin: 80px 0;
}

.footer__inner {
  width: fit-content;
  margin: 0 auto;
}

@media screen and (max-width: 1160px) {
  .header__inner {
    padding: 20px 40px;
  }

  .section__container {
    max-width: 100%;
  }

  .section_top::before {
    background-size: 180%;
  }

  .company-item__data--flex {
    display: block;
  }

  .company-item__btn {
    margin-top: 10px;
  }

  .modal__content {
    width: 80%;
    height: 80%;
    max-width: calc(80% - 40px);
  }

  .service-item__head {
    width: 40%;
    text-align: center;
  }

  .service-item__data {
    width: 60%;
  }
}

@media screen and (max-width: 768px) {
  .logo {
    margin: 0 auto;
  }

  .section__container {
    padding: 0px 60px;
  }

  .section_top::before {
    background-size: cover;
  }

  .section_top h1 {
    font-size: 40px;
  }

  .section-title__label,
  .section-title__heading {
    font-size: 32px;
  }

  .company-item {
    display: block;
    width: 100%;
    margin-bottom: 0;
    text-align: center;
    border-bottom: none;
  }

  .company-item:last-child {
    border-bottom: 1px solid #eee;
  }

  .company-item__head,
  .company-item__data {
    width: 100%;
    padding: 14px;
    text-align: center;
  }

  .company-item__data {
    width: fit-content;
    margin: 0 auto;
    padding: 24px 0px;
    text-align: left;
  }

  .company-item__text {
    width: fit-content;
    margin: 0 auto;
    text-align: left;
  }

  .company-item__btn {
    width: 230px;
    margin: 16px auto 0;
    padding: 10px 30px;
  }

  .modal__content {
    width: calc(80% - 48px);
    height: calc(80% - 48px);
    padding: 40px 24px;
  }

  .service-item {
    display: block;
    margin-bottom: 8px;
  }

  .service-item__head,
  .service-item__data {
    width: 100%;
    padding: 16px 12px;
  }

  .service-item__data {
    text-align: left;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 32px;
  }

  .section__container {
    width: 100%;
    padding: 0 20px;
  }

  .section-title__label,
  .section-title__heading {
    font-size: 24px;
  }

  .section_top {
    height: 700px;
  }

  .section_top::before {
    background-size: cover;
  }

  .section_top .section__container {
    top: 225px;
    padding: 0 20px;
  }

  .section_top h1 {
    font-size: 32px;
  }

  .modal__content {
    width: calc(90% - 32px);
    height: calc(80% - 32px);
    max-width: calc(90% - 32px);
    padding: 24px 16px;
  }

  .modal__title {
    font-size: 24px;
  }

  .service-item__head,
  .service-item__data {
    padding: 16px 8px;
  }
}