/* デザインシステム - カラー変数 */
:root {
  /* ブランドカラー（Figmaデザインより） */
  --brand-primary: #6cbb5a;    /* 緑色ボーダー */
  --brand-secondary: #12b8d7;  /* 青色ボーダー */

  /* 背景色 */
  --bg-gradient-start: #1b2850; /* グラデーション開始色 */
  --bg-gradient-end: #050303;   /* グラデーション終了色 */

  /* テキストカラー */
  --text-primary: #ffffff;     /* プライマリテキスト（白） */
  --text-secondary: #cccccc;   /* セカンダリテキスト（薄い灰色） */

  /* ボーダー */
  --border-green: var(--brand-primary);
  --border-blue: var(--brand-secondary);
  --border-white: #ffffff;
}

/* リセット & ベーススタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'A-OTF Midashi Go MB1 Std', 'Hiragino Kaku Gothic Pro', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  background: linear-gradient(to bottom, var(--bg-gradient-start), var(--bg-gradient-end));
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  background-attachment: fixed;
}

/* レスポンシブ表示切り替え - スマホ版 */
.sp {
  display: block;
}

.pc {
  display: none;
}

/* メインカードコンテナ */
.sigma-card {
  min-height: 100vh;
  padding: 48px 35px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 48px;
}

.card-container {
  position: relative;
  width: 100%;
  max-width: 332px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* カードタイトル部分（ロゴ+会社名+連絡先） */
.card-title {
  position: relative;
  padding: 48px 34px 66px 34px;
  display: block;
}


/* タイトル実内容ラッパー */
.title-content {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* タイトル画像 */
.title-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

/* SP版の画像表示制御 */
.title-image.sp {
  display: block;
}

.title-image.pc {
  display: none;
}









/* 連絡先セクション - スマホ版 */
.contact-section.sp {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  text-align: center;
  position: relative;
  z-index: 10;
  margin-bottom: 16px;
  width: 100%;
}

.contact-section.sp .address {
  display: flex;
  flex-direction: column;
  gap: 0px;
  margin-bottom: 4px;
}

.contact-section.sp .postal {
  font-weight: normal;
  font-size: 16px;
}

.contact-section.sp .address-text {
  font-weight: normal;
  font-size: 16px;
}

.contact-section.sp .tel {
  display: flex;
  justify-content: center;
  gap: 6px;
  align-items: baseline;
  margin-bottom: 4px;
}

.contact-section.sp .tel-label {
  font-size: 16px;
  font-weight: normal;
}



.contact-section.sp .license {
  font-size: 16px;
  font-weight: normal;
}

/* サービスセクション */
.service-section {
  position: relative;
  padding: 12px 0;
  z-index: 1;
  margin: 24px 0;
  width: 100%;
  max-width: 271px;
  margin-left: auto;
  margin-right: auto;
}

.service-section::before,
.service-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--text-primary) 20%, var(--text-primary) 80%, transparent 100%);
}

.service-section::before {
  top: 0;
}

.service-section::after {
  bottom: 0;
}

.service-title {
  font-size: 16px;
  font-weight: normal;
  color: var(--text-primary);
  text-align: center;
  margin: 0;
}

/* 電話番号画像 */
.tel-image {
  height: auto;
  max-width: 180px;
  display: inline-block;
  vertical-align: middle;
}

/* 電話番号画像のレスポンシブ表示制御 */
.tel-image.sp {
  display: inline-block;
}

.tel-image.pc {
  display: none;
}

/* デスクトップ向けレスポンシブ (768px以上) - MacBook Air版デザイン */
@media (min-width: 768px) {
  /* レスポンシブ表示切り替え - PC版 */
  .sp {
    display: none !important;
  }

  .pc {
    display: block;
  }




  .sigma-card {
    padding: 60px auto 60px auto;
  }

      .card-container {
    max-width: 728px;
    width: 100%;


    align-items: center;
    /* gap: 0; */
    position: relative;
  }

  .card-title {
    padding: 48px 60px 20px 60px;
    position: relative;
    width: 100%;

    display: block;
  }

  /* タイトル画像（PC版） */
  .title-image.pc {
    display: block;
  }







  /* サービスセクション（青枠下中央配置） */
  .service-section {
    display: block !important;

    max-width: 272px;
    margin: 20px 0 20px;
    padding: 20px 0 20px;
  }

  .service-section::before,
  .service-section::after {
    left: 0;
    right: 0;
  }

  .service-title {
    font-size: 20px;
  }



  /* PC版電話番号画像の表示制御 */
  .tel-image.sp {
      display: none;
      max-width: 180px;
    }
  .tel-image.pc {
      display: inline-block;
      max-width: 160px;
    }
}

/* ===== Policy page ===== */
.policy-page {
  padding: 48px 24px;
}

.policy-container {
  max-width: 728px;
  margin: 0 auto;
  color: var(--text-primary);
}

.policy-title {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 24px;
}

.policy-section {
  margin-bottom: 20px;
  line-height: 1.9;
}

.policy-section h2 {
  font-size: 18px;
  margin: 12px 0 8px;
}

.policy-section ul {
  padding-left: 20px;
}

.policy-section address {
  font-style: normal;
.policy-note {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .policy-page { padding: 80px 60px; }
  .policy-title { font-size: 28px; }
  .policy-section h2 { font-size: 20px; }
}