@charset "utf-8";
/*
Theme Name: Tykky Corporate Theme
Author: 株式会社tykky
Description: 株式会社tykky コーポレートサイト用カスタムテーマ
Version: 1.2.2
Text Domain: tykky
Requires at least: 6.0
Requires PHP: 7.4
*/

/* =========================================================
   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--corporate{
  --sec-accent:#b12a4a;
}

/* ===== Tykky fixed page parts ===== */
.sec-page .sec-lead{
  font-size:15px;
  line-height:1.9;
  color:#333;
  margin:0 0 22px;
}
.sec-page .sec-table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}
.sec-page .sec-table th,
.sec-page .sec-table td{
  border-bottom:1px solid rgba(0,0,0,.08);
  padding:16px 18px;
  text-align:left;
  vertical-align:top;
  font-size:14px;
  line-height:1.8;
}
.sec-page .sec-table th{
  width:180px;
  background:rgba(0,0,0,.035);
  font-weight:900;
  color:#222;
}
.sec-page .sec-table tr:last-child th,
.sec-page .sec-table tr:last-child td{
  border-bottom:none;
}
.sec-page .sec-map{
  margin-top:24px;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
  aspect-ratio:16/7;
}
.sec-page .sec-map iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}
.sec-page .sec-cta-box{
  margin-top:28px;
  padding:24px;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}
.sec-page .sec-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 18px;
  border-radius:999px;
  background:var(--sec-accent);
  color:#fff;
  text-decoration:none;
  font-weight:900;
}
.sec-page .sec-btn:hover{
  opacity:.86;
  color:#fff;
  text-decoration:none;
}
@media (max-width:700px){
  .sec-page .sec-table,
  .sec-page .sec-table tbody,
  .sec-page .sec-table tr,
  .sec-page .sec-table th,
  .sec-page .sec-table td{
    display:block;
    width:100%;
  }
  .sec-page .sec-table th{
    padding-bottom:8px;
  }
  .sec-page .sec-table td{
    padding-top:8px;
  }
  .sec-page .sec-map{
    aspect-ratio:4/3;
  }
}
