/* トップページのスタイル */

.quick-links a {
  border: 2px solid transparent;
}

.quick-links a:hover {
  border-color: #d9e5f3;
}

.quick-links i {
  border: 2px solid #ffffff;
}

.present-feature {
  border: 1px solid #eadfe2;
}

/* FV：キャラクター登場後、文字6枚が順番にぽよぽよ現れる */
.hero {
  position: relative;
  height: 830px;
  /* PCでは画面幅が変わっても高さ固定 */
  background: var(--red);
  overflow: hidden;
  isolation: isolate;
  padding: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.hero-character {
  position: absolute;
  z-index: 2;
  left: clamp(50%, calc(92.35vw - 322px), 70%);
  bottom: 100px;
  /* キャラクターの高さ位置 */
  width: 650px;
  /* 縮小時もキャラクターのサイズを保持 */
  transform-origin: 50% 90%;
  transform: translateX(-50%);
  animation: yakichi-pop-in 1.45s both;
}
.hero-character .hero-visual {
  width: 100%;
  height: auto;
  display: block;
}
.hero-text {
  position: absolute;
  z-index: 3;
  left: 270px;
  /* 文字列の左右位置を固定 */
  top: 220px;
  /* 文字列の上下位置を固定 */
  display: flex;
  align-items: center;
  transform: translateY(-50%);
  white-space: nowrap;
  pointer-events: none;
}
.hero-text img {
  display: block;
  flex: none;
  width: auto;
  max-width: none;
  height: 150px;
  /* PCでは文字のサイズを固定 */
  opacity: 0;
  transform-origin: 50% 75%;
  animation: yakichi-letter-pop .62s both;
  animation-delay: calc(1.5s + (var(--letter-index) * .18s));
}
.hero-text img:nth-child(1) { --letter-index: 0;
  }
.hero-text img:nth-child(2) { --letter-index: 1;
  }
.hero-text img:nth-child(3) { --letter-index: 2;
  }
.hero-text img:nth-child(4) { --letter-index: 3;
  }
.hero-text img:nth-child(5) { --letter-index: 4;
  }
.hero-text img:nth-child(6) { --letter-index: 5;
  }
/* 6文字の登場後に、文字下へオフィシャルサイト画像を表示 */
.hero-site-label {
  position: absolute;
  z-index: 3;
  left: 395px;
  /* 左右位置の調整 */
  top: 345px;
  /* 上下位置の調整 */
  width: 365px;
  /* 画像の大きさ */
  max-width: none;
  height: auto;
  display: block;
  pointer-events: none;
  transform-origin: 50% 70%;
  opacity: 0;
  animation: yakichi-site-pop .75s 3.12s both;
}
@keyframes yakichi-site-pop {
  0%   { opacity: 0;
    transform: translateY(35px) scale(.2, .5) rotate(-7deg);
    }
  45%  { opacity: 1;
    transform: translateY(-14px) scale(1.13, .84) rotate(3deg);
    }
  67%  { opacity: 1;
    transform: translateY(6px) scale(.93, 1.09) rotate(-2deg);
    }
  84%  { opacity: 1;
    transform: translateY(-3px) scale(1.04, .97);
    }
  100% { opacity: 1;
    transform: translateY(0) scale(1);
    }
}
@keyframes yakichi-pop-in {
  0%   { transform: translateX(calc(-50% + 110vw)) rotate(17deg) scale(.65, .8);
    }
  51%  { transform: translateX(calc(-50% - 32px)) rotate(-10deg) scale(1.08, .93);
    }
  65%  { transform: translateX(calc(-50% + 13px)) rotate(5deg) scale(.91, 1.08);
    }
  78%  { transform: translateX(calc(-50% - 6px)) rotate(-3deg) scale(1.04, .97);
    }
  88%  { transform: translateX(calc(-50% + 2px)) rotate(1deg) scale(.985, 1.02);
    }
  100% { transform: translateX(-50%) rotate(0) scale(1);
    }
}
@keyframes yakichi-letter-pop {
  0%   { opacity: 0;
    transform: translateY(32px) rotate(-12deg) scale(.1,.3);
    }
  45%  { opacity: 1;
    transform: translateY(-12px) rotate(6deg) scale(1.18,.83);
    }
  68%  { opacity: 1;
    transform: translateY(5px) rotate(-3deg) scale(.9,1.12);
    }
  84%  { opacity: 1;
    transform: translateY(-3px) rotate(1deg) scale(1.05,.97);
    }
  100% { opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
    }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: var(--wave-height);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0 50 Q37.5 0 75 50 T150 50 T225 50 T300 50 T375 50 T450 50 T525 50 T600 50 T675 50 T750 50 T825 50 T900 50 T975 50 T1050 50 T1125 50 T1200 50 V100 H0 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center bottom;
}

.quick-links {
  width: min(1350px, calc(100% - 40px));
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  padding: 28px 0 42px;
}

.quick-links a {
  background: #eaf3fc;
  min-height: 125px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  position: relative;
  transition: transform .2s;
}

.quick-links a:hover {
  transform: translateY(-5px);
}

.quick-links img {
  width: auto;
  height: 94px;
  object-fit: contain;
}

.quick-links span {
  font-weight: 900;
  font-size: 17px;
  color: var(--navy);
}

.quick-links small {
  display: block;
  color: var(--red);
  font-size: 11px;
  margin-top: 6px;
}

.quick-links i {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-style: normal;
  color: white;
  background: var(--red);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
}

.news-section {
  background: var(--pale);
  position: relative;
  overflow: hidden;
}

.news-panel {
  background: white;
  max-width: 820px;
  margin: auto;
  padding: 18px 28px;
  border-radius: 20px;
}

.news-panel a {
  display: flex;
  gap: 25px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 2px dotted #e4e9f1;
  font-size: 14px;
}

.news-panel a:last-child {
  border: 0;
}

.news-panel time {
  background: var(--red);
  color: white;
  padding: 6px 18px;
  border-radius: 30px;
  font-weight: 900;
  white-space: nowrap;
}

.news-panel a b {
  margin-left: auto;
  color: var(--red);
  font-size: 28px;
}

.news-section .pill {
  display: flex;
  width: max-content;
  margin: 25px auto 0;
}

.news-mascot {
  position: absolute;
  right: 4%;
  bottom: -15px;
  width: 180px;
  transform: rotate(-15deg);
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
}

.profile-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
}

