@charset "UTF-8";

/* ==========================================
   DESIGN.md に準拠した変数定義
   ========================================== */
:root {
  --color-primary: #141d3b;       /* ダークネイビー（ライン・アクセント用） */
  --color-secondary: #122A5C;     /* Navy Blue (店舗カラー) */
  --color-text-dark: #1A1A1A;     /* Charcoal Black */
  --color-text-muted: #666666;    /* Medium Gray */
  --color-bg-light: #F0F4F9;      /* Light Blueish White */
  --color-bg-pure: #FFFFFF;       /* Pure White */
  --color-line: #06C755;          /* LINE Green */
  --color-line-hover: #05b34c;
}

/* ==========================================
   Base Reset
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--color-text-dark);
  line-height: 1.8;
  background-color: var(--color-bg-pure);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================
   Layout Components & 交互の濃淡（メリハリ）
   ========================================== */
.container {
  max-width: 1040px;
  margin: 0 auto;
  width: 100%;
}
.text-center {
  text-align: center;
}

/* セクションパディング（PC: 80px / SP: 48px） */
.problem, .reasons, .genres, .flow, .voices, .faq, .access, .closing {
  padding: 48px 24px;
}

/* 背景の交互濃淡クラス */
.bg-pure {
  background-color: var(--color-bg-pure);
}
.bg-light {
  background-color: var(--color-bg-light);
}

/* セクションタイトル（高級感のある明朝体に変更） */
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 16px;
  letter-spacing: 0.05em;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

/* ユーティリティ */
.m-bottom-20 { margin-bottom: 20px !important; }
.m-top-10 { margin-top: 10px !important; }

/* ==========================================
   Header Styles (Mobile First)
   ========================================== */
header {
  background-color: var(--color-bg-pure);
  border-bottom: 1px solid #E0E6ED;
  padding: 0; /* スマホでは帯を画面端まで伸ばすためにゼロに */
}
.header-inner {
  display: flex;
  flex-direction: column;
  max-width: 1040px;
  margin: 0 auto;
}
.logo {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-text-dark);
  padding: 0 24px;
  margin-bottom: 12px;
}
.logo span {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--color-secondary);
  color: #FFFFFF;
  font-size: 0.8rem;
  display: block;
  font-weight: 500;
  padding: 10px 24px;
  margin: 0 -24px 12px -24px; /* ネガティブマージンで帯を全幅に */
}
.header-info {
  text-align: left;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  padding: 0 24px 16px 24px;
  line-height: 1.5;
}
.header-info .tag {
  display: none; /* デザイン指示に基づき非表示 */
}

/* ==========================================
   1. First View (ヒーローエリア)
   ========================================== */
.fv {
  position: relative;
  overflow: hidden;
  padding: 48px 24px;
  display: flex;
  align-items: center;
}
/* 幾何学パターン画像を全体に敷き詰める設定 */
.fv-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../img/crossline-dots.webp');
  background-repeat: repeat;
  background-position: center top;
  z-index: 1;
}
/* オーバーレイをネイビー（#122b5c）に変更 */
.fv::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(18, 42, 92, 0.92); /* ネイビー色に透過をかける */
  z-index: 2;
}
.fv-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column-reverse;
  gap: 32px;
}
.fv-content {
  flex: 1;
}
.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.badge-item {
  background-color: var(--color-bg-pure);
  border: 1px solid var(--color-primary);
  color: var(--color-text-dark);
  padding: 4px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 4px;
}
.fv-main-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--color-bg-pure); /* 白抜き */
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.fv-sub-title {
  font-size: 0.95rem;
  color: var(--color-bg-pure); /* 白抜き */
  margin-bottom: 32px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.fv-cta-wrapper {
  padding: 24px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.fv-cta-wrapper .micro-copy {
  color: var(--color-bg-pure);
}
.fv-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fv-image img {
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ==========================================
   Component: Buttons (DESIGN.md 準拠のシャープな4px角丸)
   ========================================== */
.cta-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
  width: 100%;
}
.micro-copy {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  text-align: center;
  letter-spacing: 0.05em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 450px;
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-align: center;
  letter-spacing: 0.05em;
  border: 1px solid #FFFFFF; /* 1pxの白いフチを追加 */
}
.btn-line {
  background-color: var(--color-line);
  color: var(--color-bg-pure);
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.15);
}
.btn-line:hover {
  background-color: var(--color-line-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.25);
}
.btn-store {
  background-color: var(--color-secondary);
  color: var(--color-bg-pure);
  box-shadow: 0 4px 12px rgba(18, 42, 92, 0.15);
}
.btn-store:hover {
  background-color: #0c1d42;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(18, 42, 92, 0.25);
}

/* ==========================================
   2. 悩み共感
   ========================================= */
.problem-box {
  background-color: #EBF1F8;
  border: 1px solid #D0DCE8;
  border-radius: 4px;
  padding: 32px 24px;
  max-width: 760px;
  margin: 0 auto;
}
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
}
.problem-item::before {
  content: "✕";
  color: #e74c3c;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 2px;
}
.problem-conclusion {
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 32px;
  color: var(--color-secondary);
}
.problem-conclusion img {
  width: 70%;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* ==========================================
   3. 選ばれる3つの理由
   ========================================= */
.reasons-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.reason-card {
  background-color: var(--color-bg-pure);
  border: 1px solid #E0E6ED;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}
.reason-img-wrapper {
  width: 100%;
}
.reason-content {
  padding: 24px;
}
.reason-tag {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: block;
}
.reason-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}
.reason-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ==========================================
   4. 買取対象ジャンル
   ========================================= */
.genres-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.genre-item {
  background-color: var(--color-bg-light);
  border: 1px solid #E0E6ED;
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 16px;
}
.genre-item h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 16px 8px 4px;
}
.genre-item p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding: 0 8px;
}
.genres-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* ==========================================
   5. ご利用の流れ
   ========================================= */
