/* ページ見出し */
.title_content{
    background-color: #e9f3fa;
    color: #585858;
    border-bottom: 7px solid #e2f1cf;
}
.title_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 100%;
}

/* パンくずリスト */
#breadcrumb_nav{
	width: 100%;
    max-width: 1320px;
    margin: 16px auto;
	padding: 0 30px;
	font-weight: 500;
}
#breadcrumb_nav a{
	color: #004ea2;
}

/* アンカーリンクリスト */
.anchor_list .anchor_item{
    text-align: center;
    margin: 10px 0;
}
.anchor_list .anchor_item:nth-child(odd) {
    border-width: 0 2px 0 2px;
    border-style: solid;
    border-color: #D1D1D1;
}

.anchor_list .anchor_item {
    box-sizing: border-box;
    box-shadow: none !important;
    text-align: center;
    margin: 10px 0;
    line-height: 1.5;
    position: relative;
    display: inline-block;
}

.anchor_list .anchor_item ::after{
    transform: rotate(45deg);
    display: inline-block;
    vertical-align: middle;
    width: 6px;
    height: 6px;
    margin-left: 10px;
    border-top: 2px solid #6eba44;
    border-right: 2px solid #6eba44;
    content: '';
}

@media screen and (max-width: 767px){
    .anchor_list .anchor_item{
        font-size: 0.8rem;
    }
}

/* アンカーリンクの遷移先調整 */
.base_scroll{
    scroll-margin-top: 125px;
}
@media screen and (max-width: 767px){
    .base_scroll{
        scroll-margin-top: 100px;
    }
}

/* テーブルサイズ */
.table_size_01{
    max-width: 1000px;
    margin: 0 auto;
}
.table_size_02{
    max-width: 1200px;
    margin: 0 auto;
}

/* テーブルデザイン */
.table_01_blue th{
    background-color: #e9f3fa;
    text-align: center;
    vertical-align: middle;
}

/* 背景色 */
.bg_white{
    background-color: #fff;
}

.bg_blue{
    background-color: #e9f3fa;
}

.bg_green{
    background-color: #e2f1cf;
}

/* アコーディオン */



/* コンテンツカード */
/* パターン1 法人カード*/
.card_01 {
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}
.card_01_header {
    background-color: #e9f3fa;
    font-weight: bold;
    font-size: 1.25rem;
    text-align: center;
    color: #585858;
    padding: 10px 0;
}
.card_01_body {
    display: flex;
    align-items: center;
    padding: 20px;
}

/* ※.card_01_iconと重複しているので後で整理 */
.card_01_body img {
    width: 50px;
    height: auto;
    margin-right: 20px;
}
.card_01_icon img{
    width: 50px;
    height: auto;
    margin-right: 20px;
}
.card_01_content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card_01_text {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card_01_footer {
    text-align: right;
    padding: 10px 20px;
}
.card_01_footer a {
    text-decoration: none;
    color: #004ea2;
    font-weight: bold;
}
/* パターン1のカテゴリリスト */
.keyword-list {
display: flex;
flex-wrap: wrap;
list-style: none;
padding: 0;
margin: 0;
gap: 8px;
}
.keyword-list li {
background-color: #f0f5f9;
color: #004ea2;
font-size: 0.85rem;
padding: 5px 12px;
border-radius: 5px;
border: 1px solid #cce0ee;
white-space: nowrap;
font-weight: bold;
}
.keyword-list .color1 {
	background-color: #bf6be3;
	color: #fff;
}
.keyword-list .color2 {
	background-color: #e3a754;
	color: #fff;
}
.keyword-list .color3 {
	background-color: #276fe3;
	color: #fff;
}
.keyword-list .color4 {
	background-color: #66caec;
	color: #fff;
}
.keyword-list .color5 {
	background-color: #6dba44;
	color: #fff;
}
.keyword-list .color6 {
	background-color: #f769b0;
	color: #fff;
}
.keyword-list .color7 {
	background-color: #f98888;
	color: #fff;
}


/* タブメニューデザイン */

.nav-tabs_01 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0;
    list-style: none;
}

.nav-tabs_01 .nav-item {
    flex: 1 1 200px; /* 基本幅 */
    max-width: 220px;
    min-width: 140px;
    display: flex;
    justify-content: center;
}

.nav-tabs_01 .nav-link {
    background: #ffffff;
    color: #1b4b9e;
    border: 2px solid #1b4b9e;
    border-radius: 12px;
    padding: 1.2rem 1rem;
    width: 100%;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.nav-tabs_01 .nav-link img {
    height: 40px;
    margin-bottom: 0.8rem;
}

.nav-tabs_01 .nav-link:hover {
    background-color: #f0f7ff;
    color: #003d8e;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 61, 142, 0.1);
}

.nav-tabs_01 .nav-link.active {
    background-color: #1b4b9e;
    color: #ffffff;
}

.nav-tabs_01 .nav-link.active img {
    filter: brightness(0) invert(1);
}

.nav-text {
    display: inline-block;
    min-height: 3.2em;
    line-height: 1.4;
}

@media (max-width: 576px) {
    .nav-tabs_01 .nav-item {
        flex: 1 1 48%; /* 2列レイアウトにする */
        max-width: none;
    }

    .nav-tabs_01 .nav-link {
        height: auto;
        padding: 1rem 0.5rem;
        font-size: 0.85rem;
    }

    .nav-tabs_01 .nav-link img {
        width: 30px;
        height: 30px;
    }
}


/* サブページ パターン1 */

.sub-001-header-section .card {
  border-radius: 1rem;
  background: #ffffff;
}

.sub-001-header-section .card-title {
  font-size: 1.8rem;
  position: relative;
}
.sub-001-header-section .card-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #1b4b9e;
  display: block;
  margin: 0.5rem auto 0;
  border-radius: 3px;
}

/* ボタン */
.link-btn-green {
    color: #fff !important;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    margin: 0 auto;
    padding: 1.2em 2em;
    border: none;
    border-radius: 5px;
    background-color: #6eba44;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
}

.link-btn-green:hover {
    opacity: 0.7;
    text-decoration: none;
}

.link-btn-green:hover {
    opacity: 0.7;
    text-decoration: none;
}

.link-btn-outline {
    color: #6eba44 !important;
    background-color: transparent;
    border: 2px solid #6eba44;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    margin: 0 auto;
    padding: 1.2em 2em;
    border-radius: 5px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.link-btn-outline:hover {
    background-color: #6eba44;
    color: #fff !important;
    text-decoration: none;
    opacity: 0.9;
}

/* （リンク用） */
.link-btn-outline-green {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 600px; 
  padding: 1.2em 2em;
  border: 2px solid #6eba44;
  border-radius: 5px;
  background-color: transparent;
  color: #6eba44 !important;
  font-weight: 600;
  font-size: 1.2em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.link-btn-outline-green:hover {
  background-color: #6eba44;
  color: #fff !important;
  text-decoration: none;
}

/* （PDF用） */
.link-btn-outline-red {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 600px;
  padding: 1.2em 2em;
  border: 2px solid #dc3545;
  border-radius: 5px;
  background-color: transparent;
  color: #dc3545 !important;
  font-weight: 600;
  font-size: 1.2em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.link-btn-outline-red:hover {
  background-color: #dc3545;
  color: #fff !important;
  text-decoration: none;
}
