@charset "utf-8" ;

/* コンテナ：サイト全体の基準 */
.w-container{
  max-width: 1200px;      /* あなたの基準に合わせて変更OK */
  margin-inline: auto;
  padding-inline: 24px;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }


p {
    font-size: 14px;
    line-height: 3;
}

body{
  background-color: #F3F3F3; /* 通常時 */
  transition: background-color 400ms ease;
}

body.is-gray{
  background-color: #858585; /* What we do中 */
}


h3 {
    font-size: 32px;
    margin-bottom: 2rem;
}

h4 {
  font-size: 14px;
  line-height: 1.5;
}

h5 {
  font-size: 40px;
}


/* ヘッダー */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;           /* ヘッダー高さ */
}

/* ロゴ（画像） */
.site-logo{
  display: inline-flex;
  align-items: center;
  height: 28px;           /* ロゴの見え方 */
}

.site-logo img{
  height: 80%;
  width: auto;
  display: block;
}

/* ナビ */
.nav-list{
  position: relative;
  display: flex;
  gap: 22px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link{
  display: inline-block;
  font-size: 13px;
  color: rgba(0,0,0,.75);
  text-decoration: none;
  padding: 6px 2px;       /* クリック領域 */
}

.nav-link.is-active{
  color: rgba(0,0,0,.95);
}

/* 丸い球（インジケータ） */
.nav-indicator{
  position: absolute;
  left: 0;
  top: 100%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #18a999;    /* 色は調整 */
  transform: translate3d(0, 10px, 0);
  transition: transform 420ms cubic-bezier(.2,.9,.2,1);
  will-change: transform;
}

/* 動きが苦手な人向け */
@media (prefers-reduced-motion: reduce){
  .nav-indicator{ transition: none; }
}

/* セクションは普通に。高さは中身で決まる */
section{
  padding: 80px 0;
}

/* TOP */
.top{
  display: flex;
  gap: clamp(32px, 4vw, 64px);
  align-items: flex-start;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 24px;
}

.top-text .bold {
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 12px;
}

/* 左：タイトル */
.top-title{
  flex: 0 0 55%;
}

/* 右：説明文 */
.top-text{
  flex: 1 1 45%;
  max-width: 60ch; /* ← ここがかなり効いてる */

}

.top-img{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;                 /* スクショの空き感に近い。好みで 16〜32 */
  margin-top: 48px;          /* 上のテキストとの距離 */
}

/* aboutus */

.aboutus-row{
  display: flex;
  justify-content: flex-start;
}

.about {
    margin-top: 4rem;
}

.aboutus-box{
  display: flex;
  align-items: center;
  gap: 100px;
}

/* 文章＋ボタン */
.aboutus-content{
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* ← 文章左揃え */
}

/* テキスト */
.aboutus-text{
  margin: 0;
  line-height: 3;
  letter-spacing: .02em;
}

/* SVGまわりの余白を完全に殺す */
.aboutus-orbit-wrap {
  display: flex;
  align-items: flex-start;
  padding: 0;
  margin: 0;
  margin-left: 4%;
}

.aboutus-orbit {
  display: block;
  margin: 0;
  line-height: 0;
}

/* 図のスタイル */
.aboutus-orbit .ring {
  fill: none;
  stroke: #9a9a9a;
  stroke-width: 2.2;
}

.aboutus-orbit .dot {
  fill: #000;
}

/* 回転 */
.aboutus-orbit .orbit-1 {
  animation: spin 32s linear infinite;
}
.aboutus-orbit .orbit-2 {
  animation: spin 46s linear infinite reverse;
}
.aboutus-orbit .orbit-3 {
  animation: spin 60s linear infinite;
}
.aboutus-orbit .orbit-4 {
  animation: spin 78s linear infinite reverse;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.aboutus-orbit-wrap { padding: 0; margin: 0; }
.aboutus-orbit { display: block; margin: 0; line-height: 0; }




/* ボタン：文章の下、少し余白 */
.aboutus-cta{
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(0,0,0,.85);
  letter-spacing: .02em;
}

/* 丸アイコン */
.aboutus-cta__icon{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0,0,0,.85);
  color: #F3F3F3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 180ms ease, background-color 180ms ease;
}

.aboutus-cta:hover .aboutus-cta__icon{
  transform: translateX(2px);
  background: rgba(0,0,0,.95);
}

.aboutus-cta{
  align-self: flex-end;
  margin-top: 6rem;
}

@keyframes subtle-float {
  0% {
    transform: translateX(0) scale(1);
  }
  50% {
    transform: translateX(0) scale(1.2);
  }
  100% {
    transform: translateX(0) scale(1);
  }
}

.aboutus-cta__icon{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0,0,0,.85);
  color: #F3F3F3;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  animation: subtle-float 2s ease-in-out infinite;
  will-change: transform;
}

.aboutus-cta:hover .aboutus-cta__icon{
  animation-play-state: paused;
  transform: translateX(4px) scale(1.1);

  background: #18a999;  /* ブランドアクセント */
  color: #F3F3F3;
}

