/* =Typography
-----------------------------------------------------------------------------*/
body {
    font-family: "Noto Sans JP", sans-serif;
}

/* =Links
-----------------------------------------------------------------------------*/


/* =Layout
-----------------------------------------------------------------------------*/
#main, #header .inner{
	width:95%;
	margin:1em auto;
}

#ja_logo{
	float:left;
	margin-top:3px;
	font-size:1.8em;
	color:#006c4a;
	font-weight: 700;
}

#jabank_logo{
	background:url(../img/site_logo.svg) no-repeat;
	width:163px;
	height:25px;
	float:right;
}

h2.rate_code{
	margin-top:1em;
	font-size:1.2em;
	color:#27ae60;
	float:left;
}

h3{
	padding-left: 25px;
    position: relative;
	margin: 30px 0 20px 0;
}

h3::before{
	content: "";
    width: 10px;
    height: 100%;
    background: #00af79;
    border-radius: 5px;
    position: absolute;
    top: 0;
    left: 0;
}

h3 span {
  margin: 0 0 0 4px;
  top: -4px;
  position: absolute;
}

h3 span a {
  padding: 6px 6px;
  background: #E59142;
  color: #ffffff;
  font-size: 0.8em;
  text-decoration: none;
  font-weight: normal;
  border-radius: 4px;
}

h3 span a:hover {
  color: #ffffff;
  text-decoration: underline;
}

h5.today{
	float:right;
	font-size:0.8em;
	margin-top:1em;
	color:#7f8c8d;
}

caption{
	text-align:right;
}

table, th, td {
	text-align:center;
	font-size:1em;
}

table, th{
	font-size:.95em;
	vertical-align: middle !important;
}

table {
	margin-bottom:4em;
	overflow: hidden;
    border: 1px solid #e0e3e9;
    border-radius: 15px;
    border-collapse: separate;
	/*counter-reset: rowCount;*/
}

table > tbody > tr {
  /*counter-increment: rowCount;*/
}

