@charset "utf-8";

:root {
  --color-primary: #08287f;
  --color-secondary: #4c6cc3;
  --color-accent: #285ae1;
  --color-text: #333;
  --color-border: #e0e0e0;
  --color-border2: #ccc;
  --color-bg-light: #f8faff;
  --color-bg-blue: #8090bc;
  --color-bg-blue2: #285ae1;
  --color-highlight: #ffcac2;

}

/* ==========================================================================
   Header Upper v2
   ========================================================================== */
.l-header__upper--v2 {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 0;
  margin-bottom: 5px;
}

.l-header__utility--v2 {
  margin-left: auto;
}

.utility-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.utility-v2__item {
  display: flex;
  align-items: center;
}

.utility-v2__link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.utility-v2__link--english {
  color: #285ae1;
  font-size: 14px;
  font-weight: bold;
  gap: 6px;
  margin-right: 15px;
}

.utility-v2__link--english .arrow {
  font-size: 10px;
}

.utility-v2__link--english:hover {
  opacity: 0.8;
}

.utility-v2__link--search {
  width: 24px;
  height: 24px;
  margin-right: 5px;
}

.utility-v2__link--search img {
  width: 100%;
  height: auto;
}

.utility-v2__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 4px;
  color: #fff !important;
  font-size: 13px;
  text-decoration: none;
  transition: opacity 0.3s;
  gap: 6px;
}

.utility-v2__btn:hover {
  opacity: 0.8;
  text-decoration: none;
}

.utility-v2__btn img {
  width: 12px;
  height: auto;
  object-fit: contain;
}

.utility-v2__btn--ir {
  background-color: var(--color-secondary);
}

.utility-v2__btn--fp {
  background-color: var(--color-accent);
}

.utility-v2__btn--iris {
  background-color: var(--color-primary);
}

/* ==========================================================================
   Header Navigation Adjustments
   ========================================================================== */
@media screen and (min-width: 1100px), print {
  .c-logo {
    margin-top: 10px;
  }
  /* Adjust upper utility to prevent overflow */
  .l-header__upper--v2 {
    padding-top: 0px;
  }
  .l-header__utility--v2 {
    display: block;
    width: 100%;
    max-width: 100%;
  }
  .utility-v2 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px !important;
    margin-right: 20px;
    margin-top: 20px;
  }
  .utility-v2__btn {
    padding: 0 12px !important;
    font-size: 1.3rem !important;
    height: 34px !important;
    white-space: nowrap;
  }
  .utility-v2__link--english {
    margin-right: 20px !important;
    font-size: 1.5rem !important;
    white-space: nowrap;
  }

  /* Force 25% width on main nav items */
  .l-nav__main {
    width: 100%;
  }
  .c-nav {
    display: flex !important;
    width: 100% !important;
    justify-content: space-between !important;
  }
  .c-nav > .c-nav__item {
    flex: 1 1 25% !important;
    width: 25% !important;
    max-width: 25% !important;
    margin: 1.5rem 0 0 0;
  }
  .c-nav > .c-nav__item:last-child {
    border-right: none;
  }
  .c-nav > .c-nav__item > .c-nav__link,
  .c-nav > .c-nav__item > span.c-nav__link {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0 0 1.5rem 0 !important; /* override original padding */
  }

  .c-nav__item:not(:last-child) .c-nav__link::before {
    content: "";
    position: absolute;
    right: -1px;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 1px;
    background-color: #cccccc;
    z-index: 0;
  }
  /* 1. 自身の button が .is-active、または自身が .is-active の場合、自身のボーダーを消す */
  .c-nav__item:is(.is-active, :has(.is-active)) .c-nav__link::before,
  /* 2. 次の隣接 li 内に .is-active がある場合、自身のボーダー（⭐️の部分）を消す */
  .c-nav__item:has(+ .c-nav__item :is(.is-active, :has(.is-active))) .c-nav__link::before {
    display: none;
  }
}

/* Fix header stacking context so dropdown appears over page title */
.l-header {
  z-index: 1010 !important;
}

/* Mobile Adjustments */
@media screen and (max-width: 1099.98px) {
  .l-header__upper--v2 {
    justify-content: flex-start;
    padding: 10px 0;
  }
  .utility-v2 {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    margin: 1em 0;
  }

  /* Top Row (English & Search) */
  .utility-v2__item:nth-child(1),
  .utility-v2__item:nth-child(2) {
    order: 1;
  }
  
  /* Force line break before the 3rd item */
  .utility-v2::before {
    content: "";
    flex-basis: 100%;
    order: 2;
    display: block;
    height: 5px;
  }

  /* Bottom Row (The 3 Buttons) */
  .utility-v2__item:nth-child(n + 3) {
    order: 3;
    flex: 1 1 auto;
  }
  
  .utility-v2__btn {
    width: 100%;
    padding: 0 4px;
    font-size: 1.1rem; /* Smaller font to fit 1 line */
    height: 34px;
    text-align: center;
    letter-spacing: -0.5px;
  }

  .l-header__utility {
    height: auto !important; /* Fix overflow bug */
  }
}

/* ==========================================================================
   Top KV Layout Adjustments
   ========================================================================== */

.top-important__container, .l-section .border{
  border: 1px solid var(--color-border2) !important;
}
.top-kv-content__inner--v2 {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  padding: 40px;
}

.top-kv-left-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 66.6%;
  border-radius: 10px;
}

.top-kv-left-pane .top-kv-image-wrap {
  margin-bottom: 20px;
}

.top-kv__lead--v2 {
  text-align: center;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #333;
  font-weight: 500;
  margin-bottom: 30px;
  padding: 0 15px;
}

