/* =========================
  リセット
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  color-scheme: light;
}

body {
  background-image:
    radial-gradient(#FFC989 20%, transparent 20%),
    radial-gradient(#FFC989 20%, transparent 20%);
  background-color: #FFB864;
  background-size: 45px 45px;
  background-position: 0 0, 20px 20px;
  overflow-x: hidden;

  font-family:
    "M PLUS Rounded 1c",
    "Hiragino Maru Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    "Meiryo",
    sans-serif;

  color: #9F4826;
}

img,
svg {
  display: block;
}

main {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
  padding: 0;
}






/* =========================
  ページ全体 背景シルエット
========================= */
.page-bg-illusts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  z-index: 0;
  pointer-events: none;

  /* ここが hidden だと下の方が切れやすい */
  overflow: visible;
}

.page-bg-item {
  position: absolute;
  height: auto;
  opacity: 0.7;
  pointer-events: none;
}

main,
.hero,
.character-section,
.relation-section,
.site-footer {
  position: relative;
  z-index: 1;
}

/* 画像ごとの基本サイズ */
.page-bg-item.type1 {
  width: clamp(110px, 34vw, 160px);
}

.page-bg-item.type2 {
  width: clamp(120px, 36vw, 170px);
}

.page-bg-item.type3 {
  width: clamp(110px, 34vw, 160px);
}

.page-bg-item.type4 {
  width: clamp(100px, 30vw, 150px);
}


.page-bg-item.pos1 {
  top: 223vh;
  left: 1%;
  transform: rotate(-12deg);
}

.page-bg-item.pos2 {
  top: 225vh;
  right: 2%;
  transform: rotate(10deg);
}

.page-bg-item.pos3 {
  top: 290vh;
  left: 2%;
  transform: rotate(-8deg);
}

.page-bg-item.pos4 {
  top: 315vh;
  right: -4%;
  left: auto;
  transform: rotate(14deg);
}

.page-bg-item.pos5 {
  top: 395vh;
  right: -3%;
  left: auto;
  transform: rotate(-10deg);
}

.page-bg-item.pos6 {
  top: 380vh;
  left: 1%;
  transform: rotate(8deg);
}

.page-bg-item.pos7 {
  top: 460vh;
  right: 5%;
  transform: rotate(-14deg);
}

.page-bg-item.pos8 {
  top: 460vh;
  left: 1%;
  transform: rotate(12deg);
}



















/* =========================
  採用ボタン
========================= */
.recruit {
  position: fixed;
  top: 0;
  right: 20%;
  width: clamp(90px, 20vw, 120px);
  min-height: 90px;
  background: #F7943D;
  border: none;
  border-radius: 0 0 45px 45px;
  cursor: pointer;
  padding: 10px 12px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1002;

  /* aタグ化した時の黒線対策 */
  text-decoration: none;
  outline: none;
  color: #fff;
  -webkit-tap-highlight-color: transparent;
}

.recruit-label {
  color: #fff;
  font-size: clamp(13px, 1.2vw, 18px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-align: center;
  display: block;
}


/* =========================
  ハンバーガーメニュー
========================= */
.hamburger-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: clamp(90px, 20vw, 120px);
  min-height: 90px;
  background: #F7943D;
  border: none;
  border-radius: 0 0 0 45px;
  cursor: pointer;
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1002;
}

.menu-label {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  margin-bottom: 2px;
}

.hamburger-line {
  display: block;
  width: 52px;
  height: 4px;
  background-color: #FFFD82;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
  flex-shrink: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  transform: translateY(12px) rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(4) {
  transform: translateY(-12px) rotate(-45deg);
}

.footer-logo-link,
.footer-logo-area > .footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;

  background: #fff;
  border-radius: 18px;
  padding: 14px 20px;

  text-decoration: none;
  line-height: 0;
  box-shadow: 0 6px 14px rgba(90, 45, 25, 0.18);
}

/* =========================
  オーバーレイ
========================= */
.overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(82, 82, 82, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 999;
}

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


/* =========================
  スライドメニュー
========================= */
.slide-menu.overlay-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(80vw, 460px);
  height: 100dvh;
  background-color: #F98F3E;
  transform: translateX(100%);
  transition: transform 0.35s ease-in-out;
  z-index: 1000;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.slide-menu.overlay-menu.active,
.slide-menu.overlay-menu.closing {
  transform: translateX(0);
}

.menu-list {
  list-style: none;
  padding: 80px 0 0;
  margin: 0;
}

.menu-list li {
  margin: 0;
  padding: 0;
}

.menu-list a {
  display: block;
  padding: 20px 30px;
  text-align: center;
  color: #9F4826;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu-list a:hover {
  color: #FFFD82;
}

.menu-list li::after {
  content: "";
  display: block;
  width: 70%;
  height: 4px;
  margin: 6px auto 0;
  background: repeating-linear-gradient(
    to right,
    #8B5A2B 0 10px,
    transparent 14px 18px
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}


/* =========================
  メニュー内イラスト
========================= */
.menu-inner {
  position: relative;
  min-height: clamp(220px, 35vh, 420px);
}

.illust {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.illust img {
  width: 100%;
  height: auto;
}

/* PC時のサイズと位置：せいびしか真ん中 */
.illust.illust01 {
  /* 真ん中：せいびしか */
  width: clamp(190px, 22vw, 300px);
  left: 15%;
  bottom: -10rem;
  transform: translateX(-50%);
  z-index: 3;
}

.illust.illust02 {
  /* 右側 */
  width: clamp(180px, 21vw, 280px);
  left: 45%;
  right: auto;
  bottom: -10rem;
  transform: translateX(8%) rotate(10deg);
  z-index: 2;
}

.illust.illust03 {
  /* 左側 */
  width: clamp(180px, 21vw, 280px);
  left: -2%;
  top: auto;
  bottom: -9rem;
  transform: translateX(-108%) rotate(-10deg);
  z-index: 2;
}

.slide-menu.overlay-menu.active .illust01 {
  animation: riseUp 0.6s ease forwards;
  animation-delay: 0.1s;
}

.slide-menu.overlay-menu.active .illust02 {
  animation: riseUp 0.6s ease forwards;
  animation-delay: 0.22s;
}

.slide-menu.overlay-menu.active .illust03 {
  animation: riseUp 0.6s ease forwards;
  animation-delay: 0.34s;
}

.slide-menu.overlay-menu.closing .illust01 {
  animation: dropDown 0.45s ease forwards;
  animation-delay: 0s;
}

.slide-menu.overlay-menu.closing .illust02 {
  animation: dropDown 0.45s ease forwards;
  animation-delay: 0.05s;
}

.slide-menu.overlay-menu.closing .illust03 {
  animation: dropDown 0.45s ease forwards;
  animation-delay: 0.1s;
}

@keyframes riseUp {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.9);
  }

  65% {
    opacity: 1;
    transform: translateY(-6px) scale(1.02);
  }

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

@keyframes dropDown {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(80px) scale(0.95);
  }
}


