/* ==========================================================================
   TAGUCHI NORIHITO — Official Site v2
   ========================================================================== */

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

/* ── Variables ── */
:root {
  --black:    #18181b;
  --black-sub:#3f3f46;
  --white:    #ffffff;
  --bg:       #fafafa;
  --muted:    #71717a;
  --border:   #e4e4e7;
  --bg-light: #f4f4f5;
  --green:    #2D5A3D;
  --green-bg: #EEF4F0;

  /* 参考画像グラデーション色 */
  --grad-blue:   #B8D4E8;
  --grad-pink:   #E8B0C8;
  --grad-yellow: #F0C878;
  --grad-mint:   #98D4C8;
  --grad-lavender: #C8A8D8;

  --font-en: 'Outfit', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ja);
  font-size: 17px;
  color: var(--black);
  line-height: 1.9;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.04em;
}

/* ── Container ── */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ========================================
   Header
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--black);
  text-decoration: none;
}

.header-nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
}

.header-nav a {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--black); }

/* ドロップダウン */
.header-nav li { position: relative; }

.header-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  min-width: 160px;
  padding: 20px 0 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: 100;
}

.header-nav li:hover .dropdown-menu { display: block; }

.header-nav .dropdown-menu li { display: block; }

.header-nav .dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}

.header-nav .dropdown-menu a:hover {
  color: var(--black);
  background: var(--bg-light);
}

/* ========================================
   Hero スライドショー
   ======================================== */
.hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* スライド */
.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background: var(--black);
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  display: block;
}

/* オーバーレイ */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24,24,27,0.45) 0%, transparent 60%);
  z-index: 1;
}

/* テキスト */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 64px 64px;
  color: var(--white);
}

.hero-en {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}

.hero-catch {
  font-family: var(--font-ja);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.hero-name {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.7);
}

/* ドット */
.hero-dots {
  position: absolute;
  bottom: 24px;
  right: 48px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.hero-dot.active {
  background: rgba(255,255,255,0.9);
}

/* ========================================
   グラデーション帯（B案：セクション区切り）
   ======================================== */
.gradient-band {
  height: 6px;
  background: var(--green);
  opacity: 0.5;
}

/* ========================================
   Section 共通
   ======================================== */
.section-head {
  margin-bottom: 48px;
}

.section-head.centered {
  text-align: center;
}

.section-en {
  display: block;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-ja);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--black);
}

.section-subtitle {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-top: 10px;
}

.detail-rule {
  width: 40px;
  height: 2px;
  background: var(--green);
  margin-bottom: 40px;
}

/* ========================================
   About
   ======================================== */
.section-about {
  padding: 96px 0;
}

.about-body {
  max-width: 100%;
}

.about-body p {
  font-size: 17px;
  color: var(--black-sub);
  margin-bottom: 28px;
  line-height: 2.1;
}

.about-quote {
  font-family: var(--font-ja);
  font-size: 19px;
  font-weight: 500;
  color: var(--black);
  border-left: 4px solid var(--green);
  padding-left: 24px;
  margin: 40px 0;
  line-height: 1.8;
}

/* ========================================
   Services Intro Grid
   ======================================== */
.section-services-intro {
  padding: 80px 0;
  background: var(--bg-light);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 44px 40px;
  text-decoration: none;
  color: var(--black);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--green);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.service-card-num {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--green);
}

.service-card-title {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--black);
}

.service-card-ja {
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.service-card-desc {
  font-size: 15px;
  color: var(--black-sub);
  line-height: 1.9;
  margin-top: 8px;
}

.service-card-link {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-top: 16px;
}

/* ========================================
   Service Detail
   ======================================== */
.section-detail {
  padding: 96px 0;
}

.section-detail.bg-light {
  background: var(--bg-light);
}

.detail-lead {
  font-size: 18px;
  font-weight: 400;
  line-height: 2.1;
  color: var(--black);
  margin-bottom: 32px;
}

.detail-body {
  font-size: 16px;
  color: var(--black-sub);
  line-height: 2.1;
  margin-bottom: 48px;
}

/* 写真ストリップ */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 56px;
}

.photo-strip-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-light);
}

.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.photo-strip-item:hover img {
  transform: scale(1.04);
}

.section-detail-link-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
  margin-bottom: 40px;
}
.section-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid var(--green);
  padding-bottom: 3px;
  transition: opacity 0.2s;
}
.section-detail-link:hover { opacity: 0.7; }

