@import url("https://fonts.googleapis.com/css?family=Material+Icons|Material+Icons+Outlined");

/****************** menu start******************/
/* ナビゲーションバー */
.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    color: #fff;
}

/* ▼ レスポンシブ表示：lg（≥992px）以上ではメニューボタンを非表示にする ▼ */
@media (min-width: 992px) {
    .nav-bar {
        height: 6rem;
    }
}

/* ナビゲーションバー内のリンクをフレックスコンテナにして高さを100%に設定 */
.nav-bar a {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    text-decoration: none;
}

/* 下線の疑似要素を作成（通常は下線が表示される） */
.nav-bar ul a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    /* 下線の位置（必要に応じて調整） */
    width: 100%;
    /* 横幅全体 */
    height: 1px;
    /* 下線の太さ */
    background-color: currentColor;
    /* テキスト色と同じ */
    transition: transform 0.3s ease;
    /* アニメーションの設定 */
    transform-origin: left;
    /* 変形の起点 */
    transform: scaleX(1);
    /* 通常は全幅表示 */
}

/* ホバー時に下線を横方向に縮小して消す */
.nav-bar ul a:hover::after {
    transform: scaleX(0);
}

/* ナビゲーションバー内の画像の最大高さをリンクの高さに合わせる */
.nav-bar a img {
    max-height: 102%;/*スマホレイアウトの下余白打消しの為100%より多め設定*/
    width: auto;
    object-fit: contain;
}
.logo {
    box-shadow: 0px 8px 25px 0px rgba(0, 0, 0, 0.10);
}
/* TOPページボタンのスタイル */
.label-top {
    color: #fff;
    border: 3px solid #fff;
    background-color: transparent;
    padding: 0.5rem 1rem;
    line-height:1;
}
/* ▼ 下記は文字を小さくし、ヘッダーに納まらない状態を回避する ▼ */
@media (max-width: 767px) {
  #kanri .label-top,
  #hoshou_faq .label-top {
    font-size:0.85rem;
    padding: 0.5rem 0.2rem;
}
}

/* TOPページボタンのスタイル 簡易ヘッダーの場合*/
#banklist .label-top,
#contact .label-top,
#request .label-top {/*金融機関情報ページ*/
    color: #212529;
    border: 2px solid #212529;
    background-color: transparent;
    padding: 0.5rem 1rem;
}

/* ▼ ボタン群のコンテナ（TOPページ、メニュー表示・非表示ボタンをラップするdiv）のスタイル ▼ */
/* ナビゲーションバー内のボタン群をラップするdivのスタイル */
.nav-bar>div {
    display: flex;
    /* フレックスレイアウトにする */
    align-items: center;
    /* 垂直中央揃え */
    gap: 1rem;
    /* ボタン間の間隔 */
    height: 3rem;
    /* コンテナの高さを固定（必要に応じて調整） */
    width: 100%;
    justify-content: space-between !important;
}

/* ▼ レスポンシブ表示：lg（≥992px）以上ではメニューボタンを非表示にする ▼ */
@media (min-width: 992px) {
    .nav-bar>div {
        width: auto;
        justify-content: flex-start;
    }
}


/* コンテナ内の全てのボタンの高さをコンテナに合わせる */
.nav-bar>div button {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ▼ レスポンシブ表示：lg（≥992px）以上ではメニューボタンを非表示にする ▼ */
@media (min-width: 992px) {

    #show-menu-button,
    #close-menu-button {
        display: none;
    }
}

/* ▼ メニューボタンの基本スタイル ▼ */
/* ハンバーガーメニューおよびクローズボタンの共通スタイル */
#show-menu-button,
#close-menu-button {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 24px;
    /* ボタンの横幅 */
    height: 40%;
    /* コンテナの高さに合わせる */
    position: relative;
}

/* ▼ ハンバーガーメニューボタン（3本線）のスタイル ▼ */
#show-menu-button::before,
#show-menu-button::after,
#show-menu-button span {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #fff;
    /* 白色 */
}

#show-menu-button::before {
    top: 0;
}

#show-menu-button span {
    top: 50%;
    transform: translateY(-50%);
}

#show-menu-button::after {
    bottom: 0;
}

/* ▼ クローズボタン（Xアイコン）のスタイル ▼ */
#close-menu-button::before,
#close-menu-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 3px;
    background-color: #fff;
    /* 白色 */
    transform-origin: center;
}

#close-menu-button::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

#close-menu-button::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/*モバイルメニューのリスト「＞」処理*/
#mobile-menu dl dd{
    text-indent: -0.7em;
    padding-left: 0.7em;
}
#mobile-menu dl dd::before {
    content: ">";
    color: inherit;
    margin-right: 0.2rem;
}

#mobile-menu {
  padding-bottom: 120px; 
}

/**************************************************** menu end ****************************************************/
.card-box {
    box-shadow: 0px 8px 35px 0px rgba(0, 0, 0, 0.10);
}

.border-top-green {
    border-top: 12px solid #13AAA1;
}

.border-top-blue {
    border-top: 12px solid #1F78E5;
}

.border-top-dark-blue {
    border-top: 12px solid #05247C;
}

/*フッター上下のライン*/
hr{
    border:1px solid #ABB5BE;
}
footer hr{
    border:1px solid rgb(0, 11, 51, 0.1);
}
@media only screen and (min-width: 768px) {
    footer hr{
        border:1px solid #265267;
    }
}

