@charset "utf-8";
/* ==================================================
  components.css 整頓版（内容はそのまま / 重複整理のみ）
  - Header / Nav / Buttons / Cards / Tags / Forms
================================================== */


/* ==================================================
  1) Header / Nav
================================================== */

/* Header base */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, .6),
    transparent
  );
  opacity: .7;
}

/* container（base.css側に無い時の保険） */
.container {
  width: min(var(--container, 1120px), 100% - (var(--gutter, 40px) * 2));
  margin-inline: auto;
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  display: block;
  height: calc(var(--header-h) + 22px);
  width: auto;
  max-width: 180px;
  transform: translateY(8px);
}

/* PC Nav */
.nav a {
  padding: 6px 12px;
  border-radius: 10px;
  transition: .2s;
  color: rgba(11, 15, 26, .75);
}

.nav a:hover {
  background: rgba(0, 0, 0, .05);
}

.global-nav > ul {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .01em;
  padding: 8px 10px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}

.global-nav a:hover {
  color: var(--text);
  background: rgba(11, 15, 26, .04);
}



/* Works dropdown */
.nav-item--works {
  position: relative;
}

.nav-works {
  position: relative;
}

.nav-works summary {
  list-style: none;
  cursor: pointer;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .01em;
  padding: 8px 10px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-works summary::-webkit-details-marker {
  display: none;
}

.nav-works summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .18s ease;
  opacity: .7;
}

.nav-works[open] summary::after {
  transform: rotate(-135deg) translateY(-1px);
}

.nav-works summary:hover {
  color: var(--text);
  background: rgba(11, 15, 26, .04);
}

.nav-works__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, 42vw);
  max-height: min(70dvh, 520px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  margin: 0;
  padding: 12px;
  list-style: none;
  border: 1px solid rgba(11, 15, 26, .10);
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(11, 15, 26, .14);
  display: grid;
  gap: 8px;
  z-index: 1200;

  overscroll-behavior: contain;
}

.nav-works__menu a {
  display: block;
  padding: 11px 14px;
  border-radius: 14px;
  color: #18202b;
  text-decoration: none;
  background: rgba(184, 201, 251, .14);
  border: 1px solid rgba(0, 92, 255, .08);
  font-weight: 700;
  line-height: 1.45;
}

.nav-works__menu a:hover {
  background: rgba(184, 201, 251, .28);
}


.nav-works__menu::after {
  content: "";
  position: sticky;
  bottom: -12px;
  display: block;
  height: 18px;
  margin: 0 -12px -12px;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.96));
  pointer-events: none;
}

/* PC Works dropdown scrollbar */
.nav-works__menu{
  scrollbar-width: thin;
  scrollbar-color: rgba(11,15,26,.18) rgba(255,255,255,0);
}

.nav-works__menu::-webkit-scrollbar{
  width: 8px;
}

.nav-works__menu::-webkit-scrollbar-track{
  background: transparent;
  border-radius: 999px;
}

