@font-face {
  font-family: "notoSans400";
  src: url("../font/NotoSansJP-Regular.woff");
}
@font-face {
  font-family: "notoSans500";
  src: url("../font/NotoSansJP-Medium.woff");
}
@font-face {
  font-family: "NotoSans700";
  src: url("../font/NotoSansJP-Bold.woff");
}
@font-face {
  font-family: "NotoSerif600";
  src: url("../font/NotoSerifJP-SemiBold.woff");
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "ZenOld400", serif;
  src: url("../font/ZenOldMincho-Regular.woff2");
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Cormorant", serif;
  src: url("../font/Cormorant-VariableFont_wght.woff");
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}
.contents-mainvisual {
  padding: 0;
  position: relative;
  z-index: 1;
  height: 100vh;
}
.contents-mainvisual__video {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 42%;
     object-position: 42%;
  margin: 0 auto;
  display: block;
  width: 100%;
  height: 100%;
}
.contents-mainvisual__wrap {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 810px;
}
.contents-mainvisual__ttl {
  text-align: center;
  color: #4D3221;
}

.contents-mainvisual__roma {
  font-family: Cormorant, serif;
  font-weight: 500;
}
@media screen and (min-width: 601px) {
  .contents-mainvisual__roma {
    font-size: 50px;
    line-height: 1.2;
  }
}
@media screen and (max-width: 600px) {
  .contents-mainvisual__roma {
    font-size: 40px;
    line-height: 1.2;
  }
}

.contents-mainvisual__heading {
  position: relative;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-style: normal;
  border: 1px solid #4D3221;
  background-color: #fff;
}
@media screen and (min-width: 601px) {
  .contents-mainvisual__heading {
    font-size: 45px;
    line-height: 1.44;
    padding: 8px 28px;
  }
}
@media screen and (max-width: 600px) {
  .contents-mainvisual__heading {
    font-size: 25px;
    line-height: 1.68;
    padding: 15px 33px;
  }
}
.contents-mainvisual__heading:after {
  content: "";
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 100%;
  height: 100%;
  z-index: -1;
  border: 1px solid #4D3221;
  background-color: #F5F5F5;
}

@media screen and (min-width: 1200px) {
  .contents-features__list {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 20px 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
    margin: 50px auto;
    max-width: 920px;
  }
}
@media screen and (max-width: 1199px) {
  .contents-features__list {
    display: block;
    max-width: 500px;
    margin: 32px auto 30px;
  }
}