.top-kv-right-pane {
  flex: 0 0 33.3%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.top-kv-banner {
  display: flex;
  align-items: center;
  padding: 0px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.3s;
  color: #fff !important;
  gap: 24px;
  flex: 1;
}

.top-kv-banner:hover {
  opacity: 0.8;
}

.top-kv-banner--seminar {
  background-color: var(--color-secondary);
}

.top-kv-banner--fp {
  background-color: var(--color-accent);
}

.top-kv-banner__icon {
  flex: 0 0 90px;
  width: 90px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-kv-banner__icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.top-kv-banner__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.top-kv-right-pane a:visited{
  color: #fff !important;
}

.top-kv-banner__title {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 12px;
}

.top-kv-banner__desc {
  font-size: 1.6rem;
  line-height: 1.2;
}

/* Hide slick dots in this container if needed */
.top-kv-slider__page {
  display: none !important;
}

/* Mobile Adjustments for KV */
@media screen and (max-width: 1099.98px) {
  .top-kv-content__inner--v2 {
    flex-direction: column;
    padding: 20px 15px;
    gap: 30px;
  }

  .top-kv-left-pane {
    max-width: 100%;
    margin-bottom: 15px;
  }

  .top-kv-right-pane {
    flex: 1;
    width: 100%;
  }

  .top-kv__lead--v2 {
    font-size: 1.4rem;
    text-align: justify;
  }

  .top-kv-banner {
    padding: 15px !important;
  }

  .top-kv-banner__icon {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
  }

  .top-kv-banner__title {
    font-size: 1.6rem;
  }
  .top-kv-banner__title br {
    display: none;
  }

  .top-kv-banner__desc {
    font-size: 1.1rem;
  }
}

.top-kv-image {
  border: none;
  padding: 0;
}

.top-kv-left-pane {
  border: 1px solid #ccc;
}

.top-kv-image img {
  aspect-ratio: auto;
  margin: 50px auto 30px auto;
}

.top-business__container{
  margin-bottom: 3rem;
}
.top-business__container + ul.list li a{
  margin: 0;
  font-size: 1.8rem;
}
/* ==========================================================================
   Top Business Layout Adjustments
   ========================================================================== */
@media screen and (min-width: 768px) {
  .top-business__container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ==========================================================================
   Hamburger Menu Buttons Toggle
   ========================================================================== */
html:not(.is-active) .c-nav__button--close {
  display: none !important;
}
html.is-active .c-nav__button--open {
  display: none !important;
}

@media screen and (max-width: 1099.98px) {
  .c-nav__button--close.js-menu-close {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 2000;
    display: block;
  }
  .l-header__upper--v2 {
    background-color: transparent;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-bottom: none;
  }
  .l-header__utility--v2 {
    display: block;
  }
  .c-tabmenu-list__button {
    font-size: 1.4rem;
  }
}

/* ==========================================================================
   Tab Menu Vertical Border (Desktop)
   ========================================================================== */
@media screen and (min-width: 1100px), print {
  .c-tabmenu-list li {
    width: 25% !important;
    position: relative; /* 親要素として必要 */
  }
  .c-tabmenu-list__button {
    border-right: none !important;
  }
  .c-tabmenu-list__button.is-active {
    border-right: 1px solid #ccc !important;
  }
  /* liの後ろ半分に境界線（縦棒）を表示 */
  .c-tabmenu-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 1px;
    background-color: #cccccc;
    z-index: 1; /* ボタンの背景より上に */
  }
  /* アクティブなタブ自身、およびその「前」のタブの境界線を消す */
  .c-tabmenu-list li:has(.c-tabmenu-list__button.is-active)::after,
  .c-tabmenu-list li:has(+ li .c-tabmenu-list__button.is-active)::after {
    display: none;
  }
}

/* ==========================================================================
   Tab Menu 2x2 Grid on Mobile
   ========================================================================== */
   .c-tabmenu-list__button.is-active{
    border-bottom: none !important;
   }
@media screen and (max-width: 767.98px) {
  .top-business .c-tabmenu-list {
    flex-wrap: wrap;
  }
  .top-business .c-tabmenu-list li {
    width: 50%;
  }
  .top-business .c-tabmenu-list__button {
    height: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    font-size: 1.3rem;
    line-height: 1.3;
    border: 1px solid #ccc !important;
    border-radius: 0 !important;
    background-color: #f7f7f7;
    border-bottom-width: 0 !important;
  }
  
  /* Top Row */
  .top-business .c-tabmenu-list li:nth-child(odd) .c-tabmenu-list__button {
    border-right: none !important;
  }
  .top-business .c-tabmenu-list li:nth-child(1) .c-tabmenu-list__button {
    border-radius: 1rem 0 0 0 !important;
  }
  .top-business .c-tabmenu-list li:nth-child(2) .c-tabmenu-list__button {
    border-radius: 0 1rem 0 0 !important;
  }
  
  /* Bottom Row */
  .top-business .c-tabmenu-list li:nth-child(n+3) .c-tabmenu-list__button {
    border-bottom-width: 1px !important;
  }
  
  /* Active State overrides for Mobile */
  .top-business .c-tabmenu-list__button.is-active {
    background-color: #285AE1 !important;
    color: #fff !important;
    border-color: #285AE1 !important;
  }
}

/* Spacing Adjustments for Top Business */
.top-business__head,
.top-business__title,
.top-business__title p {
  margin: 0 !important;
}

.top-business__body {
  margin-top: 1.5rem;
}

@media screen and (min-width: 768px) {
  .top-business__body {
    margin-top: 2.5rem;
  }
}

/* ==========================================================================
   Sitemap Layout
   ========================================================================== */

.main li::before:not(.list-middle)  {
  top: 0.7em !important;
}

.sitemap {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 30px 0;
}

.sitemap__section {
  width: 100%;
}

.sitemap__heading {
  margin-bottom: 15px;
}

.sitemap__heading a {
  position: relative;
  padding-left: 20px;
  text-decoration: none;
  color: #08287f !important;
  font-size: 2rem;
  font-weight: 700;
  display: flex !important;
  align-items: center;
}

.sitemap__heading a::before {
  content: "▶" !important;
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: #285ae1 !important;
  font-size: 1.2rem;
  background: none !important;
  border: none !important;
  width: auto !important;
  height: auto !important;
}

.sitemap__list {
  background-color: #fff;
  border: 1px solid var(--color-border2);
  border-radius: 4px;
  padding: 25px 30px;
  display: flex;
  flex-wrap: wrap;
  list-style: none !important;
  margin: 0 0;
}

.sitemap__item {
  margin: 8px 35px 8px 0;
  position: relative;
  padding-left: 28px;
  list-style: none !important;
  margin-left: 20px;
}

.sitemap__item--indent {
  flex-basis: 100%;
}

.sitemap__item::before {
  content: "▶" !important;
  position: absolute;
  left: 0;
  top: 0.4em !important;
  color: #285ae1 !important;
  font-size: 1rem;
  background: none !important;
  border: none !important;
  width: auto !important;
  height: auto !important;
}

.sitemap__item a {
  text-decoration: none;
  color: #08287f !important;
  font-size: 1.6rem;
  font-weight: 700;
  transition: opacity 0.3s;
  display: inline-block;
}

.sitemap__item a:hover {
  text-decoration: none;
  opacity: 0.7;
}

/* Sublist refinement */
.sitemap__sublist {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 15px 0 5px 0 !important;
  padding: 15px 0 0 0 !important;
  border-top: 1px dashed #eee;
  list-style: none !important;
}

.sitemap__sublist .sitemap__item {
  margin: 5px 30px 5px 0;
  padding-left: 18px;
}

@media screen and (max-width: 767.98px) {
  .sitemap {
    gap: 20px;
  }
  .sitemap__list {
    flex-direction: column;
    padding: 15px;
  }
  .sitemap__item {
    margin-right: 0;
    margin-bottom: 12px;
  }
  .sitemap__item:last-child {
    margin-bottom: 0;
  }
  .sitemap__heading a {
    font-size: 1.8rem;
  }
}

/* --------------------------------

  Cookie等の利用について

-------------------------------- */

.cookie-policy {
  padding: 2rem;
  font-size: 1.4rem;
  background-color: #fff;
  border: 1px solid var(--color-border2);
  -webkit-font-feature-settings: "palt" 1;
          font-feature-settings: "palt" 1;
}

.cookie-policy h2 {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  font-size: 2rem;
  text-align: center;
  border-bottom: 1px solid #ccc;
}

.cookie-policy h3 {
  margin: 3rem 0 1rem;
  font-size: 1.8rem;
}

.cookie-policy h4 {
  margin: 2rem 0 1rem;
  line-height: 1.5;
  font-size: 1.6rem;
}

.cookie-policy p {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.cookie-policy a {
  color: #000;
  text-decoration: underline;
}

.cookie-policy a:hover {
  color: #333;
  text-decoration: none;
}

.cookie-policy ul {
  list-style-type: none;
}

.cookie-policy li {
  position: relative;
  padding-left: 1.1em;
}

.cookie-policy li::before {
  content: "●";
  display: inline-block;
  margin-right: .5em;
	margin-left: -1.5em;
  font-size: .7em;
}

.cookie-policy table {
  display: block;
  margin-top: 2rem;
}

.cookie-policy tbody,
.cookie-policy tr,
.cookie-policy th,
.cookie-policy td {
  display: block;
}

.cookie-policy tr:not(:last-child) {
  margin-bottom: .5rem;
}

.cookie-policy th,
.cookie-policy td {
  padding: 1rem 1.5rem;
}

.cookie-policy th {
  background-color: #f0f0f0;
}

.cookie-policy td {
  border-top: none;
  border: 1px solid #f0f0f0;
}

@media screen and (min-width: 768px), print {

  .cookie-policy {
    font-size: 1.6rem;
  }

  .cookie-policy h2 {
    margin-bottom: 3.5rem;
    padding-bottom: 2rem;
    font-size: 2.6rem;
  }

  .cookie-policy h3 {
    font-size: 2rem;
  }

  .cookie-policy h4 {
    font-size: 1.8rem;
  }

  .cookie-policy tr {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
  }

  .cookie-policy th,
  .cookie-policy td {
    display: table-cell;
    padding: 1.5rem 2rem;
  }

  .cookie-policy th {
    width: 30rem;
  }

  .cookie-policy td {
    border-top: 1px solid #f0f0f0;
  }

}


.wp-singular .c-inner ul li::before:not(.list-middle) {
    top: 10px !important;
}

.list-top li::before{
    top: 10px !important;
}


.wp-singular .c-inner .cookie-policy ul li::before {
    left: 1.5em !important;
}


.flex_img {
    display: flex;
    gap: 20px;
    margin: 1em 0;
}

@media screen and (max-width: 767.98px) {
    .flex_img {
        flex-direction: column;
    }
}

/* ==========================================================================
   Common Table Component
   ========================================================================== */
.c-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  -webkit-overflow-scrolling: touch;
}

.c-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.6rem;
  line-height: 1.5;
  border: 1px solid var(--color-border2);
}

.c-table th,
.c-table td {
  padding: 1.5rem;
  border: 1px solid var(--color-border2);
  text-align: left;
  vertical-align: middle;
}

.c-table th {
  background-color: var(--color-primary);
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.c-table thead th {
  text-align: center;
  background-color: #08287f;
}

.c-table th.time {
  width: 10%;
}

.c-table th.theme {
  width: 35%;
}

.c-table th.content {
  width: 55%;
}

.c-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

@media screen and (max-width: 767.98px) {
  .c-table th,
  .c-table td {
    padding: 1rem;
    font-size: 1.6rem;
  }


  /* Stacked table on mobile */
  .c-table--block thead {
    display: none;
  }
  .c-table--block tbody,
  .c-table--block tr,
  .c-table--block td {
    display: block;
    width: 100% !important;
  }
  /* .c-table--block tr {
    margin-bottom: 2rem;
  } */
  .c-table--block td {
    border: none;
    border-bottom: 1px solid var(--color-border2);
    text-align: left;
    position: relative;
    padding-top: 1rem;
  }
  .c-table--block td:first-child:not([data-label="講座名"]) {
    padding-top: 1em;
    background: #eee;
    border-top: 1px solid var(--color-border2);
  }
  .c-table--block td::before {
    content: attr(data-label);
    display: block;
    width: 100%;
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 1em;
    color: #08287f;
    box-sizing: border-box;
  }
  .c-table--block td[data-label="時間"]::before,
  .c-table--block td:not([data-label])::before {
    display: none !important;
  }
  .c-table--block td:not([data-label]) {
    padding-top: 1rem !important;
    background-color: #f8faff;
    font-weight: 700;
  }
  .c-table--block td:last-child {
    border-bottom: none;
  }
  .c-table--block td:empty {
    display: none !important;
  }
  .c-table--block th.text-center{
    text-align: left !important;
  }
    .c-table tbody tr:nth-child(even) {
    background-color: #fff;
  }
.row-label{
  text-align: left !important;
  color: #333 !important;
}
.row-label br{
  display: none;
}
}

/* List dot within table */
.list-dot {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}
.list-dot li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}
.list-dot li::before {
  content: "・";
  position: absolute;
  left: 0;
}
.list-dot li:last-child {
  margin-bottom: 0;
}


/* Curriculum Grid V2 (Supports stacking on mobile) */
.c-curriculum-v2 {
  display: flex;
  width: 100%;
  margin: 2rem 0;
  font-size: 1.6rem;
  line-height: 1.5;
}

.c-curriculum-v2__day {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e0e0e0;
}

.c-curriculum-v2__day:first-child {
  border-left: 1px solid #e0e0e0;
}

.c-curriculum-v2__header-top {
  background-color: var(--color-primary);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
}

.c-curriculum-v2__row {
  display: flex;
  flex: 1;
}

.c-curriculum-v2__col {
  padding: 2rem;
  border-bottom: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  box-sizing: border-box;
}

.c-curriculum-v2__header-sub {
  background-color: #08287f;
  color: #fff;
  font-weight: 700;
}

/* Widths: 20% of half = 10% of total */
.c-curriculum-v2__w-time { width: 20%; }
.c-curriculum-v2__w-content { width: 80%; }

.c-curriculum-v2__row--bg-grey {
  background-color: #f2f2f2 !important;
}

@media screen and (max-width: 767.98px) {
  .c-curriculum-v2 {
    flex-direction: column;
    font-size: 1.4rem;
  }
  .c-curriculum-v2__day {
    border-right: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
  }
  .c-curriculum-v2__day:not(:last-child) {
    margin-bottom: 2rem;
  }
  /* Restore right borders in mobile stack */
  .c-curriculum-v2__day .c-curriculum-v2__header-top,
  .c-curriculum-v2__day .c-curriculum-v2__col {
    border-right: 1px solid #e0e0e0;
  }
  .c-curriculum-v2__col {
    padding: 1rem;
  }
}


/* AFP Course Table
   ========================================================================== */
.c-table--afp thead th {
  background-color: var(--color-primary) !important;
  color: #fff !important;
  vertical-align: middle;
  padding: 1rem;
  font-size: 1.4rem;
}

.afp-row-head {
  background-color: #dbe5f1 !important;
  font-weight: 700;
  color: #333;
}

.afp-row-head td {
  padding: 0.8rem 1.5rem !important;
}

.afp-cell-web {
  background-color: #4f81bd !important;
  color: #fff !important;
  text-align: center;
  vertical-align: middle !important;
  font-weight: 700;
  width: 12%;
}

.afp-cell-text {
  background-color: #285ae1;
  color: #fff !important;
  text-align: center;
  vertical-align: middle !important;
  font-weight: 700;
  width: 12%;
}

.afp-cell-training { width: 35%; }
.afp-cell-exam { width: 25%; }
.afp-cell-price { width: 13%; }
.afp-cell-apply { width: 15%; }

/* AFP Buttons */
.afp-btn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.afp-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 40px;
  border-radius: 5px;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: opacity 0.3s;
}

