/* =============================================
   RoomClip Summer 2026 - Pixel Perfect CSS
   Design Width: 1400px, Height: 7649px
   All coordinates are from Figma design
   ============================================= */

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: none;
  /* スケーリング時のジャギー防止 */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* SP専用改行（デスクトップでは非表示） */
.sp-br {
  display: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =============================================
   Page Wrapper - Scaling System
   ============================================= */
.page-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.page-content {
  width: 1400px;
  /* height: JavaScriptで動的に設定 */
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top left;
  background: #fff;
  overflow: hidden;
  /* スケーリング時のレンダリング品質向上 */
  will-change: transform;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

/* =============================================
   FIRSTVIEW Section (0 - 800px)
   Exact coordinates from Figma
   ============================================= */
.firstview {
  position: absolute;
  top: 0;
  left: 0;
  width: 1400px;
  height: 1000px;
  overflow: visible;
}

/* Hero Background Image - Hexagon pattern */
.firstview-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 1400px;
  height: 1000px;
  overflow: hidden;
}

.firstview-bg img {
  position: absolute;
  left: -303px;
  top: -220px;
  width: 1811px;
  height: 1220px;
  object-fit: cover;
}

/* Left Large Circular Photo */
.hero-photo-left {
  position: absolute;
  left: -210px;
  top: 210px;
  width: 625px;
  height: 625px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 10px 10px 0 0 #66B5D4;
  box-sizing: border-box;
  z-index: 1;
}

.hero-photo-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.42) translate(4%, -14.3%);
  transform-origin: center center;
}

/* Right Large Circular Photo */
.hero-photo-right {
  position: absolute;
  left: 854px;
  top: -175px;
  width: 625px;
  height: 625px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 10px 10px 0 0 #66B5D4;
  box-sizing: border-box;
  z-index: 1;
}

.hero-photo-right img {
  width: 100%;
  height: 99%;
  object-fit: cover;
  transform: scale(1.11) translate(0%, -2.1%);
  transform-origin: center center;
}

/* Menu Bar */
.nav-menu-bar {
  position: absolute;
  left: 698px;
  top: 31px;
  width: 664px;
  height: 40px;
  background: #fff;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.nav-menu-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #158dbc;
  letter-spacing: 1.4px;
  white-space: nowrap;
}

