/*-------------------------
  Top（PC）
-------------------------*/
.mainview {
  width: 100%;
  height: 620px;
  margin-top: 80px;
  /* background-image: url(../../assets/img/top-back-pc.jpg);
  background-size: cover; */
  background-color: #e9e9e9;
  display: flex;
  align-items: center;
  position: relative;
}

/*アニメーション描画用*/
canvas {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

.mainview-content {
  display: flex;
  justify-content: space-between;
  z-index: 2;
}

.content-left {
  width: 43%;
}

.mainview-title {
  font-size: 80px;
  font-weight: 700;
  line-height: 110%;
  margin-bottom: 35px;
}

.content-left h2,
.content-left h3 {
  font-size: 24px;
  font-weight: 900;
}

.content-left h2 {
  margin-bottom: 26px;
}

.content-left h2 span {
  color: #000;
}

.content-left h3 {
  margin-bottom: 21px;
}

.content-left p {
  font-size: 16px;
  line-height: 175%;
  font-weight: 700;
}

.content-right {
  display: flex;
  width: 57%;
  margin-left: 26px;
  align-items: flex-end;
}

.content-right img {
  object-fit: contain;
}

.service {
  margin: 20px 0;
  color: #fff;
}

.section-title-wrap {
  text-align: center;
}

.section-title {
  text-transform: uppercase;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.469;
}

.section-title-ja {
  font-size: 16px;
  font-weight: 900;
  position: relative;
  display: inline-block;
  text-indent: 1.25em;
  line-height: 1.438;
  margin-bottom: 16px;
}

.section-title-ja::before {
  content: "";
  width: 16px;
  height: 16px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
}

.service-overview {
  font-size: 16px;
  text-align: center;
  line-height: 175%;
  margin-bottom: 48px;
}

.service-card-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 24px;
  grid-row-gap: 24px;
}

.service-card-item {
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.10);
  text-align: center;
  padding: 40px 32px 32px 32px;
  pointer-events: none;
  transition: all 0.5s;
  border-radius: 16px;
  position: relative;
}

.service-card-item:hover {
  background-color: #F4FBF8;
}

.service-card-item img {
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
}

.service-card-item h5 {
  font-size: 20px;
  font-weight: 900;
  line-height: 120%;
  margin-bottom: 16px;
  height: 48px;
}

.service-card-item p {
  text-align: left;
  line-height: 150%;
  margin-bottom: 40px;
}

.service-card-item .show_btn {
  border: 1px solid #000;
  padding: 0px 10px;
  color: #000;
  font-size: 14px;
  font-weight: 900;
  transition: all 0.5s;
  pointer-events: auto;
  position: absolute;
  width: 82.4%;
  bottom: 32px;
  left: 50%;
  transform: translate(-50%, 0);
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.show_btn .fa-arrow-right {
  margin-left: 0.25em;
}

.service-card-item .show_btn:hover {
  background-color: #000;
  color: #FFF;
}

.news {
  background-color: #F5F5F5;
  padding: 80px 0;
}

.news .section-title-ja {
  margin-bottom: 16px;
}

.news-content {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 24px;
  grid-row-gap: 24px;
}

.news-content a {
  display: flex;
  padding: 8px 8px 8px 0;
  align-items: center;
  border-bottom: 1px solid #333;
  transition: all 0.5s;
}

.news-content a:hover {
  background-color: #FFF;
}

.first-wrap {
  white-space: nowrap;
  margin-right: 16px;
  text-align: center;
  width: 100px;
}

.news-tag {
  font-size: 12px;
  color: #FFF;
  background-color: #000;
  font-weight: 900;
  padding: 4px 6px;
  margin-bottom: 4px;
}

.news-date {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.news-title {
  width: 71%;
  margin-right: 16px;
  font-weight: 900;
  line-height: 1.5;
}

.news-svg .fa-chevron-right {
  font-size: 24px;
  color: #000;
}

.news-btn {
  margin-top: 56px;
  text-align: center;
}

.news-btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 900;
  color: #000;
  border: 2px solid #000;
  width: 364px;
  padding: 16px 10px;
  margin: 0 auto;
  transition: all 0.5s;
}

.news-btn a:hover {
  color: #FFF;
  background-color: #000;
}

.news-btn .fa-arrow-right {
  margin-left: 0.25em;
  font-size: 24px;
}

.blog {
  padding: 80px 0 53px 0;
}

.blog .section-title-ja {
  margin-bottom: 40px;
}

.blog-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 24px;
  grid-row-gap: 24px;
}

.blog-item {
  border-radius: 0px 0px 16px 16px;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.10);
  position: relative;
  transition: all 0.5s;
}

.blog-item img {
  height: 258px;
  width: 100%;
  object-fit: cover;
}

.blog-textwrap {
  padding: 32px;
  transition: all 0.5s;
}

