
:root {
  --dea-night: #06101b;
  --dea-night-2: #091827;
  --dea-ivory: #f1eee6;
  --dea-muted: rgba(241, 238, 230, .54);
  --dea-dim: rgba(241, 238, 230, .28);
  --dea-line: rgba(195, 207, 221, .13);
  --dea-orange: #d96f3d;
}

/* =========================================================
   COCOON CLEANUP / SUPPORTED CATEGORY ONLY
   ========================================================= */

body.dea-active {
  background: var(--dea-night) !important;
}

body.dea-active #header-container,
body.dea-active #navi,
body.dea-active #breadcrumb,
body.dea-active .breadcrumb,
body.dea-active #footer-container,
body.dea-active #footer,
body.dea-active footer.footer {
  display: none !important;
}

body.dea-active #container,
body.dea-active .container,
body.dea-active #content,
body.dea-active #content-in,
body.dea-active .content,
body.dea-active .content-in,
body.dea-active #main,
body.dea-active main.main {
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html:has(body.dea-active),
body.dea-active {
  overflow-x: clip !important;
}

/* =========================================================
   BASE
   ========================================================= */

.dea,
.dea * {
  box-sizing: border-box;
}

.dea {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: var(--dea-night);
  color: var(--dea-ivory);
}

.dea a {
  color: inherit;
}

/* =========================================================
   HERO
   ========================================================= */

.dea-hero {
  min-height: 88vh;
  padding: 48px max(40px, calc((100% - 1740px) / 2)) 46px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    radial-gradient(circle at 82% 24%, rgba(29, 70, 123, .20), transparent 34%),
    linear-gradient(145deg, #020822 0%, #061128 50%, #102238 100%);
  border-bottom: 1px solid var(--dea-line);
}

.dea-hero__topline,
.dea-hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(241, 238, 230, .60);
  font: 600 8px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: .23em;
}

.dea-hero__topline a,
.dea-hero__foot a {
  text-decoration: none;
}

.dea-hero__body {
  align-self: center;
  width: min(1220px, 100%);
  padding: 60px 0 48px;
}

.dea-hero__eyebrow {
  margin: 0 0 28px;
  color: var(--dea-orange);
  font: 600 8px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .22em;
}

.dea-hero__index {
  margin: 0 0 4px;
  color: rgba(217, 111, 61, .66);
  font: 400 clamp(32px, 3.2vw, 56px)/1 Georgia, serif;
}

.dea-hero__title {
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--dea-ivory) !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(52px, 6.1vw, 108px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .015em;
}

.dea-hero__title::before,
.dea-hero__title::after {
  display: none !important;
}

.dea-hero__headline {
  margin: 44px 0 0;
  color: rgba(241, 238, 230, .82);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(26px, 2.6vw, 46px);
  line-height: 1.55;
}

.dea-hero__description {
  max-width: 780px;
  margin: 34px 0 0;
  color: rgba(241, 238, 230, .52);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 15px;
  line-height: 2.1;
}

.dea-hero__foot {
  padding-top: 19px;
  border-top: 1px solid rgba(241, 238, 230, .14);
}

/* =========================================================
   3 ENTRANCES SWITCH
   ========================================================= */

.dea-entrances {
  width: min(calc(100% - 80px), 1500px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--dea-line);
}

.dea-entrances a {
  position: relative;
  min-width: 0;
  min-height: 110px;
  padding: 25px 28px 23px;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: end;
  gap: 16px;
  border-right: 1px solid var(--dea-line);
  text-decoration: none !important;
  transition: background .2s ease;
}

.dea-entrances a:last-child {
  border-right: 0;
}

.dea-entrances a:hover,
.dea-entrances a:focus,
.dea-entrances a.is-active {
  background: rgba(217, 111, 61, .04);
}

.dea-entrances a.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--dea-orange);
}

.dea-entrances span {
  color: var(--dea-orange);
  font: 600 7px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .10em;
}

.dea-entrances strong {
  min-width: 0;
  color: rgba(241, 238, 230, .78);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  font-weight: 400;
}

.dea-entrances small {
  color: rgba(241, 238, 230, .28);
  font: 600 7px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .14em;
}

/* =========================================================
   RECORDS
   ========================================================= */

.dea-main {
  width: min(calc(100% - 80px), 1500px);
  margin: 0 auto;
}

.dea-records__head {
  padding: 86px 0 26px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--dea-line);
}

