/* ── Variables ── */
:root {
  --dark:   #151415;
  --white:  #ffffff;
  --cream:  #efe4d3;
  --accent: #c85a1c;
  --gray:   #a7a7a7;
  --section-gap: clamp(120px, 15vw, 200px);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Shippori Mincho', serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  position: relative;
  opacity: 0;
  animation: pageLoad .9s ease .15s forwards;
}
@keyframes pageLoad { to { opacity: 1; } }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }


/* ── Scroll reveal ── */
[data-reveal] {
  transition: opacity .85s ease, transform .85s ease;
}
[data-reveal="up"]    { opacity:0; transform:translateY(55px); }
[data-reveal="left"]  { opacity:0; transform:translateX(-70px) translateY(18px); }
[data-reveal="right"] { opacity:0; transform:translateX( 70px) translateY(18px); }
[data-reveal].in      { opacity:1; transform:translate(0,0); }

/* ── Nav ── */
.nav {
  position: fixed;
  top:0; left:0; right:0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 2%;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background .5s ease, backdrop-filter .5s ease;
}
.nav.nav--glass {
  background: linear-gradient(to bottom,
    rgba(15,13,14,.92) 0%,
    rgba(15,13,14,.72) 65%,
    rgba(15,13,14,0) 100%);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
}

/* Logo */
.nav-logo {
  flex-shrink: 0;
}
.nav-logo a {
  display: block;
  line-height: 0;
}
.nav-logo-img {
  width: clamp(72px, 9.9vw, 141px);
  height: auto;
  display: block;
  padding: 10px;
  object-fit: contain;
}
.footer-logo-img {
  width: clamp(110px, 16vw, 250px);
  height: auto;
  display: block;
  margin-bottom: 10px;
  object-fit: contain;
}

.nav-links { display:flex; gap:clamp(20px,5vw,80px); }
.nav-links a {
  font-family:'Inter',sans-serif;
  font-size:clamp(12px,1.1vw,16px);
  letter-spacing:3.12px;
  text-transform:uppercase;
  color:#fff;
  opacity:.85;
  position:relative;
  transition:opacity .2s;
}
.nav-links a::after {
  content:'';
  position:absolute;
  bottom:-9px;
  left:0;
  width:0;
  height:1px;
  background:rgba(200,90,28,.9);
  transition:width .3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { opacity:1; }
  .nav-links a:hover::after { width:100%; }
}
.nav-links a.nav-link-active { opacity:1; }
.nav-links a.nav-link-active::after {
  width: calc(100% - 3.12px);
  transition: none;
}
.nav-cta {
  font-family:'Inter',sans-serif;
  font-weight: 300;
  font-size:clamp(11px,1vw,14px);
  letter-spacing:2.6px;
  text-transform:uppercase;
  color:var(--white);
  border:1px solid rgba(200,90,28,.9);
  border-radius:999px;
  padding:0 20px;
  height:44px;
  display:flex;
  align-items:center;
  transition: background .45s cubic-bezier(.25,.46,.45,.94),
              color .45s cubic-bezier(.25,.46,.45,.94),
              border-color .45s cubic-bezier(.25,.46,.45,.94);
  white-space:nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .nav-cta:hover { background:rgba(200,90,28,.9); color:var(--white); border-color:rgba(200,90,28,.9); }
}

/* Nav right group (SNS + hamburger) */
.nav-right {
  display: none;
  align-items: center;
  gap: 14px;
}

/* Nav SNS icons (mobile only) */
.nav-sns {
  display: none;
  align-items: center;
  gap: 14px;
}
.nav-sns-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: .85;
  transition: opacity .25s;
}
@media (hover: hover) and (pointer: fine) {
  .nav-sns a:hover .nav-sns-icon { opacity: 1; }
}

/* Hamburger */
.nav-hamburger {
  display: none;
  position: relative;
  width: 34px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.nav-hamburger span {
  display: block;
  position: absolute;
  left: 4px;
  right: 4px;
  height: 1px;
  background: var(--cream);
  transition: transform .3s, opacity .3s, top .3s;
}
.nav-hamburger span:nth-child(1) { top: 7px; }
.nav-hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-hamburger span:nth-child(3) { top: 21px; }
.nav-hamburger.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }

