
:root {
  --bg: #f5f5f5;
  --panel: rgba(255,255,255,.76);
  --white: #ffffff;
  --text: #505050;
  --muted: #8c8c8c;
  --line: #dedede;
  --accent: #1250a8;
  --button: #404040;
  --radius-xl: 4px 60px 4px 60px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
  line-height: 1.9;
  letter-spacing: .03em;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: .72; }
img { max-width: 100%; height: auto; }
.header {
  position: fixed;
  top: 12px;
  left: 22px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  color: var(--text);
  background: transparent;
}
.logo {
  font-family: "Libre Baskerville", Georgia,"Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400;
  font-size: clamp(28px, 2.4vw, 34px);
  line-height: 1;
  letter-spacing: .01em;
}
.nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .14em;
}
.nav a {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 5px 2px;
  background: #ece3c9;
}
.nav a:last-child {
  background: transparent;
  padding-left: 4px;
}
main { overflow: hidden; }
#top,
#news,
#service,
#about,
#contact {
  scroll-margin-top: 40px;
}
.hero {
  min-height: 1000px;
  display: grid;
  place-items: center;
  padding: 110px clamp(22px, 5vw, 70px) 80px;
  position: relative;
}
.hero-card {
  width: min(100%, var(--max));
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(42px, 7vw, 90px);
  background: var(--panel);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 70px rgba(0,0,0,.035);
}
.hero-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(32px, 7vw, 72px);
  align-items: start;
}
.kicker {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .09em;
  color: #404040;
}
.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: .04em;
}
.company-name { margin: 0; font-size: 16px; font-weight: 500; }
.scroll-mark {
  position: absolute;
  right: clamp(24px, 7vw, 90px);
  bottom: 46px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  writing-mode: vertical-rl;
}
.scroll-mark:before {
  content: "";
  display: block;
  width: 1px;
  height: 130px;
  background: var(--accent);
}
.section {
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: 110px clamp(22px, 5vw, 70px) 150px clamp(22px, 18vw, 250px);
}
.section.white {
  background: #fff;
  width: 100%;
  padding-left: clamp(22px, 5vw, 70px);
}
.section-header {
  margin: 0 0 66px;
}
.section-header .en {
  display: block;
  font-size: clamp(46px, 7vw, 72px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .03em;
}
.section-header .ja {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}
.news-feature {
  position: relative;
  padding-right: min(28vw, 300px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 34px;
  padding-bottom: 34px;
}
.news-feature h3 {
  margin: 0 0 2px;
  color: #333;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.6;
}
.date { color: var(--muted); font-size: 14px; font-weight: 700; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 244px;
  padding: 14px 22px;
  border-radius: 4px;
  background: var(--button);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  border: 1px solid var(--button);
  cursor: pointer;
}
.button.light {
  position: absolute;
  right: 0;
  top: 34px;
  background: transparent;
  color: var(--text);
  border: 0;
}
.button:after { content: "›"; font-size: 1.2em; line-height: 1; }
.service-list {
  display: grid;
  gap: 112px;
  justify-content: end;
}
.service-item {
  width: min(100%, 740px);
}
.service-item h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.8;
}
.service-sub { margin: 0 0 54px; color: var(--muted); font-size: 14px; font-weight: 700; }
.body-text { margin: 0 0 30px; font-size: 18px; font-weight: 500; line-height: 2.4; }
.align-right { text-align: right; }
.about-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(72px, 10vw, 130px);
  align-items: start;
}
.about-lead,
.vision,
#profile {
  width: min(100%, 860px);
  margin-left: auto;
  margin-right: auto;
}
.vision,
#profile {
  scroll-margin-top: 120px;
}
.about-lead h3,
.vision h3 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.8;
}
.vision {
  padding: 36px;
  background: #f7f7f7;
  border-radius: 4px 42px 4px 42px;
  margin-bottom: 56px;
}
.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.7;
}
.profile-table th,
.profile-table td {
  text-align: left;
  vertical-align: top;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.profile-table th {
  width: 130px;
  color: var(--muted);
  font-weight: 700;
}
.contact-cta {
  background: #fff;
  padding: 120px clamp(22px, 5vw, 70px);
}
.contact-card {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(36px, 5vw, 70px);
  background: #f5f5f5;
  border-radius: var(--radius-xl);
}
.contact-card .en { display:block; font-size: clamp(42px, 6vw, 72px); font-weight: 700; line-height: 1.1; }
.contact-card .ja { color: var(--muted); font-weight:700; }
.footer {
  padding: 70px clamp(22px, 5vw, 70px);
  background: #404040;
  color: #fff;
}
.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 22px;
}
.footer .brand { font-size: 22px; font-weight: 400; 
font-family: "Libre Baskerville", Georgia,"Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
}