/* アプローチリスト */
.approach-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.approach-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.approach-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.approach-num {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--green);
  min-width: 32px;
  padding-top: 4px;
}

.approach-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.approach-desc {
  font-size: 15px;
  color: var(--black-sub);
  line-height: 2;
}

.yohaku-closing {
  margin-top: 56px;
  padding: 32px 36px;
  background: var(--green-bg);
  border-left: 4px solid var(--green);
  font-size: 16px;
  color: var(--black);
  line-height: 2.1;
}

/* ========================================
   Profile
   ======================================== */
.section-profile {
  padding: 96px 0;
}

.profile-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: flex-start;
  margin-bottom: 72px;
}

.profile-photo-wrap {
  background: var(--bg-light);
}

.profile-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.profile-bio {
  font-size: 16px;
  color: var(--black-sub);
  line-height: 2.1;
  margin-bottom: 20px;
}

.achievements-title {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 32px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
}

.achievement-cat {
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.achievement-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.achievement-list li {
  font-size: 14px;
  color: var(--black-sub);
  line-height: 1.8;
  padding-left: 16px;
  position: relative;
}

.achievement-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 12px;
}

/* ========================================
   Activity
   ======================================== */
.section-activity {
  padding: 96px 0;
  background: var(--bg-light);
}

.activity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 0;
}

.activity-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.activity-card-label {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
}

.activity-card-name {
  font-size: 22px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.activity-card-desc {
  font-size: 15px;
  color: var(--black-sub);
  line-height: 2;
  flex: 1;
}

.activity-card-stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.activity-card-stats span {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.activity-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
  transition: opacity 0.2s;
  align-self: flex-end;
}

.activity-card-link:hover { opacity: 0.7; }

@media (max-width: 768px) {
  .activity-grid { grid-template-columns: 1fr; }
}

/* ========================================
   Contact
   ======================================== */
.section-contact {
  padding: 96px 0;
  background: var(--black);
}

.section-contact .section-en   { color: var(--grad-mint); }
.section-contact .section-title { color: var(--white); }

.contact-lead {
  text-align: center;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 48px;
  line-height: 2;
}

.contact-sns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sns-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 14px 28px;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.sns-btn:hover {
  border-color: var(--grad-mint);
  color: var(--white);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.4);
}

.footer-copy {
  font-family: var(--font-en);
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
}

/* ========================================
   Hamburger / Mobile Nav
   ======================================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.25s, opacity 0.25s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 8px 20px 20px;
}

.mobile-nav.open { display: block; }

.mobile-nav ul { list-style: none; }

.mobile-nav ul li { border-bottom: 1px solid var(--border); }
.mobile-nav ul li:last-child { border-bottom: none; }

.mobile-nav ul li a {
  display: block;
  padding: 13px 0;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--black);
  text-decoration: none;
}

.mobile-nav ul li a.sub {
  color: var(--muted);
  font-size: 13px;
  padding-left: 16px;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  body { font-size: 15px; }

  /* Header */
  .header-inner { padding: 0 20px; height: 60px; }
  .header-logo { font-size: 14px; letter-spacing: 0.12em; }
  .header-nav { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { height: 58vh; min-height: 340px; }
  .hero-catch { font-size: clamp(26px, 7vw, 34px); }
  .hero-content { padding: 0 20px 36px; }
  .hero-dots { right: 20px; }

  /* Section padding */
  .section-about,
  .section-detail,
  .section-profile,
  .section-activity,
  .section-contact { padding: 60px 0; }
  .section-services-intro { padding: 52px 0; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 24px; }

  /* Photo strip */
  .photo-strip { grid-template-columns: 1fr; }

  /* Profile */
  .profile-layout { grid-template-columns: 1fr; }
  .profile-photo-wrap { max-width: 180px; }
  .achievements-grid { grid-template-columns: 1fr; }

  /* Activity */
  .activity-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── A案 追加上書き：重さと間隔の調整 ── */
.section-title { font-weight: 500; letter-spacing: 0.04em; }
.hero-catch    { font-weight: 500; letter-spacing: 0.04em; }
.approach-title { font-weight: 600; }
.header-logo   { font-weight: 600; letter-spacing: 0.15em; }
.header-nav a  { letter-spacing: 0.06em; }
.section-en    { letter-spacing: 0.22em; }
.hero-en       { letter-spacing: 0.2em; }
.service-card-title { font-weight: 500; }
.about-quote   { font-weight: 600; }
