/*
Theme Name: theme-djn
*/

@charset "utf-8";

/* reset
------------------------------------------------ */
*,*::before,*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html,body {
  height: 100%;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,picture,video,canvas,svg {
  max-width: 100%;
  vertical-align: middle;
}

/* Add start by YNishihara_20230126
--------- */
img,picture,video,canvas,svg {
  height: auto;
}
/* Add end
--------- */

/* Add start by YNishihara_20250513
--------- */
table {
    /* padding: 1px; */
    border: 1px solid gray;
    margin: 10px;
	padding: 10px;
}

td {
    background: aliceblue;
}
--------- */

input,button,textarea,select {
  font: inherit;
}
p,h1,h2,h3,h4,h5,h6 {
  overflow-wrap: break-word;
}
h1,h2,h3,h4,h5,h6 {
  font-weight: normal;
}
ul,ol,li,dl,dt,dd {
  list-style: disc;
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  opacity: 0.7;
}
#root,#__next {
  isolation: isolate;
}

/* common
------------------------------------------------ */
:root {
  --main-color: #0099DB;
  --text-color: #141A36;
  --line-color: #e3e3e3;
  --category1-color: #D95579;
  --category2-color: #10B56F;
  --library-color: #8FCED1;
  --gradient1-color: #E5F4FB;
  --gradient2-color: #E7F7F0;
  --button-gradient1-color: #0099DB;
  --button-gradient2-color: #10B56F;
}
html {
  font-size: 62.5%;
}
body {
  font-size: 1.6rem;
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #fff;
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin: 0;
  color: var(--text-color);
}
.wrapper {
  position: relative;
  height: 100%;
}
a {
  color: var(--text-color);
}
@media screen and (min-width:851px) {
  .sp-content {
    display: none;
  }
}
@media screen and (max-width:850px) {
  body {
    font-size: 1.6rem;
	line-height: 1.6;
  }
  .pc-content {
    display: none;
  }
}

/* header
------------------------------------------------ */
.header {
  width: 100%;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 997;
}
.header__inner {
  height: 70px;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__logo {
  width: 160px;
}
.header__btn {
  display: flex;
  align-items: center;
}
.switch-lang {
  /*display: flex;*/
  display: none;
  position: relative;
  margin-left: 20px;
}
.switch-lang::after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  top: 25%;
  background-color: var(--line-color);
  width: 1px;
  height: 50%;
}
.switch-lang a {
  display: inline-block;
  font-size: 2.2rem;
  font-family: 'Anton', sans-serif;
  padding: 10px;
}
.switch-lang .active a,
.switch-lang a:hover {
  opacity: 0.6;
}

@media screen and (max-width:1000px) {
  .header__inner {
    height: 56px;
    padding: 0 3%;
  }
  .header__logo {
    width: 120px;
  }
  .switch-lang {
    position: absolute;
    right: 60px;
    top: 5px;
    z-index: 998;
    margin: 0;
  }
  .switch-lang a {
    font-size: 1.8rem;
  }
}

