@charset "UTF-8";

/* 画像プレースホルダー用のベースCSS */
.ts-ph { width: 100%; height: 100%; display: block; overflow: hidden; position: relative; border-radius: 0 !important; border: none !important; }
.ts-ph img.ts-ph__img { width: 100%; height: 100%; background-color: #e5e5e5; object-fit: cover; display: block; position: absolute; top: 0; left: 0; border-radius: 0 !important; border: none !important; }

/* 相場と市場のタブ機能用CSS */
.ts-tabs { display: flex; width: 100%; list-style: none; padding: 0; margin: 0 auto 40px; border-bottom: 2px solid var(--color_main); }
.ts-tab { flex: 1; padding: 15px 10px; cursor: pointer; background: #f7f7f7; border: 1px solid #ccc; border-bottom: none; border-radius: 0; color: #333; font-weight: bold; text-align: center; transition: all 0.2s; margin-right: 4px; }
.ts-tab:last-child { margin-right: 0; }
.ts-tab.active { background: var(--color_main); color: #fff; border-color: var(--color_main); }
.ts-tab-panel { display: none; }
.ts-tab-panel.active { display: block; animation: fadeIn 0.4s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* レスポンシブ調整用の補助CSS */
@media (max-width: 750px) {
    .ts-tab { padding: 10px 5px; font-size: 13px; margin-right: 2px; }
}

/* ページ専用CSS */
.ts-img-bg {
    background-color: #e5e5e5;
}

.ts-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ts-u-center {
    text-align: center;
}

.ts-u-dark {
    color: #333;
}

.ts-u-white {
    color: #fff !important;
}

.ts-u-mb0 {
    margin-bottom: 0;
}

.ts-sec--white-start {
    background: #fff;
    padding: 80px 0 0;
}

.ts-sec--light {
    background: #f9f9f9;
    padding: 80px 0;
}

.ts-prob {
    padding: 80px 0;
    background: #f3f8fd;
}

.ts-prob__inner {
    width: 1000px;
    margin: 0 auto;
}

.ts-prob__title {
    font-size: 1.8em;
    font-weight: bold;
    color: #04384c;
    margin-bottom: 30px;
    line-height: 1.4;
}

.ts-split {
    display: flex;
    gap: 40px;
    align-items: stretch;
    flex-wrap: wrap;
}

.ts-split--rev {
    flex-direction: row-reverse;
}

.ts-split__body {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.ts-split__media {
    flex: 1;
    min-width: 300px;
}

.ts-split__img-col {
    flex: 1;
    min-width: 300px;
    display: flex;
}

.ts-prob__text {
    line-height: 1.8;
    color: #444;
    margin: 0;
}

.ts-prob__frame {
    height: 100%;
}

.ts-prob__img {
    object-fit: cover;
    height: 100%;
}

.ts-prob__fail-box {
    margin-top: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.ts-prob__fail-head {
    text-align: center;
    margin-bottom: 20px;
}

.ts-prob__fail-label {
    display: inline-block;
    background: #fdfdfd;
    border: 2px solid #04384c;
    color: #04384c;
    padding: 5px 20px;
    font-weight: bold;
    border-radius: 30px;
}

.ts-prob__fail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ts-prob__fail-item {
    padding: 15px 0;
    border-bottom: 1px dashed #ccc;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ts-prob__fail-item--last {
    border-bottom: 0;
}

.ts-prob__fail-mark {
    color: #e44141;
    font-weight: bold;
    font-size: 1.2em;
}

.ts-prob__fail-text {
    color: #333;
    font-size: 1.05em;
}

.ts-prob__fail-em {
    color: #e44141;
}

.ts-prob__msg {
    margin-top: 40px;
    text-align: center;
    padding: 20px;
}

.ts-prob__msg-text {
    color: #04384c;
    font-size: 1.3em;
    font-weight: bold;
    line-height: 1.6;
}

.ts-case-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #e5e5e5;
}

.ts-point-sec {
    background-color: #04384c;
    background-image: url("../img/renewal/feature_back.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 80px 0;
}

.ts-point-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.ts-point-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    width: calc((100% - 60px) / 3);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.16);
}

.ts-point-card__img {
    width: 100%;
    height: 210px;
}

.ts-img-4x3 {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background-color: #e5e5e5;
}

.ts-point-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #e5e5e5;
}

.ts-point-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ts-point-card__head {
    display: flex;
    gap: 0.5em;
    align-items: center;
    margin-bottom: 0.7em;
}

.ts-point-card__num {
    background-color: #04384c;
    color: #fff;
    width: 1.8em;
    height: 1.8em;
    line-height: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.ts-point-card__title {
    color: #04384c;
    font-size: 1.1em;
    font-weight: 700;
    line-height: 1.5;
}

.ts-point-card__text {
    color: #333;
    font-size: 0.95em;
    line-height: 1.6;
    text-align: justify;
}

.ts-sell-sec {
    background: #f9f9f9;
    padding: 80px 0;
}

.ts-sell-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.ts-sell-card {
    width: calc(33.333% - 20px);
    min-width: 280px;
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.ts-sell-card__img {
    width: 100%;
    height: 180px;
    background-color: #e5e5e5;
}

.ts-sell-card__body {
    padding: 20px 20px 25px;
    flex-grow: 1;
}

.ts-sell-card__title {
    font-size: 1.1em;
    font-weight: bold;
    color: #04384c;
    margin-bottom: 15px;
}

.ts-sell-card__text {
    font-size: 0.95em;
    line-height: 1.6;
    color: #333;
}

@media (max-width: 750px) {
    .ts-point-list,
    .ts-sell-list {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 18px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .ts-point-card,
    .ts-sell-card {
        width: 82%;
        min-width: 260px;
        flex: 0 0 82%;
        scroll-snap-align: start;
    }

    .ts-point-card__img {
        height: 42vw;
        min-height: 150px;
    }
	
	.ts-prob__fail-box {
		padding: 30px;
	}
}

.ts-kufu {
    background: #fff;
    padding: 100px 0;
}

.ts-market__inner {
    padding: 0 0 50px;
    margin-bottom: 70px;
}

.ts-market__title {
    text-align: center;
    padding-top: 100px;
}

.ts-market__block {
    margin-bottom: 60px;
}

.ts-market__heading {
    font-size: 1.3em;
    font-weight: bold;
    color: #04384c;
    margin-bottom: 20px;
    border-left: 4px solid #04384c;
    padding-left: 10px;
    text-align: left;
}

.ts-market__text {
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
}

.ts-market__text--flush {
    margin: 0;
}

.ts-price {
    background: #fdfdfd;
    padding: 20px;
    border: 1px solid #eee;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
}

.ts-price__title {
    font-weight: bold;
    color: #04384c;
    margin-bottom: 10px;
    text-align: left;
}

.ts-price__list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95em;
}

.ts-price__item {
    padding: 5px 0;
    border-bottom: 1px dashed #ccc;
    display: flex;
    justify-content: space-between;
    text-align: left;
}

.ts-price__item--last {
    border-bottom: 0;
}

.ts-market__img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    background-color: #e5e5e5;
}

.ts-flow {
    padding: 130px 0;
    background: #fff;
}

.ts-flow__list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
    align-items: unset;
}

.page_sale .ts-flow-card {
    width: calc(33.333% - 20px);
    min-width: 280px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    background: #fff;
    padding: 0;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.ts-flow-card__img {
    width: 100%;
    height: 150px;
    background-color: #e5e5e5;
}

.ts-flow-card__body {
    padding: 20px;
    flex-grow: 1;
}

.ts-flow-card__step {
    color: #04384c;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
    border-bottom: 2px solid #04384c;
    padding-bottom: 2px;
}

.ts-flow-card__title {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 15px;
}

.ts-flow-card__text {
    line-height: 1.6;
    font-size: 0.95em;
}
