@charset "utf-8";

/* =========================================== */
/* 基本設定 */
/* =========================================== */
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;
}

/* ページ全体の横スクロールを禁止する */
body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
  font-size: 16px;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
  font-family: "superclarendon", "Zen Kaku Gothic New", sans-serif;
}

p,
span,
h3 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 18px;
  color: #333;
  line-height: 2.5em;
  margin: 0;
  font-weight: normal;
  /* --- ここから追加 --- */
  text-align: justify;
  /* 文字を左右いっぱいに広げて端を揃える */
  text-justify: inter-character;
  /* 日本語の文字間を調整して端を揃える */
  word-break: break-all;
  /* 長い英単語などが来ても強制的に端で改行する */

}

/* =========================================== */
/* ローディング画面の背景と中央配置設定 */
/* =========================================== */

/* --- ローディング画面の基本 --- */
#loading-screen {
  position: fixed;
  inset: 0;
  background-color: #ffffff;
  z-index: 9999;
  transition: opacity 0.4s ease;
  /* 少し速く閉じるように変更 */
}

/* --- ロゴボックスの配置 --- */
.logo-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  /* 縦並び */
  align-items: center;
  /* 左右中央揃え */
  justify-content: center;
  gap: 8px;
  /* テキストと画像の間隔 */
  z-index: 10000;
  transition: all 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

#moving-logo {
  width: 120px;
  /* 前回の修正通り小さめに設定 */
  height: auto;
}

/* 移動開始時の挙動 */
.moving-now {
  gap: 0px !important;
}

.moving-now .status-text {
  opacity: 0 !important;
  display: none;
}

/* 画像サイズを小さく調整 */
#moving-logo {
  width: 120px;
  /* 200pxから120pxへ縮小 */
  height: auto;
  display: block;
}

.status-text {
  font-family: 'Arial Black', sans-serif;
  font-size: 22px;
  /* 少し小さくしてバランス調整 */
  color: #000;
  white-space: nowrap;
  text-align: center;
}

.blinking {
  animation: blink 0.5s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hidden {
  display: none !important;
}

/* =========================================== */
/* ヘッダー */
/* =========================================== */

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9998;
  background: transparent;
  padding: 20px 0;
}

.header-inner {
  max-width: 1400px;
  height: 90px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.logo {
  width: 100px;
}

.logo img {
  width: 100%;
  vertical-align: middle;
}

/* 本物のロゴは移動が終わるまで隠しておく */
#actual-header-logo {
  opacity: 0;
}


.logo a {
  width: 100%;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav ul {
  display: flex;
  border-radius: 20px;
  list-style: none;
  /* 点を消す */
  padding: 20px;
  margin: 0 20px;
}



.nav ul li a {
  position: relative;
  color: #333;
  text-decoration: none;
  margin: 0 30px;
  font-weight: bold;
  display: inline-block;
  cursor: pointer;
  font-size: 24px;
}

.nav ul li a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #000000;
  bottom: -1px;
  transform: scale(0, 1);
  transform-origin: right top;
  /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
  transition: transform 0.3s;
  /*変形の時間*/
}

.nav ul li a:hover::after {
  transform: scale(1, 1);
  /*ホバー後、x軸方向に1（相対値）伸長*/
  transform-origin: left top;
  /*左から右に向かう*/
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
/* ハンバーガーメニューの基本設定 */
/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.hamburger {
  /* position: absoluteではなく、flexの中で制御するのが今風です */
  display: block;
  width: 40px;
  height: 30px;
  cursor: pointer;
  position: relative;
  z-index: 10000;
}

/* 3本線のデザイン */
.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  /* 線を細くすると繊細でおしゃれになります */
  background-color: #333;
  position: absolute;
  left: 0;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  /* 動きを滑らかに */
}

/* 線の配置（計算して均等に） */
.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

/* メニューが開いた時のアニメーション 
   中央でクロスするように調整
*/
.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.95);
  /* 背景色 */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 9998;
}

.nav.active {
  opacity: 1;
  visibility: visible;
}

.nav ul {
  flex-direction: column;
  /* 縦並び */
  padding: 0;
  margin: 0;
}

