/* ========================================
   ヒーローフェード
======================================== */
#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.0vw, 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(.3em, 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%;
}
}
.documents3 {
    width: 100%;
    margin: 10px auto;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* =====画像大きさ指定===== */
.logo-aiocr-plus {
  display: block;
  width: 60%;
  height: auto;
  margin: 0 auto;
}
/* =====箇条書き===== */
.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;
}

/* =====フッターバナー===== */
.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(15px, 3vw, 1.0em);
	margin-bottom: 10px;
}
}

/* =====サブキャッチ（青色吹き出し）===== */
.s-icon-blue {
    background: #0066cc;
    display: inline!important;
    color: #fff;
    text-align: center;
	font-size: .8em;
    font-weight: bold;
    border-radius: 20px;
    padding: 5px 20px;
}
.s-icon-blue.second {
  position: relative;
  top: 10px;
}


@media(max-width : 750px ) {
.s-icon-blue {
    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-zukai img {
	 width: 100%;
	height: auto;
}
}
/* ========================================
   ヒーロー
======================================== */
section#top {
  background: #fff url("../../image/back-benny-st.png") no-repeat center / cover !important;
  background-position: center bottom 50px !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;
}
section#top > .top h1 {
  gap: 0.2em;
}
.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;
}
#top .top > img.product {
  display: block;
  width: 85%!important;
  max-width: 1200px!important;
  height: auto;
}
@media screen and (max-width: 767px) {
#top .top > img.product {
  display: block;
  width: 100%!important;
  max-width: 1200px!important;
}
}
/* 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 20px!important;
}
.top h1 img {
    width: min(280px, 80vw);
}
}

/* ========================================
   ▼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;
}
}
.bg1,.bg2,.bg3 {
	padding: 40px;
	margin-top: 0;
}
.bg1 {
	background: #FAF6FD;
}
.bg2 {
	background: #F8F6EA;
}
.bg3 {
	background: #F4F5F4;
}
@media screen and (max-width: 640px) {
.bg1, .bg2, .bg3 {
	padding: 15px;
}
}
/* ========================================
   囲み（年末調整特集・ストレージ）
======================================== */
.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;
}
}