
html,
body,
div,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
img,
dl,
dt,
dd,
ol,
ul,
li,
strong,
sub,
sup,
i,
small,
address,
time,
fieldset,
form,
label,
legend,
hr,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
header,
footer,
nav,
section,
article,
aside,
figure,
figcaption,
canvas,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-style: normal;
    font-weight: normal;
    vertical-align: baseline;
    text-decoration: none;
    }

article,
aside,
figure,
figcaption,
footer,
header,
nav,
section {
    display: block;
}

*,
*::before,
*::after {
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

ul,
ol,
li {
    list-style: none;
    }

input,
textarea,
button {
    margin: 0;
    padding: 0;
    font-size: 100%;
}

input[type="submit"],
input[type="button"],
button {
    cursor: pointer;
}

button{
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

.clearfix::after {
    display: block;
    clear: both;
    content: "";
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* a:visited{
    color: #fff;
} */

html {
    font-size: 62.5%
}

body{
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    color: #3c3c3c;
    position: relative;
    z-index: 0;
    background-color: #e8f8ff;
}
p{
    font-weight: 400;
}

main{
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 0;
    background-color: #fff;
}

.u-inline_block{
    display: inline-block;
}

.u-pc_block{
    display: block;
}

@media (max-width: 768px) {
    .u-pc_block{
        display: none;
    }
}
.u-sp_block{
    display: none;
}
@media (max-width: 768px) {
    .u-sp_block{
        display: block;
    }
}

.u-text__red{
    color: #FF0000; /* 赤 */
    font-weight: 700;
}

.u-section__paddingTop{
    padding-top: 60px;
}
@media (max-width: 768px) {
    .u-section__paddingTop{
        padding-top: 50px;
    }
}

.u-fcolor--red{
    color: #CB1717;
    font-weight: 700;
}
.u-fcolor--blue{
    color: #005cc7;
    font-weight: 700;
}

.u-text__line--yellow{
    background: linear-gradient(transparent 50%, #FFEF35 50%);
}

.u-mt30{
    margin-top: 30px;
}

.u-mb30{
    margin-bottom: 30px;
}

.u-fw500{
    font-weight: 500;
}

/* layout */

body{
    background-image: url(../img/pv_bg.webp);
    background-size: 100vw 100vh;
    background-attachment: fixed;
}

.l-main{
    max-width: 400px;
    margin: 0 auto;
    background-color: #fff;
    position: relative;
    z-index: 0;
}

.l-container{
    max-width: 640px;
    margin: 0 auto;
    padding: 24px 16px 0px;
    position: relative;
}


@media screen and (min-width: 500px) {
    .l-container{
        padding: 0 40px;
        margin: 0 auto;
    }
}

/* common */
.c-title{
    background-color: #88CD42;
    color: #fff;
    text-align: left;
    padding: 24px 16px;
    font-weight: 700;
    font-size: 24px;
    text-align: center;
}



/* fv下 */
/* ========== under FV ========== */
.l-under_fv {
    background-color: #ffffff;
}

.l-under_fv_lead {
    font-size: 15px;
    line-height: 23px;
    margin-bottom: 18px;
}

.l-under_fv_box {
    margin: 8px 0 24px;
    padding: 16px 14px;
    background-color: #FFFADE; /* 黄色 */
    border-radius: 8px;
}

.l-under_fv_list {
    list-style: none;
}

.l-under_fv_list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.6;
    /* 下線っぽい余白 */
    padding: 4px 0;
}

.l-under_fv_check {
    flex: 0 0 24px;
}

.l-under_fv_check img {
    display: block;
    width: 24px;
    height: auto;
}

.l-under_fv_list_text {
    flex: 1;
}

.l-under_fv_text {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 18px;
    font-weight: 500;
}

.l-under_fv_red {
    color: #FF0000; /* 赤 */
    font-weight: 700;
}


.l-merit_img,
.l-demerit_img {
  margin-bottom: 24px;
  margin-top: 30px;
}

.l-merit_img img,
.l-demerit_img img {
  width: 100%;
  display: block;
}

.l-merit_text,
.l-demerit_text {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
  width: 94%;
  margin: 0 auto;
  font-weight: 500;
}

.is-red {
  color: #FF0000;
  font-weight: 600;
}

.l-merit_wrap{
    position: relative;
    z-index: 1;
    padding-bottom: 20px;
}
.l-merit_wrap::before{
    content: "";
    width: 120%;
    height: 80%;
    bottom: 0;
    left: -10%;
    position: absolute;
    z-index: -1;
    background-color: #FEF1ED;
}
.l-demerit_wrap{
    position: relative;
    z-index: 1;
    padding-bottom: 30px;
}
.l-demerit_wrap::before{
    content: "";
    width: 120%;
    height: 80%;
    bottom: 0;
    left: -10%;
    position: absolute;
    z-index: -1;
    background-color: #FFFBDE;
}
.is-fz18{
    font-size: 18px;
    font-weight: 500;
}

/* 吹き出し部分 */
.l-ranking .c-title{
    position: relative;
    /* padding-top: 50px; */
}
    .c-title .fukidashi {
    padding: 1px 20px;
    background-color: #fff;
    color: #333;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    position: relative;
    display: block;
    width: 60%;
    margin: 0 auto;
    margin-bottom: 10px;
    font-size: 22px;
    }

    /* 吹き出しの三角 */
    .c-title .fukidashi::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 6px 0 6px;
    border-color: #fff transparent transparent transparent;
    }

    /* 「TOP3」を黄色にしたい場合（HTML側で span を追加） */
    /* 例）一括査定サイト<span class="c-title_accent">TOP3</span> */
    .c-title_accent {
    color: #FFEA65;
    }

    /* ラッパー：必要なら左右に余白をつける */
    .c-compare {
    }

    /* テーブル本体 */
    .c-compare_table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* 各列の幅を均等に */
    font-size: 12px;
    }

    /* 全セルの枠線 */
    .c-compare_table th,
    .c-compare_table td {
    border: 1px solid #e4e4e4;
    vertical-align: middle;
    font-weight: 500;
    }

    /* 上部ヘッダー部分 */
    .c-compare_head_blank {
    width: 20%;
    background: #fff;
    border-top: none;
    border-left: none;
    }

    .c-compare_head {
    width: 26.6%;
    padding: 8px 4px 12px;
    text-align: center;
    vertical-align: top;
    background: #ffffff;
    }

    .c-compare_head_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    }

    .c-compare_rank img {
    width: 60px;
    height: auto;
    }

    .c-compare_logo img {
    max-width: 78px;
    height: auto;
    }

    .c-compare_name {
    margin-top: 4px;
    font-weight: 700;
    line-height: 1.4;
    height: 30px;
    vertical-align: middle;
    }
    .c-compare_name.--1{
        line-height: 30px;
    }

    /* 「詳しくみる」ボタン */
    .c-compare_btn {
    display: inline-block;
    margin-top: 6px;
    padding: 6px 12px;
    font-size: 11px;
    background: #6AC24C; /* 緑ボタン色はお好みで */
    color: #fff;
    border-radius: 5px;
    font-weight: 700;
    }

    /* 左側の行見出し列 */
    .c-compare_rowhead {
    width: 20%;
    background: #FFF1F1; /* 薄ピンク */
    text-align: center;
    font-weight: 700;
    padding: 10px 4px;
    }

    /* 通常セル */
    .c-compare_cell {
    text-align: center;
    padding: 10px 6px;
    background: #ffffff;
    }

    /* アイコン＋テキスト縦並び */
    .c-compare_icon_text {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    }

    .c-compare_icon_text img {
    width: 22px;
    height: auto;
    }

    /* 改行多めのセル用（安心度・条件交渉） */
    .c-compare_icon_text--multi span {
    line-height: 1.4;
    font-weight: 500;
    }
    .c-compare_icon_text small{
        font-size: 9px;
    line-height: 1.3;
    }

    /* テキストだけのセル（「全国」「関西特化」など）の行間 */
    .c-compare_cell span,
    .c-compare_cell {
    line-height: 1.5;
    font-weight: 500;
    }

    /* 文字が潰れそうならSPだけフォント小さめに */
    @media (max-width: 480px) {
    .c-compare_table {
        font-size: 11px;
    }
    .c-compare_rank img {
        width: 52px;
    }
    .c-compare_logo img {
        max-width: 87px;
    }
    }
    .c-compare_head_blank {
    border-left: none !important;
    border-top: none !important;
    }

    /* 全体ラッパー */
    .l-recommend {
    padding: 24px 16px;

    }

    .c-recommend {
    max-width: 640px;
    margin: 0 auto;
    padding: 18px 16px 20px;
    border: 2px solid #ddd;
    background: #fff;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.16);
    }

    /* 行共通 */
    .c-recommend_row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 4px;
    }

    /* 手アイコン＋テキスト行 */
    .c-recommend_row--icon {
    justify-content: flex-start;
    }

    .c-recommend_icon {
    flex: 0 0 40px;
    }
    .c-recommend_icon img {
    width: 32px;
    height: auto;
    display: block;
    }

    .c-recommend_text {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 500;
    }

    /* 緑ライン */
    .c-recommend_divider {
    height: 2px;
    background: #76BF50; 
    }

    /* ロゴ行 */
    .c-recommend_row--logo {
    justify-content: center;
    margin-bottom: 20px;
    }

    /* ロゴ1つのとき（ナガ住ームのみ） */
    .c-recommend_row--logo img {
    max-height: 27px;
    width: auto;
    }

    /* ロゴ2つのとき */
    .c-recommend_row--logo2 img {
    max-height: 27px;
    }
    .c-recommend_row--logo2 {
    gap: 16px;
    }

    /* ロゴ3つのとき */
    .c-recommend_row--logo3 img {
    max-height: 21px;
    }
    .c-recommend_row--logo3 {
    gap: 12px;
    }

    /* 下の説明テキスト */
    .c-recommend_footer {
    margin-top: 14px;
    text-align: center;
    font-size: 13px;
    line-height: 1.7;
    }
    .p-detail{
        margin-top: 20px;
        padding-bottom: 50px;
    }
    .p-detail_head{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        font-size: 18px;
        border-bottom: solid 1px #C3C3C3;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    .p-detail_head img{
        width: 55px;
    }
    .p-detail_head p{
        font-weight: 600;
    }

        /* 全体ラッパー */
    .p-detail_recommend {
    position: relative;
    }

    /* 旗（POINT画像） */
    .p-detail_flag {
    position: absolute;
    left: 2%;
    top: -5%;
    }
    .p-detail_flag img {
    width: 90px; /* 必要に応じて調整 */
    height: auto;
    }

    /* 黄色背景のボックス */
    .p-detail_box {
    margin-top: 40px;
    padding: 24px 20px 20px 32px;
    background: #FFFADF;
    border-radius: 4px;
    margin-bottom: 20px;
    position: relative;
    }

    /* タイトル（おすすめポイント） */
    .p-detail_title {
    padding: 4px 14px;
    font-size: 19px;
    font-weight: 700;
    color: #88CD42;
    margin-bottom: 16px;
    text-align: center;

    }

    /* リスト部分 */
    .p-detail_list {
    list-style: none;
    margin: 0;
    padding: 0;
    }

    .p-detail_list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 8px;
    font-weight: 600;
    }

    .p-detail_list li img {
    width: 26px; /* チェック画像サイズ調整 */
    height: auto;
    flex-shrink: 0;
    }

    .p-detail_target {
        margin-top: 30px;
        margin-bottom: 20px;
    }

    /* 見出し */
    .p-detail_target_title {
    font-size: 18px;
    font-weight: 700;
    color: #88CD42; /* タイトルの黄緑 */
    margin-bottom: 10px;
    }

    /* タイトル下のライン */
    .p-detail_target_title::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    margin-top: 6px;
    background: #88CD42;
    }

    /* リスト */
    .p-detail_target_list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;

    }

    .p-detail_target_list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 6px;
        font-weight: 500;
    }

    .p-detail_target_list li img {
    width: 26px;   /* 矢印サイズ。必要なら微調整 */
    height: auto;
    flex-shrink: 0;
    }

    /* ------ 全体 ------ */
