/* ===== Base ===== */
* { box-sizing: border-box; }

html { font-size: 16px; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI",
               "Hiragino Kaku Gothic ProN","Hiragino Sans",
               Meiryo, sans-serif;
  line-height: 1.8;
  color: #1f2328;
  background: #ffffff;
}

a{ color:#0b5bd3; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  max-width: 1040px;              /* PC想定で広め */
  margin: 0 auto;
  padding: 0 28px;                /* ← “端からpaddingない”を解消 */
}

/* ===== Header ===== */
.site-header{
  position: sticky; top: 0;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  z-index: 10;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #0b5bd3;
}
.brand:hover{ text-decoration: none; }

.brand-mark{
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.global-nav{
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-item{
  color: #1f2328;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 6px;
  border-bottom: 2px solid transparent;
}
.current {
  background-color:#f4f6ff;
}
.nav-item:hover{ text-decoration: none; border-bottom-color:#0b5bd3; }

/* ===== Main ===== */
.site-main{ padding-bottom: 64px; }

.hero{
  position: relative;
  border-bottom: 1px solid #e5e9f0;
  background: #f8fafc;            /* 画像が読みづらい時の保険 */
  overflow: hidden;
}

/* さらに“余白が窮屈”問題をここで解消 */
.hero-inner{
  position: relative;
  padding: 42px 0 34px;
  max-width: 840px;               /* 本文は読みやすく少し狭め */
}

.hero h1{
  margin: 0 0 18px;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}

.hero p{
  margin: 0 0 14px;
}

.hero ul{
  margin: 14px 0 0;
  padding-left: 1.2rem;
}

.content{
  padding-top: 28px;
}

.content h2{
  font-size: 1.25rem;
  margin: 0 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e8e8e8;
}

.content p{ margin: 0 0 14px; }

/* ===== Footer ===== */
.site-footer{
  background: #0b2239;            /* 既存の濃紺っぽい雰囲気 */
  color: #fff;
  margin-top: 48px;
}

.footer-inner{
  padding: 22px 0 18px;
}

.footer-nav{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;         /* 既存フッタの雰囲気に寄せる */
  padding: 6px 0 10px;
}

.footer-item{
  color: #fff;
  opacity: 0.92;
  font-weight: 600;
  font-size: 0.9rem;
}
.footer-item:hover{ opacity: 1; text-decoration: underline; }

.footer-meta{
  text-align: center;
  opacity: 0.85;
  margin-top: 6px;
}


.hero-mark{
  display:block;
  width: 100px;
  max-width: 100%;
  height: auto;
  margin: 30px 0 18px;
  opacity: 0.95;
}

.index_page_title {
  margin-bottom:50px;
}
.index_page_title div {
    display: inline-block;
    font-size:24px;
    color:#0168b7;
}
.index_page_title div img {
      width:200px;
      vertical-align: bottom;
      margin-right:20px;
}
.belt_img {
  margin:20px;
  width: 95%;
  height: auto;
}
.index_img {
  margin:50px;
  width: 200px;
  height: auto;
}

.software_title {
  color:#0168b7;
}
.software_title span {
  display:inline-block;
  font-size: 0.95rem;
  margin-left:20px;
}

.software_detail {
  padding:20px;
}
.software_detail img {
  width:90%;
  min-width:600px;
}

.software_detail h3 {
  margin-top:70px;
}
.software_detail ol,.quote_info_block ul {
  padding:10px;
}
.software_detail ol li {
  list-style: numeric outside;
  margin-bottom:10px;
}
.software_detail ul li {
  list-style: disc outside;
  margin-bottom:2px;
}

.ttylog_demo {
  margin:30px;
}

.right {
  text-align: right !important;
}
.center {
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}
.left {
  text-align: left !important;
}
.inline_block {
  display:inline-block;
}
.vmiddle {vertical-align:middle;}
.vtop    {vertical-align:top;}
.vbottom {vertical-align:bottom;}


/* ===== PCメインなので、スマホは最低限だけ崩れない程度 ===== */
@media (max-width: 820px){
  .header-inner{ height: auto; padding: 14px 0; }
  .global-nav{ gap: 12px; }
  .hero::before{
    background-size: 420px auto;
    background-position: right 12px top 10px;
  }
}

/* ===== profile page (simple) ===== */
.p-section { padding: 48px 0; }
.p-white { background: #fff; }

.p-narrow { max-width: 840px; } /* hero-innerと同等の読み幅に */

.p-card {
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

/* company table */
.p-kv {
  width: 100%;
  border-collapse: collapse;
}
.p-kv th, .p-kv td {
  padding: 18px 20px;
  border-bottom: 1px solid #eef0f2;
  vertical-align: top;
}
.p-kv tr:last-child th, .p-kv tr:last-child td { border-bottom: none; }
.p-kv th {
  width: 9em;
  font-weight: 700;
  white-space: nowrap;
}
.p-kv td { line-height: 1.7; }

/* headings */
.p-h2 {
  font-size: 1.25rem;
  margin: 0 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e8e8e8;
}

/* timeline */
.p-timeline {
  list-style: none;
  margin: 16px 0 32px;
  padding: 0;
}
.p-timeline li {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  column-gap: 12px;
  padding: 6px 0;
  align-items: baseline;
}
.p-year {
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* bullets */
.p-bullets {
  margin: 16px 0 0;
  padding-left: 1.2rem;
}
.p-bullets li { margin: 6px 0; }

/* mobile */
@media (max-width: 600px) {
  .p-kv th { width: auto; }
  .p-timeline li { grid-template-columns: 5.5em 1fr; }
}

