/* ===============================
   Reset CSS
=============================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ===============================
   2026-07 クラウドソーシング向け改善
=============================== */
:root {
  --brand-navy: #10253f;
  --brand-gold: #c89a55;
  --brand-ink: #152033;
  --brand-surface: #f5f7f8;
}

  .sp-only{
    display: none;
  }

   .pc-only{
    display: block;
   }

.header__logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-navy);
}

.header__logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.header__cta-link {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--brand-navy);
  color: #fff !important;
  font-weight: 600;
}

.header__cta-link:hover {
  background: #183552;
  color: #fff;
}

.fv {
  background:
    radial-gradient(circle at 50% 0%, rgba(200, 154, 85, 0.1), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fbfcfc 100%);
}

.fv__lead,
.works__eyebrow,
.portfolio-cta__label {
  color: var(--brand-gold);
  font-weight: 600;
}

.fv__title {
  color: var(--brand-ink);
}

.btn-primary {
  background: var(--brand-navy);
}

.btn-contact {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}

.btn-contact:hover {
  background: var(--brand-navy);
  color: #fff;
}

.fv__points li {
  border-color: #e3e8ec;
  box-shadow: 0 14px 34px rgba(16, 37, 63, 0.05);
}

.fv__points strong {
  color: var(--brand-navy);
}

.about__img {
  min-height: 410px;
  justify-content: center;
  padding: 48px;
  border: 1px solid #e2e7ea;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 36%, rgba(200, 154, 85, 0.14), transparent 34%),
    var(--brand-surface);
}

.about__img img {
  width: 100%;
  max-width: 310px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}

.about__img img:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.about__summary strong,
.about__strength h3,
.about__data h3 {
  color: var(--brand-navy);
}

.about__strength li::before,
.service__points li::before,
.work__heading::before {
  background: var(--brand-gold);
}

.works__eyebrow {
  margin-bottom: 10px;
  text-align: center;
  font-family: 'Inter', 'Noto Serif JP', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.works__img,
.lp__img {
  position: relative;
}

.project-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(16, 37, 63, 0.88);
  color: #fff;
  font-family: 'Inter', 'Noto Serif JP', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}

.portfolio-cta {
  padding: 92px 20px;
  background: var(--brand-navy);
  color: #fff;
  text-align: center;
}

.portfolio-cta__inner {
  max-width: 760px;
  margin: 0 auto;
}

.portfolio-cta__label {
  margin-bottom: 14px;
  font-family: 'Inter', 'Noto Serif JP', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
}

.portfolio-cta h2 {
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1.5;
  color: #fff;
}

.portfolio-cta p:not(.portfolio-cta__label) {
  max-width: 650px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.9;
}

.portfolio-cta__button,
.contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 56px;
  padding: 15px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.portfolio-cta__button {
  background: #fff;
  color: var(--brand-navy);
}

.portfolio-cta__button:hover,
.contact__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.portfolio-cta small {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.contact__button {
  margin-top: 28px;
  background: var(--brand-navy);
  color: #fff;
}

.contact__note {
  margin-top: 16px;
  color: #888;
  font-size: 12px;
}

.footer__name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--brand-navy);
  font-weight: 600;
}

.footer__name img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(200, 154, 85, 0.65);
  outline-offset: 4px;
}

/* Brand overrides kept last so the existing component styles inherit them. */
.fv__lead,
.works__eyebrow,
.portfolio-cta__label {
  color: var(--brand-gold);
}

.btn-primary {
  background: var(--brand-navy);
}

.btn-contact {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}

.fv__points li {
  border-color: #e3e8ec;
  box-shadow: 0 14px 34px rgba(16, 37, 63, 0.05);
}

.fv__points strong,
.about__summary strong,
.about__strength h3,
.about__data h3 {
  color: var(--brand-navy);
}

.about__img {
  min-height: 410px;
  justify-content: center;
  padding: 48px;
  border: 1px solid #e2e7ea;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 36%, rgba(200, 154, 85, 0.14), transparent 34%),
    var(--brand-surface);
}

.about__img img {
  width: 100%;
  max-width: 310px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}

.about__strength li::before,
.service__points li::before,
.work__heading::before {
  background: var(--brand-gold);
}