.nav-works__menu::-webkit-scrollbar-thumb{
  background: rgba(11,15,26,.16);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.nav-works__menu::-webkit-scrollbar-thumb:hover{
  background: rgba(11,15,26,.24);
  border: 2px solid transparent;
  background-clip: padding-box;
}


.nav-works__all {
  text-align: center;
  background: rgba(0, 92, 255, .08) !important;
}



/* =========================================
   Works Nav Category Color
========================================= */
.nav-work {
  --nav-work-bg: rgba(184, 201, 251, .14);
  --nav-work-border: rgba(0, 92, 255, .10);
  --nav-work-hover: rgba(184, 201, 251, .24);
  --nav-work-bar: rgba(0, 92, 255, .42);
  --nav-work-text: #18202b;
}

/* 情報整理系：赤 */
.nav-work--info {
  --nav-work-bg: #fff8f8;
  --nav-work-border: rgba(229, 72, 77, .18);
  --nav-work-hover: rgba(229, 72, 77, .10);
  --nav-work-bar: #e5484d;
  --nav-work-text: #5a2226;
}

/* 導線改善系：緑 */
.nav-work--flow {
  --nav-work-bg: #f7fff8;
  --nav-work-border: rgba(47, 168, 79, .18);
  --nav-work-hover: rgba(47, 168, 79, .10);
  --nav-work-bar: #2fa84f;
  --nav-work-text: #1f4f2d;
}

/* 世界観訴求系：青 */
.nav-work--world {
  --nav-work-bg: #f7fbfe;
  --nav-work-border: rgba(36, 135, 200, .18);
  --nav-work-hover: rgba(36, 135, 200, .10);
  --nav-work-bar: #2487c8;
  --nav-work-text: #183e57;
}

/* 体験重視系：オレンジ */
.nav-work--fan {
  --nav-work-bg: #fffdf3;
  --nav-work-border: rgba(227, 179, 0, .20);
  --nav-work-hover: rgba(227, 179, 0, .12);
  --nav-work-bar: #e3b300;
  --nav-work-text: #5a4810;
}

.nav-work--starter{
  --nav-work-bg: #faf7ff;
  --nav-work-border: rgba(139, 92, 246, .25);
  --nav-work-hover: rgba(139, 92, 246, .14);
  --nav-work-bar: #8b5cf6;
  --nav-work-text: #3b2a6f;

  font-weight: 600;
}



/* PC dropdown item */
.nav-works__menu .nav-work {
  position: relative;
  overflow: hidden;
  background: var(--nav-work-bg);
  border: 1px solid var(--nav-work-border);
  color: var(--nav-work-text);
}

.nav-works__menu .nav-work:hover {
  background: var(--nav-work-hover);
}

.nav-works__menu .nav-work::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--nav-work-bar);
}

/* SP dropdown item */
.sp-nav__sub .nav-work {
  position: relative;
  overflow: hidden;
  background: var(--nav-work-bg);
  border: 1px solid var(--nav-work-border);
  color: var(--nav-work-text);
}

.sp-nav__sub .nav-work:hover {
  background: var(--nav-work-hover);
}

.sp-nav__sub .nav-work::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--nav-work-bar);
}



/* PC Works item motion */
.nav-works__menu .nav-work {
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    border-color .18s ease;
  box-shadow: 0 4px 12px rgba(11, 15, 26, .04);
}

.nav-works__menu .nav-work:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(11, 15, 26, .10);
}

.nav-works__menu .nav-work::before {
  transition: width .18s ease, opacity .18s ease;
  opacity: .9;
}

.nav-works__menu .nav-work:hover::before {
  width: 6px;
  opacity: 1;
}








/* SP Works accordion */
.sp-nav__group {
  border: 1px solid rgba(0, 92, 255, .08);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(184, 201, 251, .35) 0%, rgba(184, 201, 251, .15) 100%);
  overflow: clip;
  min-height: 0;
  flex: 0 0 auto;
}

.sp-nav__group[open] {
  overflow: visible;
}

.sp-nav__group summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 14px;
  color: var(--text);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sp-nav__group summary::-webkit-details-marker {
  display: none;
}

.sp-nav__group summary::after {
  content: "+";
  font-size: 18px;
  line-height: 1;
  opacity: .75;
  transition: transform .18s ease;
}

.sp-nav__group[open] summary::after {
  content: "−";
}

.sp-nav__sub {
  display: grid;
  gap: 8px;
  padding: 0 12px 16px;
  max-height: min(46dvh, 360px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
    position: relative;
}


.sp-nav__sub::after {
  content: "";
  position: sticky;
  bottom: 0;
  height: 16px;
  display: block;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.9));
}


.sp-nav__sub a {
  display: block;
  padding: 12px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #18202b;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(11, 15, 26, .08);
  line-height: 1.45;
}

.sp-nav__sub a:hover {
  transform: translateX(4px);
}

.sp-nav__sub-all {
  text-align: center;
  font-weight: 800;
}







/* Contactボタンの発色維持 → Header専用の弱ネオン版 */
.global-nav a.btn--primary{
  padding: .72em 1.05em;
  color: #fff;

  border: 1px solid rgba(56,216,255,.25);

  background: linear-gradient(
    120deg,
    #0a5cff 0%,
    #38d8ff 40%,
    #7f9cff 100%
  );
  background-size: 200% 100%;

  animation: btnFlow 8s ease-in-out infinite;

  box-shadow:
    0 4px 12px rgba(0,92,255,.12),
    0 0 6px rgba(56,216,255,.18);
}