.nav-mobile {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(21,20,21,.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .4s ease, visibility 0s linear .4s;
}
.nav-mobile.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .4s ease, visibility 0s linear 0s;
}
.nav-mobile a {
  font-family: 'Inter', sans-serif;
  font-size: clamp(20px, 5vw, 32px);
  letter-spacing: 3.12px;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .85;
  transition: opacity .2s;
}
@media (hover: hover) and (pointer: fine) {
  .nav-mobile a:hover { opacity: 1; }
}

.sp-only { display: none; }
@media (max-width: 700px) { .sp-only { display: inline; } }

/* ── Shared button ── */
.btn-w {
  display:inline-flex;
  align-items:center;
  height:44px;
  padding:0 20px;
  border:.3px solid rgba(239,228,211,.35);
  border-radius:999px;
  font-family:'Inter',sans-serif;
  font-size:clamp(11px,1vw,14px);
  letter-spacing:2.6px;
  text-transform:uppercase;
  color:var(--white);
  white-space:nowrap;
  transition: background .45s cubic-bezier(.25,.46,.45,.94),
              color .45s cubic-bezier(.25,.46,.45,.94),
              border-color .45s cubic-bezier(.25,.46,.45,.94),
              opacity .45s cubic-bezier(.25,.46,.45,.94);
}
@media (hover: hover) and (pointer: fine) {
  .btn-w:hover { background:var(--white); color:var(--dark); }
}


/* ─────────────────────
   HERO
───────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: radial-gradient(
    ellipse 160% 110% at 50% -5%,
    #cc4818  0%,
    #b84015 18%,
    #8c3010 36%,
    #5a1c08 55%,
    #280a02 72%,
    #151415 88%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}
.hero-fade-bottom {
  position: absolute;
  bottom: -150px; left: 0; right: 0;
  height: 55%;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, #151415 65%, rgba(21,20,21,0.5) 75%, transparent 85%);
  pointer-events: none;
  z-index: 1;
}
.hero-title-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  transform: translateY(-30px);
}
.hero-title-img {
  width: clamp(224px, 56vw, 1300px);
  pointer-events: none;
  display: block;
  margin: 0 auto;
}
/* テキストフォールバック（画像が無い場合） */
.hero-title-text {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(52px, 10vw, 130px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -.01em;
  color: var(--cream);
  text-align: left;
  padding: 0 clamp(28px, 8vw, 120px);
}
.hero-floats { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.flt { position: absolute; white-space: nowrap; }
.flt-kr {
  font-family: 'Noto Serif KR', serif; font-weight: 300;
  font-size: 15px; letter-spacing: .05em;
  top: 24%; right: 16%;
}
.flt-ja {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 15px; letter-spacing: .05em;
  top: 54%; left: 10%;
}
.hero-from {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-from-frame {
  position: absolute;
  width: clamp(180px, 18vw, 280px);
  height: clamp(38px, 4vw, 58px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: .5px solid rgba(255,255,255,.5);
  border-radius: 50%;
}
.hero-from-text {
  position: relative; z-index: 1;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
}

/* ─────────────────────
   CONCEPT
───────────────────── */

.concept {
  position: relative;
  overflow-x: hidden;
  background: var(--dark);
  padding:var(--section-gap) clamp(5%,8vw,10%);
  margin-top: var(--section-gap);
  box-sizing: border-box;
}
.concept-fade {
  opacity: 0;
  transition: opacity 1.4s ease;
}
.concept-fade.in {
  opacity: 1;
}
.concept-inner {
  display:flex;
  gap:clamp(60px,13vw,260px);
  align-items:flex-start;
  max-width:1340px;
  margin:0 auto;
  padding-left: clamp(20px, 4vw, 80px);
}
.concept-left { flex-shrink:0; }
.concept-logo-img {
  width: clamp(144px, 27vw, 433px);
  height: auto;
  display: block;
  margin-bottom: 30px;
  object-fit: contain;
}
.concept-brand {
  font-family:'Shippori Mincho',serif;
  font-size:clamp(14px,1.3vw,19px);
  line-height:1.5;
  letter-spacing:.76px;
  margin-top:8px;
  color: rgba(239,228,211,.75);
}
.concept-brand--dup { display: none; }
.concept-txt {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vw, 24px);
}
.concept-para {
  font-family:'Shippori Mincho',serif;
  font-size:clamp(15px,1.4vw,20px);
  line-height:1.8;
  letter-spacing:.96px;
  color: rgba(239,228,211,.22);
  transition: color 0.7s ease;
}
.concept-para--lit {
  color: var(--cream);
}

/* ─────────────────────
   ABOUT
───────────────────── */
.about {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: var(--section-gap);
}

/* ダークドーム（上部カーブ） */
.about-dome {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 170vw;
  max-width: 1900px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--dark);
  pointer-events: none;
  z-index: 2;
  margin-bottom: -2px;
}

.about-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(21,20,21,1)   0%,
    rgba(21,20,21,0.1) 30%,
    rgba(21,20,21,0.1) 65%,
    rgba(21,20,21,1)   100%
  );
  z-index: 1;
}


