/* IMPORT CSS */
@import url("grid.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
/*    display:block;*/
    color: #177680;
    text-decoration-line: none;
    font-weight: 600;
}
a:hover {
    color: #60C6C2;
}
a img:hover {
	opacity: 0.8;
}
.underline {
	border-bottom: 3px solid #000;
	padding-bottom: 0.5rem;
}

/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0.5em 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;
    /*padding: 0 0.5rem;*/
}
nav li a {
    text-decoration: none;
    text-align: center;
    background-color: #177680;
    color: #fff;
    display: block;
}
nav a:hover {
    background-color: #00BFA5;
    color: #fff
}
nav a {
    padding: 1rem;
}
nav li a:hover {
    border-bottom: 1px solid #00BFA5;
}

nav li.side {
  display: none;
}
@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: 0;
}
.head img {
    top: 28px;
    width: auto;
    height: 55px;
}
.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;
}

nav li.side {
  display: block;
}

nav li a.orange {
  background: #F58567;
}
nav li a:hover.orange {
  opacity: 0.8;
}

/* スマホ時はMENUボタンを表示 */
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
  }

    /*side_menu*/
#side_menu {
  display: none;
}
#side_menu ul li {
  margin-bottom: 0;
}

}

/* スマホ時はMENUボタンを表示 */
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}

/*メイン画像
-------------------------------------*/
.mainimg img {
	width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 1.5rem 0 5rem 0;
}

/*新着情報
-------------------------------------*/
.news h2 {
 /*   border-bottom: 3px solid #aaa;
*/	padding-bottom: 0.5rem;
}
.news li {
    list-style-type: none;
	border-bottom: 1px solid #ccc;
	padding: 0.5rem 0;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #f7f7f7;
    padding: 5rem 0;
}
footer h6 {
    border-bottom: 2px solid #00BFA5;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #fff;
}
.copyright a {
    color: #000;
    text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}

#pagetop a {
    display: block;
    background: #177680;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}

#pagetop a:hover {
    background: #666;
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: #959fa5;
}
/*見出し
----------------------------------*/
h1 {
  color: #177680;
  padding: 0.5rem;
  border-top: solid 3px #177680;
  border-bottom: solid 3px #177680;
  line-height: 1.5;
}
h2 {
  border-bottom: solid 3px #60c6bc;
  position: relative;
  padding:0.3em 0;
}

h2:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #177680;
  bottom: -3px;
  width: 30%;
}
h3 {
    border-bottom: 3px solid #60c6bc;
    padding: 0.3em 0;
}

/*見出しサイド
----------------------------------*/
h1.ex {
  color: #D32F2F;/*文字色*/
  padding: 0.3em 0;/*上下の余白*/
  border-top: solid 3px #D32F2F;/*上線*/
  border-bottom: solid 3px #D32F2F;/*下線*/
}
h2.ex {
  border-bottom: solid 3px #F58567;
  position: relative;
}

