@charset "utf-8";

/*
* CONTENTS
******************************************************/
.faq__content {
	padding: 40px 20px;
	max-width: 540px;
	margin: auto;
}
@media print, screen and (min-width: 1140px) {
	.faq__content {
		max-width:100%;
		padding: 110px 0;
	}
	.faq__content-inner {
		max-width:var(--content-size);
		margin: auto;
	}
}

/*
* BUTTON LINKS
******************************************************/
.faq__button-links {
	margin: 0 0 40px 0;
}
.faq__button-link {
	position: relative;
	width: 300px;
    margin: auto;
	padding: 0 0 24px 0;
}
.faq__button-link a {
	display: block;
	width: 100%;
    padding: 6px .55em;
    font-size: var(--font-size-ms);
    font-weight: var(--font-bold);
    border-radius: 36px;
    background: var(--color-default);
    color: var(--color-text-gray);
    border: 1px solid var(--color-text-gray);
	transition: var(--transition-base);
}
.faq__button-link a:hover {
	background: var(--color-secondary);
	color: var(--color-default);
	border: 1px solid var(--color-secondary);
}
.faq__button-link::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    border-top: 12px solid var(--color-text-gray);
    border-bottom: 0;
    position: absolute;
    right: 12px;
    top: 16px;
}
.faq__button-link:hover::after {
	border-top: 12px solid var(--color-default);
}
.text-s {
	font-size: var(--font-size-df);
}
@media print, screen and (min-width: 1140px) {
	.faq__button-links {
        margin: 0 auto 70px;
	}
	.faq__button-link {
		position: relative;
		width: 100%;
		padding: 0;
	}
	.faq__button-links ul {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 36px;
	}
	.faq__button-link a {
		padding: 12px 2em;
		font-size: var(--font-size-lm);
		font-weight: var(--font-bold);
		border-radius: 50px;
	}
	.faq__button-link::after {
		border-right: 14px solid transparent;
		border-left: 14px solid transparent;
		border-top: 24px solid var(--color-text-gray);
		right: 24px;
		top: 20px;
	}
	.faq__button-link:hover::after {
		border-top: 24px solid var(--color-default);
	}
	.text-s {
		font-size: var(--font-size-lm);
	}
}

/*
* FAQ HEADING
******************************************************/
.faq__heading {
	font-size: var(--font-size-md);
	font-weight: var(--font-bold);
	color: var(--color-secondary);
	padding: 0 0 0 50px;
	border-bottom: 2px solid var(--color-secondary);
}
.faq__heading::before {
	position: absolute;
	content: "";
	display: inline-block;
	background-size: contain;
}
.faq__heading01::before {
	background-image: url(../images/faq/ico-faq01.png);
	width: 32px;
	height: 19px;
	top: 2px;
}
.faq__heading02::before {
	background-image: url(../images/faq/ico-faq02.png);
    width: 27px;
    height: 27px;
    top: -4px;
    left: 11px;
}
.faq__heading03::before {
	background-image: url(../images/faq/ico-faq03.png);
	width: 27px;
	height: 27px;
	top: -4px;
}
.faq__heading04::before {
	background-image: url(../images/faq/ico-faq04.png);
    width: 14px;
    height: 24px;
    top: -2px;
    left: 14px;
}
.faq__heading05::before {
	background-image: url(../images/faq/ico-faq05.png);
	width: 20px;
	height: 24px;
	top: -3px;
	left: 13px;
}
@media print, screen and (min-width: 1140px) {
	.faq__heading {
		font-size: var(--font-size-lm);
        padding: 0 0 0 80px;
	}
	.faq__heading01::before {
		background-image: url(../images/faq/ico-faq01.png);
		width: 49px;
		height: 29px;
	}
	.faq__heading02::before {
		background-image: url(../images/faq/ico-faq02.png);
		width: 34px;
        height: 34px;
        left: 15px;
        top: -2px;
	}
	.faq__heading03::before {
		background-image: url(../images/faq/ico-faq03.png);
		width: 37px;
		height: 37px;
		top: -7px;
	}
	.faq__heading04::before {
		background-image: url(../images/faq/ico-faq04.png);
        width: 19px;
        height: 32px;
        top: 2px;
        left: 22px;
	}
	.faq__heading05::before {
		background-image: url(../images/faq/ico-faq05.png);
		width: 24px;
		height: 28px;
		top: 0;
		left: 18px;
	}
}