/* gnav
------------------------------------------------ */
.gnav {
  display: block;
  flex: 1;
  height: 100%;
}
.gnav__list {
  display: flex;
  justify-content: flex-end;
  height: 100%;
}
.gnav.active .gnav__list {
  display: block;
}
.gnav__list-item,
.gnav__list-item a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}
.gnav__list-item a {
  font-weight: bold;
  padding: 0 20px;
}
.gnav__list-item > a:hover {
  color: var(--main-color);
  opacity: 1;
}
.gnav__list > .gnav__list-item:last-of-type a {
  color: #fff;
  background-color: var(--text-color);
}
.gnav__list > .gnav__list-item:last-of-type a:hover {
  color: #fff;
  background-color: var(--main-color);
}
.page-index .gnav__list-item.gnav__list--index > a,
.page-delivery .gnav__list-item.gnav__list--service > a,
.page-consulting .gnav__list-item.gnav__list--service > a,
.page-direction .gnav__list-item.gnav__list--service > a,
.page-example .gnav__list-item.gnav__list--example > a,
.page-corporate .gnav__list-item.gnav__list--corporate > a,
.page-reason .gnav__list-item.gnav__list--reason > a,
.page-media .gnav__list-item.gnav__list--media > a,
.page-news .gnav__list-item.gnav__list--news > a,
.page-seminar .gnav__list-item.gnav__list--seminar > a,
.page-index .gnav__list-item.gnav__list--index > a {
  color: var(--main-color);
}
.gnav__button {
  display: none;
  position: absolute;
  right: 3%;
  top: 18px;
  z-index: 999;
  width: 30px;
  height: 20px;
}
.gnav__button span,
.gnav__button::before,
.gnav__button::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background-color: var(--main-color);
  transition: 0.4s all;
}
.gnav__button::before {
  top: 0;
}
.gnav__button::after {
  top: 100%;
}
.gnav.active .gnav__button span {
  opacity: 0;
}
.gnav.active .gnav__button::before {
  top: 50%;
  transform: rotate(-45deg);
}
.gnav.active .gnav__button::after {
  top: 50%;
  transform: rotate(45deg);
}
.gnav__sub-open {
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  width: 15%;
  height: 60px;
}
.gnav__sub-open span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.gnav__sub-open span::before,
.gnav__sub-open span::after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  background-color: var(--main-color);
  transform: translate(-50%,-50%);
  transition: 0.4s all;
}
.gnav__sub-open span::before {
  width: 18px;
  height: 2px;
}
.gnav__sub-open span::after {
  width: 2px;
  height: 18px;
}
.gnav__sub-open.active span::before {
  transform: translate(-50%,-50%) rotate(90deg);
  opacity: 0;
}
.gnav__sub-open.active span::after {
  transform: translate(-50%,-50%) rotate(90deg);
}
.gnav__sub-list {
  position: absolute;
  top: 100%;
  left: 0%;
  background-color: #fff;
  width: 300px;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: left top;
  transition: all .2s;
}
.gnav__sub-list li {
  height: 60px;
}
.gnav__sub-list li:not(:first-child) {
  border-top: 1px solid var(--line-color);
}
.gnav__sub-list li a {
  display: flex;
  align-items: center;
  position: relative;
  color: var(--text-color);
  font-size: 1.4rem;
}
.gnav__list--service .gnav__sub-list li:nth-of-type(1) a {
  color: var(--main-color);
}
.gnav__list--service .gnav__sub-list li:nth-of-type(2) a {
  color: var(--category1-color);
}
.gnav__list--service .gnav__sub-list li:nth-of-type(3) a {
  color: var(--category2-color);
}
.gnav__sub-list li a::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-top: 2px solid #bebebe;
  border-left: 2px solid #bebebe;
  transform: rotate(135deg);
  position: absolute;
  right: 15px;
  top: calc(50% - 5px);
}
@media screen and (min-width:1001px) {
  .gnav__list-item:hover .gnav__sub-list {
    opacity: 1;
    transform: scaleY(1);
  }
}
@media screen and (max-width:1000px) {
  .gnav__list {
    display: none;
    overflow-y: auto;
    position: absolute;
    left: 0;
    top: 56px;
    z-index: 998;
    background-color: #fff;
    width: 100%;
    height: calc( 100vh - 56px );
  }
  .gnav__list-item,
  .gnav__list-item a {
    display: block;
    height: auto;
  }
  .gnav__list-item a {
    border-top: 1px solid var(--line-color);
    height: 60px;
    padding: 20px;
  }
  .gnav__sub-open {
    display: block;
  }
  .gnav__sub-list {
    position: static;
    width: 100%;
    height: 0;
  }
  .gnav__sub-open.active + .gnav__sub-list {
    opacity: 1;
    height: 100%;
    transform: scaleY(1);
  }
  .gnav__sub-list li:not(:first-child) {
    border: 0;
  }
  .gnav__button {
    display: block;
  }
}


