/* CSS Resets */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        width: 100%;
    }
    
    body {
        width: 100%;
        font-family: 'Noto Sans JP', sans-serif;
        color: #214267;
        background-color: #F5F7F5;
    }

    main {
    width: 100%;
    padding: 0;
    margin: 0 auto;
    }

    a {
        text-decoration: none;
        color: inherit;
    }
    
    h1 {
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 20px;
        padding: 0;
    }
    
    h2 {
        font-size: 22px;
        font-weight: bold;
        margin-bottom: 10px;
        padding: 0;
    }

    h3 {
        font-size: 20px;
        font-weight: bold;
        margin-top: 0px;
        margin-bottom: 40px;
        padding: 0;
    }


    header {
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        height: 80px;
        background-color: #F5F7F5;
    }

    .container {
        width: 100%;;
        height: 80px;
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .logo {
        margin: 0;
        padding: 0; 
    }
    
    .logo img {
        width: 119px;
        height: auto;
    }

    .menu {
        width: 60%;
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 10px 30px 10px;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
        background-color: #fff;
        list-style: none;
    }

    .menu.active {
        display: flex;
        background-color: #fff;
    }

    .menu-title1, .menu-title2 {
        color: #214267;
        font-weight: 500;
        border-bottom: 1px dotted #214267;
    }

    .menu-end {
        width: 100%;
        padding: 10px;
        margin-bottom: 0;
    }

    .menu li {
        width: 100%;
        padding: 10px;
    }

    .menu-toggle {
        width: 43px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        margin-left: auto;
    }
    
    .menu-toggle div {
        width: 100%;
        height: 2px;
        background-color: #000;
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    /* バツ印に変える */
.menu-toggle.active div:nth-child(1) {
    transform: rotate(35deg) translate(7px, 7px);
}

.menu-toggle.active div:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active div:nth-child(3) {
    transform: rotate(-35deg) translate(10px, -10px);
}

/* パンくず */
.breadcontainer {
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding-left: 20px;
}

.breadcrumb {
    width: 100%;
    display: flex;
    list-style: none;
    padding-top: 24px;
    font-size: 12px;
    color: #000;
    margin-top: 63px;
    position: relative;
    top: 0;
    left: 0;
}

.breadcrumb li {
    margin-right: 8px;
}

.breadcrumb li a {
    text-decoration: none;
    color: #214267;
    text-decoration: underline;
}

.breadcrumb li a:hover {
    opacity: 0.8;
}

.breadcrumb li::after {
    content: "/";
    margin-left: 8px;
}

.breadcrumb li:last-child::after {
    content: "";
}
/* パンくず */

    /* ▼ホーム▼ */
    .desktop-img {
        display: none;
    }
    .mobile-img {
        display: block;
        width: 100%;
        height: auto;
    }

    #top-img {
        width: 100%;
        position: relative;
        overflow: hidden;
        margin-bottom: 40px;
    }

    .text-overlay {
        position: absolute;
        top: 50%;
        left: 100%;
        transform: translate(-50%, -50%);
        color: #fff;
        font-size: 18px;
        font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
        text-shadow: 2px 2px 10px #222;
        z-index: 10;
        text-align: left;
        width: 100%;
        pointer-events: none;
    }

    @media (min-width: 820px) and (max-width: 974px) {
        .text-overlay {
        position: absolute;
        top: 45%;
        left: 94%;
        transform: translate(-50%, -50%);
        color: #fff;
        font-size: 48px;
        font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
        text-shadow: 2px 2px 10px #222;
        z-index: 10;
        text-align: left;
        width: 100%;
        pointer-events: none;
    }
    }

    @media (min-width: 600px) and (max-width: 821px) {
        .text-overlay {
        position: absolute;
        top: 45%;
        left: 97%;
        transform: translate(-50%, -50%);
        color: #fff;
        font-size: 35px;
        font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
        text-shadow: 2px 2px 10px #222;
        z-index: 10;
        text-align: left;
        width: 100%;
        pointer-events: none;
    }
    }

    #ourbusiness {
        width: calc(100% - 48px);
        margin: 0 auto;
        text-align: center;
    }

    .subtext {
        font-size: 14px;
        margin-bottom: 35px;
        text-align: center;
    }
    
    .text {
        font-size: 14px;
        text-align: center;
    }
    
    .business {
        width: 100%;
        height: 112px;
        color: #fff;
        font-size: 14px;
        text-align: center;
        margin: 35px 0px 65px 0px;
        background-image: url('/assets/img/company/business2.jpg');
        display: flex;
        justify-content: center;
        align-items: center;
        background-size: cover;
        background-position: center;
        box-shadow: 5px 0px 5px 0px #cfcece;
    }

    #company {
        width: calc(100% - 48px);
        margin: 0 auto;
        text-align: center;
    }
    
    .company-box {
        width: 100%;
        margin: 0 auto;
        margin-bottom: 65px;
    }
    
    .c-row {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
        box-sizing: border-box;
        margin: 35px auto;
        justify-content: center;
    }
    
    .c-discription1 {
        width: calc(50% - 8px);
        height: 86px;
        position: relative;
        overflow: hidden;
        text-align: center;
        color:#fff;
        font-size: 14px;
        background-image: url('/assets/img/company/corporate.jpg');
        display: flex;
        justify-content: center;
        align-items: center;
        background-size: cover;
        background-position: center;
        box-shadow: 5px 0px 5px 0px #cfcece;
    }

    .c-discription2 {
        width: calc(50% - 8px);
        height: 86px;
        position: relative;
        overflow: hidden;
        text-align: center;
        color:#fff;
        font-size: 14px;
        background-image: url('/assets/img/company/about_02.webp');
        display: flex;
        justify-content: center;
        align-items: center;
        background-size: cover;
        background-position: center;
        box-shadow: 5px 0px 5px 0px #cfcece;
    }

    .c-discription3 {
        width: calc(50% - 8px);
        height: 86px;
        position: relative;
        overflow: hidden;
        text-align: center;
        color:#fff;
        font-size: 14px;
        background-image: url('/assets/img/company/about_01.webp');
        display: flex;
        justify-content: center;
        align-items: center;
        background-size: cover;
        background-position: center;
        box-shadow: 5px 0px 5px 0px #cfcece;
    }

    .c-discription4 {
        width: calc(50% - 8px);
        height: 86px;
        position: relative;
        overflow: hidden;
        text-align: center;
        color:#fff;
        font-size: 14px;
        background-image: url('/assets/img/company/about_03.webp');
        display: flex;
        justify-content: center;
        align-items: center;
        background-size: cover;
        background-position: center;
        box-shadow: 5px 0px 5px 0px #cfcece;
    }

    .c-discription5 {
        width: calc(50% - 8px);
        height: 86px;
        position: relative;
        overflow: hidden;
        text-align: center;
        color:#fff;
        font-size: 14px;
        background-image: url('/assets/img/company/business2.jpg');
        display: flex;
        justify-content: center;
        align-items: center;
        background-size: cover;
        background-position: center;
        box-shadow: 5px 0px 5px 0px #cfcece;
    }
    
    .c-discription a {
        text-decoration: none;
        color:#fff
    }
    
    .c-discription2 a {
        text-decoration: none;
        color:#fff
    }
    
    #recruit {
        width: 100%;
        height: auto;
        margin: 0 auto;
        color: #fff;
        text-align: center;
        padding: 20px 24px;
        background-image: url('/assets/img/company/top_recruit_m.jpg');
        background-size: cover;
        background-position: center;
    }
    
    .r-button {
        position: relative;
        width: 255px;
        height: 26px;
        font-size: 12px;
        color: #214267;
        background-color: #fff;
        margin: 20px auto 0 auto;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    
    .r-button a:hover {
        opacity: 0.8;
    }
    
    .arrow {
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
    }
    
    .arrow::before {
        content: "＞";
        display: block;
        font-size: 14px;
        line-height: 14px;
        color: #214267;
    }
    
    .pagetop {
        font-size: 13px;
        margin: 65px 0 20px 0;
        text-align: center;
        color: #000;
        text-decoration: none;
    }
    /* ▲ホーム▲ */

    /* ▼事業紹介▼ */
    #title {
        width: calc(100% - 48px);
        text-align: center;
        margin: 20px auto 65px auto;
    }
    
    .item {
        width: 247px;
        margin: 0 auto;
        font-size: 14px;
        color:#000;
        text-align: center;
    }
    
    #bus1 {
        width: calc(100% - 48px);
        margin: 0 auto;
        text-align: center;
    }
    
    .product-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 12px;
        box-sizing: border-box;
        padding-bottom: 40px;
    }
    
    .product-title {
        width: calc((100% - 12px) / 2);
        color:#214267;
        font-size: 14px;
        font-weight: bold;
    }
    
    .product-discription {
        width: calc((100% - 12px) / 2);
        overflow: hidden;
        margin-bottom: 24px;
        padding-bottom: 4px;
        text-align: left;
        color: #000;
        font-size: 14px;
    }

    .product-discription img {
        width: 100%;
    }
    
    .effort-row {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 24px;
        box-sizing: border-box;
        margin-bottom: 50px;
    }
    
    .effort-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        background-color: #fff;
    }
    
    .effort-top {
        width: 100%;
        color: #fff;
        font-size: 24px;
        font-weight: bold;
        text-align: center;
        background-color: #214267;
        width: 100%;
        padding: 20px 0;
    }
    
    .effort-discription {
        width: 100%;
        overflow: hidden;
        padding: 14px;
        text-align: left;
        color: #214267;
        background-color: #fff;
    }
    
    .effort-title {
        color: #214267;
        font-weight: bold;
        font-size: 14px;
    }
    
    .effort-text {
        color: #214267;
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .effort-text2 {
        color: #214267;
        font-size: 14px;
        margin-bottom: 0;
    }
    
    #info {
        width: calc(100% - 48px);
        margin: 0 auto 65px auto;
        text-align: center;
    }
    
    .info-text {
        width: 100%;
        font-size: 14px;
        color:#000;
        text-align: left;
        margin-bottom: 42px;
    }
    
    #info img {
        width: 100%;
    }
