/* -------------------------------------------------- */
/* HTML */
/* -------------------------------------------------- */
*,
:root {
    --primary-color: #214785;
    --base-color-red: #F05D2A;
    --base-color-pink: #fb177d;
    --base-color-blue: #00a8ff;
}

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

html {
    overflow-y: scroll;
    font-size: 62.5%;
}



/* -------------------------------------------------- */
/* 共通 */
/* -------------------------------------------------- */

/* 画面幅の設定 */
#header .header-top,
#header .header-bottom nav.menu,
#contents,
#footer .copyright,
#footer .news47 {
    width: 100%;
}

/* -------------------------------------------------- */
/* ボディー */
/* -------------------------------------------------- */
body {
    margin: 0;
    color: #333;
    font-family: -apple-systrem, BlinkMacSystremFont, YuGothic, "Yu Gothic Medium", 'メイリオ', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'ＭＳ Ｐゴシック', 'arial', 'Century Gothic', 'Osaka', sans-serif !important;
    line-height: 1.5;
    overflow-wrap: anywhere;
    font-size: 1.6rem;
}

img {
    max-width: 100%;
}


/** ----------------------------------------------- */
/** 　　　共通パーツ　　　 */
/** ----------------------------------------------- */
#contents {
    padding: 120px 0 0;
    margin-bottom: 30px;
}

#corp h2 {
    font-size: 2.5rem;
    margin: 3rem auto;
    border-bottom: 2px solid #333;
    padding: 0 5%;
}

#corp h3 img {
    max-height: 3rem;

}

#corp {
    width: 95%;
    margin: auto;
    max-width: 1280px;
}

#corp a,
#corp a:visited {
    text-decoration: none;
    color: inherit;
}


#corp section {
    width: 90%;
    margin: 0 auto 50px;
    text-align: justify;
}

.section_name {
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.section_name::before {
    content: '';
    display: block;
    width: 0;
    height: 2rem;
    border-left: 10px solid var(--primary-color);
    position: relative;
    top: 2.4rem;
    left: -2rem;
}



/** 注意書き */
.announce {
    font-weight: bold;
    color: var(--base-color-red);
    padding: 10px;
    border: 2px solid var(--base-color-red);
    border-radius: 10px;
    margin-bottom: 10px;
    text-align: center;
}

/**　テーブル　*/
.corp_table {
    border-collapse: collapse;
    margin: 20px 0;
    border-spacing: 0;
    border: var(--primary-color);
    width: 100%;
    table-layout: fixed;
}

.corp_table th {
    min-width: 20% !important;
    padding: 20px 0 20px 5px;
    text-align: left;
    border-bottom: solid 1px var(--primary-color);
}

.corp_table td {
    max-width: 80% !important;
    padding: 20px 5px;
    border-bottom: solid 1px var(--primary-color);
}

/**　パネル　*/
.panel {
    flex-grow: 1;
    min-width: 270px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 1px 1px 10px #ccc;
    margin: 20px 10px;
}

.panel a {
    padding: 10px;
    display: block;
}

.panel .service_img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top;
}

.panel h3 img {
    max-width: 80%;
    height: 40px;
    object-fit: contain;
}

.panel h3 {
    height: 40px;
}

.panel:hover {
    opacity: 60%;
}

/** リンクボタン */
.link_button {
    margin: 10px auto;
    padding: 20px;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
}

.link_button a {
    height: 2.4rem;
    display: block;
}

.link_button a::after {
    content: "\f105";
    display: block;
    color: #fff;
    width: 0.6rem;
    font-family: FontAwesome;
    transition: .3s;
    position: relative;
    top: -2.4rem;
    left: 90%;
}

.link_button a:hover::after {
    left: 95%
}

/** メニュー */
.menu {
    margin-left: 15px;
    margin-bottom: 20px;
}

.menu ul {
    display: none;
    padding: 0 15px;
    margin: 0;
    list-style: none;
    width: 100%;
}

.menu ul li {
    margin-bottom: 3px;
}

.menu.active ul {
    display: block;
}

.menu a,
.menu a:visited {
    text-decoration: none;
    color: inherit;
    display: block;
}


/* ページ内メニュー */
.about_menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 10px;
}


.about_menu div {
    width: 49%;
    padding: 15px 0;
    margin-bottom: 5px;
    text-align: center;
    background-color: var(--primary-color);
    color: #fff;
    cursor: pointer;
}

.about_menu div:hover {
    opacity: 80%;
}

/** 問い合わせ */
.contact {
    /* width: 400px; */
    margin: 30px auto;
    padding: 6px 20px;
    background-color: #f5f5f5;
    border-radius: 16px;
}

.contact p {
    text-align: center;
    margin: 4px auto;
}

.contact p a {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

.contact p i {
    margin: 0 0.5rem;
    color: var(--primary-color) !important;
}

/** Press(お知らせ) */
.press a {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2.4rem;
    align-items: center;
}

.press_title {
    font-weight: bold;
}

.press_day {
    white-space: nowrap;
    padding-right: 20px;
    width: 100%;
    font-size: 1.2rem;
}

/** アイコン */
.icon {
    height: 1.6rem;
    position: relative;
    top: 2px;
    margin-right: 5px;
}


/* PC表示 */
@media print,
screen and (min-width: 745px) {
    section {
        width: 70% !important;
    }

    .section_body {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-left: unset;
    }

    .nogap {
        gap: unset !important;
        justify-content: space-between;
    }

    .panel {
        width: 270px;
        max-width: 270px;
    }

    .nogap .panel {
        padding: unset;
    }

    .link_button {
        width: 50%;
    }

    .press_day {
        width: 20%;
    }

    .press_title {
        width: 80%;
    }


    .contact {
        width: 400px;
    }

}

/* -------------------------------------------------- */
/* 旧373newsのbase.cssからコピー */
/* -------------------------------------------------- */
.pc-only {
    display: none;
}

@media print,
screen and (min-width: 745px) {
    .pc-only {
        display: block;
    }

    .sp-only {
        display: none !important;
    }
}

/* -------------------------------------------------- */
/* ページが見つかりません */
/* -------------------------------------------------- */
#not-found {
    padding: 30px 15px;
    width: 90%;
    margin: 0px auto;
}

#not-found .title {
    width: 90%;
    padding-bottom: 20px;
    margin: 0px auto 10px auto;
    border-bottom: 3px solid #d3d3d3;
    font-size: 1.8rem;
    line-height: 1.2rem;
    font-weight: bold;
    text-align: center;
    color: #696969;
}

#not-found .text {
    padding: 5px;
    font-size: 1.3rem;
    line-height: 2.3rem;
    text-align: center;
}

#not-found .link {
    width: 90%;
    margin: 15px auto;
    background-color: #f4f4f4;
    padding: 15px;
    text-align: center;
    border-top: 1px solid #696969;
    border-bottom: 1px solid #696969;
}

#not-found .link a {
    color: #696969;
    font-size: 1.4rem;
    font-weight: bold;
}

@media print,
screen and (min-width: 745px) {

    #not-found .title,
    #not-found .link {
        width: 50%;
    }
}
