.creator-card.is-hidden{
  display: none;
}

:root{
  --header-h: 131px;
  --grad-h: 1266px; 
  /* 1400px時に座標一致させる固定パディング（必須） */
  --pad-left-fixed: 66px;
  --pad-right-fixed: 58px;

  /* 1400pxでの余白（449.72 : 72）をfr化 */
  --spacer-left-fr: 6.2461;
  --spacer-right-fr: 1;

  --brand-w: 214.28px;
  --brand-h: 41.05px;

  --nav-w: 400px;
  --nav-h: 20px;

  --contact-w: 140px;
  --contact-h: 39px;
}

*{ box-sizing: border-box; }

body{
  margin:0;
  font-family: Alexandria, system-ui, sans-serif;
  background:#fff;
  padding-top: var(--header-h);
}

/* ========= Header Frame（幅は最大1400、中央寄せ） ========= */
.header-frame{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 9999;

  /* 透過の見た目 */
  background: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* 境界線（任意） */
  /* border-bottom: 1px solid rgba(0,0,0,0.08); */
}
.header-frame.is-scrolled{
  background: transparent;
  border-bottom-color: rgba(0,0,0,0.12);
}

/* Grid：固定要素 + 可変スペース（余白だけ伸縮させる） */
.header-inner{
  height: 100%;
  display: grid;
  padding-left: 66px;
  padding-right: 58px;

  /* ★calc() をやめて fr を直書き */
  grid-template-columns:
    214.28px
    6.2461fr
    400px
    1fr
    140px;

  align-items: start;
}


/* 1400px未満でだけ“余白（padding）”を自然に詰める
   ※1400pxジャストは固定値のままなので座標死守できる */
@media (max-width: 1399.98px){
  .header-inner{
    padding-left: clamp(16px, 4.7142857vw, var(--pad-left-fixed));  /* 66/1400*100 */
    padding-right: clamp(16px, 4.1428571vw, var(--pad-right-fixed)); /* 58/1400*100 */
  }
}

/* ========= 1) brand ========= */
.brand{
  width: var(--brand-w);
  height: var(--brand-h);
  margin-top: 45px;  /* top=45 */
  border-radius: 7px;
  position: relative;
  text-decoration: none;
  color: inherit;
}

/* 画像版（使うなら） */
.brand-mark-img{
  position:absolute;
  left: 0;
  top: 0;
  width: 41px;
  height: 41px;
  border-radius: 7px;
  object-fit: cover;
}

/* 画像がない場合の代替（黒四角） */
.brand-mark{
  position:absolute;
  left: 0;
  top: 0;
  width: 41px;
  height: 41px;
  border-radius: 7px;
  background: #111;
}

.header-frame .brand-mark{
  background: #fff;
}

.brand-text{
  position:absolute;
  left: 52.28px; /* 118.28 - 66 */
  top: 0;
  width: 162px;
  height: 41px;

  font-weight: 600;
  font-size: 33.54px;
  line-height: 1;
  letter-spacing: -0.02em;

  display:flex;
  align-items:center;
  white-space: nowrap;
}

