/* ============================================
   樹データ - UNDERLINE風スタイルシート v4
   全面ブラッシュアップ版
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300&family=Josefin+Sans:wght@300;400&family=Noto+Sans+JP:wght@200;300;400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body { 
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif; 
  font-weight: 400;
  color: #333;
  background: #fff;
  line-height: 2.2;
  letter-spacing: 0.08em;
}

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

/* Focus状態 - キーボード操作時の視認性 */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid #333;
  outline-offset: 4px;
}

ul, ol { list-style: none; }

/* ページ読み込みアニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  animation: fadeIn 0.6s ease-out;
}

/* ===== Header - 2段構成 ===== */
.header { 
  padding: 50px 80px 40px;
  max-width: 1200px;
  margin: 0 auto; 
}

/* ロゴ行 */
.header-top { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-bottom: 40px; 
}

/* ロゴ - 画像＋テキスト */
.logo { 
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo:hover {
  opacity: 0.6;
}

.logo-img {
  height: 42px;
  width: auto;
}

.logo-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #222;
}

/* SNS - テキストリンク */
.header-sns {
  display: flex;
  gap: 32px;
}

.header-sns a {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #555;
  position: relative;
}

.header-sns a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #333;
  transition: width 0.4s ease;
}

.header-sns a:hover::after {
  width: 100%;
}

.header-sns a:hover {
  color: #333;
  opacity: 1;
}

/* ナビ行 - 独立 */
.nav { 
  display: flex; 
  justify-content: flex-end; 
  gap: 60px;
  padding-top: 40px;
}

.nav a { 
  font-size: 15px;
  letter-spacing: 0.15em;
  color: #333;
  position: relative; 
}

.nav a::after { 
  content: ""; 
  position: absolute; 
  bottom: -6px; 
  left: 0; 
  width: 0; 
  height: 1px; 
  background: #333;
  transition: width 0.4s ease;
}

.nav a:hover::after,
.nav a.active::after { width: 100%; }

.nav a:hover { opacity: 1; }

.nav a.active { color: #999; }

/* ===== Main ===== */
.main { 
  max-width: 1200px;
  margin: 0 auto; 
  padding: 0 80px;
}

/* ===== Page Title ===== */
.page-title { 
  font-family: "Cormorant Garamond", serif; 
  font-size: 44px;
  font-weight: 300; 
  font-style: normal;
  letter-spacing: 0.08em; 
  margin: 80px 0 70px;
  color: #999;
}

/* ===== Hero ===== */
.hero { 
  padding: 100px 0 160px; /* 下余白拡大 */
}

.hero-catch { 
  font-size: 38px;
  font-weight: 400; 
  line-height: 2.0;
  margin-bottom: 70px; 
  color: #111; 
  letter-spacing: 0.08em;
}

.hero-sub { 
  font-size: 16px;
  color: #555;
  line-height: 2.6;
  margin-bottom: 100px;
  letter-spacing: 0.1em;
}

.hero-links { 
  display: flex; 
  gap: 60px;
}

.hero-links a { 
  font-size: 14px;
  letter-spacing: 0.15em; 
  color: #333;
  position: relative;
  padding-bottom: 6px;
}

.hero-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #333;
  transition: width 0.4s ease;
}

.hero-links a:hover {
  opacity: 1;
}

.hero-links a:hover::after {
  width: 50%;
}

/* Hero CTA */
.hero-cta {
  margin-top: 60px;
}

.cta-button {
  display: inline-block;
  padding: 16px 40px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #333;
  background: transparent;
  border: 1px solid #333;
  transition: all 0.4s ease;
}

.cta-button:hover {
  color: #fff;
  background: #333;
  opacity: 1;
}

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

.section-title { 
  font-family: "Cormorant Garamond", serif; 
  font-size: 42px;
  font-weight: 300; 
  font-style: normal; 
  letter-spacing: 0.08em; 
  margin-bottom: 70px;
  color: #999;
}

/* ===== Profile - 写真なし版 ===== */
.profile-intro { 
  font-size: 16px;
  line-height: 2.4;
  color: #444;
  margin-bottom: 80px;
}

.profile-intro p { margin-bottom: 0; }