.afp-btn:hover {
  opacity: 0.8;
}

.afp-btn--blue {
  background-color: #1e4a9e;
}

.afp-btn--red {
  background-color: #e60012;
}


.afp-btn-note {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.2rem;
}

/* Memo block */
.afp-memo {
  margin-top: 3rem;
  padding: 2rem;
  border: 1px solid var(--color-border2);
  background-color: #fff;
}

.afp-memo__title {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}


@media screen and (max-width: 767.98px) {
  .c-table--afp .afp-cell-web,
  .c-table--afp .afp-cell-text {
    width: 100%;
    padding: 1rem !important;
  }
  .afp-cell-web::before,
  .afp-cell-text::before{
    display: none !important;
  }
}

/* ==========================================================================
   Books Page Styles
   ========================================================================== */

.books-intro {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 4rem;
  color: #333;
}

.books-features {
  margin-bottom: 5rem;
}


.books-features__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.books-features__item {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
}

.books-features__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #333;
  border-radius: 50%;
  margin-right: 1.5rem;
  flex-shrink: 0;
  font-size: 1.6rem;
}

/* Books Grid */
.books-grid {
  display: flex;
  gap: 4rem;
  margin: 4rem 0;
}

.book-column {
  flex: 1;
  text-align: center;
}


.book-column__images {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.book-column__img-wrap {
  position: relative;
  padding: 1em 0;
}

.book-column__img {
  width: 100%;
  height: auto;
}

.book-column__labels {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.book-column__label {
  width: 160px;
}

.book-pdf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 3rem;
  border: 1px solid var(--color-border2);
  border-radius: 100px;
  color: #e60012 !important;
  font-weight: 700;
  font-size: 1.6rem;
  text-decoration: none;
  transition: all 0.3s;
  background-color: #fff;
}

.book-pdf-btn:hover {
  background-color: #f5f5f5;
  border-color: #999;
  text-decoration: none;
}

.book-pdf-btn img {
  width: 18px;
  height: auto;
  margin-right: 1rem;
}

@media screen and (max-width: 767.98px) {
  .books-grid {
    flex-direction: column;
    gap: 5rem;
  }
  
  .book-column__images {
    flex-wrap: wrap;
  }
  
  .book-column__labels {
    display: none;
  }
  
  .book-column__img-wrap {
    width: 45%;
  }
}

/* Table overrides for Books page */
.c-table--books th {
  background-color: #08287f !important;
  color: #fff !important;
}

.c-table--books .row-target {
  background-color: #fff;
  text-align: center;
  vertical-align: middle;
  font-weight: 700;
  width: 15%;
}

.c-table--books .row-type {
  text-align: left;
  padding: 1.5rem !important;
}

.c-table--books .row-price {
  text-align: center;
  vertical-align: middle;
  font-weight: 700;
  width: 20%;
}

.books-footer-apply {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.books-footer-apply span {
  font-size: 1.8rem;
  font-weight: 700;
}

/* ==========================================================================
   Series Page Styles
   ========================================================================== */

.series-section {
  margin-bottom: 6rem;
}

.series-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.badge-web {
  background-color: #08287f;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 30px;
}

.badge-text {
  background-color: #4c6cc3;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 2rem;
  display: inline-flex;
  align-items: center;

  justify-content: center;
  line-height: 1;
    margin-top: 40px;

}

.series-device-icon,
.series-mail-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 30px;
}

.series-device-icon img,
.series-mail-icon img {
  width: 80px;
  height: auto;
}

.series-device-icon .label,
.series-mail-icon .label {
  background-color: #000;
  color: #fff;
  padding: 2px 8px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 2px;
  letter-spacing: 0.1em;
}

.series-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
}

