@charset "utf-8";



/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/*lightbox.cssの読み込み
---------------------------------------------------------------------------*/
@import url(https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.10.0/css/lightbox.css);

/*slick.cssの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");

/*vegas.cssの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/vegas/2.5.4/vegas.min.css");


/*font.cssの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Hina+Mincho&display=swap');

/*animation1のキーフレーム設定（開閉ブロックのアニメーションに使用）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}


/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}
html,body {
	height: 100%;
	font-size: 16px;	/*基準となるフォントサイズ。*/
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

	html, body {
		font-size: 20px;	/*基準となるフォントサイズ。*/
	}

	}/*追加指定ここまで*/


body {
	margin: 0;padding:0;
	font-family: "Hina Mincho", serif;
	font-weight: 400;
	font-style: normal;
	-webkit-text-size-adjust: none;
	background: url("../img/common/background.jpg");	/*背景色*/
	color: #777;		/*文字色*/
	line-height: 2;		/*行間*/
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*他*/
input {font-size: 1rem;}
section + section {
	margin-top: 3rem;
}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: #777;	/*文字色*/
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
	filter: brightness(1.1);	/*少しだけ明るくする*/
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	display: flex;	/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	max-width: 1800px;	/*サイトの最大幅。これ以上広がらない。*/
	margin: 0 auto;
}


/*コンテンツ（フッター関連「以外」を囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
	padding: 1vw 3em;	/*コンテンツ内の余白*/
	background: #fff;
}

/*コンテンツ内のulとol*/
#contents ul,#contents ol {
	margin-left: 2rem;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	padding: 10px 120px 10px 3vw;	/*上下、左右へのヘッダー内の余白*/
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	border-top: 20px solid #985F2A;
	border-bottom: 5px solid #985F2A;
	background: #fff;
}

/*ロゴ*/
#logo img {display: block;}
#logo {
	max-width: 250px;	/*幅*/
}

	/*画面幅600px以下の追加指定*/
	@media screen and (max-width:600px) {

	/*ヘッダーブロック*/
	header {
		flex-direction: column;	/*子要素を縦並びにする*/
		align-items: stretch;	/*デフォルトに戻す*/
		padding-right: 80px;	/*右側へのpaddingだけ上書き*/
	}

	}/*追加指定ここまで*/


/*ヘッダー右側のブロック*/
#header-right {
	font-size: 0.8rem;	/*文字サイズ。bodyで指定したサイズの80%に。*/
}


/*メニューブロック初期設定
---------------------------------------------------------------------------*/
/*メニューをデフォルトで非表示*/
#menubar {display: none;}
#menubar ul {list-style: none;margin: 0;padding: 0;}

/*上で非表示にしたメニューを表示させる為の設定*/
.large-screen #menubar {display: block;}
.small-screen #menubar.display-block {display: block;}

/*3本バーをデフォルトで非表示*/
#menubar_hdr.display-none {display: none;}

/*ドロップダウンをデフォルトで非表示*/
.ddmenu_parent ul {display: none;}

/*ドロップダウンの親メニューのカーソル表示を変更*/
a.ddmenu {cursor: default;}

/*ddmenuを指定しているメニューに矢印アイコンをつける設定*/
a.ddmenu::before {
	font-family: "Font Awesome 6 Free";	/*Font Awesome Free版を使う指定*/
	content: "\f078";	/*使いたいアイコン名（Font Awesome）をここで指定*/
	font-weight: bold;	/*この手の設定がないとアイコンが出ない場合があります*/
	margin-right: 1em;	/*アイコンとテキストとの間に空けるスペース*/
}


/*大きな端末、小さな端末共通のメニューブロック設定
---------------------------------------------------------------------------*/
/*メニュー１個あたりの設定*/
#menubar a {
	display: block;text-decoration: none;
	padding: 0.5rem 0;	/*上下、左右へのメニュー内の余白*/
}


