:root {
  --font-main: normal 500 18px/1.6 "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  --font-title: normal 500 32px/1.4 "Source Han Code JP", sans-serif;
  --color-green: #3B8063;
  --color-light_green: #CFDD4C;
  --color-yellow: #f5d800;
  --color-gray: #F8F9FA;
  --color-dark_gray: #4E514F;
  --color-bg: #fff;
  --color-text: #171717;
}

.my-body {
  font: var(--font-main);
  color: var(--color-text);
  padding-top: 80px;
}

.my-container {
  position: relative;
  max-width: 1040px;
  padding: 0 20px;
  margin: 0 auto;
}

.my-header {
  background: #fff;
  z-index: 2;
}

.my-header .navbar {
  padding: 0;
}

.my-header .container-fluid {
  min-height: 80px;
}

.my-header .navbar-brand img {
  width: 180px;
}

.my-header .navbar-toggler {
  border: 0;
}

.my-header .navbar-toggler-icon {
  width: 40px;
}

.my-header-contact {
  font-weight: bold;
  background-color: var(--color-light_green);
  padding: 5px 20px;
  border-radius: 20px;
  white-space: nowrap;
}

.my-footer {
  background: var(--color-green);
  padding: 75px 0 20px;
  font-size: 16px;
  color: #fff;
}

.my-footer .my-container > small {
  display: block;
  font-size: 14px;
  margin-top: 70px;
  text-align: center;
}

.my-footer-cols {
  display: flex;
}

.my-footer-cols > div {
  width: 50%;
}

.my-footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 270px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
}

.my-footer-logo > img {
  display: block;
  width: 100%;
}

.my-footer-company > a:first-child > img {
  display: block;
  width: 284px;
  margin-bottom: 30px;
}

.my-footer-company > a {
  color: inherit;
  text-decoration: none;
}

.my-footer-company > a:hover {
  text-decoration: underline;
}

.my-sec {
  position: relative;
  overflow: hidden;
}

.my-bg-gray {
  background: var(--color-gray);
  --color-bg: var(--color-gray);
}

.my-title {
  text-align: center;
  margin: 100px 0 60px;
  border-bottom: 1px solid var(--color-green);
}

.my-title > small {
  display: block;
  font-size: 22px;
  color: var(--color-green);
}

.my-title > strong {
  display: block;
  font-size: 32px;
  color: var(--color-dark_gray);
}

.my-lead {
  font-size: 30px;
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: var(--color-dark_gray);
  text-align: center;
  background: url(../img/bg-lead.png), url(../img/bg-lead.png);
  background-position: left top, right bottom;
  background-repeat: no-repeat, no-repeat;
  margin: 130px 0 100px;
}

.my-lead strong {
  background: var(--color-yellow);
}

.my-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 20px;
  list-style: none;
  padding: 0;
}

.my-cards > li {
  width: 32%;
}

.my-cards > li > img {
  width: 100%;
}

.my-steps {
  display: block;
  list-style: none;
  padding: 0;
}

.my-steps > li {
  position: relative;
  padding: 50px 0;
}

.my-steps > li + li {
  border-top: 1px solid var(--color-light_green);
}

.my-steps > li + li::before,
.my-steps > li + li::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 26px 15px 0 15px;
  border-color: var(--color-light_green) transparent transparent transparent;
}

.my-steps > li + li::after {
  margin-top: -2px;
  border-color: var(--color-bg) transparent transparent transparent;
}

.my-steps dt {
  display: flex;
  align-items: end;
  margin-bottom: 20px;
}

.my-steps dt > strong {
  text-align: center;
  font-size: 44px;
  line-height: 1.1;
  margin-right: 12px;
  color: var(--color-green);
}

.my-steps dt > strong > small {
  display: block;
  font-size: 18px;
  font-weight: normal;
  color: var(--color-text);
}

.my-steps dt > span {
  font-size: 24px;
  color: var(--color-dark_gray);
}

.my-steps dd > img {
  display: block;
  width: 75%;
  margin: 0 auto 20px;
}

.my-tel {
  background: url(../img/bg-tel.jpg) center center no-repeat;
  background-size: cover;
}

.my-tel .my-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 280px;
  color: #fff;
}

.my-tel p {
  font: var(--font-title);
  font-size: 25px;
  margin: 0;
}

.my-tel a {
  padding-left: 47px;
  background: url(../img/icon-tel.svg) 0 center no-repeat;
  background-size: 35px auto;
  font-size: 50px;
  font-weight: bold;
  color: inherit;
  text-decoration: none;
}

.my-tel small {
  font-size: 15px;
}

#sec0 {
  padding: 130px 0;
}

#sec0 > div {
  overflow: hidden;
  background: var(--color-green);
  width: calc(50% + 290px);
  padding-left: 290px;
  padding-right: calc(50% - 500px);
  margin-left: auto;
  text-align: center;
  color: #fff;
}

#sec0 dl {
  margin: 84px 30px 100px;
}

