@charset "UTF-8";

/* ==================================================
   1. リセット & 基本設定
================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Kiwi Maru", serif;
  color: #333333;
  background-color: #ffffff;
  line-height: 1.8;
  word-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==================================================
   2. ヘッダー (高さ 50px 固定表示)
================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #777777;
  color: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 500;
}

.logo img {
  height: 44px;
  width: auto;
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  font-family: "Kiwi Maru", serif;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.hamburger span {
  display: block;
  height: 2px;
  background-color: #ffffff;
  width: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 背景オーバーレイ */
.drawer-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1050;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-overlay.is-active {
  opacity: 1; visibility: visible;
}

/* 右スライドドロワー本体（白40% + すりガラス効果） */
.drawer-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #505050;
  z-index: 1100;
  padding: 24px 20px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
  transition: right 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
}

.drawer-menu.is-active {
  right: 0;
}

/* ドロワーヘッダー */
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(80, 80, 80, 0.15);
  margin-bottom: 20px;
}

.drawer-title {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: #505050;
}

.drawer-close {
  background: none;
  border: none;
  color: #505050;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.drawer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-list li a {
  display: block;
  font-size: 1.05rem;
  color: #505050;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.drawer-list li a:hover {
  background-color: rgba(255, 255, 255, 0.6);
  color: #222222;
  padding-left: 18px;
}

/* ==================================================
   3. 天地705px 統一セクション設定
================================================== */
.fixed-height-sec {
  min-height: 705px;
  height: 705px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

/* ==================================================
   4. メインビジュアル (Hero Section)
================================================== */
.hero {
  position: relative;
  height: 705px;
  margin-top: 50px;
  background-color: #f7cecf;
  background-image: repeating-linear-gradient(
    0deg,
    #fca7e0,
    #fca7e0 22px,
    #ffd1ee 22px,
    #ffd1ee 44px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.hero-img {
  position: absolute;
  opacity: 0.95;
}

/* TOPイラストの個別位置・サイズ・回転 */
.img-m01 { top: 10%; left: 12%; width: 170px; transform: rotate(-15deg); }
.img-m02 { top: 6%; left: 30%; width: 170px; transform: rotate(10deg); }
.img-m03 { bottom: 2%; left: 10%; width: 165px; transform: rotate(-25deg); }
.img-m04 { bottom: 30%; left: 18%; width: 140px; transform: rotate(25deg); }
.img-m05 { bottom: 10%; left: 28%; width: 140px; transform: rotate(-10deg); }
.img-m06 { bottom: 0%; left: 43%; width: 170px; transform: rotate(12deg); }
.img-m07 { bottom: 8%; left: 60%; width: 160px; transform: rotate(-20deg); }
.img-m08 { top: 11%; right: 35%; width: 150px; transform: rotate(-18deg); }
.img-m09 { bottom: 35%; right: 20%; width: 155px; transform: rotate(-10deg); }
.img-m10 { top: 10%; right: 12%; width: 160px; transform: rotate(12deg); }
.img-m11 { bottom: 8%; right: 8%; width: 180px; transform: rotate(-15deg); }

.hero-title-group {
  position: relative;
  z-index: 5;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.2rem, 8vw, 3.9rem);
  font-weight: 500;
  color: #222222;
  margin-bottom: 0;
  line-height: 1.2;
}

.hero-title sup {
  font-size: 0.5em;
  vertical-align: super;
  line-height: 0;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  color: #333333;
  margin-top: 0em;
  position: relative;
  z-index: 6;
}

/* ==================================================
   5. セクション共通 & タイトル枠
================================================== */
.title-wrapper {
  text-align: center;
  margin-bottom: 20px;
}

.section-title,
.goods-main-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a1a;
  color: #ffffff;
  height: 42px;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* ==================================================
   6. whats? pal monkey
================================================== */
.whats-pal { background-color: #ffffff; }

.catch-phrase {
  text-align: center;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 500;
  margin-bottom: 24px;
  color: #222222;
}

.story-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.story-text p {
  margin-bottom: 16px;
  font-size: clamp(0.92rem, 2.2vw, 1.05rem);
  color: #333333;
  line-height: 1.9;
}

/* ==================================================
   7. Goods セクションレイアウト (トップページ)
================================================== */
.goods-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffd1ee;
}

.goods-sub-catch {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: #222222;
}

.goods-main-title { margin-bottom: 30px; }

.goods-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: 540px;
  margin: 0 auto;
}