/* 実績ハイライト - 4カラム */
.profile-highlight-link {
  display: block;
  margin-bottom: 80px;
}

.profile-highlight-link:hover {
  opacity: 1;
}

.profile-highlight-link:hover .profile-highlight {
  border-color: #999;
}

.profile-highlight {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 50px 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  transition: border-color 0.4s ease;
}

.profile-highlight-source {
  font-size: 12px;
  color: #888;
  text-align: right;
  margin-top: 16px;
  letter-spacing: 0.1em;
}

.profile-highlight-item {
  text-align: center;
}

.profile-highlight-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.02em;
  line-height: 1;
}

.profile-highlight-label {
  font-size: 13px;
  color: #666;
  letter-spacing: 0.1em;
  margin-top: 16px;
}

/* プロフィールテーブル */
.profile-table { 
  font-size: 16px;
  line-height: 2.4; 
}

.profile-table-row { 
  display: grid; 
  grid-template-columns: 140px 1fr;
  gap: 40px; 
  margin-bottom: 18px;
}

.profile-table-label { 
  color: #666;
  letter-spacing: 0.1em;
}

.profile-table-value { 
  color: #333; 
}

/* ===== Service ===== */
.service-list { display: flex; flex-direction: column; }

.service-item { 
  display: grid; 
  grid-template-columns: 240px 1fr;
  gap: 80px;
  padding: 70px 0; 
  border-bottom: 1px solid #eee; 
}

.service-item:first-child { padding-top: 0; }
.service-item:last-child { border-bottom: none; }

.service-title { 
  font-size: 17px;
  font-weight: 400; 
  letter-spacing: 0.1em;
  color: #222;
}

.service-content { 
  font-size: 16px;
  line-height: 2.4;
  color: #444;
}

.service-content p { margin-bottom: 28px; }
.service-content p:last-child { margin-bottom: 0; }

.service-list-items { 
  margin-top: 36px; 
  font-size: 15px;
  color: #666;
  line-height: 2.4; 
}

.service-list-items li { 
  padding-left: 1.5em; 
  position: relative; 
}

.service-list-items li::before { 
  content: "—"; 
  position: absolute; 
  left: 0; 
  color: #ccc;
}

/* ===== Works - テキストリスト版（縦積み） ===== */
.works-list {
  display: flex;
  flex-direction: column;
}

.work-item { 
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 50px 0;
  border-bottom: 1px solid #eee;
}

.work-item:first-child { padding-top: 0; }
.work-item:last-child { border-bottom: none; }

.work-category { 
  font-size: 12px;
  color: #888;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.work-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.work-title { 
  font-size: 18px;
  font-weight: 400; 
  color: #222;
  letter-spacing: 0.06em;
}

.work-description {
  font-size: 15px;
  color: #555;
  line-height: 2;
}

/* ===== Reviews ===== */
.reviews { display: flex; flex-direction: column; }

.review-item { 
  padding: 60px 0;
  border-bottom: 1px solid #eee; 
}

.review-item:first-child { padding-top: 0; }
.review-item:last-child { border-bottom: none; }

.review-text { 
  font-size: 18px;
  font-weight: 400;
  line-height: 2.0; 
  margin-bottom: 20px; 
  color: #333;
  letter-spacing: 0.08em;
}

.review-source { 
  font-size: 14px;
  color: #777;
  letter-spacing: 0.1em;
}

/* ===== Contact ===== */
.contact-content { max-width: 600px; }

.contact-text { 
  font-size: 16px;
  line-height: 2.4;
  margin-bottom: 70px; 
  color: #444;
}

.contact-email { 
  font-size: 20px;
  letter-spacing: 0.08em; 
  display: inline-block; 
  margin-bottom: 100px;
  color: #333;
  position: relative;
  padding-bottom: 6px;
}

.contact-email::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #333;
  transition: width 0.4s ease;
}

.contact-email:hover {
  opacity: 1;
  color: #333;
}

.contact-email:hover::after {
  width: 50%;
}

.contact-platforms { 
  padding-top: 70px;
  border-top: 1px solid #eee; 
}

