@charset "utf-8";


/*=======================================================================

TOPページ (top.css)

========================================================================*/
#menu {
	display: none;
}

#main {
  width: 100%;
	margin-bottom: 56px;
  padding: 0;
	background: none;
	box-shadow: 0 0 0;
}

#main .main_visual {
  max-width: 1200px;
	margin: 0 auto 40px;
}
#main .main_visual img {
	width: 100%;
  height: auto;
}




.tab-container {	
	width: 100%;
	margin-bottom: 48px;
}
.tab-list {
  display: flex;
	column-gap: 24px;
	max-width: 1200px;
	margin: 0 auto;
}
.tab-button {
  flex: 1;
  text-align: center;
  padding: 140px 16px 32px;
  background-color: #f0f0f0;
  color: #222;
  cursor: pointer;
  border-radius: 30px;
	font-size: 1.5rem;
  font-weight: 700;
  transition: 0.2s;
	position: relative;
}
.tab-button.theme-kanyu {
	background: #cbe7e8 url("../images/index/tab_kanyu.svg") center 16px no-repeat;
	background-size: 180px auto;
	color: #00adba;
}
.tab-button.theme-jukyuyotei {
	background: #feefbf url("../images/index/tab_jukyuyotei.svg") center 16px no-repeat;
	background-size: 180px auto;
	color: #fabe00;
}
.tab-button.theme-jukyu {
	background: #e3f0cf url("../images/index/tab_jukyu.svg") center 16px no-repeat;
	background-size: 180px auto;
	color: #8ec43e;
}
.tab-button.theme-jimu {
	background: #fbe1e6 url("../images/index/tab_jimu.svg") center 16px no-repeat;
	background-size: 180px auto;
	color: #ee869a;
}
.tab-button::after {
	content: '';
	background-color: #ccc;
  height: calc(tan(60deg) * 12px / 2);
  width: 12px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
}
.tab-button.theme-kanyu::after {
	background-color: #00adba;
}
.tab-button.theme-jukyuyotei::after {
	background-color: #fabe00;
}
.tab-button.theme-jukyu::after {
	background-color: #8ec43e;
}
.tab-button.theme-jimu::after {
	background-color: #ee869a;
}
@media (any-hover: hover) {
  .tab-button:hover{
    color: #fff;
  }
  .tab-button:hover::after {
    background-color: #fff;
  }
  .tab-button.theme-kanyu:hover {
    background: #00adba url("../images/index/tab_kanyu_on.svg") center 16px no-repeat;
    background-size: 180px auto;
  }
  .tab-button.theme-jukyuyotei:hover {
    background: #fabe00 url("../images/index/tab_jukyuyotei_on.svg") center 16px no-repeat;
    background-size: 180px auto;
  }
  .tab-button.theme-jukyu:hover {
    background: #8ec43e url("../images/index/tab_jukyu_on.svg") center 16px no-repeat;
    background-size: 180px auto;
  }
  .tab-button.theme-jimu:hover {
    background: #ee869a url("../images/index/tab_jimu_on.svg") center 16px no-repeat;
    background-size: 180px auto;
  }
}

.tab-button.active {
	margin-bottom: -16px !important;
	border-bottom: 0;
	border-radius: 30px 30px 0 0;
}
.tab-button.theme-kanyu.active,
div.theme-kanyu {
	background-color: #cbe7e8;
}
.tab-button.theme-jukyuyotei.active,
div.theme-jukyuyotei {
	background-color: #feefbf;
}
.tab-button.theme-jukyu.active,
div.theme-jukyu {
	background-color: #e3f0cf;
}
.tab-button.theme-jimu.active,
div.theme-jimu {
	background-color: #fbe1e6;
}
@media (any-hover: hover) {
  .tab-button.theme-kanyu.active:hover {
    background: #cbe7e8 url("../images/index/tab_kanyu.svg") center 16px no-repeat;
    background-size: 180px auto;
    color: #00adba;
  }
  .tab-button.theme-jukyuyotei.active:hover {
    background: #feefbf url("../images/index/tab_jukyuyotei.svg") center 16px no-repeat;
    background-size: 180px auto;
    color: #fabe00;
  }
  .tab-button.theme-jukyu.active:hover{
    background: #e3f0cf url("../images/index/tab_jukyu.svg") center 16px no-repeat;
    background-size: 180px auto;
    color: #8ec43e;
  }
  .tab-button.theme-jimu.active:hover {
    background: #fbe1e6 url("../images/index/tab_jimu.svg") center 16px no-repeat;
    background-size: 180px auto;
    color: #ee869a;
  }
}
.tab-button.theme-kanyu.active:hover::after {
	background-color: #00adba;
}
.tab-button.theme-jukyuyotei.active:hover::after {
	background-color: #fabe00;
}
.tab-button.theme-jukyu.active:hover::after {
	background-color: #8ec43e;
}
.tab-button.theme-jimu.active:hover::after {
	background-color: #ee869a;
}

/* --- サブメニューエリアの共通スタイル --- */
.tab-content {
  display: none; /* 初期状態は非表示 */
	margin-top: 16px;
  padding: 32px 40px;
}

/* ボタンがクリックされてactiveがついたら表示 */
.tab-content.active {
  display: block;
  animation: fadeIn 0.4s;
}


/* ホバー時の心地よい浮き上がりエフェクト
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
 */

/* フェードインアニメーション */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}