.goods-center-copy {
  position: absolute;
  top: 0%; left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  font-size: 2.2rem;
  font-family: serif;
  white-space: nowrap;
  z-index: 10;
  color: #222222;
  pointer-events: none;
}

.goods-badge {
  background-color: #e60012;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  width: 52px; height: 52px;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.goods-copy {
  position: relative;
  z-index: 10;
  font-size: 1.05rem;
  color: #222222;
  font-weight: bold;
}

.item-apparel {
  position: absolute;
  top: 0%; left: 2%;
  width: 380px; text-align: left;
  cursor: pointer;
}

.item-apparel .goods-copy { display: inline-block; margin-right: 8px; vertical-align: middle; }
.item-apparel .goods-badge { vertical-align: middle; }
.item-apparel .goods-img {
  position: relative; z-index: 2;
  width: 100%; height: auto;
  transform: rotate(-5deg);
  margin-left: -30px; margin-top: -10px;
}

.item-art {
  position: absolute;
  bottom: 0%; left: 35%;
  width: 260px; z-index: 3;
  cursor: pointer;
}

.item-art .goods-img {
  position: relative; z-index: 2;
  width: 100%; height: auto;
  transform: rotate(4deg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.art-text-group {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-top: 10px;
  position: relative; z-index: 10;
}

.item-other {
  position: absolute;
  top: 25%; right: 2%;
  width: 200px; text-align: left;
  cursor: pointer;
}

.item-other .goods-badge {
  position: relative; top: 42px; left: 168px;
  vertical-align: middle; margin-right: 6px;
}

.item-other .goods-copy { display: inline-block; vertical-align: middle; }
.item-other .goods-img {
  position: relative; z-index: 2;
  width: 100%; height: auto;
  transform: rotate(-3deg);
  margin-left: -90px; margin-top: -235px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.clickable-img {
  transition: transform 0.25s ease, filter 0.25s ease;
}
.clickable-img:hover {
  filter: brightness(1.03);
}

/* ==================================================
   8. pal monkey Gallery
================================================== */
.css-gallery-wrapper {
  width: 100%;
  max-width: 576px;
  margin: 80px auto 0;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.gallery-caption, .gallery-sub-text {
  text-align: center;
  margin-top: 16px;
  font-size: 1rem;
  color: #333333;
}

.css-slider-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: infiniteScroll 25s linear infinite;
}

.slide-item {
  flex: 0 0 180px; width: 180px;
  display: flex; align-items: center; justify-content: center;
}

.slide-item img {
  width: 100%; height: auto;
  border-radius: 12px; box-shadow: none;
}

@keyframes infiniteScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-200px * 9)); }
}

