/* ===================================================
   匠市LP 2026 - Styles
   ti- prefix to avoid conflicts with Lightning Pro
   =================================================== */

/* --- CSS Variables --- */
:root {
  --ti-mint: #5BC8D8;
  --ti-mint-light: #8FD8E8;
  --ti-mint-pale: #E4F5FA;
  --ti-coral: #F2A0B5;
  --ti-coral-light: #F8C4D2;
  --ti-sky: #7CC8E0;
  --ti-glass-blue: #4BA8CC;
  --ti-glass-pink: #E89AB0;
  --ti-glass-green: #6CBCB0;
  --ti-glass-purple: #8FAED4;
  --ti-glass-orange: #E0B88E;
  --ti-sakura: #FACDD6;
  --ti-sakura-light: #FDE4EA;
  --ti-white: #FFFFFF;
  --ti-dark: #2A3D4A;
  --ti-text: #3A4D58;
  --ti-text-light: #5A7080;
}

/* --- LP Wrapper --- */
.takumiichi-lp {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--ti-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* --- HERO (Watercolor) --- */
.ti-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #d4eff5;
  overflow: hidden;
  padding: 80px 20px 40px;
}

.ti-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255,255,255,0.6) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255,255,255,0.4) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.ti-hero-sakura-overlay {
  position: absolute;
  top: -5%;
  right: -5%;
  width: 60%;
  max-width: 700px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

.ti-hero-sakura-overlay picture {
  display: block;
}

.ti-hero-sakura-overlay img {
  width: 100%;
  height: auto;
  display: block;
}

/* <picture> wrapper: don't interfere with layout */
.ti-hero picture {
  display: contents;
}

.ti-highlight-icon picture {
  display: contents;
}


.ti-sakura-deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.ti-sakura-deco-1 {
  top: 8%;
  left: 5%;
  width: 120px;
  opacity: 0.5;
  animation: tiFloatSakura 8s ease-in-out infinite;
}

.ti-sakura-deco-2 {
  bottom: 15%;
  right: 8%;
  width: 80px;
  opacity: 0.4;
  animation: tiFloatSakura 10s ease-in-out infinite reverse;
}

.ti-sakura-deco-3 {
  top: 25%;
  right: 3%;
  width: 60px;
  opacity: 0.35;
  animation: tiFloatSakura 7s ease-in-out infinite 2s;
  transform: rotate(30deg);
}

.ti-sakura-deco-4 {
  bottom: 25%;
  left: 3%;
  width: 50px;
  opacity: 0.3;
  animation: tiFloatSakura 9s ease-in-out infinite 1s;
  transform: rotate(-20deg);
}

@keyframes tiFloatSakura {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(3deg); }
  75% { transform: translateY(5px) rotate(-2deg); }
}

.ti-sakura-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.ti-sakura-petal {
  position: absolute;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6;
  animation: tiSakuraFall linear infinite;
}

@keyframes tiSakuraFall {
  0% {
    transform: translateY(-20px) rotate(0deg) translateX(0);
    opacity: 0;
  }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% {
    transform: translateY(100vh) rotate(360deg) translateX(80px);
    opacity: 0;
  }
}

.ti-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border: 2px solid var(--ti-coral);
  border-radius: 50px;
  padding: 10px 28px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ti-coral);
  margin-bottom: 20px;
  position: relative;
  z-index: 3;
  animation: tiFadeSlideUp 0.8s ease-out 0.2s both;
}

.ti-hero-badge span {
  font-size: 1.2rem;
}

.ti-hero-main-title {
  position: relative;
  z-index: 3;
  text-align: center;
  animation: tiFadeSlideUp 0.8s ease-out 0.4s both;
}

.ti-hero-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ti-text);
  letter-spacing: 0.3em;
  margin-bottom: 8px;
}

.ti-hero-title-takumi {
  margin-bottom: 4px;
  line-height: 1;
}

.ti-hero-title-takumi svg {
  width: clamp(240px, 45vw, 440px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(2px 2px 0 rgba(255,255,255,0.6)) drop-shadow(0 0 20px rgba(91,188,212,0.12));
}

.ti-hero-title-sub {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--ti-text);
  letter-spacing: 0.15em;
}

.ti-hero-tagline {
  position: relative;
  z-index: 3;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--ti-text);
  text-align: center;
  margin-top: 16px;
  line-height: 2;
  animation: tiFadeSlideUp 0.8s ease-out 0.6s both;
}

.ti-glass-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  position: relative;
  z-index: 3;
  animation: tiFadeSlideUp 0.8s ease-out 0.8s both;
  flex-wrap: wrap;
}

