@charset "UTF-8";

/*
SP
==================================================== */
@media screen and (max-width: 759.9px) {

#dirPathBlock,#anchorLinkBlock { background: #FFF;}
#dirPathBlock p,#anchorLinkBlock a,
h1 {
	font-size: 10px;
	padding: 0 5px 5px 5px;
}

/*title*/
#gwNavi .titlePc {
	display: none !important;
}

#gwNavi .titleSp {
	width: 100%!important;
  text-align: center;
}

#gwNavi .titleSp img {
    width: 100%;
    vertical-align: bottom;
}

/*◆ページナビ*/
#gwNavi ul.pageNavi {
    width: 100%;
	text-align: center;
    background: #B6F0BF;
    padding: .25rem 0;
}

#gwNavi ul.pageNavi li {
    display: inline-block;
    font-size: 16px;
    line-height: 1.4;
    padding: 0 10px;
}

#gwNavi ul.pageNavi li a {
    color: #000;
}

/*list横並び*/
.itemList3,
.itemList4,
.itemList5 {
  width: 100%;
  display: flex;
  flex-wrap: wrap; 
  margin-top: .5em;
}

.itemList4 > div {
  width: 50%;
  height: auto;
  align-self: stretch;  
  padding: .2em;
}

.itemList3 > div,
.itemList5 > div {
  width: 33.33333%;
  height: auto;
  align-self: stretch;  
  padding: .2em;
}

/*ボタン*/
.Btn_hov {
    display: inline-flex;           /* ボタン内を横並び中央揃え */
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;                     /* ::before が z-index:-1 で背面になるように */
    width: 100%;
    margin: 0 auto;
    padding: 0.4em .5em;
    overflow: hidden;
    border: 2px solid #2589d0;
    border-radius: 5px;
    background-color: #fff;
    color: #2589d0;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: color .3s ease, border-color .3s ease;
}

/* a を inline-flex にして中の要素を横並びに確実にする */
.Btn_hov a {
    display: inline-flex;       /* 追加: 横並びを安定化 */
    align-items: center;        /* 縦中央揃え */
    gap: .25em;                 /* テキストと丸の間の余白 */
    color: #2589d0;
    text-decoration: none;      /* 必要なら */
    white-space: nowrap;        /* 改行を防ぐ（オプション） */
}

/* holiday をインラインフレックスにして縦位置は align-items で調整 */
.Btn_hov .weekday,
.Btn_hov .sat,
.Btn_hov .holiday {
    flex-shrink: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    color: #fff;
    font-size: 12px;
    border-radius: 50%;
    top: 0;                     /* top を除去（相対位置させない） */
    position: static;           /* position を解除して行内配置にする */
}

.Btn_hov .weekday {
    background: #888;
}

.Btn_hov .sat {
    background: #2589d0;
}

.Btn_hov .holiday {
    background: #ff3333;
}

/* ホバー/フォーカス時のテキスト色 */
.Btn_hov:hover a,
.Btn_hov:focus a {
    background-color: transparent;
    color: #fff;
    outline: none;
    border-color: #2589d0;
}

.Btn_hov:hover a .weekday,
.Btn_hov:hover a .sat,
.Btn_hov:hover a .holiday {
    background: #fff;
    color: #2589d0;
}

/* 背面の塗りつぶし（横幅アニメーション） */
.Btn_hov::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 0;
    height: 100%;
    background-color: #2589d0;
    content: '';
    transition: width .3s ease;
}

/* ホバーで塗りつぶしが広がる */
.Btn_hov:hover::before,
.Btn_hov:focus::before {
    width: 100%;
}

/* 右側の矢印（表示されるよう display と位置を指定） */
.Btn_hov::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 10px;
    transform: rotate(45deg);
    border-top: 2px solid #2589d0;
    border-right: 2px solid #2589d0;
    transition: border-color .3s ease, transform .3s ease;
    /* 疑似要素をボタン内のテキスト行に揃えるため相対配置は不要（inline-blockでOK） */
}

/* ホバー時に矢印の色を白に */
.Btn_hov:hover::after,
.Btn_hov:focus::after {
    border-color: #fff;
    transform: translateX(3px) rotate(45deg); /* 少し右に動かすアクセント */
}

/* キーボード操作用に focus-visible を追加（ブラウザ対応により）*/
.Btn_hov:focus-visible {
    box-shadow: 0 0 0 3px rgba(37,137,208,0.25);
}

}




