/* ========================================
   SUB PAGE CONTACT
======================================== */

/* 左側の装飾 */
body:not(.home) .front-news-contact__deco--01 {
    width: 325px;
    left: 0;
    top: 900px;
}

/* 右側の装飾 */
body:not(.home) .front-news-contact__deco--02 {
    width: 705px;
    right: -0;
    top: 1280px;
}
/* ========================================
   WEB PAGE - GREEN THEME
======================================== */

.web-page {
  --color-primary-dark: #26996a;
  --color-primary: #41b188;
  --color-primary-normal: #82c9b4;
  --color-primary-light: #bee9dd;
  --color-primary-pale: #e3f6f1;

  --color-orange-dark: var(--color-primary-dark);
  --color-orange: var(--color-primary);
  --color-orange-light: var(--color-primary-light);
  --color-orange-pale: var(--color-primary-pale);

  --marketing-border: #d8eee6;
  width: 100%;
  overflow: hidden;
}

/* HERO */
.web-page .company-hero__subtitle {
  color: var(--color-primary-dark);
}

.web-hero .company-hero__shape--01 {
  background-image: url("../img/common/page_hed_circle01_green.svg");
}

.web-hero .company-hero__shape--02 {
  background-image: url("../img/common/page_hed_circle03_green.svg");
}

.web-hero .company-hero__shape--03 {
  background-image: url("../img/common/page_hed_circle02_green.svg");
}

.web-hero .company-hero__shape--04 {
  background-image: url("../img/common/page_hed_circle04_green.svg");
}

.web-hero .company-hero__shape--05 {
  background-image: url("../img/common/page_hed_circle05_green.svg");
}

/* INTRO */
.web-page .marketing-intro__copy h2 span {
  color: var(--color-primary-dark);
}

/* PROBLEMS */
.web-page .marketing-problems {
  background: #f7fcfa;
}

.web-page .marketing-problems__item {
  border-color: #d8eee6;
}

.web-page .marketing-problems__check {
  background: var(--color-primary-pale);
  color: var(--color-primary-dark);
}

.web-page .marketing-problems__answer strong {
  color: var(--color-primary-dark);
}

/* SERVICES */
.web-page .marketing-services__item {
  border-color: #d8eee6;
  overflow: hidden;
}

.web-page .marketing-services__image {
  background: var(--color-primary-pale);
}

.web-page .marketing-services__placeholder {
  background:
    radial-gradient(circle at 80% 20%, var(--color-primary-light), transparent 42%),
    var(--color-primary-pale);
}

.web-page .marketing-services__placeholder span,
.web-page .marketing-services__en {
  color: var(--color-primary-dark);
}

.web-page .marketing-services__tags span {
  background: var(--color-primary-pale);
}

.web-page .web-service-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.web-page .web-service-link .marketing-services__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.web-page .web-service-link .marketing-services__tags {
  margin-bottom: 22px;
}

.web-page .web-service-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #d8eee6;
  color: var(--color-primary-dark);
  font-size: 14px;
  font-weight: 700;
}

.web-page .web-service-more span {
  font-size: 22px;
  transition: transform .25s ease;
}

.web-page .web-service-link:hover .web-service-more span {
  transform: translate(3px, -3px);
}

.web-page .web-service-link:focus-visible {
  outline: 3px solid var(--color-primary-dark);
  outline-offset: -3px;
}

/* STRENGTHS */
.web-page .marketing-strengths {
  background: var(--color-primary-pale);
}

.web-page .marketing-strengths__number {
  color: var(--color-primary);
}

.web-page .marketing-strengths__marquee-track span {
  color: #fff;
}

/* APPROACH */
.web-page .marketing-journey__step:nth-child(1) {
  background: var(--color-primary-pale);
  color: #222;
}

.web-page .marketing-journey__step:nth-child(2) {
  background: var(--color-primary-light);
  color: #222;
}

.web-page .marketing-journey__step:nth-child(3) {
  background: var(--color-primary-normal);
  color: #222;
}

.web-page .marketing-journey__step:nth-child(4) {
  background: var(--color-primary-dark);
  color: #fff;
}


/* ========================================
   INDUSTRIES - CARD DESIGN
======================================== */

.web-industries {
  background: #f7fcfa;
}

/* GRID */
.web-industries__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 55px;
}

/* CARD */
.web-industry-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #d8eee6;
  border-radius: 20px;
  overflow: hidden;
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.web-industry-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow: 0 12px 30px rgba(38, 153, 106, .10);
}

.web-industry-card__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 225px;
  padding: 28px 15px;
  text-align: center;
  text-decoration: none;
  color: #222;
}