.contact-platforms-label { 
  font-size: 13px;
  color: #777;
  margin-bottom: 28px; 
  letter-spacing: 0.15em;
}

.platform-links { 
  display: flex; 
  gap: 50px;
}

.platform-links a { 
  font-size: 15px;
  letter-spacing: 0.1em; 
  color: #333;
  position: relative;
  padding-bottom: 4px;
}

.platform-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #333;
  transition: width 0.4s ease;
}

.platform-links a:hover {
  opacity: 1;
}

.platform-links a:hover::after {
  width: 100%;
}

/* ===== FAQ ===== */
.faq-list { 
  display: flex; 
  flex-direction: column; 
  gap: 70px;
}

.faq-q { 
  font-size: 17px;
  font-weight: 400; 
  margin-bottom: 20px; 
  color: #222;
  letter-spacing: 0.08em;
}

.faq-a { 
  font-size: 16px;
  color: #444;
  line-height: 2.4; 
}

/* ===== Price ===== */
/* ===== Price Table ===== */
.price-table {
  margin: 50px 0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: #f9f9f9;
  margin-bottom: 8px;
}

.price-row:last-child {
  margin-bottom: 0;
}

.price-label {
  font-size: 15px;
  color: #444;
}

.price-value {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  color: #333;
  letter-spacing: 0.05em;
}

.price-content {
  max-width: 600px;
  font-size: 16px;
  line-height: 2.4;
  color: #444;
}

.price-note { 
  margin-top: 36px; 
  font-size: 14px;
  color: #777;
}



/* ===== Footer ===== */
.footer { 
  max-width: 1200px;
  margin: 0 auto; 
  padding: 80px 80px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-main {
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}

.footer-email {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #666;
  position: relative;
}

.footer-email::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #555;
  transition: width 0.4s ease;
}

.footer-email:hover {
  color: #444;
  opacity: 1;
}

.footer-email:hover::after {
  width: 100%;
}

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

.footer-nav a { 
  font-size: 14px;
  letter-spacing: 0.12em; 
  color: #666;
  position: relative;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #555;
  transition: width 0.4s ease;
}

.footer-nav a:hover {
  color: #444;
  opacity: 1;
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-copy { 
  font-size: 12px;
  color: #999;
  letter-spacing: 0.1em; 
}

/* ===== 404 Error Page ===== */
.error-section {
  padding: 120px 0;
  text-align: center;
}

.error-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 120px;
  font-weight: 300;
  font-style: italic;
  color: #ddd;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 40px;
}

.error-message {
  font-size: 20px;
  color: #333;
  margin-bottom: 16px;
}

.error-sub {
  font-size: 15px;
  color: #666;
  margin-bottom: 60px;
}

.error-links {
  display: flex;
  justify-content: center;
}

/* ===== Utility ===== */
.note { 
  font-size: 14px;
  color: #777;
  line-height: 2.4; 
  margin-top: 80px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .header { padding: 40px 50px 30px; }
  .main { padding: 0 50px; }
  .footer { padding: 80px 50px; }
}

@media (max-width: 768px) {
  html { font-size: 14px; }
  .header { padding: 30px 24px 20px; }
  .header-top { margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
  .header-sns { gap: 20px; font-size: 13px; }
  .nav { gap: 28px; padding-top: 20px; }
  .nav a { font-size: 12px; }
  .main { padding: 0 24px; }
  .hero { padding: 60px 0 100px; }
  .hero-catch { font-size: 24px; line-height: 2.2; margin-bottom: 40px; }
  .hero-sub { margin-bottom: 40px; }

  .hero-links { gap: 30px; }
  .section { padding: 70px 0; }
  .section-title { font-size: 36px; margin-bottom: 50px; }
  .page-title { font-size: 40px; margin: 60px 0 50px; }
  .service-item { grid-template-columns: 1fr; gap: 24px; padding: 50px 0; }
  .work-item { grid-template-columns: 1fr; gap: 16px; }
  .profile-highlight { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .profile-table-row { grid-template-columns: 100px 1fr; gap: 16px; }

  .footer { 
    padding: 50px 24px; 
    flex-direction: column; 
    gap: 28px; 
    text-align: center;
  }
  .footer-nav { gap: 24px; }
}