.header-frame .brand-text{
  background: #fff;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ========= 2) nav-main ========= */
.nav-main{
  width: var(--nav-w);
  height: var(--nav-h);
  margin-top: 56px; /* top=56 */
  position: relative;
}

.nav-main a{
  position:absolute;
  top:0;
  height: var(--nav-h);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  color:#fff;
  text-decoration:none;
  white-space: nowrap;
}

/* leftは基準（730px）からの相対 */
.nav-main .about   { left: 0px;   width: 58px; }
.nav-main .creator { left: 101px; width: 78px; }
.nav-main .news    { left: 222px; width: 51px; }
.nav-main .company { left: 316px; width: 84px; }

/* ========= 3) CONTACT ========= */
.nav-contact{
  width: var(--contact-w);
  height: var(--contact-h);
  margin-top: 46px; /* top=46 */
  border-radius: 20px;
  background: #fff;/* 仮 */
  position: relative;
  text-decoration:none;
  overflow:hidden;
}

.contact-text{
  position:absolute;
  left: 17px; /* 1219 - 1202 */
  top: 10px;  /* 56 - 46 */
  width: 77px;
  height: 20px;

  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  background: linear-gradient(138.77deg, #D585FA 2.89%, #7694FF 97.11%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent; /* fallback */

  display:flex;
  align-items:center;
  white-space: nowrap;
}

.contact-mark{
  position:absolute;
  left: 97px; /* 1299 - 1202 */
  top: 19px;  /* 65 - 46 */
  width: 7px;
  height: 7px;
  display:block;
}

.contact-pill{
  position:absolute;
  left: 112px; /* 1314 - 1202 */
  top: 15px;   /* 61 - 46 */
  width: 17px;
  height: 10.52px;
  border-radius: 16.74px;
  background:linear-gradient(138.77deg, #D585FA 2.89%, #7694FF 97.11%);
  display:flex;
  align-items:center;
  justify-content:center;
}

.contact-arrow{
  width: 10px;
  height: 6px;
  display:block;
}
/* 文字の→ */
.contact-pill .contact-arrow{
  color: #ffffff;
  font-size: 10px;     /* 収まりに合わせて 9〜11 で微調整 */
  line-height: 1;
  font-weight: 600;    /* 細いなら太く */
  transform: translateY(-0.3px); /* 見た目の中心微調整（必要なら0に） */
}
/* 任意：ホバー */
.nav-main a:hover{ opacity: .75; }
.nav-contact:hover{ filter: brightness(1.05); }

.brand { grid-column: 1; }
.nav-main { grid-column: 3; }
.nav-contact { grid-column: 5; }


:root{
  /* 本体CREATORブロック（固定サイズ） */
  --creator-block-w: 233px;
  --creator-block-h: 171px;
  --creator-block-left: 190px;
  --creator-block-top: 173px;
}

/* 本体：背景は任意（今はボディの背景を使う） */
.page{
  width: 100%;
}

/* ヘッダーと同じ思想：中身だけ1400基準で中央寄せ */
.page-inner{
  width: min(1400px, 100%);
  margin-inline: auto;
  position: relative;

  /* 絶対配置するので、最低限スクロール領域確保（足りなければ調整OK） */
  min-height: 600px;
  top: calc(var(--header-h) * -1);
  --base-w:1400px;
  --base-half:calc(var(--base-w)/2);
}

/* :white_check_mark: 設計書の四角（中身全部入り） */
.creator-block{
  position: absolute;
  width: var(--creator-block-w);
  height: var(--creator-block-h);
  top: var(--creator-block-top);
  left: clamp(
    16px, /* ← ここが「詰まった時の最低余白」(好きに変更OK) */
    calc(50% - var(--base-half) + var(--creator-block-left)),
    99999px
  );
}

/* CREATOR文字 */
.creator-title{
  position: absolute;
  left: 0;
  top: 0;
  width: 233px;
  height: 59px;

  margin: 0;
  font-family: Alexandria, system-ui, sans-serif;
  font-weight: 500;  /* Medium相当 */
  font-size: 48px;
  line-height: 1;    /* 100% */
  letter-spacing: 0;
  color: #fff;
  white-space: nowrap;
}

/* 所属クリエイター */
.creator-sub{
  position: absolute;
  left: 0;
  top: 66px;        /* 239 - 173 = 66 */
  width: 128px;
  height: 22px;

  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.38; /* 138% */
  letter-spacing: 0;
  color: #fff;
  white-space: nowrap;
}

/* TOP-所属クリエイター（色分け） */
.creator-breadcrumb{
  position: absolute;
  left: 0;
  top: 153px;       /* 326 - 173 = 153 */
  width: 140px;
  height: 18px;

  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.38;
  letter-spacing: 0;
  white-space: nowrap;
}

.creator-breadcrumb .bc-top{
  color: #EDEDED;
}
.creator-breadcrumb .bc-current{
  color: #fff;
}







.creator-card .creator-photo{
  position: absolute;
  width: 214.25px;
  height: 214.25px;
  top: 0;
  left: 0.05px;
  border-radius: 8.13px;
  object-fit: cover;
  display: block;
  background: #ddd;
}

.creator-card .creator-name{
  position: absolute;
  width: 31px;
  height: 26px;
  top: 225px;
  left: 0;
  margin: 0;

  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #000;
  white-space: nowrap;
}

.creator-card .creator-username{
  position: absolute;
  width: 142px;
  height: 23px;
  top: 251.37px;
  left: 0;
  margin: 0;

  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #000;
  white-space: nowrap;
}

.creator-card .creator-sns{
  position: absolute;
  width: 66px;
  height: 28px;
  top: 291px;
  left: 0;
  display: flex;
  gap: 10px;
}

.creator-card .sns-btn{
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  text-decoration: none;
  background: transparent;
}

.creator-card .sns-btn img{
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 0;
}

:root{
  --card-w: 214.3px;
  --card-h: 319px;

  /* 座標差＝ステップ（あなたの設計値） */
  --col-step: 236.59px;
  --row-step: 375px;

  /* Gridのgapは「隙間」なので、ステップ-サイズで作る */
  --grid-col-gap: calc(var(--col-step) - var(--card-w)); /* 22.29px */
  --grid-row-gap: calc(var(--row-step) - var(--card-h)); /* 56px */

  --grid-start-left: 238px;
  --grid-start-top: 431px;
}

.creator-grid{
  position: absolute;
  top: var(--grid-start-top);
  left: calc(50% - var(--base-half) + var(--grid-start-left));

  display: grid;
  grid-template-columns: repeat(4, var(--card-w));
  grid-auto-rows: var(--card-h);

  /* :white_check_mark: ここが隙間 */
  column-gap: var(--grid-col-gap);
  row-gap: var(--grid-row-gap);

  width: calc(var(--card-w) * 4 + var(--grid-col-gap) * 3);
}

/* カード本体（中身はあなたの既存スタイルをそのまま使用） */
.creator-grid .creator-card{
  position: relative;
  width: var(--card-w);
  height: var(--card-h);
}

:root{
  /* 既存の --card-w, --card-h, --grid-col-gap, --grid-row-gap... の下に追加 */
  --grid-w: calc(var(--card-w) * 4 + var(--grid-col-gap) * 3);
  --grid-h: calc(var(--card-h) * 4 + var(--grid-row-gap) * 3);
}


.more-btn{
  position: absolute;

  /* 楕円全体 */
  width: 140px;
  height: 41px;
  border-radius: 29px;
  border: 0.5px solid #C8C8C8;
  background: transparent;
  text-decoration: none;

  /* 位置：グリッドの下、グリッド中央に配置（余白40px） */
  top: calc(var(--grid-start-top) + var(--grid-h) + 220px);
  left: calc(
    50% - var(--base-half) + var(--grid-start-left) + (var(--grid-w) - 140px)/2
  );
}

/* 中の「もっとみる」文字 */
.more-btn .more-text{
  position: absolute;
  width: 65px;
  height: 16px;
  top: 13px;
  left: 30px;

  font-family: Alexandria, system-ui, sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1; /* 100% */
  letter-spacing: 0;
  color: #000;
  white-space: nowrap;
}

.more-btn .more-arrow-pill{
  position: absolute;
  width: 21px;
  height: 13px;
  top: 14px;
  left: 108px;

  border-radius: 20.68px;
  background: linear-gradient(138.77deg, #D585FA 2.89%, #7694FF 97.11%);/* 仮 */

  display: grid;
  place-items: center;
}

/* 中の「↓」文字 */
.more-btn .more-arrow{
  font-family: Alexandria, system-ui, sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  color: #fff;
  transform: translateY(-1px); /* 見た目の縦中心微調整（不要なら消してOK） */
}

/* 任意：ホバー */
.more-btn:hover{
  filter: brightness(0.98);
}


/* =========================
   下の四角（背景あり）
   ========================= */
.below-section{
  position: absolute;

  width: min(var(--below-max-w), 100vw);
  height: var(--below-h);

  top: var(--below-top);
  left: 50%;
  transform: translateX(-50%);
  background-image: url("../img/Join_img.png");
  background-size: contain;

  /* ✅ 追加：この四角の“実際の幅”と、1400基準の倍率 */
  --below-w: min(var(--below-max-w), 100vw);
  --s: calc(var(--below-w) / var(--below-base-w));
}


/* =========================
   フッター：背景は全幅 / 中身は1400枠（ボーダー）
   ========================= */
.footer{
  position: absolute;

  width: 100%;
  height: 347px;

  /* 「その下」なので、上2122 + 高さ537 = 2659 */
  top: calc(var(--below-top) + var(--below-h));
  left: 0;
    border: 1px solid #62627c;
  background: #191929; /* :white_check_mark: 1400px以上でも全幅で白 */
}

/* :white_check_mark: 1400枠の四角（ボーダー付き） */
.footer-box{
  width: min(1400px, 100%);
  height: 347px;
  margin-inline: auto;

  
  background: transparent; /* 外側の.footerが白なので透明でOK */
  box-sizing: border-box;
  position: relative;
}

/* 中身（配置の基準） */
.footer-inner{
  position: relative;
  width: 100%;
  height: 100%;

  /* :white_check_mark: 1400px時は66pxを死守、1400未満は自然に詰める */
  padding-left: 0;
  padding-right: 58px; /* ヘッダーと揃えるなら */
  box-sizing: border-box;
}

@media (max-width: 1399.98px){
  .footer-inner{
    padding-left: clamp(16px, 4.7142857vw, 66px);  /* 66/1400*100 */
    padding-right: clamp(16px, 4.1428571vw, 58px); /* 58/1400*100 */
  }
}

/* フッター内：ロゴ＋文字ブロック */
.footer-brand{
  position: absolute;
  width: 214.28px;
  height: 41.05px;

  /* フッター四角の中での座標（topは固定） */
  top: 94px;
  left: clamp(16px,4.7142857vw,66px); /* :white_check_mark: padding-leftが66pxを担うので0にする */

  border-radius: 7px;
  text-decoration: none;
  color: inherit;
}

/* アイコン（四角） */
.footer-brand-mark{
  position: absolute;
  width: 41px;
  height: 41px;
  left: 0;
  top: 0;
  border-radius: 7px;
  background: linear-gradient(138.77deg, #D585FA 2.89%, #7694FF 97.11%);
}

/* Milestone文字 */
.footer-brand-text{
  position: absolute;
  width: 162px;
  height: 41px;

  left: 52.28px; /* 118.28 - 66 */
  top: 0.05px;   /* 94.05 - 94 */

  font-family: Alexandria, system-ui, sans-serif;
  font-weight: 600;
  font-size: 33.54px;
  line-height: 1;
  letter-spacing: -0.02em;
  
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.footer-nav{
  position: absolute;
  width: 607px;
  height: 20px;

  top: 105px;

  /* :white_check_mark: 1400基準 left=618 を中央基準へ */
  left: calc(50% - 700px + 618px);

  display: block;
}


.footer-nav .footer-link{
  position: absolute;
  top: 0;
  height: 20px;

  font-family: Alexandria, system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
}

.footer-nav .footer-link:hover{ opacity: .75; }

.footer-nav{
  position: absolute;
  width: 607px;
  height: 20px;
  top: 105px;

  /* 1400基準 left=618 を中央基準へ */
  left: calc(50% - 700px + 618px);

  display: flex;
  align-items: center;
  justify-content: space-between; /* :white_check_mark: 間を均等に */
  padding-right: 18px;
  box-sizing: border-box;
  position: absolute;
}

/* リンク共通 */
.footer-nav .footer-link{
  position: static; /* :white_check_mark: absoluteをやめる */
  height: 20px;

  font-family: Alexandria, system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
}

.footer-nav .footer-link:hover{ opacity: .75; }

/* TOPだけ右寄せ指定があるので、文字の見え方だけ合わせる */
.footer-nav .footer-top{
  text-align: right;
  color: #fff;
}

.footer-nav .footer-about{
  color: #fff;
}

.footer-nav .footer-creator{
  color: #fff;
}

.footer-nav .footer-news{
  color: #fff;
}

.footer-nav .footer-company{
  color: #fff;
}

.footer-nav .footer-contact{
  color: #fff;
}

.footer-nav-mark{
  position: absolute;
  width: 8px;
  height: 8px;

  /* nav箱内：right基準にするとズレない */
  top: 6px;      /* 113-105 */
  right: 0px;    /* :white_check_mark: 右端 */
  
  border: 1px solid #000;
  box-sizing: border-box;
  transform: rotate(45deg);
}

:root{
  --below-top: 2005px;
  --below-base-w: 1400px;
  --below-base-h: 537px;

  /* :white_check_mark: ここで「どこまで拡大するか」を決める（好きな数値にしてOK） */
  --below-max-w: 2000px;

  /* :white_check_mark: ビューポート幅と最大幅の小さい方を採用して、高さを比率で計算 */
  --below-h: calc(min(var(--below-max-w), 100vw) * 537 / 1400);
}


.footer-divider{
  position: absolute;
  left: 0;
  right: 0;        /* = width:100% と同義 */
  top: 270px;
  height: 0;
  border-top: 1px solid #62627C;
  opacity: 1;
}

/* コピーライト：1400基準の位置を中央基準に変換して固定 */
.footer-copyright{
  position: absolute;
  width: 352px;
  height: 15px;
  top: 301px;

  /* 1400基準 left=524 を、どの幅でも同じ見え方に */
  left: calc(50% - 700px + 524px);

  margin: 0;

  font-family: Alexandria, system-ui, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1;          /* 100% */
  letter-spacing: 0.06em;  /* 6% */
  text-align: center;
  white-space: nowrap;

  color: #000;
}

/* =========================
   below-section上の CONTACT CTA
   ========================= */
.contact-cta{
  position: absolute;

  /* 1400基準：w367 h102.24 top261 left516 */
  width:  calc(367px * var(--s, 1));
  height: calc(102.24px * var(--s, 1));
  top:    calc(261px * var(--s, 1));
  left:   calc(516px * var(--s, 1));

  border-radius: calc(52.43px * var(--s, 1));
  border: calc(4px * var(--s, 1)) solid transparent;

  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(138.77deg, #D585FA 2.89%, #7694FF 97.11%) border-box;

  box-sizing: border-box;
  text-decoration: none;
  display: block;
}

/* CONTACT文字（1400時：上288 左575 → 差分：+27 +59） */
.contact-cta .cta-text{
  position: absolute;
  top:  calc(27px * var(--s, 1));
  left: calc(59px * var(--s, 1));

  font-family: Alexandria, system-ui, sans-serif;
  font-weight: 500;
  font-size: calc(39.27px * var(--s, 1));
  line-height: 1;
  white-space: nowrap;

  background: linear-gradient(138.77deg, #D585FA 2.89%, #7694FF 97.11%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 文字横マーク（1400時：上308.49 左770 → 差分：+47.49 +254） */
.contact-cta .cta-mark{
  position: absolute;
  width:  calc(17.454546px * var(--s, 1));
  height: calc(17.454546px * var(--s, 1));
  top:  calc(47.49px * var(--s, 1));
  left: calc(254px * var(--s, 1));

  border: calc(2px * var(--s, 1)) solid #000;
  box-sizing: border-box;
  transform: rotate(45deg);
}

/* 右の小楕円（1400時：上300 左813 → 差分：+39 +297） */
.contact-cta .cta-pill{
  position: absolute;
  width:  calc(40.53846px * var(--s, 1));
  height: calc(25.095238px * var(--s, 1));
  top:  calc(39px * var(--s, 1));
  left: calc(297px * var(--s, 1));

  border-radius: calc(39.91px * var(--s, 1));
  background: linear-gradient(138.77deg, #D585FA 2.89%, #7694FF 97.11%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 矢印線 */
.contact-cta .cta-arrow{
  display: block;
  color: #fff;
  font-weight: 700;      /* 太さはお好み */
  line-height: 1;
  font-size: 12px;       /* PC基準。SPで上書きする */
  transform: translateY(-0.5px); 
}


/* 右上固定の背景画像（659×726） */
body::before{
  content: "";
  position: fixed;
  top: 0;
  right: 0;

  width: 659px;
  height: 726px;

  background-image: url("../img/Mask_group.png"); 
  background-size: 659px 726px;               /* 追従しない＝固定サイズ */
  background-repeat: no-repeat;
  background-position: top right;

  z-index: -1;        /* ✅ 他要素より下 */
  pointer-events: none;
}

.footer .footer-brand-text{
   background: linear-gradient(138.77deg, #D585FA 2.89%, #7694FF 97.11%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent; /* Safari/Chrome用 */
  color: transparent;                  /* 念のため */
  display: inline-block;               /* クリップ安定 */
}

.corner-mark{
  position: absolute;
  display: block;
  object-fit: contain;
}

/* ヘッダーのCONTACT内（7×7の位置） */
.nav-contact .corner-mark--header{
  left: 97px;
  top: 19px;
  width: 7px;
  height: 7px;
}

/* CTAの記号（画像版・可変） */
.contact-cta .corner-mark--cta{
  width:  calc(17.454546px * var(--s, 1));
  height: calc(17.454546px * var(--s, 1));
  top:  calc(45px * var(--s, 1));
  left: calc(254px * var(--s, 1));
}

/* フッターナビ右端の記号（画像版） */
.footer-nav .corner-mark--footer{
  width: 8px;
  height: 8px;
  top: 6px;     /* 113-105 と同じ思想 :contentReference[oaicite:10]{index=10} */
  right: 6px;
}

.hamburger{
  display: none;
}

/* PCでは改行を無効化して1行にする */
.footer-copyright br{
  display: none;
}


/* =========================
   SP Header (A案: max 390px中央寄せ)
   ========================= */
@media (max-width: 768px){

  :root{
    --header-h: 85px; /* SPのヘッダー高さ */
  }

  /* PCと同じ雰囲気（透過＋ぼかし）は維持 */
  .header-frame{
    height: var(--header-h);
  }

  /* 中身だけ390基準で中央寄せ */
  .header-inner{
    display: block;     /* ✅ gridを解除 */
    padding: 0;         /* ✅ PCの66/58を無効化 */
  }

  /* SPはナビ類は一旦非表示（ハンバーガーで後から出す） */
  .nav-main,
  .nav-contact{
    display: none;
  }

  /* brand：設計通りに配置 */
  .brand{
    margin: 0 !important;
    position: absolute;
    top: 31px;
    left: 26px;
    width: auto;
    height: 26.213px;
  }

  .brand-mark{
    width: 26.213093px;
    height: 26.213093px;
    border-radius: 4.48px;
  }

  .brand-text{
    font-size: 21.45px;
    line-height: 1;
    letter-spacing: -0.02em;
  }

  /* PCのbrand内で文字位置を固定しているなら、SPだけ差分にする */
  /* （brand-textのleftが52.28px固定などの場合に備えた上書き） */
  .brand-text{
    position: absolute;
    top: 0;
    left: 33.43px; /* 59.43 - 26 */
    height: 26px;
    display: flex;
    align-items: center;
    white-space: nowrap;
  }

/* ハンバーガー：余計な背景/枠/ハイライトを消す */
.hamburger{
    /* 表示 */
    display: grid;

    /* 位置（A案：header-inner基準） */
    position: absolute;
    top: 34px;
    right: 19px;

    /* サイズ */
    width: 26px;
    height: 19px;

    /* 3本線の並び */
    align-content: space-between; /* gapより安定 */
    gap: 0;

    /* 余計な装飾を消す */
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }

  .hamburger span{
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #fff; /* 線の色 */
  }

/* クリック/タップ時の青いハイライト（iOS対策） */
.hamburger{
  -webkit-tap-highlight-color: transparent;
}

/* フォーカス時の枠が要らない場合（キーボード操作を残したいなら下のfocus-visibleだけ推奨） */
.hamburger:focus{
  outline: none;
}
.hamburger:focus-visible{
  outline: none; /* もしアクセシビリティ優先なら、ここだけは薄い枠を付けるのがおすすめ */
}

body::before{
  content: "";
  position: fixed;
  top: 0;
  right: 0;

  width: 195px;
  height: 379px;

  background-image: url("../img/Mask_group_min.png"); 
  background-size: 195px 379px;               /* 追従しない＝固定サイズ */
  background-repeat: no-repeat;
  background-position: top right;

  z-index: -1;        /* ✅ 他要素より下 */
  pointer-events: none;
}

/* 390基準（header-innerと同じ思想：中央寄せコンテナ） */
  .page-inner{
    width: 100%;
    max-width: 390px;
    margin-inline: auto;
    position: relative;
  }

  /* ✅ CREATORブロック本体を390座標に */
  .creator-block{
    position: absolute;
    top: 118px;
    left: 34px;
    width: 175px;   /* CREATOR文字の幅に合わせるなら */
    height: 132px;  /* 必要なら。指定が無ければautoでもOK */
  }

  /* ✅ CREATOR */
  .creator-title{
    position: absolute;
    top: 0;         /* 118基準なので0 */
    left: 0;        /* 34基準なので0 */
    width: 175px;
    height: 44px;

    margin: 0;
    font-family: Alexandria, system-ui, sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  /* ✅ 所属クリエイター */
  .creator-sub{
    position: absolute;
    top: 48px;      /* 166 - 118 = 48 */
    left: 0;
    width: 120px;
    height: 21px;

    margin: 0;
    font-family: "Noto Sans JP", system-ui, sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.38;
    letter-spacing: 0;
    white-space: nowrap;
  }

  /* ✅ TOP-所属クリエイター */
  .creator-breadcrumb{
    position: absolute;
    top: 115px;     /* 233 - 118 = 115 */
    left: 0;
    width: 129px;
    height: 17px;

    margin: 0;
    font-family: "Noto Sans JP", system-ui, sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.38;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .creator-breadcrumb .bc-top{ color: #EDEDED; }
  .creator-breadcrumb .bc-current{ color: #FFFFFF; }


  :root{
    --sp-card-w: 153.9743px;
    --sp-card-h: 242.9152px;

    /* 1人目の座標（390基準） */
    --sp-grid-left: 33px;
    --sp-grid-top: 303px;

    /* 1人目→3人目の差分から行間を作る（591-303=288） */
    --sp-row-step: 288px;
    --sp-row-gap: calc(var(--sp-row-step) - var(--sp-card-h)); /* ≒45.0848px */

    /* 右列のleftが不明でも成立するように、残り幅から列gapを計算 */
    --sp-col-gap: calc(390px - (var(--sp-grid-left) * 2) - (var(--sp-card-w) * 2));
    /* ↑ 390幅で左右33px固定なら、自動的に右列もピッタリ決まる */
  }

  /* 390基準の座標面（左上基準） */
  .creator-grid{
    position: absolute;
    top: var(--sp-grid-top);
    left: var(--sp-grid-left);

    display: grid;
    grid-template-columns: repeat(2, var(--sp-card-w));
    grid-auto-rows: var(--sp-card-h);
    column-gap: var(--sp-col-gap);
    row-gap: var(--sp-row-gap);

    width: calc(var(--sp-card-w) * 2 + var(--sp-col-gap));
  }

  /* カード本体 */
  .creator-grid .creator-card{
    position: relative;
    width: var(--sp-card-w);
    height: var(--sp-card-h);
  }

  /* 画像（正方形） */
  .creator-card .creator-photo{
    width: 153.9362px;
    height: 153.9362px;
    top: 0;
    left: 0.04px;
    border-radius: 5.84px;
  }

  /* 名前（topはカード内基準に変換：464.66-303=161.66） */
  .creator-card .creator-name{
    top: 161.66px;
    left: 0;
    width: 29px;
    height: 25px;

    font-size: 14px;
    line-height: 1.75;
    letter-spacing: 0.04em;
  }

  /* username（489-303=186） */
  .creator-card .creator-username{
    top: 186px;
    left: 0;
    width: 131px;
    height: 21px;

    font-size: 12px;
    line-height: 1.75;
    letter-spacing: 0.04em;
  }

  /* SNS（519-303=216） */
  .creator-card .creator-sns{
    top: 216px;
    left: 0;
    width: 63.45px; /* 69.53-33=36.53 + 26.915 ≒ 63.445 */
    height: 26.9152px;
    gap: 10px;   /* 69.53-33-26.915 ≒ 9.615 */
  }

  .creator-card .sns-btn{
    width: 26px;
    height: 26px;
    border-radius: 6px; /* お好みで */
  }

  .creator-card .sns-btn img{
    width: 26px;
    height: 26px;
  }

  /* もっとみる：ボタン本体（390基準） */
  .more-btn{
    position: absolute;
    top: 2620px;
    left: 125px;

    width: 140px;
    height: 41px;
    border-radius: 29px;

    border: 0.5px solid #C8C8C8;
    background: #fff;

    display: block;
    text-decoration: none;
  }

  /* もっとみる文字（ボタン内座標） */
  .more-btn .more-text{
    position: absolute;
    top: 14px;
    left: 50%;

    width: 65px;
    height: 16px;
    transform: translate(-50%, 0);
    font-family: Alexandria, system-ui, sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 1;     /* 100% */
    letter-spacing: 0;
    color: #000;
    white-space: nowrap;
  }

  .more-btn .more-arrow-pill{
  box-sizing: border-box;
  display: flex;                   /* ✅ gridより安定 */
  align-items: center;
  justify-content: center;
}

  .more-btn .more-arrow{
    display: block;
    line-height: 1;
    font-size: 12px;                 /* 13pxでもOK、潰れるなら12 */
    transform: none;                 /* 余計なズレ防止 */
  }

  :root{
    /* below-section（SP） */
    --below-base-w: 390px;
    --below-max-w: 390px;
    --below-h: 586px;
    --below-top: 2214px;

    /* CTA（SP座標：below-section内基準） */
    --cta-w: 291px;
    --cta-h: 81.0642776px;
    --cta-top: 245.22px;
    --cta-left: 50px;
    --cta-radius: 41.57px;
    --cta-border: 3.17px;

    /* CTA内：ボタン左上基準に変換済み */
    --cta-text-top: 21.41px;   /* 266.63 - 245.22 */
    --cta-text-left: 46.78px;  /* 96.78 - 50 */
    --cta-text-size: 31.14px;

    --cta-mark-size: 13.83998px;
    --cta-mark-top: 37.66px;   /* 282.88 - 245.22 */
    --cta-mark-left: 201.4px;  /* 251.4 - 50 */

    --cta-pill-w: 32.1435738px;
    --cta-pill-h: 19.8984032px;
    --cta-pill-top: 30.92px;   /* 276.14 - 245.22 */
    --cta-pill-left: 235.5px;  /* 285.5 - 50 */
    --cta-pill-radius: 31.65px;

    --cta-arrow-w: 9.65px;
    --cta-arrow-stroke: 1.0px;
    --footer-top: calc(var(--below-top) + var(--below-h));
  }

    /* ✅ below-section：390×586 を基準に、幅に合わせて等比スケール */
  .below-section{
    position: absolute;
    top: var(--below-top);
    left: 0;
    width: 100%;
    max-width: 390px;
    height: var(--below-h);

    transform: none;
    transform-origin: initial;

    background-image: url("../img/Mask_sp.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    z-index: 0;
  }

  /* ✅ CTA含む子要素は “スケール前の座標系(390基準)” で置けばOK */
  .below-section .contact-cta{
    position: absolute;
    top: var(--cta-top);
    left: 50%;
    transform: translateX(-50%);

    width: var(--cta-w);
    height: var(--cta-h);

    border-radius: var(--cta-radius);
    border: var(--cta-border) solid transparent;

    background:
      linear-gradient(#fff, #fff) padding-box,
      linear-gradient(138.77deg, #D585FA 2.89%, #7694FF 97.11%) border-box;

    box-sizing: border-box;
    text-decoration: none;
    display: block;
    z-index: 2;
  }

  .below-section .contact-cta .cta-text{
    position: absolute;
    top: var(--cta-text-top);
    left: var(--cta-text-left);
    font-size: var(--cta-text-size);
    font-family: Alexandria, system-ui, sans-serif;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;

    background: linear-gradient(138.77deg, #D585FA 2.89%, #7694FF 97.11%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  /* 記号（画像） */
  .below-section .contact-cta .corner-mark--cta{
    position: absolute;
    width: var(--cta-mark-size);
    height: var(--cta-mark-size);
    top: var(--cta-mark-top);
    left: var(--cta-mark-left);
    display: block;
  }

  /* 右の小楕円＋矢印 */
  .below-section .contact-cta .cta-pill{
    position: absolute;
    width: var(--cta-pill-w);
    height: var(--cta-pill-h);
    top: var(--cta-pill-top);
    left: var(--cta-pill-left);
    border-radius: var(--cta-pill-radius);

    background: linear-gradient(138.77deg, #D585FA 2.89%, #7694FF 97.11%);
    display: grid;
    place-items: center;
  }

  .below-section .contact-cta .cta-arrow{
    font-size: 11px;       /* 10〜12で調整 */
    transform: none;
  }

  
  
  :root{
    --footer-top: calc(var(--below-top) + var(--below-h));
    --footer-h: 493px;
  }

  .footer{
    position: absolute;          /* PCと同じ思想で “座標固定” にする */
    top: var(--footer-top);
    left: 0;
    width: 100%;
    height: var(--footer-h);
    box-sizing: border-box;
  }

  .footer-box{
    width: 100%;
    height: var(--footer-h);
    margin: 0;
    position: relative;
    box-sizing: border-box;
  }

  /* ===== 左：ロゴ + Milestone（設計どおり） ===== */
  .footer-brand{
    position: absolute;
    top: 84px;
    left: 26px;
    width: 140px;     /* だいたいでOK（中身は絶対配置） */
    height: 26.21px;
  }

  .footer-brand-mark{
    width: 26.2131px;
    height: 26.2131px;
    border-radius: 4.48px;
  }

  .footer-brand-text{
    position: absolute;
    top: 0.03px;
    left: 33.43px; /* 59.43 - 26 = 33.43 */
    width: 104px;
    height: 26px;

    font-family: Alexandria, system-ui, sans-serif;
    font-weight: 600;
    font-size: 21.45px;
    line-height: 1;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    white-space: nowrap;
  }

  /* ===== 右：ナビ（left=248px、縦並び） ===== */
  .footer-nav{
    position: absolute;
    left: auto;           /* ✅ left固定を解除 */
    right: 50px;  
    top: 84px;
    width: 120px;
    height: auto;
  }

  .footer-nav .footer-link{
    position: absolute;   /* ← 座標指定に合わせる */
    left: 0;
    font-family: Alexandria, system-ui, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
  }

  .footer-nav .footer-top{     top: 0px;   width: 33px; text-align: right; }
  .footer-nav .footer-about{   top: 44px;  }
  .footer-nav .footer-creator{ top: 88px;  }

  /* NEWS / COMPANY / CONTACT も同じ間隔(44px)で増やすだけ */
  /* 例）
  .footer-nav .footer-news{    top: 132px; }
  .footer-nav .footer-company{ top: 176px; }
  .footer-nav .footer-contact{ top: 220px; }
  */

  /* 角マークは一旦非表示（必要なら座標もらって置く） */
  .corner-mark--footer{
    display: none;
  }
  /* ===== 右：ナビ 追加（座標どおり） ===== */
  .footer-nav .footer-news{    top: 132px; } /* 216 - 84 */
  .footer-nav .footer-company{ top: 176px; } /* 260 - 84 */
  .footer-nav .footer-contact{ top: 220px; } /* 304 - 84 */

  /* ✅ ナビ文字色：TOP〜CONTACT全部白 */
  .footer-nav .footer-link{
    color: #fff;
  }

  /* ===== 区切り線（top=414px, 幅390, 1px） ===== */
  .footer-divider{
    position: absolute;
    top: 414px;
    left: 0;
    width: 100%;
    height: 0;
    border-top: 1px solid #62627C;
    opacity: 1;
  }

  /* ===== コピーライト（top=446px left=59px 幅273） ===== */
  .footer-copyright{
    position: absolute;
    top: 435px;
    left: 50%;
    width: 273px;
    text-align: center;
    height: 21px;
    transform: translateX(-50%);
    margin: 0;
    font-family: Alexandria, system-ui, sans-serif;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-align: center;
    color: #fff;
    white-space: pre-line;  /* 改行を反映させたい場合用 */
    white-space: normal;     /* ✅ 折り返し/改行OK */
    line-height: 1.5; 
  }

  .footer-copyright br{
    display: inline;
  }
  

}


body{
  position: relative;
  isolation: isolate;
  background: #fafafa;
}
/* グラデーション背景（上〜below-section直前まで） */
body::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: var(--grad-h);

  background: linear-gradient(138.77deg, #D585FA 2.89%, #7694FF 97.11%);
  opacity: 1;            /* 濃さ：好みで 0.10〜0.25 */

  z-index: -2;              /* 画像より下 */
  pointer-events: none;
}

/* 右上固定の背景画像（659×726） */
body::before{
  content: "";
  position: fixed;
  top: 0;
  right: 0;

  width: 659px;
  height: 726px;

  background-image: url("../img/Mask_group.png");
  background-size: 659px 726px;
  background-repeat: no-repeat;
  background-position: top right;

  z-index: -1;        /* ✅ グラデ(-2)より上 */
  pointer-events: none;
}

/* MESSAGEブロック：基準面を page-inner 全体にする */
.message-block{
  position: absolute;
  inset: 0;          /* top/right/bottom/left を全部 0 */
}

/* MESSAGE */
.message-title{
  position: absolute;
  top: 407px;
  left: 240px;
  width: 160px;
  height: 39px;

  font-family: Alexandria, system-ui, sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0;
  color: #ffffff;

  margin: 0;
}

/* 代表メッセージ */
.message-sub{
  position: absolute;
  top: 462px;
  left: 240px;
  width: 105px;
  height: 21px;

  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 138%;
  letter-spacing: 0;
  color: #ffffff;

  margin: 0;
}

.v-copy{
  position: absolute;
  margin: 0;

  /* 縦書き */
  writing-mode: vertical-rl;
  text-orientation: mixed;

  /* 指定フォント */
  font-family: "Zen Kaku Gothic New", system-ui, sans-serif;
  font-weight: 900;
  font-size: 56px;
  line-height: 102%;
  letter-spacing: 0;

  color: #ffffff;
  white-space: nowrap;
}

/* 縦コピー共通：right基準で置けるように “面積” を持たせる */
.message-vertical{
  position: absolute;
  inset: 0;            /* top/right/bottom/left = 0 */
  pointer-events: none; /* クリック邪魔なら */
}

/* あなたらしさを */
.v-copy--1{
  top: 275px;
  left: auto;
  right: 130px;
  width: 56px;
  height: 399px;
}

/* 失わずに進める */
.v-copy--2{
  top: 275px;
  left: auto;
  right: 209px;
  width: 56px;
  height: 399px;
}

/* 場所でありたい。 */
.v-copy--3{
  top: 275px;
  left: auto;
  right: 288px;
  width: 56px;
  height: 456px;
}
.message-title{
  /* 既存の top/width/height/font はそのまま */
  left: clamp(
    16px,
    calc(50% - var(--base-half) + 240px),
    99999px
  );
}

.message-sub{
  left: clamp(
    16px,
    calc(50% - var(--base-half) + 240px),
    99999px
  );
}
/* MESSAGEブロック：基準面を page-inner 全体に */
.message-block{
  position: absolute;
  inset: 0;
}

/* MESSAGE */
.message-title{
  position: absolute;
  top: 407px;
  left: clamp(16px, calc(50% - var(--base-half) + 240px), 99999px);
  width: 160px;
  height: 39px;

  font-family: Alexandria, system-ui, sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0;
  color: #ffffff;
  margin: 0;
}

/* 代表メッセージ */
.message-sub{
  position: absolute;
  top: 462px;
  left: clamp(16px, calc(50% - var(--base-half) + 240px), 99999px);
  width: 105px;
  height: 21px;

  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 138%;
  letter-spacing: 0;
  color: #ffffff;
  margin: 0;
}

/* 代表写真（円） */
.boss-photo{
  position: absolute;
  top: 407px;
  left: clamp(16px, calc(50% - var(--base-half) + 574px), 99999px);
  width: 253px;
  height: 254px;

  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* 本文 */
.message-body{
  position: absolute;
  top: 660px;
  left: clamp(16px, calc(50% - var(--base-half) + 436px), 99999px);
  width: 583px;
  height: 392px;

  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 175%;
  letter-spacing: 0.04em;
  color: #ffffff;

  margin: 0;
  white-space: pre-line; /* HTML内の改行を反映 */
}

/* 署名 */
.message-signature{
  position: absolute;
  top: 1118px;
  left: calc(50% - var(--base-half) + 436px);
  width: 334px;
  height: 62px;

  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 500;
  font-size: 20px;

  /* height=62pxで2行ピッタリにしたいので 62/2=31px → 31/20=1.55 */
  line-height: 155%;
  letter-spacing: 0.04em;
  color: #fff;
}

.message-signature .sig-line{
  display: block;
  white-space: nowrap;
}

/* 2行目だけ */
.message-signature .sig-line--tiktok{
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 175%;
  letter-spacing: 0.04em;
}


/* TikTokアイコン */
.message-tiktok{
  position: absolute;
  top: 1149px;
  left: calc(50% - var(--base-half) + 787px);
  width: 28px;
  height: 28px;

  display: block;
}

.message-tiktok img{
  width: 100%;
  height: 100%;
  display: block;
}
/* OUTLINEブロック：座標の基準面 */
.outline-block{
  position: absolute;
  inset: 0;
}

/* OUTLINE */
.outline-title{
  position: absolute;
  top: 1358px;
  left: calc(50% - var(--base-half) + 240px);
  width: 143px;
  height: 39px;

  font-family: Alexandria, system-ui, sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0;
  color: #000;

  margin: 0;
}

/* 会社概要 */
.outline-sub{
  position: absolute;
  top: 1413px;
  left: calc(50% - var(--base-half) + 240px);
  width: 60px;
  height: 21px;

  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 138%;
  letter-spacing: 0;
  color: #000;

  margin: 0;
}

/* #C8C8C8 の縦線（Figmaの線を90deg回転させたのと同等） */
.outline-line{
  position: absolute;
  top: 1358px;
  left: calc(50% - var(--base-half) + 453px);
  width: 0px;
  height: 546px;

  border-left: 1px solid #C8C8C8;
}

/* ラベル共通 */
.outline-label{
  position: absolute;
  left: calc(50% - var(--base-half) + 523px);
  width: 66px;
  height: 28px;

  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 175%;
  letter-spacing: 0.04em; /* 4% */
  color: #000;

  margin: 0;
  white-space: nowrap;
}

/* 値共通 */
.outline-value{
  position: absolute;
  left: calc(50% - var(--base-half) + 751px);
  height: 28px;

  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 175%;
  letter-spacing: 0.04em; /* 4% */
  color: #000;

  margin: 0;
  white-space: nowrap;
}

/* 行ごとのtop */
.outline-label--company,
.outline-value--company{
  top: 1358px;
}

.outline-label--tel,
.outline-value--tel{
  top: 1429px;
}

/* 値の幅（会社名だけ指定どおり） */
.outline-value--company{
  width: 323px;
}
/* OUTLINEの縦線：下まで伸ばす（1358 → 1855+56=1911 なので 553px） */
.outline-line{
  top: 1358px;
  left: calc(50% - var(--base-half) + 453px);
  width: 0;
  height: 553px;
  border-left: 1px solid #C8C8C8;
}

/* ラベル共通：黒字、左列固定 */
.outline-label{
  position: absolute;
  left: calc(50% - var(--base-half) + 523px);
  height: 28px;
  margin: 0;

  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 175%;
  letter-spacing: 0.04em;
  color: #000;

  white-space: nowrap;
}

/* 値共通：黒字、右列固定 */
.outline-value{
  position: absolute;
  left: calc(50% - var(--base-half) + 751px);
  height: 28px;
  margin: 0;

  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 175%;
  letter-spacing: 0.04em;
  color: #000;

  white-space: nowrap;
}

/* ===== 追加行：top + width をFigma通り ===== */

/* メールアドレス */
.outline-label--mail{ top: 1500px; width: 116px; }
.outline-value--mail{ top: 1500px; width: 207px; }

/* 設立 */
.outline-label--since{ top: 1571px; width: 33px; }
.outline-value--since{ top: 1571px; width: 82px; }

/* 役員 */
.outline-label--officer{ top: 1642px; width: 33px; }
.outline-value--officer{ top: 1642px; width: 158px; }

/* 資本金 */
.outline-label--capital{ top: 1713px; width: 50px; }
.outline-value--capital{ top: 1713px; width: 80px; }

/* 主要取引銀行 */
.outline-label--bank{ top: 1784px; width: 100px; }
.outline-value--bank{ top: 1784px; width: 100px; }

/* 事業内容（2行） */
.outline-label--biz{ top: 1855px; width: 66px; }
.outline-value--biz{
  top: 1855px;
  width: 156px;
  height: 56px;
  white-space: normal; /* 2行表示にする */
}
@media (max-width: 768px){
  body::before{
    content: "";
    position: fixed;
    top: 0;
    right: 0;

    width: 195px;
    height: 378px;

    background-image: url("../img/Mask_group_min.png");
    background-repeat: no-repeat;
    background-size: 195px 378px;
    pointer-events: none;
    z-index: 0;
  }
  body::after{
    content:"";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1489px;   /* ←ここが指定 */
    z-index: -2;
    pointer-events: none;

    
  }
  /* ===== MERIT（=message-title/sub） ===== */
  .message-title{
    top: 321px;
    left: 34px;
    width: 91px;
    height: 34px;

    font-size: 28px;
    line-height: 100%;
    letter-spacing: 0;
  }

  .message-sub{
    top: 360px;
    left: 34px;
    width: 152px;
    height: 18px;

    font-size: 13px;
    line-height: 138%;
    letter-spacing: 0;
  }

  /* ===== 縦コピー（3行） ===== */
  .v-copy{
    font-size: 29.38px;
    line-height: 102%;
  }

  .v-copy--1{
    top: 425px;
    left: 318.36px;
    width: 29.3827px;
    height: 210px;
  }

  .v-copy--2{
    top: 425px;
    left: 276.91px;
    width: 29.3827px;
    height: 210px;
  }

  .v-copy--3{
    top: 425px;
    left: 235.46px;
    width: 29.3827px;
    height: 240px;
  }

  /* ===== boss.jpg（円） ===== */
  .boss-photo{
    position: absolute;
    top: 523.81px;
    left: 34px;
    width: 169px;
    height: 187.4688px;

    border-radius: 50%;
    object-fit: cover;
    display: block;
  }

  /* ===== 本文 ===== */
  .message-body{
    position: absolute;
    top: 710px;
    left: 34px;
    width: 322px;
    height: 550px;

    font-family: "Noto Sans JP", system-ui, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 175%;
    letter-spacing: 0.04em;
    color: #ffffff;

    margin: 0;
  }

  /* ===== 代表取締役（1行目） ===== */
  .message-signature{
    position: absolute;
    top: 1304px;
    left: 34px;
    width: 192px;
    height: 32px;

    font-family: "Noto Sans JP", system-ui, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 175%;
    letter-spacing: 0.04em;
    color: #ffffff;

    margin: 0;
    white-space: nowrap;
  }

  /* ===== TikTokアカウント（2行） ===== */
  .message-tiktok-text{
    position: absolute;
    top: 1352px;
    left: 34px;
    width: 322px;
    height: 50px;

    font-family: "Noto Sans JP", system-ui, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 175%;
    letter-spacing: 0.04em;
    color: #ffffff;

    margin: 0;
    white-space: pre-line; /* 改行をそのまま出す */
  }

  /* ===== TikTokアイコン（リンク） ===== */
  .message-tiktok{
    position: absolute;
    top: 1375px;
    left: 213px;
    width: 26.9152px;
    height: 26.9152px;

    display: block;
  }

  .message-tiktok img{
    width: 100%;
    height: 100%;
    display: block;
  }

  /* ===== SP：署名（2行） + TikTokアイコン ===== */
  /* ※ @media (max-width: 768px) の中に入れてください */

  /* 署名ブロックを2行ぶんの箱にする */
  .message-signature{
    position: absolute;
    top: 1304px;
    left: 34px;
    width: 322px;
    height: 98px; /* 32(1行目) + 16(間) + 50(2行目) の想定 */

    margin: 0;
    color: #fff;
    font-family: "Noto Sans JP", system-ui, sans-serif;
    font-weight: 500;
    letter-spacing: 0.04em;

    /* SPでは2行表示したいのでnowrapはやめる */
    white-space: normal;
  }

  /* 1行ずつブロック化 */
  .message-signature .sig-line{
    display: block;
    margin: 0;
    line-height: 175%;
  }

  /* 1行目：代表取締役 */
  .message-signature .sig-line:first-child{
    font-size: 18px;
  }

  /* 2行目：TikTok（ここだけ指定の14px） */
  .message-signature .sig-line--tiktok{
    margin-top: 16px;     /* 1304→1352の差分に合わせる */
    font-size: 14px;
    line-height: 175%;
    letter-spacing: 0.04em;

    /* もし2行にしたいならHTML側で <br> or 改行を入れて、これで反映されます */
    white-space: pre-line;
  }

  /* TikTokアイコン：指定座標どおり */
  .message-tiktok{
    position: absolute;
    top: 1375px;
    left: 213px;
    width: 26.9152px;
    height: 26.9152px;
    display: block;
  }
  .message-tiktok img{
    width: 100%;
    height: 100%;
    display: block;
  }




}

/* PCだけ：TikTok行の <br> を消して1行にする */
@media (min-width: 769px){
  .sig-line--tiktok br{
    display: none;
  }
  .outline-value--company br{
    display: none;
  }
}
/* デフォ：PCを表示、SPを隠す */
.message-body--pc{ display:block; }
.message-body--sp{ display:none; }

@media (max-width: 768px){
  .message-body--pc{ display:none; }
  .message-body--sp{ display:block; }
}
@media (max-width: 768px){

  /* ===== OUTLINE ブロック全体（SPは絶対配置で扱う） ===== */
  .outline-block{
    position: absolute;
    inset: 0; /* 既存があってもOK。SPで基準面を作る */
  }

  /* OUTLINE */
  .outline-title{
    position: absolute;
    top: 1553px;
    left: 34px;
    width: 125px;
    height: 34px;

    font-family: Alexandria, system-ui, sans-serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000;
    margin: 0;
  }

  /* 会社概要 */
  .outline-sub{
    position: absolute;
    top: 1592px;
    left: 34px;
    width: 52px;
    height: 18px;

    font-family: "Noto Sans JP", system-ui, sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 138%;
    letter-spacing: 0;
    color: #000;
    margin: 0;
  }

  /* #C8C8C8 の線（SPは横線） */
  .outline-line{
    position: absolute;
    top: 1630px;
    left: 34px;
    width: 322px;
    height: 0;
    border-top: 1px solid #C8C8C8; /* 横線 */
  }

  /* ラベル共通（左列） */
  .outline-label{
    position: absolute;
    left: 34px;
    height: 23px;

    font-family: "Noto Sans JP", system-ui, sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 175%;
    letter-spacing: 0.04em;
    color: #000;

    margin: 0;
    white-space: nowrap;
  }

  /* 値共通（右列） */
  .outline-value{
    position: absolute;
    left: 175px;

    font-family: "Noto Sans JP", system-ui, sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 175%;
    letter-spacing: 0.04em;
    color: #000;

    margin: 0;
  }

  /* ===== 行ごとの座標 ===== */

  /* 運営会社（値は2行） */
  .outline-label--company{
    top: 1670px;
    width: 54px;
  }
  .outline-value--company{
    top: 1670px;
    width: 159px;
    height: 46px;
    white-space: normal;     /* 2行にする */
  }

  /* 電話番号 */
  .outline-label--tel{
    top: 1751px;
    width: 54px;
  }
  .outline-value--tel{
    top: 1751px;
    width: 98px;
    height: 23px;
    white-space: nowrap;
  }

  /* メールアドレス */
  .outline-label--mail{
    top: 1810px;
    width: 95px;
  }
  .outline-value--mail{
    top: 1810px;
    width: 169px;
    height: 23px;
    white-space: nowrap;
  }

  /* 設立 */
  .outline-label--since{
    top: 1869px;
    width: 27px;
  }
  .outline-value--since{
    top: 1869px;
    width: 67px;
    height: 23px;
    white-space: nowrap;
  }

  /* 役員 */
  .outline-label--officer{
    top: 1928px;
    width: 27px;
  }
  .outline-value--officer{
    top: 1928px;
    width: 129px;
    height: 23px;
    white-space: nowrap;
  }

  /* 資本金 */
  .outline-label--capital{
    top: 1987px;
    width: 41px;
  }
  .outline-value--capital{
    top: 1987px;
    width: 65px;
    height: 23px;
    white-space: nowrap;
  }

  /* 主要取引銀行 */
  .outline-label--bank{
    top: 2046px;
    width: 81px;
  }
  .outline-value--bank{
    top: 2046px;
    width: 81px;
    height: 23px;
    white-space: nowrap;
  }

  /* 事業内容（2行） */
  .outline-label--biz{
    top: 2105px;
    width: 54px;
  }
  .outline-value--biz{
    top: 2105px;
    width: 127px;
    height: 46px;
    white-space: normal; /* 2行 */
  }
}
/* =========================
   SP MENU（高さ442px / グラデ背景 / 390中央寄せ）
   ※ハンバーガー自体は触らない
   ========================= */
@media (max-width: 768px){
  .sp-menu{
    display: block;
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
  }

  /* 442pxより下（クリックで閉じる用） */
  .sp-menu__overlay{
    position: absolute;
    left: 0;
    right: 0;
    top: 442px;
    bottom: 0;

    background: transparent;
    opacity: 0;
    transition: opacity .28s ease;
  }

  /* パネル：上から442pxだけ出す */
  .sp-menu__panel{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 442px;
    z-index: 1;

    /* このcssで大量に使われているグラデ */
    background: linear-gradient(138.77deg, #D585FA 2.89%, #7694FF 97.11%);

    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .28s ease, transform .28s ease;

    overflow: hidden;
  }

  /* メニュー内ブランド（ヘッダー同様：画面左基準で固定） */
  .sp-menu .brand{
    z-index: 2;
  }
  .sp-menu .brand-mark{
    background: #fff; /* 指定：白い四角 */
  }
  .sp-menu .brand-text{
    color: #fff;
  }

  /* 閉じる（×：線で描画） */
.sp-menu__close{
  position: absolute;
  top: 36px;
  right: 24px;
  z-index: 3;

  width: 25px;
  height: 14.7058801651px;

  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;

  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.sp-menu__close::before,
.sp-menu__close::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  border-top: 2px solid #fff; /* border-width: 2px */
  transform-origin: 50% 50%;
}
.sp-menu__close::before{
  transform: translateY(-50%) rotate(35deg);
}
.sp-menu__close::after{
  transform: translateY(-50%) rotate(-35deg);
}


  /* 390px中央寄せの“座標キャンバス” */
  .sp-menu__nav{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 390px;
    height: 442px;
  }

  .sp-menu__list{
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .sp-menu__list li{
    margin: 0;
    padding: 0;
  }

  /* リンク共通（16px） */
  .sp-menu__link{
    position: absolute;
    display: block;
    height: 20px;

    text-decoration: none;
    color: #fff;

    font-family: Alexandria, "Noto Sans JP", system-ui, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
  }

  /* 位置・サイズ（Figma指定どおり） */
  .sp-menu__link--top{
    top: 114px;
    left: 178px;
    width: 33px;
    text-align: right;
  }
  .sp-menu__link--about{
    top: 158px;
    left: 166px;
    width: 58px;
  }
  .sp-menu__link--creator{
    top: 202px;
    left: 156px;
    width: 78px;
  }
  .sp-menu__link--news{
    top: 246px;
    left: 169px;
    width: 51px;
  }
  .sp-menu__link--company{
    top: 290px;
    left: 153px;
    width: 84px;
  }
  .sp-menu__link--contact{
    top: 334px;
    left: 156px;
    width: 77px;
  }

  /* 開いた状態 */
  .sp-menu.is-open{
    pointer-events: auto;
  }
  .sp-menu.is-open .sp-menu__overlay{
    opacity: 1;
  }
  .sp-menu.is-open .sp-menu__panel{
    opacity: 1;
    transform: translateY(0);
  }

  body.is-menu-open{
    overflow: hidden;
    touch-action: none;
  }
  /* w_path（8×8） */
.sp-menu__wpath{
  position: absolute;
  top: 340px;
  left: 236px;
  width: 8px;
  height: 8px;
  opacity: 1;
  pointer-events: none;
}

}

@media (min-width: 769px){
  .sp-menu{
    display: none;
  }
}
