@charset "utf-8";


/* 基本設定 ----------------------------------------*/

html {
    background-color: #ffffff;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    color: #666666;
    background-color: #ffffff;
}

/* .wrapper {
    width: 750px; 
    margin: 0 auto;
    background-color: #ede8df;
    position: relative;
} */

.wrapper {
    width: 750px; /* 固定幅を維持 */
    margin: 0 auto;
    background-color: #ede8df;
    position: relative;
    /* PC表示時のみ左右にドロップシャドウを表示 */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* スマホ・タブレット用設定 (768px以下) */
@media screen and (max-width: 768px) {
    .wrapper {
        width: 100%;
        max-width: 750px;
        /* スマホ表示時は影を消す */
        box-shadow: none;
    }
}

/* 共通項目（common） ----------------------------------------*/
.title {
    color: #7eae48;
    font-size: 36px;
    font-weight: bold;
    margin: 10px 0 5px;
    line-height: 1.2;
}

.subtitle {
    color: #7eae48;
    font-size: 16px;
    margin: 5px 0 30px;
    letter-spacing: 0.1em;
}

@media screen and (max-width: 768px) {
    .title {
        color: #7eae48;
        font-size: 48px;
        font-weight: bold;
        margin: 0;
        line-height: 1.2;
}

.subtitle {
        color: #7eae48;
        font-size: 20px;
        margin: 5px 0 50px;
        letter-spacing: 0.1em;
}
}

/* ヘッダー（header） ----------------------------------------*/

header {
    background-color: #ede8df;
    padding: 12px 0 10px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo img {
    height: 60px;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 15px;
    border-right: 1px solid #666666;
    padding-right: 15px;
}

nav ul li:last-child {
    border-right: none;
    padding-right: 0;
}

nav ul li a {
    text-decoration: none;
    color: #666666;
    font-size: 16px;
    font-weight: 400;
}

@media screen and (max-width: 768px) {
nav ul li a {
    text-decoration: none;
    color: #666666;
    font-size: 20px;
    font-weight: 500;
}
}

/* FV ----------------------------------------*/

.fv {
    text-align: center;
}

.fv-visual {
    padding-top: 20px;
}

.fv-visual img {
    width: 70%;
    height: auto;
    display: block;
    margin: auto;
}

.fv-features {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 40px 40px 60px;
}

.feature-item {
    background-color: #ffffff;
    width: 90%;
    display: flex;
    align-items: center;
    padding: 8px 0 8px 10px;
    box-sizing: border-box;
}

.feature-icon {
    width: 50px;
    height: auto;
    margin-right: 18px;
}

.feature-item .label {
    font-size: 24px;
    font-weight: bold;
    color: #7eae48;
    width: 150px;
    text-align: left;
}

.feature-item .text {
    font-size: 22px;
    flex-grow: 1;
    text-align: left;
    font-weight: 600;
    color: #666666;
}

@media screen and (max-width: 768px) {
    .fv-visual {
        padding-top: 30px;
}

    .feature-item {
        background-color: #ffffff;
        width: 100%;
        display: flex;
        align-items: center;
        padding: 12px 0 12px 16px;
        box-sizing: border-box;
    }

    .feature-item .label {
    font-size: 28px;
    font-weight: bold;
    color: #7eae48;
    width: 150px;
    text-align: left;
    }

    .feature-item .text {
    font-size: 26px;
    flex-grow: 1;
    text-align: left;
    color: #333333;
    font-weight: 600;
    }

    .feature-icon {
    width: 50px;
    height: auto;
    margin-right: 12px;
}
}


/* お申し込み（CTA） ----------------------------------------*/
.cta {
    background-color: #ffffff;
    padding: 40px 40px 60px 40px;
    text-align: center;
}

.cta-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

/* 共通ボタン設定 */
/* .cta-btn {
    width: calc(50% - 10px); 
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center; 
    text-decoration: none;
    border-radius: 10px;
    transition: opacity 0.3s;
    box-sizing: border-box;
}

.cta-btn:hover {
    opacity: 0.8;
} */

.cta-btn {
    width: calc(50% - 10px);
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 10px;
    box-sizing: border-box;
    
    /* 立体感の設定 */
    position: relative;
    border-bottom: 5px solid rgba(0, 0, 0, 0.2); /* ボタン下の「厚み」 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);  /* ボタン全体の「影」 */
    transition: all 0.2s; /* 動きを滑らかに（0.2秒） */
}

/* ホバー・クリック時の動き（沈み込み演出） */
.cta-btn:hover {
    opacity: 1; /* 不透明度の変化をなしにして立体感の変化を強調 */
    transform: translateY(2px); /* 2px下に沈ませる */
    border-bottom: 2px solid rgba(0, 0, 0, 0.2); /* 厚みを減らす */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);  /* 影を薄くする */
}

.cta-btn:active {
    transform: translateY(4px); /* クリックした瞬間さらに沈ませる */
    border-bottom: none; /* 厚みをなくす */
    box-shadow: none;    /* 影をなくす */
}



/* ボタン別カラー */
.btn-line { background-color: #40ab4a; }
.btn-delivery { background-color: #eb9321; }
.btn-mail { background-color: #8bb34d; }
.btn-tel { background-color: #a38a77; }

/* アイコン設定：一律で右余白を12pxに固定 */
.cta-icon {
    height: 50px;
    width: auto;
    margin: 0 12px 0 15px;
    flex-shrink: 0;
}

.cta-text {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

/* 電話情報の詳細（PC） */
.tel-info {
    text-align: left;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.tel-label {
    font-size: 16px;
	font-weight: 500;
	}
	
.tel-number {
    font-size: 26px;
	font-weight: bold;
	line-height: 1.1;
	}
	
.tel-time {
    font-size: 14px;
	}

@media screen and (max-width: 768px) {
    /* .cta-btn {
        width: 100%; 
        height: 100px;
        margin-bottom: 10px;
        justify-content: center; 
    } */

    .cta-btn {
        width: 100%;
        height: 100px;
        border-bottom: 6px solid rgba(0, 0, 0, 0.2); /* スマホは少し厚めに見せる */
    }
    
    .cta-btn:hover {
        transform: none; /* スマホはホバーがないので動きをリセットしてもOK */
    }

    .cta-btn:last-child {
        margin-bottom: 0;
    }

    .cta-container {
        gap: 20px;
    }

    .cta-text {
        font-size: 36px;
    }

    /* 電話ボタンのスマホ専用調整 */
    .btn-tel {
        height: 120px;
        display: flex;
        justify-content: center; /* 全体を中央へ */
        align-items: center;
    }

    .btn-tel .cta-icon {
        height: 60px;
        margin: 0 5px 0 60px;
    }

    .tel-info {
        display: flex;
        flex-direction: row; /* 横並びにする */
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: flex-start; /* アイコンのすぐ隣から並べる */
        width: auto; /* 幅を自動にしてアイコンと密着させる */
    }

    .tel-label {
        font-size: 32px;
        margin-right: 12px;
        font-weight: bold;
    }

    .tel-number {
        font-size: 36px;
        line-height: 1;
    }

    .tel-time {
        font-size: 28px;
        width: 100%; /* 受付時間だけ改行 */
        text-align: center;
        /* margin-top: 5px; */
    }
}

/* メッセージ（Message） ----------------------------------------*/

/* メッセージセクションの背景は最初から表示 */
.message {
    background-color: #ede8df; /* 既存の指定色 */
    text-align: center;
    padding: 0; /* 余白による計算ズレを防止 */
}

/* ScrollReveal適用前の初期状態をCSSではなくJSに任せるため一旦リセット */
.reveal-img {
    display: block;
    width: 100%;
    height: auto;
    /* visibility: hidden; は削除して動作を確認してください */
}

.message-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.message-text-box {
    padding: 0 30px;
}

.message-lead {
    color: #666666;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin: 15px;
    letter-spacing: 0.05em;
}

@media screen and (max-width: 768px) {
    .message-lead {
        color: #666666;
        font-size: 34px;
        font-weight: bold;
        line-height: 1.5;
        letter-spacing: 0.05em;
}
}

/* 買取品目（Item） ----------------------------------------*/
.item {
    background-color: #ffffff;
    padding: 40px 40px;
    text-align: center;
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 20px;
    margin-bottom: 40px;
}

.item-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.item-img {
    width: 100%;
    max-width: 310px;
    height: auto;
}

.item-name {
    font-size: 20px;
    font-weight: 400;
    color: #666666;
    line-height: 1.2;
}

.other-item {
    text-align: left;
    width: 100%;
}

.other-item-top {
    /* display: flex;
    align-items: center;
    justify-content: center; */
    margin-bottom: 10px;
}

/* .other-item-illust {
    width: 200px;
    margin-right: 20px;
} */

.other-item-illust img {
    width: 100%;
    height: auto;
}

.other-item-lead {
    /* border-left: 6px solid #dc8243; */
    /* padding-left: 25px; */
}

.other-item-lead .main-copy {
    color: #dc8243;
    font-size: 23px;
    font-weight: bold;
    margin: 0;
    line-height: 1.8;
}

.other-item-list p {
    font-size: 16px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

.other-item-list table {
    border-collapse: collapse;
    width: auto;
    margin-top: 20px;
}

.other-item-list td {
    padding-bottom: 6px;
    padding-right: 25px; /* PCでの間隔 */
    text-align: left;
    white-space: nowrap;
    font-size: 16px;
    color: #333;
}

.other-item-list td:last-child {
    padding-right: 0;
}

.sp-only { 
    display: none !important; 
}
.pc-only { 
    display: table !important; 
}

@media screen and (max-width: 768px) {
    .item-name {
        font-size: 28px;
        font-weight: 500;
        color: #666666;
        line-height: 1;
    }

    .other-item-list p {
    font-size: 24px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
    }

    .other-item-lead .main-copy {
    color: #dc8243;
    font-size: 40px;
    font-weight: bold;
    margin: 0;
    line-height: 1.5;
    }

    .other-item-top {
    /* display: flex;
    align-items: center;
    justify-content: center; */
    margin-bottom: 20px;
    }

    /* 表示切り替えの制御 */
    .pc-only { 
        display: none !important; 
    }
    .sp-only { 
        display: table !important; 
    }

    /* 以下、既存のスマホ用調整コード */
    .other-item-list td {
        padding-right: 15px;
        font-size: 24px;
    }  

    /* スマホ表示 (768px以下) の調整 */
    @media screen and (max-width: 768px) {
        .pc-only {
            display: none;
        }

        .sp-only {
            display: table;
        }

        .other-item-list td {
            padding-right: 15px; /* スマホ用に間隔を少し狭く調整 */
            font-size: 24px;     /* 必要に応じて文字サイズを調整 */
        }

        .other-item-list td:last-child {
            padding-right: 0;
        }
    }

}

/* 状態（Condition） ----------------------------------------*/
.condition {
    background-color: #ffffff;
    padding: 40px;
    text-align: center;
}

.condition-lead {
    font-size: 20px;
    font-weight: 500;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.condition-lead span {
    position: relative;
    display: inline-block; /* マーカーの幅を文字に合わせるために必要 */
    z-index: 1;
    padding: 0 5px; /* 文字の左右に少し余裕を持たせる場合 */
    font-size: 28px;
    font-weight: 600;
}

.condition-lead span::before {
    content: "";
    position: absolute;
    bottom: 4px; /* 文字との重なり具合を調整（お好みで） */
    left: 0;
    width: 100%;
    height: 15px; /* 線の太さ */
    background-color: #f7d8a9;
    z-index: -1;
    opacity: 0.8;
}

.condition-box-grid {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 50px;
}

.condition-box {
    background-color: #ede8df;
    width: 25%; /* PC時は4列 */
    padding: 20px 10px;
    border: 2px solid #7eae48;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.condition-box img {
    width: 120px;
    height: auto;
    margin-bottom: 12px;
}

.condition-box p {
    font-size: 16px;
    font-weight: bold;
    color: #7eae48;
    margin: 0;
}

.condition-circle-list {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 60px;
}

.condition-circle-item {
    width: 18%;
}

.condition-circle-item img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 10px;
}

.condition-circle-item p {
    font-size: 18px;
    font-weight: bold;
    color: #7eae48;
    margin: 0;
}

@media screen and (max-width: 768px) {
.condition-box-grid {
        flex-wrap: wrap; /* 折り返しを許可 */
        justify-content: space-between;
        gap: 15px 4%; /* 縦の間隔 15px / 横の間隔 4% */
    }

    .condition-box {
        width: 48%; /* スマホ時は2列 (48%×2 + 隙間4% = 100%) */
        padding: 15px 5px;
    }

    .condition-box img {
        width: 150px; /* スマホ用に少しサイズ調整 */
    }

    .condition-box p {
        font-size: 28px; /* 視認性を高めるため少し大きく */
    }

    .condition-circle-item p {
    font-size: 24px;
    font-weight: bold;
    color: #7eae48;
    margin: 0;
    }

    .condition-lead {
        font-size: 24px;
        font-weight: 500;
        color: #666666;
        line-height: 1.6;
        margin-bottom: 40px;
    }

    .condition-lead span {
        font-size: 36px;
        font-weight: 600;
        margin-bottom: 15px;
    }

    @media screen and (max-width: 768px) {
    .condition-lead span::before {
        height: 18px; /* スマホでは文字が大きいので線を少し太く */
        bottom: 6px;
    }
}

}

/* ご相談ください（Consultation） ----------------------------------------*/
.consultation {
    background-color: #ffffff;
    padding: 0 0 20px;
    text-align: center;
}

.consultation-heading {
    font-size: 36px;
    font-weight: 600;
    color: #666666;
    display: inline-block;
    position: relative;
    padding: 0 10px;
    margin: 0 0 15px 0;
    letter-spacing: 0.05em;
    z-index: 1;
}

.consultation-heading::before {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 18px;
    background-color: #f7d8a9;
    z-index: -1;
    opacity: 0.8;
}

.consultation-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0 10px;
}

.method-item {
    width: 210px;
}

.method-name {
    font-size: 24px;
    font-weight: bold;
    color: #666666;
    margin: 5px 0 10px;
}

.method-img {
    width: 200px;
    height: 200px;
    margin-bottom: 10px;
}

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

.method-note {
    font-size: 14px;
    color: #999999;
    margin-top: 8px;
    text-align: right;
}

.consultation-service-icons {
    display: flex;
    justify-content: center;
    /* gap: 16px; */
}

.service-icon-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 16px;
}

.service-icon-box:last-child {
    padding-right: 0;
}

.service-icon-box img {
    width: 42px;
    height: auto;
}

.service-icon-box span {
    font-size: 20px;
    font-weight: 500;
    color: #666666;
}

@media screen and (max-width: 768px) {
    .service-icon-box span {
        font-size: 20px;
        font-weight: 500;
        color: #666666;
    }

    .method-name {
        font-size: 28px;
        font-weight: bold;
        color: #666666;
        margin: 5px 0 10px;
}

}

/* ご利用方法（howtouse） ----------------------------------------*/

.howtouse {
    background-color: #ede8df;
    padding: 40px;
    text-align: center;
}

.howtouse-lead {
    font-size: 30px;
    font-weight: bold;
    color: #666666;
}

.howtouse-entry {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.entry-btn_line {
    background-color: #ffffff;
    width: 200px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 5px;
}

.entry-btn-tel-mail {
    background-color: #ffffff;
    width: 280px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 5px;
}

.entry-btn_line img,
.entry-btn-tel-mail img {
    height: 45px;
    width: auto;
}

.entry-text {
    font-size: 18px;
    font-weight: bold;
    color: #666666;
    text-align: left;
    line-height: 1.3;
}

.entry-or {
    font-size: 24px;
    font-weight: bold;
    color: #666666;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.step-item {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    padding: 4px 20px;
    text-align: left;
    min-height: 50px;
    box-sizing: border-box;
    border-bottom: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
}

.step-num {
    width: 24px;
    height: auto;
    margin-right: 20px;
    margin-bottom: 8px;
}

.step-txt {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    border-left: 2px solid #7dad47;
    padding-left: 20px; /* 線とテキストの間隔 */
}

.step-txt span {
    font-size: 14px;
    font-weight: normal;
    display: block;
}

.howtouse-arrow {
    margin: 30px 0;
}

.howtouse-arrow img {
    width: 60px;
}

.howtouse-sub-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.howtouse-sub-title .sub-icon {
    width: 45px;
}

.howtouse-sub-title h3 {
    font-size: 36px;
    font-weight: bold;
    color: #666666;
    margin: 0;
}

.howtouse-notes {
    text-align: left;
    margin: 0 10px 16px;
}

.howtouse-notes p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 8px;
    color: #666666;
    text-indent: -1em;
    padding-left: 1em;
}

.howtouse-alert {
    background-color: #fdf2e8;
    border: 2px solid #e68641;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    gap: 20px;
}

.alert-icon {
    width: 30px;
}

.howtouse-alert p {
    font-size: 26px;
    font-weight: 500;
    color: #e68641;
    margin: 0;
}

@media screen and (max-width: 768px) {

    .howtouse-lead {
        font-size: 36px;
        font-weight: bold;
        color: #666666;
    }
    .entry-btn_line {
        background-color: #ffffff;
        width: 240px;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        border-radius: 5px;
    }

    .entry-btn-tel-mail {
        background-color: #ffffff;
        width: 360px;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        border-radius: 5px;
    }

    .entry-text {
        font-size: 24px;
        font-weight: bold;
        color: #666666;
        text-align: left;
        line-height: 1.3;
    }

    .step-item {
        background-color: #ffffff;
        display: flex;
        align-items: center;
        padding: 16px 20px;
        text-align: left;
        min-height: 50px;
        box-sizing: border-box;
        border-bottom: 1px solid #CCCCCC;
        border-right: 1px solid #CCCCCC;
    }   

    .step-txt {
        font-size: 26px;
        font-weight: 500;
        line-height: 1.4;
        /* スマホ時も2pxの線を維持 */
        border-left: 2px solid #7dad47;
        padding-left: 16px;
    }

    .step-num {
        width: 32px;
        height: auto;
        margin: 4px 16px 8px 0; 
    }

    .howtouse-notes p {
        font-size: 16px;
        line-height: 1.2;
        margin: 0 0 8px;
        color: #666666;
        text-indent: -1em;
        padding-left: 1em;
    }

    .howtouse-sub-title .sub-icon {
        width: 70px;
    }

    .howtouse-alert p {
        font-size: 28px;
        font-weight: 500;
        color: #e68641;
        margin: 0;
    }

    .alert-icon {
        width: 35px;
    }

    .step-txt span {
        font-size: 16px;
        font-weight: normal;
        display: block;
    }
}

/* お客様の声（voice） ----------------------------------------*/

.voice {
    background-color: #ffffff;
    padding: 40px;
    text-align: center;
}

/* .voice-title {
    color: #7eae48;
    font-size: 48px;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
} */

/* .voice-subtitle {
    color: #7eae48;
    font-size: 18px;
    margin: 5px 0 50px;
    letter-spacing: 0.1em;
} */

.voice-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.voice-card {
    background-color: #ede8df;
    display: flex;
    align-items: stretch;
    text-align: left;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
}

.voice-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 80%;
    background-color: #e68641;
}

.voice-user {
    width: 120px;
    padding: 8px 0 8px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-icon {
    width: 60px;
    height: auto;
    margin-bottom: 4px;
}

.user-label {
    font-size: 16px;
    font-weight: bold;
    color: #666666;
    margin: 0;
}

.voice-text {
    padding: 12px 20px 12px 0px;
    display: flex;
    align-items: center;
}

.voice-text p {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

@media screen and (max-width: 768px) {

    .voice-user {
        width: 160px;
        padding: 20px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .user-icon {
        width: 100px;
        height: auto;
        margin-bottom: 10px;
}
    
    .user-label {
        font-size: 22px;
        font-weight: bold;
        color: #666666;
        margin: 0;
    }

    .voice-text {
        padding: 15px 20px 15px 0px;
        display: flex;
        align-items: center;
    }

    .voice-text p {
    font-size: 26px;
    font-weight: 500;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}
}

/* よくあるご質問（FAQ） ----------------------------------------*/
.faq {
    background-color: #ede8df;
    padding: 40px;
    text-align: center; /* セクション内のタイトルとサブタイトルを中央寄せに */
}

.faq-inner {
    max-width: 750px;
    margin: 0 auto;
}

.faq-list {
    /* margin-top: 50px; */
    text-align: left; /* リストの中身（質問文など）は左揃えを維持 */
}

/* 共通項目の .title が効いていない場合に備えた明示的な指定 */
.faq .title {
    text-align: center;
    width: 100%;
}

.faq .subtitle {
    text-align: center;
    width: 100%;
}

.faq-item {
    background-color: #ffffff;
    margin-bottom: 20px;
    border-bottom: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
}

.faq-question {
    width: 100%;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    /* justify-content: space-between; から変更 */
    justify-content: flex-start; 
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #666666;
    text-align: left; /* テキスト自体の並びも左に */
    position: relative;
    /* iPhoneでのクリックの反応を強制的に有効にする */
    cursor: pointer;
    -webkit-tap-highlight-color: transparent; /* タップ時の青い枠を消す */
    touch-action: manipulation; /* ズームによる遅延を防ぐ */
}

/* 矢印アイコン */
.faq-question::after {
    content: '';
    position: absolute;
    right: 30px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-right: 3px solid #666666;
    border-bottom: 3px solid #666666;
    /* 45度：右下向きの「v」の形 */
    transform: translateY(-50%) rotate(45deg); 
    transition: transform 0.3s ease; /* アニメーションの速度 */
}

/* 質問が開いている時の矢印（反時計回りに90°回転） */
.faq-item.active .faq-question::after {
    /* -45度：右上向きの「>」のような形（45度から-90度した状態） */
    transform: translateY(-50%) rotate(-45deg);
}

.q-icon {
    color: #dc8243; /* オレンジ系 */
    font-size: 24px;
    margin-right: 10px;
}

.faq-answer {
    display: none; /* JSで制御 */
    padding: 0 25px 15px 25px;
    position: relative; /* 擬似要素の基準点 */
}

/* 中央揃え・幅93%・カラー#999999の罫線 */
.faq-answer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 3.5%;    /* 左右に3.5%ずつの余白で中央配置 */
    width: 93%;     /* 横幅を93%に変更 */
    height: 1px;    /* 線の太さ */
    background-color: #999999;
}

.answer-content {
    display: flex;
    align-items: flex-start; /* 上端で揃える */
    padding-top: 15px;
    font-size: 16px;
    line-height: 1.6; /* テキストの行間 */
    color: #666666;
}

.a-icon {
    font-weight: bold;
    font-size: 24px;
    margin-right: 10px;
    color: #666666;
    /* アイコン自体の高さをテキストの1行目の高さに合わせる */
    line-height: 1.0; 
    display: inline-block;
}

/* スマホ対応 (768px以下) */
@media screen and (max-width: 768px) {
    .faq-question {
        padding: 20px 80px 20px 20px;
        font-size: 28px;
    }
    .q-icon {
        font-size: 36px;
        margin-right: 20px;
    }

    .faq-answer::before {
        left: 3%;   /* スマホ時のバランス調整 */
        width: 94%; 
    }

    .answer-content {
        font-size: 26px;
    }
    .a-icon {
        font-size: 32px;
        line-height: 1.4; /* スマホでも行間を維持 */
        margin-right: 20px;
    }
}

/* 店舗情報（shopinfo） ----------------------------------------*/

.shopinfo {
    background-color: #ffffff;
    padding: 40px;
    text-align: center;
}

.shop-name {
    font-size: 32px;
    color: #666666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.shop-name img {
    width: 60px;
    height: auto;
}

.logo-mark {
    width: 35px;
    height: auto;
}

.shop-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    text-align: left;
}

.shop-visual {
    width: 330px;
}

.shop-visual img {
    width: 100%;
}

.shop-details {
    width: 330px;
}

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

.info-list li {
    font-size: 16px;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 5px;
}

.shop-map {
    margin-bottom: 60px;
    width: 100%;
}

/* 比率を維持してレスポンシブ対応させるコンテナ */
.map-container {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3の比率 (450/600) */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 運営会社（corporate） ----------------------------------------*/

.corporate-area {
    padding-top: 40px;
    margin-top: 60px; /* 前の要素（地図）との間隔 */
    text-align: left;
    border-top: 1px solid #666666; /* ご指定の1px黒い罫線 */
}

.corporate-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.corporate-logo {
    width: 50px;
    flex-shrink: 0;
}

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

.corporate-title {
    font-size: 20px;
    font-weight: 500;
    color: #666666;
    line-height: 1.3;
}

/* PC表示の時は改行（br）を無効化 */
.pc-none {
    display: none;
}

.corporate-info {
    font-size: 16px;
    color: #666666;
    line-height: 1.8;
}

.corporate-info dl {
    display: flex;
    margin: 0;
}

.corporate-info dt {
    width: 100px;
    flex-shrink: 0;
}

.corporate-info dd {
    margin: 0;
}

/* スマホ・タブレット用設定 (768px以下) */
@media screen and (max-width: 768px) {
/* 店舗情報：スマホ表示デザインの再現 */
    .shop-content {
        display: block; /* 縦並びに変更 */
    }

    .shop-visual {
        width: 100%;
        margin-bottom: 20px;
    }

    .shop-details {
        width: 100%;
    }

    .shop-name {
        font-size: 26px;
        flex-direction: row;
        justify-content: flex-start;
    }

    .shop-name img {
    width: 90px;
    height: auto;
}

    .corporate-area {
        padding-top: 30px;
        margin-top: 40px;
    }

    .corporate-header {
        gap: 15px;
        margin-bottom: 20px;
    }

    .corporate-logo {
        width: 80px;
    }

    .corporate-title {
        font-size: 30px;
    }

    /* スマホ表示の時は改行（br）を有効化 */
    .pc-none {
        display: inline;
    }

    .corporate-info {
    font-size: 26px;
    color: #666666;
    line-height: 1.8;
}

    .corporate-info dt {
        width: 140px;
    }

    /* 店舗情報のグリッドを1列に */
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-name {
        font-size: 36px;
    }

    .info-list li {
        font-size: 24px;
        color: #666666;
        line-height: 1.8;
        margin-bottom: 5px;
    }

    .shop-map {
        margin-left: 0; 
        margin-right: 0;
        width: 100%; /* 写真と同じ幅にするため、外側の余白に合わせます */
        margin-bottom: 40px;
    }
    
    .map-container {
        padding-top: 75%; /* 写真の比率に合わせて調整（正方形にしたい場合は100%） */
    }
}



/* フッター (footer） ----------------------------------------*/

.footer {
    background-color: #7dad47;
    padding: 20px 0 100px;
    color: #ffffff;
    text-align: center;
}

.footer-inner {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}

.footer-nav {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* 折り返しを許可 */
}

.footer-link {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-link:hover {
    opacity: 0.7;
}

/* リンク間の区切り線 */
.footer-link:not(:last-child)::after {
    content: "|";
    margin: 0 15px;
    font-weight: normal;
    opacity: 0.8;
}

.footer-copyright {
    font-size: 12px;
    letter-spacing: 0.05em;
}


@media screen and (max-width: 768px) {
    .footer {
        padding: 40px 20px 180px;
    }

    .footer-nav {
        gap: 15px 0;
    }

    .footer-link {
        font-size: 24px;
        width: 50%; /* 2列並び */
        justify-content: center;
    }

    /* スマホ時は区切り線を非表示にする */
    .footer-link::after {
        display: none !important;
    }
    
    .footer-copyright {
        font-size: 18px;
        line-height: 1.5;
        margin-top: 20px;
    }
}

/* ==========================================================================
   レスポンシブ設定
   ========================================================================== */

/* PC用設定 (769px以上) */
@media screen and (min-width: 769px) {
    /* 買取品目の列数調整などは既存通り */
    .item-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* スマホ・タブレット用設定 (768px以下) */
@media screen and (max-width: 768px) {
    .wrapper {
        width: 100%;
        max-width: 750px;
    }

    /* 買取品目 */
    .item-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    
}

/* スマホ・タブレット用設定 (768px以下) */
@media screen and (max-width: 768px) {
    
}


/* 追従バナー (floating-banner) ----------------------------------------*/

/* 追従バナー (floating-banner) ----------------------------------------*/

.floating-banner {
    position: fixed;
    bottom: 0;
    left: 0;         /* 画面左端から */
    right: 0;        /* 画面右端まで */
    width: 100%;     /* 背景を横幅100%にする */
    max-width: none; /* wrapperの制限を解除 */
    transform: none; /* 中央寄せ解除 */
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;   /* js/lp.jsで制御 */
}

.floating-inner {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 750px; /* ボタンはこの幅の中に収める */
    margin: 0 auto;   /* 中央配置 */
    padding: 0 40px;  /* wrapperの内側余白と合わせる */
    box-sizing: border-box;
}

.floating-btn {
    flex: 1;         /* 750px内で均等に広がる */
    max-width: 330px; /* ボタンが大きくなりすぎないよう制限（お好みで調整） */
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    transition: opacity 0.3s;
}

.floating-btn:hover {
    opacity: 0.8;
}

.floating-icon {
    height: 40px;
    width: auto;
    margin-right: 12px;
}

@media screen and (max-width: 768px) {

.floating-banner {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: calc(100% - 30px); /* 左右に15pxの余白 */
        padding: 15px;
        /* border-radius: 10px; */
        padding-bottom: 50px;
    }

    .floating-inner {
        gap: 10px;
        max-width: none;
        padding: 0;
    }

    .floating-btn {
        max-width: none;
        font-size: 30px;
        height: 80px;
    }
    
    .floating-icon {
        height: 60px;
    }
}

/* ページトップボタン ----------------------------------------*/
.pagetop {
    position: fixed;
    right: 20px;  /* ★右端からの距離（ここを調整） */
    bottom: 110px; /* ★下からの距離（追従バナーと被らないよう調整） */
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

/* 表示状態のクラス */
.pagetop.is-show {
    opacity: 1;
    visibility: visible;
}

.pagetop a {
    display: block;
    width: 50px;  /* ボタンの横幅 */
    height: auto;
    transition: opacity 0.3s;
}

.pagetop a:hover {
    opacity: 0.7;
}

.pagetop img {
    width: 100%;
    height: auto;
}

/* スマホ対応 (768px以下) */
@media screen and (max-width: 768px) {
    .pagetop {
        right: 15px;
        bottom: 180px; /* スマホ版の追従バナーが高いので、位置をさらに上げます */
    }
    .pagetop a {
        width: 80px; /* スマホで見やすいよう少し大きく */
    }
}

/* ==========================================================================
   レスポンシブ設定 (768px以下)
   ========================================================================== */
@media screen and (max-width: 768px) {
    .floating-btn {
        font-size: 42px; /* スマホ時は少し文字を小さく調整 */
        height: 100px;
    }
    
    .floating-icon {
        height: 60px;
    }
}


/* ==========================================================================
   レスポンシブ土台 (768pxを境目)
   ========================================================================== */

/* PC用設定 (769px以上) */
@media screen and (min-width: 769px) {
    /* ここにPC固有の調整を追記できます */
}

/* スマホ・タブレット用設定 (768px以下) */
@media screen and (max-width: 768px) {
    /* 表示崩れを防ぎつつ部分的に調整するための土台 */
    /* 例: .wrapper { width: 100%; max-width: 750px; } など */
}
