/*
Theme Name: LaLaFeel Imari
Theme URI: https://larafeel-imari.jp
Author: Your A-ONE
Description: ケーキ工房 ララフィール 伊万里 オリジナルテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: larafeel
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --ivory:        #FFFDF5;
  --orange:       #F39800;
  --orange-dark:  #D47800;
  --orange-light: #FFF0D6;
  --cream:        #FAF3E0;
  --choco:        #3C2A21;
  --choco-light:  #6B4C3B;
  --font-main:    'Yomogi', cursive;
  --blob-speed:   6s;
  --ease-smooth:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ivory);
  color: var(--choco);
  font-family: var(--font-main);
  overflow-x: hidden;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke: 0.3px currentColor;
}

img, picture, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

/* ============================================================
   BLOB ANIMATIONS
   ============================================================ */
@keyframes blob1 {
  0%,100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  33%     { border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%; }
  66%     { border-radius: 55% 45% 65% 35% / 40% 60% 45% 55%; }
}
@keyframes blob2 {
  0%,100% { border-radius: 50% 50% 45% 55% / 55% 45% 60% 40%; }
  40%     { border-radius: 65% 35% 55% 45% / 40% 60% 50% 50%; }
  70%     { border-radius: 40% 60% 40% 60% / 55% 45% 55% 45%; }
}
@keyframes floatBubble {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-18px) rotate(3deg); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.6); }
  100% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease-smooth), transform .8s var(--ease-smooth);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,253,245,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(243,152,0,.15);
  transition: box-shadow .3s;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(60,42,33,.08);
}
.site-logo {
  font-family: var(--font-main);
  font-size: 22px;
  color: var(--orange-dark);
  letter-spacing: .04em;
}

/* ヘッダーCTA — LINEグリーン */
.header-cta {
  background: #06C755;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 24px;
  font-family: var(--font-main);
  font-size: 14px;
  cursor: pointer;
  letter-spacing: .06em;
  box-shadow: 0 4px 16px rgba(6,199,85,.35);
  transition: transform .2s var(--ease-smooth), box-shadow .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,199,85,.45);
}
.header-cta:active { transform: scale(.97); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 5% 60px;
  position: relative;
  overflow: hidden;
}
.hero__bg-blob {
  position: absolute;
  right: -10%; top: 10%;
  width: 55vw; max-width: 640px;
  aspect-ratio: 1;
  background: var(--orange-light);
  animation: blob1 var(--blob-speed) ease-in-out infinite;
  z-index: 0;
  opacity: .7;
  pointer-events: none;
}
.hero__left {
  position: relative;
  z-index: 2;
  animation: fadeUp .9s var(--ease-smooth) .1s both;
}
.hero__eyebrow {
  font-family: var(--font-main);
  font-size: 13px;
  color: var(--orange);
  letter-spacing: .14em;
  margin-bottom: 16px;
}
.hero__title {
  font-size: clamp(32px, 5.5vw, 64px);
  line-height: 1.3;
  letter-spacing: .02em;
  margin-bottom: 24px;
}
.hero__title em {
  font-style: normal;
  color: var(--orange-dark);
}
.hero__sub {
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--choco-light);
  max-width: 400px;
  margin-bottom: 40px;
  line-height: 2;
}
.hero__cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.hero__right {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1.2s ease .3s both;
}
.hero__img-wrap {
  position: relative;
  width: clamp(260px, 38vw, 480px);
  aspect-ratio: 1;
}
.hero__blob-mask {
  width: 100%; height: 100%;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  animation: blob2 8s ease-in-out infinite;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 20px 60px rgba(243,152,0,.2);
}
.hero__blob-mask img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 16px 36px;
  font-family: var(--font-main);
  font-size: 16px;
  letter-spacing: .08em;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(243,152,0,.4);
  transition: transform .25s var(--ease-smooth), box-shadow .25s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(243,152,0,.5);
}

.btn-secondary {
  background: transparent;
  color: var(--choco);
  border: 1.5px solid rgba(60,42,33,.25);
  border-radius: 999px;
  padding: 15px 32px;
  font-family: var(--font-main);
  font-size: 15px;
  cursor: pointer;
  letter-spacing: .06em;
  transition: border-color .2s, background .2s;
  text-decoration: none;
  display: inline-block;
}
.btn-secondary:hover {
  background: var(--orange-light);
  border-color: var(--orange);
}

/* LINEボタン — グリーン */
.btn-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #06C755;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 18px 36px;
  font-family: var(--font-main);
  font-size: 16px;
  letter-spacing: .08em;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 8px 32px rgba(6,199,85,.3);
  transition: transform .25s var(--ease-smooth), box-shadow .25s;
  margin-top: 20px;
  text-decoration: none;
}
.btn-line:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(6,199,85,.4);
}

/* Instagramボタン — レッドグラデーション */
.btn-ig {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 18px 36px;
  font-family: var(--font-main);
  font-size: 16px;
  letter-spacing: .08em;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 8px 32px rgba(220,39,67,.3);
  transition: transform .25s var(--ease-smooth), box-shadow .25s;
  margin-top: 12px;
  text-decoration: none;
}
.btn-ig:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(220,39,67,.45);
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  padding: 100px 5%;
}
.section__eyebrow {
  font-family: var(--font-main);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--orange);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.4;
  letter-spacing: .02em;
  margin-bottom: 16px;
}
.section__desc {
  color: var(--choco-light);
  font-size: clamp(14px, 1.6vw, 17px);
  max-width: 560px;
  line-height: 2;
  margin-bottom: 48px;
}

/* Live以降のタイトル系センター揃え */
#live .section__eyebrow,
#live .section__title,
#live .section__desc,
#concept .section__eyebrow,
#concept .section__title,
#info .section__eyebrow,
#info .section__title,
#info .section__desc {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   LIVE / INSTAGRAM SECTION
   ============================================================ */
