/*
 Theme Name:   GeneratePress Child
 Template:     generatepress
 Description:  ppppcc.com 用 GeneratePress 子テーマ
 Version:      1.0.0
 Text Domain:  generatepress-child
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  background-color: #c5950f;
  color: #000000;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ===== GENERATEPRESS 上書き：ヘッダー・フッター・サイドバー非表示 ===== */
#site-header,
.site-header,
.header-widget,
#site-navigation,
.nav-primary,
#site-footer,
.site-footer,
#sidebar-primary,
.sidebar,
.widget-area {
  display: none !important;
}

/* コンテンツエリアをフル幅に */
#page,
.site,
.site-content,
#content,
.content-area,
.entry-content,
.site-main {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  float: none !important;
}

.grid-container {
  max-width: none !important;
  padding: 0 !important;
}

/* ===== FRONT PAGE WRAPPER ===== */
.fp-wrapper {
  min-height: 100vh;
  background-color: #c5950f;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px 64px;
  gap: 0;
}

/* ===== SECTION 共通 ===== */
.fp-section {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== 1. WELCOME セクション ===== */
.fp-welcome {
  margin-bottom: 40px;
  text-align: center;
}

.fp-welcome .welcome-logo {
  width: 200px;
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

.fp-welcome .catchcopy {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

/* ===== 2. papi-ca ロゴ ===== */
.fp-logo {
  margin-bottom: 44px;
}

.fp-logo .papi-logo {
  width: 260px;
  max-width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ===== 3. ラジオリンクボタン ===== */
.fp-radio {
  margin-bottom: 44px;
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fp-radio .radio-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  padding: 18px 28px;
  background-color: #000;
  color: #c5950f;
  text-decoration: none;
  border-radius: 8px;
  transition: opacity 0.2s ease, transform 0.15s ease;
  gap: 6px;
}

.fp-radio .radio-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.fp-radio .radio-main {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.fp-radio .radio-sub {
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.05em;
}

/* ===== 4. SNS アイコン ===== */
.fp-sns {
  margin-bottom: 52px;
  flex-direction: row;
  justify-content: center;
  gap: 28px;
}

.fp-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.fp-sns a:hover {
  opacity: 0.65;
  transform: translateY(-2px);
}

.fp-sns svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* ===== 5. 会社情報 ===== */
.fp-company {
  margin-bottom: 32px;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  max-width: 560px;
}

.fp-company .company-info {
  font-size: 0.82rem;
  line-height: 2;
  color: #000;
}

.fp-company .company-info dt {
  font-weight: 700;
  display: inline;
}

.fp-company .company-block {
  margin-bottom: 6px;
}

.fp-company .company-label {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 1px;
}

.fp-company .company-value {
  font-size: 0.82rem;
  display: block;
  padding-left: 1em;
}

/* ===== 6. メールアドレス ===== */
.fp-email {
  margin-bottom: 0;
}

.fp-email a {
  font-size: 0.9rem;
  color: #000;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.fp-email a:hover {
  border-color: #000;
}

/* ===== DIVIDER ===== */
.fp-divider {
  width: 100%;
  max-width: 400px;
  height: 1px;
  background-color: rgba(0,0,0,0.2);
  margin: 0 auto 44px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .fp-wrapper {
    padding: 36px 20px 56px;
  }

  .fp-welcome .welcome-logo {
    width: 160px;
  }

  .fp-welcome .catchcopy {
    font-size: 0.9rem;
  }

  .fp-logo .papi-logo {
    width: 200px;
  }

  .fp-radio .radio-main {
    font-size: 1rem;
  }

  .fp-sns {
    gap: 24px;
  }

  .fp-sns svg {
    width: 28px;
    height: 28px;
  }
}
