﻿@media screen and (min-width: 768px) {
    .userGuideWrap.tokutei #userguideMenu li[data-content=tokutei],
    .userGuideWrap.privacy #userguideMenu li[data-content=privacy],
    .userGuideWrap.disclaimer #userguideMenu li[data-content=disclaimer],
    .userGuideWrap.agreement #userguideMenu li[data-content=agreement] {
        background-color: #fafafa;
    }

    .userGuideWrap.guide #userguideMenu li[data-content=guide] .contentWrap,
    .userGuideWrap.faq #userguideMenu li[data-content=faq] .contentWrap,
    .userGuideWrap.contact #userguideMenu li[data-content=contact] .contentWrap {
        display: block;
    }

    #header.header {
        pointer-events: none;
    }
    #header.header a,
    #header.header .btn-menu {
        pointer-events: all;
    }
}

#userguideMenu li {
    font-size: min(1.2rem, 12px);
    line-height: 1.5;
    background-color: var(--background-state, rgba(255, 255, 255, 0));
}

#userguideMenu li > a {
    display: block;
    padding: 1.2em 1em;
    transition: 0.6s;
}

#userguideMenu > * > li:not(.accordionbox):hover {
    --background-state: #fafafa;
}

#userguideMenu > * > li {
    border-top: 1px solid #ddd;
}

#userguideMenu > * > li:last-of-type {
    border-bottom: 1px solid #ddd;
}

#userguideArea .pagecontent {
    font-size: min(1.3rem, 13px);
	line-height: 1.5;
}

#userguideArea .pagecontent a:link {
    text-decoration: underline;
}

#userguideArea .pagecontent .clauseList > *:not(:first-of-type) {
	margin-top: min(2.5rem, 25px);
}

/* ======== tokutei  ======== */
#userguideArea .tokutei .pagecontent dt {
    font-size: min(1.5rem, 15px);
    border-bottom: 1px dotted #ddd;
    padding-bottom: 0.5em;
	padding-left: 1rem;
}
#userguideArea .tokutei .pagecontent dd {
    padding-top: 1em;
    padding-bottom: 3.5rem;
    padding-left: 1rem;
}
/* ======== tokutei  ======== */

/* ======== accordion  ======== */
.accordionbox .title {
    cursor: pointer;
    background-color: var(--background-state, rgba(255, 255, 255, 0));
}

.accordionbox .contentWrap {
    display: none;
}

#userguideMenu .accordionbox .contentWrap > * > li {
    /* padding: 1.2em 1em; */
    line-height: 1.5;
    border-top: 1px solid #ddd;
}

#userguideMenu .accordionbox .contentWrap > * > li:hover {
    --background-state: #fafafa;
}

#userguideMenu .accordionbox .title {
    position: relative;
    padding: 1.2em 1em;
    transition: 0.6s;
    --background-state: #fafafa;
}

#userguideMenu .accordionbox .title:hover {
    opacity: 0.6;
}

#userguideMenu .accordionbox .title:after {
	position: absolute;
	top: 60%;
	right: min(1rem, 10px);
	margin-top: -1em;
	content: ">";
	font-size: min(1.6rem, 16px);
	transform: rotate(90deg);
    transform-origin: center center;
	transition: all, 0.25s, linear;
	color: #000;
}

#userguideMenu .accordionbox .title.active:after {
	right: min(1.4rem, 14px);;
	transform: rotate(-90deg);
}
/* ======== accordion  ======== */

dd.contentWrap a {
	text-decoration: underline;
}