.nav-menu-link {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #158dbc;
  letter-spacing: 1.4px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.nav-menu-link:hover {
  opacity: 0.7;
}

.nav-menu-divider {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #158dbc;
  letter-spacing: 1.4px;
}

/* Hamburger Menu (Hidden on PC) */
.hamburger-menu {
  display: none;
  position: fixed;
  right: 20px;
  top: 20px;
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hamburger-menu span {
  display: block;
  width: 24px;
  height: 3px;
  background: #158dbc;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile Menu Overlay - Hidden by default (PC) */
.mobile-menu-overlay {
  display: none;
}

/* Logo */
.logo {
  position: absolute;
  left: 614px;
  top: 147px;
  width: 172px;
  height: 40px;
  overflow: hidden;
  z-index: 10;
}

.logo img {
  width: 172px;
  height: 40px;
}

/* Main Title */
.maintitle {
  position: absolute;
  left: 457px;
  top: 239px;
  width: 516px;
  height: 206px;
  z-index: 5;
}

.maintitle img {
  width: 100%;
  height: 100%;
}

/* Description Text */
.firstview-desc {
  position: absolute;
  left: 52.3%;
  transform: translateX(-50%);
  top: 473px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #5880bb;
  line-height: 32px;
  letter-spacing: 0.9px;
  white-space: nowrap;
  z-index: 5;
}

/* PC: show PC version, hide SP version */
.firstview-desc-pc {
  display: block;
}

.firstview-desc-sp {
  display: none;
}

/* =============================================
   Decorative Icons in Firstview
   Positions from Figma metadata (135:410)
   ============================================= */
.deco-icon {
  position: absolute;
  z-index: 6;
  pointer-events: none;
}

.deco-icon img {
  display: block;
}

/* Sunflower - right bottom (x=1229, y=590, 119x170) */
.deco-sunflower {
  left: 1229px;
  top: 590px;
  width: 119px;
  height: 170px;
}

.deco-sunflower .sunflower-stem {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 118px;
  height: 86px;
}

.deco-sunflower .sunflower-head {
  position: absolute;
  top: 0;
  left: 6px;
  width: 104px;
  height: 104px;
}

/* Pine - left (x=269, y=537, 127x180, rotate -15deg) */
.deco-pine {
  left: 290px;
  top: 540px;
  width: 127px;
  height: 180px;
  transform: rotate(-15deg);
}

.deco-pine img {
  width: 88px;
  height: 163px;
}

/* Ice cream - right (x=1112, y=759, 111x145, rotate 11.6deg) */
.deco-ice {
  left: 1085px;
  top: 733px;
  width: 80px;
  height: 139px;
  transform: rotate(0.6deg);
}

.deco-ice img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Suika (Watermelon) - top left (x=326, y=239, 151x106, rotate 14.32deg) */
.deco-suika {
  left: 311px;
  top: 244px;
  width: 120px;
  height: 78px;
  transform: rotate(16.32deg);
}

.deco-suika img {
  width: 100%;
  height: 100%;
}

/* Fish - left bottom (x=19, y=784, 150x141, rotate -16.53deg) */
.deco-fish {
  left: 36px;
  top: 795px;
  width: 150px;
  height: 141px;
  transform: rotate(-16.53deg);
}

.deco-fish img {
  width: 124px;
  height: 110px;
}

/* Flower (Hibiscus) - top right (x=806, y=95, 101x85) */
.deco-flower {
  left: 806px;
  top: 95px;
  width: 101px;
  height: 85px;
}

.deco-flower img {
  width: 101px;
  height: 85px;
}

/* Kamome (Seagulls) - right middle (x=807, y=677, 167x85) */
.deco-kamome {
  left: 807px;
  top: 654px;
  width: 167px;
  height: 85px;
}

.deco-kamome .kamome1 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 139px;
  height: 47px;
}

.deco-kamome .kamome2 {
  position: absolute;
  top: 0;
  right: 0;
  width: 103px;
  height: 29px;
}

/* Glass (Sunglasses) - left middle (x=63, y=677, 140x80, rotate 16.33deg) */
.deco-glass {
  left: 61px;
  top: 695px;
  width: 140px;
  height: 80px;
  transform: rotate(16.33deg);
}

.deco-glass img {
  width: 133px;
  height: 45px;
}

/* Ball (Beach ball) - center (x=477, y=668, 108x108) */
.deco-ball {
  left: 477px;
  top: 668px;
  width: 108px;
  height: 108px;
}

.deco-ball img {
  width: 100%;
  height: 100%;
}

/* Small Circular Photos */
.hero-photo-small {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 4px 5px 0 0 #66B5D4;
  box-sizing: border-box;
  z-index: 2;
}

.hero-photo-small img {
  width: 100%;
  height: 71%;
  object-fit: cover;
}

/* Photo 01 - top left small (160px) */
.hero-photo-01 {
  left: 68px;
  top: 94px;
  width: 160px;
  height: 160px;
}

.hero-photo-01 img {
  transform: scale(1.7) translate(4.3%, 6%);
  transform-origin: center center;
}

/* Photo 02 - top center-left (180px) */
.hero-photo-02 {
  left: 296px;
  top: 43px;
  width: 180px;
  height: 180px;
}

.hero-photo-02 img {
  transform: scale(2.0) translate(-15.2%, 18.8%);
  transform-origin: center center;
}

/* Photo 03 - right side middle (140px) */
.hero-photo-03 {
  left: 987px;
  top: 360px;
  width: 140px;
  height: 140px;
}

.hero-photo-03 img {
  transform: scale(1.4) translate(9%, 13%);
  transform-origin: center center;
}

/* Photo 04 - right side below (140px) */
.hero-photo-04 {
  left: 1208px;
  top: 403px;
  width: 140px;
  height: 140px;
}

.hero-photo-04 img {
  transform: scale(1.5) translate(-7%, 15%) scaleX(-1);
  transform-origin: center center;
}

/* Photo 05 - right side bottom (160px) */
.hero-photo-05 {
  left: 1046px;
  top: 540px;
  width: 160px;
  height: 160px;
}

.hero-photo-05 img {
  transform: scale(2.6) translate(-8%, -12%);
  transform-origin: center center;
}

/* =============================================
   Common Section Elements
   ============================================= */
.section-subtitle {
  position: absolute;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #999;
  letter-spacing: 1.6px;
  text-align: center;
  white-space: nowrap;
  z-index: 1;
}

.section-title {
  position: absolute;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #005d8e;
  letter-spacing: 3.2px;
  text-align: center;
  white-space: nowrap;
  z-index: 1;
}

.title-line {
  position: absolute;
  width: 150px;
  height: 21px;
  background: url('../images/icons/title-line.svg') no-repeat center;
  background-size: contain;
  z-index: 1;
}

.section-desc {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  text-align: center;
  letter-spacing: 1.6px;
  white-space: nowrap;
  margin-top: -2px;
}

/* =============================================
   RECOMMEND Section (519 - 1702px from Figma)
   ============================================= */
.recommend {
  position: absolute;
  top: 519px;
  left: 0;
  width: 1400px;
  height: 1183px;
  z-index: 3;
}

.recommend-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 1400px;
  height: 1183px;
}

.recommend-bg img {
  width: 100%;
  height: 100%;
}

.recommend-bg-pc {
  display: block;
}

.recommend-bg-sp {
  display: none;
}

.recommend-cards {
  position: absolute;
  top: 0;
  left: 0;
  width: 1400px;
}

/* Recommend Section - Title Positioning */
.recommend .section-subtitle {
  top: 260px;
  left: 49.6%;
  transform: translateX(-50%);
}

.recommend .section-title {
  top: 283px;
  left: 50%;
  transform: translateX(-50%);
}

.recommend .title-line-left {
  top: 299px;
  left: 428px;
}

.recommend .title-line-right {
  top: 299px;
  left: 822px;
}

/* Recommend Cards Positioning */
.recommend-card:nth-child(1) {
  left: 99px;
  top: 396px;
}

.recommend-card:nth-child(2) {
  left: 508px;
  top: 396px;
}

.recommend-card:nth-child(3) {
  left: 915px;
  top: 396px;
}

/* Recommend More Button */
.recommend .more-btn {
  top: 923px;
  left: 437px;
}

.recommend-card {
  display: block;
  position: absolute;
  width: 384px;
  background: #fff;
  border-radius: 30px 30px 0 30px;
  overflow: visible;
  box-shadow: 6px 6px 0 0 #005D8E;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommend-card:hover {
  transform: translateY(-5px);
  box-shadow: 8px 10px 0 0 #005D8E;
}

.card-image {
  width: 384px;
  height: 280px;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* 各カードの画像位置を個別調整 */
.recommend-card:nth-child(1) .card-image img {
  object-position: center center; /* カード1 */
}
.recommend-card:nth-child(2) .card-image img {
  object-position: center center; /* カード2 */
}
.recommend-card:nth-child(3) .card-image img {
  object-position: center center; /* カード3 */
}

.card-body {
  width: 384px;
  height: 180px;
  background: #fff;
  border-radius: 0 0 30px 30px;
  position: relative;
}

.card-label {
  position: absolute;
  width: 140px;
  top: -17px;
  left: 14px;
  padding: 6px 20px;
  background: #d1eef6;
  border-radius: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  letter-spacing: 1.4px;
  white-space: nowrap;
}

.card-title {
  padding: 31px 28px 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1e1e1e;
  line-height: 28px;
  letter-spacing: 1.8px;
}

.card-provider {
  position: absolute;
  bottom: 18px;
  left: 28px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #1e1e1e;
  letter-spacing: 1.2px;
}

.card-arrow {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
}

.card-arrow img {
  width: 100%;
  height: 100%;
}

.card-arrow::after {
  content: '→';
  position: absolute;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  bottom: 6px;
  right: 12px;
  transition: transform 0.3s ease;
}

.recommend-card:hover .card-arrow::after {
  transform: translateX(5px);
}

.more-btn {
  position: absolute;
  display: flex;
  align-items: center;
  z-index: 5;
  box-shadow: 0 6px 0 0 #005D8E;
  border-radius: 35px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 0 #005D8E;
}

.more-btn-main {
  width: 432px;
  height: 70px;
  background: #46a6d8;
  border-radius: 35px 0 0 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2.4px;
  padding-left: 53px;
}

.more-btn-arrow {
  width: 70px;
  height: 70px;
  background: #0887c9;
  border-radius: 0 35px 35px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5px;
}

.more-btn-arrow img {
  width: 25px;
  height: 15px;
  transform: rotate(180deg);
}

/* =============================================
   EVENT Section (1470 - 2890px from Figma)
   ============================================= */
.event {
  position: absolute;
  top: 1470px;
  left: 0;
  width: 1400px;
  height: 1420px;
}

/* Event Section - Title Positioning */
.event .section-subtitle {
  top: 254px;
  left: 49.6%;
  transform: translateX(-50%);
}

.event .section-title {
  top: 277px;
  left: 50%;
  transform: translateX(-50%);
}

.event .title-line-left {
  top: 293px;
  left: 428px;
}

.event .title-line-right {
  top: 293px;
  left: 822px;
}

.event .section-desc {
  top: 354px;
}

/* Event Cards Positioning */
.event-card-large-1 {
  left: 100px;
  top: 461px;
}

.event-card-large-2 {
  left: 720px;
  top: 461px;
}

.event-card-small-1 {
  left: 100px;
  top: 1044px;
}

.event-card-small-2 {
  left: 514px;
  top: 1044px;
}

.event-card-small-3 {
  left: 928px;
  top: 1050px;
}

.event-bg {
  position: absolute;
  top: -43px;
  left: -54px;
  width: 900px;
  height: 1600px;
  background: url('../images/bg/event-polka.png') no-repeat;
  background-size: contain;
  z-index: 0;
}

.event-deco {
  position: absolute;
  z-index: 5;
}

.event-deco-camera {
  top: 211px;
  left: 244px;
  width: 110px;
  height: 77px;
  transform: rotate(-21.5deg);
}

.event-deco-camera img {
  width: 100%;
  height: 100%;
}

.event-deco-ukiwa {
  top: 294px;
  right: 220px;
  width: 109px;
  height: 109px;
}

.event-deco-ukiwa img {
  width: 100%;
  height: 100%;
}

/* Event Cards - Large */
.event-card {
  position: absolute;
  display: block;
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-card-large {
  width: 580px;
}

.event-card-photo {
  position: relative;
  z-index: 2;
  width: 495px;
  height: 270px;
  margin-left: 43px;
  transform: rotate(-5deg);
  background: #fff;
  padding: 11px 11px 11px 11px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

.event-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  object-position: center center;
}

.event-card-body {
  position: absolute;
  top: 135px;
  left: 0;
  width: 580px;
  height: 387px;
  padding: 160px 50px;
  background: #eefbff;
  box-shadow: 5px 5px 0 0 #106384;
  transition: box-shadow 0.3s ease;
}

.event-card:hover .event-card-body {
  box-shadow: 5px 10px 0 0 #106384;
}

.event-card-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #005d8e;
  text-align: center;
  letter-spacing: 2.8px;
  margin-bottom: 10px;
}

.event-card-date {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #1e1e1e;
  text-align: center;
  letter-spacing: 1.2px;
  margin-bottom: 13px;
}

.event-card-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1e1e1e;
  line-height: 24px;
  letter-spacing: 1.4px;
}

.event-card-btn {
  position: absolute;
  top: 327px;
  left: 0;
  width: 580px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #5880bb;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.8px;
  transition: background-color 0.3s ease;
}

.event-card:hover .event-card-btn {
  background: #4a6fa8;
}

.event-card-btn::after {
  content: '→';
  font-size: 23px;
  margin-top: -3px;
  transition: transform 0.3s ease;
}

.event-card:hover .event-card-btn::after {
  transform: translateX(5px);
}

/* Event Cards - Small */
.event-card-small {
  width: 372px;
}

.event-card-photo-small {
  position: relative;
  z-index: 2;
  width: 350px;
  height: 141px;
  margin-left: 9px;
  transform: rotate(-2deg);
  background: #fff;
  padding: 8px;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.event-card-photo-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coming-soon-photo {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.coming-soon-photo::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: rgba(0,0,0,0.8);
  z-index: 0;
}

.coming-question {
  position: relative;
  z-index: 1;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 80px;
  font-weight: 700;
  color: #fff;
}

.event-card-coming .event-card-title-small {
  margin: 17px;
}

.event-card-coming .event-card-date-small {
  margin-top: -4px;
}

.event-card-coming .event-card-provider {
  margin-top: 6px;
}

.event-card-coming .event-card-body-small {
  top: 73px;
  padding-top: 66px;
}

.event-card-body-small {
  position: absolute;
  top: 78px;
  left: 0;
  width: 372px;
  height: 196px;
  padding: 62px 30px 30px;
  background: #eefbff;
  box-shadow: 5px 5px 0 0 #106384;
  transition: box-shadow 0.3s ease;
}

.event-card:hover .event-card-body-small {
  box-shadow: 5px 10px 0 0 #106384;
}

.event-card-title-small {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #005d8e;
  text-align: center;
  letter-spacing: 2.4px;
  margin-bottom: 12px;
}

.event-card-date-small {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #1e1e1e;
  text-align: center;
  letter-spacing: 1.8px;
  margin-top: 30px;
}

.event-card-provider {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #1e1e1e;
  letter-spacing: 1.2px;
  text-align: center;
  margin-top: 10px;
}

.event-card-btn-small {
  position: absolute;
  bottom: -134px;
  left: 0;
  width: 372px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #5880bb;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.6px;
  padding-left: 2px; /* テキストを右に移動 */
  transition: background-color 0.3s ease;
}

.event-card:hover .event-card-btn-small {
  background: #4a6fa8;
}

.event-card-btn-small::after {
  content: '→';
  font-size: 16px;
  transition: transform 0.3s ease;
}

.event-card:hover .event-card-btn-small::after {
  transform: translateX(5px);
}

/* =============================================
   CAMPAIGN Section (2890 - 3850px)
   ============================================= */
.campaign {
  position: absolute;
  top: 2890px;
  left: 0;
  width: 1400px;
  height: 960px;
}

/* Campaign Section - Title Positioning */
.campaign .section-subtitle {
  top: 62px;
  left: 49.7%;
  transform: translateX(-50%);
}

.campaign .section-title {
  top: 85px;
  left: 50%;
  transform: translateX(-50%);
}

.campaign .title-line-left {
  top: 101px;
  left: 428px;
}

.campaign .title-line-right {
  top: 101px;
  left: 822px;
}

.campaign .section-desc {
  top: 158px;
}

/* Campaign Cards Positioning */
.campaign-card-1 {
  left: 120px;
  top: 271px;
}

.campaign-card-2 {
  left: 740px;
  top: 271px;
}

.campaign-card-3 {
  left: 120px;
  top: 585px;
}

.campaign-bg {
  position: absolute;
  top: 0px;
  left: -375px;
  width: 2153px;
  height: 1076px;
  background: url('../images/bg/campaign-gradient.png') no-repeat;
  background-size: cover;
  z-index: 0;
}

.campaign-deco {
  position: absolute;
  z-index: 5;
}

.campaign-deco-cart {
  top: 44px;
  left: 283px;
  width: 61px;
  height: 113px;
  transform: rotate(15deg);
}

.campaign-deco-kai {
  top: 31px;
  right: 302px;
  width: 88px;
  height: 75px;
  transform: rotate(15deg);
}

.campaign-deco-ice {
  top: 101px;
  right: 231px;
  width: 40px;
  height: 118px;
  transform: rotate(-15deg);
}

.campaign-deco img {
  width: 100%;
  height: 100%;
}

/* Campaign Cards */
.campaign-card {
  position: absolute;
  width: 560px;
  height: 242px;
  background: #fff;
  border: 1px solid #5880bb;
  border-radius: 20px;
  overflow: visible;
}

.campaign-card-image {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 200px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
}

.campaign-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-card-content {
  position: absolute;
  top: 28px;
  left: 200px;
  width: 340px;
}

.campaign-card-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #005d8e;
  line-height: 24px;
  letter-spacing: 1.6px;
  margin-bottom: 12px;
}

.campaign-card-info {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #6d6d6d;
  line-height: 18px;
  letter-spacing: 1.2px;
}

.campaign-card-buttons {
  position: absolute;
  bottom: -13px;
  left: 34px;
  display: flex;
  gap: 76px;
}

.campaign-btn {
  width: 180px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 35px 0 0 35px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.6px;
  position: relative;
  padding-left: 19px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.campaign-btn:hover {
  transform: translateY(-2px);
}

.campaign-btn-blue:hover {
  box-shadow: 0 7px 0 0 #1c5778;
}

.campaign-btn-blue:hover::after {
  box-shadow: 0 7px 0 0 #1c5778;
}

.campaign-btn-red:hover {
  box-shadow: 0 7px 0 0 #792a27;
}

.campaign-btn-red:hover::after {
  box-shadow: 0 7px 0 0 #792a27;
}

.campaign-btn::after {
  content: '';
  position: absolute;
  right: -56px;
  top: 0;
  width: 56px;
  height: 54px;
  border-radius: 0 35px 35px 0;
  background-image: url('../images/icons/triangle.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 17px;
  transition: box-shadow 0.3s ease;
}

.campaign-btn-blue {
  background: #46a6d8;
  box-shadow: 0 5px 0 0 #1c5778;
}

.campaign-btn-blue::after {
  background-color: #0887c9;
  box-shadow: 0 5px 0 0 #1c5778;
}

.campaign-btn-red {
  background: #e45d58;
  box-shadow: 0 5px 0 0 #792a27;;
}

.campaign-btn-red::after {
  background-color: #dc3c36;
  box-shadow: 0 5px 0 0 #792a27;
}

/* =============================================
   SHOWROOM Section (3850 - 4920px)
   ============================================= */
.showroom {
  position: absolute;
  top: 3850px;
  left: 0;
  width: 1400px;
  height: 1070px;
}

/* Showroom Section - Title Positioning */
.showroom .section-subtitle {
  top: 139px;
  left: 49%;
  transform: translateX(-45%);
}

.showroom .section-title {
  top: 162px;
  left: 50%;
  transform: translateX(-50%);
}

.showroom .title-line-left {
  top: 178px;
  left: 338px;
}

.showroom .title-line-right {
  top: 178px;
  left: 909px;
}

.showroom .section-desc {
  top: 236px;
}

/* Showroom Slider - Positioning removed, now using flexbox in track */

.showroom-bg {
  position: absolute;
  top: 0;
  left: -187px;
  width: 1784px;
  height: 1070px;
  opacity: 1;
  z-index: 0;
}

.showroom-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showroom-deco-airline {
  position: absolute;
  top: 100px;
  left: 183px;
  width: 141px;
  height: 79px;
  z-index: 5;
}

.showroom-deco-airline img {
  width: 100%;
  height: 100%;
}

.showroom-deco-fukidashi {
  position: absolute;
  top: 92px;
  left: 1067px;
  width: 182px;
  height: 139px;
  z-index: 5;
}

.fukidashi-outline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.fukidashi-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 15px;
  box-sizing: border-box;
}

.fukidashi-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  letter-spacing: 1.6px;
  margin-bottom: -17px;
  transform: translateY(12px);
}

.fukidashi-number-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.fukidashi-number {
  font-family: 'Noto Serif JP', serif;
  font-size: 50px;
  font-weight: 700;
  color: #005d8e;
  line-height: 1;
  margin-top: 23px;
  letter-spacing: 5px;
}

.fukidashi-unit {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin-left: 2px;
}

.fukidashi-action {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  letter-spacing: 1.6px;
  margin-top: -5px;
  margin-right: -61px;
}

/* Showroom Slider */
.showroom-slider {
  position: absolute;
  top: 305px;
  left: 50%;
  transform: translateX(-50%);
  width: 1580px;
  height: 510px;
  overflow: hidden;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  cursor: grab;
}

.showroom-slider:active {
  cursor: grabbing;
}

.showroom-slider-track {
  display: flex;
  gap: 40px;
  /* トランジションはJavaScriptで制御 */
  padding-left: 0;
}

.showroom-card {
  display: block;
  flex: 0 0 500px;
  width: 500px;
  height: 500px;
  background: #fff;
  position: relative;
  transition: transform 0.3s ease;
}

.showroom-card:hover {
  transform: translateY(-5px);
}

/* 右側の影 */
.showroom-card::before {
  content: '';
  position: absolute;
  top: 6px;
  right: -6px;
  width: 6px;
  height: 100%;
  background: #106384;
}

/* 下側の影（黄色の帯） */
.showroom-card::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 5px;
  width: 100%;
  height: 6px;
  background: #106384;
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #5880bb;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-arrow:hover {
  background: #5880bb;
  color: #fff;
}