/* main
------------------------------------------------ */
.main {
  padding-top: 70px;
}
.section {
  padding: 80px 0;
}
.section-small {
  padding: 40px 0;
}
.main .section:nth-of-type(even) {
  background: linear-gradient(to right, var(--gradient1-color), var(--gradient2-color));
}
.section__title {
  font-size: 3.6rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5em;
}
.section__title small {
  display: block;
  color: #0099DB;
  font-size: 1.8rem;
  font-weight: bold;
  opacity: 0.5;
}
.section__inner {
  max-width: 1080px;
  width: 90%;
  margin: 0 auto;
}
.main .section:nth-of-type(even) .section__inner {
  background-color: #fff;
  padding: 40px 50px;
}
.page-title {
  position: relative;
  background: url(../img/corporate-kv.jpg) no-repeat center;
  background-size: cover;
  padding: 80px 0;
}
.page-title::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #000;
  opacity: 0.3;
  width: 100%;
  height: 100%;
}
.page-title h1 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 4.0rem;
  font-weight: bold;
  text-align: center;
}
.heading3 {
  font-size: 2.6rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.article + .article {
  margin-top: 40px;
}
p + p {
  margin-top: 20px;
}
@media screen and (max-width:768px) {
  .main {
    padding-top: 56px;
  }
  .section {
    padding: 40px 5%;
  }
  .section__inner {
    width: 100%;
  }
  .main .section:nth-of-type(even) .section__inner {
    padding: 20px;
  }
  .section__title {
    font-size: 2.2rem;
  }
  .section__title small {
    font-size: 1.4rem;
  }
  .page-title h1 {
    font-size: 2.4rem;
  }
  .heading3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  .article + .article {
    margin-top: 24px;
  }
}

/* grid
------------------------------------------------ */
.grid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.grid .grid__item {
}
.grid[data-col="2"] {
  gap: 30px 20px;
}
.grid[data-col="3"] {
  gap: 30px 20px;
}
.grid[data-col="4"] {
  gap: 30px 20px;
}
.grid[data-col="2"] .grid__item {
  width: calc(50% - 10px);
}
.grid[data-col="3"] .grid__item {
  width: calc(33.3% - 13.5px);
}
.grid[data-col="4"] .grid__item {
  width: calc(25% - 15px);
}
.grid .grid__item > a:first-child {
  display: block;
  height: 100%;
}
@media screen and (max-width:768px) {
  .grid[data-col="2"] .grid__item,
  .grid[data-col="3"] .grid__item,
  .grid[data-col="4"] .grid__item {
    width: 100%;
  }
}


/* grid（example）
------------------------------------------------ */
.grid-example .grid__item .image {
  position: relative;
  margin-bottom: 30px;
}
.grid-example .grid__item .image img {
  width: 100%;
  height: auto;
}
.grid-example .grid__item .image .meta {
  position: absolute;
  left: 0;
  bottom: 0;
  text-align: center;
  width: 100%;
  transform: translateY(50%);
}
.grid-example .grid__item .image .meta .label {
  display: inline-block;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  background-color: var(--text-color);
  border: 1px solid #fff;
  border-radius: 20px;
  padding: 8px 15px;
  margin: 0 2px;
}
.grid-example .grid__item .image .meta .label > span + span {
  border-left: 1px solid #fff;
  padding-left: 10px;
  margin-left: 10px;
}
@media screen and (max-width:768px) {
  .grid-example .grid__item .image .meta span {
    font-size: 1.2rem;
  }
}


/* table
------------------------------------------------ */
.table {
  border-collapse: collapse;
  border-top: 1px solid var(--line-color);
  width: 100%;
  margin: 20px 0;
}
.table th,
.table td {
  text-align: left;
  border-bottom: 1px solid var(--line-color);
  padding: 15px 20px;
}
.table th {
  background: linear-gradient(to right, var(--gradient1-color), var(--gradient2-color));
  width: 25%;
}
.table th .required {
  color: #c00;
  font-size: 1.4rem;
  margin-left: 10px;
}
@media screen and (max-width:768px) {
  .table th,
  .table td {
    display: block;
    width: 100%;
    padding: 10px 15px;
  }
  .table td {
    padding: 15px 0;
  }
}

/* input
------------------------------------------------ */
input[type="text"],
input[type="email"],
textarea,
select {
  border: 1px solid var(--line-color);
  border-radius: 5px;
  padding: 10px 16px;
}
input[type="text"][aria-invalid="true"],
input[type="email"][aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: #c00;
}
textarea {
  width: 100%;
}
@media screen and (max-width:768px) {
  input[type="text"],
  input[type="email"],
  textarea,
  select {
    width: 100%;
    padding: 10px;
  }
}


/* tab
------------------------------------------------ */
.tab {
  text-align: center;
  width: 100%;
}
.tab > li {
  display: inline-block;
  overflow: hidden;
  border: 1px solid var(--line-color);
  border-left: 0;
}
.tab > li:first-of-type {
  border-left: 1px solid var(--line-color);
  border-radius: 10px 0 0 10px;
}
.tab > li:last-of-type {
  border-radius: 0 10px 10px 0;
}
.tab > li a {
  display: block;
  color: #fff;
  background-color: var(--main-color);
  height: 100%;
  padding: 10px 30px;
}
.tab > li a.current {
  color: var(--text-color);
  font-weight: bold;
  background-color: #fff;
}
.tab-content > div {
  display: none;
}
.tab-content > div.current {
  display: block;
}
@media screen and (max-width:768px) {
  .tab li {
    border: 1px solid var(--line-color);
    border-top: 0;
    width: 100%;
  }
  .tab > li:first-of-type {
    border-top: 1px solid var(--line-color);
    border-radius: 10px 10px 0 0;
  }
  .tab > li:last-of-type {
    border-radius: 0 0 10px 10px;
  }
  .tab > li a {
    height: auto;
  }
}

/* button
------------------------------------------------ */
.button__area {
  text-align: center;
  margin: 40px 0;
}
.button {
  display: inline-block;
  cursor: pointer;
  color: #fff;
  /* background: linear-gradient(to right, var(--button-gradient1-color), var(--button-gradient2-color)); */
  background-color: var(--main-color);
  border-radius: 40px;
  border: 0;
  min-width: 360px;
  padding: 16px 0;
  transition: all 0.3s;
}
.button:hover {
  background-color: #1e6e90;
  opacity: 1;
}
.button.button__mail {
  font-size: 2.0rem;
}
.button.button__mail::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  background: url(assets/img/xicon-mail.png.pagespeed.ic.G0_X_RKDDS.png) no-repeat center;
  background-size: contain;
  width: 28px;
  height: 28px;
  margin-right: 1em;
}
a.link:hover {
  opacity: 1;
  color: var(--main-color);
}
a.arrow::after {
  content: '';
  display: inline-block;
  background-color: var(--text-color);
  width: 20px;
  height: 12px;
  margin-left: 12px;
  mask-image: url(./assets/img/arrow.svg);
  mask-repeat: no-repeat;
  mask-position: 0 0;
  mask-size: 60%;
  -webkit-mask-image: url(./assets/img/arrow.svg);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: 0 0;
  -webkit-mask-size: 60%;
  transition: all 0.2s;
}
a.link.arrow:hover::after {
  background-color: var(--main-color);
}

@media screen and (max-width:768px) {
  .button__area {
    margin: 20px 0;
  }
  .button {
    min-width: inherit;
    max-width: 360px;
    width: 100%;
    padding: 12px 0;
  }
  .button.button__mail {
    font-size: 1.4rem;
  }
  input[type="submit"] {
	-webkit-appearance: none;
  }
  a.arrow::after {
    margin-left: 6px;
  }
}

