@charset "UTF-8";
@import url("grid.css");

:root {
    /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #666;
    --linkhover-color: #999;
    --back-color: #f7f7f7;
    --border-color: #ccc;
    --white-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    /*高さ自動*/
}

a {
    display: block;
    color: var(--link-color);
    text-decoration-line: none;
}

a:hover {
    color: var(--linkhover-color);
}

/*ヘッダー
-------------------------------------*/
.header {
    display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
}

.header-box {
    margin-left: auto;
    margin-top: 8px;
}

.contact-button {
    padding: 1rem;
    border: 2px solid var(--base-color);
}

nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
    margin: 1rem 0 0 0;
}

nav li {
    flex: 1 0 auto;
}

nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}

nav a:hover {
    background-color: var(--back-color);
}

nav a {
    padding: 0.5rem;
}

@media screen and (min-width: 768px) {

    /* PC時はMENUボタンを非表示 */
    #open,
    #close {
        display: none !important;
    }

    #navi {
        display: block !important;
    }
}

@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        margin-bottom: 10px;
    }

    .header #open,
    #close {
        position: absolute;
        top: 20px;
        right: 12px;
    }

    nav ul {
        flex-direction: column;
    }

    .header li {
        padding-top: 0;
    }

    /* スマホ時はMENUボタンを表示 */
    #open {
        display: block;
        background: url(../img/button.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 50px;
        height: 50px;
        border: none;
        position: absolute;
        top: 20px;
        right: 12px;
    }

    #close {
        display: block;
        background: url(../img/button2.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 50px;
        height: 50px;
        border: none;
        position: absolute;
        top: 20px;
        right: 12px;
    }

    /* スマホ時はメニューを非表示 */
    #navi {
        display: none;
    }
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 0 0;
}

section {
    margin: 5rem 0;
    padding: 3rem 0;
}

.gray-back {
    background-color: var(--back-color);
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
}

.catch h2 {
    padding-bottom: 1rem;
}

.under {
    border-bottom: 0.4rem solid var(--base-color);
    padding: 0 1rem 1rem 1rem;
}

.center {
    text-align: center;
    margin-bottom: 4rem;
}

/*タブメニュー（ミッション、ビジョン、バリュー、パーパス）
-------------------------------------*/
main .tab-wrap {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
    font-family: "メイリオ";

}

main .tab-wrap:after {
    content: '';
    width: 100%;
    height: 3px;
    background: #325A8C;
    display: block;
    order: -1;
}

main .tab-label {
    color: White;
    background: LightGray;
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
    padding: 10px .5em;
    order: -1;
    position: relative;
    z-index: 1;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    flex: 1;
}

main .tab-label:not(:last-of-type) {
    margin-right: 5px;
}

main .tab-content {
    width: 100%;
    height: 0;
    overflow: hidden;
    opacity: 0;
}

main .tab-switch:checked+.tab-label {
    background: #325A8C;
}

main .tab-switch:checked+.tab-label+.tab-content {
    height: auto;
    overflow: auto;
    padding: 15px;
    opacity: 1;
    transition: .5s opacity;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    font-size: 1.5em;
}

main .tab-ul-contents {
    width: 100%;
    margin: 0 auto;
    /* This centers the div */
    text-align: center;
}

main ul {
    padding-left: 0;
    /* Removes default padding */
    list-style-position: inside;
    /* Positions the bullet points inside the text block */
}

main .tab-switch {
    display: none;
}

main .tab-label {
    margin-bottom: 1rem;
    border-radius: 0;
}

main .tab-label {
    margin-bottom: 1rem;
    border-radius: 0;
}

main .tab-label:not(:last-of-type) {
    margin-right: 0;
}

main .tab-label {
    background: #fff;
    color: #325a8c;
    border: 2px solid;
    border-left: 0;
}

main label#tab04 {
    border-left: 2px solid #325a8c;
    border-radius: 15px 0 0 15px;
}

main label#tab06 {
    border-radius: 0 15px 15px 0;
}

main .tab-switch:checked+.tab-label+.tab-content {
    text-align: center;
}

main .tab-switch:checked+.tab-label {
    background: #325a8c;
    color: #fff;
    border-color: #325a8c;
}

