@font-face {
  font-family: "Noto Sans JP Local";
  src: url("noto-sans-jp-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Keifont";
  src: url("keifont.ttf?v=20260802-v16") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP Local";
  src: url("noto-sans-jp-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP Local";
  src: url("noto-sans-jp-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #171717;
  --muted: #626262;
  --line: #d6d6d6;
  --paper: #fff;
  --soft: #f7f5f2;
  --accent: #173f91;
  --label: #8f2b7d;
  --page: 1280px;
  --content: 1200px;
  --section-gutter: 40px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #ecebea;
  font-family: "Noto Sans JP Local", "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

main {
  width: min(94%, var(--page));
  margin: 0 auto;
  background: var(--paper);
}

@media (min-width: 761px) {
  main { width: min(82%, 1100px); }
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero img {
  width: 100%;
  height: auto;
}

.hero {
  width: 100%;
  margin: 0 auto;
}

.section { padding: 64px var(--section-gutter); }
.section:nth-of-type(odd) { background: var(--soft); }

.section-inner {
  width: min(100%, var(--content));
  margin: 0 auto;
}

.section-inner.narrow { width: min(100%, var(--content)); margin: 0 auto; }

.section-label {
  margin: 0 0 16px;
  color: var(--label);
  font-family: "Noto Sans JP Local", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.2;
  letter-spacing: .04em;
}

.mission-section .section-label,
.product-section .section-label,
.service-section .section-label,
.interview-section .section-label {
  font-weight: 700;
}

h2 {
  margin: 0 0 26px;
  font-size: clamp(1.65rem, 3.5vw, 2.7rem);
  line-height: 1.45;
  letter-spacing: .035em;
}

p { margin: 0 0 1.1em; }

.news-window {
  width: calc(100% + (var(--section-gutter) * 2) - 20px);
  max-width: none;
  margin-left: calc((var(--section-gutter) * -1) + 10px);
  min-height: 112px;
  max-height: 250px;
  overflow-y: auto;
  background: #fff;
  border: 2px solid #173845;
  border-radius: 34px;
  padding: 26px 34px 20px;
}

.news-section .section-inner {
  position: relative;
  padding-top: 16px;
}

.news-section .section-label {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 28px;
  margin: 0;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1;
  letter-spacing: 0;
}

.news-list { margin: 0; padding: 0; list-style: none; }

.news-item {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  display: grid;
  grid-template-columns: 8.4em 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 6px 0;
}

.news-date {
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.news-category {
  display: none;
}

.news-title { font-weight: 600; text-decoration: none; }
.news-title:hover, .news-title:focus-visible { text-decoration: underline; }

.mission-copy, .service-copy {
  max-width: none;
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
}

.product-section { text-align: left; }

.product-heading {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: .8em;
  align-items: baseline;
}

.product-name {
  min-width: 0;
  font-size: clamp(1rem, 1.7vw, 1.45rem);
  line-height: 1.5;
  letter-spacing: .02em;
}

.ikigai-name {
  color: #111;
  font-family: "Keifont", sans-serif;
  font-size: 1.12em;
  font-weight: 400;
  font-synthesis: none;
  white-space: nowrap;
}

.ikigai-red { color: #d51f26; }
.ikigai-blue { color: #3576a8; }
.ikigai-quoted { white-space: nowrap; }
.mobile-product-break { display: none; }

.product-visual {
  width: calc(100% + (var(--section-gutter) * 2));
  max-width: none;
  margin: 0 0 0 calc(var(--section-gutter) * -1);
}

.detail-link-wrap { margin: 30px 0 0; }

.detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 13px 28px;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
  letter-spacing: .08em;
}

.detail-link:hover, .detail-link:focus-visible { background: #0d2c6f; }

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 34%);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.support-visual {
  width: 100%;
  margin: 0;
  border: 1px solid #ddd;
}

.multilingual-support {
  margin-top: 1.45em;
  line-height: 1.65;
}

.multilingual-support p { margin: 0; }

.support-heading { font-weight: 700; }

.support-details { padding-left: 1.25em; }

.support-note { padding-left: 1.25em; }

.support-heading-stack { margin-top: .8em; }

.support-note-final { margin-top: .15em; }

.interview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26%);
  gap: clamp(32px, 3.5vw, 48px);
  align-items: start;
}

.interview-copy { font-size: clamp(1.05rem, 1.45vw, 1.3rem); }

.signature {
  margin-top: 38px;
  text-align: right;
  line-height: 1.65;
}

.profile { width: 100%; }
.profile img { width: 100%; }

.profile-text {
  padding: 18px 2px 0;
  font-size: 1rem;
  line-height: 1.7;
}

.profile-name { margin-bottom: 6px; font-weight: 700; }

.company-table-wrap { overflow-x: auto; }

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.1rem;
}

.company-table th, .company-table td {
  padding: 17px 18px;
  border-bottom: 1px solid #bcbcbc;
  text-align: left;
  vertical-align: middle;
}

.company-table th {
  width: 18%;
  min-width: 130px;
  letter-spacing: .08em;
}

.company-table td { font-weight: 600; }
.company-table a { text-underline-offset: 4px; }

@media (max-width: 760px) {
  :root { --section-gutter: 20px; }
  .section { padding: 48px var(--section-gutter); }
  .hero { width: 100%; }

  .news-item {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 9px 0;
  }
  .news-window { padding: 28px 24px 20px; }

  .product-heading {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }
  .mobile-product-break { display: block; }


  .interview-grid { grid-template-columns: 1fr; }
  .profile { width: min(100%, 320px); margin: 0 auto; }
  .profile img { width: 100%; }
  .signature { text-align: left; }
  .desktop-break { display: none; }

  .service-grid { grid-template-columns: 1fr; gap: 30px; }
  .support-visual { width: min(100%, 380px); margin: 0 auto; }
  .multilingual-support { display: none; }

  .company-table, .company-table tbody, .company-table tr,
  .company-table th, .company-table td { display: block; width: 100%; }
  .company-table tr { padding: 14px 0; border-bottom: 1px solid #bcbcbc; }
  .company-table th, .company-table td { min-width: 0; padding: 3px 0; border: 0; }
  .company-table th { color: var(--muted); font-size: .84rem; }
  .company-table td { overflow-wrap: anywhere; }
}

@media (max-width: 460px) {
  h2 { font-size: 1.55rem; }
}