/* コンテンツ */
.about-content {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.about-mockup {
  position: absolute;
  bottom: clamp(48px, 7vw, 90px);
  left: clamp(5%, 7vw, 9%);
  width: clamp(220px, 35vw, 560px);
}
.about-title-sub {
  font-family:'Shippori Mincho',serif;
  font-size:clamp(16px,1.6vw,24px);
  line-height:1.93;
  color: rgba(239,228,211,.7);
  /* PC：タイトル画像の上、中央揃えで配置 */
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: -12px;
  white-space: nowrap;
  text-align: center;
}
.about-mockup img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.about-left {
  position: absolute;
  bottom: clamp(48px, 7vw, 90px);
  right: clamp(5%, 7vw, 9%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: clamp(200px, 28vw, 380px);
  isolation: isolate;
}

.about-body {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 2.2;
  letter-spacing: 0.15em;
  color: var(--cream);
  text-align: left;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.about-body--first  { opacity: 1; transform: none; text-align: justify; }
.about-tight {
  display: inline;
  letter-spacing: 0.02em;
}
.about-body--second { opacity: 1; transform: none; position: static; }
.about-btn          { opacity: 1; }

@media (max-width:700px) {
  /* スマホ時は停止アニメーションなし。背景画像の下にタイトル＋本文を配置 */
  .about {
    height: auto;
    min-height: auto;
    overflow: visible;
  }
  .about .glow-orb,
  .about-dome {
    display: none;
  }
  .about-bg {
    position: absolute;
    inset: auto;
    top: 0; left: 0; right: 0;
    width: 100%;
    height: 70vh;
    object-position: center top;
  }
  .about-overlay {
    position: absolute;
    inset: auto;
    top: 0; left: 0; right: 0;
    height: 70vh;
  }
  .about-content {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding-top: calc(54vh + 32px);
    padding-bottom: 32px;
    padding-right: clamp(5%, 8vw, 10%);
    padding-left: calc(clamp(5%, 8vw, 10%) + clamp(20px, 4vw, 80px));
  }
  .about-mockup {
    position: static;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 12px;
    width: clamp(200px, 60vw, 320px);
  }
  .about-title-sub {
    position: static;
    left: auto;
    transform: none;
    margin-bottom: 0;
    white-space: normal;
    text-align: left;
  }
  .about-left {
    position: static;
    right: auto;
    bottom: auto;
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }
  .about-body--first,
  .about-body--second {
    opacity: 1;
    transform: none;
    position: static;
    font-size: clamp(15px, 1.4vw, 20px);
    text-align: left;
  }
  .about-tight { display: inline; }
  .about-btn { opacity: 1; }
}

/* ─────────────────────
   PROJECTS
───────────────────── */
.projects { position: relative; overflow-x: hidden; padding:var(--section-gap) clamp(5%,8vw,10%); margin-top:var(--section-gap); }
.projects-head {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:clamp(24px,3vw,50px);
  margin-bottom:clamp(60px,9vw,160px);
}
.projects-title-stack {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.projects-title-img {
  width: clamp(260px, 50vw, 780px);
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.projects-sub {
  font-family:'Shippori Mincho',serif;
  font-size:clamp(16px,1.6vw,24px);
  line-height:1.93;
  color: rgba(239,228,211,.7);
  text-align:center;
}
.projects-vline { width:1px; height:101px; background:rgba(255,255,255,.45); }

.projects-list { display:flex; flex-direction:column; gap:clamp(80px,14vw,200px); }

/* カード内要素の段階的フェイドイン */
.prow-anim {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease, transform .8s ease;
  transition-delay: var(--d, 0s);
}
.prow-anim.in {
  opacity: 1;
  transform: translateY(0);
}

/* Project row */
.prow {
  display:flex;
  align-items:center;
  gap:clamp(32px,5.5vw,80px);
  max-width:1190px;
  margin:0 auto;
  width:100%;
}
.prow.rev { flex-direction:row-reverse; }

.prow-img {
  flex-shrink:0;
  width:clamp(180px,36vw,500px);
  height:clamp(180px,28vw,400px);
  border-radius:10px;
  overflow:hidden;
}
.prow-img img {
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .55s ease;
}
@media (hover: hover) and (pointer: fine) {
  .prow:hover .prow-img img { transform:scale(1.05); }
}

.prow-txt { flex:1; display:flex; flex-direction:column; gap:clamp(12px,1.4vw,20px); }
.prow-cat {
  font-family:'Inter',sans-serif;
  font-size:clamp(9px,.8vw,11px);
  letter-spacing:3.12px;
  text-transform:uppercase;
  color:var(--accent);
  border:1px solid rgba(200,90,28,.7);
  border-radius:999px;
  padding:8px 16px;
  align-self:flex-start;
}
.prow-timg {
  max-width: 100%;
  height: clamp(18px, 2.5vw, 36px);
  object-fit: contain;
  object-position: left center;
  display: block;
}
.prow-sub  { font-family:'Shippori Mincho',serif; font-size:15px; letter-spacing:3.6px; color: rgba(239,228,211,.65); }
.prow-role { font-family:'Inter',sans-serif; font-size:clamp(12px,1.1vw,16px); letter-spacing:3.12px; text-transform:uppercase; color:var(--gray); }
.prow-desc { font-family:'Shippori Mincho',serif; font-size:clamp(14px,1.4vw,20px); line-height:2; letter-spacing:1.04px; }

/* ─────────────────────
   SERVICE
───────────────────── */
.service {
  position: relative;
  padding: 200px clamp(5%,8vw,10%);
  margin-top:var(--section-gap);
  margin-bottom:var(--section-gap);
}
.service-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.service-bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.service-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(21,20,21,1)   0%,
    rgba(21,20,21,0)   20%,
    rgba(21,20,21,0)   70%,
    rgba(21,20,21,.55) 88%,
    rgba(21,20,21,1)   100%
  );
}
.service-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
}
.service-hd {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-top: clamp(-60px, -5vw, -30px);
}
.service-btn-bottom {
  position: relative;
  z-index: 1;
  margin-top: clamp(20px, 2.5vw, 36px);
}

.service-title-img {
  width: clamp(220px, 28vw, 460px);
  height: auto;
  object-fit: contain;
  display: block;
}
.service-sub {
  font-family:'Shippori Mincho',serif;
  font-size:clamp(16px,1.6vw,24px);
  line-height:1.93;
  margin-top:6px;
  color: rgba(239,228,211,.7);
}
.service-cols {
  display: flex;
  gap: clamp(50px, 7vw, 130px);
}
.s-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 2vw, 28px);
}
.s-col-title-img {
  height: clamp(28px, 3vw, 44px);
  width: auto;
  object-fit: contain;
  display: block;
}
.s-list {
  font-family:'Inter',sans-serif;
  font-size:clamp(10px,1vw,14px);
  letter-spacing:3.12px;
  text-transform:uppercase;
  line-height:2;
  color: rgba(239,228,211,.8);
}