.profile-art>img {
  height: 355px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.soft-circle {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: #ffedf0;
}

.profile-copy h3 {
  font-size: 55px;
  color: var(--red);
  margin: 4px 0 15px;
}

.profile-copy p {
  line-height: 2.2;
  font-weight: 700;
}

.profile-copy .pill {
  margin-top: 20px;
}

.face-stickers {
  position: absolute;
  right: 0;
  bottom: -20px;
  display: flex;
  gap: 12px;
}

.face-stickers img {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: #ffe7e7;
  object-fit: contain;
  padding: 10px;
}

.face-stickers img:nth-child(2) {
  transform: translateY(-22px) rotate(13deg);
}

.outing-section {
  background: #f0f6fc;
}

.outing-card {
  max-width: 750px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 35px;
  background: white;
  border-radius: 22px;
  padding: 24px 40px;
}

.outing-card img {
  height: 170px;
  width: 170px;
  object-fit: contain;
}

.outing-card h3 {
  color: var(--navy);
  font-size: 23px;
}

.present-section {
  background: #fff0f0;
}

.present-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.goods-section {
  background: white;
}

.goods-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 85px;
}

.goods-inner>div {
  text-align: center;
}

.goods-inner img {
  height: 220px;
  width: 220px;
  object-fit: contain;
}

.goods-inner .pill {
  margin-top: 20px;
}

@media (max-width:1050px) {
  .quick-links a {
    padding: 10px;
  }
}

@media (max-width:1050px) {
  .quick-links img {
    width: 65px;
    height: 76px;
  }
}

@media (max-width:1050px) {
  .quick-links span {
    font-size: 14px;
  }
}