.work__badge {
  width: fit-content;
  margin: 0 auto 18px;
  padding: 7px 12px;
  border: 1px solid rgba(16, 37, 63, 0.16);
  border-radius: 999px;
  background: #f4f7f9;
  color: var(--brand-navy);
  font-family: 'Inter', 'Noto Serif JP', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.work__cta a.work__cta-contact {
  border-color: var(--brand-gold);
  background: var(--brand-navy);
  color: #fff;
}

html, body {
  margin: 0;
  padding: 0;
}


html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  line-height: 1.7;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", YuGothic, "Inter", sans-serif;
  color: #1a1a1a;
  background-color: #fff;
  padding-top: 64px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1, h2, h3 {
  margin: 0;
  font-family: 'Noto Serif JP', serif;
}

p {
  margin: 0;
}

h1,
h2,
h3,
p,
li,
a {
  text-wrap: pretty;
}

.sp-only{
  display: none;
}

.pc-only{
  display: block;
}


/* ===============================
   HEADER
=============================== */
.header {
  height: 64px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 300;
}

.header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px; 
  height: 100%; 
  display: flex;
  justify-content: space-between;
  align-items: center; 
}

.header__logo a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.header__nav ul {
  display: flex;
  gap: 24px;
}

.header__nav a {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #555;
  transition: 0.3s;
}

.header__nav a:hover {
  color: #111;
}

.header__toggle {
  display: none;
}

/* ===============================
   First View
=============================== */

.fv {
  padding: 110px 20px 86px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.fv__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.fv__lead {
  font-size: 12px;
  letter-spacing: 0.25em;
  margin-bottom: 16px;
  color: #999;
}

.fv__title {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.fv__title-line {
  display: block;
}

.fv__text-line {
  display: block;
}

.fv__text {
  font-size: 16px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.fv__cta {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 42px;
}

.btn-primary {
  display: inline-block;
  padding: 16px 42px;
  background-color: #111;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  padding: 15px 34px;
  background-color: #fff;
  color: #111;
  font-size: 14px;
  letter-spacing: 0.08em;
  border: 1px solid #111;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #111;
  color: #fff;
  transform: translateY(-2px);
}

.fv__note {
  font-size: 12px;
  color: #999;
}

.fv__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.fv__points li {
  padding: 18px 16px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.fv__points span,
.fv__points small {
  display: block;
  font-family: 'Inter', 'Noto Serif JP', sans-serif;
}

.fv__points span {
  font-size: 11px;
  color: #888;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
}

.fv__points strong {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  color: #111;
}

.fv__points small {
  margin-top: 5px;
  font-size: 11px;
  color: #999;
}


/* ===============================
   ABOUT
=============================== */
.about {
  padding: 104px 20px;
}

.about__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 64px;
}

.about__img {
  width: 40%;
  display: flex;
  align-items: center;
}

.about__img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: 0.4s ease;
  filter: brightness(1.05) contrast(1.08);
}

.about__img img:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.about__content {
  width: 60%;
  text-align: left;
}

.about__title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.about__lead {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: left;
}

.about__lead-line {
  display: block;
}

.about__text {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 22px;
}

.about__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.about__summary div {
  padding: 14px 12px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fafafa;
}

.about__summary span,
.about__summary strong {
  display: block;
}

.about__summary span {
  margin-bottom: 6px;
  font-family: 'Inter', 'Noto Serif JP', sans-serif;
  font-size: 11px;
  color: #888;
  letter-spacing: 0.08em;
}

.about__summary strong {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  line-height: 1.5;
  color: #111;
}

.about__strength {
  margin-bottom: 24px;
  padding: 18px 20px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
}

.about__strength h3 {
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 700;
}

.about__strength ul {
  padding-left: 0;
}

.about__strength li {
  position: relative;
  font-size: 13px;
  margin-bottom: 6px;
  padding-left: 18px;
  color: #333;
}

.about__strength li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111;
}

.about__data {
  margin-bottom: 24px;
  padding: 18px 20px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
}

.about__data h3 {
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 700;
}

.about__data p {
  font-size: 13px;
  color: #555;
}

.about__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.about__skills li {
  font-size: 12px;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 20px;
  transition: 0.3s;
}

.about__skills li:hover {
  background-color: #111;
  color: #fff;
}

.about__note {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  text-align: left;
  margin-top: 20px;
}

/* ===============================
   SERVICE
=============================== */
.service {
  padding: 104px 20px;
  background: #f7f7f5;
  color: #111;
}

.service__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.service__title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.service__lead {
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 54px;
}

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

.service__card {
  padding: 30px 22px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.035);
}