/*大きな端末用のメニューブロック設定
---------------------------------------------------------------------------*/
/*メニューブロック全体の設定*/
.large-screen #menubar > nav > ul {
	display: flex;	/*横並びにする*/
	justify-content: space-between;
}
.large-screen #menubar ul {
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
}

/*メニュー１個あたりの設定*/
.large-screen #menubar li {
	flex: 1;			/*個々のメニューを均等にし、幅いっぱいまで使う設定*/
	position: relative;	/*ドロップダウンの幅となる基準を作っておく*/
	text-align: center;	/*テキストをセンタリング*/
}
.large-screen #menubar li a {
	background-image: linear-gradient( #cc0000, #800040);
	color: #fff;
}

/*大きな端末、小さな端末、共通のドロップダウンメニュー設定
---------------------------------------------------------------------------*/
/*ドロップダウンブロック*/
.large-screen #menubar ul ul,
.small-screen #menubar ul ul {
	animation: opa1 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}


/*大きな端末用のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウンメニューブロック全体*/
.large-screen #menubar ul ul {
	position: absolute;z-index: 100;
	width: 100%;
}


/*小さな端末用の開閉ブロック
---------------------------------------------------------------------------*/
/*メニューブロック設定*/
.small-screen #menubar.display-block {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding-top: 90px;
	background: rgba(0,0,0,0.9);		/*背景色*/
	animation: animation1 0.2s both;	/*animation1を実行する。0.2sは0.2秒の事。*/
}

/*メニュー１個あたりの設定*/
.small-screen nav > ul > li {
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	margin: 1rem;			/*メニューの外側に空けるスペース*/
	border-radius: 5px;	/*角を丸くする指定*/
	padding: 0 2rem;		/*メニュー内の余白。上下、左右へ。*/
}

/*文字色*/
.small-screen #menubar, .small-screen #menubar a {
	color: #fff;
}

/*900px以下でのみ表示させるブロック*/
#menubar .sh {
	padding: 1rem 2rem 2rem;	/*上、左右、下へのブロック内の余白*/
}


/*3本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*3本バーを囲むブロック*/
#menubar_hdr {
	animation: opa1 0s 0.2s both;
	position: fixed;z-index: 101;
	cursor: pointer;
	right: 30px;			/*右からの配置場所指定*/
	top: 30px;				/*上からの配置場所指定*/
	padding: 16px 14px;		/*上下、左右への余白*/
	width: 46px;			/*幅（３本バーが出ている場合の幅になります）*/
	height: 46px;			/*高さ*/
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素（３本バー）部分。flexはデフォルトで横並びになるので、それを縦並びに変更。*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	background: rgba(0,0,0,0.5);	/*背景色。0,0,0は黒のことで0.5は色が50%出た状態。*/
}

/*バー１本あたりの設定*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;	/*アニメーションにかける時間。0.3秒。*/
	border-top: 1.5px solid #fff;	/*線の幅、線種、色*/
}

/*×印が出ている状態の3本バーの背景色*/
#menubar_hdr.ham {
	background: #ff0000;
}

/*×印が出ている状態の設定。※１本目および２本目のバーの共通設定。*/
#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;	/*変形の起点。センターに。*/
	width: 20px;						/*バーの幅*/
}

/*×印が出ている状態の設定。※１本目のバー。*/
#menubar_hdr.ham span:nth-of-type(1){
	transform: rotate(45deg) translate(3.8px, 5px);	/*回転45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※３本目のバー。*/
#menubar_hdr.ham span:nth-of-type(3){
	transform: rotate(-45deg) translate(3.8px, -5px);	/*回転-45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※２本目のバー。*/
#menubar_hdr.ham span:nth-of-type(2){
	display: none;	/*２本目は使わないので非表示にする*/
}

/*パーツ
---------------------------------------------------------------------------*/
/*parts_list_normal2
---------------------------------------------------------------------------*/
/*１枚目の写真*/
.parts_list_normal2.image1-parts {
	background: url("../img/index/2.jpg") no-repeat center center / cover;
}

