@charset "utf-8";
/* ==================================================
grobal pc用
================================================== */
:root {
  --cntWidth: 1200px;
}


/* ==================================================
elements
================================================== */
a {
  text-decoration: none;
}


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




/* ==================================================
mv下
================================================== */
.sv {
  --secGap: 20px;
  --secPaddingB: 64px;
  position: relative;
  overflow-x: clip;
}
.sv::before {
  content: '';
  width: 706px;
  height: 700px;
  position: absolute;
  bottom: -40px;
  right: -56px;
  z-index: -1;
  background: url(/top/images/sv/bg.svg) no-repeat right bottom / contain;
}
/* --- 山形銀行の支店を装った偽アカウントにご注意ください！ --- */
.sv_alert {
  min-height: 234px;
  margin-top: 20px;
  padding: 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  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: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.sv_alert_body {
  color: var(--defColor);
  font-size: 14px;
  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;
  gap: 16px;
}
.sv_customerWrap:first-child { margin-top: 0; }
.sv_customer {
  flex: 1 1 auto;
  min-width: 0;
  padding: 20px 0;
  background-color: var(--colorLightGray);
  border-radius: 16px;
}
.sv_campaign {
  --icon: url(/common_v2/images/icon/icon_arrow.svg);
  width: 180px;
  flex-shrink: 0;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--colorBlue);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  background-color: var(--colorLightGray);
  border-radius: 16px;
  transition: var(--transOpac);
}
.sv_campaign:hover {
  opacity: var(--hoverOpac);
}
.sv_campaign_icon {
  display: block;
  line-height: 0;
}
.sv_campaign_icon img {
  width: auto;
  height: 80px;
}
.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_panels {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.sv_customer_panel {
  flex: 1 1 0%;
  padding: 0 20px;
  position: relative;
}
.sv_customer_panel:nth-child(n+2)::before {
  content: '';
  width: 1px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: var(--colorGray);
}
.sv_customer_heading {
  color: var(--defColor);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  letter-spacing: var(--defLetterSpacing);
}
.sv_customer_content {
  margin-top: 16px;
  display: flex;
  gap: 16px;
}
.sv_customer_btn {
  --icon: url(/common_v2/images/icon/icon_logon.svg);
  --iconSize: 32px;
  --iconColor: #fff;
  width: 180px;
  min-height: 88px;
  flex-shrink: 0;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 8px 16px;
  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);
  transition: var(--transOpac);
}
.sv_customer_btn::before {
  content: '';
  width: var(--iconSize);
  height: var(--iconSize);
  flex-shrink: 0;
  background-color: var(--iconColor);
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
}
.sv_customer_btn:hover {
  opacity: var(--hoverOpac);
}
.sv_customer_btn-red {
  background-color: var(--colorRed);
}
.sv_customer_btn-blue {
  background-color: #224080;
}
.sv_customer_btn_text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 700;
}
.sv_customer_btn_sub {
  font-size: 14px;
  letter-spacing: 0.05em;
}
.sv_customer_btn_main {
  font-size: 20px;
  letter-spacing: 0.05em;
}
.sv_customer_links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.sv_customer_links_item {
  display: flex;
}
.sv_customer_links_link {
  padding-left: 22px;
  display: block;
  position: relative;
  color: var(--colorBlue);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: var(--defLetterSpacing);
  text-decoration: none;
  transition: var(--transOpac);
}
.sv_customer_links_link:hover {
  text-decoration: underline;
}
.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 {
  min-height: 52px;
  margin-top: 20px;
  padding: 8px 12px 8px 24px;
  display: flex;
  align-items: center;
  background-color: #ffefef;
  border: 1px solid var(--colorAlert);
  border-radius: 8px;
}
.sv_news_heading {
  flex-shrink: 0;
  padding-right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.sv_news_heading::after {
  content: '';
  width: 1px;
  height: 20px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: var(--colorAlert);
}
.sv_news_icon {
  --icon: url(/common_v2/images/icon/icon_alert.svg);
  width: 23px;
  height: 20px;
  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: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.sv_news_body {
  flex: 1 1 0%;
  min-width: 0;
  padding: 0 8px 0 16px;
  display: flex;
  align-items: center;
}
.sv_news_list {
  flex: 1 1 0%;
  min-width: 0;
  height: 18px;
  overflow: hidden;
  position: relative;
  font-size: 16px;
  line-height: 1;
  letter-spacing: var(--defLetterSpacing);
}
.sv_news_item {
  width: 100%;
  height: 100%;
  overflow: hidden;
  white-space: nowrap;
  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: inline-block;
  color: var(--colorAlert);
  text-decoration: none;
}
.sv_news_link.is-marquee {
  display: inline-flex;
}
.sv_news_link.is-marquee .sv_news_link_text {
  flex-shrink: 0;
  padding-right: 2em;
}
.sv_news_item.is-active .sv_news_link.is-marquee {
  animation: newsMarquee var(--marqueeDuration, 20s) linear 2s infinite;
}
.sv_news_link:not(.is-marquee):hover {
  text-decoration: underline;
}
.sv_news:hover .sv_news_item.is-active .sv_news_link.is-marquee {
  animation-play-state: paused;
}
@keyframes newsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .sv_news_link.is-marquee {
    animation: 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: 24px;
  height: 15px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  transition: var(--transOpac);
  cursor: pointer;
}
.sv_news_arrow:hover {
  opacity: var(--hoverOpac);
}
.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 {
  height: 36px;
  flex-shrink: 0;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  background-color: var(--colorAlert);
  border-radius: 80px;
  transition: var(--transOpac);
}
.sv_news_listBtn:hover {
  opacity: var(--hoverOpac);
}
.sv_news_listBtn_arrow {
  --icon: url(/common_v2/images/icon/icon_arrow.svg);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  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 {
  margin-top: 64px;
  display: flex;
}
.sv_links_item {
  flex: 1 1 0%;
  padding: 0 16px;
  list-style: none;
  position: relative;
}
.sv_links_item::before,
.sv_links_item:last-child::after {
  content: '';
  width: 1px;
  position: absolute;
  top: 16px;
  bottom: 16px;
  background-color: var(--colorGray);
}
.sv_links_item::before { left: 0; }
.sv_links_item:last-child::after { right: 0; }
.sv_links_link {
  height: 120px;
  padding: 16px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  background-color: transparent;
  border-radius: 8px;
  transition: var(--transBg);
}
.sv_links_link:hover {
  background-color: #F0F6FF;
}
.sv_links_icon {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sv_links_icon img {
  max-height: 100%;
}
.sv_links_text {
  color: var(--defColor);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  text-align: center;
}


/* ==================================================
お探しの内容をご入力ください
================================================== */
.search {
  --secPaddingB: 80px;
  background: url(/top/images/search/bg.svg) no-repeat center / cover;
}
.search_title {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-align: center;
}
.search_form {
  width: 100%;
  margin-top: 40px;
  padding: 4px 4px 4px 16px;
  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: 16px;
  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 16px;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background-color: var(--colorRed);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transOpac);
}
.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:hover {
  opacity: var(--hoverOpac);
}
.search_btn_text {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
}


/* ==================================================
よく見られている商品 / 目的から商品を探す
================================================== */
.productFind {
  --secGap: 80px;
  --secPaddingB: 100px;
  background: url(/top/images/product_find/bg_pc.webp) no-repeat center / cover;
  background-attachment: fixed;
}
.productFind_title {
  color: var(--colorBlue);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: var(--defLetterSpacing);
  text-align: center;
}
/* --- よく見られている商品 --- */
.productFind_gridWrap {
  --col: 6;
  margin-top: 40px;
}
.productFind_grid {
  display: grid;
  grid-template-columns: repeat(var(--col), 1fr);
  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: 16px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.productFind_item {
  min-height: 112px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  text-decoration: none;
  transition: var(--transBg);
}
.productFind_item:hover { background-color: #fff; }
.productFind_item:has(.productFind_icon) { min-height: 144px; }
/* 縦線（右側） */
.productFind_item::before {
  content: '';
  width: 1px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background-color: #fff;
}
.productFind_gridWrap:not([class*="col"]) .productFind_item:nth-child(6n)::before { content: none; }
.productFind_gridWrap.col4 .productFind_item:nth-child(4n)::before { content: none; }
.productFind_gridWrap.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: #fff;
}
/* 6カラム: 最終行を非表示 */
.productFind_gridWrap:not([class*="col"]) .productFind_item:nth-child(6n+1):nth-last-child(-n+6)::after,
.productFind_gridWrap:not([class*="col"]) .productFind_item:nth-child(6n+1):nth-last-child(-n+6) ~ .productFind_item::after { content: none; }
/* 4カラム: 最終行を非表示 */
.productFind_gridWrap.col4 .productFind_item:nth-child(4n+1):nth-last-child(-n+4)::after,
.productFind_gridWrap.col4 .productFind_item:nth-child(4n+1):nth-last-child(-n+4) ~ .productFind_item::after { content: none; }
/* 5カラム: 最終行を非表示 */
.productFind_gridWrap.col5 .productFind_item:nth-child(5n+1):nth-last-child(-n+5)::after,
.productFind_gridWrap.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 {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--defColor);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--defLetterSpacing);
  text-align: center;
}
.productFind_icon + .productFind_text {
  font-size: 16px;
  font-weight: 500;
}
/* --- 目的から商品を探す --- */
.productFind_purpose {
  margin-top: 80px;
}
.productFind_cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(var(--col, 4), 1fr);
  gap: 24px;
}
.productFind_cards:first-child { margin-top: 0; }
.productFind_card {
  min-height: 164px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: var(--transBg);
}
.productFind_card:hover {
  background: #fff;
}
.productFind_card::before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(105.64deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.4) 100%);
  border-radius: 16px;
}
.productFind_card_icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.productFind_card_icon img {
  max-height: 100%;
}
.productFind_card_text {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--defColor);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--defLetterSpacing);
  text-align: center;
}
/* --- コンポネ上書き --- */
.productFind .stdTab {
  margin-top: 56px;
}


/* ==================================================
お知らせ
================================================== */
.news {
  --secGap: 100px;
  --secPaddingB: 100px;
  position: relative;
  background: var(--colorLightBlue);
}
.news_box {
  padding: 56px 40px 56px;
  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: 40px 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: 356px;
  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);
  transition: var(--transOpac);
}
.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;
}
.news_btn:hover {
  opacity: var(--hoverOpac);
}


/* ==================================================
gv（Gateway View）
================================================== */
.gv {
  --secPaddingB: 80px;
}
.gv_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.gv_link {
  aspect-ratio: 580 / 312;
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transOpac);
}
.gv_link:hover {
  opacity: var(--hoverOpac);
}
.gv_link_img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.gv_link_text {
  width: 100%;
  min-height: 68px;
  padding: 12px 48px 12px 24px;
  display: grid;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  color: #fff;
  font-size: 20px;
  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: 24px;
  height: 24px;
  position: absolute;
  right: 20px;
  bottom: 20px;
  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;
}


