section#hero {
  position: relative;
}

section#hero h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  color: white;
  font-size: 30px;
  line-height: 140%;
  text-align: center;
  font-weight: 400;
  text-shadow: 0px 0px 24px 0px #3d5467;
  letter-spacing: 6%;
}

@media screen and (max-width: 768px) {
  section#hero h1 {
    font-size: 16px;
    width: 100%;
  }
}

section#hero img {
  width: 100%;
  aspect-ratio: 1440/610;
}

@media screen and (max-width: 768px) {
  section#hero img {
    aspect-ratio: 402/250;
  }
}

section#about {
  background: #f5f2ee;
  padding: 20px 170px 120px 170px;
  position: relative;
}

@media screen and (max-width: 768px) {
  section#about {
    padding: 20px 16px 274px 16px;
  }
}

section#about .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
}

@media screen and (max-width: 768px) {
  section#about .container {
    gap: 24px;
  }
}

section#about .container .title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
  padding: 24px;
}

section#about .container .title h2 {
  font-size: 50px;
  line-height: 120%;
  letter-spacing: 5%;
  font-weight: 400;
  text-align: center;
}

@media screen and (max-width: 768px) {
  section#about .container .title h2 {
    font-size: 36px;
  }
}

section#about .container .title h3 {
  font-size: 18px;
  line-height: 120%;
  font-weight: 700;
  text-align: center;
}

section#about .container .about {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
  position: relative;
}

section#about .container .about > .pc {
  display: block;
}

@media screen and (max-width: 768px) {
  section#about .container .about > .pc {
    display: none;
  }
}

section#about .container .about > .mobile {
  display: none;
}

@media screen and (max-width: 768px) {
  section#about .container .about > .mobile {
    display: block;
  }
}

section#about .container .about p {
  font-size: 18px;
  line-height: 170%;
  letter-spacing: 2%;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
}

section#about .container .about img.deco-right {
  width: 185px;
  height: auto;
  position: absolute;
  right: 0;
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
}

@media screen and (max-width: 768px) {
  section#about .container .about img.deco-right {
    width: 90px;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

section#about .container .about img.deco-left {
  width: 173px;
  height: auto;
  position: absolute;
  left: 0px;
  top: 250px;
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%);
}

@media screen and (max-width: 768px) {
  section#about .container .about img.deco-left {
    top: 0;
    width: 90px;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

section#about .container .milestones {
  max-width: 900px;
  margin: 0 auto;
}

section#about .container .milestones .items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border-bottom: 1px solid #e0dbd1;
}

section#about .container .milestones .items .item {
  padding: 12px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  border-top: 1px solid #e0dbd1;
}

@media screen and (max-width: 768px) {
  section#about .container .milestones .items .item {
    padding: 12px 8px;
  }
}

section#about .container .milestones .items .item .content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 18px;
  line-height: 120%;
  padding: 12px 8px;
}

@media screen and (max-width: 768px) {
  section#about .container .milestones .items .item .content {
    font-size: 16px;
    padding: 8px;
  }
}

section#about .container .milestones .items .item .year {
  padding: 8px 4px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 28px;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: 10%;
  text-align: right;
  font-family: Outfit, sans-serif;
  color: #aca98d;
}

@media screen and (max-width: 768px) {
  section#about .container .milestones .items .item .year {
    font-size: 20px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}

section#about img.miyoko {
  width: 150px;
  height: auto;
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(450px);
          transform: translateX(450px);
  z-index: 1;
}

@media screen and (max-width: 1235px) {
  section#about img.miyoko {
    left: unset;
    right: 0;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

@media screen and (max-width: 768px) {
  section#about img.miyoko {
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    left: 50%;
  }
}

section#about img.arc {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  section#about img.arc {
    display: none;
  }
}

section#about img.arc-mobile {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: none;
}

@media screen and (max-width: 768px) {
  section#about img.arc-mobile {
    display: block;
  }
}

section#service {
  padding: 0 170px 60px 170px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
}

@media screen and (max-width: 768px) {
  section#service {
    padding: 0 16px 60px 16px;
    gap: 24px;
  }
}

section#service > .title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
  padding: 24px;
}

@media screen and (max-width: 768px) {
  section#service > .title {
    padding: 24px 0;
  }
}

section#service > .title h2 {
  font-size: 50px;
  line-height: 120%;
  letter-spacing: 5%;
  font-weight: 400;
  text-align: center;
}

section#service > .title h3 {
  font-size: 18px;
  line-height: 120%;
  font-weight: 700;
  text-align: center;
}

