/* ===== front-page.css ===== */

/* ---------- ページラッパー / 背景線 ---------- */
.fp-page {
  position: relative;
  overflow-x: clip;
}
.fp-bg-line {
  display: none; /* 一時非表示。戻すときはこの行を削除 */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply; /* 紙に刷ったように背景と合成。テキスト上では線が溶け込む */
  overflow: hidden;
}

/* ---------- ブロブ背景 ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  filter: blur(72px);
  transition: opacity 2.4s ease 1.8s; /* SVGが描き始まってから遅れて出現 */
}
/* 紺×水色のマーブル: 複数の楕円グラデーションを重ねて色の流れを作る */
.blob--navy {
  background:
    radial-gradient(ellipse at 28% 30%, rgb(101 145 233 / 16%) 0%, transparent 52%),
    radial-gradient(ellipse at 70% 65%, rgba(176, 220, 240, 0.24) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(60, 110, 180, 0.10) 0%, transparent 68%);
}
.blob--blue {
  background:
    radial-gradient(ellipse at 35% 40%, rgba(176, 220, 240, 0.32) 0%, transparent 55%),
    radial-gradient(ellipse at 72% 55%, rgba(20, 50, 110, 0.16) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(140, 190, 230, 0.12) 0%, transparent 70%);
}
.blob.is-inview { opacity: 1; }

/* ---------- HERO ---------- */
.fp-hero {
    min-height: 60vh;
    display: flex;
    align-items: flex-start;
    background: #fff;
    padding-top: clamp(80px, 24vw, 352px);
    padding-bottom: 0;
    position: relative;
}
.fp-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
  position: relative;
  z-index: 2; /* fp-bg-line(z-index:1)の上 */
}
.fp-hero__copy {
  text-align: center;
}
.fp-hero__en {
  font-family: 'Baskervville', 'Times New Roman', serif;
  font-size: 20px;
  letter-spacing: .28em;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 1.4em;
  line-height: 1.6;
}
.fp-hero__ja {
  font-family: var(--serif);
  font-size: clamp(15px, 18px, 21px);
  letter-spacing: .4em;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  line-height: 1.8;
}
.fp-hero__scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 200px;
  color: var(--sub);
}
.fp-hero__scroll-line {
  display: block;
  width: 1px;
  height: 28px;
  background: currentColor;
  animation: scroll-line 1.8s cubic-bezier(.4,0,.2,1) infinite;
  transform-origin: top center;
}
.fp-hero__scroll-text {
  font-family: 'Baskervville', serif;
  font-size: 10px;
  letter-spacing: .28em;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); opacity: 0; transform-origin: top center; }
  40%  { transform: scaleY(1); opacity: 1; transform-origin: top center; }
  60%  { transform: scaleY(1); opacity: 1; transform-origin: bottom center; }
  100% { transform: scaleY(0); opacity: 0; transform-origin: bottom center; }
}
@media (prefers-reduced-motion: reduce) {
  .fp-hero__scroll-line { animation: none; opacity: 1; }
}

/* ---------- CONCEPT INTRO ---------- */
.fp-concept-intro {
  background: #fff;
  padding-top: clamp(80px, 12vw, 140px);
  padding-bottom: clamp(60px, 10vw, 120px);
}
.fp-concept-intro__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.fp-concept-intro__text {
  font-family: var(--serif);
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 2.8;
  letter-spacing: .2em;
  color: var(--ink);
  margin: 0 0 2.4em;
}
.fp-concept-intro__def {
  font-family: var(--serif);
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 2.6;
  letter-spacing: .12em;
  color: var(--ink);
  margin: 0;
}

/* ---------- CONCEPT ---------- */
.fp-concept {
  background: #fff;
  padding-top: clamp(80px, 12vw, 160px);
  padding-bottom: clamp(120px, 16vw, 220px);
}
.fp-concept__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 2;
}

/* 見出し */
.fp-concept__heading {
  font-family: var(--serif);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 400;
  letter-spacing: .1em;
  margin: 0 0 24px;
}
.fp-concept__definition {
  font-family: var(--serif);
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 2.4;
  letter-spacing: .15em;
  color: var(--ink);
  margin: 0;
}

/* 上段テキストブロック：右へオフセット + 下の余白たっぷり */
.fp-concept__text-a {
  max-width: 560px;
  margin-left: clamp(60px, 18%, 260px);
  margin-bottom: clamp(140px, 20vw, 260px);
}

/* 下段テキスト: さらに右寄せで余白感 */
.fp-concept__text-b {
  margin-left: clamp(120px, 38%, 480px);
}
.fp-concept__text-b p {
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 2.4;
  letter-spacing: .15em;
}

@media (max-width: 800px) {
  .fp-concept__wrap { padding: 0 24px; }
  .fp-concept__text-b { margin-left: 0; }
}

/* ---------- SUPPORT ---------- */
.fp-support {
  background-image: linear-gradient(rgba(255,255,255,0.45), rgba(255,255,255,0.45)), url(../img/common/bg01.webp);
  background-size: cover;
  background-position: center;
  background-attachment: local;
}

.fp-support > .inner {
  position: relative;
  z-index: 2;
}

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

.fp-support__lead {
  font-family: var(--serif);
  text-align: center;
  font-size: clamp(15px, 1.8vw, 16px);
  line-height: 2.2;
  margin-top: 28px;
  margin-bottom: 64px;
}

