/* ============================================
   小出会計事務所 — 共通スタイル
   ダークボトルグリーン × アンティークブラス
   Lora + Shippori Mincho B1
   ============================================ */

:root {
  --bottle: #1d3a30;
  --bottle-deep: #142822;
  --bottle-soft: #2c5246;
  --brass: #b5895a;
  --brass-deep: #8e6a42;
  --ivory: #f5f1e8;
  --paper: #fbf9f2;
  --line: #d6cfbd;
  --text: #232323;
  --text-muted: #6e6e6e;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--paper);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  opacity: 0.7;
}

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

/* ============================================
   Header
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(251, 249, 242, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-en {
  font-family: "Lora", serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--bottle);
  letter-spacing: 0.06em;
}

.logo-jp {
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  margin-top: 3px;
}

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

.nav a {
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-size: 14px;
  color: var(--bottle);
  letter-spacing: 0.1em;
  position: relative;
  padding: 4px 0;
}

.nav a.active,
.nav a:hover {
  color: var(--brass);
  opacity: 1;
}

.nav a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--brass);
}

.nav .cta-btn {
  background: var(--bottle);
  color: var(--ivory);
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 0.15em;
  transition: background 0.3s ease;
}

.nav .cta-btn:hover {
  background: var(--brass);
  opacity: 1;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  min-height: 90vh;
  background: var(--bottle);
  color: var(--ivory);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 130px 40px 80px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass) 50%, transparent);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 60px;
  right: 60px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(181, 137, 90, 0.25);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-label {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 17px;
  color: var(--brass);
  letter-spacing: 0.15em;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-label::before {
  content: "—";
  color: var(--brass);
}

.hero-title {
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin-bottom: 40px;
}

.hero-title strong {
  color: var(--brass);
  font-weight: 500;
}

.hero-sub {
  font-size: 16.5px;
  line-height: 2.1;
  max-width: 600px;
  color: rgba(245, 241, 232, 0.85);
  margin-bottom: 56px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(181, 137, 90, 0.3);
  border-bottom: 1px solid rgba(181, 137, 90, 0.3);
  max-width: 820px;
}

.hero-stat {
  padding: 32px 28px;
  border-right: 1px solid rgba(181, 137, 90, 0.3);
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat-num {
  font-family: "Lora", serif;
  font-size: 34px;
  color: var(--brass);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  line-height: 1.2;
}

.hero-stat-num small {
  font-size: 14px;
  letter-spacing: 0.1em;
}

.hero-stat-label {
  font-family: "Shippori Mincho B1", serif;
  font-size: 12px;
  color: rgba(245, 241, 232, 0.7);
  letter-spacing: 0.15em;
}

/* ============================================
   Sections
   ============================================ */

.section {
  padding: 120px 40px;
}

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.section-label {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 15px;
  color: var(--brass);
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.section-title {
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(28px, 3.8vw, 44px);
  color: var(--bottle);
  line-height: 1.45;
  margin-bottom: 60px;
  letter-spacing: 0.03em;
}

.section-title strong {
  color: var(--brass);
  font-weight: 500;
}

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

.section-dark {
  background: var(--bottle);
  color: var(--ivory);
}

.section-dark .section-title {
  color: var(--ivory);
}

.section-cream {
  background: var(--ivory);
}

/* ============================================
   Page Header
   ============================================ */

.page-header {
  background: var(--bottle);
  color: var(--ivory);
  padding: 200px 40px 100px;
  position: relative;
}

.page-header::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60px;
  height: 1px;
  background: var(--brass);
  transform: translateX(-50%);
}

.page-header-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.page-header-en {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 17px;
  color: var(--brass);
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.page-header-title {
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 54px);
  letter-spacing: 0.05em;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 40px;
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  border: 1px solid var(--brass);
  color: var(--brass);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn::after {
  content: "→";
  font-family: "Lora", serif;
  transition: transform 0.3s ease;
}

.btn:hover {
  background: var(--brass);
  color: var(--white);
  opacity: 1;
}

.btn:hover::after {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--brass);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brass-deep);
  border-color: var(--brass-deep);
}

