/* ===================
全体
=================== */
body.compliance-gchecker {
    min-width: unset;
}

#container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.compliance-gchecker main>section {
    width: 100vw;
    margin: 0;
    padding: 40px 20px;
}

.compliance-gchecker main>section>* {
    width: 100%;
    max-width: 1100px;
    margin: auto;
}

.bg-blue {
    background-color: #E0ECF1;
}

@media (min-width: 1024px) {
    .compliance-gchecker main>section {
        padding: 64px 20px;
    }
}

/* ===================
見だし
=================== */
.ttlBlock_ttl {
    margin-bottom: 2.4rem;
    font-size: clamp(3.2rem, 3.5vw, 4rem);
    line-height: 1.4;
}

.compliance-gchecker main>section>hgroup {
    margin-bottom: 4rem;
}

section hgroup h2 {
    margin-bottom: 2.4rem;
    color: #0059A0;
    font-size: clamp(2.7rem, 3.16vw, 3.6rem);
    text-align: center;
}

section hgroup h2::after {
    display: block;
    content: "";
    width: 90px;
    height: 1px;
    margin: 1rem auto;
    background-color: #000000;
}

section hgroup p {
    font-size: min(4vw, 1.8rem);
}

@media (min-width: 768px) {

    section hgroup p {
        text-align: center;
    }
}

/* ===================
共通
=================== */

/*改行等*/

.sp-none {
    display: none;
}

@media (min-width: 768px) {
    .pc-none {
        display: none;
    }

    .sp-none {
        display: block;
    }
}


/*ボタン*/
a.btn-blue {
    display: flex !important;
    width: 80%;
    height: 50px;
    min-width: 290px;
    margin-left: auto;
    margin-right: auto;
    background-color: #0059A0;
    color: #FFFFFF;
    justify-content: center;
    align-items: center;
}

/*画像*/
img {
    display: block;
    margin: auto;
}

@media (min-width: 1024px) {
    a.btn-blue {
        max-width: 300px;
    }
}

/*ヘッダータイトル部*/

.compliance-gchecker main>section.ttlBlock {
    height: calc(100vh - 60px);
    max-height: 580px;
    padding: 30px 20px;
    background-color: #BBE0E8;
    position: relative;
    z-index: 1;
}

.ttlBlock_inner {
    position: relative;
}

.ttlBlock_inner::after {
    display: block;
    width: 90vw;
    height: 59vw;
    max-width: 650px;
    max-height: 426px;
    margin: 2rem auto 0;
    content: "";
    background-image: url(/contents/compliance/gchecker/images/mv_img.png);
    background-size: cover;
}