.fp-support__intro {
  font-family: var(--serif);
  text-align:center;
  font-size: 13px;
  margin-top: 28px;
  margin-bottom: 40px;
}

.fp-minimum__cta {
  margin-top: 36px;
  text-align: center;
}

.fp-toc {
  background: #fff;
  padding: 16px 36px;
  margin-bottom: 48px;
}
.fp-toc .toc-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 22px 0;
  text-decoration: none;
  color: inherit;
  transition: opacity .25s ease, color .25s ease;
  cursor: pointer;
}
.fp-toc .toc-row:last-child { border-bottom: none; }
.fp-toc .toc-row:hover      { opacity: .6; color: #DD4827; }
.fp-toc .toc-row .no   { font-size: 11px; letter-spacing: .2em; color: var(--sub); flex-shrink: 0; transition: color .25s ease; }
.fp-toc .toc-row .t    { font-family: var(--serif); font-size: 15px; letter-spacing: .08em; flex-shrink: 0; }
.fp-toc .toc-row .dots { flex: 1; border-bottom: 1px dotted var(--sub); transform: translateY(-4px); min-width: 20px; }
.fp-toc .toc-row .tag  { font-family: var(--serif); font-size: 11px; color: #555555; letter-spacing: .06em; flex-shrink: 0; max-width: 46%; text-align: right; transition: color .25s ease; }
.fp-toc .toc-row:hover .no,
.fp-toc .toc-row:hover .tag { color: #DD4827; }

.fp-minimum {

  padding-top: 56px;
  margin-top: 8px;
  text-align: center;
}
.fp-minimum__kicker {
  margin: 0 0 16px;
  color: var(--sub);
}
.fp-minimum__title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--ink);
  margin: 0 0 28px;
  line-height: 1.8;
}
.fp-minimum p.body {
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 2.6;
  letter-spacing: .14em;
}

@media (max-width: 640px) {
  .fp-toc .toc-row { flex-wrap: wrap; }
  .fp-toc .toc-row .dots { display: none; }
  .fp-toc .toc-row .tag  { max-width: 100%; text-align: left; width: 100%; padding-left: 26px; }
}

/* ---------- PROCESS ---------- */
.fp-process { background: var(--paper); }
.fp-verbline {
  font-family: var(--serif);
  font-size: clamp(22px, 4vw, 34px);
  letter-spacing: .12em;
  line-height: 1.6;
  color: var(--ink);
}
.fp-verbline > div { margin-bottom: .5em; }
.fp-verbline > div:last-child { margin-bottom: 0; }

/* ---------- CASE ---------- */
.fp-case { background: var(--bg); }
.fp-case__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 2;
}
.fp-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.fp-case-card {
  background: #fff;
  padding: 20px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.fp-case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(42, 52, 64, 0.10);
}

.fp-case-card a,
.fp-case-card > div {
  display: block;
  text-decoration: none;
  color: inherit;
}

.fp-case-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line);
}
.fp-case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fp-case-thumb__ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--line);
}
.fp-case-thumb__ph svg {
  width: 44px;
  height: auto;
  opacity: .55;
}

.fp-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.case-tag {
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--sub);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2px 8px;
  display: inline-block;
}

.fp-case-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.75;
  margin: 14px 0 0;
  letter-spacing: .04em;
}
.fp-case-more {
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--sub);
  margin-top: 16px;
}

@media (max-width: 780px) {
  .fp-case-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .fp-case-grid { grid-template-columns: 1fr; }
  .fp-case__inner { padding: 0 20px; }
}

/* ---------- COLUMN ---------- */
.fp-column { background: var(--bg); padding-bottom: var(--section-pad); }
.fp-column__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.fp-column__label {
  padding-top: 4px;
  position: sticky;
  top: 100px;
}
.fp-column__sub {
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--sub);
  margin-top: 10px;
  font-family: var(--serif);
}
.fp-column__new {
  width: 80px;
  height: auto;
  display: block;
  margin-top: 20px;
}

.fp-column__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fp-col-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity .25s ease;
}
a.fp-col-card:hover { opacity: .75; }

.fp-col-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line);
}
.fp-col-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fp-col-thumb__ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dde4ea;
}
.fp-col-thumb__ph svg {
  width: 32px;
  height: auto;
  opacity: .5;
}

.fp-col-title {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.75;
  margin: 14px 0 8px;
  letter-spacing: .04em;
}
.fp-col-meta {
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--sub);
  margin: 0;
}

@media (max-width: 780px) {
  .fp-column__inner { grid-template-columns: 1fr; gap: 24px; }
  .fp-column__label { position: static; }
  .fp-column__new   { display: none; }
}
@media (max-width: 560px) {
  .fp-column__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- CONTACT ---------- */
.fp-contact { background: var(--paper); }
.fp-contact__inner {
  text-align: center;
  position: relative;
  z-index: 2;
}
.fp-contact__kicker { margin-bottom: 20px; }
.fp-contact__heading {
  font-family: var(--serif);
  font-size: clamp(18px, 3vw, 22px);
  letter-spacing: .1em;
  font-weight: 400;
  margin: 0;
}
.fp-contact__lead {
  font-family: var(--serif);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 2.2;
  margin-top: 20px;
}
.fp-contact__body {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--ink);
  margin-top: 28px;
  line-height: 2.2;
}
.fp-contact__cta { margin-top: 52px; }
