@charset "utf-8";
/*-------------------------------------------*/
/*	buttonノーマライズ(ノーマライズcss)
ブラウザによってボタンスタイルは違ってくる。
アコーディオンでは文章に使用するため、かなり違いがみられるため
搭載。その他汎用性を持たせる場合は、全体にきかせる必要がある。
/*-------------------------------------------*/
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: initial; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
/*-------------------------------------------*/
/*	アコーディオン初期設定
/*-------------------------------------------*/
.ac-content {
margin-bottom: 18px;
}
.ac-content:last-of-type {
margin-bottom: 0px;
}

.ac-button,
.ac-body {
position: relative;
font-size: 18px;
display: flex;
border-radius: 10px;
transition: all .3s;
}
.ac-button {
cursor: pointer;
padding: 28px 85px 28px 35px;
background-color: var(--color-main-text);
}
.ac-body {
height: 0;
line-height: 0;
opacity: 0;
margin: 0;
padding: 0 35px;
transition: line-height 0.3s, padding 0.3s, opacity 0.3s;
}
.ac-button button,
.ac-body-text {
width: calc(100% - 4em);
overflow: hidden;
}
.ac-button button {
font-weight: 700;
cursor: pointer;
color: var(--color-wh);
font-size: 18px;
display: block;
border: none;
background-color: transparent;
text-align: left;
outline: none;/*buttonの青いラインを消す*/
}
.ac-button:before,
.ac-button:after {
content: '';
display: block;
position: absolute;
top: 50%;
right: 50px;
margin-left: auto;
margin-right: auto;
margin-top: -1px;
height: 3px;
width: 15px;
background: var(--color-wh);
transition: all .3s;
border-radius: 1px;
}
.ac-button.is-open:after {
transform: rotate(90deg);
}
.ac-button figure,
.ac-body figure {
font-size: 1.685rem;
font-weight: bold;
width: 50px;
height: 50px;
border-radius: 50%;
line-height: 43px;
text-align: center;
margin-right: 10px;
margin-bottom: 0px;
position: relative;
}
.ac-button figure {
color: var(--color-main-text);
background-color: var(--color-yellow);
}
.ac-body figure {
color: var(--color-yellow);
background-color: var(--color-main-text);
}
.ac-body.is-open {
line-height: initial;
opacity: 1;
padding: 20px 35px;
margin: 10px auto 0;
height: auto;
}

/*-------------------------------------------*/
/* mediaqueries
/*-------------------------------------------*/

/*-------------------------------------------*/
/* max-width: 660px
/*-------------------------------------------*/
@media screen and (max-width: 660px) {
.ac-button,
.ac-button button,
.ac-body,
.ac-body .ac-body-text,
.ac-body .ac-body-text p {
font-size: 16px !important;/*何かしらの影響をうけるため、import処理*/
}
.ac-button {
padding: 20px 45px 20px 20px;
}
.ac-body {
padding: 0 20px;
}
.ac-body.is-open {
padding: 10px 20px;
}
.ac-button:before,
.ac-button:after {
right: 20px;
}
.ac-button figure,
.ac-body figure {
font-size: 1.125rem;
width: 38px;
height: 38px;
line-height: 35px;
}
.ac-button button,
.ac-body-text {
width: calc(100% - 40px);
}
}