/*
Theme Name: Lightning Child
Template: lightning
Author: Okawara
Version: 1.0
*/

/* 子テーマ用のCSSはここに書く */
:root{
  --ink:#222;
  --pink:#E14490;
  --light-pink:#EBCCD8;
  --yellow:#F8E690;
  --gray:#8b8b8b;
  --card:#ffffff;
  --shadow:0 10px 20px rgba(0,0,0,.08);
  --ink:#111;
  --ink-2:#444;
  --chip:#000; 
  --chip-bg:#fff;
  --pink-transparent: rgba(225, 68, 144, 0.7); /* 半透明版 */
}


*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: "Roboto", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  color:var(--ink);
  line-height:1.8;
}

.container{
  width:min(1100px,92%);
  margin:auto
}

.section{
  padding:56px 0
}

.h2{
  font-size:20px;
  letter-spacing:.08em;
  margin:0 0 16px;
  font-weight:900
}


/* ===== FV 全体 ===== */
.hero{
  position:relative;
  overflow:hidden;
  height: 100vh;
  padding-bottom: 90px;
  z-index: 0;            
}

.hero-inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.5fr 360px;
  gap:40px;
  padding: 56px 100px 64px;
}

.hero-bg{
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('images/24337656_1.jpg'); 
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;   
  filter: blur(1px) saturate(.95) brightness(1.04);
  opacity: .9;
}


/* ===== 左カラム：縦ライン＋コピー ===== */  
.fv-left::before{
  content:"";
  position:absolute;
  left:0;
  top:-34px;
  bottom:-100vh;
  width:2px;
  background:#111;
} 

/* 共通の左寄せ基準 */
.fv-left {
  position: relative;
  padding-left: 28px; 
  text-align: left;
}   

/* eyebrow（Okawara’s Portfolio） */
.eyebrow {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 400;
  display: block;
}

/* キャッチコピー */
.lead-copy {
  margin: 0 0 10px;
  font-weight: 700;
  display: block;
}

/* ピンク帯 (Webサイト制作) */
.chips .chip-pink {
  display: inline-block;
  padding: 8px 14px;
  font-weight: 900;
  border: 2px solid var(--pink);
  background: var(--pink);
  color: #fff;
  margin: 0;          /* 左端を揃えるため余白を消す */
}

.badge-black {
  display: inline-block;
  margin: 10px 0;
  background: #111;
  color: #fff;
  padding: 10px 16px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.hero .chips{
  display:flex;
  gap:8px;
  margin:8px 0;
  font-size: 30px;
}

.hero .chip{
  display:inline-block;
  padding:8px 14px;
  font-weight:900;
  line-height:1;
  border:2px solid #000;
  background:#fff
}

.hero .chip-pink{
  background:var(--pink);
  color:#fff;
  border-color:var(--pink);
  opacity: 1;         /* ← これを明示 */
  filter: none;       /* ← 不要なフィルター解除 */
  mix-blend-mode: normal; /* ← ブレンド解除 */
}

.hero .badge-black{
  display:inline-block;
  margin: 0 ;
  background:#111;
  color:#fff;
  padding:10px 16px;
  font-size:28px;
  font-weight:900;
  line-height:1
}

.hashtags{
  list-style:none;
  padding:0;
  margin:10px 0 0;
  color:#555
}

/* ===== 右カラム：縦メニュー ===== */
.side-nav {
  align-self:start;
  width: 260px;          /* ← デフォ360px → タイト化 */
  margin-left: auto;   /* ← 右に押し出す */
  margin-right: 4px;
}

.side-nav ul{
  list-style:none;
  margin:0 0 14px;
  padding:0;
  display:grid;
  gap:10px;
}

.side-nav a{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#222;
  font-weight:800
}

.side-nav .en{
  min-width:78px;
  letter-spacing:.02em
}

.side-nav .dash{
  flex:1;
  height:1px;
  background:#000;
  opacity:.35
}

.side-nav .ja{
  color:#060606;
  font-weight:700;
  font-size:12px
}

.btn-dark{
  display:inline-block;
  background-color:#111;
  color:#fff !important;
  text-decoration:none;
  padding:12px 20px;
  font-weight: 900;
}

.btn-dark.wide {
  width: 100%;
  text-align: center;    /* ← 中央ぞろえ */
  margin: 10px 0;        /* 余白ちょっと増やす */
  font-size: 16px;       /* お好みで調整 */
  display: block;        /* ブロック要素化 */
}

.subnav-ja .en{
  min-width:78px
}


/* ===== POLICY：中央オーバーラップ ===== */
#policy.section.policy{
  position:absolute;          
  left:46%;
  bottom:40px;
  /*transform:translateX(-50%);*/
  width:min(920px, calc(100% - 48px));  
  background:#fff;            
  border:3px solid #111;
  padding:32px;
  box-shadow:0 12px 24px rgba(0,0,0,.08);
  z-index:1;           
  scroll-margin-top:120px;    
}

