:root {
  --dark: #2B3746; /* 落ち着いたくすんだ紺色 */
  --light: #F7F5F0;
  --mid: #E8E4DD;
  --text-dark: #1A222C; /* 視認性を高めるため、より濃い紺黒に */
  --text-sub: #2A3544;
  --text-light: #4A5564;
  --accent: #C4553A;
  --white: #fff;
  --font-head: "Shippori Mincho", serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-en: "Inter", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--light);
  background-image: 
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp');
  background-repeat: repeat, repeat, repeat;
  background-blend-mode: multiply, multiply, multiply;
  background-size: 401px, 613px, 883px;
  background-position: 0 0, 13px 47px, 101px 197px;
  background-blend-mode: multiply;
  line-height: 1.8;
}

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

/* ========== Page Transition Curtain ========== */
.page-transition-curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--dark);
  opacity: 1;
  pointer-events: none;
  animation: curtain-fade-out 0.3s ease-out 0.02s forwards;
}

@keyframes curtain-fade-out {
  to { opacity: 0; visibility: hidden; }
}

/* ========== Navigation ========== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background-color: var(--dark);
  background-image:
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp');
  background-repeat: repeat, repeat, repeat;
  background-blend-mode: multiply, multiply, multiply;
  background-size: 401px, 613px, 883px;
  background-position: 0 0, 13px 47px, 101px 197px;
  color: var(--white);
  transition: transform .3s var(--ease);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav a { color: var(--white); }

.nav-logo {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  margin: -8px 0 -8px -4px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
  justify-content: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: .06em;
  transition: opacity .2s;
}

.nav-links a:hover { opacity: .6; }

.nav-links a.is-active {
  opacity: 1;
  border-bottom: 2px solid var(--white);
  padding-bottom: 4px;
}
.nav-links a.is-active:hover { opacity: 1; }

.nav-cta {
  border: 1.5px solid currentColor;
  padding: 8px 20px;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background .25s var(--ease), color .25s var(--ease) !important;
  justify-self: end;
}

.nav .nav-cta:hover { background: var(--white); color: var(--dark); opacity: 1; }

/* Mobile nav */
.nav-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--white);
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 8px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}
.nav-toggle span:first-child {
  font-size: 24px;
  line-height: 1;
}
.nav-toggle-label {
  font-size: 10px;
  letter-spacing: .05em;
  line-height: 1;
}

@media (max-width: 1024px) {
  .nav { padding: 16px 24px; display: flex; justify-content: space-between; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 150;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { font-size: 18px; color: var(--white) !important; }
  .nav > .nav-cta { display: none; }
  .nav-links.is-open ~ .nav-cta {
    display: block;
    position: fixed;
    bottom: 18%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 151;
    font-size: 18px;
    color: var(--white) !important;
    border-color: var(--white) !important;
  }
  .nav-cta { border-color: var(--white) !important; }
  .nav-toggle { display: flex !important; font-size: 24px; z-index: 200; position: relative; }
}

/* ========== GSAP-driven animation (initial states set by JS) ========== */

.anim-el { will-change: transform, opacity; }

/* ========== Character (cow mascot) ========== */

.chara {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  color: var(--white);
}

@keyframes chara-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes chara-breathe {
  0%, 100% { transform: scaleY(1) scaleX(1); }
  50% { transform: scaleY(0.96) scaleX(1.02); }
}

.chara-body-wrap {
  animation: chara-breathe 3s ease-in-out infinite;
}

@keyframes particle-float {
  0% { transform: translateY(0) scale(0); opacity: 0; }
  20% { transform: translateY(-10px) scale(1); opacity: 0.8; }
  80% { transform: translateY(-40px) scale(1); opacity: 0.8; }
  100% { transform: translateY(-50px) scale(0); opacity: 0; }
}

.chara-particle {
  transform-origin: 300px 90px;
  animation: particle-float 4s ease-in-out infinite;
}

.chara svg {
  display: block;
  width: 100%;
  height: 100%;
  animation: chara-float 4s ease-in-out infinite;
}

.chara--fv {
  width: 300px;
  height: 300px;
  bottom: 40px;
  right: 15%; /* 右端から離して黄金比付近に */
  opacity: 0;
}

@keyframes chara-blink {
  0%, 90%, 92%, 100% { transform: scaleY(1); }
  91% { transform: scaleY(.1); }
}

.chara-eye-l, .chara-eye-r {
  transform-origin: center;
  animation: chara-blink 3.5s ease-in-out infinite;
}

.chara-eye-r { animation-delay: .05s; }

@keyframes chara-ear-twitch {
  0%, 85%, 100% { transform: rotate(0deg); }
  90% { transform: rotate(8deg); }
  95% { transform: rotate(-3deg); }
}

.chara-ear {
  animation: chara-ear-twitch 5s ease-in-out infinite;
}

@keyframes chara-tail-wag {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(15deg); }
  75% { transform: rotate(-10deg); }
}

