@charset "utf-8";
/* Generic Child-joint : Base Style 
    サイト全体のスタイル
    -フォント読み込み
    -共通要素の上書き
    -共通要素
    -外枠 div id="wrapper" #wrapper
    -ヘッダ header id="header" #header
    -コンテナ div id="container" #container
    -フッタ footer id="footer" #footer
    -ログイン時表示「編集」ボタンスタイル .post-edit-link
        ※ログイン時のみ表示される記事の編集画面へのリンクボタン
*/
/*　Google Fonts 読込  IBM Plex Sans , Noto Sans JP , Noto Serif JP　*/
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);
/*
    font-family: "IBM Plex Sans", sans-serif;
    font-family: "Noto Sans JP", sans-serif;
    font-family: "Noto Serif JP", serif;
*/
/* Color 
main purple : #251a8e rgba(37,26,142,1.00)
light purple : #742da9
pink : #fb2576 rgba(251,37,118,1.00)
blue : 332fd0
*/


/* 共通要素の上書き
---------------------------------------------------- */
/*ダークモードの設定上書き*/
@media(prefers-color-scheme:dark){
    body, #container{
        background:#fff;
    }
}
/*フォント設定上書き　デフォルトをNoto Sansに*/
body {
    color: #000;
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/*テキスト選択時カラー*/
::selection {
    background: rgba(37,26,142,1.00);
    color: #666;
}
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    transition: unset;
}
html {
    scroll-behavior: smooth;
}
body{
    animation: fadeIn 1s ease 0s 1 normal;
    -webkit-animation: fadeIn 1s ease 0s 1 normal;
    height: 100%;
    width: 100%;
}
address, cite, var {
    font-style: normal;
}
pre, code {
    font-family:inherit;
}
dd{ margin-left: 0;}

/*フォームスタイル上書き*/

textarea, input[type="text"], input[type="button"], input[type="submit"], input[type="reset"], input[type="search"], input[type="password"] {
    -webkit-appearance: none;
    appearance: none;
}
input[type="search"] {
    -webkit-appearance: textfield
}

input , textarea {
    background: #fff;
    border: #ddd solid 1px;
    border-radius: 0!important;
    font-size: 14px;
    margin: 0;
    outline: 0;
    padding: 10px;
}
input:focus, textarea:focus {
    background-color: #f7f7f7;
    border:rgba(37,26,142,.30) solid 1px;
}
input[type="submit"], button, .button {
    border: 0;
    color: #fff;
    cursor: pointer;
    display: block;
    font-family: inherit;
    font-size: 18px;
    margin: 0 auto;
    /* padding: .5em 2em; */
    text-align: center;
    text-decoration: none;
    background:rgba(37,26,142,1.00);
}
input[type="submit"]:hover, input[type="submit"]:focus, button:hover, button:focus, .button:hover, .button:focus {
    /* opacity: 0.8; */
    background:rgba(37,26,142,.75);
}


/*h要素スタイル上書き*/
h1, h2, h3, h4, h5, h6 {
    font-family: "Noto Sans JP", sans-serif;
    margin-bottom: 0;
    margin-top: 0;
}
h1 {
    font-size: 2em;
}
h2 {
    font-size: 1.75em;
}
h3 {
    font-size: 1.25em;
}
h4 {
    font-size: 1.125em;
}
h5 {
    font-size: 1.125em;
}
h6 {
    font-size: 1.125em;
}

/*p（段落）要素スタイル上書き*/
.page .content p,
.single-post .content p {
    font-size: 1em;
    line-height: 160%;
    margin: 1em 0;
}
/*img（画像）右クリック禁止*/
img {
    pointer-events: none;
}
/*aリンク内のimg（画像）イベント許可*/
a img {
    pointer-events: auto;
}

/*a（ハイパーリンク）要素スタイル上書き*/
a {
    color: rgba(37,26,142,1.00);
    transition: .3s;
}
a:hover {
    color: rgba(37,26,142,.50);
}
a img {
    transition: .3s;
}

/*ul,ol（リスト、順序リスト）要素スタイル上書き*/
.entry-content ul,
.widget-container ul,
.comment-body ul,
.entry-content ol,
.widget-container ol,
.comment-body ol {
    margin: 30px 0 30px 1em;
}
.entry-content ol,
.widget-container ol,
.comment-body ol {
    margin-left: 1em;
}
.entry-content ul li,
.widget-container ul li,
.comment-body ul li {
    list-style-type: initial;
}
/*エントリーメタデータスタイル上書き*/
.entry-meta, .entry-meta a, .entry-footer, .entry-footer a, .comment-meta, .comment-meta a, .comment-author, .comment-author a {
    font-family: "Noto Sans JP", sans-serif;
}
/*ヘッダ・コンテナ・フッタスタイル上書き*/
#header, #container, #footer {
    padding: 0;
}
#container::after{
    display: none;
}