/* 見出し＆2カラムの整え */
#policy .panel {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
}

#policy .panel .h2{
  margin:0; 
  font-size: 36px; 
  font-family: "Inter";           
  font-weight: 200;
}

#policy .policy-grid{
  display:flex;
  gap:48px;
  font-size:14px;
  line-height:1.9;
}
#policy .policy-grid .left,
#policy .policy-grid .right{ flex:1; }

#policy .panel p {
  margin: 0;            /* ← デフォルトの margin を消す */
  font-size: 14px;      /* 必要に応じ調整 */
}

#policy.section.policy { position: relative; }
#policy .signature{
  position: absolute;
  right: 80px;
  bottom: 36px;
  margin: 0;
  letter-spacing: .05em;        
}

/* SPは重なり解除して自然に下へ */
@media (max-width:900px){
  #policy.section.policy{
    position:static;
    transform:none;
    width:100%;
    margin:12px auto 0;
    box-shadow:0 6px 14px rgba(0,0,0,.06);
  }
  #policy .policy-grid{ flex-direction:column; gap:18px; }
}

/* ===== WORKS ===== */
.section-head{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px
}

.label {
  display: inline-flex;
  align-items: stretch;
  border: 2px solid var(--pink);
  height: 60px;
  overflow: hidden;
  font-weight: 700;
  font-family: "Inter";
  background: #fff; 
  margin-bottom: 40px;    
}

.label-left {
  display: flex;
  align-items: center;           
  justify-content: center;       
  padding: 0 60px 0 20px;
  font-size: 28px;               
  flex: 1; 
  font-family: "Inter";           
  font-weight: 200;
}

.label-right{
  display:flex; 
  align-items:center;
  justify-content: flex-end;
  padding-right:40px;
  flex:0 0 140px;              
  background:linear-gradient(to right, #e6408a, #d63384);
  color:#000;
  clip-path:polygon(50px 0, 100% 0, 100% 100%, 0% 100%);
  font-size: 11px;
}

.more{
  margin-top:10px;
  text-align:right;
}

.link-more{
  font-size:16px;
  font-weight: 700;
  color:#000;
  text-decoration: none;       
  border-bottom: 2px solid #000;
  padding-bottom: 4px;          
}

.works-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:24px;
  row-gap:50px;
  align-items:start;
}

/* 段間の横線（グリッドを横断） */
.works-sep{
  grid-column: 1 / -1;   /* ← 全列またぐ */
  height: 1px;
  background: #d9d9d9;
  margin: 6px 0;          /* 好みで微調整 */
}

.work-card{
  display:flex;
  flex-direction:column;
  background: transparent;  /* ← 白背景を外す */
  box-shadow: none;         /* ← シャドウなし */
  overflow:hidden;
  color:inherit;
  text-decoration:none;
  gap: 6px;                 /* 画像とテキストの間を少し空ける */
}

/* 画像（正方形 350×350にしたい場合） */
.work-card .thumb{
  width: 350px;
  height: 350px;
  overflow:hidden;
}