.nav ul li a {
  font-size: 24px;
  margin: 20px 0;
  display: block;
}


/* =========================================== */
/* メイン */
/* =========================================== */

/* --- トップセクション全体 --- */
.top {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* --- コンテナ --- */
.top-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* --- メインビジュアル（テキストの親枠） --- */
.main-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1100px;
  padding: 20px;
  box-sizing: border-box;
}

/* --- 画像のコンテナ配置 --- */
.oval-decoration {
  position: absolute;
  inset: clamp(20px, 5vw, 90px);
  z-index: -1;
  pointer-events: none;
}

/* --- 中の画像のスタイル --- */
.oval-decoration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* =========================================== */
/* テキストのデザインとアニメーション */
/* =========================================== */

/* --- テキスト共通の「初期状態（透明で少し下）」と「影」 --- */
.sub-text-top,
.main-name,
.category-text {
  color: #ffffff;
  text-align: center;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.6);

  /* アニメーション前の隠れた状態 */
  opacity: 0;
  transform: translateY(30px);
}

/* 1. Portfolio 部分 */
.sub-text-top {
  font-family: "superclarendon", serif;
  font-size: clamp(22px, 4vw, 48px);
  font-weight: bold;
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0.15em;
}

/* 2. Nana Shiozaki 部分 */
.main-name {
  font-family: "superclarendon", serif;
  font-size: clamp(40px, 8vw, 86px);
  font-weight: bold;
  line-height: 1.1;
  margin: 0.5em 0;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* 3. Web / Graphic design 部分 */
.category-text {
  font-family: "superclarendon", serif;
  font-size: clamp(14px, 2vw, 22px);
  font-weight: bold;
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0.15em;
}

/* --- JSで .show が付いた時に「順番に」表示される設定 --- */
.main-visual.show .sub-text-top {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease-out 0s;
  /* 0.2秒後に開始 */
}

.main-visual.show .main-name {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease-out 0.2s;
  /* 0.6秒後に開始 */
}

.main-visual.show .category-text {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease-out 0.4s;
  /* 1.0秒後に開始 */
}

/* =========================================== */
/* スクロールバーのデザインとアニメーション */
/* =========================================== */

/* --- スクロールバーの初期状態 --- */
.container_01 {
  position: absolute;
  bottom: 10%;
  left: 50%;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.7));

  /* アニメーション前の隠れた状態 */
  opacity: 0;
  transform: translateX(-50%) translateY(30px);
  pointer-events: none;
  /* 見えない時はクリックできないようにする */
}

/* --- JSで .show が付いた時に表示される設定 --- */
.container_01.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.4s ease-out 0.4s, transform 0.4s ease-out 0.4s;
  /* 1.5秒後に開始 */
  pointer-events: auto;
  /* 表示されたらクリック可能に */
}

.container_01 a:hover {
  opacity: 0.7;
}

.scroll-down_01 {
  position: relative;
  width: 200px;
  height: 200px;
  font-family: serif;
  text-decoration: none;
  transform: scale(0.5);
}

.circle-text_01 {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotate 20s linear infinite;
}

.circle-text_01 span {
  position: absolute;
  left: 50%;
  font-size: 16px;
  transform-origin: 0 100px;
  color: #ffffff;
}

.arrow_01 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 50px;
  transform: translate(-50%, -50%);
  animation: scroll_01 1.3s infinite;
  color: #fff;
}

.arrow_01::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 1px;
  background-color: #fff;
  transform: translateX(-50%);
}

.arrow_01::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-bottom: 1px solid #fff;
  transform: translateX(-50%) rotate(-45deg);
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

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

@keyframes scroll_01 {
  0% {
    transform: translate(-50%, -50%) translateY(-10px);
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) translateY(10px);
    opacity: 0;
  }
}


/* =========================================== */
/* サブメインタイトル */
/* =========================================== */
/* --- セクション全体 --- */
.hero-section {
  display: flex;
  justify-content: center;
  /* コンテナを中央に配置 */
  min-height: 60vh;
  background-color: #f0f8ff;
  border-bottom-left-radius: 150px;
  overflow: hidden;
  margin-bottom: 50px;
}

