@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Sawarabi+Gothic&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Zen+Antique+Soft&display=swap");

/*common*/

:root {
  --primary-black: #3c200a;
  --primary-blue: #11889b;
  --primary-orange: #f6aa00;
  --primary-bg-gray: #efeded;
  --primary-right-gray: #f5f5f5;
  --primary-bg-blue: #e5f4f6;
}

html {
  font-size: 62.5%;
  scroll-padding-top: 50px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Sawarabi Gothic", sans-serif, "Sawarabi Gothic";
  font-weight: 400;
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.5;
  color: #3c200a;
  background-color: #eef3f3;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 1000px) {
  body {
    font-size: 14px;
  }
}

.text-large {
  font-size: 32px;
  line-height: 2;
}

.wrapper {
  max-width: 1160px;
  width: 90%;
  margin: 0 auto;
}

.sp-only {
  display: none;
}

@media screen and (max-width: 1000px) {
  .sp-only {
    display: block;
  }
}

.bg-pattern {
  content: "";
  /* 画面全体を固定して覆う */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  /* 画像のパスを指定 */
  background-image: url("../img/washi.jpeg");
  background-repeat: repeat;
  background-size: cover; /* 画像の大きさに合わせて調整してください */

  /* 質感の調整 */
  opacity: 0.3; /* 30%くらいの透明度（お好みで） */
  mix-blend-mode: multiply; /* 下のコンテンツと色を混ぜる（乗算） */

  /* 重なり順とクリックの無効化 */
  z-index: 9999; /* 一番上に配置 */
  pointer-events: none; /* これにより下のボタンやリンクがクリック可能になります */
}

.washi-texture svg {
  width: 100%;
  height: 100%;
  display: block;
  /* 画像が歪まないように全体をカバー */
  object-fit: cover;
}

/* header */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px 70px 60px; /* まとめて記述可能です */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 180px;
}
.header::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;

  /* --- 背景画像の設定変更 --- */
  background-image: url(../img/header_back.png);
  background-repeat: no-repeat;

  /* 画像の比率を保ったまま、エリア全体を覆う（はみ出た分は隠れる） */
  background-size: cover;

  /* 常に画像の中央が基準になるように配置 */
  background-position: center;
}
.logo {
  display: flex;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.header_logo {
  width: 30%;
  min-width: 120px;
}

.header__items {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 10;
}

.header__nav {
  display: flex;
  gap: 20px;
}

.header__list {
  display: flex;
  gap: 40px;
  text-align: center;
  white-space: nowrap;
  color: #efeded;
}

.en {
  font-size: 24px;
  color: #11889b;
  text-align: center;
}

.ja {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  text-align: center;
}

.header__insta {
  width: 10%;
  display: block;
  max-width: 30px;
}

@media screen and (max-width: 1199px) {
  .header {
    justify-content: space-between; /* これで両端に配置 */
    align-items: flex-start; /* 上揃え */
    padding: 40px 30px 20px; /* 適切な余白を設定 */
    position: fixed;
    display: flex;
  }
  .header__items {
    position: fixed; /* absoluteよりfixedの方がスクロール時に安定します */
    top: 60px; /* ヘッダーの高さに合わせて調整 */
    left: 0;
    background-color: rgba(42, 133, 189, 0.95); /* デザインに合わせた色 */
    width: 100%;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.3s;
    z-index: 4;
  }

  .header_title {
    font-size: 18px;
  }

  .header__nav {
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
    gap: 40px;
  }
  .is-ham-open .header__items {
    clip-path: inset(0 0 0% 0);
  }
  .header__logo {
    width: auto;
    flex: 0 1 auto;
    margin-right: auto;
  }
  .header__list {
    flex-direction: column;
  }
  .header__insta {
    display: none;
  }

  .logo img {
    min-width: 100px;
  }
  .ham {
    width: 45px;
    height: 32px;
    flex-shrink: 0; /* 潰れないように固定 */
    z-index: 1001; /* メニューより上に表示 */
    cursor: pointer;
  }
}

@media screen and (max-width: 800px) {
  .header {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media screen and (max-width: 700px) {
  .header::before {
    background-image: url(../img/header_sp_back.png); /* スマホ用画像のパスに変更 */
    background-size: 100%; /* ← 幅100%で表示 */
    background-position: top left; /* ← 左上基準に変更 */
  }
}

@media screen and (max-width: 600px) {
  .header {
    height: 120px;
    padding-top: 20px;
  }
}

@media screen and (max-width: 450px) {
  .header::before {
    background-size: 450px;
  }
  .logo p {
    display: none;
  }
}

/* ham */
.ham {
  width: 45px;
  height: 32px;
  display: block;
  position: relative;
}

.ham__line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  position: absolute;
  left: 0;
  top: calc(50% - 0.5px);
}

.ham__line:nth-child(1) {
  transform: translateY(-13px);
  transition: transform 0.3s;
}

.is-ham-open .ham__line:nth-child(1) {
  transform: translateY(0px) rotate(-45deg);
}

.ham__line:nth-child(2) {
  transition: opacity 0.3s;
}

.is-ham-open .ham__line:nth-child(2) {
  opacity: 0;
}

.ham__line:nth-child(3) {
  transform: translateY(13px);
  transition: transform 0.3s;
}

.is-ham-open .ham__line:nth-child(3) {
  transform: translateY(0px) rotate(45deg);
}

@media screen and (min-width: 1200px) {
  .ham {
    display: none;
  }
}

/* main */

.main {
  overflow: hidden;
}

a {
  display: inline-block; /* サイズ変更を有効にする */
  transition: transform 0.3s; /* 動きをなめらかにする */
}

@media (any-hover: hover) {
  a:hover {
    transform: scale(1.1); /* マウスが乗った時に1.1倍にする */
  }
}

.zoom-link {
  display: inline-block; /* サイズ変更を有効にするために必要 */
  text-decoration: none;
  transition: transform 0.3s; /* 変化をなめらかにする（0.3秒間） */
}

.zoom-link:hover {
  transform: scale(1.2); /* 1.1倍の大きさに変化 */
}

/*----------kv----------*/

.kv {
  min-height: 10vh;
}

#video-overlay {
  width: 100%;
  padding-top: 190px;
}

video,
#intro-video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

#loading-screen {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

#wrapper {
  transition: opacity 0.8s ease;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #eee;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 376px) {
  .kv {
    min-height: auto;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
  }

  #video-overlay {
    width: 100%;
    padding-top: 0;
    display: flex;
    justify-content: center;
  }

  #intro-video,
  video {
    width: auto;
    height: auto;
    /* 320px画面で70%表示 → 動画の固有幅に合わせてvwで指定 */
    min-width: 143vw; /* 100 / 0.7 ≒ 143% */
    max-width: 143vw;
    display: block;
    flex-shrink: 0;
  }
}

