@charset "utf-8";
/****************/
/*   基本設定   */
/****************/
header,
main,
footer {
    display: block;
    margin: 0 auto;
}
/*フォント*/
* {
    margin: 0;
    padding: 0;
    font-family: "メイリオ", Meiryo, sans-serif;
}
/*リンク色指定*/
a:link,
a:visited {
    color: black;
}
a:hover img {
	opacity: 0.7;
	filter: alpha(opacity=70);
	-ms-filter: "alpha(opacity=70)";
}
/*画像の下の余白を無くす*/
img {
    vertical-align:bottom;
}
/*PCのみ表示*/
@media (max-width: 414px){.pc  {display:none;}}
@media (max-width: 959px){.pc2 {display:none;}}
/*モバイルのみ表示*/
@media (min-width: 415px){.mb  {display:none;}}
@media (min-width: 960px){.mb2 {display:none;}}
/****************/
/*   ヘッダー   */
/****************/
header {
    width: 100%;
}
/*ヘッダーバー*/
#id_header_bar {
    width: 100%;
    height: 5px;
}
/*ヘッダー位置指定*/
.cs_flex_position {
    display: flex;
    justify-content: space-between;
    /*align-items: center;*/
    flex-wrap: wrap;
}
.cs_flex_logo {
    padding: 0px 10px 5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
}
.cs_flex_menu {
    padding: 0px 10px 5px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    box-sizing: border-box;
}
.cs_flex_logo {
    padding: 0px 10px 5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
}
/*サイト名*/
h1 {
    font-size: x-large;
}
h1 a {
    text-decoration: none;
}
h1 a:link,
h1 a:visited {
    color: black;
}
.cs_flex_title {
    text-align: center;
}
@media (min-width: 420px) {
.cs_flex_space {
    flex-basis: 500px;
}
}
@media (max-width: 419px) {
h1 img{
    width: 240px;
}
.cs_flex_space {
    flex-basis: 50px;
}
#hamburger-menu {
    flex-basis: 50px;
}
}
/*ヘッダーメニュー、フッターメニュー*/
.cs_header_menu,
.cs_footer_menu {
    list-style-type: none;
}
.cs_header_menu li,
.cs_footer_menu li {
    font-size: small;
    margin-right: 20px;
}
.cs_header_menu li:last-of-type,
.cs_footer_menu li:last-of-type {
    margin-right: 0px;
}
.cs_icon {
	display: inline-block;
	font-size: x-small;
	padding-right: 2px;
	padding-top: 3px;
	transform: rotate(90deg);
}
.cs_header_menu a {
    text-decoration: none;
}

.cs_contact {
    position: relative;
    width: 120px;
    height: 30px;
}

.cs_contact a {
    display: block;
    border: solid 1px black;
    padding: 5px 15px;
    box-shadow:2px 2px;

    position: absolute;
    top: 0;
    left: 0;
}
.cs_contact a:hover {
    box-shadow: 0px 0px;
    top: 2px;
    left: 2px;
    transition: 0.1s;
}
/*ヘッダーコメント*/
.cs_header_comment {
    font-size: small;
    box-sizing: border-box;
}
.cs_comment_up {
    padding-left: 10px;
}
.cs_comment_down {
    padding-left: 20px;
}
/*ハンバーガーメニュー*/
#id_menu_list {
    display:none;
    position: absolute;
    top: 95px;
    list-style: none;
    width: 100%;
    z-index: 100;
}
#id_menu_list li {
    padding-left: 20px;
    box-sizing: border-box;
}
#id_menu_list li a {
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    background-repeat: no-repeat;
    text-decoration: none;
    box-sizing: border-box;
}
/*スライダー*/
@media (min-width: 480px) {
#id_infiniteslide {
    margin-top: 10px;
    z-index: 1;
}
#id_infiniteslide ul li img {
    width: 480px;
    height: 360px;
    object-fit: cover;
}
}
@media (max-width: 479px) {
#id_infiniteslide {
    display: none;
}
}
/*センターメニュー*/
.cs_center_menu {
    width: 100%;
}
.cs_main_menu {
    width: 960px;
    margin: 0 auto;
}
/****************/
/*    メイン    */
/****************/
main {
    width: 100%;
    margin-top: -10px;
}
#id_main {
    background-color: white;
    padding: 5px 10px 10px;
    box-sizing: border-box;
}
@media (min-width: 960px){
#id_main {
    width: 960px;
    margin: 0 auto;
}
}
@media (max-width: 959px){
#id_main {
    width: 100%;
}
}
/*グローバルメニュー*/
@media (min-width: 960px){
.cs_main_menu {
    /*padding-top: 10px;*/
    margin-bottom: 10px;
}
.cs_main_menu ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    font-size: medium;
    padding: 10px 0;
}
}
@media (max-width: 959px){
.cs_main_menu {
    display: none;
}
}
/****************/
/*   フッター   */
/****************/
footer {
    color: white;
}
#id_page_top{
    position: fixed;
    bottom: 20px;
    right: 5px;
    width: 50px;
    height: 35px;
    color: white;
    border: solid 1px white;
    font-size: x-large;
    text-align: center;
    cursor: pointer;
    z-index: 900;
    transform:translate3d(0,0,900);
}
#id_footer {
    padding-top:20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
@media (min-width: 960px){
#id_footer {
    width: 960px;
    margin: 0 auto;
}
}
@media (max-width: 959px){
#id_footer {
    width: 100%;
}
}
/*サイト名*/
footer h2 {
    font-size: x-large;
}
footer h2 a {
    text-decoration: none;
}
footer h2 a:link,
footer h2 a:visited {
    color: white;
}
address {
    margin-left: 50px;
    font-style: normal;
    font-size: medium;
}
.cs_copyright {
    text-align: center;
    font-size: xx-small;
}