@media screen and (min-width: 768px) {
    /* * {
        box-sizing: border-box;
    } */

    .userGuideWrap {
        display: grid;
        grid-template-columns: min(22rem, 220px) 1fr;
        column-gap: min(4rem, 40px);
        width: 92%;
        max-width: min(98rem, 980px);
        margin-block: 48px 80px;
        margin-inline: auto;
        align-items: flex-start;
        position: relative;
    }

    #userguideMenu {
        position: sticky;
        top: 0;
        top: min(8rem, 80px);
        /* z-index: 1001; */
    }

    #guide .guide-title {
        font-size: min(1.8rem, 18px);
        padding-block: 0.85em;
        padding-inline-start: min(1rem, 10px);
        margin-bottom: min(1rem, 20px);
        border-bottom: #ddd solid 1px;
    }

    #userguideArea .pagecontent dt.brief {
        padding: 0 0 min(2rem, 20px) min(1rem, 10px);
    }

    #userguideArea .pagecontent .clauseList > * {
        padding-left: min(2.5rem, 25px);
        text-indent: -1em;
    }

    #userGuide #useguideArea {
        width: 100%;
        margin: 0;
    }
}

@media screen and (max-width: 767px) {
    #guide {
        margin-bottom: min(60px, 6rem);
    }

    #guide .guide-title {
        background: #f1f1f1;
        font-size: 1.4rem;
        line-height: 1.6rem;
        padding: 9px 4%;
    }

    #guide .pagecontent {
        width: 92%;
        margin: 0 auto;
    }

    /* #guide .pagecontent dt {
        font-size: 1.4rem;
        line-height: 1.6rem;
        font-weight: bold;
        padding-top: 19px;
    } */

    #guide .pagecontent {
        font-size: 1.1rem;
        line-height: 1.6rem;
    }

    #userguideArea .pagecontent .brief {
        padding-top: 24px;
    }

    #userguideArea .pagecontent .clauseList > *:not(:first-of-type) {
        margin-top: 12px;
    }

    #guide.tokutei .pagecontent dd+dt {
        border-top: 1px dotted #b3b3b3;
        margin-top: 17.5px;
    }

    #guide .pagecontent dt+dd {
        margin-top: 19px;
    }

    #guide .pagecontent img {
        height: auto;
    }

    /*Default.aspx*/
    #guide .subContent h5 {
        font-size: 1.1rem;
        line-height: 1.6rem;
        cursor: pointer;
        padding: 9px 4%;
        border-bottom: 1px solid #b3b3b3;
        position: relative;
    }

    #guide .subContent h5 span::before {
        content: "+";
        display: block;
        width: 18px;
        height: 18px;
        color: #000;
        font-size: 1.8rem;
        line-height: 18px;
        text-align: center;
        position: absolute;
        /* left: 0; */
        top: 0;
        bottom: 0;
        right: 4%;
        margin: auto;
    }

    #guide .subContent h5 span.open::before {
        content: "-";
    }

    #guide .subContent .subInner {
        display: none;
        padding: 20px 0;
        border-bottom: 1px solid #b3b3b3;
    }

    /*tokutei.aspx*/
    #guide.tokutei .pagecontent dt {
        padding: 0;
        padding-top: 19px;
        margin-top: 20px;
        font-size: 14px;
        font-weight: bold;
        border-bottom: none;
    }
    #guide.tokutei .pagecontent dt:first-of-type {
        padding: 0;
    }

    #guide.tokutei .pagecontent dd {
        padding: 0;
        margin-top: 7.5px;
    }
}

/* ======== guide index  ======== */
#useguideArea .guide-title:not(:first-of-type) {
    margin-top: min(8rem, 80px);
}

#useguideArea .pagecontent.guideInformationArea.guidePage dt {
	border-bottom: 1px dotted #ddd;
	padding: 15px 0 15px 10px;
	font-size: 15px;
}

dt.switch.open + * + dt {
    border-top: 1px dotted #ddd;
}

#useguideArea .pagecontent.guideInformationArea.guidePage dt:not(:first-of-type) {
}

@media screen and (min-width: 768px) {
    #useguideArea .pagecontent.guideInformationArea.guidePage dd {
        max-width: 97%;
        margin: 0 auto;
        margin-inline: auto;
    }
}

#useguideArea .pagecontent.guideInformationArea.guidePage dd {
    margin-top: 1em;
	margin-bottom: 2em;
}