.chara-tail {
  animation: chara-tail-wag 3s ease-in-out infinite;
}

@keyframes chara-arm-wave {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-15deg); }
}

.chara-arm-l {
  animation: chara-arm-wave 2.5s ease-in-out infinite;
}

.chara-arm-r {
  animation: chara-arm-wave 2.5s ease-in-out infinite reverse;
}

@media (max-width: 768px) {
  .chara--fv { width: 200px; height: 200px; right: 5%; bottom: 20px; }
}

/* ========== Section 2 illustration animation (Restored to single image) ========== */
.sec2-illust-wrap {
  transform: scale(1.35) translateY(-15%);
}

.sec2-section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .15;
  pointer-events: none;
}

@keyframes float-whole {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

.sec2-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== Section 2: Message with decorative background ========== */

#sec-service {
  overflow: hidden;
}

#sec-service::before,
#sec-service::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

#sec-service::before {
  width: 420px;
  height: 420px;
  top: -60px;
  right: -120px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: .045;
  animation: float-whole 8s ease-in-out infinite;
}

#sec-service::after {
  width: 300px;
  height: 300px;
  bottom: 20%;
  left: -100px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: .035;
  animation: float-whole 10s ease-in-out infinite reverse;
}

.sec2-message {
  position: relative;
  text-align: center;
  margin-bottom: 48px;
  padding: 56px 48px;
  background: rgba(247, 245, 240, .55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 16px;
}

.sec2-message .heading-l {
  position: relative;
  z-index: 1;
}

.sec2-message .heading-l::after {
  content: '';
  display: block;
  width: 480px;
  max-width: 75%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent) 20%, var(--accent) 80%, transparent);
  margin: 20px auto 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1.2s cubic-bezier(.22, 1, .36, 1);
}

.sec2-message.is-visible .heading-l::after {
  transform: scaleX(1);
}

.sec2-message .text {
  position: relative;
  z-index: 1;
}

.sec2-message::before,
.sec2-message::after {
  display: none;
}

@media (max-width: 768px) {
  #sec-service::before {
    width: 250px;
    height: 250px;
    top: -40px;
    right: -80px;
  }
  #sec-service::after {
    width: 180px;
    height: 180px;
    left: -60px;
  }
  .sec2-message {
    padding: 40px 16px;
    margin-bottom: 32px;
  }
  .sec2-message::before { width: 120px; height: 120px; }
  .sec2-message::after { width: 220px; height: 220px; }
}

.sec2-svg .tech-layer {
  animation: float-tech 5s ease-in-out infinite;
}

.sec2-svg .people-layer {
  animation: float-people 4s ease-in-out infinite;
}

@keyframes float-tech {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-60px); }
}

@keyframes float-people {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(50px); }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--accent);
  z-index: 200;
  width: 0%;
  transition: none;
}

/* ========== First View (Dark) ========== */

.fv {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 48px 80px;
  background-color: var(--dark);
  background-image: 
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp');
  background-repeat: repeat, repeat, repeat;
  background-blend-mode: multiply, multiply, multiply;
  background-size: 401px, 613px, 883px;
  background-position: 0 0, 13px 47px, 101px 197px;
  color: var(--white);
  overflow: hidden;
}

.fv-bg {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .2;
  pointer-events: none;
}

.fv-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.fv--sub .fv-bg img {
  transform: scale(1.3);
}

.fv-company {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: .25em;
  text-indent: .25em;
  margin-bottom: 48px;
  animation: fv-fade .6s var(--ease) .6s both;
}

.fv-catch {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: .12em;
  text-indent: .12em;
  line-height: 1.5;
  margin-bottom: 24px;
  text-align: center;
}

.fv-catch .line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: fv-line-in .8s var(--ease) forwards;
}

.fv-catch .line:nth-child(2) { animation-delay: .25s; }

.fv-sub {
  animation: fv-fade .6s var(--ease) .8s both;
}

@keyframes fv-line-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fv-fade {
  from { opacity: 0; }
  to { opacity: .6; }
}

.fv-sub {
  font-size: 15px;
  opacity: .6;
  letter-spacing: .08em;
  text-indent: .08em;
}

/* Sub-page FV (shorter, dark) */
.fv--sub {
  min-height: 55vh;
  padding-top: 140px;
  padding-bottom: 100px;
  overflow: visible !important;
}

.fv--sub + .section {
  position: relative;
  z-index: 1;
}

