@charset "UTF-8";

/* ========================================
   リセット & ベーススタイル
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* ========================================
   コンテナ
======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ========================================
   ヘッダー
======================================== */
.header {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.header-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 80px 30px;
}

.header-badge {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}

.site-title {
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 500;
}

.feature-item i {
  font-size: 2.4rem;
}

/* ========================================
   ボタン
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 40px;
  font-size: 1.8rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 87, 108, 0.5);
}

.btn-large {
  padding: 22px 50px;
  font-size: 2rem;
}

.btn-submit {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* ========================================
   セクション共通
======================================== */
section {
  padding: 100px 0;
}

.section-title {
  font-size: 3.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  color: #333;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ========================================
   問題提起セクション
======================================== */
.problems {
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.problem-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.problem-card i {
  font-size: 4rem;
  color: #667eea;
  margin-bottom: 20px;
}

.problem-card p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #555;
}

.arrow-down {
  text-align: center;
  margin: 40px 0;
}

.arrow-down i {
  font-size: 3rem;
  color: #667eea;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* ========================================
   ソリューションセクション
======================================== */
.solution {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.solution-content {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.solution-image {
  flex-shrink: 0;
}

.lawyer-photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.solution-text h3 {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.8;
}

/* ========================================
   ご挨拶セクション
======================================== */
.greeting {
  background: #fff;
}

.greeting-content {
  max-width: 900px;
  margin: 0 auto;
}

.greeting-content p {
  margin-bottom: 24px;
  font-size: 1.6rem;
  line-height: 1.9;
  color: #555;
}

.greeting-content .emphasis {
  font-size: 2rem;
  font-weight: 600;
  color: #667eea;
  padding: 30px;
  background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
  border-left: 4px solid #667eea;
  border-radius: 8px;
  margin: 40px 0;
}

.greeting-content .signature {
  text-align: right;
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 40px;
  color: #333;
}

/* ========================================
   小説セクション
======================================== */
.story {
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}

.story-content {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 60px;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.story-content p {
  margin-bottom: 20px;
  font-size: 1.6rem;
  line-height: 1.9;
  color: #555;
}

.story-content .note {
  text-align: right;
  font-size: 1.4rem;
  color: #999;
  margin-top: 40px;
}

/* ========================================
   サービスセクション
======================================== */
.services {
  background: #fff;
}

.services-intro {
  text-align: center;
  margin-bottom: 60px;
}

.services-intro .lead {
  font-size: 2rem;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 20px;
}

.services-intro .highlight {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 600;
  color: #f5576c;
  padding: 12px 30px;
  background: #fff5f7;
  border-radius: 50px;
  margin-top: 20px;
}

.services-box {
  background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
  padding: 50px;
  border-radius: 16px;
  margin-bottom: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.box-title {
  font-size: 2.4rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #667eea;
}

.check-list {
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 20px;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #555;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.services-solution {
  text-align: center;
}

.services-solution .lead {
  font-size: 2rem;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 40px;
}

/* ========================================
   選ばれる理由セクション
======================================== */
.reasons {
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.reason-card {
  background: #fff;
  padding: 50px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.reason-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reason-icon i {
  font-size: 4rem;
  color: #fff;
}

.reason-card h3 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.reason-card p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #555;
}

/* ========================================
   サポートシーンセクション
======================================== */
.support-scenes {
  background: #fff;
}

.scenes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.scene-card {
  background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
  padding: 50px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: all 0.3s ease;
}

.scene-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.scene-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.scene-icon i {
  font-size: 4rem;
  color: #667eea;
}

.scene-card h3 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.scene-card p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #555;
}

/* ========================================
   費用セクション
======================================== */
.fees {
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}

.fees-content {
  max-width: 900px;
  margin: 0 auto;
}

.fees-note {
  text-align: center;
  font-size: 1.4rem;
  color: #999;
  margin-bottom: 50px;
}

.fee-item {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 40px;
}

.fee-title {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #667eea;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.fee-table th,
.fee-table td {
  padding: 20px;
  text-align: center;
  font-size: 1.6rem;
}

.fee-table thead {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.fee-table thead th {
  font-weight: 600;
}

.fee-table tbody tr {
  background: #f8f9ff;
}

.fee-table tbody td {
  font-size: 2.4rem;
  font-weight: 700;
  color: #667eea;
}

.fee-item .fee-note {
  text-align: left;
  font-size: 1.4rem;
  line-height: 1.8;
  margin-top: 20px;
  margin-bottom: 0;
}

/* ========================================
   プロフィールセクション
======================================== */
.profile {
  background: #fff;
}

.profile-content {
  display: flex;
  gap: 60px;
  margin-bottom: 60px;
}

.profile-photo {
  flex-shrink: 0;
}

.profile-photo img {
  width: 300px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.profile-details {
  flex: 1;
}

.profile-details h3 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #333;
  margin: 40px 0 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #667eea;
}

.profile-details h3:first-child {
  margin-top: 0;
}

.career-list {
  list-style: none;
}

.career-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #555;
}

.career-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}

.cta-banner {
  text-align: center;
  padding: 60px;
  background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
  border-radius: 16px;
}

/* ========================================
   アクセスセクション
======================================== */
.access {
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}

.access-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.access-map iframe {
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.access-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-item h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-item h3 i {
  color: #667eea;
}

.info-item p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #555;
}

.access-list {
  list-style: none;
}

.access-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #555;
}

.access-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #667eea;
}

/* ========================================
   FAQセクション
======================================== */
.faq {
  background: #fff;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 30px;
  background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
  font-size: 1.7rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f0f2ff;
}

.faq-question i {
  color: #667eea;
  font-size: 2.4rem;
  flex-shrink: 0;
}

.faq-answer {
  padding: 25px 30px 25px 69px;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #555;
  background: #fff;
}

/* ========================================
   お問い合わせセクション
======================================== */
.contact {
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 60px;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.form-group label.required::after {
  content: ' *';
  color: #f5576c;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  font-size: 1.6rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  color: #555;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.form-note {
  text-align: center;
  font-size: 1.4rem;
  color: #999;
  margin: 30px 0;
}

.required-mark {
  color: #f5576c;
}

/* ========================================
   プライバシーポリシーセクション
======================================== */
.privacy {
  background: #fff;
}

.privacy-content {
  max-width: 900px;
  margin: 0 auto;
}

.privacy-content h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin: 40px 0 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #667eea;
}

.privacy-content h3:first-child {
  margin-top: 0;
}

.privacy-content p {
  font-size: 1.5rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 20px;
}

/* ========================================
   ページトップボタン
======================================== */
#page-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 60px;
  height: 60px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

#page-top.show {
  opacity: 1;
  visibility: visible;
}

#page-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
}

#page-top a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

#page-top i {
  color: #fff;
  font-size: 2.4rem;
}

/* ========================================
   フッター
======================================== */
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.footer-info {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.footer-copyright {
  font-size: 1.3rem;
  opacity: 0.8;
}

/* ========================================
   レスポンシブデザイン
======================================== */
@media (max-width: 1024px) {
  .access-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 56.25%;
  }

  .container {
    padding: 0 20px;
  }

  section {
    padding: 60px 0;
  }

  /* ヘッダー */
  .header {
    min-height: auto;
    padding: 80px 0;
  }

  .site-title {
    font-size: 3.2rem;
  }

  .sp-only {
    display: inline;
  }

  .header-features {
    gap: 20px;
  }

  .feature-item {
    font-size: 1.4rem;
  }

  .feature-item i {
    font-size: 2rem;
  }

  /* セクションタイトル */
  .section-title {
    font-size: 2.8rem;
  }

  /* グリッド */
  .problems-grid,
  .reasons-grid,
  .scenes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* ソリューション */
  .solution-content {
    flex-direction: column;
    gap: 30px;
  }

  .lawyer-photo {
    width: 200px;
    height: 200px;
  }

  /* ストーリー */
  .story-content {
    padding: 30px 20px;
  }

  /* サービスボックス */
  .services-box {
    padding: 30px 20px;
  }

  /* プロフィール */
  .profile-content {
    flex-direction: column;
    gap: 30px;
  }

  .profile-photo img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }

  /* お問い合わせフォーム */
  .contact-form {
    padding: 40px 20px;
  }

  /* ページトップボタン */
  #page-top {
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
  }

  #page-top i {
    font-size: 2rem;
  }

  /* ボタン */
  .btn {
    padding: 16px 32px;
    font-size: 1.6rem;
  }

  .btn-large {
    padding: 18px 36px;
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 60px 20px;
  }

  .site-title {
    font-size: 2.8rem;
  }

  .header-features {
    flex-direction: column;
    gap: 15px;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .problem-card,
  .reason-card,
  .scene-card {
    padding: 30px 20px;
  }

  .fee-table th,
  .fee-table td {
    padding: 15px 10px;
    font-size: 1.4rem;
  }

  .fee-table tbody td {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
  }
}

/* ========================================
   アニメーション
======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* ========================================
   ユーティリティ
======================================== */
.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }
  
  .pc-only {
    display: none;
  }
}

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

.mt-40 {
  margin-top: 40px;
}

.mb-40 {
  margin-bottom: 40px;
}
