@charset "utf-8";

@media only screen and (max-width: 768px) {
    p {
        font-size: 14px;
        line-height: 1.9;
    }
}
/* ============================================ */
/* main_view
/* ============================================ */
#company .main_view {
    background: url(../../company/images/main.png) center;
    width: 100%;
    height: 14.8958vw;
    background-size: cover;
    position: relative;
}
#company .main_view .text_area {
    width: fit-content;
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translate(-50%, 0);

}
#company .main_view .text_area h2 {
    color: #473933;
    font-size: 120px;
    line-height: 0.8;
    letter-spacing: 0.09em;
    padding-right: 70px;
    position: relative;
}
#company .main_view .text_area h2::after {
    position: absolute;
    content: '';
    background: url(../../company/images/head_icon_01.png);
    top: 50%; right: 0;
    transform: translate(0, -50%);
    width: 45px;
    height: 80px;
    background-size: cover;
}
#company .main_view .text_area p {
    display: block;
    font-size: 24px;
    padding-left: 10px;
    color: #B0BF24;
    font-weight: bold;
}
@media only screen and (max-width: 768px) {
    #company .main_view {
        background: url(../../company/images/main.png) 20%;
        background-size: cover;
        height: 186px;
        padding: 3rem 0 0 0;
    }
    #company .main_view .text_area {
        bottom: -55px;
    }
    #company .main_view .text_area h2 {
        font-size: 50px;
        padding-right: 35px;
        letter-spacing: 0.1em;
    }
    #company .main_view .text_area h2::after {
        width: 22px;
        height: 40px;
    }
    #company .main_view .text_area p {
        font-size: 19px;
        padding-left: 5px;
    }
}
/* ============================================ */
/* テーブルエリア
/* ============================================ */
.table_area {
    margin: 180px auto 10px;
}
.table_area table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 25px 0;
}
.table_area table tr td:first-child {
    width: 19%;
    font-size: 17px;
}
.table_area table tr td:last-child {
    width: 66%;
}
.table_area table th {
    width: 19%;
    padding: 23px 0 23px 25px;
    border-top: 1px solid #B7B7B7;
    text-align: left;
    font-weight: bold;
}
.table_area table tr:last-child th {
    border-bottom: 1px solid #B7B7B7;
}
.table_area table td {
    padding: 23px 0 23px 25px;
    border-top: 1px solid #B7B7B7;
}
.table_area table tr:last-child td {
    border-bottom: 1px solid #B7B7B7;
}
@media only screen and (max-width: 768px) {
    .table_area {
        margin: 100px auto 30px;
    }
    .table_area table {
        border-collapse: collapse;
    }
    .table_area table tr {
        display: flex;
        flex-direction: column;
    }
    .table_area table tr td:first-child,
    .table_area table tr td:last-child {
        width: 100%;
    }
    .table_area table tr:last-child td:last-child {
        border-bottom: none;
    }
    .table_area table td {
        padding: 15px 15px;
        border-top: none;
    }
    .table_area table th {
        width: 100%;
        padding: 15px 0 15px 15px;
        border-top: 1px solid #B7B7B7;
        text-align: left;
        font-weight: bold;
        border-top: 1px solid #8AA21A;
        background-color: #f1f7d7;
    }
    .table_area table tr:last-child th {
        border-bottom: 1px solid #B7B7B7;
    }
    .table_area table td:first-child {
        font-weight: bold;
        border-top: 1px solid #8AA21A;
        background-color: #EBF3C9;
    }
}

/* ============================================ */
/* マップ
/* ============================================ */

.map_area {
    margin: 80px auto 0;
}
.map {
  width: 100%;
  position: relative;
  padding-top: 56.25%;
}

.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media only screen and (max-width: 768px) {
    .map_area {
        margin: 30px auto 0;
    }
}