@charset "utf-8";

:root {
    --ff-noto-jp: "Noto Sans JP", sans-serif;
}

.top #search_box {
    margin-top: 0;
}

.comparison-mainVisual,
.comparison-mainVisual * {
    font-family: var(--ff-noto-jp);
    box-sizing: border-box;
    line-height: normal;
    letter-spacing: 0.05em;
}

.comparison-mainVisual {
    background-image: url('../topimg/bg_sitetop.png');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    padding-bottom: 20px;
}


.comparison-mainVisual__contents {
    padding-top: 12px;
    padding-left: 20px;
    padding-right: 20px;
}

/* MVコンテンツ上側 */
/* **************************************** */
.comparison-mainVisual__anniversary-image {
    width: 43.57%;
    height: auto;
}

.comparison-mainVisual__headline {
    width: 100%;
    margin-bottom: 14px;
}

.comparison-mainVisual__headline img {
    width: 80%;
    height: auto;
}

/* MVコンテンツ下側 */
/* **************************************** */
/* 共通スタイル */
.controls-common {
    width: 100%;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-left: 18px;
    padding-right: 18px;
    background-color: #fff;
    border: 1px solid #D93C5C;
    border-radius: 6px;
    color: #D93C5C;
}

.comparison-mainVisual__heading {
    margin-top: 0 !important;
    margin-bottom: 6px;
    padding: 0 !important;
    font-weight: 700;
    font-size: clamp(11px, calc(11 / 350 * 100vw), 14px) !important;
    /* 最小11px最大14pxとし、画面幅によって文字サイズ変更 */
    background: transparent;
    color: #D93C5C;
    text-align: left;
}

.comparison-mainVisual__heading::before {
    content: '';
    display: inline-block;
    width: 18px;
    margin-bottom: -5px;
    margin-right: 4px;
    margin-left: 2px;
    height: 18px;
    background-image: url(../../../img/icon_pad.png);
    background-size: contain;
}

/* END 共通スタイル */

.comparison-mainVisual__custom-controls {
    margin-bottom: 10px;
    text-align: left;
}

.comparison-mainVisual__custom-controls a {
    font-size: 14px;
}

body.inu .comparison-mainVisual__button,
body.neko .comparison-mainVisual__button {
    margin-bottom: 18px;
}

/* 比較開始のボタン */
.comparison-mainVisual__button-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 7px;
    margin-bottom: -3px;
    background-color: #fff;
    /* アイコンのデフォルト色 */
    -webkit-mask-image: url(../../../img/icon_search.svg);
    mask-image: url(../../../img/icon_search.svg);
    mask-size: cover;
    transition: background-color 0.3s ease;
    /* 色変更のトランジション */
}

.comparison-mainVisual__button a:active .comparison-mainVisual__button-icon {
    background-color: #D93C5C;
    /* ホバー時のアイコン色 */
}

.comparison-mainVisual__button a {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #D93C5C;
    border-radius: 50px;
    color: #fff !important;
    font-weight: bold;
    font-size: clamp(12px, calc(12 / 350 * 100vw), 16px) !important;
    /* 最小12px最大16pxとし、画面幅によって文字サイズ変更 */
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    /* 透明の枠を事前に設定 */
}

.comparison-mainVisual__button a:active {
    background-color: #fff;
    color: #D93C5C !important;
    border-color: #D93C5C;
    /* ホバー時に枠の色を変更 */
    opacity: 1 !important;
}

/* END 比較開始のボタン */

/* SPトップ PS保険FVのロゴ掲載施策 */
/* *************************************** */
.comparison-mainVisual__promo-banner {
    margin-top: 24px;
}

.comparison-mainVisual__heading.promotion-heading {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    line-height: 1;
    color: #D93C5C;
}

.comparison-mainVisual__heading.promotion-heading::before {
    content: none;
}

.comparison-mainVisual__heading.promotion-heading::before,
.comparison-mainVisual__heading.promotion-heading::after {
    width: 2px;
    height: 14px;
    content: "";
    margin-bottom: -1px;
    background-color: #D93C5C;
}

.comparison-mainVisual__heading.promotion-heading::before {
    margin-right: 0.5em;
    transform: rotate(-30deg);
}

.comparison-mainVisual__heading.promotion-heading::after {
    margin-left: 0.5em;
    transform: rotate(30deg);
}

.comparison-mainVisual__logo {
    margin-top: 10px;
}

.comparison-mainVisual__logoLink {
    display: flex;
    justify-content: center;
    align-items: center;
}

.comparison-mainVisual__logoLink img {
    border-radius: 6px;
}

/* END SPトップ PS保険FVのロゴ掲載施策 */

.controls-common .select_boxs {
    justify-content: flex-start;
}

.comparison-mainVisual__controls {
    width: 60%;
}