.service__num {
  display: block;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.12em;
  color: #c2c2c2;
  margin-bottom: 16px;
  text-align: center;
}

.service__card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}

.service__card p {
  font-size: 13px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 18px;
}

.service__points {
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.service__points li {
  position: relative;
  padding-left: 18px;
  font-family: 'Inter', 'Noto Serif JP', sans-serif;
  font-size: 12px;
  line-height: 1.7;
  color: #333;
}

.service__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111;
}

/* ===============================
   DESIGN → CODING
=============================== */
.flow {
  padding: 100px 20px;
  text-align: center;
  background: #fafafa;
}

.flow__inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* タイトル */
.flow__title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* リード */
.flow__lead {
  font-size: 14px;
  color: #666;
  margin-bottom: 50px;
}

.flow__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* ←ここ重要 */
  gap: 40px;
  align-items: center;
}

/* カード */
.flow__card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

/* 画像 */
.flow__img {
  overflow: hidden;
  border-radius: 8px;
}

.flow__img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: 0.4s;
}

/* ラベル */
.flow__label {
  margin-top: 12px;
  font-size: 14px;
  color: #333;
}

.flow__arrow {
  font-size: 28px;
  color: #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ホバー */
.flow__card:hover img {
  transform: scale(1.05);
}

.flow__card:hover {
  opacity: 0.9;
}

/* ===============================
   WORKS
=============================== */
.works {
  padding: 110px 20px;
  background: #fff;
}

.works__inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* タイトル */
.works__title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

/* リード */
.works__lead {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 70px;
  line-height: 1.8;
}

/* グリッド */
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

/* カード */
.works__card {
  display: block;
  height: 100%;
  border: 1px solid #e9e9e9;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.035);
  transition: all 0.35s ease;
}

.works__card--soon {
  border: 1px solid #eee;
}

/* 画像 */
.works__img {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.works__img img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.works__card--featured .works__img img {
  object-position: center top;
}

.works__soon-visual {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(17,17,17,0.08), rgba(17,17,17,0.02)),
    repeating-linear-gradient(45deg, #f8f8f8 0, #f8f8f8 10px, #f1f1f1 10px, #f1f1f1 20px);
}

.works__soon-visual span {
  font-family: 'Inter', 'Noto Serif JP', sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #777;
  padding: 10px 16px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
}

/* CTAラベル */
.works__link {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 14px;
  border-radius: 30px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
}

/* テキスト */
.works__info {
  padding: 20px 20px 22px;
  text-align: left;
}

.works__category {
  display: block;
  margin-bottom: 8px;
  font-family: 'Inter', 'Noto Serif JP', sans-serif;
  font-size: 11px;
  color: #999;
  letter-spacing: 0.12em;
}

.works__info h3 {
  font-size: 17px;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.works__info p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

.works__info .works__period {
  margin-top: 10px;
  color: #333;
  font-size: 12px;
  font-weight: 600;
}

.works__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 14px;
}

.works__tags li {
  font-family: 'Inter', 'Noto Serif JP', sans-serif;
  font-size: 11px;
  color: #555;
  padding: 6px 10px;
  border: 1px solid #e7e7e7;
  border-radius: 999px;
  background: #fafafa;
}

/* ホバー */
.works__card:hover {
  transform: translateY(-8px);
}

.works__card:hover img {
  transform: scale(1.08);
}

.works__card:hover .works__link {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   LP PROJECTS
=============================== */
.lp {
  padding: 100px 20px;
  background-color: #fafafa;
}

.lp__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.lp__title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.lp__lead {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 50px;
}

.lp__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.lp__card {
  display: block;
  height: 100%;
  border: 1px solid #e9e9e9;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.035);
  transition: all 0.3s ease;
}

.lp__img {
  overflow: hidden;
}

.lp__img img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.lp__info {
  padding: 18px 20px 22px;
  text-align: left;
}

.lp__info h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.lp__info p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.lp__meta {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.lp__note {
  display: block;
  font-size: 11px;
  color: #999;
  margin-top: 4px;
}

.lp__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.lp__card:hover img {
  transform: scale(1.05);
}

/* ===============================
   PROCESS
=============================== */
.process {
  padding: 100px 20px;
  background: #fff;
}

.process__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.process__title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.process__lead {
  max-width: 680px;
  margin: 0 auto 54px;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
  color: #666;
}

.process__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #e8e8e8;
  border-left: 1px solid #e8e8e8;
}

.process__item {
  padding: 28px 22px;
  border-right: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
}

.process__item span {
  display: block;
  font-family: 'Inter', 'Noto Serif JP', sans-serif;
  font-size: 11px;
  color: #999;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  text-align: center;
}

.process__item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
}

.process__item p {
  font-size: 13px;
  line-height: 1.8;
  color: #555;
}


/* ===============================
   TRUST
=============================== */
.trust {
  padding: 72px 20px;
  background: #f9f9f9;
  text-align: center;
}

.trust__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.trust__title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}

.trust__text {
  max-width: 760px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.9;
  color: #555;
}

/* ===============================
   CONTACT
=============================== */
.contact {
  padding: 86px 20px;
  border-top: 1px solid #eee;
  background: #fff;
  text-align: center;
}

.contact__inner {
  max-width: 760px;
  margin: 0 auto;
}

.contact__label {
  margin-bottom: 14px;
  color: #999;
  font-family: 'Inter', 'Noto Serif JP', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.contact__title {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
}

.contact__text {
  color: #555;
  font-size: 14px;
  line-height: 1.9;
}

.contact__line {
  display: block;
}

.contact__text + .contact__text {
  margin-top: 16px;
}

/* ===============================
   FOOTER
=============================== */
.footer {
  padding: 40px 20px;
  border-top: 1px solid #eee;
  text-align: center;
}

.footer__name {
  font-size: 14px;
  margin-bottom: 6px;
}

.footer__copy {
  font-size: 12px;
  color: #999;
}


/* ===============================
   WORK DETAIL(pc)
=============================== */

.work {
  padding: 140px 20px 120px;
  background-color: #fff;
}

.work__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.work__back {
  margin-bottom: 40px;
}

.work__back a {
  font-size: 13px;
  color: #888;
  letter-spacing: 0.05em;
  position: relative;
}

.work__back a::before {
  margin-right: 6px;
}

.work__title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 0.04em;
}

.work__img {
  margin-bottom: 70px;
}

.work__img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.work__img a {
  display: block;
  transition: 0.3s;
  cursor: pointer;
}

.work__img a:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

.work__link-note {
  font-size: 12px;
  color: #aaa;
  text-align: center;
  margin-top: 6px;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.work__img:hover + .work__link-note {
  color: #666;
}
/* ===============================
   BLOCK
=============================== */

.work__block {
  margin-bottom: 56px;
}

.work__heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
  position: relative;
  padding-left: 16px;
}

.work__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 18px;
  background-color: #111;
}

