@charset "UTF-8";

/*base.css 上書き*/
body {
    font-size: 16px;
    line-height: 1.8;
}

body * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body a {
    color: #333;
}

body a:hover {
    opacity: 0.8;
}

/* common */
.contents_wrap * {
    box-sizing: border-box;
}

.content {
    max-width: 840px;
    margin: auto;
    padding: 10px 20px;
}

.content img {
    max-width: 100%;
    height: auto;
}

/* contents */
.sub_ttl {
    font-size: 14px;
}

.content h1 {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: bold;
}

.main_ttl {
    font-weight: bold;
    font-size: 30px;
    line-height: 1.3;
}

.mv {
    margin: 20px -20px;
}

.contents_list {
    background: #F2F2F2;
    padding: 20px;
}

.contents_list p {
    max-width: 360px;
    margin: auto;
    font-weight: bold;
    font-size: 18px;
}

.contents_list ol {
    max-width: 360px;
    margin: auto;
    counter-reset: number 0;
}

.contents_list ol li {
    position: relative;
    margin: 16px 0;
    padding-left: 20px;
    line-height: 1.2;
}

.contents_list ol li::before {
    counter-increment: number 1;
    content: counter(number) ".";
    position: absolute;
    left: 0;
}

section[class^="content0"] {
    margin: 40px auto;
}

section[class^="content0"] h2 {
    border-left: 8px solid #18BE7E;
    padding: 5px 0 5px 24px;
    margin-bottom: 32px;
    line-height: 1.3;
    font-weight: bold;
    font-size: 24px;
}

section[class^="content0"] h3 {
    position: relative;
    padding-left: calc(1em + 8px);
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
}

section[class^="content0"] h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 1em;
    height: 1em;
    background: #18BE7E;
    border-radius: 4px;
}

section[class^="content0"] p {
    margin-bottom: 24px;
}

section[class^="content0"] em {
    color: #EC0000;
    font-weight: bold;
}

section[class^="content0"] .image_photo {
    margin: 32px auto;
}

section[class^="content0"] div[class^="graph0"] {
    margin-bottom: 32px;
}

section[class^="content0"] .graph01 ul.detail {
    border: 1px solid #F2F2F2;
    padding: 28px 20px;
}

section[class^="content0"] .graph01 ul.detail li:first-child {
    margin-bottom: 24px;
}

section[class^="content0"] .graph01 ul.att li {
    margin-top: 8px;
    display: table;
    font-size: 12px;
}

section[class^="content0"] .graph01 ul.att li span {
    display: table-cell;
    width: 2em;
}

section[class^="content0"] .graph02 div {
    border: 1px solid #F2F2F2;
    padding: 28px 20px;
    text-align: center;
}

section[class^="content0"] .graph02 p {
    margin-top: 8px;
    font-size: 12px;
}

section[class^="content0"] .graph03 {
    border: 1px solid #F2F2F2;
    padding: 28px 20px;
    text-align: center;
}

section[class^="content0"] .graph03 picture:nth-of-type(2) {
    display: block;
    margin: 14px auto;
}

section[class^="content0"] .graph04 .inner {
    border: 1px solid #F2F2F2;
    padding: 28px 20px;
}

