html {
  scroll-behavior: smooth;
}



@font-face {
  font-family: "ROLachan";
  src: url("../fonts/ROLachan-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "ROLachan", "Zen Maru Gothic", sans-serif;
  line-height: 1.9;
  color: #3b2e2e;
background-color: #fffde7;  /* 淡いパステルイエロー */
}

.hero2 img {
  width: 100%;
  height: auto; /* ← 高さを自動に変更 */
  object-fit: contain; /* ← 画像を切らずに全体表示 */
  border-radius: 20px;
  margin-top: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.note {
  font-size: 20px;
  color: #8c7b7b;
  text-align: center;
  margin-top: 10px;
  font-family: "Zen Maru Gothic", sans-serif;
}

.gallery-img {
  width: 100%;
  height: 450px;       /* ← 縦の大きさはお好みで */
  object-fit: cover;
  border-radius: 55% / 45%; /* ← 縦長の楕円形になる */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}



.gallery-img:hover {
  transform: scale(1.05);
}
.left-shift {
  object-position: left center;
}

.btn-close {
  filter: invert(1); /* 白く見せる */
  opacity: 0.8;
}
.btn-close:hover {
  opacity: 1;
}

.gallery-title {
  font-size: 1.1rem;
  color: #6b4c6b;
  font-family: "Zen Maru Gothic", sans-serif;
}
.gallery p {
  font-family: "ROLachan", sans-serif;
  font-weight: normal;
  font-size: 18px;
  letter-spacing: 0.05em;  /* 少し間を空けて可愛く */
}

.btn-close {
  background: #fff;
  border-radius: 50%;
  width: 36px; /* 少し大きめに */
  height: 36px;
  opacity: 0.95;
  position: relative;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.btn-close::before,
.btn-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2.5px;
  background-color: #cc6699; /* やわらかいローズピンク */
  transform-origin: center;
  border-radius: 2px;
}

.btn-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.btn-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.btn-close:hover {
  background-color: #ffeaf8;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.footer {
  text-align: center;
  position: relative; /* ←これを追加！ */
  padding: 20px 0;
  font-family: "ROLachan", sans-serif;
  font-size: 18px;
  color: #c19a6b; /* ← キャメル色 */
  background-color: #fffde7;  /* 淡いレモン色 */
  letter-spacing: 0.05em;
  border-top: 1px solid #f2d6f5;
}


.x-buttons {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 30px;
}




.x-btn {
  text-align: center;
  text-decoration: none;
}

.x-btn img {
  width: 60px;
  height: 60px;
  display: block;
  margin: 0 auto;
  transition: transform 0.2s ease;
}

.x-btn:hover img {
  transform: scale(1.1);
}


/* ハンバーガーアイコン */
.hamburger {
  width: 35px;
  height: 25px;
  position: fixed;
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 1000;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 6px 0;
  background-color: #6b4c3b; /* 優しいブラウン */
  border-radius: 3px;
  transition: all 0.4s ease;
}

/* メニュー全体 */
.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100%;
  background-color: rgba(255, 253, 231, 0.95); /* パステルイエローの透け感 */
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  transition: right 0.4s ease;
  z-index: 999;
}

.nav-menu ul {
  list-style: none;
  padding: 80px 20px;
  margin: 0;
  text-align: left;
}

.nav-menu ul li {
  margin: 18px 0;
}

.nav-menu ul li a {
  color: #6b4c3b;
  font-family: "ROLachan", sans-serif;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.nav-menu ul li a:hover {
  color: #c19a6b; /* キャメルでふんわり */
}

/* 開いたとき */
.nav-menu.active {
  right: 0;
}

/* 交差アニメーション */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
.footer::after {
  content: "";
  position: absolute;
  bottom: 20px;    /* フッター内の下からの距離 */
  right: 25px;     /* 右端からの距離 */
  width: 60px;     /* 画像サイズ（お好みで） */
  height: 60px;
  background-image: url("../img/paw.png"); /* 足跡画像のパス */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;    /* ほんのり透け感で可愛く */
}
@media (max-width: 992px) and (min-width: 769px) {
  h1 {
    font-size: 40px;
    line-height: 1.1;
    word-break: keep-all;
    margin-bottom: 10px; /* ← これを追加してもいい */
  }
}

.left-shift {
  object-position: 10% center; /* ← 数字を調整できる */
}
/* 雨の中の少年セクション */
.rain-section {
  background-color: #fffde7;
  padding: 40px 0 60px;
}

.rain-img {
  width: 60%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.rain-img:hover {
  transform: scale(1.03);
}
/* 雨の中の少年セクション */
.rain-section {
  background-color: #fffde7;
  padding: 40px 0 60px;
}


.rain-title {
  margin-top: 100px;
  font-family: "ROLachan", "Zen Maru Gothic", sans-serif;
  font-size: 24px;
  color: #6b4c6b;
  letter-spacing: 0.05em;
  text-align: center;
}

/* ここを強めにするのがポイント */
.rain-img {
  width: 60vw;            /* ← ここを自分で変えられる（例：80vw〜100vw） */
  max-width: 1200px;      /* ← PC画面での上限 */
  display: block;
  margin: 0 auto;         /* ← 中央寄せ */
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
@media (max-width: 480px) {
  .rain-img {
    width: 80vw;       /* ← 60vw → 80vw に拡大（控えめで自然） */
    max-width: 420px;  /* ← 上限を優しく設定、画像が大きくなりすぎないように */
  }
}
/* 通常は1行 */
.note {
  white-space: nowrap;
}

/* スマホでは折り返し許可 */
@media (max-width: 480px) {
  .note {
    white-space: normal;
    line-height: 1.8;
  }
}
.bonus {
  font-family: "ROLachan", sans-serif;
  font-size: 35px;         /* 少し大きめで可愛く */
  letter-spacing: 0.05em;  /* 文字の間に少しゆとりを */
  color: #3b2e2e;          /* サイト全体と合わせるならこのままでも */
}
.note {
  font-size: 25px;     /* ← 好きな大きさに調整 */
  line-height: 1.8; 
  margin-bottom: 40px;   /* ← 行間も少し広げると読みやすい */
}