.global-nav a.btn--primary:hover{
  color: #fff;
  transform: translateY(-1px);

  box-shadow:
    0 6px 16px rgba(0,92,255,.18),
    0 0 10px rgba(56,216,255,.25);
}

/* SP Toggle */
.nav-toggle {
  appearance: none;
  border: 1px solid rgba(11, 15, 26, .12);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: none;
  place-items: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(11, 15, 26, .10);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(11, 15, 26, .12);
  border-color: rgba(11, 15, 26, .16);
}

.nav-toggle__bar {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: rgba(11, 15, 26, .88);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: transform .2s ease, opacity .16s ease, top .2s ease, width .2s ease;
}

.nav-toggle__bar:nth-child(1) {
  top: 15px;
}

.nav-toggle__bar:nth-child(2) {
  top: 22px;
  width: 16px;
  opacity: .92;
}

.nav-toggle__bar:nth-child(3) {
  top: 29px;
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(1) {
  top: 22px;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  width: 20px;
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(3) {
  top: 22px;
  transform: translateX(-50%) rotate(-45deg);
}

/* SP Drawer */
.sp-nav {
  position: fixed;
  inset: 0;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, .38);
  transition: opacity .18s ease;
}

.sp-nav.is-open {
  opacity: 1;
  pointer-events: auto;
}

.sp-nav__panel {
  position: fixed;
  top: 10px;
  right: 10px;
  height: calc(100dvh - 20px);
  width: min(86vw, 380px);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(11, 15, 26, .10);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lift);
  display: flex;
  flex-direction: column;
  min-height: 0;
  transform: translateX(105%);
  transition: transform .22s cubic-bezier(.2, .8, .2, 1);
}

.sp-nav.is-open .sp-nav__panel {
  transform: translateX(0);
}

.sp-nav__head {
  padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(11, 15, 26, .08);
}

.sp-nav__title {
  font-weight: 900;
  letter-spacing: .02em;
  color: rgba(11, 15, 26, .86);
}

.sp-nav__close {
  appearance: none;
  border: 1px solid rgba(11, 15, 26, .12);
  background: rgba(255, 255, 255, .7);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: transform .18s ease, box-shadow .18s ease;
}

.sp-nav__close:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(11, 15, 26, .10);
}

.sp-nav__links {
  flex: 1 1 auto;
  min-height: 0;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sp-nav__links a {
  display: block;
  padding: 14px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(0, 92, 255, .08);
  background: linear-gradient(180deg, rgba(184, 201, 251, .35) 0%, rgba(184, 201, 251, .15) 100%);
  transition: all .18s ease;
}

.sp-nav__links a:hover {
  transform: translateX(4px);
  background: linear-gradient(180deg, rgba(184, 201, 251, .55) 0%, rgba(184, 201, 251, .25) 100%);
}

.sp-nav__links .btn {
  width: 100%;
  background: var(--primary-bg);
  color: var(--primary-text) !important;
  border: 1px solid rgba(0, 92, 255, .18);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.sp-nav__links .btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
}


/* ==================================================
  2) Buttons
================================================== */

.case-hero__actions {
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .72em 1.05em;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn--primary{
  position: relative;
  overflow: hidden;

  color: #fff;
  font-weight: 700;

  border: 1px solid rgba(56,216,255,.35);
  border-radius: 999px;

  background: linear-gradient(
    120deg,
    #0a5cff 0%,
    #38d8ff 40%,
    #7f9cff 100%
  );
  background-size: 200% 100%;

  box-shadow:
    0 6px 16px rgba(0,92,255,.18),
    0 0 8px rgba(56,216,255,.25);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

/* グラデーション流れ */
@keyframes btnFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn--primary{
  animation: btnFlow 6s ease-in-out infinite;
}

/* うっすら光レイヤー */
.btn--primary::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background: linear-gradient(
    120deg,
    rgba(255,255,255,.35),
    rgba(255,255,255,0) 40%
  );

  opacity: .35;
  pointer-events: none;
}

/* hoverで“押したくなる強化” */
.btn--primary:hover{
  transform: translateY(-2px);

  border-color: rgba(56,216,255,.6);

  box-shadow:
    0 10px 24px rgba(0,92,255,.25),
    0 0 14px rgba(56,216,255,.35),
    0 0 28px rgba(10,92,255,.25);
}

/* hover時は少し速く */
.btn--primary:hover{
  animation: btnFlow 3s linear infinite;
}

/* クリック感 */
.btn--primary:active{
  transform: translateY(0);
  box-shadow:
    0 6px 16px rgba(0,92,255,.18),
    0 0 6px rgba(56,216,255,.25);
}

.btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary-text) 55%, transparent);
  outline-offset: 2px;
}