/* ─────────────────────
   CONTACT
───────────────────── */
.contact-section {
  position: relative;
  overflow: hidden;
  margin-top: var(--section-gap);
}
.contact-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 1;
}
.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(21,20,21,1)   0%,
    rgba(21,20,21,.6)  12%,
    rgba(21,20,21,.1)  38%,
    rgba(21,20,21,0.1) 65%,
    rgba(21,20,21,1)   100%
  );
  z-index: 1;
}

.contact-body {
  position: relative;
  z-index: 2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:clamp(10px,1.5vw,16px);
  padding:var(--section-gap) 5%;
  text-align:center;
}
.contact-title-img {
  width: clamp(260px, 50vw, 800px);
  height: auto;
  object-fit: contain;
  display: block;
}
.contact-txt {
  font-family:'Shippori Mincho',serif;
  font-size:clamp(14px,1.4vw,20px);
  line-height:2.2;
  letter-spacing:.8px;
  color: var(--cream);
}

.contact-btns { display:flex; flex-wrap:wrap; gap:25px; justify-content:center; }
.btn-icon { gap: 10px; }
.contact-btns .btn-w {
  height: 58px;
  padding: 0 40px;
  font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: 3px;
}
.btn-sns-icon { width: 20px; height: 20px; object-fit: contain; display: inline-block; }