/* ▲事業紹介▲ */

/* 会社概要 */
.prof-box {
    width: calc(100% - 24px);
    margin: 50px 0 65px 0;
    text-align: center;
    display: flex;
    position: relative;
    margin-bottom: 40px;
}

.prof-row {
    width: 100%;
    margin: 0 auto;
    display: flex;
    vertical-align: top;
    position: relative;
}

.prof-container {
    width: 100%;
    margin: 0 auto ;
    display: flex;
    flex-flow: row wrap;
    align-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    align-items: flex-start;
}

.prof_item-date {
    width: 100%;
    margin: 0 20px 8px 0;
    font-size: 16px;
    font-weight: bold;
    color: #214267;
    display: inline-block;
    vertical-align: top;
    text-align: left;
    padding: 0;
}

.prof_item {
    width: 100%;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: left;
    color: #000;
    display: inline-block;
}

.prof_item p {
    flex-wrap: wrap;
}

.name {
    margin-bottom: 0;
}

.add {
    width: 100%;
    font-size: 13.3px;
    display: list-item;
    text-align: -webkit-match-parent;
    unicode-bidi: isolate;
    list-style: none;
    margin-bottom: 10px;
}

.p-map {
    color: #fff;
    font-size: 12px;
    margin-left: 8px;
    margin-bottom: 0;
    padding: 2px;
    background-color: #214267;
}
/* 会社概要 */