.ti-glass-item {
  width: 56px;
  height: 68px;
  border-radius: 6px 6px 12px 12px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.08),
    inset 0 -10px 20px rgba(255,255,255,0.4),
    inset 0 2px 10px rgba(255,255,255,0.6);
  animation: tiGlassFloat 3s ease-in-out infinite;
}

.ti-glass-item:nth-child(1) { background: linear-gradient(135deg, #1A4A7A 0%, #2A5A8A 100%); animation-delay: 0s; }
.ti-glass-item:nth-child(2) { background: linear-gradient(135deg, #3A8EB8 0%, #2A7AA8 100%); animation-delay: 0.3s; }
.ti-glass-item:nth-child(3) { background: linear-gradient(135deg, #6CC4D8 0%, #50B0C8 100%); animation-delay: 0.6s; }
.ti-glass-item:nth-child(4) { background: linear-gradient(135deg, #88D0DC 0%, #6ABCC8 100%); animation-delay: 0.9s; }
.ti-glass-item:nth-child(5) { background: linear-gradient(135deg, #4A98B8 0%, #3888A8 100%); animation-delay: 1.2s; }
.ti-glass-item:nth-child(6) { background: linear-gradient(135deg, #A0D8E4 0%, #80C4D4 100%); animation-delay: 1.5s; }

.ti-glass-item::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 6px;
  width: 14px;
  height: 24px;
  background: rgba(255,255,255,0.45);
  border-radius: 50%;
  transform: rotate(-15deg);
}

@keyframes tiGlassFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.ti-hero-date-box {
  position: relative;
  z-index: 3;
  margin-top: 36px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 24px 40px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  animation: tiFadeSlideUp 0.8s ease-out 1s both;
}

.ti-hero-date {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--ti-dark);
  line-height: 1.2;
}

.ti-hero-date .day {
  color: var(--ti-coral);
}

.ti-hero-date-detail {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ti-text-light);
  margin-top: 6px;
}

.ti-hero-free {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ti-hero-free-tag {
  background: var(--ti-mint);
  color: var(--ti-white);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 18px;
  border-radius: 50px;
}

.ti-hero-scroll {
  position: relative;
  z-index: 3;
  margin-top: 40px;
  animation: tiFadeSlideUp 0.8s ease-out 1.2s both;
}

.ti-hero-scroll a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--ti-text);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.ti-scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--ti-text);
  border-bottom: 2px solid var(--ti-text);
  transform: rotate(45deg);
  margin-top: 8px;
  animation: tiScrollBounce 2s ease-in-out infinite;
}

@keyframes tiScrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

@keyframes tiFadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- SECTION COMMON --- */
.takumiichi-lp section {
  padding: 80px 20px;
  scroll-margin-top: 60px;
}

.ti-section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.ti-section-label {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ti-coral);
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 8px;
}

.ti-section-title {
  font-family: 'Shippori Mincho', serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  color: var(--ti-dark);
  margin-bottom: 16px;
  line-height: 1.4;
}

.ti-section-desc {
  font-size: 0.95rem;
  color: var(--ti-text-light);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

/* --- INTRO --- */
.ti-intro {
  background: var(--ti-white);
  position: relative;
}

.ti-intro::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--ti-white));
  pointer-events: none;
}

.ti-intro-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 2.2;
  color: var(--ti-text);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.ti-intro-text strong {
  color: var(--ti-dark);
  font-weight: 700;
}

/* --- HIGHLIGHTS --- */
.ti-highlights {
  background: linear-gradient(180deg, var(--ti-white) 0%, var(--ti-mint-pale) 100%);
}

.ti-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.ti-highlight-card {
  background: var(--ti-white);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ti-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.ti-highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

/* 1:蔵出し 2:紅型 3:箸置き 4:コイン 5:ちんすこう 6:カフェ 7:野菜 8:sniper */
.ti-highlight-card:nth-child(1)::before { background: linear-gradient(90deg, #4BA8CC, #6CBCB0); }
.ti-highlight-card:nth-child(2)::before { background: linear-gradient(90deg, #8FAED4, #FACDD6); }
.ti-highlight-card:nth-child(3)::before { background: linear-gradient(90deg, #5BBCD4, #8FD8E8); }
.ti-highlight-card:nth-child(4)::before { background: linear-gradient(90deg, #4CAF50, #6CBCB0); }
.ti-highlight-card:nth-child(5)::before { background: linear-gradient(90deg, #E0B88E, #F2A0B5); }
.ti-highlight-card:nth-child(6)::before { background: linear-gradient(90deg, #E0B88E, #E89AB0); }
.ti-highlight-card:nth-child(7)::before { background: linear-gradient(90deg, #6CBCB0, #5BBCD4); }
.ti-highlight-card:nth-child(8)::before { background: linear-gradient(90deg, #9068B8, #E89AB0); }

.ti-highlight-icon {
  width: 100%;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  margin-bottom: 16px;
}

.ti-highlight-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.ti-highlight-card:hover .ti-highlight-icon img {
  transform: scale(1.05);
}

.ti-highlight-card h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ti-dark);
  margin-bottom: 10px;
}

.ti-highlight-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ti-text-light);
}

.ti-highlight-tag {
  display: inline-block;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.ti-tag-limited { background: #FFF0F4; color: var(--ti-coral); }
.ti-tag-experience { background: #F0F4FF; color: #6080D0; }
.ti-tag-game { background: #F0FFF4; color: #4CAF50; }
.ti-tag-food { background: #FFF8F0; color: #E08A4E; }
.ti-tag-workshop { background: #F8F0FF; color: #9068B8; }

/* --- EXPERIENCE --- */
.ti-experience {
  background: var(--ti-mint-pale);
  position: relative;
}

.ti-experience-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 640px) {
  .ti-experience-cards {
    grid-template-columns: 1fr;
  }
}

.ti-exp-card {
  background: var(--ti-white);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}

.ti-exp-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(91,188,212,0.05));
  pointer-events: none;
}

.ti-exp-number {
  font-family: 'Shippori Mincho', serif;
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  background: linear-gradient(135deg, #5BBCD4, #4BA8CC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.ti-exp-card h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ti-dark);
  margin-bottom: 12px;
}

.ti-exp-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ti-text-light);
}

/* --- ACCESS --- */
.ti-access {
  background: var(--ti-white);
}

.ti-access-box {
  background: linear-gradient(135deg, #F5FAFE, #E8F4FA);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 640px) {
  .ti-access-box {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

.ti-access-info h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ti-dark);
  margin-bottom: 20px;
}

.ti-access-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.ti-access-row-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  background: rgba(78,236,196,0.15);
  margin-top: 2px;
}

.ti-access-map {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.ti-access-map iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

.ti-access-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.ti-access-tag {
  background: var(--ti-white);
  border-radius: 50px;
  padding: 8px 20px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ti-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* --- CTA --- */
.ti-cta {
  background: linear-gradient(135deg, #5BBCD4 0%, #48A8C4 40%, #4BA8CC 70%, #6CBCB0 100%);
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.ti-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 300px 300px at 20% 50%, rgba(255,255,255,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 400px 200px at 80% 50%, rgba(255,183,197,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.ti-cta h2 {
  font-family: 'Shippori Mincho', serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--ti-white);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.ti-cta p {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.ti-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ti-white);
  color: var(--ti-dark);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 40px;
  border-radius: 60px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.ti-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.16);
}

/* --- EDITOR CONTENT (from WP fixed page) --- */
.ti-editor-content {
  background: var(--ti-white);
  padding: 60px 20px;
}

.ti-editor-content .entry-body {
  max-width: 960px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 2;
  color: var(--ti-text);
}

.ti-editor-content .entry-body h2 {
  font-family: 'Shippori Mincho', serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ti-dark);
  margin: 2em 0 0.8em;
  text-align: center;
}

.ti-editor-content .entry-body h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ti-dark);
  margin: 1.5em 0 0.5em;
  padding-left: 12px;
  border-left: 4px solid var(--ti-mint);
}

.ti-editor-content .entry-body p {
  margin-bottom: 1.5em;
}

.ti-editor-content .entry-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.ti-editor-content .entry-body a {
  color: var(--ti-glass-blue);
  text-decoration: underline;
}

/* --- TIMELINE NOTE --- */
.ti-timeline-note {
  text-align: center;
  margin-top: 32px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ti-text-light);
  line-height: 1.8;
}

.ti-timeline-note a {
  color: var(--ti-mint);
  text-decoration: underline;
}

/* --- SCROLL ANIMATIONS --- */
.ti-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.ti-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 480px) {
  .takumiichi-lp section {
    padding: 60px 16px;
  }

  .ti-hero-date-box {
    padding: 20px 24px;
  }

  .ti-highlight-grid {
    grid-template-columns: 1fr;
  }

  .ti-glass-item {
    width: 44px;
    height: 54px;
  }
}