.slider-arrow:hover svg path {
  stroke: #fff;
}

.slider-arrow svg {
  width: 24px;
  height: 24px;
}

.slider-arrow svg path {
  stroke: #5880bb;
  transition: stroke 0.3s ease;
}

.slider-arrow-prev {
  left: -50px;
  display: none;
}

.slider-arrow-next {
  right: -50px;
  display: none;
}

.slider-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.slider-arrow:disabled:hover {
  background: #fff;
}

.slider-arrow:disabled:hover svg path {
  stroke: #5880bb;
}

.showroom-card-image {
  position: relative;
  width: 500px;
  height: 240px;
  overflow: hidden;
}

.showroom-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== ショールーム画像 個別調整 ===== */
/* 位置: object-position: X Y; (px, %, top/center/bottom など) */
/* 拡大: transform: scale(1.0); (1.0=等倍, 1.2=120%拡大, 0.8=80%縮小) */

/* 1. ユアサプライムス */
.showroom-card[data-slide="0"] .showroom-card-image img {
  object-position: 50% 55%;
  transform: scale(1.2);
}

/* 2. タカギ */
.showroom-card[data-slide="1"] .showroom-card-image img {
  object-position: 50% 55%;
  transform: scale(1.0);
}

/* 3. アジア工房 */
.showroom-card[data-slide="2"] .showroom-card-image img {
  object-position: 50% 100%;
  transform: scale(1.0);
}