.fv--sub .heading-l {
  font-family: var(--font-head);
  color: var(--white);
}

.fv--sub .text { color: rgba(255,255,255,.75); }

/* ========== Sections ========== */

.section {
  padding: 72px 48px;
  overflow: hidden;
}

.section--dark {
  background-color: var(--dark);
  background-image: 
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp');
  background-repeat: repeat, repeat, repeat;
  background-blend-mode: multiply, multiply, multiply;
  background-size: 401px, 613px, 883px;
  background-position: 0 0, 13px 47px, 101px 197px;
  color: var(--white);
}

.section--dark .text { color: rgba(255,255,255,.85); }
.section--dark .text-small { color: rgba(255,255,255,.65); }
.section--dark .heading-l,
.section--dark .heading-m,
.section--dark .heading-s { color: var(--white); }

.section--mid {
  background-color: var(--mid);
  background-image: 
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp');
  background-repeat: repeat, repeat, repeat;
  background-blend-mode: multiply, multiply, multiply;
  background-size: 401px, 613px, 883px;
  background-position: 0 0, 13px 47px, 101px 197px;
}

.section-inner {
  max-width: 840px;
  margin: 0 auto;
}

.section-inner--wide { max-width: 1040px; }

/* ========== Typography ========== */

.heading-l {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 24px;
  letter-spacing: .06em;
}

.heading-m {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
  letter-spacing: .04em;
}

.heading-s {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 12px;
}

.text {
  font-size: 16px; /* 視認性向上のため15pxから16pxに拡大 */
  line-height: 2;
  color: var(--text-sub);
  font-weight: 500; /* 細すぎると和紙に埋もれるため、少し太く */
  letter-spacing: 0.03em; /* 文字間を少し開けて読みやすく */
}

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

.text-small {
  font-size: 14px; /* 13pxから14pxに拡大 */
  color: var(--text-light);
  line-height: 1.8;
  font-weight: 500;
}

.text-accent {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .04em;
}

.section-label {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 24px;
  color: var(--text-dark);
  opacity: .55;
}

.section--dark .section-label { color: #fff; opacity: .5; }

/* ========== Images ========== */

.section-img {
  margin: 32px 0;
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
}

.section-img img {
  max-width: 100%;
  height: auto;
  transition: transform .6s var(--ease);
}

.service-img-center {
  max-width: 100%;
  margin: 0 auto;
  display: block;
}
@media (max-width: 480px) {
  .service-img-center { max-width: 100%; }
}

/* ========== Service detail background image ========== */

.service-detail-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: .14;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at center 30%, black 25%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 70% at center 30%, black 25%, transparent 70%);
}

.service-detail-bg img {
  width: 110%;
  height: 110%;
  object-fit: contain;
  object-position: center 15%;
  margin-left: -5%;
  margin-top: -5%;
}

.text-center { text-align: center; }

.member-card--ceo {
  margin-bottom: 32px;
  max-width: 100%;
  text-align: center;
}
.member-photo--lg {
  width: 200px;
  height: 200px;
}
@media (max-width: 480px) {
  .member-photo--lg { width: 160px; height: 160px; }
}

.section-img:hover img { transform: scale(1.02); }

.section-img--side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 32px 0;
}

@media (max-width: 1024px) {
  .section-img--side { grid-template-columns: 3fr 2fr; gap: 24px; }
}
@media (max-width: 480px) {
  .section-img--side { grid-template-columns: 1fr; gap: 24px; }
}

/* ========== Service cards (top page) ========== */

.service-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 8px;
  padding: 40px 32px;
  margin-bottom: 20px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.06);
}

.service-tag {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .15em;
  color: var(--accent);
  margin-bottom: 12px;
}

.service-card-img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  opacity: .8;
}

/* ========== Service overview grid (service page) ========== */

.service-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.overview-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 8px;
  padding: 20px 24px;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.06);
}

.overview-card-img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin-top: -12px;
  margin-bottom: 8px;
  opacity: .9;
}

.overview-tag {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .15em;
  color: var(--accent);
  margin-bottom: 8px;
}

.overview-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.overview-problem {
  font-family: var(--font-head);
  font-size: 16px; /* 15pxから16pxに拡大 */
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1.6;
}

.overview-catch {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.overview-desc {
  font-size: 14px; /* 13pxから14pxに拡大 */
  color: var(--text-sub);
  line-height: 1.7;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .service-overview { grid-template-columns: 1fr; gap: 20px; }
}

/* ========== Case study ========== */

.case-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 20px;
}

.case-label {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--text-light);
  margin-bottom: 8px;
}

.case-flow {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 16px 0;
  font-size: 14px;
}