section#service > .items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 60px;
}

section#service > .items .item {
  max-width: 1100px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 40px;
}

@media screen and (max-width: 768px) {
  section#service > .items .item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
  }
}

section#service > .items .item .content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
  padding: 40px 40px 80px 40px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  position: relative;
}

@media screen and (max-width: 768px) {
  section#service > .items .item .content {
    padding: 20px 40px;
    gap: 20px;
  }
}

section#service > .items .item .content > .title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
  gap: 16px;
}

section#service > .items .item .content > .title h4 {
  font-size: 30px;
  line-height: 140%;
  font-weight: 400;
  letter-spacing: 10%;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  section#service > .items .item .content > .title h4 {
    font-size: 20px;
  }
}

section#service > .items .item .content > .title h5 {
  font-size: 17px;
  line-height: 170%;
  font-weight: 700;
  letter-spacing: 10%;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  section#service > .items .item .content > .title h5 {
    font-size: 15px;
  }
}

section#service > .items .item .content > .title > img {
  width: 78px;
  height: auto;
  position: absolute;
  top: 0;
  right: 0;
}

@media screen and (max-width: 768px) {
  section#service > .items .item .content > .title > img {
    width: 60px;
  }
}

section#service > .items .item .content > .title img.car {
  width: 111px;
  height: auto;
  bottom: 0;
  top: unset;
  right: 90px;
}

@media screen and (max-width: 768px) {
  section#service > .items .item .content > .title img.car {
    width: 81px;
    right: 60px;
  }
}

section#service > .items .item .content .links {
  margin-top: 80px;
}

@media screen and (max-width: 768px) {
  section#service > .items .item .content .links {
    margin-top: 0;
  }
}

section#service > .items .item .content .links a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  color: black;
  padding: 8px 0;
  text-decoration: none;
  border-bottom: 1px solid black;
}

@media screen and (max-width: 768px) {
  section#service > .items .item .content .links a {
    padding: 8px;
  }
}

section#service > .items .item .content .links a span {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 20px;
  line-height: 120%;
  font-weight: 600;
  letter-spacing: 5%;
}

section#service > .items .item .image {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

section#service > .items .item .image img {
  width: 100%;
  height: auto;
  aspect-ratio: 530/300;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 20px;
}

section#follow {
  position: relative;
}

section#follow img.background {
  width: 100%;
  height: auto;
  aspect-ratio: 1440/728;
  -o-object-fit: cover;
     object-fit: cover;
}

@media screen and (max-width: 768px) {
  section#follow img.background {
    display: none;
  }
}

section#follow img.background-mobile {
  display: none;
}

@media screen and (max-width: 768px) {
  section#follow img.background-mobile {
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
  }
}

section#follow .content {
  width: 100%;
  height: 85%;
  position: absolute;
  top: 15%;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 24px;
}

@media screen and (max-width: 768px) {
  section#follow .content {
    position: relative;
    padding: 20px 16px 40px 16px;
    height: auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

section#follow .content .title {
  -webkit-box-flex: .5;
      -ms-flex: .5;
          flex: .5;
}

@media screen and (max-width: 768px) {
  section#follow .content .title {
    -webkit-box-flex: unset;
        -ms-flex: unset;
            flex: unset;
    padding: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 12px;
  }
}

section#follow .content .title h2,
section#follow .content .title h3 {
  text-align: center;
}

section#follow .content .title h2 {
  font-size: 50px;
  line-height: 120%;
  letter-spacing: 5%;
  font-weight: 400;
}

section#follow .content .title h3 {
  font-size: 18px;
  line-height: 120%;
  font-weight: 700;
}

section#follow .content .facebook,
section#follow .content .instagram {
  -webkit-box-flex: .33;
      -ms-flex: .33;
          flex: .33;
  height: 100%;
  padding: 0 12px;
}

@media screen and (max-width: 768px) {
  section#follow .content .facebook,
  section#follow .content .instagram {
    padding: 0;
  }
}

section#follow .content .facebook > div,
section#follow .content .facebook > div > span,
section#follow .content .facebook iframe,
section#follow .content .instagram > div,
section#follow .content .instagram > div > span,
section#follow .content .instagram iframe {
  width: 100% !important;
  height: 40.5dvw !important;
}

@media screen and (max-width: 768px) {
  section#follow .content .facebook > div,
  section#follow .content .facebook > div > span,
  section#follow .content .facebook iframe,
  section#follow .content .instagram > div,
  section#follow .content .instagram > div > span,
  section#follow .content .instagram iframe {
    height: 500px !important;
  }
}