/* --- コンテナ（ここを絞ることで左右が開きます） --- */
.sub-title-container {
  display: flex;
  /* 横幅を 80% に設定（以前よりさらに 10% 絞りました） */
  margin: 0 auto;
  align-items: center;
  /* 画像とテキストの間の物理的な距離 */
  gap: 60px;

  width: 95%;
  padding-left: clamp(20px, 5vw, 90px);
  padding-right: clamp(20px, 5vw, 90px);
  box-sizing: border-box;
}





/* --- 左側：テキストエリア --- */
.content-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 左端の余白を少しだけ作ってバランスを取る */
}

/* --- 右側：写真エリア --- */
.image-right {
  flex: 1;
  /* 親要素(hero-section)の高さ(70vh)に合わせる */
  height: 70vh;
}

.image-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- テキストサイズ微調整 --- */
.top-main-title {
  font-size: clamp(5rem, 15vw, 7rem);
  font-weight: bold;
  line-height: 0.9;
  margin-top: 60px;
  margin-bottom: 20px;
  color: #333;
  letter-spacing: -0.04em;
}

.about-sub-title {
  font-size: clamp(1.5rem, 8vw, 2.5rem);
  /* pxではなくremでバランス調整 */
  color: #919191;
  margin: 0;
}

/* =========================================== */
/* About me - 黄金バランス調整版 */
/* =========================================== */
.about-me-container {
  max-width: 1680px;
  width: 100%;
  position: relative;
  margin: 150px auto 100px auto;
}


.about-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1680px;
  margin: 0;
  position: relative;
  z-index: 2;
  gap: 0;
}

/* --- 左側：画像エリア --- */
.about-image {
  position: relative;
  width: 60%;
  /* 少し小さくして余白を作る */
  z-index: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  /* 写真自体を少し右に寄せる場合はここを調整 */
}

/* --- 初期状態（画像とピッタリ重なっている） --- */
.image-deco.deco-slide-trigger {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(173, 216, 230, 0.2);
  z-index: 1;
  opacity: 0;
  /* 最初は隠しておく */

  /* スッと動くための設定 */
  transition:
    top 1.6s cubic-bezier(0.25, 1, 0.5, 1),
    left 1.6s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 1.2s ease;
}

/* --- 発火状態（指定の位置 -20%, 20% へ移動） --- */
.image-deco.deco-slide-trigger.is-active {
  top: -20%;
  left: 20%;
  opacity: 1;
}

/* タイトル部分 */
.title-wrap {
  position: relative;
  margin-bottom: 60px;
  width: 50%;
  margin-top: 5%;
  margin-left: -8%;
  z-index: 3;
}

/* テキスト本文との間隔 */


.script-text {
  position: absolute;

  font-family: "Homemade Apple", cursive;
  font-size: clamp(24px, 4vw, 38px);
  color: #ee7800;
  z-index: 4;
  top: -3.5em;
  left: 10px;
  white-space: nowrap;
}

.about-title {
  font-family: "League Script", cursive;
  /* 統一感を出すため修正 */
  font-size: clamp(80px, 8vw, 120px);
  /* 画面幅に応じて可変 */
  font-weight: bold;
  letter-spacing: 0.1em;
  /* 広げすぎを修正 */
  margin-bottom: 20px;
  color: #333;
  line-height: 0.9;
}


/* テキスト本文 */
.text-body {
  padding-left: 12%;
  /* ABOUTの「B」のあたりから開始 */
}

.catchphrase {
  font-size: clamp(18px, 5vw, 24px);
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 25px;
  letter-spacing: 0.05em;
  color: #333;
}


.description {
  font-size: clamp(12px, 1.5vw, 15px);
  line-height: 2.2;
  color: #666;
  margin-bottom: 40px;
}

/* --- MOREリンクのベース --- */
.more-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-family: serif;
  letter-spacing: 0.2em;
  font-size: 14px;
  transition: opacity 0.3s;
}

/* --- 矢印の線（親要素） --- */
.arrow-line {
  display: inline-block;
  width: 80px;
  /* 通常時の長さ */
  height: 1px;
  background-color: #333;
  margin-right: 15px;
  position: relative;

  /* ★ここが重要：幅の変化を0.3秒かけて動かす */
  transition: width 0.3s ease-out;
}

