:root {
  --navy: #2C2C2A;
  --deep: #221F1C;
  --accent: #D85A30;
  --accent-deep: #993C1D;
  --accent-soft: #F5C4B3;
  --fill: #FAECE7;
  --bg: #FDFCF9;
  --alt: #F1EFE8;
  --text: #2C2C2A;
  --muted: #6B6963;
  --border: rgba(44, 44, 42, 0.14);
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "Songti SC", "STSong", "SimSun", Georgia, serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 252, 249, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 38px; width: auto; }
.brand span { font-weight: 700; font-size: 15px; color: var(--text); letter-spacing: .02em; }
.header-inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.brand { font-weight: 700; font-size: 15px; color: var(--text); letter-spacing: .02em; }
.nav-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.nav-links a { padding: 4px 0; border-bottom: 2px solid transparent; transition: color .15s; }
.nav-links a.active { color: var(--accent); border-bottom-color: var(--accent); }
.nav-links a:hover { color: var(--accent); }
.btn-contact-nav {
  background: var(--accent); color: #fff; font-size: 13px;
  padding: 8px 20px; border-radius: 999px; transition: background .15s;
}
.btn-contact-nav:hover { background: var(--accent-deep); }
.lang-toggle {
  border: 1px solid var(--accent); color: var(--accent); background: transparent;
  font-size: 12.5px; padding: 6px 14px; border-radius: 999px; cursor: pointer; font-family: inherit;
  transition: background .15s;
}
.lang-toggle:hover { background: var(--fill); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 76px; border-bottom: 1px solid var(--border); background: var(--bg); }
.hero-wrap {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 46px; align-items: center;
}
.hero-eyebrow { font-size: 12px; letter-spacing: .3em; color: var(--accent); margin-bottom: 18px; font-weight: 700; }
.hero-title { font-family: var(--serif); font-size: 37px; font-weight: 700; line-height: 1.6; color: var(--text); }
.hero-title .hl {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--accent-soft) 62%);
  padding: 0 2px;
}
.hero-sub { margin-top: 20px; font-size: 14.5px; color: var(--muted); max-width: 640px; }
.hero-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; height: 320px; object-fit: cover;
  border-radius: 16px; display: block;
}
.hero-chip {
  position: absolute; right: -6px; bottom: -14px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 8px 16px; font-size: 12px; font-weight: 700; color: var(--accent);
  box-shadow: 0 6px 18px rgba(44, 44, 42, .08);
}
.btn {
  display: inline-block; font-size: 13.5px; padding: 11px 28px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--accent); font-family: inherit; transition: all .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { color: var(--accent); background: transparent; }
.btn-ghost:hover { background: var(--fill); }
.btn-text { border: none; padding: 11px 4px; color: var(--accent); font-weight: 700; }
.btn-text:hover { color: var(--accent-deep); }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--alt); }
.section-head { margin-bottom: 34px; }
.section-label { font-size: 11px; letter-spacing: .3em; color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.section-title { font-family: var(--serif); font-size: 25px; font-weight: 700; color: var(--text); }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 34px; gap: 16px; flex-wrap: wrap; }
.section-link { font-size: 13px; color: var(--accent); white-space: nowrap; font-weight: 700; }
.section-link:hover { color: var(--accent-deep); text-decoration: underline; }