.ttlBlock-btnWrap {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ttlBlock-btnWrap p {
    margin: 0;
}

@media (min-width: 768px) {
    .ttlBlock_inner {
        text-align: center;
    }

    .ttlBlock-btnWrap {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    main {
        position: relative;
    }

    main::after {
        display: block;
        width: 40%;
        height: 100%;
        max-width: 650px;
        max-height: 426px;
        margin: 0;
        content: "";
        background-image: url("/contents/compliance/gchecker/images/mv_img.png");
        background-size: cover;
        position: absolute;
        top: 10px;
        right: 0;
        z-index: 1;
    }

    .compliance-gchecker main>section.ttlBlock {
        height: auto;
        max-height: 330px;
        padding-right: 0;
        overflow: visible;
    }

    .ttlBlock_inner {
        display: flex;
        text-align: left;
        position: relative;
        z-index: 2;
    }

    .ttlBlock_ttl {
        margin-bottom: 1rem;
        text-align: left;
        white-space: nowrap;
    }

    .ttlBlock-btnWrap {
        justify-content: flex-start;
    }

    .ttlBlock_inner::after {
        display: none;
    }

    .ttlBlock_inner p:not(.btnBlock) {
        font-size: 2.2rem;
    }

    .ttlBlock_inner .btnBlock a {
        margin: 0;
    }
}

/* ===================
イントロダクション
=================== */
.compliance-gchecker main>section#introduction {
    margin-top: 1vh;
    padding-top: 64px;
    padding-bottom: 0;
    position: relative;
    z-index: 2;
}

.compliance-gchecker main>section>.introduction_ttl {
    margin-bottom: 4rem;
    background-color: rgba(255, 255, 255, 0.85);
    font-size: 2.4rem;
    line-height: 1.6;
    border-radius: 99px;
}

.compliance-gchecker main>section .introduction_list {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    margin: 2rem auto 3rem;
    padding: 0;
    list-style: none;
}

.introduction-list_item {
    font-size: min(4.26vw, 1.8rem);
    text-align: center;
}

.introduction-list_item figure figcaption {
    font-size: clamp(1.4rem, 3.6vw, 1.8rem);
}

/*ナビ*/
.compliance-gchecker main>section .solve_blk {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    text-align: center;
}

.compliance-gchecker main>section .solve_blk>* {
    padding: 20px;
}

.compliance-gchecker main>section .solve_blk>.solve_ttl {
    width: 100vw;
    margin-bottom: 0;
    padding-top: 35px;
    background-color: #0059A0;
    color: #FBFF26;
    font-size: min(6vw, 32px);
    position: relative;
}

.solve_ttl::before {
    width: 60px;
    height: calc(tan(60deg) * 30px / 2);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    display: block;
    margin-top: -1px;
    content: "";
    position: absolute;
    top: 0;
    left: calc(50% - 30px);
    background-color: #FFFFFF;
}

.solve_ttl>span {
    display: flex;
    align-items: flex-end;
    justify-content: space-evenly;
}

.solve_ttl>span::before,
.solve_ttl>span::after {
    width: 2px;
    height: 7.18vw;
    min-height: 28px;
    margin-bottom: 2.564vw;
    content: "";
    background-color: #FBFF26;
}

.solve_ttl>span::before {
    margin-right: 0.5em;
    transform: rotate(-30deg) scale(1.5) translateX(0.5rem) translateY(4px);
}

.solve_ttl>span::after {
    margin-right: 0.5em;
    transform: rotate(30deg) scale(1.5);
}

.compliance-gchecker main>section .solve_blk>*>* {
    max-width: 1100px;
    margin: 0 auto;
}

.compliance-gchecker main>section .solve_blk>.intro_nav {
    width: 100vw;
    background-color: #BBE0E8;
}

.intro-nav_list {
    gap: 1rem 0.5rem;
    display: flex;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
}

.intro-nav-list_item {
    display: flex;
    width: calc((100vw / 3) - 20px);
    height: 100%;
    font-size: min(3vw, 1.6rem);
    font-weight: 700;
    justify-content: center;
    line-height: 1.3;
    align-items: center;
}

.intro-nav-list_item a {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.intro-nav-list_item a::after {
    content: "";
    display: block;
    width: 15px;
    height: 8.5px;
    margin-bottom: 0.5rem;
    background-image: url(/contents/compliance/gchecker/images/caret-down-solid.svg);
    background-size: cover;
    background-repeat: no-repeat;

}

.intro-nav-list_item:hover a {
    color: #0059A0;
    text-decoration: none;
}

.intro-nav-list_item:hover a::after {
    margin-top: 0.5rem;
    margin-bottom: 0;
    transition: .3s ease-in-out;
}

section .intro-nav-list_item:last-child {
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .compliance-gchecker main>section#introduction {
        margin-top: 3vh;
    }

    .compliance-gchecker main>section>.introduction_ttl {
        text-align: center;
    }

    .solve_ttl .pc-none {
        display: block;
    }
}

@media (min-width: 1024px) {
    .compliance-gchecker main>section .introduction_list {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .compliance-gchecker main>section .introduction_list li {
        flex: 1;
    }

    .solve_ttl>span::before,
    .solve_ttl>span::after {
        height: 48px;
        width: 4px;
        margin-bottom: 0;
    }

    .solve_ttl>span::before {
        transform-origin: center;
        transform: rotate(-45deg);
    }

    .solve_ttl>span::after {
        transform-origin: center;
        transform: rotate(45deg);
    }

    .intro-nav_list {
        flex-wrap: nowrap;
    }

    .solve_ttl .pc-none {
        display: none;
    }
}

/* ===================
プロダクト
=================== */
.result-content>h3 {
    padding: 0.3rem;
    background-color: #0059A0;
    color: #FBFF26;
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.result-content_list {
    list-style: none;
    padding: 0;
}

.result-content_list>li {
    display: grid;
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto 1fr;
    grid-column-gap: 1rem;
    grid-row-gap: 0.5rem;
    padding: 2rem;
    border: solid 1px #D9D9D9;
    border-radius: 0.8rem;
}

.result-content_list>li>img {
    width: 100%;
    grid-area: 1 / 1 / 2 / 2;
}

.result-content_list>li>ul {
    grid-area: 2 / 1 / 3 / 3;
    font-size: 1.6rem;
    list-style: disc;
}

.result-content .movie {
    width: 100%;
    margin-bottom: 2rem;
}

.result-content .movie iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: solid 1px #cccccc;
}

.result-txt {
    margin-top: 0.5rem;
    padding: 0 0.5rem;
    background-color: #FFFFFF;
    border-radius: 0.8rem;
}

.result-txt .ok_blue {
    color: #0059A0;
    font-weight: 700;
}

.result-txt .ng_red {
    color: #FF0000;
    font-weight: 700;
}

@media (min-width: 768px) {
    .result-content_list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: space-between;
        margin-bottom: 4rem;
    }

    .result-content_list>li {
        width: calc(50% - 2rem);
        margin-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .result-content_list>li>img {
        width: 100%;
        margin-top: 0;
        grid-area: 1 / 1 / 3 / 2;
    }

    .result-content_list>li>h4 {
        grid-area: 1 / 2 / 2 / 3;
    }

    .result-content_list>li>ul {
        grid-area: 2 / 2 / 3 / 3;
        padding-left: 2rem;
    }

    .result-content_list>li>ul li {
        margin-bottom: 0;
    }

    .result-content_list>li {
        grid-template-columns: 100px 1fr;
    }
}

/* ===================
料金
=================== */

.priceFlow {
    display: block;
    /* モバイルでは縦積みに */
    margin-bottom: 4rem;
}

.priceFlow>dl {
    margin-bottom: 2rem;
    /* モバイルでの間隔 */
    background-color: #FFFFFF;
    display: block;
    padding: 1.5rem;
    /* モバイル用 */
    border: .5rem solid #A4C1CC;
    border-radius: .4rem;
}

.priceFlow>dl:first-child {
    width: 100%;
    /* モバイルでは全体幅に */
    margin: 0 0 2rem 0;
    /* モバイルでの間隔 */
}

.priceFlow>dl:last-child {
    width: 100%;
    /* モバイルでは全体幅に */
}

.priceFlow>dl>dt {
    margin: 0 -1.5rem 1.5rem -1.5rem;
    /* モバイル用 */
    padding: 0 1.5rem 1.5rem 1.5rem;
    /* モバイル用 */
    border-bottom: 5px solid #A4C1CC;
    font-size: 1.8rem;
    /* モバイル用 */
    font-weight: bold;
    text-align: center;
}

.priceFlow>dl>dd {
    text-align: center;
}

.priceFlow>dl>dd .price p {
    width: 100%;
    margin-bottom: 0;
    color: #074E68;
    font-size: 2.4rem;
    /* デスクトップのデフォルトサイズだが、モバイルで調整がないためそのまま */
    line-height: 1.2;
    text-align: center;
    letter-spacing: -.1rem;
}

.priceFlow>dl.register>dd .price .note1 {
    color: #3187A6;
    font-size: 10rem;
    line-height: .8;
}

.priceFlow>dl.monthly>dd {
    display: flex;
    flex-direction: column;
    /* モバイルでは縦積みに */
    align-items: center;
    /* 中央寄せ */
    width: 100%;
}

.priceFlow>dl.monthly>dd.half>div {
    flex-basis: calc((100% - 2rem) / 2);
    /* これはデスクトップ用になるため、モバイルでは不要か調整が必要 */
}

.priceFlow>dl.monthly>dd>div:first-child {
    display: flex;
    flex-direction: column;
    width: 100%;
    /* モバイル用 */
    margin-bottom: 3rem;
    /* モバイル用 */
    padding: 0 0 6rem 0;
    /* モバイル用 */
    background: url("/common/images/icon-plus.png") no-repeat center bottom;
    /* モバイル用 */
}

.priceFlow>dl.monthly>dd>div:first-child>p {
    padding-right: 0;
    /* モバイル用 */
}

.priceFlow>dl.monthly>dd div:first-child .price {
    white-space: nowrap;
    /* デスクトップのデフォルトだが、モバイルで調整がないためそのまま */
    padding-right: 0;
    /* モバイル用 */
    background: none;
    /* モバイル用 */
}

.priceFlow>dl.monthly>dd>div:last-child {
    align-self: center;
    flex: 1;
}

.priceFlow>dl.monthly>dd .price p .note1 {
    font-size: 3.6rem;
}

.priceFlow>dl.monthly>dd .price p .note2 {
    color: #3187A6;
    font-size: 6rem;
    letter-spacing: -.2rem;
}

.priceFlow>dl.monthly>dd .price p .note3 {
    color: #3187A6;
    font-size: 3.4rem;
    /* モバイル用 */
}

.priceFlow>dl.monthly>dd .price dl {
    display: table;
    margin: 2rem auto 0 auto;
    font-size: 1.4rem;
    text-align: left;
}

.priceFlow>dl.monthly>dd .price dl dt,
.priceFlow>dl.monthly>dd .price dl dd {
    display: table-cell;
}

.priceFlow>dl>dd .priceTable table {
    margin: 0 auto;
}

.priceFlow>dl>dd .priceTable table td {
    padding: 0 1rem;
}

.priceFlow>dl>dd .priceTable .number,
.priceFlow>dl>dd .priceTable .price {
    color: #074E68;
    font-weight: bold;
    text-align: right;
}

.priceFlow>dl>dd .priceTable .number span {
    font-size: 2.4rem;
}

.priceFlow>dl>dd .priceTable .price span {
    color: #3187A6;
    font-size: 2.4rem;
}

.priceFlow>dl>dd .priceTable .monthly_addition {
    font-size: 1.3rem;
    text-align: left;
}

#price>h3 {
    width: 100%;
    max-width: 350px;
    margin: 40px auto 24px;
    background-color: #0059A0;
    color: #FBFF26;
    text-align: center;
}

#price>p:not(.btnBlock) {
    font-size: 1.6rem;
}