section[class^="content0"] .graph04 p.ttl {
    background: #E6E6E6;
    padding: 6px;
    border-radius: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

section[class^="content0"] .graph04 .graph span {
    display: block;
    font-size: 12px;
    text-align: right;
}

section[class^="content0"] .graph04 .graph_description ul {
    display: flex;
    flex-wrap: wrap;
}

section[class^="content0"] .graph04 .graph_description ul li {
    position: relative;
    width: 50%;
    padding-left: 20px;
    font-size: 14px;
}

section[class^="content0"] .graph04 .graph_description ul li::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background: #AAA;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

section[class^="content0"] .graph04 .graph_description.anxiety li:first-child {
    width: 60%;
}

section[class^="content0"] .graph04 .graph_description.anxiety li:first-child::before {
    background: #EB5533;
}

section[class^="content0"] .graph04 .graph_description.anxiety li:nth-child(2) {
    width: 40%;
}

section[class^="content0"] .graph04 .graph_description.anxiety li:nth-child(2)::before {
    background: #F29581;
}

section[class^="content0"] .graph04 .graph_description.anxiety li:nth-child(3) {
    width: 60%;
}

section[class^="content0"] .graph04 .graph_description.anxiety li:nth-child(3)::before {
    background: #F7BCAF;
}

section[class^="content0"] .graph04 .graph_description.anxiety li:nth-child(4) {
    width: 40%;
}

section[class^="content0"] .graph04 .graph_description.anxiety li:nth-child(4)::before {
    background: #8EBBE6;
}

section[class^="content0"] .graph04 .graph_description.preparation li:first-child::before {
    background: #EB5533;
}

section[class^="content0"] .graph04 .graph_description.preparation li:nth-child(2)::before {
    background: #8EBBE6;
}

section[class^="content0"] .graph04 .note {
    font-size: 12px;
}

section[class^="content0"] ul.merit {
    border: 1px solid #F2F2F2;
    padding: 28px 20px;
    margin-bottom: 32px;
}

section[class^="content0"] ul.merit li {
    position: relative;
    margin-bottom: 24px;
    padding-left: 15px;
}

section[class^="content0"] ul.merit li::before {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background: #666;
}

section[class^="content0"] ul.merit li:last-child {
    margin-bottom: 0;
}

section[class^="content0"] .btn_block a {
    display: block;
    text-decoration: none;
    text-align: center;
}

section[class^="content0"] .btn_block ul li {
    margin-bottom: 16px;
}

section[class^="content0"] .btn_block ul li.consul p {
    margin-bottom: 5px;
    text-align: center;
}

section[class^="content0"] .btn_block ul li.consul p span {
    display: inline-block;
    position: relative;
    padding: 0 10px;
    line-height: 1;
}

section[class^="content0"] .btn_block ul li.consul p span::after,
section[class^="content0"] .btn_block ul li.consul p span::before {
    content: "";
    width: 2px;
    height: 100%;
    background: #333;
    position: absolute;
    bottom: 0;
}

section[class^="content0"] .btn_block ul li.consul p span::before {
    left: 0;
    transform: rotate(-30deg);
}

section[class^="content0"] .btn_block ul li.consul p span::after {
    right: 0;
    transform: rotate(30deg);
}

section[class^="content0"] .btn_block ul li.consul a {
    background: #FD5925;
    border-radius: 35px;
    box-shadow: 0px 4px 8px #33333333;
    padding: 20px;
    line-height: 1;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

section[class^="content0"] .btn_block ul li.materials a {
    background: #fff;
    border: 1px solid #FD5925;
    border-radius: 35px;
    box-shadow: 0px 4px 8px #33333333;
    padding: 20px;
    line-height: 1;
    color: #FD5925;
    font-size: 18px;
    font-weight: bold;
}

section[class^="content0"] .btn_block .ranking {
    margin-top: 28px;
}

section[class^="content0"] .btn_block .ranking a {
    background: #F2F2F2;
}

section[class^="content0"] .btn_block .ranking a span {
    position: relative;
    display: block;
    padding: 15px;
    font-size: 14px;
}

section[class^="content0"] .btn_block .ranking a span::after {
    content: "";
    position: absolute;
    top: 40%;
    right: 20px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transform: rotate(135deg);
}

/* 個人年金保険3選 */
.ranking_wrapper {
    background: #F2F2F2;
}

.ranking_wrapper .ranking > li {
    background: #fff;
    border-radius: 30px;
    padding: 20px;
    margin: 32px auto;
}

.ranking_wrapper .ranking > li .item_wrap {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 50px auto 32px;
}

.ranking_wrapper .ranking > li .item_wrap::before {
    content: "";
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-size: 100%;
    position: absolute;
    top: -40px;
    left: calc((142px - 32px)/2);
}

.ranking_wrapper .ranking > li:first-child .item_wrap::before {
    background-image: url(images/no1_icon.webp);
}

.ranking_wrapper .ranking > li:nth-child(2) .item_wrap::before {
    background-image: url(images/no2_icon.webp);
}

.ranking_wrapper .ranking > li:nth-child(3) {
    margin-bottom: 10px;
}

.ranking_wrapper .ranking > li:nth-child(3) .item_wrap::before {
    background-image: url(images/no3_icon.webp);
}

.ranking_wrapper .ranking > li .logo {
    width: 142px;
}

.ranking_wrapper .ranking > li .logo figure {
    border: 1px solid #D1D1D1;
    padding: 16px;
}

.ranking_wrapper .ranking > li .name {
    width: calc(100% - 158px);
}

.ranking_wrapper .ranking > li .name p.company {
    margin-bottom: 16px;
}

.ranking_wrapper .ranking > li .name .item {
    font-weight: bold;
    font-size: 18px;
    line-height: 1.3;
}

.ranking_wrapper p.note {
    font-size: 12px;
    text-align: right;
}

.ranking_wrapper .content06 {
    margin-bottom: 24px;
}

@media screen and (min-width: 768px) {
    body {
        font-size: 18px;
    }

    .content {
        padding: 20px 40px;
    }

    .sub_ttl {
        font-size: 16px;
    }

    .content h1 {
        font-size: 20px;
    }

    .mv {
        margin: 24px -40px 32px;
    }

    .mv img {
        width: 100%;
        height: 350px;
        object-fit: cover;
    }

    section[class^="content0"] {
        margin-bottom: 64px;
    }

    section[class^="content0"] h2 {
        font-size: 28px;
    }

    section[class^="content0"] h3 {
        font-size: 20px;
    }

    section[class^="content0"] p {
        margin-bottom: 32px;
    }

    section[class^="content0"] .image_photo {
        margin: 40px auto;
    }

    section[class^="content0"] div[class^="graph0"] {
        margin-bottom: 40px;
    }

    section[class^="content0"] .graph01 ul.detail {
        padding: 28px 65px;
        display: flex;
        justify-content: space-between;
    }

    section[class^="content0"] .graph01 ul.detail li {
        width: 296px;
    }

    section[class^="content0"] .graph01 ul.detail li:first-child {
        margin-bottom: 0;
    }

    section[class^="content0"] .graph04 .inner {
        padding: 28px 30px;
        margin-bottom: 5px;
    }

    section[class^="content0"] .graph04 .graph_wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 470px;
        margin: auto;
    }

    section[class^="content0"] .graph04 .graph {
        width: 296px;
    }

    section[class^="content0"] .graph04 .graph_description ul {
        display: block;
    }

    section[class^="content0"] .graph04 .graph_description ul li {
        width: 100%;
        margin: 5px 0;
        font-size: 16px;
    }

    section[class^="content0"] .graph04 .graph_description.anxiety li:first-child,
    section[class^="content0"] .graph04 .graph_description.anxiety li:nth-child(2),
    section[class^="content0"] .graph04 .graph_description.anxiety li:nth-child(3),
    section[class^="content0"] .graph04 .graph_description.anxiety li:nth-child(4) {
        width: 100%;
    }

    section[class^="content0"] ul.merit {
        padding: 32px 20px;
    }

    section[class^="content0"] ul.merit li::before {
        top: 13px;
        width: 10px;
        height: 10px;
    }

    section[class^="content0"] .btn_block {
        padding: 0 30px;
    }

    section[class^="content0"] .btn_block ul {
        display: flex;
        gap: 30px;
        align-items: end;
    }

    section[class^="content0"] .btn_block ul li {
        width: calc((100% - 30px)/2);
        margin-bottom: 0;
    }

    section[class^="content0"] .btn_block .ranking a span {
        display: inline-block;
        padding: 24px;
        font-size: 16px;
    }

    section[class^="content0"] .btn_block .ranking a span br {
        display: none;
    }

    section[class^="content0"] .btn_block .ranking a span::after {
        right: -10px;
    }

    section.content01 .image_photo,
    section.content02 .image_photo {
        height: 320px;
    }

    section.content01 .image_photo img,
    section.content02 .image_photo img {
        width: 100%;
        height: 320px;
        object-fit: cover;
    }

    section.content02 .image_photo img {
        object-position: 50% 100%;
    }

    /* 個人年金保険3選 */
    .ranking_wrapper h2 br {
        display: none;
    }

    .ranking_wrapper .ranking > li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 40px 65px;
    }

    .ranking_wrapper .ranking > li .item_wrap {
        margin: 25px 0 0 0;
        width: 300px;
    }

    .ranking_wrapper .ranking .btn_block {
        width: 295px;
        padding: 0;
    }

    .ranking_wrapper .ranking .btn_block ul {
        display: block;
    }

    .ranking_wrapper .ranking .btn_block ul li {
        width: 100%;
        margin-bottom: 16px;
    }

    .ranking_wrapper .ranking .btn_block ul li:last-child {
        margin-bottom: 0;
    }
}