/*
* FAQ LIST
******************************************************/
.faq__lists li {
	margin: 0 0 30px 0;
}
.faq__summary p {
	line-height: 1.5;
	font-size: var(--font-size-df);
	font-weight: var(--font-bold);
}
.faq__answer--text a {
    text-decoration: underline;
    color: var(--color-secondary);
}
.faq__answer img {
	text-align: center;
	display: block;
	margin: auto;
	padding: 0 0 40px 0;
}
.faq__answer--text {
	color: var(--color-text-gray);
    font-size: var(--font-size-df);
	font-weight: var(--font-bold);
    padding: 30px 16px;
}
@media print, screen and (min-width: 1140px) {
	.faq__lists li {
		margin: 0 0 60px 0;
	}
	.faq__summary p {
        font-size: var(--font-size-ml);
	}
	.faq__answer--text {
		font-size: var(--font-size-ml);
		padding: 60px 30px;
	}
}

/* default2個目以降 */
details:not(:first-child) {
	margin: 16px 0 0 0;
}

/* defaultの▼アイコンを消す */
summary {
	display: block;
}
summary::-webkit-details-marker {
	display: none;
}
  
/* ACCORDION */
.faq__summary {
	cursor: pointer;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 12px;
	border: 1px solid var(--color-text-lightgray);
	color: var(--color-text-gray);
	border-radius: 5px;
}
.faq__answer {
	background: var(--color-bg-light-gray);
	padding: 0;
	margin: 0;
	color: var(--color-text-gray);
	border-radius: 8px;
}
@media print, screen and (min-width: 1140px) {
	.faq__summary {
		padding: 16px;
	}
}
  
/* ACCORDION OPEN ANIMATION */
details[open] .faq__answer {
	animation: fadeIn 0.85s ease;
}
@keyframes fadeIn {
	0% {
	  opacity: 0;
	  transform: translateY(-12px);
	}
	100% {
	  opacity: 1;
	  transform: none;
	}
}

/* TOGGLE BUTTON */
.arrow-round {
	position: relative;
	display: inline-block;
	padding: 12px;
    background: var(--color-secondary);
	border-radius: 50%;
	top: 0;
}
.toggle_button {
	display: block;
	position: relative;
	width: 20px;
	margin-left: 8px;
	flex-shrink: 0;
	transform-origin: center 45%;
	transition: transform 0.75s;
}
.arrow-round.toggle_button::before,
.arrow-round.toggle_button::after {
	content: "";
	position: absolute;
	display: block;
	width: 12px;
	height: 2px;
	background-color: var(--color-default);
}
.arrow-round.toggle_button::before {
	left: 2px;
	transform: rotate(45deg);
}
.arrow-round.toggle_button::after {
	right: 2px;
	transform: rotate(-45deg);
}
/* TOGGLE OPEN CLOSE */
details[open] .arrow-round.toggle_button {
	transform: rotate(180deg);
}

/*
* BUTTON
******************************************************/
.faq__content--button--wrapper {
	text-align: center;
}
.faq__content--button--text {
    color: var(--color-secondary);
    margin: 0 0 20px 0;
    font-size: var(--font-size-md);
    font-weight: var(--font-bold);
}
.faq__content--button {
	width: 174px;
	height: 36px;
	line-height: 36px;
	margin:auto;
}
.faq__content--button a {
	font-size: var(--font-size-df);
	font-weight:var(--font-bold);
	background: var(--color-secondary);
	color: var(--color-default);
	display: block;
	border: 1px solid transparent;
	border-radius: 30px;
}
@media print, screen and (min-width: 1140px) {
	.faq__content--button--wrapper {
        margin: 70px 0 0 0;
	}
	.faq__content--button--text {
        margin: 0 0 24px 0;
        font-size: var(--font-size-lm);
	}
	.faq__content--button {
		width: 271px;
		height: 60px;
		line-height: 60px;
		margin:auto;
	}
	.faq__content--button a {
		font-size: var(--font-size-ls);
		font-weight:var(--font-bold);
		background: var(--color-secondary);
		color: var(--color-default);
		display: block;
		border: 1px solid transparent;
		border-radius: 30px;
	}
}