/* =========================
  ヒーロー全体
========================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 1900px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}


/* =========================
  ヒーロー背景
========================= */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-sky {
  position: absolute;
  top: 0;
  left: -30vw;
  width: 170vw;
  height: 1100px;
  background: #8eb4ff;
  z-index: 0;
}

.hero-city {
  position: absolute;
  top: 0;
  left: 45%;
  width: 2350px;
  max-width: 120vw;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-city-svg {
  width: 110%;
  height: auto;
}

/* 街SVGの上だけ白くする */
.hero-city {
  position: absolute;
  top: 0;
  left: 45%;
  width: 2350px;
  max-width: 120vw;
  transform: translateX(-50%);
  z-index: 1;
  overflow: hidden;
}

.hero-city::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.527);
  z-index: 2;
  pointer-events: none;
}

.hero-city-svg {
  position: relative;
  z-index: 1;
  width: 110%;
  height: auto;
}

/* =========================
  ヒーロー文字・キャラ
========================= */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 760px;
  margin: 0;
  padding: 0;
}

/*ロゴ*/
.hero-logo-layer {
  position: absolute;
  top: 90px;      /* ロゴの上下 */
  left: 50%;      /* ロゴの左右 */
  transform: translateX(-50%);
  width: 100%;
  z-index: 100;
  pointer-events: none;
}

.hero-logo {
  width: 55vw;
  max-width: 780px;
  min-width: 280px;
  margin: 0 auto;
}

.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
}





.hero-main-visual {
  position: relative;
  z-index: 5;
}

.hero-main-visual img {
  width: min(760px, 80vw);
  height: auto;
  margin: 0 auto;
}

.hero-inner {
  position: absolute;
  left: 50%;
  top: 480px;
  transform: translateX(-50%);
  z-index: 20;
  width: min(2700px, 145vw);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  pointer-events: none;
}

.hero-illust {
  position: relative;
}

.hero-illust img {
  width: 100%;
  height: auto;
}

.hero-illust01 {
  width: 20%;
  transform: translate(10%, -34%);
  z-index: 400;
}

.hero-illust03 {
  width: 20%;
  transform: translate(55%, -38%) rotate(-10deg);
  z-index: 300;
}

.hero-illust02 {
  width: 24%;
  transform: translate(-40%, -38%) rotate(10deg);
  z-index: 300;
}








/* =========================
  ヒーローキャラ登場アニメーション
========================= */
.hero-illust {
  opacity: 0;
  animation-duration: 0.9s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

/* そうさぎ：左から少し遅れて登場 */
.hero-illust03 {
  animation-name: heroRabbitIn;
  animation-delay: 0.4s;
}

/* せいびしか＆おちび：中央メイン */
.hero-illust01 {
  animation-name: heroMainIn;
  animation-delay: 0.2s;
}

/* ビル：右から少し遅れて登場 */
.hero-illust02 {
  animation-name: heroBillIn;
  animation-delay: 0.6s;
}


/* 中央キャラ */
@keyframes heroMainIn {
  0% {
    opacity: 0;
    transform: translate(10%, -20%) scale(0.85);
  }

  70% {
    opacity: 1;
    transform: translate(10%, -38%) scale(1.05);
  }

  100% {
    opacity: 1;
    transform: translate(10%, -34%) scale(1);
  }
}

/* 左キャラ */
@keyframes heroRabbitIn {
  0% {
    opacity: 0;
    transform: translate(55%, -20%) rotate(-10deg) scale(0.85);
  }

  70% {
    opacity: 1;
    transform: translate(55%, -42%) rotate(-10deg) scale(1.05);
  }

  100% {
    opacity: 1;
    transform: translate(55%, -38%) rotate(-10deg) scale(1);
  }
}

/* 右キャラ */
@keyframes heroBillIn {
  0% {
    opacity: 0;
    transform: translate(-40%, -20%) rotate(10deg) scale(0.85);
  }

  70% {
    opacity: 1;
    transform: translate(-40%, -42%) rotate(10deg) scale(1.05);
  }

  100% {
    opacity: 1;
    transform: translate(-40%, -38%) rotate(10deg) scale(1);
  }
}
































/* =========================
  雲エリア
========================= */
.hero-cloud-wrap {
  position: absolute;
  top: 660px;
  left: 0;
  width: 105%;
  z-index: 30;
  pointer-events: none;
  overflow: hidden;
}

.hero-cloud {
  width: 100%;
  height: auto;
}

/* =========================
  雲の中の画像：登場＋ふわふわ上書き版
========================= */
.cloud-item {
  position: absolute;
  display: block;
  height: auto;
  z-index: 31;
  pointer-events: none;

  opacity: 0;
  transform-origin: center bottom;
  animation: none;
}

.cloud-left-animal.is-show {
  animation: cloudAppear01 0.9s ease-out 0.1s forwards;
}

.cloud-left-truck.is-show {
  animation: cloudAppearTruck 0.9s ease-out 0.25s forwards;
}

.cloud-left-small.is-show {
  animation: cloudAppear02 0.9s ease-out 0.4s forwards;
}

.cloud-right-rabbit.is-show {
  animation: cloudAppear03 0.9s ease-out 0.15s forwards;
}

.cloud-right-tire.is-show {
  animation: cloudAppearTire 0.9s ease-out 0.3s forwards;
}

.cloud-right-cow.is-show {
  animation: cloudAppear02 0.9s ease-out 0.45s forwards;
}
/* 左上の動物 */
.cloud-left-animal {
  width: 300px;
  top: 150px;
  left: 7%;
}

/* 左下のトラック */
.cloud-left-truck {
  width: 260px;
  top: 500px;
  left: 4%;
}

/* 左下の小さい動物 */
.cloud-left-small {
  width: 190px;
  top: 680px;
  left: 14%;
}

/* 右上のうさぎ */
.cloud-right-rabbit {
  width: 250px;
  top: 145px;
  right: 9%;
}

/* 右中央のタイヤ */
.cloud-right-tire {
  width: 210px;
  top: 490px;
  right: 10%;
}

/* 右下の牛 */
.cloud-right-cow {
  width: 300px;
  top: 640px;
  right: 17%;

}




/* 通常の登場 */
@keyframes cloudAppear01 {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.85) rotate(-4deg);
  }

  70% {
    opacity: 1;
    transform: translateY(-8px) scale(1.04) rotate(2deg);
  }

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

@keyframes cloudAppear02 {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.85) rotate(4deg);
  }

  70% {
    opacity: 1;
    transform: translateY(-8px) scale(1.04) rotate(-2deg);
  }

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