/* --- 矢印の先端（三角の部分） --- */
.arrow-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  transform: rotate(-45deg);
  /* 線が伸びるのと同時に先端もついていくように設定 */
}

/* =========================================== */
/* ★ホバー時の動き */
/* =========================================== */

.more-link:hover .arrow-line {
  width: 120px;
  /* ★ホバー時に伸びる長さ（お好みで調整してください） */
}

.more-link:hover {
  opacity: 0.7;
  /* 全体を少し薄くする既存の演出 */
}

/* =========================================== */
/* フッター全体設定 */
/* =========================================== */
.contact-footer {
  background-color: #3c3f41;
  color: #ffffff;
  padding: 50px 0 0 0;
  /* 下の流れるテキストのために下パディングを0に */
  width: 100%;
  box-sizing: border-box;
}

.container-footer {
  width: 95%;
  /* 固定幅をやめて全幅にする */
  /* トップの額縁と同じ余白を指定（これで画像の端とタイトルの端が揃う） */
  padding-left: clamp(20px, 5vw, 90px);
  padding-right: clamp(20px, 5vw, 90px);
  margin: 0 auto;
}

/* --- 1. 上段：コンタクト & ナビゲーション --- */
.contact-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  /* 下端を揃えて視覚的な安定感を出す */
  margin-bottom: 50px;
}

.contact-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-text a {
  text-decoration: none;
}

.contact-text img {
  width: 260px;
  /* PCサイズで程よい存在感に */
  height: auto;
  margin-bottom: 25px;
}

.email-address {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 0;
  color: #ffffff;
  transition: opacity 0.3s;
  line-height: 1.6;
}

.email-address:hover {
  opacity: 0.7;
}

/* ナビゲーション */
.nav-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
  /* 右寄せ */
}

.nav-footer ul li {
  margin-bottom: 20px;
}

.nav-footer ul li:last-child {
  margin-bottom: 0;
}

.nav-footer ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 0.1em;
  position: relative;
  display: inline-block;
}

/* ナビのホバー線アニメーション */
.nav-footer ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: #ffffff;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.3s;
}

.nav-footer ul li a:hover::after {
  transform: scale(1, 1);
  transform-origin: left top;
}

/* --- 2. 中段：区切り線 --- */
.divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  /* 線を少し繊細に */
  margin: 0 0 50px 0;
}

/* =========================================== */
/* コピーライト ＆ TOPボタン */
/* =========================================== */

/* ★修正ポイント：スマホではみ出さないよう max-width に変更 */
.footer-page {
  display: flex;
  margin: 0 auto;
  /* 下に少し余白をとって、流れる文字との距離を保つ */
  box-sizing: border-box;
  /* paddingを含めた幅計算にする */
  align-items: center;
  justify-content: space-between;
}

small,
.copyright {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.05em;
  opacity: 0.8;
  margin: 0;
}