.p-detail_case {
  /* padding: 20px 16px 30px; */
  margin-top: 39px;
  background: #fff;
}

/* タイトル帯（画像） */
.p-detail_case_header img {
  width: 100%;
  display: block;
}

/* メインタイトル */
.p-detail_case_mainTitle {
  font-size: 20px;
  text-align: center;
  color: #5FAF47;
  font-weight: 700;
  margin: 14px 0 4px;
}

/* サブタイトル */
.p-detail_case_sub {
  text-align: center;
  font-size: 13px;
  margin-bottom: 16px;
}

/* 査定比較表（画像） */
.p-detail_case_priceBox img {
  width: 100%;
  display: block;
}

/* 比較ボックスの上下エリア */
.p-detail_case_compare {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0;
}

/* 左右のボックス */
.p-detail_case_compare_item {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  background: #F5F5F5;
  text-align: center;
}

.p-detail_case_compare_left {
  background: #F5F5F5;
}
.p-detail_case_compare_right {
  background: #E1F2FF;
}

/* タイトル */
.p-detail_case_compare_item .ttl {
  font-size: 13px;
  margin-bottom: 4px;
  font-weight: 600;
}

.p-detail_case_compare_item .ttl.blue {
  color: #2A8FD8;
}

/* 金額 */
.p-detail_case_compare_item .num {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.p-detail_case_compare_item .num.blue {
  color: #2A8FD8;
}

/* 下テキスト */
.p-detail_case_compare_item .sub {
  font-size: 14px;
  line-height: 1.6;
}
.p-detail_case_compare_item .sub span {
  font-weight: 700;
}

/* --------- テキスト説明 --------- */
.p-detail_case_text p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
  margin-top: 14px;
}