.contents-features__item {
  position: relative;
  border-radius: 10px;
  border: 1px solid #4D3221;
  display: -ms-grid;
  display: grid;
  place-content: center;
  place-items: center;
}
@media screen and (min-width: 601px) {
  .contents-features__item {
    min-height: 200px;
  }
}
@media screen and (max-width: 1199px) {
  .contents-features__item:nth-child(n+2) {
    margin-top: 20px;
  }
}
@media screen and (max-width: 600px) {
  .contents-features__item {
    min-height: 150px;
  }
}
.contents-features__item.--pink {
  background: linear-gradient(-45deg, #fffcfd 0%, #ffd1d7 100%);
}
.contents-features__item.--pink:before, .contents-features__item.--pink:after {
  content: "";
  position: absolute;
  display: inline-block;
  z-index: 1;
}
@media screen and (min-width: 1200px) {
  .contents-features__item.--pink:before {
    top: -160px;
    left: -190px;
    background: url("../img/top/features/features01-pc.svg") no-repeat center/contain;
    width: 263px;
    height: 252px;
  }
}
@media screen and (max-width: 1199px) {
  .contents-features__item.--pink:before {
    bottom: -80px;
    left: -15px;
    background: url("../img/top/features/features01-sp.svg") no-repeat center/contain;
  }
}
@media screen and (max-width: 1199px) and (min-width: 601px) {
  .contents-features__item.--pink:before {
    bottom: -86px;
    width: 85px;
    height: 162px;
  }
}
@media screen and (max-width: 600px) {
  .contents-features__item.--pink:before {
    width: 69px;
    height: 132px;
  }
}
@media screen and (max-width: 375px) {
  .contents-features__item.--pink:before {
    width: 54px;
  }
}
@media screen and (max-width: 1199px) {
  .contents-features__item.--pink:after {
    top: -11px;
    right: -18px;
    background: url("../img/top/features/features01-sp2.svg") no-repeat center/contain;
    width: 80px;
    height: 95px;
  }
}
.contents-features__item.--blue {
  background: linear-gradient(-45deg, #f4fcff 0%, #beecff 100%);
}
.contents-features__item.--yellow {
  background: linear-gradient(-45deg, #fdffea 0%, #f5ffa5 100%);
}
.contents-features__item.--orange {
  background: linear-gradient(-45deg, #fff9ea 0%, #ffe7a5 100%);
}
.contents-features__item.--orange:before, .contents-features__item.--orange:after {
  content: "";
  position: absolute;
  display: inline-block;
}
@media screen and (min-width: 1200px) {
  .contents-features__item.--orange:before {
    bottom: -150px;
    right: -140px;
    background: url("../img/top/features/features02-pc.svg") no-repeat center/contain;
    width: 230px;
    height: 320px;
  }
}
@media screen and (max-width: 1199px) {
  .contents-features__item.--orange:before {
    right: -15px;
    background: url("../img/top/features/features02-sp.svg") no-repeat center/contain;
  }
}
@media screen and (max-width: 1199px) and (min-width: 601px) {
  .contents-features__item.--orange:before {
    bottom: -54px;
    width: 136px;
    height: 240px;
  }
}
@media screen and (max-width: 600px) {
  .contents-features__item.--orange:before {
    width: 105px;
    height: 180px;
  }
}
@media screen and (max-width: 1199px) {
  .contents-features__item.--orange:after {
    bottom: -11px;
    left: -18px;
    background: url("../img/top/features/features02-sp2.svg") no-repeat center/contain;
    width: 97px;
    height: 70px;
  }
}

.contents-features__text {
  font-family: notoSans500, sans-serif;
  font-weight: 500;
  text-align: center;
}
@media screen and (min-width: 601px) {
  .contents-features__text {
    font-size: 22px;
    line-height: 1.9;
  }
}
@media screen and (max-width: 600px) {
  .contents-features__text {
    font-size: 18px;
    line-height: 1.9;
  }
}

.contents-service {
  background-color: #fff;
  border: 1px solid #4D3221;
  border-left: 0;
  border-right: 0;
}
@media screen and (min-width: 601px) {
  .contents-service {
    background-image: linear-gradient(0deg, transparent 41px, #F0F0F0 32px), linear-gradient(90deg, transparent 41px, #F0F0F0 42px);
    background-size: 42px 42px;
  }
}
@media screen and (max-width: 600px) {
  .contents-service {
    background-image: linear-gradient(0deg, transparent 29px, #F0F0F0 20px), linear-gradient(90deg, transparent 29px, #F0F0F0 30px);
    background-size: 30px 30px;
  }
}

.contents-service__list {
  display: -ms-grid;
  display: grid;
}
@media screen and (min-width: 1200px) {
  .contents-service__list {
    -ms-grid-columns: 1fr 30px 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 30px;
    margin: 70px auto 50px;
    max-width: 830px;
  }
}
@media screen and (max-width: 1199px) {
  .contents-service__list {
    -ms-grid-columns: 1fr;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px 0;
    margin: 30px auto;
  }
}
@media screen and (max-width: 1199px) and (min-width: 601px) {
  .contents-service__list {
    max-width: 500px;
  }
}
@media screen and (max-width: 600px) {
  .contents-service__list {
    max-width: 380px;
  }
}

.contents-service__item {
  position: relative;
  border-radius: 10px;
  display: -ms-grid;
  display: grid;
  place-content: center;
  place-items: center;
}
@media screen and (min-width: 1200px) {
  .contents-service__item {
    width: 400px;
    height: 400px;
  }
}
@media screen and (max-width: 1199px) and (min-width: 601px) {
  .contents-service__item {
    max-width: 500px;
    height: 300px;
  }
}
@media screen and (max-width: 600px) {
  .contents-service__item {
    max-width: 380px;
    height: 200px;
  }
}
.contents-service__item:before {
  content: "";
  position: absolute;
  display: inline-block;
}
@media screen and (min-width: 1200px) {
  .contents-service__item:before {
    width: 400px;
    height: 400px;
  }
}
.contents-service__item.--pink {
  background: linear-gradient(-45deg, #fffcfd 0%, #ffd1d7 100%);
}
@media screen and (min-width: 1200px) {
  .contents-service__item.--pink:before {
    top: -21px;
    left: 0;
    width: 387px;
    height: 421px;
    background: url("../img/top/service/service01.png") no-repeat center/cover;
  }
}
@media screen and (max-width: 1199px) {
  .contents-service__item.--pink:before {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 210px;
    background: url("../img/top/service/service01-sp.png") no-repeat center/cover;
  }
}
@media screen and (max-width: 1199px) and (min-width: 601px) {
  .contents-service__item.--pink:before {
    width: 500px;
    height: 275px;
  }
}
.contents-service__item.--blue {
  background: linear-gradient(-45deg, #f4fcff 0%, #beecff 100%);
}
@media screen and (min-width: 1200px) {
  .contents-service__item.--blue:before {
    bottom: -30px;
    right: 0;
    width: 376px;
    height: 408px;
    background: url("../img/top/service/service02.png") no-repeat center/cover;
  }
}
@media screen and (max-width: 1199px) {
  .contents-service__item.--blue:before {
    top: 0;
    left: 0;
    width: 100%;
    height: 212px;
    background: url("../img/top/service/service02-sp.png") no-repeat center/cover;
  }
}
@media screen and (max-width: 1199px) and (min-width: 601px) {
  .contents-service__item.--blue:before {
    width: 500px;
    height: 280px;
  }
}

.contents-service__text {
  font-family: notoSans500, sans-serif;
  font-weight: 500;
  text-align: center;
}
@media screen and (min-width: 601px) {
  .contents-service__text {
    font-size: 32px;
    line-height: 1.3;
  }
}
@media screen and (max-width: 600px) {
  .contents-service__text {
    font-size: 28px;
    line-height: 1.5;
  }
}

.contents-works__wrap {
  margin: 0 auto;
}

.contents-works__text {
  font-family: notoSans500, sans-serif;
  font-weight: 500;
  text-align: center;
}
@media screen and (min-width: 601px) {
  .contents-works__text {
    font-size: 32px;
    line-height: 1.3;
  }
}
@media screen and (max-width: 600px) {
  .contents-works__text {
    font-size: 28px;
    line-height: 1.5;
  }
}

.contents-information {
  position: relative;
  background-color: #fff;
  border-top: 1px solid #4D3221;
}
@media screen and (min-width: 601px) {
  .contents-information {
    background-image: linear-gradient(0deg, transparent 41px, #F0F0F0 32px), linear-gradient(90deg, transparent 41px, #F0F0F0 42px);
    background-size: 42px 42px;
  }
}
@media screen and (max-width: 600px) {
  .contents-information {
    background-image: linear-gradient(0deg, transparent 29px, #F0F0F0 20px), linear-gradient(90deg, transparent 29px, #F0F0F0 30px);
    background-size: 30px 30px;
  }
}
@media screen and (min-width: 601px) {
  .contents-information:before, .contents-information:after {
    content: "";
    position: absolute;
    display: inline-block;
    z-index: 0;
  }
  .contents-information:before {
    background: url("../img/top/info02.svg") no-repeat center/contain;
  }
}
@media screen and (min-width: 601px) and (min-width: 1200px) {
  .contents-information:before {
    bottom: 143px;
    left: 190px;
    width: 187px;
    height: 196px;
  }
}
@media screen and (min-width: 601px) and (max-width: 1199px) and (min-width: 601px) {
  .contents-information:before {
    bottom: 30px;
    left: 30px;
    width: 107px;
    height: 112px;
  }
}
@media screen and (min-width: 601px) {
  .contents-information:after {
    background: url("../img/top/info01.svg") no-repeat center/contain;
  }
}
@media screen and (min-width: 601px) and (min-width: 1200px) {
  .contents-information:after {
    top: 195px;
    right: 190px;
    width: 187px;
    height: 196px;
  }
}
@media screen and (min-width: 601px) and (max-width: 1199px) and (min-width: 601px) {
  .contents-information:after {
    top: 30px;
    right: 30px;
    width: 107px;
    height: 109px;
  }
}

.contents-information__list {
  display: block;
}
@media screen and (min-width: 601px) {
  .contents-information__list {
    margin: 0 auto 50px;
    max-width: 755px;
  }
}
@media screen and (max-width: 600px) {
  .contents-information__list {
    margin: 0 auto 30px;
  }
}

.contents-information__item {
  display: block;
  position: relative;
}
@media screen and (min-width: 601px) {
  .contents-information__item {
    height: 70px;
  }
}
@media screen and (max-width: 600px) {
  .contents-information__item {
    height: 88px;
  }
}
@media screen and (min-width: 601px) {
  .contents-information__item:nth-child(n+2) {
    margin-top: 15px;
  }
}
@media screen and (max-width: 600px) {
  .contents-information__item:nth-child(n+2) {
    margin-top: 25px;
  }
}

.contents-information__link {
  position: absolute;
  z-index: 1;
  color: #000;
  width: 100%;
  font-family: notoSans500, sans-serif;
  font-weight: 500;
  display: block;
}
@media screen and (min-width: 601px) {
  .contents-information__link {
    padding: 25px 50px;
  }
}
@media screen and (max-width: 600px) {
  .contents-information__link {
    padding: 18px 30px;
  }
}
.contents-information__link:before, .contents-information__link:after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 100px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.contents-information__link:before {
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  z-index: -1;
  width: 100%;
  height: 100%;
  border: 1px solid #4D3221;
  background-color: #fff;
}
.contents-information__link:after {
  left: 5px;
  top: 5px;
  z-index: -2;
  width: 100%;
  height: 100%;
  border: 1px solid #4D3221;
  background-color: #F7F7F7;
}
.contents-information__link:hover:before {
  border: 1px solid #4D3221;
  background-color: #A68DF7;
}
.contents-information__link:hover .contents-information__date {
  color: #fff;
}

.contents-information__box {
  position: relative;
  height: calc(100% - 5px);
}
@media screen and (min-width: 601px) {
  .contents-information__box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
}
@media screen and (max-width: 600px) {
  .contents-information__box {
    display: block;
  }
}

.contents-information__date {
  color: #A68DF7;
}
@media screen and (min-width: 601px) {
  .contents-information__date {
    margin-right: 20px;
  }
}

@media screen and (max-width: 600px) {
  .contents-information__text {
    margin-top: 5px;
  }
}

.contents-information__date,
.contents-information__text {
  text-align: left;
}
@media screen and (min-width: 601px) {
  .contents-information__date,
  .contents-information__text {
    font-size: 16px;
  }
}
@media screen and (max-width: 600px) {
  .contents-information__date,
  .contents-information__text {
    font-size: 15px;
  }
}