﻿@charset "utf-8";

/*----- ボタンアクション -----*/

button.act {
    appearance: none;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
}
a.btn {
  margin:0;
  padding:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
  text-decoration: none;
}
.type1 {
	position: relative;
	display: inline-block;
	padding: 0.3em 2em 0.3em 1em;
/*	width: 175px;*/
/*  font-size: 14px;*/
	color: #fff;
	text-align: center;
	line-height: 1;
	background: #5bbee5;
	background: linear-gradient(to right, #5bbee5, #52ddae);
	text-indent: 0.1em;
	letter-spacing: 0.1em;
	border-radius: 1.5em;
}
.type1:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1.5em;
  margin: auto;
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-right: 1px solid #fff;
  border-top: 1px solid #fff;
  transform: rotate(45deg);
  transition: right 0.5s;
}
.type1:hover:after{
  right: 1em;
}


/*----- アコーディオン開閉 -----*/

summary::-webkit-details-marker {
  display: none;/* Safariで表示されるデフォルトの三角形アイコンを消します */
}
summary, 
div.details-end {
    width: 100%;
    position: relative;
    cursor: pointer;
    list-style: none;
	display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
/* ホバー時のスタイル */
summary:hover, 
.details-end:hover {
	cursor: pointer; /* カーソルを指マークに */
	background-color: #D4DFFF;
	height: 150%;
}
/* アイコンのスタイル */
.icon {
	display: inline-block;
	position: absolute;
    bottom: 5px;
	right: 6px;
	width: 14px;
	height: 13px;
	transform-origin: 7px 6.5px;
	transition: transform 0.4s;
}

/* 閉じた状態のスタイル */
summary::after, 
div.details-end::after {
  content: "開く";
  margin: auto;
  position: absolute;
  right: 24px; /*アイコンの幅分左に配置*/
  color: #2A5FFF;
}
/* ▼アイコン用デザイン */
.icon::before {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 13px 7px 0px;
	border-color: #2A5FFF transparent transparent;
	transition: transform 0.4s;
}
/* Ｖアイコン用デザイン
.icon::before,
.icon::after {
  content: "";
  position: absolute;
  display: block;
  width: 12px;
  height: 2px;
  background-color: #2A5FFF;
}
.icon::before {
  left: 0;
  transform: rotate(45deg);
}
.icon::after {
  right: 0;
  transform: rotate(-45deg);
} */

/* 開いた状態のスタイル */
details[open] summary::after, 
details[open] div.details-end::after {
  content: "閉じる"; /*開いた状態のテキスト*/
}
/* ▼アイコン用 */
details[open] .icon {
	position: absolute;
	transform: scaleY(-1);
}
/* Ｖアイコン用
details[open] .icon {
    transform: rotate(540deg);
	position: absolute;
	top: 53%;
} */