/*２枚目の写真*/
.parts_list_normal2.image2-parts {
	background: url("../img/index/3.jpg") no-repeat center center / cover;
}

/*３枚目の写真*/
.parts_list_normal2.image3-parts {
	background: url("../img/index/4.jpg") no-repeat center center / cover;
}

/*ボックス１個あたり*/
.parts_list_normal2 {
	padding: 5vw;	/*ボックス内の余白。画面幅100%＝100vwです。*/
	position: relative;
	overflow-x: hidden;
	margin-bottom: 1vw;	/*下に空けるスペース。ボックス同士の隙間です。*/
}

/*マウスオン用のアニメーション*/
.parts_list_normal2::before {
	content: "";position: absolute;top: 0;left: 0;width: 100%;height: 100%;
	background: rgba(0,0,0,0.6);		/*写真に重ねておく半透明の黒い色。0,0,0は黒のことで0.6は色が60%出た状態。*/
	transition: transform 0.5s 0.1s;	/*アニメーションの速度（0.5秒）と待機時間（0.1秒）。*/
}
.parts_list_normal2:hover::before {
	transform: translateX(100%);	/*マウスオンで半透明の黒を枠外へ出す。-100%にすると逆に移動します。*/
}

/*テキストブロック*/
.parts_list_normal2 .text-parts {
	position: relative;z-index: 1;
	width: 80%;		/*幅*/
	height: 100%;
	color: #fff;	/*文字色*/
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3);	/*テキストの影。右へ、下へ、ぼかし幅、0,0,0は黒のことで0.3は色が30%出た状態。*/
}

	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {

	/*テキストブロック*/
	.parts_list_normal2 .text-parts {
		width: 40%;		/*幅*/
	}

	}/*追加指定ここまで*/


/*テキストの配置場所を入れ替えたい場合のスタイル。*/
.parts_list_normal2 .text-parts.reverse-parts {
	margin-left: auto;
}

/*parts_list_normal2内のh3見出し*/
.parts_list_normal2 h3 {
	margin: 0;padding: 0;
	font-weight: normal;	/*h要素のデフォルトの太字を標準に*/
	position: relative;
	font-size: 2rem;		/*文字サイズを200%*/
	letter-spacing: 0.1rem;	/*文字間隔を少しだけ広く*/
	line-height: 1.2;		/*行間を狭くする*/
}

/*parts_list_normal2内のh3見出し内の１文字目の大きな文字*/
.parts_list_normal2 h3 .large-parts {
	font-size: 3rem;	/*文字サイズを7倍*/
}

/*見出しの右上にある英語の小さな文字*/
.parts_list_normal2 h3 span:not(.large-parts) {
	font-size: 1rem;	/*文字サイズを標準に戻す*/
	opacity: 0.5;		/*透明度50%*/
	position: absolute;
	right: 0px;	/*右からの配置場所*/
	top: 0px;	/*上からの配置場所*/
}


/*ボタン
---------------------------------------------------------------------------*/
.parts_list_normal2 .btn-parts a {
	display: block;text-decoration: none;
	padding: 0.8rem 2rem;	/*上下、左右へのボタン内の余白*/
	margin-top: 2rem;		/*ボタンの上に2文字分のスペースを空ける*/
	text-align: center;		/*テキストをセンタリング*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
	box-shadow: 0px 10px 30px rgba(0,0,0,0.1);	/*ボタンの影。右へ、下へ、ぼかし幅、0,0,0は黒のことで0.1は色が10%出た状態*/
	color: #fff;	/*文字色*/
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
}

/*マウスオン時*/
.parts_list_normal2 .btn-parts a:hover {
	letter-spacing: 0.2rem;	/*文字間隔を少し広げる*/
	box-shadow: none;		/*ボタンの影を消す*/
}
.parts_list_normal2:hover .btn-parts a {
	background: rgba(0,0,0,0.8);	/*背景色。0,0,0は黒のことで0.8は色が80%出た状態。*/
}