.case-flow-arrow { color: var(--text-light); }

@media (max-width: 480px) {
  .case-flow { flex-wrap: wrap; gap: 8px; }
}

/* ========== Case section (top page — bg image) ========== */

.case-section {
  position: relative;
  padding: 48px 48px;
  overflow: hidden;
  color: var(--text-dark); /* 白ではなく紺色に変更 */
}

.case-section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.case-section-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(247, 245, 240, .88);
  background-image: 
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp');
  background-repeat: repeat, repeat, repeat;
  background-blend-mode: multiply, multiply, multiply;
  background-size: 401px, 613px, 883px;
  background-position: 0 0, 13px 47px, 101px 197px;
  background-blend-mode: multiply;
}

.case-section-inner {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
}

.case-section .section-label { color: var(--text-dark); }
.case-section .heading-l { color: var(--text-dark); }
.case-section .link-more { color: var(--text-dark); }

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.case-card-dark {
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 8px;
  padding: 32px;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}

.case-card-dark:hover {
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
}

.case-hero-label {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--text-light);
  margin-bottom: 12px;
}

.case-hero-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.5;
}

.case-hero-flow {
  font-size: 14px;
  color: var(--text-sub);
  letter-spacing: .05em;
}

@media (max-width: 1024px) {
  .case-section { padding: 40px 24px; }
  .case-grid { grid-template-columns: 1fr; }
}

/* ========== Story section (about page — bg image) ========== */

.story-section {
  position: relative;
  padding: 72px 48px;
  overflow: hidden;
  color: var(--text-dark);
}

.story-section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-section-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(247, 245, 240, .85);
  background-image: 
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp');
  background-repeat: repeat, repeat, repeat;
  background-blend-mode: multiply, multiply, multiply;
  background-size: 401px, 613px, 883px;
  background-position: 0 0, 13px 47px, 101px 197px;
  background-blend-mode: multiply;
}

.story-section-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .story-section { padding: 64px 24px; }
}

/* ========== Story steps ========== */

.story-step {
  border-left: 4px solid var(--accent);
  padding: 24px 0 24px 24px;
}

.story-step + .story-step { border-top: none; }

.story-label {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .15em;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ========== Value items ========== */

.value-item {
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 32px 0;
}

.value-item:first-of-type { border-top: 1px solid rgba(0,0,0,.08); }

.value-number {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ========== Values blocks (editorial style) ========== */

.values-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.values-row {
  position: relative;
  background: var(--white);
  border-radius: 10px;
  border-left: 4px solid var(--accent);
  padding: 40px 44px 36px;
  overflow: hidden;
}

.values-row-number {
  position: absolute;
  top: -12px;
  right: 20px;
  font-family: var(--font-en);
  font-size: 120px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: .05em;
  opacity: .07;
  pointer-events: none;
  user-select: none;
}

.values-row-body {
  position: relative;
  z-index: 1;
}

.values-row-body .heading-m {
  margin-bottom: 12px;
}

@media (max-width: 480px) {
  .values-row { padding: 28px 24px 24px; }
  .values-row-number { font-size: 80px; right: 12px; top: -8px; }
}


.values-section-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: .15;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.values-section-bg img {
  width: 110%;
  max-height: 100%;
  object-fit: contain;
}

/* ========== Values Triangle Layout ========== */

.values-tri {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 280px;
  row-gap: 0;
  max-width: 1200px;
  margin: 16px auto 0;
  justify-items: center;
}

.tri-node { display: flex; justify-content: center; }

.tri-node--top { grid-column: 1 / -1; }
.tri-node:not(.tri-node--top) { margin-top: -55px; }

.tri-node-inner {
  width: 390px;
  height: 265px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 36px;
  background: rgba(232,228,221,0.85);
  box-shadow: none;
  transition: transform 0.45s cubic-bezier(.22,1,.36,1), box-shadow 0.45s ease;
}

.tri-node-inner:hover {
  transform: scale(1.05);
  z-index: 5;
  box-shadow: none;
}

.tri-title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.tri-sub {
  font-size: 17px;
  color: var(--text-light);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .values-tri { column-gap: 40px; max-width: 700px; }
  .tri-node-inner { width: 340px; height: 240px; padding: 32px 28px; }
  .tri-node:not(.tri-node--top) { margin-top: -20px; }
  .tri-title { font-size: 24px; }
  .tri-sub { font-size: 15px; }
}

@media (max-width: 560px) {
  .values-tri { grid-template-columns: 1fr; margin-top: 24px; }
  .tri-node-inner { width: 300px; height: 220px; padding: 24px 28px; }
  .tri-node:not(.tri-node--top) { margin-top: 16px; }
  .tri-title { font-size: 20px; }
  .tri-sub { font-size: 14px; }
}

/* ========== Culture items (number left) ========== */

.culture-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
}

.culture-item {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.culture-item:first-child {
  border-top: 1px solid rgba(0,0,0,.08);
}

.culture-number {
  font-family: var(--font-en);
  font-size: 64px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: .1em;
  flex-shrink: 0;
  min-width: 90px;
}

.culture-body {
  flex: 1;
  padding-top: 8px;
}

.culture-body .heading-m {
  margin-bottom: 8px;
}

@media (max-width: 480px) {
  .culture-number { font-size: 48px; min-width: 70px; }
  .culture-item { gap: 20px; }
}

/* ========== Culture Cards (icon grid) ========== */

.culture-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.culture-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 28px 32px;
  text-align: center;
  border: 1px solid rgba(0,0,0,.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.culture-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}

.culture-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--accent);
  background: rgba(196, 85, 58, 0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.culture-card-icon svg {
  width: 30px;
  height: 30px;
}

.culture-card-num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}

.culture-card-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.5;
}