.blog-title {
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 68px;
}

.second-wrap {
  display: flex;
  font-family: 'Oswald', sans-serif;
  margin-bottom: 8px;
  align-items: center;
}

.blog-date {
  font-size: 16px;
  font-weight: 500;
  margin-right: 12px;
  line-height: 1.5;
}

.blog-tag {
  color: #FFF;
  font-size: 12px;
  font-weight: 700;
  padding: 4px;
  background-color: #808080;
  line-height: 1em;
  margin-right: 8px;
}

.blog-textwrap a {
  border: 1px solid #000;
  color: #000;
  font-size: 14px;
  font-weight: 900;
  padding: 5px 10px;
  text-align: center;
  transition: all 0.5s;
}

.blog-textwrap a svg path {
  transition: all 0.5s;
}

.blog-textwrap a:hover {
  background-color: #000;
  color: #FFF;
}

.blog-textwrap a:hover svg path {
  fill: #FFF;
}

.blog-item.hovered {
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.30);
  background-color: #F4FBF8;
  border-radius: 0px 0px 16px 16px;
}

.blog-textwrap.hovered {
  background-color: #F4FBF8;
  border-radius: 0px 0px 16px 16px;
}

.blog-bottom {
  position: absolute;
  width: calc(100% - 64px);
  bottom: 32px;
  left: 32px;
}

.blog-bottom .fa-arrow-right {
  margin-left: 0.25em;
}

.blog-btn {
  margin-top: 56px;
  text-align: center;
}

.blog-btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 900;
  color: #000;
  border: 2px solid #000;
  width: 364px;
  padding: 16px 10px;
  margin: 0 auto;
  transition: all 0.5s;
}

.blog-btn .fa-arrow-right {
  font-size: 24px;
  margin-left: 0.25em;
}

.blog-btn a:hover {
  color: #FFF;
  background-color: #000;
}

.deco-logo {
  text-align: center;
  padding: 0 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.deco-logo img {
  width: 100%;
  opacity: 0.05;
}

/* メッセージ */
.about-message-wrap {
  position: relative;
}

.about-message {
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: center;
}

.about-message h2 {
  margin-bottom: 32px;
  color: #000;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.5;
}

.about-message p {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.75;
}

.about-img-left {
  position: absolute;
  bottom: 0;
  left: 0;
  max-width: 100%;
  width: 630px;
  z-index: -1;
}

.about-img-right {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 100%;
  width: 738px;
  z-index: -1;
}

/* サービスhero */

.hero-section {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
  padding: 3% 5%;
  position: relative;
  overflow: hidden;
}

.hero-section-app {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 50px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.content-left {
  flex: 1;
  z-index: 2;
  max-width: 600px;
}

.main-title {
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff, #d1d5db, #9ca3af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
  }

  100% {
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.6));
  }
}

.subtitle {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: #d1d5db;
  font-weight: 300;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

.description {
  font-size: 1.1rem;
  color: #e2e8f0;
  line-height: 1.8;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1s forwards;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #6b7280, #374151);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1.5s forwards;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #9ca3af, #6b7280);
}

.arrow {
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-left: none;
  border-bottom: none;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
  transform: rotate(45deg) translate(3px, -3px);
}

.phone-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  z-index: 2;
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #9ca3af;
  border-radius: 50%;
  animation: particleFloat 8s linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ブログとお役立ち資料セクション */

.section-container {
  display: flex;
}

.section-link {
  display: flex;
  width: 50%;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.section-link:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.section-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
  z-index: 1;
  transition: opacity 0.3s ease;
}

.section-link:hover::before {
  opacity: 0.7;
}

.section-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  width: 100%;
  color: white;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.section-description {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 80%;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
  margin-bottom: 20px;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  margin: 0 0 20px 0;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
}

.read-more-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateX(5px);
}