.dea-records__head > div {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.dea-records__head span {
  color: var(--dea-orange);
  font: 600 8px/1 Arial, Helvetica, sans-serif;
}

.dea-records__head p {
  margin: 0;
  color: rgba(241, 238, 230, .34);
  font: 600 8px/1.5 Arial, Helvetica, sans-serif;
  letter-spacing: .17em;
}

.dea-records {
  padding-bottom: 20px;
}

.dea-record {
  margin: 0;
  border-bottom: 1px solid var(--dea-line);
}

.dea-record__link {
  position: relative;
  display: grid;
  grid-template-columns: 74px 150px minmax(0, 1fr) 36px;
  gap: 28px;
  align-items: start;
  padding: 48px 8px 46px 0;
  text-decoration: none !important;
  transition: background .2s ease, padding-left .2s ease;
}

.dea-record__link:hover,
.dea-record__link:focus {
  padding-left: 14px;
  background:
    linear-gradient(
      90deg,
      rgba(217,111,61,.04),
      rgba(217,111,61,0) 62%
    );
}

.dea-record__no {
  color: var(--dea-orange);
  font: 600 8px/1.3 Arial, Helvetica, sans-serif;
  letter-spacing: .08em;
}

.dea-record__date time {
  color: rgba(195, 207, 221, .50);
  font: 500 8px/1.3 Arial, Helvetica, sans-serif;
  letter-spacing: .10em;
}

.dea-record__content {
  min-width: 0;
}

.dea-record__content h2 {
  margin: -5px 0 17px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--dea-ivory) !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(23px, 2vw, 34px);
  font-weight: 400;
  line-height: 1.55;
}

.dea-record__content h2::before,
.dea-record__content h2::after {
  display: none !important;
}

.dea-record__content p {
  max-width: 820px;
  margin: 0;
  color: rgba(241, 238, 230, .44);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 13px;
  line-height: 1.95;
}

.dea-record__arrow {
  justify-self: end;
  color: rgba(241, 238, 230, .44);
  font-size: 18px;
  transition: color .2s ease, transform .2s ease;
}

.dea-record__link:hover .dea-record__arrow,
.dea-record__link:focus .dea-record__arrow {
  color: var(--dea-orange);
  transform: translate(2px, -2px);
}

/* =========================================================
   PAGINATION
   ========================================================= */

.dea-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1px;
  margin-top: 40px;
  border-top: 1px solid var(--dea-line);
  border-bottom: 1px solid var(--dea-line);
}

.dea-pagination .page-numbers {
  min-width: 52px;
  min-height: 52px;
  padding: 0 14px;
  display: inline-grid;
  place-items: center;
  border-right: 1px solid var(--dea-line);
  color: rgba(241, 238, 230, .48);
  text-decoration: none !important;
  font: 600 8px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .10em;
}

.dea-pagination .page-numbers.current {
  color: var(--dea-ivory);
  background: rgba(217,111,61,.08);
}

/* =========================================================
   EMPTY + NEXT
   ========================================================= */

.dea-empty {
  padding: 90px 0;
}

.dea-empty span {
  color: var(--dea-orange);
  font: 600 8px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .18em;
}

