@charset "UTF-8";

/* ============================================
   company_sp.css（運営会社 SP版 - 色のみCSS変数化）
   
   【概要】
   - 840px以下で読み込まれるスマートフォン用CSS
   - 運営会社ページ専用のスタイル定義
   
   【前提条件】
   public_all.cssで定義されたCSS変数（色）を使用
   このファイルはpublic_all.cssの後に読み込むこと
   
   【セクション構成】
   0. リセット・共通設定
   1. パンくずナビゲーション
   2. セクションタイトル
   3. 会社情報ブロック
   4. TOPへ戻るボタン
   5. レスポンシブ調整（415px以下）
   ============================================ */


/* ============================================
   0. リセット・共通設定
   ============================================ */

/* --- ボックスサイズ統一 --- */
* {
  box-sizing: border-box;
}

/* --- 画像の基本設定 --- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* ============================================
   メインセクション
   ============================================ */

#company-section {
  width: 100%;
  padding: 100px 30px 60px;
  border-bottom: 1px solid var(--color-border-main);
}


/* ============================================
   1. パンくずナビゲーション
   ============================================ */

.breadcrumb {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb a:hover {
  color: var(--color-text-main);
}


/* ============================================
   2. セクションタイトル
   ============================================ */

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 1px solid #666;
}


/* ============================================
   3. 会社情報ブロック
   ============================================ */

/* --- ブロック全体 --- */
.company-block {
  width: 100%;
  margin: 0 auto 50px;
  background: transparent;
}

/* --- ラベルエリア（横長バー） --- */
.company-label {
  width: 100%;
  max-width: 150px;
  margin: 0 auto 25px;
  background-color: rgba(0, 0, 0, 0.1); 
  padding: 12px 20px;
  text-align: center;
}

.company-label h2 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

/* --- 詳細エリア --- */
.company-details {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- 詳細行（横並び：左ラベル、右コンテンツ） --- */
.company-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0;
  padding: 12px 0;
  border-bottom: 1px solid #000;
}

.company-row:last-child {
  border-bottom: none;
}

/* --- ラベル（会社名、所在地など） --- */
.detail-label {
  flex: 0 0 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding-right: 30px;
  text-align: justify;
  text-align-last: justify;
}

/* --- コンテンツ（実際の情報） --- */
.detail-content {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-text-main);
  line-height: 1.6;
}

.detail-content a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.detail-content a:hover {
  color: var(--color-accent-main);
  
}

/* ============================================
   5. レスポンシブ調整（415px以下）
   ============================================ */


@media screen and (max-width: 415px) {
  
  /* --- メインセクション --- */
  #company-section {
    padding: 100px 30px 50px;
  }

  /* --- セクションタイトル --- */
  .section-title {
    margin-bottom: 35px;
  }

  .section-title h1 {
    font-size: 1.5rem;
    letter-spacing: 0.08em;
  }

  /* --- 会社情報ブロック --- */
  .company-block {
    margin-bottom: 40px;
  }

  /* ラベルエリア */
  .company-label {
    max-width: 180px;
    padding: 10px 15px;
    margin-bottom: 20px;
  }

  .company-label h2 {
    font-size: 0.95rem;
    letter-spacing: 0.12em;
  }

  /* 詳細エリア */
  .company-details {
    padding: 0 10px;
  }

  /* 詳細行 */
  .company-row {
    flex-direction: column;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-soft);
    gap: 5px;
  }

  .company-row:last-child {
    border-bottom: none;
  }

  /* ラベル（縦並びなので幅指定不要） */
  .detail-label {
    flex: none;
    width: 100%;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text-light);
    padding-right: 0;
    text-align: left;
    text-align-last: left;
    margin-bottom: 3px;
  }

  /* コンテンツ */
  .detail-content {
    flex: none;
    width: 100%;
    font-size: 0.8rem;
    line-height: 1.7;
    padding-left: 8px;
  }

  .detail-content a {
    word-break: break-all;
  }
}


/* ============================================
   END OF FILE
   ============================================ */