
/*
Theme Name: Nextrise Minimum (Complete)
Theme URI: https://example.com/nextrise-min
Author: Nextrise
Author URI: https://nextrise.co.jp
Description: 企業サイト最小構成（オプトアウト・ご相談フォーム同梱）。スタイリッシュなフロント＋背景線画。
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: nextrise-min
License: GNU GPL v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--brand:#F36F21;--text:#222;--bg:#fff;--bg-soft:#fafafa;--hero-bg:none}
*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans JP",sans-serif;color:var(--text);background:var(--bg);line-height:1.7}
a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}
.container{max-width:1100px;margin:0 auto;padding:0 20px}
.site-header{border-bottom:1px solid #eee;background:#fff;position:sticky;top:0;z-index:10}
.brand{display:flex;align-items:center;gap:.5rem;padding:14px 0}
.brand__logo{width:36px;height:36px;border-radius:8px;background:var(--brand);display:inline-block}
.brand__name{font-weight:700}
.nav{display:flex;gap:1rem;margin-left:auto}
.nav a{padding:10px 0;color:#333}
.button{display:inline-block;background:var(--brand);color:#fff;border-radius:6px;padding:12px 18px;font-weight:700}
.button--ghost{background:#fff; color:var(--brand); border:1px solid #f0d0b8}
.section{padding:48px 0}
.section--soft{background:var(--bg-soft); border-top:1px solid #eee; border-bottom:1px solid #eee}
.grid{display:grid; gap:22px}
.grid-3{grid-template-columns:repeat(auto-fit, minmax(250px,1fr))}
.card{border:1px solid #eee;border-radius:10px;padding:18px;background:#fff}
.card--flat{border-color:#f2f2f2}
.site-footer{padding:32px 0; border-top:1px solid #eee; background:#fff; color:#555}

/* Front page */
.hero--clean{ position:relative; overflow:hidden; padding:60px 0 30px; }
.hero__inner{max-width:900px}
.hero__title{margin:0 0 .3em; font-size:clamp(30px, 4.6vw, 48px); letter-spacing:.2px}
.hero__sub{margin:0 0 18px; color:#555}
.hero__actions{display:flex; gap:12px; flex-wrap:wrap}
.section--cta{padding:36px 0 56px}
.cta--row{display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; border:1px solid #eee; background:#fff; border-radius:14px; padding:18px}

/* Illustration background (absolute URL set via PHP var) */
.hero--clean::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);  /* ← functions.phpで絶対URLを注入 */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto;       /* 元画像サイズのまま表示 */
  background-attachment: fixed; /* スクロールしても固定 */
  opacity: 0.12;               /* 薄く表示したい場合 */
  z-index: -1;                 /* コンテンツの背面に配置 */
}

/* Forms, tables */
.form-row{margin-bottom:16px}
label{display:block;margin-bottom:6px;font-weight:600}
input[type=text], input[type=email], textarea{
  width:100%; padding:12px; border:1px solid #ddd; border-radius:8px; font:inherit;
}
textarea{min-height:140px}
input[type=submit]{border:0; cursor:pointer}
.notice{padding:14px;border:1px solid #f3d5bf;background:#fff8f3;border-radius:8px}
table{border-collapse:collapse;width:100%}
th,td{border:1px solid #eee;padding:8px 10px;text-align:left}


