:root {
  --primary-color: #1a2f25;
  --accent-color: #c5a059;
  --base-color: #fcfaf2;
  --text-color: #2d3436;
}

/* Base Typography */
body {
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

h1,
h2,
h3,
.font-serif-en {
  font-family: 'Playfair Display', serif;
}

/* Material Symbols */
.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' 0,
    'opsz' 24;
}

/* Alpine.js cloak */
[x-cloak] {
  display: none !important;
}

/* Section Spacing */
section {
  padding-top: clamp(4rem, 10vw, 8rem);
  padding-bottom: clamp(4rem, 10vw, 8rem);
}

/* Specific component styles */
.hero-gradient {
  background: linear-gradient(135deg, #1a2f25 0%, #2d4f3f 100%);
}

.table-row-border {
  border-bottom: 1px solid rgba(26, 47, 37, 0.1);
}

/* Extracted from Templates */
/* From ./parts/index-hero.html */

.index-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fcfaf2;
  /* 背景色を少し深くし、写真とのコントラストを調整 */
  background-color: #1a2f25;
}

.index-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/index-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  /* 写真をより見せるために不透明度を調整 */
  opacity: 0.6;
  z-index: 0;
}

.index-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  /* 緑の被りを薄くし、グラデーションで下部の可読性を補助 */
  background: linear-gradient(to bottom, rgba(26, 47, 37, 0.15) 0%, rgba(26, 47, 37, 0.4) 100%);
  z-index: 1;
}

.index-hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
}

.index-hero .title-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  display: block;
  line-height: 1.6;
  /* 写真の上でも文字が沈まないように微細な影を追加 */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.index-hero .title-en {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.875rem, 2vw, 1.25rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.1em;
  color: #c5a059;
  display: block;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.index-hero .scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.8;
  z-index: 2;
}

.index-hero .scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, #c5a059, transparent);
}

/* From ./parts/index-about.html */

.section-about {
  background-color: var(--base-color);
  position: relative;
  overflow: hidden;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Vertical Axis & Baseline Grid */
.about-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 8vw, 5rem);
}

.about-block {
  display: flex;
  flex-direction: column;
}

/* Typography Hierarchy */
.about-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.125rem, 3vw, 1.35rem);
  line-height: 2.2;
  color: var(--text-color);
  font-weight: 400;
}

.about-en {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.8;
  color: var(--accent-color);
  font-style: italic;
  margin-top: 1.5rem;
  letter-spacing: 0.03em;
}

.about-accent-line {
  width: 40px;
  height: 1px;
  background-color: var(--accent-color);
  margin-bottom: 2rem;
}

/* Borderless Proximity */
.about-paragraph {
  margin-bottom: 1.5rem;
}

.about-paragraph:last-child {
  margin-bottom: 0;
}

/* From ./parts/index-profile.html */

.profile-section {
  background-color: #fcfaf2;
  position: relative;
}

.profile-container {
  max-width: 800px;
  margin: 0 auto;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.profile-table tr {
  border-bottom: 1px solid rgba(26, 47, 37, 0.1);
  transition: background-color 0.3s ease;
}

.profile-table tr:hover {
  background-color: rgba(197, 160, 89, 0.03);
}

.profile-table th {
  width: 30%;
  text-align: left;
  padding: 2rem 1rem;
  font-weight: 700;
  color: #1a2f25;
  vertical-align: top;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.profile-table td {
  padding: 2rem 1rem;
  color: #2d3436;
  vertical-align: top;
  line-height: 1.8;
}

.profile-label-en {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  color: #c5a059;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 0.25rem;
}

.profile-placeholder {
  color: #999;
  font-size: 0.9rem;
  font-style: italic;
}

@media (max-width: 640px) {
  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
    padding: 1rem;
  }
  .profile-table th {
    padding-bottom: 0;
  }
  .profile-table tr {
    padding-bottom: 1rem;
    display: block;
  }
}
