@charset "UTF-8";
/* CSS Document */

/* ==========================================================================
  1. 全体のリセット & 共通スタイル
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333333;
  background-color: rgba(255, 255, 255, 0.94);
  /* 背景色 */

  /* ★画面が開いた時のふわっと演出 */
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

/* ★読み込み完了後に全表示 */
body.is-loaded {
  opacity: 1;
  transform: translateY(0);
}

/* 全要素のサイズ計算を内包に統一（絶対書いておくべき1行） */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 画面外へのはみ出しを遮断 */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  /* ★横スクロールを強制的に消す */
}

/* ==========================================================================
 2. ベース・スマホ用スタイル
   ========================================================================== */

/* TOPキービジュアル画像（スマホ） */
.photo-area .kv-img {
  animation: topFadeIn 0.8s ease-out forwards;
  /* スマホ用に少し速め（0.8秒） */
}

/* TOPタイトルグループ（スマホ） */
.header-title-container {
  opacity: 0;
  animation: topFadeInUp 0.8s ease-out 0.15s forwards;
}

/* スクロール時の「ふわっ」（スマホ） */
.fade-in-up {
  opacity: 0;
  transform: translateY(15px);
  /* スマホは15pxだけ下から */
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.is-show {
  opacity: 1;
  transform: translateY(0);
}


/* --- キーフレームアニメーション（スマホ用） --- */

@keyframes topFadeIn {
  0% {
    opacity: 0;
    transform: scale(1.02);
    /* スマホでのズーム感も控えめに */
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes topFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(15px);
    /* 移動量は控えめ */
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 初期状態（スマホ基準：15px下から透明に） */
.section-title-wrapper,
.works-item,
.works-btn-wrapper,
.about-container,
.about-message-area {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

/* 画面に入ったら表示 */
.section-title-wrapper.is-show,
.works-item.is-show,
.works-btn-wrapper.is-show,
.about-container.is-show,
.about-message-area.is-show {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: relative;
  /* 重ねる要素の絶対的な基準にする */
  width: 100%;
  height: 100vh;
  /* ★スマホの画面ぴったりに高さを固定 */
  height: 100dvh;
  /* スマホのアドレスバー自動計算 */
  overflow: hidden;
  background-color: #f0f0f0;
  /* 万が一の時のバックアップ背景 */
}

/* 1. ヘッダー真ん中（写真エリア） */
.photo-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* 一番奥に配置 */
  cursor: pointer;
}

.photo-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 画面いっぱいに綺麗にトリミングして敷き詰める */
  display: block;
  /* ★水面フィルターをひも付け */
  filter: url(#water-ripple);
}

/* 2. タイトルグループ */
.header-title-container {
  position: absolute;
  /* 写真の上に浮かせる魔法 */
  top: 25%;
  /* 上からの位置 */
  left: 8%;
  /* 左からの位置 */
  z-index: 10;
  /* 写真より前にする */
}

/* ==========================================
   TOPロゴ＆肩書き（モバイルファースト）
   ========================================== */

.site-title {
  margin: 0;
  position: relative;
  /* ★モヤの位置基準 */
  display: inline-block;
  /* モヤの範囲をテキストの幅に合わせる */
  padding: 10px 15px;
  /* ★モヤの余白 */
  z-index: 1;
}

/* ★スマホ時：ロゴの後ろに敷く白いモヤ */
.site-title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  /* ロゴの横幅より少し広めに設定 */
  height: 140%;
  /* ロゴの縦幅より少し高めに設定 */

  /* 中央から外側へ消えていく白い円形グラデーション */
  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.7) 50%,
      rgba(255, 255, 255, 0) 80%);
  filter: blur(6px);
  /* ぼかして自然になじませる */
  z-index: -1;
  /* テキストの背後に配置 */
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.site-title a {
  font-family: 'Kranky';
  font-size: 38px;
  color: #333;
  line-height: 1.3;
  text-decoration: none;
  display: block;
  position: relative;
  z-index: 2;
}

.site-title a:hover {
  opacity: 0.7;
  transition: opacity 0.3s;
}

/* 線のパーツと肩書きの英語 */
.sub-titles {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.sub-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: #ff7ec7;
}

.sub-text-en {
  font-size: 14px;
  color: #ff7ec7;
  letter-spacing: 0.1em;
  margin: 0;
}
.pc-menu{
margin-top: 20px;
}

/* ナビゲーションメニューのベース */
.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  /* ← これを追加！画面の右外に隠します */
  width: 100%;
  height: 100dvh;
  background-color: rgba(255, 255, 255, 0.98);
  transition: right 0.4s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 3. TOPページ共通ハンバーガーメニュー */
.menu-icon {
  position: fixed;
  /* 画面右上に固定 */
  top: 20px;
  right: 20px;
  pointer-events: auto;
  /* ★クリックを確実に反応させる */
  z-index: 2000;
  /* ★最前面に持ってくる */
  width: 30px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #333333;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* メニューの中の文字のデザイン */
.sp-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;

  width: 50%;
  height: 100vh;
  /* background-color: rgb(255, 195, 247); */
  background: linear-gradient(to bottom, #7686cc, #deb1e5, #fd97b4);
  position: fixed;
  top: 0;
  right: 0;
}

.sp-menu-list li {
  margin: 35px 0;
}

.sp-menu-list a {
  font-size: 18px;
  color: #2b2b2b;
  text-decoration: none;
  letter-spacing: 0.15em;
  font-weight: 500;
  display: block;
  padding: 10px 30px;
  transition: color 0.3s ease;
}

.sp-menu-list a:hover {
  opacity: 0.7;
  transition: opacity 0.3s;
  color: #ff7ec7;
}

/* 💡スマホ用メニュー画面（最初は画面の右側に隠しておく） */
.sp-menu-screen {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  width: 100vw;
  height: 100vh;
  /* background-color: #f0f; */
  z-index: 900;
  box-sizing: border-box;
  pointer-events: none;
  /* 文字を中央寄せで綺麗に中に収めるレイアウト */
  display: flex;
  justify-content: center;
  align-items: center;

  transform: translateX(100%);
  transition: transform 0.4s ease-in-out;
}

/* --- 開いた時（JSで .is-active クラスが付与された時） --- */
.sp-menu-screen.is-active {
  transform: translate3d(0, 0, 0);
  /* スーッと画面内に入ってくる */
  /* ★【重要】開いた時だけメニュー内のクリックを受け付ける */
  pointer-events: auto;
}

/* バツ印（×）に変形させるアニメーション */
.menu-icon.is-active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.menu-icon.is-active span:nth-child(2) {
  opacity: 0;
  /* 真ん中の線を消す */
}

.menu-icon.is-active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}


/* ヘッダー右下スクロールエリア(ロゴ) */
.scroll-area {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 100;
}

.scroll-box {
  text-align: center;
}

.scroll-txt {
  font-size: 11px;
  font-family: monospace;
  color: #333;
  margin: 0 0 4px 0;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.scroll-img {
  width: 60px;
  height: auto;
  display: block;
  margin: 0 auto;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.scroll-img:hover {
  opacity: 0.8;
  transform: scale(1.05);
  /* ホバーした時に少し大きくなる素敵な演出 */
}

/* --- 作品集エリア（スマホ：縦にまっすぐ並べる） --- */
/* セクション全体 縦線あり*/
/* .works-section {
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
} */

/* 作品集セクションの下側余白を調整 */
.works-section {
  width: 100%;
  padding: 40px 20px 20px;
  /* ★一番後ろ（下側）を 40px → 20px に縮小 */
  box-sizing: border-box;
}

/* タイトルエリア（線と文字を横並びにする） */
.section-title-wrapper {
  display: flex;
  /* 横並びにする */
  align-items: center;
  /* 上下中央に揃える */
  gap: 16px;
  /* 線と文字の間の隙間 */
  margin-bottom: 32px;
  /* 下のコンテンツとの余白 */
}

/* 左側の線 */
.title-line {
  display: block;
  width: 60px;
  /* スマホでの線の長さ */
  height: 1px;
  /* 線の太さ */
  background-color: #333;
  /* 線の色（黒〜濃いグレー） */
  flex-shrink: 0;
  /* 画面が狭くなっても線が縮まないようにする */
}

/* 見出しテキスト */
.section-title {
  font-size: 20px;
  /* スマホ用の文字サイズ */
  font-weight: bold;
  color: #333;
  letter-spacing: 0.15em;
  /* 文字と文字の間隔 */
  margin: 0;
  padding: 0;
  /* 余計な余白をリセット */
  border-bottom: none;
  /* ★古い下線を消す */
}

.category a:hover {
  opacity: 0.7;
  transition: opacity 0.3s;
  text-decoration: underline;
}

/* ==========================================
   作品集（WORKS）無限スライダー（PC・共通設定）
   ========================================== */
/* 帯は背景を透明にして余白だけに */
.works-slider-wrapper {
  background-color: transparent;
  padding: 50px 0;
  border: none;
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* 作品集スライダー用のループ箱 */
.works-slider-loop {
  display: flex;
  width: max-content;

  /* アニメーション指定 */
  animation: works-infinite-scroll 25s linear infinite;

  /* 移動中に写真が消える・チラつくのを防ぐパフォーマンスプロパティ */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ホバーで止めたい場合は、下のコメントアウト（/* と *\/）を外してね
.works-slider-loop:hover {
  animation-play-state: paused;
}
*/
/* =========================================
   【1】枠（手帳の箱）の設定（上書き）
   ========================================= */
.works-slider-wrapper .feature-box {
  width: 400px;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;

  /* 💡【超重要】写真が枠からはみ出るのを防ぎ、中でズームさせる */
  overflow: hidden;

  /* 写真を枠いっぱいに広げる */
  padding: 0;
  box-sizing: border-box;

  background-color: rgba(255, 249, 243, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 249, 243, 0.6);

  /* 💡影の変化は枠側につける */
  box-shadow: 0 6px 16px rgba(16, 15, 15, 0.05);
  transition: box-shadow 0.3s ease;
  /* 影を滑らかに */
}

/* 枠をホバーしたとき、影を少し強くする（浮き出す効果） */
.works-slider-wrapper .feature-box:hover {
  box-shadow: 0 12px 24px rgba(16, 15, 15, 0.15);
}

/* =========================================
   スライダー内の写真（常に端まで全体を表示）
   ========================================= */
.works-slider-wrapper .feature-box img {
  width: 100%;
  height: 100%;
  display: block;
  max-width: none;
  max-height: none;

  /* 💡【超重要】切り落とさず、常に作品の全体を枠内に綺麗に収める！ */
  object-fit: contain;

  /* 💡【隠し味】枠のギリギリまで作品を見せるため、内側の余白を少し詰める */
  padding: 4px;
  box-sizing: border-box;

  /* ホバー時にすーっと少し浮く効果だけ残したい場合はこれ（お好みで） */
  transition: transform 0.3s ease;
}

/* 💡（お好み）ホバーした時にカード自体が少し浮き上がる演出だけ残す場合 */
.works-slider-wrapper .feature-box:hover img {
  transform: scale(1.05);
  /* ほんの少しだけふんわり大きく */
}

/* アニメーションの動き（滑らかさを保つ3D処理） */
@keyframes works-infinite-scroll {
  0% {
    transform: translate3d(-50%, 0, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

@media screen and (max-width: 768px) {
  .works-slider-wrapper {
    padding: 10px 0 10px;
    /* スマホ用に上下余白を少し詰める */
  }
}


/* ==========================================
   作品集（WORKS）スマホ版
   ========================================== */
/* スマホ用の間隔 */
/* 1. カード全体を包むコンテナ */
.works-container {
  display: flex;
  flex-direction: column;
  /* スマホでは縦に1列に並べる */
  gap: 40px;
  /* カードとカードの間のすき間 */
  padding: 24px;
  /* 画面の左右に作る余白 */
  box-sizing: border-box;
}

/* 2. カード1枚ごとの設定 */
/* スマホは写真を上、テキストを下にするため縦並び */
.works-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20%;
  /* 写真とテキストの間隔 */
  margin-bottom: 0;
  /* gapで管理するため一度リセット */
  width: 100%;
  background-color: #ffffff;
  /* 必要に応じて背景を白に（カンプに合わせて調整してください） */
  border-radius: 8px;
  /* ほんの少し角を丸くして今っぽく */
  overflow: hidden;
  /* 写真の角丸も一緒に削る設定 */
}

/* 3. 作品写真の箱 */
/* 作品写真の箱（透明感のある紙風アレンジ） */
.works-photo {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  /* 写真がはみ出さないようにガード */
  /* 💡ここがポイント：半透明の白（最後の0.65が透明度。0に近づくほど透明になるよ） */
  background-color: rgba(255, 249, 243, 0.4);

  /* 💡魔法の隠し味：背景をすりガラスみたいにぼかす（これがあると文字が見やすくなる！） */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* Safari対策 */
  padding: 12px;
  box-sizing: border-box;
  /* 縁取り（枠線）をうっすら入れると、さらに紙の輪郭が綺麗に見えるよ */
  border: 1px solid rgba(255, 249, 243, 0.6);
  /* ここで最初からお気に入りの影（例えば少し薄め）を指定しておきます */
  box-shadow: 0 6px 16px rgba(16, 15, 15, 0.05);
  /* cursor: pointer; */
}

/* 中の写真の設定 */
.works-photo img {
  width: 100%;
  height: 100%;
  /*縦横比を崩さずに、横幅いっぱいに自動調整する */
  display: block;
  object-fit: contain;
  /*【重要】もし枠の高さが決まっていても、画像が絶対に切れないように枠内に収める */
  transition: transform 0.5s ease, opacity 0.5s ease;
  /* 💡最初は少し淡く（0.8）しておき、サイズは通常（scale: 1） */
  opacity: 0.75;
  transform: scale(1);
}

.works-photo:hover img {
  opacity: 1;
  /*透明度を100%にして、写真をパッと鮮やかに見せる */
  transform: scale(1.06);
  /* 1.05倍（ほんの少しだけ）その場でじわっと拡大する */
}


/* 4. テキストが入る部分の余白 */
.works-text {
  width: 100%;
  /* スマホは横幅いっぱい */
  padding: 16px 8px 8px;
  /* 写真の下、文字の周りに適度なすき間を作る */
}

/* 5. カテゴリ（#banner など） */
.works-text .category {
  /* クラス名のドットの修正（後述） */
  font-size: 13px;
  color: #ff7ec7;
}

/* 6. 作品タイトル（バナー制作 など） */
.works-text h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333333;
  margin: 0 0 8px 0;
  /* 下の説明文との間のすき間 */
}

/* 7. 説明文 */
.works-text p {
  font-size: 13px;
  color: #666666;
  line-height: 1.5;
  margin: 0 0 12px 0;
  /* 下の英語テキストとの間のすき間 */
}

/* 8. 英語の補足テキスト（banner design など） */
.sub-text {
  display: block;
  font-size: 11px;
  color: #999999;
  font-style: italic;
  /* 斜体にしてデザインに変化をつける */
  margin-bottom: 12px;
}

/* 9. 詳しくみる→ のリンク */
.more-link {
  position: relative;
  /* 下線の位置の基準にします */
  display: inline-block;
  color: #333333;
  /* 文字色 */
  font-size: 14px;
  letter-spacing: 0.1em;
  padding-bottom: 4px;
  /* 文字と下線の間の余白 */
  text-decoration: none;
  /* ブラウザ標準の下線を消す */
}

.more-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  /* 最初は下線を隠しておく */
  height: 1px;
  /* 下線の太さ */
  background-color: #333333;
  /* 下線の色 */
  transition: width 0.3s ease;
  /* 0.3秒かけて伸びる設定 */
}

.more-link:hover::after {
  width: 110%;
}

/* WORKS「全てみる」ボタン（スマホ版） */
/* 1. 外側の箱（親）：ここで真ん中寄せと、上の作品との余白を作ります */
.works-btn-wrapper {
  text-align: center;
  /* 中のボタンを中央に寄せる */
  margin-top: 40px;
  /* 上の4つ目の作品との間のすき間 */
  margin-bottom: 20px;
  /* 次のセクション（CONTACT）との間のすき間 */
}

/* --- ベースのボタン設定 --- */
.btn-all-view {
  position: relative;
  /* 枠線の位置の基準にします */
  display: inline-block;
  padding: 14px 40px;
  background-color: #ffa9da;
  /* 背景色 */
  color: #ffffff;
  /* 文字色 */
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.1em;
  border-radius: 4px;
  /* ※枠線を一周させるため角丸を少し控えめにすると綺麗に見えます */
  z-index: 1;
  /* 文字が線の上にくるように設定 */
  transition: color 0.4s ease, background-color 0.4s ease;
  overflow: hidden;
  /* 枠線が飛び出ないように隠す */
}

/* --- 1. 上と右の線を作る設定 (::before) --- */
.btn-all-view::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 2px solid #ffa9da;
  /* 上の線 */
  border-right: 2px solid #ffa9da;
  /* 右の線 */
  box-sizing: border-box;
  transition: width 0.15s ease 0s, height 0.15s ease 0.15s;
  /* 上→右の順に伸びる */
}

/* --- 2. 下と左の線を作る設定 (::after) --- */
.btn-all-view::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-bottom: 2px solid #ffa9da;
  /* 下の線 */
  border-left: 2px solid #ffa9da;
  /* 左の線 */
  box-sizing: border-box;
  transition: width 0.15s ease 0.3s, height 0.15s ease 0.45s;
  /* 下→左の順に伸びる */
}

/* --- マウスを乗せた（ホバー）時の指定 --- */

/* 背景色を白にして文字を紫に変える */
.btn-all-view:hover {
  background-color: #ffffff;
  color: #ffa9da;
}

/* 上と右の線を伸ばす (横幅100% -> 高さ100%) */
.btn-all-view:hover::before {
  width: 100%;
  height: 100%;
}

/* 下と左の線を伸ばす (横幅100% -> 高さ100%) */
.btn-all-view:hover::after {
  width: 100%;
  height: 100%;
}

/* 下線の上のペンアイコン */
/* .title-icon { */
/* position: absolute;
  bottom: -2px;                   /* 下線にぴったり重ねる */
/* right: -25px;                   /* 文字の右側にはみ出させる */
/* width: 18px; */
/* height: 18px; */
/* インラインSVGでペンを直接描画 */
/* background-image: url();
  background-size: contain;
  background-repeat: no-repeat; */
/* } */

/* ==========================================
  　自己紹介セクション（スマホ版）
   ========================================== */
/* 全体の余白 縦線あり*/
/* .about-section{
  padding: 60px 20px;
  background-color: #fff;
  text-align: left;
} */

/* 自己紹介セクションの上側余白を調整 */
.about-section {
  padding: 30px 20px 60px;
  /* ★一番前（上側）を 60px → 30px に縮小 */
  background-color: #fff;
  text-align: left;
}

/* 自己紹介の見出し（作品集の見出しデザイン・位置と統一） */
.about-title {
  display: inline-block;
  /* 文字の幅に下線を合わせる */
  font-size: 24px;
  font-weight: normal;
  color: #333333;
  padding-bottom: 8px;
  /* 文字と線のすき間 */
  margin-bottom: 40px;
  border-bottom: 1px solid #333333;
  /* ノートのような下線 */
  position: relative;
  /* 位置決めの基準 */
  text-align: left;

  /* 左端によりすぎないよう、配置の開始位置を作品集コンテナに合わせる */
  margin-left: 20px;
}

.about-container {
  display: flex;
  flex-direction: column;
  /* 縦並び */
  align-items: center;
  gap: 30px;
  /* 写真とテキスト間の隙間 */
  max-width: 500px;
  /* スマホ画面で広がり過ぎないように */
  margin: 0 auto;
  /* 画面中央に配置 */
}

.about-image {
  position: relative;
  /* 丸いスタンプの基準 */
  width: 80%;
  /* スマホ画面で程よい大きさに */
  max-width: 300px;
  line-height: 0;
}

/* くるくるスタンプ */
.welcome-stamp {
  position: absolute;
  /* ★写真の右上にはみ出して重ねる設定 */
  top: -40px;
  /* 上に40pxはみ出す */
  right: -30px;
  /* 右に30pxはみ出す */
  width: 100px;
  /* スタンプのサイズ */
  height: 100px;
  z-index: 10;
  /* 写真よりも手前に表示させる */
  animation: rotation 10s linear infinite;
  /* 10秒で1周、無限ループ*/
}

/* svgの中の文字スタイル */
.welcome-stamp text {
  font-size: 8.5px;
  letter-spacing: 1.2px;
  fill: #333;
}

/* 無限回転アニメーション */
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.about-image {
  width: 80%;
  /* 画面幅に対して余裕 */
  max-width: 300px;
  /* 大きくなり過ぎない上限 */
  line-height: 0;
  /* 画面下の謎の隙間ができないように */
}

.about-image img {
  width: 100%;
  /* 箱の横幅いっぱいに画像を表示 */
  height: auto;
  object-fit: cover;
}

/* テキストやボタンをまとめた箱 */
.about-container {
  width: 100%;
  text-align: left;
}

.profile-name {
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 15px;
  color: #333;

}

.profile-text {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 30px;
  letter-spacing: 0.05em;
}

/* ボタン全体の設定 */
.btn-more a {
  background: #eee;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 240px;
  padding: 10px 25px;
  color: #313131;
  transition: 0.3s ease-in-out;
  font-weight: 500;
}

.btn-more a::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border: 2px solid #ffa9da;
  transition: 0.2s;
}

.btn-more a::after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 3px solid #333333;
  border-right: 3px solid #333333;
  transform: rotate(45deg);
}

.btn-more a:hover::before {
  top: 0;
  left: 0;
}

.btn-more a:hover {
  text-decoration: none;
  background-color: #ffa9da;
}


.about-message-area {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 24px;
  padding: 0 24px;
  box-sizing: border-box;
}

.message-icon {
  width: 70px;
  height: 70px;
  background-color: #dddddd;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  margin: 0 auto 20px;

  font-size: 11px;
  color: #666666;
}

/* 説明テキスト */
.message-text {
  font-size: 13px;
  /* スマホで見やすい程よいサイズ */
  line-height: 1.6;
  /* 2行になったときの行間を少しあけて読みやすく */
  color: #333333;
  letter-spacing: 0.05em;
  /* 文字の間隔を少しあけて洗練された印象に */
  margin: 0;
}

/* スライダーを画面幅でスパッと切るための窓口 */
.about-slider-wrapper {
  width: 100%;
  overflow: hidden;
  /* 画面外にはみ出た写真を見えなくする */
  padding: 20px 0;
}

/* 2つの塊を横いっぱいに並べる箱 */
.about-slider-loop {
  display: flex;
  width: max-content;

  /* ★「infinite-scroll」というアニメーションを「20秒」かけて「等速」で「無限」に回す */
  animation: infinite-scroll 20s linear infinite;
}

/* 6枚の写真を1セットにした塊 */
.slider-track {
  display: flex;
  gap: 16px;
  /* 写真同士のすき間 */
  padding-right: 16px;
  /* 1つ目と2つ目の塊の間にも同じすき間をあける */
}

/* 写真を入れる正方形の箱 */
.feature-box {
  /* スマホ画面で大体3枚見えるサイズ */
  width: calc((100vw - 32px) / 3);
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.feature-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ★左から右へ無限ループさせるアニメーション（半分まで進んだら最初に戻す） */
@keyframes infinite-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
    /* 2つの塊のちょうど半分（1セット分）動いたら0%にリセット */
  }
}