/* ==================================================
  3) Tags / Surface
================================================== */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
  font-size: 12px;
  color: rgba(11, 15, 26, .70);
}

.surface {
  border: 1px solid rgba(11, 15, 26, .10);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.surface__inner {
  padding: 22px 20px;
}


/* ==================================================
  Chips（小タグ）
================================================== */

.chip{
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;

  background: rgba(80,160,255,.10);
  color: rgba(11,15,26,.75);
  border: 1px solid rgba(80,160,255,.18);

  backdrop-filter: blur(6px);
  transition: transform .15s ease, box-shadow .2s ease;
}

.chip:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(11,15,26,.10);
}

/* ==================================================
  4) Works Card
================================================== */

.works-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  margin-top: 40px;
  padding-top: 10px;
  column-gap: 24px;
  row-gap: 24px;
}

.work-card {
  --work-card-radius: 28px;
  position: relative;
  height: 100%;
  border-radius: var(--work-card-radius);
  overflow: visible;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transform: translateZ(0);
  transition:
    transform 0.35s cubic-bezier(.2, .8, .2, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  border: 2px solid color-mix(in srgb, var(--accent) 55%, rgba(0, 0, 0, .08));
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, .08),
    0 0 0 2px color-mix(in srgb, var(--accent) 40%, transparent);
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, .6) 0%,
      rgba(255, 255, 255, 0) 40%
    );
  opacity: .5;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  transition: opacity .35s ease;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 32%, transparent);
  opacity: .55;
}

.work-card:hover::after {
  opacity: 1;
}

.work-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: var(--work-card-radius);
  overflow: hidden;
}

.work-card__link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 70%, white);
  outline-offset: 3px;
  border-radius: 12px;
}

.work-card__media {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  height: clamp(170px, 16vw, 240px);
  background: #f2f3f6;
  overflow: hidden;
  border-top-left-radius: var(--work-card-radius);
  border-top-right-radius: var(--work-card-radius);
}

.work-card__media img,
.work-card__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card__media img {
  object-position: top;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.work-card:hover .work-card__media img {
  transform: scale(1.06);
}

.work-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 2px;
  padding: 12px 18px 18px;
}

.work-card__kicker {
  margin: 0 0 1px;
}

.work-card__meta {
  margin: 0 0 2px;
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(11, 15, 26, .55);
}

.work-card__title {
  min-height: 2.3em;
  margin: 2px 0 3px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 900;
  transition: color .3s ease;
}

.work-card:hover .work-card__title {
  color: color-mix(in srgb, var(--accent) 75%, #0b0f1a 25%);
}

.work-card__lead {
  min-height: 3.8em;
  margin: 0 0 4px;
  white-space: normal;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(11, 15, 26, .78);
}

.work-card__desc {
  margin-top: 6px;
  white-space: pre-line;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(11, 15, 26, .70);
}

.work-card__tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-height: 42px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}

.work-card__tags .tag {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  overflow: hidden;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  border-radius: 999px;
}

.work-card__tech {
  margin: 0;
  min-height: 2.6em;
  font-size: 12px;
  color: rgba(11, 15, 26, .55);
  letter-spacing: .04em;
}

