/* CSS Document */
.block-page-top {
	z-index: 99;
}

.fb-top-part1 img {
	width: 100%;
}
.fb-little-bigtext {
    font-size: 16px;
}
.mini-text {
    font-size: 10px;
}
.fb-table-bigtext {
    font-size: 2.5rem;
}
h3 {
	font-size: 16px;
}
.fb-part5 h3, .fb-part7 h3 {
    font-size: 16px;
}
.fb-little-bightheme {
    font-size: 18px;
}



/******************************タブで動くテーブル部分********************************/
.tabs {
  width: 90%;
  margin: 0 auto;
  position: relative;
}

.tab-buttons {
  display: flex;
  position: relative;
	/*z-index: 2;*/
	width: 90%;
}

.tab-button:nth-child(1) {
  background-color: #2d445b; /* タブ1の背景色 (淡い赤) */
}

.tab-button:nth-child(2) {
  background-color: #8f8f8f; /* タブ2の背景色 (淡い緑) */
}

/* 選択されても背景色は変えない */
.tab-button.active:nth-child(1) {
  background-color: #2d445b; /* タブ1の背景色を維持 */
}

.tab-button.active:nth-child(2) {
  background-color: #8f8f8f; /* タブ2の背景色を維持 */
}

.tab-button {
  flex: 1;
  padding: 10px 0;
  border: none;
	box-shadow: 4px 4px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 8px 8px 0 0; /* タブの上部を丸くする */
  height: 40px; /* 非選択タブの高さ */
  overflow: hidden; /* 非選択時に物画像を隠す */
	margin-right: 5px;
}

.tab-button.active {
  height: 60px; /* 選択されたタブの高さを伸ばす */
  border-bottom: none; /* 下線を消してコンテンツとつなげる */
  /*z-index: 3;  選択されたタブを前面に */
}

.tab-buttons .tab-button:not(.active) {
  margin-top: 20px; /* 非選択タブをコンテンツとつなげる */
}

@media(min-width: 451px) {
	.tab-button {
		height: 60px;
	}
	.tab-button.active {
		height: 110px;
	}
	.tab-buttons .tab-button:not(.active) {
		margin-top: 50px;
	}
}
@media(min-width: 301px) and (max-width:450px){
	.tab-button {
		height: 40px;
		padding: 0;
	}
	.tab-button.active {
		height: 80px;
	}
	.tab-buttons .tab-button:not(.active) {
		margin-top: 40px;
	}
	.tab-image .logo {
	  height: 20px;
	  object-fit: contain; /* ロゴ画像を適切に縮小 */
	}

	.tab-image .item {
	  height: 30px;
		margin-top: -10px;
	  object-fit: contain;
	  transition: opacity 0.3s ease, visibility 0.3s ease;
	}
}

.tab-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}

.tab-image .logo {
  height: 40px;
  object-fit: contain; /* ロゴ画像を適切に縮小 */
}

.tab-image .item {
  height: 60px;
  object-fit: contain;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tab-image .item.hidden {
  opacity: 0;
  visibility: hidden;
}

.tab-button.active .item {
  opacity: 1;
  visibility: visible;
}

.tab-contents {
  position: relative;
  background-color: white;
  /*border: 1px solid #ccc;*/
	box-shadow: 4px 4px 8px rgba(0,0,0,0.2);
  border-radius: 0 8px 8px 8px;
  /*padding: 20px;*/
  margin-top: -1px; /* タブと内容をつなげる */
  z-index: 1;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
}

.styled-table th, .styled-table td {
  padding: 10px;
  text-align: center;
  /*border: 1px solid #ccc;*/
}

/**/
.styled-table tr:nth-of-type(1) td:nth-of-type(1) {
    border-top-left-radius: 0px;
}
.styled-table tr:nth-of-type(1) td:nth-of-type(2) {
    border-top-right-radius: 0px;
}
.styled-table tr td:nth-of-type(n+1) {
    border-bottom: none;
}
.styled-table tr td:nth-of-type(1) {
    border-right: none;
	width: 40%;
	padding-left: 12%;
	vertical-align: middle;
	position: relative;
}
.styled-table tr {
	border-bottom: 1px #ccc solid;
}
table tr td:nth-of-type(n+1) {
    padding: 1rem .5rem;
	font-size: 12px;
}

/***********下向き矢印***********/
.allow-under::before {
    content: '';
    position: absolute;
    top: 44%;
    left: 17px;
    width: 7px;
    height: 7px;
    border-right: 1px solid #fff;
    border-top: 1px solid #fff;
    transform: rotate(135deg) translateY(-50%);
    z-index: 3;
}
.allow-under::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 13px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transform: translateY(-50%);
}
.allow-blue::after {
    background-color: #1fc2de;
}
.allow-yellow::after {
    background-color: #e9c46a;
}
/********改行*********/
.sb-br {
	display: none;
}
@media(max-width:415px) {
	.sb-br {
		display: block;
	}
}

