/* ===== 湘南パレット =====
   潮風で褪せた色、砂浜、流木、朝の海、松林の影
   鮮やかじゃない。ぜんぶ少しだけ白が混ざっている感じ
*/
:root {
  --ocean: #5E8A97;
  --ocean-deep: #3D6B78;
  --sand: #C2B49A;
  --sand-light: #EDE8DF;
  --drift: #8A8178;
  --sky: #B5C7CF;
  --pine: #6B7E6B;
  --shell: #F5F2ED;
  --text: #3A3632;
  --text-mid: #6B6560;
  --text-light: #9A9490;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--shell);
  color: var(--text);
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
}

:where([class^="ri-"])::before {
  content: "\f3c2";
}

/* ===== Page Layout ===== */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* ===== Profile Card ===== */
.profile-card {
  max-width: 56rem;
  width: 100%;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(58, 54, 50, 0.03),
    0 16px 40px rgba(58, 54, 50, 0.06);
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* ===== Profile Header ===== */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.5rem 2rem 3rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(94, 138, 151, 0.07) 0%, transparent 55%),
    linear-gradient(175deg, #E8EEF0 0%, var(--shell) 35%, #fff 100%);
  position: relative;
}

.profile-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sand), var(--ocean), var(--sky), var(--ocean), var(--sand));
}

.avatar {
  width: 8.5rem;
  height: 8.5rem;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 3px solid #fff;
  box-shadow:
    0 0 0 2px rgba(94, 138, 151, 0.2),
    0 8px 24px rgba(58, 54, 50, 0.08);
}

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

.profile-name {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.profile-tagline {
  text-align: center;
  margin-bottom: 1.75rem;
}

.profile-tagline .title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ocean-deep);
  letter-spacing: 0.03em;
}

.profile-tagline .subtitle {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* ===== Bio Card ===== */
.bio-card {
  width: 100%;
  max-width: 36rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 1px 3px rgba(58, 54, 50, 0.03);
  border: 1px solid rgba(94, 138, 151, 0.1);
  margin-bottom: 1.75rem;
}

.bio-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.85;
}

.text-accent {
  font-weight: 600;
  color: var(--ocean-deep);
}

.text-bold {
  font-weight: 600;
  color: var(--text);
}

/* ===== X (Twitter) Button ===== */
.x-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--text);
  color: #fff;
  padding: 0.625rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s ease;
  margin-bottom: 1.5rem;
}

.x-button:hover {
  background: #2A2622;
}

/* ===== Social Links ===== */
.social-links {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}

.social-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--drift);
  border-radius: var(--radius-full);
  transition: color 0.2s ease, background 0.2s ease;
}

.social-icon:hover {
  color: var(--ocean);
  background: rgba(94, 138, 151, 0.06);
}


/* ===== Content Area ===== */
.content-area {
  padding: 3rem 2.5rem;
}

/* ===== Section Titles ===== */
.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.75rem;
  color: var(--text);
}

/* ===== Focus Card ===== */
.focus-card {
  background: linear-gradient(135deg, rgba(181, 199, 207, 0.08), rgba(94, 138, 151, 0.04));
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 3rem;
  border: 1px solid rgba(94, 138, 151, 0.08);
  text-align: center;
}

.focus-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.focus-description {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ===== Pricing ===== */
.pricing-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text);
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.pricing-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    "name price"
    "desc desc";
  padding: 1.5rem;
  border: 1px solid var(--sand-light);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  border-color: var(--sand);
  box-shadow: 0 4px 12px rgba(58, 54, 50, 0.04);
}

.pricing-card.featured {
  border-color: var(--ocean);
  background: linear-gradient(135deg, rgba(94, 138, 151, 0.03), rgba(181, 199, 207, 0.03));
  position: relative;
}

.pricing-card.featured:hover {
  box-shadow: 0 4px 16px rgba(94, 138, 151, 0.08);
}

.pricing-card.featured::after {
  content: 'おすすめ';
  position: absolute;
  top: -0.625rem;
  right: 1.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #fff;
  background: var(--ocean);
  padding: 0.125rem 0.625rem;
  border-radius: var(--radius-full);
}

.plan-name {
  grid-area: name;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  align-self: center;
}

.plan-price {
  grid-area: price;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ocean-deep);
  align-self: center;
  text-align: right;
  white-space: nowrap;
}

.plan-description {
  grid-area: desc;
  font-size: 0.8125rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--sand-light);
}

.plan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.625rem;
}

.plan-tag {
  display: inline-block;
  font-size: 0.6875rem;
  padding: 0.2rem 0.625rem;
  background: rgba(94, 138, 151, 0.08);
  color: var(--ocean);
  border-radius: var(--radius-full);
  white-space: nowrap;
  font-weight: 500;
}

/* ===== Footer ===== */
.site-footer {
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-light);
  border-top: 1px solid var(--sand-light);
}

.site-footer .footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.site-footer .footer-nav a {
  color: var(--text-light);
  transition: color 0.2s ease;
}

.site-footer .footer-nav a:hover {
  color: var(--ocean);
}

/* ===== Scroll Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }

/* ===== Responsive ===== */
@media (max-width: 639px) {
  .page-wrapper {
    padding: 0.5rem;
  }

  .profile-card {
    border-radius: var(--radius-lg);
  }

  .profile-header {
    padding: 2.5rem 1.25rem 2rem;
  }

  .content-area {
    padding: 2rem 1rem;
  }

  .bio-card {
    padding: 1rem;
  }

  .pricing-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "name"
      "price"
      "desc";
    padding: 1.25rem;
  }

  .plan-price {
    text-align: left;
    margin-top: 0.25rem;
  }

  .plan-description {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
  }
}
