 :root {
     --primary-color: #e94e00;
     --nankai-line: #0077ce;
     --accent-color: #ffb700;
     --txt-color--default: #333;
     --bg-color--page-to-top: #c5c5c5;
     --bg-color--page-to-top-hover: #707070;
     --scrollbar-width: 15px;
     --contents-width: 1080px;
     --font-family: "Noto Sans JP", sans-serif;
}


.banner {
    padding: 40px 0;
    background: linear-gradient(to right, #fff1cc, #fbdbcc);
}

.center-wrapper {
    max-width: var(--contents-width);
    margin: 0 auto;
}

.title {
    text-align: center;
}

.title h1 {
    font-size: 40px;
}


.main {
    margin-top: 8em;
}
.color-primary{
    color: var(--primary-color);
}

/* faqs  */
.scroll_up{
    position: fixed;
    right: -100px;
    bottom: 30px;
    z-index: 98;
    width: 60px;
    height: 60px;
    border: none;
    color: #fff;
    border-radius: 50%;
    background: var(--bg-color--page-to-top);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -ms-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.scroll_up:hover{
    background-color: var( --bg-color--page-to-top-hover);
}

.arrow-up{
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 35px;
    font-weight: 600;
}
.faq_content, .terms_content{
    margin-top: 6.4em;
}
.tabs_list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
}

.tabs_list a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc((100% - (24px * (4 - 1))) / 4);
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, .2);
    transition: all .2s ease-in;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.tabs_list a span {
    margin-left: auto;
    text-align: center;
}



.tabs_list a:hover,
.tabs_list a.active {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    color: #fff;
    background-color: var(--primary-color);
}

.tabs_list a:hover .play-btn,
.tabs_list a.active .play-btn {
    background: #fff; 
}
.tabs_list a:hover .play-btn::before,
.tabs_list a.active .play-btn::before {
    border-left-color: var(--primary-color); 
}

.tab_content {
    display: none;
    margin-top: 80px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.tab_content.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.tab_header {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
}

.tab_header span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    padding-bottom: 12px;
    text-align: center;
}

.tab_header::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    display: block;
    width: 96px;
    height: 4px;
    margin-right: 0;
    background: repeating-linear-gradient(90deg, var(--primary-color) 0 16px, var(--accent-color) 0 32px);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.accordion_item {
    margin-top: 44px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .16);
}

.accordion_title {
    position: relative;
    padding: 20px;
    background-color: #fff8e5;
    cursor: pointer;
    scroll-margin-top:100px
}

.accordion_title::before,
.accordion_title::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    display: block;
    width: 16px;
    height: 2px;
    background-color: var(--primary-color);
    transition-property: opacity, transform;
    transition-duration: .2s;
}

.accordion_title::after {
    transform: rotate(90deg);
    transition: all .3s ease-in;
}

.accordion_title.open::after {
    transform: rotate(180deg);
    opacity: 0;
}

.accordion_title h5 {
    display: flex;
    align-items: center;
    transition: all .3s ease-in;
}

.accordion_title:hover h5 {
    color: var(--primary-color);
}

.accordion_title h5 span {
    margin-right: 20px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.tab_q {
    margin-right: 25px;
    font-size: 22px;
    font-style:normal;
    color: var(--nankai-line);
}

.accordion_content {
    max-height: 0;
    background-color: #fff;
    overflow: hidden;
    border-top: 1px solid var(--border-color--gray);
    transition: all 0.3s ease-in;
}

.content_wrap {
    display: flex;
    gap: 25px;
    padding: 20px;
}

.content_wrap p{
    font-size: 16px;
    line-height: 1.5;
}
.content_wrap ol{
    padding-left: 15px;
}
.content_wrap ol li{
    font-size: 16px;
}
.content_wrap .tab_a {
    display: block;
    margin-top: -6px;
    font-size: 22px;
    font-style:normal;
    color: var(--primary-color);
}

.content_inner a {
    color: var(--primary-color);
    transition: all .3s ease-in;
}

.content_inner a:hover {
    text-decoration: underline;
}

.accordion_title.open+.accordion_content {
    max-height: 500px;
}

.play-btn {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-color);
  transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
}

.play-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-35%, -50%);
  border-left: 8px solid white;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  -webkit-transform: translate(-35%, -50%);
  -moz-transform: translate(-35%, -50%);
  -ms-transform: translate(-35%, -50%);
  -o-transform: translate(-35%, -50%);
  transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
}

.accordion_title h5 span .tooltip{
    margin: 0;
    position: relative;
}
.tooltip .tooltip-img{
    position: absolute;
    bottom: 108%;
    left: 50%;
    z-index: 1;
    width: 180px;
    padding: 6px;
    border-radius: 10px;
    transform: translateX(-50%);
    background-color: #f4f4f4;
    border: 2px solid #cfcfcf;
    opacity: 0;
    visibility: hidden;
    box-sizing: border-box;
    transition: all .3s ease-in;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.tooltip-img::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 38px;
  border-width: 10px;
  border-style: solid;
  border-color: #cfcfcf transparent transparent transparent;
}

.tooltip-img::after {
  content: "";
  position: absolute;
  top: calc(100% - 2px);
  left: 40px;
  border-width: 8px;
  border-style: solid;
  border-color: #f4f4f4 transparent transparent transparent;
}

.tooltip:hover .tooltip-img{
    bottom: 100%;
    opacity: 1;
    visibility: visible;
}

/* terms */

.heading {
    position: relative;
    font-weight: 700;
}

.heading::before {
    content: "";
    position: absolute;
    left: 1px;
    display: block;
    width: 4px;
    height: 100%;
    background: linear-gradient(0deg, var(--accent-color) 50%, var(--primary-color) 50%);
}

.heading span {
    display: block;
    padding-left: 16px;
    font-size: 32px;
}

.heading_2 {
    position: relative;
    padding-bottom: 5px;
}

.heading_2::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    display: block;
    width: 100%;
    height: 4px;
    margin-right: 0;
    background: repeating-linear-gradient(90deg, var(--primary-color) 0 50%, var(--accent-color) 0 100%);
}

.heading_2 span {
    font-size: 24px;
}

.paragraph {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.5;
}
.paragraph_wrap{
    font-size: 16px;
    line-height: 1.5;
}

.paragraph_wrap:not(:first-child) {
    margin-top: 40px;
}

.paragraph_wrap a {
    text-decoration: underline;
    color: var(--primary-color);
    word-break: break-all;
    transition: all .5s ease-in-out;
}

.paragraph_wrap a:hover {
    text-decoration: none;
    opacity: .7;
}

.list {
    margin-top: 24px;
    padding-left: 20px;
    line-height: 2;
    text-align: justify;
    list-style: decimal;
}

.sub_list {
    line-height: 25px;
    padding-left: 25px;
    text-align: justify;
    list-style: circle;
}
.paragraph_date{
    margin-top: 40px;
    font-size: 16px;
    text-align: right;
}

/* fix style.css file design */
.l-header__hedMenu-list .icon{
    line-height: 1.5;
}
.l-footer{
    margin-top: 12em;
}