/*----------------------------------------------------------
▼ ページタイトル
----------------------------------------------------------*/
h1 {
    color: #000000;
    font-style: normal;
    font-weight: normal;
    font-size: 34px;
    line-height: 140%;
    letter-spacing: 0;
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #ccc;
    position: relative;
    padding-top: 30px;
    font-weight: 500;
}
h1::before {
    position: absolute;
    content: "";
    background: url(/vivr/assets/img/lin_title.png) no-repeat;
    width: 140px;
    height: 4px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    z-index: 1;
    letter-spacing: 0;
}
.guide {
    margin: 23px auto 20px;
    text-align: center;
    font-size: 16px;
}
.vivr {
    margin: 0 auto 80px;
    width: 100%;
    max-width: 990px;
}
@media (max-width: 1023px) {
    .vivr {
        margin: 0 auto 60px;
        padding: 0 15px;
        box-sizing: border-box;
    }
}

/*----------------------------------------------------------
 ▼ 共通パーツ
----------------------------------------------------------*/

.text-link {
    color: #008AFF;
}
.text-link:hover {
    text-decoration: underline;
}
.has-external-icon::after {
    content: "　";
    background: url("/vivr/assets/img/common/ico_other_tab_black.svg") no-repeat center;
    background-size: contain;
    width: 18px;
    height: 18px;
    vertical-align: bottom;
    display: inline-block;
}
@media (max-width: 767px) {
    .has-external-icon::after {
        width: 14px;
        height: 14px;
    }
}
/*----------------------------------------------------------
 ▼ ユーティリティ
----------------------------------------------------------*/
.mt5 {
    margin-top: 5px;
}
.mt15 {
    margin-top: 15px;
}
.mt20 {
    margin-top: 20px;
}
.mb5 {
    margin-bottom: 5px;
}
.mb10 {
    margin-bottom: 10px;
}
.mb20 {
    margin-bottom: 20px;
}
.mb50 {
    margin-bottom: 50px;
}
.bold {
    font-weight: 700;
}
.underline {
    text-decoration: underline;
}
.red {
    color: #FF4433;
}
.right {
    text-align: right;
}
.pcOnlyInline {
    display: inline;
}
.spOnlyInline {
    display: none;
}
@media (max-width: 767px) {
    .pcOnlyInline {
        display: none;
    }
    .spOnlyInline {
        display: inline;
    }
}

/*----------------------------------------------------------
 ▼ メニューページ
----------------------------------------------------------*/
.menu {
    max-width: 990px;
    margin: 0 auto 30px;
}
.menu .upper {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #CCC;
    border-radius: 10px 10px 0 0;
    padding: 15px 30px;
    background: #FFFAF0;
}
.menu .upper h3 {
    font-size: 28px;
    font-weight: bold;
    flex: 1;
}
.menu .under {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border: 1px solid #CCC;
    border-top: 0;
    border-radius: 0 0 10px 10px;
}
.menu .under > p.attention {
    color: #FF4433;
    text-decoration: underline;
    font-weight: bold;
    width: 100%;
    margin-bottom: 20px;
}
.menu .under > p {
    line-height: 1.5;
}
.menu .under .btn-red {
    box-sizing: border-box;
    width: 315px;
}

@media (max-width: 767px) {
    h1 {
        font-size: 25px;
        line-height: 1.4;
        padding: 20px 0;
        margin: 0 -15px;
    }
    .guide {
        text-align: left;
        font-size: 14px;
        line-height: 1.5;
    }
    .menu .upper {
        padding: 15px;
    }
    .menu .upper h3 {
        font-size: 18px;
    }
    .menu .under {
        padding: 15px;
        flex-wrap: nowrap;
        flex-direction: column;
        gap: 10px;
    }
    .menu .under > p {
        width: 100%;
        line-height: 1.5;
        font-size: 14px;
    }
    .menu .under > p.attention {
        margin-bottom: 0;
    }
    .menu .under .btn_wrap {
        width: 100%;
    }
    .menu .under .btn-red {
        margin: 0 auto;
        width: 100%;
        max-width: 315px;
    }
}
@media (max-width: 374px) {
    h1 {
        font-size: 22px;
    }
}