/* accordion
------------------------------------------------ */
.accordion .accordion__inner {
  overflow: hidden;
  height: 0;
}
.accordion.active .accordion__inner {
  height: auto;
}

/* pnavi
------------------------------------------------ */
.pnavi {
  text-align: center;
  margin-top: 30px;
}
.pnavi .page-numbers {
  display: inline-block;
  color: var(--text-color);
  font-family: 'Anton', sans-serif;
  background-color: #fff;
  padding: 5px 8px;
  margin: 0 5px;
}
.pnavi a.page-numbers:hover {
  color: var(--main-color);
}
.pnavi .page-numbers.prev,
.pnavi .page-numbers.next {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: transparent;
}
.pnavi .page-numbers.current {
  color: #fff;
  background-color: var(--main-color);
}


/* aside
------------------------------------------------ */
.aside {
  position: relative;
}
.aside::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: url(assets/img/xcontact-kv.jpg.pagespeed.ic.s4Xngd_Y5Q.jpg) no-repeat center;
  background-size: cover;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}
.aside .section__inner {
  background-color: #fff;
  padding: 40px;
}
.aside .block {
  display: flex;
  flex-wrap: wrap;
}
.aside .block + .block {
  border-top: 1px solid var(--line-color);
  padding-top: 30px;
  margin-top: 30px;
}
.aside .block__title {
  text-align: center;
  width: 50%;
}
.aside .block__title h3 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 30px;
}
.aside .block__title h3 small {
  display: block;
  color: var(--main-color);
  font-size: 1.6rem;
}
.aside .block__note {
  background-color: #f8f8f8;
  width: 50%;
  padding: 15px 20px;
}
.aside .block__note h4 {
  font-weight: bold;
}
.aside .block__note ul {
  margin-left: 24px;
}
.aside .block__note ul li {
  list-style: disc;
  margin: 10px 0;
}
.aside .block__flow {
  text-align: center;
  width: 90%;
  margin: 40px 5% 0;
}
@media screen and (max-width:768px) {
  .aside .section__inner {
    padding: 20px;
  }
  .aside .block__title,
  .aside .block__note {
    width: 100%;
  }
  .aside .block__title h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }
  .aside .block__title h3 small {
    font-size: 1.4rem;
  }
  .aside .block__note {
    margin-top: 15px;
  }
  .aside .block__flow {
    width: 100%;
    margin: 15px 0 0;
  }
}