#sec0 dt > small {
  display: block;
  font-size: 22px;
  font-weight: normal;
  color: var(--color-light_green);
  margin-bottom: 10px;
}

#sec0 dt > strong {
  display: block;
  font: var(--font-title);
  font-size: 35px;
  margin-bottom: 40px;
}

#sec0 dd > img {
  display: block;
  width: 284px;
  margin: 70px auto 0;
}

#sec0 > img {
  content: '';
  position: absolute;
  top: 210px;
  right: 50%;
  max-width: 640px;
  width: 50%;
}

#sec1 {
  background: url(../img/bg-sec1.png);
  padding-bottom: 110px;
}

#sec2 {
  padding-bottom: 110px;
}

#sec2 .my-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 1rem;
}

#sec2 .my-container > a {
  width: 48%;
  text-align: right;
  color: inherit;
  text-decoration: none;
}

#sec2 .my-container > a:hover {
  text-decoration: underline;
}

#sec2 .my-container > a > img {
  display: block;
  width: 100%;
}

#sec3 {
  padding-bottom: 95px;
}

#contact {
  padding-bottom: 80px;
}

#contact .my-title {
  border: 0;
}

#contact .my-contact-description {
  max-width: 760px;
  margin: 50px auto 45px;
  font-size: 14px;
}

#contact .my-contact-description p {
  text-align: center;
}

#contact .my-contact-description-list {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  border: 1px solid #707070;
  padding: 10px;
}

#contact .my-contact-description-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#contact .my-contact-description-list li {
  display: flex;
}

#contact .my-contact-description-list li::before {
  content: '✓ ';
}

#contact .my-contact-info {
  font-size: 13px;
  border-radius: 3px;
  background: #ffc;
  border: 1px solid #707070;
  padding: 15px;
  margin-top: 20px;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .my-steps > li {
    padding-right: 50%;
    min-height: 350px;
  }

  .my-steps dt {
    margin-bottom: 30px;
  }

  .my-steps dt > strong {
    font-size: 50px;
    margin-right: 15px;
  }

  .my-steps dt > strong > small {
    font-size: 22px;
  }

  .my-steps dt > span {
    font-size: 26px;
  }

  .my-steps dd > img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 60%;
    margin: auto 0;
    width: 30%;
  }

}

/* `md` applies to small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  :root {
    --font-main: normal 500 16px/1.6 "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    --font-title: normal 500 26px/1.4 "Source Han Code JP", sans-serif;
  }

  .my-container {
    padding: 0 15px;
  }

  .my-footer {
    padding: 70px 0 15px;
    font-size: 14px;
  }

  .my-footer .my-container > small {
    margin-top: 45px;
  }

  .my-footer-cols {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }

  .my-footer-cols > div {
    width: 100%;
  }

  .my-footer-logo {
    width: 255px;
    font-size: 13px;
    margin: 0 auto;
  }

  .my-footer-company {
    max-width: 270px;
    margin: 0 auto;
  }

  .my-footer-company > a:first-child > img {
    width: 255px;
    margin: 0 auto 15px;
  }

  .my-lead {
    font-size: 18px;
    background-size: 41px auto, 41px auto;
    margin: 60px 0;
  }

  .my-cards {
    row-gap: 30px;
  }

  .my-cards > li {
    width: 100%;
  }

  .my-tel {
    background-image: url(../img/bg-tel-sp.jpg);
  }

  .my-tel p {
    font-size: 16px;
  }

  .my-tel a {
    padding-left: 35px;
    background-size: 26px auto;
    font-size: 36px;
  }

  .my-tel a > svg {
    width: 26px;
  }

  .my-tel small {
    font-size: 14px;
  }

  #sec0 {
    padding:0 0 48vw;
  }

  #sec0 > div {
    width: auto;
    padding-left: 15px;
    padding-right: 15px;
  }

  #sec0 dl {
    margin: 90px 0 48vw;
  }

  #sec0 dt > small {
    font-size: 16px;
  }

  #sec0 dt > strong {
    font-size: 28px;
  }

  #sec0 dd > img {
    width: 216px;
    margin-top: 60px;
  }

  #sec0 > img {
    top: auto;
    right: 15px;
    left: 15px;
    bottom: 18vw;
    max-width: none;
    width: calc(100% - 30px);
  }

  #sec1 {
    padding-bottom: 80px;
  }

  #sec2 {
    padding-bottom: 80px;
  }

  #sec2 .my-container {
    flex-direction: column;
    gap: 25px;
  }

  #sec2 .my-container > a {
    width: 100%;
  }

  #sec3 {
    padding-bottom: 70px;
  }

  #contact {
    padding-bottom: 60px;
  }

  #contact .my-title {
    margin-bottom: 30px;
  }

  #contact .my-title > strong {
    font-size: 26px;
  }

  #contact .my-contact-description {
    margin: 30px auto 35px;
  }

  #contact .my-contact-description p {
    text-align: left;
  }

  #contact .my-contact-description-list {
    margin-top: 25px;
    padding: 15px 10px;
    font-size: 12px;
  }

}