.compliance-gchecker main>section>.price_img01 {
    max-width: 650px;
    margin: 1.6rem auto;
}

.compliance-gchecker main>section>.regist-addition {
    margin-bottom: 2.4rem;
    max-width: 650px;
    list-style: none;
}

.regist-addition li {
    margin-bottom: 0;
    font-size: 1.4rem;
}

.regist-addition li::marker {
    content: "※";
}

.compliance-gchecker main>section#price>.btnBlock a {
    padding-left: unset;
    padding-right: unset;
}

p.monthly_addition {
    font-size: 1.3rem;
}

#price > h3 {
    display: flex;
    width: 100%;
    max-width: 350px;
    margin: 40px auto 24px;
    padding: 0;
    background-color: rgb(0, 89, 160);
    color: rgb(251, 255, 38);
    text-align: center;
    font-size: 2.4rem;
    flex-direction: column;
    align-items: center;
}

#price > h3::after {
    display: block;
    content: "";
    width: 100%;
    height: 2rem;
    background-color: #FFFFFF;
    border-style: solid;
    border-right: 175px solid transparent;
    border-left: 175px solid transparent;
    border-top: 20px solid rgb(0, 89, 160);
    border-bottom: 0;
}


/*
 * デスクトップ用のスタイル（768px以上で適用）
 */
