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

/* -------------------------------------
   共通ヘッダー（特設サイトヘッダー内パターン）
   ------------------------------------- */
.header.inside {
    border-top: 2px solid #E0481D;
}
.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;
}

/* PC表示時（1201px以上）：中小機構ロゴの表示領域を確保 */
@media screen and (min-width: 1201px) {
    .header.inside {
        padding-right: 104px;
    }
}

/* 1200px以下（既存のハンバーガーメニュー表示）では中小機構ロゴを表示しない */
@media screen and (max-width: 1200px) {
    .header.inside .common-header__logo {
        display: 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;
}
.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;
    flex-wrap: wrap; /* 横幅が足りない場合はリンクをロゴの下の行に回す */
    justify-content: space-between;
    align-items: center;
    row-gap: 10px;
    margin-bottom: 5px;
}
.common-footer__nav {
    margin-left: auto;
}
.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;
}
/* 既存CSSのハンバーガーメニュー用の指定（nav 要素・nav a 要素へのスタイル）が
   フッター内の nav に効かないよう打ち消す */
.common-footer nav.common-footer__nav {
    position: static;
    top: auto;
    width: auto;
    height: auto;
    background: none;
    margin: 0 !important;
    padding: 0;
    transition: none;
}
.common-footer nav.common-footer__nav ul li a {
    white-space: nowrap;
    color: inherit !important;
    font-size: 16px !important;
    line-height: 1.5;
    width: auto;
    text-align: left;
    justify-content: flex-start;
}
.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;
}