.culture-card-text {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .culture-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .culture-card {
    padding: 28px 24px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }
  .culture-card-icon {
    flex-shrink: 0;
    margin: 0;
  }
  .culture-card-num { margin-bottom: 6px; }
}

/* ========== Members ========== */

.members {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
}

.members .member-card {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  text-align: left;
}

.members .member-photo {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  margin: 0;
}

.member-body {
  flex: 1;
  min-width: 0;
}

.members .member-catch {
  margin-bottom: 10px;
}

.members .member-career {
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  .members .member-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .members .member-photo {
    margin: 0 auto 12px;
  }
  .member-body {
    width: 100%;
  }
  .members .member-career,
  .members .member-quote {
    text-align: center;
  }
}

.member-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
}

.member-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-color: var(--mid);
  background-image: 
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp');
  background-repeat: repeat, repeat, repeat;
  background-blend-mode: multiply, multiply, multiply;
  background-size: 401px, 613px, 883px;
  background-position: 0 0, 13px 47px, 101px 197px;
  background-blend-mode: multiply;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-light);
  overflow: hidden;
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
}

.member-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.member-role {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.member-word {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
}

.member-catch {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.6;
}

.member-career {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
  text-align: left;
  margin-bottom: 12px;
}

.member-quote {
  font-size: 14px;
  color: var(--text-light);
  padding-top: 12px;
  border-top: 1px solid var(--mid);
  text-align: left;
  line-height: 1.6;
}


/* ========== News ========== */

.news-list { margin-bottom: 24px; }

.news-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
  text-decoration: none;
  color: var(--text-dark);
  transition: opacity .2s;
}

.news-item:first-child { border-top: 1px solid rgba(0,0,0,.08); }
.news-item:hover { opacity: .6; }

.news-date {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--text-light);
  flex-shrink: 0;
  width: 100px;
}

.news-tag {
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 2px 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.news-title { font-size: 14px; min-width: 0; }

@media (max-width: 768px) {
  .news-item { flex-wrap: wrap; gap: 8px 12px; }
  .news-date { width: auto; }
  .news-title { width: 100%; }
}

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

.cta-section {
  text-align: center;
  padding: 40px 48px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--dark);
  background-image: 
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp');
  background-repeat: repeat, repeat, repeat;
  background-blend-mode: multiply, multiply, multiply;
  background-size: 401px, 613px, 883px;
  background-position: 0 0, 13px 47px, 101px 197px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: .15;
  mix-blend-mode: screen;
  overflow: hidden;
}

.cta-bg img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: invert(1) brightness(2);
}

.cta-heading {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .06em;
  position: relative;
}

.cta-text {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  margin-bottom: 24px;
  position: relative;
}

.cta-button {
  display: inline-block;
  border: 1.5px solid var(--white);
  padding: 14px 44px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .1em;
  color: var(--white);
  transition: background .3s var(--ease), color .3s var(--ease);
  position: relative;
}

.cta-button:hover {
  background: var(--white);
  color: var(--dark);
}

/* ========== CTA soft (after CEO message) ========== */

.cta-section--soft {
  background: var(--light);
  min-height: auto !important;
  flex: none !important;
  padding: 64px 48px;
  text-align: center;
}

.cta-soft-text {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 16px;
  letter-spacing: .06em;
}

.cta-soft-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: .04em;
  transition: opacity .2s;
}

.cta-soft-link:hover {
  opacity: .7;
}

/* ========== CTA + Footer wrapper ========== */

.cta-footer-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ========== Links ========== */

