@charset "utf-8";

/* ============================================
   Rain LP - Custom Styles
   ============================================ */

/* ---------- Base ---------- */
.rain-lp {
  font-family: "RakutenSansJP2_W-Regular", "RakutenSansJP2_W-Bold", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: #333;
  overflow-x: hidden;
}
.rain-lp *,
.rain-lp *::before,
.rain-lp *::after {
  box-sizing: border-box;
}
.rain-lp img {
  max-width: 100%;
  height: auto;
}
.rain-lp .hero,
.rain-lp .lifestyle,
.rain-lp .section-header,
.rain-lp .subsection-title,
.rain-lp .more-link-wrap,
.rain-lp .searchInner,
.rain-lp .keyword,
.rain-lp .brand_search,
.rain-lp .ranking-textContainer {
  line-height: 1.6;
}
.rain-lp a {
  color: inherit;
  text-decoration: none;
}
.rain-lp a:hover {
  opacity: 0.8;
}
.rain-lp button {
  cursor: pointer;
  font-family: inherit;
}

/* ---------- Containers ---------- */
.rain-lp .container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
}
.rain-lp .container-sm {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.rain-lp .container-md {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Gender Tab ---------- */
.gender-tab-wrap {
  background: transparent;
}
.tab-row {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 520px;
  margin: 0 auto;
}
.tab-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 64px;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  border-radius: 8px 8px 0 0;
  transition: background 0.2s;
}
.tab-btn.active {
  background: #fff;
  color: #64A2CD;
  border: 2px solid #64A2CD;
  border-bottom: none;
  font-weight: 900;
  font-size: 20px;
  height: 68px;
  pointer-events: none;
}
.tab-btn.inactive {
  background: #fff;
  color: #64A2CD;
  border: 2px solid #64A2CD;
  border-bottom: none;
  font-size: 15px;
  height: 56px;
  align-self: flex-end;
}
.tab-btn.inactive:hover {
  background: #F5FAFD;
  color: #64A2CD;
  border-color: #64A2CD;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #5BB5E0;
  padding: 60px 0;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.hero-circles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-circle {
  position: absolute;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.7);
  background: transparent;
  opacity: 0;
  transform: scale(0);
}
@keyframes ripple {
  0% { transform: scale(0); opacity: 0.9; border-width: 3px; }
  35% { opacity: 0.4; }
  70% { transform: scale(1); opacity: 0; border-width: 1px; }
  100% { transform: scale(1); opacity: 0; border-width: 1px; }
}
.hero-circle-1 {
  width: 200px;
  height: 200px;
  top: 15%;
  right: 22%;
  animation: ripple 10s ease-out infinite;
}
.hero-circle-2 {
  width: 160px;
  height: 160px;
  bottom: 5%;
  right: 55%;
  animation: ripple 10s ease-out 2s infinite;
}
.hero-circle-3 {
  width: 130px;
  height: 130px;
  top: 50%;
  right: 8%;
  animation: ripple 10s ease-out 3.5s infinite;
}
.hero-circle-4 {
  width: 180px;
  height: 180px;
  top: 65%;
  right: 38%;
  animation: ripple 10s ease-out 5s infinite;
}
.hero-circle-5 {
  width: 110px;
  height: 110px;
  top: 30%;
  right: 42%;
  animation: ripple 10s ease-out 6.5s infinite;
}

/* Water drops */
.water-drops-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.water-drops-pattern img {
  position: absolute;
}
@keyframes waterDropFall {
  0% { transform: translateY(-10px); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(30px); opacity: 0; }
}
@keyframes waterDropFallSlow {
  0% { transform: translateY(-8px); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(25px); opacity: 0; }
}
@keyframes waterDropFallFast {
  0% { transform: translateY(-12px); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(35px); opacity: 0; }
}
.water-drop-anim { animation: waterDropFall 4s ease-in infinite; }
.water-drop-anim-slow { animation: waterDropFallSlow 6s ease-in infinite; }
.water-drop-anim-fast { animation: waterDropFallFast 3s ease-in infinite; }

/* Water drop positions */
.water-drop-1  { left:5%;  top:8%;  opacity:0.5; }
.water-drop-2  { left:88%; top:10%; opacity:0.45; }
.water-drop-3  { left:60%; top:15%; opacity:0.4; }
.water-drop-4  { left:75%; top:40%; opacity:0.35; }
.water-drop-5  { left:55%; top:55%; opacity:0.4; }
.water-drop-6  { left:93%; top:58%; opacity:0.35; }
.water-drop-7  { left:48%; top:25%; opacity:0.4; }
.water-drop-8  { left:70%; top:75%; opacity:0.4; }
.water-drop-9  { left:82%; top:85%; opacity:0.3; }
.water-drop-10 { left:65%; top:68%; opacity:0.4; }
.water-drop-11 { left:3%;  top:75%; opacity:0.5; }
.water-drop-12 { left:5%; top:45%; opacity:0.45; }

/* Hero inner */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-text {
  flex: 1;
  max-width: 520px;
}
.hero-subcatch {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
  margin-top: 40px;
  margin-bottom: 6px;
}
.hero-catch {
  font-size: 56px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  margin-top: 16px;
  margin-bottom: 4px;
  line-height: 1.2;
}
.hero-desc {
  font-size: 16px;
  color: #FFEFB8;
  opacity: 1;
  margin-top: 8px;
  margin-bottom: 36px;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.rain-lp .hero-buttons a.hero-btn-primary {
  padding: 14px 28px;
  background: #FFFFFF;
  color: #64A2CD;
  border: none;
  border-radius: 32px;
  font-size: 15px;
  font-weight: 700;
  transition: opacity 0.2s;
}
.rain-lp .hero-buttons a.hero-btn-primary:hover {
  opacity: 0.85;
}
.rain-lp .hero-buttons a.hero-btn-outline {
  padding: 14px 28px;
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  border-radius: 32px;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.rain-lp .hero-buttons a.hero-btn-outline:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* Hero left circles */
.hero-circles-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 200px;
  height: 100%;
  pointer-events: none;
}
.hero-circle-left {
  position: absolute;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.7);
  background: transparent;
  opacity: 0;
  transform: scale(0);
}
.hero-circle-left-1 {
  width: 160px;
  height: 160px;
  top: 10%;
  left: -30px;
  animation: ripple 10s ease-out 1s infinite;
}
.hero-circle-left-2 {
  width: 120px;
  height: 120px;
  top: 55%;
  left: 40px;
  animation: ripple 10s ease-out 3.5s infinite;
}
.hero-circle-left-3 {
  width: 100px;
  height: 100px;
  top: 30%;
  left: 80px;
  animation: ripple 10s ease-out 6s infinite;
}
.hero-circle-left-4 {
  width: 140px;
  height: 140px;
  top: 75%;
  left: -10px;
  animation: ripple 10s ease-out 4s infinite;
}

/* Hero illustration */
.hero-illust {
  flex-shrink: 0;
  width: 220px;
  margin-left: 40px;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-float-anim {
  animation: heroFloat 3s ease-in-out infinite;
}
.hero-float-anim img {
  width: 100%;
  height: auto;
  opacity: 0.85;
}

/* ---------- Anchor Nav ---------- */
.anchor-nav {
  padding: 16px 0;
  margin: 0 0 24px;
  background: transparent;
}
.anchor-nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.anchor-nav-item a {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border: 1px solid #4A8AB5;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 700;
  color: #4A8AB5;
  background: #fff;
  box-shadow: 0 2px 8px rgba(30, 51, 82, 0.12);
  transition: background 0.2s, color 0.2s;
}
.anchor-nav-item a:hover {
  background: #4A8AB5;
  color: #fff;
  opacity: 1;
}

/* ---------- Floating Navi color ---------- */
.rain-lp .ecm-floating-navi-item {
  color: #000852;
}

/* ---------- Lifestyle ---------- */
.lifestyle {
  padding: 0 0 48px;
  background: #F7FBFE;
}
.rain-lp .lifestyle-inner {
  text-align: center;
  margin-top: 32px;
}
.rain-lp .editorial-inner + .lifestyle-inner {
  padding-top: 48px;
}
.lifestyle-inner img {
  max-width: 600px;
  width: 100%;
  border-radius: 16px;
  margin-bottom: 24px;
}
.lifestyle-text {
  font-size: 18px;
  color: #000852;
  font-weight: 500;
  line-height: 1.8;
}

/* ---------- Product Section ---------- */
.product-section {
  padding: 80px 0;
}
.bg-white { background: #fff; }
.bg-gray { background: #F5F8FA; }

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-illust {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
}
.section-illust svg {
  width: 100%;
  height: auto;
}
.section-label {
  font-size: 14px;
  font-weight: 700;
  color: #a4ddf8;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}
.section-title {
  font-size: 32px;
  font-weight: 900;
  color: #000852;
  margin-bottom: 12px;
}
#search .section-header {
  margin-top: 48px;
}
.section-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #a4ddf8, #1E3352);
  margin: 0 auto;
  border-radius: 2px;
}

/* Subsection */
.subsection {
  margin-bottom: 64px;
}
.subsection:last-child {
  margin-bottom: 0;
}
.subsection-title {
  font-size: 24px;
  font-weight: 700;
  color: #000852;
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 2px solid #E8F2FA;
}

/* More link */
.more-link-wrap {
  text-align: center;
  margin-top: 24px;
}
.rain-lp .more-link-wrap .more-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  border: 1px solid #000852;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: #000852;
  transition: background 0.2s, color 0.2s;
}
.rain-lp .more-link-wrap .more-link:hover {
  opacity: 0.75;
}

/* ---------- Search Section ---------- */
.search-section {
  padding: 80px 0;
  background: #E8F2FA;
}
.search-form-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 4px 24px rgba(30, 51, 82, 0.08);
}
.search-form-label {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: #4f4f4f;
  margin-bottom: 15px;
}
.search-form-input-wrap {
  margin-bottom: 32px;
}
.search-form-input {
  width: 100%;
  height: 56px;
  border: 1px solid #4f4f4f;
  border-radius: 0;
  padding: 0 16px;
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}
.search-form-input::placeholder {
  color: #999;
}
.search-form-submit {
  display: block;
  width: 280px;
  height: 56px;
  margin: 0 auto;
  background: #4f4f4f;
  color: #fff;
  border: none;
  border-radius: 28px;
  font-size: 18px;
  font-weight: 700;
  transition: opacity 0.2s;
}
.search-form-submit:hover {
  opacity: 0.8;
}

/* ---------- Brand Section ---------- */
.brand-section-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: #4f4f4f;
  margin: 64px 0 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.brand-section-title::before,
.brand-section-title::after {
  content: "";
  display: inline-flex;
  width: 43px;
  height: 46px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-image: url(https://r.r10s.jp/evt/event/fashion/rainitem/_pc/img/20230519/heading_sub_bg.png);
}
.brand-section-title span {
  padding: 0 24px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.brand-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s;
}
.brand-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.brand-card-img-link {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
}
.brand-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.brand-card:hover .brand-card-img {
  transform: scale(1.05);
}
.brand-card-footer {
  padding: 10px 12px;
  text-align: center;
}
.brand-card-name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Editorial (inside Lifestyle) ---------- */
.rain-lp .editorial-inner {
  padding-top: 48px;
}
.editorial-header {
  text-align: center;
  margin-bottom: 32px;
}
.editorial-title {
  font-size: 22px;
  font-weight: 700;
  color: #000852;
  margin-bottom: 12px;
}
.editorial-lead {
  text-align: center;
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.editorial-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.editorial-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  border-left: 4px solid #5BB5E0;
}
.editorial-card-label {
  font-size: 12px;
  font-weight: 700;
  color: #5BB5E0;
  letter-spacing: 0.05em;
}
.editorial-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #000852;
  margin-bottom: 12px;
  line-height: 1.5;
}
.editorial-card-text {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

/* ---------- Ranking Section ---------- */
.ranking-section {
  padding: 80px 0;
  background: #fff;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* ---------- Utility ---------- */
.paragragh {
  font-size: 12px;
  color: #999;
  line-height: 1.6;
  margin-bottom: 8px;
}
.highlight a {
  color: #1E3352;
}
