/* Page Header */
.page-header {
    background: linear-gradient(90deg, #F8B557 0%, #d32f2f 100%);
    height: 152px;
    margin-top: 80px;
    /* 固定ヘッダーの高さ分の余白 */
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-title {
    font-size: 48px;
    font-weight: bold;
    letter-spacing: 0.1em;
}


/* sell Content Area */
.sell-intro {
    background-color: #FFF9F0;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.sell-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.sell-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /*gap: 60px;*/
}

/* Left Column */
.sell-content-left {
    flex: 1;
}

.sell-heading {
    font-size: 42px;
    font-weight: bold;
    color: #cc0000;
    line-height: 1.3;
    padding: 0 0 60px 0;
    position: relative;
}

.sell-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 6px;
    background-color: #cc0000;
    margin-top: 20px;
}

.sell-text-box {
    margin-bottom: 40px;
}

.sell-text-box p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

.sell-image {
    max-width: 350px;
    margin-top: 40px;
}

.sell-sp {
    display: none;
}

/* Right Column (Checklist) */
.sell-content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sell-check-list {

    width: 100%;
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sell-check-list li {

    background-color: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.check-icon {
    width: 20px;
    height: 20px;
    background-color: #cc0000;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Decorative Shapes */
.shape {
    position: absolute;
    background-color: #f8c291;
    opacity: 0.6;
    border-radius: 50%;
    z-index: 1;
}

.shape-1 {
    width: 150px;
    height: 150px;
    top: 200px;
    left: -50px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.shape-2 {
    width: 250px;
    height: 250px;
    bottom: -100px;
    right: -50px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.shape-3 {
    width: 120px;
    height: 120px;
    top: 50%;
    left: 45%;
    background-color: #f8c291;
    opacity: 0.4;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

/* -------------------------------------------
   Flow Section
------------------------------------------- */
.sell-flow {
    padding: 60px 0;
    position: relative;
    background-color: #fff;
    overflow: hidden;
}

.flow-inner {
    max-width: 1400px;
    /* 少し幅を狭めて読みやすく */
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.flow-title {
    font-size: 36px;
    font-weight: bold;
    color: #cc0000;
    margin-bottom: 60px;
    text-align: left;
    position: relative;
    display: inline-block;
}

.flow-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #cc0000;
    margin-top: 10px;
}

.flow-block {
    margin-bottom: 80px;
}

.flow-block:last-child {
    margin-bottom: 0;
}

.flow-subtitle {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.flow-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.flow-item {
    display: flex;
    position: relative;
    padding-bottom: 0;
}

.flow-item.last-item {
    padding-bottom: 0;
}

/* Marker (Dot & Line) */
/* .flow-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
    padding-top: 0;
    width: 20px;
}

.marker-dot {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #F8B557 0%, #d32f2f 100%);
    border-radius: 50%;
    z-index: 2;
}

.marker-line {
    flex-grow: 1;
    width: 2px;
    background-color: #F8B557;
    margin-top: 0;
    margin-bottom: 0;
    opacity: 0.7;
}*/

/* Content Wrap */
.flow-content-wrap {
    flex: 1;
}


/* STEP番号ラップ（後方互換用） */
.flow-step-num-wrap {
    display: none;
}

/* 左カラム: STEPの上に数字 */
.flow-step-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    margin-bottom: 20px;
}

.flow-step-small {
    font-size: 18px;
    font-weight: bold;
    color: #cc0000;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding-left: 5px;
    margin-top: 4px;
}

.flow-step-num {
    font-size: 80px;
    font-weight: bold;
    color: #e8e8e8;
    line-height: 1;
    letter-spacing: -0.02em;
}

.flow-card {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 12px;
    /* flex-startから天地中央(center)に変更 */
    overflow: visible;
    gap: 60px;
}

.flow-img {
    width: 28%;
    min-width: 220px;
    flex-shrink: 0;
}

.flow-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.flow-text {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    /* centerから変更 */
    gap: 16px;
}

/* 右側コンテンツ（STEP・タイトル・説明文） */
.flow-text-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* centerから変更 */
}

.flow-step-title {
    font-size: 26px;
    font-weight: bold;
    color: #222;
    margin-bottom: 20px;
    margin-top: 0;
}

/* ボーダーなし説明文 */
.flow-text-body {
    margin-bottom: 16px;
}

.flow-text-body p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* リンク（ボタン化） */
.flow-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #d32f2f, #F89257);
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 5px;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
    transition: opacity 0.3s, transform 0.2s;
    width: 100%;
    max-width: 250px;
    /* ボタンの最大幅を制限 */
    gap: 10px;
    height: 50px;
}

/*.flow-link::after {
    content: "→";
    font-size: 18px;
    font-weight: normal;
}*/

.flow-link:hover {
    opacity: 0.9;
    color: #fff;
    transform: translateY(-1px);
}

/* Flow Decorative Shapes */
.shape-flow-1 {
    width: 180px;
    height: 180px;
    top: 550px;
    left: -60px;
    background-color: #f8c291;
    opacity: 0.6;
    border-radius: 50% 50% 60% 40% / 50% 60% 40% 50%;
    position: absolute;
    z-index: 1;
}

.shape-flow-2 {
    width: 300px;
    height: 300px;
    bottom: 200px;
    right: -100px;
    background-color: #f8c291;
    opacity: 0.6;
    border-radius: 60% 40% 70% 30% / 30% 50% 60% 70%;
    position: absolute;
    z-index: 1;
}

/* Responsive adjustment for Mobile/Tablet */
@media (min-width: 901px) and (max-width: 1024px) {

    .flow-img {
        width: 38%;
    }

    .sell-flex {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    /* コンテナを透過してflexの直接子要素として扱う */
    .sell-content-left,
    .sell-content-right {
        display: contents;
    }


    /* 表示順: ①heading → ②text-box → ③check-list → ④image */
    .sell-heading {
        order: 1;
        font-size: 32px;
    }

    .sell-text-box {
        order: 2;
    }


    .sell-check-list {
        order: 3;
        width: 100%;
    }

    .sell-image {
        order: 4;
        max-width: 100%;
        margin: 0;
    }
}

@media (max-width: 1024px) {
    .sell-heading {
        font-size: 32px;
        padding: 0 0 20px 0;
    }

    .sell-text-box br {
        display: none;
    }
}

@media (max-width: 900px) {
    .sell-intro {
        padding: 100px 0 50px !important;
    }

    .sell-flow,
    .sell-items {
        padding: 100px 0 50px !important;
    }

    .contact {
        padding: 50px 0 100px !important;
    }

    .page-title {
        font-size: 36px;
    }

    .page-header {
        padding: 25px 0;
        height: 104px;
    }

    .sell-inner,
    .flow-inner {
        padding: 0 35px;
    }

    .sell-heading {
        font-size: 36px;
    }

    .sell-check-list li {
        font-size: 16px;
        padding: 20px;
    }

    .sell-flex {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .flow-step-left {
        margin-bottom: unset;
    }

    /* コンテナを透過してflexの直接子要素として扱う */
    .sell-content-left,
    .sell-content-right {
        display: contents;
    }

    /* 表示順: ①heading → ②text-box → ③check-list → ④画像(SP用) */
    .sell-heading {
        order: 1;
    }

    .sell-text-box {
        order: 2;
    }

    .sell-check-list {
        order: 3;
        width: 100%;
    }

    .sell-image {
        display: none;
    }

    .sell-sp {
        order: 4;
        display: block;
    }

    .check-icon {
        margin-right: 15px;
    }

    /* Flow Responsive */
    .flow-card {
        flex-direction: column;
        width: 90%;
        margin: 0 auto;
        gap: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .flow-img {
        width: 100%;
        min-width: auto;
        height: auto;
        margin: 0;
    }

    .flow-img img {
        height: auto;
        border-radius: 8px;
    }

    .flow-text {
        width: 100%;
        padding: 0 10px 50px 10px;
    }

    .flow-step-num {
        font-size: 56px;
    }



    .marker-line {
        width: 2px;
    }

    .flow-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .flow-subtitle {
        font-size: 1.5rem;
    }

    .flow-step-label {
        font-size: 1.25rem;
    }

    .flow-step-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    body:not(.is-home) main>section.sell-flow:not(.page-header):not(.hero-section) {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* -------------------------------------------
   sell Items Section
------------------------------------------- */
.sell-items {
    background-color: #fff;
    padding: 60px 0;
}

.items-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* タイトル：左に赤バー */
.items-main-title {
    font-size: 32px;
    font-weight: bold;
    color: #222;
    margin-bottom: 45px;
    padding-left: 16px;
    border-left: 5px solid #cc0000;
    line-height: 1.2;
    display: block;
}

.items-main-title::after {
    display: none;
}

.items-flex {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: flex-start;
}

/* Left Column */
.items-left {
    flex: 1;
}

/* イントロ文 */
.items-intro {
    font-size: 20px;
    font-weight: bold;
    color: #222;
    line-height: 1.5;
    margin-bottom: 24px;
}

.items-intro-highlight {
    color: #cc0000;
    text-decoration: underline;
    text-decoration-color: #cc0000;
    text-underline-offset: 4px;
}

.sp-items-intro {
    display: none;
}

.items-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 24px;
}

/* 注意書きボックス */
.items-note {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    background-color: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 40px;
}

/* CTAボタン */
.items-cta-btn {
    display: inline-block;
    background: linear-gradient(90deg, #d32f2f, #F89257);
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.items-cta-btn:hover {
    opacity: 0.85;
}

/* Right Column */
.items-right {
    flex: 1;
    margin-top: 70px;
    /* items-main-titleの高さ+margin分だけ下げてitems-introに揃える */
}

/* リスト形式：2カラムグリッド */
.items-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #e8e8e8;
    border-left: 1px solid #e8e8e8;
}

.item-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 16px;
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}



.item-icon {
    width: 52px;
    height: 52px;
    background-color: #f5e8e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.item-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-name {
    font-size: 16px;
    font-weight: bold;
    color: #222;
}

.item-sub {
    font-size: 11px;
    color: #999;
    letter-spacing: 0.1em;
}



/* Responsive */
@media (max-width: 1024px) {
    .items-flex {
        flex-direction: column;
        gap: 0px;
    }

    /* items-leftの子要素をitems-flexの直接の子として扱う */
    .items-left {
        display: contents;
    }

    .items-right {
        width: 100%;
        order: 6;
        margin-top: 0;
        /* レスポンシブ時はリセット */
    }

    /* 表示順: ①タイトル → ②イントロ → ③説明 → ④ノート → ⑤リスト → ⑥ボタン */
    .items-main-title {
        order: 1;
        width: 100%;
    }

    .items-intro {
        order: 2;
        width: 100%;
    }

    .sp-items-intro {
        order: 3;
    }

    .items-desc {
        order: 4;
        width: 100%;
    }

    .items-note {
        order: 5;
        width: 100%;
    }

    .items-cta-btn {
        order: 7;
        align-self: center;
        margin-top: 45px;
    }
}

@media (max-width: 900px) {
    .items-inner {
        padding: 0 35px;
    }

    .items-main-title {
        font-size: 36px;
        margin-bottom: 28px;
    }

    .items-flex {
        flex-direction: column;
        gap: 0px;
    }

    .items-left,
    .items-right {
        width: 100%;
    }
}


/* 600px以下のレスポンシブ対応 */
@media (max-width: 600px) {
    .flow-inner {
        padding: 0 20px;
    }

    .sell-flow {
        padding-bottom: 0 !important;
    }


    .flow-card {
        width: 100%;
        margin: 0;
        border-radius: 4px;
    }

    .flow-text {
        padding: 20px 15px 40px;
        text-align: left;
    }

    .flow-link {
        padding: 12px;
        margin-top: 20px;
        min-width: 200px;
    }

    .flow-content-wrap {
        padding-bottom: 60px;
    }


    .items-inner {
        padding: 0 15px;
        max-width: 100%;
    }

    .items-main-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .items-intro {
        font-size: 17px;
    }

    .items-desc {
        font-size: 14px;
    }

    .item-row {
        padding: 16px 8px;
        gap: 14px;
    }

    .item-name {
        font-size: 15px;
    }

    .items-cta-btn {
        width: auto;
        max-width: 280px;
        text-align: center;
        display: block;
    }
}

@media (max-width: 400px) {
    .items-note br {
        display: none;
    }
}

@media (max-width: 375px) {
    .item-row {
        padding: 12px 6px;
        gap: 8px;
    }

    .item-icon {
        width: 40px;
        height: 40px;
    }

    .item-icon img {
        width: 20px;
        height: 20px;
    }

    .item-name {
        font-size: 13px;
    }

    .item-sub {
        font-size: 9px;
        letter-spacing: 0.05em;
    }
}

/* 320px以下のレスポンシブ対応（最小モバイル幅） */
@media (max-width: 330px) {

    /* Header */
    .header {
        padding: 8px 0;
    }

    .header-container {
        padding: 0 10px;
    }

    .header-left {
        width: 160px;
    }

    .header-left img {
        max-width: 100%;
        height: auto;
    }

    .header-right {
        gap: 6px;
    }

    .header-link {
        font-size: 10px;
        padding: 5px 8px;
    }

    .page-header {
        padding: 25px 0;
    }

    .sell-heading {
        font-size: 26px;
    }

    .sell-heading br {
        display: none;
    }

    .header-phone {
        font-size: 13px;
    }

    .header-hours {
        font-size: 9px;
    }

    /* Breadcrumb */
    .breadcrumb {
        padding: 8px 10px;
        font-size: 11px;
    }

    /* sell Intro */
    .sell-intro {
        padding: 30px 10px;
    }

    .sell-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .sell-title-en {
        font-size: 11px;
    }

    .sell-text {
        font-size: 13px;
        line-height: 1.6;
    }

    .sell-image img {
        width: 100%;
    }

    /* Items Section */
    .items-inner {
        padding: 0 10px;
    }

    .items-main-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .items-main-title::after {
        width: 50px;
        height: 3px;
        margin-top: 10px;
    }

    .items-flex {
        gap: 0px;
    }

    .items-intro {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .items-desc {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .items-note {
        font-size: 12px;
    }

    /* Items Grid - 2カラムをさらにコンパクトに */
    .items-grid {
        gap: 10px;
    }

    .item-card {
        padding: 12px 8px;
        min-height: 70px;
        gap: 8px;
    }



    .item-name {
        font-size: 12px;
    }

    /* Flow Section */
    .flow-inner {
        padding: 0 5px;
    }

    .flow-title {
        font-size: 24px;
        margin-bottom: 30px;
    }


    .marker-dot {
        width: 15px;
        height: 15px;
    }

    /* カードエリアを最大限広げる */
    .flow-content-wrap {
        padding-bottom: 30px;
    }



    .flow-img {
        width: 100%;
        height: auto;
    }

    .flow-img img {
        width: 100%;
        height: auto;
        border-radius: 8px 8px 0 0;
    }

    .flow-link {
        display: flex;
        align-self: center;
        /* 右カラム内での中央寄せ */
        margin: 25px auto 0;
        padding: 10px 15px;
        width: 100%;
        max-width: 220px;
        /* 340px幅でも収まるように調整 */
        font-size: 13px;
        white-space: nowrap;
        height: 48px;
    }

    .flow-text {
        padding: 20px 10px 40px;
        display: flex;
        flex-direction: row;
        /* 横並びを維持 */
        align-items: flex-start;
        text-align: left;
        gap: 12px;
    }

    .flow-text-right {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        /* 文章は左寄せ */
        width: 100%;
    }

    .flow-text-body {
        margin-bottom: 15px;
    }

    .flow-step-left {
        margin-bottom: 20px;
        align-items: flex-start;
        width: 50px;
        /* 横幅を制限して文章スペースを確保 */
    }

    .flow-step-num {
        font-size: 48px;
        /* 80pxから縮小してスペースを確保 */
    }

    .flow-step-small {
        font-size: 11px;
        margin-top: 2px;
    }

    .flow-step-title {
        font-size: 16px;

    }

    .flow-text p {
        font-size: 12px;
        line-height: 1.6;
    }

    .flow-step-label {
        font-size: 14px;
        margin-bottom: 5px;
    }

    /* CTA Buttons */
    .cta-button,
    .sell-button {
        font-size: 14px;
        padding: 12px 24px;
    }

}

/* -------------------------------------------
   Contact Section - Responsive (sell.php)
------------------------------------------- */
.contact {
    padding: 60px 0 120px;
}

@media (max-width: 900px) {
    .contact {
        padding: 50px 0 100px !important;
    }

    .contact-inner {
        padding: 0 24px;
    }

    .contact-head {
        margin-bottom: 40px;
    }

    /* CONTACT 大見出し */
    .contact-label {
        font-size: 40px;
        margin-bottom: 8px;
    }

    /* お問い合わせ サブタイトル */
    .contact-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    /* 説明文 */
    .contact-desc {
        font-size: 14px;
        line-height: 1.8;
    }

    .contact-desc br {
        display: none;
    }

    /* 電話カード */
    .contact-tel-card {
        padding: 20px 24px;
        justify-content: center;
    }

    .contact-tel-icon {
        width: 65px;
        height: 65px;
        font-size: 27px;
    }

    .contact-tel-label {
        font-size: 12px;
    }

    .contact-tel-number {
        font-size: 22px;
    }

    .contact-tel-hours {
        font-size: 11px;
    }

    /* メールボタン */
    .contact-mail-btn {
        font-size: 15px;
        height: 64px;
        padding: 0 60px 3px 60px;
    }
}

@media (max-width: 600px) {
    .contact-label {
        font-size: 32px;
    }

    .contact-title {
        font-size: 16px;
    }

    .contact-desc {
        font-size: 13px;
    }

    .contact-tel-number {
        font-size: 20px;
    }
}

@media (max-width: 375px) {
    .contact-tel-number {
        font-size: 18px;
        ;
    }
}