.flow-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.flow-step {
  background-color: var(--color-bg-pure);
  border: 1px solid #E0E6ED;
  padding: 24px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.step-num {
  background-color: var(--color-primary);
  color: var(--color-bg-pure);
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  display: inline-block;
  margin-bottom: 12px;
}
.flow-step h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.flow-step p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ==========================================
   6. お客様の声
   ========================================= */
.voices-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.voice-card {
  background-color: var(--color-bg-light);
  border: 1px solid #E0E6ED;
  padding: 24px;
  border-radius: 4px;
  border-left: 4px solid var(--color-primary);
}
.voice-text {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.voice-user {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: right;
}

/* ==========================================
   7. よくあるご質問 (FAQ)
   ========================================= */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background-color: var(--color-bg-pure);
  border: 1px solid #E0E6ED;
  padding: 24px;
  border-radius: 4px;
}
.faq-q {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-secondary);
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
}
.faq-a {
  font-size: 0.95rem;
  color: var(--color-text-dark);
  padding-left: 24px;
}

/* ==========================================
   8. 店舗案内・アクセス
   ========================================= */
.access-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}
.access-table th, .access-table td {
  padding: 16px;
  border-bottom: 1px solid #E0E6ED;
  text-align: left;
}
.access-table th {
  width: 30%;
  background-color: var(--color-bg-light);
  font-weight: 700;
}
.tel-link {
  color: var(--color-secondary);
  font-weight: 700;
  text-decoration: underline;
}
.map-wrapper {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* ==========================================
   9. クロージング
   ========================================= */
.closing-sub {
  font-size: 0.95rem;
  color: var(--color-text-dark);
  margin-bottom: 32px;
}

/* ==========================================
   Footer Styles (フッターネイビー化)
   ========================================= */
footer {
  background-color: var(--color-secondary);
  color: var(--color-bg-pure);
  padding: 48px 24px;
}
.footer-flex {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-left {
  text-align: left;
}
.footer-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-jro-img {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ==========================================
   Responsive Media Queries (Tablet & PC)
   ========================================= */
@media (min-width: 768px) {
  .problem, .reasons, .genres, .flow, .voices, .faq, .access, .closing {
    padding: 80px 24px;
  }
  .section-title {
    font-size: 2rem;
    margin-bottom: 48px;
  }
  
  /* PC用 Header（元のデザインを完全に踏襲） */
  header {
    padding: 16px 24px;
    border-bottom: 1px solid #E0E6ED;
  }
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .logo {
    padding: 0;
    margin-bottom: 0;
    font-size: 1.5rem;
  }
  .logo span {
    background-color: transparent;
    color: var(--color-secondary);
    padding: 0;
    margin: 0 0 4px 0;
    font-size: 0.8rem;
  }
  .header-info {
    text-align: right;
    padding: 0;
  }

  /* 1. FV 横並び */
  .fv {
    padding: 80px 48px;
    min-height: 580px;
  }
  .fv-inner {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
  .fv-main-title { font-size: 2.2rem; }
  .fv-sub-title { font-size: 1.05rem; }
  .fv-cta-wrapper {
    background: transparent;
    padding: 0;
    backdrop-filter: none;
  }
  .fv-cta-wrapper .micro-copy { text-align: left; }
  .cta-area {
    flex-direction: row;
    justify-content: flex-start;
  }
  .btn { font-size: 16px; }

  /* 3. 理由 カード横並び */
  .reasons-list {
    flex-direction: row;
    gap: 24px;
  }
  .reason-card {
    flex: 1;
  }
  .reason-content { padding: 32px 24px; }

  /* 4. ジャンル 4カラム化 */
  .genres-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  /* 5. フロー 横並び */
  .flow-list {
    flex-direction: row;
    gap: 24px;
  }
  .flow-step { flex: 1; }

  /* 6. お客様の声 3カラム */
  .voices-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  /* 8. アクセス */
  .access-container {
    display: flex;
    gap: 48px;
    align-items: flex-start;
  }
  .access-info, .map-wrapper {
    flex: 1;
    width: 50%;
  }

  /* Footer 2カラム左右並び（右側にJRO画像） */
  .footer-flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
  }
  .footer-left {
    flex: 1;
  }
  .footer-right {
    flex: 1;
    justify-content: flex-end;
  }
}

/* ==========================================
   会社案内ページ用スタイル（追記）
   ========================================== */

/* ページトップタイトルエリア */
.company-hero {
  padding: 64px 24px !important;
  border-bottom: 1px solid #E0E6ED;
}
.company-page-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: 0.1em;
}
.company-page-sub {
  font-size: 0.85rem;
  color: var(--color-secondary);
  font-weight: 700;
  margin-top: 8px;
  letter-spacing: 0.2em;
}

/* 代表メッセージ */
.company-message {
  padding: 80px 24px;
}
.message-content-box {
  max-width: 800px;
  margin: 0 auto;
}
.message-content-box h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem;
  color: var(--color-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}
.message-content-box p {
  font-size: 1rem;
  color: var(--color-text-dark);
  margin-bottom: 24px;
  text-align: justify;
}
.message-content-box p:last-child {
  margin-bottom: 0;
}

/* 会社概要テーブル */
.company-profile {
  padding: 80px 24px;
}
.table-wrapper {
  max-width: 840px;
  margin: 0 auto;
  background-color: var(--color-bg-pure);
  border: 1px solid #E0E6ED;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.profile-table {
  width: 100%;
  border-collapse: collapse;
}
.profile-table th, .profile-table td {
  padding: 20px 24px;
  font-size: 0.95rem;
  border-bottom: 1px solid #E0E6ED;
  text-align: left;
}
.profile-table tr:last-child th, .profile-table tr:last-child td {
  border-bottom: none;
}
.profile-table th {
  width: 25%;
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  font-weight: 700;
  white-space: nowrap;
}
.profile-table td {
  color: var(--color-text-dark);
  background-color: var(--color-bg-pure);
}
.profile-table td ul {
  padding-left: 18px;
  list-style-type: disc;
}
.profile-table td li {
  margin-bottom: 8px;
}
.profile-table td li:last-child {
  margin-bottom: 0;
}

/* 許認可セクション */
.company-permits {
  padding: 80px 24px;
}
.permits-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 840px;
  margin: 0 auto;
}
.permit-card {
  background-color: var(--color-bg-light);
  border: 1px solid #E0E6ED;
  border-radius: 4px;
  padding: 32px;
}
.permit-card h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  color: var(--color-secondary);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
  padding-bottom: 4px;
}
.permit-main {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.permit-sub {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.permit-list-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.permit-list-details li {
  display: flex;
  flex-direction: column;
  border-bottom: 1px dashed #D0DCE8;
  padding-bottom: 12px;
}
.permit-list-details li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.permit-list-details strong {
  font-size: 0.95rem;
}
.permit-list-details span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* 運営店舗一覧 */
.company-shops {
  padding: 80px 24px;
}
.shops-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
  max-width: 840px;
  margin: 0 auto;
}
.shop-location-card {
  background-color: var(--color-bg-pure);
  border: 1px solid #E0E6ED;
  padding: 24px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.shop-location-card h5 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}
.shop-location-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* 会社案内レスポンシブ (Tablet & PC) */
@media (min-width: 768px) {
  .company-hero {
    padding: 80px 24px !important;
  }
  .company-page-title {
    font-size: 2.8rem;
  }
  .permit-list-details li {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .shops-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}