.box, .box-2, .box-3, .box-4, .box-5, .box-6, .box-1-3, .box-2-3 {
    padding: 2%;
}
.bd-gray{
    border: 1px solid #888;
}

/* reCAPTCHA V3 バッヂ非表示*/
/*バッヂを非表示にする際はフォームの送信ボタン下にGoogleが指定する一文を記載すること*/
.grecaptcha-badge {
    visibility: hidden;
}
/* PC/SP切り替え */
.pc { display: block !important; }
.sp { display: none !important; }


/* 共通要素
---------------------------------------------------- */

/* 外枠 div id="wrapper" #wrapper
---------------------------------------------------- */
#wrapper {
    padding: 0;
    position: relative;
}

/* ヘッダ header id="header" #header
---------------------------------------------------- */
#header {
    height: auto;
    margin: 0;
    /*position: fixed; */
    /*ヘッダ固定の指定を外す際はposition:relativeに変更し、header.php内の「ヘッダーの高さ分だけコンテンツを下げる」をコメントアウトし、
    ログイン時のアドミンバー表示調整（body.logged-in #header）もコメントアウトする
    （@media screen and (max-width: 782px)にもログイン時のアドミンバー表示調整の記述有）
    */
    padding: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 9999;
    background-color: #FFF;
    
}
/*ログイン時のアドミンバー表示調整*/

/* body.logged-in #header {
        top: 32px;
} */

#header:after {
    display: none;
}
#header .header-wrap {
    padding: 1rem;
    position: relative;
    width: 100%;
}

/*ヘッダ - ヘッダコンテンツ（サイトタイトル・グローバルナビゲーション）*/
#header-contents{
    display: flex;
    flex-direction: column;
    row-gap: 1em;
}
/* - ヘッダコンテンツ：上段 #upper-wrap（サイトタイトル、電話番号、検索）*/
#upper-wrap{
    display: flex;
    justify-content: space-between;
}
#site-title {
    font-size: 1rem;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    column-gap: 10px;
    align-items: center;
}
#site-title img{
    width: 42px;
    height: 42px;
}
/* #site-title::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url('../images/common/ico/logo_tokushukai.png');
    background-position: center;
    background-size: contain;
} */
#site-title h1, #site-title a {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color:#000;
    white-space: nowrap;
}
#site-title a{
    opacity: .9;
    transition: .3s;
}
#site-title a:hover {
    color: rgba(251,37,118,1.00);
}
#site-title a span{
    display: block;
    font-size: .6rem
}

.sub-contents{
    display: flex;
    justify-content: flex-end;
    column-gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 12px;
}
.sub-contents .facility_phone{
    font-size: 24px;
    line-height: 0.8;
    text-align: left;
}
.sub-contents .facility_phone span{
    font-size: 12px;
}
.sub-contents ul.link-btn {
    display: flex;
    justify-content: flex-end;
    column-gap: 20px;
}
.sub-contents ul.link-btn li {
    display: block;
}
.sub-contents ul.link-btn li a {
    display: block;
    padding: 10px 30px;
    font-size: 14px;
    text-decoration: none;
    font-family: 'Kosugi Maru', sans-serif;
    background-color: #FFF;
    border: 1px solid rgba(37,26,142,1.0);
    color: #000;
}
.sub-contents ul.link-btn li a:hover {
    background-color: rgba(37,26,142,.30);
}

.sub-contents .screen-reader-text {
    border: 0;
    clip: rect(1px,1px,1px,1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute!important;
    width: 1px;
    word-wrap: normal!important;
    word-break: normal;
    }


.search button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: none;
    background-color: rgba(37,26,142,1.00);
    cursor: pointer;
    position: absolute;
    top:0;
    right: 0;
    padding: 0;
}
.search button:hover {
    background-color: rgba(251,37,118,1.00);
}
.search button::after {
    content:"\f002"; 
    font-family: "Fontawesome";
    font-weight: 900;
    position: absolute;
    right: 26%;
    top:50%;
    transform:translatey(-50%);
}

.search form{
    position: relative;
}
.search .search-field {
    background-color:#e6e6e6;
    background-image: none;
    height: 40px;
}
.search .search-field {
    border:none;
}



 /* - ヘッダコンテンツ：下段　グローバルナビゲーション*/
#menu {
    flex: 1;
    margin: 0;
    padding: 0;
    width: auto;
    float: none;
    
}
#menu div:first-of-type {
    width: auto;
    float: none;
}
/* - ヘッダコンテンツ：グローバルナビゲーション - SP用ハンバーガーボタン*/
#menu .menu-toggle {
    display: none;
}
/* - ヘッダコンテンツ：グローバルナビゲーション - メインメニュー*/
#menu ul {
    align-items: center;
    display: flex;
    font-size: inherit;
    justify-content:flex-end;
    margin: 0 auto;
    /* max-width: 1600px; */
}
#menu ul li{
    align-items: center;
    display: flex;
    padding: .25em 1em;
}
#menu ul li a {
    align-items: center;
    color: #251a8e;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    height: 100%;
    line-height: 1;
    margin: 0;
    padding: 0;
    text-align: inherit;
    text-decoration: none;
    transition: .3s;
    width: 100%;
}
#menu ul li a:hover,
#menu ul li a:focus
/*#menu ul li.current-menu-item a , メニューページ current表示*/
/*#menu ul li.current-page-ancestor a メニューの子ページ current表示*/ {
    color: rgba(251,37,118,1.00);
    text-decoration: none
}

