:root {
  --icg-primary: #ffb15a;
  --icg-secondary: #fff5f0;
  --icg-accent: #ffe8dc;
  --icg-text: #232323;
  --icg-muted: #626262;
  --icg-border: #ece5df;
}

.icg-custom-layout {
  background: #fff;
}

.icg-custom-layout #content,
.icg-custom-layout .l-content,
.icg-custom-layout .l-mainContent,
.icg-custom-layout .l-mainContent__inner,
.icg-custom-layout .l-container {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.icg-global-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--icg-border);
}

.icg-global-header__inner {
  width: min(1200px, 94%);
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.icg-global-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--icg-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.icg-global-logo span {
  white-space: nowrap;
}

.icg-global-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.icg-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--icg-border);
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.icg-nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--icg-text);
  border-radius: 999px;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.icg-global-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.icg-global-nav a {
  text-decoration: none;
  color: var(--icg-text);
  font-weight: 600;
  padding: 8px 10px;
}

.icg-global-nav a.is-cta {
  border-radius: 999px;
  background: var(--icg-primary);
  color: #fff;
  padding: 9px 16px;
}

.icg-nav-backdrop {
  display: none;
}

.icg-page {
  color: var(--icg-text);
  background: #fff;
  width: 100%;
  max-width: none;
}

.icg-container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.icg-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 84px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--icg-secondary), var(--icg-accent));
}

.icg-hero--about {
  background-image: linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.3)),
    url("../images/hero-about.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.icg-hero--portfolio {
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.28)),
    url("../images/hero-portfolio.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.28)),
    image-set(url("../images/hero-portfolio.webp") type("image/webp"), url("../images/hero-portfolio.jpg") type("image/jpeg"));
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.icg-hero--contact {
  background-image: linear-gradient(rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.3)),
    url("../images/hero-contact.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.3)),
    image-set(url("../images/hero-contact.webp") type("image/webp"), url("../images/hero-contact.jpg") type("image/jpeg"));
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.icg-hero__bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.32)),
    url("../images/hero-top.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.32)),
    image-set(url("../images/hero-top.webp") type("image/webp"), url("../images/hero-top.jpg") type("image/jpeg"));
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

.icg-page--home .icg-hero__bg {
  transform-origin: center;
  animation: icg-hero-zoom 18s ease-in-out infinite alternate;
}

.icg-hero .icg-container {
  position: relative;
  z-index: 1;
}

.icg-hero__actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.icg-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
}

.icg-hero p {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.2rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.icg-hero .icg-btn {
  text-shadow: none;
}

.icg-section {
  padding: 72px 0;
}

.icg-section--alt {
  background: color-mix(in srgb, var(--icg-secondary) 55%, #fff);
}

.icg-title {
  margin: 0 0 16px;
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.icg-title span {
  color: var(--icg-primary);
}

.icg-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.9;
  color: var(--icg-muted);
}

.icg-btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
}

.icg-btn--primary {
  background: var(--icg-primary);
  color: #fff;
}

.icg-btn--secondary {
  border: 2px solid var(--icg-primary);
  color: var(--icg-primary);
  background: #fff;
}

.icg-btn:hover {
  opacity: 0.92;
}

.icg-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.icg-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.icg-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.icg-card__body {
  padding: 20px;
}

.icg-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--icg-accent);
  color: #9e552f;
  font-size: 0.85rem;
  font-weight: 700;
}

.icg-feature {
  text-align: center;
  background: #fff;
  padding: 26px 18px;
  border-radius: 14px;
  border: 1px solid var(--icg-border);
}

.icg-feature h3 {
  margin: 0 0 10px;
}

.icg-feature p {
  margin: 0;
  color: var(--icg-muted);
  line-height: 1.75;
}

.icg-feature__icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  background: var(--icg-accent);
  color: var(--icg-primary);
  font-weight: 700;
}

.icg-table {
  border: 1px solid var(--icg-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.icg-table dl {
  margin: 0;
}

.icg-table .icg-row {
  display: grid;
  grid-template-columns: 230px 1fr;
  border-bottom: 1px solid var(--icg-border);
}

.icg-table .icg-row:last-child {
  border-bottom: 0;
}

.icg-table dt {
  margin: 0;
  padding: 16px;
  background: color-mix(in srgb, var(--icg-secondary) 72%, #fff);
  font-weight: 700;
}

.icg-table dd {
  margin: 0;
  padding: 16px;
  line-height: 1.85;
}

.icg-table dd a {
  color: var(--icg-primary);
  text-decoration: none;
  font-weight: 700;
}

.icg-table dd a:hover {
  opacity: 0.85;
}

.icg-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.icg-list li {
  padding-left: 1.2em;
  position: relative;
  line-height: 1.8;
}

.icg-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--icg-primary);
}

.icg-service-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.icg-service-item {
  background: #fff;
  border: 1px solid var(--icg-border);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.icg-service-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--icg-primary);
}

.icg-service-item p {
  margin: 0;
  padding: 18px 18px 18px 22px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.6;
  color: #2b2b2b;
}

