@charset "UTF-8";

:root {
    /* Color */
    --color-black: #2f2f2f;
    --color-blue: #0747AB;
    --color-orange: #FF7B2C;

    /* Font */
    --font-base: "Noto Sans JP", sans-serif;
    --font-accent: "LINE Seed JP", sans-serif;

    /* Layout */
    --content-width: 1240px;
    --sec-pad: 5rem;
    --radius: 20px;
    --transition: .3s ease;
}

@media (min-width: 768px) {
    :root {
        --sec-pad: 7.5rem;
    }
}

/* ===============================
    Base
================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

body {
    margin: 0;
    color: var(--color-black);
    font-family: var(--font-base);
    line-height: 1.8;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* ===============================
    Common
================================ */

.inner {
    padding: 0 28px;
    margin-inline: auto;
}

.section__heading {
    margin-bottom: 50px;
}

.section__title {
    margin: 0;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.25em;
}


/* ===============================
    Header
================================ */

.header {
    position: relative;
    z-index: 3;
    height: 85px;
    background-color: #fff;

    .header__inner {
        width: min(100% - 40px, var(--content-width));
        height: 100%;
        margin-inline: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header__logo {
        display: flex;
        align-items: center;
        gap: 7px;

        img {
            width: 72px;
            height: auto;
        }

        .header__logo-text {
            font-family: var(--font-accent);
            display: flex;
            align-items: flex-end;
            line-height: 1;
            transform: translateY(4px);

            .header__logo-company {
                margin-right: 7px;
                color: var(--color-blue);
                font-size: 7px;
                font-weight: 700;
            }

            .header__logo-name {
                color: var(--color-blue);
                font-size: 18px;
                font-weight: 800;
            }
        }

        &:hover {
            opacity: .7;
        }
    }

    .header__nav {
        display: none;
    }

    .header__hamburger {
        width: 50px;
        height: 50px;
        border: 0;
        border-radius: 50%;
        background-color: var(--color-orange);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;

        span {
            width: 20px;
            height: 2px;
            background-color: #fff;
        }
    }
}





/* 田中　ttl */


.service-ttl {
    color: var(--color-blue);
    font-size: 2.8125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    /* margin-top: 3rem  ; */
}

.service-sub-ttl {
    color: var(--color-blue);
    font-size: 0.8125rem;
    letter-spacing: 0.25em;
    font-weight: 700;
}

.service-ttl-line-left,
.service-ttl-line-right {
    display: inline-block;
    width: 60px;
    height: 1px;
    background-color: var(--color-blue);
}

.service-ttl-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}






/* 以下大薄記入内容　companyについて */




.company {
    padding: 48px 35px 48px 35px;

    table,
    tbody,
    tr,
    th,
    td {
        display: block;
        width: 100%;
    }

    tr {
        padding: 16px 0 16px 0;


        &:nth-child(odd) {
            background-color: #0747AB80;
        }

        &:nth-child(even) {
            background-color: #D6EDFB4D;
        }
    }

    th {
        text-align: center;
        margin-bottom: 8px;

    }

    td {
        text-align: center;
    }

    th,
    td {
        font-size: 14px;
    }

}

/* companyのパソコン版 */

@media (min-width: 768px) {

    .company {
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;

        table {
            display: table;
            width: 100%;
            border-collapse: collapse;


            .blank_space {
                margin-left: 8px;
            }



        }

        tbody {
            display: table-row-group;
        }

        tr {
            display: table-row;
            padding: 0;

            &:nth-child(odd) {
                background-color: #0747AB80;
            }

            &:nth-child(even) {
                background-color: #D6EDFB4D;
            }
        }

        th,
        td {
            display: table-cell;
            padding: 1em 0;
            vertical-align: middle;
            font-size: 1rem;
            text-align: left;
        }

        th {
            width: 200px;
            font-weight: bold;
            white-space: nowrap;
            padding: 1em;
        }

        td {
            width: auto;
        }

        tr:nth-child(2) td br:nth-of-type(1),
        tr:nth-child(2) td br:nth-of-type(3) {
            display: none;
        }

        tr:nth-child(7) td br:nth-of-type(1),
        tr:nth-child(7) td br:nth-of-type(3),
        tr:nth-child(7) td br:nth-of-type(5) {
            display: none;
        }
    }

}




/* 以下businessのセクション内容 */

.business {
    padding: 0px 35px 48px 35px;

    table {
        margin-bottom: 32px;
    }

    thead {
        display: none;
    }

    table,
    tbody,
    tr,
    th,
    td {
        display: block;
        width: 100%;
    }

    th,
    td,
    li {
        font-size: 14px;
    }

    li {
        text-align: center;
    }

    tr {
        padding: 16px 0 16px 0;


        &:nth-child(odd) {
            background-color: #E0E8F0;
        }

        &:nth-child(even) {
            background-color: #EAF5FC;
        }
    }


    .business-block {
        list-style: none;
        padding: 0;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;

        li {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;

            background-color: #EAF5FC;

            width: 177px;
            height: 41px;
            box-sizing: border-box;
            border-radius: 5px;


            img {
                width: auto;
                height: auto;
            }
        }
    }

}


/* businessのパソコン版 */