/* footer
------------------------------------------------ */
.footer {
  color: #fff;
  background-color: #1F2145;
  padding: 60px 0;
}
.footer__inner {
  max-width: 1080px;
  margin: 0 auto;
}
.fnav .fnav__container {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.fnav .fnav__list {
  width: 33.3%;
}
.fnav .fnav__list li {
  margin: 15px 0;
}
.fnav .fnav__list li a {
  display: block;
  color: #fff;
  font-weight: bold;
}
.fnav .fnav__list li ul {
  margin-left: 15px;
}
.fnav .fnav__list li ul li {
  margin: 10px 0;
}
.fnav .fnav__list li ul li a {
  font-size: 1.4rem;
  font-weight: normal;
}
.fnav__sub {
  display: block;
  border-top: 1px solid #4C4D6A;
  padding-top: 0.8em;
}
.fnav__sub ul li {
  display: inline-block;
}
.fnav__sub ul li + li {
  margin-left: 1em;
}
.fnav__sub ul li a {
  color: #fff;
  font-size: 1.4rem;
}
.footer__copy {
  display: block;
  color: #fff;
  font-size: 1.4rem;
  text-align: center;
  margin-top: 2.5em;
}
.footer__logo {
  display: inline-block;
  vertical-align: bottom;
  margin-right: 10px;
}
.footer__copy p {
  display: inline;
}
@media screen and (max-width:768px) {
  .footer {
    padding: 30px;
  }
  .fnav .fnav__list {
    width: 100%;
    margin-top: -10px;
  }
  .fnav__sub {
    text-align: center;
  }
  .footer__copy p {
    display: block;
    margin-top: 10px;
  }
}

/* grecaptcha-badge
------------------------------------------------ */
.grecaptcha-badge {
  display: none !important;
}


/* 【修正版】記事内リストのスタイル調整 */
.section-news .section__inner ul.wp-block-list {
  padding-left: 0; /* リスト全体の左の余白を削除 */
}

/* li要素に直接スタイルを適用してドットを消し、行間を調整します */
.section-news .section__inner ul.wp-block-list > li {
  list-style: none;      /* ← この行でliタグのドットを直接非表示にします */
  margin-bottom: 1em;    /* 各リスト項目の下に余白を追加 */
}

/* 入れ子（内側）のリストに対するスタイル調整 */
.section-news .section__inner ul.wp-block-list ul.wp-block-list {
  margin-top: 0.75em;     /* 内側リストの上に余白を設ける */
  padding-left: 1.5em;    /* 内側リストを字下げ（インデント）する */
}

/* 【追記】ナビゲーションメニューのドットを非表示にする */
.gnav__list,
.gnav__sub-list {
  list-style: none; /* メインナビゲーションとサブナビゲーションのドットを非表示 */
}

.gnav__list li,
.gnav__sub-list li {
  list-style: none; /* 念のため、li要素にも直接適用されている可能性のあるドットを非表示 */
}

/* メインコンテンツのリストスタイル */
.section-news .section__inner ul.wp-block-list {
  padding-left: 0;
}

.section-news .section__inner ul.wp-block-list > li {
  list-style: none;
  margin-bottom: 1em;
}

.section-news .section__inner ul.wp-block-list ul.wp-block-list {
  margin-top: 0.75em;
  padding-left: 1.5em;
}

/* 【追記】ニュース記事一覧の項目のドットを非表示にする */
.entries .entries__item {
  list-style: none;
}


/* ================================================
   Menu fit override — 2026/5/15 グローバルメニュー再編で
   メニュー項目が増えたため、PC幅で改行・折返しが発生
   していたのを補正。
================================================ */
@media (min-width: 769px) {
  .gnav__list {
    flex-wrap: nowrap;
  }
  .gnav__list-item {
    flex-shrink: 0;
  }
  .gnav__list-item a {
    white-space: nowrap;
    padding: 0 12px;
    font-size: 13px;
    letter-spacing: 0.02em;
  }
  .gnav__list > .gnav__list-item:last-of-type a {
    padding: 0 18px;
  }
}
@media (min-width: 1280px) {
  .gnav__list-item a {
    padding: 0 14px;
    font-size: 14px;
  }
}

/* ============================================================
   .dj-article — directoryjapan.jp 記事ページ用 共通スタイル
   2026-05-15 ノウハウ・ニュース記事の v2 リッチデザイン用CSS
   single.php が dj-article 検出時に専用レイアウトで表示
   元ファイル: Google Drive / コンテンツ / ニュース・ノウハウ記事 / 20260515 / ノウハウ_AI-HITL5モデル_v2.html
   ============================================================ */

/* ============================================================
   .dj-article — directoryjapan.jp 記事ページ用 共通スタイル
   ニュース / ノウハウ記事 共有。WordPress theme-djn の single.php へ移植可能。
   （ニュース_AI-HITL5リリース_v2.html と完全に同じCSS）
   ============================================================ */
:root {
  --dj-ink: #0B1B2B;
  --dj-ink-2: #1F3147;
  --dj-ink-3: #4B5C74;
  --dj-ink-4: #7C8BA0;
  --dj-line: #E4E6EB;
  --dj-line-2: #EEF0F4;
  --dj-paper: #FBFAF7;
  --dj-paper-2: #F4F1EB;
  --dj-paper-3: #EEEAE1;
  --dj-navy: #0B2545;
  --dj-navy-2: #143A6B;
  --dj-gold: #B08742;
  --dj-gold-2: #D8B86A;
  --dj-red: #B23A48;
  --dj-en: 'Inter', sans-serif;
  --dj-jp: 'Noto Sans JP', sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--dj-jp);
  color: var(--dj-ink);
  background: var(--dj-paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.85;
}

.dj-article a {
  color: var(--dj-navy);
  text-decoration: underline;
  text-decoration-color: var(--dj-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s;
}
.dj-article a:hover { color: var(--dj-gold); }

.dj-article__container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

.dj-progress {
  position: sticky;
  top: 0;
  left: 0;
  height: 3px;
  z-index: 50;
}
.dj-progress::after {
  content: "";
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--dj-gold), var(--dj-gold-2));
  width: var(--p, 0%);
  transition: width 0.1s ease;
}

.dj-article__breadcrumb {
  font-family: var(--dj-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--dj-ink-4);
  padding: 32px 0 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}
.dj-article__breadcrumb a { color: var(--dj-ink-3); text-decoration: none; flex-shrink: 0; }
.dj-article__breadcrumb a:hover { color: var(--dj-gold); }
.dj-article__breadcrumb .sep { margin: 0 8px; opacity: 0.5; flex-shrink: 0; }
.dj-article__breadcrumb > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 auto;
}

.dj-article__hero { padding: 32px 0 48px; border-bottom: 1px solid var(--dj-line); }
.dj-article__cat {
  display: inline-block;
  font-family: var(--dj-en);
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: #fff;
  background: var(--dj-navy);
  padding: 6px 14px;
  border-radius: 3px;
  margin-bottom: 24px;
}
.dj-article__cat.is-howto { background: var(--dj-gold); }
.dj-article__title {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--dj-navy);
  letter-spacing: -0.005em;
  margin: 0 0 24px;
}
.dj-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 13px;
  align-items: baseline;
}
.dj-article__meta .item { display: inline-flex; align-items: baseline; gap: 8px; }
.dj-article__meta .label {
  font-family: var(--dj-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--dj-gold);
  text-transform: uppercase;
}
.dj-article__meta .value { font-size: 13px; color: var(--dj-ink-2); font-weight: 500; }

.dj-article__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  padding: 48px 0 72px;
}
.dj-article__layout.has-toc {
  grid-template-columns: minmax(0, 1fr) 240px;
}
.dj-article__body { max-width: 760px; min-width: 0; }
.dj-article__body.full { max-width: none; }