/* メインカラム 
---------------------------------------------------- */
/*メインカラム（下層ページのみ） - container-wrap （サブヘッダ・パンくず） */
.container-wrap {
    background-color: transparent;
    flex: 1;
    height: auto;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
}
/* container-wrap ：サブヘッダ */
#sub-header{
    align-items: center;
    background: #fff url("../images/common/bg_subheader.png") no-repeat center;
    background-size: cover;
    display: flex;
    height: 400px;
    justify-content: center;
    margin: 0;
    padding: 0;
    padding-top: 100px;
}
#sub-header .sub-header-title{
    color: #fff;
    height: fit-content;
    text-align: center;
}
#sub-header .sub-header-title h2{
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1rem;
    font-weight: normal;
}
#sub-header .sub-header-title .slug{
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 7vmax;
    font-style: italic;
    font-weight: 100;
}
/* container-wrap ：パンくず */
.breadcrumbs{
    background-color: rgba(37, 26, 142, 1.0);
    border-bottom: rgba(37, 26, 142, 1.0) solid 1px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}
.breadcrumbs .bradcrumbs-wrap{
    align-items: center;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0;
    padding: .5rem;
}
.breadcrumbs .bradcrumbs-wrap span{
    font-size: .875em;
    padding:  0 .15rem;
}
.breadcrumbs .bradcrumbs-wrap span a{
    color: #fff;
}
.breadcrumbs .bradcrumbs-wrap .material-symbols-outlined{
    font-family: 'Material Icons';
}
/*メインカラム - container （main・aside） */
#container {
    background-color: #fff;
    display: flex;
    /* flex-direction: row-reverse; */
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    padding: 2rem;
    width: 1240px;

}
/*メインカラム - container （main・aside） */
#container.front-container {
    padding: 0;
}
/*メインカラム - container：main メインコンテンツ */
main.content {
    float: none;
    margin: 0 auto;
    padding: 0 ;
    width: 80%;
    z-index: 2;
}
/*メインカラム - container：main メインコンテンツ：お知らせの場合 */
#container:has(aside) main.content {
    margin: 0;
    padding: 0 3em 0 0 ;
    width: 75%;

}
/*メインカラム - container：aside サイドバー */

aside#sidebar {
    float: none;
}
/* - aside サイドバー （子ページリスト・ウィジェット）*/
aside#sidebar .child-page-box{
    margin: 0 0 3rem;
}
aside#sidebar .widget-box > li#side-page-link ul{
    margin: 0;
}
aside#sidebar .widget-box > li#side-page-link ul li{
    list-style: none;
    margin: 0;
    padding: 0;
}
aside#sidebar .child-page-box > ul , 
aside#sidebar .widget-box > li#side-page-link ul{
    border-top: #ddd solid 1px;
}
aside#sidebar .child-page-box ul li a , 
aside#sidebar .widget-box > li#side-page-link ul li a{
    align-items: center;
    background-color: #fff;
    color: #333;
    display: flex;
    padding: 1rem 0;
    text-decoration: none;
}
aside#sidebar .child-page-box ul li a:hover , 
aside#sidebar .widget-box > li#side-page-link ul li a:hover{
    background-color: #f7f7f7;
    color: #333;
}
/*該当ページ滞在時*/
aside#sidebar .child-page-box ul li.current_page_item > a , 
aside#sidebar .widget-box > li#side-page-link ul li.current_page_item > a {
    background-color: rgba(37, 26, 142, .10);
    color: #333;
}
/* - aside サイドバー - 子ページリスト*/
/*第一階層*/
aside#sidebar .child-page-box > ul > li , 
aside#sidebar .widget-box > li#side-page-link ul li{
    border-bottom: #ddd solid 1px;
}
aside#sidebar .child-page-box ul > li > a , 
aside#sidebar .widget-box > li#side-page-link ul li > a{
    padding: 1rem 2rem 1rem 1rem ;
    text-align: left;
}
aside#sidebar .child-page-box > ul > li > a::before , 
aside#sidebar .widget-box > li#side-page-link ul li > a::before{
    content: "\e5cc";
    font-family: 'Material Icons';
    padding: 0 .5rem 0 0;
}
/*第二階層*/
aside#sidebar .child-page-box > ul > li > ul {
    border-top: #ddd dotted 1px;
}
aside#sidebar .child-page-box > ul > li > ul > li {
    border-bottom: #ddd dotted 1px;
}
aside#sidebar .child-page-box > ul > li > ul > li:last-child {
    border-bottom: none;
}
aside#sidebar .child-page-box > ul > li > ul > li a{
    padding: .75rem 0 .75rem 2rem;
}
aside#sidebar .child-page-box > ul > li > ul > li a::before{
    content: "\eac9";
    font-family: 'Material Icons';
    padding: 0 .5rem 0 0;
}
/*第三階層*/
aside#sidebar .child-page-box > ul > li > ul > li > ul{
    border-top: #ddd dotted 1px;
}
aside#sidebar .child-page-box > ul > li > ul > li > ul > li {
    border-bottom: #ddd dotted 1px;
}
aside#sidebar .child-page-box > ul > li > ul > li >  ul > li:last-child {
    border-bottom: none;
}
aside#sidebar .child-page-box > ul > li > ul > li > ul > li a{
    padding: .75rem 0 .75rem 2.5rem;
}
aside#sidebar .child-page-box > ul > li > ul > li > ul > li a::before{
    content: "-";
    padding: 0 .5rem 0 0;
}
/* 第四階層以下 */
aside#sidebar .child-page-box > ul > li > ul > li > ul > li ul {
    border-top: #ddd dotted 1px;
}