@media (min-width: 768px) {

    .priceFlow {
        display: flex;
        justify-content: space-between;
    }

    .priceFlow>dl {
        margin-bottom: 0;
        /* デスクトップでの間隔 */
        padding: 2.5rem;
        /* デスクトップ用 */
    }

    .priceFlow>dl:first-child {
        width: calc(30% - 6rem);
        margin: 0;
    }

    .priceFlow>dl:last-child {
        width: 70%;
        /* デスクトップ用 */
    }

    .priceFlow>dl>dt {
        margin: 0 -2.5rem 2.5rem -2.5rem;
        /* デスクトップ用 */
        padding: 0 2.5rem 2.5rem 2.5rem;
        /* デスクトップ用 */
        font-size: 2.4rem;
        /* デスクトップ用 */
    }

    .register>.entry {
        display: block;
        margin-top: 5.5rem;
    }

    .priceFlow>dl.monthly>dd {
        flex-direction: row;
        /* デスクトップでは横並びに */
    }

    .priceFlow>dl.monthly>dd>div:first-child {
        padding-right: 8rem;
        /* デスクトップ用 */
        background: url("/common/images/icon-plus.png") no-repeat 93% center;
        /* デスクトップ用 */
        width: auto;
        /* デスクトップに戻す */
        margin-bottom: 0;
        /* デスクトップに戻す */
        padding-bottom: 0;
        /* デスクトップに戻す */
    }

    .priceFlow>dl.monthly>dd>div:first-child>p {
        padding-right: initial;
        /* デスクトップに戻す */
    }

    .priceFlow>dl.monthly>dd div:first-child .price {
        background: initial;
        /* デスクトップに戻す */
        padding-right: initial;
        /* デスクトップに戻す */
    }

    .priceFlow>dl.monthly>dd .price p .note3 {
        font-size: 3.6rem;
        /* デスクトップ用 */
    }
}

@media (min-width: 1024px) {
    .register>.entry {
        margin-top: 0;
    }
}


/* ===================
セミナー
=================== */

.seminars_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.6rem;
    padding: 0;
    list-style: none;
}

.seminars-list_item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 0;
    padding-bottom: 2rem;
    border: solid 1px #707070;
    border-radius: 4px;
    flex-direction: column;
    overflow: hidden;
}

.seminars-list_item>*:not(img) {
    width: calc(100% - 4rem);
    margin: auto;
}

.seminars-list_item>.seminar_tag {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0;
    list-style: none;
    color: #49454F;
}

.seminar_tag li {
    display: block;
    margin-bottom: 0;
    padding: 0.5rem 1.5rem;
    border: solid 1px #CAC4D0;
    border-radius: 8px;
    font-size: 1.4rem;
}

.seminar_ttl {
    font-size: 1.6rem;
}

.seminar_txt {
    font-size: 1.4rem;
    line-height: 1.4;
}

.seminar_date {
    padding-top: 0.5rem;
    border-top: solid 1px #CCCCCC;
    font-size: 1.2rem;
}

.seminar_btn {
    text-align: center;
}

.seminar_btn .btn-blue {
    height: 3.8rem;
    min-width: unset;
    padding: 1.2rem;
    border-radius: 8px;
    font-size: 1.4rem;
    line-height: 1;
}

.seminar_closed {
    display: block;
    height: 38px;
    font-size: 1.4rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .seminars_list {
        flex-wrap: nowrap;
    }

    .seminars-list_item {
        flex: 1;
    }

    .seminars-list_item>img {
        margin: 0;
    }
}

/* ===================
よくある質問
=================== */
.compliance-gchecker main>section>.faq_wrap {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    max-width: 950px;
}

.faq_wrap details {
    padding: 0;
    color: #1E1E1E;
    font-size: clamp(1.4rem, 1.4vw, 1.6rem);
    font-weight: 400;
    background-color: #FFFFFF;
    border-radius: 8px;
    line-height: 1.4;
}

.faq_wrap details[open] {
    padding-bottom: 1.6rem;
}

.faq_wrap details summary {
    display: flex;
    padding: 1.6rem;
    color: #0059A0;
    font-size: clamp(1.6rem, 1.75vw, 2rem);
    font-weight: 700;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    cursor: pointer;
}

.faq_wrap details > p {
    margin: 0 1.6rem;
    padding-top: 1.6rem;
    border-top: solid 1px #757575;
}

.faq_wrap details summary::marker {
    content: "";
}

.faq_wrap details[open] summary .icon {
    transform: rotate(180deg);
}

.faq_wrap details summary .icon {
    display: block;
    position: relative;
    width: 16.5px;
    margin-left: 6px;
    flex-shrink: 0;
    transform-origin: center 43%;
    transition: transform 0.4s;
}

.faq_wrap details summary .icon::before,
.faq_wrap details summary .icon::after {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    height: 3px;
    background-color: #1E1E1E;
}

.faq_wrap details summary .icon::before {
    left: 0;
    transform: rotate(45deg);
}

.faq_wrap details summary .icon::after {
    right: 0;
    transform: rotate(-45deg);
}

/* ===================
資料ダウンロード
=================== */