.work__block p {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}

/* ===============================
   LIST
=============================== */

.work__list {
  padding-left: 0;
}

.work__list li {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 10px;
  color: #333;
  padding-left: 20px;
  position: relative;
}

.work__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #999;
}

/* ===============================
   CTA
=============================== */

.work__cta {
  margin-top: 80px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.work__cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 54px;
  padding: 16px 32px;
  border: 1px solid #111;
  background-color: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.work__cta a.work__cta-secondary {
  background-color: #fff;
  color: #111;
  border-color: #ddd;
}

.work__cta a:hover {
  opacity: 0.85;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ===============================
   Responsive
=============================== */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .fv__points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 820px;
  }
}

/* Final brand overrides and responsive FV artwork */
.fv__lead,
.works__eyebrow,
.portfolio-cta__label {
  color: var(--brand-gold);
}

.btn-primary {
  background: var(--brand-navy);
}

.btn-contact {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}

.fv__points li {
  border-color: #e3e8ec;
  box-shadow: 0 14px 34px rgba(16, 37, 63, 0.05);
}

.fv__points strong,
.about__summary strong,
.about__strength h3,
.about__data h3 {
  color: var(--brand-navy);
}

.about__img {
  min-height: 410px;
  justify-content: center;
  padding: 48px;
  border: 1px solid #e2e7ea;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 36%, rgba(200, 154, 85, 0.14), transparent 34%),
    var(--brand-surface);
}

.about__img img {
  width: 100%;
  max-width: 310px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}

.about__strength li::before,
.service__points li::before,
.work__heading::before {
  background: var(--brand-gold);
}

/* FV artwork and brand imagery rules are intentionally last. */
.fv {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 104px 20px 78px;
  text-align: left;
  background-color: #f8f7f4;
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.99) 0%,
      rgba(255, 255, 255, 0.96) 36%,
      rgba(255, 255, 255, 0.78) 51%,
      rgba(255, 255, 255, 0.14) 72%,
      rgba(255, 255, 255, 0.02) 100%
    ),
    url("img/fv-web-production-desktop.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.fv__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
}

