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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  background-color: #fff;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

/* ========================================
   Scroll / View アニメーション
   ======================================== */
.js-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.js-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-animate--left {
  transform: translateY(28px) translateX(-24px);
}

.js-animate--left.is-visible {
  transform: translateY(0) translateX(0);
}

.js-animate--right {
  transform: translateY(28px) translateX(24px);
}

.js-animate--right.is-visible {
  transform: translateY(0) translateX(0);
}

.js-animate--delay-1 { transition-delay: 0.1s; }
.js-animate--delay-2 { transition-delay: 0.2s; }
.js-animate--delay-3 { transition-delay: 0.3s; }
.js-animate--delay-4 { transition-delay: 0.4s; }

/* ホバー：セクション内要素 */
.voice-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.voice-item:hover {
  transform: translateY(-4px);
}

.voice-item .voice-image img {
  transition: transform 0.4s ease;
}

.voice-item:hover .voice-image img {
  transform: scale(1.03);
}

.philosophy-image {
  overflow: hidden;
  border-radius: 8px;
}

.philosophy-image img {
  transition: transform 0.5s ease;
}

.philosophy-image:hover img {
  transform: scale(1.05);
}

.contact-tab-btn {
  transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.contact-tab-btn:hover {
  transform: translateY(-1px);
}

.nav-link {
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-link-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 143, 58, 0.35);
}