h2.ex:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #D32F2F;
  bottom: -3px;
  width: 30%;
}
h3.ex {
    border-bottom: 3px solid #F58567;
    padding: 0.3em 0;
}
/*txt*/
.liner_red {
    background:linear-gradient(transparent 70%, #F58567 70%);
}

.liner_blue {
    background:linear-gradient(transparent 70%, #177680 70%);
}
.liner_gry {
    background:linear-gradient(transparent 70%, #e5e5e5 70%);
    padding-left: 0.5em;
}
/*side_menu
----------------------------------*/
#side_menu ul li {
  margin-bottom: 1.5em;
}
.side_menu_btn {
  display: block;
  position: relative;
  /*width: 250px;*/
  padding: 0.8em;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: #F58567;
  margin-bottom: -1em;
}
.side_menu_btn:hover {
   opacity:0.8;
   cursor: pointer;
   text-decoration: none;
}



/*運営者情報*/
dl.admin {
    font-size: 1.2rem;
    color: #898989;
}

dt {
    float: left;
    clear: left;
    margin-right: 0.5rem;
    /*width: 130px;*/
    font-weight: bold;
}

dd {
    float: left;
    margin-left: 0.5rem;
    width: 60%;
}


/*privacy*/
.privacy td {
    text-align: left;
    border-bottom: none;
    padding: 0.5rem;
}

.privacy th {
    border-bottom: none;
    text-align: left;
    padding: 0.5rem;
    font-weight: normal;
}

.privacy h6 {
    border-bottom: 2px solid #ccc;
    padding-bottom: 0.5rem;
    color: #898989;
    font-weight: bold;
}

/*目次装飾*/
.mokuzi ul {
    list-style: none inside;
}

.mokuzi ul li:before {
    content: "";
    width: 10px;
    height: 10px;
    display: inline-block;
    background-color: #3caea3;
    border-radius: 50%;
    margin-right: 0.5em;
    padding-top: -1px;
}

.col span-8 ul {
    list-style: none inside;
}

.col span-8 ul li:before {
    content: "";
    width: 10px;
    height: 10px;
    display: inline-block;
    background-color: #3caea3;
    border-radius: 50%;
    margin-right: 0.5em;
    padding-top: -1px;
}

ul.table-of-contents {
    border-radius: 0px;
    border: 1px solid #dcdcdc;
    padding-top: 0;
}
ul.table-of-contents {
    list-style-type: decimal;
    padding: 20px 10px 20px 40px;
        padding-top: 20px;
    border: 1px solid #e4e4e4;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size: 90%;
}
.entry-content {
    color: #444;
    font-size: 16px;
}
ul.table-of-contents {
    list-style-type: decimal;
    font-size: 90%;
}
.entry-content ul {
    margin: 16px 0;
    padding: 0 0 0 40px;
}

.table-of-contents{
    display: none;
}
.show-area{
    display: inline-block;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 0;
    color: blue;
}

/*リスト装飾*/
.table-of-contents ul {
    list-style: none inside;
}
.table-of-contents li:before {
    content: "";
    width: 10px;
    height: 10px;
    display: inline-block;
    background-color: #60c6bc;
    border-radius: 50%;
    margin-right: 0.5em;
    padding-top: -1px;
}
.col span-8 ul {
    list-style: none inside;
}

.col span-8 ul li:before {
    content: "";
    width: 10px;
    height: 10px;
    display: inline-block;
    background-color: #04B165;
    border-radius: 50%;
    margin-right: 0.5em;
    padding-top: -1px;
}

/*目次*/
.table-of-contents {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 300;
    width: 90%;
    border: solid 2px #3caea3;
    margin: 30px auto 30px;
    padding: 10px 25px 0;
}

.table-of-contents .mokuxi_2 {
    padding-left: 2rem;
}

/*#main_l ul li {
    padding-left: 1em;
    text-indent: -1em;
    list-style-position: inside;
    line-height: 1.8;
    font-weight: 600;
}*/
.table-of-contents .mokuxi_3 {
    padding-left: 3rem;
}

/*ul li {
    padding-left: 1em;
    text-indent: -1em;
    list-style-position: inside;
    line-height: 1.8;
    font-weight: 600;
}*/

/* 画像 */
p img {
  margin:0 auto;
  display: block;
}
/*通販ボタン*/
.square_btn {
  display: block;
  position: relative;
  max-width: 300px;
  padding: 0.8em;
  text-align: center;
  text-decoration: none;
  color: #D32F2F;
  background: #fff;
  border:2px solid #D32F2F;
  margin-bottom: 2em;
  font-weight: 600;
}
.square_btn:hover {
   background: #D32F2F;
         color: #fff;
   cursor: pointer;
   text-decoration: none;
}

/*文中リスト*/
.main_list li::before {
    content: "";
    width: 10px;
    height: 10px;
    display: inline-block;
    background-color: #177680;
    border-radius: 50%;
    margin-right: 0.75rem;
    padding-top: -1px;
}
.main_list {
    margin-left: 1em;
}

/*テキスト装飾*/
.txt_red {
    color:#D32F2F;
    font-weight: 600;
}
.txt_blue {
    color: #177680;
}

/*admin*/
.privacy {
    clear: both;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    display: inline-block;
    width: 100%;
}
.privacy dt:after{
  content: '：';
}

/* 内部リンク */
.page_link {
    position: relative;
    text-align: right;
    margin: 1rem;
}
.page_link:before {
    content: "\f0c1";
    font-family: Fontawesome;
    position: absolute;
    color: #177680;
    font-size: 1.5rem;
    line-height: 2.5rem;
}
.page_link a {
    margin-left: 1.75rem;
}


/* table */
.scroll {
    overflow: auto;
    white-space: nowrap;
    width:100%;
}

.scroll table {
  table-layout: fixed;
  margin:1rem auto;
}
table th,
table td {
  padding: 0.75rem 1rem;
  border:1px solid #ccc;
}
table thead th {
  background:#177680;
  color: #fff;
}
table th{
  background:#eee;
  color: #666;
  width: 15%;
  text-align: center;
}
table {
  border-collapse: separate;
  border-spacing: 0px;
  border:1px solid #ccc;
}
table td {
  text-align: center;
}
th:first-child, td:first-child {
    padding-left: 1rem;
}
td a.square_btn {
    display: block;
    position: relative;
    padding: 0.8em;
    text-align: center;
    text-decoration: none;
    color: #D32F2F;
    background: #fff;
    border: 2px solid #D32F2F;
    margin: 0.25rem;
    font-weight: 600;
    width: 80%;
}

/* 引用 */
blockquote{
position: relative;
margin: 1.5em 0 1.5em;
padding: 3rem 1.5rem;
border: 1px solid #E6E6E6;
background-color: #FAFAFA;
z-index: 1;
border-radius: 7px;
}
blockquote p{
position: relative;
z-index: 1;
}
blockquote:before{
content: "“";
font-size: 500%;
line-height: 1em;
color: #bdd8db;
position: absolute;
left: 0.5rem;
top: 0.25rem;
font-family: times;
}

blockquote:after{
content: "”";
font-size: 500%;
line-height: 0em;
color: #bdd8db;
position: absolute;
right: 0.5rem;
bottom: 0.2rem;
font-family: times;
}

.box01 {
    background: #eee;
    border-radius: 10px;
    padding: 1.75rem 1.75rem 0.25rem;
    margin: 2rem 1rem;
    border: 1px solid #E6E6E6;
}