#useguideArea .pagecontent.guideInformationArea.guidePage dd p,
#useguideArea .pagecontent.guideInformationArea.guidePage dd ul li {
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
}

#useguideArea .pagecontent.guideInformationArea.guidePage dd p:not(:first-of-type) {
    margin-top: 2em;
}

@media screen and (min-width: 768px) {
    #useguideArea #usage + .pagecontent.guideInformationArea.guidePage dd p:first-child:nth-last-child(n + 2),
    #useguideArea #usage + .pagecontent.guideInformationArea.guidePage dd p:first-child:nth-last-child(n + 2) ~ p  {
        text-indent: -1em;
        padding-left: 1em;
    }

    dd p.cancelTtl + div {
        padding-left: 1em;
    }

    #useguideArea .pagecontent.guideInformationArea.guidePage [id*="faq"] + dd .question,
    #useguideArea .pagecontent.guideInformationArea.guidePage [id*="faq"] + dd .question + * {
        padding-left: 1em;
        text-indent: -1em;
    }
}

#useguideArea .pagecontent.guideInformationArea.guidePage [id*="faq"] + dd p:not(:first-of-type) {
    margin-top: 1em;
}

#useguideArea .pagecontent.guideInformationArea.guidePage [id*="faq"] + dd .question {
    font-weight: 600;
}

.userGuideWrap #useguideArea .switch {
	cursor: pointer;
	position: relative;
}

#useguideArea .switch + .contentWrap {
	display: none;
}

#useguideArea .switch:after {
	position: absolute;
	/* top: 35%;
	bottom: auto;
	content: ">"; */
	content: "";
	top: 0;
	bottom: 0;
	right: min(1rem, 10px);
	margin: auto;
	font: inherit;
	/* -moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg); */
	-moz-transition: all, 0.25s, linear;
	-o-transition: all, 0.25s, linear;
	-webkit-transition: all, 0.25s, linear;
	transition: all, 0.25s, linear;
	color: #000;
}

#useguideArea .switch.open:after {
	/* -moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg); */
}

@media screen and (min-width: 768px) {
    #useguideArea .switch:after {
        right: min(1.4rem, 14px);
        width: 14px;
        height: 7px;
        background: url(icon/arrow.svg) no-repeat;
    }
    #useguideArea .switch.open:after {
        /* right: min(1.4rem, 14px); */
        -moz-transform: rotate(-180deg);
        -ms-transform: rotate(-180deg);
        -webkit-transform: rotate(-180deg);
        transform: rotate(-180deg);
    }
}

#useguideArea img {
    width: 100%;
    height: 100%;
}

#guide03 + .contentWrap img {
    width: 100%;
    height: auto;
}

.pagecontent.guideInformationArea.guidePage dt a {
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    #guide.index .pagecontent {
        width: 100%;
    }

    #useguideArea .switch:after {
        content: "+";
        /* height: 100%;
            right: 1em;
            transform: rotate(0deg); */
        top: 0;
        /* bottom: 0; */
        font-size: 18px;
        width: 1em;
        text-align: center;
    }
    #useguideArea .switch.open:after {
        content: "-";
        /* transform: rotate(0deg); */
    }

    #useguideArea .pagecontent.guideInformationArea.guidePage dt {
        position: relative;
        cursor: pointer;
        font-size: 11px;
        line-height: 2;
        padding: 9px 4%;
        /* border-bottom: 1px solid #b3b3b3; */
    }

    #useguideArea .pagecontent.guideInformationArea.guidePage dd {
        max-width: 92%;
        margin-inline: auto;
    }

    #useguideArea .pagecontent.guideInformationArea.guidePage dd p,
    #useguideArea .pagecontent.guideInformationArea.guidePage dd ul li {
        font-size: 11px;
        line-height: 1.5;
    }

    #useguideArea dd a {
        display: inline;
        overflow-wrap: break-word;
        text-decoration: underline;
    }

}
/* ======== guide index  ======== */