html {
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  padding: 0;
  background-color: #F5F8FA; /* 全体の背景色を少しグレーに */
  overflow-x: hidden; /* 横スクロールバーを非表示 */
  box-sizing: border-box;
}

html, body {
  overscroll-behavior: none!important; /* 慣性や親へのチェーンを抑制 */
}


header {
    background-color: transparent;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    position: fixed;
    /* ヘッダーを固定 */
    top: 0;
    width: 100%;
    z-index: 1000;

    /* ヘッダーを他の要素の上に表示 */
}

p {
  line-height: 2;
  margin-bottom: 30px;
  font-size: 14px;
}

p:last-child {
  margin-bottom: 0;
}

em {
  font-family: "Josefin Sans", sans-serif;
}

.ta-c {
  text-align: center;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
/* ハンバーガーの線（2本） */
.menu-icon {
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 1100;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: all 0.3s ease;
}

.menu-icon::before {
  top: 5px;
}

.menu-icon::after {
  bottom: 5px;
}

/* クロス状態 */
body.menu-open .menu-icon::before {
  transform: rotate(45deg);
  top: 9px;
}

body.menu-open .menu-icon::after {
  transform: rotate(-45deg);
  bottom: 9px;
}

.logo img {
    height: 60px;
}

body.darkened-intro .logo img {
  display: none;
}

.d_only {
  display: none;
}

body.darkened-intro .d_only {
  display: block!important;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: black;
}

.section {
}

nav ul {
    list-style-type: none;
    margin: 0 30px 0 0;
    padding: 0;
    display: flex;
    background-color: white;
    /* リンクメニュー欄の背景色を白に */
    border-radius: 50px;
    /* 角丸にする */
    padding: 5px 20px;
    /* 内側の余白を追加 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* 軽い影を追加 */
}

nav ul li {
    margin: 0 15px;
}


nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 15px 10px;
    font-family: 'Roboto', sans-serif;
    /* フォントファミリーを変更 */
}

nav ul li a:hover {
  opacity: .75;
}

body.darkened-intro nav ul {
  background-color: inherit;
  box-shadow: inherit;
}

body.darkened-intro nav ul li a {
  color: #FFF;
}

nav ul li a:hover {
    color: gray;
}

/* ① トップレベルだけを装飾（ネストULには当てない） */
nav > ul#nav-links{
  list-style-type: none;
  margin: 0 30px 0 0;
  padding: 5px 20px;
  display: flex;
  background-color: white;
  border-radius: 50px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
nav > ul#nav-links > li{
  position: relative;     /* ▼サブの絶対配置の基準にする */
  margin: 0 15px;
}
nav > ul#nav-links > li > a{
  color: black;
  text-decoration: none;
  font-size: 18px;
  display: block;
  padding: 15px 10px;
  font-family: 'Roboto', sans-serif;
}

/* ② サブメニュー（初期は非表示） */
#nav-links .sub{
  position: absolute;
  left: 0;
  top: 100%;               /* 親リンクの下に配置 */
  min-width: 220px;
  margin: 0;
  padding: .4rem 0;
  list-style: none;
  display: none;           /* ←非表示 */
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  z-index: 1000;
}

/* サブメニューの各項目 */
#nav-links .sub li{ margin: 0; }
#nav-links .sub a{
  display: block;
  padding: .6rem 1rem;
  font-size: 15px;
  color: #111;
  text-decoration: none;
  white-space: nowrap;    /* 長い文でも1行で */
}
#nav-links .sub a:hover{
  background: #f8fafc;
}

/* ③ hover/focus時だけ表示（キーボードでも開く） */
#nav-links li:hover > .sub,
#nav-links li:focus-within > .sub{
  display: block;
}


.wrapper {
  max-width: 1120px;
  margin: auto;
  width: 100%;
}

.bk-black {
    background-color: black;
}

.fixed-content {
    display: flex;
    justify-content: center; /* 水平方向に中央寄せ */
    align-items: center; /* 垂直方向に中央寄せ */
    position: relative;
    height: 100%; /* 1画面分の高さ */
}

