@charset "UTF-8";
@import url("grid.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}

a {
    color: #666;
    text-decoration-line: none;
}

a:hover { 
    color: #999;
}
a img:hover {
	opacity: 0.8;
}
.photo img {
    padding: 0 0 10px 10px;
}
.underline {
	border-bottom: 3px solid #eb9646;
	padding-bottom: 0.5rem;
}

.title {
    font-weight:bold;
    display:inline-block;
    border-bottom: 3px solid #ccc;
    padding-bottom: 0.2rem;
}


.rules li {
   text-indent: -1.2em;
   padding-left: 1.2em;
}

/*改行*/
@media screen and (min-width: 650px){	
  .br-pc { display:block; }
  .br-sp { display:none; }
}
@media screen and (max-width: 650px){	
  .br-pc { display:none; }
  .br-sp { display:block; }
}

/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}

.head h1 { 
    padding: 1rem 0;
}
.telbox {
	margin-left: auto;
	font-size: 3.0rem;
	padding: 1rem 0 0 0;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 1rem;
}
nav li {
    display: block;
    flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
}
nav a:hover {
    background-color: #f7f7f7;   
}
nav a {
    display: block;
    padding: 1rem;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}
.telbox {
	margin-left: 0;
	text-align: center;
}
.head #open,#close  {
    position: absolute;
    top: 28px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0;
}
/* スマホ時はMENUボタンを表示 */
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}

/* PC時は"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
    
/* スマホ時は"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 768px) {
.pc { display: none !important; }
.sp { display: block !important; }
}

/*テーブル
-------------------------------------*/
@media only screen and (max-width: 768px) {
table {
    width:100%;
    font-size:87.5%;
	border-collapse: collapse; }
th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0; }
    
td.mail {
    word-break: break-all; }}


.list{
    font-size: 80%;
    width: 100%;
    height: 550px;
    overflow: scroll;
    overflow-x: scroll;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
    }
.list th{
    position: sticky;
    background: #f2f2f2;
    top: 0;
    left: 0;
    padding: 12px 15px;
    text-align: center;
}
.list td{
    padding: 10px;
}
.list tr:first-child th:first-child{
    z-index: 1;
}

/*メイン画像
-------------------------------------*/
.mainimg img {
	width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 5rem 0;
}

/*新着情報
-------------------------------------*/
.news h3 {
    border-bottom: 3px solid #f39800;
	padding-bottom: 0.5rem;
}
.news li {
    list-style-type: none;
	border-bottom: 1px dashed #ccc;
	padding: 0.5rem 0;
}

/*フッター
-------------------------------------*/
footer {
    text-align: center;
    background-color: #f7f7f7;
    padding: 2rem 0;
}

/*コピーライト
-------------------------------------*/
.copyright {
    margin-top: 20px;
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem 0;
    background-color: #fff;
    margin-bottom: 20px;
}
.copyright a {
    color: #000;
    text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 0px;
    right: 20px;
}
#pagetop a {
    display: block;
    background: #eb9646;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    opacity: 0.8;
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    font-size: 1.5rem;
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: #999;
}
.breadcrumb li :hover {
    display: inline-block;
    color: #666;
}