/* アニメーション用の縦線 */
/* .connect-line {
  width: 1px;
  height: 60px;
  background-color: #333333;
  margin: 20px auto 0;
} */

/* ==========================================
   TOP下部 横長ビジュアルエリア（モバイルファースト）
   ========================================== */

/* ベース（スマホ表示） */
.bottom-hero-wrapper {
  width: 100vw;
  /* ビューポート（画面全体）の横幅いっぱいにする */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  /* 親要素に余白があっても無視して画面真ん中に全幅配置 */
  margin-top: 60px;
  margin-bottom: 0;
  padding: 0;
  overflow: hidden;
  /* アニメーション前の状態（透明 ＋ 30px下） */
  opacity: 0;
  transform: translateX(-50%) translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* --- スクロールして表示された時（JSでクラスが付与された時） --- */
.bottom-hero-wrapper.is-show {
  /* ※JSで追加されるクラス名が is-show の場合 */
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  /* 元の位置へ */
}

.bottom-hero-img {
  width: 100%;
  height: 180px;
  /* ★ここでお好みの細長さ（高さ）にトリミング調整 */
  object-fit: cover;
  /* 画像を歪ませずに指定した高さで綺麗に切り取る */
  object-position: center;
  /* 画像の真ん中を中心に切り取る */
  display: block;
  /* 下部の数pxの無駄な隙間を消す */
  border-radius: 0;

  /* ホバーアニメーションの準備
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform; */
}

/* ==========================================
   CONTACTセクション
   ========================================== */
.contact-section {
  width: 100%;
  /* 上側はゆるやかなアーチに対応できるよう広め、下側はフッターにピタッとくっつける */
  padding: 100px 24px 80px;
  box-sizing: border-box;
  text-align: center;
  /* background: linear-gradient(to bottom, #dbeeff, #fbf2eb); */
  background: linear-gradient(to bottom, #7686cc, #deb1e5, #fd97b4);
}

/* イラストの丸バッジ*/
.contact-badge {
  margin: 0 auto 24px;
  display: inline-block;
}

.contact-lead {
  font-size: 13px;
  color: #333333;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

/* ★上品な白抜きCONTACTタイトル */
.contact-big-title {
  font-size: clamp(28px, 8vw, 36px);
  font-weight: 300;
  /* 細めのすっきりしたフォント */
  font-family: 'Helvetica Neue', Arial, sans-serif;
  /* 洗練されたゴシック系 */
  color: transparent;
  /* 文字の中身を透明に */
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
  /* 白い細いフチ取り */
  letter-spacing: 0.15em;
  margin: 0 auto 16px;
  word-break: break-word;
}

.contact-sub {
  font-size: 11px;
  color: #555555;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

/* ボタン本体に基準と切り抜きを設定 */
.email-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 300px;
  padding: 12px 8px;
  margin: 0 auto;
  background-color: #ffffff;
  color: #ff7ec7;
  text-decoration: none;
  font-size: 11px;
  font-weight: bold;
  border: 1px solid #ffa9da;
  border-radius: 30px;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.6s ease;
  box-sizing: border-box;
  word-break: break-all;
}

/* 光の帯（普段は左外に隠しておく） */
.email-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  background: rgba(255, 255, 255, 0.8);
  /* 光の色（白い半透明） */
  transform: rotate(30deg);
  /* 斜めに傾ける */
  transition: transform 0.6s ease, left 1.0s ease;
}

/* ホバー時に左から右へ光を走らせる */
.email-btn:hover::after {
  left: 120%;
}

/* ホバー時にボタン自体もほんのり浮き立たせる */
.email-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 169, 218, 0.4);
}