/* ICON */
.web-industry-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 18px;
}

.web-industry-card__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.web-industry-card__placeholder {
  display: block;
  width: 68px;
  height: 68px;
  background: var(--color-primary-pale);
  border-radius: 50%;
}

/* TITLE */
.web-industry-card__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: #222;
}

/* SUBTITLE */
.web-industry-card__subtitle {
  margin: 5px 0 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  color: #777;
}

/* ALL LINK */
.web-industries__bottom {
  margin-top: 45px;
  text-align: center;
}

.web-industries__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 245px;
  padding: 16px 26px;
  border: 1px solid var(--color-primary-dark);
  border-radius: 100px;
  color: var(--color-primary-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .3s ease, color .3s ease;
}

.web-industries__all:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.web-industries__empty {
  margin-top: 35px;
  text-align: center;
}

/* ========================================
   RESPONSIVE
======================================== */

@media screen and (max-width: 1100px) {

  .web-industries__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media screen and (max-width: 767px) {

  .web-industries__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 32px;
  }

  .web-industry-card {
    border-radius: 14px;
  }

  .web-industry-card__link {
    min-height: 175px;
    padding: 22px 10px;
  }

  .web-industry-card__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
  }

  .web-industry-card__title {
    font-size: 14px;
  }

  .web-industry-card__subtitle {
    font-size: 11px;
  }

  .web-industries__bottom {
    margin-top: 30px;
  }

  .web-industries__all {
    width: 100%;
  }

}


/* WORKS */
.web-page .marketing-works__image {
  background: var(--color-primary-pale);
}

.web-page .marketing-works__image > span,
.web-page .marketing-works__info > span {
  color: var(--color-primary-dark);
}

/* FLOW */
.web-page .marketing-flow__number {
  color: var(--color-primary-dark);
}

/* FAQ */
.web-page .marketing-faq {
  background: var(--color-primary-pale);
}

.web-page .marketing-faq__heading h2 {
  color: var(--color-primary-dark);
}

.web-page .marketing-faq__list {
  background: #fff;
}

.web-page .marketing-faq__item {
  border-bottom-color: #d8eee6;
}

.web-page .marketing-faq__question:hover,
.web-page .marketing-faq__item[open] .marketing-faq__question {
  background: #f7fcfa;
}

.web-page .marketing-faq__q {
  background: var(--color-primary);
  color: #fff;
}

.web-page .marketing-faq__a {
  background: var(--color-primary-pale);
  color: var(--color-primary-dark);
}

.web-page .marketing-faq__toggle {
  border-color: #d8eee6;
}

/* RESPONSIVE 
@media screen and (max-width: 991px) {
  .web-industries__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .web-industries__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 32px;
  }

  .web-industries__card {
    min-height: 74px;
    padding: 18px 20px;
    border-radius: 12px;
  }

  .web-industries__card-name {
    font-size: 14px;
  }

  .web-industries__bottom {
    margin-top: 30px;
  }

  .web-industries__all {
    width: 100%;
  }
}*/


/* 業種別カード：PC5列 */
.web-industries__grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* タブレット：3列 */
@media screen and (max-width: 1100px) {
  .web-industries__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* スマートフォン：2列 */
@media screen and (max-width: 767px) {
  .web-industries__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ========================================
   WEB PAGE - FINAL ADJUSTMENTS
======================================== */

/* ----------------------------------------
   SERVICES - HOVER ANIMATION
---------------------------------------- */

.web-page .marketing-services__item {
  position: relative;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .web-page .marketing-services__item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(38, 153, 106, 0.15);
    border-color: var(--color-primary);
  }
}

.web-page .marketing-services__item:focus-within {
  box-shadow: 0 16px 36px rgba(38, 153, 106, 0.15);
  border-color: var(--color-primary);
}

.web-page .web-service-link {
  height: 100%;
}

/* ----------------------------------------
   WORKS - BACKGROUND
---------------------------------------- */

.web-page .marketing-works.web-works {
  background: #f7fcfa;
}

/* ----------------------------------------
   INDUSTRIES - BACKGROUND
---------------------------------------- */

.web-page .web-industries {
  background: var(--color-primary-pale);
}

/* ----------------------------------------
   INDUSTRIES - 5 COLUMNS
---------------------------------------- */

.web-page .web-industries__grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media screen and (max-width: 1100px) {
  .web-page .web-industries__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .web-page .web-industries__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ----------------------------------------
   REDUCED MOTION
---------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .web-page .marketing-services__item {
    transition: none;
    will-change: auto;
  }

  .web-page .marketing-services__item:hover {
    transform: none;
  }
}