aside#sidebar .child-page-box > ul > li > ul > li > ul > li ul li {
    border-bottom: #ddd dotted 1px;
}

aside#sidebar .child-page-box > ul > li > ul > li > ul > li ul li:last-child {
    border-bottom: none;
}

aside#sidebar .child-page-box > ul > li > ul > li > ul > li ul li a {
    padding: .75rem 0 .75rem 3rem; /* 左インデント */
    font-size: 0.9rem;             /* 文字を少し小さく */
}

aside#sidebar .child-page-box > ul > li > ul > li > ul > li ul li a::before {
    display: none; /* マーカー非表示 */
}
/* - aside サイドバー - ウィジェット*/
.widget-box li{
  border: 1px solid #DDD;
  border-bottom: 0;
}
aside .side-recruit-wrap{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px; /* 線の幅 */
  background: #ddd; /* 線の色 */
  border: 1px solid #DDD;
  margin-bottom: 3rem;
}

aside .side-recruit-wrap a{
    text-decoration: none;
    display: block;
    line-height: 2.5em;
    padding: .75em 0;
}
aside .side-recruit-wrap a:hover{
    background-color: rgba(37, 26, 142, .10);
    color: rgba(37, 26, 142, 1.0);
}

aside .side-recruit-wrap i{
    margin-right: 6px;
}
aside .side-recruit-wrap li{
    box-sizing: border-box;
    display: block;
    background: #fff; /* 内側の背景 */
    position: relative;
    text-align: center;
}   


/* - aside サイドバー - ウィジェット：ウィジェットタイトル*/
aside#sidebar .widget-box li.widget-container{
    margin: 0;
}
aside#sidebar .widget-box li h3{
    align-items: center;
    font-size: 1.15rem;
    display: flex;
    justify-content: space-between;
    padding: .5rem;
}
aside#sidebar .widget-box li h3::before , 
aside#sidebar .widget-box li h3::after{
    background-color: rgba(251,37,118,1.00);
    content: "";
    display: block;
    width: 30px;
    height: 1px;
}
/* - aside サイドバー - ウィジェット：ウィジェットリスト*/
aside#sidebar .widget-box li.widget-container nav ul{
    margin: 0;
    padding: 0;
}
aside#sidebar .widget-box li.widget-container nav ul li{
    border-bottom: #ddd solid 1px;
    list-style: none;
    line-height: normal;
    margin: 0;
}
aside#sidebar .widget-box li.widget-container nav ul li a{
    align-items: center;
    background-color: #fff;
    color: #333;
    display: flex;
    padding: 1rem 0;
    text-decoration: none;
}
aside#sidebar .widget-box li.widget-container nav ul li a:hover{
    background-color: #F7F7F7;
    color: #666;
}
aside#sidebar .widget-box li.widget-container nav ul li a::before{
    content: "\e5df";
    font-family: 'Material Icons';
    padding: 0 .5rem 0 0;
}
/* - aside サイドバー - ウィジェット：ウィジェットリスト - セレクト*/
aside#sidebar .widget-box li.widget-container:has(select) {
    position: relative;
}
aside#sidebar .widget-box li.widget-container:has(select)::after {
    color: #ddd;
    content: "\f078";
    display: inline;
    font-family: FontAwesome;
    position: absolute;
        bottom: .75rem;
        right: .5em;
    pointer-events: none; /* 矢印クリックを無効にする */
}
aside#sidebar .widget-box li.widget-container > select {
    appearance: none;
    border: #ddd solid 1px;
    border-radius: 5px;
    font-size: 1em;
    height: auto;
    margin: 0;
    max-width: 100% !important;
    padding: .5em 2em .5em .5em;
    width: 100%;
}


