@charset "utf-8";

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

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

.inu .comparison-mainVisual,
.neko .comparison-mainVisual {
    margin-bottom: 24px;
}

.comparison-mainVisual {
    background-image: url('../img/bg_sitetop.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 1980px auto;
    height: 470px;
}

.comparison-mainVisual__contents {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1000px;
    width: 100%;
    margin: auto;
    padding-top: 16px;
    padding-left: 8px;
    padding-right: 8px;
}

/* .inu .comparison-mainVisual__contents,
.neko .comparison-mainVisual__contents {
    align-items: center;
    margin-bottom: 30px;
    padding-top: 40px;
} */

/* MVコンテンツ左側 */
/* **************************************** */

.comparison-mainVisual__feature {
    width: 36.6%;
}

.comparison-mainVisual__anniversary-image {
    margin-bottom: 10px;
    padding-top: 13px;
}

.comparison-mainVisual__headline {
    margin-top: 0;
    margin-bottom: 6px;
}

.comparison-mainVisual__promo-banner {
    max-width: 305px;
    width: 100%;
}

.comparison-mainVisual__promo-banner a {
    display: flex;
    box-shadow: 4px 10px 8px -6px #b8b8b8;
}

.comparison-mainVisual__promo-banner img {
    display: inline-block;
    width: 100%;
    height: auto;
}

.inu .comparison-mainVisual__headline img,
.neko .comparison-mainVisual__headline img{
    width: 90%;
}

/* MVコンテンツ右側 */
/* **************************************** */

/* 共通スタイル */
.controls-common {
    width: 100%;
    padding-top: 28px;
    padding-bottom: 22px;
    padding-left: 40px;
    padding-right: 40px;
    border: 1px solid #ccc;
    background-color: #fff;
    border: 2px solid #D93C5C;
    border-radius: 10px;
    color: #D93C5C;
}

.comparison-mainVisual__heading {
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 16px;
}

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

/* END 共通スタイル */

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

/* 比較開始のボタン */
body.inu .comparison-mainVisual__button,
body.neko .comparison-mainVisual__button {
    margin-bottom: 20px;
}

.comparison-mainVisual__button-icon {
    display: inline-block;
    width: 21px;
    height: 21px;
    margin-right: 5px;
    margin-bottom: -4px;
    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:hover .comparison-mainVisual__button-icon {
    background-color: #D93C5C;
    /* ホバー時のアイコン色 */
}

.comparison-mainVisual__button a {
    display: inline-block;
    width: 100%;
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #D93C5C;
    border-radius: 50px;
    color: #fff !important;
    font-weight: bold;
    font-size: 18px;
    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:hover {
    background-color: #fff;
    color: #D93C5C !important;
    border-color: #D93C5C;
    /* ホバー時に枠の色を変更 */
    opacity: 1 !important;
}

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

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

.comparison-mainVisual__controls {
    width: 60%;
}

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

/* ラジオボタンのデフォルトスタイル */
.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;
    width: 150px;
    background-color: #fff;
    /* デフォルト背景色 */
    border: 1px solid #D93C5C;
    /* 外枠の色 */
    border-radius: 25px;
    cursor: pointer;
    font-size: 18px;
    padding-top: 7px;
    padding-bottom: 8px;
    padding-left: 38px;
    /* テキストとチェックマークの間隔 */
}

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

/* チェックされたときのスタイル (内部の円) */
.radio-buttons input[type="radio"]:checked+.radio-container::after {
    content: '';
    position: absolute;
    left: 13px;
    /* 中心の黒い円の位置調整 */
    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 */
/* **************************************** */
.select_box {
    position: relative;
}

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

.select_box::before {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-6px);
    display: inline-block;
    width: 2.2em;
    height: 43px;
    border-radius: 0 6px 6px 0;
    background-color: #FFEAEA;
    border: 1px solid #D93C5C;
    border-top: none;
    border-bottom: none;
    content: '';
    box-sizing: border-box;
}

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

.select_box select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 45px;
    padding: .2em 3.6em .4em .8em;
    border: 1px solid #D93C5C;
    border-radius: 6px;
    background: #fff;
    color: #D93C5C;
    font-size: 18px;
    cursor: pointer;
}

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

.comparison-mainVisual__custom-controls .select_boxs .select_box:last-child {
    width: 147px;
    margin-left: 20px;
}

.pet-breed-select {
    width: 278px;
}

.pat-age-select {
    width: 147px !important;
}

/* プリセット */
.heading-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.heading-container .comparison-mainVisual__heading {
    margin-right: 1rem;
}

.heading-container .attention {
    margin-bottom: 8px;
    color: #D93C5C;
    font-size: 14px;
}

.search_tags {
    justify-content: flex-start !important;
}

.search_tags .preset-tag {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
    padding: 2px 36px 2px 0 !important;
    color: #D93C5C;
    border-radius: 0 !important;
    background: #fff !important;
    cursor: pointer;
    font-size: 18px;
}

.search_tags .preset-tag:not(:last-child) {
    border-right: 1px solid #FFCDCD;
    margin-right: 12px;
}

.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: '';
}