/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}
footer {
	font-size: 0.7rem;		/*文字サイズ。bodyのfont-sizeの70%です。*/
	background: #eee;		/*背景色*/
	text-align: center;		/*内容をセンタリング*/
	padding: 20px;			/*ボックス内の余白*/
}

/*リンクテキスト*/
footer a {color: inherit;text-decoration: none;}

/*著作部分*/
footer .pr {display: block;}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5rem;	/*文字サイズ*/
	background: rgba(0,0,0,0.2);	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #ff0000 !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 100%;display: block;}
.wl {width: 100%;display: block;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: #eee;border: 1px solid #ccc; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.content-block {display: block !important;}

.page-link {
  /*display: flex;*/
  justify-content: center;
  gap: 1px;
  margin: 60px auto 0;
  padding: 10px;
}
@media screen and (max-width:740px) {
  .page-link {
    margin-bottom: 40px;
  }
}
.page-link .page_link-prev,
.page-link .page_link-next,
.page-link .page_link-archive {
  display: inline-block;
  background: #FB8014;
  color: #fff;
  text-decoration: none;
  border-radius: 2%;
}
.page-link .page_link-prev:hover,
.page-link .page_link-next:hover,
.page-link .page_link-archive:hover {
  background: #8bafc4;
  color: #fff;
}
.page-link .page_link-prev {
  padding: 8px 16px 8px 16px;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 50%);
}
.page-link .page_link-archive {
  padding: 8px;
}
.page-link .page_link-next {
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
  padding: 8px 16px 8px 8px;
  text-align: right;
}
.wp-pagenavi {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
}
.wp-pagenavi span.current,
.wp-pagenavi a.page {
  margin: 0 8px 0 0;
  border: solid 1px rgb(137, 137, 137);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  line-height: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}
.wp-pagenavi span.current {
  border: none;
  background-color: rgb(137, 137, 137);
  color: white;
  font-weight: bold;
}
.wp-pagenavi a.page:hover {
  background-color: #8bafc4;
  color: white;
  border: none;
}
.wp-pagenavi .first,
.wp-pagenavi .extend {
  margin-right: 10px;
}
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
  display: none;
}

.block {display: block !important;}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

	.ws {width: 50%;display: inline; float: left;}
	.sh {display: none;}
	.pc {display: block;}

	}/*追加指定ここまで*/

/*トップニュース
---------------------------------------------------------------------------*/
.h3-ttl{
	margin: 0px;
	padding: 0px;
}
.news ul{
	margin-bottom: 30px;
}
.news li{
	list-style: none;
	border-bottom: 1px dotted #000;
}
.news dt {
	float: left;
}
.news dd {
	padding-left: 100px;
}
/*btnの設定（「btn1-parts」と「btn2-parts」と部分的に他のもある）
---------------------------------------------------------------------------*/
/*ボタン共通*/
a.btn1-parts, a.btn2-parts {
	display: inline-block;text-decoration: none;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	border-radius: 3px;		/*角を丸くする指定*/
	padding: 0.3rem 2rem;	/*上下、左右へのボタン内の余白*/
	box-shadow: 1px 2px 3px rgba(0,0,0,0.2);	/*ボックスの影。右へ、下へ、ぼかし幅。0,0,0は黒の事で0.2は色が20%出た状態。*/
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
}

/*iタグ共通（アイコンの事）*/
a.btn1-parts i, a.btn2-parts i, a.btn3-parts i, a.btn4-parts i {
	padding-left: 1em;	/*アイコンとテキストの間の余白*/
}

/*btn1-partsの追加指定*/
a.btn1-parts {
	background: #fff;		/*背景色*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
}

/*btn1-parts内のiタグ（アイコンの事）*/
a.btn1-parts i {
	color: #999;	/*アイコンの色*/
}

/*btn2-partsの追加指定*/
a.btn2-parts {
	background: #999;	/*背景色*/
	color: #fff;		/*文字色*/
}