/* 4. WOODPRO */
.showroom-card[data-slide="3"] .showroom-card-image img {
  object-position: 50% 12%;
  transform: scale(1.3);
}

/* 5. DreamSticker */
.showroom-card[data-slide="4"] .showroom-card-image img {
  object-position: 50% 55%;
  transform: scale(1.0);
}

/* 6. joiterior */
.showroom-card[data-slide="5"] .showroom-card-image img {
  object-position: 50% 100%;
  transform: scale(1.0);
}

/* 7. 茶谷産業 */
.showroom-card[data-slide="6"] .showroom-card-image img {
  object-position: 50% 63%;
  transform: scale(1.0);
}

/* 8. ひとりで塗れるもん */
.showroom-card[data-slide="7"] .showroom-card-image img {
  object-position: 50% 55%;
  transform: scale(1.0);
}

/* 9. Grande */
.showroom-card[data-slide="8"] .showroom-card-image img {
  object-position: 50% 55%;
  transform: scale(1.0);
}

/* 10. わくわくカーテン */
.showroom-card[data-slide="9"] .showroom-card-image img {
  object-position: 50% 9%;
  transform: scale(1.0);
}

.room-no {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  text-shadow: 1px 1px 0 #000;
  letter-spacing: 1.2px;
}

.showroom-card-header {
  position: absolute;
  top: 28px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: #fff;
  height: 24px;
  z-index: 2;
}