.dj-article__lead {
  font-size: 17px;
  line-height: 2;
  color: var(--dj-ink-2);
  margin: 0 0 36px;
  padding-bottom: 28px;
  border-bottom: 1px dashed var(--dj-line);
}
.dj-article__lead strong { color: var(--dj-navy); font-weight: 700; }

.dj-article__body p {
  font-size: 16px;
  line-height: 2;
  color: var(--dj-ink-2);
  margin: 0 0 24px;
}
.dj-article__body p:last-child { margin-bottom: 0; }
.dj-article__body strong {
  color: var(--dj-navy);
  font-weight: 700;
  background: linear-gradient(transparent 65%, rgba(216,184,106,0.28) 65%);
  padding: 0 1px;
}
.dj-article__body h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--dj-navy);
  margin: 72px 0 24px;
  padding: 6px 0 6px 18px;
  border-left: 4px solid var(--dj-gold);
  letter-spacing: -0.005em;
  scroll-margin-top: 24px;
}
.dj-article__body h2:first-child { margin-top: 0; }
.dj-article__body section { display: block; }
.dj-article__body section + section { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--dj-line); }
.dj-article__body section + section > h2:first-child { margin-top: 16px; }
.dj-article__body section > p:last-child,
.dj-article__body section > ul:last-child,
.dj-article__body section > ol:last-child { margin-bottom: 8px; }
.dj-article__body h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--dj-navy);
  margin: 36px 0 14px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.dj-article__body h3::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--dj-gold);
  border-radius: 1px;
  flex-shrink: 0;
  transform: translateY(-2px);
}

.dj-article__body ul,
.dj-article__body ol {
  margin: 16px 0 28px;
  padding: 0;
  list-style: none;
}
.dj-article__body ul li,
.dj-article__body ol li {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--dj-ink-2);
  padding: 6px 0 6px 26px;
  position: relative;
}
.dj-article__body ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 17px;
  width: 7px;
  height: 7px;
  background: var(--dj-gold);
  border-radius: 1px;
}
.dj-article__body ol { counter-reset: dj-ol; }
.dj-article__body ol li { counter-increment: dj-ol; padding-left: 38px; }
.dj-article__body ol li::before {
  content: counter(dj-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 7px;
  font-family: var(--dj-en);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--dj-gold);
}

.dj-callout {
  background: var(--dj-paper-2);
  border-left: 4px solid var(--dj-gold);
  padding: 22px 28px;
  margin: 32px 0;
  border-radius: 0 4px 4px 0;
}
.dj-callout .label {
  font-family: var(--dj-en);
  font-size: 10px;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--dj-gold);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.dj-callout p {
  font-size: 16px !important;
  line-height: 1.9 !important;
  margin: 0 !important;
  color: var(--dj-navy) !important;
}
.dj-callout p strong { background: none; color: var(--dj-navy); }

.dj-callout--dark {
  background: var(--dj-navy);
  border-left-color: var(--dj-gold-2);
}
.dj-callout--dark .label { color: var(--dj-gold-2); }
.dj-callout--dark p { color: rgba(255,255,255,0.92) !important; }
.dj-callout--dark p strong { color: var(--dj-gold-2); }

.dj-keycards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 16px 0 36px;
}
.dj-keycards__item {
  background: #fff;
  border: 1px solid var(--dj-line);
  border-top: 3px solid var(--dj-gold);
  border-radius: 4px;
  padding: 22px 22px 20px;
  transition: box-shadow 0.2s;
}
.dj-keycards__item:hover { box-shadow: 0 4px 24px rgba(11,37,69,0.06); }
.dj-keycards__item .n {
  font-family: var(--dj-en);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--dj-gold);
  font-weight: 700;
  margin-bottom: 10px;
}
.dj-keycards__item .t {
  font-size: 16px;
  font-weight: 700;
  color: var(--dj-navy);
  margin-bottom: 8px;
  line-height: 1.55;
}
.dj-keycards__item p {
  font-size: 13px !important;
  line-height: 1.8 !important;
  color: var(--dj-ink-3) !important;
  margin: 0 !important;
}

.dj-numlist {
  margin: 16px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: layer;
}
.dj-numlist__item {
  counter-increment: layer;
  background: #fff;
  border: 1px solid var(--dj-line);
  border-left: 3px solid var(--dj-gold);
  border-radius: 0 4px 4px 0;
  padding: 18px 24px 18px 84px;
  position: relative;
  transition: box-shadow 0.2s;
}
.dj-numlist__item:hover { box-shadow: 0 4px 18px rgba(11,37,69,0.06); }
.dj-numlist__item::before {
  content: "LAYER";
  position: absolute;
  left: 22px;
  top: 18px;
  font-family: var(--dj-en);
  font-size: 8px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--dj-ink-4);
}
.dj-numlist__item::after {
  content: counter(layer, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 30px;
  font-family: var(--dj-en);
  font-size: 24px;
  font-weight: 800;
  color: var(--dj-gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.dj-numlist__item .t {
  font-size: 16px;
  font-weight: 700;
  color: var(--dj-navy);
  margin-bottom: 6px;
  line-height: 1.5;
}
.dj-numlist__item p {
  font-size: 14px !important;
  line-height: 1.8 !important;
  color: var(--dj-ink-3) !important;
  margin: 0 !important;
}

.dj-article__toc {
  align-self: start;
  position: sticky;
  top: 28px;
  background: var(--dj-paper-2);
  border: 1px solid var(--dj-line);
  border-radius: 4px;
  padding: 22px 22px;
}
.dj-article__toc-label {
  font-family: var(--dj-en);
  font-size: 10px;
  letter-spacing: 0.26em;
  font-weight: 700;
  color: var(--dj-gold);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--dj-line);
}
.dj-article__toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.dj-article__toc li { counter-increment: toc; margin: 0; padding: 0; }
.dj-article__toc a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 6px;
  padding: 9px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--dj-ink-2);
  text-decoration: none;
  border-bottom: 1px dashed var(--dj-line);
}
.dj-article__toc li:last-child a { border-bottom: 0; }
.dj-article__toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--dj-en);
  font-size: 10px;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--dj-gold);
  padding-top: 2px;
}
.dj-article__toc a:hover { color: var(--dj-gold); }
.dj-article__toc a.is-active { color: var(--dj-navy); font-weight: 700; }
.dj-article__toc a.is-active::before { color: var(--dj-navy); }