/* 事業所一覧 */
#office_info {
    width: calc(100% - 36px);
    margin: 50px auto 65px auto;
    text-align: center;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding-bottom: 24px;
    box-sizing: border-box;
    cursor: pointer;
}

.tab-item.active {
    color: #214267;
    border-bottom: 3px solid #214267;
}

.corptabs {
    width: 100%;
    height: 34px;
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid #000;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #000;
}

.corpcontent {
    display: none;
}

.corpcontent.active {
    display: block;
}

.photo_pc  {
    display: none;
}

.photo_m  {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.photo_m img {
    width: 120px;
    height: 120px;
}

.corp-box {
    width: 100%;
    margin: 20px 0;
    padding-bottom: 20px;
    border-bottom: 2px solid #214267;
}

.corp-box-end {
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 3px solid #214267;
}

.corp-container {
    width: 100%;
    margin: 0 auto ;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.corp_item-date {
    width: 100%;
    margin: 0 8px 10px 0;
    font-size: 16px;
    font-weight: bold;
    color: #214267;
    display: inline-block;
    text-align: left;
    vertical-align: top;
    padding: 0;
}

.corp_item {
    width: 100%;
    margin: 0 8px 10px 0;
    font-size: 14px;
    text-align: left;
    color: #000;
    display: inline-block;
}

.corp_item2 {
    width: 100%;
    margin: 0 8px 10px 0;
    font-size: 14px;
    text-align: left;
    color: #000;
    display: inline-block;
}

.corplink {
    font-size: 14px;
    color: #000;
    text-decoration: none;
    text-align: center;
    margin-bottom: 20px;
}
/* 事業所一覧 */

/* 沿革 */
#history main {
    padding-top: 120px;
    margin: 0 auto 50px;
    background-color: #F5F7F5;
}

.history_list {
    width: 100%;
    margin: 0 auto 50px;
}

*, ::before, ::after {
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
    min-width: 0;
}

div {
    display: block;
    unicode-bidi: isolate;
}

.history_list .history {
    width: 100%;
    display: flex;
    font-size: 1.6em;
    margin: 0 auto;
}

.history dt {
    width: 30%;
    letter-spacing: 0.1em;
    font-weight: 500;
    font-size: 14px;
    color: #214267;
    text-align: center;
    padding-top: 5px;
}

.line_top {
    text-align: center;
    font-size: 9px;
    color: #214267;
    background-image: url(/assets/img/company/line.png);
    background-repeat: repeat-y;
    background-size: 29px 100%;
    width: 30px;
    min-height: 40px;
    padding-top: 0;
    margin-top: 10px;
}

.line {
    text-align: center;
    font-size: 9px;
    color: #214267;
    background-image: url(/assets/img/company/line.png);
    background-repeat: repeat-y;
    background-size: 29px 100%;
    width: 30px;
    min-height: 40px;
    padding-top: 10px;
}

.h-text {
    width: 60%;
    letter-spacing: 0.1em;
    margin-bottom: 1em;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.75em;
    text-align: left;
}

.line_end {
    text-align: center;
    font-size: 9px;
    color: #214267;
    background-image: url(/assets/img/company/line_dot.png);
    background-repeat: repeat-y;
    background-size: 29px 100%;
    width: 30px;
    min-height: 40px;
    padding-top: 10px;
}

dd {
    margin-left: 0;
}
/* 沿革 */
.history dt {
    width: 104px;
    letter-spacing: 0.1em;
    font-size: 14px;
    color: #214267;
    font-weight: bold;
    text-align: center;
    position: relative;
    line-height: 1.75;
    padding: 0;
}

.history dt::before {
    content: '';
    width: 1px;
    height: 100%;
    background: #bbc6d0;
    display: block;
    position: absolute;
    left: 118px;
}

.history:first-of-type dt::before {
    top: 14px;
}

.history:last-of-type dt::before {
    background: none;
    border-left: 2px dotted #c7cfd8;
}

.history dt::after {
    content: '';
    width: 7px;
    height: 7px;
    background: #214267;
    display: block;
    position: absolute;
    left: 115px;
    top: 9px;
    border-radius: 50%;
}

.history dd {
    padding-left: 40px;
    flex: 1;
}



/* 納入実績 */
#delivery_info {
    text-align: center;
}