.showroom-avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid #d9d9d9;
  background: #ccc;
  overflow: hidden;
}

.showroom-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showroom-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  letter-spacing: 1.4px;
}

.showroom-card-desc {
  padding: 21px 30px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #000;
  line-height: 23px;
  letter-spacing: 1.3px;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 160px;
}

.showroom-company {
  position: absolute;
  bottom: 35px;
  left: 40px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #000;
  letter-spacing: 1.1px;
}

.showroom-arrow {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 80px;
  height: 80px;
  background: url('../images/icons/arrow-circle.svg') no-repeat center;
  background-size: contain;
}

.showroom-arrow::after {
  content: '';
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 21px;
  height: 15px;
  background: url('../images/icons/arrow.svg') no-repeat center;
  background-size: contain;
  transition: transform 0.3s ease;
}

.showroom-card:hover .showroom-arrow::after {
  transform: translateX(5px);
}

/* Showroom Dots */
.showroom-dots {
  position: absolute;
  top: 902px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
}

.dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #999;
  background: #ccc;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dot:hover {
  border-color: #5880bb;
  transform: scale(1.15);
}

.dot-active {
  transform: scale(1.36);
  border: 2px solid #5880bb;
}

.dot-active:hover {
  transform: scale(1.36);
}

/* =============================================
   MAG Section (4908 - 7050px)
   ============================================= */
.mag {
  position: absolute;
  top: 4908px;
  left: 0;
  width: 1400px;
  /* height: JavaScriptで動的に設定 */
  min-height: 500px;
  background: #eefbff;
}

/* Mag Section - Title Positioning */
.mag .section-title {
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
}

.mag .title-line-left {
  top: 104px;
  left: 409px;
}

.mag .title-line-right {
  top: 104px;
  left: 837px;
}