/* ------- ボタン ------ */
.p-detail_case_btn_wrap {
  text-align: center;
  margin-top: 12px;
}

.p-detail_case_btn {
  background: #88CD42;
  color: #fff;
  font-size: 14px;
  padding: 10px 28px;
  border-radius: 999px;
  border: none;
}

/* 活用事例ラベル */
.p-detail_case_label {
  background: #88CD42; /* 緑帯 */
  padding: 7px 0;
  text-align: center;
  position: relative;
  /* border-radius: 4px 4px 0 0; */
  position: absolute;
  left: 0 ;
  top: 0;
  width: 100%;
}

/* 下に付いてる三角 ▼ */
.p-detail_case_label::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 8px 0 8px;
  border-color: #88CD42 transparent transparent transparent;
}

/* テキスト */
.p-detail_case_label_text {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* 数字だけ細かく調整 */
.p-detail_case_label_text .num {
  font-size: 18px;
  font-weight: 700;
  margin-left: 4px;
}

.p-detail_case_item.--2{
}

.p-detail_case_item img{
    width: 100%;
}
.p-detail_case_content{
    padding: 10px;
    
}

/* テキストエリア（アコーディオン） */
.p-detail_case_text_inner {
    max-height: 160px; /* 初期表示の高さ（2〜3段）に調整 */
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.p-detail_case_text_inner.open {
    max-height: 2000px; /* 全文開く（実質上限） */
}

/* テキスト基本スタイル */
.p-detail_case_text p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ボタン */
.p-detail_case_btn_wrap {
    text-align: center;
    margin-top: 8px;
}

.p-detail_case_btn {
    background: #88CD42;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 28px;
    border-radius: 30px;
    border: none;
}

/* ボタンのラッパー */
.p-detail_case_btn_wrap {
    text-align: center;
    margin-top: 12px;
}

/* もっと読むボタン */
.p-detail_btn {
    background-color: #88CD42;     /* 明るめの緑（スクショに合わせてある） */
    color: #fff;
    padding: 5px 22px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    border-radius: 999px;       /* 丸っこくする */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;                   /* テキストと▼の距離 */
    width: auto;
    min-width: 125px;           /* スクショに近い横幅感 */
}

/* スライダー全体 */
.p-detail_case {
  position: relative;
  /* overflow: hidden; */
  padding-bottom: 24px; /* ドット分の余白 */
}

/* スライドの横並び */
.p-detail_case_inner {
    display: flex;
    transition: transform 0.4s ease;
}

/* 各スライド */
.p-detail_case_item {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 0 10px;
    padding-top: 30px;
    background-color: #fff;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    position: relative;
    margin: 0 8px;
    flex: 0 0 calc(100% - 16px);
}



/* 左右の矢印（丸ボタン） */
.p-detail_case_arrow {
position: absolute;
top: 40%;
transform: translateY(-50%);
width: 36px;
height: 36px;
border-radius: 50%;
border: none;
background: #8BC76A;
color: #fff;
font-size: 12px;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
}

.p-detail_case_arrow--prev {
left: -10px;
}

.p-detail_case_arrow--next {
right: -10px;
}

/* ドット */
.p-detail_case_dots {
position: absolute;
left: 50%;
bottom: 0;
transform: translateX(-50%);
display: flex;
gap: 8px;
}

.p-detail_case_dot {
width: 8px;
height: 8px;
border-radius: 50%;
border: none;
background: #ddd;
}

.p-detail_case_dot.is-active {
background: #8BC76A;
}


.p-reason {
background: #fff;
}

/* リード文 */
.p-reason_lead,
.p-reason_mid,
.p-reason_bottom {
font-size: 14px;
line-height: 1.8;
margin-bottom: 24px;
}


/* マーカー風強調（黄色ハイライトっぽく） */
.is-marker {
background: #fff5a8;
font-weight: 700;
}

/* グラフ */
.p-reason_graph {
margin: 24px 0;
}

.p-reason_graph img {
width: 100%;
height: auto;
display: block;
}

.p-reason_graph figcaption {
font-size: 11px;
line-height: 1.6;
margin-top: 4px;
}

/* ニュース2枚 */
.p-reason_news {
display: flex;
gap: 8px;
margin: 24px 0;
}

.p-reason_news_item {
flex: 1 1 50%;
}

.p-reason_news_item img {
width: 100%;
height: auto;
display: block;
}

.p-reason_cta{
    background-color: #88CD42;
    color: #fff;
    padding: 50px 20px 35px;
    position: relative;
}
.p-reason_cta .p-detail_target_title{
    color: #fff;
    border-bottom: solid 2px #fff;
}


/* 薄いグリーンの帯 */
.p-reason_cta::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 40px;          /* 帯の高さ */
    background: #88CD42;   /* 薄いグリーン */
    z-index: 1;
}

/* 白い山型（∧） */
.p-reason_cta::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0px;             /* ↑の帯の下端から開始 */
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 70vw solid transparent;
    border-right: 70vw solid transparent;
    border-top: 50px solid #ffffff;
    z-index: 2;
}
.p-conclusion {
    padding-bottom: 40px;
    padding-top: 20px;
}
.p-conclusion h2{
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: solid 2px #88CD42;
    font-weight: 600;
    margin-bottom: 20px;
    
}
.p-conclusion p{
    font-size: 15px;
}

.p-conclusion p small{
    font-size: 13px;
    margin-top: 30px;
    display: block;
}

.c-cta{
    text-align: center;

}
.c-cta_copy{
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    display: block;
}
.c-cta_copy img{
    width: 21px;
    margin: 0 10px;
}

.c-cta_button_inner{
    width: 96%;
    height: 90%;
    background: linear-gradient(#ff7f00 0%, #ff4500 100%);
    border-radius: 41px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    gap: 16px;
}
.c-cta_button{
    display: block;
    width: 335px;
    height: 82px;
    border-radius: 41px;
    background: linear-gradient(#ff4500 0%, #ff7f00  100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.c-cta_button_inner img{
    width: 38px;
}
.c-cta_gif{
    width: 80%;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 4px;
}

.l-fv{
    text-align: center;
}

.l-fv_arrow{
    width: 150px;
    animation: arrowMove 4s infinite ease-in-out;
    position: relative;
    z-index: 1;
}

@keyframes arrowMove {
  0% { transform: translateY(-4px); }
  50% { transform: translateY(20px); }
  100% { transform: translateY(0); }
}