.link-more {
  display: inline-block;
  font-size: 18px; /* さらに大きく 16px -> 18px */
  font-weight: 700;
  margin-top: 40px; /* 余白もさらに広く */
  letter-spacing: .08em;
  text-decoration: none;
  position: relative;
  padding-bottom: 6px;
  color: var(--text-dark); /* 明示的に紺色を指定 */
}

.link-more::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%; /* 常に下線を表示 */
  height: 1px;
  background: currentColor;
  transition: opacity .3s var(--ease);
}

.link-more:hover::after { opacity: 0.5; } /* ホバー時に少し薄くなるアクション */

.section--dark .link-more { color: var(--white); } /* ダークセクションでもはっきり見えるように白に変更 */

/* ========== Footer ========== */

.footer {
  background-color: var(--dark);
  background-image: 
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp');
  background-repeat: repeat, repeat, repeat;
  background-blend-mode: multiply, multiply, multiply;
  background-size: 401px, 613px, 883px;
  background-position: 0 0, 13px 47px, 101px 197px;
  color: rgba(255,255,255,.65);
  padding: 40px 48px 24px;
  font-size: 14px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.footer-info { display: flex; flex-direction: column; gap: 6px; }

.footer-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

.footer-company {
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-address {
  font-size: 14px;
  line-height: 1.6;
}

.footer-tel {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .05em;
}

.footer-tel a {
  color: inherit;
  text-decoration: none;
}

.footer-tel a:hover {
  text-decoration: underline;
}

.footer-hours {
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px 28px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  font-size: 14px;
  text-decoration: none;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

.footer-legal {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-legal a {
  font-size: 12px;
  text-decoration: none;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}

.footer-legal a:hover { color: var(--white); }

@media (max-width: 1024px) {
  .footer { padding: 32px 24px 20px; }
  .footer-top {
    flex-direction: column;
    gap: 24px;
  }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* ========== Forms ========== */

.form-group { margin-bottom: 24px; }

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: .04em;
}

.form-required {
  color: var(--accent);
  font-size: 14px;
  margin-left: 4px;
}

.form-error {
  display: none;
  color: #c53030;
  font-size: 14px;
  margin-top: 4px;
}

.form-group.has-error .form-error {
  display: block;
}

.form-group.has-error .form-input,
.form-group.has-error .form-textarea {
  border-color: #c53030;
}

.form-input, .form-textarea, select.form-input {
  width: 100%;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-body);
  background: var(--white);
  transition: border-color .2s;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-input:focus, .form-textarea:focus, select.form-input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-textarea { height: 200px; resize: vertical; }

.form-submit {
  display: block;
  margin: 32px auto 0;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 18px 64px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  letter-spacing: .08em;
  transition: opacity .2s;
}
.form-submit:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.form-submit:hover { opacity: .8; }

/* ========== Thanks page ========== */

.thanks-content { text-align: center; padding: 48px 0; }
.thanks-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 36px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 32px;
}
.thanks-btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity .2s, background .2s, color .2s;
  background: var(--dark);
  color: var(--white);
  border: 1.5px solid var(--dark);
}
.thanks-btn:hover { opacity: .8; }
.thanks-btn--outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.thanks-btn--outline:hover {
  background: var(--dark);
  color: var(--white);
  opacity: 1;
}

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

.process-steps {
  counter-reset: step;
  position: relative;
  padding-left: 48px;
}

.process-steps::before {
  display: none;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 24px;
  position: relative;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.06);
  margin-bottom: 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.process-step:last-child { margin-bottom: 0; }

.process-step:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -48px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 1;
}

.process-step::after {
  content: '';
  position: absolute;
  left: -33px;
  bottom: -12px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--accent);
}

.process-step:last-child::after { display: none; }

@media (max-width: 480px) {
  .process-steps { padding-left: 40px; }
  .process-step { padding: 16px 18px; }
  .process-step::before {
    width: 32px;
    height: 32px;
    font-size: 14px;
    left: -40px;
  }
  .process-step::after { left: -29px; }
}

/* ========== Company layout ========== */

.company-layout {
  max-width: 720px;
  margin: 0 auto;
}

.company-map {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  margin-top: 8px;
}


/* ========== Company info table ========== */

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.info-table th, .info-table td {
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 16px 20px;
  font-size: 14px;
  text-align: left;
}

.info-table th {
  white-space: nowrap;
  font-weight: 700;
  color: var(--text-dark);
}

.info-table td { color: var(--text-sub); font-weight: 500; }

@media (max-width: 768px) {
  .info-table th, .info-table td {
    display: block;
    width: 100%;
    padding: 8px 12px;
  }
  .info-table th {
    border-bottom: none;
    padding-bottom: 2px;
    font-size: 14px;
  }
  .info-table td {
    padding-top: 0;
  }
}