.position-center{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.content-80-area{
    /* 中央8割くらいの要素 */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80%;
    width: 80%;
}

.content-60-area{
    /* 中央6割くらいの要素 */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60%;
    width: 60%;
}

#top-message {
    height: 100vh;
    /* ビューポートの高さを確保 */
    display: flex;
    flex-direction: column;
    position: relative;
}

#top-message.section {
  padding-top: 0;
  padding-bottom: 0;
}

.top-message {
    justify-content: center;
    /* 中央寄せ */
    align-items: flex-start;
    /* 左寄せ */
    padding-left: 10%;
    /* 左側に余白を追加 */
}
.scroll-indicator {
  position: absolute;
  right: 4vw;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 999;
}

.scroll-indicator a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.scroll-indicator .text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #000;
  margin-bottom: 10px;
}

.scroll-indicator .line {
  display: block;
  width: 1px;
  height: 40px;
  background-color: #000;
}


.main-text {
    font-size: 200px;
    /* 文字を大きく */
    font-family: 'Roboto', sans-serif;
    /* フォントファミリーを変更 */
    line-height: 1;
    /* 行の高さを調整して下の空白を消す */
    letter-spacing: 0.1em;
    /* 文字間のスペースを広げる */
}

.main-text .gray {
    color: gray;
}

.sub-text {
    font-size: 32px;
    /* 文字を大きく */
    font-family: 'Roboto', sans-serif;
    /* フォントファミリーを変更 */
    margin-top: 20px;
    /* 上部に余白を追加 */
    letter-spacing: 0.05em;
    /* 文字間のスペースを広げる */
}

.sub-text .gray {
    color: gray;
}

#top-message {
    position: relative;
    overflow: hidden; /* 画像がセクションの外に出ないようにする */
}

#moving_pictures {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* 背景として表示 */
}

.moving-image {
    position: absolute;
    width: 100px; /* 画像のサイズを調整してください */
}

.space {
    display: inline-block;
    width: 0.05em;
    /* 1文字分の幅 */
}

#text-container {
    position: relative;
    height: 1em;
    /* 適切な高さに調整 */
}

.changing-text {
    transition: opacity 3s ease-in-out;
    position: absolute;
    width: calc(100% - 1em);
    /* "C"の幅を差し引く */
    text-align: center;
    /* テキストを中央揃え */
    top: 0;
    font-size: 140px;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
}

.image-max {
    width: 100%;
    height: auto;
}

.image-half {
    width: 50%;
    height: auto;
}

.image-center {
    display: block;
    margin: 0 auto;
}


#intro.section {
  padding-top: 0;
  padding-bottom: 0;
}


.spotlight-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: white;
  pointer-events: none;
  z-index: 4;
  transform: translate(-50%, -50%);
}

.hide-cursor {
  cursor: none !important;
}

.col2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.col2 .box {
  width: calc(50% - 20px);
}

h2.sec_ttl {
  font-size: 20px;
}

h2.sec_ttl em {
  font-size: 48px;
  display: block;
  margin-bottom: 20px;
}

.btn {
  margin-top: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border: 1px solid #555;
  border-radius: 9999px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  letter-spacing: 0.2em;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "ヒラギノ角ゴ ProN W3", sans-serif;
  position: relative;
  width: 220px;
  white-space: nowrap;
  transition: background 0.3s;
}

.btn-text {
  flex: 1;
}

.btn-bar {
  display: inline-block;
  width: 30px;
  height: 1px;
  background-color: #555;
  transition: width 0.3s ease, transform 0.3s ease;
}

/* Hover animation */
.btn:hover .btn-bar {
  width: 40px;
  transform: translateX(5px);
}

th.required:after {
  content:"※";
  color: #ff1264;
  margin-left: .5em;
  display: inline-block;
}

#intro {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #fff;

  /* マスク用の変数を親にセットして共有 */
  --r: 0px;
  --mx: 50%;
  --my: 50%;
}

/* 最背面：テキスト層 */
#intro .wrapper {
  position: absolute;
  inset: 0;
  z-index: 1; /* テキストは z=1 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 中間：暗幕（虫眼鏡の穴を開ける）*/
