body {
  background-color: #f5f5f5;
  color: #333333;
}
h1,
h2,
li {
  font-family: "Cardo", serif;
  text-transform: capitalize;
}
p {
  font-family: "Roboto", sans-serif;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
}
.header {
  display: flex;
  justify-content: space-between;
  background-color: #4a90e2;
}
.header__loro-box {
  display: flex;
  padding: 10px 0 10px 20px;
}
.title {
  padding: 15px 0 0 20px;
  font-size: 3rem;
  color: #fff;
  font-weight: 300;
}
.list-box {
  display: flex;
  align-items: center;
  padding-right: 30px;
}
.list-text {
  padding-right: 50px;
  font-size: 2rem;
  color: #fff;
  font-weight: 300;
}
.nav {
  display: none;
}
@media (max-width: 850px) {
  .list-box {
    display: none;
  }
  .title-logo {
    width: fit-content;
    padding: 10px 0 0 10px;
  }
  .title-logo img {
    width: 60%;
  }
  .title {
    padding: 20px 0 0;
    font-size: 2rem;
  }
  .open-btn {
    display: block;
    position: absolute;
    right: 20px;
    top: 10px;
    width: 40px;
    height: 30px;
    cursor: pointer;
    z-index: 1000;
  }
  .open-btn span,
  .open-btn span::before,
  .open-btn span::after {
    display: block;
    position: absolute;
    width: 40px;
    height: 1px;
    background-color: #fff;
    content: "";
  }
  .open-btn span::before {
    bottom: -8px;
    width: 30px;
  }
  .open-btn span::after {
    bottom: -16px;
    width: 20px;
  }
  .open-btn.active span {
    transform: translateY(9px) translateX(0) rotate(45deg);
  }
  .open-btn.active span::before {
    opacity: 0;
    background-color: #1c1c1c;
  }
  .open-btn.active span::after {
    width: 40px;
    transform: translateY(-14px) translateX(0) rotate(90deg);
  }
  .animation {
    transition: all 2s;
  }
  .nav {
    display: block;
    position: fixed;
    background-color: #1c1c1c;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: opacity 1s, visibility 1s, width 1s;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    height: 100vh;
    z-index: 999;
  }
  .nav-logo {
    padding: 20px 0 0 30px;
  }
  .nav__list-box {
    padding-top: 100px;
    max-width: 300px;
    margin: 0 auto;
  }
  .nav__list {
    font-size: 2.4rem;
    font-weight: 300;
    color: #fff;
    padding-bottom: 50px;
    position: relative;
  }
  .nav__list::before,
  .nav__list::after {
    position: absolute;
    top: 10%;
    right: 0;
    border: solid #fff 0.5px;
    width: 30px;
    content: "";
    display: block;
    transform: rotate(30deg);
  }
  .nav__list::after {
    transform: rotate(150deg);
    top: 30%;
  }
  .nav__list-box2 {
    padding-top: 70px;
    max-width: 300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  .nav__list2 {
    background-color: #f5f5f5;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1.8rem;
    font-weight: 300;
    color: #1c1c1c;
    text-align: center;
  }
  .nav__cta-btn {
    padding: 100px;
    max-width: 300px;
    margin: 0 auto;
    transform: translateX(-35%);
    transition: transform 0.3s ease-in-out;
  }
  .nav__cta-btn img {
    transition: transform 0.3s ease-in-out;
  }
  .nav__cta-btn:active img {
    transform: scale(0.95);
  }
}
.swiper-container {
  text-align: center;
  width: 100%;
  height: calc(100vh - 260px);
  overflow: hidden;
}

.slide {
  width: 100%;
  height: 100%;
  opacity: 0; /* 最初は非表示 */
  transition: opacity 4s ease-in-out; /* 4秒かけてフェードイン・アウト */
  position: absolute; /* 画像が重ならないように位置を指定 */
}

.slide.active {
  opacity: 1;
  z-index: 1;
}
.kv-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.copy {
  font-size: 5rem;
  font-family: "Cardo", serif;
  font-weight: 400;
  line-height: 6.5rem;
  padding-left: 40px;
}
.blog__box {
  background-color: #fff;
  padding: 20px 40px 10px 70px;
  border-radius: 40px 10px 10px 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}
.blog__sbox {
  display: flex;
}
.kv-heading {
  font-size: 2.4rem;
  padding-right: 100px;
  font-weight: 400;
}
.blog-text {
  font-size: 1.8rem;
  padding-top: 40px;
  font-family: "Cardo", serif;
  font-weight: 200;
  text-transform: capitalize;
}
@media (max-width: 850px) {
  .swiper-container {
    padding-top: 60px;
    height: calc(100vh - 500px);
  }
  .slide {
    height: calc(100vh - 500px);
  }
  .slide img {
    width: 90%; /* 画像を100%の幅に変更 */
    height: auto; /* 高さは自動 */
  }
  .kv-box {
    display: block;
    max-width: 600px;
    margin: 0 auto;
  }
  .copy {
    font-size: 3.6rem;
    line-height: 5rem;
    margin-bottom: 100px;
  }
  .blog__box {
    padding: 0;
    width: 500px;
    border-radius: 10px;
  }
  .blog__sbox {
    display: block;
  }
  .blog-img {
    display: none;
  }
  .kv-heading,
  .blog-text {
    text-align: center;
  }
  .kv-heading {
    padding-right: 0;
  }
}
@media (max-width: 500px) {
  .swiper-container {
    height: calc(100vh - 400px);
  }
  .kv-box {
    max-width: 400px;
    margin: 0 auto;
  }
  .copy {
    padding-top: 70px;
    font-size: 2.4rem;
    line-height: 3.2rem;
    margin-bottom: 80px;
  }
  .blog__box {
    height: auto;
    padding: 0;
    width: 300px;
    margin-left: 50px;
  }
}
.heading {
  padding-top: 200px;
  font-size: 4rem;
  font-weight: 400;
  color: #4a90e2;
  text-align: center;
}
.heading-left {
  text-align: left;
}
.about-text {
  padding-top: 40px;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 4rem;
  max-width: 850px;
}
.about__btn-box {
  text-align: right;
  margin: 20px 60px 0 0;
}
.about__btn {
  border: #333333 solid 0.5px;
  padding: 20px 40px;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.about__btn-text {
  font-size: 1.6rem;
  font-weight: 300;
  text-transform: capitalize;
  font-family: "Cardo", serif;
}
.about__btn:hover {
  background-color: #4a90e2;
  color: #fff;
}
.work-text {
  padding-top: 100px;
  font-size: 2rem;
  text-align: center;
  font-weight: 300;
}
.work-text span {
  text-transform: capitalize;
}
.work-box {
  padding-top: 100px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px 40px;
}
.work-sbox {
  background-color: #fff;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 30px 0;
}
.l__box {
  margin-left: 40px;
}
.work-title {
  padding-top: 30px;
  font-size: 1.8rem;
  font-weight: 300;
  font-family: "Roboto", sans-serif;
}
.work__tag {
  display: flex;
  align-items: start;
  padding-top: 20px;
}
.tag-text {
  padding-right: 30px;
  font-size: 1.6rem;
  font-weight: 300;
  position: relative;
}
.tag-text::before {
  content: "#";
  position: absolute;
  top: 5%;
  left: -5%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  font-weight: 300;
}
.service__box {
  background-color: #fff;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}
.service__boxf {
  margin-top: 100px;
}
.service__headeing {
  background-color: #4a90e2;
  border-radius: 10px 10px 0 0;
  color: #fff;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 400;
  font-family: "Cardo", serif;
  text-transform: capitalize;
  padding: 10px 0 5px;
}
.service__text {
  font-size: 1.6rem;
  margin: 0 auto;
  max-width: 500px;
  line-height: 2.4rem;
  padding-top: 30px;
  font-weight: 300;
  position: relative;
}
.service__text::after {
  content: "";
  border: #1c1c1c solid 0.5px;
  width: 400px;
  height: 0.5px;
  position: absolute;
  bottom: -20%;
  left: 5%;
}
.price {
  padding-top: 50px;
  text-align: center;
  font-family: "Cardo", serif;
  font-size: 3rem;
  font-weight: 400;
}
.price span {
  font-size: 2rem;
  font-weight: 300;
  vertical-align: middle;
}
.service__list-title {
  padding-top: 40px;
  font-size: 1.6rem;
  font-weight: 300;
  text-align: center;
}
.service__list-box {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 80px;
  padding: 30px 60px 100px;
}
.service__list-heading {
  font-size: 1.8rem;
  font-weight: 200;
  font-family: "Roboto", sans-serif;
}
.service__list-text {
  padding-top: 10px;
  font-size: 1.4rem;
  line-height: 3rem;
}
.service__container {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.service__text2 {
  font-size: 1.4rem;
  max-width: 300px;
  margin: 0 auto;
  line-height: 3rem;
  font-weight: 300;
  padding-top: 30px;
  position: relative;
}
.service__text2::after {
  content: "";
  border: #1c1c1c solid 0.5px;
  width: 250px;
  height: 0.5px;
  position: absolute;
  bottom: -10%;
  left: 5%;
}
.price2 {
  padding-top: 40px;
  font-size: 2.4rem;
  font-weight: 400;
  text-align: center;
  font-family: "Cardo";
}
.price2 span {
  font-size: 1.8rem;
  font-weight: 300;
  vertical-align: middle;
}
.service__title2 {
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  padding-top: 50px;
}
.service__list-box2 {
  padding: 40px 0px 30px 40px;
  max-width: 300px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 auto;
}
.service__list-heading2 {
  font-size: 1.4rem;
  font-weight: 300;
  padding-bottom: 30px;
  font-family: "Roboto", sans-serif;
}
.service__list-text2 {
  font-size: 1.4rem;
  font-weight: 300;
  padding-left: 40px;
}
.service__list-heading3 {
  padding-left: 140px;
  font-size: 1.4rem;
  font-weight: 300;
  font-family: "Roboto", sans-serif;
}
.service__list-text3 {
  padding: 10px 0 70px 140px;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 2.4rem;
}
.service__list-text3 span {
  font-size: 1.2rem;
}
.box3 {
  margin-top: 80px;
}
.service__box3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 500px;
  margin: 0 auto;
  padding: 50px 0 50px 40px;
}
.service__box3-heading {
  font-size: 1.8rem;
  font-weight: 300;
  padding-bottom: 30px;
  font-family: "Roboto", sans-serif;
}
.service__box3-heading span {
  font-size: 1.4rem;
  font-weight: 200;
}
.service__box3-price {
  font-size: 1.8rem;
  font-weight: 300;
  padding-left: 30px;
}
.service__box3-price span {
  font-size: 1.4rem;
  font-weight: 300;
  vertical-align: middle;
}
.flow__description {
  padding-top: 100px;
  text-align: center;
  font-size: 2rem;
  font-weight: 300;
}
.flow__description span {
  text-transform: capitalize;
}
.flow__list-box {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 130px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  position: sticky;
  position: -webkit-sticky;
  top: 10%;
  margin-top: 70px;
}
.flow__list-img {
  padding-left: 90px;
}
.flow__headeing {
  padding-top: 80px;
  font-size: 2.4rem;
  font-weight: 400;
  font-family: "Crado", serif;
}
.flow__time-text {
  padding: 10px;
  font-size: 1.6rem;
  font-weight: 300;
}
.flow__text {
  padding-top: 15px;
  font-size: 1.8rem;
  font-weight: 300;
  text-align: left;
}
.flow__text:first-child {
  padding-top: 30px;
}
.cta-btn {
  padding-top: 100px;
  text-align: center;
}
.cta-btn button {
  transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
}
.cta-btn button img {
  transition: opacity 0.3s ease-in-out, transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
}
.cta-btn button:hover img {
  opacity: 0.8;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.cta-btn button:active img {
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
@media (max-width: 850px) {
  .container {
    max-width: 650px;
    margin: 0 auto;
  }
  .work-img {
    text-align: center;
  }
  .work-img img {
    width: 80%;
  }
  .service__list-box {
    gap: 30px;
    padding: 30px 40px 100px;
  }
  .service__list-heading {
    font-size: 1.6rem;
  }
  .service__text2 {
    max-width: 220px;
  }
  .service__text2::after {
    width: 200px;
  }
  .service__list-heading3 {
    padding-left: 20px;
  }
  .service__list-text3 {
    padding-left: 20px;
  }
  .flow__description {
    text-align: left;
    line-height: 3.5rem;
  }
  .flow__list-box {
    grid-template-columns: 30% 70%;
    gap: 80px;
  }
  .flow__list-img {
    padding-left: 0;
  }
  .flow__list-img img {
    width: 110%;
  }
  .flow__headeing {
    padding-top: 40px;
    font-size: 2rem;
  }
  .flow__time-text {
    font-size: 1.4rem;
  }
  .flow__text {
    font-size: 1.6rem;
  }
  .flow__text:last-child {
    padding-bottom: 20px;
  }
  .cta-btn img {
    width: 90%;
  }
}
@media (max-width: 500px) {
  .container {
    max-width: 350px;
    margin: 0 auto;
  }
  .heading {
    padding-top: 150px;
    font-size: 2.4rem;
  }
  .about-text {
    font-size: 1.4rem;
    line-height: 3rem;
  }
  .about__btn-box {
    margin: 30px 0 0;
  }
  .about__btn {
    padding: 15px 25px;
  }
  .about__btn-text {
    font-size: 1.4rem;
  }
  .work-text {
    padding-top: 70px;
    font-size: 1.4rem;
    line-height: 3rem;
  }
  .work-box {
    display: block;
    padding-top: 70px;
  }
  .work-sbox {
    margin-bottom: 40px;
  }
  .work-sbox:last-child {
    margin-bottom: 0;
  }
  .work-title {
    font-size: 1.4rem;
  }
  .tag-text {
    font-size: 1.2rem;
  }
  .tag-text::before {
    font-size: 1rem;
    vertical-align: middle;
  }
  .service__boxf {
    margin-top: 70px;
  }
  .service__headeing {
    font-size: 2rem;
    padding: 15px 0 10px;
  }
  .service__text {
    max-width: 250px;
    font-size: 1.4rem;
    line-height: 3rem;
  }
  .service__text::after {
    width: 250px;
    left: 0;
  }
  .price {
    font-size: 2.4rem;
  }
  .price span {
    font-size: 1.8rem;
  }
  .service__list-title {
    font-size: 1.6rem;
  }
  .service__list-box {
    display: block;
    max-width: 320px;
    margin: 0 auto;
  }
  .service__list {
    padding-bottom: 40px;
  }
  .service__list:last-child {
    padding-bottom: 0;
  }
  .service__container {
    display: block;
  }
  .box-2 {
    margin-bottom: 80px;
  }
  .service__box3 {
    display: block;
  }
  .service__box3-heading {
    padding-bottom: 10px;
  }
  .service__box3-price {
    padding: 0 0 30px 0;
  }
  .service__box3-price:last-child {
    padding-bottom: 0;
  }
  .flow__description {
    padding-top: 70px;
    font-size: 1.4rem;
    line-height: 3rem;
  }
  .flow__list-box {
    display: block;
    top: 5%;
  }
  .flow__list-img {
    padding-left: 0;
    text-align: center;
  }
  .flow__list-img img {
    width: 30%;
  }
  .flow__text-box {
    padding: 30px 20px 80px 20px;
  }
  .flow__headeing {
    padding: 0;
  }
  .flow__text {
    line-height: 3rem;
  }
  .cta-btn img {
    width: 90%;
  }
}
.scroll-btn {
  position: fixed;
  bottom: 10%;
  right: 0;
  z-index: 1000;
  background-color: #4a90e2;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  padding: 10px 50px 80px;
}
.scroll-btn.visible {
  visibility: visible;
  opacity: 1;
}
.scroll-heading {
  font-size: 1.8rem;
  font-weight: 300;
  color: #fff;
  padding-bottom: 20px;
  font-family: "Crado", serif;
  text-transform: capitalize;
}
.scroll-img-box {
  position: relative;
  width: 100%;
  height: auto;
}
.scroll-img {
  position: absolute;
  top: 0;
  right: 65%;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.scroll-img.active {
  opacity: 1;
}
@media (max-width: 500px) {
  .scroll-btn {
    padding: 10px 70px;
    width: 100vw;
    bottom: 0;
  }
  .scroll-btn-box {
    display: flex;
    justify-content: space-between;
  }
  .scroll-heading {
    padding-top: 30px;
  }
  .scroll-img {
    right: -500%;
  }
}
.footer-container {
  background-color: #1c1c1c;
  margin-top: 350px;
}
.footer-box {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding-top: 80px;
}
.footer-title {
  padding-bottom: 60px;
  font-size: 4rem;
  color: #fff;
  font-weight: 400;
}
.footer-list {
  font-size: 2.4rem;
  padding-bottom: 20px;
  color: #fff;
  font-weight: 300;
}
.footer-list:last-child {
  padding-bottom: 0;
}
.footer-logo {
  padding-right: 140px;
}
.footer-logo img {
  width: 50%;
}
.footer-list2 {
  font-size: 1.8rem;
  padding-top: 20px;
  color: #fff;
  font-weight: 300;
}
.footer-list2:first-child {
  padding-top: 40px;
}
.footer-btn-box {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-right: 130px;
}
.footer-btn-text {
  font-size: 2rem;
  color: #fff;
  font-weight: 300;
  text-transform: capitalize;
  font-family: "Cardo", serif;
  padding-right: 10px;
}
.copyright-box {
  padding: 30px 0 10px;
  text-align: center;
}
.copyright {
  font-size: 1.4rem;
  color: #fff;
  font-weight: 300;
  text-transform: capitalize;
}
@media (max-width: 850px) {
  .footer-box {
    max-width: 650px;
    margin: 0 auto;
  }
  .footer-logo {
    padding-right: 0;
  }
}
@media (max-width: 500px) {
  .footer-container {
    margin-top: 250px;
  }
  .footer-box {
    max-width: 350px;
    margin: 0 auto;
  }
  .footer-title {
    font-size: 2rem;
  }
  .footer-logo {
    padding-right: 0;
    text-align: right;
  }
  .footer-list2 {
    padding-left: 100px;
  }
  .footer-btn-box {
    padding: 40px 30px 20px 0;
  }
}
.fadein {
  opacity: 0;
  filter: blur(0.4rem);
  transform: translateY(4rem);
  transition: opacity 2s, filter 2s, transform 2s;
}
.fadein.--visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}