/*マウスオン時*/
a:hover.btn1-parts, a:hover.btn2-parts {
	transform: scale(1.03);		/*103%に拡大する*/
	filter: brightness(1.1);	/*少しだけ明るくする*/
}


/*btn3-parts
---------------------------------------------------------------------------*/
a.btn3-parts {
	text-decoration: none;display: inline-block;
	background: linear-gradient(#ff9727, #ff7827);/*背景グラデーション*/
	color: #fff;	/*文字色*/
	padding: 1rem 2rem;	/*ボタン内の余白。上下、左右へ。*/
	font-size: 1.3rem;	/*文字サイズを130%*/
	border-radius: 5px;	/*角を少しだけ丸くする*/
	box-shadow: 3px 3px 8px rgba(194,79,10,0.3);	/*ボタンの影。右へ、下へ、ぼかす量、194,79,10は暗いオレンジ系のrgb値で0.3は色が30%出た状態*/
}

/*マウスオン時に少しずらす*/
a.btn3-parts:hover,a.btn4-parts:hover {
	box-shadow: none;	/*ボックスの影を消す*/
	position: relative;
	left: 1px;
	top: 1px;
}


/*btn4-parts
---------------------------------------------------------------------------*/
a.btn4-parts {
	text-decoration: none;display: inline-block;
	background: linear-gradient(#ff2f74, #ec0652);/*背景グラデーション*/
	color: #fff;		/*文字色*/
	padding: 1rem 2rem;	/*ボタン内の余白。上下、左右へ。*/
	font-size: 1.3rem;	/*文字サイズを130%*/
	border-radius: 5px;	/*角を少しだけ丸くする*/
	box-shadow: 3px 3px 8px rgba(192,5,66,0.3);	/*ボタンの影。右へ、下へ、ぼかす量、192,5,66はグリーン系のrgb値で0.3は色が30%出た状態*/
	position: relative;
}

/*ボタンの上半分の光沢部分*/
a.btn4-parts::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 4px;
	width: calc(100% - 8px);
	height: 35px;	/*高さ*/
	background: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.1));/*背景グラデーション*/
}