.dea-empty p {
  margin: 18px 0 0;
  color: rgba(241,238,230,.46);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.dea-next {
  padding: 108px 0 112px;
}

.dea-next > p {
  margin: 0 0 24px;
  color: var(--dea-orange);
  font: 600 8px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .20em;
}

.dea-next a {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 0 22px;
  border-top: 1px solid var(--dea-line);
  border-bottom: 1px solid var(--dea-line);
  text-decoration: none !important;
}

.dea-next a span {
  color: rgba(241,238,230,.34);
  font: 600 8px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .14em;
}

.dea-next a strong {
  color: var(--dea-ivory);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(26px, 2.7vw, 46px);
  font-weight: 400;
}

/* =========================================================
   FOOTER
   ========================================================= */

.dea-footer {
  border-top: 1px solid var(--dea-line);
  background: #050e18;
}

.dea-footer__inner {
  width: min(calc(100% - 80px), 1500px);
  margin: 0 auto;
  padding: 30px 0 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.dea-footer__brand {
  color: var(--dea-ivory) !important;
  text-decoration: none !important;
  font: 500 12px/1.3 Arial, Helvetica, sans-serif;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.dea-footer__brand::before {
  content: "";
  display: block;
  width: 27px;
  height: 1px;
  margin-bottom: 11px;
  background: var(--dea-orange);
}

.dea-footer__nav {
  display: flex;
  justify-content: flex-end;
  gap: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--dea-line);
}

.dea-footer__nav a {
  position: relative;
  padding: 0 17px;
  color: rgba(241,238,230,.66) !important;
  text-decoration: none !important;
  font: 500 8px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .16em;
}

.dea-footer__nav a:first-child {
  padding-left: 0;
}

.dea-footer__nav a:last-child {
  padding-right: 0;
}

.dea-footer__nav a + a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 14px;
  transform: translateY(-50%);
  background: rgba(241,238,230,.15);
}

.dea-footer__copy {
  margin: 9px 0 0;
  color: rgba(241,238,230,.36);
  text-align: right;
  font: 400 8px/1.5 Arial, Helvetica, sans-serif;
  letter-spacing: .08em;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .dea-entrances,
  .dea-main,
  .dea-footer__inner {
    width: calc(100% - 48px);
  }

  .dea-record__link {
    grid-template-columns: 54px 118px minmax(0, 1fr) 28px;
    gap: 20px;
  }
}

@media (max-width: 760px) {
  .dea-hero {
    min-height: 78vh;
    padding: 32px 22px 28px;
  }

  .dea-hero__topline,
  .dea-hero__foot {
    font-size: 7px;
    letter-spacing: .15em;
  }

  .dea-hero__body {
    padding: 48px 0 38px;
  }

  .dea-hero__title {
    font-size: clamp(46px, 14vw, 72px);
  }

  .dea-hero__headline {
    margin-top: 34px;
    font-size: 27px;
  }

  .dea-hero__description {
    font-size: 14px;
  }

  .dea-entrances,
  .dea-main,
  .dea-footer__inner {
    width: calc(100% - 40px);
  }

  .dea-entrances {
    grid-template-columns: 1fr;
  }

  .dea-entrances a {
    min-height: 76px;
    padding: 18px 4px;
    grid-template-columns: 28px 1fr auto;
    border-right: 0;
    border-bottom: 1px solid var(--dea-line);
  }

  .dea-records__head {
    padding-top: 62px;
    display: block;
  }

  .dea-records__head > p {
    margin-top: 14px;
  }

  .dea-record__link {
    grid-template-columns: 36px minmax(0, 1fr) 24px;
    gap: 12px;
    padding: 34px 0;
  }

  .dea-record__date {
    grid-column: 2;
    grid-row: 1;
  }

  .dea-record__content {
    grid-column: 2;
    grid-row: 2;
  }

  .dea-record__no {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .dea-record__arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .dea-record__content h2 {
    margin-top: 0;
    font-size: 24px;
  }

  .dea-next {
    padding: 78px 0 82px;
  }

  .dea-next a {
    align-items: start;
    flex-direction: column;
  }

  .dea-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dea-footer__nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .dea-footer__copy {
    text-align: left;
  }
}


/* =========================================================
   R1.0.1 / RECORD DENSITY + LONG TITLE SAFETY
   3カテゴリで記事数・タイトル長が違っても同じリズムを保つ。
   ========================================================= */

/* 共通: grid/flex内容が横幅を押し広げない */
.dea-hero *,
.dea-entrances *,
.dea-main *,
.dea-footer * {
  min-width: 0;
}

.dea-record__content h2 {
  max-width: 1120px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.dea-record__content p {
  max-width: 860px;
}

.dea-record__link {
  padding-top: 44px;
  padding-bottom: 42px;
}

/* 2件以下では記事一覧→NEXTの間を詰めて、間延びを防ぐ */
.dea-main.is-sparse .dea-records {
  padding-bottom: 0;
}

.dea-main.is-sparse .dea-next {
  padding-top: 72px;
  padding-bottom: 86px;
}

/* NEXTを大きくしても右端へ逃げない */
.dea-next a {
  min-width: 0;
}

.dea-next a strong {
  max-width: min(760px, 70%);
  text-align: right;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

/* 1500px以下の100%表示でタイトルが長い時も安定 */
@media (max-width: 1500px) {
  .dea-record__link {
    grid-template-columns: 60px 130px minmax(0, 1fr) 30px;
    gap: 22px;
  }

  .dea-record__content h2 {
    font-size: clamp(22px, 1.85vw, 31px);
  }

  .dea-record__content p {
    max-width: 760px;
  }
}

@media (max-width: 1100px) {
  .dea-record__content h2 {
    line-height: 1.48;
  }

  .dea-next a strong {
    max-width: 72%;
  }
}

@media (max-width: 760px) {
  .dea-record__content h2 {
    line-height: 1.48;
  }

  .dea-main.is-sparse .dea-next {
    padding-top: 58px;
    padding-bottom: 70px;
  }

  .dea-next a strong {
    max-width: 100%;
    text-align: left;
  }
}


/* =========================================================
   R1.0.2 / MOBILE LAYOUT LOCK
   後段のデスクトップ密度調整がスマホを上書きしないよう、
   最後にモバイル構造を確定する。
   ========================================================= */

@media (max-width: 760px) {
  .dea-main {
    width: calc(100% - 40px) !important;
  }

  .dea-record__link {
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr) 22px !important;
    grid-template-rows: auto auto !important;
    column-gap: 10px !important;
    row-gap: 18px !important;
    align-items: start !important;
    padding: 34px 0 36px !important;
  }

  .dea-record__no {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    align-self: start !important;
    padding-top: 2px;
  }

  .dea-record__date {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
  }

  .dea-record__content {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .dea-record__arrow {
    grid-column: 3 !important;
    grid-row: 1 / span 2 !important;
    justify-self: end !important;
    align-self: start !important;
  }

  .dea-record__content h2 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 15px !important;
    font-size: clamp(22px, 7.2vw, 29px) !important;
    line-height: 1.55 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .dea-record__content p {
    width: 100% !important;
    max-width: none !important;
    font-size: 12px !important;
    line-height: 1.9 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .dea-record__link:hover,
  .dea-record__link:focus {
    padding-left: 0 !important;
  }
}