.work-card__cta{
  position: relative;
  overflow: hidden;
  isolation: isolate;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  margin-top: auto;

  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;

  color: #0b0f1a;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .02em;

  border: 1px solid var(--accent, rgba(56,216,255,.45));
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.92) 0%,
      color-mix(in srgb, var(--accent, #38d8ff) 16%, white) 100%
    );

  box-shadow:
    0 8px 20px rgba(11,15,26,.08),
    0 0 0 1px color-mix(in srgb, var(--accent, #38d8ff) 22%, transparent),
    0 0 14px color-mix(in srgb, var(--accent, #38d8ff) 18%, transparent);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease,
    color .22s ease;
}

/* うっすら常時グロー */
.work-card__cta::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;

  background:
    radial-gradient(
      circle at 50% 50%,
      color-mix(in srgb, var(--accent, #38d8ff) 18%, transparent) 0%,
      transparent 72%
    );

  opacity: .85;
}

/* 流れるハイライト */
.work-card__cta::after{
  content: "";
  position: absolute;
  top: -20%;
left: 0%;
width: 34%;
  height: 140%;
  pointer-events: none;

background: linear-gradient(
  90deg,
  rgba(255,255,255,0) 0%,
  color-mix(in srgb, var(--accent), white 60%) 50%,
  rgba(255,255,255,0) 100%
);

  transform: rotate(18deg) translateX(0);
  opacity: 0;
}

.work-card__link:hover .work-card__cta{
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent, #38d8ff) 75%, white);

  box-shadow:
    0 14px 28px rgba(11,15,26,.12),
    0 0 0 1px color-mix(in srgb, var(--accent, #38d8ff) 34%, transparent),
    0 0 18px color-mix(in srgb, var(--accent, #38d8ff) 28%, transparent),
    0 0 34px color-mix(in srgb, var(--accent, #38d8ff) 16%, transparent);

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.98) 0%,
      color-mix(in srgb, var(--accent, #38d8ff) 22%, white) 100%
    );
}

.work-card__link:hover .work-card__cta::after{
  opacity: 1;
  animation: workCardCtaShine 1.6s linear infinite;
}

.work-card__cta:active{
  transform: translateY(0);
  box-shadow:
    0 8px 18px rgba(11,15,26,.10),
    0 0 0 1px color-mix(in srgb, var(--accent, #38d8ff) 24%, transparent);
}

.work-card__cta:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255,255,255,.92),
    0 0 0 6px color-mix(in srgb, var(--accent, #38d8ff) 44%, transparent),
    0 14px 28px rgba(11,15,26,.12);
}

@keyframes workCardCtaShine{
  0%{
    transform: rotate(18deg) translateX(-20%);
    opacity: 0;
  }

  10%{
    opacity: .9;
  }

  50%{
    transform: rotate(18deg) translateX(420%);
    opacity: .9;
  }

  60%{
    opacity: 0;
  }

  100%{
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce){
  .work-card__cta,
  .work-card__cta::after{
    transition: none;
    animation: none !important;
  }
}


.work-card__cta .cta-arrow{
  display: inline-block;
  transition: transform .22s ease;
}

.work-card__link:hover .work-card__cta .cta-arrow{
  transform: translateX(3px);
}



/* =====================
   Works badge system
   - 旧カード：単体バッジは absolute のまま
   - 新カード：複数バッジは .work-card__badges 内で static
===================== */

/* 旧カード用の基本位置 */
.work-badge{
  position: absolute;
  top: -10px;
  left: 18px;
  z-index: 4;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;

  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1;

  background: #fff;
  border: 3px solid currentColor;
  box-shadow: 0 6px 14px rgba(17, 24, 39, .08);
  white-space: nowrap;
}

/* 新カード用：複数バッジの親 */
.work-card__badges{
  position: absolute;
  top: -11px;
  left: 20px;

  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: none;
    
    justify-content: flex-start;
}

/* 複数バッジの中だけ通常フローにする */
.work-card__badges .work-badge{
  position: static;
}


@keyframes badgeThemeFlow{
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* 系統バッジ */
.work-badge--info{
  color: #fff;
  background: linear-gradient(
    120deg,
    #ff8a8f 0%,
    #e5484d 48%,
    #ffb3b6 100%
  );
  background-size: 200% 100%;
  border-color: rgba(229,72,77,.42);
  box-shadow:
    0 8px 18px rgba(229,72,77,.20),
    0 0 10px rgba(229,72,77,.18);
  animation: badgeThemeFlow 6s ease-in-out infinite;
}

.work-badge--flow{
  color: #fff;
  background: linear-gradient(
    120deg,
    #7adf94 0%,
    #2fa84f 48%,
    #b8f5c6 100%
  );
  background-size: 200% 100%;
  border-color: rgba(47,168,79,.38);
  box-shadow:
    0 8px 18px rgba(47,168,79,.18),
    0 0 10px rgba(47,168,79,.16);
  animation: badgeThemeFlow 6s ease-in-out infinite;
}

.work-badge--world{
  color: #fff;
  background: linear-gradient(
    120deg,
    #67c7ff 0%,
    #2487c8 48%,
    #aee5ff 100%
  );
  background-size: 200% 100%;
  border-color: rgba(36,135,200,.38);
  box-shadow:
    0 8px 18px rgba(36,135,200,.18),
    0 0 10px rgba(36,135,200,.16);
  animation: badgeThemeFlow 6s ease-in-out infinite;
}

.work-badge--fan{
  color: #fff;
  background: linear-gradient(
    120deg,
    #ffd86a 0%,
    #e3b300 48%,
    #fff1a8 100%
  );
  background-size: 200% 100%;
  border-color: rgba(227,179,0,.40);
  box-shadow:
    0 8px 18px rgba(227,179,0,.18),
    0 0 10px rgba(227,179,0,.16);
  animation: badgeThemeFlow 6s ease-in-out infinite;
}

/* プランバッジ */
.work-badge--starter{
  background: #fff;
  color: #8b5cf6;

  border: 2px solid rgba(139,92,246,.45);

  box-shadow:
    0 6px 14px rgba(139,92,246,.10),
    0 0 6px rgba(139,92,246,.12);
}

.work-badge--standard{
  background: #fff;
  color: #005cff;

  border: 2px solid rgba(0,92,255,.45);

  box-shadow:
    0 6px 14px rgba(0,92,255,.10),
    0 0 6px rgba(0,92,255,.12);
}

.work-card:hover .work-badge--starter,
.work-card:hover .work-badge--standard,
.work-card:hover .work-badge--custom{
  transform: translateY(-2px);
}

.work-card:hover .work-badge--starter{
  box-shadow:
    0 8px 18px rgba(139,92,246,.16),
    0 0 10px rgba(139,92,246,.18);
}

.work-card:hover .work-badge--standard{
  box-shadow:
    0 8px 18px rgba(0,92,255,.16),
    0 0 10px rgba(0,92,255,.18);
}



.work-badge--standard,
.work-badge--starter,
.work-badge--custom{
  margin-left: 4px;
}


.work-badge--custom{
  color: #fff;
  background: linear-gradient(
    120deg,
    #ff86df 0%,
    #a78bfa 28%,
    #4fdcff 55%,
    #6ee7b7 78%,
    #ffd86a 100%
  );
  background-size: 240% 100%;
  border: 2px solid rgba(255,255,255,.78);
  box-shadow:
    0 8px 18px rgba(139,92,246,.18),
    0 0 12px rgba(56,216,255,.18),
    0 0 18px rgba(255,216,106,.15);
  animation: badgeThemeFlow 6.4s ease-in-out infinite;
}



@media (max-width: 768px){
  /* 旧カード */
  .work-badge{
    top: -9px;
    left: 14px;
    min-height: 32px;
    padding: 0 12px;
    font-size: .75rem;
  }

  /* 新カード */
  .work-card__badges{
    top: -9px;
    left: 14px;
    right: 14px;
    gap: 6px;
  }

  .work-card__badges .work-badge{
    min-height: 32px;
    padding: 0 12px;
    font-size: .75rem;
  }
}



/* ==================================================
  5) Strength Card
================================================== */

.strength-card {
  border: 1px solid rgba(11, 15, 26, .10);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 22px 20px;
}

.strength-card__title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}

.strength-card__text {
  margin-top: 10px;
  color: rgba(11, 15, 26, .72);
  line-height: 1.85;
}


/* ==================================================
  6) Service Card
================================================== */

.service-card {
  border: 1px solid rgba(11, 15, 26, .10);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 22px 20px;
}

.service-card__title {
  font-weight: 900;
  font-size: 18px;
    margin-bottom:6px;
}

.service-card__lead {
  margin-top: 8px;
  color: rgba(11, 15, 26, .72);
}

.service-card__list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.service-card__list li {
  padding-left: 14px;
  position: relative;
  color: rgba(11, 15, 26, .78);
}

.service-card__list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 92, 255, .35);
  position: absolute;
  left: 0;
  top: .65em;
}


/* ==================================================
  7) Forms
================================================== */

.form {
  border: 1px solid rgba(11, 15, 26, .10);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 22px 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: center;
  padding-block: 10px;
  border-top: 1px solid rgba(11, 15, 26, .08);
}

.form-row:first-child {
  border-top: none;
  padding-top: 0;
}

.form-row label {
  font-weight: 800;
  color: rgba(11, 15, 26, .80);
}

.form-row .req {
  font-size: 12px;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(11, 15, 26, .06);
  color: rgba(11, 15, 26, .70);
  font-weight: 700;
}

.input,
.select,
.textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(11, 15, 26, .14);
  background: rgba(255, 255, 255, .92);
  padding: 12px 14px;
  font: inherit;
  color: rgba(11, 15, 26, .88);
  outline: none;
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(0, 92, 255, .35);
  box-shadow: 0 0 0 4px rgba(184, 201, 251, .45);
}

.form-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form-note {
  margin-top: 10px;
  color: rgba(11, 15, 26, .62);
  font-size: 13px;
}

/* 保険：クラス無しフォームでも最低限整う */

form :is(input[type="text"], input[type="email"], input[type="url"], select, textarea) {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(11, 15, 26, .14);
  background: rgba(255, 255, 255, .92);
  padding: 12px 14px;
  font: inherit;
  color: rgba(11, 15, 26, .88);
  outline: none;
}

form :is(select, textarea) {
  display: block;
}

form :is(textarea) {
  min-height: 140px;
  resize: vertical;
}

form :is(input, select, textarea):focus {
  border-color: rgba(0, 92, 255, .35);
  box-shadow: 0 0 0 4px rgba(184, 201, 251, .45);
}


/* ==================================================
  8) Estimate / Contact form parts
================================================== */

.form-row--stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
}

.estimate-box {
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(11, 15, 26, .10);
  border-radius: 18px;
  background: rgba(255, 255, 255, .8);
  box-shadow: var(--shadow-soft);
}

.estimate-box__lead {
  margin-bottom: 14px;
  color: rgba(11, 15, 26, .72);
  font-size: 14px;
  line-height: 1.8;
}

.estimate-group {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.estimate-group + .estimate-group {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(11, 15, 26, .08);
}

.estimate-group__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding: 0;
  font-size: 14px;
  font-weight: 800;
}



.estimate-radio label,
.estimate-checks label{
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(11, 15, 26, .08);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  line-height: 1.7;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.estimate-radio label span,
.estimate-checks label span{
  display: block;
  flex: 1 1 auto;
}

.estimate-radio label:hover,
.estimate-checks label:hover{
  transform: translateY(-1px);
  border-color: rgba(0, 92, 255, .18);
  box-shadow: 0 8px 18px rgba(20, 40, 90, .06);
}

.estimate-radio input,
.estimate-checks input{
  margin-top: .3em;
  flex: 0 0 auto;
}


.estimate-group.is-disabled {
  opacity: .42;
}

.estimate-group.is-disabled .estimate-group__title {
  color: rgba(11, 15, 26, .42);
}

.estimate-group.is-disabled label,
.estimate-group:disabled label {
  background: rgba(245, 247, 250, .92);
  border-color: rgba(11, 15, 26, .06);
  box-shadow: none;
  cursor: not-allowed;
}

.estimate-clear {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11, 15, 26, .12);
  background: #fff;
  color: rgba(11, 15, 26, .68);
  cursor: pointer;
  transition: .2s;
}

.estimate-clear:hover {
  border-color: #005CFF;
  color: #005CFF;
  background: rgba(0, 92, 255, .05);
}

.estimate-result {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(184, 201, 251, .24) 0%, rgba(255, 255, 255, .92) 100%);
  border: 1px solid rgba(0, 92, 255, .12);
}

.estimate-result__label {
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(11, 15, 26, .55);
}

.estimate-result__price {
  margin-top: 4px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  color: #005CFF;
}

.estimate-result__note {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(11, 15, 26, .62);
  line-height: 1.7;
}


/* ==================================================
  9) Pitch Strip
================================================== */

.pitch-strip {
  margin-top: 14px;
  border: 1px solid rgba(11, 15, 26, .10);
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px;
  max-width: 70ch;
}

.pitch-strip__title {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .01em;
}

.pitch-strip__list {
  margin-top: 10px;
  display: grid;
  gap: 6px;
  color: rgba(11, 15, 26, .75);
  font-size: 14px;
}

.pitch-strip__list li {
  padding-left: 14px;
  position: relative;
}

.pitch-strip__list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 92, 255, .35);
  position: absolute;
  left: 0;
  top: .65em;
}

.pitch-strip__actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}


/* ==================================================
  10) Messages
================================================== */

.form-msg--ok {
  background: #e8f2ff;
  border: 1px solid #9dbcf7;
  padding: 12px;
  border-radius: 12px;
  margin-top: 16px;
  font-weight: 600;
}


/* ==================================================
  11) Footer
================================================== */

.site-footer {
  background: #111;
  color: #eee;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.footer-subtitle {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #bbb;
}

.footer-text {
  font-size: .9rem;
  line-height: 1.8;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .9rem;
  line-height: 1.8;
}

.footer-list a {
  color: #eee;
  text-decoration: none;
}

.footer-list a:hover {
  opacity: .7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: .8rem;
  color: #aaa;
}


/* ==================================================
  12) Responsive
================================================== */

/* Works list */
@media (max-width: 1100px) {
  .works-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
    row-gap: 22px;
  }
}

/* Header / Nav */
@media (max-width: 900px) {
  .global-nav {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .work-card {
    box-shadow: 0 14px 34px rgba(11, 15, 26, .10);
  }

  .work-card__cta {
    border: 1px solid rgba(11, 15, 26, .12);
    box-shadow: 0 10px 26px rgba(11, 15, 26, .08);
  }
    
    
  .nav-works__menu {
    display: none;
  }    
    
}

/* General form / estimate / footer / cards */
@media (max-width: 768px) {
  .works-list {
    grid-template-columns: 1fr;
    padding-top: 6px;
    gap: 28px;
  }

  .work-card:hover {
    transform: none;
  }

  .work-badge {
    top: -9px;
    left: 14px;
    min-height: 32px;
    padding: 0 12px;
    font-size: .75rem;
  }

  .work-card__title,
  .work-card__lead,
  .work-card__tags,
  .work-card__tech {
    min-height: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 720px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .estimate-box {
    padding: 16px;
  }
}

/* motion reduce */
@media (prefers-reduced-motion: reduce) {
  .nav-toggle,
  .nav-toggle__bar,
  .sp-nav,
  .sp-nav__panel,
  .sp-nav__links a {
    transition: none !important;
  }
}


/* ==================================================
  Eyebrow（セクション小ラベル）
================================================== */

.eyebrow{
  display:inline-block;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;

  color:rgba(80,160,255,.9);
  margin-bottom:6px;
}


/* ==================================================
  Section Divider
================================================== */

.section-divider{
  width: 72px;
  height: 3px;
  margin: 5px 0 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(80,160,255,.95) 0%,
    rgba(80,160,255,.35) 100%
  );
}


.service-works .eyebrow{
  color: rgba(80,160,255,.7);
}



/* =====================
   Button Icon
===================== */
.btn--icon{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn--icon img{
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* =====================
   SNS Card Background Icon
===================== */
.home-social__card{
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.home-social__card::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background-repeat: no-repeat;
  background-position: right -20px center;
  background-size: 65%;

  opacity: 0.07;
  filter: blur(7px);

  pointer-events: none;
}

.home-social__card > *{
  position: relative;
  z-index: 1;
}


.home-social__card[aria-labelledby="home-social-x-title"]::before{
  background-image: url("../img/icon/x_icon.png");
}


.home-social__card[aria-labelledby="home-social-instagram-title"]::before{
  background-image: url("../img/icon/Instagram_icon.png");
}


@media (hover: none), (pointer: coarse){
  .work-card__cta::after{
    opacity: 1;
    animation: workCardCtaShine 2.4s linear infinite;
  }
}


/* おためし→店舗サイト発展例 */
.work-badge--growth{
  color:#1f4f2d;
  background:
    linear-gradient(120deg, #fff 0%, #f4fff3 36%, #e6f7df 70%, #fff7df 100%);
  background-size:220% 100%;
  border:2px solid rgba(47,111,69,.34);
  box-shadow:
    0 8px 18px rgba(47,111,69,.14),
    0 0 12px rgba(185,137,85,.14);
  animation:badgeThemeFlow 7s ease-in-out infinite;
}

.work-card:hover .work-badge--growth{
  transform:translateY(-2px);
  box-shadow:
    0 10px 22px rgba(47,111,69,.18),
    0 0 16px rgba(185,137,85,.18);
}