.read-more-btn::after {
  content: '→';
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.read-more-btn:hover::after {
  transform: translateX(3px);
}

.section-blog {
  background:
    url('/assets/img/top-blog-sec.png') center/cover;
}

.section-download {
  background: url('/assets/img/top-download-sec.png') center/cover;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pasta CTAセクション */
.top-cta-container {
  margin: 0 auto;
  max-width: 1024px;
}

.top-cta-section {
  background: rgb(242 242 242 / 95%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 40px;
  align-items: flex-start;
  min-height: 400px;
  margin: 60px 0;
}

.top-cta-header {
  width: 33.333%;
  padding-right: 20px;
}

.top-cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  background: #000;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.top-cta-description {
  line-height: 1.5;
  margin-bottom: 30px;
}

.top-cta-image {
  width: 66.667%;
  text-align: center;
}

.top-cta-image img {
  object-fit: contain;
  height: 100%;
}

/* 導入事例インタビュー */
.interview-container {
  margin: 0 auto;
}

.interview-section {
  background: rgb(242 242 242 / 95%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 40px;
  align-items: flex-start;
  min-height: 400px;
}

.interview-header {
  width: 33.333%;
  padding-right: 20px;
  text-align: center;
  align-self: center;
}

.interview-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  background: #000;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.interview-text {
  margin-bottom: 24px;
  text-align: left;
  line-height: 1.5;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #000;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(218, 218, 218, 0.4);
}

.view-all-btn:hover {
  box-shadow: 0 6px 20px rgba(218, 218, 218, 0.4);
  background: linear-gradient(135deg, #282828, #969696);
}

.view-all-btn::after {
  content: '→';
  transition: transform 0.3s ease;
}

.view-all-btn:hover::after {
  transform: translateX(3px);
}

.interview-cards-container {
  width: 66.667%;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.interview-cards-wrapper {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.interview-card {
  flex: 0 0 60%;
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin-right: 20px;
  opacity: 0.7;
  transform: scale(0.95);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.interview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #4a4a4a;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.interview-card.active {
  opacity: 1;
  transform: scale(1);
}

.interview-card.active::before {
  transform: scaleX(1);
}

.interview-card-thumbnail {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.interview-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.interview-card-thumbnail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.interview-card:hover .interview-card-thumbnail::before {
  opacity: 1;
}

.interview-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 15px;
  line-height: 1.3;
}

.interview-card-description {
  color: #718096;
  font-size: 1rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.interview-navigation-dots {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.interview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.interview-dot.active {
  background: #757575;
  transform: scale(1.2);
}

/*-------------------------
  Top（タブレット）
-------------------------*/
@media screen and (max-width: 1054px) {
  .service-card-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*-------------------------
  Top（SP）
-------------------------*/
@media screen and (max-width: 768px) {
  .mainview {
    width: 100%;
    height: 784px;
    margin-top: 60px;
  }

  .mainview-content {
    flex-direction: column;
  }

  .about-message h2 {
    font-size: 26px;
  }

  .content-left {
    width: 100%;
  }

  .mainview-title {
    font-size: 64px;
    margin-bottom: 38px;
  }

  .content-left h2 {
    margin-bottom: 20px;
  }

  .content-right {
    min-width: 280px;
    width: 100%;
    margin: 10px auto 0 auto;
    align-items: center;
  }

  .service-card-wrap {
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: 0;
    grid-row-gap: 0;
  }

  .service-card-item {
    box-shadow: none;
  }

  .service-card-item p {
    display: none;
  }

  .service-card-item .show_btn {
    position: static;
    width: 100%;
    bottom: 0;
    left: 0;
    transform: translate(0, 0);
    margin: 0 auto;
  }

  .news-content {
    grid-template-columns: repeat(1, 1fr);
  }

  .news-content a {
    flex-direction: column;
    padding: 4px 48px 8px 0;
    align-items: flex-start;
    position: relative;
  }

  .first-wrap {
    display: flex;
  }

  .news-tag {
    margin-right: 8px;
  }

  .news-title {
    width: 100%;
  }

  .news-svg {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translate(0, -50%);
  }

  .news-btn {
    margin-top: 40px;
  }

  .news-btn a {
    width: 100%;
    max-width: 364px;
  }

  .blog {
    padding: 80px 0 32px 0;
  }

  .blog-content {
    grid-template-columns: repeat(1, 1fr);
  }

  .blog-btn {
    margin-top: 40px;
  }

  .blog-btn a {
    width: 100%;
    max-width: 364px;
  }

  .hero-section-app {
    flex-direction: column;
    text-align: center;
    padding: 2rem 0.5rem;
  }

  .section-container {
    flex-direction: column;
    min-height: 100vh;
  }

  .section-link {
    width: 100%;
    min-height: 50vh;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1rem;
    max-width: 90%;
  }

  .interview-section {
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
    border-radius: none;
  }

  .interview-card-description {
    -webkit-line-clamp: inherit;
  }

  .interview-navigation-dots {
    bottom: -5px;
  }

  .interview-header,
  .interview-cards-container {
    width: 100%;
  }

  .interview-title {
    font-size: 2rem;
  }

  .top-cta-description {
    text-align: left;
  }

  .interview-card {
    flex: 0 0 80%;
    padding: 20px;
  }

  .interview-card-thumbnail {
    height: 140px;
  }

  .interview-card-title {
    font-size: 1.1rem;
  }


  .top-cta-section {
    display: block;
    padding: 10px;
    width: 95%;
    margin: 40px auto;
    text-align: center;
  }

  .top-cta-header {
    margin-bottom: 40px;
  }

  .top-cta-header,
  .top-cta-image {
    width: 100%;
  }

}

@media screen and (max-width: 360px) {
  .mainview-title {
    font-size: 16.41vw;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-content {
    padding: 30px 15px;
  }
}