.fv__lead,
.fv__title,
.fv__text {
  margin-left: 0;
  margin-right: 0;
}

.fv__title {
  max-width: 700px;
}

.fv__text {
  max-width: 610px;
  color: #3c4a59;
}

.fv__cta {
  justify-content: flex-start;
}

.fv__points {
  max-width: 720px;
  margin-left: 0;
  margin-right: 0;
}

.fv__points li {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(16, 37, 63, 0.09);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* Responsive brand logo, About illustration, and neutral contact guide */
.header__logo {
  flex-shrink: 0;
}

.header__logo a {
  gap: 0;
}

.header__brand-picture {
  display: block;
  line-height: 0;
}

.header__logo img {
  width: 220px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

.header__brand-label {
  display: none;
}

.about__img {
  min-height: 410px;
  padding: 0;
  overflow: hidden;
  background: #efe3d1;
}

.about__img img {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 410px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: none;
  filter: none;
}

.about__img img:hover {
  transform: none;
  box-shadow: none;
}

.footer__name img {
  width: 240px;
  height: auto;
  object-fit: contain;
}

.contact__guide {
  max-width: 680px;
  margin: 28px auto 0;
  padding: 22px 24px;
  border: 1px solid #e0e6eb;
  border-radius: 10px;
  background: #f7f9fa;
  text-align: left;
}

.contact__guide-title {
  margin-bottom: 8px;
  color: var(--brand-navy);
  font-size: 14px;
  font-weight: 700;
}

.contact__guide p:last-child {
  color: #52606d;
  font-size: 13px;
  line-height: 1.8;
}

.about__text {
  line-break: strict;
}

.about__text-line {
  display: block;
}

.about__text + .about__text {
  margin-top: 12px;
}

/* ===============================
   SP styles (768px and below)
   Mobile overrides are consolidated here.
=============================== */
@media screen and (max-width: 768px) {
  .header__logo a {
    gap: 7px;
  }

  .header__logo img {
    width: 32px;
    height: 32px;
  }

  .header__logo span {
    font-size: 12px;
  }

  .header__cta-link {
    justify-content: center !important;
    margin-top: 4px;
    background: var(--brand-navy) !important;
    color: #fff !important;
  }

  .header__cta-link::after {
    color: #fff !important;
  }

  .project-badge {
    top: 10px;
    left: 10px;
    min-height: 28px;
    padding: 5px 9px;
    font-size: 9px;
  }

  .portfolio-cta {
    padding: 68px 20px;
  }

  .portfolio-cta h2 {
    font-size: 22px;
  }

  .portfolio-cta p:not(.portfolio-cta__label) {
    font-size: 13px;
    text-align: left;
  }

  .portfolio-cta__button,
  .contact__button {
    width: 100%;
    max-width: 340px;
    padding: 15px 18px;
  }

  .contact__note {
    font-size: 11px;
  }

.sp-only{
  display: block;
}

  .pc-only{
  display: none;
}

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 240;
    background: rgba(17, 17, 17, 0.18);
    backdrop-filter: blur(3px);
  }

  .header {
    transition: box-shadow 0.25s ease;
  }

  .header.open {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  }

  /* ハンバーガー表示 */
  .header__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    cursor: pointer;
    z-index: 360;
    transition:
      background 0.25s ease,
      border-color 0.25s ease,
      box-shadow 0.25s ease,
      transform 0.25s ease;
  }

  .header__toggle:active {
    transform: scale(0.96);
  }

  .header__toggle:focus-visible {
    outline: 2px solid rgba(17, 17, 17, 0.55);
    outline-offset: 4px;
  }

  .header__toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #111;
    transition:
      transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.2s ease,
      width 0.2s ease,
      background 0.25s ease;
  }

  .header__toggle span:nth-child(2) {
    width: 14px;
  }

  /* ナビ（初期非表示） */
  .header__nav {
    position: fixed;
    top: 76px;
    right: 16px;
    width: min(320px, calc(100vw - 32px));
    height: auto;
    padding: 12px;
    border: 1px solid #e9e9e9;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.96);
    transform-origin: top right;
    transition:
      opacity 0.24s ease,
      visibility 0.24s ease,
      transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 340;
  }

  .header__nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .header__nav a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: #222;
    transition:
      background 0.2s ease,
      color 0.2s ease,
      transform 0.2s ease;
  }

  .header__nav a::after {
    content: "→";
    font-family: 'Inter', 'Noto Serif JP', sans-serif;
    font-size: 12px;
    color: #aaa;
    transform: translateX(-4px);
    opacity: 0;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .header__nav a:hover {
    background: #f6f6f4;
  }

  .header__nav a:hover::after {
    opacity: 1;
    transform: translateX(0);
  }

  /* 開いた状態 */
  .header.open .header__toggle {
    background: #111;
    border-color: #111;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  }

  .header.open .header__toggle span {
    background: #fff;
  }

  .header.open .header__nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  /* ===== ハンバーガー → × ===== */

  .header.open .header__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header.open .header__toggle span:nth-child(2) {
    opacity: 0;
    width: 18px;
    transform: scaleX(0.2);
  }

  .header.open .header__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }



/* ===============================
   FV
=============================== */

  .fv {
    padding: 78px 20px 58px;
  }

  .fv__lead {
    font-size: 11px;
    letter-spacing: 0.12em;
    line-height: 1.8;
    margin-bottom: 12px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: anywhere;
  }

  .fv__title {
    font-size: clamp(20px, 5.6vw, 25px);
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 350px;
  }

  .fv__title-line {
    white-space: nowrap;
  }

  .fv__text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 330px;
  }

  .btn-primary {
    width: 100%;
    max-width: 300px;
    text-align: center;
    padding: 14px 20px;
  }

  .fv__cta {
    flex-direction: column;
    margin-bottom: 30px;
  }

  .btn-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
    padding: 13px 20px;
  }

  .fv__points {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .fv__points li {
    padding: 16px;
    text-align: center;
  }

  .fv__points strong {
    font-size: 16px;
  }

  .fv__note {
    font-size: 11px;
  }

  /* ===============================
   About
=============================== */

  .about {
    padding: 68px 20px;
  }

  .about__inner {
    flex-direction: column;
    gap: 30px;
  }

  .about__img {
    width: 100%;
    justify-content: center;
  }

  .about__img img {
    width: 100%;
    max-width: 320px;
    height: auto;
  }

  .about__content {
    width: 100%;
  }

  .about__title {
    font-size: 22px;
    margin-bottom: 16px;
    text-align: center;
  }

  .about__lead {
    font-size: 16px;
    margin-bottom: 12px;
    text-align: center;
  }

  .about__text {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 18px;
  }

  .about__summary {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }

  .about__summary div {
    padding: 14px 16px;
  }

  .about__strength,
  .about__data {
    margin-bottom: 20px;
    padding: 16px;
  }

  .about__strength h3,
  .about__data h3 {
    font-size: 13px;
  }

  .about__strength li,
  .about__data p {
    font-size: 12px;
  }

  .about__skills {
    gap: 8px;
  }

  .about__skills li {
    font-size: 11px;
    padding: 5px 10px;
  }

  .about__note {
    font-size: 12px;
    text-align: left;
  }

  /* ===============================
   Service
=============================== */

  .service {
    padding: 80px 20px;
  }

  .service__title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .service__lead {
    font-size: 13px;
    text-align: center;
    margin-bottom: 32px;
  }

  .service__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service__card {
    padding: 22px 18px;
  }

  .service__card h3 {
    font-size: 16px;
  }

  .service__card p {
    font-size: 13px;
  }

  .service__points {
    gap: 7px;
    padding-top: 14px;
  }

  .service__points li {
    font-size: 12px;
  }

  /* ===============================
   Flow
=============================== */

  .flow {
    padding: 80px 20px;
  }

  .flow__title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .flow__lead {
    font-size: 13px;
    margin-bottom: 32px;
  }

  .flow__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .flow__img img {
    height: auto;
  }

  .flow__arrow {
    transform: rotate(90deg);
    font-size: 24px;
  }

  .flow__label {
    font-size: 13px;
  }

  /* ===============================
   Works
=============================== */

  .works {
    padding: 80px 20px;
  }

  .works__title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .works__lead {
    font-size: 13px;
    margin-bottom: 32px;
  }

  .works__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }

  .works__img img {
    height: auto;
  }

  .works__soon-visual {
    height: auto;
  }

  .works__info h3 {
    font-size: 15px;
  }

  .works__info p {
    font-size: 12px;
  }

  .works__category {
    font-size: 10px;
  }

  .works__tags {
    justify-content: flex-start;
  }

  .works__link {
    opacity: 1;
    transform: none;
    font-size: 11px;
    padding: 6px 12px;
  }

  /* ===============================
   LP
=============================== */

  .lp {
    padding: 80px 20px;
  }

  .lp__title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .lp__lead {
    font-size: 13px;
    margin-bottom: 32px;
  }

  .lp__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lp__img img {
    height: auto;
  }

  .lp__info {
    padding: 16px;
  }

  .lp__info h3 {
    font-size: 15px;
  }

  .lp__info p {
    font-size: 12px;
  }

  .lp__meta {
    font-size: 11px;
  }

  /* ===============================
   Process
=============================== */

  .process {
    padding: 80px 20px;
  }

  .process__title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .process__lead {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 32px;
  }

  .process__list {
    grid-template-columns: 1fr;
  }

  .process__item {
    padding: 22px 18px;
  }

  .process__item h3 {
    font-size: 16px;
  }

  .process__item p {
    font-size: 13px;
  }
  /* ===============================
   Trust
=============================== */

  .trust {
    padding: 56px 20px;
  }

  .trust__title {
    font-size: 18px;
    margin-bottom: 18px;
    line-height: 1.5;
  }

  .trust__text {
    font-size: 13px;
    line-height: 1.8;
    text-align: left;
  }

  .contact {
    padding: 70px 20px;
  }

  .contact__title {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.5;
  }

  .contact__text {
    font-size: 13px;
    line-height: 1.8;
  }

