/* ========================================
   ヒーローフェード
======================================== */
#top .sub-title,
#top .logo,
#top .product {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

#top .sub-title {
  animation-delay: 0.5s;
}

#top .logo {
  animation-delay: 0.5s;
}

#top .product {
  animation-delay: 0.8s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
/* ========================================
   書式設定
======================================== */
nav#page-nav {
  background: #FF6D16;
}
h2 {
	font-size: clamp(1.1em, 3.6vw, 2.3em) !important;
	color: #333 !important;
}
h3 {
  font-size: clamp(1.1em, 3vw, 1.5em) !important;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
}
h4 {
  font-size: 1.0em !important;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-bottom: 0px;
}
.txt-mid {
  text-align: center;
  font-size: 1.8em;
  font-weight: 600;
  color: #0066cc;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.txt-mid + article {
  margin: 0 !important;
  padding: 0 !important;
}
@media(max-width : 640px) {
  .txt-mid {
    font-size: 1.3em;
    font-weight: 600;
    color: #0066cc;
  }
}
.txt-mid + article {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.txt-mid2 {
  margin-top: 30px;
  text-align: center;
  font-size: 1.5em;
  font-weight: 600;
}
@media(max-width : 640px) {
  .txt-mid2 {
    font-size: 1.1em;
  }
}
.center {
  text-align: center;
}
.center2 {
  text-align: center;
}
@media(max-width : 640px) {
  .center2 {
    text-align: left !important;
  }
}
.title-middle {
  font-size: clamp(1.5em, 3vw, 1.8em);
  font-weight: 600;
  color: #0066cc;
  text-align: center;
  margin: 30px 0 10px 0;
}
.sub-title {
  font-size: clamp(.7em, 3.4vw, .8em) !important;
  line-height: 1.2em;
  margin: 10px 0;
}
.sub-title2 {
  font-size: clamp(.2em, 3.0vw, .7em) !important;
  line-height: 1.2em;
  margin: 10px 0;
}
.text-content {
  height: 100%;
  box-sizing: border-box;
}
.text-content .support-txt {
  font-size: 0.95em;
}
.underline {
  border-bottom: 1px solid #ccc !important;
  margin-bottom: 10px;
  padding-bottom: 10px;
}
.bold {
  font-weight: 600;
}
.bold2 {
  font-weight: 700;
}
.bold3 {
  font-weight: 800;
}
.hr1 {
  border: 1px solid #ededed;
  margin: 30px 0;
}
.documents2 {
  width: 50%;
  margin: 10px auto;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
@media(max-width : 750px) {
  .documents2 {
    width: 85%;
  }
  .documents4 {
    width: 100%;
  }
}
.documents3 {
  width: 100%;
  margin: 10px auto;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
/* =====箇条書き===== */
.solu-list ul {
  margin-left: 20px !important;
}
.solu-list ul li {
  list-style: disc !important;
}
/* =====サブキャッチ（水色吹き出し）===== */
.s-icon {
  background: #65C4F2;
  display: block !important;
  color: #fff;
  text-align: center;
  font-weight: bold;
  border-radius: 100px;
  padding: 5px 20px;
  font-size: clamp(.7em, 2.0vw, 1em);
  width: fit-content;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 28px;
  font-weight: bold;
}
/* =====フッターバナー===== */
.f-banner {
  width: 730px;
  margin: 0 auto;
}
@media(max-width : 750px) {
  .f-banner {
    width: 100%;
  }
}
/* =====見出し（逆ハの字）===== */
.heading2 {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.heading2::before, .heading2::after {
  content: '';
  width: 2px;
  height: 30px;
  background-color: #ff6a44;
  margin: 10px 1.8vw;
}
.heading2::before {
  margin-right: 30px;
  transform: rotate(-35deg)
}
.heading2::after {
  margin-left: 30px;
  transform: rotate(35deg)
}
@media(max-width : 750px) {
  .heading2 {
    font-size: clamp(16px, 3vw, 1.0em);
	  margin-bottom: 10px;
  }
}
/* =====サブキャッチ（オレンジ吹き出し）===== */
.s-icon-ora {
  background: #e36937;
  display: inline !important;
  color: #fff;
  text-align: center;
  font-size: .8em;
  font-weight: bold;
  border-radius: 3px;
  padding: 5px 20px;
}
.s-icon-ora.second {
  position: relative;
  top: 10px;
}
@media screen and (max-width: 640px) {
  .bg1 {
    padding: 15px !important;
  }
}
@media(max-width : 750px) {
  .s-icon-ora {
    font-size: 0.8em !important;
  }
}
/* --改行-- */
.br-sp3 {
  display: none;
}
@media screen and (max-width: 768px) {
  .br-sp3 {
    display: block;
  }
}
/* 特許取得 */
.tokkyo {
  background: #EBDCB1 !important;
  color: #C10003 !important;
  font-size: 0.5em !important;
  font-weight: bold;
  text-align: center;
  padding: 2px 8px !important;
  border-radius: 3px;
  margin-left: 5px;
}
/* ワイド画像 */
.img-content-w img {
  width: 100% !important;
  max-width: 560px !important;
  height: auto !important;
}
/* ロゴ画像 */
.logo-siwake {
  text-align: center !important;
}
.logo-siwake img {
  display: inline-block;
  width: 60%;
  max-width: 100%;
  height: auto;
}
@media only screen and (max-width:640px) {
  .logo-siwake img {
    width: 90%;
    height: auto;
  }
}
.img-zukai img {
	 width: 90%;
	height: auto;
	margin: 0 auto;
}
@media only screen and (max-width:640px) {
	.img-content {
		display: block!important;
		width: 100%!important;
	}
	.img-zukai img {
	 width: 90%;
	height: auto;
}
}
/* ========================================
   ヒーロー
======================================== */
section#top {
  background: #fff url("../../image/back-benny-sv.png") no-repeat center / cover !important;
  background-position: center top 60px !important;
  min-height: 200px;
  display: flex;
  place-content: center;
}
section#top > .top {
  max-width: var(--basic-width);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1em;
  padding: var(--basic-padding); /* 空けたい場合復活 */
  padding-bottom: 0 !important;
}
.top {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.logo {
  display: inline-flex;
  align-items: center;
}
.logo::after {
  content: "NEW";
  margin-left: 0px!important;
  width: 60px;
  height: 60px;
  background: #e60012;
  color: #fff;
  font-size: clamp(1.1rem, 2.5vw, 1.7rem);
  font-weight: bold;
  line-height: 1;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 767px) {
  .logo::after {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    aspect-ratio: 1 / 1;
    flex: 0 0 40px;
    border-radius: 50%;
  }
}

/* top04も画面幅に合わせる */
#top .top > img {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
}
/* Sub Title */
.top h1 .sub-title {
  display: block;
  margin: 0 0 0px;
  color: #111;
  font-size: clamp(16px, 2vw, 30px) !important;
  font-weight: 700;
  line-height: 1.4;
}
/* Benny Logo */
.top h1 {
  margin: 0 0 0px;
  padding: 0;
}
.top h1 img {
  display: block;
  width: min(400px, 80vw);
  height: auto;
  margin: 0 auto;
}
/* スマホ */
@media screen and (max-width: 767px) {
  section#top {
    background-position: center bottom -100px !important;
  }
  .top h1 img {
    width: min(280px, 80vw);
  }
}
/* ========================================
   ワークステーション
======================================== */
/* PC：2カラムの高さを揃えて、画像を下揃え */
.grid-container.halfbox.work {
  display: flex;
  align-items: stretch;
  width: 80% !important;
}

.grid-container.halfbox.work > .text-content {
  display: flex;
  flex-direction: column;
}

.grid-container.halfbox.work > .text-content > img {
  margin-top: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* スマホ：縦並び・上揃え */
@media screen and (max-width: 767px) {
  .grid-container.halfbox.work {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  .grid-container.halfbox.work > .text-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .grid-container.halfbox.work > .text-content > img {
    margin-top: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* ========================================
   独自開発ハードウェア
======================================== */
.grid-hardware {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.grid-hardware > div {
  padding: 16px;
  background: #FEF8F0 !important;
  border-radius: 8px;
  border: 1px solid #F9CF91 !important;
  text-align: center;
}
@media (max-width: 600px) {
  .grid-hardware {
    grid-template-columns: 1fr;
  }
}
/* ========================================
   フロー
======================================== */
.flow {
  width: min(1100px, 95%);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
}
/* 各ブロック */
.flow-item {
  flex: 1;
  min-width: 0;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.06);
}
.flow-title {
  margin: 0 0 10px;
  font-size: 1.0em !important;
  font-weight: 700;
  text-align: center;
  background: #eb723e;
  padding: 5px 0;
  color: #fff;
}
.flow-description {
  font-size: .95em;
  /*      line-height: 1.8;*/
}
/* ブロック間の右向き三角 */
.flow-arrow {
  flex: 0 0 auto;
  align-self: center;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #eb723e;
}
/* タブレット・スマホでは縦組み */
@media (max-width: 768px) {
  .flow {
    width: min(1100px, 100%);
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  .flow-item {
    width: 100%;
  }
  /* 三角を下向きに変更 */
  .flow-arrow {
    align-self: center;
    width: 0;
    height: 0;
    border-top: 16px solid #eb723e;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    border-bottom: 0;
  }
}
/* ========================================
   ▼AI-OCR（紫）・銀行API（黄）・CSVのタブ（緑）
======================================== */
.color3 {
  width: 60% !important;
}
.icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  text-align: center;
  width: 80%;
  margin: 0 auto;
}
.icons-grid span {
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  display: block;
  padding: 5px 0;
  border-radius: 5px; /* 角丸5px */
}
/* 640px以下 */
@media screen and (max-width: 640px) {
  .color3 {
    width: 100% !important;
  }
  .icons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
  .icons-grid > span {
    display: flex;
    align-items: center; /* 縦中央 */
    justify-content: center; /* 横中央 */
    text-align: center;
  }
}
/* 480px以下 */
@media screen and (max-width: 480px) {
  .icons-grid {
    gap: 8px;
  }
  .icons-grid span {
    padding: 6px 0;
  }
}
.s-icon-ai {
  background: #a4739a;
  color: #fff;
  text-align: center;
  font-weight: bold;
  border-radius: 0px;
  padding: 0px 10px 5px 10px;
  margin: 5px 5px 5px 0px;
}
.s-icon-api {
  background: #D4C74E;
  color: #fff;
  text-align: center;
  font-weight: bold;
  border-radius: 0px;
  padding: 0px 10px 5px 10px;
  margin: 5px 5px 5px 0px;
}
.s-icon-csv {
  background: #178C2B;
  color: #fff;
  text-align: center;
  font-weight: bold;
  border-radius: 0px;
  padding: 0px 10px 5px 10px;
  margin: 5px 5px 5px 0px;
}
.tab-wrap {
  width: 100%;
}
.tab-button {
  display: block;
  width: fit-content;
  padding: 10px 24px;
  margin: 0;
  line-height: 1.5;
  box-sizing: border-box;
}
.tab-border {
  width: 100%;
  height: 2px;
  background-color: #A4739A;
  margin: 0;
  padding: 0;
}
.yellow {
  background-color: #D4C74E;
}
.green {
  background-color: #178C2B;
}
/* スマホ */
@media (max-width: 767px) {
  .tab-button {
    padding: 8px 16px;
    font-size: 14px;
  }
}
.tab1 {
  background: #A4739A;
  display: block;
  width: 30%;
  padding: 5px 30px;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 0px;
  color: #fff;
  font-weight: 600;
  border-radius: 10px 10px 0 0;
}
.tab2 {
  background: #D4C74E;
  display: block;
  width: 30%;
  padding: 5px 30px;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 0px;
  color: #fff;
  font-weight: 600;
  border-radius: 10px 10px 0 0;
}
.tab3 {
  background: #178C2B;
  display: block;
  width: 30%;
  padding: 5px 30px;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 0px;
  color: #fff;
  font-weight: 600;
  border-radius: 10px 10px 0 0;
}
@media screen and (max-width: 640px) {
  .tab1, .tab2, .tab3 {
    width: 70%;
    font-size: 0.9em;
  }
}
/* ========================================
   囲み（年末調整特集）
======================================== */
.documents4 {
  width: 85%;
  margin: 0px auto;
  background: #F6E8E5;
  padding: 25px;
  border-radius: 7px;
  /*	border: 1px solid #ccc;*/
  font-size: 1.6rem;
}
.logo-nencho img {
  width: 40%;
  height: auto;
}
@media only screen and (max-width:640px) {
  .logo-nencho img {
    width: 90%;
    height: auto;
  }
  .documents4 {
    width: 100%;
  }
}
/* ========================================
   サポート
======================================== */
.heading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 8px 48px;
  box-sizing: border-box;
  font-size: clamp(18px, 4vw, 28px);
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
}
.heading-icon {
  position: absolute;
  left: 6px;
  top: 40%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.heading-title {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 0.7em;
}
/* タブレット・スマートフォン */
@media (max-width: 767px) {
  .heading {
    min-height: 44px;
    padding: 6px 44px;
    font-size: clamp(16px, 5vw, 22px);
  }
  .heading-icon {
    left: 10px;
    width: 50px;
    height: 50px;
  }
}