/*
 * style Name: front.css
  description: TOPページ用
 */


.front_main_visual {
    margin-top: 125px;
    width: 100%;
}

.front_main_visual img {
    width: 100%;
}

.front_main {
    background: #fff;
    margin-top: 0;
}

.block_inner-wrap {
    width: 100%;
}

.inner_black {
    background: #333;
}

.inner_gray {
    background: #f1f1f1;
    padding-bottom: 50px;
}

.inner_blue {
    background: #e3f2ff;
    padding-bottom: 50px;
}

.inner_black .block_inner h2 {
    color: #fff;
}

.inner_black .block_inner p {
    color: #fff;
    padding-bottom: 30px;
}

.inner_gray .block_inner h2 {
    color: #333;
}

.block_inner h2 {
    text-align: center;
    padding: 50px 0 30px;
    font-size: 24px;
    position: relative;
}

.block_inner h2::after {
    position: absolute;
    content: "";
    width: 70px;
    height: 3px;
    background-color: #266fcb;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
}

.block_inner p {
    text-align: center;
    padding-bottom: 30px;
    margin: 0 10px;
}

.block_inner .about_list {
    display: flex;
    justify-content: space-between;
    padding-bottom: 50px;
}

.block_inner .about_list .about_list-item {
    width: 25%;
    /* margin-right: 10px; */
    margin: 0 5px;
}

.block_inner .about_list .about_list-item a {
    background: #266fcb;
    color: #fff;
    text-align: center;
    display: block;
    /* padding: 15px 30px; */
    font-size: 20px;
    cursor: pointer;
    margin-bottom: 10px;
    box-shadow: 2px 2px 3px rgb(0 0 0 / 30%);
    /* transition: all 0.2s ease; */
}

.block_inner .about_list .about_list-item a:hover {
    background: #fff;
    color: #266fcb;
    /* border: 1px solid #266fcb; */
    margin-bottom: 10px;
}

.block_inner .about_list .about_list-item a img {
    width: 100%;
}

.block_inner .about_list .about_list-item a:hover img {
    opacity: .7;
}
.block_inner .about_list .about_list-item a p {
    padding-bottom: 10px;
}

.block_inner .news_list {
    border: 1px solid #82c3ff;
    padding: 20px 10px 14px 10px;
    margin: 0 10px;
}

.block_inner .news_list li {
    list-style: none;
    line-height: 1.2;
    margin-bottom: 6px;
}

.news_item-wrap {
    display: flex;
}

.data {
    width: 115px;
}

.news_list li a {
    color: #333;
    width: calc(100% - 115px);
}

.news_list li a:hover {
    opacity: .7;
    text-decoration: underline;
}

.block_inner-flex {
    display: flex;
    padding-top: 30px;
    justify-content: center;
}

.flex_reverse {
    flex-direction: row-reverse;
}

.company {
    margin: 50px auto;
}

.company_text {
    width: 40%;
    padding: 0 20px;
}

.company_text:first-child {
    width: 50%;
}

.company_text h3 {
    padding-bottom: 20px;
    font-size: 22px;
}

.company_text p {
    text-align: left;
    font-size: 14px;
    padding-bottom: 16px;
}

.company_text ul {
    font-size: 14px;
    padding-left: 2em;
}

.company_text span {
    font-weight: bold;
}

.company_image {
    width: 60%;
}

.company_image-first {
    width: 50%;
    max-width: 300px;
}

.company_image img {
    width: 100%;
}

.block_access {
    padding-bottom: 50px;
}

.access_map {
    margin-bottom: 50px;
}

.block_inner .access_address {
    font-size: 14px;
    padding-bottom: 5px;
}

.group .block_inner-flex {
    justify-content: space-evenly;
}

.group_image {
    width: 30%;
}

.group_image-item {
    width: 100%;
}

.group_image img {
    width: 100%;
}

.group_info {
    width: 50%;
}

.group_info table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    padding: 0;
}

.group_info table tr {
    border-bottom: 1px solid #bbb;
    padding: 10px;
}

.group_info table tr:last-child {
    border-bottom: none;
}

.group_info table th {
    width: 130px;
}

.group_info table th, .group_info table td {
    padding: 1em 10px 1em 1em;
    border-right: 1px solid #bbb;
}

.group_info table th:last-child, .group_info table td:last-child {
    border: none;
}

.group_info tbody th {
    font-weight: bold;
}

.group-sp {
    display: none;
}


@media (max-width:980px) {
    .block_inner .about_list {
        flex-flow: row wrap;
        margin: 0 10px;
    }

    .block_inner .about_list .about_list-item {
        width: calc(50% - 10px);
    }
}

@media (max-width:700px) {
    .company {
        margin: 50px 10px;
        width: auto;
    }

    .company:last-child {
        margin: 50px 10px 0;
    }

    .block_inner p {
        text-align: left;
    }

    .block_inner .about_list .about_list-item a p {
        text-align: center;
    }

    .block_inner-flex {
        flex-flow: column-reverse;
    }

    .company .block_inner-flex {
        padding-bottom: 0;
    }

    .flex_reverse {
        flex-direction: column-reverse;
    }

    .company_text {
        width: 100%;
        padding: 0;
    }

    .company_text:first-child {
        width: 100%;
    }

    .company_image {
        width: 100%;
        margin: 0 auto;
    }

    .block_access {
        padding-bottom: 0;
    }

    .group .block_inner-flex {
        justify-content: center;
        width: 100%;
    }

    .group-pc {
        display: none;
    }

    .group-sp {
        display: block;
        text-align: center;
        margin-bottom: 50px;
    }

    .group-sp-logo {
        margin-bottom: 10px;
    }

    .group-sp-logo p {
        padding-bottom: 0;
        text-align: center;
    }

    .group-sp-logo img {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width:820px) {
    .front_main_visual {
        margin-top: 83px;
    }
}

@media (max-width:450px) {
    .block_inner .about_list .about_list-item a {
        font-size: 16px;
    }

}


/* ===============================================
#Card Styling
=============================================== */
.card_container {
    margin: 0 10px;
}

.container__wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
}

.card {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  width: calc(100% / 4 - 20px * 3 / 4);
  background-color: white;
}

.card__img {
    margin: 0 auto;
}

.card figure img {
    width: 100%;
    max-width: 100px;
}

@media (max-width: 768px) {
  .card {
    width: calc(50% - 20px / 2);
  }
}
@media (max-width: 414px) {
  .card {
    width: 100%;
  }
}
.card__item {
  padding: 10px 10px 0 10px;
  text-align: center;
}
.card__time {
  color: #888888;
  text-align: right;
  padding-bottom: 10px;
}

.ellipsis {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/*=============================
  tab
=============================*/
  /*タブ切り替え全体のスタイル*/
.tabs {
    padding-bottom: 40px;
    background-color: #fff;
    max-width: 980px;
    margin: 0 auto;
}
  
/*タブのスタイル*/
.tab_item {
  width: 50%;
  font-size: 16px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
  cursor: pointer;
}

.tab_item:hover {
  opacity: 0.75;
}

.tab_item img {
    width: 100%;
    max-width: 250px;
}

.tab_content_description p {
    padding-bottom: 20px;
    font-size: 12px;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 5px 40px 0;
  clear: both;
  overflow: hidden;
}


/*選択されているタブのコンテンツのみを表示*/
#all:checked ~ #all_content,
#programming:checked ~ #programming_content,
#design:checked ~ #design_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
}