aside#sidebar .child-page-box ul li {
  position: relative;
}
/* ＋ボタン：正方形枠付き */
aside#sidebar .toggle-grandchildren {
  position: absolute;
  right: 0;
  top: 1rem;
  width: 1.5em;
  height: 1.5em;
  border: 1px solid rgba(37, 26, 142, 1.0);
  border-radius: 4px;
  background: #FFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(37, 26, 142, 1.0);
  transition: all 0.25s ease;
  text-indent: -9999px; /* ボタン内のテキストを隠す */
  overflow: hidden;
  padding: .5em;
}

/* hover時 */
aside#sidebar .toggle-grandchildren:hover {
  border-color: rgba(251,37,118,1.00);
  color: rgba(251,37,118,1.00);
}

/* ＋記号をCSSで描画（横線＋縦線） */
aside#sidebar .toggle-grandchildren::before,
aside#sidebar .toggle-grandchildren::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 2px;
  background-color: currentColor;
  transition: transform 0.25s ease;
  transform-origin: center;
}

/* 横線 */
aside#sidebar .toggle-grandchildren::before {
  transform: rotate(0deg);
}

/* 縦線 */
aside#sidebar .toggle-grandchildren::after {
  transform: rotate(90deg);
}

/* 展開時（＋ → ×） */
aside#sidebar .toggle-grandchildren[aria-expanded="true"]::before {
  transform: rotate(45deg);
}
aside#sidebar .toggle-grandchildren[aria-expanded="true"]::after {
  transform: rotate(-45deg);
}

/* 展開時の背景色 */
aside#sidebar .toggle-grandchildren[aria-expanded="true"] {
  background-color: #f7f7f7;
  border-color: rgba(251,37,118,1.00);
  color: rgba(251,37,118,1.00);
}

.current_page_item .toggle-grandchildren{
    display: none!important;
}

/*--------------------------------------------------------------
# お知らせ一覧サイドバー
--------------------------------------------------------------*/
aside#sidebar.news-sidebar {
  margin-top: 2rem;
}

/* ボックスの共通スタイル */
aside#sidebar .widget-box:has(.widget_media_image) {
  margin-bottom: 0rem;
}
aside#sidebar .widget-box{
  /* border: 1px solid #DDD; */
  margin-bottom: 2rem;
}

/* タイトル */
aside#sidebar .widget-box .widget-title {
  background: rgba(37, 26, 142, 0.05);
  border-bottom: 1px solid #DDD;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(37, 26, 142, 1.0);
}

/* リスト共通 */
aside#sidebar .widget-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

aside#sidebar .widget-box ul li {
  border: 0;
  border-bottom: 1px solid #DDD;
}

aside#sidebar .widget-box ul li:last-child {
  border-bottom: none;
}

/* 各リンク */
/* 年別アーカイブリストの整列 */
aside#sidebar .widget-box ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap; /* 改行を防ぐ */
  border-bottom: 1px solid #DDD;
}

aside#sidebar .widget-box ul li:last-child {
  border-bottom: none;
}

aside#sidebar .widget-box ul li a {
  flex-grow: 1; /* 左側を広げて右端に件数を押す */
  text-decoration: none;
  color: #333;
  padding: 0.85rem 1rem;
  display: inline-flex;
  align-items: center;
}


aside#sidebar .widget-box ul li a::before {
  content: "\ebcc"; /* calendar_month */
  font-family: 'Material Icons';
  padding-right: 0.5rem;
  color: #888;
  font-size: 1rem;
}

/* 投稿数（カウント） */
aside#sidebar .widget-box ul li {
  color: #999;
  font-size: 0.9rem;
  padding-right: 0.75rem;
}

aside#sidebar .widget-box ul li:hover {
  background: rgba(37, 26, 142, 0.08);
  color: rgba(37, 26, 142, 1.0);
}

aside#sidebar .widget-box ul li.current-cat{
  background: rgba(37, 26, 142, 0.1);
  color: rgba(37, 26, 142, 1.0);
  font-weight: 600;
}



aside#sidebar .archive-list ul li a::before {
  content: "\ebcc"; /* calendar_month */
  font-family: 'Material Icons';
  padding-right: 0.5rem;
  color: #888;
  font-size: 1rem;
}


/* カテゴリメニュー　子ページカード一覧 */
main.content .child-page-section {
  margin-top: 3rem;
}

main.content .child-page-heading {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid rgba(37, 26, 142, 1.0);
  padding-left: 0.5rem;
}

main.content .child-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 1.5rem;
  margin-top: 2em;
}


/* 各カードをflexで縦並びにして高さを揃える */
main.content .child-card {
  background: #fff;
  border: 1px solid rgba(37, 26, 142, 1.0);
  text-align: center;
  height: 100%; 
  position: relative;
}
main.content .child-card a{
  text-decoration: none;
  display: block;
    height: 100%;
  padding: 1.5rem;
}
main.content .child-card h3{
  color:rgba(37, 26, 142, 1.0)!important;
  background-color: transparent!important;
  margin: 0!important;
}
main.content .child-card  a::before {
    content: none!important;
}