.deli-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 50px;
    padding: 0 8px;
}

.deli-year {
    color: #214267;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    padding: 0;
    margin-bottom: 20px;
    align-self: stretch;
    border-bottom: 1px solid #214267;
}

.deli-container {
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

.deli-box1,
.deli-box2,
.deli-box3 {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.deli_item {
    color: #000;
    font-size: 14px;
    text-align: left;
    margin-bottom: 8px;
}
/* 納入実績 */

/* ▼ footer ▼ */
#footnav {
    display: none;
}

#SP--footnav {
    display: block;
    width: 100%;
    background-color: #424E5C;
    padding: 2rem 1rem;
    margin: 0 auto;
    color: #fff;
    text-align: left;
}

#SP--footnav img {
    margin-left: 0px;
}

#SP--footnav .foot-row {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 540px;
    box-sizing: border-box;
}

#SP--footnav .footmenu {
    width: auto;
    max-width: 200px;
    font-size: 16px;
    margin: 0 auto;
}

#SP--footnav .main {
    width: 100%;
    height: auto;
    font-size: 14px;
    list-style-type: none;
    padding: 0;
    margin-bottom: 15px;
}

#SP--footnav .main li {
    width: 100%;
    text-align: left;
}

#SP--footnav .main img {
    width: 14px;
    height: auto;
    margin-left: 0.3rem;
}

#SP--footnav .copyright {
    font-size: 12px;
    text-align: center;
    margin: 1rem auto;
    color: #fff;
}

#SP--footnav .copyright img {
    width: 24px;
    height: 24px;
    margin-bottom: 0px;
    border: 0;
}

#SP--footnav a {
    color: #fff;
    font-weight: 400;
    text-decoration: underline;
}