@media (max-width:760px) {
  .quick-links {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width:760px) {
  .quick-links i {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
}

@media (max-width:760px) {
  .news-mascot {
    opacity: 1;
    width: 90px;
    right: -6px;
    bottom: -15px;
  }
}

@media (max-width:760px) {
  .profile-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0;
  }
}

@media (max-width:760px) {
  .profile-art {
    min-height: 260px;
  }
}

@media (max-width:760px) {
  .profile-art>img {
    height: 240px;
  }
}

@media (max-width:760px) {
  .soft-circle {
    width: 240px;
    height: 240px;
  }
}

@media (max-width:760px) {
  .profile-copy h3 {
    font-size: 42px;
  }
}

@media (max-width:760px) {
  .face-stickers {
    position: static;
    justify-content: center;
    margin-top: 30px;
  }
}

@media (max-width:760px) {
  .face-stickers img {
    width: 65px;
    height: 65px;
  }
}

@media (max-width:760px) {
  .present-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: auto;
  }
}

@media (max-width:760px) {
  .goods-inner {
    gap: 10px;
  }
}

@media (max-width:760px) {
  .goods-inner img {
    width: 135px;
  }
}

@media (max-width:760px) {
  .outing-card {
    padding: 20px;
    gap: 10px;
  }
}

@media (max-width:760px) {
  .outing-card img {
    width: 90px;
    height: 100px;
  }
}

@media (max-width:760px) {
  .outing-card h3 {
    font-size: 16px;
  }
}

@media (max-width:760px) {
  .news-panel {
    padding: 12px;
  }
}

@media (max-width:760px) {
  .news-panel a {
    gap: 10px;
    font-size: 12px;
  }
}

@media (max-width:760px) {
  .news-panel time {
    padding: 5px 8px;
  }
}

@media (max-width:390px) {
  .quick-links a {
    min-height: 90px;
  }
}

@media (max-width:390px) {
  .quick-links img {
    width: 40px;
  }
}

@media (max-width:390px) {
  .quick-links span {
    font-size: 11px;
  }
}

@media (max-width:390px) {
  .news-panel a {
    flex-wrap: wrap;
  }
}

@media (max-width:390px) {
  .news-panel a b {
    display: none;
  }
}

.present-feature {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 295px;
  align-items: center;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: none;
  transition: transform .2s,border-color .2s,background-color .2s;
}

.present-feature:hover {
  transform: translateY(-4px);
}

