@charset "utf-8";
/* ==================================================
elements
================================================== */
a {
  text-decoration: none;
}


/* ==================================================
contents
================================================== */
.content_main {
  padding-bottom: 40px;
}


/* ==================================================
既存コンポネの上書き
================================================== */
.stdTab_btn {
  font-weight: 700;
}




/* ==================================================
mv下
================================================== */
.sv {
  --secGap: 16px;
  --secPaddingB: 56px;
}
/* --- 山形銀行の支店を装った偽アカウントにご注意ください！ --- */
.sv_alert {
  min-height: 234px;
  margin-top: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--colorAlert);
  border-radius: 8px;
}
.sv_alert:first-child { margin-top: 0; }
.sv_alert_heading {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sv_alert_icon {
  width: 23px;
  height: 20px;
  flex-shrink: 0;
}
.sv_alert_title {
  color: var(--colorAlert);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.sv_alert_body {
  color: var(--defColor);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.05em;
}
.sv_alert_body > p:nth-child(n+2) {
  margin-top: 0;
}
/* --- 個人のお客さま / 法人・事業主のお客さま --- */
.sv_customerWrap {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sv_customer {
  padding: 20px;
  display: block;
  background-color: var(--colorLightGray);
  border-radius: 16px;
}
.sv_campaign {
  --icon: url(/common_v2/images/icon/icon_arrow.svg);
  height: 80px;
  padding: 16px 24px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--colorBlue);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  background-color: var(--colorLightGray);
  border-radius: 16px;
}
.sv_campaign_icon {
  display: block;
  line-height: 0;
}
.sv_campaign_icon img {
  width: auto;
  height: 48px;
}
.sv_campaign_text {
  padding-left: 22px;
  position: relative;
}
.sv_campaign_text::before {
  content: '';
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: var(--icon) no-repeat center / contain;
}
.sv_customer_heading {
  display: none;
}
.sv_customer_content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sv_customer_btn {
  --icon: url(/common_v2/images/icon/icon_logon.svg);
  --iconSize: 32px;
  --iconColor: #fff;
  width: 100%;
  min-height: 64px;
  padding: 12px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  color: #fff;
  line-height: normal;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
}
.sv_customer_btn::before {
  content: '';
  width: var(--iconSize);
  height: var(--iconSize);
  flex-shrink: 0;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16px;
  background-color: var(--iconColor);
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
}
.sv_customer_btn-red {
  background-color: var(--colorRed);
}
.sv_customer_btn-blue {
  background-color: #224080;
}
.sv_customer_btn_text {
  display: flex;
  flex-direction: column;
  font-weight: 700;
}
.sv_customer_btn_sub {
  font-size: 12px;
  letter-spacing: 0.05em;
}
.sv_customer_btn_main {
  font-size: 18px;
  letter-spacing: 0.05em;
}
.sv_customer_links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sv_customer_links_link {
  padding-left: 22px;
  display: block;
  position: relative;
  color: var(--colorBlue);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.sv_customer_links_link::before {
  content: '';
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: url(/common_v2/images/icon/icon_arrow.svg) no-repeat center / contain;
}
.sv_customer_links_link .linkIcon { margin: 0 0 0 4px; }
/* --- 重要なお知らせ --- */
.sv_news {
  margin-top: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #ffefef;
  border: 1px solid var(--colorAlert);
  border-radius: 8px;
}
.sv_news_heading {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sv_news_icon {
  --icon: url(/common_v2/images/icon/icon_alert.svg);
  width: 24px;
  height: 21px;
  flex-shrink: 0;
  display: block;
  background-color: var(--colorAlert);
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
}
.sv_news_title {
  color: var(--colorAlert);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
.sv_news_body {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sv_news_list {
  flex: 1 1 0%;
  min-width: 0;
  height: 42px;
  overflow: hidden;
  position: relative;
}
.sv_news_item {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.sv_news_item.is-active {
  pointer-events: auto;
  animation: newsSlideIn 0.4s ease forwards;
}
.sv_news_item.is-leaving {
  animation: newsSlideOut 0.4s ease forwards;
}
.sv_news_item.is-active.is-reverse {
  animation-name: newsSlideInReverse;
}
.sv_news_item.is-leaving.is-reverse {
  animation-name: newsSlideOutReverse;
}
@keyframes newsSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes newsSlideOut {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(-100%); opacity: 0; }
}
@keyframes newsSlideInReverse {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes newsSlideOutReverse {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(100%); opacity: 0; }
}
.sv_news_link {
  display: block;
  color: var(--colorAlert);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.sv_news_nav {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sv_news_arrow {
  --icon: url(/common_v2/images/icon/icon_chevron.svg);
  width: 28px;
  height: 20px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
}
.sv_news_arrow::before {
  content: '';
  width: 100%;
  height: 100%;
  display: block;
  background-color: var(--colorAlert);
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
}
.sv_news_arrow-prev::before {
  transform: rotate(-90deg);
}
.sv_news_arrow-next::before {
  transform: rotate(90deg);
}
.sv_news_listBtn {
  width: 100%;
  height: 36px;
  padding: 8px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  background-color: var(--colorAlert);
  border-radius: 80px;
}
.sv_news_listBtn_arrow {
  --icon: url(/common_v2/images/icon/icon_arrow.svg);
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: block;
  background-color: #fff;
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
}
.sv_news.is-single .sv_news_nav {
  display: none;
}
/* --- リンク群 --- */
.sv_links {
  --col: 3;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(var(--col), 1fr);
}
.sv_links_item {
  position: relative;
}
/* 縦線（2列目・3列目の左側） */
.sv_links_item:not(:nth-child(3n+1))::before {
  content: '';
  width: 1px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  background-color: var(--colorGray);
}
/* 横線（4番目以降の上側） */
.sv_links_item:nth-child(n+4)::after {
  content: '';
  height: 1px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--colorGray);
}
.sv_links_link {
  height: 100%;
  min-height: 100px;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.sv_links_icon {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sv_links_icon img {
  max-height: 100%;
}
.sv_links_text {
  min-height: calc(2em * 1.4);
  display: flex;
  color: var(--defColor);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: center;
}
/* --- 既存コンポネの上書き --- */
.sv .stdTab_btns {
  background: #fff;
}


/* ==================================================
お探しの内容をご入力ください
================================================== */
.search {
  --secGap: 56px;
  --secPaddingB: 56px;
  background: url(/top/images/search/bg.svg) no-repeat center / cover;
}
.search_title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: center;
}
.search_form {
  width: 100%;
  margin-top: 32px;
  padding: 4px 4px 4px 12px;
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 8px;
}
.search_input {
  min-width: 0;
  height: 40px;
  flex: 1 1 0%;
  color: var(--defColor);
  font-size: 14px;
  letter-spacing: 0.05em;
  background: transparent;
  border: none;
  outline: none;
}
.search_input::placeholder {
  color: #b5b5b5;
}
.search_btn {
  --icon: url(/common_v2/images/icon/icon_search.svg);
  --iconSize: 20px;
  height: 40px;
  padding: 0 8px;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background-color: var(--colorRed);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.search_btn::before {
  content: '';
  width: var(--iconSize);
  height: var(--iconSize);
  flex-shrink: 0;
  background-color: #fff;
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
}
.search_btn_text {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
/* --- カード群 --- */
.search_cards {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.search_card {
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
}
.search_card_title {
  color: var(--defColor);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-align: center;
}
.search_card_list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.search_card_link {
  --iconSize: 14px;
  padding-left: 20px;
  display: block;
  position: relative;
  color: var(--colorBlue);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.search_card_link::before {
  content: '';
  width: var(--iconSize);
  height: var(--iconSize);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: url(/common_v2/images/icon/icon_arrow.svg) no-repeat center / contain;
}


/* ==================================================
よく見られている商品 / 目的から商品を探す
================================================== */
.productFind {
  --secGap: 56px;
  --secPaddingB: 56px;
  position: relative;
  overflow-x: clip;
}
.productFind::before {
  content: '';
  width: 254px;
  height: 216px;
  position: absolute;
  bottom: -12px;
  right: -32px;
  z-index: -1;
  background: url(/top/images/product_find/bg_sp.svg) no-repeat center / contain;
}
.productFind_title {
  display: none;
}
/* --- よく見られている商品 --- */
.productFind_popular {
  margin-top: 24px;
}
.productFind_popular:first-child {
  margin-top: 0;
}
.productFind_gridWrap {
  --col: 3;
}
.productFind_grid {
  display: grid;
  grid-template-columns: repeat(var(--col), 1fr);
  background: linear-gradient(94deg, rgba(255, 255, 255, 0.60) 0%, rgba(255, 255, 255, 0.40) 100%);
  backdrop-filter: blur(5px);
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.productFind_item {
  padding: 12px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  text-decoration: none;
}
/* 縦線（右側） */
.productFind_item::before {
  content: '';
  width: 1px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background-color: #ccc;
}
.productFind_gridWrap:not([class*="col"]) .productFind_item:nth-child(3n)::before { content: none; }
.productFind_gridWrap.sp_col4 .productFind_item:nth-child(4n)::before { content: none; }
.productFind_gridWrap.sp_col5 .productFind_item:nth-child(5n)::before { content: none; }
/* 横線（下側）- 最終行以外に表示 */
.productFind_item::after {
  content: '';
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #ccc;
}
/* 3カラム: 最終行を非表示 */
.productFind_gridWrap:not([class*="col"]) .productFind_item:nth-child(3n+1):nth-last-child(-n+3)::after,
.productFind_gridWrap:not([class*="col"]) .productFind_item:nth-child(3n+1):nth-last-child(-n+3) ~ .productFind_item::after { content: none; }
/* 4カラム: 最終行を非表示 */
.productFind_gridWrap.sp_col4 .productFind_item:nth-child(4n+1):nth-last-child(-n+4)::after,
.productFind_gridWrap.sp_col4 .productFind_item:nth-child(4n+1):nth-last-child(-n+4) ~ .productFind_item::after { content: none; }
/* 5カラム: 最終行を非表示 */
.productFind_gridWrap.sp_col5 .productFind_item:nth-child(5n+1):nth-last-child(-n+5)::after,
.productFind_gridWrap.sp_col5 .productFind_item:nth-child(5n+1):nth-last-child(-n+5) ~ .productFind_item::after { content: none; }
.productFind_icon {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.productFind_icon img {
  max-height: 100%;
}
.productFind_text {
  min-height: 2lh;
  display: grid;
  align-items: center;
  color: var(--defColor);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--defLetterSpacing);
  text-align: center;
}
.productFind_icon + .productFind_text {
  font-size: 14px;
  font-weight: 500;
}
/* --- 目的から商品を探す --- */
.productFind_purpose {
}
.productFind_cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.productFind_card {
  padding: 16px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: linear-gradient(105.64deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.4) 100%);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  text-decoration: none;
}
.productFind_card_icon {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.productFind_card_icon img {
  max-height: 100%;
}
.productFind_card_text {
  color: var(--defColor);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: center;
}
/* --- 既存コンポネの上書き --- */
.productFind .stdTab_btns {
  background: linear-gradient(93deg, rgba(255, 255, 255, 0.60) 0%, rgba(255, 255, 255, 0.40) 100%);
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.10);
}


/* ==================================================
お知らせ
================================================== */
.news {
  --secGap: 56px;
  --secPaddingB: 56px;
  position: relative;
  background: var(--colorLightBlue);
}
.news_box {
  padding: 40px 20px;
  position: relative;
  background: #fff;
  backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
}
/* --- タブコンテンツ --- */
.news_empty {
  padding: 20px 0;
  color: var(--defColor);
  font-size: 16px;
  letter-spacing: 0.05em;
  text-align: center;
}
/* --- ボタン --- */
.news_btn {
  --icon: url(/common_v2/images/icon/icon_arrow.svg);
  --iconSize: 16px;
  width: 100%;
  min-height: 56px;
  margin: 24px auto 0;
  padding: 8px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  background-color: var(--colorBlue);
  border: 1px solid var(--colorBlue);
  border-radius: 8px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
}
.news_btn::after {
  content: '';
  width: var(--iconSize);
  height: var(--iconSize);
  flex-shrink: 0;
  position: absolute;
  top: 0;
  right: 16px;
  bottom: 0;
  margin: auto;
  background-color: #fff;
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
}


/* ==================================================
gv（Gateway View）
================================================== */
.gv {
  --secGap: 56px;
  --secPaddingB: 56px;
}
.gv_list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.gv_item {
  list-style: none;
}
.gv_link {
  aspect-ratio: 580 / 312;
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border-radius: 8px;
}
.gv_link_img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.gv_link_text {
  width: 100%;
  min-height: 48px;
  padding: 8px 52px 8px 16px;
  display: grid;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
}
.gv_link_text::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to right, rgba(2, 59, 133, 0.8) 0%, rgba(2, 59, 133, 0) 100%);
}
.gv_link_arrow {
  --icon: url(/common_v2/images/icon/icon_arrow.svg);
  width: 16px;
  height: 16px;
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  border-radius: 50%;
}
.gv_link_arrow::before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
}