@keyframes cloudAppear03 {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.85) rotate(-6deg);
  }

  70% {
    opacity: 1;
    transform: translateY(-8px) scale(1.04) rotate(3deg);
  }

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

/* トラック用：最終的に傾きを残す */
@keyframes cloudAppearTruck {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.85) rotate(-20deg);
  }

  70% {
    opacity: 1;
    transform: translateY(-8px) scale(1.04) rotate(-8deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(-10deg);
  }
}

/* タイヤ用 */
@keyframes cloudAppearTire {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.8) rotate(-45deg);
  }

  70% {
    opacity: 1;
    transform: translateY(-8px) scale(1.05) rotate(10deg);
  }

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














/* =========================
  雲の中の紹介文
========================= */
.intro-area {
  position: absolute;
  top: 29%;              /* 説明文の上下位置 */
  left: 47%;               /* 中央配置 */
  transform: translateX(-50%);
  z-index: 40;

  width: min(680px, 58vw);
  margin: 0;
  padding: 0;

  text-align: center;
  pointer-events: auto;
}

.intro-inner {
  width: 100%;
  margin: 0 auto;
  padding-top: 0;
}

.intro-heading-box {
  display: inline-block;
  padding: 14px 42px;
  margin: 0 auto 36px;
  border: 6px dashed #a25236;
  border-radius: 18px;
  text-align: center;
}

.intro-heading-box h2 {
  color: #a25236;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 700;
}