/* セクション全体 */


.whatdo-heading {
    margin-bottom: 2rem;
}



.section-title{
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 28px;
}

/* 2カラム */
.whatdo-layout{
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

/* 左：図の枠 */
/* 図のキャンバス */
.tri{
  position: relative;
  width: min(520px, 92vw);
  aspect-ratio: 520 / 420;
}

/* 線：後ろ */
.tri-lines{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.tri-line{
  stroke: rgba(0,0,0,.55);
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;

  /* 初期：描画前 */
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  opacity: 0;
}

/* 玉：前 */
.node{
  position: absolute;
  width: 185px;
  height: 185px;
  border-radius: 999px;
  background: #000;
  display: grid;
  place-items: center;
  z-index: 2;

  /* 初期：隠す */
  opacity: 0;
  transform: translateY(12px) scale(.98);
}

/* ラベル */
.node-label{
  color: #F3F3F3;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
}

/* 配置：左上基準で固定（185前提） */
.node--product{ left: 168px; top: 42px; }
.node--brand{ left: 48px; top: 232px; }
.node--audience{ left: 288px; top: 232px; }

/* -------------------------
   アニメーション（発火）
------------------------- */

/* 玉：順番にふわっと */
.whatdo.is-animate .node{
  animation: nodeIn 1200ms cubic-bezier(.2,.9,.2,1) forwards;
  animation-delay: var(--delay);
}

@keyframes nodeIn{
  from{ opacity: 0; transform: translateY(12px) scale(.98); }
  to  { opacity: 1; transform: translateY(0) scale(1); }
}

/* 線：最後に順番に描く */
.whatdo.is-animate .tri-line{
  animation: lineDraw 1800ms ease forwards;
}

/* ① PRODUCT → BRAND */
.whatdo.is-animate .tri-line--1{ animation-delay: 1100ms; }

/* ② BRAND → AUDIENCE */
.whatdo.is-animate .tri-line--2{ animation-delay: 1350ms; }

/* ③ AUDIENCE → PRODUCT（最後に閉じる） */
.whatdo.is-animate .tri-line--3{ animation-delay: 1600ms; }


@keyframes lineDraw{
  0%   { opacity: 0; stroke-dashoffset: 1000; }
  15%  { opacity: 1; }
  100% { opacity: 1; stroke-dashoffset: 0; }
}


/* ブランディング */
#brand .brand-text{
  justify-self: end;   /* gridセル内で右に寄せる */
  text-align: left;    /* 文章は左揃えのまま */
}

.light {
  font-size: 12px;
  color: #858585;
  line-height: 2;
}

.bland-box {
  display: flex;
  gap: 40px;
  margin-top: 2rem;
}

.bland {
  flex: 0 0 calc((100% - 80px) / 3);
}

.news-list{
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 1行 */
.news-item{
  display: flex;
  align-items: center;
  gap: 80px;

  padding: 28px 0;
  border-bottom: 1px solid #111;
}

/* 日付 */
.news-item time{
  flex: 0 0 140px;
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* 本文 */
.news-item p{
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.news-list{
  padding-left: 300px;
}

.aboutus-cta{
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-top: 40px;
}

.news-item a{
  display: flex;
  align-items: center;
  gap: 80px;

  padding: 8px 0;
  color: inherit;
  text-decoration: none;
}

.news-item{
  border-bottom: 1px solid #111;
}

.news-item a:hover{
  color: #18a999;
}


.recruit{
  background-image: url("img/recruit.png");
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}

/* 文字を読みやすくするための薄いオーバーレイ */
.recruit::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.recruit-inner{
  position: relative;
  z-index: 1;
  padding: 56px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* 白バージョン */
.aboutus-cta--white{
  color: #fff;
}

/* 丸アイコンを白縁に */
.aboutus-cta--white .aboutus-cta__icon{
  border: 1px solid #fff;
  color: #fff;
}


/* 全体 */
.group-box{
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

/* 左テキスト */
.group-text{
  flex: 0 0 320px;
}

.group-text h5{
  font-size: 14px;
  letter-spacing: .08em;
  margin-bottom: 24px;
}

.group-text p{
  font-size: 14px;
  line-height: 2;
  letter-spacing: .04em;
}

/* 右カード共通 */
.group{
  flex: 1;
}

.group img{
  width: 100%;
  height: auto;
  display: block;
}

/* カードタイトル */
.group h4{
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
}

/* サブテキスト */
.group .light{
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: .04em;
  color: #999;
}

.group-text h5{
  font-size: 14px;
  letter-spacing: .08em;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 16px;
}

.group-text h5::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 350px;
  height: 1px;
  background: #111;
}

/* Brand Design：サブテキスト */
.bland .light{
  margin-top: 6px;
  letter-spacing: .04em;
  color: #999;
}

.bland h4{
  margin-top: 16px;
}
