@charset "UTF-8";
html {
  font-size: 20px;
}
@media screen and (max-width: 1365px) {
  html {
    font-size: 18px;
  }
}
@media screen and (max-width: 767px) {
  html {
    font-size: 16px;
  }
}
@media screen and (max-width: 427px) {
  html {
    font-size: 14px;
  }
}

@font-face {
  font-family: "main-visual-font";
  src: url("AkazukiPOP.otf");
}
@font-face {
  font-family: "main-font";
  src: url("SourceHanSans/SourceHanSansJP-Bold.otf"), url("SourceHanSans/SourceHanSansJP-normal.otf");
}
body {
  color: #373737;
  font-family: "main-font", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

a {
  cursor: pointer;
}

p {
  font-size: 1rem;
}

p,
li {
  line-height: 1.75;
}

.pc {
  height: auto;
  opacity: 1;
  visibility: visible;
}
@media screen and (max-width: 1365px) {
  .pc {
    border: 0;
    height: 0;
    opacity: 0;
    visibility: hidden;
    padding: 0;
    margin: 0;
  }
}

.sp {
  border: 0;
  height: 0;
  opacity: 0;
  visibility: hidden;
  padding: 0;
  margin: 0;
}
@media screen and (max-width: 1365px) {
  .sp {
    height: auto;
    opacity: 1;
    visibility: visible;
  }
}

.sp-only {
  display: none;
}
@media screen and (max-width: 767px) {
  .sp-only {
    display: block;
  }
}

img {
  height: auto;
  width: 100%;
}

.hide {
  border: 0;
  opacity: 0;
  visibility: hidden;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

dl {
  border: 1px solid #d9d9d9;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px auto;
  text-align: center;
}
dl dt {
  align-items: center;
  background-color: #f53bb0;
  border-right: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  display: flex;
  padding: 15px 0 15px 10px;
  width: 30%;
}
@media screen and (max-width: 1365px) {
  dl dt {
    text-align: left;
    padding-left: 16px;
    width: 25%;
  }
}
dl dt:last-of-type {
  border-bottom: 0;
}
dl dd {
  background-color: #ff70e7;
  color: white;
  border-bottom: 1px solid #d9d9d9;
  padding: 15px 0 15px 20px;
  text-align: left;
  width: 70%;
}
@media screen and (max-width: 1365px) {
  dl dd {
    width: 75%;
  }
}
dl dd:last-of-type {
  border-bottom: 0;
}

ol li {
  border-bottom: 1px dotted;
  padding: 10px 5px;
}

.sub-title {
  color: #f53bb0;
  font-size: min(7vw, 48px);
  display: flex;
  font-weight: bold;
  justify-content: center;
  margin: 0 auto;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

.inner-wrap {
  text-align: center;
}

header,
.section-wrap {
  margin: 0 auto;
  max-width: 1366px;
  padding: 0 1rem;
}
@media screen and (max-width: 1365px) {
  header,
.section-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.detail-link {
  text-align: center;
  width: 100%;
}
.detail-link a,
.detail-link button {
  border: 3px solid black;
  border-radius: 30px;
  color: black;
  background-color: white;
  font-size: 20px;
  display: inline-block;
  font-weight: bold;
  padding: 7.75px 0;
  position: relative;
  transition: all 0.3s;
  width: 420px;
}
@media screen and (max-width: 1365px) {
  .detail-link a,
.detail-link button {
    border: 2px solid black;
    font-size: 12px;
    padding: 5px 0;
    width: 250px;
  }
}
.detail-link a::before,
.detail-link button::before {
  content: "";
  background-image: url(../img/arrow1.png);
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  height: 25px;
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  width: 13.3px;
}
@media screen and (max-width: 1365px) {
  .detail-link a::before,
.detail-link button::before {
    height: 17px;
    width: 9px;
  }
}

.common-btn {
  background-color: #f53bb0;
  border: 2px solid #f53bb0;
  display: inline-block;
  font-size: 1.2rem;
  color: white;
  margin-top: 60px;
  padding: 20px 30px;
  transition: all 0.3s;
  width: min(57vw, 300px);
}
.common-btn:hover {
  background-color: white;
  color: #f53bb0;
}

header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 1rem 1rem 0 1rem;
}
header h1 {
  background-color: #f53bb0;
  color: white;
  font-weight: bold;
  font-size: min(7vw, 48px);
  padding: 10px 20px;
}
header nav.active {
  opacity: 1;
  visibility: visible;
  width: 350px;
  left: 0;
}
@media screen and (max-width: 1365px) {
  header nav {
    background-color: white;
    font-size: 1rem;
    height: 100vh;
    left: -10%;
    position: fixed;
    top: 0;
    opacity: 0;
    transition: all 0.5s;
    visibility: hidden;
    width: 0;
    z-index: 99;
  }
}
header ul {
  display: flex;
  gap: 0 20px;
}
@media screen and (max-width: 1365px) {
  header ul {
    align-items: center;
    flex-direction: column;
    gap: 50px 10px;
    height: 100%;
    padding-top: 40px;
  }
}
header .ham,
header .ham2 {
  background-color: white;
  border: 1px solid #a6a3a3;
  border-radius: 20px;
  cursor: pointer;
  height: 0;
  position: fixed;
  top: 10px;
  right: 40px;
  height: 100px;
  width: 100px;
  z-index: 99;
}
@media screen and (max-width: 767px) {
  header .ham,
header .ham2 {
    border-radius: 10px;
    height: 40px;
    right: 20px;
    top: 7px;
    width: 40px;
  }
}
header .ham span,
header .ham2 span {
  background-color: #a6a3a3;
  border-radius: 5px;
  height: 2px;
  left: 50%;
  position: absolute;
  transform: translate(-50%, 0);
  width: 60px;
}
@media screen and (max-width: 767px) {
  header .ham span,
header .ham2 span {
    width: 20px;
  }
}
header .ham span:nth-of-type(1),
header .ham2 span:nth-of-type(1) {
  top: 30%;
}
header .ham span:nth-of-type(2),
header .ham2 span:nth-of-type(2) {
  top: 50%;
}
header .ham span:nth-of-type(3),
header .ham2 span:nth-of-type(3) {
  top: 70%;
}
header .ham.active span,
header .ham2.active span {
  left: 0;
  width: 70px;
}
@media screen and (max-width: 767px) {
  header .ham.active span,
header .ham2.active span {
    width: 20px;
  }
}
header .ham.active span:nth-of-type(1),
header .ham2.active span:nth-of-type(1) {
  transform: translateY(-50%) rotate(45deg);
  top: 50%;
  left: 15%;
}
@media screen and (max-width: 767px) {
  header .ham.active span:nth-of-type(1),
header .ham2.active span:nth-of-type(1) {
    left: 23%;
  }
}
header .ham.active span:nth-of-type(2),
header .ham2.active span:nth-of-type(2) {
  width: 0;
}
header .ham.active span:nth-of-type(3),
header .ham2.active span:nth-of-type(3) {
  transform: translateY(-50%) rotate(-45deg);
  top: 50%;
  left: 15%;
}
@media screen and (max-width: 767px) {
  header .ham.active span:nth-of-type(3),
header .ham2.active span:nth-of-type(3) {
    left: 23%;
  }
}
header .ham.hide,
header .ham2.hide {
  opacity: 0;
  visibility: hidden;
}
header .ham2 {
  display: none;
}
header .ham2.active {
  display: block;
}

#loading {
  background-color: white;
  position: fixed;
  height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
  color: #f53bb0;
  z-index: 99;
  transition: all 1s;
}
#loading.close {
  opacity: 0;
  visibility: 0;
  z-index: -1;
}
#loading::after {
  content: "庄建リフォーム";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%);
  font-size: min(7vw, 48px);
}