.intro-text {
  width: 100%;
  max-width: 620px;
  margin: 28px auto 0;
  color: #9F4826;
  font-size: clamp(14px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}






/* =========================
  キャラクタープロフィール
========================= */
.character-section {
  position: relative;
  width: min(1100px, 92%);
  margin: 0 auto 80px;
  padding: 80px 24px 76px;
  background: #fff98f;
  border-radius: 80px;
  overflow: hidden;
  text-align: center;
}

.section-title-ja {
  position: relative;
  z-index: 3;
  color: #a25236;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.section-title-en {
  position: relative;
  z-index: 3;
  color: #b98591;
  font-size: clamp(14px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-top: 4px;
}


/* =========================
  背景の流れる英語
========================= */
.moving-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: max-content;
  z-index: 0;

  opacity: 0.5;
  white-space: nowrap;

  transform: translate(-50%, -50%);
  animation: profileTextMove 18s linear infinite;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.moving-bg-text.is-changing {
  opacity: 0;
  transform: translate(-50%, calc(-50% + 8px));
}

.moving-bg-text span {
  font-family: "M PLUS Rounded 1c", "Nico Moji", sans-serif;
  color: transparent;
  -webkit-text-stroke: 2.5px #e6a14d;

  font-size: clamp(76px, 12vw, 160px);
  font-weight: 800;
  letter-spacing: 0.08em;
  padding-right: 80px;
  line-height: 1;
}

@keyframes profileTextMove {
  0% {
    translate: 0 0;
  }

  100% {
    translate: -33.333% 0;
  }
}


/* =========================
  スライダー全体
========================= */
.character-slider {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  min-height: 700px;
  margin: 52px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.character-card {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transform: translateX(40px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.character-card.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}


/* =========================
  通常キャラ画像
========================= */
.character-img-wrap {
  width: min(330px, 60vw);
  margin: 0 auto 24px;
}

.character-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
}


/* =========================
  せいびしか＆おちびちゃん ニコイチ
========================= */
.character-duo-img-wrap {
  position: relative;
  width: min(390px, 70vw);
  height: 320px;
  margin: 0 auto 26px;
}

.character-duo-main {
  position: absolute;
  left: 48%;
  bottom: 0;
  width: 78%;
  transform: translateX(-50%);
  z-index: 2;
}

.character-duo-sub {
  position: absolute;
  right: 2%;
  bottom: 10px;
  width: 34%;
  z-index: 3;
}

.character-card-duo .character-text h3 {
  font-size: clamp(24px, 3.6vw, 42px);
}


/* =========================
  そうさぎだけ位置調整
========================= */
.character-img-rabbit {
  width: min(400px, 72vw);

  /* ウサギを上に上げる */
  transform: translateY(-110px);

  /* 画像を上げた分、テキストとの間を詰める */
  margin-bottom: -70px;
}

.character-card[data-bg-text="SOUSAGI"] {
  justify-content: center;
  padding-top: 0;
}

.character-card[data-bg-text="SOUSAGI"] .character-text {
  position: relative;
  z-index: 5;
  margin-top: 0;
}


/* =========================
  ビル画像サイズ調整
========================= */
.character-img-bill {
  width: min(430px, 72vw);
  transform: translateY(-20px);
  margin-bottom: 4px;
}


/* =========================
  キャラ説明文
========================= */
.character-text {
  width: min(560px, 90%);
  margin: 0 auto;
  color: #9F4826;
  text-align: center;
}

.character-text h3 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

.character-name-en {
  color: #b98591;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 4px 0 18px;
}

.character-text p {
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 700;
  line-height: 1.9;
}


/* =========================
  矢印ボタン
========================= */
.character-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 62px;
  height: 62px;
  border: none;
  border-radius: 50%;
  background: #f1a43f;
  color: #a25236;
  font-size: 34px;
  font-weight: 700;
  cursor: pointer;
}

.character-arrow-prev {
  left: 36px;
}

.character-arrow-next {
  right: 36px;
}

.character-arrow:hover {
  transform: translateY(-50%) scale(1.08);
}


/* =========================
  関係図
========================= */
.relation-section {
  width: min(1100px, 92%);
  margin: -120px auto 90px;
  padding: 70px 24px 80px;
  background: #fff;
  border-radius: 80px;
  text-align: center;
    position: relative;
  z-index: 10;
}

.relation-box {
  width: min(820px, 100%);
  margin: 46px auto 0;
}

.relation-box img {
  width: 100%;
  height: auto;
}




















/* =========================
  フッター
========================= */
.site-footer {
  position: relative;
  z-index: 100;
  width: 100%;
  min-height: 360px;
  margin: 0;
  padding: 70px 20px 28px;
  background: #bf8068;
  overflow: hidden;
}

/* 雲みたいな上の丸み */
.site-footer::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  width: 1200px;
  height: 300px;
  transform: translateX(-50%);
  background: #bf8068;
  border-radius: 50% 50% 0 0;
  z-index: 0;
}

/* 左右の追加の丸 */
.site-footer::after {
  content: "";
  position: absolute;
  top: -65px;
  left: 50%;
  width: 1800px;
  height: 260px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 25% 60%, #bf8068 0 140px, transparent 141px),
    radial-gradient(circle at 42% 20%, #bf8068 0 250px, transparent 251px),
    radial-gradient(circle at 58% 35%, #bf8068 0 210px, transparent 211px),
    radial-gradient(circle at 76% 60%, #bf8068 0 120px, transparent 121px);
  z-index: 0;
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 2;
  width: min(1100px, 90%);
  margin: 0 auto;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(32px, 5vw, 50px);
  width: 100%;
  margin: 0 auto 20px;
}
.footer-logo {
  display: block;
  height: auto;
  object-fit: contain;
}

.footer-logo-chika,
.footer-logo-hu {
  width: clamp(140px, 15vw, 240px);
}

.footer-logo-ud {
  width: clamp(190px, 20vw, 320px);
}

.footer-recruit-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 8px auto 26px;
  min-width: 240px;
  padding: 16px 36px;
  background: #ffd284;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;

  position: relative;
  top: -24px;

  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.footer-recruit-btn:hover {
  transform: translateY(-6px) scale(1.04);
  background: #ffc45f;
  box-shadow: 0 10px 18px rgba(120, 70, 30, 0.25);
}

.footer-sns-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
}

.footer-sns-list li a {
  display: block;
  width: 54px;
  height: 54px;
  background: #fff;
  border-radius: 50%;
}

.footer-project-text {
  color: #fff;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.footer-copy {
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* =========================
  フッター：プロジェクト文＋写真
========================= */
.footer-project-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin: 0 auto 14px;
}

.footer-project-text {
  color: #fff;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  margin: 0;
  max-width: 620px;
  text-align: left;
}

.footer-project-photo {
  width: 220px;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  flex-shrink: 0;
}

.footer-logo-link {
  display: block;
  text-decoration: none;
  outline: none;
  line-height: 0;
}

.footer-logo-link img {
  display: block;
}

.footer-logo-link:hover {
  opacity: 0.85;
}
/* =========================================================
  ノートPC・小さめPC 1024px〜1399px
========================================================= */
@media (min-width: 1024px) and (max-width: 1399px) {
  .hero {
    min-height: 1700px;
  }

  .page-bg-item {
  display: none;
}

  .hero-city {
    left: 50%;
    width: 1900px;
    max-width: none;
  }

  .hero-logo {
    width: 52vw;
    max-width: 680px;
  }

  .hero-inner {
    top: 430px;
    width: 2200px;
  }

  .hero-cloud-wrap {
    top: 610px;
    left: -8%;
    width: 116%;
  }

  .intro-area {
    top: 270px;
    width: min(620px, 56vw);
    left: 50%;
  }

  .cloud-left-animal {
    width: 240px;
  }

  .cloud-left-truck {
    width: 220px;
  }

  .cloud-left-small {
    width: 155px;
  }

  .cloud-right-rabbit {
    width: 210px;
  }

  .cloud-right-tire {
    width: 170px;
  }

  .cloud-right-cow {
    width: 240px;
  }
}


/* =========================================================
  タブレット横・iPad横 769px〜1023px
========================================================= */
@media (min-width: 769px) and (max-width: 1023px) {
  body {
    background-size: 36px 36px;
    background-position: 0 0, 18px 18px;
  }

  .recruit {
    right: 110px;
    width: 86px;
    min-height: 78px;
    border-radius: 0 0 38px 38px;
  }

  .recruit-label {
    font-size: 12px;
  }

  .hamburger-menu {
    right: 16px;
    width: 86px;
    min-height: 78px;
    border-radius: 0 0 38px 38px;
  }

  .menu-label {
    font-size: 16px;
  }

  .hamburger-line {
    width: 42px;
    height: 3px;
  }

  .slide-menu.overlay-menu {
    width: min(70vw, 420px);
    height: 100vh;
    height: 100dvh;
  }

  .hero {
    min-height: 1400px;
  }

  .hero-sky {
    height: 850px;
  }

  .hero-city {
    left: 50%;
    width: 1400px;
    max-width: none;
  }

  .hero-city-svg {
    width: 100%;
  }

  .hero-logo-layer {
    top: 90px;
  }

  .hero-logo {
    width: 70vw;
    max-width: 520px;
    min-width: 0;
  }

  .hero-inner {
    top: 390px;
    width: 1450px;
  }

  .hero-illust01 {
    width: 20%;
    transform: translate(10%, -30%);
  }

  .hero-illust03 {
    width: 19%;
    transform: translate(60%, -32%) rotate(-10deg);
  }

  .hero-illust02 {
    width: 23%;
    transform: translate(-45%, -33%) rotate(10deg);
  }

  .hero-cloud-wrap {
    top: 500px;
    left: -18%;
    width: 136%;
  }

.intro-area {
    top: 52%;
    left: 50%;
    width: min(560px, 46vw);
    max-width: none;
    transform: translate(-50%, -50%);
  }

  .intro-heading-box h2 {
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.25;
  }

  .intro-text {
    font-size: clamp(13px, 1.35vw, 17px);
    line-height: 1.7;
  }

  .intro-heading-box {
    padding: 10px 28px;
    margin-bottom: 24px;
    border: 4px dashed #a25236;
    border-radius: 14px;
  }


  /* 左上の動物 */
  .cloud-left-animal {
    width: 150px;
    top: 140px;
    left: 16%;
  }

  /* 左下のトラック */
  .cloud-left-truck {
    width: 145px;
    top: 405px;
    left: 15%;
    transform: rotate(-10deg);
  }

  /* 左下の小さい動物 */
  .cloud-left-small {
    width: 105px;
    top: 535px;
    left: 15%;
  }

  /* 右上のうさぎ */
  .cloud-right-rabbit {
    width: 140px;
    top: 120px;
    right: 20%;
  }

  /* 右中央のタイヤ */
  .cloud-right-tire {
    width: 110px;
    top: 405px;
    right: 15%;
  }

  /* 右下の牛 */
  .cloud-right-cow {
    width: 155px;
    top: 525px;
    right: 15%;
  }




  .character-section,
  .relation-section {
    width: 92%;
    border-radius: 60px;
  }

  .footer-logo-area {
    gap: 34px;
  }

  .footer-logo-ud {
    width: 220px;
  }

  .footer-logo-chika,
  .footer-logo-hu {
    width: 150px;
  }

  .hero-sky {
  width: 100vw;
}

}


/* =========================================================
  スマホ・タブレット縦 768px以下
========================================================= */
@media (max-width: 768px) {
  body {
    background-size: 28px 28px;
    background-position: 0 0, 14px 14px;
  }

  .recruit {
    top: 0;
    right: 86px;
    width: 72px;
    min-height: 66px;
    padding: 8px;
    border-radius: 0 0 34px 34px;
  }

  .recruit-label {
    font-size: 10px;
    line-height: 1.35;
  }




  .page-bg-illusts,
  .page-bg-item {
    display: none !important;
  }




  .cloud-left-animal,
  .cloud-left-truck,
  .cloud-left-small,
  .cloud-right-rabbit,
  .cloud-right-tire,
  .cloud-right-cow {
    display: none;
  }




  .hamburger-menu {
    top: 0;
    right: 10px;
    width: 72px;
    min-height: 66px;
    padding: 8px;
    gap: 5px;
    border-radius: 0 0 34px 34px;
  }

  .menu-label {
    font-size: 14px;
  }

  .hamburger-line {
    width: 36px;
    height: 3px;
  }

  .slide-menu.overlay-menu {
    width: 100%;
    height: 100vh;
    height: 100dvh;
  }

  .menu-list {
    padding-top: 84px;
  }

  .menu-list a {
    padding: 18px 24px;
    font-size: 17px;
  }

  .hero {
    min-height: 1080px;
  }

  .hero-sky {
    height: 700px;
  }

  .hero-city {
    top: 0;
    left: 50%;
    width: 980px;
    max-width: none;
  }

  .hero-city-svg {
    width: 100%;
  }

  .hero-logo-layer {
    top: 82px;
  }

  .hero-logo {
    width: 88vw;
    max-width: 360px;
    min-width: 0;
  }

  .hero-inner {
    top: 265px;
    left: 50%;
    width: 980px;
  }

  .hero-illust01 {
    width: 20%;
    transform: translate(10%, -30%);
  }

  .hero-illust03 {
    width: 19%;
    transform: translate(60%, -32%) rotate(-10deg);
  }

  .hero-illust02 {
    width: 23%;
    transform: translate(-45%, -33%) rotate(10deg);
  }

  .hero-cloud-wrap {
    top: 330px;
    left: -42%;
    width: 188%;
  }

  .intro-area {
    top: 170px;
    left: 50%;
    width: 56%;
    transform: translateX(-50%);
  }

  .intro-heading-box {
    padding: 7px 18px;
    margin-bottom: 16px;
    border: 3px dashed #a25236;
    border-radius: 10px;
  }

  .intro-heading-box h2 {
    font-size: 16px;
    line-height: 1.3;
  }

  .intro-text {
    margin-top: 14px;
    font-size: 10px;
    line-height: 1.65;
  }

  /* スマホでは雲内画像を非表示 */
  .cloud-item {
    display: none;
  }

  .character-section {
    width: 92%;
    margin: 0 auto 48px;
    padding: 56px 14px 58px;
    border-radius: 46px;
  }

  .section-title-ja {
    font-size: 24px;
  }

  .section-title-en {
    font-size: 12px;
  }

  .moving-bg-text {
    top: 46%;
  }

  .moving-bg-text span {
    font-size: 72px;
    padding-right: 36px;
    -webkit-text-stroke: 1.6px #e6a14d;
  }

  .character-slider {
    width: 100%;
    min-height: 540px;
    margin-top: 38px;
  }

  .character-img-wrap {
    width: 210px;
    margin-bottom: 20px;
  }

  .character-duo-img-wrap {
    width: 250px;
    height: 225px;
    margin-bottom: 18px;
  }

  .character-duo-main {
    width: 82%;
    left: 47%;
  }

  .character-duo-sub {
    width: 38%;
    right: -2%;
    bottom: 4px;
  }

  .character-img-rabbit {
    width: 260px;
    transform: translateY(-58px);
    margin-bottom: -36px;
  }

  .character-img-bill {
    width: 260px;
    transform: translateY(-10px);
    margin-bottom: 8px;
  }

  .character-text {
    width: 78%;
  }

  .character-text h3,
  .character-card-duo .character-text h3 {
    font-size: 22px;
    line-height: 1.35;
  }

  .character-name-en {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .character-text p {
    font-size: 12px;
    line-height: 1.8;
  }

  .character-arrow {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .character-arrow-prev {
    left: 8px;
  }

  .character-arrow-next {
    right: 8px;
  }

  .relation-section {
    width: 92%;
    margin: -40px auto 56px;
    padding: 48px 14px 54px;
    border-radius: 42px;
  }

  .relation-box {
    width: 100%;
    margin: 30px auto 0;
  }

  .site-footer {
    min-height: 360px;
    padding: 70px 20px 28px;
  }

  .site-footer::before {
    top: -82px;
    width: 620px;
    height: 180px;
  }

  .site-footer::after {
    top: -48px;
    width: 760px;
    height: 160px;
  }

  .footer-logo-area {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 18px;
  }

  .footer-logo-ud {
    width: 150px;
  }

  .footer-logo-chika {
    width: 70px;
  }

  .footer-logo-hu {
    width: 95px;
  }

  .footer-recruit-btn {
    min-width: 190px;
    padding: 12px 26px;
    font-size: 12px;
    top: -12px;
  }

  .footer-sns-list {
    gap: 16px;
    margin-bottom: 24px;
  }

  .footer-sns-list li a {
    width: 36px;
    height: 36px;
  }

  .footer-project-row {
    flex-direction: column;
    gap: 16px;
  }

  .footer-project-text {
    font-size: 10px;
    line-height: 1.7;
    text-align: center;
  }

  .footer-project-photo {
    width: 180px;
    border-radius: 14px;
  }

  .footer-copy {
    font-size: 8px;
  }
}


/* タブレット縦向きだけ：雲の中の画像を表示して小さく配置 */
@media (min-width: 481px) and (max-width: 768px) and (orientation: portrait) {
  .hero-cloud-wrap {
    top: 330px;
    left: -38%;
    width: 178%;
  }

.cloud-item {
  display: none;
}

  .cloud-left-animal {
    width: 145px;
    top: 120px;
    left: 8%;
  }

  .cloud-left-truck {
    width: 140px;
    top: 385px;
    left: 6%;
    transform: rotate(-10deg);
  }

  .cloud-left-small {
    width: 95px;
    top: 505px;
    left: 15%;
  }

  .cloud-right-rabbit {
    width: 135px;
    top: 120px;
    right: 8%;
  }

  .cloud-right-tire {
    width: 105px;
    top: 385px;
    right: 10%;
  }

  .cloud-right-cow {
    width: 145px;
    top: 500px;
    right: 15%;
  }
}



/* =========================================================
  スマホ横向き対応
  例：iPhone横向き / Android横向き
========================================================= */
@media (max-width: 932px) and (orientation: landscape) {
  body {
    background-size: 28px 28px;
    background-position: 0 0, 14px 14px;
  }

  /* 固定ボタン */
  .recruit {
    right: 88px;
    width: 74px;
    min-height: 60px;
    padding: 7px;
    border-radius: 0 0 32px 32px;
  }

  .recruit-label {
    font-size: 10px;
    line-height: 1.25;
  }

  .hamburger-menu {
    right: 10px;
    width: 74px;
    min-height: 60px;
    padding: 7px;
    gap: 4px;
    border-radius: 0 0 32px 32px;
  }

  .menu-label {
    font-size: 13px;
  }

  .hamburger-line {
    width: 34px;
    height: 3px;
  }

  .slide-menu.overlay-menu {
    width: 58vw;
    max-width: 420px;
    height: 100vh;
    height: 100dvh;
  }

  .menu-list {
    padding-top: 66px;
  }

  .menu-list a {
    padding: 13px 22px;
    font-size: 15px;
  }

  /* ヒーロー */
  .hero {
    min-height: 980px;
    border-radius: 0 0 50% 50% / 0 0 10% 10%;
    overflow: hidden;

  }

  .hero-sky {
    height: 620px;
  }

  .hero-city {
    top: 0;
    left: 50%;
    width: 1050px;
    max-width: none;
    transform: translateX(-50%);
  }

  .hero-city-svg {
    width: 100%;
  }

  .hero-logo-layer {
    top: 64px;
  }

  .hero-logo {
    width: 48vw;
    max-width: 330px;
    min-width: 0;
  }

  .hero-inner {
    top: 240px;
    left: 50%;
    width: 1050px;
    transform: translateX(-50%);
  }

  

.hero-illust01 {
  width: 22%;
  transform: translate(9%, -6%);
}

.hero-illust03 {
  width: 21%;
  transform: translate(65%, -19%) rotate(-10deg);
}

.hero-illust02 {
  width: 24%;
  transform: translate(-52%, -8%) rotate(10deg);
}

  /* 雲 */
  .hero-cloud-wrap {
    top: 300px;
    left: -18%;
    width: 136%;
  }

  .hero-cloud {
  width: 100%;
}

.intro-area {
  top: 49%;
  left: 50%;
  width: min(360px, 44%);
  max-width: none;
  transform: translate(-50%, -50%);
}

.intro-heading-box {
  padding: 5px 16px;
  margin-bottom: 8px;
  border: 3px dashed #a25236;
  border-radius: 10px;
}

.intro-heading-box h2 {
  font-size: clamp(13px, 1.8vw, 16px);
  line-height: 1.2;
}

.intro-text {
  margin-top: 6px;
  font-size: clamp(8px, 1.15vw, 10px);
  line-height: 1.45;
}

/* 横向きでは雲の中の画像を表示 */
.cloud-item {
  display: block;
  opacity: 1;
  animation: none;
  animation-timeline: auto;
  animation-range: normal;
}

/* 左側の画像 */
.cloud-left-animal {
  width: 95px;
  top: 105px;
  left: 10%;
}

.cloud-left-truck {
  width: 115px;
  top: 255px;
  left: 7%;
  transform: rotate(-10deg);
}

.cloud-left-small {
  width: 65px;
  top: 345px;
  left: 18%;
}

/* 右側の画像 */
.cloud-right-rabbit {
  width: 90px;
  top: 105px;
  right: 11%;
}

.cloud-right-tire {
  width: 70px;
  top: 255px;
  right: 13%;
}

.cloud-right-cow {
  width: 105px;
  top: 335px;
  right: 18%;
}

  /* プロフィール */
  .character-section {
    width: 92%;
    margin: 0 auto 48px;
    padding: 46px 18px 50px;
    border-radius: 42px;
  }

  .section-title-ja {
    font-size: 24px;
  }

  .section-title-en {
    font-size: 12px;
  }

  .moving-bg-text span {
    font-size: 66px;
    padding-right: 32px;
    -webkit-text-stroke: 1.4px #e6a14d;
  }

  .character-slider {
    min-height: 500px;
    margin-top: 28px;
  }

  .character-img-wrap {
    width: 190px;
    margin-bottom: 14px;
  }

  .character-duo-img-wrap {
    width: 230px;
    height: 205px;
    margin-bottom: 12px;
  }

  .character-img-rabbit {
    width: 230px;
    transform: translateY(-44px);
    margin-bottom: -28px;
  }

  .character-img-bill {
    width: 230px;
    transform: translateY(-8px);
    margin-bottom: 4px;
  }

  .character-text {
    width: 78%;
  }

  .character-text h3,
  .character-card-duo .character-text h3 {
    font-size: 21px;
    line-height: 1.3;
  }

  .character-name-en {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .character-text p {
    font-size: 11px;
    line-height: 1.7;
  }

  .character-arrow {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .character-arrow-prev {
    left: 10px;
  }

  .character-arrow-next {
    right: 10px;
  }

  /* 関係図 */
  .relation-section {
    width: 92%;
    margin: -34px auto 50px;
    padding: 42px 16px 48px;
    border-radius: 38px;
  }

  .relation-box {
    width: 86%;
    margin: 26px auto 0;
  }

  /* フッター */
  .site-footer {
    min-height: 330px;
    padding: 62px 18px 26px;
  }

  .footer-logo-area {
    gap: 18px;
    flex-wrap: nowrap;
  }

  .footer-logo-link,
  .footer-logo-area > .footer-logo {
    padding: 8px 10px;
    border-radius: 12px;
  }

  .footer-logo-ud {
    width: 180px;
  }

  .footer-logo-chika {
    width: 90px;
  }

  .footer-logo-hu {
    width: 120px;
  }

  .footer-recruit-btn {
    min-width: 190px;
    padding: 11px 28px;
    font-size: 12px;
    top: -10px;
  }

  .footer-project-row {
    flex-direction: row;
    gap: 18px;
  }

  .footer-project-text {
    max-width: 440px;
    font-size: 10px;
    line-height: 1.65;
    text-align: left;
  }

  .footer-project-photo {
    width: 150px;
    border-radius: 12px;
  }

  .footer-copy {
    font-size: 8px;
  }
}



/* スマホ縦では背景シルエットを表示し直す */
@media (max-width: 480px) and (orientation: portrait) {
  .page-bg-illusts {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 1200px !important;
    min-height: 1200px !important;
    overflow: hidden !important;
    z-index: 0 !important;
    pointer-events: none !important;
  }

  .page-bg-item {
    display: block !important;
    visibility: visible !important;
    opacity: 0.7 !important;
    position: absolute !important;
    height: auto !important;
    pointer-events: none !important;
  }

  .page-bg-item.type1 {
    width: clamp(130px, 38vw, 210px) !important;
  }

  .page-bg-item.type2 {
    width: clamp(145px, 42vw, 230px) !important;
  }

  .page-bg-item.type3 {
    width: clamp(130px, 38vw, 210px) !important;
  }

  .page-bg-item.type4 {
    width: clamp(115px, 34vw, 200px) !important;
  }

  .page-bg-item.pos1 {
    top: 40px !important;
    left: -8% !important;
    right: auto !important;
    transform: rotate(-12deg) !important;
  }

  .page-bg-item.pos2 {
    top: 130px !important;
    right: -8% !important;
    left: auto !important;
    transform: rotate(10deg) !important;
  }

  .page-bg-item.pos3 {
    top: 310px !important;
    left: -10% !important;
    right: auto !important;
    transform: rotate(-8deg) !important;
  }

  .page-bg-item.pos4 {
    top: 450px !important;
    right: -12% !important;
    left: auto !important;
    transform: rotate(14deg) !important;
  }

  .page-bg-item.pos5 {
    top: 650px !important;
    right: -10% !important;
    left: auto !important;
    transform: rotate(-10deg) !important;
  }

  .page-bg-item.pos6 {
    top: 590px !important;
    left: -10% !important;
    right: auto !important;
    transform: rotate(8deg) !important;
  }

  .page-bg-item.pos7 {
    top: 850px !important;
    right: -8% !important;
    left: auto !important;
    transform: rotate(-14deg) !important;
  }

  .page-bg-item.pos8 {
    top: 850px !important;
    left: -8% !important;
    right: auto !important;
    transform: rotate(12deg) !important;
  }

  .cloud-left-animal,
  .cloud-left-truck,
  .cloud-left-small,
  .cloud-right-rabbit,
  .cloud-right-tire,
  .cloud-right-cow {
    display: none;
  }

}

/* タブレット縦では背景シルエットを完全非表示 */
@media (min-width: 481px) and (max-width: 1180px) and (orientation: portrait) {
  .page-bg-illusts,
  .page-bg-illusts *,
  .page-bg-item {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  .page-bg-illusts {
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
}


/* =========================================================
  小さいスマホ 480px以下
========================================================= */
@media (max-width: 480px) and (orientation: portrait) {
  /* 横スクロール対策 */
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

    .page-bg-item.pos5,
  .page-bg-item.pos6,
  .page-bg-item.pos7,
  .page-bg-item.pos8 {
    display: none;
  }

  main,
  .hero,
  .hero-bg,
  .hero-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-inner {
  top: 245px;
  left: 50%;
  width: 980px;
  transform: translateX(-50%);
}

  /* ヒーロー全体 */
  .hero {
    min-height: 930px;
  }

  /* 雲の下から水色がはみ出ないようにする */
  .hero-sky {
    height: 500px;
  }

  .hero-cloud-wrap {
    top: 330px;
    left: 50%;
    width: 150%;
    transform: translateX(-50%);
    overflow: hidden;
  }

  .hero-cloud {
    width: 100%;
    height: auto;
  }

    .cloud-item {
    display: none;
  }

  /* 雲の中の文字 */
.intro-area {
  top: 58%;
  left: 50%;
  width: min(285px, 72vw);
  max-width: none;
  transform: translate(-50%, -50%);
}

.intro-heading-box {
  padding: 4px 12px;
  margin-bottom: 8px;
  border: 2px dashed #a25236;
  border-radius: 8px;
}

.intro-heading-box h2 {
  font-size: clamp(13px, 3.8vw, 16px);
  line-height: 1.2;
}

.intro-text {
  font-size: clamp(8px, 2.45vw, 10.5px);
  line-height: 1.5;
}
/* プロフィール */
.character-section {
  margin: -80px auto 40px;
  padding: 46px 14px 58px;
  border-radius: 42px;
}

.section-title-ja {
  font-size: 22px;
  line-height: 1.35;
}

.section-title-en {
  font-size: 11px;
}

.moving-bg-text span {
  font-size: 58px;
  padding-right: 28px;
  -webkit-text-stroke: 1.3px #e6a14d;
}

.character-slider {
  min-height: 540px;
}

.character-img-wrap {
  width: 190px;
}

.character-duo-img-wrap {
  width: 230px;
  height: 210px;
}

.character-img-rabbit {
  width: 235px;
  transform: translateY(-50px);
  margin-bottom: -24px;
}

.character-img-bill {
  width: 235px;
  transform: translateY(-8px);
  margin-bottom: 8px;
}

/* 文字エリア */
.character-text {
  width: min(300px, 82vw);
  margin: 0 auto;
}

/* div.character-text の中の p と、p.character-text の両方に対応 */
.character-text p,
p.character-text {
  font-size: clamp(10.5px, 3vw, 12px);
  line-height: 1.8;
  letter-spacing: 0.02em;
  text-align: center;
}

/* 見出し */
.character-text h3,
.character-card-duo .character-text h3 {
  font-size: clamp(19px, 5.3vw, 22px);
  line-height: 1.25;
  letter-spacing: 0.03em;
}

/* せいびしか＆おちびちゃんだけ少し小さく */
.character-card-duo .character-text h3 {
  font-size: clamp(18px, 5vw, 21px);
  white-space: nowrap;
}


.character-card[data-bg-text="SOUSAGI"] .character-text p,
.character-card[data-bg-text="SOUSAGI"] p.character-text {
  width: min(320px, 86vw);
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: keep-all;
  line-break: strict;
}

/* 英語名 */
.character-name-en {
  font-size: 11px;
  line-height: 1.2;
  margin: 4px 0 12px;
}

/* 矢印 */
.character-arrow {
  width: 38px;
  height: 38px;
  font-size: 22px;
}




  

  /* 関係図 */
  .relation-section {
    margin: -90px auto 42px;
    padding: 44px 14px 50px;
    border-radius: 42px;
  }

  .relation-box {
    margin: 22px auto 0;
  }

  .footer-logo-area {
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-logo-link,
  .footer-logo-area > .footer-logo {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .footer-logo-ud {
    width: min(70vw, 220px);
  }

  .footer-logo-chika,
  .footer-logo-hu {
    width: min(34vw, 120px);
  }

}




/* =========================================================
  大画面・4K対応 1920px以上
  ※必ずCSSの一番下に置く
========================================================= */
@media (min-width: 1920px) {

html,
body {
  overflow-x: hidden;
}

.slide-menu .illust {
  display: none;
}

  .overlay {
    overflow: hidden;
    max-width: 100vw;
  }


  .hero {
    min-height: 2050px;
  }

  .hero-sky {
    left: 50%;
    width: 100vw;
    height: 1150px;
    transform: translateX(-50%);
  }

  .hero-city {
    top: 0;
    left: 50%;
     width: clamp(3110px, 92vw, 4800px);
    max-width: none;
    transform: translateX(-50%);
  }

  .hero-city-svg {
    width: 100%;
  }

  .hero-logo-layer {
    top: 100px;
  }

  .hero-logo {
    width: clamp(780px, 25vw, 900px);
    max-width: 900px;
    min-width: 0;
  }

  .hero-inner {
  top: 670px;
  left: 50%;
  width: clamp(2950px, 90vw, 3400px);
  max-width: none;
  transform: translateX(-50%);
}

.hero-illust01 {
  width: 20.5%;
  transform: translate(10%, -38%);
}

.hero-illust03 {
  width: 20.5%;
  transform: translate(55%, -42%) rotate(-10deg);
}

.hero-illust02 {
  width: 24.5%;
  transform: translate(-40%, -42%) rotate(10deg);
}

  .hero-cloud-wrap {
 top: 470px;
  left: 56%;
  width: clamp(5000px, 140vw, 5800px);
  height: 1550px;
  max-width: none;
  transform: translateX(-50%);

  border-radius: 0 0 50% 50%;
  overflow: hidden;
  }
  .hero-cloud {
    width: 100%;
    height: auto;
  }

  .intro-area {
    top: 930px;
    left: 48%;
    width: clamp(680px, 22vw, 760px);
    max-width: none;
    transform: translateX(-50%);
  }

  .intro-heading-box {
    padding: 14px 44px;
    margin-bottom: 34px;
  }

  .intro-heading-box h2 {
    font-size: clamp(40px, 1.4vw, 46px);
  }

  .intro-text {
    max-width: 700px;
    font-size: clamp(19px, 0.7vw, 22px);
    line-height: 1.85;
  }

  .cloud-left-animal {
    width: 320px;
    top: 750px;
    left: 35%;
  }

  .cloud-left-truck {
    width: 280px;
    top: 990px;
    left: 35%;
  }

  .cloud-left-small {
    width: 200px;
    top: 1200px;
    left: 35%;
  }

  .cloud-right-rabbit {
    width: 270px;
    top: 645px;
    right: 40%;
  }

  .cloud-right-tire {
    width: 220px;
    top: 890px;
    right: 40%;
  }

  .cloud-right-cow {
    width: 320px;
    top: 1080px;
    right: 40%;
  }

  .character-section,
  .relation-section,
  .site-footer__inner {
    max-width: 1200px;
  }





.page-bg-item.type1 {
    width: 320px;
  }

  .page-bg-item.type2 {
    width: 240px;
  }

  .page-bg-item.type3 {
    width: 280px;
  }

  .page-bg-item.type4 {
    width: 320px;
  }

  .page-bg-item.pos1 {
    top: 150vh;
    left: 10%;
  }

  .page-bg-item.pos2 {
    top: 135vh;
    left: 80%;
  }

  .page-bg-item.pos3 {
    top: 180vh;
    left: 2%;
  }

  .page-bg-item.pos4 {
    top: 160vh;
    right: 3%;
    left: auto;
  }

  .page-bg-item.pos5 {
    top: 180vh;
    right: 5%;
    left: auto;
  }

  .page-bg-item.pos6 {
    top: 250vh;
    left: 20%;
  }

  .page-bg-item.pos7 {
    top: 215vh;
    right: 20%;
    left: auto;
  }

  .page-bg-item.pos8 {
    top: 220vh;
    left: 4%;
  }




}




@media (min-width: 3500px) {
html,
body {
  overflow-x: hidden;
}

.slide-menu .illust {
  display: none;
}

  .overlay {
    overflow: hidden;
    max-width: 100vw;
  }


  .hero {
    min-height: 2050px;
  }

  .hero-sky {
    left: 50%;
    width: 100vw;
    height: 1150px;
    transform: translateX(-50%);
  }

  .hero-city {
    top: -170px;
    left: 50%;
     width: clamp(3700px, 92vw, 4800px);
    max-width: none;
    transform: translateX(-50%);
  }

  .hero-city-svg {
    width: 100%;
  }

  .hero-logo-layer {
    top: 100px;
  }

  .hero-logo {
    width: clamp(780px, 25vw, 900px);
    max-width: 900px;
    min-width: 0;
  }

  .hero-inner {
  top: 670px;
  left: 50%;
  width: clamp(2950px, 90vw, 3400px);
  max-width: none;
  transform: translateX(-50%);
}

.hero-illust01 {
  width: 20.5%;
  transform: translate(10%, -38%);
}

.hero-illust03 {
  width: 20.5%;
  transform: translate(55%, -42%) rotate(-10deg);
}

.hero-illust02 {
  width: 24.5%;
  transform: translate(-40%, -42%) rotate(10deg);
}

  .hero-cloud-wrap {
 top: 500px;
  left: 56%;
  width: clamp(5000px, 140vw, 5800px);
  height: 1550px;
  max-width: none;
  transform: translateX(-50%);

  border-radius: 0 0 50% 50%;
  overflow: hidden;
  }

  .hero-cloud {
    width: 100%;
    height: auto;
  }

  .intro-area {
    top: 930px;
    left: 48%;
    width: clamp(680px, 22vw, 760px);
    max-width: none;
    transform: translateX(-50%);
  }

  .intro-heading-box {
    padding: 14px 44px;
    margin-bottom: 34px;
  }

  .intro-heading-box h2 {
    font-size: clamp(40px, 1.4vw, 46px);
  }

  .intro-text {
    max-width: 700px;
    font-size: clamp(19px, 0.7vw, 22px);
    line-height: 1.85;
  }

  .cloud-left-animal {
    width: 320px;
    top: 150px;
    left: 8%;
  }

  .cloud-left-truck {
    width: 280px;
    top: 500px;
    left: 5%;
  }

  .cloud-left-small {
    width: 200px;
    top: 680px;
    left: 15%;
  }

  .cloud-right-rabbit {
    width: 270px;
    top: 145px;
    right: 10%;
  }

  .cloud-right-tire {
    width: 220px;
    top: 490px;
    right: 11%;
  }

  .cloud-right-cow {
    width: 320px;
    top: 640px;
    right: 18%;
  }

  .character-section,
  .relation-section,
  .site-footer__inner {
    max-width: 1200px;
  }





.page-bg-item.type1 {
    width: 320px;
  }

  .page-bg-item.type2 {
    width: 240px;
  }

  .page-bg-item.type3 {
    width: 280px;
  }

  .page-bg-item.type4 {
    width: 320px;
  }

  .page-bg-item.pos1 {
    top: 150vh;
    left: 10%;
  }

  .page-bg-item.pos2 {
    top: 135vh;
    left: 80%;
  }

  .page-bg-item.pos3 {
    top: 180vh;
    left: 2%;
  }

  .page-bg-item.pos4 {
    top: 160vh;
    right: 3%;
    left: auto;
  }

  .page-bg-item.pos5 {
    top: 220vh;
    right: 5%;
    left: auto;
  }

  .page-bg-item.pos6 {
    top: 250vh;
    left: 20%;
  }

  .page-bg-item.pos7 {
    top: 235vh;
    right: 20%;
    left: auto;
  }

  .page-bg-item.pos8 {
    top: 260vh;
    left: 4%;
  }



}







