@charset "UTF-8";



/* ----------------------top-mv---------------------- */

.top-mv__flow {
  margin: 0 auto 60px;
  max-width: 380px;
}
.top-mv__flow img {
    margin-bottom: 10px;
  }
.top-mv__flow-txt {
  font-size: 2rem;
}
.top-mv__visual {
  margin: 0 auto 100px;
  max-width: 1350px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.top-mv__visual-img {
  max-width: 270px;
  min-width: 0;
  width: 50%;
}
.top-mv__catch {
  max-width: 600px;
  width: 50%;
}
.top-mv__btnArea {
  max-width: 640px;
  display: flex;
}
/* btnArea（ボタン全体の枠） */
.top-mv__btnArea {
  max-width: 634px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* 両端揃え */
  gap: 34px; /* ボタン同士の隙間（必要なら調整） */
}

/* ボタン本体 */
.top-mv__btn {
  position: relative;
  /* max-width: 300px; worksページができたらボタンとともに復活させる*/
  width: 100%;
  padding: 7px; /* 右側は疑似要素のスペース確保 */
  background-color: #73a082; /* スクショの色に近い緑（必要なら変える） */
  border-radius: 20px;
  display: inline-block;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .3s;
}

/* ホバー */
.top-mv__btn:hover {
  opacity: 0.85;
}

.top-mv__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px; /* 指定通り「右端から10px」 */
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background-image: url(../img/icon_arrow_border_white.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

@media (max-width: 700px) {
  .top-mv__flow {
    margin: 0 auto 40px;
}
  .top-mv__flow img {
    max-width: 300px;
  }
  .top-mv__flow-txt {
    font-size: 1.4rem;
  }
  .top-mv__visual {
    margin: 0 auto 60px;
  } 
}

@media (max-width: 550px) {
  .top-mv__flow {
    margin: 0 auto 20px;
    max-width: 330px;
  }
  .top-mv__flow img {
    max-width: 270px;
  }
  .top-mv__btnArea {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  .top-mv__btn {
    max-width: 550px;
  }
}



/* ----------------------top-about---------------------- */

.top-about {
  padding: 60px 0 0;
  background: #fff;
}
.top-about__ttl {
  margin-bottom: 20px;
}
.top-about__txtImgArea {
  max-width: 1130px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  transform: translateX(40px);
}
.top-about__txtArea {
  text-align: left;
  padding-bottom: 40px;
}
.top-about__catch {
  margin-bottom: 5px;
}
.top-about__img {
  max-width: 620px;
}
.top-about__txt {
  margin-bottom: 20px;
}
.top-about__btn {
  display: block;
  text-align: right;
  border-bottom: 1px solid #73a082;
  position: relative;
  padding-right: 25px;
  font-size: 2rem;
}
.top-about__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0; 
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background-image: url(../img/icon_arrow_border_green.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

@media (max-width: 768px) {
  .top-about__txtImgArea {
    flex-direction: column;
    transform: translateX(0);
    align-items: center;
  }
  .top-about__txtArea {
    max-width: 500px;
    width: 100%;
    padding-bottom: 0;
  }
  .top-about__img {
    max-width: 500px;
    margin-bottom: 60px;
  }
  .top-about__btn {
    font-size: 1.6rem;
  }
}

/* ----------------------top-service---------------------- */

.top-service__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.top-service__ttl {
  text-align: left;
  margin-bottom: 10px;
}
.top-service__list {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}
.top-service__item {
  max-width: 286px;
  width: 31%;
  min-height: 288px;
  height: auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  overflow: visible; /* 影を見せるのに重要 */
}

/* グラデ影を作る疑似要素 */
.top-service__item::before {
  content: "";
  position: absolute;
  inset: 0; /* 要素全体 */
  border-radius: 18px;

    /* 左上 #fff → 右下 #ebe5dd のグラデ影 */
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #ebe5dd 100%
  );

  /* ガウスぼかし風 */
  filter: blur(4px);

  /* 影を後ろに置く */
  z-index: -1;

  /* カードより少し大きくして影を広げる */
  transform: scale(1.08);
}

.top-service__item::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px; 
  width: 24px;
  height: 24px;
  background-image: url(../img/icon_arrow_border_green.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}
.top-service__item:nth-child(even) {
  background: #fdfbf6;
}

.top-service__name {
  font-size: 2.8rem;
  margin-bottom: 5px;
}
.top-service__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  margin-bottom: 20px;
}
.top-service__img-branding {
  max-width: 160px;
}
.top-service__img-logo {
  max-width: 128px;
}
.top-service__img-dtp {
  max-width: 109px;
}
.top-service__img-web {
  max-width: 141px;
}
.top-service__img-illustration {
  max-width: 137px;
}
.top-service__img-movie {
  max-width: 122px;
}
.top-service__desc {
  line-height: 1.3;
  color: #73a082;
}
@media (hover: hover) and (pointer: fine) {
  .top-service__item {
    transition: background 0.2s ease, color 0.2s ease;
  }

  /* カード自体の背景と基本文字色 */
  .top-service__item:hover {
    background: #73a082;
    color: #fff;
  }

  /* 子要素で色を上書きしているものを白にする */
  .top-service__item:hover .top-service__ttl,
  .top-service__item:hover .top-service__name,
  .top-service__item:hover .top-service__desc {
    color: #fff;
  }
  .top-service__item:hover::after {
    background-image: url(../img/icon_arrow_border_white.png);
  }
}

@media (max-width: 950px) {
  .top-service__item {
    min-height: 320px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .top-service__item {
    width: 47%;
    min-height: 250px;
    height: auto;
    padding: 12px;
  }
  .top-service__item:nth-child(even) {
    background: #fff;
  }
    .top-service__item:nth-child(2),.top-service__item:nth-child(3),.top-service__item:nth-child(6) {
    background: #fdfbf6;
  }
  .top-service__item::after {
    width: 19px;
    height: 19px;
  }
  .top-service__name {
    font-size: 2.2rem;
  }
  .top-service__icon {
    height: 85px;
  }
  .top-service__img-branding {
    max-width: 108px;
  }
  .top-service__img-logo {
    max-width: 87px;
  }
  .top-service__img-dtp {
    max-width: 74px;
  }
  .top-service__img-web {
    max-width: 96px;
  }
  .top-service__img-illustration {
    max-width: 94px;
  }
  .top-service__img-movie {
    max-width: 77px;
  }
}


@media (max-width: 475px) {
  .top-service__list {
    gap: 18px;
  }
    .top-service__item {
      min-height: 210px;
      height: auto;
      padding-top: 24px;
  }
  .top-service__name {
    font-size: 1.6rem;
  }
  .top-service__desc {
    font-size: 1.4rem;
  }
  .top-service__icon {
      height: 60px;
    }
  .top-service__img-branding {
    max-width: 76px;
  }
  .top-service__img-logo {
    max-width: 65px;
  }
  .top-service__img-dtp {
    max-width: 58px;
  }
  .top-service__img-web {
    max-width: 70px;
  }
  .top-service__img-illustration {
    max-width: 71px;
  }
  .top-service__img-movie {
    max-width: 65px;
  }
}