.compliance-gchecker main>section>.dl_list {
    display: flex;
    gap: 2.4rem;
    margin-bottom: 4rem;
    padding-left: 0;
    list-style: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.dl-list_item {
    margin-bottom: 0;
}

.dl-list_item img {
    width: 100%;
    height: 100%;
    max-width: 480px;
    aspect-ratio: 16/9;
    border: solid 1px;
    border-radius: 4px;
    object-fit: contain;
}

.dl-list_item figcaption {
    text-align: left;
}

.dl-list_item>a {
    display: flex;
    color: #0059A0;
    font-size: 1.4rem;
    font-weight: 700;
    align-items: center;
    gap: 1rem;
}

.dl-list_item>a::after {
    content: "";
    display: block;
    width: 1.4rem;
    height: 1.4rem;
    -webkit-mask-image: url(d/contents/compliance/gchecker/images/chevron-right-solid.svg);
    mask-image: url(/contents/compliance/gchecker/images/chevron-right-solid.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: #0059A0;
}

.dl-list_item>a:hover {
    color: #00A1B9;
    text-decoration: underline;
    transition: .3s ease-in-out;
}

.dl-list_item>a:hover::after {
    background-color: #00A1B9;
    transition: .3s ease-in-out;
}

#dl .btnBlock .btn-blue {
    padding-right: 40px;
}

@media (min-width: 768px) {
    .dl-list_item {
        display: flex;
        width: calc(50% - 2.4rem);
        flex-direction: column;
        justify-content: space-between;
    }

    .dl-list_item img {
        height: 26vw;
        max-height: 296px;
    }
}

@media (min-width: 1024px) {
    .compliance-gchecker main>section>.dl_list {
        flex-wrap: nowrap;
    }

    .dl-list_item img {
        width: 24rem;
        height: 13.5rem;
    }
}

/* ===================
リスク・コンプライアンスの実務
=================== */
#mail-magazine {
    text-align: center;
}

#mail-magazine hgroup {
    margin: 2rem auto;
}

#mail-magazine hgroup p {
    padding: 0.5rem 1rem;
    background-color: #FBFF26;
    line-height: 1.2;
}

#mail-magazine hgroup h2 {
    color: #0059A0;
    font-size: min(5.9vw, 2.4rem);
}

#mail-magazine hgroup h2::after {
    display: none;
}

#mail-magazine>p {
    margin-bottom: 2.4rem;
    font-size: 1.6rem;
}

#mail-magazine .btn-blue {
    width: 100%;
    padding-right: 4rem;
    font-size: 1.8rem;
}

@media (min-width: 768px) {
    .mail-magazine_inner {
        display: grid;
        grid-template-columns: 40% 1fr;
        grid-template-rows: repeat(3, auto);
        grid-column-gap: 2rem;
        grid-row-gap: 1rem;
        justify-items: start;
    }

    .mail-magazine_inner>* {
        margin: 0;
    }

    .mail-magazine_inner * {
        text-align: left;
    }

    .mail-magazine_inner img {
        grid-area: 1 / 1 / 3 / 2;
    }

    #mail-magazine hgroup {
        margin: 0;
    }

    #mail-magazine hgroup p {
        margin-bottom: 1rem;
    }

    #mail-magazine .btnBlock {
        grid-area: 3 / 1 / 4 / 3;
        margin: 0 auto;
    }

    #mail-magazine .btn-blue {
        padding-right: 6rem;
    }
}

@media (min-width: 1024px) {

    .compliance-gchecker main>section>.mail-magazine_inner {
        width: fit-content;
    }

    .mail-magazine_inner img {
        grid-area: 1 / 1 / 4 / 2;
        width: 350px;
    }

    #mail-magazine hgroup {
        grid-area: 1 / 2 / 2 / 3;
    }

    #mail-magazine hgroup p {
        grid-area: 2 / 2 / 3 / 3;
        white-space: nowrap;
    }

    #mail-magazine .btnBlock {
        grid-area: 3 / 2 / 4 / 3;
        margin-left: 0;
    }
}

.entryBlock {
    width: calc(100% - 40px);
    max-width: 980px;
    margin: 0 auto;
    padding: 8rem 0;
}
.rowLayout {
    display: flex;
    align-items: center;
    gap: 3rem 6rem;
    flex-direction: column;
}
.rowLayout > * {
    width: 100%;
}
.rowLayout .col-2:not(:last-child) {
    margin-right: 0;
}
.entryBlock .btn-line.arrow {
    max-width: 290px;
    margin: 0 auto;
}
.rowLayout .col-2 {
    float: unset;
    width: 100%;
    max-width: 460px;
}
.rowLayout::after {
    display: none;
}

@media (min-width: 1024px) {
    .rowLayout {
        flex-direction: row;
    }
}

/* ===============
チャート部分
=============== */

/* 基本スタイル */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    /* padding: 20px; */
    background-color: #FFFFFF;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* 上部に寄せる */
    min-height: 100vh;
    box-sizing: border-box;
}