#main #content {
	max-width: 1200px;
}


#content .news {
	margin: 0;
	margin-bottom: 56px;
	padding: 24px;
	background-color: #fff;
	border: 4px solid #ededed;
}
#content .news .news_head {
  display: flex;
  align-items: center;
	column-gap: 32px;
	margin-bottom: 24px;
}

#content .news h2 {
	margin: 0;
	padding: 0;
  border: 0;
}
#content .news h2::before,
#content .news h2::after {
  display: none;
}
#content .news h2 {
  font-size: 1.5rem;
  font-weight: bold;
}

#content .news .btn_more {
	margin-left: auto;
}
#content .news .btn_more a {
	display: inline-block;
	padding: 0 32px;
	border: 1px solid #999;
	border-radius: 100px;
	color: #999;
	text-decoration: none;
	position: relative;
}
#content .news .btn_more a::after {
  content: '\f105';
  color: #999;
  font-family: "Font Awesome 6 Free";
	font-size: 16px;
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}


#content .banner,
#content .banner02 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
	justify-content: center;
	gap: 16px 32px;
	max-width: 1120px;
	margin: 0 auto 48px;
}
#content .banner02 {
	margin-bottom: 0;
}
#content .banner div {
	width: calc(100% / 3 - 22px);
}
#content .banner div img {
	width: 100%;
	height: auto;
}

#content .banner .about {
	background: url("/common/images/index/banner01_on.svg?260601") center center no-repeat;
}
#content .banner .jigyosho {
	background: url("/common/images/index/banner02_on.svg?260601") center center no-repeat;
}
#content .banner .webplus {
	background: url("/common/images/index/banner03_on.svg?260911") center center no-repeat;
}
#content .banner02 .kanyu {
	background: url("/common/images/index/banner04_on.svg?260601") center center no-repeat;
}
@media (any-hover: hover) {
  #content .banner a:hover {
    opacity: 0;
    transition: .2s;
  }
}






@media screen and (min-width: 960px) and (max-width: 1200px) {
	#main .main_visual,
	.tab-list,
	#main #content,
  #content .banner,
  #content .banner02 {
    padding-left: 24px;
    padding-right: 24px;
  }
}



/*----------------------------------------------------------------------
 Smartphone css
----------------------------------------------------------------------*/
@media screen and (max-width: 960px) {
  #main {
    margin-bottom: 0;
  }
  #main .main_visual {
    width: 100%;
  }
  #main .main_visual img {
    border-top: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
  }
  .tab-container {
    margin-bottom: 32px;
  }
	.tab-list {
		column-gap: 16px;
		padding-left: 32px;
		padding-right: 32px;
	}
  .tab-button {
    padding: 88px 16px 32px;
    border-radius: 20px;
    font-size: 1.125rem;
  }
  .tab-button.theme-kanyu,
  .tab-button.theme-jukyuyotei,
  .tab-button.theme-jukyu,
  .tab-button.theme-jimu {
    background-size: 100px auto;
  }
  .tab-button.active {
    border-radius: 20px 20px 0 0;
  }

  /*#content .top_nav {
    width: 100%;
    margin-bottom: 40px;
  }*/
	
  #content .news {
    margin-bottom: 40px;
  }

  #content .banner,
  #content .banner02 {
		width: 100%;
		margin-bottom: 40px;
  }




}

@media screen and (max-width: 767px) {
  #main .main_visual {
    margin: 0;
  }
	
  .tab-container {
    margin: 24px 0 0;
  }
	.tab-list {
		column-gap: 8px;
		padding-left: 8px;
		padding-right: 8px;
	}
  .tab-button {
    padding: 48px 4px 24px;
    border-radius: 10px;
    font-size: 0.75rem;
		letter-spacing: 0;
		line-height: 1.2;
  }
  .tab-button.theme-kanyu,
  .tab-button.theme-jukyuyotei,
  .tab-button.theme-jukyu,
  .tab-button.theme-jimu {
    /*background-image: none;*/
  }
  .tab-button.theme-kanyu,
  .tab-button.theme-jukyuyotei,
  .tab-button.theme-jukyu,
  .tab-button.theme-jimu {
		background-position: center 8px;
    background-size: 56px auto;
  }
  .tab-button.active {
    margin-bottom: -8px !important;
    border-radius: 10px 10px 0 0;
  }
  .tab-button::after {
    height: calc(tan(60deg) * 8px / 2);
    width: 8px;
    bottom: 12px;
  }
  .tab-content {
    margin-top: 8px;
		padding: 24px 16px;
  }
	
	
  /*#content .top_nav {
    gap: 16px;
    margin-bottom: 24px;
  }
  #content .top_nav div {
    width: calc(100% / 2 - 8px);
  }*/

  #content .news {
		margin: 0 -16px 24px;
    padding: 32px 16px;
    border-left: 0;
    border-right: 0;
  }
  #content .news h2 {
    font-size: 1.25rem;
  }
  #content .news .btn_more a {
		padding: 2px 24px;
    font-size: 0.75rem;
  }
  #content .news .btn_more a::after {
    font-size: 12px;
    right: 10px;
  }

  #content .banner,
  #content .banner02 {
    margin: 0 auto 16px;
  }
  #content .banner02 {
    margin-bottom: 0;
  }
  #content .banner div {
    width: 70%;
    margin: auto;
  }
  #content .banner div img {
    width: 100%;
    height: auto;
  }
  
}