.series-intro {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: #333;
}

.c-table--series th {
  background-color: var(--color-primary) !important;
  color: #fff !important;
}

.c-table--series .row-label {
  background-color: var(--color-secondary);
  color: #fff;
  text-align: center;
  vertical-align: middle;
  font-weight: 700;
  width: 15%;
}

.c-table--series td {
  vertical-align: middle;
}

.series-note {
  font-size: 1.5rem;
  color: #333;
  margin: 1.5rem 0;
}

.series-footer-apply {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media screen and (max-width: 767.98px) {
  .series-header {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  
  .badge-web, .badge-text {
    width: auto;
    text-align: center;
    margin-top: 0;
  }

  .series-title {
    width: 100%;
    margin-top: 0 !important;
  }
  
  .series-device-icon,
  .series-mail-icon {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin-top: 0;
  }
}

/* ==========================================================================
   Solution Grid Table
   ========================================================================== */
.c-grid-table {
  border-top: 1px solid #ccc;
}
.c-grid-table__header {
  background-color: var(--color-primary);
}
@media screen and (min-width: 768px) {
  .c-grid-table__header-col:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
  }
}
.c-grid-table__row {
  border-bottom: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}
.c-grid-table__category {
  background-color: #f8f9fa;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
}
@media screen and (min-width: 768px) {
  .c-grid-table__category {
    border-right: 1px solid #ccc !important;
  }
}
.c-grid-table__content {
  background-color: #fff;
}
.c-grid-table__content li:last-child{
  margin-bottom: 0 !important;
}

.breadcrumb a:hover {
  text-decoration: none;
}

/* ==========================================================================
   IPO Stages Cards
   ========================================================================== */
.c-ipo-stages {
  display: flex;
  gap: 15px;
  padding: 0 30px;
}

.c-ipo-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border2);
  margin: 1em 0;
}

.c-ipo-card__header {
  padding: 1.5rem 1rem;
  color: #fff;
  text-align: center;
}

.c-ipo-card__header-en {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.c-ipo-card__header-ja {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
}

.c-ipo-card__body {
  flex: 1;
  background-color: #fff;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.c-ipo-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.c-ipo-card__list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 500;
}

.c-ipo-card__list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
}

.c-ipo-card--early .c-ipo-card__header { background-color: var(--color-secondary); }
.c-ipo-card--early .c-ipo-card__list li::before { color: var(--color-secondary); }

.c-ipo-card--middle .c-ipo-card__header { background-color: var(--color-accent); }
.c-ipo-card--middle .c-ipo-card__list li::before { color: var(--color-accent); }

.c-ipo-card--later .c-ipo-card__header { background-color: var(--color-primary); }
.c-ipo-card--later .c-ipo-card__list li::before { color: var(--color-primary); }

/* Arrow Bar */
.c-ipo-consulting-bar {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 4rem;
  padding: 0 40px 0 0;
}

.c-ipo-consulting-bar::before {
  content: "";
  position: absolute;
  left: 0px;
  right: 20px;
  top: 50%;
  height: 8px;
  background-color: #4c6cc3;
  transform: translateY(-50%);
  z-index: 1;
}

.c-ipo-consulting-bar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-left: 25px solid #4c6cc3;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  z-index: 1;
}

.c-ipo-consulting-text {
  position: relative;
  z-index: 2;
  background-color: #fff;
  border: 2px solid #4c6cc3;
  padding: 1rem 3rem;
  margin: 0 0 0 30px;
  text-align: center;
  color: #285ae1;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.3;
  width: min(100%, 450px);
}

/* Vertical Flow Sidebar for Mobile */
.c-ipo-v-flow {
  display: flex;
  position: relative;
}

.c-ipo-v-flow__sidebar {
  display: none; /* Hide on PC */
}

.c-ipo-stages {
  flex: 1;
  display: flex;
  gap: 15px;
}

@media screen and (max-width: 767.98px) {
  .c-ipo-v-flow {
    gap: 15px;
  }

  .c-ipo-v-flow__sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 60px;
    padding: 20px 0 40px;
    flex-shrink: 0;
  }

  /* Vertical Arrow Body */
  .c-ipo-v-flow__sidebar::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 30px; /* Leave space for arrowhead */
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    background-color: var(--color-primary);
    z-index: 1;
  }

  /* Vertical Arrowhead */
  .c-ipo-v-flow__sidebar::after {
    content: "";
    position: absolute;
    bottom: 23px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 30px solid var(--color-primary);
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    z-index: 1;
  }

  .c-ipo-v-flow__text {
    position: relative;
    z-index: 2;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    background-color: #fff;
    padding: 80px 5px;
    border: 1px solid var(--color-border2);
    text-shadow: 
      -3px -3px 0 #fff,
       3px -3px 0 #fff,
      -3px  3px 0 #fff,
       3px  3px 0 #fff;
    white-space: nowrap;
    /* margin: auto 0; */
  }

  .c-ipo-stages {
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
  }

  .c-ipo-card {
    border-radius: 15px;
    margin: 0;
  }

  .c-ipo-consulting-bar {
    display: none;
  }

  .c-ipo-consulting-bar::after {
    border-left-width: 15px;
    border-top-width: 12px;
    border-bottom-width: 12px;
  }
  .c-ipo-card__header-en{
    font-size: 2rem;
  }
}

/* ==========================================================================
   IPO Flow Diagram
   ========================================================================== */
.c-ipo-flow {
  /* border: 1px solid var(--color-border2);
  padding: 4rem 2rem; */
  margin: 4rem 0;
}

.c-ipo-flow__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.c-ipo-flow-item {
  width: 33.333%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.c-ipo-flow-item__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 2rem;
}

.c-ipo-flow-item__circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--color-secondary);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-ipo-flow-item__circle--center {
  background-color: var(--color-secondary);
}

.c-ipo-flow-item__circle--light {
  width: 75px;
  height: 75px;
  margin: 12.5px 0 ;
  background-color: var(--color-accent);
}

.c-ipo-flow-item__circle-label {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
}

.c-ipo-flow-item__circle-num {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
}