.chart-container {
    background-color: #fff;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* max-width: 1200px; PC版の最大幅 */
    width: 100%;
    position: relative;
    /* 矢印の位置指定のため */
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

/* 質問カードのスタイル */
.question-section {
    display: flex;
    flex-direction: column;
    /* スマホでは縦並び */
    gap: 20px;
    margin-bottom: 30px;
}

.question-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.question-card .question-text {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #000000;
}

.question-section .buttons {
    display: flex;
}

.question-card .buttons button {
    flex: 1;
    min-width: unset;
    background-color: #FF6A68;
    color: white;
    border: none;
    padding: 12px 25px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.question-card .buttons button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.question-card .buttons button.btn-no {
    background-color: #0091C5;
}

.question-card .buttons button.btn-no:hover {
    background-color: #c82333;
}

/* 質問カードの表示/非表示 (スマートフォン用) */
.question-card {
    display: none;
    /* デフォルトで非表示 */
}

.question-card.active {
    display: block;
    /* アクティブな質問のみ表示 */
}

/* 結果エリアのスタイル */


/* タブボタンのスタイル (PC版のみ表示) */
.result-tabs {
    display: none;
    /* デフォルトで非表示 (スマホでは使わない) */
    justify-content: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.result-tabs .tab-button {
    background-color: #F6F6F6;
    color: #555;
    border-bottom: solid 5px rgba(0, 0, 0, 0.05);
    border-top: 0;
    border-left: 0;
    border-right: 0;
    padding: min(2vw, 2.4rem);
    cursor: pointer;
    font-size: min(1.69vw, 1.8rem);
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 0;
    flex: 1;
}

.result-tabs .tab-button:hover {
    background-color: #e0e0e0;
}

.result-tabs .tab-button.active {
    background-color: #FFFFFF;
    color: #000000;
    border-top: 5px solid #007bff;
    border-bottom: none;
    box-shadow: 0 4px 3px 3px #ccc;
}

.result-tabs .tab-button strong {
    display: block;
    margin-top: 0.5rem;
    color: rgb(0, 89, 160);
    font-size: min(2.6vw, 2.4rem);
}

/* 結果コンテンツのスタイル */
.result-content {
    background-color: #FFFFFF;
    padding: 0 20px 20px;
    display: none;
}

.result-content.active {
    display: block;
    /* アクティブな結果のみ表示 */
}

.result-content h2 {
    color: #0059A0;
    margin-top: 0;
    margin-bottom: 1.6rem;
    font-size: min(7.7vw, 4.8rem);
    text-align: center;
}

.result-content p {
    font-size: 1.6rem;
    line-height: 1.6;
}

.result-img_blk {
    background-color: #BBE0E8;
    margin-bottom: 2.4rem;
    padding: clamp(2rem, 5vw, 4rem);
}

.result-img_blk>* {
    text-align: center;
}

.result-img_blk h3 {
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: clamp(1.8rem, 2.929vw, 2.8rem);
}

.result-img_blk h3::before,
.result-img_blk h3::after {
    width: 1px;
    height: 28px;
    content: "";
    background-color: #000000;
}

.result-img_blk h3::before {
    margin-right: 0.5em;
    transform: rotate(-30deg) scale(1.5);
}

.result-img_blk h3::after {
    margin-left: 0.5em;
    transform: rotate(30deg) scale(1.5);
}

.result-product_blk {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 2rem;
    background-image: url(/contents/compliance/gchecker/images/products-blk-bg_img.png);
    background-size: 100% 100%;
    white-space: nowrap;
    justify-content: center;
}

.result-product_blk>* {
    color: #FFFFFF;
}

.result-content ol {
    display: flex;
    margin-top: 1rem;
    padding: 0;
    list-style: none;
    justify-content: space-around;
    gap: 1rem;
}

.result-content ol li {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    margin-bottom: 0;
}

.result-content ol li.result_in .result-in_arrow {
    width: 6.2rem;
    padding: 0 1rem 1rem;
    background-color: #FBFF26;
    font-weight: 700;
}

.result-content ol li.result_in::before {
    display: block;
    content: "";
    width: 90px;
    height: calc(tan(60deg) * 30px / 2);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    background-color: #FBFF26;
}

.result-content ol li.result_out .result-out_arrow {
    width: 6.2rem;
    margin-bottom: 0;
    padding: 1rem 1rem 0;
    background-color: #FF6A68;
    color: #FFFFFF;
    font-weight: 700;
    order: 1;
}

.result-content ol li.result_out::after {
    margin-bottom: 1.6rem;
    display: block;
    content: "";
    width: 90px;
    height: calc(tan(60deg) * 30px / 2);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    background-color: #FF6A68;
    order: 2;
}

.result-content :is(.result-in_blk, .result-out_blk) {
    width: 100%;
    height: 100%;
    padding: 1rem;
    background-color: #FFFFFF;
    font-size: 1.4rem;
    line-height: 1.2;
}

.result-content :is(.result-in_blk, .result-out_blk)>img {
    margin-bottom: 1rem;
}

#resultA.result-content :is(.result-in_blk, .result-out_blk)>img {
    max-height: 95px;
}

.result-in_blk {
    border: solid 4px #FBFF26;
}

.result-out_blk {
    border: solid 4px #FF6A68;
    order: 4;
}

.products-blk_img03 {
    display: block;
    width: 50%;
    height: auto;
    margin: 0 auto 0.2rem;
}

.result-content ol .result_in.result_in_rev::before,
.result-content ol .result_out.result_out_rev::after {
    display: none;
}

.result-content ol .result_in.result_in_rev::after {
    margin-bottom: 1.6rem;
    display: block;
    content: "";
    width: 90px;
    height: calc(tan(60deg) * 30px / 2);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    background-color: #FBFF26;
    order: 2;
}

.result-content ol .result_in.result_in_rev .result-in_arrow {
    height: 75px;
    padding: 3rem 1rem 0;
}

.result-content ol .result_out.result_out_rev::before {
    display: block;
    content: "";
    width: 90px;
    height: calc(tan(60deg) * 30px / 2);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    background-color: #FF6A68;
}

.result-content ol .result_out.result_out_rev .result-out_arrow {
    order: unset;
    padding: 0 1rem 1rem;
    line-height: 1.2;
}

#resultB ol {
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

#resultC ol {
    display: flex;
    flex-direction: column;
}

#resultC ol .products-blk_img05 {
    width: 50%;
}

#resultC ol .result_in.result_in_rev .result-in_arrow {
    height: auto;
    padding: 1rem 1rem 0;
}

#resultC ol .result_in.result_in_rev::after {
    margin-bottom: 0;
}

#resultC ol .result_out::before {
    content: "";
    display: block;
    width: 60px;
    height: 1rem;
    background-color: #FF6A68;
}