/* 自動でナンバーを振る */
/*
table > tbody > tr > td:first-child::before {
  content: counter(rowCount);
}*/
.nav-g{
	margin-top: 3em;
}
.nav-g ul{
	list-style: none;
    margin: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-g ul li{
	margin-right: 0;
}

.nav-g ul li a{
    text-decoration: none;
    display: inline-block;
    padding: 17px 45px 15px 20px;
    background: #effbf7;
    border-radius: 40px;
    line-height: 1;
    position: relative;
}
.nav-g ul li a>span{
	color: #006c4a;
    display: inline;
    vertical-align: super;
}
.nav-g ul li a:hover{
	color: #006c4a;
    text-decoration: underline;
}
.nav-g ul li a::after{
	content: "";
    display: inline-block;
    mask: url(../img/icon_arrow.svg)  no-repeat center center;
    background: #006c4a;
    aspect-ratio: 1;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.clear {
	clear:both;
}

th{
	border:#e0e3e9 solid .5px;
	background:#effbf7;
	color:#333;
	padding:18px 0;
}

td{
	border:#e0e3e9 solid .5px;
	vertical-align: middle;
	padding: 1em .8em;
}

.kitei-title {
	text-align: left;
}

.kitei-title a{
	color: #006c4a;
	text-decoration: none;
}
.kitei-title a:hover{
	color: #006c4a;
    text-decoration: underline;
}

/* PDFへのリンクのみアイコンを付与 */
.kitei-title a[href$=".pdf"]:after {
    content: " ";
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url(../img/icon_pdf.svg) no-repeat;
    vertical-align: text-bottom;
    margin-left: 5px;
}

.category {
	vertical-align: middle;
}

.category span {
	writing-mode: tb-lr;
    writing-mode: vertical-lr;
    -webkit-writing-mode: vertical-lr;
    letter-spacing: .2em;
    margin: 0;
    line-height: 0;
    white-space: nowrap;
}

/* =JAネットバンク　2026.3.24追加
-----------------------------------------------------------------------------*/
* {
	box-sizing: border-box;
}
a, button{
	text-decoration: none;
}
ul, ol{
	list-style: none;
	margin: 0;
}
.modSection{
	width: 100%;
    display: grid;
	gap: 20px;
}
.modSubSection.mod-ma{
	margin: 20px 0 80px 0;
}
@media screen and (min-width: 769px) {
  .modSubSection {
    gap: 30px;
  }
}
@media screen and (max-width: 768px) {
  .modSubSection {
    gap: 20px;
  }
}
.modList {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
@media screen and (max-width: 768px) {
  .modList--col2 {
    flex-direction: column;
    gap: 20px;
  }
}
.modList--col2 > li {
  width: calc(50% - 20px);
}
@media screen and (max-width: 768px) {
  .modList--col2 > li {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .modList--col3 {
    flex-direction: column;
    gap: 20px;
  }
}
.modList--col3 > li {
  width: calc(33.3333333333% - 26.6666666667px);
}
@media screen and (max-width: 768px) {
  .modList--col3 > li {
    width: 100%;
  }
}
.modList--col3 > li > *:not(:first-child) {
  margin-top: 20px;
}
@media screen and (max-width: 768px) {
  .modList--phoneNumber {
    flex-direction: column;
    gap: 20px;
  }
}
@media screen and (max-width: 768px) and (max-width: 768px) {
  .modList--phoneNumber {
    gap: 15px;
  }
}
.modList--phoneNumber > li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: calc(33.3333333333% - 26.6666666667px);
}
@media screen and (max-width: 768px) {
  .modList--phoneNumber > li {
    width: 100%;
  }
}
.modList--phoneNumber > li .modBtn {
  margin-top: 5px;
}
.modListUl > li > .modSubSection:has(.modBtn),
.modListOl > li > .modSubSection:has(.modBtn) {
  margin-block: 30px;
}
@media screen and (max-width: 768px) {
  .modListUl > li > .modSubSection:has(.modBtn),
  .modListOl > li > .modSubSection:has(.modBtn) {
    margin-block: 20px;
  }
}
.modListUl > li {
  position: relative;
  padding-left: calc(1em + 8px);
}
.modListUl > li::before {
  content: "●";
  color: #006c4a;
  position: absolute;
  left: 0;
}
.modListUl > li:not(:first-child) {
  margin-top: 15px;
}
.modListUl > li > .modListUl {
  margin-top: 20px;
}
.modListUl--smallDot > li::before {
  content: "";
  background: #333;
  aspect-ratio: 1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  left: 8px;
  top: 15px;
}
.modListUl--textLink .modTextLink {
  color: #333;
}
.modListOl {
  counter-reset: modListOl;
}
.modListOl > li {
  position: relative;
  padding-left: 1.75em;
  counter-increment: modListOl;
}
.modListOl > li:not(:first-child) {
  margin-top: 15px;
}
.modListOl > li::before {
  content: counter(modListOl) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: #006c4a;
}
.modListOl > li > .modListOl {
  margin-top: 20px;
}
.modListOl--en {
  counter-reset: modListOl;
}
.modListOl--en > li::before {
  content: counter(modListOl, lower-alpha) ".";
  color: #333;
  font-weight: 400;
}
.modListOl--enUpper {
  counter-reset: modListOl;
}
.modListOl--enUpper > li {
  padding-left: 1.3em;
}
.modListOl--enUpper > li::before {
  content: counter(modListOl, upper-alpha) ".";
  font-weight: 400;
  color: #333;
}
.modListOl--small > li::before {
  font-weight: 400;
  color: #333;
}
.modListOl--note > li::before {
  content: "*" counter(modListOl);
}
.modBtn {
  display: block;
  width: 100%;
  padding: 19px 59px 19px 19px;
  background: #01AF79;
  border-radius: 30px;
  line-height: 1;
  position: relative;
}
.modBtn::before,
.modBtn::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
}
.modBtn::before {
  aspect-ratio: 1;
  width: 30px;
  height: 30px;
  background: #51d6ae;
  border-radius: 50%;
  right: 14px;
  transform: translateY(-50%);
}
.modBtn::after {
  -webkit-mask: url("/jabank/wp-content/themes/ja-bank/assets/img/common/icon/icon_arrow.svg")
    no-repeat center center;
  mask: url("/jabank/wp-content/themes/ja-bank/assets/img/common/icon/icon_arrow.svg")
    no-repeat center center;
  background: #fff;
  right: 14px;
  aspect-ratio: 1;
  width: 30px;
  height: 30px;
  transform: translate(-1px, -50%) rotate(-90deg);
}
@media screen and (min-width: 769px) {
  .modBtn {
    max-width: 100%;
  }
}
@media screen and (min-width: 1161px) {
  .modBtn:hover > span {
    background-position: 0 100%;
    background-size: 100% 1px;
  }
}
@media screen and (max-width: 768px) {
  .modBtn {
    font-size: 16px;
    font-size: 1.6rem;
  }
}
.modBtn[target="_blank"]::before {
  background: #fff;
}
.modBtn[target="_blank"]::after {
  -webkit-mask: url("/jabank/wp-content/themes/ja-bank/assets/img/common/icon/icon_blank.svg")
    no-repeat center center;
  mask: url("/jabank/wp-content/themes/ja-bank/assets/img/common/icon/icon_blank.svg")
    no-repeat center center;
  background: #006c4a;
  transform: translateY(-50%);
}
.modBtn[href$=".pdf"] {
  background: #fff;
  border: 1px solid #01AF79;
}
.modBtn[href$=".pdf"]::before {
  background: #01AF79;
}
.modBtn[href$=".pdf"]::after {
  -webkit-mask: url("/jabank/wp-content/themes/ja-bank/assets/img/common/icon/icon_pdf.svg")
    no-repeat center center;
  mask: url("/jabank/wp-content/themes/ja-bank/assets/img/common/icon/icon_pdf.svg")
    no-repeat center center;
  background: #fff;
  transform: translateY(-50%);
}
@media screen and (min-width: 769px) {
  .modBtn[href$=".pdf"] {
    max-width: 100%;
  }
}
.modBtn[href$=".pdf"] > span {
  color: #006c4a;
}
.modBtn[href^="tel:"] {
  padding-block: 8px 11px;
  font-weight: 700;
}
.modBtn[href^="tel:"]:has(> .small) {
  padding-block: 0 8px;
}
@media screen and (min-width: 1161px) {
  .modBtn[href^="tel:"]:has(> .small):hover > span {
    background-position: 0 calc(100% - 4px);
  }
}
.modBtn[href^="tel:"]:has(> .small) > span {
  background-position: 100% calc(100% - 4px);
}
.modBtn[href^="tel:"]:has(> .small) > .small {
  width: -moz-fit-content;
  width: fit-content;
  margin-top: -5px;
  line-height: 1;
  background: initial;
}
.modBtn[href^="tel:"]::before {
  background: rgba(0, 0, 0, 0);
}
.modBtn[href^="tel:"]::after {
  -webkit-mask: initial;
  mask: initial;
  background: url("/jabank/wp-content/themes/ja-bank/assets/img/common/icon/icon_telephoneSmall.svg")
    no-repeat center center;
  transform: translateY(-50%);
}
.modBtn[href^="tel:"] > span {
  font-size: 22px;
  font-size: 2.2rem;
  --letter-spacing: 0;
}
@media screen and (max-width: 768px) {
  .modBtn[href^="tel:"] > span {
    font-size: 20px;
    font-size: 2rem;
  }
}
.modBtn > span {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
  vertical-align: middle;
  background: linear-gradient(#fff) 100% 100% / 0 1px no-repeat;
  transition: background-size 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.modBlockGreen{
	background: #c2ede0;
    border-radius: 20px;
    padding: 1em;
    margin: 20px 0 50px;
}
.modBlockGreen .modHeadingLv03{
	padding-left: 47px;
    position: relative;
    margin: 10px 0;
}
.modBlockGreen .modHeadingLv03::before{
	pointer-events: none;
    content: "";
    display: block;
    aspect-ratio: 1;
    width: 32px;
    height: 32px;
    background: url(/jabank/wp-content/themes/ja-bank/assets/img/common/icon/icon_topics.svg) no-repeat center center / contain;
    position: absolute;
    top: 43%;
    left: 6px;
    transform: translateY(-50%);
}


/* =Header
-----------------------------------------------------------------------------*/
#header{
	background: #fff;
    box-shadow: 0 18px 10px rgba(0, 0, 0, .03);
    padding: 10px 0;
}

/* =Nav
-----------------------------------------------------------------------------*/

/* =Misc
-----------------------------------------------------------------------------*/


/* =Footer
-----------------------------------------------------------------------------*/
.footer{
	text-align: center;
    margin: 0 auto;
    background: #00af79;
    padding: 20px 0 10px 0;
}
.footer.cl-logo{
	background: none;
}
.footer img{
	filter: brightness(0) invert(1);
    vertical-align: top;
    width: 200px;
    margin: 1em 0;
}
.footer.cl-logo img{
	filter: none;
}
.footer .footer__copy{
	color: #fff;
    font-weight: 300;
    font-size: 10px;
    line-height: 1.6;
}
.footer.cl-logo .footer__copy{
	color: #333;
    font-weight: 300;
    font-size: 10px;
    line-height: 1.6;
}