:root {
  --navy: #1f3a5f;
  --navy-dark: #152a45;
  --accent: #d98c3f;
  --text: #2b2f36;
  --muted: #6b7280;
  --bg-alt: #f4f6f9;
  --line: #e2e6ec;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  line-height: 1.85;
  font-size: 16px;
}
a { color: var(--navy); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { text-decoration: none; color: var(--navy); font-size: 14px; display: flex; align-items: center; }
.logo img { width: 38px; height: 38px; margin-right: 10px; }
.logo strong { font-size: 20px; margin-left: 4px; letter-spacing: .04em; }
.nav a { margin-left: 18px; text-decoration: none; color: var(--text); font-size: 14px; }
.nav a:hover { color: var(--accent); }
.nav .nav-cta { background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 4px; }
.nav .nav-cta:hover { background: var(--navy-dark); color: #fff; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 600px; background: #fff; border-bottom: 1px solid var(--line); }
.hero-txt { display: flex; flex-direction: column; justify-content: center; padding: 64px 56px 64px max(24px, calc((100vw - 1040px) / 2 + 24px)); }
.hero-kicker { font-size: 12px; letter-spacing: .3em; color: var(--accent); font-weight: bold; margin: 0 0 20px; }
.hero h1 { font-size: 46px; line-height: 1.45; color: var(--navy); margin: 0 0 24px; letter-spacing: .02em; }
.hero h1 .line { background: linear-gradient(transparent 62%, #f6dcc0 62%); }
.hero-lead { color: var(--muted); margin: 0 0 32px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.hero-tags span { border: 1px solid var(--navy); color: var(--navy); font-size: 13px; padding: 4px 14px; border-radius: 999px; }
.hero-img { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 24px; }
.hero-mark { width: min(420px, 80%); height: auto; border-radius: 50%; clip-path: circle(50%); animation: spin 90s linear infinite; }
.hero-mark-name { position: relative; z-index: 1; margin: 28px 0 0; font-family: "Times New Roman", "Yu Mincho", serif; font-size: 26px; letter-spacing: .12em; color: #222; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-mark { animation: none; } }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 14px 32px; border-radius: 4px; font-weight: bold;
}
.btn:hover { filter: brightness(1.08); }
.btn-outline {
  display: inline-block; border: 1px solid var(--navy); color: var(--navy); text-decoration: none;
  padding: 12px 28px; border-radius: 4px; font-size: 15px; transition: background .2s, color .2s;
}
.btn-outline::after { content: "→"; margin-left: 10px; }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* strengths */
.strengths { padding: 56px 0; border-bottom: 1px solid var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.strength .num { color: var(--accent); font-weight: bold; font-size: 14px; letter-spacing: .1em; }
.strength h3 { margin: 4px 0 8px; font-size: 18px; color: var(--navy); }
.strength p { margin: 0; font-size: 15px; color: var(--muted); }

/* sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-title { font-size: 26px; color: var(--navy); margin: 0 0 36px; }
.section-title span {
  display: block; font-size: 12px; letter-spacing: .2em; color: var(--accent); margin-bottom: 4px;
}
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
/* ロゴの色で事業を色分け */
.service:nth-child(1) { --c: #1f4e9c; }  /* 青 */
.service:nth-child(2) { --c: #8b1e2d; }  /* 赤 */
.service:nth-child(3) { --c: #d9782f; }  /* オレンジ */
.service:nth-child(4) { --c: #5b2d8e; }  /* 紫 */
.service:nth-child(5) { --c: #5f9a2c; }  /* 緑 */
.service { border: 1px solid var(--line); border-left: 4px solid var(--c, var(--navy)); padding: 20px 24px; background: #fff; }
.service .icon { width: 36px; height: 36px; fill: none; stroke: var(--c, var(--accent)); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; float: left; margin: 2px 14px 0 0; }
.service h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.service p { margin: 0; font-size: 15px; }
.note { font-size: 13px; color: var(--muted); margin-top: 24px; }

table.info { width: 100%; border-collapse: collapse; background: #fff; }
table.info th, table.info td { border-bottom: 1px solid var(--line); padding: 16px; text-align: left; vertical-align: top; font-size: 15px; }
table.info th { width: 180px; color: var(--navy); background: var(--bg-alt); font-weight: bold; }
.small-note { font-size: 12px; color: var(--muted); }
.links a { margin-right: 16px; font-size: 14px; }

.map { margin-top: 32px; }
.map iframe { width: 100%; height: 340px; border: 0; }

/* message / profile */
.message { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.photo img, .photo-placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 48% 30%; border-radius: 6px; display: block; }
.flow-photo { width: 100%; height: 260px; object-fit: cover; object-position: 60% 12%; border-radius: 6px; margin-bottom: 24px; display: block; }
.photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: #dfe5ee; color: var(--muted); font-size: 14px; letter-spacing: .1em;
}
.message-lead { font-size: 20px; font-weight: bold; color: var(--navy); line-height: 1.7; margin-top: 0; }
.message-body p { font-size: 15px; }
.sign { text-align: right; margin-top: 28px; }
.sign strong { font-size: 20px; letter-spacing: .1em; }
.sub-title { font-size: 18px; color: var(--navy); margin: 56px 0 20px; padding-left: 12px; border-left: 4px solid var(--accent); }
.profile { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; background: #fff; padding: 28px 32px; border: 1px solid var(--line); }
.career { display: grid; grid-template-columns: 72px 1fr; margin: 0; font-size: 15px; }
.career dt { font-weight: bold; color: var(--navy); padding: 8px 0; border-bottom: 1px dashed var(--line); }
.career dd { margin: 0; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.profile-side .label { font-weight: bold; color: var(--navy); margin: 0 0 4px; font-size: 14px; }
.profile-side ul { margin: 0 0 16px; padding-left: 20px; font-size: 14px; }

/* flow */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
.flow li { position: relative; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: 20px; }
.flow li:not(:last-child)::after {
  content: "▶"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-size: 12px;
}
.flow .step { font-size: 12px; font-weight: bold; color: var(--accent); letter-spacing: .1em; }
.flow h3 { margin: 4px 0 8px; font-size: 17px; color: var(--navy); }
.flow p { margin: 0; font-size: 14px; }

/* faq */
.faq details { background: #fff; border: 1px solid var(--line); margin-bottom: 10px; border-radius: 4px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: bold; color: var(--navy); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--accent); margin-right: 12px; }
.faq summary::after { content: "＋"; float: right; color: var(--muted); }
.faq details[open] summary::after { content: "－"; }
.faq details p { margin: 0; padding: 0 20px 16px 44px; font-size: 15px; }

/* contact */
.contact { background: var(--navy); color: #fff; }
.contact .section-title { color: #fff; }
.contact a { color: #fff; }
.contact-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.contact-box { background: rgba(255,255,255,.08); padding: 28px; border-radius: 6px; text-align: center; }
.contact-box .label { margin: 0 0 8px; font-size: 13px; letter-spacing: .1em; opacity: .8; }
.contact-box .big { font-size: 30px; font-weight: bold; text-decoration: none; letter-spacing: .04em; }
.contact-box .small { font-size: 13px; margin: 12px 0 0; opacity: .85; }

/* footer */
.site-footer { background: var(--navy-dark); color: #c9d2de; padding: 28px 0; font-size: 13px; text-align: center; }
.site-footer a { color: #c9d2de; margin: 0 8px; }
.copy { margin: 8px 0 0; }

/* policy page */
.policy h2 { font-size: 22px; color: var(--navy); border-bottom: 2px solid var(--navy); padding-bottom: 8px; margin: 56px 0 20px; }
.policy h2:first-of-type { margin-top: 0; }
.policy h3 { font-size: 16px; color: var(--navy); margin: 24px 0 4px; }
.policy p, .policy li { font-size: 15px; }
.policy .date { text-align: right; font-size: 14px; color: var(--muted); }

/* 公開前に消す：要記入箇所のハイライト */
.todo, .todo-inline { background: #fff3a8; color: #8a5a00; padding: 0 4px; font-weight: bold; }

@media (max-width: 760px) {
  .nav a:not(.nav-cta) { display: none; }
  .logo, .nav .nav-cta { white-space: nowrap; }
  .logo { font-size: 11px; }
  .logo strong { font-size: 16px; }
  .logo img { width: 30px; height: 30px; margin-right: 6px; }
  .nav .nav-cta { font-size: 12px; padding: 7px 12px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-img { order: -1; padding: 32px 24px 0; }
  .hero-mark { width: 180px; }
  .hero-mark-name { font-size: 16px; margin-top: 14px; }
  .hero-txt { padding: 36px 24px 48px; }
  .hero h1 { font-size: 30px; }
  .hero-lead br { display: none; }
  .grid-3, .services, .contact-boxes, .message, .profile, .flow { grid-template-columns: 1fr; }
  .message .photo { max-width: 240px; }
  .flow li:not(:last-child)::after { content: "▼"; right: 50%; top: auto; bottom: -14px; transform: translateX(50%); }
  table.info th { width: 100px; }
}