.c-ipo-flow-item__circle-text {
  font-size: 2rem;
  font-weight: 700;
}

/* Horizontal Arrow for PC */
.c-ipo-flow-item__arrow {
  position: absolute;
  top: 50px;
  left: 110px;
  width: calc(100% - 110px);
  height: 2px;
  background-color: #999;
  z-index: 1;
}

.c-ipo-flow-item__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-left: 10px solid #999;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.c-ipo-flow-item:last-child .c-ipo-flow-item__arrow {
  display: none;
}

.c-ipo-flow-item__body {
  width: 95%;
}

.c-ipo-flow-item__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #08287f;
  margin-bottom: 1rem;
  border-bottom: 2px solid #08287f;
  display: block;
}

.c-ipo-flow-item__subtitle {
  font-size: 1.6rem;
  font-weight: 700;
  color: #285ae1;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.c-ipo-flow-item__subtitle span.arrow {
  color: #4c6cc3;
  font-size: 1.2rem;
}

.c-ipo-flow-item__text {
  line-height: 1.6;
  color: #333;
  padding: 0;
}

@media screen and (max-width: 991.98px) {
  .c-ipo-flow-item__arrow {
    right: -40px;
    width: 60px;
  }
  .c-ipo-flow-item__body {
    width: 100%;
  }
}
@media screen and (max-width: 767.98px) {
  /* .c-ipo-flow {
    padding: 3rem 1.5rem;
  } */
  .c-ipo-flow__inner {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .c-ipo-flow-item {
    width: 100%;
    align-items: center;
    text-align: center;
  }
  .c-ipo-flow-item__header {
    justify-content: center;
    padding-left: 0;
  }
  .c-ipo-flow-item__arrow {
    position: relative;
    top: 0;
    left: auto;
    right: auto;
    width: 2px;
    height: 40px;
    background-color: #999;
  }
  .c-ipo-flow-item__arrow::after {
    left: 50%;
    bottom: -10px;
    top: auto;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid #999;
    border-bottom: none;
  }
  .c-ipo-flow-item__title {
    display: inline-block;
  }
  .c-ipo-flow-item__subtitle {
    justify-content: center;
  }
  .c-ipo-flow-item__text {
    text-align: left;
  }
  .c-ipo-consulting-bar::before,
  .c-ipo-consulting-bar::after {
    display: none;
  }
}

/* ==========================================================================
   ESG Analysis Diagram & Content
   ========================================================================== */
.c-esg-diagram {
  margin: 4rem 0;
  text-align: center;
}

.c-esg-diagram__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.c-esg-diagram__box {
  background-color: var(--color-primary);
  color: #fff;
  padding: 3rem 1.5rem;
  font-size: 2.22rem;
  font-weight: 700;
  width: 50%;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
  box-sizing: border-box;
}

.c-esg-diagram__x {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.c-esg-diagram__x::before,
.c-esg-diagram__x::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 8px;
  background-color: #666;
}

.c-esg-diagram__x::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.c-esg-diagram__x::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.c-esg-diagram__arrow {
  width: 100px;
  height: 40px;
  background-color: #666;
  margin: 0 auto 30px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.c-esg-diagram__results {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.c-esg-bar {
  padding: 1rem 2rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.8rem;
  text-align: center;
  border-radius: 2px;
}

.c-esg-bar--green { background-color: #a0a4c5; }
.c-esg-bar--blue { background-color: #4c6cc3; }
.c-esg-bar--purple { background-color: #285ae1; }

.c-esg-section {
  margin-bottom: 4rem;
}

.c-esg-bar--header {
  text-align: left;
  margin-bottom: 2rem;
  width: 100%;
  font-size: 2.2rem;
  padding: 1.5rem 3rem;
}

@media screen and (max-width: 767.98px) {
  .c-esg-diagram__top {
    flex-direction: column;
    gap: 15px;
  }
  .c-esg-diagram__box {
    width: 100%;
    min-height: auto;
    padding: 2rem 1rem;
    font-size: 1.8rem;
  }
  .c-esg-diagram__x {
    margin: 5px 0;
  }
  .c-esg-bar--header {
    width: 100%;
    font-size: 1.6rem;
    padding: 1rem 1.5rem;
  }
  .c-esg-bar {
    font-size: 1.4rem;
    padding: 0.8rem 1rem;
  }
}

/* ==========================================================================
   SR/IR Comparison Table & Diagram
   ========================================================================== */
.c-table--comparison thead th {
  background-color: #2b3b91 !important;
  color: #fff !important;
  font-size: 2rem;
  padding: 1rem;
  text-align: center;
}

.c-table--comparison .row-label {
  background-color: #f8faff;
  color: #333;
  width: 15%;
  font-weight: 700;
  vertical-align: middle;
  text-align: center;
}

.c-sr-ir-diagram {
  margin: 1.5rem 0;
  border: 1px solid var(--color-border2);
  padding: 0;
  display: flex;
  flex-direction: column;
}

.c-sr-ir-diagram__top {
  background-color: #433838;
  color: #fff;
  text-align: center;
  padding: 0.8rem;
  font-weight: 700;
  font-size: 1.8rem;
}

.c-sr-ir-diagram__middle {
  display: flex;
  padding: 1.5rem;
  gap: 15px;
  background-color: #fff;
}

.c-sr-ir-box {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.c-sr-ir-box__title {
  padding: 1rem;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.3;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-sr-ir-box--purple .c-sr-ir-box__title { background-color: #2b3b91; }
.c-sr-ir-box--grey .c-sr-ir-box__title { background-color: #676565; }

.c-sr-ir-box__content {
  padding: 2rem 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border: 4px solid;
  margin-top: -4px;
  border-top: none;
  min-height: 120px;
}

.c-sr-ir-box--purple .c-sr-ir-box__content { border-color: #2b3b91; color: #2b3b91; }
.c-sr-ir-box--grey .c-sr-ir-box__content { border-color: #676565; color: #433838; }

.c-sr-ir-arrow-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
}

.c-sr-ir-arrow-group span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  text-shadow: 
    2px 2px 0 #fff,
    -2px 2px 0 #fff,
    2px -2px 0 #fff,
    -2px -2px 0 #fff,
    0px 2px 0 #fff,
    0px -2px 0 #fff,
    2px 0px 0 #fff,
    -2px 0px 0 #fff;
  z-index: 2;
}

.c-sr-ir-arrow--double {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
}
.c-sr-ir-arrow--double::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 12px solid currentColor;
}
.c-sr-ir-arrow--double::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid currentColor;
}
.c-sr-ir-arrow--double .line {
  width: 6px;
  height: 60px;
  background-color: currentColor;
}

.c-sr-ir-arrow--down {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
}
.c-sr-ir-arrow--down::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid currentColor;
}
.c-sr-ir-arrow--down .line {
  width: 6px;
  height: 72px;
  background-color: currentColor;
}

.c-sr-ir-diagram__bottom {
  background-color: #2b3b91;
  color: #fff;
  text-align: center;
  padding: 0.8rem;
  font-weight: 700;
  font-size: 1.8rem;
}

@media screen and (max-width: 767.98px) {
  .c-table--comparison {
    table-layout: auto; /* Changed to auto to prevent overflow */
    width: 100%;
  }
  .c-table--comparison thead th {
    font-size: 1.5rem;
    padding: 0.8rem 0.5rem !important;
  }
  .c-table--comparison .row-label {
    min-width: 100px; /* Added min-width for better fit */
    width: 100px !important;
    font-size: 1.3rem;
    padding: 1rem 0.5rem !important;
    word-break: normal; /* Restore normal breaking */
    line-height: 1.2;
  }
  /* Optimization for label column */
  .c-table--comparison th:first-child,
  .c-table--comparison td:first-child {
    width: 100px !important;
    min-width: 100px;
  }

  .c-sr-ir-diagram__middle {
    flex-direction: column;
  }
  .c-sr-ir-box__title {
    font-size: 1.4rem;
    min-height: auto;
    padding: 0.5rem;
  }
  .c-sr-ir-box__content {
    min-height: auto;
    padding: 1.5rem 0;
  }
  .c-sr-ir-arrow-group {
    font-size: 1.4rem;
  }
  .c-sr-ir-arrow--double .line {
    height: 40px;
  }
  .c-sr-ir-arrow--down .line {
    height: 52px;
  }
}
.u-feature-box-teal {
  background-color: #08287f;
  font-size: 1.8rem;
}
 

/* ==========================================================================
   Shareholder Diagram
   ========================================================================== */
.shareholder-diagram {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
  font-family: "Noto Sans JP", sans-serif;
}

.shareholder-diagram__grid {
  display: grid;
  grid-template-columns: 1fr 60px 1.2fr 60px 1.4fr;
  grid-template-rows: auto auto 1fr auto;
  align-items: center;
  gap: 10px 0;
}

.diagram-label-top {
  text-align: center;
  color: #fff;
  padding: 8px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.label-beneficial {
  background-color: var(--color-secondary);
  grid-column: 3;
}

.label-nominal {
  background-color: var(--color-primary);
  grid-column: 5;
}

.diagram-description {
  font-size: 1.4rem;
  text-align: center;
}

.desc-beneficial {
  grid-column: 3;
}

.desc-nominal {
  grid-column: 5;
}

.diagram-box {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.8rem;
  text-align: center;
  padding: 20px 10px;
  border-radius: 12px;
  height: 100px;
  box-sizing: border-box;
}

.box-providers {
  background-color: #1e4a9e;
  grid-column: 1;
  height: 100px;
}

.box-managers {
  background-color: #4c6cc3;
  grid-column: 3;
}

.box-custodian {
  background-color: #08287f;
  grid-column: 5;
  height: 100px;
}

.diagram-arrow-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
}

.arrow-1 {
  grid-column: 2;
  padding: 5px;
}

.arrow-2 {
  grid-column: 4;
  padding: 5px;
}

.arrow-text {
  font-size: 1.3rem;
  background: #fff;
  padding: 0 4px;
  z-index: 2;
  margin-bottom: 6px;
  white-space: nowrap;
}

.arrow-body {
  height: 2px;
  width: 100%;
  background-color: #1e4a9e;
  position: relative;
}

.arrow-body::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 1px;
  transform: translateY(-50%);
  border-left: 10px solid #1e4a9e;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.arrow-body-light {
  background-color: #4c6cc3;
}

.arrow-body-light::after {
  border-left-color: #4c6cc3;
}

.arrow-v-long {
  display: none;
}

.bottom-long-arrow {
  grid-column: 1 / 6;
  display: flex;
  align-items: center;
  padding-top: 40px;
  position: relative;
}

.bottom-long-arrow .arrow-body {
  height: 2px;
  flex: 1;
  margin: 0 10px;
}

.bottom-long-arrow .arrow-body::after {
  right: -2px;
}

.bottom-long-arrow .arrow-text {
  position: absolute;
  left: 50%;
  top: 40px; /* Aligns with padding-top */
  transform: translate(-50%, -50%);
  margin-bottom: 0;
  background: #fff;
  padding: 0 10px;
}

@media screen and (max-width: 767px) {
  .shareholder-diagram__grid {
    grid-template-columns: 1fr 1fr 45px !important;
    grid-template-rows: auto auto auto auto auto !important;
    gap: 10px 10px !important;
    display: grid !important;
    position: relative !important;
    align-items: stretch !important;
  }

  /* Reset all grid children for mobile */
  .diagram-label-top,
  .diagram-description,
  .diagram-box,
  .diagram-arrow-wrap,
  .bottom-long-arrow {
    grid-column: span 1;
    grid-row: auto;
    margin: 0 !important;
    width: 100% !important;
    display: flex !important;
  }

  /* Row 1: Asset Providers (Center-Left) */
  .box-providers {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    height: 80px !important;
    z-index: 2;
  }

  /* Row 2: Arrow 1 (運用委託) - Vertical from Providers to Beneficial */
  .arrow-1 {
    grid-column: 1 / 2 !important;
    grid-row: 2 !important;
    height: 40px !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  .arrow-1 .arrow-text {
    font-size: 1.1rem !important;
    background: transparent !important;
    padding: 2px 0 !important;
    margin-bottom: 2px !important;
  }
  .arrow-1 .arrow-body {
    width: 2px !important;
    height: 100% !important;
    background-color: #1e4a9e !important;
    position: relative !important;
  }
  .arrow-1 .arrow-body::after {
    content: "" !important;
    position: absolute !important;
    bottom: -6px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-top: 10px solid #1e4a9e !important;
    border-left: 6px solid transparent !important;
    border-right: 6px solid transparent !important;
    border-bottom: none !important;
  }

  /* Row 3: Labels (Beneficial & Nominal) */
  .label-beneficial { grid-column: 1 !important; grid-row: 3 !important; }
  .label-nominal    { grid-column: 2 !important; grid-row: 3 !important; }

  /* Row 4: Descriptions */
  .desc-beneficial { grid-column: 1 !important; grid-row: 4 !important; }
  .desc-nominal    { grid-column: 2 !important; grid-row: 4 !important; }

  /* Row 5: Managers & Custodian */
  .box-managers    { grid-column: 1 !important; grid-row: 5 !important; }
  .box-custodian   { grid-column: 2 !important; grid-row: 5 !important; }

  /* Vertical Long Arrow (Far Right) - Spans Row 1 to 5 */
  .arrow-v-long {
    display: flex !important;
    grid-column: 3 !important;
    grid-row: 1 / 6 !important;
    height: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
  }
  .arrow-v-long .arrow-text {
    writing-mode: vertical-rl !important;
    font-size: 1.2rem !important;
    background: #fff !important;
    padding: 10px 2px !important;
    letter-spacing: 0.3em !important;
    font-weight: 700 !important;
    color: #08287f !important;
  }
  .arrow-v-long .arrow-body {
    width: 2px !important;
    flex: 1 !important;
    background-color: #08287f !important;
    position: relative !important;
  }
  .arrow-v-long .arrow-body::after {
    content: "" !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-top: 14px solid #08287f !important;
    border-left: 8px solid transparent !important;
    border-right: 8px solid transparent !important;
    border-bottom: none !important;
  }

  /* Horizontal Arrow (管理委託) - Between Managers and Custodian? 
     Reusing Arrow 2 if needed, but since they are boxes, let's keep it simple.
     The user's image shows the horizontal arrow "管理委託" between them.
  */
  .arrow-2 {
    display: none !important; /* Hide for now as it's for PC grid col 4 */
  }

  /* Diagram Box Styling for Mobile */
  .diagram-box {
    padding: 15px 5px !important;
    font-size: 1.3rem !important;
    min-height: 60px !important;
    border-radius: 8px !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .box-providers { background-color: #1e4a9e !important; }
  .box-managers  { background-color: #4c6cc3 !important; }
  .box-custodian { background-color: #08287f !important; }

  .diagram-label-top {
    font-size: 1.4rem !important;
    padding: 8px 4px !important;
    border-radius: 8px !important;
    margin-bottom: 0 !important;
  }
  .label-beneficial { background-color: #4c6cc3 !important; }
  .label-nominal    { background-color: #08287f !important; }

  .diagram-description {
    font-size: 1rem !important;
    line-height: 1.3 !important;
    min-height: 34px !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding-top: 4px !important;
  }

  .bottom-long-arrow {
    display: none !important;
  }
}

/* ==========================================================================
   Horizontal Scroll for Mobile
   ========================================================================== */
.u-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media screen and (max-width: 767px) {
  .u-scroll-inner {
    min-width: 750px;
    padding-right: 15px;
  }
}

/* ==========================================================================
   Advisory Page Diagram
   ========================================================================== */
.c-advisory-diagram {
    max-width: 1000px;
    margin: 40px auto;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
}

.c-advisory-diagram__title {
    text-align: left;
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 25px;
}

.c-advisory-diagram__grid {
    display: grid;
    grid-template-columns: 45px 1.2fr 2.8fr;
    gap: 10px 10px;
    position: relative;
    align-items: center;
}

.c-advisory-diagram__header {
    background: var(--color-primary);
    color: #fff;
    padding: 10px;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    border-radius: 2px;
    margin-bottom: 10px;
}

.c-advisory-diagram__sidebar {
    grid-column: 1;
    background: #283082;
    color: #fff;
    writing-mode: vertical-rl;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    letter-spacing: 0.3em;
    font-size: 1.5rem;
    border-radius: 2px;
    height: 100%;
    box-sizing: border-box;
    border-bottom: 2px solid #fff;
}
.c-advisory-diagram__sidebar:last-child { border-bottom: none; }

.c-advisory-diagram__box {
    background: #4c6cc3;
    color: #fff;
    padding: 15px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    text-align: center;
    min-height: 54px;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    line-height: 1.3;
    font-weight: 500;
}

.c-advisory-diagram__arrow-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.c-advisory-diagram__arrow-down {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ced4da;
    margin: 0px auto;
}

.c-advisory-diagram__sub-grid {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}
.c-advisory-diagram__sub-grid .c-advisory-diagram__box {
    flex: 1;
}

.c-advisory-diagram__loop {
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.c-advisory-diagram__loop svg {
    width: 28px;
    height: 28px;
    stroke: #519d96;
}

.c-advisory-diagram__arrow-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    margin: 5px 0;
}
.c-advisory-diagram__arrow-row .c-advisory-diagram__loop {
    flex: 0 0 46%;
}
.c-advisory-diagram__arrow-row .c-advisory-diagram__arrow-col {
    flex: 0 0 8%;
}

@media screen and (max-width: 767px) {
    .c-advisory-diagram__title { font-size: 1.8rem; }
    .c-advisory-diagram__header { font-size: 1.4rem; padding: 8px; }
    .c-advisory-diagram__box { font-size: 1.2rem; padding: 10px 8px; min-height: 48px; }
}

/* ==========================================================================
   Activist Risk Analysis Diagram
   ========================================================================== */
.risk-diagram {
    width: 100%;
    margin: 2rem auto;
    border: 2px solid var(--color-primary);
    background: #fff;
    box-sizing: border-box;
}

.risk-diagram__header {
    background: var(--color-primary);
    color: #fff;
    text-align: center;
    padding: 1.2rem;
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.risk-diagram__body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: none;
}

.risk-diagram__box {
    width: 100%;
    border-radius: 0;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-sizing: border-box;
}

.risk-diagram__box--purple {
    background: var(--color-bg-blue);
}

.risk-diagram__box--blue {
    background: var(--color-bg-blue);
}

.risk-diagram__box--blue2 {
    background: var(--color-bg-blue2);
}

.risk-diagram__text {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #333;
}
.risk-diagram__box--blue2 .risk-diagram__text{
    color: #fff;
}

.risk-diagram__items {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
}

.risk-diagram__items--row {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.risk-diagram__items--row .risk-diagram__item {
    width: auto;
    min-width: 45%;
}

.risk-diagram__item {
    background: #fff;
    border-radius: 50px;
    padding: 1.2rem 2rem;
    width: 85%;
    max-width: 450px;
    font-size: 1.8rem;
    color: #202D8B;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.risk-diagram__arrow-container {
    width: 100%;
    height: 60px;
    position: relative;
    background: #fff;
    overflow: hidden;
}

.risk-diagram__arrow-shape {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-top: 40px solid #f0f0f0;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.risk-diagram__box--blue .risk-diagram__items {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.risk-diagram__box--blue .risk-diagram__item {
    width: calc(50% - 1rem);
    max-width: none;
}

@media screen and (max-width: 767px) {
    .risk-diagram__header {
        font-size: 1.8rem;
    }

    .risk-diagram__text {
        font-size: 1.5rem;
    }

    .risk-diagram__item {
        font-size: 1.4rem;
        width: 95%;
    }

    .risk-diagram__box--blue .risk-diagram__item {
        width: 100%;
    }

    .risk-diagram__items--row {
        flex-direction: column;
        gap: 1.2rem;
    }

    .risk-diagram__items--row .risk-diagram__item {
        width: 100%;
        min-width: 0;
    }

    .risk-diagram__arrow-shape {
        border-left-width:  100px;
        border-right-width: 100px;
    }
}


/* ==========================================================================
   Other Overrides
   ========================================================================== */

.service-header{
  background-color: #285ae1 !important;
}

td li:last-child{
  margin-bottom: 0 !important;
}

.sidebar-list{
  padding: 1em 2em !important;
}
.service-lists ul{
  padding: 1em 2em !important;
}
.service-lists li{
  margin: 0 !important;
}

.theme_list2 .theme_list_item {
    background-color: #CFE2F3 !important;
}

.theme_list2 .theme_list_item:nth-child(even) {
    background-color: #e7e7e7 !important;
}
/* ==========================================================================
   Support Flow Diagram
   ========================================================================== */
.c-support-flow__card {
  border: none !important;
}

.c-support-flow__header {
  background-color: #CFE2F3 !important;
  color: #333 !important;
  padding: 1.5rem 1rem !important;
  border-bottom: 2px solid var(--color-secondary) !important;
  gap: 10px;
}

.c-support-flow__phase {
  background-color: var(--color-primary);
  color: #fff;
  padding: 2px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1.3rem;
  white-space: nowrap;
}

.c-support-flow__title {
  font-size: 2rem;
  font-weight: bold;
}

.c-support-flow__body {
  background-color: var(--color-bg-light) !important;
  border: 1px solid var(--color-border2);
  border-top: none;
  border-radius: 0 0 10px 10px;
}

.c-support-flow__arrow-pc {
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 18px solid var(--color-primary);
}

.c-support-flow__arrow-sp {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 18px solid var(--color-primary);
  margin: 0 auto;
}

/* ==========================================================================
   Consulting Diagram
   ========================================================================== */
.c-consulting-diagram {
  background-color: #f7f7f7;
  border: 1px solid var(--color-border2);
  border-radius: 10px;
  padding: 50px 20px 30px;
  position: relative;
  margin: 40px auto;
  max-width: 1000px;
}

.c-consulting-diagram__main-header {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-primary);
  color: #fff;
  padding: 6px 40px;
  font-size: 1.8rem;
  font-weight: bold;
  white-space: nowrap;
  z-index: 5;
  border-radius: 10px;
}

.c-consulting-diagram__step-header {
  background: #c9e6ff;
  border-radius: 8px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  min-height: 55px;
  justify-content: center;
}

.c-consulting-diagram__step-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.c-consulting-diagram__step-icon svg {
  width: 100%;
  height: 100%;
}

.c-consulting-diagram__step-title {
  font-weight: bold;
  color: #333;
}

.c-consulting-diagram__card {
  background-color: #fff;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  border: 1px solid #eee;
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary) !important;
  font-weight: bold;
  line-height: 1.3;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.c-consulting-diagram__card:hover {
  background-color: #f0f4ff;
}

.c-consulting-diagram__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.c-consulting-diagram__arrow-sp {
  display: none;
}

@media screen and (max-width: 991.98px) {
  .c-consulting-diagram__arrow-pc {
    display: none;
  }
  .c-consulting-diagram__arrow-sp {
    display: flex;
    justify-content: center;
    padding: 20px 0;
  }
}

.c-consulting-diagram__arrow-pc {
  min-width: 40px;
}

.c-consulting-diagram__arrow-pc-shape {
  width: 0;
  height: 0;
  border-top:10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--color-primary);
  transform: translateY(-30px);
}

.c-consulting-diagram__arrow-sp-shape {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 25px solid var(--color-primary);
}

/* Search Form Component
   ========================================================================== */
.c-search-form {
  padding: 5rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.c-search-form__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.c-search-form__input {
  flex: 1;
  max-width: 500px;
  height: 60px !important;
  padding: 0 24px !important;
  border: 1px solid var(--color-border2) !important;
  border-radius: 8px !important;
  font-size: 1.8rem !important;
  color: #333 !important;
  background-color: #fff !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05) !important;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.c-search-form__input:focus {
  outline: none;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 4px rgba(8, 40, 127, 0.1), inset 0 2px 4px rgba(0,0,0,0.05) !important;
}

.c-search-form__input::placeholder {
  color: #999 !important;
}

.c-search-form__submit {
  height: 60px !important;
  padding: 0 48px !important;
  background-color: var(--color-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-search-form__submit:hover {
  background-color: #0d3eb9 !important;
  text-decoration: none;
}

.c-search-form__submit:active {
  transform: scale(0.98);
}

@media screen and (max-width: 767.98px) {
  .c-search-form {
    padding: 3rem 1.5rem;
  }
  
  .c-search-form__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .c-search-form__input {
    max-width: none;
    height: 54px !important;
    font-size: 1.6rem !important;
  }
  
  .c-search-form__submit {
    height: 54px !important;
    font-size: 1.6rem !important;
    width: 100% !important;
  }
}

/* Search List Styles
   ========================================================================== */
.c-search-list {
  padding: 2rem 0;
  max-width: 966px;
  margin: 0 auto;
}

.c-search-list__item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}

.c-search-list__item:last-child {
  border-bottom: none;
}

.c-search-list__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.c-search-list__title a {
  color: var(--color-primary);
  text-decoration: none;
}

.c-search-list__title a:hover {
  text-decoration: underline;
}

.c-search-list__excerpt {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #666;
}

.c-search-list__pagination {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* Contact Box Link Underline
   ========================================================================== */
.bg-light.p-4.border.rounded.mb-5 a:not(.link-button) {
  text-decoration: underline !important;
}

.bg-light.p-4.border.rounded.mb-5 a:hover {
  text-decoration: none !important;
}


.sp-only {
  display: none !important;
}

.pc-only {
  display: block !important;
}

@media screen and (max-width: 767.98px) {
  .sp-only {
    display: block !important;
  }
  .pc-only {
    display: none !important;
  }
}

.u-highlight {
  background: linear-gradient(transparent 70%, rgb(83, 160, 255) 0%);
  font-weight: bold;
}

/* ==========================================================================
   Governance Step Flow Diagram
   ========================================================================== */
.c-governance-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 6rem 0 4rem;
}

.c-governance-flow__item {
  position: relative;
  background-color: #d8e6f1;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items:start;
  justify-content:flex-start;
  padding: 2.5rem;
  box-sizing: border-box;
  clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%);
}


.c-governance-flow__header {
  text-align: center;
}

.c-governance-flow__step-label {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #08287f;
  margin-bottom: 2px;
}

.c-governance-flow__num {
  font-size: 3.8rem;
  font-weight: 700;
  color: #08287f;
  line-height: 1;
}

.c-governance-flow__content {
  color: #3e5a9a;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  width: 100%;
  margin: 20px 0;
}

@media screen and (max-width: 767.98px) {
  .c-governance-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 4rem;
  }
  
  .c-governance-flow__item {
    min-height: 150px;
  }

  .c-governance-flow__header {
    top: -3rem;
  }

  .c-governance-flow__num {
    font-size: 3.2rem;
  }
  
  .c-governance-flow__content {
    font-size: 1.4rem;
  }
}

.investors-body-seminar h4{
  border: none !important;
  margin-top: 2em;
}
.investors-body-seminar img{
  margin: 1em 0;
}

/* ==========================================================================
   IR/SR Diagram (みずほIRの強み)
   ========================================================================== */
.forte-diagram {
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: inherit;
  width: 100%;
}

.forte-diagram__top{
  background-color: var(--color-accent);
  color: #fff;
  border-radius: 5px;
  padding: 12px 0;
  width: 100%;
  font-size: 2.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 5px;
}


.forte-diagram__arrow {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom:  30px solid #bdbdbd;
  margin: 5px 0 15px;
}

.forte-diagram__main {
  width: 100%;
  border: 4px solid var(--color-primary);
  background-color: #fff;
  box-sizing: border-box;
  border-radius: 5px;
}

.forte-diagram__header {
  background-color: var(--color-primary);
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
}

.forte-diagram__body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.forte-diagram__row {
  display: flex;
  width: 100%;
  gap: 0;
  justify-content: center;
  align-items: center;
}

.forte-diagram__connector-h-inline {
  width: 30px;
  height: 10px;
  background-color: #999;
  flex-shrink: 0;
}

.forte-diagram__box--sub {
  background-color: var(--color-primary);
  color: #fff;
  flex: 1;
  padding: 20px 28px 20px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 140px;
  position: relative;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border-radius: 5px;
}
.forte-diagram__box--sub::after {
  content: "\25B6";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-size: 1.4rem;
  line-height: 1;
}
.forte-diagram__box--sub:visited{
  color: #fff !important;
}
.forte-diagram__box--sub:hover{
  background-color: var(--color-secondary);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
  transform: translateY(-2px);
}

.forte-diagram__main-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.forte-diagram__sub-title {
  font-size: 2rem;
  font-weight: 500;
}

.forte-diagram__connector {
  position: relative;
  width: 100%;
  height: 25px;
}

.forte-diagram__connector-v {
  position: absolute;
  background-color: #999;
  width: 10px;
  height: 100%;
}

.forte-diagram__connector-v--left {
  left: 25%;
  transform: translateX(-50%);
  top: 0;
}

.forte-diagram__connector-v--right {
  right: 25%;
  transform: translateX(50%);
  top: 0;
}

.forte-diagram__box--bottom {
  background-color: var(--color-primary);
  color: #fff;
  width: 100%;
  padding: 20px;
  text-align: center;
  border-radius: 5px;
}

.forte-diagram__bottom-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.forte-diagram__bottom-text {
  font-size: 1.5rem;
  font-weight: 500;
}

/* Mobile Responsive */
@media screen and (max-width: 767.98px) {
  .forte-diagram__top {
    font-size: 2rem;
    padding: 10px 30px;
  }
  .forte-diagram__arrow {
    /* border-left-width: 40px;
    border-right-width: 40px;
    border-top-width: 30px; */
  }
  .forte-diagram__header {
    font-size: 2.2rem;
  }
  .forte-diagram__body {
    padding: 15px;
  }
  .forte-diagram__row {
    gap: 0;
  }
  .forte-diagram__connector-h-inline {
    width: 15px;
    height: 6px;
  }
  .forte-diagram__main-title {
    font-size: 2.2rem;
  }
  .forte-diagram__sub-title {
    font-size: 1.1rem;
  }
  .forte-diagram__bottom-title {
    font-size: 2rem;
  }
  .forte-diagram__bottom-text {
    font-size: 1.2rem;
  }
  .forte-diagram__box--sub {
    min-height: 80px;
    padding: 10px 22px 10px 5px;
  }
  .forte-diagram__box--bottom {
    padding: 15px 10px;
  }
  .forte-diagram__connector {
    height: 20px;
  }
  .forte-diagram__connector-v {
    width: 6px;
    height: 100%;
  }
}

/* ==========================================================================
   Link Buttons (Vertical Layout)
   ========================================================================== */
.link-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0;
  margin-bottom: 10px;
}

.link-buttons .link-button {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

@media screen and (max-width: 767.98px) {
  .link-buttons {
    align-items: stretch;
    gap: 0px;
  }
}
.link-button{
  border-radius: 5px !important;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.u-indent {
  padding-left: 0em;
  text-indent: -1em;
}