/*----------------------------------------------------------
 ▼ お手続きページ
----------------------------------------------------------*/
.contents {
    max-width: 990px;
    margin: 20px auto 0;
}
.content-wrap {
    margin: 0 0 50px;
}
.content-wrap:last-of-type {
    margin-bottom: 0;
}
.content-wrap h3 {
    display: block;
    padding: 10px 20px;
    background: #FFFAF0;
    border: 1px solid #E6E5E0;
    border-left: 8px solid #878787;
    border-radius: 5px;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0.5%;
    font-weight: 500;
}
.content {
    margin-top: 15px;
}
.content p {
    line-height: 1.5;
}
.content ul {
    margin: 15px 0;
}
.content ul li {
    line-height: 1.5;
    padding-left: 16px;
    text-indent: -16px;
}
.content ul li p {
    font-size: 14px;
    padding-left: 14px;
    text-indent: -14px;
}
.content .btn-red {
    box-sizing: border-box;
    width: 360px;
    margin: 15px auto;
}
.content .btn-red a {
    box-sizing: border-box;
}
.content .btn-red.two-lines a {
    font-size: 18px;
}
.content .btn-red a .normal {
    font-weight: 300;
    font-size: 15px;
}
.content .additional-text {
    font-size: 14px;
    padding-left: 14px;
    text-indent: -14px;
}
.content .wid-button-text {
    margin: 0 auto;
    font-size: 14px;
    width: 360px;
}
.content .additional-text.no-indent {
    text-indent: 0;
}

@media (max-width: 767px) {
    .contents.phone-area {
        margin: 20px -15px 0;
    }
    .content-wrap {
        margin: 0 0 30px;
    }
    .content .wid-button-text {
        width: 100%;
        max-width: 345px;
    }
    .content-wrap h3 {
        font-size: 18px;
    }
    .content p {
        font-size: 14px;
    }
    .content ul li {
        font-size: 14px;
        padding-left: 14px;
        text-indent: -14px;
    }
    .content ul li p {
        font-size: 12px;
        padding-left: 12px;
        text-indent: -12px;
    }
    .content .additional-text {
        font-size: 12px;
        padding-left: 12px;
        text-indent: -12px;
    }
    .content .btn-red {
        width: 100%;
        max-width: 345px;
    }
}
@media (max-width: 360px) {
    .content .btn-red {
        font-size: 14px;
    }
}