.dj-article__footer-info {
  margin-top: 40px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--dj-line);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--dj-ink-3);
}
.dj-article__footer-info .h {
  font-family: var(--dj-en);
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--dj-gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.dj-article__footer-info .name { font-size: 15px; font-weight: 700; color: var(--dj-navy); margin-bottom: 6px; }

.dj-related {
  background: var(--dj-paper-2);
  padding: 72px 0;
  border-top: 1px solid var(--dj-line);
}
.dj-related__head { text-align: center; margin-bottom: 36px; }
.dj-related__eyebrow {
  font-family: var(--dj-en);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dj-gold);
  font-weight: 700;
  margin-bottom: 10px;
}
.dj-related__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dj-navy);
  margin: 0;
  letter-spacing: -0.005em;
}
.dj-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.dj-related__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--dj-line);
  border-top: 3px solid var(--dj-gold);
  border-radius: 4px;
  padding: 26px 24px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.15s;
}
.dj-related__card:hover {
  box-shadow: 0 6px 28px rgba(11,37,69,0.08);
  transform: translateY(-2px);
}
.dj-related__card .label {
  font-family: var(--dj-en);
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--dj-gold);
  margin-bottom: 10px;
}
.dj-related__card .title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dj-navy);
  line-height: 1.55;
  margin: 0 0 8px;
}
.dj-related__card .desc {
  font-size: 13px;
  color: var(--dj-ink-3);
  line-height: 1.8;
  margin: 0 0 14px;
  flex-grow: 1;
}
.dj-related__card .arrow {
  align-self: flex-start;
  font-family: var(--dj-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--dj-gold);
  letter-spacing: 0.08em;
}
.dj-related__card .arrow::after { content: " →"; }

.dj-cta {
  background: linear-gradient(135deg, #0A1F3C 0%, #0B2545 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dj-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(216,184,106,0.08), transparent 50%),
    radial-gradient(circle at 85% 50%, rgba(176,135,66,0.08), transparent 50%);
  pointer-events: none;
}
.dj-cta__container { max-width: 760px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.dj-cta__eyebrow {
  font-family: var(--dj-en);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dj-gold-2);
  font-weight: 700;
  margin-bottom: 14px;
}
.dj-cta h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.45;
}
.dj-cta h2 .em { color: var(--dj-gold-2); }
.dj-cta p {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  margin: 0 auto 32px;
  line-height: 1.9;
}
/* OLD .dj-cta__btn block removed 2026-06-08 — superseded by BEM block below at line ~1762 */
.dj-cta__trust {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
}
.dj-cta__trust .item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
}
.dj-cta__trust .item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--dj-gold-2); }
.dj-cta__trust .item b { color: var(--dj-gold-2); font-weight: 700; }

@media (max-width: 1024px) {
  .dj-article__layout.has-toc { grid-template-columns: 1fr; }
  .dj-article__toc { position: static; }
}
@media (max-width: 860px) {
  .dj-article__container { padding: 0 20px; }
  .dj-article__breadcrumb { padding: 22px 0 0; font-size: 10px; }
  .dj-article__hero { padding: 22px 0 32px; }
  .dj-article__layout { padding: 32px 0 56px; gap: 36px; }
  .dj-article__title { font-size: clamp(20px, 5.6vw, 26px); margin-bottom: 18px; }
  .dj-article__meta { gap: 14px 20px; font-size: 12px; }
  .dj-article__lead { font-size: 15.5px; padding-bottom: 22px; margin-bottom: 28px; line-height: 1.95; }
  .dj-article__body p { font-size: 15px; line-height: 1.95; }
  .dj-article__body h2 { font-size: 19px; margin: 56px 0 18px; padding-left: 14px; }
  .dj-article__body h3 { font-size: 16.5px; margin: 28px 0 12px; }
  .dj-article__body ul li, .dj-article__body ol li { font-size: 14.5px; }
  .dj-keycards { grid-template-columns: 1fr; }
  .dj-numlist__item { padding: 18px 22px 18px 72px; }
  .dj-related { padding: 48px 0; }
  .dj-related__grid { grid-template-columns: 1fr; gap: 12px; }
  .dj-cta { padding: 56px 0; }
  .dj-cta__container { padding: 0 20px; }
  .dj-cta__btn { padding: 14px 28px; font-size: 14.5px; }
  .dj-article__footer-info { padding: 20px 22px; font-size: 12.5px; }
}

