@charset "UTF-8";
@import url("grid.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: #333333;
    text-decoration-line: none;
}
a:hover { 
    color: #333399;
}
a img:hover {
	opacity: 0.8;
}
.underline {
	border-bottom: 3px solid #000;
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}

/*ボタン
-------------------------------------*/

a.link_btn {
	display: block;
	width: 500px;
	font-size:16px;
	padding: 0.4em;
	text-align: center;
	text-decoration: none;
	color: #ED7D31;
	border: 2px solid #ED7D31;
	border-radius: 3px;
	transition: .4s;
}
a.link_btn:hover {
	background: #ED7D31;
	color: #fff;
}

a.link_btn2 {
	display: block;
	width: 500px;
	font-size:16px;
	padding: 0.4em;
	text-align: center;
	text-decoration: none;
	color: #70AD47;
	border: 2px solid #70AD47;
	border-radius: 3px;
	transition: .4s;
}
a.link_btn2:hover {
	background: #70AD47;
	color: #fff;
}

/*閉鎖ボタン
-------------------------------------*/

a.link_btn_btnheisa {
	display: block;
	width: 500px;
	font-size:16px;
	padding: 0.4em;
	text-align: center;
	text-decoration: none;
	color: #CCCCCC;
	border: 2px solid #CCCCCC;
	border-radius: 3px;
	transition: .4s;
}
a.link_btn_btnheisa:hover {
	background: #FFFFFF;
	color: #CCCCCC;
}

a.link_btn2_btnheisa {
	display: block;
	width: 500px;
	font-size:16px;
	padding: 0.4em;
	text-align: center;
	text-decoration: none;
	color: #CCCCCC;
	border: 2px solid #CCCCCC;
	border-radius: 3px;
	transition: .4s;
}
a.link_btn2_btnheisa:hover {
	background: #FFFFFF;
	color: #CCCCCC;
}

/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}

.head h1 { 
    padding: 1rem 0;
	font-weight: 700;
	letter-spacing: 3px;
}
.snsbox {
	margin-left: auto;
	font-size: 3.0rem;
	padding: 1rem 0 0 0;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
	margin-bottom: 0.5rem;
	font-weight: 600;
}
nav li {
    display: block;
    flex: 0 0 22%;
}
nav li a {
    text-decoration: none;
    text-align: center;
}
nav a:hover {
    text-decoration: underline;
}
nav a {
    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;
}
a.link_btn {
    width: auto; margin: 0 50px;
}
a.link_btn2 {
    width: auto; margin: 0 50px;
}
a.link_btn_btnheisa {
    width: auto; margin: 0 50px;
}
a.link_btn2_btnheisa {
    width: auto; margin: 0 50px;
}
}

/*メイン画像
-------------------------------------*/
.mainimg img {
	width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 5rem 0;
}

/*キャッチタイトル
-------------------------------------*/
h2.catch {
	text-align: center;
	color: #666;
	font-size: 4.0rem;
	margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #fff;
    padding: 3rem 0;
}
footer h5 {
    border-bottom: 1px solid #ccc;
}

/*コピーライト
-------------------------------------*/
.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: #666;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #999;
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: #959fa5;
}


h2 {
	font-size: 22px;
	position: relative;/*アイコン分のスペース*/
	line-height: 2;/*行高*/
	color: #5C6AB5;/*文字色*/
	border-top: dotted 1px gray;
	border-bottom: dotted 1px gray;
	background: #fffff4;
	margin-left: 30px;
	padding-top: 0.5em;
	padding-right: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 3.1em;
	margin-top: 0px;
	margin-right: 30px;
	margin-bottom: 20px;
	font-weight: bold;
}