main #main {
  background-image: url(../img/main.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right top;
  height: 700px;
  position: relative;
}
@media screen and (max-width: 1365px) {
  main #main {
    background-position: left;
    background-size: cover;
    height: 650px;
  }
}
@media screen and (max-width: 767px) {
  main #main {
    background-position: bottom;
    background-image: url(../img/main-sm.png);
    background-color: rgba(255, 255, 255, 0.6);
    background-blend-mode: color;
    height: 550px;
  }
}
main #main::before {
  content: "";
  background-image: url(../img/ceo1-1.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 55%;
  right: 400px;
  transform: translateY(-50%);
  height: 300px;
  width: 200px;
}
@media screen and (max-width: 1365px) {
  main #main::before {
    top: 100px;
    right: 0px;
    height: 155px;
    width: 100px;
  }
}
main #main::after {
  content: "";
  background-image: url(../img/ceo1-2.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 70%;
  transform: translateY(-50%);
  right: 0;
  height: 400px;
  width: 200px;
}
@media screen and (max-width: 1365px) {
  main #main::after {
    height: 250px;
    width: 120px;
  }
}
main #main h2 {
  font-family: "main-visual-font";
  font-size: min(7vw, 48px);
  letter-spacing: 10px;
  line-height: 1.75;
  position: absolute;
  top: 380px;
  transform: translateY(-50%);
  left: 10%;
}
@media screen and (max-width: 1365px) {
  main #main h2 {
    top: 280px;
  }
}
@media screen and (max-width: 767px) {
  main #main h2 {
    top: 250px;
  }
}
main #main h2 span {
  color: #f53bb0;
  font-size: calc(min(7vw, 48px) + 15px);
}
main #greeting {
  background-color: #f53bb0;
  text-align: center;
  color: white;
  padding-bottom: 70px;
}
main #greeting h2 {
  color: white;
  padding: 3rem 0 2rem;
}
main #service h2 {
  padding: 4rem 0 4rem;
  text-align: left;
  margin: 0 0 0 0;
  position: relative;
}
main #service h2::before {
  content: "";
  background-image: url(../img/service-border.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  bottom: -8rem;
  height: 100%;
  left: 0;
  width: 600px;
  z-index: -1;
}
@media screen and (max-width: 767px) {
  main #service h2::before {
    left: -2rem;
    width: 350px;
  }
}
main #service h2::after {
  content: "";
  background-image: url(../img/service-border.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: -2rem;
  height: 100%;
  left: -2rem;
  width: 600px;
  z-index: -1;
}
@media screen and (max-width: 767px) {
  main #service h2::after {
    width: 350px;
  }
}
main #service .contents {
  align-items: center;
  display: flex;
  gap: 0 2rem;
  justify-content: space-between;
  position: relative;
  top: -4rem;
}
@media screen and (max-width: 1365px) {
  main #service .contents {
    flex-direction: column;
  }
}
main #service .contents .content {
  width: 50%;
}
@media screen and (max-width: 1365px) {
  main #service .contents .content {
    width: 100%;
  }
}
main #service .contents .content ul li {
  border-top: 1px solid #d9d9d9;
  display: flex;
  padding: 1rem;
  gap: 0 1rem;
}
main #service .contents .content ul li:last-of-type {
  border-bottom: 1px solid #d9d9d9;
}
main #service .contents .content ul li img {
  border-radius: 10px;
  height: 150px;
  flex-shrink: 0;
  -o-object-fit: cover;
     object-fit: cover;
  width: 150px;
}
main #service .contents .content ul li .texts {
  width: 80%;
}
main #service .contents .content ul li .texts h3 {
  color: #f53bb0;
  font-size: min(5vw, 24px);
}
main #service .contents .content.left {
  margin-top: 10rem;
}
main #ex {
  padding-bottom: 2rem;
}
main #ex h2 {
  padding-bottom: 2rem;
  font-size: min(7vw, 48px);
}
main #ex h3 {
  color: #f53bb0;
  font-size: min(6vw, 32px);
  padding-top: 2rem;
  padding-bottom: 3rem;
}
main #ex .swiper {
  padding-bottom: 3rem;
}
main #ex .swiper .swiper-button-next,
main #ex .swiper .swiper-button-prev {
  background-color: #f53bb0;
  height: 40px;
  width: 40px;
}
@media screen and (max-width: 1365px) {
  main #ex .swiper .swiper-button-next,
main #ex .swiper .swiper-button-prev {
    height: 30px;
    width: 30px;
  }
}
main #ex .swiper .swiper-button-next,
main #ex .swiper .swiper-button-prev {
  color: white;
  border-radius: 50%;
  padding: 33px;
}
@media screen and (max-width: 1365px) {
  main #ex .swiper .swiper-button-next,
main #ex .swiper .swiper-button-prev {
    padding: 15px;
  }
}
main #ex .swiper .swiper-button-next:after,
main #ex .swiper .swiper-button-prev:after {
  font-size: 35px;
}
@media screen and (max-width: 1365px) {
  main #ex .swiper .swiper-button-next:after,
main #ex .swiper .swiper-button-prev:after {
    font-size: 15px;
  }
}
main #ex .swiper-slide {
  border: 1px solid #d9d9d9;
  border-radius: 20px;
  box-shadow: 1px 1px 1px 1px gray;
  padding: 1rem;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
