/*
Theme Name: 1BEST 制作部
Author: Yuka
Description: 制作依頼管理用テーマ
Version: 1.0
*/


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

.site-header {
  position: relative;

  padding: 24px;
  padding-left: 800px;   /* ロゴ幅ぶん */
  padding-top: 48px;     /* ロゴ上回避 */

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}


/* ===== Logo ===== */

.logo-box {
  position: absolute;
  top: 0;
  left: 0;

  width: 420px;
  background: #fff200;
  border-radius: 0 0 32px 0;
  padding: 32px;

  /* 応急処置。後で消してOK */
  margin: -10px;
}

.site-logo {
  width: 90%;
  height: auto;
  display: block;
}


/* ===== Main Navigation ===== */

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;

  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.main-nav a {
  text-decoration: none;
  color: #111;
  position: relative;
}

.main-nav span {
  color: #aaa;
  font-weight: 400;
}


/* ナビ下線（3つだけ） */
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #000;
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}


/* ===== Request Button ===== */

.request-btn {
  display: inline-block;
  padding: 14px 50px;
  border-radius: 999px;
  margin-top: -20px;
  background: #000;
  color: #fff;

  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;

  box-shadow: 0 6px 0 rgba(0,0,0,0.15);
  transition: all 0.25s ease;
}

.request-btn::after {
  display: none;
}

.request-btn:hover {
  background: #fff200;
  color: #000;

  box-shadow: 0 2px 0 rgba(0,0,0,0.2);
  transform: translateY(2px);
}

.header-right {
  position: absolute;
  top: 48px;
  right: 48px;

  display: flex;
  flex-direction: column;
  gap: 12px;
}


.nav-row {
  display: flex;
  align-items: center;   /* ← これが肝 */
  gap: 32px;
}


.site-desc {
  font-size: 15px;
  font-weight: 800;
  color: #333;

  letter-spacing: 0.04em;
  line-height: 1.6;

  margin-bottom: -15px;          /* ← 余計なズレ防止 */
}







/* ===== request ===== */


.page-requests {
  padding-top: 260px; /* ← ヘッダー実寸に合わせて調整 */
}


/* =========================
   Requests Page Layout
========================= */

.requests-page {
  padding: 80px 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.requests-title {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: 0.08em;
}


/* =========================
   Table Wrapper
========================= */

.requests-table-wrap {
  background: #fff;
  border-radius: 16px;
  overflow-x: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}


/* =========================
   Request Table
========================= */

.request-table {
  width: 60%;
  border-collapse: collapse;
  min-width: 1100px;
  margin: 0 auto;
  font-size: 14px;
  
}


/* ---- Header ---- */

.request-table thead th {
  background: #0aa0f0;
  color: #fff;
  padding: 16px 20px;
  text-align: left;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0.04em;
}


/* ---- Body ---- */

.request-table tbody td {
  padding: 14px 14px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
  white-space: nowrap;
}

.request-table tbody tr:last-child td {
  border-bottom: none;
}

.request-table tbody tr:hover {
  background: #f6fbff;
}


/* ---- Column Tuning ---- */

/* 依頼No */
.request-table td:first-child {
  color: #777;
  font-size: 13px;
}

/* タイトル */
.request-table td:nth-child(2) {
  font-weight: 800;
  color: #111;
}

/* 日付 */
.request-table td:nth-child(6),
.request-table td:nth-child(7) {
  font-size: 13px;
  color: #555;
}


/* =========================
   Status Badge
========================= */

.status {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* ステータス別 */
.status-waiting {
  background: #fff3cd;
  color: #8a6d1d;
}

.status-progress {
  background: #dbeeff;
  color: #0b63b6;
}

.status-review {
  background: #e6dcff;
  color: #5a3bbd;
}

.status-done {
  background: #d8f5e2;
  color: #1f7a44;
}


/* =========================
   Responsive（最低限）
========================= */

@media (max-width: 1024px) {
  .requests-page {
    padding: 60px 24px;
  }
}








/* =========================
  single-request（詳細ページ）
========================= */


.request-detail{
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 80px;
  padding-top: 260px; /* ← ヘッダー実寸に合わせて調整 */
}

/* タイトル */
.request-detail h1{
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin: 0 0 18px;
  line-height: 1.2;
}

/* メタ情報（依頼者/種別/納期など） */
.request-meta,
.request-detail > p{
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 8px;
  color: #222;
}

.request-detail strong{
  font-weight: 900;
  color: #000;
}

/* 区切り線 */
.request-detail hr{
  border: 0;
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 22px 0 28px;
}

/* セクション見出し */
.request-detail h2{
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

/* 依頼内容ボックス */
.request-content{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 18px 18px;
  font-size: 15px;
  line-height: 1.9;
  color: #111;
  box-shadow: 0 10px 26px rgba(0,0,0,0.05);
}

/* 依頼内容の改行が崩れないように（ACFテキストエリア用） */
.request-content p{
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

/* 画像セクション */
.request-images{
  margin-top: 26px;
}

/* 画像を並べる（ギャラリー） */
.request-images{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.05);
}

.request-images img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* 画像グリッド：自動で2〜3列に */
.request-images .image-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

/* スマホ対応 */
@media (max-width: 900px){
  .request-detail{
    padding: 28px 16px 60px;
  }
  .request-detail h1{
    font-size: 26px;
  }
  .request-images .image-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px){
  .request-images .image-grid{
    grid-template-columns: 1fr;
  }
}















.dashboard {
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.dashboard-hero {
  background: #fff200;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
}

.dashboard-hero h1 {
  font-size: 42px;
  margin: 0 0 10px;
}

.dashboard-hero p {
  font-size: 16px;
  font-weight: 600;
}

.dashboard-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.dash-btn {
  display: inline-block;
  padding: 16px 24px;
  border-radius: 999px;
  background: #eee;
  color: #000;
  font-weight: 700;
  text-decoration: none;
}

.dash-btn.primary {
  background: #000;
  color: #fff;
}