#intro .reveal-dimmer {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #282A2C;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s;
  mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my),
    transparent 0, transparent calc(var(--r) - 1px), black var(--r));
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my),
    transparent 0, transparent calc(var(--r) - 1px), black var(--r));
}
body.darkened-intro #intro .reveal-dimmer { opacity: 1; }

/* 最前面：ロゴ（常に見せたい） */
#intro .bg-logo {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: url(./assets/images/bg-logo.png) center no-repeat;
  background-size: auto;
  pointer-events: none;

  -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my),
    transparent var(--r), white calc(var(--r) + 1px));
  mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my),
    transparent var(--r), white calc(var(--r) + 1px));
}

/* darkened 中だけカーソル非表示（任意） */
body.darkened-intro #intro { cursor: none; }

#intro .site-message {
  color: #fff;
  width: 100%;
  line-height: 1.8;
  font-size: clamp(16px, 2.2vw, 22px);
}

#intro .site-message p {
  color: #282A2C;
  font-size: 24px;
  text-align: center;
  font-weight: bold;
  opacity: 0;
  transition: .5s;
}

body.darkened-intro #intro .site-message p {
  opacity: 1;
}
#philosophy {
  background-color: #FFF;
}

#business {
}

#company {
  background-color: #FFF;
}

#recruit {
  position: relative;
  overflow-x: hidden;
}

#news {
  background-color: #FFF;
}

#philosophy,
#business,
#company,
#recruit,
#news {
  height: 100vh;
  display: flex;
  align-items: center;
  width: 100%;
  background-color: #fff;       /* 初期背景は色で指定 */
  color: #333;                   /* 初期文字色 */
  transition: background-color .5s ease, color .5s ease;
}

/* 走る帯 */
.b_scroll{
  position:absolute; top:0; left:0;
  width:200%;                 /* 2つ分の帯を横並び */
  display:flex; gap:4rem;     /* テキスト間の余白 */
  color:#D7DBDE;
  letter-spacing:.06em; pointer-events:none;
  animation: marquee var(--marquee-speed, 30s) linear infinite;
  /* 端のフェード（対応ブラウザ） */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.b_scroll.end {
  top:inherit;
  bottom: 0;
}

.b_scroll span{
  flex:0 0 auto;
  white-space:nowrap;
  font-size: clamp(48px, 10vw, 110px); /* スクショに近い大きさ */
  padding-inline:2rem;
}

/* 左へ半分だけ流す→2本が途切れなく循環 */
@keyframes marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* アニメ苦手な環境では止める */
@media (prefers-reduced-motion: reduce){
  .b_scroll{ animation: none; }
}
body.darkened-intro #philosophy,
body.darkened-intro #business,
body.darkened-intro #company,
body.darkened-intro #recruit,
body.darkened-intro #news {
  background: #282A2C;
  color: #FFF;
}

body.darkened-intro .btn {
  color: #FFF;
      border: 1px solid #FFF;
}

body.darkened-intro .btn-bar {
  background-color: #FFF;
}

.news_list {
  width: 100%;
}
.news_list li {
  padding: 20px 0;
  border-bottom: 1px solid #DCDCDC;
}

.news_list li:first-child {
  padding-top: 0;
}

.news_list li time {
  color: #999;
  font-size: 12px;
  display: inline-block;
}

.news_list li span {
  background-color: #999;
  color: #FFF;
  display: inline-block;
  margin-left: 1em;
  font-size: 10px;
  padding: 2px 5px;
}

.news_list li div {
  margin-bottom: 10px;
}

.news_list li a {
  font-size: 16px;
  color :#333;
  text-decoration: none;
}

footer {
  padding: 160px 0;
  background: #282A2C;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  box-sizing: border-box;
}

.flex {
  display: flex;
  justify-content: space-between;
}

footer .l_box {
  max-width: 40%;
}

footer .l_box .logo {
  display: block;
  margin-bottom: 60px;
}

footer .l_box .address {
  display: block;
  font-size: 12px;
  color: #FFF;
  margin-bottom: 30px;
}

footer .l_box .address:last-of-type {
  margin-bottom: 60px;
}

footer ul {
  display: flex;
  gap: 30px;
  justify-content: flex-end;
}

