/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: #2d4a3e; }

h1, h2, h3, h4, .serif {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .04em;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #ececec;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.logo {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .08em;
  line-height: 1.2;
}
.logo small {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  letter-spacing: .2em;
  color: #6b6b6b;
  font-weight: 400;
  margin-top: 2px;
}
.nav-toggle { display: none; }
.nav-label {
  display: none;
  cursor: pointer;
  font-size: 24px;
  user-select: none;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 36px;
}
.site-nav a {
  font-size: 14px;
  letter-spacing: .12em;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: #2d4a3e;
  transform: scaleX(0);
  transition: transform .25s ease;
  transform-origin: left;
}
.site-nav a:hover::after { transform: scaleX(1); }

/* ===== Hero ===== */
.hero {
  position: relative;
  height: calc(100vh - 82px);
  min-height: 560px;
  background: #0f1c2e url("../images/hero.jpg") center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,28,46,.35), rgba(15,28,46,.55));
}
.hero .container { position: relative; width: 100%; }
.hero-lead {
  font-size: 14px;
  letter-spacing: .3em;
  margin: 0 0 24px;
  opacity: .9;
}
.hero h1 {
  font-size: clamp(32px, 5.4vw, 64px);
  margin: 0 0 24px;
  line-height: 1.4;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.hero p.hero-sub {
  font-size: 16px;
  letter-spacing: .08em;
  max-width: 560px;
  margin: 0 0 40px;
  opacity: .92;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 16px 38px;
  font-size: 14px;
  letter-spacing: .16em;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
  font-family: inherit;
}
.btn-primary {
  background: #2d4a3e;
  color: #fff;
  border-color: #2d4a3e;
}
.btn-primary:hover { background: #1f362c; color: #fff; border-color: #1f362c; }
.btn-outline-light { color: #fff; }
.btn-outline-light:hover { background: #fff; color: #1a1a1a; }

/* ===== Sections ===== */
section { padding: 100px 0; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-head .eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: .3em;
  color: #2d4a3e;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 0;
}
.section-head p { color: #555; margin-top: 18px; }

/* ===== Strengths ===== */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.strength-item { text-align: center; }
.strength-item .num {
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  letter-spacing: .2em;
  color: #2d4a3e;
  display: block;
  margin-bottom: 16px;
}
.strength-item h3 {
  font-size: 22px;
  margin: 0 0 18px;
}
.strength-item .thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background: #e8e5df center/cover no-repeat;
  margin-bottom: 24px;
}
.strength-item p { color: #555; font-size: 15px; }

/* ===== Works ===== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.work-card .thumb {
  aspect-ratio: 4/3;
  background: #e8e5df center/cover no-repeat;
  overflow: hidden;
  margin-bottom: 20px;
}
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work-card:hover .thumb img { transform: scale(1.04); }
.work-card .meta { font-size: 12px; color: #2d4a3e; letter-spacing: .16em; }
.work-card h3 { font-size: 20px; margin: 10px 0 8px; }
.work-card p { color: #555; font-size: 14px; margin: 0; }

.works-full {
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 48px;
}

/* ===== Blog cards ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.blog-grid.blog-all { grid-template-columns: repeat(2, 1fr); gap: 56px 48px; }
.blog-card .thumb {
  aspect-ratio: 16/9;
  background: #e8e5df center/cover no-repeat;
  margin-bottom: 20px;
  overflow: hidden;
}
.blog-card .meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #777;
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.blog-card .cat { color: #2d4a3e; font-weight: 600; }
.blog-card h3 {
  font-size: 19px;
  margin: 0 0 14px;
  line-height: 1.6;
}
.blog-card p { color: #555; font-size: 14px; margin: 0 0 16px; }
.blog-card .read-more {
  font-size: 12px;
  letter-spacing: .2em;
  color: #2d4a3e;
  font-weight: 600;
  border-bottom: 1px solid #2d4a3e;
  padding-bottom: 2px;
}

/* ===== CTA Band ===== */
.cta-band {
  background: #0f1c2e url("../images/cta-bg.jpg") center/cover no-repeat;
  background-blend-mode: multiply;
  color: #fff;
  text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 14px; }
.cta-band p { margin: 0 0 36px; opacity: .9; }

/* ===== Page headers ===== */
.page-head {
  padding: 120px 0 80px;
  background: #f6f4ef;
  text-align: center;
  border-bottom: 1px solid #ececec;
}
.page-head .eyebrow {
  font-size: 12px;
  letter-spacing: .3em;
  color: #2d4a3e;
  display: block;
  margin-bottom: 14px;
}
.page-head h1 { font-size: clamp(28px, 4vw, 42px); margin: 0; }

/* ===== About ===== */
.about-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.about-table th, .about-table td {
  text-align: left;
  padding: 20px 16px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 15px;
  vertical-align: top;
}
.about-table th {
  width: 200px;
  font-weight: 600;
  color: #2d4a3e;
  font-family: "Noto Serif JP", serif;
}
.message-box {
  background: #f6f4ef;
  padding: 56px;
  border-left: 3px solid #2d4a3e;
}
.message-box h3 { font-size: 22px; margin: 0 0 20px; }
.message-box .sign {
  display: block;
  text-align: right;
  margin-top: 24px;
  font-family: "Noto Serif JP", serif;
}

.history-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.history-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 15px;
}
.history-list .year {
  font-family: "Noto Serif JP", serif;
  color: #2d4a3e;
  font-weight: 600;
  letter-spacing: .08em;
}

/* ===== Service ===== */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
}
.service-block:last-child { margin-bottom: 0; }
.service-block:nth-child(even) .service-text { order: 2; }
.service-block .service-img {
  aspect-ratio: 4/3;
  background: #e8e5df center/cover no-repeat;
}
.service-block h3 {
  font-size: 28px;
  margin: 0 0 20px;
}
.service-block .eyebrow {
  font-size: 12px;
  letter-spacing: .3em;
  color: #2d4a3e;
  display: block;
  margin-bottom: 14px;
}
.service-block p { color: #444; }

/* ===== Contact form ===== */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
}
.contact-form .field {
  margin-bottom: 28px;
}
.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #2d4a3e;
  font-family: "Noto Serif JP", serif;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d8d8d8;
  background: #fafafa;
  font-family: inherit;
  font-size: 15px;
  color: #1a1a1a;
  border-radius: 2px;
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: #2d4a3e;
  background: #fff;
}
.contact-note {
  background: #f6f4ef;
  padding: 20px 24px;
  font-size: 14px;
  color: #555;
  margin-bottom: 40px;
  border-left: 3px solid #6b4423;
}
.contact-form button[disabled] {
  opacity: .55;
  cursor: not-allowed;
}

/* ===== Article (blog detail) ===== */
.breadcrumb {
  font-size: 12px;
  letter-spacing: .08em;
  color: #777;
  padding: 24px 0 0;
}
.breadcrumb a:hover { color: #2d4a3e; }
.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 0 100px;
}
.article-head { margin-bottom: 48px; text-align: center; }
.article-head .meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: #777;
  letter-spacing: .14em;
  margin-bottom: 18px;
}
.article-head .cat { color: #2d4a3e; font-weight: 600; }
.article-head h1 {
  font-size: clamp(24px, 3.4vw, 34px);
  margin: 0;
  line-height: 1.6;
  word-break: auto-phrase;
  line-break: strict;
}
.blog-card h3,
.blog-card h2,
.post-title {
  word-break: auto-phrase;
  line-break: strict;
}
.article-eyecatch {
  margin: 40px 0 60px;
  max-width: 880px;
}
.article-eyecatch img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.article-body { font-size: 16px; line-height: 2; color: #2a2a2a; }
.article-body p { margin: 0 0 1.6em; }
.article-body h2.wp-block-heading,
.article-body h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
  margin: 3em 0 1em;
  padding-left: 18px;
  border-left: 4px solid #2d4a3e;
  line-height: 1.5;
}
.article-body h3.wp-block-heading,
.article-body h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  margin: 2.2em 0 .8em;
  color: #2d4a3e;
}
.article-body img {
  width: 100%;
  height: auto;
  margin: 2em 0;
}
.article-body ul, .article-body ol { margin: 0 0 1.6em 1.2em; }
.article-body li { margin-bottom: .4em; }
.article-body a {
  color: #2d4a3e;
  border-bottom: 1px solid #2d4a3e;
}
.article-body blockquote {
  background: #f6f4ef;
  border-left: 3px solid #6b4423;
  padding: 20px 24px;
  margin: 2em 0;
  color: #444;
}
.article-body strong { color: #0f1c2e; }
.back-link {
  text-align: center;
  margin-top: 60px;
}

/* ===== Footer ===== */
.site-footer {
  background: #0f1c2e;
  color: #d7dbe3;
  padding: 80px 0 30px;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.site-footer .logo { color: #fff; }
.site-footer .logo small { color: #8892a6; }
.site-footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: .2em;
  margin: 0 0 20px;
  font-family: "Noto Serif JP", serif;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: #fff; opacity: .8; }
.site-footer .company-info { font-size: 13px; line-height: 1.9; color: #a0a8b8; margin-top: 18px; }
.copyright {
  border-top: 1px solid #223049;
  padding-top: 24px;
  font-size: 12px;
  letter-spacing: .1em;
  color: #7a8498;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .strengths-grid, .works-grid, .blog-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .blog-grid.blog-all, .works-full { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 32px; margin-bottom: 72px; }
  .service-block:nth-child(even) .service-text { order: 0; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .container { padding: 0 22px; }
  section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }
  .site-header .container { height: 68px; }
  .nav-label { display: block; }
  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #ececec;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-toggle:checked ~ .site-nav { max-height: 520px; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 12px 0; }
  .site-nav li { border-bottom: 1px solid #f0f0f0; }
  .site-nav li:last-child { border-bottom: none; }
  .site-nav a { display: block; padding: 18px 28px; }
  .strengths-grid, .works-grid, .blog-grid { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .history-list li { grid-template-columns: 1fr; gap: 6px; }
  .about-table th { width: 120px; }
  .message-box { padding: 32px 24px; }
  .hero { min-height: 480px; }
}
