@import url(https://use.fontawesome.com/releases/v5.3.1/css/all.css);

/* 黒背景 */

/* 最初からオープン */
.demo-open {

}

/* クリックでオープン */
.demo-close {

}

.demo-open a,
.demo-close a {
    display: block;
}

/* クリックでオープンのため、最初は見えないように */
.demo-close .child01 {
    display: none;
}


/* ボタン部分、共通 */

.menu2 {
	width: min(350px, 100%);
	display: inline-block;
	text-align: center;
	color: var(--main-color);
	border: 1px solid var(--main-color);
	text-decoration: none;
	padding: 10px 20px;
	transition: .3s;
	position:relative;
	margin-top: 10px;
}

@media(max-width:1000px) {
	
.menu2 {
	width: 100%;
	display: block;
}
	
}

.menu2 span {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 1.2rem;
	padding-left: 30px;
}

a.menu2 {
	text-decoration: none;
	cursor: pointer;
	padding: 10px 10px;
}

/* ボタンに触ってるとき */
a.menu2:hover {
	background-color: var(--main-color);
	color: #fffb71;
	transition: .3s;
}

/* ボタンを押しているとき */
.demo-open.s-witch .menu2.active {
	color: var(--main-color);
}

.demo-close.s-witch .menu2.active {
	color: var(--main-color);
}

/* 矢印の設定、オープン、非オープンで反転する */

.demo-open.s-witch .menu2:after {
  font-family: "Font Awesome 5 Free";
  display: block;
  content: "\f077";
  font-weight: bold;
  font-size: 2.5rem;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  -webkit- transform: translateY(-50%);
  transition: .7s;
}

.demo-close.s-witch .menu2:after {
  font-family: "Font Awesome 5 Free";
  display: block;
  content: "\f078";
  font-weight: bold;
  font-size: 2.3rem;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  -webkit- transform: translateY(-50%);
  transition: .7s;
}

.demo-open.s-witch .menu2.active:after {
  content: "\f078";

}

.demo-close.s-witch .menu2.active:after {
  content: "\f077";
}

/* 矢印の色設定 */

/* デフォルト */
.demo-open.s-witch .menu2.link:after,
.demo-close.s-witch .menu2.link:after {
	color: var(--main-color);
}
/* クリック/訪問済み */
.demo-open.s-witch .menu2.visited:after,
.demo-close.s-witch .menu2.visited:after {
	color: var(--main-color);
}

/* マウスを置いた */
.demo-open.s-witch .menu2.hover:after,
.demo-close.s-witch .menu2.hover:after {
	color: #fffb71;
}
/* ボタンを押しているとき */
.demo-open.s-witch .menu2.active:after,
.demo-close.s-witch .menu2.active:after {
	color: var(--main-color);
}


/* 開いた中身の設定ここから */

.child01 {
	margin-top: 20px;
 }

.child01 p {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 1.6rem;
	font-weight: normal;
	margin-bottom: 20px;
 }

.ph-t1 {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 2.2rem;
	font-weight: normal;
	color: var(--main-color);
	margin-bottom: 8px;
	line-height: 1.5;
}

.ph-t2 {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 1.8rem;
	font-weight: normal;
	color: var(--main-color);
	margin-bottom: 8px;
	line-height: 1.5;
}

@media(max-width:1200px) {
	
.ph-t1 {
	font-size: 1.8rem;
	margin-bottom: 8px;
}

.ph-t2 {
	font-size: 1.6rem;
	margin-bottom: 8px;
}
	
.child01 p {
	font-size: 1.5rem;
	margin-bottom: 20px;
 }
	
}

@media(max-width:820px) {
	
.ph-t1 {
	font-size: 1.6rem;
	margin-bottom: 5px;
}

.ph-t2 {
	font-size: 1.5rem;
	margin-bottom: 5px;
}
	
.child01 p {
	font-size: 1.4rem;
	margin-bottom: 20px;
 }
	
}