main #ex .swiper-slide img {
  -o-object-fit: cover;
     object-fit: cover;
}
main #ex .swiper-scrollbar {
  height: 20px;
}
main #process {
  padding-bottom: 7rem;
  background-image: url(../img/process.jpg);
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
}
main #process h2 {
  background-color: #f53bb0;
  padding: 3rem 0;
  color: white;
  width: 100%;
}
main #process .contents {
  display: flex;
  margin-bottom: 1rem;
  gap: 0 20px;
  position: relative;
}
@media screen and (max-width: 1365px) {
  main #process .contents {
    flex-wrap: wrap;
  }
}
main #process .contents .content {
  display: flex;
  flex-direction: column;
  width: 25%;
}
@media screen and (max-width: 1365px) {
  main #process .contents .content {
    width: 100%;
  }
}
main #process .contents .content h4 {
  color: white;
  text-align: center;
  background-color: #f53bb0;
  border-radius: 20px;
  font-size: calc(min(5vw, 16px) + 1px);
  padding: 10px 0;
  position: relative;
  z-index: 50;
  margin: 0 auto 1rem;
  width: 75%;
}
main #process .contents .content img {
  margin-bottom: 1rem;
  -o-object-fit: contain;
     object-fit: contain;
  text-align: center;
  height: 200px;
}
main #process .contents .content p {
  background-color: white;
  border-radius: 20px;
  font-size: min(5vw, 16px);
  padding: 5%;
  position: relative;
  min-height: 10rem;
  top: -30px;
  z-index: 49;
}
main #process .contents.top {
  padding: 4rem 0 4rem;
}
main #process .contents.top::after {
  content: "";
  background-image: url(../img/process-border.png);
  background-repeat: no-repeat;
  height: 40px;
  position: absolute;
  bottom: 0;
  width: 100%;
}
main #process .contents.btm::after {
  content: "";
  background-image: url(../img/process-border.png);
  background-repeat: no-repeat;
  height: 40px;
  position: absolute;
  bottom: -70px;
  width: 100%;
}
main #process .contents.btm p {
  min-height: 100px;
}
main #ceo {
  background-image: url(../img/ceo.png);
  padding: 5rem 0;
}
@media screen and (max-width: 1365px) {
  main #ceo {
    padding: 3rem 0;
  }
}
main #ceo .contents {
  display: flex;
  gap: 0 4rem;
}
@media screen and (max-width: 1365px) {
  main #ceo .contents {
    flex-direction: column;
  }
}
main #ceo .contents .content {
  gap: 1rem;
  width: 50%;
}
@media screen and (max-width: 1365px) {
  main #ceo .contents .content {
    width: 100%;
  }
}
main #ceo .contents .content.right h2 {
  margin: 0 auto 0 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