/* ==================================================
   9. pal monkey News
================================================== */
.news { background-color: #ffd1ee; padding: 60px 0; }
.news-list { list-style: none; max-width: 540px; margin: 0 auto; }
.news-item {
  display: flex; flex-direction: column;
  padding: 12px 0; border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
  font-size: 0.95rem;
}
.news-item time { color: #555555; font-size: 0.88rem; }

/* ==================================================
   10. Company Profile
================================================== */
.company-profile { background-color: #ffffff; font-size: 0.88rem; color: #333333; padding: 60px 0; }
.profile-info { margin-bottom: 32px; }
.profile-info dl { display: grid; grid-template-columns: 80px 1fr; row-gap: 10px; max-width: 480px; margin: 0 auto; }
.profile-info dt { font-weight: bold; }
.copyright-notice { padding-top: 20px; line-height: 1.8; max-width: 820px; margin: 0 auto; }
.notice-head { font-weight: bold; margin-bottom: 8px; color: #111111; }
.notice-list { padding-left: 20px; margin: 8px 0; }
.notice-list li { margin-bottom: 4px; }
.notice-en { margin-top: 18px; font-size: 0.8rem; color: #555555; line-height: 1.6; }
.notice-en .en-head { font-weight: bold; color: #333333; }

/* ==================================================
   11. フッター
================================================== */
.footer {
  width: 100%; height: 50px;
  background-color: #777777; color: #ffffff;
  display: flex; align-items: center; justify-content: center;
}
.copyright { text-align: center; font-size: 0.75rem; color: #ffffff; }

/* ==================================================
   12. モーダルポップアップ CSS
================================================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease;
}

.modal-overlay.is-active {
  opacity: 1; visibility: visible;
}

.goods-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -45%) scale(0.95);
  width: 90%; max-width: 420px;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  z-index: 2100;
  opacity: 0; visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.goods-modal.is-active {
  opacity: 1; visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none; border: none;
  font-size: 1.8rem; color: #777;
  cursor: pointer;
}

.modal-img {
  max-width: 180px;
  margin: 12px auto;
  border-radius: 6px;
}

.modal-title { font-size: 1.15rem; margin: 8px 0 4px; }
.modal-desc { font-size: 0.88rem; color: #555; margin-bottom: 16px; line-height: 1.6; }
.modal-btn {
  display: inline-block;
  background-color: #1a1a1a;
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* ==================================================
   13. 下層ページ（goods.html）完全カスタマイズスタイル
================================================== */
.page-main {
  padding-top: 50px;
}

.page-header {
  background-color: #ffd1ee;
  padding: 30px 16px;
  text-align: center;
}

.page-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a1a;
  color: #ffffff;
  height: 42px;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 1.15rem;
  font-weight: 400;
}

.goods-category-block {
  padding: 50px 0;
  text-align: center;
}

/* アパレルセクション全体のピンク背景＆下部破線境界 */
.apparel-pink-bg {
  background-color: #ffd1ee;
  border-bottom: 1px dashed #d68cb8; /* 下側のみ破線 */
  padding-bottom: 60px;
}

.category-copy {
  font-size: 1.15rem;
  font-weight: 500;
  color: #222222;
  margin-bottom: 30px;
}

/* --- 最上部メインアパレル (PC表示：画像センター ＋ 右下製品情報) --- */
.hero-apparel-card {
  max-width: 720px;
  margin: 0 auto 50px;
  display: grid;
  /* 3列構成（左：バランス用空き, 中央：画像360px, 右：情報エリア） */
  grid-template-columns: 1fr minmax(280px, 360px) 1fr;
  align-items: end; /* 下端揃え */
  gap: 16px;
}

.hero-apparel-img-wrapper {
  grid-column: 2; /* 中央列に配置 */
  width: 100%;
}

.hero-apparel-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.hero-apparel-info {
  grid-column: 3; /* 右列に配置 */
  text-align: left;
  padding-bottom: 8px;
  white-space: nowrap;
}

.photo-note {
  font-size: 0.82rem;
  color: #666666;
  margin-bottom: 4px;
}

/* --- 下部4商品（横2×縦2 グリッドレイアウト） --- */
.apparel-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* PC時は横2列 */
  gap: 36px 24px;
  max-width: 580px;
  margin: 0 auto;
}

.goods-card {
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.card-img-box {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent; /* 背景色（白）を透明に削除 */
  border-radius: 0;
  margin-bottom: 12px;
  overflow: visible;
  box-shadow: none;               /* 枠線の影を削除 */
}

.card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

/* --- Tシャツ画像ごとの個別に拡大率調整 --- */
.card-img[src*="Tshirt_01"] {
  transform: scale(1.15);
  transform-origin: center center;
}

.card-img[src*="Tshirt_02"] {
  transform: scale(1.15);
  transform-origin: center center;
}

.card-img[src*="nagaT_A"] {
  transform: scale(1.3);
  transform-origin: center center;
}

.card-img[src*="nagaT_B"] {
  transform: scale(1.3);
  transform-origin: center center;
}

.item-name {
  font-size: 1.05rem;
  font-weight: bold;
  color: #222222;
  margin-bottom: 4px;
}

.item-spec {
  font-size: 0.85rem;
  color: #555555;
  line-height: 1.5;
}

.item-price {
  font-size: 0.95rem;
  font-weight: bold;
  color: #e60012;
  margin-top: 4px;
}

.section-divider {
  border: none;
  border-top: 1px dashed #e0e0e0;
  margin: 0 auto;
  max-width: 800px;
}

/* アート・LINEスタンプの単体中央カード */
.single-center-card {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-img-box.art-box {
  max-width: 280px;
  height: 320px;
  margin: 0 auto 16px;
  background-color: transparent;
}

.card-img-box.stamp-box {
  max-width: 240px;
  height: auto;
  margin: 0 auto 16px;
  background: none;
  box-shadow: none;
}

.stamp-badge {
  display: inline-block;
  background-color: #06c755;
  color: #ffffff;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 10px;
  margin-bottom: 6px;
}

.stamp-search {
  font-size: 0.85rem;
  color: #666666;
  margin: 4px 0 12px;
}

.stamp-link-btn {
  display: inline-block;
  background-color: #06c755;
  color: #ffffff;
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  transition: opacity 0.2s ease;
}

.stamp-link-btn:hover {
  opacity: 0.85;
}

/* ==================================================
   14. レスポンシブ対応 (768px以下：スマホ・タブレット表示)
================================================== */
@media (min-width: 600px) {
  .news-item {
    flex-direction: row;
    gap: 24px;
  }
}

@media (max-width: 768px) {

  /* HEROセクション配置 */
  .hero {
    height: auto;
    min-height: 620px;
    padding: 60px 12px;
  }

  .hero-img { max-width: 100px !important; }
  .img-m02, .img-m06, .img-m09 { display: none; }

  .img-m01 { top: 15%; left: 30%; width: 110px; transform: rotate(-22deg); }
  .img-m08 { top: 15%; right: 30%; width: 105px; transform: rotate(18deg); }
  .img-m04 { top: 35%; left: 40px; width: 90px; transform: rotate(32deg); }
  .img-m10 { top: 27%; right: 20px; width: 100px; transform: rotate(-25deg); }
  .img-m05 { bottom: 17%; left: 30%; width: 100px; transform: rotate(-15deg); }
  .img-m07 { bottom: 15%; right: 10%; width: 120px; transform: rotate(20deg); }
  .img-m03 { bottom: 20%; left: 10%; width: 120px; transform: rotate(-35deg); }
  .img-m11 { bottom: 25%; right: 12%; width: 120px; transform: rotate(12deg); }

  .hero-title-group { position: relative; z-index: 10; }

  /* GOODSセクション（トップページ） */
  .goods-section { padding: 50px 16px; }

  .goods-container {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    margin-top: 20px;
  }

  .goods-center-copy {
    position: static;
    transform: rotate(-3deg);
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .item-apparel, .item-art, .item-other {
    position: static;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .item-apparel .goods-badge,
  .item-other .goods-badge {
    position: static !important;
    top: auto !important; left: auto !important;
    margin: 0 0 8px 0 !important;
  }

  .item-apparel .goods-copy,
  .item-other .goods-copy {
    display: block; margin: 0 0 12px 0;
  }

  .item-apparel .goods-img,
  .item-art .goods-img,
  .item-other .goods-img {
    position: static;
    width: 100%; max-width: 260px;
    margin: 0 auto !important;
  }

  .item-apparel .goods-img { transform: rotate(-3deg); }
  .item-art .goods-img     { transform: rotate(2deg); }
  .item-other .goods-img   { transform: rotate(-2deg); }

  .art-text-group { margin-top: 12px; }

  /* 下層ページ (goods.html) スマホ表示対応 */
  .hero-apparel-card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-apparel-info {
    text-align: center;
    margin-top: 12px;
    white-space: normal;
  }

  .apparel-grid-2x2 {
    grid-template-columns: 1fr; /* 縦1列化 */
    gap: 32px;
    max-width: 280px;
  }
}

/* ==================================================
   トップページ キャラクターふわふわ浮遊＋拡大アニメーション
================================================== */
@keyframes floatAnimation {
  0% {
    transform: translateY(0px) scale(1) rotate(var(--base-rot, 0deg));
  }
  50% {
    /* --float-y で上下の移動幅を個別にコントロール */
    transform: translateY(var(--float-y, -8px)) scale(var(--float-scale, 1.08)) rotate(calc(var(--base-rot, 0deg) + 2deg));
  }
  100% {
    transform: translateY(0px) scale(1) rotate(var(--base-rot, 0deg));
  }
}

/* 各キャラクター画像にアニメーションを適用 */
.hero-img {
  animation: floatAnimation 4s ease-in-out infinite;
}

/* 
  --base-rot    : 基本の傾き角度
  --float-y     : 上下の移動幅（マイナスが大きいほど上に大きく浮く。例: -14px）
  --float-scale : ピーク時の拡大倍率
*/
.img-m01 { --base-rot: -15deg; --float-y: -10px; --float-scale: 1.12; animation-duration: 4.2s; animation-delay: 0s; }
.img-m02 { --base-rot:  10deg; --float-y: -6px;  --float-scale: 1.15; animation-duration: 3.8s; animation-delay: 0.5s; }
.img-m03 { --base-rot: -25deg; --float-y: -14px; --float-scale: 1.20; animation-duration: 4.6s; animation-delay: 1.0s; }
.img-m04 { --base-rot:  25deg; --float-y: -8px;  --float-scale: 1.08; animation-duration: 3.5s; animation-delay: 0.2s; }
.img-m05 { --base-rot: -10deg; --float-y: -20px; --float-scale: 1.10; animation-duration: 4.0s; animation-delay: 1.5s; }
.img-m06 { --base-rot:  12deg; --float-y: -5px;  --float-scale: 1.04; animation-duration: 4.4s; animation-delay: 0.8s; }
.img-m07 { --base-rot: -20deg; --float-y: -25px; --float-scale: 1.14; animation-duration: 3.9s; animation-delay: 1.2s; }
.img-m08 { --base-rot: -18deg; --float-y: -7px;  --float-scale: 1.06; animation-duration: 4.1s; animation-delay: 0.3s; }
.img-m09 { --base-rot: -13deg; --float-y: -11px; --float-scale: 1.23; animation-duration: 4.5s; animation-delay: 1.7s; }
.img-m10 { --base-rot:  15deg; --float-y: -9px;  --float-scale: 1.15; animation-duration: 3.7s; animation-delay: 0.7s; }
.img-m11 { --base-rot: -12deg; --float-y: -13px; --float-scale: 1.13; animation-duration: 4.3s; animation-delay: 1.1s; }

/* ==================================================
   タイプライター風エフェクト スタイル
================================================== */
.js-typewriter {
  display: inline-block;
  border-right: 3px solid #222222; /* 打刻中の縦線カーソル */
  white-space: nowrap;
  animation: blinkCursor 0.8s step-end infinite;
}

/* タイピング完了後にカーソルを隠す */
.js-typewriter.is-typed {
  border-right-color: transparent;
}

@keyframes blinkCursor {
  from, to { border-right-color: transparent; }
  50% { border-right-color: #222222; }
}

.clickable-img {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

.clickable-img:hover {
  transform: scale(1.08) rotate(1deg); /* 少し大きくなって、可愛く少しだけ傾く */
  filter: brightness(1.04);
}