footer a {
  font-size: 16px;
  color: #FFF;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
}

.copyright {
  margin-top: 80px;
  padding: 80px 0 0px;
  border-top: 1px solid #DCDCDC;
}

.copyright span {
  font-size: 10px;
  text-align: right;
  color: #FFF;
  margin: 0 0 0 auto;
  display: flex;
  justify-content: end;
}

#scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  font-size: 24px;
  background-color: #AAA;
  color: #000;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 999;
}

#scroll-top-btn::before {
  font-family: "Font Awesome 5 Free";
  content: "\f106";

  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-weight: bold;
}

#scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
}


.sub-key {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
}

.sub-key h2 {
  font-size: 48px;
}

.page {
  padding: 80px 0;
}

.page h2 {
  border-bottom: 1px solid #DCDCDC;
  padding-bottom: 15px;
  margin-bottom: 30px;
  font-weight: bold;
  font-size: 32px;
  line-height: 2;
}

.breadcrumbs {
  padding: 10px 2.5vw;
  font-size: 12px;
  background-color: #282A2C;
  color: #FFF;
}

.breadcrumbs a {
  color: #FFF;
}

table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: #333;
  background-color: #f9f9f9;
  box-sizing: border-box;
}

table th,
table td {
  text-align: left;
  padding: 14px 20px;
  vertical-align: top;

  box-sizing: border-box;
}

table th {
  width: 180px;
  font-weight: 600;
  color: #FFF;
  background-color: #282A2C;
  border-right: 1px solid #ddd;
}

table td {
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

input,
textarea {
  border: 1px solid #AAA;
  width: 100%;
  display: block;
  max-width: 100%;
  padding: .5em;
  box-sizing: border-box;
}

input[type="checkbox" i] {
  width: auto;
  display: inline-block;
}


input[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border: 1px solid #555;
  border-radius: 9999px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  letter-spacing: 0.2em;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "ヒラギノ角ゴ ProN W3", sans-serif;
  position: relative;
  max-width: 320px;
  white-space: nowrap;
  transition: background 0.3s;
  text-align: center;
  margin: auto;
  background-color: #FFF;
  cursor: pointer;
}

.form-check p {
  width: 100%;
  margin: 30px 0;
  text-align: center;
}

:root{
  --ink:#333;         /* 文字色 */
  --mute:#111827;        /* 補助文字 */
  --brand:#111827;       /* アクセント（必要に応じて変更） */
  --line:#DCDCDC;        /* 罫線色 */
  --soft:#f8fafc;        /* 薄い背景 */
  --note:#fffbeb;        /* 注意ボックス背景 */
  --note-line:#fde68a;
}

/* 余白の基本 */
.entry-content > *:first-child{margin-top:0}
.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content table,
.entry-content pre,
.entry-content blockquote{margin:1.1em 0}

/* --- 見出し --- */
.entry-content h2{
  font-size:24px;
  margin:2.2rem 0 1rem;
  padding:.2rem .8rem .35rem 1rem;
  border-left:6px solid var(--brand);
  background:linear-gradient(90deg,rgba(17,24,39,.06),transparent 60%);
  letter-spacing:.02em;
}
.entry-content h3{
  font-size:18px;
  margin:1.8rem 0 .8rem;
  padding-bottom:.35rem;
  border-bottom:2px solid var(--line);
  font-weight: bold;
}
.entry-content h4{
  font-size:1.15rem;
  margin:1.4rem 0 .6rem;
  color:var(--brand);
}

/* --- 段落・リード --- */
.entry-content .lead{
  font-size:32px;
  line-height:1.9;
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:12px;
  padding:1rem 1.2rem;
  text-align: center;
  font-weight: bold;
}

/* --- 箇条書き（ul/ol） --- */
.entry-content ul{list-style:none}
.entry-content ul li{
  position:relative;
  padding-left:.4em;
  margin:.75em 0;
  font-size: 14px;
  display: flex;
  align-items: center;
}
.entry-content ul li::before{
  font-family: "Font Awesome 5 Free";
  content: "\f00c";
  margin-right: .75em;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-weight: bold;
  line-height: 1;
}
.entry-content ol{padding-left:1.6em; counter-reset:sozo}
.entry-content ol li{
  counter-increment:sozo; margin:.45em 0; position:relative;
}
.entry-content ol li::marker{font-weight:700; color:var(--brand)}

/* --- 定義リスト：grid／線が途切れない安定版 --- */
.entry-content dl{
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr); /* 左固定/右可変 */
  column-gap: 0;          /* ← ここを0にするのが肝。線が切れない */
  row-gap: 0;             /* 行間もゼロにして連続ボーダーに */
  border-top: 1px solid var(--line);
  margin: 1.5rem 0;
}