main #ceo .contents .content.right p {
  font-size: min(5vw, 24px);
  line-height: 1.5;
}
@media screen and (max-width: 1365px) {
  main #ceo .contents .content.left {
    padding-bottom: 2rem;
  }
}
main #ceo .contents .content.left p {
  font-size: min(5vw, 16px);
}
main #ceo .contents .content.left img {
  height: 600px;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: top;
     object-position: top;
}
@media screen and (max-width: 1365px) {
  main #ceo .contents .content.left img {
    height: 400px;
  }
}
main #ceo .contents .content h3 {
  font-size: min(6vw, 32px);
  color: #f53bb0;
  padding: 1rem 0;
}

footer {
  background-color: #f53bb0;
  color: white;
  padding: 3rem 0 1rem;
}
footer h1 {
  font-size: min(6vw, 32px);
}
@media screen and (max-width: 1365px) {
  footer h1 {
    display: none;
  }
}
footer .contents {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 1365px) {
  footer .contents {
    flex-direction: column;
  }
}
footer .contents .content {
  width: 50%;
}
@media screen and (max-width: 1365px) {
  footer .contents .content {
    width: 100%;
  }
}
footer .contents .content.left {
  text-align: center;
}
@media screen and (max-width: 1365px) {
  footer .contents .content.left {
    padding-bottom: 4rem;
  }
}
footer .contents .content.right {
  text-align: left;
}
footer .contents .content h2 {
  padding-bottom: 2rem;
  font-size: min(7vw, 48px);
}
footer .contents .content a {
  background: linear-gradient(90deg, #ff00a2 30%, #ff70e7 100%);
  border-radius: 20px;
  color: white;
  display: block;
  font-size: min(6vw, 32px);
  box-shadow: 0px 8px 8px 0px #b30272;
  margin: 0 auto;
  padding: 20px 30px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
footer .copy {
  text-align: center;
  padding-top: 2rem;
}