/*
PC
==================================================== */
@media screen and (min-width: 760px),print {

#dirPathBlock,
#anchorLinkBlock,
h1 {
	width: 100%;
	max-width:970px;
	min-width:760px;
	margin: 0 auto;
    padding-bottom: 10px;
	font-size: 12px;
}

/*title*/
#gwNavi .titlePc {
	width: 100%!important;
	text-align: center;
	background: url(../images/bg_title.jpg) repeat center 0;
	position: relative;
    height: 360px;
}

#gwNavi .titleSp {
	display: none !important;
}

/*◆ページナビ*/
#gwNavi ul.pageNavi {
    width: 100%;
	text-align: center;
    background: #B6F0BF;
}

#gwNavi ul.pageNavi li {
    display: inline-block;
    font-size: 18px;
    line-height: 1.4;
    padding: 5px 20px;
    letter-spacing: 0.1em;
}

#gwNavi ul.pageNavi li a {
    color: #000;
}

/*list横並び*/
.itemList3,
.itemList4,
.itemList5 {
  width: 100%;
  display: flex;
  flex-wrap: wrap; 
}

.itemList3 > div {
  width: 33.33333%;
  height: auto;
  align-self: stretch;  
  padding: .5em;
}

.itemList4 > div {
  width: 25%;
  height: auto;
  align-self: stretch;  
  padding: .5em;
}

.itemList5 > div {
  width: 20%;
  height: auto;
  align-self: stretch;  
  padding: .5em;
}

/*ボタン*/
.Btn_hov {
    display: inline-flex;           /* ボタン内を横並び中央揃え */
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;                     /* ::before が z-index:-1 で背面になるように */
    width: 100%;
    margin: 0 auto;
    padding: 0.4em .5em;
    overflow: hidden;
    border: 2px solid #2589d0;
    border-radius: 5px;
    background-color: #fff;
    color: #2589d0;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color .3s ease, border-color .3s ease;
}

/* a を inline-flex にして中の要素を横並びに確実にする */
.Btn_hov a {
    display: inline-flex;       /* 追加: 横並びを安定化 */
    align-items: center;        /* 縦中央揃え */
    gap: .25em;                 /* テキストと丸の間の余白 */
    color: #2589d0;
    text-decoration: none;      /* 必要なら */
    white-space: nowrap;        /* 改行を防ぐ（オプション） */
}

/* holiday をインラインフレックスにして縦位置は align-items で調整 */
.Btn_hov .weekday,
.Btn_hov .sat,
.Btn_hov .holiday {
    flex-shrink: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    color: #fff;
    font-size: 16px;
    border-radius: 50%;
    top: 0;                     /* top を除去（相対位置させない） */
    position: static;           /* position を解除して行内配置にする */
}

.Btn_hov .weekday {
    background: #888;
}

.Btn_hov .sat {
    background: #2589d0;
}

.Btn_hov .holiday {
    background: #ff3333;
}

/* ホバー/フォーカス時のテキスト色 */
.Btn_hov:hover a,
.Btn_hov:focus a {
    background-color: transparent;
    color: #fff;
    outline: none;
    border-color: #2589d0;
}

.Btn_hov:hover a .weekday,
.Btn_hov:hover a .sat,
.Btn_hov:hover a .holiday {
    background: #fff;
    color: #2589d0;
}

/* 背面の塗りつぶし（横幅アニメーション） */
.Btn_hov::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 0;
    height: 100%;
    background-color: #2589d0;
    content: '';
    transition: width .3s ease;
}

/* ホバーで塗りつぶしが広がる */
.Btn_hov:hover::before,
.Btn_hov:focus::before {
    width: 100%;
}

/* 右側の矢印（表示されるよう display と位置を指定） */
.Btn_hov::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 10px;
    transform: rotate(45deg);
    border-top: 2px solid #2589d0;
    border-right: 2px solid #2589d0;
    transition: border-color .3s ease, transform .3s ease;
    /* 疑似要素をボタン内のテキスト行に揃えるため相対配置は不要（inline-blockでOK） */
}

/* ホバー時に矢印の色を白に */
.Btn_hov:hover::after,
.Btn_hov:focus::after {
    border-color: #fff;
    transform: translateX(3px) rotate(45deg); /* 少し右に動かすアクセント */
}

/* キーボード操作用に focus-visible を追加（ブラウザ対応により）*/
.Btn_hov:focus-visible {
    box-shadow: 0 0 0 3px rgba(37,137,208,0.25);
}

}