/* ─── ミニフォーム ─── */
.contact-mini-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 520px;
}
.contact-mini-row { display: flex; gap: 12px; }
.contact-mini-input,
.contact-mini-textarea {
  background: transparent;
  border: .3px solid rgba(255,255,255,.3);
  color: #fff;
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: .06em;
  padding: 12px 16px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .3s;
  -webkit-appearance: none;
}
.contact-mini-input::placeholder,
.contact-mini-textarea::placeholder { color: rgba(255,255,255,.35); }
.contact-mini-input:focus,
.contact-mini-textarea:focus { border-color: rgba(255,255,255,.75); }
.contact-mini-textarea { resize: none; min-height: 90px; }
.contact-mini-submit { align-self: flex-start; cursor: pointer; background: none; }

/* ─── 送信完了モーダル（全ページ共通） ─── */
.ct-modal {
  position: fixed;
  inset: 0;
  background: rgba(15,13,14,.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}
.ct-modal.ct-modal--open { opacity: 1; pointer-events: all; }
.ct-modal-box {
  background: rgba(21,20,21,.95);
  border: .3px solid rgba(239,228,211,.2);
  padding: clamp(48px, 6vw, 80px) clamp(40px, 6vw, 80px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transform: translateY(20px);
  transition: transform .4s ease;
  max-width: 480px;
  width: 90%;
}
.ct-modal--open .ct-modal-box { transform: translateY(0); }
.ct-modal-en {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  font-style: italic;
  color: var(--cream);
  line-height: 1;
}
.ct-modal-ja {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(12px, 1.1vw, 15px);
  line-height: 2;
  letter-spacing: .08em;
  color: rgba(239,228,211,.65);
}
.ct-modal-close {
  margin-top: 12px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(10px, .9vw, 12px);
  letter-spacing: 3px;
  color: rgba(239,228,211,.6);
  background: transparent;
  border: .3px solid rgba(239,228,211,.3);
  border-radius: 999px;
  padding: 10px 32px;
  cursor: pointer;
  transition: border-color .25s, color .25s;
}
@media (hover: hover) and (pointer: fine) {
  .ct-modal-close:hover { border-color: rgba(200,90,28,.9); color: var(--cream); }
}

/* ─────────────────────
   FOOTER
───────────────────── */
footer {
  position: relative;
  overflow-x: hidden;
  margin-top: var(--section-gap);
  padding: var(--section-gap) 5% 48px;
}
footer > * { position: relative; z-index: 1; }
.footer-top {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:24px;
}
.footer-links { display:flex; gap:clamp(16px,3vw,50px); flex-wrap:wrap; margin-bottom:10px; }
.footer-links a {
  font-family:'Inter',sans-serif;
  font-size:clamp(11px,1vw,16px);
  letter-spacing:3.12px;
  text-transform:uppercase;
  color:var(--cream);
  opacity:.82;
  transition:opacity .2s;
}
@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover { opacity:1; }
}
.footer-rule {
  width:100%; height:.5px;
  background:rgba(255,255,255,.22);
  margin:16px 0;
}
.footer-btm {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:16px;
}
.footer-copy {
  font-family:'Inter',sans-serif;
  font-size:clamp(10px,.9vw,16px);
  letter-spacing:3.12px;
  text-transform:uppercase;
  color:var(--white);
  opacity:.45;
}

/* ── Fixed SNS widget (bottom-left) ── */
.fixed-sns {
  position: fixed;
  bottom: 36px;
  left: 36px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fixed-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: .3px solid rgba(255,255,255,.4);
  border-radius: 50%;
  transition: background .2s ease, border-color .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .fixed-sns a:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.7);
  }
}
.fixed-sns-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: .85;
}
@media (max-width: 900px) {
  .fixed-sns { display: none; }
}