/**********************サイズ部分*************************/
.fb-part4 {
    padding-top: 10px;
}
.under-svg {
	vertical-align: top;
}
.fb-part5 .carousel-item > .column2-img-text1,.comparison2 .carousel-item > .column2-img-text1 {
	width: calc(100% - 60px);
	margin: 10px 30px;
	border-radius: 30px;
	box-shadow: 4px 4px 12px rgba(0,0,0,0.2);
}
.fb-part5 .carousel-item > .column2-img-text1 .left-p {
	margin: 2em;
}
.fb-part5 .column2-img-text1 .fb-bg-blue,.fb-part5 .column2-img-text1 .fb-bg-darkgray,.fb-part7 .column2-img-text1 .fb-bg-blue,.fb-part7 .column2-img-text1 .fb-bg-darkgray {
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    margin-bottom: 20px;
	position: relative;
	z-index: 2;
}

/*********************カルーセル部分*************************/
.motion-left-arrow, .motion-right-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    cursor: pointer;
	background: #b3b3b3;
	opacity: 0.8;
	border-radius: 50px;
}

.motion-left-arrow {
    left: 15px;
}

.motion-right-arrow {
    right: 15px;
}

.motion-left-arrow::before,
.motion-right-arrow::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border: solid #fff;
    border-width: 0 1px 1px 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.motion-left-arrow::before {
    transform: translate(-50%, -50%) rotate(135deg); /* 左矢印 */
    left: 55%;
}

.motion-right-arrow::before {
    transform: translate(-50%, -50%) rotate(-45deg); /* 右矢印 */
	left: 45%;
}
.two-item-carousel {
    position: relative;
    width: 100%; /* カルーセル全体の幅 */
    overflow: hidden; /* スライドの外側を隠す */
}

.sb-carousel-content {
    display: flex; /* スライドを横並びにする */
    transition: transform 0.5s ease; /* スライドの動きをスムーズに */
    width: 100%; /* スライド全体の幅（2枚分） */
}

.carousel-item {
    flex: 0 0 100%; /* 各スライドをカルーセルの幅に収める */
    width: 100%; /* スライドの幅を親要素に合わせる */
}
/*ドット部分*/
.carousel-dots {
    display: flex;
    justify-content: center;
	margin-top: 10px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}
.carousel-dot.active {
    background-color: #333f49; /* 現在のスライドを示す色 */
}
/*************************サポートローラー*************************/
.fb-part6  .left-p {
	margin: 1em;
}

.fb-part6 img:last-of-type {
    position: relative;
    bottom: 0px;
    left: 0%;
    transform: translateX(0%);
}
.fb-part6 {
    padding-bottom: 0px;
}

/************おすすめ機能比較*************/
.fb-little-bigtheme {
    font-size: 22px;
}
.column2-img-text4 .fb-little-bigtheme {
	font-size: 24px;
}
/*フェードインの動き*/
.fade-slide-bottom2 {
	opacity: 0;
	transform: translateY(20px);
	transition: all 1.0s 0.3s ease-out;
}
.fb-part7 .fade-slide-bottom1 {
	margin: -85px 0;
	transform: translateY(20px);
	width: 150px;
	transition: all 1.0s 0s ease-out;
}
.comparison3 h3 {
    margin-left: 0;
}
.pane-contents .comparison3-inner > p {
    margin-left: 1em;
}
.comparison1-inner .main-column,.comparison3-inner .main-column,.comparison4-inner .main-column {
	flex-direction: column;
}
.comparison1-inner .main-column .column2-img-text4,.comparison1-inner .main-column .column2-img-text5,.comparison3-inner .main-column .column2-img-text4,.comparison3-inner .main-column .column2-img-text5,.comparison4-inner .main-column .column2-img-text4,.comparison4-inner .main-column .column2-img-text5 {
	width: 100%;
}
.comparison1, .comparison2, .comparison3 {
    padding-top: 60px;
}
/*ボタンの大きさ調整*/
.fb-option1 .fb-blackborder-button,.fb-part8 .fb-darkblue-button {
	width: 250px;
}
/********カルーセルアイテムの高さそろえ*********/
.two-item-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.sb-carousel-content {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 100%;
    display: flex; /* フレックスで高さ揃え */
    align-items: stretch; /* 子要素の高さを揃える */
    justify-content: center; /* 子要素を中央揃え */
    box-sizing: border-box;
}

.carousel-item > div {
    flex: 1; /* 内部の div を同じ高さに揃える */
    display: flex;
    flex-direction: column;
}
/*******最後の部分********/
.fb-part8 p {
    letter-spacing: .2rem;
}
/*******文字の大きさ調整*******/
.wrapper-forbusiness h2 {
	font-size: 18px;
}
.mini-img, .contexts-width .mini-img {
    width: 50%;
}
/**/
.fb-option1 .white-text .mini-text {
    margin-left: 0;
}
.fb-option1 .mini-text {
    margin-left: 1em;
}
/**/
.fb-option1 .column2-img-text1 h2 {
    width: 63%;
}

.fb-part2 {
    margin-top: 10px;
}
.fb-part2 .fb-little-bigtext {
    font-size: 18px;
}

/**3枚以上のカルーセル**/
.multi-item-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.multi-item-carousel .sb-carousel-content {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.multi-item-carousel .carousel-item {
    flex: 0 0 50%; /* 2スライドが同時に表示される */
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
}
.fb-part3 {
    padding: 20px 0 50px;
}
/**/
.comparison5 h3, .pane-contents .comparison5-inner .right-100 p {
	margin-left: 0;
}
.fb-blue-button {
	width: 150px;
}
.fb-table-bigkanatext {
	font-size: 1.2rem;
}
 
