@charset "utf-8";
/*
Theme Name: My Simple Custom Theme
Author: Your Name
Description: 管理画面からすべてを操る、超シンプルな自作テーマ。
Version: 1.0
*/


/* インポートのみ残す */
@import "./css/reset.css";
@import "./css/font.css";
@import "./css/drawer.css";
@import "./css/layout.css";
@import "./css/top.css";
@import "./css/parts.css";
@import "./css/page.css";
@import "./css/cf7.css";
@import "./css/custom-admin-css.css";
@import "./css/slick.css";
@import "./css/slick-theme.css";
@import "./css/lightbox.css";

/* =========================================================
   Fixed Page Common Template (Corporate Strong Accent)
   使い方：
   1) 固定ページ本文を <div class="sec-page sec-page--{slug}"> で包む
   2) sec-hero / sec-section / sec-card 等のクラスを共通で使う
   3) ページ別の色だけ変えたいなら --sec-accent を上書き（下に例あり）
========================================================= */

/* ===== Root / Wrapper ===== */

.sec-page{
  /* 共通トークン */
  --sec-accent: var(--main-color, #0b4a86);
  --sec-bg: #0c1424;
  --sec-bg2:#070d18;
  --sec-card:#ffffff;
  --sec-border:rgba(0,0,0,.08);

  color:#111;
}

/* WordPressテーマ側のデフォルト余白が邪魔なら効かせる */
.sec-page :where(h1,h2,h3,p,ul,ol,li){ margin-top:0; }
.sec-page :where(ul,ol){ padding-left:0; }

/* ===== HERO ===== */

.sec-page .sec-hero{
  padding:80px 0 60px;
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(11,74,134,.55), transparent 60%),
    linear-gradient(180deg,var(--sec-bg),var(--sec-bg2));
  color:#fff;
  position:relative;
  overflow:hidden;
}

.sec-page .sec-hero__inner{
  width:min(1000px,calc(100% - 40px));
  margin:0 auto;
}

.sec-page .sec-hero__eyebrow{
  font-size:12px;
  font-weight:900;
  letter-spacing:.2em;
  margin:0 0 10px;
  color:rgba(255,255,255,.75);
}

.sec-page .sec-hero__title{
  font-size:36px;
  font-weight:900;
  margin:0 0 10px;
  line-height:1.15;
}

.sec-page .sec-hero__subtitle{
  font-size:17px;
  font-weight:800;
  margin:0 0 16px;
  color:rgba(255,255,255,.92);
}

.sec-page .sec-hero__lead{
  font-size:15px;
  line-height:1.9;
  color:rgba(255,255,255,.85);
  max-width:820px;
}

/* バッジ（HTMLにあるのにCSS無かったから追加） */
.sec-page .sec-hero__badges{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.sec-page .sec-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  color:#fff;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:saturate(140%) blur(6px);
}

/* ===== SECTION ===== */

.sec-page .sec-section{
  padding:60px 0 80px;
  background:#f5f7fa;
}

.sec-page .sec-inner{
  width:min(1000px,calc(100% - 40px));
  margin:0 auto;
}

.sec-page .sec-head{
  margin-bottom:24px;
}

.sec-page .sec-head__title{
  font-size:22px;
  font-weight:900;
  margin:0;
  position:relative;
  display:inline-block;
}

.sec-page .sec-head__title::after{
  content:"";
  display:block;
  width:40px;
  height:4px;
  margin-top:8px;
  background:var(--sec-accent);
  border-radius:2px;
}

.sec-page .sec-head__desc{
  font-size:14px;
  margin:8px 0 0;
  color:#333;
}

/* ===== GRID ===== */

.sec-page .sec-grid{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:22px;
}

/* ===== CARD ===== */

.sec-page .sec-card{
  grid-column:span 6;
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--sec-border);
  box-shadow:0 12px 28px rgba(0,0,0,.06);
  transition:.2s ease;
}

.sec-page .sec-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.sec-page .sec-card__media{
  aspect-ratio:16/9;
  position:relative;
  overflow:hidden;
}

.sec-page .sec-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .4s ease;
}

.sec-page .sec-card:hover .sec-card__media img{
  transform:scale(1.05);
}

.sec-page .sec-card__body{
  padding:20px;
}

.sec-page .sec-card__title{
  font-size:17px;
  font-weight:900;
  margin:0 0 8px;
  color:var(--sec-accent);
}

.sec-page .sec-card__text{
  font-size:14px;
  line-height:1.8;
  color:#333;
  margin:0 0 12px;
}

.sec-page .sec-card__points{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.sec-page .sec-card__points li{
  font-size:11px;
  font-weight:800;
  padding:6px 10px;
  border-radius:6px;
  background:var(--sec-accent);
  color:#fff;
}

/* ===== Responsive ===== */

@media (max-width:900px){
  .sec-page .sec-card{ grid-column:span 12; }
}

/* =========================================================
   ページ別アクセント色の例（必要なら使う）
   HTMLに sec-page--maintenance など付ければ切替可
========================================================= */

/* 例：メンテナンス */
.sec-page.sec-page--maintenance{
  --sec-accent:#0b7a5a;
}

/* 例：清掃 */
.sec-page.sec-page--cleaning{
  --sec-accent:#a26b00;
}

/* 例：設備管理 */
.sec-page.sec-page--facility{
  --sec-accent:#6a4bbd;
}

/* 例：人材派遣など */
.sec-page.sec-page--staffing{
  --sec-accent:#b12a4a;
}