/* about */
.about-body { font-size: 14.5px; color: var(--muted); max-width: 780px; }
.concept-box {
  margin-top: 28px; padding: 24px 28px; border-left: 3px solid var(--accent);
  background: var(--fill); border-radius: 0 12px 12px 0;
}
.concept-line { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--text); }
.concept-body { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

/* strengths */
.strengths-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.strength-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 18px;
  border-top: 3px solid var(--accent-soft); transition: all .18s;
}
.strength-card:hover { border-top-color: var(--accent); transform: translateY(-3px); }
.strength-card .no { font-family: var(--serif); font-size: 15px; color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.strength-card h3 { font-size: 14.5px; color: var(--text); margin-bottom: 8px; line-height: 1.5; }
.strength-card p { font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* services */
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.service-card {
  border: 1px solid var(--border); border-radius: 14px; padding: 18px;
  background: #fff; transition: all .18s;
}
.service-card:hover { border-color: var(--accent-soft); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(44, 44, 42, .07); }
.service-card .sc-img { margin: -18px -18px 14px; height: auto; aspect-ratio: 3 / 1; overflow: hidden; border-radius: 13px 13px 0 0; background: var(--fill); }
.service-card .sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.service-card:hover .sc-img img { transform: scale(1.04); }
.service-card .num { font-family: var(--serif); font-size: 13px; color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.service-card h3 { font-size: 14.5px; color: var(--text); line-height: 1.5; }
.service-card .sub { margin-top: 6px; font-size: 12px; color: var(--muted); }
.service-detail {
  border: 1px solid var(--border); border-radius: 16px; padding: 30px; background: #fff;
}
.service-detail + .service-detail { margin-top: 18px; }
.service-detail .head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.service-detail .num { font-family: var(--serif); font-size: 14px; color: var(--accent); font-weight: 700; }
.service-detail h2 { font-family: var(--serif); font-size: 20px; color: var(--text); }
.service-detail .sub { font-size: 13px; color: var(--muted); }
.service-detail .desc { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.sd-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.sd-img img { width: 100%; aspect-ratio: 12 / 5; object-fit: cover; border-radius: 12px; }
.price-block { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--border); }
.price-title { font-family: var(--serif); font-size: 21px; color: var(--text); }
.price-note { margin-top: 8px; font-size: 13px; color: var(--muted); }
.doc-wrap { margin-top: 36px; display: grid; gap: 20px; max-width: 760px; }
.doc-img { width: 100%; height: auto; border: 1px solid var(--border); border-radius: 12px; }
.map-img { margin-top: 14px; width: 100%; border-radius: 12px; border: 1px solid var(--border); }
.service-items { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.service-items li {
  list-style: none; font-size: 13px; color: var(--text); padding-left: 18px; position: relative; line-height: 1.7;
}
.service-items li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}

/* works */
.works-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.work-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px;
  transition: all .18s;
}
.work-card:hover { border-color: var(--accent-soft); transform: translateY(-2px); }
.work-card .tag {
  display: inline-block; font-size: 11.5px; color: var(--accent-deep); background: var(--fill);
  border-radius: 999px; padding: 3px 14px; margin-bottom: 10px; font-weight: 700;
}
.work-card h3 { font-size: 15px; color: var(--text); line-height: 1.6; }
.work-card .date { margin-top: 8px; font-size: 12px; color: var(--muted); }

/* news */
.news-list { display: flex; flex-direction: column; }
.news-row {
  display: flex; gap: 20px; align-items: baseline; padding: 17px 6px;
  border-bottom: 1px solid var(--border); transition: background .15s;
}
.news-row:first-child { border-top: 1px solid var(--border); }
.news-row:hover { background: #fff; }
.news-row .date { font-size: 12.5px; color: var(--accent); white-space: nowrap; font-weight: 700; }
.news-row .title { font-size: 14.5px; color: var(--text); }
.news-row:hover .title { color: var(--accent-deep); }
.news-detail .date { font-size: 13px; color: var(--accent); margin-bottom: 10px; font-weight: 700; }
.news-detail h1 { font-family: var(--serif); font-size: 25px; color: var(--text); line-height: 1.6; margin-bottom: 28px; }
.news-detail .body { font-size: 14.5px; color: var(--text); line-height: 2; }
.news-detail .back { display: inline-block; margin-top: 36px; font-size: 13px; color: var(--accent); font-weight: 700; }

/* contact band */
.cta-band { background: var(--alt); padding: 60px 0; border-bottom: 1px solid var(--border); }
.cta-band h2 { font-family: var(--serif); font-size: 23px; color: var(--text); font-weight: 700; }
.cta-band p { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.cta-band .btn { margin-top: 24px; border-color: var(--accent); color: #fff; background: var(--accent); }
.cta-band .btn:hover { background: var(--accent-deep); }

/* company page */
.profile-table { width: 100%; border-collapse: collapse; max-width: 760px; }
.profile-table th, .profile-table td {
  border-bottom: 1px solid var(--border); padding: 16px 8px; text-align: left; vertical-align: top; font-size: 14px;
}
.profile-table th { color: var(--accent); font-weight: 700; width: 160px; }

/* contact page */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.info-card { background: var(--fill); border-radius: 16px; padding: 28px; }
.info-card h3 { font-family: var(--serif); font-size: 16px; color: var(--text); margin-bottom: 14px; }
.info-card .row { margin-bottom: 10px; font-size: 13.5px; color: var(--text); }
.info-card .row .k { color: var(--accent-deep); font-weight: 700; margin-right: 10px; font-size: 12px; letter-spacing: .08em; }
.contact-form { border: 1px solid var(--border); border-radius: 16px; padding: 28px; background: #fff; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; color: var(--text); font-weight: 700; margin-bottom: 6px; }
.form-field label .req { color: #A32D2D; margin-left: 4px; font-weight: 400; font-size: 12px; }
.form-field input, .form-field textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px;
  font-size: 14px; font-family: inherit; color: var(--text); background: #fff; transition: border-color .15s;
}
.form-field input:focus, .form-field textarea:focus { outline: 3px solid var(--fill); border-color: var(--accent); }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-msg { margin-top: 14px; font-size: 13.5px; display: none; }
.form-msg.ok { display: block; color: #3B6D11; }
.form-msg.err { display: block; color: #A32D2D; }

/* footer */
.site-footer { background: var(--deep); color: #CFC9BF; padding: 40px 0 28px; margin-top: 0; }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { font-family: var(--serif); font-size: 14.5px; color: #F1EFE8; font-weight: 700; margin-bottom: 10px; }
.footer-info { font-size: 12.5px; line-height: 2; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; }
.footer-nav a:hover { color: var(--accent-soft); }
.footer-bottom { max-width: 1080px; margin: 24px auto 0; padding: 16px 24px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 11.5px; color: #8F8A80; }

/* page hero (subpages) */
.page-hero { background: var(--fill); padding: 52px 0 44px; border-bottom: 1px solid var(--border); }
.page-hero .en { font-size: 11px; letter-spacing: .3em; color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.page-hero h1 { font-family: var(--serif); font-size: 27px; color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 30px; }
  .hero-media img { height: 230px; }
  .strengths-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr; }
  .sd-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 44px 0 56px; }
  .hero-title { font-size: 26px; }
  .strengths-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .service-items { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .news-row { flex-direction: column; gap: 4px; }
  .hero-chip { right: 8px; }
}