.section--live {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.live__bg-blob {
  position: absolute;
  left: -8%; top: -20%;
  width: 60vw; max-width: 700px;
  aspect-ratio: 1;
  background: rgba(243,152,0,.08);
  animation: blob1 10s ease-in-out infinite;
  pointer-events: none;
}
.live__header {
  position: relative;
  z-index: 2;
}
.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  padding: 6px 18px;
  font-family: var(--font-main);
  font-size: 14px;
  margin-bottom: 20px;
  animation: floatBubble 3s ease-in-out infinite;
}
.live-tag::before {
  content: '';
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s ease-out infinite;
}
.bubble-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-top: 16px;
}

/* Smash Balloon デフォルトスタイル完全リセット */
#sb_instagram,
.sbi_col_1, .sbi_col_2, .sbi_col_3,
#sbi_images, .sbi_item,
.sbi_photo_wrap, .sbi_photo,
.sbi_load_btn_section,
.sbi_header_img_hover { all: unset !important; display: revert !important; }
#sb_instagram { background: transparent !important; padding: 0 !important; margin: 0 !important; width: 100% !important; }
.sbi_photo img, #sb_instagram img { all: unset !important; display: block !important; width: 100% !important; height: 100% !important; object-fit: cover !important; }
.sbi_load_btn_section { display: none !important; }
.sbi_hover_bottom, .sbi_photo_overlay { display: none !important; }

.lf-bubble {
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(60,42,33,.12);
  flex-shrink: 0;
  animation: floatBubble ease-in-out infinite;
}
.lf-bubble img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease-smooth);
}
.lf-bubble:hover img { transform: scale(1.06); }
.lf-bubble:nth-child(1) { width: 200px; height: 200px; animation-duration: 3.2s; }
.lf-bubble:nth-child(2) { width: 160px; height: 160px; animation-duration: 4.0s; animation-delay: .5s; }
.lf-bubble:nth-child(3) { width: 240px; height: 240px; animation-duration: 3.7s; animation-delay: .2s; }
.lf-bubble:nth-child(4) { width: 170px; height: 170px; animation-duration: 4.3s; animation-delay: .8s; }
.lf-bubble:nth-child(5) { width: 130px; height: 130px; animation-duration: 3.5s; animation-delay: 1.0s; }
.bubble-caption {
  font-family: var(--font-main);
  font-size: 13px;
  color: var(--choco-light);
  margin-top: 24px;
  text-align: center;
  letter-spacing: .08em;
}

/* ============================================================
   CONCEPT SECTION
   ============================================================ */
.concept-wave {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 200px;
  opacity: .06;
  pointer-events: none;
}
.concept__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.story-block {
  border-left: 3px solid var(--orange);
  padding: 20px 0 20px 24px;
  margin-bottom: 32px;
}
.story-block h3 {
  font-family: var(--font-main);
  font-size: 20px;
  color: var(--orange-dark);
  margin-bottom: 8px;
}
.story-block p {
  font-size: 15px;
  color: var(--choco-light);
  line-height: 2;
}
.concept__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.concept__img {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--orange-light);
}
.concept__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-smooth);
}
.concept__img:hover img { transform: scale(1.04); }
.concept__img:nth-child(1) { border-radius: 50% 28px 28px 28px; }
.concept__img:nth-child(2) { border-radius: 28px 50% 28px 28px; aspect-ratio: .7; align-self: start; margin-top: 30px; }
.concept__img:nth-child(3) { border-radius: 28px 28px 50% 28px; }

/* ============================================================
   INFO SECTION
   ============================================================ */
.section--info {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.info__blob {
  position: absolute;
  right: -5%; bottom: -10%;
  width: 50vw; max-width: 600px;
  aspect-ratio: 1;
  background: rgba(243,152,0,.1);
  animation: blob2 9s ease-in-out infinite;
  pointer-events: none;
}
.info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  position: relative;
  z-index: 2;
}
.info-card {
  background: var(--ivory);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(60,42,33,.06);
}
.info-card h3 {
  font-family: var(--font-main);
  font-size: 22px;
  color: var(--orange-dark);
  margin-bottom: 20px;
}
.info-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(60,42,33,.08);
  font-size: 17px;
  line-height: 1.7;
}
.info-row:last-of-type { border-bottom: none; }
.info-label { color: var(--choco-light); min-width: 70px; flex-shrink: 0; }
.info-value { color: var(--choco); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--choco);
  color: rgba(255,253,245,.7);
  text-align: center;
  padding: 40px 20px;
  font-size: 13px;
  letter-spacing: .08em;
}
.site-footer .footer-logo {
  font-family: var(--font-main);
  font-size: 24px;
  color: var(--orange);
  margin-bottom: 12px;
}
.site-footer p + p { margin-top: 8px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .site-header { padding: 14px 20px; }
  .hero { grid-template-columns: 1fr; padding: 80px 5% 60px; gap: 40px; }
  .hero__right { order: -1; }
  .hero__bg-blob { right: -20%; width: 90vw; }
  .hero__img-wrap { width: clamp(200px, 60vw, 320px); }
  .hero__sub { max-width: 100%; }
  .concept__grid { grid-template-columns: 1fr; }
  .concept__images { order: -1; }
  .info__grid { grid-template-columns: 1fr; }
  .lf-bubble:nth-child(1) { width: 150px; height: 150px; }
  .lf-bubble:nth-child(2) { width: 120px; height: 120px; }
  .lf-bubble:nth-child(3) { width: 180px; height: 180px; }
  .lf-bubble:nth-child(4) { width: 130px; height: 130px; }
  .lf-bubble:nth-child(5) { width: 100px; height: 100px; }
}