@charset "utf-8";

/* 移管用追加ここから（常に先頭） */
#contents {
    width: 950px;
    margin: auto;
    min-height: 300px;
    padding-bottom: 20px;
}

.transfer-page,
.transfer-page :where(:not(iframe, svg, path, use, [class*="swiper"], .js-favorite-button)),
.transfer-page *::before,
.transfer-page *::after {
    all: revert;
}

.l-contents:has(.transfer-page .md-mv-heading) {
    overflow: visible;
}
.transfer-page {
    width: 100%;
    font-family: "メイリオ", Helvetica, "hiragino kaku gothic pro", "ms pgothic", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #333;
}

.transfer-page * {
    font-family: inherit;
}

.transfer-page :where(a) {
    color: #07519A;
    text-decoration: none;
    line-height: 1.4;
    box-sizing: content-box;
    font-size: 13px;
    margin: 0;
    padding: 0;
}

.transfer-page :where(a, button):hover {
    opacity: 1;
    transition: 0s;
    color: #CC0000;
    text-decoration: underline;
}

.transfer-page :where(h1, h2, h3, h4, h5,
    p, ul, ol, li, dl, dt, dd,
    form, table, div) {
    line-height: 1.4;
    box-sizing: content-box;
    font-size: 13px;
    margin: 0;
    padding: 0;
    list-style-type: none;
    color: #333333;
}

.transfer-page :where(img) {
    border: none;
    vertical-align: bottom;
}

.transfer-page *::before,
.transfer-page *::after {
    box-sizing: content-box;
}

.transfer-page :where(img) {
    max-width: none;
}
/* 移管用追加ここまで */

/* ===== 会社情報（Lab3 モジュール相当） ===== */
.company-info__section {
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    padding: 30px 0 0 0;
    width: auto;
    zoom: 1;
}
.company-info__section::after {
    content: "";
    display: block;
    clear: both;
}
.company-info__left {
    width: 66%;
    float: left;
    margin: 0 0 20px 10px;
    display: inline;
}
.company-info__row--address td {
    position: relative;
}
.company-info .company-article__inner .company-info__section table {
    width: 100%;
    margin-bottom: 0;
}
.company-info .company-article__inner .company-info__section table tr th {
    font-weight: normal;
    text-align: left;
    border-bottom: 1px dotted #777;
    vertical-align: top;
    padding: 10px 0 5px;
    width: 85px;
    line-height: 1.4;
    box-sizing: content-box;
}
.company-info .company-article__inner .company-info__section table tr td {
    border-bottom: 1px dotted #bbb;
    padding: 10px 0 5px;
    line-height: 1.4;
    box-sizing: content-box;
}
.company-info__right {
    width: 206px;
    float: right;
    margin: 0 9px 20px 0;
    display: inline;
}
.company-info__right li {
    margin: 0 0 11px;
    text-align: center;
    cursor: pointer;
}
.company-info__right li img {
    border: 1px solid #999;
}
.company-info__right p {
    text-align: right;
    margin: 3px 0 0 0;
}

/* ===== ページ固有 ===== */
.company-greeting *,
.company-philosophy *,
.company-access * {
    font-family: "メイリオ", Helvetica, "hiragino kaku gothic pro", "ms pgothic", sans-serif;
    font-size: 13px;
}

/* サイドバー無しのため中央寄せ */
.company-article {
    float: none;
    width: 700px;
    margin: 0 auto;
}

/* 経営理念 */
.company-philosophy__text {
    font-size: 20px;
    text-align: center;
}

/* ご挨拶 */
.company-greeting {
    background: url(/images/company/bg_greeting.webp) top center no-repeat;
    min-height: 250px;
    width: 100%;
    text-align: center;
    padding: 27px 0;
    box-sizing: border-box;
    margin: 0 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.company-greeting__ttl {
    color: #2b8548;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.company-greeting__text {
    color: #2b8548;
    line-height: 23px;
}
.company-greeting__name {
    display: block;
    text-align: end;
    padding-right: 60px;
    margin-top: 24px;
}

/* 共通 */
.company-article__ttl {
    margin: 0;
}
.company-article__inner {
    background-color: #fff;
    padding: 20px 12px;
    border: 1px solid #cbcbcb;
    margin-bottom: 20px;
    width: 700px;
    box-sizing: border-box;
}

.company-article__inner table {
    margin-bottom: 10px;
}

.company-article__inner table tr th {
    border-bottom: 1px dotted #cbcbcb;
    padding: 5px 15px 5px 0;
    box-sizing: border-box;
    width: 86px;
    font-weight: normal;
    line-height: 23px;
    text-align: start;
    vertical-align: top;
}

.company-article__inner table tr td {
    border-bottom: 1px dotted #cbcbcb;
    padding: 5px 0;
    line-height: 20px;
}

.company-article__photos {
    margin: 0;
    padding: 0;
}
.company-article__photo {
    display: inline-block;
}

/* 会社情報 */
.company-info .company-article__inner {
    border-radius: 3px;
}

/* 業務実績 */
.company-description__lead {
    background: url(/images/company/img_description_01.webp) right top no-repeat;
    margin-bottom: 11px;
}
.company-description__lead dl {
    max-width: 390px;
}
.company-description__lead dt {
    font-size: 18px;
    font-weight: bold;
    color: #2a8547;
    line-height: 22px;
    margin-bottom: 21px;
}

.company-description__lead dd {
    font-size: 13px;
    color: #000;
    line-height: 18px;
}

.company-description__list {
    margin: 28px 8px 0;
}
.company-description__list:after {
    content: "";
    display: block;
    clear: both;
}
.company-description__item {
    float: left;
    width: 319px;
    margin-bottom: 22px;
}

.company-description__item:nth-child(odd) {
    margin-right: 20px;
}
.company-description__item-ttl {
    font-size: 16px;
    font-weight: bold;
    color: #2a8547;
    line-height: 21px;
    text-align: center;
    padding-bottom: 6px;
}

.company-description__item-txt {
    font-size: 13px;
    line-height: 18px;
    padding-top: 5px;
}

.company-description__bnrs {
    font-size: 0;
    text-align: center;
    margin: 7px 0 20px;
}
.company-description__bnrs p {
    display: inline-block;
}
.company-description__bnrs p a {
    display: block;
}

.company-description__bnrs p a:hover {
    opacity: .8;
}

.company-description__bnr--left {
    margin-right: 40px;
}

/* アクセス */
.company-access .company-article__inner {
    padding-top: 0;
}
.company-access__office {
    margin: 10px 0;
}
.company-access__office span {
    display: inline-block;
    background-color: #2b8548;
    width: 59px;
    height: 24px;
    color: #fff;
    text-align: center;
    margin-right: 5px;
    line-height: 24px;
}

.company-access__body:after {
    content: "";
    display: block;
    clear: both;
}

.company-access__img {
    float: left;
    margin-right: 10px;
}

.company-access__text {
    float: left;
}
.company-access__car {
    margin-bottom: 18px;
}
.company-access__car dt,
.company-access__bus dt {
    background-color: #444444;
    width: 162px;
    height: 22px;
    color: #fff;
    text-align: center;
    line-height: 22px;
    margin-bottom: 6px;
}

.company-access__car dd span,
.company-access__bus dd span {
    color: #dba42d;
}

.page__header {
    margin: 0 0 20px;
}

h1.page__headline {
    font-size: 22px;
    font-weight: bold;
}