#resultC ol .result_out::after {
    margin-bottom: 0;
}

#resultC ol .result-out_blk {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

#resultC ol .result-out_blk img {
    width: 60%;
}



/* PC版のスタイル (メディアクエリ)
   ========================================================================== */
@media (min-width: 768px) {
    .chart-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* 3列レイアウト */
        grid-template-rows: auto auto auto;
        /* 質問、矢印、結果 */
        gap: 1rem;
        /* グリッド間のスペース */
        align-items: start;
        /* 上揃え */
        position: relative;
        /* 矢印の位置指定のため */
        background-color: transparent;
        box-shadow: none;
    }

    .result-tabs {
        margin-bottom: 0;
    }

    h1 {
        grid-column: 1 / -1;
        /* 全幅 */
    }

    .question-section {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, auto);
        grid-column-gap: 0px;
        grid-row-gap: 1rem;
        margin-bottom: 0;
        justify-items: center;
    }

    .question-card {
        display: block;
        width: 100%;
        box-shadow: 0 4px 3px rgba(0, 0, 0, 0.25);
    }

    .question-card .question-text {
        margin-bottom: 0;
    }

    div#question1 {
        grid-area: 1 / 1 / 2 / 4;
    }

    div#question2 {
        grid-area: 3 / 1 / 4 / 3;
    }

    .question-arrow {
        display: flex;
        width: 86px;
        height: 100%;
        color: #FFFFFF;
        font-size: 2.4rem;
        font-weight: 700;
        text-align: center;
        flex-direction: column;
        overflow: visible;
        align-items: center;
        justify-content: space-between;
    }

    .question-arrow::after {
        display: block;
        content: "";
        width: 0;
        height: 0;
        border-style: solid;
        border-right: 70px solid transparent;
        border-left: 70px solid transparent;
        border-top: 40px solid #555555;
        border-bottom: 0;
        background-color: #E0ECF1;
    }

    .question-yes {
        background-color: #FF6A68;
    }

    .question-yes::after {
        border-top: 40px solid #FF6A68;
    }

    .question-no {
        background-color: #0091C5;
    }

    .question-no::after {
        border-top: 40px solid #0091C5;
    }

    .question-arrow1 {
        grid-area: 2 / 1 / 3 / 3;
    }

    .question-arrow2 {
        grid-area: 2 / 3 / 5 / 4;
    }

    .question-arrow3 {
        grid-area: 4 / 1 / 5 / 2;
    }

    .question-arrow4 {
        grid-area: 4 / 2 / 5 / 3;
    }


    /* PC版では質問カードのボタンは非表示（クリックではなく矢印とタブで遷移） */
    .question-card .buttons {
        display: none;
    }

    /* 結果エリアの配置 */
    .results-section {
        grid-column: 1 / -1;
        display: block;
        padding-top: 0;
        margin-top: 0;
    }

    .result-tabs {
        display: flex;
        justify-content: space-between;
        gap: 5px;
        position: relative;
        z-index: 0;
    }

    .result-content {
        display: none;
        /* デフォルトで非表示 */
    }

    .result-content.active {
        display: block;
        /* アクティブなタブのみ表示 */
    }

    /* PC版では、結果コンテンツはタブで切り替わるため、
       初期状態では全て非表示にして、JSで制御する */
    .results-section .result-content {
        display: none;
    }

    .results-section .result-content.active {
        display: block;
        margin-top: -2px;
        padding: min(5.6vw, 6.4rem);
        box-shadow: 0 4px 3px 3px #ccc;
        position: relative;
        z-index: 1;
    }

    .result-product_blk {
        height: 100%;
        font-size: 2rem;
    }

    .result-product_blk strong {
        font-size: 3.2rem;
    }

    .products-blk_img03 {
        width: 30%;
    }

    #resultB .products-blk_img04,
    #resultB ol {
        width: 70%;
    }

    #resultC ol {
        display: flex;
        flex-direction: row;
    }

    #resultC ol li {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    #resultC ol .products-blk_img05 {
        width: 100%;
        height: auto;
    }

    #resultC ol .result_in.result_in_rev::after {
        width: 30px;
        height: 90px;
        clip-path: polygon(0 0, 100% 50%, 0 100%);
    }

    #resultC ol .result_in.result_in_rev .result-in_arrow {
        height: 60px;
        margin-left: 5px;
        margin-right: 0;
        padding: 1.6rem 0 1rem 1rem;
        white-space: nowrap;
    }

    #resultC ol li {
        flex: unset;
    }

    #resultC ol .result_out {
        width: 90px;
    }

    #resultC ol .result_out::before {
        width: 30px;
        height: 60px;
    }

    #resultC ol .result_out::after {
        width: 30px;
        height: 90px;
        clip-path: polygon(0 0, 100% 50%, 0 100%);
    }

    #resultC :is(.result-in_blk, .result-out_blk) {
        display: flex;
        justify-content: center;
    }

    #resultC ol .result-out_blk img {
        width: 100%;
        margin: 0;
    }

    #resultC .result-product_blk strong {
        font-size: 2rem;
    }

    #resultC .result-product_blk p {
        font-size: 1.6rem;
    }
}

