/* =====================================
   中小機構 特設サイト共通テンプレート用 CSS
   （特設サイト共通テンプレート_v3 の template.css をベースに本サイト向けに調整）
   ・既存サイトのスタイルに影響しないよう、テンプレートのリセットCSSは共通部の内側のみに限定
   ・本サイトはスマートフォンでの閲覧を想定しないため、PC版のスタイルのみ定義
   ===================================== */

/* -------------------------------------
   共通ヘッダー（特設サイトヘッダー内パターン）
   ------------------------------------- */
.header.inside {
    border-top: 2px solid #E0481D;
    padding-right: 104px; /* 中小機構ロゴの表示領域を確保 */
}
.header.inside .common-header__logo {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.header.inside .common-header__logo a {
    padding: 7px;
    position: relative;
    display: block;
}
.header.inside .common-header__logo img {
    width: 60px;
    height: auto;
    display: block;
}
.header.inside .common-header__logo a:hover,
.header.inside .common-header__logo a:focus-visible {
    outline: none;
}
.header.inside .common-header__logo a::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    transition-duration: 300ms;
    box-sizing: border-box;
}
.header.inside .common-header__logo a:hover::after,
.header.inside .common-header__logo a:focus-visible::after {
    border-color: #757575;
}

/* ヘッダーが縦積みになる幅（styles.css の max-width: 1000px に合わせる） */
@media screen and (max-width: 1000px) {
    .header.inside {
        padding-right: 10px;
    }
    .header.inside .common-header__logo {
        top: 4px;
        transform: none;
    }
}

/* -------------------------------------
   共通フッター
   ------------------------------------- */
.common-footer {
    border-top: 2px solid #E0481D;
    padding: 30px 40px 20px;
    background-color: #fff;
    color: #333;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.5;
}
/* 印刷用ページ（print.html）：旧フッターと同じ全体幅（1116px）に固定する。
   印刷時はこの幅を基準にページ全体が縮小されるため、幅を変えると印刷ページ数が増える */
.common-footer--print {
    width: 1036px; /* + 左右padding 40px × 2 = 1116px */
    margin: 0 auto;
}
.common-footer *,
.common-footer *::before,
.common-footer *::after {
    box-sizing: border-box;
}
.common-footer a {
    text-decoration: none;
    color: inherit;
}
.common-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
.common-footer__logo a {
    padding: 7px;
    position: relative;
    display: block;
}
.common-footer__logo img {
    width: 182px;
    height: auto;
    vertical-align: middle;
}
.common-footer__logo a:hover,
.common-footer__logo a:focus-visible {
    outline: none;
}
.common-footer__logo a::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    transition-duration: 300ms;
}
.common-footer__logo a:hover::after,
.common-footer__logo a:focus-visible::after {
    border-color: #757575;
}
.common-footer__nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}
.common-footer__nav ul li {
    position: relative;
    padding: 0 17px;
}
.common-footer__nav ul li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 55%;
    transform: translateY(-50%);
    height: 16px;
    border-left: 1px solid #333;
}
.common-footer__nav ul li a {
    font-size: 16px;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
}
.common-footer__nav ul li a:hover,
.common-footer__nav ul li a:focus-visible {
    text-decoration: none;
}
.link-icon--out {
    display: inline-block;
    margin-left: 6px;
    width: 15px;
    height: 15px;
}
.link-icon--out svg {
    display: block;
    width: 100%;
    height: auto;
}
.common-footer__bottom {
    text-align: center;
}
.common-footer__copyright {
    font-size: 14px;
    color: #333;
}