/* ========== CEO Message ========== */

.section--ceo-message {
  overflow: visible;
}

.ceo-message {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  margin-top: 32px;
}

.ceo-message-photo {
  text-align: center;
}

.ceo-message-photo-inner {
  position: sticky;
  top: 100px;
}

.ceo-message-photo .member-photo {
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
}

.ceo-message-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  white-space: nowrap;
}

.ceo-message-body {
  padding-top: 8px;
}

.ceo-message-body .text {
  margin-bottom: 24px;
  line-height: 2;
}

.ceo-message-body .text:last-of-type {
  margin-bottom: 0;
}

.ceo-message-pullquote {
  border-left: 4px solid var(--accent);
  padding: 20px 28px;
  margin: 32px 0;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--text-dark);
  background: rgba(247, 245, 240, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 0 10px 10px 0;
}

.ceo-message-invite {
  margin-top: 40px;
  padding: 32px 36px;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: .04em;
  border-radius: 8px;
  text-align: center;
}

@media (max-width: 768px) {
  .ceo-message {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ceo-message-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* ========== Approach grid ========== */

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.approach-item {
  background: var(--white);
  border-radius: 8px;
  padding: 28px 24px;
}

@media (max-width: 1024px) {
  .approach-grid { grid-template-columns: 1fr; }
}

/* ========== Steps (numbered vertical) ========== */

.steps {
  margin: 32px 0;
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
  position: relative;
}

.step:first-child { border-top: 1px solid rgba(0,0,0,.08); }

.step-num {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  min-width: 48px;
  padding-top: 2px;
}

.step-body { flex: 1; }
.step-body .heading-s { margin-bottom: 6px; }

/* ========== Feature list ========== */

.feature-list {
  list-style: none;
  margin: 20px 0;
}

.feature-list li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
  padding: 6px 0 6px 24px;
  position: relative;
}

.feature-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ========== Feature grid (service detail) ========== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0 24px;
}

.feature-card {
  text-align: center;
  padding: 20px 20px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.section:not(.section--mid) .feature-card {
  background: var(--white);
  border-color: rgba(0,0,0,.06);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.04);
}

.feature-card-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
}

.feature-card-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.feature-card-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

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

.service-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  padding: 6px 14px;
  border: 1.5px solid var(--accent);
  border-radius: 100px;
  background: rgba(232,135,42,.04);
}

.service-badge svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature-card {
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    gap: 0 14px;
    text-align: left;
    padding: 18px 20px;
  }
  .feature-card-icon {
    grid-row: 1 / 3;
    margin: 0;
    align-self: center;
  }
  .feature-card-title { margin-bottom: 2px; }
  .service-badges { justify-content: center; }
}

/* ========== Three walls ========== */

.three-walls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.wall-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 24px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.wall-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.04);
}

.wall-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
}

.wall-icon svg {
  width: 100%;
  height: 100%;
}