/* ============================================================
   .dj-article list reset — 2026/5/15
   テーマ既定の ul/ol bullet と dj-article 独自のマーカーが
   重複していたのを補正。
============================================================ */
.dj-article ul,
.dj-article ol {
  list-style: none !important;
  padding-left: 0 !important;
}
.dj-article li {
  list-style: none !important;
}
.dj-article li::marker {
  content: none !important;
  display: none !important;
}
.dj-article__body ul,
.dj-article__body ol { padding-left: 0 !important; }

/* ============================================================
   dj-cta — BEM 命名で書かれた記事末尾 CTA セクション（2026-06-08 追加）
   記事 HTML 側は <aside class="dj-cta">…<div class="dj-cta__inner">…
   <h3 class="dj-cta__title">…<p class="dj-cta__lead">…
   <div class="dj-cta__actions"><a class="dj-cta__btn is-primary">…</a></div>
   ============================================================ */
.dj-cta__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 32px;
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.dj-cta__title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.5;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}
.dj-cta__lead {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255,255,255,0.88);
  margin: 0 0 28px;
}
.dj-cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.dj-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  color: var(--dj-gold-2);
  border: 1.5px solid var(--dj-gold-2);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}
.dj-cta__btn:hover {
  background: rgba(216,184,106,0.18);
  border-color: var(--dj-gold-2);
  color: #fff;
}
.dj-cta__btn.is-primary {
  background: var(--dj-gold);
  color: #fff;
  border-color: var(--dj-gold);
  box-shadow: 0 6px 18px rgba(176,135,66,0.30);
}
.dj-cta__btn.is-primary:hover {
  background: var(--dj-gold-2);
  border-color: var(--dj-gold-2);
  color: #fff;
}
.dj-cta__btn::after { content: ""; }
@media (max-width: 640px) {
  .dj-cta__inner { padding: 36px 20px; }
  .dj-cta__title { font-size: 22px; line-height: 1.45; }
  .dj-cta__lead { font-size: 14px; }
  .dj-cta__actions { flex-direction: column; gap: 12px; }
  .dj-cta__btn { width: 100%; justify-content: center; padding: 14px 24px; }
}

/* ============================================================
   HITL5 5層 dl/dt/dd 表示 (2026-06-08 構造整理版)
   実 DOM: <article class="dj-article"><div class="dj-article__main">...<dl>
   ※ メタ部 <dl class="dj-article__meta"> は除外（:not で限定）
   ============================================================ */
article.dj-article dl:not(.dj-article__meta),
.dj-article dl:not(.dj-article__meta),
.entry-content dl:not(.dj-article__meta) {
  margin: 28px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
article.dj-article dl:not(.dj-article__meta) dt,
.dj-article dl:not(.dj-article__meta) dt,
.entry-content dl:not(.dj-article__meta) dt {
  margin-top: 16px !important;
  padding: 14px 18px !important;
  background: #0B2545 !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  border-radius: 6px 6px 0 0 !important;
  border-left: 4px solid #B08742 !important;
  display: block !important;
  list-style: none !important;
}
article.dj-article dl:not(.dj-article__meta) dt strong,
.dj-article dl:not(.dj-article__meta) dt strong,
.entry-content dl:not(.dj-article__meta) dt strong {
  color: #D8B86A !important;
  font-weight: 700 !important;
}
article.dj-article dl:not(.dj-article__meta) dd,
.dj-article dl:not(.dj-article__meta) dd,
.entry-content dl:not(.dj-article__meta) dd {
  margin: 0 0 8px !important;
  padding: 16px 20px !important;
  background: #FBFAF7 !important;
  border: 1px solid #E5E8EC !important;
  border-top: none !important;
  border-radius: 0 0 6px 6px !important;
  line-height: 1.9 !important;
  font-size: 14px !important;
  color: #1F3147 !important;
  display: block !important;
}
article.dj-article dl:not(.dj-article__meta) dd strong,
.dj-article dl:not(.dj-article__meta) dd strong,
.entry-content dl:not(.dj-article__meta) dd strong {
  color: #0B2545 !important;
  font-weight: 700 !important;
  display: inline-block;
  min-width: 64px;
}
article.dj-article dl:not(.dj-article__meta) dd br,
.dj-article dl:not(.dj-article__meta) dd br,
.entry-content dl:not(.dj-article__meta) dd br {
  margin-bottom: 4px;
}
@media (max-width: 640px) {
  article.dj-article dl:not(.dj-article__meta) dt,
  .dj-article dl:not(.dj-article__meta) dt,
  .entry-content dl:not(.dj-article__meta) dt {
    padding: 12px 14px !important; font-size: 14px !important;
  }
  article.dj-article dl:not(.dj-article__meta) dd,
  .dj-article dl:not(.dj-article__meta) dd,
  .entry-content dl:not(.dj-article__meta) dd {
    padding: 14px 16px !important; font-size: 13.5px !important;
  }
}