/* ==========================================
   フッター
   ========================================== */
.footer {
  width: 100%;
  background-color: #ffffff;
  /* 完全な白 */
  padding: 0 24px 0 20px;
  box-sizing: border-box;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  /* スマホでは縦並び */
  align-items: center;
  gap: 16px;
}

/* フッターのナビゲーション */
.footer-nav {
  display: flex;
  gap: 8px;
  font-size: 11px;
  white-space: nowrap;
  /* 途中で改行させない */
  justify-content: center;
}

.footer-nav a {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
  /* ★ ふわっと変わる効果（0.3秒） */
}

/* ★ ホバーした文字だけ色を変える */
.footer-nav a:hover {
  color: #ff7ec7;
}

.footer-nav span {
  color: #cccccc;
}

/* コピーライト */
.copyright {
  font-size: 10px;
  color: #666666;
  letter-spacing: 0.08em;
  margin: 0;
}

.instagram-area {
  text-align: center;
  margin-top: 40px;

  /* 👇アイコンと文字をまとめて、ほんのり透けさせる（透明度60%） */
  opacity: 0.6;

  /* マウスを乗せたときに、ふわっと100%の濃さに戻る遊び心を入れるとさらにおしゃれです */
  transition: opacity 0.3s;
}

.instagram-area:hover {
  opacity: 1;
  /* ホバーするとくっきり光るような演出 */
}