.nav-link-cta {
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn {
  transition: all 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* ========================================
   Layout
   ======================================== */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.section-subtitle {
  font-size: 0.875rem;
  color: #6b6b6b;
  text-align: center;
  margin-bottom: 48px;
  font-weight: 400;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: block;
  line-height: 0;
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #6b6b6b;
}

.nav-link-cta {
  background: #EF8F3A;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 100px;
}

.nav-link-cta:hover {
  opacity: 0.9;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 66.67vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.84) 50%, rgba(255, 255, 255, 0.86) 100%),
    url('assets/fv-bg.png') center center / cover no-repeat;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.hero-subtitle {
  color: #D0D0D0;
  font-family: Avenir, "Avenir Next", -apple-system, sans-serif;
  font-size: 37.6px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1.88px;
  margin-bottom: 32px;
}

.hero-text {
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery {
  padding: 48px 0;
  background: #fafafa;
}

.gallery-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   Voices Section
   ======================================== */
.voices {
  padding: 100px 0;
}

.voice-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.voice-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.voice-item-reverse .voice-image {
  order: 1;
}

.voice-item-reverse .voice-content {
  order: 2;
}

.voice-image {
  border-radius: 8px;
  overflow: hidden;
}

.voice-image img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.voice-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.voice-meta {
  font-size: 0.875rem;
  color: #6b6b6b;
  margin-bottom: 16px;
}

.voice-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #444;
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
  padding: 100px 0;
  background: #fafafa;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.pricing-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.pricing-card-featured {
  border: 2px solid #1a1a1a;
}

.pricing-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-currency {
  font-size: 1rem;
  font-weight: 500;
}

.pricing-desc {
  font-size: 0.875rem;
  color: #6b6b6b;
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
}

.pricing-features li {
  font-size: 0.875rem;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #1a1a1a;
  border-radius: 50%;
}

.pricing-cta {
  text-align: center;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: #EF8F3A;
  color: #fff;
}

.btn-primary:hover {
  background: #d97d2e;
}

.btn-outline {
  background: transparent;
  border: 2px solid #EF8F3A;
  color: #EF8F3A;
}

.btn-outline:hover {
  background: #EF8F3A;
  border-color: #EF8F3A;
  color: #fff;
}

/* ========================================
   Philosophy Section
   ======================================== */
.philosophy {
  padding: 100px 0;
}

.philosophy .section-title,
.philosophy .section-subtitle {
  text-align: left;
}

.philosophy-headline {
  font-size: clamp(24px, 6vw, 60px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.philosophy-content {
  max-width: 680px;
  margin: 0 auto 48px;
}

.philosophy-content p {
  margin-bottom: 20px;
  line-height: 1.9;
  color: #444;
}

.philosophy-sign {
  font-size: clamp(18px, 3vw, 30px);
  font-weight: 600;
  margin-top: 32px !important;
  text-align: right;
}

.philosophy-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.philosophy-image {
  border-radius: 8px;
  overflow: hidden;
}

.philosophy-image img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
  padding: 100px 0;
  background: #fafafa;
}

.contact-intro {
  text-align: center;
  margin-bottom: 32px;
  color: #444;
}

/* フォーム・LINE全体を包む枠 */
.contact-form-wrap {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  max-width: 560px;
  margin: 0 auto;
}

/* タブ */
.contact-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  padding: 8px;
  background: #e8e8e8;
  border-radius: 12px;
}

.contact-tab-btn {
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #6b6b6b;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease, background 0.2s ease;
}

.contact-tab-btn:hover {
  color: #1a1a1a;
  background: rgba(255, 255, 255, 0.6);
}

/* メールタブ選択時 */
.contact-tab-btn[data-tab="mail"].is-active {
  color: #fff;
  background: #EF8F3A;
}

.contact-tab-btn[data-tab="mail"].is-active:hover {
  background: #d97d2e;
}

/* LINEタブ選択時（緑） */
.contact-tab-btn[data-tab="line"].is-active {
  color: #fff;
  background: #06C755;
}

.contact-tab-btn[data-tab="line"].is-active:hover {
  background: #05b04c;
}

.contact-tab-panel {
  display: none;
  max-width: 560px;
  margin: 0 auto;
}

.contact-tab-panel.is-active {
  display: block;
}

.contact-panel-title {
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 32px;
  color: #1a1a1a;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

/* 電話番号 3分割 */
.form-tel {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.form-tel input {
  flex: 1 1 0;
  min-width: 0;
  width: 0;
  max-width: 120px;
  text-align: center;
}

.form-tel-sep {
  color: #6b6b6b;
  flex: 0 0 auto;
}

/* 個人情報保護方針 */
.contact-policy {
  margin: 32px 0 24px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.contact-policy-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-policy-inner {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 16px;
  max-height: 120px;
  overflow-y: auto;
}

.contact-policy-inner a {
  color: #1a1a1a;
  text-decoration: underline;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: auto;
  padding: 0;
}

.form-checkbox.error {
  color: #c53030;
}

/* LINEタブ */
.line-contact-block {
  text-align: center;
  padding: 40px 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
}

.line-contact-text {
  margin-bottom: 24px;
  line-height: 1.8;
  color: #444;
}

.btn-line {
  display: inline-block;
  padding: 14px 32px;
  background: #06C755;
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.btn-line:hover {
  background: #05b04c;
  opacity: 1;
}

.line-contact-note {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: #6b6b6b;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group .required {
  color: #c53030;
  font-size: 0.75rem;
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a1a1a;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #c53030;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

.form-submit .btn {
  min-width: 200px;
}

/* ========================================
   Sub pages（完了・プライバシーポリシー等）
   ======================================== */
.page-content {
  padding: 140px 0 100px;
  min-height: 60vh;
}

.page-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.page-lead {
  text-align: center;
  line-height: 1.9;
  color: #444;
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.page-actions {
  text-align: center;
}

.legal-content {
  padding: 140px 0 100px;
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid #1a1a1a;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content p,
.legal-content li {
  line-height: 1.9;
  color: #444;
  margin-bottom: 12px;
}

.legal-content ul {
  margin-bottom: 24px;
  padding-left: 24px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9375rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid #e0e0e0;
  padding: 16px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: #f5f5f5;
  font-weight: 600;
  width: 220px;
}

.legal-content .legal-updated {
  margin-top: 32px;
  font-size: 0.875rem;
  color: #6b6b6b;
}

.legal-content .back-link {
  display: inline-block;
  margin-top: 48px;
  color: #EF8F3A;
  font-weight: 500;
}

.legal-content .back-link:hover {
  opacity: 0.8;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: #fff;
  color: #1a1a1a;
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  font-size: 0.875rem;
  color: #1a1a1a;
}

.footer-nav a:hover {
  color: #333;
}

.footer-copy {
  font-size: 0.8125rem;
  color: #6b6b6b;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .voice-item,
  .voice-item-reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .voice-item-reverse .voice-image,
  .voice-item-reverse .voice-content {
    order: unset;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .philosophy-images {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    gap: 20px;
  }

  .nav-link {
    font-size: 0.875rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .voices,
  .pricing,
  .philosophy,
  .contact {
    padding: 60px 0;
  }

  .section-subtitle {
    margin-bottom: 32px;
  }
}

@media (max-width: 640px) {
  .legal-table th {
    width: 120px;
    font-size: 0.875rem;
  }

  .legal-table th,
  .legal-table td {
    padding: 12px;
  }

  .page-content {
    padding: 120px 0 80px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    flex-direction: column;
    gap: 16px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}
