/* Plus Canna コーポレートサイト 共通スタイル
   全ページで読み込む。ページ固有のスタイルは各ページのHTML内に<style>で追加する。 */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .display {
  font-family: var(--font-heading);
  font-weight: 700;
  text-wrap: balance;
  margin: 0;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  color: var(--blue-deep);
  font-weight: 700;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
section { position: relative; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem clamp(1.25rem, 4vw, 3rem); }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand-name { font-size: 1rem; font-weight: 700; color: var(--text); }
.nav-links { display: flex; gap: clamp(1rem, 2.5vw, 2.2rem); list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.nav-links a { text-decoration: none; color: var(--text-muted); border-bottom: 2px solid transparent; padding-bottom: 3px; transition: color .2s, border-color .2s; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { color: var(--blue-deep); border-color: var(--gold); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; }
.nav-cta {
  background: var(--red); color: #fff; text-decoration: none;
  padding: 0.55rem 1.1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.nav-cta:hover { background: #AA0E0E; transform: translateY(-1px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.8rem; border-radius: 999px;
  font-size: 0.95rem; font-weight: 700; text-decoration: none;
  border: 2px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue-deep); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); }
.btn-ghost { border-color: var(--gold); color: var(--gold-deep); background: #fff; }
.btn-ghost:hover { background: #FFF2CC; }

/* ---------- Page header banner (下層ページ共通の簡易ヒーロー) ---------- */
.page-header {
  padding: clamp(2.5rem, 7vh, 4rem) 0 clamp(2rem, 5vh, 3rem);
  background: var(--cream);
  background-image: radial-gradient(rgba(27,30,150,0.14) 1.6px, transparent 1.6px);
  background-size: 26px 26px;
}
.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 0.5rem; }
.breadcrumb { font-size: 0.82rem; color: var(--text-muted); }
.breadcrumb a { color: var(--blue-deep); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border-radius: 24px; padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: 0 18px 40px -28px rgba(43,46,58,0.35);
}

/* ---------- Business cards (トップ・事業一覧で共用) ---------- */
.biz-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.2rem, 3vw, 1.8rem); }
.biz-card {
  background: var(--surface); border-radius: 28px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 18px 40px -28px rgba(43,46,58,0.35);
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.biz-card.in-view { opacity: 1; transform: translateY(0); }
.biz-card .media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--cream); }
.biz-card .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.biz-card .body { padding: clamp(1.6rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: 1rem; }
.biz-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.biz-ec .biz-icon { background: #E5E5FA; box-shadow: 0 8px 18px -10px rgba(27,30,150,0.55); }
.biz-mamoru .biz-icon { background: #FFF2CC; box-shadow: 0 8px 18px -10px rgba(255,194,13,0.55); }
.biz-card .tag { font-size: 0.74rem; letter-spacing: 0.16em; font-weight: 700; }
.biz-ec .tag { color: var(--blue-deep); }
.biz-mamoru .tag { color: var(--gold-deep); }
.biz-card h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
.biz-card p { margin: 0; font-size: 0.96rem; color: var(--text-muted); }
.biz-card .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.biz-card .tags span { font-size: 0.76rem; padding: 0.35rem 0.8rem; border-radius: 999px; font-weight: 700; }
.biz-ec .tags span { background: #E5E5FA; color: var(--blue-ink); }
.biz-mamoru .tags span { background: #FFF2CC; color: var(--gold-deep); }
.biz-card .more { align-self: flex-start; margin-top: 0.2rem; font-size: 0.9rem; font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.biz-ec .more { color: var(--blue-deep); }
.biz-mamoru .more { color: var(--gold-deep); }
@media (max-width: 760px) { .biz-list { grid-template-columns: 1fr; } }

/* ---------- Content sections (下層ページ共通) ---------- */
.section { padding: clamp(3rem, 8vh, 5rem) 0; }
.section-alt { background: var(--cream); }
.section-head { max-width: 42em; }
.section-head h2 { margin-top: 0.6rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.prose { max-width: 42em; font-size: 1.02rem; line-height: 2; color: var(--text); }
.prose + .prose { margin-top: 1.1rem; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1rem; margin-top: 1.8rem; }
.feature-item { background: var(--surface); border-radius: 20px; padding: 1.5rem 1.6rem; box-shadow: 0 14px 30px -24px rgba(43,46,58,0.35); }
.feature-item h4 { font-size: 1rem; margin: 0 0 0.5rem; }
.feature-item p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

.price-strip { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.price-chip { padding: 0.6rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: 0.9rem; }
.price-chip.blue { background: #E5E5FA; color: var(--blue-ink); }
.price-chip.gold { background: #FFF2CC; color: var(--gold-deep); }
.note-block {
  margin-top: 1.6rem; padding: 1rem 1.3rem; border-radius: 16px;
  background: var(--cream); font-size: 0.88rem; color: var(--text-muted); line-height: 1.85;
}

/* ---------- ステップ（順序が意味を持つ流れの説明） ---------- */
.steps { display: grid; gap: 1.2rem; margin-top: 1.8rem; }
.step { display: flex; gap: 1.1rem; align-items: flex-start; }
.step-num {
  flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 1rem;
}
.step-num.blue { background: var(--blue-deep); }
.step-num.gold { background: var(--gold-deep); }
.step-body h4 { margin: 0.3rem 0 0.35rem; font-size: 1.02rem; }
.step-body p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 1rem; margin-top: 1.8rem; }
.faq-item { background: var(--surface); border-radius: 18px; padding: 1.3rem 1.5rem; box-shadow: 0 14px 30px -24px rgba(43,46,58,0.35); }
.faq-item .q { font-weight: 700; display: flex; gap: 0.6rem; margin: 0; }
.faq-item .q .mark { color: var(--blue-deep); font-weight: 800; }
.faq-item .a { margin: 0.6rem 0 0; padding-left: 1.5rem; font-size: 0.92rem; color: var(--text-muted); position: relative; }
.faq-item .a .mark { position: absolute; left: 0; color: var(--gold-deep); font-weight: 800; }

/* ---------- 注意事項リスト ---------- */
.notice-list { margin: 1.4rem 0 0; padding-left: 1.3rem; font-size: 0.92rem; color: var(--text-muted); line-height: 1.9; }
.notice-list li { margin-bottom: 0.3rem; }

/* ---------- フォーム ---------- */
.form-grid { display: grid; gap: 1.4rem; max-width: 640px; margin-top: 1.8rem; }
.field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 0.5rem; }
.field .required { color: var(--red); font-size: 0.76rem; margin-left: 0.4rem; font-weight: 700; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%; padding: 0.8rem 1rem; border-radius: 14px;
  border: 1.5px solid var(--rule); background: var(--surface);
  font-family: inherit; font-size: 0.96rem; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,30,150,0.15);
}
.field textarea { resize: vertical; min-height: 140px; }
.honeypot { position: absolute; left: -9999px; top: -9999px; }
.form-note { font-size: 0.84rem; color: var(--text-muted); }
.error-list {
  background: #FFF1EE; border: 1px solid rgba(233,87,63,0.4); border-radius: 16px;
  padding: 1rem 1.3rem; margin-bottom: 1.4rem; color: var(--red); font-size: 0.9rem;
}
.error-list ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }

/* ---------- 2カラムレイアウト（文章＋カード等） ---------- */
.two-col { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Facts card（会社概要データを表形式で見せる、トップ・会社概要ページで共用） ---------- */
.facts-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.75rem 1.2rem; font-size: 0.9rem; }
.facts-card dt { color: var(--text-muted); font-weight: 700; white-space: nowrap; }
.facts-card dd { margin: 0; font-variant-numeric: tabular-nums; }

/* ---------- Empty state (お知らせ準備中など) ---------- */
.empty-state {
  border: 2px dashed var(--rule); border-radius: 20px; padding: clamp(2rem, 5vw, 3rem);
  text-align: center; color: var(--text-muted); font-size: 0.94rem;
}

/* ---------- Footer ---------- */
footer { background: var(--blue-ink); color: rgba(255,255,255,0.88); padding: clamp(2.6rem, 6vw, 3.6rem) 0 2rem; }
.foot-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; }
.foot-brand img { height: 26px; }
.foot-links { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: 0.82rem; }
.foot-links a { color: rgba(255,255,255,0.75); text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
footer small { display: block; margin-top: 1.6rem; font-size: 0.76rem; color: rgba(255,255,255,0.5); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