/* TOPへ戻るロゴボタンの固定配置 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  /* 画面下からの距離 */
  right: 30px;
  /* 画面右からの距離 */
  z-index: 99;
  /* 他の要素より手前に表示 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 画像ロゴのサイズ指定 */
.back-to-top img {
  width: 70px;
  /* お好みの大きさに調整してね */
  height: auto;
  display: block;
}

/* ホバーした時のやさしい動き（少し浮いて少し透ける） */
.back-to-top:hover {
  transform: translateY(-5px);
  /* ふわっと5px上に浮く */
  opacity: 0.7;
  /* 少し透明になる */
}

/* 📱 スマホ表示の調整 */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 55px;
    right: 20px;
  }

  .back-to-top img {
    width: 40px;
    /* スマホでは少しコンパクトに */
  }
}

/* ==========================================================================
  　3. PC用スタイル（画面幅が768px以上になったら適用）
   ========================================================================== */
@media (min-width: 768px) {

  /* PCの広い画面に合わせて、移動量や時間をゆったりめ調整 */
  .photo-area .kv-img {
    animation-duration: 1.5s;
  }

  .header-title-container {
    animation-duration: 1.0s;
    animation-delay: 0.2s;
  }

  .pc-menu {
    opacity: 0;
    animation: topFadeInUp 0.8s ease-out 0.4s forwards;
    display: none;
  }

  .fade-in-up {
    transform: translateY(30px);
    /* PCは30pxゆったり動かす */
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  /* PCカードのカード時間差（1つずつふわっと） */
  .works-item:nth-child(1) {
    transition-delay: 0s;
  }

  .works-item:nth-child(2) {
    transition-delay: 0.15s;
  }

  .works-item:nth-child(3) {
    transition-delay: 0.3s;
  }

  .works-item:nth-child(4) {
    transition-delay: 0.45s;
  }

  .section-title-wrapper,
  .works-item,
  .works-btn-wrapper,
  .about-container,
  .about-message-area {
    transform: translateY(30px);
    /* PCはゆったり30px */
    transition-duration: 0.8s;
  }

  /* ヘッダーを元の横並びに戻す */
  /* .site-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 50px;
    height: 100vh;
  } */

  .site-header {
    background-color: #fff;
    position: relative;
    width: 100%;
    height: 100vh;
  }

  .photo-area {
    left: 50%;
    transform: translateX(-50%);
    width: 45vw;
    max-width: 500px;
    height: 100vh;
  }

  /* タイトルの位置を調整（カンプの左側の位置へ） */
  .header-title-container {
    position: absolute;
    top: 32%;
    left: 6%;
    /* ➔ 768px画面でも写真とぶつからないように少し左に寄せる */
    z-index: 10;
  }

  .site-title a {
    font-size: 46px;
  }

  .menu-icon {
    display: none;
  }

  /* 💡【追加】パソコン画面では、スマホ用のメニュー（開いた状態も含めて）を完全に無効化する */
  .nav-menu,
  .nav-menu.is-active,
  /* 💡ここがポイント！開いた状態のクラス名も一緒に指定します */
  .nav-menu.open {
    /* （もし open というクラス名を使っていたらこれも念のため） */
    display: none;
    /* ➔ パソコン画面では絶対に表示させない */
  }

  /* 💡ここにPC用の見た目を全部まとめる！ */
  .pc-menu {
    display: flex;
    /* スマホの none を打ち消して表示 */
    flex-direction: row;
    /* 縦書きの「棒」を横に並べる */
    position: absolute;
    top: 60px;
    right: 6%;
    z-index: 10;
    gap: 18px;
    margin: 0px;
    padding: 0;
    list-style: none;
  }

  .pc-menu li {
    writing-mode: vertical-rl;
    /* 文字を縦書きにする */
  }

  .pc-menu a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    letter-spacing: 0.2em;
  }

  .pc-menu a:hover {
    opacity: 0.7;
    transition: opacity 0.3s;
  }

  /* 作品集を元の美しい横並び・交互並びに戻す */
  /* コンテナの幅を制限して中央寄せ */
  .works-section {
    max-width: 1000px;
    margin: 0 auto;
    /* padding: 80px 20px; PC向けにゆったりした余白　縦線あり */
    padding: 60px 20px 30px;
    /* PCでの下側余白をキュッと引き締め */
  }

  /* タイトルとコンテンツの間の余白を広げる */
  .section-title-wrapper {
    gap: 24px;
    /* PCでは線と文字の隙間を少し広く */
    margin-bottom: 48px;
  }

  /* PCでは線を長めにする */
  .title-line {
    width: 100px;
    /* 画像のような長めの線に指定 */
  }

  /* PCでは文字を大きく */
  .section-title {
    font-size: 28px;
  }

  .works-item {
    flex-direction: row;
    /* 横並びに戻す */
    justify-content: space-between;
    align-items: center;
    gap: 0;
    /* 横並び時はwidthで幅調整するためgapを0に */
  }

  .works-photo {
    width: 48%;
    /* 元の設計通り約半分 */
  }

  .works-text {
    width: 45%;
    /* 元の設計通り残りのスペース */
  }

  .works-item:nth-child(even) {
    flex-direction: row-reverse;
    /* 偶数番目の反転を復活 */
  }

  .works-text h3 {
    font-size: 20px;
  }

  .works-text p {
    font-size: 15px;
  }

  /* ★PC：白いモヤを消す */
  .site-title::before {
    opacity: 0;
    visibility: hidden;
  }

  /* ※PC時の文字色調整が必要な場合はここに記述 */
  .site-title a {
    color: #333333;
    /* 黒で固定 */
  }

  /* ==========================================
     「わたしのこと」セクションのPC調整
     ========================================== */
  .about-container {
    flex-direction: row;
    /* 横並びにする */
    justify-content: space-between;
    /* 左右の端に綺麗に割り振る */
    align-items: center;
    /* 上下の中心を揃える */
    gap: 60px;
    /* 写真とテキストの間のゆったりした余白 */
    width: 100%;
    /* 50%から100%に広げて画面を広く使う */
    max-width: 1000px;
    /* 広がりすぎないようにストッパーをかける */
    margin: 0 auto 60px;
    /* 中央寄せにする */
    padding-left: 40px;
    padding-right: 60px;
    box-sizing: border-box;
  }

  /* ★作品集見出しと位置を統一する設定 */
  /* 縦線あり */
  /* .about-section {
    padding: 100px 50px;
    max-width: 1200px;
    margin: 0 auto;
  } */
  .about-section {
    padding: 40px 50px 80px;
    /* PCでの上側余白をキュッと引き締め */
    max-width: 1200px;
    margin: 0 auto;
  }

  .about-title {
    font-size: 24px;
    margin-left: 0;
    margin-bottom: 60px;
  }

  /* 左側：テキストエリアのPCサイズ */
  .about-content {
    order: 1;
    /* HTMLの並び順に関わらず、必ず左側に配置 */
    flex: 1;
    max-width: 500px;
  }

  /* 右側：写真エリアのPCサイズ */
  .about-image {
    order: 2;
    /* HTMLの並び順に関わらず、必ず右側に配置 */
    width: 45%;
    /* 作品集と同じくらいの美しいサイズ感 */
    max-width: 380px;
    /* 大きくなりすぎない制限 */
    margin: 0 40px 0 auto;
  }

  /* 🌀 回転スタンプをPC用に少し大きく、位置を右上に調整 */
  .welcome-stamp {
    top: -40px;
    right: -40px;
    width: 130px;
    height: 130px;
  }

  .bottom-hero-wrapper {
    max-width: 1200px;
    /* サイト全体の最大幅 */
    margin: 100px auto 0;
    padding: 0 48px;
    margin-top: 100px;
    /* PCでは上の余白を少し広げるとゆったり見えます */
  }

  .bottom-hero-img {
    height: 320px;
    /* ★PC画面に合わせたおすすめの高さ（お好みで 250px〜400px に調整可） */
    object-position: center 40%;
    /* 画像のどこを中心に切り抜くか（上下位置の調整） */
  }

  /* PCのみ：ホバー時に微細に拡大
  .bottom-hero-wrapper:hover .bottom-hero-img {
    transform: scale(1.02);
    /* }  */
  .contact-big-title {
    font-size: 100px;
    /* PCでは圧倒的に大きく */
  }

  .contact-sub {
    font-size: 12px;
    margin-bottom: 24px;
  }

  /* PC用のボタンサイズへ拡張 */
  .email-btn {
    max-width: 340px;
    font-size: 13px;
    gap: 8px;
    letter-spacing: 0.05em;
  }

  .footer-container {
    flex-direction: row;
    /* 横並びにする */
    justify-content: space-between;
    /* 左と右に綺麗に振り分ける */
  }

  /* .footer {
    padding: 24px 24px;
  }
  .footer-container {
    gap: 12px;
  }
  .footer-nav {
    gap: 12px;
  } */

  .scroll-area {
    right: 6%;
    bottom: 40px;
    z-index: 10;
  }

  .works-slider-loop {
    margin-bottom: 80px;
  }

}