/*btn5-parts
---------------------------------------------------------------------------*/
a.btn5-parts {
	text-decoration: none;display: inline-block;
	background: linear-gradient(#66c005, #4f9604);/*背景グラデーション*/
	color: #fff;		/*文字色*/
	padding: 1rem 3rem;	/*ボタン内の余白。上下、左右へ。*/
	font-size: 1.3rem;	/*文字サイズを130%*/
	border-radius: 5px;	/*角を少しだけ丸くする*/
}
.btn5-container-parts {
	position: relative;
}

/*マウスオン時に少しだけ大きく*/
a.btn5-parts:hover {
	transform: scale(1.02);
}

/*ふきだし*/
.btn5-container-parts .fukidasi-parts {
	background: #fff;	/*背景色*/
	border: 2px solid #4f9604;	/*枠線の幅、線種、色*/
	padding: 0.2rem 2rem;	/*ふきだし内の余白。上下、左右へ。*/
	border-radius: 100px;	/*角を丸くする指定。大きめであれば適当でOK。*/
	position: absolute;
	top: -30px;	/*ふきだしの位置の設定*/
    left: 50%;
    transform: translateX(-50%);
	box-shadow: 0px 3px 10px rgba(0,0,0,0.2);	/*ふきだしの影。右へ、下へ、ぼかす量、0,0,0は黒色のことで0.2は色が20%出た状態*/
}

/*ふきだしの下の三角形の設定*/
.btn5-container-parts .fukidasi-parts::before {
    content: "";
    position: absolute;
    bottom: -8px;	/*配置場所*/
    left: 50%;
    transform: translateX(-50%) rotate(315deg);
    width: 10px;	/*三角形の幅*/
    height: 10px;	/*三角形の高さ*/
    background: #fff;	/*三角形の色*/
    border-left: 2px solid #4f9604;		/*枠線の幅、線種、色*/
    border-bottom: 2px solid #4f9604;	/*枠線の幅、線種、色*/
}

.btn5-parts.border-radius-parts {
	border-radius: 100px;
}


/*アニメーションボタン。（枠線をぐるっとなぞるアニメーション）
---------------------------------------------------------------------------*/
@keyframes w {0% {width: 0px;} 100% {width: 100%;}}
@keyframes h {0% {height: 0px;} 100% {height: 100%;}}

/*ボタンの一番の外側のボックス*/
.animation-btn-parts {
	position: relative;		/*枠線をアニメーションさせる為に必要な指定*/
	display: inline-block;
	box-shadow: 0px 0px 0px 1px #ccc inset;	/*デフォルトで見えている枠線の設定*/
}

/*上のanimation-btnの内側にあるボックス*/
.animation-btn-inner-parts {
	display: block;text-decoration: none;
	padding: 0.5em 3em;		/*ボタン内の余白。上下、左右へ。emは文字の単位。1emが1文字分という事です。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	text-indent: 0.1em;		/*letter-spacingを設定するとその分全体のテキスト位置がずれるので、戻す設定。同じ数字にしておけばOKです。*/
}

/*ボタン内でiタグを使う場合の設定*/
.animation-btn-inner-parts i {
	display: inline-block;
	transition: 0.3s;		/*アニメーションにかける時間。0.3秒。*/
	padding-left: 1em;		/*テキストと、iタグの間の余白*/
}
.animation-btn-inner-parts:hover i {
	transform: translateX(5px);	/*マウスオン時にiタグを5pxだけ右に移動する*/
}

/*枠線共通*/
.animation-btn-parts::before,
.animation-btn-parts::after,
.animation-btn-inner-parts::before,
.animation-btn-inner-parts::after {
	content: "";
	position: absolute;
	background-color: #666;		/*background(背景)スタイルですが、hover時の枠線の色になります。*/
	animation-duration: 0.2s;	/*アニメーションにかける時間。１辺あたり0.2秒。*/
	animation-fill-mode: forwards;	/*アニメーション完了時に最後のフレームを維持。この１行を外してみると別の動作になって面白い動きになります。*/
	animation-timing-function: linear;	/*アニメーションの速度のタイプ。同じ速度にする。*/
}

/*ラインアニメーション１（左上→右上）*/
.animation-btn-parts:hover::before {
	left: 0px;				/*開始地点の指示*/
	top: 0px;				/*開始地点の指示*/
	height: 1px;			/*線の幅の代わりになります*/
	animation-name: w;		/*上の「@keyframes」で使うアニメーション名の指定。*/
}

/*ラインアニメーション２（右上→右下）*/
.animation-btn-parts:hover::after {
	right: 0px;				/*開始地点の指示*/
	top: 0px;				/*開始地点の指示*/
	width: 1px;				/*線の幅の代わりになります*/
	animation-name: h;		/*上の「@keyframes」で使うアニメーション名の指定。*/
	animation-delay: 0.2s;	/*アニメーションを0.2秒遅れてスタートさせる。*/
}

/*ラインアニメーション３（右下→左下）*/
.animation-btn-inner-parts:hover::before {
	right: 0px;				/*開始地点の指示*/
	bottom: 0px;			/*開始地点の指示*/
	height: 1px;			/*線の幅の代わりになります*/
	animation-name: w;		/*上の「@keyframes」で使うアニメーション名の指定。*/
	animation-delay: 0.4s;	/*アニメーションを0.4秒遅れてスタートさせる。*/
}

/*ラインアニメーション４（左下→左上）*/
.animation-btn-inner-parts:hover::after {
	left: 0px;				/*開始地点の指示*/
	bottom: 0px;			/*開始地点の指示*/
	width: 1px;				/*線の幅の代わりになります*/
	animation-name: h;		/*上の「@keyframes」で使うアニメーション名の指定。*/
	animation-delay: 0.6s;	/*アニメーションを0.6秒遅れてスタートさせる。*/
}