.top-page a {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #fff;
  font-weight: 400;
  border: solid 1px #fff;
  border-radius: 999px;
  /* きれいな円・角丸に */
  display: flex;
  box-sizing: border-box;
  width: 120px;
  height: 120px;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.top-page a:hover {
  color: #333;
  background: #fff;
  /* transitionはベースに書いてあるのでここでは省略可能です */
}

/* =========================================== */
/* フッターの動く文字 */
/* =========================================== */

/* ★修正ポイント：親の1100pxを無視して画面の端から端まで広げる */
.footer-container {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  /* 画面幅いっぱいに広げる魔法のコード */
  overflow: hidden;
  display: flex;
  padding: 50px 0;
  /* marginの代わりにpaddingで帯の太さを確保 */
  /* （任意）流れるエリアの背景を少し変えると締まります。不要なら削除OK */
}

.moving-wrapper {
  display: flex;
  white-space: nowrap;
  animation: infinite-loop 30s linear infinite;
}

/* aタグの中も横並びにする */
.moving-wrapper a {
  display: flex;
  text-decoration: none;
}

/* 画像を重ねるための親要素 */
.img-unit {
  position: relative;
  display: inline-block;
  line-height: 0;
  margin-right: 50px;
  /* ★ここで「TEXT」と「TEXT」の間の隙間を作ります */
}

/* 動く文字の画像サイズ：高さを指定して一括制御 */
.img-unit img {
  height: 80px;
  /* 存在感のあるサイズ感 */
  width: auto;
  display: block;
}

/* 中が白い画像（上に重なる方） */
.filled {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* マウスが乗ったら、そのユニット内の白い画像だけを表示 */
.img-unit:hover .filled {
  opacity: 1;
}

/* ループ用のアニメーション */
@keyframes infinite-loop {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}





/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
/* SP・タブレット用レスポンシブ (800px以下) */
/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
@media (max-width: 800px) {

  /* =========================================== */
  /* 基本設定・ヘッダー */
  /* =========================================== */
  .header-inner {
    height: 70px;
    padding: 0 20px;
  }

  .logo {
    width: 80px;
    /* スマホ用にロゴを少し小さく */
  }

  /* =========================================== */
  /* トップセクション (メインビジュアル) */
  /* =========================================== */
  .top {
    height: 100vh;
    min-height: auto;
  }

  .main-visual {
    padding: 15px;
  }

  /* 背景の装飾枠をスマホサイズに調整 */
  .oval-decoration {
    inset: 20px;
    /* 上下左右20pxの余白に統一 */
  }

  .main-name {
    font-size: 8vw;
    margin: 10% 0;
    /* スマホでは画面幅に合わせて伸縮 */
  }

  .sub-text-top {
    font-size: 5vw;
  }

  .category-text {
    font-size: 4vw;
    letter-spacing: 0.1em;
  }

  /* =========================================== */
  /* スクロールバー */
  /* =========================================== */
  .container_01 {
    width: 100%;
    position: absolute;
    bottom: 10%;
    /* topではなくbottom指定で位置を安定させる */
    left: 50%;
    transform: translateX(-50%);
  }

  .scroll-down_01 {
    transform: scale(0.6);
    /* スマホ用にサイズを縮小 */
    margin: 0 auto;
  }

  /* =========================================== */
  /* About me セクション (縦並びに変更) */
  /* =========================================== */
  .about-me-container {
    margin: 80px auto 0px auto;
    /* 上下余白をスマホ向けに縮小 */
  }

  .about-container {
    flex-direction: column;
    /* 横並びから縦積みに変更 */
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .about-image {
    width: 100%;
    /* 画像を画面幅いっぱいに */
    margin-bottom: 40px;
  }

  .title-wrap {
    width: 100%;
    margin: 40px auto 0 auto;
    /* PC版のネガティブマージンを解除 */
    text-align: center;
    /* 中央揃えに変更 */
  }

  .image-deco.deco-slide-trigger.is-active {
    top: -20%;
    left: 3%;
    opacity: 1;
  }

  .script-text {
    top: -22%;
    left: 33%;
    transform: translateX(-50%);
    /* 筆記体を中央に */
  }

  .about-title {
    font-size: clamp(50px, 12vw, 80px);
  }

  .text-body {
    padding-left: 0;
    /* PC版の左余白を解除 */
    display: flex;
    flex-direction: column;
  }



  /* =========================================== */
  /* フッター (縦並び・中央揃えに変更) */
  /* =========================================== */
  .contact-footer {
    padding: 50px 0 0 0;
  }

  .container-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-info {
    flex-direction: column;
    /* 縦並びに */
    align-items: center;
    /* 中央揃え */
    text-align: center;
    gap: 40px;
  }

  .contact-text {
    align-items: center;
  }

  .contact-text img {
    width: 200px;
    /* 画像を少し小さく */
    margin-bottom: 15px;
  }

  .email-address {
    font-size: 18px;
    /* 文字サイズをスマホ向けに */
  }

  .nav-footer ul {
    text-align: center;
  }

  /* コピーライトとTOPボタン */
  .footer-page {
    flex-direction: column-reverse;
    /* TOPボタンを上に、コピーライトを下に */
    gap: 30px;
    margin-bottom: 30px;
  }

  .top-page a {
    width: 80px;
    height: 80px;
    font-size: 12px;
  }

  /* 動く文字テキスト */
  .img-unit img {
    height: 50px;
    /* 文字帯を細く調整 */
  }
}