/*----------------------------------------------------------
 ▼ お手続きページ（お電話でのお問合せ）
----------------------------------------------------------*/
.phone-content-wrap {
    padding: 90px 100px 40px;
    border-radius: 10px;
    background: #F9F7EE;
}
.phone-content {
    background: #FFFFFF;
    padding: 20px;
    position: relative;
    border-radius: 10px;
    z-index: 2;
    box-shadow: 0px 0px 25px 0px rgba(50, 50, 50, 0.1);
}
.phone-content::before {
    content: "";
    display: block;
    width: 100px;
    height: 100px;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    border-radius: 50%;
    background: #FFF url(/vivr/assets/img/common/ico_tel.svg) no-repeat;
    background-size: 30px;
    background-position-x: 36px;
    background-position-y: 17px;
    box-shadow: 0px -14px 25px -10px rgba(50, 50, 50, 0.1)
}
.phone-content > h3 {
    font-size: 24px;
    color: #12A73B;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 2px solid #12A73B;
    margin-bottom: 30px;
    text-align: center;
}
.phone-content .heading {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #12A73B;
    margin-bottom: 30px;
}
.phone-content .heading > span {
    color: #12A73B;
    font-weight: 700;
    font-size: 15px;
}
.phone-content .heading > b {
    color: #F3994F;
    font-size: 20px;
}
.phone-content .phone-number-wrap {
    display: flex;
    gap: 10px;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 10px;
}
.phone-content .phone-number-wrap.border {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #CCCCCC;
}
.phone-content .phone-number-wrap.has-width {
    width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.phone-content .phone-number-wrap > p {
    align-self: center;
    margin-right: 20px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 5%;
}
.phone-content .phone-number-info {
    margin: 5px auto;
    width: 300px;
    line-height: 1.5;
}
.phone-content .phone-number-info-block {
    margin: 10px auto 0;
    display: flex;
    gap: 10px;
    align-items: start;
    justify-content: center;
}
.phone-content .phone-number-info-block > p {
    line-height: 1.5;
}
.phone-content .phone-number-info span {
    font-weight: 700;
}
.phone-content .phone-number-text {
    font-weight: 700;
    line-height: 1.5;
}
.phone-content .phone-number-text b {
    font-size: 45px;
    font-family: 'Lato', sans-serif;
    line-height: 1;
    letter-spacing: 0;
    margin-right: -5px;
}
.phone-content .phone-content-inner {
    margin: 30px 0 10px;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    line-height: 1.5;
    padding: 30px;
}
.phone-content .phone-content-inner h4 {
    padding: 5px 10px;
    background: #F9F7EE;
    border-left: 5px solid #99CC00;
    font-weight: 700;
    margin-bottom: 10px;
}
.phone-content .phone-content-inner p.indent {
    padding-left: 22px;
    text-indent: -22px;
}
.phone-content .phone-number-attention {
    line-height: 1.5;
    font-size: 14px;
    padding-left: 14px;
    text-indent: -14px;
}
.phone-content-wrap .phone-attention {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
}
.under-attentions {
    background: #F3F3F3;
    padding: 30px;
    border-radius: 10px;
    margin-top: 15px;
}
.under-attentions h4 {
    color: #FF4433;
    text-align: center;
    text-decoration: underline;
    font-weight: 700;
    margin-bottom: 25px;
}
.under-attentions p {
    line-height: 1.5;
}
.under-attentions p:not(.no-indent) {
    padding-left: 16px;
    text-indent: -16px;
}
@media (max-width: 1023px) {
    .under-attentions p > br {
        display: none;
    }
    .phone-content-wrap {
        padding: 90px 15px 40px;
    }
}
@media (max-width: 767px) {
    .phone-content-wrap {
        border-radius: 0;
    }
    .phone-content > h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .phone-content .heading {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 20px;
    }
    .phone-content .phone-number-info {
        font-size: 12px;
        width: 222px;
    }
    .phone-content .phone-number-info-block > p {
        font-size: 12px;
    }
    .phone-content .phone-content-inner {
        padding: 15px;
        border-radius: 5px;
    }
    .phone-content .phone-content-inner h4 {
        font-size: 16px;
    }
    .phone-content .phone-number-text {
        text-align: center;
    }
    .phone-content .phone-number-wrap.has-width {
        width: 100%;
        max-width: 400px;
        flex-wrap: wrap;
    }
    .phone-content .phone-number-wrap.has-width > p {
        width: 100%;
        margin: 0 0 -5px;
        text-align: center;
    }
    .phone-content .phone-number-wrap img {
        width: 35px;
    }
    .phone-content .phone-number-text a {
        font-size: 35px;
        margin-right: 0;
        font-family: 'Lato', sans-serif;
        line-height: 1;
        letter-spacing: 0;
    }
    .phone-content .phone-number-attention {
        font-size: 12px;
        padding-left: 12px;
        text-indent: -12px;
    }
    .phone-content .phone-content-inner {
        font-size: 14px;
    }
    .phone-content .phone-content-inner p.indent {
        padding-left: 19px;
        text-indent: -19px;
    }
    .phone-content .phone-content-inner p.indent span.indent {
        display: inline-block;
        padding-left: 16px;
        text-indent: -16px;
    }
    .phone-content-wrap .phone-attention {
        padding-left: 16px;
        text-indent: -16px;
    }
    .under-attentions {
        padding: 25px 15px;
    }
    .under-attentions h4 {
        margin-bottom: 15px;
    }
    .under-attentions p {
        font-size: 14px;
    }
    .under-attentions p:not(.no-indent) {
        padding-left: 14px;
        text-indent: -14px;
    }
}
@media (max-width: 374px) {
    .phone-content {
        padding: 20px 10px;
    }
    .phone-content .phone-number-text a {
        font-size: 32px;
    }
    .phone-content .phone-content-inner {
        padding: 10px;
    }
}

/*----------------------------------------------------------
 ▼ 資料請求 / 保険料試算エリア
----------------------------------------------------------*/
.document-request {
    margin: 50px 0;
}
.document-request ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.document-request ul li {
    position: relative;
    padding-left: 65px;
    width: 50%;
}
.document-request ul li:before{
    content: '';
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    top: 24px;
    left: 0;
    width: 45px;
    height: 60px;
}
.document-request li.document:before{
    background-image: url(/vivr/assets/img/common/ico_request_document.svg);
}
.document-request li.estimate:before {
    background-image: url(/vivr/assets/img/common/ico_request_estimate.svg);
}
.document-request ul li p {
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}
.document-request li a.btn {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 55px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
    line-height: 29px;
    text-align: center;
    padding: 10px 0;
}
.document-request li a.btn::before {
    content: '';
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    top: 50%;
    left: 20px;
    width: 21px;
    height: 12px;
    background-image: url(/vivr/assets/img/common/ico_line_arrow_wh.svg);
    transform: translateY(-50%);
}
.document-request li.document a.btn{
    background-color: #99CC00;
}
.document-request li.estimate a.btn{
    background-color: #FF9900;
}
.document-request li.document a.btn:hover,
.document-request li.estimate a.btn:hover {
    background-color: #FFFFFF;
}
.document-request li.document a.btn:hover {
    color: #99CC00;
    border: 2px solid #99CC00;
}
.document-request li.document a.btn:hover::before {
    background-image: url(/vivr/assets/img/common/ico_line_arrow_green.png);
}
.document-request li.estimate a.btn:hover {
    color: #FF9900;
    border: 2px solid #FF9900;
}
.document-request li.estimate a.btn:hover::before {
    background-image: url(/vivr/assets/img/common/ico_line_arrow_orange.png);
}
.document-request p.attention {
    text-align: right;
    margin-top: 15px;
}
.document-request .attention a {
    position: relative;
    padding-left: 30px;
    padding-right: 20px;
    line-height: 1.5;
    letter-spacing: 5%;
    color: #008AFF;
}
.document-request .attention a:hover {
    text-decoration: underline;
}
.document-request .attention a:before {
    content: '';
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    top: 2px;
    left: 0;
    width: 20px;
    height: 20px;
    background-image: url(/vivr/assets/img/common/ico_request_info.png);
}
.document-request .attention a:after {
    content: '';
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    top: 6px;
    right: 0;
    width: 10px;
    height: 15px;
    background-image: url(/vivr/assets/img/common/ico_arrow03.svg);
}

@media (max-width: 767px){
    .document-request {
        margin: 30px 0;
    }
    .document-request ul {
        gap: 15px;
    }
    .document-request ul li:before {
        top: 5px;
        width: 25px;
    }
    .document-request ul li {
        padding: 0;
    }
    .document-request ul li p {
        width: auto;
        font-size: 16px;
        font-style: normal;
        text-align: left;
        padding-left: 35px;
    }
    .document-request ul li a.btn {
        height: 40px;
        font-size: 16px;
        font-style: normal;
        padding: 5px 0;
    }
    .document-request ul li a.btn:before {
        left: 10px;
    }
}
@media (max-width: 374px) {
    .document-request ul li p {
        font-size: 13px;
    }
    .document-request li a.btn:before {
        width: 19px;
    }
    .document-request ul li a.btn {
        padding-left: 15px;
    }
}