.entry-content dt,
.entry-content dd{
  margin: 0;
  font-size: 14px;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line); /* 各セルに同じ線 */
  line-height: 1.7;
  align-self: stretch;     /* 行の高さを揃える（デフォルトでもOKだが明示） */
}

/* 見た目の“列余白”はパディングで確保（gapは使わない） */
.entry-content dt{
  padding-right: 1.0rem;
  font-weight: 700;
  color: #111;
  word-break: break-word;  /* 長い語も自然に折返し */
}
.entry-content dd{
  padding-left: 1.25rem;
  color: var(--ink);
}

.entry-content ul.no_flex li {
  display: block;
}

/* モバイル：縦積み。線はそのまま連続 */
@media (max-width: 720px){
  .entry-content dl{ grid-template-columns: 1fr; }
  .entry-content dt{ padding-right: 0; padding-bottom: .35rem; border-bottom: none; }
  .entry-content dd{ padding-left: 0; border-bottom: 1px solid var(--line); }
}

/* 見出し番号バッジ付き（h2） */
.entry-content .h-num{
  position: relative;
  padding-left: 3.2rem;                 /* バッジ分の左余白 */
  margin: 2.2rem 0 1rem;
  font-size: 24px;
  line-height: 1.35;
  border-bottom: 1px solid var(--line); /* 既存見出しの雰囲気に合わせて控えめ線 */
  padding-bottom: .6rem;
  background: none;                      /* 既存h2のグラデを無効化する場合 */
  border-left: none;                     /* 左線を無効化する場合 */
}

/* 数字バッジ本体（data-noから取得） */
.entry-content .h-num::before{
  content: attr(data-no);
  position: absolute;
  left: 0;
  top: 0px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--brand);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .04);
  line-height: 1.7;
}

/* サブキャッチ（引用風の短い一文） */
.entry-content .subcatch{
  margin: .5rem 0 1rem;
  color: var(--mute);
  font-weight: 600;
  font-size: 110%;
}



/* --- 引用 --- */
.entry-content blockquote{
  border-left:4px solid var(--brand);
  background:#f9fafb;
  padding:1rem 1.2rem; color:#111; border-radius:8px;
}