/*フッターサイトマップのリスト「＞」処理*/
footer dl dd{
  text-indent: -0.7em;
  padding-left: 0.7em;
}
footer dl dd::before {
    content: ">";
    color: inherit;
    margin-right: 0.2rem;
}

@media (min-width: 992px) {
    .footer-grid {
      display: flex;
      justify-content: space-between;
    }
  
    .footer-grid dl {
      flex: 1; 
      max-width: 20%; 
    }
  }
  .link_a_parent{
    text-decoration: underline;
  }
  .link_a_parent:hover{
    opacity: 0.8;
    text-decoration: none;
  }

/* =========================
   hoverモーション
========================= */
/*ボタン*/
  .btn{
  transition-property: opacity;
  transition-duration: 0.1s;
  }
  .btn:hover{
    opacity: 0.8; 
  }

.qa-box dd.answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color:#333C5C;
}

.qa-box.active dd.answer {
  max-height: 1000px; /* コンテンツの最大高さより大きい値 */
  transition: max-height 0.5s ease-in;
}

/* アイコンのトランジション */
.qa-box-open,
.qa-box-close {
  transition: transform 0.3s ease;
}

.qa-box.active .qa-box-close {
  transform: rotate(180deg);
}

/* アイコンの位置調整 */
.qa-box-open,
.qa-box-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

/* 質問部分のレイアウト調整 */
.question {
  align-items: center;
}

/* 質問テキストの余白調整 */
.question p {
  margin-bottom: 0;
}




/* =========================
   FAQリスト
========================= */



.container .qa-group {
    max-width: 856px;
  }
  .container .qa-group .qa-box {
    border-bottom:2px solid #E6DDD4;
  }

  .container .qa-group .qa-box {/*入居者さまFAQの場合*/
    border-bottom:1px solid #D4E6E3;
  }
  .container .qa-group .qa-box.active {
    box-shadow: 0 4px 10px 0px rgba(0, 0, 0, 0.1);
    border-bottom:none;
  }
  .container .qa-group .qa-box .question {
    gap: 1rem;
    cursor: pointer;
    transition: color 0.3s ease,
     margin-bottom 0.8s ease-out;
  }
  .container .qa-group .qa-box .qa-box-open,
  .container .qa-group .qa-box .qa-box-close {
    color:#001C80;
  }
  
  
  /*アコーディオン開閉時の表示切り替え*/
  .container .qa-group .qa-box .qa-box-open {
    display: block;
  }
  .container .qa-group .qa-box .qa-box-close {
    display: none;
  }
  .container .qa-group .qa-box.active .qa-box-open {
    display: none;
  }
  .container .qa-group .qa-box.active .qa-box-close {
    display: block;
  }
  
  /*クエスチョン
  #hoshou_faq .qa-group dt p {
    font-size: 1.25rem;
  }*/
  
  /*アンサー*/
  .container .qa-group .qa-box dd.answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  .container .qa-group .qa-box.active dd.answer {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
  }
  
  /* アイコンのトランジション */
  .qa-box-open,
  .qa-box-close {
    transition: transform 0.3s ease;
  }
  
  .qa-box.active .qa-box-close {
    transform: rotate(180deg);
  }

/* accordion styles */
.qa-category-body {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-out;
}

.qa-category-body.active {
  height: auto;
  transition: height 0.5s ease;
}

.qa-category-body-sub {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-out;
}

.qa-category-body-sub.active {
  height: auto;
  transition: height 0.5s ease;
}

/* カーソルをポインターに */
.qa-category-title,
.qa-category-title-sub,
.question {
  cursor: pointer;
}
/* アクティブ時のタイトルカラー */
.accordion-header.active .qa-category-title h3,
.qa-category-title-sub.active h4{
  color: #13AAA1;
}

.item-close{
  color: #13AAA1;
}

/* アイコンのトランジション */
.qa-box-open,
.qa-box-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

/* 質問部分のレイアウト調整 */
.question {
  align-items: center;
}

/* 質問テキストの余白調整 */
.question p {
  margin-bottom: 0;
}



/* =========================
   単独ページ（iframeの縦スクロールoverlay)
========================= */
.overlay {
  width: 10px;
  height: 100%;
  right: 15px;
}


/* =========================
   改行の発生制御
========================= */
@media (min-width: 768px) {
  .md_none{
    display:none;
  }
}
.sp_block{
  display:block;
}
.sp_none,.sm_sp_block{
  display:none;
} 

@media (min-width: 992px) {
  .sp_block{
    display:none;
  }
  .sp_none{
    display:block;
  } 
}

@media (max-width: 500px) {
  .sm_sp_block{
    display:block;
  } 
}
.word-nowrap{
  white-space: nowrap;
  display: inline-block;
}
.word-nowrap.underline_fix{
  display: unset;
}
/* =========================
  スクロールのオフセット調整
========================= */
html {
  scroll-padding-top: 60px; /* モバイルデフォルト */
}

/* タブレット */
@media (min-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }
}

/* デスクトップ */
@media (min-width: 992px) {
  html {
    scroll-padding-top: 80px;
  }
}

/* 大画面 */
@media (min-width: 1200px) {
  html {
    scroll-padding-top: 90px;
  }
}