.btn-light {
  border-color: var(--ivory);
  color: var(--ivory);
}

.btn-light:hover {
  background: var(--ivory);
  color: var(--bottle);
}

/* ============================================
   Strengths
   ============================================ */

.strengths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.strength {
  position: relative;
  padding-top: 32px;
}

.strength::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--brass);
}

.strength-num {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--brass);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.strength-title {
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--bottle);
  margin-bottom: 20px;
  line-height: 1.5;
}

.section-dark .strength-title {
  color: var(--ivory);
}

.strength-body {
  font-size: 14.5px;
  line-height: 2;
  color: var(--text-muted);
}

.section-dark .strength-body {
  color: rgba(245, 241, 232, 0.75);
}

/* ============================================
   Profile
   ============================================ */

.profile {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.profile-aside {
  border-top: 1px solid var(--brass);
  padding-top: 28px;
}

.profile-name-en {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--brass);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.profile-name {
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--bottle);
  margin-bottom: 8px;
}

.profile-title {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.profile-body p {
  margin-bottom: 1.6em;
  line-height: 2.1;
  font-size: 15.5px;
}

.profile-body p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Info Table
   ============================================ */

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid var(--line);
}

.info-table th,
.info-table td {
  padding: 22px 0;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}

.info-table th {
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-weight: 500;
  color: var(--bottle);
  width: 220px;
  letter-spacing: 0.1em;
}

.info-table td {
  color: var(--text);
  line-height: 1.85;
}

/* ============================================
   Fee Table
   ============================================ */

.fee-block {
  margin-bottom: 80px;
}

.fee-block:last-child {
  margin-bottom: 0;
}

.fee-block-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 22px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--brass);
}

.fee-block-num {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 24px;
  color: var(--brass);
}

.fee-block-title {
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--bottle);
}

.fee-sub {
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--bottle);
  margin-bottom: 16px;
  margin-top: 32px;
  padding-left: 14px;
  border-left: 3px solid var(--brass);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.fee-table th,
.fee-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.fee-table th {
  background: var(--ivory);
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-weight: 500;
  color: var(--bottle);
  letter-spacing: 0.05em;
}

.fee-table .price {
  font-family: "Lora", serif;
  font-weight: 500;
  color: var(--bottle);
  letter-spacing: 0.02em;
  font-size: 16.5px;
  text-align: right;
}

.fee-table .price small {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 8px;
}

.fee-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 14px 18px;
  background: var(--ivory);
  border-left: 3px solid var(--brass);
}

/* ============================================
   Service Cards
   ============================================ */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  background: var(--paper);
  padding: 48px 40px;
  transition: background 0.3s ease;
}

.service-card:hover {
  background: var(--white);
}

.service-card-num {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--brass);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--bottle);
  margin-bottom: 18px;
  line-height: 1.55;
}

.service-card p {
  font-size: 14.5px;
  line-height: 2;
  color: var(--text-muted);
}

/* ============================================
   Career Timeline
   ============================================ */

.timeline {
  border-left: 1px solid var(--line);
  padding-left: 40px;
  margin-left: 12px;
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -47px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brass);
  border: 2px solid var(--paper);
}

.timeline-year {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--brass);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.timeline-item h4 {
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--bottle);
  margin-bottom: 10px;
}

.timeline-item p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-muted);
}

/* ============================================
   Flow Steps
   ============================================ */

.flow-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 60px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.flow-step:last-child {
  border-bottom: none;
}

.flow-num {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 60px;
  color: var(--brass);
  line-height: 1;
}

.flow-content h3 {
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--bottle);
  margin-bottom: 16px;
}

.flow-content p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-muted);
}

/* ============================================
   Contact
   ============================================ */

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