/* ── Back to top ── */
.back-to-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: .5px solid rgba(255,255,255,.4);
  border-radius: 50%;
  width: 64px;
  height: 64px;
  cursor: pointer;
  color: var(--cream);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease, background .2s ease, transform .2s ease;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
@media (hover: hover) and (pointer: fine) {
  .back-to-top:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-4px);
  }
}
.back-to-top__arrow {
  font-size: 18px;
  line-height: 1;
  transform: translateY(-3px);
}

/* ─────────────────────
   GLOW ORBS（オレンジのグラデーションの光の玉を各所に配置）
───────────────────── */
@keyframes orbDrift {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(48%, -60%) scale(1.35); }
  50%  { transform: translate(-39%, 45%) scale(0.7); }
  75%  { transform: translate(-54%, -39%) scale(1.25); }
  100% { transform: translate(0, 0) scale(1); }
}
/* 縦中央寄せ（translateY(-50%)）を保ったまま揺らす用 */
@keyframes orbDriftCentered {
  0%   { transform: translateY(-50%) translate(0, 0) scale(1); }
  25%  { transform: translateY(-50%) translate(48%, -60%) scale(1.35); }
  50%  { transform: translateY(-50%) translate(-39%, 45%) scale(0.7); }
  75%  { transform: translateY(-50%) translate(-54%, -39%) scale(1.25); }
  100% { transform: translateY(-50%) translate(0, 0) scale(1); }
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: orbDrift 16s ease-in-out infinite;
  will-change: transform;
  background: radial-gradient(circle,
    rgba(255, 140, 60, .55) 0%,
    rgba(255, 132, 58, .4)  18%,
    rgba(255, 122, 55, .26) 34%,
    rgba(255, 112, 52, .16) 50%,
    rgba(255, 105, 50, .08) 65%,
    rgba(255, 100, 48, .03) 80%,
    rgba(255, 100, 48, 0)   100%
  );
  filter: blur(100px);
}
.glow-orb--1  { width: clamp(220px, 30vw, 480px); height: clamp(220px, 30vw, 480px); top: -8%;  left: -8%; animation-duration: 10s; animation-delay: 0s; }
.glow-orb--2  { width: clamp(180px, 24vw, 380px); height: clamp(180px, 24vw, 380px); top: 14%; left: -6%; animation-duration: 8.5s; animation-delay: -3s; }
.glow-orb--3  { width: clamp(160px, 22vw, 340px); height: clamp(160px, 22vw, 340px); top: 8%; right: 4%; animation-duration: 11s; animation-delay: -7s; }
.glow-orb--4  { width: clamp(200px, 26vw, 420px); height: clamp(200px, 26vw, 420px); bottom: 14%; left: 6%; animation-duration: 9.5s; animation-delay: -10s; }
.glow-orb--5  { width: clamp(150px, 20vw, 320px); height: clamp(150px, 20vw, 320px); top: 50%; left: 12%; transform: translateY(-50%); animation-name: orbDriftCentered; animation-duration: 10.5s; animation-delay: -4s; }
.glow-orb--6  { width: clamp(170px, 22vw, 360px); height: clamp(170px, 22vw, 360px); top: 34%;  left: -8%; animation-duration: 9s; animation-delay: -8s; }
.glow-orb--7  { width: clamp(190px, 25vw, 400px); height: clamp(190px, 25vw, 400px); bottom: 10%; right: -8%; animation-duration: 11.5s; animation-delay: -12s; }
.glow-orb--8  { width: clamp(160px, 21vw, 340px); height: clamp(160px, 21vw, 340px); top: 40%; right: 14%; animation-duration: 7.5s; animation-delay: -2s; }
.glow-orb--9  { width: clamp(140px, 18vw, 300px); height: clamp(140px, 18vw, 300px); bottom: -8%; left: 30%; animation-duration: 10.2s; animation-delay: -6s; }
.glow-orb--10 { width: clamp(180px, 24vw, 380px); height: clamp(180px, 24vw, 380px); top: 30%;  right: -10%; animation-duration: 9.2s; animation-delay: -9s; }
.glow-orb--11 { width: clamp(160px, 22vw, 340px); height: clamp(160px, 22vw, 340px); bottom: 18%; right: -6%; animation-duration: 11.3s; animation-delay: -1s; }
.glow-orb--12, .glow-orb--13 {
  background: radial-gradient(circle,
    rgba(255, 130, 50, 1)   0%,
    rgba(255, 120, 48, .95)  18%,
    rgba(255, 110, 46, .76) 34%,
    rgba(255, 100, 44, .48) 50%,
    rgba(255, 95, 42, .26)  65%,
    rgba(255, 90, 40, .1)   80%,
    rgba(255, 90, 40, 0)    100%
  );
}
.glow-orb--12 { width: clamp(90px, 12vw, 200px);  height: clamp(90px, 12vw, 200px);  top: 46%; right: 18%; animation-duration: 7s; animation-delay: -5s; }
.glow-orb--13 { width: clamp(80px, 10vw, 170px);  height: clamp(80px, 10vw, 170px);  bottom: 28%; left: 42%; animation-duration: 6.5s; animation-delay: -11s; }