h2:before {
  font-family: "Font Awesome 5 Free";/*忘れずに*/
  content: "\f044";/*アイコンのユニコード*/
  display: inline-block;
  line-height: 30px;
  position: absolute;
  padding: 0em;
  color: white;
  background: #5C6AB5;
  font-weight: normal;
  width: 30px;
  text-align: center;
  height: 30px;
  line-height: 30px;
  left: 1.35em;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border-radius: 50%;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.29);
}

h2 span {
	position: relative;
	font-size: 12px;
}

h2 span:before {
	position: absolute;
	top: 50%;
	left: -20px;
	z-index: 1;
	content: '';
	display: block;
	width: 1em;
	margin-top: -1px;
	border-top: 1px solid #333;
}

h2 span:after {
	position: absolute;
	top: 50%;
	right: -20px;
	z-index: 1;
	content: '';
	display: block;
	width: 1em;
	margin-top: -1px;
	border-top: 1px solid #333;
}

h3 {
	font-size: 22px;
	position: relative;/*アイコン分のスペース*/
	line-height: 2;/*行高*/
	color: #5C6AB5;/*文字色*/
	border-top: dotted 1px gray;
	border-bottom: dotted 1px gray;
	background: #fffff4;
	margin-left: 30px;
	padding-top: 0.5em;
	padding-right: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 0.5em;
	margin-top: 0px;
	margin-right: 30px;
	margin-bottom: 20px;
	font-weight: bold;
	text-align: center;
}

h4 {
	font-size: 16px;
	position: relative;/*アイコン分のスペース*/
	line-height: 150%;/*行高*/
	color: #333333;/*文字色*/
	border-bottom: dotted 1px gray;
	margin-left: 60px;
	padding-top: 1em;
	padding-right: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 0.5em;
	margin-top: 5px;
	margin-right: 60px;
	margin-bottom: 5px;
	font-weight: bold;
}

h5 {
	font-size: 19px;
	position: relative;/*アイコン分のスペース*/
	line-height: 150%;/*行高*/
	color: #5C6AB5;/*文字色*/
	border-bottom: dotted 1px gray;
	margin-left: 30px;
	padding-top: 1em;
	padding-right: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 1.5em;
	margin-top: 5px;
	margin-right: 30px;
	margin-bottom: 5px;
	font-weight: bold;
}

p.indentfront{
  padding-left: 4em;
  padding-right: 4em;
}

p.indentback{
  text-indent: -1em;
  padding-left: 5em;
  padding-right: 4em;
}

p.indentback a{
  color: #FF0000;
  display: initial;
}

p.indentback a:hover {
  color: #FF0000;
}
.red { 
	color: #ff0000; 
	font-size: 16px;
}

.blue { 
	color: #2778CA; 
	font-size: 16px;
}

.underline_black{
border-bottom: 1px solid #000000;
}

h6 {
	font-family: "HG正楷書体-PRO";
	font-size: 33px;
	position: relative;/*アイコン分のスペース*/
	line-height: 2;/*行高*/
	color: #333333;/*文字色*/
	border-top: dotted 1px gray;
	border-bottom: dotted 1px gray;
	background: #fffff4;
	margin-left: 30px;
	padding-top: 0.5em;
	padding-right: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 0.5em;
	margin-top: 0px;
	margin-right: 30px;
	margin-bottom: 20px;
	font-weight: bold;
	text-align: center;
}

table.result {
margin: 0 auto;
width: 90%;
border: none;
border-collapse: separate;
}

table.result td {
color: #333333;
vertical-align: middle;
margin: 0;
padding: 5px;
text-align: left;
font-size: 16px;
line-height: 2.0;/*行高*/
font-weight: bold;
border-top: 0px solid #fff;
border-right: 0px solid #fff;
border-bottom: dotted 1px gray;
border-left: 0px solid #fff;
background: #ffffff;
}
.LinkInline {
  display:inline;
}

p.indent-1 {
	padding-left:1em;
	text-indent:-1em;
}

@media all and (max-width: 767px) {
table.result td {
display: block;
width: 100%;
border-bottom: dotted 1px gray;
}

