/* ===================================
   株式会社pom — style.css
   =================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300&family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@300;400;600&display=swap');

/* --- CSS Variables --- */
:root {
  --pink:        #D4547A;
  --pink-light:  #F2A0B8;
  --pink-bg:     #FDF5F7;
  --pink-border: #F0D6DE;
  --navy:        #1A2744;
  --navy-light:  #2D3F6B;
  --white:       #FFFFFF;
  --text:        #2C2C2C;
  --text-muted:  #777777;
  --font-jp:     'Noto Sans JP', sans-serif;
  --font-serif:  'Noto Serif JP', 'Cormorant Garamond', serif;
  --font-en:     'Cormorant Garamond', serif;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(212, 84, 122, 0.10);
  --shadow-navy: 0 4px 24px rgba(26, 39, 68, 0.12);
  --transition:  0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Utility --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-label {
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.9;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
}
.btn-primary:hover {
  background: #C0416A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 84, 122, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===================================
   SCROLL TO TOP
   =================================== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  box-shadow: 0 4px 16px rgba(212,84,122,0.35);
  transition: var(--transition);
  z-index: 50;
}
.scroll-top.visible { display: flex; }
.scroll-top:hover { background: #C0416A; transform: translateY(-3px); }

/* ===================================
   HEADER / NAV
   =================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pink-border);
  transition: box-shadow var(--transition), var(--transition);
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(26,39,68,0.10);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  color: var(--pink);
}

.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 0.88rem;
  color: var(--text);
  letter-spacing: 0.05em;
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--pink);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--pink); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--pink);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.85rem !important;
}
.nav-cta:hover { background: #C0416A; }
.nav-cta::after { display: none !important; }

.nav-links a.active:not(.nav-cta) { color: var(--pink); }
.nav-links a.active:not(.nav-cta)::after { width: 100%; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===================================
   HERO
   =================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  background: var(--pink-bg);
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  padding-bottom: 60px;
  box-sizing: border-box;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,84,122,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,39,68,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  font-family: var(--font-en);
  margin-bottom: 20px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--pink);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--pink);
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Sakura decoration (CSS art) */
.sakura-art {
  width: 340px;
  height: 340px;
  position: relative;
}

.sakura-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,84,122,0.12), rgba(26,39,68,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sakura-logo-large {
  font-family: var(--font-en);
  font-size: 6rem;
  font-weight: 300;
  color: var(--pink);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.sakura-petal {
  position: absolute;
  width: 18px; height: 22px;
  background: var(--pink-light);
  border-radius: 50% 50% 50% 0;
  opacity: 0.5;
  animation: float 6s ease-in-out infinite;
}
.sakura-petal:nth-child(1) { top: 8%; left: 15%; transform: rotate(20deg); animation-delay: 0s; }
.sakura-petal:nth-child(2) { top: 20%; right: 10%; transform: rotate(-30deg); animation-delay: 1s; width: 14px; height: 17px; }
.sakura-petal:nth-child(3) { bottom: 15%; left: 8%; transform: rotate(60deg); animation-delay: 2s; width: 12px; height: 15px; }
.sakura-petal:nth-child(4) { bottom: 25%; right: 12%; transform: rotate(-10deg); animation-delay: 1.5s; }
.sakura-petal:nth-child(5) { top: 50%; left: 4%; transform: rotate(45deg); animation-delay: 0.5s; width: 10px; height: 13px; opacity: 0.3; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(20deg); }
  50%       { transform: translateY(-12px) rotate(25deg); }
}

.hero-tags {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-tag {
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 50px;
  background: var(--white);
  border: 1px solid var(--pink-border);
  color: var(--text-muted);
}

/* ===================================
   STORY — pomという名前
   =================================== */
.story {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.story::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(212,84,122,0.15) 0%, transparent 70%);
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-label {
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink-light);
  display: block;
  margin-bottom: 16px;
}

.story-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--white);
}

.story-text {
  font-size: 0.9rem;
  line-height: 2;
  color: rgba(255,255,255,0.75);
}

.story-logo-breakdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.story-letter {
  text-align: center;
  padding: 20px 28px;
}

.story-letter-char {
  font-family: var(--font-en);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--pink-light);
  line-height: 1;
  display: block;
}
.story-letter-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  letter-spacing: 0.1em;
}

.story-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
}

.story-sakura-center {
  text-align: center;
  padding: 16px 28px;
}
.story-sakura-icon {
  font-size: 2.8rem;
  line-height: 1;
  display: block;
}
.story-sakura-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  letter-spacing: 0.08em;
}

/* ===================================
   SERVICES
   =================================== */
.services {
  background: var(--white);
}

.services-header {
  text-align: center;
  margin-bottom: 56px;
}
.services-header .section-sub {
  margin: 0 auto;
  text-align: center;
}

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

.service-card {
  background: var(--pink-bg);
  border: 1px solid var(--pink-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--pink);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 104px; height: 104px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(212,84,122,0.12);
}
.service-icon svg {
  width: 24px; height: 24px;
  stroke: var(--pink);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-icon img {
  width: 70px; height: 70px;
  object-fit: contain;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.5;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.9;
}

.service-card ul {
  margin-top: 16px;
}
.service-card ul li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.service-card ul li::before {
  content: '–';
  color: var(--pink);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===================================
   FOUNDERS
   =================================== */
.founders {
  background: var(--pink-bg);
}

.founders-header {
  text-align: center;
  margin-bottom: 56px;
}
.founders-header .section-sub {
  margin: 0 auto;
  text-align: center;
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.founder-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.founder-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(212,84,122,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.founder-role {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 6px;
}

.founder-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.founder-name-en {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.founder-divider {
  width: 40px; height: 2px;
  background: var(--pink);
  margin-bottom: 20px;
  border-radius: 2px;
}

.founder-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 24px;
}

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.founder-tag {
  font-size: 0.75rem;
  padding: 5px 14px;
  border-radius: 50px;
  background: var(--pink-bg);
  color: var(--pink);
  border: 1px solid var(--pink-border);
  letter-spacing: 0.05em;
}

/* ===================================
   CTA BANNER
   =================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 0 130px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,84,122,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 90px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,64L80,58.7C160,53,320,43,480,48C640,53,800,75,960,80C1120,85,1280,75,1360,69.3L1440,64L1440,120L1360,120C1280,120,1120,120,960,120C800,120,640,120,480,120C320,120,160,120,80,120L0,120Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 2;
  pointer-events: none;
}

.cta-banner .section-label { color: var(--pink-light); }

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

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

.cta-banner .btn-primary {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  padding: 16px 48px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: var(--white) url("../images/footer-bg.jpg") no-repeat bottom center / cover;
  color: var(--text-muted);
  padding: 56px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--pink-border);
  margin-bottom: 28px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
  display: inline-block;
}
.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.9;
}

.footer-col h4 {
  font-size: 0.82rem;
  color: var(--navy);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  font-size: 0.82rem;
  padding: 4px 0;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--pink); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 900px) {
  .hero-inner   { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual  { display: none; }
  .story-inner  { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .founders-grid { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--pink-border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 99;
  }
  .nav-links li { border-bottom: 1px solid var(--pink-border); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a:not(.nav-cta) { display: block; padding: 15px 0; font-size: 0.95rem; }
  .nav-links .nav-cta { display: inline-block; margin: 16px 0 8px; }
  .nav-hamburger { display: flex; }
  .nav-hamburger span { transition: transform 0.3s ease, opacity 0.3s ease; }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-btns { flex-direction: column; }
  .btn { text-align: center; }
}