.contact-card {
  background: var(--white);
  padding: 56px 48px;
  border-top: 3px solid var(--brass);
}

.contact-card-label {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--brass);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.contact-card-title {
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--bottle);
  margin-bottom: 28px;
}

.contact-card-value {
  font-family: "Lora", serif;
  font-size: 28px;
  color: var(--bottle);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.contact-card-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   Form
   ============================================ */

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

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

.form-label {
  display: block;
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-size: 14px;
  color: var(--bottle);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.form-label span {
  color: var(--brass);
  font-size: 11px;
  margin-left: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brass);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.8;
}

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

/* ============================================
   CTA Band
   ============================================ */

.cta-band {
  background: var(--bottle-deep);
  color: var(--ivory);
  padding: 100px 40px;
  text-align: center;
  position: relative;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 50%;
  width: 40px;
  height: 1px;
  background: var(--brass);
  transform: translateX(-50%);
}

.cta-en {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 16px;
  color: var(--brass);
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.cta-title {
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.cta-body {
  font-size: 15px;
  line-height: 2;
  color: rgba(245, 241, 232, 0.8);
  max-width: 580px;
  margin: 0 auto 48px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--bottle-deep);
  color: rgba(245, 241, 232, 0.75);
  padding: 80px 40px 32px;
  border-top: 1px solid rgba(181, 137, 90, 0.2);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(181, 137, 90, 0.2);
}

.footer-brand .logo-en {
  color: var(--ivory);
  font-size: 24px;
}

.footer-brand .logo-jp {
  color: var(--brass);
  margin-top: 8px;
  font-size: 12px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 2;
  margin-top: 20px;
}

.footer-col h4 {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--brass);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 13px;
  letter-spacing: 0.05em;
}

.footer-bottom {
  font-size: 12px;
  color: rgba(245, 241, 232, 0.5);
  letter-spacing: 0.1em;
  text-align: center;
}

/* ============================================
   Links Page
   ============================================ */

.links-block {
  margin-bottom: 80px;
}

.links-block:last-child {
  margin-bottom: 0;
}

.links-block-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 22px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--brass);
}

.links-block-num {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 24px;
  color: var(--brass);
}

.links-block-title {
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--bottle);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.link-card {
  display: block;
  background: var(--paper);
  padding: 32px 32px;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s ease;
  position: relative;
}

.link-card:hover {
  background: var(--white);
  opacity: 1;
}

.link-card::after {
  content: "↗";
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: "Lora", serif;
  font-size: 20px;
  color: var(--brass);
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.link-card:hover::after {
  opacity: 1;
  transform: translate(2px, -2px);
}

.link-card-domain {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 12px;
  color: var(--brass);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.link-card-title {
  font-family: "Shippori Mincho B1", "Noto Serif JP", serif;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--bottle);
  margin-bottom: 10px;
  line-height: 1.55;
  padding-right: 32px;
}

.link-card-desc {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-muted);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 960px) {
  .header-inner {
    padding: 16px 24px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 110px 24px 60px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    border-right: none;
    border-bottom: 1px solid rgba(181, 137, 90, 0.3);
  }

  .hero-stat:last-child {
    border-bottom: none;
  }

  .section {
    padding: 80px 24px;
  }

  .strengths,
  .profile,
  .contact-grid,
  .service-grid,
  .link-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .link-grid {
    gap: 1px;
  }

  .flow-step {
    grid-template-columns: 80px 1fr;
    gap: 24px;
  }

  .flow-num {
    font-size: 44px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .info-table th {
    width: 130px;
    font-size: 13px;
  }

  .info-table td {
    font-size: 14px;
  }

  .page-header {
    padding: 140px 24px 60px;
  }

  .fee-table {
    font-size: 13px;
  }

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

  .timeline {
    padding-left: 28px;
    margin-left: 6px;
  }

  .timeline-item::before {
    left: -34px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 30px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .service-card,
  .contact-card {
    padding: 32px 24px;
  }
}