.footer address { font-style: normal; color: rgba(255,255,255,.75); }
.copyright { color: rgba(255,255,255,.55); font-size: 13px; }
.page-hero {
  padding: 180px clamp(22px, 5vw, 70px) 90px;
  background: #fff;
}
.page-hero-inner,
.content-wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
}
.page-hero h1 { margin: 0; font-size: clamp(46px,7vw,72px); line-height: 1.2; }
.page-hero p { margin: 4px 0 0; color: var(--muted); font-weight: 700; }
.form-section { padding: 90px clamp(22px, 5vw, 70px) 130px; }
.form-panel {
  width: min(100%, 860px);
  margin: 0 auto;
  background: #fff;
  border-radius: 4px 60px 4px 60px;
  padding: clamp(30px, 5vw, 64px);
}
.form-note { margin: 0 0 34px; }
.form-grid { display: grid; gap: 24px; }
.field label { display: flex; gap: 8px; align-items: center; font-weight: 700; margin-bottom: 8px; }
.required { color: #fff; background: var(--button); font-size: 12px; padding: 1px 8px; border-radius: 100px; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  padding: 14px 16px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 180px; resize: vertical; }
.notice {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}
.article-list { display: grid; gap: 24px; }
.article-card {
  display: block;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.article-card:last-child { border-bottom: 1px solid var(--line); }
.article-card h2 { margin: 0 0 6px; font-size: 22px; font-weight: 500; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 120px 22px; text-align:center; }
.error-page h1 { font-size: clamp(42px,8vw,76px); margin: 0 0 12px; }
.mobile-menu-button { display: none; }
@media (max-width: 820px) {
  .header { top: 12px; left: 18px; width: 210px; gap: 18px; }
  .logo { font-size: 28px; }
  .mobile-menu-button { display: none; }
  .nav { display: flex; position: static; padding: 0; background: transparent; border-radius: 0; box-shadow: none; flex-direction: column; align-items:flex-start; gap: 16px; font-size: 14px; }
  .hero { min-height: 760px; padding-top: 210px; }
  .hero-card { min-height: 560px; padding: 34px 28px; }
  .hero-inner { grid-template-columns: 1fr; gap: 8px; }
  .section { padding: 82px 22px 100px; }
  .section.white { padding: 82px 22px 100px; }
  .section-header { margin-bottom: 42px; }
  .news-feature { padding-right: 0; }
  .button.light { position: static; margin-top: 24px; padding-left:0; }
  .service-list { gap: 80px; }
  .body-text { font-size: 16px; line-height: 2.1; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-card { flex-direction: column; align-items:flex-start; }
  .scroll-mark { display: none; }
  .profile-table th, .profile-table td { display: block; width:100%; padding: 10px 0; }
  .profile-table td { padding-top: 0; }
}


@media screen and (max-width: 768px) {
  .pc-only {
    display: none;
  }
  h1 {
    font-size: 140%!important;
  }
  
}


@media screen and (min-width: 769px) {
  .philosophy {
	position:absolute;
transform: translateX(-150px) translatey(10px) rotate(90deg);
	text-decoration: underline;
    text-underline-offset: 8px;
}
  
}




