@charset "utf-8";

.fv {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
}
.fv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv__title-wrap {
  position: absolute;
  bottom: 167px;
  left: 20px;
}
@media screen and (min-width: 768px) {
  .fv__title-wrap {
    bottom: 163px;
    left: 100px;
  }
}

.fv__news {
  position: absolute;
  bottom: 22px;
  left: -22px;
  border: 1px solid #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  width: 95%;
}
@media screen and (min-width: 768px) {
  .fv__news {
    width: fit-content;
    max-width: 593px;
  }
}

.fv__news .news__wrap a {
  padding: 17px 30px 18px 32px;
  border-bottom: none;
  color: #fff;
  gap: 12px;
}
@media screen and (min-width: 768px) {
  .fv__news .news__wrap a {
    padding: 16px 53px 16px 42px;
    gap: 25px;
  }
}

.fv__news .news__wrap a::after {
  position: absolute;
  background: url(../images/icon-arrow-white.svg) center / contain no-repeat;
  right: 15px;
}
@media screen and (min-width: 768px) {
  .fv__news .news__wrap a::after {
    right: 33px;
  }
}

.fv__news .news__title{
  padding-left: 15px;
  position: relative;
}
@media screen and (min-width: 768px) {
  .fv__news .news__title{
    padding-left: 35px;
  }
}

.fv__news .news__title::before {
  content: "";
  position: absolute;
  background: #fff;
  width: 1px;
  height: 24px;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

.fv__scroll {
  display: none;
}
@media screen and (min-width: 830px) {
  .fv__scroll {
    display: block;
    position: absolute;
    bottom: 52px;
    right: 50px;
  }
}

.fv__scroll img {
  aspect-ratio: 1 / 1;
  width: 138px;
  animation: rotateCircle 10s linear infinite;
}
@keyframes rotateCircle {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.fv__scroll::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url("../images/scroll-down.svg") center / contain no-repeat;
  width: 18px;
  height: 78px;
  transition: top 0.3s;
}
.fv__scroll:hover::before {
  top: 55%;
}

.bg-gradation {
  position: relative;
}
.top-service__deco {
  width: 529px;
  height: auto;
  position: absolute;
  top: -66px;
  left: -127px;
  z-index: -1;
}
@media screen and (min-width: 1024px) {
  .top-service__deco {
    width: 870px;
    top: -413px;
    left: -241px;
  }
}

.top-service__wrap  {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
@media screen and (min-width: 1024px) {
  .top-service__wrap { 
    margin-left: calc(50% - 50vw);
    flex-direction: row;
    gap: 45px;
    align-items: start; 
  }
}
@media screen and (min-width: 1100px) {
  .top-service__wrap { 
    gap: 80px;
  }
}
@media screen and (min-width: 1300px) {
  .top-service__wrap { 
    gap: min(calc(147 / 1366 * 100vw), 147px);
  }
}

.top-service__title {
  margin-left: 30px;
}
@media screen and (min-width: 1024px) {
  .top-service__title {
    margin-left: 100px;
  }
}

.top-service__img {
  margin-top: 42px;
  aspect-ratio: 500 / 689;
  width: min(100%, 500px);
  height: auto;
  object-fit: cover;
  margin-inline: auto;
  display: block;
}
@media screen and (min-width: 1024px) {
  .top-service__img {
    width: min(calc(500 / 1366 * 100vw), 500px);
    margin-inline: unset;
  }
}

.top-service__right-wrap {
  display: flex;
  flex-direction: column;
  gap: 37px;
}
@media screen and (min-width: 1024px) {
  .top-service__right-wrap {
    margin-top: 20px;
  }
}

.top-service__right-item{
  padding-bottom: 54px;
  border-bottom: 1px solid #D0D0D0;
}

.top-service__right-item:last-of-type{
  padding-bottom: 0;
  border-bottom: 0;
}

.top-service__title {
  font-size: 22px !important;
}
@media screen and (min-width: 1100px) {
  .top-service__title {
    font-size: 24px !important;
  }
}

.top-service__right-box {
  display: flex;
  flex-direction: column-reverse;
  gap: 40px;
}
@media screen and (min-width: 1024px) {
  .top-service__right-box { 
    flex-direction: row;
    align-items: center;
  }
}
@media screen and (min-width: 1300px) {
  .top-service__right-box { 
    gap: min(calc(124 / 1366 * 100vw), 124px);
  }
}

.top-service__right-img {
  aspect-ratio: 301 / 164;
  width: 301px;
  height: auto;
  object-fit: cover;
  margin: 0 auto;
}
@media screen and (min-width: 500px) {
  .top-service__right-img {
    width: min(100%, 500px);
  }
}
@media screen and (min-width: 1024px) {
  .top-service__right-img {
    width: min(calc(301 / 1366 * 100vw), 301px);
  }
}

@media screen and (min-width: 1366px) {
  .top-magokoro__inner {
    padding: 0 150px !important;
  }
}

.top-magokoro__deco01,
.top-magokoro__deco02 {
  width: 529px;
  height: auto;
  position: absolute;
  z-index: -1;
}
@media screen and (min-width: 1024px) {
  .top-magokoro__deco01,
  .top-magokoro__deco02 {
    width: 600px;
  }
}

.top-magokoro__deco01 {
  top: -140px;
  right: -128px;
}
@media screen and (min-width: 1024px) {
  .top-magokoro__deco01 {
    top: -228px;
    right: -211px;
  }
}

.top-magokoro__wrap {
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
}
@media screen and (min-width: 1024px) {
  .top-magokoro__wrap { 
    flex-direction: row;
    gap: 40px;
    justify-content: center;
  }
}
@media screen and (min-width: 1366px) {
  .top-magokoro__wrap { 
    gap: min(calc(85 / 1366 * 100vw), 85px);
  }
}

.top-magokoro__title {
  font-size: 32px !important;
}
@media (min-width: 1100px) {
  .top-magokoro__title {
    font-size: 34px !important;
  }
}

.top-magokoro__right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 20px;
}
@media screen and (min-width: 1024px) {
  .top-magokoro__right {
    gap: 58px 40px;
  }
}
@media screen and (min-width: 1366px) {
  .top-magokoro__right {
    gap: 63px 43px;
    flex-shrink: 0;
  }
}

.top-magokoro__right-iimg {
  aspect-ratio: 1 / 1;
  width: 80%;
  height: auto;
  margin: 0 auto;
  display: block;
}
@media screen and (min-width: 1024px) {
  .top-magokoro__right-iimg {
    width: auto;
    max-width: 189px;
  }
}
.insta-item-wrap{
  margin-top: 10px;
}

.insta-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-block: 20px;
  gap: 20px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
@media screen and (min-width:768px) {
  .insta-wrap {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}
.insta-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
    -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 290px;
    padding: 5px 10px;
    gap: 20px;

}
@media (any-hover: hover) {
  .insta-item:hover {
    opacity: 0.7;
  }
}

.insta-item-img {
width: 24px;
    height: 26px;
  aspect-ratio: 1/1;
}
.insta-item-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.insta-item-text {
  color: #ffffff;
  font-size: 1rem;
}

.blue {
  background: rgb(82, 173, 225);
}

.pink {
  background: rgb(196, 133, 163);
}