/* テキスト部 */
.work-card .meta{ position:relative; padding: 0 2px 18px; }
.meta .category{ margin:0; font-size:12px; color:#666; }
.meta .title{ margin:2px 0 0; font-size:16px; font-weight:700; }
.meta .tag{
  position:absolute; right:0; bottom:0;
  font-size:11px; padding:2px 8px; border:1px solid #111; border-radius:3px;
}

.work-card .title a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.work-card .title a:hover {
  border-bottom-color: #111; /* ホバーで下線出る */
}

.work-card .thumb img {
  transition: transform 0.3s ease;
}
.work-card .thumb:hover img {
  transform: scale(1.02); /* 画像もほんのり拡大 */
}


/* ===== SERVICE ===== */
.service .container{
   text-align: center;
}

.ribbon{
  position:relative;
  margin-bottom:16px;
  width:max-content;
  display: inline-flex;
  margin: 0 auto 60px;  
  align-items: stretch;
  border: 2px solid var(--yellow);
  height: 60px;
  overflow: hidden;
  font-weight: 700;
  font-family: "Inter";
  background: #fff; 
}

.ribbon-left {
  display: flex;
  align-items: center;           /* 縦中央 */
  justify-content: center;       /* 横中央 */
  padding: 0 60px 0 20px;
  font-size: 28px;               /* ← 大きく */
  flex: 1; 
  font-family: "Inter";           
  font-weight: 200;
}

.ribbon-right{
  display:flex; 
  align-items:center;
  justify-content: flex-end;
  padding-right:20px;
  /* 👉 右ピンク帯の横幅（白部分を増やしたい＝ここを小さく） */
  flex:0 0 140px;              /* 例: 180px。もっと白を増やすなら 150px など */
  background:linear-gradient(to right, var(--yellow),var(--yellow));
  color:#000;
  /* 👉 斜めの角度（鋭くしたい＝ここを大きく） */
  clip-path:polygon(50px 0, 100% 0, 100% 100%, 0% 100%);
  /*            ▲ここが“食い込み量”。例では 120px  */
  font-size: 11px;
}

/* セクション骨格 */
.service-sec{
  padding:40px 0;
}

/* 行のレイアウト */
.service-row{
  display: grid;
  grid-template-columns: 220px 1fr;
  column-gap: 120px;
  align-items: stretch;
  padding: 28px 0;
}

/* 右カラムは縦方向のflex */
.srv-right{
  display: flex;
  flex-direction: column;
  min-height: 240px;     /* ← デスクトップでの揃え用。数値は好みで */
}

/* 本文ブロック */
.srv-body{
  /* ここは伸ばさなくてもOK。余白が欲しければ margin-bottom を */
  margin-bottom: 16px;
}

/* PRICE を一番下＆右に */
.srv-price{
  margin-top: auto;      /* ← これが“下に張り付く”決め手 */
  align-self: flex-end;  /* 右寄せ */
}

/* モバイルでは固定高さを解除（縦積みなので下張り付け不要なら） */
@media (max-width: 960px){
  .srv-right{ min-height: 0; }
  .srv-price{
    margin-top: 8px;     /* モバイルは通常フローでOKなら少しだけ余白に */
    align-self: flex-start; /* 任意：左寄せに戻したい場合 */
  }
}

/* 角丸ラベルのサイズはこれでOK（上下詰め） */
.badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  background: #111;
  border: 2px solid #111;
  border-radius: 4px;
  line-height: 1;
}

.service-row + .service-row{
  border-top:2px solid var(--yellow);    /* 仕切り線 */
}

.service-row + .service-row::before{     /* 細い黄色ライン風（任意） */
  content:""; 
  position:absolute; 
  left:0; 
  right:0; 
  top:-1px; 
  height:3px;
  background: linear-gradient(to right,#f4d24e );
  opacity:.6;
}

/* 左カラム */
.srv-left .jp{
  font-size:14px;
  color:#777;
  margin:0 0 8px;
  text-align: left;
}

.srv-left .en{
  font-size:40px; 
  line-height:1.05; 
  letter-spacing:-.06em;
  margin:0; 
  text-align: left;
  font-weight: 100;
}


/* 本文カラム */
.srv-ttl{
  margin:0 0 10px;
  font-size:24px; 
  text-align: left;
  font-weight: 200;
}

.srv-txt{
  margin:0 0 12px; 
  color:#444;
  text-align: left;
}

.chips{
  display:flex;
  flex-wrap:wrap; 
  gap:10px; 
  padding:0; 
  margin:6px 0 0; 
  list-style:none;
}

.chips li{
  border:1.5px solid #111; 
  border-radius:5px;
  padding:6px 12px; 
  font-size:12px; 
  font-weight:700; 
  background:#fff;
}

.note{
  margin-top:8px; 
  font-size:12px; 
  color:#777;
}

.yen{
  margin:6px 0 0;
}

.yen small{
  font-size:12px; 
  color:#666;
}

.yen span{
  font-size:28px; 
  letter-spacing:.02em;
}



/* レスポンシブ */
@media (max-width: 960px){
  .service-row{grid-template-columns: 1fr; gap:14px}
  .srv-price{justify-self:start; text-align:left}
  .srv-left .en{font-size:34px}
}


/* ===== STRIPE ===== */
.stripe {
  background-color: #c94d83;
  color: #fff; 
  font-size: 80px;
  padding: 0 10px; 
  letter-spacing: .06em;
  mix-blend-mode: normal;
  overflow: hidden; 
  font-family: 'Londrina Outline', cursive !important;
  font-weight: 400; /* Londrina Outline は通常 400 だけ */
}
/* 走らせるトラック */
.stripe .marquee{
  display: flex;
  gap: 4rem;                        /* 文言の間隔 */
  white-space: nowrap;
  will-change: transform;
  animation: stripe-marquee 30s linear infinite;
}

/* ホバーで一時停止したい場合（任意） */
.stripe:hover .marquee { animation-play-state: paused; }

/* アニメーション本体：左へ流す */
@keyframes stripe-marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* 同文言を複製しているので -50% で継ぎ目ナシ */
}