/* --- テーブル --- */
.entry-content table{width:100%; border-collapse:separate; border-spacing:0; border:1px solid var(--line); border-radius:10px; overflow:hidden}
.entry-content th, .entry-content td{padding:.75rem .9rem; border-bottom:1px solid var(--line); vertical-align:top}
.entry-content thead th{background:var(--soft); font-weight:700}
.entry-content tbody tr:nth-child(odd){background:#fff}
.entry-content tbody tr:nth-child(even){background:#fcfdff}

/* --- 画像／キャプション --- */
.entry-content img{max-width:100%; height:auto; border-radius:12px}
.entry-content figure{margin:1.2rem 0}
.entry-content figcaption{font-size:.9rem; color:var(--mute); text-align:center; margin-top:.4rem}

/* --- 区切り線 & コード --- */
.entry-content hr{border:0; height:1px; background:var(--line); margin:2rem 0}
.entry-content code{font-family:ui-monospace, Menlo, Consolas, monospace; background:#f3f4f6; padding:.15em .35em; border-radius:6px}
.entry-content pre{background:#0b1220; color:#e5eefc; padding:1rem 1.2rem; border-radius:10px; overflow:auto}

/* --- 注意/情報ボックス（任意） --- */
.entry-content .note{
  background:var(--note); border:1px solid var(--note-line);
  padding:1rem 1.1rem; border-radius:10px;
}
.entry-content .info{
  background:#eef6ff; border:1px solid #bfdbfe;
  padding:1rem 1.1rem; border-radius:10px;
}



/* --- 2カラムユーティリティ（必要な箇所だけHTMLで使う） --- */
.entry-content .grid-2{display:grid; gap:1.1rem; grid-template-columns:1fr}
@media(min-width:900px){ .entry-content .grid-2{grid-template-columns:1.1fr .9fr} }

/* Message 見出しを少し詰める */
.entry-content .message-title{
  margin: 2rem 0 .6rem;
}

/* Message 本体：薄背景＋左アクセント */
.entry-content .message-box{
  position: relative;
  border: 1px solid var(--line);
  border-left: 6px solid var(--brand);
  border-right: 6px solid var(--brand);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(17,24,39,.04), transparent 55%);
  padding: 1.2rem 1.2rem 1.2rem 1.3rem;
}
.entry-content .message-box p {
  margin: .7rem 0;
  font-style: italic;
}

/* 控えめな番号付きリスト（見出しではない数値表示） */
.entry-content .num-list{
  list-style: none;
  counter-reset: num;
  margin: 1rem 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.entry-content .num-list > li{
  counter-increment: num;
  display: flex;                 /* 横並びで安定配置 */
  gap: .8rem;
  align-items: center;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}

/* 左の“数字カラム”— 円や枠なし、控えめに */
.entry-content .num-list > li::before{
  content: counter(num, decimal-leading-zero); /* 01, 02, 03… */
  flex: 0 0 2.6rem;            /* 数字カラム幅 */
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1; /* 桁揃え */
  color: var(--mute);
  font-weight: 600;
  line-height: 1.6;
  opacity: .85;                /* さらに控えめに */
}

/* タイトル/本文の整え */
.entry-content .num-list .num-title{
  min-width: 240px;
  font-weight: 700;
  line-height: 1.6;
}

/* モバイルでも崩れにくい（幅が足りなければ自動折返し） */
@media (max-width: 480px){
  .entry-content .num-list > li::before{ flex-basis: 2.2rem; }
}


.btn_flex {
  gap: 20px;
  display: flex;
  justify-content: center;
}

input[type="radio" i]  {
  width: auto;
    display: inline-block;
}

.biz-slider {
  margin-top: 40px;
}

/* 余白調整（Slickの左右にパディング） */
.biz-slider .slick-list{ margin: 0 -18px; }
.biz-slider .slick-slide{ padding: 0 18px; }

/* カード */
.biz-card{
  display: block;
  color: inherit; text-decoration: none;
}
.biz-thumb{
  aspect-ratio: 16/9; overflow: hidden; border-radius: 6px;
  background: #eee;
}
.biz-thumb img{
  width: 100%; height: 100%; object-fit: cover; display:block;
  transform: scale(1.02); transition: transform .4s ease;
}
.biz-card:hover .biz-thumb img{ transform: scale(1.06); }

.biz-title{
  margin: .9rem 0 .6rem;
  font-size: 16px; font-weight: 700; letter-spacing: .02em;
}

/* “LEARN MORE”＋細い線 */
.learn{
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing:.12em; color: #333; opacity:.9;
}
.learn i{
  display:inline-block; width: 42px; height: 2px; background:#bbb;
  transition: width .25s ease, background .25s ease, transform .25s ease;
}
.biz-card:hover .learn i{ width: 60px; background:#111; transform: translateX(2px); }

/* ドットを細いバーに */
.biz-slider .slick-dots{ display:flex!important; gap: 14px; justify-content:center; margin: 18px 0 0; }
.biz-slider .slick-dots li{ width:auto; height:auto; margin:0; }
.biz-slider .slick-dots li button{ padding:0; width:40px; height:2px; }
.biz-slider .slick-dots li button:before{
  content:""; width:40px; height:2px; display:block;
  background:#cfd3d8; opacity:1; border-radius:2px;
}
.biz-slider .slick-dots li.slick-active button:before{
  background:#111; 
}

/* レスポンシブ */
@media (max-width: 1024px){
  .biz-slider .slick-list{ margin:0 -14px; }
  .biz-slider .slick-slide{ padding:0 14px; }
}
@media (max-width: 640px){
  .biz-title{ font-size: 15px; }
  .learn i{ width:36px; }
}


/* スマホ用のスタイル */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        display: block;
        margin: 0;
    }

    nav > ul#nav-links.show {
        display: flex;
        visibility: visible;
        opacity: 1;
        color: #333;
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        border-radius: 0;
        margin: auto;
    }

    nav > ul#nav-links.show li {
      opacity: 1;
    }

    #nav-links .sub {
      position: inherit;
      display: block;
      border-radius: 0;
      border: none;
      box-shadow: inherit;
      z-index: auto;
      opacity: 1;
      visibility: visible;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: none;
    }

    #nav-links .sub li {
      transform: translateY(0px);
    }

    .content-80-area {
        height: 95%;
        width: 95%;
    }

    .content-60-area{
        height: 90%;
        width: 90%;
    }

    .col2 {
      gap: 40px;
    }

    .col2 .box {
      width: 100%;
    }

    .flex {
      flex-wrap: wrap;
    }

    .flex .l_box {
      width: 100%;
      max-width: inherit;
    }

    .flex ul {
      width: 100%;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      margin-bottom: 60px;
    }

    .flex ul li {
      width: 45%;
    }

    footer {
      padding: 80px 0;
    }

    .wrapper {
      padding: 0 5.625vw;
      box-sizing: border-box;
    }

    .copyright {
      margin-top: 40px;
      padding: 40px 0 40px;
    }

    #scroll-top-btn {
      bottom: 15px;
      right: 15px;
    }

    .top-message {
      padding-left: 5.625vw;
    }

    .main-text {
      font-size: 54px;
    }

    .sub-text {
      font-size: 20px;
    }

    #intro p {
      font-size: 24px;
      top: 25%;
      position: inherit;
    }

    .spotlight-mask {
      position: inherit;
      display: none;
    }
    nav ul {
       flex-direction: column;
       position: fixed;
       top: 0;
       right: 0;
       width: 100%;
       height: 100%;
       background-color: #f6f8f9;
       padding-top: 100px;
       z-index: 1000;
       opacity: 0;
       visibility: hidden;
       transform: translateX(50px);
       transition: opacity 0.4s ease, transform 0.4s ease;
     }

     body.menu-open nav ul {
       opacity: 1;
       visibility: visible;
       transform: translateX(0);
     }

     nav ul li {
       margin: 20px 0;
       text-align: center;
       opacity: 0;
       transform: translateY(20px);
       transition: all 0.3s ease;
     }

     body.menu-open nav ul li {
       opacity: 1;
       transform: translateY(0);
     }


      header {

            box-sizing: border-box;
      }


     .menu-icon {
       display: block;
     }

    body.menu-open #nav-links {
      margin: auto; */
    box-sizing: border-box;
    border-radius: 0;
    }


  table,
  table tbody,
  table tr,
  table th,
  table td {
    display: block;
    width: 100%;
  }

  table th {
    background-color: #333;
    color: #fff;
    font-weight: bold;
    padding: 10px 15px;
    font-size: 14px;
    border: none;
    margin-top: 10px;
  }

  table td {
    background-color: #fff;
    padding: 10px 15px;
    font-size: 15px;
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
  }

  table tr {
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
  }

  .sub-key {
    padding: 120px 0 80px;
  }

  .sub-key h2 {
    font-size: 36px;
  }

  .page h2 {
    font-size: 24px;
  }

  .page {
    padding: 50px 0;
  }

  .btn_flex  {
    flex-wrap: wrap;
  }

  .btn_flex .btn {
    margin-top: 20px;
  }

  .entry-content .lead {
    font-size: 24px;
  }

  .entry-content h2,
  .entry-content .h-num {
    font-size: 20px;
  }

  .entry-content .num-list .num-title {
    min-width: 80px;
  }

  .changing-text {
    font-size: 48px;
  }

  #intro .site-message p {
    font-size: 16px;
  }

  footer #nav-links .sub {
    display: none;
  }
}