main.content .child-card a:hover{
  color: rgba(37, 26, 142, 1.0);
  background-color: rgba(37, 26, 142, .30);
}
main.content .child-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  flex-grow: 1; 
}

main.content .child-card::after {
    content: "\f105";
    color: rgba(37, 26, 142, 1.0);
    font-family: FontAwesome;
    font-size: 20px;
    margin-top: -10px;
    position: absolute;
    top: 50%;
    right: 10px;
}
.link-disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #ddd;
} 


/* ボタンを下で揃える */
/* main.content .child-card-button {
  display: inline-block;
  color: rgba(37, 26, 142, 1.0);
  background: #fff;
  border: 1px solid rgba(37, 26, 142, 1.0);
  padding: 0.6rem 1.2rem;
  border-radius:100px;
  text-decoration: none;
  font-size: 0.8rem;
  transition: background 0.2s ease;
  margin-top: auto; 
  align-self: center; 
}

main.content .child-card-button:hover {
  background: rgba(37, 26, 142, .5);
  color: #fff;
} */


/* フッタ footer id="footer" #footer
---------------------------------------------------- */
#footer {
    background-color: rgba(37, 26, 142,.1);
    font-size: .875rem;
    margin: 0;
    padding: 0;
}
#footer p {
    margin: 0;
    padding: 0;
}
/*フッタ - フッタアクセス（施設情報・Googleマップ）*/
#footer #footer-wrapper{
    display: flex;
    justify-content: space-between;
    margin: 2rem auto 3rem;
    max-width: 1200px;
    column-gap: 30px;
}
/*フッタ - フッタアクセス：施設情報*/
#footer-access p:has(.facility-name){
    text-align: left!important;
}
#footer-access .access{
    padding: 1rem ;
}
#footer-access .access dt {
    align-items: center;
    display: flex;
    margin: 0 0 1rem;
}
#footer-access .access dt::before {
    background: url("../images/common/ico/logo_tokushukai.png") no-repeat center;
    background-size: contain;
    content: "";
    display: block;
    height: 50px;
    margin: 0 1rem 0 0;
    width: 50px;
}
#footer-access .access dt a {
    text-decoration: none;
}
#footer-access .access dt a:hover {
    color: rgba(251,37,118,1.00);
}
#footer-access .access dt span {
    display: block;
}
#footer-access .access dt span.corporation-name {
    font-size: .875rem;
}
#footer-access .access dt span.facility-name {
    font-size: 1.25rem;
    font-weight: 400;
}
#footer-access .access dt span.facility-name span {
    font-size: 0.8rem;
}

#footer-access .access dd ul li {
    padding: .25rem 0;
}
#footer-access .access dd ul {
    text-align: left;
}

#footer .btn-wrap .btn{
    position: relative;
    display: grid;
    align-items: center;
    min-height: 70px;
    background-color: #fff;
    border: 2px solid rgba(37,26,142,1.00);
    overflow: hidden;
    transition: .3s;
    max-width: 20em;
    padding: 6px;
    width: 8em;
    height: 2.4em;
    min-height: initial;
    border-width: 1px;
    float: left;
    margin-right: 20px;
    margin-top: 20px;
}
#footer .btn-wrap .btn a{
    color: #333;
    text-decoration: none;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
}
#footer .btn-wrap .btn:hover {
    background-color: rgba(37,26,142,.30);
}

/*フッタ - フッタボトム（コピーライト・フッターナビ・ページトップ）*/
#footer-bottom {
    align-items: center;
    background-color: rgba(37,26,142,1.00);
    display: flex;
    height: 48px;
    justify-content: space-between;
    padding: 0; 
    position: relative;
    text-align: center;
}
#copyright, 
#copyright a {
    color: #fff;
    font-size: .875em;
    text-align: left;
}
#footer-subnavi {
    flex: 1;
    padding: 0 10px;
}
.footer-subnav-list {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-subnav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.footer-subnav-list li a {
  text-decoration: none;
  color: #FFF;
}
.footer-subnav-list li a:hover {
  color: rgba(251,37,118,1.00);
}
/*ページトップ */
#pagetop {
    align-items: center;
    background-color: rgba(0,0,0,0.00);
    border-left: #fff solid 1px;
    display: flex;
    height: 100%;
    justify-content: center;
    z-index: 1000;
}
#pagetop:hover {
    background-color: rgba(251,37,118,1.00);
}
#pagetop a {
    color: rgba(255,255,255,1.00);
    font-size: 20px;
    padding:  0 1rem;
}
#pagetop a:hover {
    color: rgba(255,255,255,.75);
}

