/* =========================================================
   株式会社オキナワンパワー コーポレートサイト
   コーポレートカラー: ブルー / トンマナ: 親しみ・ナチュラル
   モバイル最優先・静的HTML/CSS（Xサーバー設置用）
   ========================================================= */

:root {
  --navy:       #0a3d62;   /* 濃いブルー（見出し・フッター） */
  --blue:       #1e6fb8;   /* メインブルー */
  --blue-light: #4a9fd8;   /* アクセント */
  --sky:        #eaf4fb;   /* 淡い背景ブルー */
  --sky-2:      #d8ecf8;
  --ink:        #2a3942;   /* 本文テキスト */
  --ink-soft:   #5c6b73;   /* 補足テキスト */
  --line:       #d7e3ec;   /* 罫線 */
  --white:      #ffffff;
  --gold:       #e0a93a;   /* ごく一部のアクセント（地球の温かみ） */
  --maxw: 1040px;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(10, 61, 98, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans",
               "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--ink);
  line-height: 1.8;
  font-size: 16px;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  word-break: normal;
  overflow-wrap: anywhere;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .logo-mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--blue-light), var(--blue) 65%, var(--navy));
  flex: 0 0 auto;
  position: relative;
}
.brand .logo-mark::after {
  /* 地球の軌道を思わせる細いリング（人/女性/地球モチーフの仮表現） */
  content: ""; position: absolute; inset: 6px;
  border: 1.5px solid rgba(255,255,255,.7);
  border-radius: 50%;
  border-left-color: transparent; border-bottom-color: transparent;
  transform: rotate(35deg);
}
.brand .brand-name { font-weight: 700; color: var(--navy); font-size: 17px; letter-spacing: .02em; }
.brand .brand-name small { display:block; font-weight: 500; font-size: 11px; color: var(--ink-soft); letter-spacing:.08em; }

.nav { display: flex; gap: 20px; }
.nav a { color: var(--ink); font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--blue); text-decoration: none; }

.nav-toggle { display: none; }
#nav-check { display: none; }

@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    transform: translateY(-150%); transition: transform .25s ease;
    box-shadow: var(--shadow);
  }
  .nav a { padding: 14px 24px; border-top: 1px solid var(--line); }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: 0; cursor: pointer; padding: 8px;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }
  #nav-check:checked ~ .nav { transform: translateY(0); }
}

/* ---------- ヒーロー ---------- */
.hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(74,159,216,.35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--blue) 55%, var(--blue-light) 100%);
  color: var(--white);
  padding: 84px 0 92px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 50%; bottom: -160px; transform: translateX(-50%);
  width: 520px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%);
}
.hero h1 {
  font-size: clamp(26px, 6vw, 44px);
  line-height: 1.4; margin: 0 0 18px; font-weight: 800; letter-spacing: .02em;
}
.hero p.lead { font-size: clamp(15px, 3.6vw, 19px); margin: 0 auto; max-width: 640px; opacity: .96; }
.hero .sub { margin-top: 8px; font-size: 13px; opacity: .8; letter-spacing: .1em; }

.btn {
  display: inline-block; margin-top: 30px;
  background: var(--white); color: var(--navy);
  font-weight: 700; padding: 13px 30px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.7); box-shadow:none; }

/* ---------- セクション共通 ---------- */
section { padding: 60px 0; }
section.alt { background: var(--sky); }
.section-head { text-align: center; margin-bottom: 38px; }
.section-head .eyebrow {
  display: inline-block; color: var(--blue); font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(21px, 4.6vw, 30px); color: var(--navy); margin: 0; font-weight: 800; }
.section-head p { color: var(--ink-soft); margin: 12px auto 0; max-width: 620px; }

.lead-text { max-width: 720px; margin: 0 auto; text-align: center; font-size: 17px; }

/* ---------- 価値観カード ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; box-shadow: var(--shadow); text-align: center;
}
.card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--sky-2); color: var(--blue); font-weight: 800; font-size: 18px; margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; color: var(--navy); font-size: 17px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 14px; }

@media (max-width: 720px) {
  .cards { grid-template-columns: 1fr; gap: 14px; }
  section { padding: 46px 0; }
}

/* ---------- 事業内容 ---------- */
.biz { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.biz .item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.biz .item h3 { color: var(--navy); margin: 0 0 8px; font-size: 18px; }
.biz .item p { margin: 0; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 720px) { .biz { grid-template-columns: 1fr; } }

/* ---------- ストーリー ---------- */
.story { max-width: 720px; margin: 0 auto; font-size: 16px; }
.story p { margin: 0 0 16px; }

/* ---------- 会社概要テーブル ---------- */
.table-info { width: 100%; border-collapse: collapse; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table-info th, .table-info td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.table-info tr:last-child th, .table-info tr:last-child td { border-bottom: 0; }
.table-info th { width: 30%; background: var(--sky); color: var(--navy); font-weight: 700; white-space: nowrap; }
.table-info .tbd { color: #b06a00; background: #fff7e8; padding: 1px 7px; border-radius: 6px; font-size: 13px; }
@media (max-width: 560px) {
  .table-info, .table-info tbody, .table-info tr, .table-info th, .table-info td { display: block; width: 100%; }
  .table-info th { border-bottom: 0; padding-bottom: 4px; }
  .table-info td { padding-top: 4px; padding-bottom: 16px; }
}

/* ---------- お問い合わせ ---------- */
.contact-box { text-align: center; }
.contact-box .mail {
  display: inline-block; margin-top: 10px; font-size: clamp(18px, 4.4vw, 24px);
  font-weight: 700; color: var(--navy); letter-spacing: .02em;
}

/* ---------- 下層ページ ヘッダー ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy), var(--blue));
  color: var(--white); padding: 54px 0; text-align: center;
}
.page-hero h1 { margin: 0; font-size: clamp(22px, 5vw, 32px); font-weight: 800; }
.page-hero p { margin: 8px 0 0; opacity: .85; font-size: 14px; letter-spacing: .1em; }

.page-body { padding: 54px 0 72px; }
.page-body h2 { color: var(--navy); font-size: 19px; margin: 32px 0 10px; }
.page-body h2:first-child { margin-top: 0; }
.page-body p { margin: 0 0 14px; }
.page-body ul { margin: 0 0 16px; padding-left: 1.3em; }
.page-body li { margin-bottom: 6px; }
.note { background: var(--sky); border-left: 4px solid var(--blue-light); padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: 14px; color: var(--ink-soft); margin: 18px 0; }
.back-link { display: inline-block; margin-top: 30px; font-weight: 600; }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,.82);
  padding: 40px 0 28px; font-size: 14px;
}
.site-footer .foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer .brand-name { color: #fff; font-weight: 700; font-size: 16px; }
.site-footer .foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer .foot-links a { color: rgba(255,255,255,.82); }
.site-footer .foot-links a:hover { color: #fff; }
.site-footer .copy { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); font-size: 12px; opacity: .7; }

/* ---------- 薬機法/景表法 注記の小さめ表示 ---------- */
.fineprint { font-size: 12px; color: var(--ink-soft); }
