/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 11 2026 | 16:32:09 */
/*
 * ねぴこむ / ねぴこむ工房 メインビジュアル
 * Snow Monkey「追加CSS」または子テーマの style.css に貼り付けて使用します。
 *
 * 推奨ブロック構成:
 * div.neppie-hero.neppie-hero--personal（または --studio）
 *   div.neppie-hero__inner
 *     div.neppie-hero__content
 *       img.neppie-hero__logo
 *       p.neppie-hero__eyebrow
 *       h1.neppie-hero__copy（強調箇所は span）
 *       p.neppie-hero__lead
 *   small.neppie-hero__credit
 *
 * 画像をメディアライブラリへアップロード後、下の4つのURLを実URLに変更してください。
 */

:root {
  --neppie-teal: #08777a;
  --neppie-teal-dark: #075359;
  --neppie-pink: #ee77a5;
  --neppie-ivory: #fffaf3;
  --neppie-brown: #77533d;
  --neppie-ink: #294548;
  --neppie-hero-font: "Shippori Mincho", "Yu Mincho", YuMincho,
    "Hiragino Mincho ProN", serif;
}

.neppie-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(560px, 56vw, 820px);
  padding-block: 0 !important;
  overflow: hidden;
  color: var(--neppie-ink);
  background-color: var(--neppie-ivory);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* 写真の上でも文字を読みやすくする、ごく薄い左側グラデーション */
.neppie-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgb(255 250 243 / 92%) 0%,
    rgb(255 250 243 / 64%) 38%,
    rgb(255 250 243 / 0%) 64%
  );
}

.neppie-hero--personal {
  background-image: url("https://www.neppie.com/cgi-bin/wordpress/wp-content/uploads/2026/09/img_bg_neppiecom_pc.webp");
}

.neppie-hero--studio {
  --neppie-ink: var(--neppie-teal-dark);
  background-image: url("/wp-content/uploads/hero-neppie-studio-pc.png");
}

.neppie-hero__inner {
  display: grid;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: clamp(64px, 8vw, 112px);
}

.neppie-hero__content {
  z-index: 1;
  width: min(52%, 620px);
}

.neppie-hero__logo,
.neppie-hero__content > .wp-block-image:first-child {
  display: block;
  width: auto;
  max-width: min(260px, 68%);
  margin: 0 0 clamp(20px, 3vw, 36px);
}

.neppie-hero__logo img,
.neppie-hero__content > .wp-block-image:first-child img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 130px;
  object-fit: contain;
  object-position: left center;
}

.neppie-hero--studio .neppie-hero__logo {
  max-width: min(390px, 88%);
}

.neppie-hero__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--neppie-pink);
  font-family: var(--neppie-hero-font);
  font-size: clamp(0.82rem, 1.1vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.neppie-hero__copy {
  margin: 0;
  color: var(--neppie-ink);
  font-family: var(--neppie-hero-font);
  font-size: clamp(1.85rem, 3.2vw, 3.35rem);
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: 0.035em;
  text-wrap: balance;
}

.neppie-hero__copy span {
  position: relative;
  display: inline-block;
  color: var(--neppie-teal);
}

.neppie-hero__copy span::after {
  position: absolute;
  z-index: -1;
  right: -0.08em;
  bottom: 0.06em;
  left: -0.08em;
  height: 0.22em;
  border-radius: 999px;
  content: "";
  background: rgb(238 119 165 / 30%);
}

.neppie-hero--studio .neppie-hero__copy span {
  color: var(--neppie-brown);
}

.neppie-hero__lead {
  max-width: 34em;
  margin: clamp(18px, 2.4vw, 30px) 0 0;
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  line-height: 1.9;
  letter-spacing: 0.035em;
}

.neppie-hero__credit {
  position: absolute;
  right: 14px;
  bottom: 10px;
  z-index: 2;
  color: rgb(255 255 255 / 88%);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgb(0 0 0 / 38%);
}

@media (max-width: 767px) {
  .neppie-hero {
    min-height: max(880px, 100svh);
    background-position: center bottom;
    background-size: 100% auto;
  }

  .neppie-hero::before {
    background: linear-gradient(
      180deg,
      rgb(255 250 243 / 98%) 0%,
      rgb(255 250 243 / 94%) 44%,
      rgb(255 250 243 / 0%) 66%
    );
  }

  .neppie-hero--personal {
    background-image: url("https://www.neppie.com/cgi-bin/wordpress/wp-content/uploads/2026/09/img_bg_neppiecom_sp.webp");
  }

  .neppie-hero--studio {
    background-image: url("/wp-content/uploads/hero-neppie-studio-sp.png");
  }

  .neppie-hero__inner {
    align-items: start;
    width: min(100% - 36px, 560px);
    padding-block: 32px 360px;
  }

  .neppie-hero__content {
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
    text-align: center;
  }

  .neppie-hero__logo,
  .neppie-hero__content > .wp-block-image:first-child {
    max-width: min(180px, 52vw);
    margin: 0 auto 16px;
  }

  .neppie-hero__logo img,
  .neppie-hero__content > .wp-block-image:first-child img {
    max-height: 90px;
    object-position: center;
  }

  .neppie-hero--studio .neppie-hero__logo {
    max-width: min(290px, 78vw);
  }

  .neppie-hero__eyebrow {
    margin-bottom: 0.55rem;
    font-size: 0.76rem;
  }

  .neppie-hero__copy {
    font-size: clamp(1.45rem, 6.2vw, 2rem);
    line-height: 1.36;
    letter-spacing: 0.02em;
  }

  .neppie-hero__lead {
    margin-top: 12px;
    font-size: 0.84rem;
    line-height: 1.65;
  }

  .neppie-hero__credit {
    right: 8px;
    bottom: 7px;
    font-size: 0.6rem;
  }
}

@media (prefers-contrast: more) {
  .neppie-hero::before {
    background-color: rgb(255 250 243 / 36%);
  }

  .neppie-hero__copy,
  .neppie-hero__lead {
    text-shadow: 0 1px 0 #fff;
  }
}