#kv-image {
  display: none;
}

#kv-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 599px) {
  .kv {
    min-height: auto;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
  }

  #video-overlay {
    width: 100%;
    padding-top: 0;
  }

  /* 動画を非表示にして画像を表示 */
  #intro-video,
  video {
    display: none;
  }

  #kv-image {
    display: block;
    margin-top: 70px;
  }
}

/* 固定位置 */
.floating-btn {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 160px;
  height: 160px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

/* 表示状態 */
.floating-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* SVG共通 */
.fish-btn {
  width: 100%;
  height: auto;
}

/* 本体 */
.fish-body {
  fill: #2a85bd;
}

/* 文字 */
.fish-text {
  fill: #fff;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

/* 鰭アニメーション */
.fish-fin {
  fill: none;
  stroke: #2a85bd;
  stroke-width: 6;
  transform-origin: left center;
  animation: fin-wave 1.8s ease-in-out infinite;
}

@keyframes fin-wave {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(12deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* スマホ */
@media screen and (max-width: 768px) {
  .floating-btn {
    width: 120px;
    height: 120px;
    right: 16px;
    bottom: 16px;
  }

  .fish-text {
    font-size: 16px;
  }
}

/*--------------------------------------intro-----------------------------------*/

/* =========================
   Base & PC Layout (Default)
========================= */
.intro {
  position: relative;
  padding: 50px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.intro__content {
  max-width: 640px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.intro__title-text {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 600;
  color: #2a85bd;
  font-family: "Zen Antique Soft";
  margin-bottom: 30px;
  letter-spacing: 0.1em; /* 文字サイズの5%分あける */
}

.intro__title-lead {
  font-size: clamp(14px, 1.5vw, 22px);
  line-height: 2.2;
  margin-bottom: 28px;
  letter-spacing: 0.05em; /* 文字サイズの5%分あける */
}

.intro__title-youkai {
  font-family: "Zen Antique Soft";
  color: #2a85bd;
  font-size: clamp(16px, 2.5vw, 24px);
  letter-spacing: 0.05em;
}

/* --- 画像配置 (PC) --- */
.intro__img_left,
.intro__img_right {
  position: absolute;
  bottom: 50px;
  width: 26vw;
  max-width: 400px;
}

.intro__img_left {
  left: 0;
}
.intro__img_right {
  right: 0; /* 右端に固定 */
  bottom: 50px; /* 下からの高さ */
  width: 26vw; /* 画面幅に応じたサイズ */
  max-width: 400px;
  transform: translateX(
    10%
  ); /* 少しだけ画面外にはみ出させたい場合は数値を調整 */
}

/* 重なり順の指定: 妖怪を上、波を下 */
.intro__img_left_youkai,
.intro__img_right_youkai {
  position: relative;
  z-index: 3; /* 妖怪が上 */
}

.intro__img_left_youkai img,
.intro__img_right_youkai img {
  width: 100%;
  height: auto;
}

/* 波の配置（PC） */
.intro__img_left_wave01,
.intro__img_left_wave02,
.intro__img_right_wave03,
.intro__img_right_wave04 {
  position: absolute;
  z-index: 1; /* 波が下 */
}

.intro__img_left_wave01 {
  top: -300px;
  left: 0px;
}
.intro__img_left_wave02 {
  bottom: -30px;
  left: 0;
}
.intro__img_right_wave03 {
  top: -200px;
  right: 0px;
}
.intro__img_right_wave04 {
  bottom: -30px;
  right: 0px;
}

/*妖怪の位置*/
.intro__img_left {
  left: 0; /* 左端からの距離 */
  bottom: 50px; /* 下端（地面）からの距離（★ここを調整） */
}

.intro__img_right {
  right: 0px; /* 右端からの距離 */
  bottom: 50px; /* 下端（地面）からの距離（★ここを調整） */
}

/* =========================
   youkai fade + sway (アニメーション)
========================= */
.is-fade {
  opacity: 0;
  transform: translateY(20px);
}

.fade-in-youkai {
  animation: fadeInYoukai 1.6s ease-out forwards, sway 3.5s ease-in-out infinite;
  animation-delay: 0.4s, 2s;
}

/* 1. 初期状態：透明で、少し下に配置 */
.is-fade {
  opacity: 0 !important; /* 強制的に最初は消す */
  transform: translateY(40px);
  /* transitionで「ふわっと」した変化の時間を指定 */
  transition: opacity 1.6s ease-out, transform 1.6s ease-out;
  will-change: opacity, transform;
}

/* 2. 画面に入った時：不透明になり、元の位置へ */
.is-fade.is-active {
  opacity: 1 !important;
  transform: translateY(0);
}

/* 3. 「揺れ（sway）」は、ふわっと表示された「後」に開始させる */
.is-fade.is-active img .is-youkai {
  /* 表示が終わる1.6秒後から揺れ始めるように設定 */
  animation: sway 3.5s ease-in-out infinite;
  animation-delay: 1.6s;
}

/* 揺れのアニメーション */
@keyframes sway {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes sway {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

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

@keyframes sway {
  0%,
  50%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-4px) rotate(1deg);
  }
  75% {
    transform: translateY(3px) rotate(-1deg);
  }
}

/* =========================
   Smartphone Layout (~768px)
========================= */
@media screen and (max-width: 600px) {
  .intro {
    padding: 30px 0;
  }

  .intro__content--top {
    order: 1;
  }
  /* 1. 中央寄せから、両端への流し込みに変更 */
  .intro__image-wrapper {
    order: 2;
    display: flex;
    justify-content: space-between; /* 両端に配置 */
    align-items: flex-end;
    width: 100%;
    margin: 0 0 20px 0;
    position: relative;
    padding: 0; /* 必要に応じて左右余白を0に */
  }

  /* 2. マージンをリセットして端に寄せる */
  .intro__img_left,
  .intro__img_right {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: 38%; /* 48% から 80% の 約38% に縮小 */
    max-width: none;
    margin: 0;
  }

  .intro__content--bottom {
    order: 3;
  }
  .intro__img_left_wave01,
  .intro__img_right_wave03 {
    top: -10%;
    width: 100%;
  }
  .intro__img_left_wave02,
  .intro__img_right_wave04 {
    bottom: -10%;
    width: 120%;
    left: 50%;
    transform: translateX(-50%);
  }

  .intro__title-youkai {
    font-size: 16px;
  }

  .intro__title-lead {
    line-height: 1.8;
    text-align: left; /* 中央寄せから左寄せに変更 */
    padding: 0 20px; /* 左右に適切な余白を確保 */
    margin-bottom: 20px;
  }

  /* 文章内の <br /> (改行) を無効化 */
  .intro__title-lead br {
    display: none;
  }

  /* wave01とwave03を非表示にする */
  .intro__img_left_wave01,
  .intro__img_right_wave03 {
    display: none;
  }

  /* 妖怪を30%分、上に配置 */
  .intro__img_left,
  .intro__img_right {
    position: relative;
    top: -30px; /* 数値を大きくするとより上に移動します */
    bottom: auto;
    left: auto;
    right: auto;
    width: 38%;
    max-width: none;
    margin: 0;
  }

  /* 足元の波の位置調整（妖怪に追従させる） */
  .intro__img_left_wave02,
  .intro__img_right_wave04 {
    bottom: -10%;
    width: 120%;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media screen and (min-width: 1440px) {
  .intro {
    /* 画像が大きくなった分、下の余白を広げて見切れを防ぐ */
    padding: 120px 0 160px;
  }

  .intro__img_left,
  .intro__img_right {
    width: 32vw;
    max-width: 480px;
    /* bottomを0、またはマイナスにすることで、親要素の底辺に合わせる */
    bottom: 0;
  }

  /* 波がさらに下にはみ出して切れるのを防ぐ調整 */
  .intro__img_left_wave02,
  .intro__img_right_wave04 {
    bottom: 0;
  }
}

/*-----------------------------deteil---------------------------------------------*/

/* ===== 全体 ===== */
.detail-contents {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px 20px 20px;
  box-sizing: border-box;
}

.detail-contents-text {
  text-align: center;
  color: #1572ac;
  font-size: clamp(14px, 3vw, 20px);
}

/* ===== 巻物エリア ===== */

.scroll {
  top: -50;
}

.scroll-wrapper {
  display: flex;
  justify-content: center;
}

.scroll-container {
  position: relative;
  width: 600px;
}

.scroll-roller {
  position: absolute;
  top: 10px;
  left: 40%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-roller img {
  width: 120px;
}

.scroll-body {
  position: relative;
  text-align: center;
}

.paper-img {
  width: 100%;
  display: block;
}

.scroll-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.scroll-subtitle {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #2a85bd;
  text-align: center;
}

.scroll-title {
  font-size: 28px;
  line-height: 1.4;
  font-weight: bold;
  font-family: Zen Antique Soft;
  /* テキストの行揃えを中央にする */
  text-align: center;
  /* インライン要素や複数行の場合も考慮した中央寄せ */
  display: block;
  letter-spacing: 0.1em;
}

/* ===== 下段レイアウト ===== */
.detail-kinds {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* 左：全体像 */
.detail-kinds-left {
  flex: 0 0 45%;
}

.detail-kinds-left img {
  width: 100%;
  height: auto;
  display: block;
}

/* 右：パーツ */
.detail-kinds-right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 100px;
}

/* 丸画像共通 */
.detail-kinds-right > div {
  overflow: hidden;
}

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

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .detail-kinds-left {
    margin-top: -30px;
  }

  .detail-kinds {
    flex-direction: column;
    gap: 40px;
  }

  .detail-kinds-left,
  .detail-kinds-right {
    width: 100%;
  }

  .detail-kinds-right {
    grid-template-columns: repeat(3, 1fr);
    margin: 0px;
  }
}

@media (max-width: 600px) {
  .detail-contents-text {
    margin-bottom: -1.5em;
  }
  .detail-contents {
    padding-top: 15px;
  }

  .detail-kinds-left {
    margin-top: -60px;
  }

  .detail-kinds-right {
    grid-template-columns: repeat(2, 1fr);
  }

  .scroll-container {
    width: 100%;
  }
}

/*----------何からできているの？----------*/

:root {
  --scroll-width: clamp(300px, 90vw, 600px);
  --scroll-height: calc(var(--scroll-width) * 0.33);
}

.scroll-container {
  position: relative;
  width: var(--scroll-width);
  /* 高さの固定値を解除し、中身（文字）に合わせる */
  height: auto;
  min-height: var(--scroll-height);
  margin: 10px auto 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-roller {
  position: absolute;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  z-index: 1;
}

.scroll-roller img {
  width: 100%;
  height: 100%;
  /* 縦横比を維持しつつ、エリアいっぱいに広げる */
  object-fit: fill;
}

.scroll-content {
  position: relative;
  z-index: 2;
  width: 100%;
  /* 文字の大きさに合わせて上下パディングを調整 */
  padding: 50px 60px 50px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.scroll-title {
  font-size: clamp(20px, 4vw, 36px);
  margin: 0;
  white-space: nowrap;
}

/* 900px以下の時は画面幅の75%を基準に可変させる */
@media (max-width: 900px) {
  .scroll-container {
    width: 75vw;
    /* 最小幅が必要な場合はここで指定 */
    min-width: 280px;
  }
}

.scroll-roller img {
  width: 100%;
  height: 100%;
  /* 縦横比を維持して枠いっぱいに表示 */
  object-fit: contain;
}

/* スマホ表示での微調整（必要に応じて） */
@media (max-width: 600px) {
  :root {
    /* スマホではもう少し横幅を広く使っても良い */
    --scroll-width: 95vw;
  }
}

@media (max-width: 370px) {
  .scroll-container {
    /* 370px以下では画面幅いっぱい（左右余白あり）に広げて見切れを防ぐ */
    width: 75vw;
    min-width: 0;
  }
}

@media (max-width: 375px) {
  .scroll-content {
    padding: 55px 60px 50px 60px;
  }
}

.scroll-roller img {
  /* 画像が親要素の幅を絶対に超えないように設定 */
  width: 100%;
  height: 100%;
  object-fit: contain; /* 比率を維持して枠内に収める */
}

/*-----------------------------------chara----------------------------------*/

/* セクション全体 */
.character {
  padding: 80px 0px;
  background-color: #129990;
  margin-bottom: -1px;
  margin-top: -1px;
}

/* タイトルまわり */
.character-title-main {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 600;
  color: #ffffff;
  font-family: "Zen Antique Soft";
  margin-bottom: 40px;
  letter-spacing: 0.1em; /* 文字サイズの5%分あける */
  text-align: center;
}

.character-title-top,
.character-text {
  margin-bottom: 8px;
  color: #ffffff;
  font-family: Sawarabi Gothic;
  font-size: clamp(14px, 1.5vw, 20px);
  text-align: center;
}

.character-text {
  margin-top: 20px;
  font-size: clamp(16px, 1.5vw, 24px);
}

/* PC・タブレット向けの基本スタイル（微調整） */
.character-title-sentence {
  color: #51968e;
  background-color: #f1f1f1;
  font-family: "Sawarabi Gothic";
  font-size: clamp(20px, 1.5vw, 24px);
  border: none;
  padding: 25px 50px;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 90%; /* 親要素からはみ出さないよう制限 */
  border-radius: 100px;
  gap: 15px;
  box-sizing: border-box; /* パディングを含めたサイズ計算 */
  transition: transform 0.3s; /* 変化をなめらかにする（0.3秒間） */
}

.character-title-sentence:hover {
  background-color: #eef3f3;
  transform: translateY(-5px); /* 少し上に浮く */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* 影をつけて浮遊感を出す */
  transform: scale(1.05); /* 1.1倍の大きさに変化 */
}

.insta-icon {
  width: 40px;
  height: auto;
  flex-shrink: 0; /* アイコンが潰れないように固定 */
}

/* スマホ向けレスポンシブ設定 (768px以下) */
@media screen and (max-width: 768px) {
  .character-title-sentence {
    font-size: 16px; /* 文字を小さく */
    padding: 15px 30px;
    gap: 10px;
  }

  .insta-icon {
    width: 30px; /* アイコンを小さく */
  }
}

/* さらに小さい画面向け (480px以下) */
@media screen and (max-width: 480px) {
  .character-title-sentence {
    font-size: 14px;
    padding: 10px 20px;
    /* 横幅いっぱいに近く広げる */
  }
}
/* ===== スライダー外枠の調整 ===== */
.wrap {
  padding: 50px 0;
  width: 100%; /* ★画面幅いっぱいに広げる */
  max-width: none; /* ★最大幅の制限を解除 */
  margin: 0;
  position: relative;
  overflow: hidden; /* ★横スクロールバーが出ないようにする */
}

/* 矢印が画面端で見えなくなるのを防ぐため、位置を少し内側に調整 */
.splide__arrow--prev {
  left: 20px;
}
.splide__arrow--next {
  right: 20px;
}

@media (max-width: 630px) {
  .splide__arrow {
    display: none;
  } /* スマホはスワイプ操作メインなので矢印を隠す */
}

/* 既存のcharacter-itemの設定は維持 */
.character-item {
  background-color: #eef3f3;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
}

.character-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
}

.character-name {
  font-weight: bold;
  margin-bottom: 8px;
  font-size: clamp(20px, 1.5vw, 24px);
  font-family: "Zen Antique Soft";
}

.character-materials {
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.6;
  color: #666;
  text-align: left;
}

/* ===== ナビゲーション（丸い背景と三角形） ===== */

.splide__arrow {
  background: #ffffff !important;
  width: 50px !important; /* ← お好みのサイズ（例: 60px）に変更してください */
  height: 50px !important;
  /* 重要な修正：!importantを付けて強制的に不透明にする、
     または hover 時の透明度も 1 に固定する */
  opacity: 1 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

/* Splideが自動で付与する「無効（端まで行ったとき）」の状態でも
   半透明にしたくない場合はここも 1 に設定します */
.splide__arrow:disabled {
  opacity: 1 !important;
}

/* ホバー時に透明度が変わらないように固定 */
.splide__arrow:hover {
  opacity: 1 !important;
  background-color: #ffffff; /* ホバー時に白っぽくするなどお好みで */
}

/* --- 三角形と矢印位置はそのまま --- */
.splide__arrow svg {
  display: none;
}

.arrow-icon {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
}

.splide__arrow--prev {
  left: -50px;
}
.splide__arrow--prev .arrow-icon {
  border-width: 12px 17px 12px 0;
  border-color: transparent #1e8dd6 transparent transparent;
}

.splide__arrow--next {
  right: -50px;
}
.splide__arrow--next .arrow-icon {
  border-width: 12px 0 12px 17px;
  border-color: transparent transparent transparent #1e8dd6;
}

@media screen and (max-width: 600px) {
  .splide__arrow {
    width: 20px;
    height: 20px;
  }
}

/* ===== インジケーター（丸） ===== */
.splide__pagination {
  bottom: -30px;
}
.splide__pagination__page {
  background: #1e8dd6; /* 指定の色 */
  border: 1px solid #ccc; /* 視認性のための枠線 */
  width: 12px;
  height: 12px;
  opacity: 1;
  margin: 0 6px;
  bottom: -40px;
}
/* アクティブな時は茶色にする例 */
.splide__pagination__page.is-active {
  background: #3c200a;
}

/* スマホ対応 */
@media (max-width: 1100px) {
  .splide__arrow--prev {
    left: -40px;
  }
  .splide__arrow--next {
    right: -40px;
  }
}
@media (max-width: 630px) {
  .splide__arrow {
    display: none;
  } /* スマホは矢印なしでスワイプのみにする場合 */
}

@media (max-width: 630px) {
  .wrap {
    padding-left: 0px;
  }
}

@media (min-width: 1000px) {
  .pc-br::before {
    content: none;
  }
}

/*-------------------------------whyーーーー---------------------ーーーーーー*/

/* =========================
  セクション全体
========================= */
.why {
  position: relative;
  overflow: hidden; /* ← はみ出しを切る */
  background: #1e8dd6;
  overflow: hidden;
}

.why-title {
  font-size: 48px;
  color: #fff;
  text-align: center;
}

.why__top-bg {
  position: relative;
  top: -5px;
}

.why-title-text {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 600;
  color: #ffffff;
  font-family: "Zen Antique Soft";
  margin: 40px 0;
  letter-spacing: 0.1em; /* 文字サイズの5%分あける */
  text-align: center;
}

.why-text {
  color: #fff;
  text-align: center;
  margin: 50px 0;
  font-size: clamp(16px, 1.5vw, 24px);
}

.why-movie {
  width: 43vw;
  margin: auto;
  display: grid;
  gap: 50px;
  position: relative;
  padding-bottom: 100px;
  iframe {
    width: 100%;
    aspect-ratio: 16/9;
  }
}

/* 1000px以下で要素を比例縮小させるための設定 */
@media (max-width: 1000px) {
  .why-movie {
    width: 60vw; /* 画面幅に合わせてコンテンツ幅を調整（任意） */
  }

  .why-gomi-1 {
    left: -10%;
  }
  .why-gomi-2 {
    left: -10%;
  }
  .why-gomi-3 {
    left: 110%;
  }
  .why-gomi-4 {
    left: 110%;
  }
  .why-gomi-5 {
    left: 110%;
  }
}

@media (max-width: 600px) {
  .why-movie {
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }
}

.why-gomi {
  position: absolute;
}

.why-gomi-1 {
  top: -30%;
  left: -90%;
  width: 70%;
}

.why-gomi-2 {
  top: 30%;
  left: -90%;
  width: 80%;
}

.why-gomi-3 {
  top: -70%;
  left: 130%;
  width: 50%;
}

.why-gomi-4 {
  top: -30%;
  left: 130%;
  width: 60%;
}

.why-gomi-5 {
  top: 50%;
  left: 130%;
  width: 80%;
}

.why-sp {
  display: none;
}

@media (max-width: 500px) {
  .why-sp {
    display: block;
    content: "";
    margin-top: 0;
  }
}

/* =========================
  ぷかぷか浮遊アニメーション
========================= */

/* 左側のゴミ：少しゆったりした周期で上下に揺れる */
@keyframes float-left {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(-2deg); /* 上に20px、少し左に傾く */
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* 右側のゴミ：少し早めの周期で、逆方向に揺れる */
@keyframes float-right {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(3deg); /* 上に15px、少し右に傾く */
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* アニメーションの適用 */
.float-left {
  /* 8秒かけて1周、滑らかな加減速（ease-in-out）、無限に繰り返す */
  animation: float-left 8s ease-in-out infinite;
}

.float-right {
  /* float-leftと時間を変える（7秒）ことで、動きがバラバラに見えて自然になります */
  animation: float-right 7s ease-in-out infinite;
}

/* さらに自然に見せるための微調整（個別に時間をずらす） */
.why-gomi-1 {
  animation-delay: 0s;
}
.why-gomi-2 {
  animation-delay: -2s;
} /* 2秒進んだ状態から開始 */
.why-gomi-3 {
  animation-delay: -1s;
}
.why-gomi-4 {
  animation-delay: -3s;
}
.why-gomi-5 {
  animation-delay: -0.5s;
}

/* =========================
  メッセージエリア全体
========================= */
.why-messege {
  position: relative;
  width: 100%;
  /* margin-top: 150px; */
  /* 妖怪を上下にはみ出させるため、overflow:hiddenな親要素から
     はみ出しても大丈夫な高さを確保するか、親のoverflowを調整してください */
  z-index: 3;
}

/* 縦書きテキストのコンテナ（画面中央） */
.why-messege-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px; /* 文と文の間隔 */
  min-height: 600px; /* 縦書きが綺麗に収まる高さ */
  padding: 350px 0;
}

.why-messege-text1,
.why-messege-text2 {
  writing-mode: vertical-rl; /* 縦書き */
  text-orientation: upright;
  color: #fff;
  font-size: 2rem;
  line-height: 2;
  letter-spacing: 0.2em;
  font-weight: bold;
  font-family: "Zen Antique Soft";
  font-weight: normal;
}

/* 妖怪の共通設定 */
.why-messege-chara01,
.why-messege-chara02 {
  position: absolute;
  z-index: 10; /* 前面に表示 */
  width: 50vw; /* 画面幅に合わせて可変 */
  max-width: 900px;
}

/* 左の妖怪：下セクションへ跨ぐ */
.why-messege-chara01 {
  left: -250px;
  top: -350px;
  transform: translateY(-50%) rotate(15deg); /* 下側に半分はみ出させる */
}

/* 右の妖怪：上（whyセクション内）の特定位置、またはセクション上部に跨ぐ */
.why-messege-chara02 {
  right: -350px;
  top: -300px;
  transform: translateY(-50%) rotate(-20deg); /* 上側に半分はみ出させる */
}

.why-messege-chara01 img,
.why-messege-chara02 img {
  width: 100%;
  height: auto;
  display: block;
}

/* 画面幅が狭い時の調整 */
@media (max-width: 768px) {
  .why-messege-chara01,
  .why-messege-chara02 {
    width: 40vw;
  }
}

/* =========================
  レスポンシブ（スマホ対応）
========================= */
@media (max-width: 768px) {
  .why-messege-container {
    gap: 20px;
    min-height: 400px;
    padding: 0 0 250px 0;
  }
  .why-messege-text1,
  .why-messege-text2 {
    font-size: 18px;
  }
  .why-messege-chara01 {
    width: 200px;
    left: -50px;
    top: -80px;
  }
  .why-messege-chara02 {
    width: 183px;
    right: -60px;
    top: -75px;
  }
}

/*--------------------------------------------------
  action セクション 全体調整
--------------------------------------------------*/

.action__top-bg {
  /* margin-top: -155px; */
  padding-bottom: 150px;
}

.green {
  color: #129990;
  text-align: center;
  margin-top: -40px;
  line-height: 1.6;
}

/* セクションタイトル（妖怪を生み出さない / 妖怪を退治する） */
/* 2枚目の画像にある「左の縦棒」を再現します */
.title {
  font-size: 3.2rem;
  color: #3c200a;
  padding-left: 20px; /* 棒との余白 */
  border-left: 2px solid #3c200a; /* 左側の茶色の棒 */
  margin: 0 0 30px 10%; /* 配置の調整 */
  line-height: 1.2;
}

/*--------------------------------------------------
  妖怪を生み出さない（3カラムエリア）
--------------------------------------------------*/

.action-content-01 {
  margin: 80px 0;
  padding: 0 20px;
}

.action-contents {
  display: flex;
  justify-content: center;
  gap: 40px; /* 要素間の隙間 */
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.action-content-list {
  flex: 1; /* 3等分にする */
  text-align: center; /* 画像とテキストを中央揃え */
}

/* 各カード内の画像 */
.action-content-list img {
  width: 100%;
  max-width: 250px; /* 画像が大きくなりすぎないよう調整 */
  height: auto;
  margin-bottom: 20px;
}

/* カード内のタイトルテキスト（海ごみの種類を知る など） */
.tittletext {
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #3c200a;
}

/* カード内の説明文 */
.action-content-list p:not(.tittletext) {
  font-size: 1.5rem;
  line-height: 1.7;
  text-align: left; /* 説明文は左寄せの方が見やすいですが、お好みでcenterに */
}

/*--------------------------------------------------
  妖怪を退治する セクション
--------------------------------------------------*/

.action-content-text {
  padding-left: calc(10% + 24px); /* タイトルの棒の位置と合わせる */
  font-size: 1.6rem;
  line-height: 1.8;
}

/* TOPICSラベル */
.topics-label {
  font-size: 2.4rem;
  color: #3c200a;
  letter-spacing: 0.1em;
}

/*--------------------------------------------------
  レスポンシブ対応（スマホ表示）
--------------------------------------------------*/

@media screen and (max-width: 768px) {
  .title {
    font-size: 2.4rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
  }

  .action-title {
    margin-bottom: 60px;
  }

  .action-content-01 {
    margin: 40px 0 120px;
  }

  .action-content-list img {
    margin-bottom: 0;
  }

  .action-contents {
    flex-direction: column; /* 縦並びにする */
    align-items: center;
    gap: 65px;
  }

  .action-content-list {
    width: 100%;
    max-width: 400px; /* スマホで広がりすぎないように */
  }

  .action-content-text {
    padding: 0;
    font-size: 1.4rem;
  }

  .action-content-02-title {
    padding: 0 20px;
  }
}

/*----------note----------*/

/* 全体のコンテナ（必要に応じて親要素に付与してください） */

.action-contents {
  padding-left: 5%;
  padding-right: 5%;
}

.action-content-02 {
  max-width: 1000px; /* サイトの幅に合わせて調整 */
  margin: 0 auto;
  padding: 30px 20px;
  text-align: left;
}

/* セクションタイトル */
.action-content-02-title h3 {
  font-size: 28px;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  color: #331c09; /* 画像の文字色に近い色 */
  display: inline-block;
  border-left: 2px solid #331c09;
  padding-left: 15px;
  font-size: 3.2rem;
  color: #3c200a;
}

/* リード文 */
.action-content-02 p {
  line-height: 1.8;
  text-align: center;
  color: #3c200a;
}

.action-join-title {
  margin-top: 0 !important;
}

/* インラインリンク */
.inline-link {
  color: #1a6fa8;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.inline-link:hover {
  color: #0d4a75;
  opacity: 0.75;
}

.inline-link:visited {
  color: #6a3fa8;
}

/* 外部リンクアイコンのサイズ調整 */
.inline-link .material-symbols-outlined {
  font-size: 1.9rem; /* 数値を小さくするとアイコンが小さくなります */
  vertical-align: middle;
}

/* TOPICS 外枠 */
.action-topics {
  margin-top: 20px;
  text-align: left;
}

/* noteリストの親要素 */
.note-box ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 30px; /* 記事間の余白 */
}

/* 各記事のカード */
.note-contens {
  flex: 1; /* 3等分 */
  display: flex;
  flex-direction: column;
  position: relative; /* リンクを全面に広げる場合に備えて */
}

/* サムネイル画像 */
.note-contens img {
  width: 100%;
  aspect-ratio: 16 / 9; /* 横長に固定 */
  object-fit: cover;
  margin-bottom: 15px;
}

/* 日付 */
.note-contens time {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

/* 記事タイトル */
.note-contens h3 {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  color: #333;
  font-weight: normal;
}

/* 「記事を見る」リンクの装飾 */
/* 画像のように文字だけを消して全体をリンクにしたい場合は下記 */
.note-contens a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-indent: -9999px; /* 文字を隠す */
  overflow: hidden;
}

.topics-label {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #331c09;
  max-width: 1000px; /* リストの幅に合わせる */
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* レスポンシブ対応（スマホで縦並びにする） */
@media (max-width: 600px) {
  .note-box ul {
    flex-direction: column;
    gap: 40px;
  }
  .action-content-02-title h3 {
    font-size: 22px;
  }

  .action-content-02 p {
    text-align: left;
  }
}

.action-calendar {
  margin: auto;
}

/* カレンダー全体の最大幅を制限（1440pxのデザインに合わせる） */
.action-calendar {
  width: 100%;
  max-width: 1000px; /* カレンダーが広がりすぎないようお好みの幅で設定 */
  margin: 0 auto;
}

/* タイトルのスタイル（以前のスタイルと調整） */
.calendar {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: left;
  margin-top: 50px;
}

/* ★レスポンシブ対応のコア部分 */
.calendar-container {
  position: relative;
  width: 100%;
  padding-top: 75%; /* ここで縦横比を決定（4:3の比率） */
  overflow: hidden;
}

.calendar-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 1px solid #ccc;
}

/* 375px（スマホ）付近の調整 */
@media screen and (max-width: 768px) {
  .calendar-container {
    padding-top: 100%; /* スマホでは少し縦長（1:1）にすると見やすくなります */
  }

  /* スマホ版Googleカレンダーの表示調整（任意） */
  /* iframeのURL末尾に &mode=AGENDA をつけるとリスト形式になりますが、
     今回はデザイン維持のためそのままの比率調整にしています */
}

.action-join {
  padding: 60px 0;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.action-join-back {
  background-color: #ffffff;
  border-radius: 30px;
  padding: 60px 40px 80px;
  position: relative;
  z-index: 1;
}

.action-join-title {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: bold;
  color: #4a331a;
  margin-bottom: 40px;
  font-family: "Zen Antique Soft", serif;
  text-align: center;
  letter-spacing: 0.15em;
}

/* ===== SNSボタンエリア ===== */
.action-join-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.action-join-link-row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: fit-content;
}

/* アイコン丸枠 */
.action-join-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
}

.action-join-icon svg {
  width: 28px;
  height: 28px;
}

.action-join-icon .note-text {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  letter-spacing: -0.03em;
}

/* ボタン本体 */
.action-join-link-btn {
  width: 320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.action-join-link-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  opacity: 0.92;
}

.action-join-link-btn.is-instagram {
  background-color: #e76a2c;
}

.action-join-link-btn.is-note {
  background-color: #41b69e;
}

.action-join-link-btn .btn-arrow {
  font-size: 20px;
  margin-left: 10px;
}

/* ===== 説明文エリア ===== */
.action-join-desc {
  color: #4a331a;
  line-height: 2;
  font-size: clamp(13px, 1.4vw, 15px);
  margin-bottom: 30px;
  text-align: center;
}

/* ===== 相談フォームリンク ===== */
.action-join-form-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2a85bd;
  text-decoration: none;
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: bold;
  border-bottom: 1.5px solid #2a85bd;
  padding-bottom: 3px;
  transition: opacity 0.2s;
}

.action-join-form-link:hover {
  opacity: 0.7;
}

/* ===== イカのロゴ ===== */
.action-join-logo {
  position: absolute;
  right: 4vw;
  bottom: -30px;
  z-index: 2;
  width: clamp(100px, 16vw, 180px);
}

.action-join-logo img {
  width: 100%;
  height: auto;
  transform-origin: center bottom;
  will-change: transform;
  animation: yura-yura 3s ease-in-out infinite;
}

@keyframes yura-yura {
  0% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(-5deg);
  }
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .action-join-back {
    padding: 40px 24px 100px;
  }

  .action-join-link-row {
    width: 100%;
    max-width: 420px;
  }

  .action-join-link-btn {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  .action-join-desc {
    text-align: left;
  }

  .action-join-logo {
    right: 0;
    bottom: -20px;
    width: clamp(90px, 28vw, 140px);
  }
}

@media (max-width: 480px) {
  .action-join-icon {
    width: 52px;
    height: 52px;
  }

  .action-join-icon svg {
    width: 22px;
    height: 22px;
  }

  .action-join-link-btn {
    padding: 13px 18px;
  }
}
/* --- シェア部分 --- */
.action-share {
  margin-top: 40px;
}

.action-share p {
  color: #5bb3d9;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  /* 前回のclampを適用する場合 */
  font-size: clamp(16px, 1.1vw + 10px, 24px);
}

.action-share-logo {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center; /* 垂直方向の中央揃え */
}

/* aタグの装飾をリセット */
.action-share-logos a {
  display: block;
  text-decoration: none;
}

.action-share-logos img {
  /* 2026年現在の一般的なスマホサイズ375pxを考慮し、幅を少し調整 */
  width: 50px; /* 画像サイズはお好みで調整してください */
  height: auto;
  transition: transform 0.3s, opacity 0.3s;
}

.action-share-logos img:hover {
  opacity: 0.7;
  transform: scale(1.1); /* ホバー時に少し大きくするとクリック感が出ます */
}

/* Xのロゴのみ個別にサイズを上書き（例：42px） */
.action-share-logos.is-x img {
  width: 40px; /* 50pxから少し小さく調整 */
}

/* 他のロゴとの高さのバランスをとるための微調整（必要に応じて） */
.action-share-logos.is-x {
  display: flex;
  align-items: center;
}

/* 375px時の調整 */
@media screen and (max-width: 375px) {
  .action-share-logo {
    gap: 15px; /* アイコン同士の隙間を少し詰める */
  }
  .action-share-logos img {
    width: 45px;
  }
}

/*----------footer---------*/
/* フッター全体の基本設定 */
.footer-bg {
  transform: scaleY(-1);
  margin-top: -120px;
  padding-bottom: 150px;
  position: relative;
  bottom: -1px;
}

footer {
  background-color: #1e8dd6;
  padding: 100px;
}

/* 運営団体 見出し */
.footer__section-title {
  text-align: center;
  font-size: clamp(18px, 2vw, 24px);
  color: #ffffff;
  margin-bottom: 40px;
}

/* fuudo上段：ロゴとテキストの縦揃え */
.fuudo {
  align-items: center; /* flex-startからcenterに変更 */
  margin-bottom: 40px;
  display: flex;
  gap: 50px;
}

/* Webサイトはこちら ボタン */
.fuudo_text_btn {
  display: inline-block;
  background-color: transparent;
  border: 1px solid #ffffff;
  border-radius: 50px;
  padding: 0; /* 親のpaddingをリセット */
  margin-top: 15px;
}

.fuudo_text {
  color: #ffffff;
}

.fuudo_text_title {
  font-size: clamp(16px, 2vw, 28px);
}

.food_text_main {
  font-size: clamp(14px, 0.5vw, 20px);
}

.fuudo_text_btn a {
  display: inline-block;
  color: #ffffff;
  padding: 8px 30px;
  font-size: 14px;
  font-weight: normal;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.fuudo_text_btn a:hover {
  background-color: #ffffff;
  color: #1e8dd6;
  border-radius: 50px;
}

/* スマホ表示 */
@media (max-width: 768px) {
  .footer {
    padding: 50px 20px;
  }

  .fuudo {
    flex-direction: column;
    align-items: center; /* または flex-start で左寄せ */
    gap: 20px;
  }

  .fuudo_logo img {
    width: 100%;
    max-width: 200px; /* ロゴサイズを調整 */
  }

  .fuudo_text_title {
    font-size: clamp(16px, 4vw, 22px);
    padding: 20px 0px;
    text-align: center;
  }

  .food_text_main {
    font-size: clamp(13px, 3.5vw, 16px);
    padding-bottom: 20px;
  }

  .fuudo_text_btn {
    display: flex;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
    border: 1px solid #ffffff;
  }
}

.fuudo_partner {
  color: #ffffff;
  padding-top: 30px;
  gap: 20px;
  max-width: 260px;
}

.fuudo_partner p {
  font-size: clamp(14px, 0.2vw, 20px);
  margin-top: 10px;
}

.foodo_partner img {
  margin-bottom: 20px;
}
/* 担当者メッセージボックス */
.fuudo_message {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 60px 40px;
  margin-bottom: 60px;
}

.fuudo_message_title {
  color: #1e8dd6;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: bold;
  margin-bottom: 20px;
}

.fuudo_message_inner {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.fuudo_message_img {
  flex-shrink: 0;
  width: 140px;
}

.fuudo_message_img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
}

.fuudo_message_text {
  flex: 1;
  color: #333333;
}

.fuudo_message_name {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: bold;
  margin-bottom: 12px;
  color: #333333;
}

.fuudo_message_text p {
  font-size: 14px;
  line-height: 1.8;
  color: #333333;
}

/* フッター下段：ロゴ左・ナビ右 */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
}

.footer_logo {
  margin-bottom: 0; /* 既存のmarginをリセット */
  max-width: 350px;
}

.footer__item {
  margin-top: 0; /* 既存のマイナスマージンをリセット */
}

.footer__list {
  align-items: center;
  display: flex;
  gap: 40px;
}

.footer__copy {
  color: #ffffff;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .fuudo_message {
    padding: 20px;
  }

  .fuudo_message_img {
    width: 120px;
  }

  .fuudo_message_img img {
    height: 150px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}

@media screen and (max-width: 600px) {
  .fuudo_message_inner {
    flex-direction: column;
    align-items: center;
  }

  .fuudo_message_title,
  .fuudo_message_name {
    text-align: center;
  }
}

.fixed-btn {
  /* ...既存のスタイル... */

  /* 0.5s から 1.2s に変更（ここが消える・現れる速度です） */
  transition: opacity 2s ease, visibility 1.2s ease, transform 0.3s ease;

  opacity: 1;
  visibility: visible;
}

/* 消えた状態 */
.fixed-btn.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media screen and (max-width: 1200px) {
  .footer__nav {
    display: none;
  }

  /* ロゴとメニューを並べていたFlexboxの設定を解除・中央寄せにする */
  .footer__bottom {
    justify-content: center;
  }

  /* コピーライトも中央揃えに */
  .footer__copy {
    display: block;
    text-align: center;
    margin-top: 20px;
  }
}

/* 768px以下のデバイス（スマホ）向けの表示設定 */
@media screen and (max-width: 768px) {
  /* ナビゲーション全体を非表示にする */

  .footer_logo img {
    width: 150px; /* スマホ用に少し小さく調整（任意） */
    margin: 0 auto;
  }
}

/* ページ全体のスクロールを滑らかにする */
html {
  scroll-behavior: smooth;
}

/* ロゴリンクにマウスを乗せた時に少し変化させる（任意） */
.footer_logo a {
  transition: opacity 0.3s;
  display: inline-block; /* リンクの範囲を画像に合わせる */
}

.footer_logo a:hover {
  opacity: 0.8;
}

/* SVG（背景） */
.fixed-btn svg {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
}

/* 文字 */
.fixed-btn span {
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);

  text-align: center;
  line-height: 1.3;
  font-size: 16px;
  font-weight: bold;
  color: #fff;

  z-index: 1;
  pointer-events: none;
}

.fixed-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;

  width: 170px; /* SVGのサイズに合わせて調整 */
  height: 140px;
  text-decoration: none;

  /* 1. 全体に影をつける */
  filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.2));

  /* 2. ホバー時のアニメーション準備 */
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* ホバーした時の動き */
.fixed-btn:hover {
  transform: translateY(-5px); /* 少し上に浮く */
  filter: drop-shadow(0px 15px 20px rgba(0, 0, 0, 0.3)); /* 影を強くする */
  transform: scale(1.05);
}

/* SVG（背景） */
.fixed-btn svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* SVG内の色の変化（必要であれば） */
#blob {
  transition: fill 0.3s ease;
}
.fixed-btn:hover #blob {
  fill: #1572ac; /* ホバー時に少し濃い青にする */
}

/* 文字 */
.fixed-btn span {
  position: absolute;
  top: 50%;
  left: 48%; /* 数値を微調整しました */
  transform: translate(-50%, -50%);
  width: 100%; /* 折り返しを安定させる */
  letter-spacing: 0.15em;
  text-align: center;
  line-height: 1.5;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  z-index: 1;
  pointer-events: none;
}

/* スマホ対応：少し小さくする */
@media screen and (max-width: 600px) {
  .fixed-btn {
    bottom: 20px;
    right: 10px;
    width: 110px;
    height: 110px;
  }
  .fixed-btn span {
    font-size: 13px;
  }
}