/* ── タブレット幅（700px〜900px）でヒーローの浮遊テキスト位置を調整 ── */
@media (min-width:701px) and (max-width:900px) {
  .flt-kr, .flt-ja {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
    font-size: 13px;
  }
  .flt-kr { top: 18%; transform: translateX(calc(-50% + 80px)); }
  .flt-ja { top: auto; bottom: calc(38% - 60px); transform: translateX(calc(-50% - 80px)); }
}

/* ── Responsive ── */
@media (max-width:900px) {
  .nav-links { display:none; }
  .nav-cta   { display:none; }
  .nav-right { display:flex; }
  .nav-hamburger { display:flex; }
  .nav-sns { display:flex; }
  /* スマホ時、ヘッダーロゴとハンバーガーメニューを少し大きく */
  .nav-logo-img { width: clamp(92px, 13vw, 165px); }
  .nav-hamburger { width: 36px; height: 30px; }
  .nav-hamburger span { left: 5px; right: 5px; height: 2px; }
  .nav-hamburger span:nth-child(1) { top: 7px; }
  .nav-hamburger span:nth-child(3) { top: 21px; }
}
@media (max-width:700px) {
  /* ヒーロー画像をスマホ時に少し大きく */
  .hero-title-img { width: clamp(290px, 88vw, 580px); }
  /* スマホ時、画像と上下のスパンをもう少し上に配置 */
  .hero-title-wrap { transform: translateY(-40px); }

  /* ヒーロー下部の半円グラデーションがスマホで切れてしまうのを防ぐ */
  /* スマホ時はグラデーションオーブをもっと濃く・はっきり見せる */
  .glow-orb {
    filter: blur(70px) brightness(1.15) saturate(2.2) hue-rotate(-6deg);
  }

  /* コンセプトセクション3段落目はスマホでは改行なしに */
  .br-pc-only { display: none; }

  /* スマホ時は「トップに戻る」ボタンは非表示 */
  .back-to-top { display: none !important; }

  .hero-fade-bottom {
    bottom: -200px;
    height: 70%;
    background: radial-gradient(ellipse 120% 100% at 50% 100%, #151415 60%, rgba(21,20,21,0.5) 78%, transparent 92%);
  }

  /* ヒーローの浮遊テキストを中央画像の上下に配置（画像に少し近づける） */
  .flt-kr, .flt-ja {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
    font-size: 12px;
  }
  .flt-kr { top: 16%; transform: translateX(calc(-50% + 60px)); }
  .flt-ja { top: auto; bottom: calc(40% - 80px); transform: translateX(calc(-50% - 60px)); }
  /* FROM YAMAGUCHI のフォントサイズを少し小さく */
  .hero-from-text { font-size: 11px; letter-spacing: 2.4px; }
  .hero-from { bottom: calc(30% - 100px); }

  .contact-section {
    margin-top: 40px;
  }
  footer {
    padding-top: 20px;
  }
  .contact-body {
    padding: 48px 5%;
  }
  .contact-btns {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
  }
  .contact-btns .btn-w {
    width: 180px;
    justify-content: center;
  }

  .concept {
    margin-top: calc(var(--section-gap) * 0.4);
    padding-top: calc(var(--section-gap) * 0.4);
  }
  .concept-inner { flex-direction:column; gap:0; align-items: center; }
  .concept-left { width: 100%; }
  /* ロゴ下の説明文は本文側に統合して表示する */
  .concept-left .concept-brand { display: none; }
  .concept-brand--dup {
    display: block;
    font-size: clamp(15px,1.4vw,20px);
    line-height: 1.8;
    letter-spacing: .96px;
    color: var(--cream);
  }
  /* ロゴ＋短い説明文だけで画面いっぱいに表示し、
     スクロールすると説明文が現れるようにする */
  .concept-left {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
  }
  .concept-logo-img {
    width: clamp(190px, 42vw, 520px);
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 36px;
  }
  .concept-txt { padding-top: 0; }

  /* スマホ画面時はフェードインなし、すべて常に表示 */
  .concept-fade { opacity: 1; }
  .concept-fade .concept-logo-img,
  .concept-fade .concept-brand,
  .concept-fade .concept-txt {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .projects-title-img { width: clamp(300px, 82vw, 580px); }
  .prow, .prow.rev { flex-direction:column; position: relative; }
  .prow-img { width:100%; height:240px; border-radius:4px; }
  .prow-cat { position: absolute; top: 16px; left: 16px; z-index: 2; }
  .prow-txt { gap: clamp(20px, 4vw, 32px); }
  .prow-timg { height: clamp(28px, 8vw, 52px); }
  .prow-sub { margin-top: -12px; }
  .prow-role { font-size: 10px; }
  .about { margin-top: clamp(40px, 8vw, 80px); margin-bottom: clamp(40px, 8vw, 80px); }
  .about-content { padding-top: calc(70vh + 24px); padding-bottom: 56px; }
  .service-inner { flex-direction:column; align-items:center; text-align:center; }
  .service-hd { align-items:center; text-align:center; }
  .service-cols { flex-direction:column; align-items:center; gap:clamp(20px,4vw,32px); }
  .s-col { align-items:center; text-align:center; }
  .s-list { font-size: 14px; }
  /* スマホ時のみ、ボタンをセクションの一番下・中央に固定配置 */
  .service-btn-bottom {
    position: absolute;
    left: 50%;
    bottom: calc(clamp(40px, 8vw, 80px) - 120px);
    transform: translateX(-50%);
    margin-top: 0;
  }
  .footer-top { flex-direction:column; text-align:center; }
  .footer-links { justify-content:center; }
  .footer-btm { flex-direction:column; text-align:center; }
}

/* ── 大画面（1440px以上）でフォントを拡大 ── */
@media (min-width: 1440px) {
  .flt-kr            { font-size: 22px; }
  .flt-ja            { font-size: 22px; }
  .nav-links a       { font-size: 17.6px; }
  .nav-cta           { font-size: 15px; }
  .concept-brand     { font-size: 21px; }
  .concept-para      { font-size: 22px; }
  .about-body        { font-size: 17px; }
  .about-title-sub   { font-size: 16px; }
  .projects-sub      { font-size: 24px; }
  .prow-cat          { font-size: 12px; }
  .prow-sub          { font-size: 16px; }
  .prow-role         { font-size: 16px; }
  .prow-desc         { font-size: 20px; }
  .service-sub       { font-size: 16px; }
  .s-list            { font-size: 18px; }
  .contact-txt       { font-size: 20px; }
  .btn-w             { font-size: 15px; height: 46px; padding: 0 22px; }
  .contact-btns .btn-w { font-size: 16px; height: 58px; padding: 0 40px; }
  .footer-links a    { font-size: 13px; }
  .footer-copy       { font-size: 11px; }
}