/*AIサービス
-------------------------------------*/
.flow.row {
    margin-bottom: 3rem;
}

/*ニュースリリース
-------------------------------------*/
.news-list {
    list-style: none outside;
    margin: 0% 20% 0% 20%;
    padding: 0;
}

.news-list .item a {
    display: flex;
    flex-wrap: wrap;
    flex-wrap: nowrap;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #CCC;
    padding: 40px 40px;
}

.news-list .item:first-child a {
    border-top: 1px solid #CCC;
}

.news-list .item .date {
    margin: 0;
    min-width: 140px;
    font-size: 16px;
    color: #999;
    padding: 0 20px 0 0;
}

.news-list .item .category {
    margin: 0;
    min-width: 140px;
    padding: 0 20px 0 0;
}

.news-list .item .category span {
    background: #999;
    color: #FFF;
    text-align: center;
    display: inline-block;
    padding: 5px 20px;
    font-size: 12px;
    line-height: 1;
}

.news-list .item .title {
    margin: 0;
    width: 100%;
}

.news-list .item a:hover .title {
    color: #00F;
}

@media screen and (max-width: 767px) {
    .news-list {
        list-style: none outside;
        margin:  0;
        padding: 0;
    }
    .news-list .item a {
        flex-wrap: wrap;
    }

    .news-list .item .date {
        min-width: 100px;
    }

    .news-list .item .title {
        margin-top: 10px;
    }
}

/* 装飾 */

.news-list * {
    box-sizing: border-box;
}

.news-list a {
    text-decoration: none;
}

.news-list body {
    margin: 20px;
}

/*自社サービス
-------------------------------------*/
.service-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
}
.service-image {
    width: 50%;
    height: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.service-content {
    padding: 1.5rem;
}
.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}
.service-description {
    margin-bottom: 1rem;
}
.cta-button {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.cta-button:hover {
    background-color: #2980b9;
}
.pdf-link {
    display: inline-block;
    margin-top: 1rem;
}
.pdf-link img {
    width: 30px;
    vertical-align: middle;
}
@media (min-width: 768px) {
    .service-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/*会社概要
-------------------------------------*/
/* table01 */
.company-info .gray-back {
    text-align: center;
    /* Center the text of h2 */
}

.company-info .center {
    display: block;
    /* Ensure h2 takes up the full width */
}

#table01 {
    margin: 0 auto;
    /* Center the table horizontally */
    width: 80%;
    /* Set the width of the table */
    border-collapse: collapse;
    /* Optional: collapse the borders */
    font-size: x-large;
}

#table01 tr {
    border-bottom: 1px solid #b5b1b1;
}

#table01 th,
#table01 td {
    padding: 24px;
    border: none;
    text-align: left;
    /* Align the text to the left within table cells */
}

#table01 th {
    width: 30%;
    background-color: #f2f2f2;
    /* Optional: to distinguish headers from cells */
}

/* For mobile screens */
@media only screen and (max-width: 480px) {
    #table01 {
        width: 100%;
        /* Full width on smaller screens for better readability */
    }

    #table01 th,
    #table01 td {
        display: block;
    }

    #table01 th {
        width: 100%;
        /* Full width for block display */
    }

    #table01 td {
        padding-top: 0;
    }
}

/*フッター
-------------------------------------*/
footer {
    background-color: #000;
    padding: 5rem 0;
}

footer nav a:hover {
    background-color: #033;
}

footer h4 {
    border-bottom: 3px solid var(--border-color);
}



/*お問い合わせ
-------------------------------------*/
.contact-box {
    border: 1px solid var(--border-color);
    text-align: center;
    padding: 2rem 0;
}

.table {
    margin: 4rem 0;
}

.table th {
    width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--base-color);
}

.copyright a {
    color: var(--white-color);
    text-decoration: none;
    display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}

#pagetop a {
    display: block;
    background-color: var(--base-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}

#pagetop a:hover {
    background-color: var(--link-color);
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px) {

    /*ヘッダー
-------------------------------------*/
    .header-box {
        display: none;
    }

    /*お問い合わせ
-------------------------------------*/
    .table th {
        width: 100%;
        display: block;
    }

    .table td {
        display: block;
    }
}