/*
Theme Name:   PSW Theme
Theme URI:    https://p-s-wellbe.com/
Description:  パーソネルソフトウェルビ株式会社 公式テーマ v4
Author:       Personnel Soft Wellbe Co., Ltd.
Author URI:   https://p-s-wellbe.com/
Version:      4.2.1
License:      All Rights Reserved
Text Domain:  psw-theme
*/

/* ============================================================
   ベースリセット・共通スタイル
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1e1e1e;
  background: #f7f4ef;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid #c9b07a;
  outline-offset: 3px;
}

/* WordPress アイキャッチ画像 */
.wp-post-image {
  max-width: 100%;
  height: auto;
}

/* ============================================================
   サイトヘッダー（テーマ共通）
   ※ Lightning等のPageBuilderテーマの場合は上書きされます
============================================================ */
.site-header {
  background: #0e1628;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 9000;
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
}

.site-header .site-title {
  font-family: 'Shippori Mincho', serif;
  font-size: .9rem;
  font-weight: 700;
  color: #c9b07a;
  letter-spacing: .06em;
  line-height: 1.4;
}

.site-header .site-title a { color: inherit; }

/* ナビゲーション */
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 0;
}
.main-navigation a {
  display: block;
  padding: 0 18px;
  height: 64px;
  line-height: 64px;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: #fff;
  background: rgba(255,255,255,.07);
}

@media (max-width: 768px) {
  .site-header { padding: 0 20px; }
  .main-navigation { display: none; } /* モバイルメニューは別途実装 */
}

/* ============================================================
   サイトフッター（テーマ共通）
============================================================ */
.site-footer {
  background: #0d1520;
  padding: 64px 40px 32px;
  text-align: center;
  color: rgba(255,255,255,.65);
}

.site-footer .footer-company {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.1rem;
  color: #c9b07a;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 10px;
}

.site-footer .footer-info {
  font-size: .85rem;
  line-height: 2.2;
  margin-bottom: 20px;
}

.site-footer .footer-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9b07a;
  font-weight: 700;
  font-size: 1.05rem;
  border: 1px solid rgba(201,176,122,.4);
  padding: 10px 28px;
  border-radius: 6px;
  margin-bottom: 28px;
  transition: background .2s;
}
.site-footer .footer-tel:hover { background: rgba(201,176,122,.1); }

.site-footer .footer-copy {
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  margin-top: 24px;
}

/* ============================================================
   コンテンツエリア（一般ページ）
============================================================ */
.site-content {
  padding: 60px 40px;
  max-width: 1140px;
  margin: 0 auto;
}
@media (max-width: 768px) { .site-content { padding: 40px 20px; } }

/* WordPress Gutenberg ブロック調整 */
.entry-content > * + * { margin-top: 1.5em; }
.entry-content h2 { font-family: 'Shippori Mincho', serif; font-size: 1.5rem; font-weight: 700; }
.entry-content h3 { font-size: 1.15rem; font-weight: 700; }
.entry-content p  { line-height: 1.9; }
.entry-content ul,
.entry-content ol { padding-left: 1.5em; }