.mag-grid {
  position: absolute;
  top: 221px;
  left: 180px;
  width: 1040px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.mag-card {
  position: relative;
  width: 320px;
  height: 300px;
  background: #fff;
  border-radius: 30px 30px 0 30px;
  overflow: visible;
  box-shadow: 5px 5px 0 0 #106384;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mag-card:hover {
  transform: translateY(-5px);
  box-shadow: 7px 8px 0 0 #106384;
}

.mag-card-image {
  position: relative;
  width: 320px;
  height: 200px;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
}

.mag-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mag-card-body {
  position: absolute;
  top: 200px;
  left: 0;
  width: 320px;
  height: 100px;
  background: #fff;
  border-radius: 0 0 0 30px;
}

.mag-card-label {
  position: absolute;
  top: 183px;
  left: 20px;
  padding: 6px 25px;
  background: #d1eef6;
  border-radius: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  letter-spacing: 1.4px;
  z-index: 1;
}

.mag-card-title {
  position: absolute;
  top: 229px;
  left: 22px;
  width: 280px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1e1e1e;
  line-height: 24px;
  letter-spacing: 0;
  /* 2行で省略（約30文字相当） */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mag-card-arrow {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: url('../images/icons/arrow-circle.svg') no-repeat center;
  background-size: contain;
}

.mag-card-arrow::after {
  content: '';
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 16px;
  height: 11px;
  background: url('../images/icons/arrow.svg') no-repeat center;
  background-size: contain;
  transition: transform 0.3s ease;
}

.mag-card:hover .mag-card-arrow::after {
  transform: translateX(5px);
}

/* =============================================
   FOOTER Section (6892 - 7649px)
   ============================================= */
.footer {
  position: absolute;
  /* top: JavaScriptで動的に設定 */
  top: 6892px;
  left: 0;
  width: 1400px;
  height: 757px;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 1400px;
  height: 757px;
  background: #eefbff;
}

.footer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-bg-pc {
  display: block;
}

.footer-bg-sp {
  display: none;
}

.footer-logo {
  position: absolute;
  top: 126px;
  left: 50%;
  transform: translateX(-50%);
  width: 275px;
  height: 62px;
}

.footer-logo img {
  width: 275px;
  height: 62px;
}

.footer-desc {
  position: absolute;
  top: 207px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 42px;
  letter-spacing: 2.4px;
  width: 850px;
}

/* PC版ではSP用を非表示 */
.footer-desc-sp {
  display: none;
}

.app-buttons-container {
  position: absolute;
  top: 382px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 180px;
  background: #fff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-right: 280px;
}

.app-btn {
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.app-btn:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.app-btn-apple img {
  width: 300px;
  height: 81px;
}

.app-btn-google img {
  width: 302px;
  height: 81px;
}

.phone-mockup {
  position: absolute;
  top: -30px;
  right: 73px;
  width: 266px;
  height: 210px;
}

.phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* SNS Buttons Container */
.sns-buttons {
  position: absolute;
  top: 611px;
  left: 0;
  width: 1400px;
  height: 70px;
}

/* SNS Button Base Style */
.sns-btn {
  position: absolute;
  width: 310px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 39px 0 40px;
  border-radius: 35px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2.4px;
  text-decoration: none;
  box-shadow: 0 5px 0 0 #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sns-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 0 #fff;
}

.sns-btn span {
  position: relative;
  z-index: 1;
  padding-left: 29px;
}

.sns-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
}

.sns-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* YouTube Button */
.sns-btn-youtube {
  left: 215px;
  background: #ff0000;
}

/* Instagram Button */
.sns-btn-instagram {
  left: 555px;
  background: linear-gradient(105deg, #ffd600 8.6%, #ff7a00 29.2%, #ff0069 70.3%, #d300c5 85.8%, #7638fa 90.9%);
}

/* X Button */
.sns-btn-x {
  left: 895px;
  background: #413c27;
}

/* =============================================
   Large Screen - Full Width Backgrounds (min-width: 1401px)
   ============================================= */
@media screen and (min-width: 1401px) {
  .page-wrapper {
    overflow-x: hidden;
  }

  .page-content {
    overflow: visible;
  }

  /* Firstview background - full width */
  .firstview-bg {
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .firstview-bg img {
    width: 100%;
    left: 0;
  }

  /* Recommend background - full width */
  .recommend-bg {
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Event background - full width */
  .event-bg {
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background-size: auto 100%;
  }

  /* Campaign background - full width */
  .campaign-bg {
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Showroom background - full width */
  .showroom-bg {
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Showroom slider - full width */
  .showroom-slider {
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    transform: none;
  }

  /* Mag background - full width */
  .mag {
    overflow: visible;
  }

  .mag::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(-50vw + 700px);
    width: 100vw;
    height: 100%;
    background: #eefbff;
    z-index: 0;
  }

  .mag > * {
    /* position: relative; */
    z-index: 1;
  }

  /* Footer background - full width */
  .footer-bg {
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* =============================================
   SP390 - Responsive Styles (max-width: 390px)
   Mobile Design: 390px width
   ============================================= */
@media screen and (max-width: 767px) {
  /* SP専用改行を表示 */
  .sp-br {
    display: block;
  }

  /* Page Container */
  .page-content {
    width: 390px;
    /* height: JavaScriptで動的に設定 */
  }

  /* =============================================
     SP FIRSTVIEW Section
     ============================================= */
  .firstview {
    width: 390px;
    height: 956px;
  }

  .firstview-bg {
    width: 390px;
    height: 943px;
  }

  .firstview-bg img {
    left: -770px;
    top: -14px;
    width: 1441px;
    height: 971px;
  }

  /* SP Hero Photos */
  .hero-photo-left {
    left: -63px;
    top: 623px;
    width: 333px;
    height: 333px;
    box-shadow: 5px 5px 0 0 #66B5D4;
  }

  .hero-photo-right {
    left: 143px;
    top: -67px;
    width: 333px;
    height: 333px;
    box-shadow: 5px 5px 0 0 #66B5D4;
  }

  /* SP Small Photos */
  .hero-photo-01 {
    left: 28px;
    top: 115px;
    width: 100px;
    height: 100px;
  }

  .hero-photo-02 {
    left: -32px;
    top: -16px;
    width: 120px;
    height: 120px;
  }

  .hero-photo-03 {
    left: 285px;
    top: 211px;
    width: 110px;
    height: 110px;
  }

  .hero-photo-04 {
    left: 280px;
    top: 729px;
    width: 120px;
    height: 120px;
  }

  .hero-photo-05 {
    left: 220px;
    top: 641px;
    width: 100px;
    height: 100px;
  }

  .hero-photo-small {
    box-shadow: 3px 3px 0 0 #66B5D4;
  }

  /* SP Menu - Hidden, replaced with hamburger */
  .nav-menu-bar {
    display: none;
  }

  /* SP Hamburger Menu */
  .hamburger-menu {
    display: flex;
  }

  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* SP Mobile Menu Overlay */
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .mobile-menu-overlay.active {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100vw - 40px);
    max-width: 320px;
    background: #fff;
    border-radius: 16px;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  .mobile-menu-link {
    display: block;
    padding: 16px 24px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #158dbc;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
  }

  .mobile-menu-link:last-child {
    border-bottom: none;
  }

  .mobile-menu-link:hover,
  .mobile-menu-link:active {
    background: #f0f8ff;
  }

  /* SP Logo */
  .logo {
    left: 19px;
    top: 256px;
    width: 131px;
    height: 30px;
  }

  .logo img {
    width: 131px;
    height: 30px;
  }

  /* SP Main Title */
  .maintitle {
    left: 16px;
    top: 310px;
    width: 358px;
    height: 143px;
  }

  /* SP Description */
  .firstview-desc {
    left: 50%;
    top: 478px;
    transform: translateX(-50%);
    font-size: 14px;
    line-height: 26px;
    letter-spacing: 0.7px;
    white-space: normal;
    text-align: center;
  }

  /* SP: hide PC version, show SP version */
  .firstview-desc-pc {
    display: none;
  }

  .firstview-desc-sp {
    display: block;
    width: 100%;
    font-size: 15.3px;
    line-height: 24px;
  }

  /* SP Decorative Icons */
  .deco-sunflower {
    left: 337px;
    top: 861px;
    width: 65px;
    height: 93px;
  }

  .deco-sunflower .sunflower-stem {
    width: 65px;
    height: 47px;
  }

  .deco-sunflower .sunflower-head {
    width: 57px;
    height: 57px;
  }

  .deco-pine {
    left: 80px;
    top: 813px;
    width: 69px;
    height: 98px;
  }

  .deco-pine img {
    width: 48px;
    height: 89px;
  }

  .deco-ice {
    left: 307px;
    top: 961px;
    width: 63px;
    height: 76px;
    transform: rotate(-1.4deg);
  }

  .deco-suika {
    left: 6px;
    top: 600px;
    width: 69px;
    height: 44px;
  }

  .deco-fish {
    left: 7px;
    top: 969px;
    width: 87px;
    height: 82px;
  }

  .deco-fish img {
    width: 72px;
    height: 64px;
  }

  .deco-flower {
    left: 110px;
    top: 55px;
    width: 65px;
    height: 61px;
  }

  .deco-flower img {
    width: 65px;
    height: 55px;
  }

  .deco-kamome {
    left: 232px;
    top: 895px;
    width: 75px;
    height: 68px;
  }

  .deco-kamome .kamome1 {
    width: 63px;
    height: 38px;
  }

  .deco-kamome .kamome2 {
    width: 47px;
    height: 24px;
  }

  .deco-glass {
    left: 33px;
    top: 919px;
    width: 72px;
    height: 41px;
  }

  .deco-glass img {
    width: 68px;
    height: 23px;
  }

  .deco-ball {
    left: 116px;
    top: 944px;
    width: 54px;
    height: 54px;
  }

  /* =============================================
     SP RECOMMEND Section
     ============================================= */
  .recommend {
    top: 837px;
    width: 390px;
    height: 1714px;
  }

  .recommend-bg {
    width: 390px;
    height: 1714px;
  }

  .recommend-bg-pc {
    display: none;
  }

  .recommend-bg-sp {
    display: block;
  }

  .recommend .section-subtitle {
    top: 206px !important;
    left: 48.7% !important;
    font-size: 14px;
    letter-spacing: 2.7px;
  }

  .recommend .section-title {
    top: 227px !important;
    left: 50% !important;
    font-size: 32px;
  }

  .recommend .title-line {
    width: 53px;
    height: 21px;
  }
  .recommend .title-line-left {
    top: 243px !important;
    left: 20px !important;
  }
  .recommend .title-line-right {
    top: 243px !important;
    left: 316px !important;
  }

  .recommend-cards {
    width: 390px;
  }

  /* SP Recommend Cards - Vertical Stack */
  .recommend-card {
    display: block;
    position: absolute;
    left: 20px !important;
    width: 350px;
    border-radius: 20px 20px 0 20px;
    box-shadow: 5px 5px 0 0 #005D8E;
  }

  .recommend-card:nth-child(1) {
    top: 303px !important;
  }

  .recommend-card:nth-child(2) {
    top: 713px !important;
  }

  .recommend-card:nth-child(3) {
    top: 1123px !important;
  }

  .card-image {
    width: 350px;
    height: 200px;
    border-radius: 20px 20px 0 0;
  }

  .card-body {
    width: 350px;
    height: 180px;
    border-radius: 0 0 20px 20px;
  }

  .card-label {
    top: -15px;
    left: 10px;
    font-size: 12px;
    padding: 5px 15px;
    letter-spacing: 3.7px;
  }

  .card-title {
    padding: 25px 20px 8px;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 3.9px;
    line-height: 28px;
  }

  .card-provider {
    bottom: 16px;
    left: 21px;
    font-size: 12px;
  }

  .card-arrow {
    width: 80px;
    height: 80px;
  }

  .card-arrow::after {
    /* SP用の矢印位置調整 */
    bottom: 15px;
    right: 15px;
    font-size: 18px;
  }

  /* SP More Button */
  .more-btn {
    top: 1553px !important;
    left: 20px !important;
  }

  .more-btn-main {
    width: 280px;
    height: 70px;
    font-size: 18px;
    padding-left: 14px;
  }

  .more-btn-arrow {
    width: 70px;
    height: 70px;
  }

  /* =============================================
     SP EVENT Section
     ============================================= */
  .event {
    top: 2433px;
    width: 390px;
    height: 2240px;
  }

  .event-bg {
    width: 390px;
    height: 2240px;
    left: 0;
    top: 0;
    background: url('../images/bg/event-polka-sp-new.png') no-repeat;
    background-size: 390px 2240px;
    background-position: left top;
  }

  .event-deco-camera img {
    position: relative;
    top: -14px;
    left: 16px;
    width: 72px;
    height: 52px;
  }

  .event .section-subtitle {
    top: 187px !important;
    left: 48% !important;
    font-size: 16px;
  }

  .event .section-title {
    top: 210px !important;
    left: 50% !important;
    font-size: 32px;
  }

  .event .title-line {
    width: 53px;
    height: 21px;
  }
  .event .title-line-left {
    top: 226px !important;
    left: 20px !important;
  }
  .event .title-line-right {
    top: 226px !important;
    left: 316px !important;
  }

  .event .section-desc {
    top: 274px !important;
    font-size: 14.5px;
    white-space: normal;
    width: 353px;
    line-height: 25px;
    text-align: left;
  }

  /* SP Event Decorations */
  .event-deco-camera {
    top: 151px;
    left: 35px;
    width: 87px;
    height: 75px;
  }

  .event-deco-ukiwa {
    top: 158px;
    right: 68px;
    width: 50px;
    height: 50px;
  }

  /* SP Event Cards */
  .event-card-large {
    position: relative;
    top: auto !important;
    left: 21px !important;
    width: 350px;
    margin-bottom: 38px;
  }

  .event-card-large-1 {
    margin-top: 342px;
  }

  .event-card-large-2 {
    /* 1つ目の下に自動配置 */
  }

  .event-card-photo {
    width: 323px;
    height: 190px;
    margin-left: 13px;
    padding: 17px;
    transform: rotate(-5deg);
  }

  .event-card-body {
    position: relative;
    top: auto;
    margin-top: -93px;
    width: 350px;
    height: auto;
    min-height: 270px;
    padding: 100px 20px 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
  }

  .event-card-title {
    font-size: 29px;
    letter-spacing: 2px;
    margin-bottom: 7px;
  }

  .event-card-date {
    font-size: 12px;
  }

  .event-card-desc {
    font-size: 14px;
    line-height: 24.6px;
    flex-grow: 1;
  }

  .event-card-btn {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 60px;
    font-size: 18px;
    margin-top: 16px;
    margin-left: -20px;
    margin-bottom: -20px;
    width: calc(100% + 40px);
    padding-left: 48px;
  }

  .event-card-large-2 .event-card-btn {
    margin-top: 13px;
    margin-left: -20px;
    margin-bottom: -20px;
    width: calc(100% + 40px);
    padding-left: 48px;
  }
  .event-card-btn::after {
    font-size: 22px;
    margin-top: -4px;
    margin-left: 7px;
    transform: scaleY(1.5);
  }
  /* SP Small Event Cards */
  .event-card-small {
    width: 350px;
    left: 21px !important;
  }

  .event-card-small-1 {
    top: 1294px !important;
  }

  .event-card-small-2 {
    top: 1600px !important;
  }

  .event-card-small-3 {
    top: 1907px !important;
  }

  .event-card-photo-small {
    width: 314px;
    height: 138px;
    margin-left: 18px;
    padding: 5px;
    transform: rotate(-1deg);
  }

  .event-card-photo-small img {
    width: 100%;
    height: 100%;
  }

  .event-card-body-small {
    top: 74px;
    width: 350px;
    height: 198px;
    padding: 77px 20px 20px;
  }

  .event-card-title-small {
    font-size: 20px;
  }

  .event-card-btn-small {
    width: 350px;
    height: 66px;
    font-size: 19px;
    padding-left: 33px;
    padding-bottom: 7px;
  }

  .event-card-date-small {
    font-size: 12px;
    margin-top: 5px;
    /* letter-spacing: 1.5px; */
  }

  .event-card-coming .event-card-body-small {
    top: 69px;
    width: 350px;
    height: 180px;
    padding: 59px 20px 20px;
  }

  .event-card-coming .event-card-title-small {
    font-size: 24px;
    margin-bottom: 9px;
  }

  .event-card-coming .event-card-date-small {
    font-size: 12px;
    margin-top: 12px;
    /* letter-spacing: 1.5px; */
  }

  /* =============================================
     SP CAMPAIGN Section
     ============================================= */
  .campaign {
    top: 4673px;
    width: 390px;
    height: 2365px;
  }

  .campaign-bg {
    width: 390px;
    height: 2365px;
    left: 0;
    top: 0;
    background-size: cover;
    background-position: center;
  }

  .campaign .section-subtitle {
    top: 84px !important;
    left: 49% !important;
    font-size: 16px;
  }

  .campaign .section-title {
    top: 107px !important;
    left: 50% !important;
    font-size: 32px;
  }

  .campaign .title-line {
    width: 53px;
    height: 21px;
  }
  .campaign .title-line-left {
    top: 123px !important;
    left: 20px !important;
  }
  .campaign .title-line-right {
    top: 123px !important;
    left: 315px !important;
  }

  .campaign .section-desc {
    top: 173px !important;
    font-size: 16px;
    white-space: normal;
    width: 328px;
    line-height: 25px;
  }

  /* SP Campaign Decorations - Hidden on mobile */
  .campaign-deco {
    display: none;
  }

  /* SP Campaign Cards - Vertical Stack */
  .campaign-card {
    width: 330px;
    height: 650px;
    left: 40px !important;
    border-radius: 20px;
    border: 1px solid #5880bb;
    background: #fff;
  }

  .campaign-card-1 {
    top: 266px !important;
  }

  .campaign-card-2 {
    top: 965px !important;
  }

  .campaign-card-3 {
    top: 1664px !important;
  }

  .campaign-card-image {
    position: absolute;
    top: -19px;
    left: -20px;
    width: 330px;
    height: 330px;
    border-radius: 20px;
  }

  .campaign-card-content {
    position: absolute;
    top: 332px;
    left: 20px;
    width: 290px;
    padding: 0;
  }

  .campaign-card-title {
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 2.6px;
  }

  .campaign-card-info {
    font-size: 11px;
    line-height: 18px;
    margin-top: 16px;
    letter-spacing: 1.9px;

  }

  .campaign-card-buttons {
    position: absolute;
    top: 489px;
    left: 47px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .campaign-card-1 .campaign-card-buttons {
    margin-top: 0;
  }

  .campaign-card-1 .campaign-card-info {
    margin-top: 0px;
  }

  .campaign-card-2 .campaign-card-buttons {
    margin-top: 0;
  }

  .campaign-card-3 .campaign-card-buttons {
    margin-top: 0;
  }

  .campaign-card-3 .campaign-card-info {
    margin-top: 8px;
  }

  .campaign-btn {
    width: 180px;
    height: 54px;
    border-radius: 27px 0 0 27px;
    font-size: 14px;
    letter-spacing: 3.9px;
    padding-left: 29px;
  }

  .campaign-btn::after {
    right: -56px;
    width: 56px;
    height: 54px;
    border-radius: 0 27px 27px 0;
  }

  /* =============================================
     SP SHOWROOM Section
     ============================================= */
  .showroom {
    top: 7038px;
    width: 390px;
    height: 807px;
  }

  .showroom-bg {
    width: 390px;
    height: 807px;
    left: 0;
  }

  .showroom .section-subtitle {
    top: 138px !important;
    left: 47.9% !important;
    font-size: 15px;
    letter-spacing: 2.2px !important;
  }

  .showroom .section-title {
    top: 159px !important;
    left: 50% !important;
    font-size: 32px;
    line-height: 38px;
  }

  .showroom .title-line {
    width: 48px;
    height: 21px;
  }
  .showroom .title-line-left {
    top: 187px !important;
    left: 20px !important;
  }
  .showroom .title-line-right {
    top: 187px !important;
    left: 322px !important;
  }

  .showroom .section-desc {
    top: 261px !important;
    font-size: 16px;
    white-space: normal;
    width: 331px;
  }

  /* SP Showroom Decorations */
  .showroom-deco-airline {
    top: 71px;
    left: 21px;
    width: 102px;
    height: 56px;
  }

  .showroom-deco-fukidashi {
    top: 38px;
    left: 243px;
    width: 136px;
    height: 103px;
  }

  .fukidashi-content {
    padding-bottom: 17px;
  }

  .fukidashi-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #000;
    letter-spacing: 1.1px;
    margin-bottom: -17px;
    transform: translateY(12px);
  }

  .fukidashi-number {
    font-size: 36px;
    font-weight: 700;
    color: #005d8e;
    line-height: 1;
    margin-top: 23px;
    letter-spacing: 5px;  }

  .fukidashi-unit {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    padding-right: 4px;
    margin-left: 0px;
  }

  .fukidashi-action {
    font-size: 12px;
    font-weight: 700;
    color: #000;
    letter-spacing: 1.6px;
    padding-top: 5px;
    padding-right: 17px;
  }

  /* SP Showroom Slider */
  .showroom-slider {
    top: 333px;
    left: 0 !important;
    transform: none !important;
    width: 390px !important;
    height: 415px;
    overflow: hidden;
    touch-action: pan-y;
  }

  .showroom-slider-track {
    gap: 20px !important;
    padding-left: 0;
    /* transformはJavaScriptで制御 */
  }

  .showroom-card {
    flex: 0 0 280px !important;
    width: 280px !important;
    height: 369px;
  }

  .showroom-card-image {
    width: 280px !important;
    height: 160px;
  }

  .showroom-card-header {
    top: 19px;
  }
  .showroom-card-desc {
    padding: 16px 20px;
    font-size: 12px;
    letter-spacing: 2px;
    line-height: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 160px;
  }

  .showroom-company {
    position: absolute;
    bottom: 19px;
    left: 20px;
    padding: 0;
    letter-spacing: 2px;
  }

  .showroom-arrow {
    width: 80px;
    height: 80px;
  }

  /* SP Slider Arrows */
  .slider-arrow {
    width: 40px;
    height: 40px;
    display: flex;
  }

  .slider-arrow-prev {
    left: 5px;
    display: none;
  }

  .slider-arrow-next {
    right: 5px;
    display: none;
  }

  .showroom-dots {
    top: 728px;
    gap: 8px;
  }

  .dot {
    width: 24px;
    height: 24px;
  }

  .dot-active {
    transform: scale(1.5);
  }

  /* =============================================
     SP MAG Section
     ============================================= */
  .mag {
    top: 7845px;
    width: 390px;
    /* height: JavaScriptで動的に設定 */
    min-height: 500px;
  }

  .mag .section-title {
    top: 59px !important;
    left: 50% !important;
    font-size: 31.4px;
    line-height: 36px;
  }

  .mag .title-line {
    width: 51px;
    height: 21px;
  }
  .mag .title-line-left {
    top: 84px !important;
    left: 46px !important;
  }
  .mag .title-line-right {
    top: 84px !important;
    left: 295px !important;
  }

  .mag-grid {
    top: 160px;
    left: 20px;
    width: 350px;
    flex-direction: column;
    gap: 20px;
  }

  /* SP Mag Cards - Vertical Stack */
  .mag-card {
    width: 350px;
    height: 300px;
    border-radius: 20px 20px 0 20px;
  }

  .mag-card-image {
    width: 350px;
    height: 200px;
    border-radius: 20px 20px 0 0;
  }

  .mag-card-body {
    width: 350px;
    height: 100px;
    border-radius: 0 0 0 20px;
  }

  .mag-card-label {
    top: 185px;
    left: 20px;
    font-size: 14px;
    padding: 4px 22px;
  }

  .mag-card-title {
    top: 229px;
    left: 22px;
    width: 280px;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
    /* 2行で省略 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mag-card-arrow {
    width: 60px;
    height: 60px;
  }

  .mag-card-arrow::after {
    bottom: 10px;
    right: 10px;
    width: 16px;
    height: 11px;
  }

  /* =============================================
     SP FOOTER Section
     ============================================= */
  .footer {
    top: 12859px;
    width: 390px;
    height: 1230px;
    background: #eefbff;
  }

  .footer-bg {
    width: 390px;
    height: 1230px;
  }

  .footer-bg-pc {
    display: none;
  }

  .footer-bg-sp {
    display: block;
  }

  .footer-logo {
    top: 81px;
    width: 275px;
    height: 62px;
  }

  .footer-desc {
    top: 162px;
    width: 330px;
    font-size: 19px;
    letter-spacing: 3px;
    line-height: 42px;
    text-align: left;
  }

  /* SP版ではPC用を非表示、SP用を表示 */
  .footer-desc-pc {
    display: none;
  }
  .footer-desc-sp {
    display: block;
  }

  /* SP App Buttons */
  .app-buttons-container {
    top: 350px;
    width: 350px;
    height: 462px;
    flex-direction: column;
    padding-top: 30px;
    padding-right: 0px;
    gap: 30px;
  }

  .app-btn-apple img,
  .app-btn-google img {
    width: 300px;
    height: 80px;
  }

  .phone-mockup {
    position: relative;
    top: 0;
    right: 0;
    width: 266px;
    height: 210px;
    margin: 0 auto;
  }

  /* SP SNS Buttons - Vertical Stack */
  .sns-buttons {
    top: 872px;
    width: 390px;
    height: 250px;
  }

  .sns-btn {
    position: relative;
    left: 40px !important;
    width: 310px;
    height: 70px;
    margin-bottom: 20px;
    border-radius: 35px;
  }

  .sns-btn-youtube {
    top: 0;
  }

  .sns-btn-instagram {
    top: 21px;
  }

  .sns-btn-x {
    top: 41px;
  }

  .sns-btn-x span {
    margin-left: -15px;
  }
}