/* - フッタボトム：フッターナビ*/
#footer-nav {
    flex: 1;
}
#footer-nav .menu{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-auto-rows: 1fr;
    grid-gap: 0.8em;
    padding: 1rem 0;
}
#footer-nav .menu li{
    line-height: 100%;
    padding: 0 1rem;
    display: block;
    text-align: left;
}
#footer-nav .menu li::before {
    content:"-";
    color: rgba(37,26,142,1.00);
    margin-right:10px;
}
#footer-nav .menu li:last-child{
    border-right: none;
}
#footer-nav .menu li a{
    color: rgba(37,26,142,1.00);
    text-decoration: none;
}
#footer-nav .menu li a:hover{
    color: rgba(37,26,142,1.00);
    text-decoration: none;
}
#footer-nav .menu li a:hover{
    color: rgba(251,37,118,1.00);
}
/* - フッタバナー */
#footer-nav .footer-bnr{
    display: flex;
    flex-wrap: wrap;
}
#footer-nav .footer-bnr li{
    margin: 1rem;
}

/* - フッタボトム id="footer-bottom"*/
#footer-bottom-right{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* ログイン時表示「編集」ボタンスタイル .post-edit-link
---------------------------------------------------- */
.post-edit-link { /*ログイン時の編集ボタン非表示*/
    display: none;
}


@media(max-width:1366px) {}

@media(max-width:1260px) {

/* メインカラム 
---------------------------------------------------- */
    /*メインカラム（下層ページのみ） - container-wrap （サブヘッダ・パンくず） */
    /* container-wrap ：サブヘッダ */
    #sub-header{
        height: 300px;
    }
    /*メインカラム - container （main・aside） */
    #container {
        width: 100%;
    }
    /*メインカラム - container：main メインコンテンツ：お知らせの場合 */
    #container:has(aside) main.content {
        margin: 0;
        padding: 0 2% 2em 0;
        width: 75%;
    }
    /*メインカラム - container：aside サイドバー */
    aside#sidebar {
        width: 25%;
    }

}

@media(max-width:1024px) {
/* ヘッダ header id="header" #header
---------------------------------------------------- */

    /* - ヘッダコンテンツ：サイトタイトル*/
    #site-title h1, #site-title a {
        text-align: left;
    }


    /* - ヘッダコンテンツ：グローバルナビゲーション*/
    #menu {
        background-color: #251a8e;
        display: block;
        flex: none;
        height: 100vh;
        padding: 1rem;
        position: absolute;
            left: 0;
            top: -100vh;
        transition: .15s;
        width: 100%;
        z-index: 10000;
    }
    #menu div:first-of-type{
        display: block;
        margin: 3.8em 0 0 0;
    }
    /* - ヘッダコンテンツ：グローバルナビゲーション - OPEN時*/
    #menu.toggled {
        position: fixed;
            right: 0;
            top: 0;
    }
    /* - ヘッダコンテンツ：グローバルナビゲーション - OPEN時・ログイン中*/
    body.logged-in #menu.toggled {
        top: 32px;
    }
    /* - ヘッダコンテンツ：グローバルナビゲーション - SP用ハンバーガーボタン*/
    #menu .menu-toggle {
        background: none;
        border: 0;
        display: block;
        height: 2.4em;
        margin: 0;
        padding: 0;
        position: absolute;
            right: .5em;
            top: calc( 100vh + .5em);
        text-align: center;
        transition: unset;
    }
    #menu .menu-toggle:hover,
    #menu .menu-toggle:focus {
        color: rgba(251,37,118,1.00);
    }
    #menu .menu-icon {
        font-size: 1em;
        height: 100%;
    }
    #menu .menu-icon::before {
        color: rgba(37,26,142,1.00);
        content: '\e5d2';
        display: inline;
        font-family: 'Material Icons';
        font-size: 2.4em;
        line-height: 1;
    }
    /* - ヘッダコンテンツ：グローバルナビゲーション - SP用ハンバーガーボタン - OPEN時*/
    #menu.toggled .menu-toggle {
            right: 10px;
            top: .5em;
    }
    #menu.toggled .menu-icon::before {
        color: #fff;
        content: '\e5cd';
        font-family: 'Material Icons';
    }
    /* - ヘッダコンテンツ：グローバルナビゲーション - メインメニュー*/
    #menu.toggled ul {
        border: none;
        margin: 0;
        padding: 0;
        position: relative;
            left: 0;
            top: 0;
    }
    #menu ul li , 
    #menu.toggled ul li {
        border-bottom: #fff solid 1px;
        margin: 0 ;
        padding: 0;
        width: 100%
    }
    #menu ul li a ,
    #menu.toggled ul li a{
        background-color: transparent;
        color: #fff;
        display: block;
        font-size: 1rem;
        height: 100%;
        line-height: auto;
        margin: 0;
        padding: 2rem 1rem;
        text-align: left;
        width: 100%;
    }
    #menu.toggled ul li a:hover,
    #menu.toggled ul li a:focus 
    /*#menu.toggled ul li.current-menu-item a , メニューページ current表示*/
    /*#menu.toggled ul li.current-page-ancestor a メニューの子ページ current表示*/ {
        background-color:rgba(255,255,255,.25);
    }
    #menu.toggled ul li a::before{
        content: '\e5df';
        font-family: 'Material Icons';
        padding: 0 .25em 0 0;
    }
    #menu.toggled ul li a::after{
        display: none;
    }

    .sub-contents {
        padding-right: 50px;
    }

}
@media screen and (max-width: 782px){
    html #wpadminbar {
        position: fixed;
    }
    /*ログイン時のアドミンバー表示調整*/
    /*
    body.logged-in #header {
            top: 46px;
    }
    */
    #wp-admin-bar-my-account{
        line-height: 80%;
    }