.present-feature-art {
  background: #f52c43;
  position: relative;
  min-height: 295px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.present-feature-art::before {
  content: "";
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: #ffffff20;
  position: absolute;
}

.present-feature-art img {
  width: 205px;
  height: 250px;
  object-fit: contain;
  z-index: 1;
  transform: rotate(-8deg);
}

.present-feature-copy {
  padding: 35px 42px;
}

.present-feature-copy h3 {
  color: var(--navy);
  font-size: clamp(21px,2.5vw,29px);
  margin: 18px 0 12px;
}

.present-feature-copy p {
  font-size: 15px;
  line-height: 2;
  font-weight: 700;
  margin: 0 0 20px;
}

.present-feature-copy .pill {
  pointer-events: none;
}

@media (max-width:760px) {
  .present-feature {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
}

@media (max-width:760px) {
  .present-feature-art {
    min-height: 205px;
  }
}

@media (max-width:760px) {
  .present-feature-art img {
    height: 190px;
    width: 170px;
  }
}

@media (max-width:760px) {
  .present-feature-copy {
    padding: 26px 24px 30px;
  }
}

@media (max-width:760px) {
  .present-feature-copy p {
    font-size: 13px;
  }
}

@media (max-width:760px) {
  .hero-wave {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20400%2036%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%2017%20C50%2017%2050%205%20100%205%20S150%2017%20200%2017%20S250%2029%20300%2029%20S350%2017%20400%2017%20V36%20H0%20Z%27%20fill%3D%27%23ffffff%27%2F%3E%3C%2Fsvg%3E");
    background-size: 400px 26px;
    background-repeat: repeat-x;
    background-position: left bottom;
  }
}



/* スマホ：文字を上、キャラクターを中央下へ */
@media (max-width: 760px) {
  .hero { height: 650px;
    }
  .hero-character {
    left: 50%;
    bottom: 12px;
    width: min(92vw, 470px);
  }
  .hero-text { left: 50%;
    top: 52px;
    transform: translateX(-50%);
    }
  .hero-text img { height: clamp(52px, 13vw, 84px);
    }
  .hero-site-label { left: 50%;
    top: 155px;
    width: min(72vw, 340px);
    transform: translateX(-50%);
    animation-name: yakichi-site-pop-mobile;
    }
}
@keyframes yakichi-site-pop-mobile {
  0% { opacity: 0;
    transform: translateX(-50%) translateY(35px) scale(.2, .5);
    }
  45% { opacity: 1;
    transform: translateX(-50%) translateY(-12px) scale(1.12, .85);
    }
  70% { opacity: 1;
    transform: translateX(-50%) translateY(5px) scale(.94, 1.08);
    }
  100% { opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    }
}
@media (prefers-reduced-motion: reduce) {
  .hero-character, .hero-text img, .hero-site-label { animation: none;
    }
  .hero-site-label { opacity: 1;
    }
  @media (max-width: 760px) { .hero-site-label { transform: translateX(-50%);
      } }
  .hero-text img { opacity: 1;
    }
}

/* 最新のお知らせバナー：ぷよっと登場、ホバーでぼかしなしの影 */
.hero-top-banner {
  position: absolute;
  z-index: 4;
  left: 320px;
  top: 455px;
  display: block;
  width: 500px;
  max-width: none;
  opacity: 0;
  transform-origin: 50% 70%;
  animation: yakichi-banner-pop .75s 3.65s both;
  cursor: pointer;
  text-decoration: none;
}
.hero-top-banner img { display: block;
  width: 100%;
  height: auto;
  }
.hero-top-banner:hover { filter: drop-shadow(7px 8px 0 rgba(63, 19, 0, .65));
  }
.hero-top-banner:focus-visible { outline: 3px solid #fff;
  outline-offset: 5px;
  }
@keyframes yakichi-banner-pop {
  0% { opacity: 0;
    transform: translateY(30px) scale(.2,.5) rotate(-6deg);
    }
  45% { opacity: 1;
    transform: translateY(-12px) scale(1.12,.84) rotate(3deg);
    }
  70% { opacity: 1;
    transform: translateY(5px) scale(.94,1.08) rotate(-2deg);
    }
  100% { opacity: 1;
    transform: translateY(0) scale(1);
    }
}
@media (max-width:760px) {
  .hero-top-banner { left: 50%;
    top: 225px;
    width: min(65vw, 300px);
    animation-name: yakichi-banner-pop-mobile;
    }
}
@keyframes yakichi-banner-pop-mobile {
  0% { opacity: 0;
    transform: translateX(-50%) translateY(30px) scale(.2,.5);
    }
  45% { opacity: 1;
    transform: translateX(-50%) translateY(-12px) scale(1.12,.84);
    }
  70% { opacity: 1;
    transform: translateX(-50%) translateY(5px) scale(.94,1.08);
    }
  100% { opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    }
}
@media (prefers-reduced-motion:reduce) {
  .hero-top-banner { animation:none;
    opacity:1;
    }
  @media (max-width:760px) { .hero-top-banner { transform:translateX(-50%);
      } }
}

/* スマホFV最終調整：表示順と大きな波 */
@media (max-width: 760px) {
  .hero {
    height: 820px;
  }
  .hero-text {
    left: 50%;
    top: 52px;
    transform: translateX(-50%);
  }
  .hero-text img {
    height: clamp(52px, 13vw, 84px);
  }
  .hero-site-label {
    left: 50%;
    top: 155px;
    width: min(72vw, 340px);
    animation-name: yakichi-site-pop-mobile;
  }
  .hero-character {
    left: 50%;
    bottom: 240px;
    width: min(82vw, 360px);
  }
  .hero-top-banner {
    left: 50%;
    top: auto;
    bottom: 95px;
    width: min(72vw, 320px);
    animation-name: yakichi-banner-pop-mobile;
  }
  .hero-wave {
    z-index: 5;
    height: 72px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 72' preserveAspectRatio='none'%3E%3Cpath d='M0 44 C48 44 66 15 116 16 C167 17 175 41 224 43 C277 45 294 67 342 62 C368 59 384 51 400 51 L400 72 L0 72 Z' fill='%23fff'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
  }
}

/* 登場演出完了後も、バナーをゆっくり浮遊させる（PC・スマホ共通） */
.hero-top-banner img {
  animation: yakichi-banner-float 4.8s ease-in-out 4.4s infinite;
  transform-origin: 50% 55%;
}
@keyframes yakichi-banner-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-4px) rotate(-0.7deg); }
  50% { transform: translateY(-7px) rotate(0.3deg); }
  75% { transform: translateY(-3px) rotate(0.7deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-top-banner img { animation: none; }
}

/* ============================================================
   TOP PAGE POP COLOR v1 — FV / header intentionally unchanged.
   Apply only from the four navigation cards and below.
   ============================================================ */
.quick-links a {
  background: #2055a8;
  border-color: #2055a8;
  box-shadow: inset 0 -5px 0 rgba(0,0,0,.11);
  transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}
.quick-links a:hover, .quick-links a:focus-visible {
  background: #17468d;
  border-color: #ffca21;
  box-shadow: 0 7px 0 rgba(255,197,0,.45);
  transform: translateY(-5px);
}
.quick-links span { color: #fff; }
.quick-links small { color: #ffdb46; }
.quick-links i { background: #e60012; border: 2px solid #fff; color: #fff; }
.quick-links a:hover i { background: #ffbf00; color: #17304b; }
.quick-links img { filter: drop-shadow(0 2px 0 rgba(255,255,255,.20)); }

/* おしらせ — energetic red block with white list for legibility */
.news-section {
  background: #e60012;
  background-image: none;
}
.news-section .section-title { color: #fff; }
.news-section .section-title small { color: #ffdb46; }
.news-panel { border: 4px solid #fff; box-shadow: 8px 8px 0 rgba(111,0,12,.16); }
.news-mascot {
  filter: drop-shadow(0 0 0 #fff)
          drop-shadow(2px 0 0 #fff)
          drop-shadow(-2px 0 0 #fff)
          drop-shadow(0 2px 0 #fff)
          drop-shadow(0 -2px 0 #fff)
          drop-shadow(2px 2px 0 #fff)
          drop-shadow(-2px 2px 0 #fff)
          drop-shadow(2px -2px 0 #fff)
          drop-shadow(-2px -2px 0 #fff);
}
.news-panel a:hover { color: #2055a8; }
.news-section .pill { background: #2055a8; border-color: #fff; color: #fff; }
.news-section .pill:hover { background: #123e83; }

/* プロフィール — white breathing space with strong graphic accent */
.profile-section { background: #fff; }
.profile-section .section-title { color: #2055a8; }
.profile-section .section-title small { color: #e60012; }
.profile-section .soft-circle { background: #ffcb26; box-shadow: none; }
.profile-section .profile-copy .pill { background: #2055a8; border-color: #2055a8; }
.profile-section .profile-copy .pill:hover { background: #e60012; border-color: #e60012; }

/* おでかけ情報 — 青背景（波模様なし） */
.outing-section {
  background: #2055a8;
}
.outing-section .section-title,
.outing-section .section-lead { color: #fff; }
.outing-section .section-title small { color: #ffcf32; }
.outing-card { border: 4px solid #fff; box-shadow: 8px 8px 0 rgba(8,37,94,.24); }
.outing-card h3 { color: #2055a8; }
.outing-card .chip { background: #e60012; }
.outing-card .pill { background: #2055a8; color: #fff; border-color: #2055a8; }
.outing-card .pill:hover { background: #e60012; border-color: #e60012; }

/* 壁紙・プレゼント — light pink retained, strengthen color blocks */
.present-section { background: #FFF5DA; }
.present-section .section-title { color: #2055a8; }
.present-section .section-title small { color: #e60012; }
.present-feature { border: none; box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.present-feature .pill { background: #2055a8; color: #fff; border-color: #2055a8; }
.present-feature:hover .pill { background: #e60012; border-color: #e60012; }

/* グッズ — clean white, headline color pop */
.goods-section { background: #fff; }
.goods-section .section-title { color: #2055a8; }
.goods-section .section-title small { color: #e60012; }
.goods-inner img { filter: drop-shadow(10px 8px 0 #ffe7ec); }
.goods-inner .pill { background: #2055a8; border-color: #2055a8; }
.goods-inner .pill:hover { background: #e60012; border-color: #e60012; }

@media (max-width: 760px) {
  .quick-links a { gap: 6px; }
  .quick-links img { flex-shrink: 0; }
  .news-panel, .outing-card, .present-feature { box-shadow: 4px 5px 0 rgba(0,0,0,.10); }
}

/* 追加調整 — プロフィール背景と壁紙&プレゼント */
.present-feature {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
}
.present-feature-art {
  background: #ff2843;
  min-height: 295px;
}
.present-feature-art::before {
  width: 240px;
  height: 240px;
  border-radius: 28px;
  background: rgba(255,109,146,.42);
}
.present-feature-art img {
  transform: rotate(0deg);
}
@media (max-width:760px) {
  .present-feature-art::before {
    width: 180px;
    height: 180px;
    border-radius: 22px;
  }
}


/* 追加調整 — グッズ画像をさらに大きく、影なし */
.goods-inner {
  gap: 52px;
}
.goods-inner img {
  width: min(44vw, 430px);
  height: auto;
  max-width: 100%;
  filter: none;
}
@media (max-width: 980px) {
  .goods-inner {
    gap: 28px;
  }
  .goods-inner img {
    width: min(46vw, 360px);
  }
}
@media (max-width: 760px) {
  .goods-section {
    padding-bottom: 100px;
  }
  .goods-inner {
    flex-direction: column;
    gap: 18px;
  }
  .goods-inner img {
    width: min(78vw, 300px);
  }
}


/* 追加調整 — 壁紙＆プレゼント左ビジュアルを1枚画像化 */
.present-feature-art {
  background: #ff2843 url("../img/present_feature_visual.png") center center / cover no-repeat;
  min-height: 295px;
  padding: 0;
}
.present-feature-art::before {
  content: none;
  display: none;
}
.present-feature-art img {
  display: none;
}
@media (max-width: 760px) {
  .present-feature-art {
    min-height: 220px;
    background-size: cover;
  }
}


/* 追加調整 — 壁紙＆プレゼント左側は present02.png をそのまま表示 */
.present-feature-art {
  background: none;
  min-height: 295px;
  padding: 0;
  overflow: hidden;
}
.present-feature-art::before,
.present-feature-art .feature-circle {
  content: none;
  display: none;
}
.present-feature-art img {
  display: block;
}
.present-feature-art .present-feature-image {
  width: 100%;
  height: 100%;
  min-height: 295px;
  object-fit: cover;
  object-position: center;
  transform: none;
}
@media (max-width: 760px) {
  .present-feature-art {
    min-height: 220px;
  }
  .present-feature-art .present-feature-image {
    min-height: 220px;
  }
}

/* 最新のお知らせ：マウスオーバーでぽよんと飛び出す（既存の浮遊・登場演出は維持） */
.hero-top-banner {
  scale: 1;
  transition: scale .42s cubic-bezier(.22, 1.65, .35, 1);
}
.hero-top-banner:hover,
.hero-top-banner:focus-visible {
  scale: 1.07;
}
@media (prefers-reduced-motion: reduce) {
  .hero-top-banner { transition: none; }
}

/* iPhoneを含むスマホ専用：余白・重なり・波形を再設計 */
@media (max-width: 760px) {
  .hero { height: 100vh; height: 100svh; min-height: 0; overflow: hidden; }
  .hero-text { left: 50%; top: 7%; transform: translateX(-50%); }
  .hero-text img { height: clamp(48px, 14vw, 64px); }
  .hero-site-label {
    left: 50%; top: 21%; width: min(46vw, 200px);
    animation-name: yakichi-site-pop-mobile;
  }
  .hero-character {
    left: 50%; top: 50%; bottom: auto; width: min(82vw, 39svh, 345px);
    animation-name: yakichi-pop-in-mobile-center;
  }
  .hero-top-banner {
    left: 50%; top: auto; bottom: 11%;
    width: min(72vw, 300px);
    animation-name: yakichi-banner-pop-mobile;
  }
  .hero-wave {
    z-index: 5; left: 0; right: 0; bottom: -1px;
    width: 100%; height: clamp(35px, 5.5svh, 52px);
    /* 連続した4つのBezier曲線で、一定周期の山2つ・谷2つ */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 64' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C25 4 75 4 100 30 C125 56 175 56 200 30 C225 4 275 4 300 30 C325 56 375 56 400 30 V64 H0 Z' fill='%23fff'/%3E%3C/svg%3E");
    background-size: 100% 100%; background-repeat: no-repeat;
    background-position: center bottom; pointer-events: none;
  }
}
@media (max-width: 760px) and (max-height: 600px) {
  .hero-text img { height: clamp(40px, 12vw, 56px); }
  .hero-site-label { top: 20%; width: min(43vw, 180px); }
  .hero-character { width: min(76vw, 37svh, 300px); top: 50%; bottom: auto; }
  .hero-top-banner { width: min(67vw, 280px); bottom: 11%; }
}

/* スマホ専用：登場アニメ中もキャラクターを画面の中央に揃える */
@keyframes yakichi-pop-in-mobile-center {
  0%   { transform: translate(calc(-50% + 110vw), -50%) rotate(17deg) scale(.65, .8); }
  51%  { transform: translate(calc(-50% - 32px), -50%) rotate(-10deg) scale(1.08, .93); }
  65%  { transform: translate(calc(-50% + 13px), -50%) rotate(5deg) scale(.91, 1.08); }
  78%  { transform: translate(calc(-50% - 6px), -50%) rotate(-3deg) scale(1.04, .97); }
  88%  { transform: translate(calc(-50% + 2px), -50%) rotate(1deg) scale(.985, 1.02); }
  100% { transform: translate(-50%, -50%) rotate(0) scale(1); }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .hero-character { transform: translate(-50%, -50%); }
}


/* top outing image slightly larger */
.outing-card img {
  width: 190px;
  height: 190px;
}

@media (max-width:760px) {
  .outing-card img {
    width: 105px;
    height: 115px;
  }
}

/* enlarge top outing illustration */
.outing-section .outing-card > img { width: 220px; height: 220px; flex-shrink: 0; }
@media (max-width:760px) { .outing-section .outing-card > img { width: 125px; height: 135px; } }

/* おしらせ欄：赤と白の境界の左側に cat01.png を配置 */
.news-section {
  overflow: visible;
  isolation: isolate;
}
.news-section::after {
  content: "";
  position: absolute;
  left: 4%;
  bottom: -28px;
  width: 250px;
  aspect-ratio: 420 / 250;
  background: url("../img/cat01.png") center / contain no-repeat;
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 760px) {
  .news-section::after {
    left: -10px;
    width: 135px;
    bottom: -20px;
  }
}

/* グッズ：スマホのみ画像の下にボタンを表示 */
.goods-mobile-link { display: none; }
@media (max-width: 760px) {
  .goods-inner > div > .pill { display: none; }
  .goods-inner > .goods-mobile-link {
    display: inline-flex;
    margin-top: 4px;
  }
}

/* おでかけ情報：スマホのみ「イラスト → 文章 → ボタン」の縦並び */
@media (max-width: 760px) {
  .outing-section .outing-card {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }
  .outing-section .outing-card > img {
    width: min(64vw, 190px);
    height: auto;
    flex-shrink: 0;
  }
  .outing-section .outing-card > div {
    width: 100%;
    text-align: center;
  }
  .outing-section .outing-card h3,
  .outing-section .outing-card p {
    text-align: center;
  }
}

/* 壁紙＆プレゼント：カード全体ではなくボタンのみリンク */
.present-feature { cursor: default; }
.present-feature:hover { transform: none; }
.present-feature-copy .pill { pointer-events: auto; }
.present-feature:hover .pill { background: #2055a8; border-color: #2055a8; }
.present-feature-copy .pill:hover,
.present-feature-copy .pill:focus-visible { background: #e60012; border-color: #e60012; }