/* ===============================
   Footer
=============================== */
  .footer {
    padding: 32px 20px;
  }

  .footer__name {
    font-size: 13px;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
  }

  .footer__copy {
    font-size: 11px;
    line-height: 1.6;
  }
/* ===============================
   WORK DETAIL(sp)
=============================== */

  .work {
    padding: 90px 20px 80px;
  }

  .work__inner {
    max-width: 100%;
  }

  /* 戻るリンク */
  .work__back {
    margin-bottom: 24px;
  }

  .work__back a {
    font-size: 12px;
  }

  /* タイトル */
  .work__title {
    font-size: 22px;
    margin-bottom: 32px;
    line-height: 1.4;
  }

  /* 画像 */
  .work__img {
    margin-bottom: 40px;
  }

  .work__img img {
    border-radius: 10px;
  }

  .work__link-note {
    font-size: 11px;
    margin-bottom: 24px;
  }

  /* ブロック */
  .work__block {
    margin-bottom: 40px;
  }

  .work__heading {
    font-size: 16px;
    margin-bottom: 12px;
    padding-left: 12px;
  }

  .work__heading::before {
    width: 3px;
    height: 14px;
    top: 4px;
  }

  .work__block p {
    font-size: 13px;
    line-height: 1.8;
  }

  /* リスト */
  .work__list li {
    font-size: 13px;
    margin-bottom: 8px;
    padding-left: 16px;
  }

  /* CTA */
  .work__cta {
    margin-top: 60px;
    flex-direction: column;
    gap: 12px;
  }

  .work__cta a {
    width: 100%;
    padding: 16px;
    font-size: 14px;
    border-radius: 8px;
  }

.fv {
    min-height: 920px;
    padding: 70px 20px 52px;
    text-align: center;
    background-image:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.95) 43%,
        rgba(255, 255, 255, 0.78) 68%,
        rgba(255, 255, 255, 0.18) 100%
      ),
      url("img/fv-web-production-mobile-v2.webp");
    background-position: center bottom;
    background-size: cover;
  }

  .fv__lead,
  .fv__title,
  .fv__text {
    margin-left: auto;
    margin-right: auto;
  }

  .fv__cta {
    justify-content: center;
  }

  .fv__points {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .fv__points li {
    background: rgba(255, 255, 255, 0.93);
  }

.header__logo a {
    gap: 8px;
  }

  .header__logo img {
    width: 38px;
    height: 38px;
    max-height: none;
  }

  .header__brand-label {
    display: inline;
    color: var(--brand-navy);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .about__img {
    min-height: 0;
    padding: 0;
  }

  .about__img img {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .footer__name img {
    width: min(240px, 82vw);
  }

.contact__guide {
    margin-top: 24px;
    padding: 18px;
  }

.about__text-line {
    display: inline;
  }
}