/* カスタム */
.radio-buttons {
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

/* ラジオボタンのデフォルトスタイル */
.radio-buttons input[type="radio"] {
    position: absolute;
    opacity: 0;
    /* デフォルトのラジオボタンを隠す */
    width: 18px;
    height: 18px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* ラジオボタンのカスタムスタイル */
.radio-buttons .radio-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 100px;
    max-width: 120px;
    width: 28.57%;
    background-color: #fff;
    /* デフォルト背景色 */
    border: 1px solid #D93C5C;
    /* 外枠の色 */
    border-radius: 25px;
    cursor: pointer;
    font-size: clamp(12px, calc(12 / 350 * 100vw), 14px) !important;
    /* 最小12px最大14pxとし、画面幅によって文字サイズ変更 */
    padding-top: 5px;
    padding-bottom: 6px;
    padding-left: 30px;
    /* テキストとチェックマークの間隔 */
}

/* チェックマークの外枠スタイル (非チェック時の外枠) */
.radio-buttons .radio-container::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border: 1px solid #D93C5C;
    /* 外枠の色 */
    border-radius: 50%;
    background: transparent;
    /* 初期背景は透明 */
}

/* チェックされたときのスタイル (内部の円) */
.radio-buttons input[type="radio"]:checked+.radio-container::after {
    content: '';
    position: absolute;
    left: 12px;
    /* 中心の黒い円の位置調整 */
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    /* 中心の黒い円のサイズ */
    height: 8px;
    background-color: #D93C5C;
    /* 中心の円の色 */
    border-radius: 50%;
}

/* チェックされたときの外枠のスタイル */
.radio-buttons input[type="radio"]:checked+.radio-container::before {
    border-color: #D93C5C;
    /* 選択時の外枠色 */
    background-color: #fff;
    /* 選択時の背景色 (外枠内部) */
}

/* チェックされたときのラベルのスタイル */
.radio-buttons input[type="radio"]:checked+.radio-container {
    background-color: #FFEAEA;
}

/* select */
/* **************************************** */
.controls-common .select_boxs {
    display: flex;
    margin-bottom: 16px;
    position: relative;
}

.select_box .select-wrapper {
    position: relative;
}

.select_box .select-wrapper::before,
.select_box .select-wrapper::after {
    position: absolute;
    content: '';
    pointer-events: none;
}

.select_box .select-wrapper::before {
    position: absolute;
    top: 50% !important;
    right: 1px !important;
    transform: translateY(-50%) !important;
    display: inline-block;
    width: 1.94em;
    height: 34px;
    border-radius: 0 6px 6px 0;
    background-color: #FFEAEA;
    border-left: 1px solid #D93C5C !important;
    content: '';
}

.select_box .select-wrapper::after {
    position: absolute;
    top: 25% !important;
    right: 1em !important;
    transform: translate(40%, 80%) rotate(45deg) !important;
    width: 5px !important;
    height: 5px !important;
    border-bottom: 1px solid #D93C5C !important;
    border-right: 1px solid #D93C5C !important;
    content: '';
}

.select_wrap .select_box::after {
    content: none;
}

.select_box select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100% !important;
    height: 36px;
    margin-bottom: 0 !important;
    padding: .2em 3.6em .4em .8em;
    border: 1px solid #D93C5C;
    border-radius: 6px;
    background: #fff;
    color: #D93C5C;
    font-size: clamp(12px, calc(12 / 350 * 100vw), 14px) !important;
    text-indent: 0;
    cursor: pointer;
    box-sizing: border-box;
}

.select_box select:focus {
    outline: 1px solid #D93C5C;
}

.comparison-mainVisual__custom-controls .select_boxs .select_box {
    width: 65%;
    min-width: 173px;
    max-width: 180px;
}

.comparison-mainVisual__custom-controls .select_boxs .select_box:last-child {
    width: 35%;
    min-width: 93px;
    max-width: 100px;
    margin-left: 6px;
}

/* プリセット */
.heading-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 12px;
}

.heading-container .comparison-mainVisual__heading {
    margin-right: 10px;
    margin-bottom: 4px;
}

.heading-container .attention {
    color: #D93C5C;
    font-size: 10px;
}

.search_tags {
    flex-direction: column;
    justify-content: flex-start !important;
    gap: 10px;
    margin: 0 !important;
}

.search_tags .preset-tag {
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 9px 36px 9px 8px !important;
    color: #D93C5C;
    border: 1px solid #ef004c;
    border-radius: 6px !important;
    background: #fff !important;
    cursor: pointer;
    font-size: clamp(12px, calc(12 / 350 * 100vw), 14px) !important;
}

.search_tags .preset-tag::after {
    position: absolute;
    top: 50%;
    right: 0.4em;
    transform: translate(-50%, -60%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #D93C5C;
    border-right: 2px solid #D93C5C;
    content: '';
}

.search_tags label:not(:last-child) {
    margin-right: 0 !important;
}