/* アニメーションが苦手なユーザー配慮（任意） */
@media (prefers-reduced-motion: reduce){
  .stripe .marquee{ animation: none; }
}

/* ===== SKILLSET 全体（中央2カラムをきっちり中央寄せ） ===== */
.skillset{
  display: grid;
  grid-template-columns: repeat(2, minmax(420px, 520px));
  gap: 64px;                     /* パネル間の余白 */
  justify-content: center;       /* グリッド全体を中央 */
  align-items: start;
  padding: 80px 6vw;
  margin: 0 auto;                /* セクション自体を中央に */
  max-width: 1200px;             /* コンテナ幅を固定 */
  box-sizing: border-box;
}

/* 各パネル（TOOLS / SKILLS 共通） */
.skillset .panel{
  position: relative;
  width: 100%;
  max-width: 520px;
  border: 2px solid #000;
  padding: 28px 28px 36px;
  box-shadow: 0 2px 0 rgba(0,0,0,.06);
  overflow: visible;
  justify-self: center;   /* グリッド内で中央寄せ */
}

/* 色だけ違う */
.skillset .tools{  background: var(--yellow, #F3E297); }
.skillset .skills{ background: var(--light-pink, #E7CDD7); }

/* 仕切り線（TOOLSの中段）任意 */
.skillset .tools hr{
  border:0;
  border-top:1px solid rgba(0,0,0,.15);
  margin:18px 0 8px;
}

/* ===== 縦ラベル（共通） ===== */
.skillset .side-label{
  position:absolute;
  top:50%;
  border:3px solid #000;
  padding:16px 8px;
  line-height:1;
  letter-spacing:.12em;
  font-weight:500;
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:40px;
  white-space: nowrap;   /* 折り返し防止 */
}

.skillset .side-label span{  
  font-size:32px; 
}

.skillset .side-label small{ 
  font-size:10px; 
  color:var(--ink-2,#444); 
}

/* 左右の向き・位置 */
.skillset .side-label.left{  
  left:-120px; 
  top: 30%;
  translate: 0 -50%;       /* 中央基準で調整 */
  /*rotate: 90deg; */
  transform-origin:center;
}

.skillset .side-label.right{ 
  right:-120px; 
  /*rotate: 90deg; */
  transform-origin: center;
  top: 60%; 
}

/* ===== チップ（バッジ） ===== */
/* ===== SKILLS：要素を中央に縦並び ===== */
.skills .chips {
  display: flex;
  flex-direction: column;   /* 縦積み */
  align-items: center;      /* ← 中央寄せ */
  justify-content: center;  /* ← 上下中央寄せ */
  gap: 16px;                /* 要素間の余白 */
  height: 100%;             /* パネルいっぱいに広げる */
}


.skillset .chip{
  display: inline-flex;
  justify-content: center; /* テキストを中央寄せ */
  align-items: center;
  width: 110px;            /* ← 固定幅を指定 */
  height: 30px;            /* ← 高さも揃える */
  border: 1px solid #000;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.skillset .chip.filled{ 
  background:#000; 
  color:#fff;
}

/* TOOLS：横並びで折り返し */
.skillset .tools .chips{ 
  flex-wrap:wrap; 
  gap:10px 14px; 
  justify-content:flex-start;
  padding: 10px 0;
 }

.skillset .skills .chips.center{ 
  justify-content: flex-start;
 } 

.skillset--stagger {
  padding:230px;
} 

/* 段違いレイアウト：PCでは上下にオフセット */
.skillset--stagger .panel.tools  { 
  transform: translateY(-18px); 
  padding:40px 30px 60px; 
  border: none;
} /* 上へ少し */

.skillset--stagger .panel.skills { 
  transform: translateY( 72px); 
  padding:60px 30px; 
  border: none; 
} /* 下へ少し */

/* スマホは自然に縦積みに戻す */
@media (max-width: 900px){
  .skillset--stagger .panel.tools,
  .skillset--stagger .panel.skills { transform: none; }
}


/* ===== SP：1カラム ===== */
@media (max-width:900px){
  .skillset{ grid-template-columns:1fr; gap:40px; }
  .skillset .side-label.left{  left:-40px; }
  .skillset .side-label.right{ right:-40px; }
}


/* ===== ABOUT ===== */
/* 背景（紙＋ピンク帯＋ぼかしドット） */
.about {
  padding: 80px 0;     /* 上下に余白（帯の外側） */
  background-image:url('images/24337656.png');
  background-repeat:no-repeat;
  background-size: cover;   /* 画面いっぱいに拡大縮小 */
  background-position: center; /* 中央寄せ */
  min-height: 50vh;   /* ← 高さを増やす */
}

.about-strip {
  background-color: var(--pink-transparent);
  padding: 48px 20px;
}


.about-strip >h2{
  position: relative;
  z-index: 3;
  color: rgb(235, 14, 117);
}

/* 中央レイアウト */
.about-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  padding: 0 20px;
}

/* 白いカード */
.about-card {
  background: #fff;
  border: 3px solid #111;
  flex: 1 1 0;
  box-shadow: 0 2px 0 rgba(0,.05,0,.05);
}
.about-card h2 {
  font-size: 48px;
  letter-spacing: 0.32em;
  margin: 20px 0 0 80px;
}

/* 左：項目 / 右：丸い写真 */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 240px;
  align-items: center;
  padding: 0px 40px;
}

.avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 10px 10px 40px ;
  background: #cfcfcf; /* 画像のプレースホルダ */
  margin-left: auto;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.06);
}

/* 実画像を使う場合：
.avatar { background: none; }
.avatar img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
*/

/* 定義リスト（行ごとに揃える)*/
.about-dl { margin: 0; }
.about-dl .row {
  display: grid;
  grid-template-columns: 7em 1fr; /* 左ラベル幅 / 右内容 */
  column-gap: 1.5em;
  align-items: start;
  font-size: 14px;
  line-height: 1.9;
}
.about-dl dt { color: #111; }
.about-dl dd { margin: 0; color: #333; }

/* 右端の丸アイコン縦並び */
.about-social {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: 2px solid #111;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .1s ease;
  text-decoration: none;
}

.icon-btn:hover { transform: translateY(-1px); }

/* レスポンシブ */
@media (max-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .avatar {
    margin: 0 auto;
  }
  .about-inner {
    gap: 16px;
  }
}

/* ===== CONTACT ===== */
.contact {
  position: relative;
  background: #F5F5F5;  /* 薄いグレー背景 */
  padding: 80px 0;      /* セクション上下余白 */
}

#contact .container{
  background:#fff;
  border-radius:16px; 
  box-shadow:var(--shadow);
  padding:30px 30px 120px; 
  display:grid;
  gap:12px;
  position: relative;
  z-index: 1;            /* 背景より前に */
}

.contact-form label{
  display:grid; 
  gap:6px; 
  font-size:14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
  width:100%; 
  border:none; 
  border-radius:4px; 
  padding:12px; 
  font:inherit; 
  background:#ECECEC;
}

.contact-form button{
  justify-self:end;
  padding: 10px;
}

.contact .container h2 {
text-align: center;
font-size: 48px;
margin: 0;
}

.contact .container p {
text-align: center;
margin: 0 0 20px;
}

.contact .container p.pink-text {
 color: var(--pink);
 margin: 0 0 40px;
}

/* プライバシーポリシー行を左寄せで横並び */
.contact-form .privacy{
  display:flex;
  align-items:center;
  justify-content:flex-start; /* 横方向 左寄せ */
  gap:8px;
  font-size:14px;
  color:#333;
  padding:10px 0;
  justify-self:start;         /* grid 内でも左に寄せる */
  width:auto; 
  flex-wrap: nowrap;                      /* 念のため */
}

/* テキストを絶対に改行させない */
.contact-form .privacy span{
  white-space: nowrap;      /* ← これで一行固定 */
  padding:20px;
}

/* 送信ボタンを横幅いっぱいに */
.contact-form .btn-primary {
  width: 100%;
  background: #111;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-form .btn-primary:hover {
  background: var(--pink); /* ホバーでピンクに */
}


/* ===== FOOTER ===== */
.footer {
  background-color: #000; /* 黒背景 */
  padding: 10px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center; /* 中央寄せ */
  align-items: center;
  position: relative; /* アイコン配置用 */
}

.footer-text {
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
}

.footer-icon {
  position: absolute;
  right: 0; /* 右端に配置 */
  top: 50%;
  transform: translateY(-60%);
  background-color: #fff;
  border-radius: 50%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-icon img {
  width: 30px;
  height: 30px;
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .header-inner{grid-template-columns:1fr}
  .policy-grid{grid-template-columns:1fr}
  .works-grid{grid-template-columns:repeat(2,1fr)}
  .about-card{grid-template-columns:1fr}
  .about-thumb .circle{margin:0 auto}
}
@media (max-width: 560px){
  .works-grid{grid-template-columns:1fr}
  .gnav ul{flex-wrap:wrap}
}

/* できれば CSS の一番下あたりに置く */
#contact .container p.pink-text {
  color: var(--pink) !important;
}

/* stripe帯のフォントを上書き */
.stripe .marquee span {
  font-family: 'Londrina Outline', cursive !important;
  font-size: 80px;   /* サイズも元のデザインに合わせる */
  font-weight: 400;
}


.hero-bg{
  position:absolute;
  inset:0;
  z-index:-1;
  background-image:url('images/24337656_1.jpg');
  background-repeat:no-repeat;
  background-size: 110% auto;
  background-position: 50% 45%;
  filter: blur(1px) saturate(.95) brightness(1.04);
  opacity:.9;
  animation: hero-drift 12s ease-in-out infinite alternate;
  will-change: background-position;
}

@keyframes hero-drift{
  0%{
    background-position: 48% 45%;
    transform: scale(1.02);
  }
  50%{
    background-position: 52% 47%; /* ← ゆっくり右下へ流れる */
    transform: scale(1.02);
  }
  100%{
    background-position: 49% 44%; /* ← 左上に戻る */
    transform: scale(1.02);
  }
}

/* ピンク帯と黒帯 共通アニメーション */
.chips, .badge-black {
  opacity: 0;
  transform: translateY(-60px); /* 上からもっと余裕をもって */
  animation: slideDown 1.6s ease forwards; /* ゆっくり1.6秒で */
}

/* 黒帯は少し遅れて出す */
.badge-black {
  animation-delay: 0.6s;
}

/* ピンク帯「Webサイト制作」も同じ動き */
.chips {
  animation-delay: 0.2s; /* ちょっとだけ早め */
}

@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === SKILL / TOOLS の縦ラベル：スクロールでふわっと === */
/* 初期状態：縦回転＋ちょいオフセット（※ transform に一本化） */
.skillset .side-label{
  position:absolute;
  top:50%;
  opacity:0;
  transform-origin:center;
  transition: opacity .7s ease, transform .7s ease;
  will-change: transform, opacity;
}

/* 位置だけ left/right で分ける（translate の長腕は使わない） */
.skillset .side-label.left  { left:-120px;  top:30%; }
.skillset .side-label.right { right:-120px; top:60%; }

/* 初期は縦のまま少し横にズラしておく */
.skillset .side-label.left{
  transform: translate(-24px, -50%) rotate(90deg) !important;
}
.skillset .side-label.right{
  transform: translate( 24px, -50%) rotate(90deg) !important;
}

/* 画面内に入ったら（JSで .in が付与） */
.skillset .side-label.in{
  opacity:1;
  transform: translate(0, -50%) rotate(90deg) !important;
}

/* SPで位置微調整（必要なら） */
@media (max-width:900px){
  .skillset .side-label.left  { left:-40px; }
  .skillset .side-label.right { right:-40px; }
}