@media (min-width: 1024px) {


    #resultA .result-img_blk {
        display: grid;
        grid-template-columns: repeat(3, auto);
        grid-template-rows: auto 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    #resultA .result-img_blk h3 {
        grid-area: 1 / 1 / 2 / 4;
        justify-content: center;
        gap: 2.5rem;
    }

    #resultA .result-img_blk .result-product_blk {
        grid-area: 2 / 1 / 3 / 2;
    }

    #resultA .result-img_blk ol {
        grid-area: 2 / 2 / 3 / 3;
        flex-direction: column;
    }

    #resultA .result-img_blk ol li {
        flex-direction: row;
        justify-content: center;
    }

    #resultA .result-img_blk ol li p:is(.result-in_blk, .result-out_blk) {
        display: flex;
        width: 220px;
        height: 90px;
        gap: 1rem;
        margin-left: 2rem;
        text-align: left;
        align-items: center;
    }

    #resultA.result-content :is(.result-in_blk, .result-out_blk)>img {
        width: 83px;
        margin: 0;
    }

    .result-content ol li.result_in .result-in_arrow {
        width: fit-content;
        margin-bottom: 0;
        margin-right: 0.5rem;
        padding: 1rem 0.5rem 1rem 0;
    }

    .result-content ol li.result_in::before {
        width: 30px;
        height: calc(tan(60deg) * 70px / 2);
        clip-path: polygon(0 50%, 100% 0, 100% 100%);
    }

    .result-content ol li.result_out .result-out_arrow {
        width: fit-content;
        margin-bottom: 0;
        margin-left: 0.5rem;
        padding: 1rem 0 1rem 0.5rem;
    }

    .result-content ol li.result_out::after {
        width: 30px;
        height: calc(tan(60deg) * 70px / 2);
        clip-path: polygon(0 0, 100% 50%, 0 100%);
        margin-bottom: 0;
        margin-left: -1px;
    }

    #resultA .result-img_blk figure {
        grid-area: 2 / 3 / 3 / 4;
    }

    #resultA .result-img_blk figure img {
        width: 90%;
        max-width: 170px;
    }

    #resultB .result-img_blk {
        display: grid;
        grid-template-columns: repeat(3, auto);
        grid-template-rows: auto 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    #resultB .result-img_blk h3 {
        grid-area: 1 / 1 / 2 / 4;
        justify-content: center;
        gap: 2.5rem;
    }

    #resultB .result-img_blk img {
        grid-area: 2 / 1 / 3 / 2;
        width: 365px;
    }

    #resultB .result-img_blk ol {
        grid-area: 2 / 2 / 3 / 3;
        width: 100%;
        flex-direction: column;
        margin-top: 0;
        padding-bottom: 2.4rem;
    }

    #resultB .result-img_blk ol li.result_in.result_in_rev {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    #resultB.result-content ol .result_in.result_in_rev .result-in_arrow {
        height: 44px;
        width: 70px;
        margin-right: 0;
        padding: 0 0 0 2rem;
        line-height: 44px;
    }

    #resultB.result-content ol .result_in.result_in_rev::after {
        margin-bottom: 0;
        width: 30px;
        height: calc(tan(60deg) * 70px / 2);
        clip-path: polygon(0 0, 100% 50%, 0 100%);
    }

    #resultB.result-content ol .result_out.result_out_rev {
        display: grid;
        grid-template-columns: 25% 1fr;
        grid-template-rows: repeat(3, auto);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    #resultB.result-content ol .result_out.result_out_rev::after {
        display: block;
        content: "";
        grid-area: 2 / 1 / 3 / 3;
        margin: 0 auto auto;
        background-color: #FFFFFF;
        width: 10px;
        height: calc(tan(60deg) * 20px / 2);
        clip-path: polygon(0 0, 100% 0, 50% 100%);
    }

    #resultB.result-content ol .result_out.result_out_rev .result-txt {
        grid-area: 1 / 1 / 2 / 3;
        width: 7vw;
        max-width: 106px;
        margin: auto auto 0;
    }

    #resultB.result-content ol .result_out.result_out_rev::before {
        grid-area: 3 / 1 / 4 / 2;
        width: 30px;
        height: calc(tan(60deg) * 70px / 2);
        clip-path: polygon(0 50%, 100% 0, 100% 100%);
        margin: 0 0 0 auto;
    }

    #resultB.result-content ol .result_out.result_out_rev .result-out_arrow {
        grid-area: 3 / 2 / 4 / 3;
        height: 44px;
        margin-left: -1px;
        padding: 0 1rem 0 0;
        line-height: 44px;
        position: relative;
        z-index: 1;
    }

    #resultB .result-img_blk .result-product_blk {
        grid-area: 2 / 3 / 3 / 4;
        width: 308px;
    }

    #resultC :is(.result-in_blk, .result-out_blk) {
        margin-right: 2rem;
        max-width: 202px;
        margin-bottom: 0;
        padding: 2.4rem;
        font-size: 1.6rem;
    }

    #resultC ol .result-out_blk {
        gap: 1.6rem;
    }
}

/* PC版での初期表示調整 */
@media (min-width: 768px) {
    .question-card.active {
        /* PC版ではactiveクラスがあってもdisplay: block */
        display: block;
    }

    .results-section .result-content:first-of-type {
        /* PC版では最初のタブをアクティブに */
        display: block;
    }
}

#reloadAndScrollLinkParam {
    display: inline-block;
    margin-top: 2.4rem;
    color: #0059A0;
    text-align: center;
    text-decoration: underline;
}
.chart-container:has(#question1.active) + #reloadAndScrollLinkParam {
    display: none;
}

@media (min-width: 768px) {
    #reloadAndScrollLinkParam {
        display: none;
    }
}