.icg-portfolio-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.icg-portfolio-filter a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f2f2f2;
  color: var(--icg-text);
}

.icg-portfolio-filter a.is-active {
  background: var(--icg-primary);
  color: #fff;
}

.icg-thumb {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.icg-meta {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.95rem;
}

.icg-meta div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.icg-meta dt,
.icg-meta dd {
  margin: 0;
}

.icg-meta dt {
  color: var(--icg-muted);
}

.icg-meta dd {
  font-weight: 700;
}

.icg-flow-mini-card h3 {
  margin: 0 0 12px;
}

.icg-flow-mini-card__badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--icg-secondary) 70%, #fff);
  color: #9e552f;
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 800;
}

.icg-flow-mini-card p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.7;
  color: #303030;
}

.icg-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.icg-contact-box {
  text-align: center;
  background: var(--icg-secondary);
  border-radius: 12px;
  padding: 24px 16px;
}

.icg-form-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  padding: 28px;
}

.icg-form {
  display: grid;
  gap: 14px;
}

.icg-cf7-wrap .wpcf7-form {
  display: grid;
  gap: 14px;
}

.icg-cf7-wrap .wpcf7-form p {
  margin: 0;
}

.icg-cf7-wrap input[type="text"],
.icg-cf7-wrap input[type="email"],
.icg-cf7-wrap input[type="tel"],
.icg-cf7-wrap select,
.icg-cf7-wrap textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  padding: 11px;
  box-sizing: border-box;
}

.icg-cf7-wrap textarea {
  min-height: 160px;
  resize: vertical;
}

.icg-cf7-wrap .wpcf7-submit {
  border: 0;
  cursor: pointer;
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  background: var(--icg-primary);
  color: #fff;
}

.icg-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.icg-form input,
.icg-form select,
.icg-form textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  padding: 11px;
  box-sizing: border-box;
}

.icg-form textarea {
  min-height: 160px;
  resize: vertical;
}

.icg-alert {
  padding: 14px;
  border-radius: 10px;
  background: #eaffea;
  border: 1px solid #89cb89;
  color: #1f6a1f;
}

.icg-policy {
  max-width: 900px;
  margin: 0 auto;
}

.icg-policy section {
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--icg-border);
}

.icg-policy section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.icg-policy h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.icg-policy p,
.icg-policy li {
  line-height: 1.9;
  color: var(--icg-muted);
}

.icg-policy > p:first-child {
  margin-bottom: 28px;
}

.icg-policy-contact {
  background: #fff5f0;
  border: 1px solid #ece5df;
  border-radius: 12px;
  padding: 16px;
}

.icg-policy-contact p {
  margin: 0 0 8px;
}

.icg-policy-contact p:last-child {
  margin-bottom: 0;
}

.icg-cta {
  padding: 76px 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--icg-primary), #ef7d42);
}

.icg-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.icg-cta p {
  margin: 0 0 14px;
  opacity: 0.95;
}

.icg-global-footer {
  padding: 36px 0;
  background: #101010;
  color: #ddd;
}

.icg-global-footer__inner {
  width: min(1200px, 94%);
  margin: 0 auto;
  text-align: center;
}

.icg-global-footer__brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.icg-global-footer__brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.icg-global-footer a {
  color: #fff;
  text-decoration: none;
}

.icg-global-footer__copy {
  margin-top: 10px;
  opacity: 0.8;
  font-size: 0.9rem;
}

.icg-page--home .is-reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.72s ease, transform 0.72s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.icg-page--home .is-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@keyframes icg-hero-zoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .icg-page--home .icg-hero__bg {
    animation: none;
    transform: none;
  }

  .icg-page--home .is-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 960px) {
  .icg-global-header__inner {
    min-height: 64px;
    width: min(1200px, 92%);
  }

  .icg-global-logo {
    font-size: 1.05rem;
    gap: 8px;
  }

  .icg-global-logo img {
    width: 44px;
    height: 44px;
  }

  .icg-nav-toggle {
    display: inline-flex;
    z-index: 120;
  }

  .icg-global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(86vw, 320px);
    height: 100dvh;
    background: #fff;
    padding: 90px 20px 24px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.16);
    z-index: 115;
    transition: right 0.25s ease;
  }

  .icg-global-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--icg-border);
  }

  .icg-global-nav a.is-cta {
    margin-top: 16px;
    border-bottom: 0;
    text-align: center;
    padding: 12px 16px;
  }

  .icg-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    z-index: 110;
    transition: opacity 0.2s ease;
  }

  body.icg-menu-open {
    overflow: hidden;
  }

  body.icg-menu-open .icg-global-nav {
    right: 0;
  }

  body.icg-menu-open .icg-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.icg-menu-open .icg-nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.icg-menu-open .icg-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.icg-menu-open .icg-nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .icg-grid-3,
  .icg-grid-4,
  .icg-contact-grid {
    grid-template-columns: 1fr;
  }

  .icg-service-grid {
    grid-template-columns: 1fr;
  }

  .icg-table .icg-row {
    grid-template-columns: 1fr;
  }
}