/* ヘッダ header id="header" #header
---------------------------------------------------- */
    /* - ヘッダコンテンツ：グローバルナビゲーション - OPEN時・ログイン中*/
    body.logged-in #menu.toggled {
        top: 46px;
    }
}

@media(min-width:769px) {}
@media(max-width:768px) {
/* 共通要素の上書き
---------------------------------------------------- */
    h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.25em;
    }
    h3 {
        font-size: 1.125em;
    }
    h4 {
        font-size: 1em;
    }
    h5 {
        font-size: 1em;
    }
    h6 {
        font-size: 1em;
    }
    .page .content p, .single-post .content p {
        line-height: 150%;
    }
	/* PC/SP切り替え */
	.pc { display: none !important; }
	.sp { display: block !important; }
    

/* メインカラム 
---------------------------------------------------- */

    /*メインカラム - container （main・aside） */
    #container {
        flex-direction: column;
        padding: 1rem;
    }
    /*メインカラム - container：main メインコンテンツ */
    main.content {
        width: 100%;
    }
    /*メインカラム - container：main メインコンテンツ：お知らせの場合 */
    #container:has(aside) main.content {
        padding: 0;
        width: 100%;
    }    
    /*メインカラム - container：aside サイドバー */
    aside#sidebar {
        border-top: rgba(37,26,142,1.00); double 3px;
        margin: 3rem 0 0 0;
        padding: 3rem 0 0;
        width: 100%;
    }
    /* - aside サイドバー （子ページリスト・ウィジェット）*/
    aside#sidebar .child-page-box{
        margin: 0 0 3rem;
    }
    aside .side-recruit-wrap {
        margin-top: 1rem;
    }
    .widget-box li
    {    border: 0;
    text-align: center;}


/* フッタ footer id="footer" #footer
---------------------------------------------------- */
    #footer #footer-wrapper{
        display: block;
        margin-top: 0;
        margin-bottom: 0;
    }

    /*フッタ - フッタアクセス：施設情報*/
    #footer-access .access{
        width: 100%;
    }

    #footer-access .access dt {
        justify-content: center;
        text-align: left;
    }
    #footer-access .access dd ul li {
        text-align: center;
    }
    /*フッタ - フッタアクセス：Googleマップ*/
    #footer-access .map{
        width: 100%;
    }
    /*フッタ - フッタボトム（コピーライト・フッターナビ・ページトップ）*/
    #footer #footer-bottom {
        flex-wrap: wrap;
        padding: 0;
    }
    /* - フッタボトム：コピーライト*/
    #copyright {
        order: 2;
        max-width: calc(100%-60px);
        /* padding-right: 60px!important; */
    }
    /* - フッタボトム：フッターナビ*/
    #footer-bottom {
        height: auto;
    }
    #footer-subnavi{
        flex: auto;
        padding: 0;
        width: 100%;
    }
    #footer-nav .menu-f-navigation-container {
        display: none;
         width: 100%;
    }
    /* - フッタバナー */
    #footer-nav .footer-bnr{
        justify-content: center;
    }
    .footer-subnav-list {
        flex-direction: column;
        width: 100%;
        gap:0;
    }
    .footer-subnav-list li{
        display: block;
        border-bottom: 1px solid #FFF;
        width: 100%;
        height: 48px;
        line-height: 48px;
    }
    .footer-subnav-list li a{
        display: block;
    }

    #pagetop {
        order: 3;
        height: 48px;
        width: 48px;
    }
    #copyright {
       height: 48px;
        line-height: 48px;
    }

}

@media(max-width:767px) {
    .sub-contents{
        display: none;
    }
    #sub-header{
        height: 260px;
        padding-top: 80px;
    }
}
@media(max-width:576px) {
    #site-title h1, #site-title a {
        font-size: 1.0em;
        white-space: unset;
        max-width: 180px;
    }
    /* - フッタバナー */
    #footer-nav .footer-bnr{
        flex-direction: column;
    }
}
@media(max-width:350px) {
/* メインカラム 
---------------------------------------------------- */
    /*メインカラム（下層ページのみ） - container-wrap （サブヘッダ・パンくず） */
    /* container-wrap ：パンくず */
    .breadcrumbs{
        display: none;
    }
    #footer-nav .menu{
        grid-template-columns: 1fr;
    }
    #footer-nav .menu li{border-right: 0;}
    #footer-nav .menu li:last-child {border-right: 0;}

    .child-page-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
}