.wall-problem {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.wall-solve {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .three-walls {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .wall-card {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 0 14px;
    padding: 20px;
  }
  .wall-icon {
    grid-row: 1 / 3;
    margin: 0;
    align-self: center;
  }
}

/* ========== After-submit ========== */

.after-submit {
  background-color: var(--mid);
  background-image: 
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp');
  background-repeat: repeat, repeat, repeat;
  background-blend-mode: multiply, multiply, multiply;
  background-size: 401px, 613px, 883px;
  background-position: 0 0, 13px 47px, 101px 197px;
  background-blend-mode: multiply;
  border-radius: 8px;
  padding: 32px;
  margin-top: 40px;
}

.after-submit-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ========== Tel box ========== */

.tel-box {
  background-color: var(--mid);
  background-image: 
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp');
  background-repeat: repeat, repeat, repeat;
  background-blend-mode: multiply, multiply, multiply;
  background-size: 401px, 613px, 883px;
  background-position: 0 0, 13px 47px, 101px 197px;
  background-blend-mode: multiply;
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  margin-top: 24px;
}

.tel-box-number {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-top: 8px;
}

.tel-box-number a {
  color: inherit;
  text-decoration: none;
}

.tel-box-number a:hover {
  text-decoration: underline;
}

/* ========== Placeholder ========== */

.placeholder-box {
  background-color: var(--mid);
  background-image: 
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp');
  background-repeat: repeat, repeat, repeat;
  background-blend-mode: multiply, multiply, multiply;
  background-size: 401px, 613px, 883px;
  background-position: 0 0, 13px 47px, 101px 197px;
  background-blend-mode: multiply;
  border-radius: 8px;
  padding: 48px 32px;
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  margin: 24px 0;
}

/* ========== Design note (hidden in production, shown for now) ========== */

.design-note {
  font-size: 11px;
  color: var(--text-light);
  border: 1px dashed rgba(0,0,0,.15);
  border-radius: 4px;
  padding: 12px 16px;
  margin-top: 32px;
  line-height: 1.6;
}

.design-note::before {
  content: "設計メモ: ";
  font-weight: 700;
}

.section--dark .design-note {
  color: rgba(255,255,255,.3);
  border-color: rgba(255,255,255,.1);
}

/* ========== Privacy ========== */

.privacy-block {
  margin-bottom: 40px;
}

.privacy-block:last-child {
  margin-bottom: 0;
}

/* ========== Spacer ========== */

.spacer { height: 48px; }

/* ========== Pending ========== */

.pending { color: var(--text-light); font-size: 12px; }
.pending::before { content: "★仮置き "; color: var(--accent); font-weight: 700; }

/* ========== Responsive ========== */

@media (max-width: 1024px) {
  .section { padding: 56px 36px; }
  .fv { padding: 110px 36px 70px; }
  .fv--sub { padding-top: 130px; }
  .nav { padding: 16px 24px; }
  .cta-section { padding: 36px 24px; min-height: auto; flex: none; }
  .cta-footer-wrap { min-height: auto; }
  .heading-l { margin-bottom: 20px; }
}

@media (max-width: 768px) {
  .fv { min-height: 100svh; padding: 80px 24px 80px; }
  .fv-bg { top: 0; }
  .fv-bg img { object-position: center center; }
  .fv--sub { min-height: auto; padding-top: 120px; padding-bottom: 60px; overflow: hidden !important; }
  .section { padding: 48px 24px; }

  .sec2-message .heading-l {
    font-size: clamp(20px, 5.5vw, 28px);
  }
  .sec2-message .text {
    font-size: 14px;
  }
  .case-hero-label {
    font-size: 12px;
  }
  .case-hero-title {
    font-size: 17px;
  }
  .case-hero-flow {
    font-size: 13px;
  }
  .sec2-section-bg {
    object-fit: contain;
    opacity: .10;
  }
  .values-section-bg img {
    width: 90%;
  }
  .service-detail-bg {
    opacity: .10;
  }
  .service-detail-bg img {
    width: 100%;
    height: 100%;
    margin-left: 0;
    margin-top: 0;
  }
  .sec2-illust-wrap {
    transform: none;
    margin-top: 16px;
  }
}

@media (max-width: 480px) {
  .fv { padding: 60px 16px 60px; }
  .fv--sub { min-height: auto; padding-top: 80px; padding-bottom: 48px; }
  .section { padding: 40px 16px; }
  .cta-section { padding: 28px 16px; }
  .heading-l { font-size: clamp(22px, 6vw, 32px); }
  .nav { padding: 12px 16px; }
  .footer { padding: 28px 16px; }
  .footer-links { gap: 12px 20px; }

  .sec2-section-bg {
    opacity: .08;
  }
  .values-section-bg img {
    width: 80%;
  }
}

/* ========== Blog Grid ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.3s var(--ease);
  background-color: #fff;
  background-image: 
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp');
  background-repeat: repeat, repeat, repeat;
  background-blend-mode: multiply, multiply, multiply;
  background-size: 401px, 613px, 883px;
  background-position: 0 0, 13px 47px, 101px 197px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.blog-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #f5f5f5;
  background-image: 
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp'),
    url('images/washi-texture-seamless.webp');
  background-repeat: repeat, repeat, repeat;
  background-blend-mode: multiply, multiply, multiply;
  background-size: 401px, 613px, 883px;
  background-position: 0 0, 13px 47px, 101px 197px;
  background-blend-mode: multiply;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}

.blog-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 24px;
}

.blog-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  border-bottom: 1px solid var(--text-dark);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: opacity 0.3s var(--ease);
}

.blog-card:hover .blog-link {
  opacity: 0.7;
}

.blog-link svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ========== Generic Button ========== */

.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-dark);
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  letter-spacing: .06em;
  transition: opacity .2s;
}

.btn:hover { opacity: .6; }

/* ========== Skeleton Loading ========== */

@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-pulse {
  background: linear-gradient(90deg, var(--mid) 25%, #ebe7e0 50%, var(--mid) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.blog-skeleton {
  pointer-events: none;
}

.blog-skeleton .blog-thumb {
  background-color: var(--mid);
}

.skeleton-line {
  height: 16px;
  border-radius: 4px;
  margin-bottom: 12px;
}

/* ========== SP Only / PC Only Break ========== */
@media (min-width: 769px) {
  .sp-only {
    display: none;
  }
}
@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
}