@media (min-width: 768px) {
    .business {
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;

        table {
            display: table;
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 40px;
        }

        thead {
            display: table-header-group;
            /* ヘッダーを表示 */

            .business_text {
                font-weight: 700;
            }
        }

        tbody {
            display: table-row-group;
        }

        tr {
            display: table-row;
            padding: 0;
            background-color: transparent;
            /* 行の背景色はクリア */
        }

        /* マス目共通スタイル */
        th,
        td {
            display: table-cell;
            padding: 16px 24px;
            vertical-align: middle;
            font-size: 18px;
            text-align: left;

            border-bottom: 1px solid #ccc;


        }

        /* 左列（1列目：種目）の設定 */
        th {
            width: 200px;
            font-weight: bold;
            white-space: nowrap;
            background-color: #E0E8F0;
            /* 1列目の背景色（濃いめ） */
        }

        /* 右列（2列目：主な対応内容）の設定 */
        td {
            width: auto;
            background-color: #EAF5FC;

            /* 2列目の背景色（薄め） */
            .business_text {
                font-weight: 700;
            }
        }

        li {
            text-align: left;
            font-size: 18px;
        }

        /* 下部のアイコン3つを横並びにする */
        .business-block {
            flex-direction: row;
            justify-content: center;
            gap: 32px;

            li {
                width: 300px;
                padding: 1em;
                height: auto;
            }
        }
    }
}








/* 以下equipmentのセクション内容 */

.equipment {
    padding: 0 35px 48px 35px;

    table,
    tbody,
    tr,
    th,
    td {
        display: block;
        width: 100%;
    }

    th,
    td,
    li {
        font-size: 14px;
    }

    tr {

        padding: 16px 0 16px 0;


        &:nth-child(odd) {
            background-color: #E0E8F0;
        }

        &:nth-child(even) {
            background-color: #EAF5FC;
        }


    }


    th {
        text-align: center;
        font-weight: bold;
        margin-bottom: 8px;
    }

    td {
        text-align: center;
        padding: 0;
        margin: 0;

        li {
            text-align: center;
        }
    }

    img {
        display: block;
        margin: 8px auto 0;
        max-width: 100%;
        height: auto;
    }
}


/* equipmentのパソコン版 */

@media (min-width: 768px) {

    .equipment {
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;


        table {
            display: table;
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 40px;
        }

        tbody {
            display: table-row-group;
        }

        tr {
            display: table-row;
            padding: 0;
            background-color: transparent;
        }


        th,
        td {
            display: table-cell;
            padding: 16px 24px;
            vertical-align: middle;
            font-size: 18px;
            text-align: left;
            border-bottom: 1px solid #ffffff;
        }


        tr:last-child th,
        tr:last-child td {
            border-bottom: none;
        }


        th {
            width: 200px;
            font-weight: bold;
            white-space: nowrap;
            background-color: #E0E8F0;
        }


        td {
            width: auto;
            background-color: #EAF5FC;

            li {
                text-align: left;
                font-size: 18px;
            }
        }

        td {
            &>ul {
                display: inline-block;
                vertical-align: middle;
                margin: 0;
                padding: 0;
            }

            &>img {
                display: inline-block;
                vertical-align: middle;
                margin-left: 32px;
                max-height: 60px;
                width: auto;
            }
        }

    }
}





/* 以下accessのセクション内容 */

.access {
    padding: 0 35px 118px 35px;

    .map-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-bottom: 40px;


        .google-map {
            width: 305px;
            height: 300px;
            max-width: 100%;

            iframe {
                width: 100%;
                height: 100%;
                border: 0;
            }
        }


        .illust-map {
            width: 305px;
            height: 185px;
            max-width: 100%;

            picture,
            img {
                display: block;
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }
    }

    .access-info {
        dl {
            margin-bottom: 24px;

            &:last-child {
                margin-bottom: 0;
            }

            dt {
                border-left: 4px solid #0747AB;
                padding-left: 8px;
                margin-bottom: 8px;
                font-weight: bold;
                line-height: 1.2;
            }

            dd {
                margin-left: 0;
                overflow-wrap: break-word;
                font-size: 14px;
            }
        }
    }
}


/* accessのパソコン版 */

@media (min-width: 768px) {

    .access {
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;

        /* 親要素をFlex化 */
        .map-container {
            display: flex !important;
            flex-direction: row !important;
            justify-content: space-between;
            align-items: stretch;
            gap: 20px;
            margin-bottom: 48px;


            .google-map,
            .illust-map {
                width: 0;
                flex: 1 1 50%;
                box-sizing: border-box;
            }


            .google-map iframe {
                width: 100% !important;
                height: 100% !important;
                min-height: 300px;
            }


            .illust-map picture,
            .illust-map img {
                display: block;
                width: 100% !important;
                height: auto;
            }
        }

        .access-info {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 32px 32px;


            dl {
                width: calc(50% - 16px);
                margin: 0;
                box-sizing: border-box;
            }

            dt {
                font-size: 18px;
                font-weight: bold;
                position: relative;
                padding-left: 14px;
                margin-bottom: 8px;
                text-align: left;

            }


            dd {
                font-size: 18px;
                line-height: 1.6;
                text-align: left;
                margin-left: 0;
            }
        }

    }

}