@charset "UTF-8";

:root{
    --maincolor:#1d1578;
    --subcolor:#1187e7;
    --pointcolor:#151354;
    --basecolor:#eee;
    --black:#222;
    --white:#fff;
    --zoomvalue:1;
}

*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    max-width: 100%;
}
html,body {
    font-size:100%;
    line-height:1.5;
	scroll-behavior: smooth;
}
a{ text-decoration:none;}
ul,ol{ list-style:none;}
li{ list-style:none;}
img{ vertical-align:middle; padding: 0; margin: 0;line-height: 0; max-width: 100%;}
table { width:100%;border-collapse: collapse; border-spacing: 0;}


/* @link */
a {text-decoration: none; transition: 0.3s;color: var(--maincolor);}
a:hover,a:active{color: var(--maincolor); text-decoration: none;}
a img{border: none;}

a:hover img {
	opacity: 0.8;
}
a img {
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;}


/* @css base block */
.sp{ display:none;}
.tb{ display:none;}
.pc{ display:inline;}

.oh{overflow: hidden;}

.f-min{font-family:"ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;}

.cen{text-align: center;}
.left{text-align: left;}
.right{text-align: right;}
.pc_cen{text-align: center;}

h1,h2,h3,h4,.bold{font-weight: bold;}

.color{color: var(--maincolor);}
.bold{font-weight: bold;}
.small{font-size: 0.9rem;}
.big{font-size: 1.1rem;}

.bg{background: var(--basecolor);padding: 1em 2em 4em;}


#breadcrumb ul {
    display: flex;
	justify-content:flex-end;
    gap: 0.3em;
    margin: 50px 0;
	font-size:80%;
}
.post_box #breadcrumb ul{
	justify-content:flex-start;
}

/* ここから下　サイト個別の内容 */

/*全体の箱*/
html{
    font-size: 16px;
    font-family: "Shippori Mincho B1", serif;
}

body { 
	margin: 0;
	padding: 0;
	color: #222;
	font-size: clamp(16px,calc(1.3rem * var(--zoomvalue)),3rem);
    line-height: 1.8;
}

main > section{
    width: 1200px;
    margin: 0 auto;
    padding: 2em;
    position: relative;
}

main p{
    text-align: justify;
}
main p + p{
    margin-top: 1em;
}



/*header*/
header{
    --header-height:80px;
    display: flex;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0.5em 1em;
    background: var(--maincolor);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.site_name{
    font-size: 1.3rem;
    a{
        display: flex;
        align-items: center;
        height: 100%;
        gap: 0.5em;
        color: #fff;
        .site_logo{
            max-width: 4em;
        }
    }
}

nav{
    padding: 0 0.5em;
    display: flex;
    align-items: center;
    .menu_list{
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 2em;

        a{
            color: #fff;
            &:hover{opacity: 0.7;}
        }
        a.contact_btn{
            background: #fff;
            color: var(--maincolor);
            padding: 0.5em 1em;
            border-radius: 3em;
        }
    }
}

.menubtn{display: none;}

/*footer*/

footer{
    background: var(--maincolor);
}
.fot_flex{
    border-top: 2px solid var(--maincolor);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #fff;
    padding: 0 0 1em;
}
.fotlogo{max-width: 15em;}
.fotname{
    font-weight: bold;
    line-height: 1.5;
    font-size: 1.7rem;
    .small{font-size: 1.3rem;}
}

.footer_menu{
    display: flex;
    justify-content: center;
    gap: 2em;
    font-size: 1.1rem;
    padding-bottom: 0.5em;
    margin-top: 1em;
    a{
        color: var(--white);
    }
    a:hover{
        color: #999;
    }
}


.copy{
	font-size: 0.75rem;
    padding: 1em 0;
    text-align: center;
    border-top: 1px solid var(--white);
    color: var(--white);
}


/*見出し*/

.section_title{
    font-size: 2.3rem;
    font-weight: bold;
    margin: 2em auto 1em;
    letter-spacing: 0.1em;
    color: var(--maincolor);

    &.cen{text-align: center;}
    &.white{color: --white;}
    &.small{font-size: 1.8rem;}
}



/*ボタン*/
/*linkbtnと色、形状、サイズをクラス名で指定可*/

.linkbtn{
    width: fit-content;
    margin: 1em auto 1.5em;
    padding: 0.5em 2em;
    background: var(--btn-back-color);
    color: var(--btn-text-color);
    border-width: 2px;
    border-style: solid;
    border-color: var(--btn-border-color);
    transition: 0.3s;
    display: block;
    text-align: center;
}
.linkbtn:hover{
    background: var(--btn-text-color);
    color: var(--btn-back-color);
    border-color: var(--btn-border-color);
}
/*色*/
.btn_white{
    --btn-back-color:#fff;
    --btn-border-color:var(--maincolor);
    --btn-text-color:var(--maincolor);
}
.btn_color{
    --btn-back-color:var(--maincolor);
    --btn-border-color:var(--maincolor);
    --btn-text-color:#fff;
}
/*形*/
.btn_max_round{
    border-radius: 3em;
}
.btn_min_round{
	border-radius:0.5em;
}
/*サイズ*/
.btn_small{
    font-size: 80%;
    padding: 0.5em 1em;
}
.btn_big{
    font-size: 115%;
    padding: 0.5em 1em;
    max-width: 20em;
    width: 100%;
}

/*リストの基本形*/
/*list_boxと任意のリスト名クラスを付与し、gapと横列数を指定*/

.list_box{
    display: flex;
    width: 80%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    gap:var(--gap);
}
.list_box > li{
    width: calc((100% - var(--gap) * calc(var(--listitem-length) - 1)) / var(--listitem-length));
}
.list_box.slideup li{
    opacity: 0;
}
.list_box.animation.slideup li{
    animation: slide-up 1.1s forwards;
}


/*点つきリスト*/
.dot-list{
	padding:0 1em;
}
.dot-list,
.dot-list li,
.point_list_box ul,
.point_list_box li{
	list-style:disc;
}
.dot-list li{
	margin-bottom: 0.5em;
}

/*マップ埋め込み用*/

.gmap{
    width: 100%;
    aspect-ratio: 6/4;
    margin: 2em 0;
}
.gmap iframe{
    width: 100%;
    height: 100%;
}

/*----------トップページ----------*/

main{
    margin-top: var(--header-height);
}

/*ファーストビュー*/

#mainimg{
    display: flex;

    .splide{
        width: 60%;
    }
    .top_copy{
        width: 40%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        position: relative;

        .copy_logo{
            position: relative;
            top: -3em;
        }

        .copy_text{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--maincolor);
            aspect-ratio: 1/1;
            border-radius: 50%;
            width: 90%;
            max-width: 500px;
            text-align: center;
            font-size: 3.4rem;
            letter-spacing: 0.5rem;
            font-weight: normal;
            padding-bottom: 0.5em;
            margin-top: 1.5em;

            span{
                opacity: 0;
            }
            span.animation{
                animation: jiwa 1.5s forwards;
            }
        }
    }
}


/*理念*/
.first_copy{
    margin: 2em auto 3em;
    line-height: 2.5;
    letter-spacing: 0.1em;
}


/*取扱物品*/


/*買取実績*/
.kaitori_box{
    margin: 4em auto;
    padding-bottom: 3em;
    .splide__track{padding: 1em;background: #eee;}
    .splide__list{
        align-items: flex-start;
        .splide__slide{
            background: var(--white);
            border-radius: 0.3em;
            filter: drop-shadow(1px 1px 5px #999);
            padding: 0.5em;
        }
    }
    h3{
        font-weight: normal;
        font-size: 1.2rem;
        line-height: 1.6;
        padding: 0.5em;
    }

    .splide__arrow{
        background: #ddd;
        height: 3em;
        width: 3em;
        svg{height: 2em;width: 2em;}
    }
    .splide__pagination__page.is-active{
        background: var(--maincolor);
    }
}


/*査定の流れ*/
.appraisal_box{
    margin: 4em auto;
    width: 100%;
    --listitem-length:4;
    --gap:2.5em;
    li{
        text-align: center;
        figure{position: relative;padding: 0.5em;}
        &:not(:last-child) figure::after{
            content: '';
            display: block;
            position: absolute;
            top: 50%;
            left: 100%;
            translate: 0.5em -50%;
            height: 0.7em;
            width: 0.7em;
            border-top: 2px solid var(--maincolor);
            border-right: 2px solid var(--maincolor);
            rotate:45deg;
        }
    }
}



/*サブページ*/

.page_title{
    position: relative;
    background: var(--pointcolor);
    height: 25vh;
    overflow: hidden;
    margin-top: var(--header-height);
    border-bottom: 10px solid var(--white);

    figure{
        width: 100%;
        position: absolute;
        right: 50%;
        top: 50%;
        translate:50% -30%;
        opacity: 0.4;
        img{width: 100%;}
    }
    h1{
        position: absolute;
        left: 50%;
        top: 50%;
        translate: -50% -60%;
        color: var(--white);
        letter-spacing: 0.1em;
        font-size: 3rem;
        font-weight: normal;
        width: 100%;
        text-align: center;
    }

}




    #appraisal_page.appraisal_box{
        --listitem-length:1;
        max-width: 600px;
        flex-wrap: wrap;
        li{
            border: 1px solid var(--maincolor);
            display: flex;
            flex-wrap: wrap;
            gap: 1em;
            position: relative;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            padding-bottom: 1em;

            h3{
                width: 100%;
                background: var(--maincolor);
                color: var(--white);
                padding: 0.5em;
                border-radius: 8px 8px 0 0;
            }
            figure{
                width: 35%;
                max-width: 150px;
                position: static;
            }
            &:not(:last-child) figure::after{
                top: 100%;
                left: 50%;
                translate: -50% 0;
                rotate:135deg;
            }
            p{
                width: calc(65% - 1em);
                text-align: left;
                padding: 0.5em;
                br{display: none;}
            }
        }
    }


        .purchase_box {
            width: 100%;
            margin: 2em auto;
            li{
                display: block;
                width: calc((100% - 30px * 2) / 3);
                margin-bottom: 1em;
                padding: 20px;
                background: var(--white);
                box-shadow: 1px 1px 5px 3px rgba(200,200,200,0.6);

                h3{
                    font-size: 1.3rem;
                    line-height: 1.6;
                    margin-top: 0.5em;
                    font-weight: normal;
                }
            }
        }

/*協会概要*/
.asso_list{
    margin: 2em auto;
    max-width: 800px;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    
    dt,dd{padding: 0.5em;border-bottom: 1px solid var(--maincolor);}
    dt{width: 20%;border-left: 2px solid var(--maincolor);font-weight: bold;}
    dd{width: calc(80% - 1em);}
}



/*メールフォーム*/
    .form {
    margin: 3em auto;
    display: flex;
    flex-direction: column;
    gap: 0.7em;
    width: 90%;
    max-width: 980px;
    background: var(--white);
    padding: 1em;
    border-radius: 0.5em;

    li {
        display: flex;
        align-items: center;
    }

    h3 {
        font-size: 1em;
        color: var(--maincolor);
        width: 20%;
    }
    div{
        width: 80%;
        label{cursor: pointer;}
    }

    h3.need::after {
        content: "★";
        margin-left: 0.4em;
    }

    textarea,
    input[type="text"] {
        font-size: 1.2rem;
        padding: 0.7em;
        border: 1px solid var(--maincolor);
        border-radius: 0.3em;
        background: #f4faff;
        width: 100%;
    }
}

.form_btn {
    margin: 3em auto;
    display: block;
    position: relative;
    width: 10em;
    font-size: 105%;
    letter-spacing: 0.1em;
    height: 100%;
    padding: 0.5em 1em;
    color: var(--white);
    border: 1px solid var(--maincolor);
    border-radius: 0.5em;
    background: var(--maincolor);
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
}

.form_btn:hover,
.form_btn:active {
    color: var(--maincolor);
    background: var(--white);

}



/*●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
	▼　タブレット用css　▼
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●*/

@media (max-width:1024px) {
    
    /*ヘッダー*/

    /*フッター*/


    /*見出し*/


    /*メインビュー*/
    

    /*リスト設定*/
    .list_box{
        flex-wrap: wrap;
        --listitem-length:2;
        --gap:2.5em;
    }



}

@media(max-width:900px){


    .section_title{
    font-size: 1.8rem;
    margin: 1em auto 0.7em;

    &.small{font-size: 1.4rem;}
}



    header{
        --header-height: 70px;
    }
    .site_name{
        font-size: 1.3rem;
    }

    #menu{
        position: fixed;
        bottom: 0;
        right: -100%;
        width: 100%;
        height: calc(100% - var(--header-height));
        background: rgba(255,255,255,0.9);
        transition: 0.4s;
        overflow-y: scroll;
        align-items: flex-start;
        padding-top: calc(var(--header-height) / 2);
    }
    #menu.open{
        right: 0;
    }
    nav .menu_list{
        padding: 1em;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
        gap:0.2em;
    }
    .menu_list > li{
        width: 100%;
        height: auto;
        padding: 0.5em;
        text-align: left;
        flex-direction: column;
        border-bottom: 1px dashed var(--maincolor);
        a,a.contact_btn{
            font-size: 1.25rem;
            display: block;
            color: var(--maincolor);
            padding: 0.5em;
        }
    }

    /*ハンバーガーボタン*/
    .menubtn{
        position: absolute;
        top: 50%;
        right: 0.5em;
        translate: 0 -50%;
        width: 50px;
        height: 50px;
        text-align: center;
        z-index: 2;
        display: block;
        cursor: pointer;
    }
    .menubtn>div{
        height: 100%;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .menu_btn_item{
        position: relative;
        height: 2px;
        width: 80%;
        border: none;
        background: var(--white);
        transition: 0.3s;
    }
    .menu_btn_item::before,
    .menu_btn_item::after{
        content: '';
        display: block;
        position: absolute;
        background: var(--white);
        height: 100%;
        width: 100%;
        left: 50%;
        translate: -50%;
        transition: all 0.3s;
    }
    .menu_btn_item::before{
        top: -10px;
    }
    .menu_btn_item::after{
        top: 10px;
    }
    .open .menu_btn_item{
        background: transparent;
    }
    .open .menu_btn_item::before{
        top: 0;
        rotate: 35deg;
    }
    .open .menu_btn_item::after{
        top: 0;
        rotate: -35deg;
    }



    #mainimg{
        flex-direction: column;
        .splide,.top_copy{
            width: 100%;
        }
        .top_copy .copy_text{
            width: 80%;
            max-width: 400px;
            line-height: 1.6;
            margin-top: 0.5em;
            font-size: 2.7rem;
        }
    }

    .first_copy{line-height: 1.8;margin: 0;}


    /*査定*/

    .appraisal_box{
        --listitem-length:1;
        max-width: 600px;
        li{
            border: 1px solid var(--maincolor);
            display: flex;
            flex-wrap: wrap;
            gap: 1em;
            position: relative;
            align-items: center;
            border-radius: 8px;

            h3{
                width: 100%;
                background: var(--maincolor);
                color: var(--white);
                padding: 0.5em;
                border-radius: 8px 8px 0 0;
            }
            figure{
                width: 35%;
                max-width: 150px;
                position: static;
            }
            &:not(:last-child) figure::after{
                top: 100%;
                left: 50%;
                translate: -50% 0;
                rotate:135deg;
            }
            p{
                width: calc(65% - 1em);
                text-align: left;
                padding: 0 0.5em;
                br{display: none;}
            }
        }
    }


    /*お問い合わせ*/
    #contact{
        padding: 1em;
        p.cen{text-align: justify;}
    }
    /*メールフォーム*/
    .form {
        width: 100%;
        li {
            flex-wrap: wrap;
        }

        h3,div {
            width: 100%;
        }

        textarea,
        input[type="text"] {
            padding: 0.4em;
            font-size: 1rem;
        }
    }


    /*footer*/
    .footer_menu{
        flex-wrap: wrap;
        padding: 1em;
        row-gap: 0.5em;
    }


    /*サブページ*/
    .page_title{
    height: 20vh;

    figure{
        translate:50% -50%;
        opacity: 0.4;
        img{width: 100%;height: 100%;object-fit: cover;}
    }
    h1{
        color: var(--white);
        font-size: 1.4rem;
    }

}


    #purchase{padding: 1em;}
    .purchase_box {
        li{
            display: block;
            width: calc((100% - 30px) / 2);
            margin-bottom: 1em;
            padding: 10px;

            h3{
                font-size: 0.9rem;
            }
        }
    }



    .pc{display: none;}
    .sp{display: block;}
    .pc_cen{text-align: justify;}

}

/*●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
	▼　スマホ用css　▼
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●*/

@media (max-width: 600px) {
    
    /*全体*/
    body{font-size: 0.95rem;}
    main > section{padding: 2em;}

    
    .list_box{
        width: 100%;
        --gap:1.5em;
    }
    
    .site_name a .site_logo{
        max-width: 6em;
    }

    #mainimg .top_copy .copy_text{
        font-size: 2.4rem;
    }
    h1.first_copy{
        text-align: justify;
        font-size: 1.6rem;
        br{display: none;}
    }


    /*サブページ用*/
        .asso_list {
            gap: 0;

            dt,
            dd {
                width: 100%;
            }
            dt{
                border-bottom-style: dashed;
            }
    
            dd {
                border-left:2px solid var(--maincolor);
                margin-bottom: 1em;
            }
        }

}


@media(max-width:450px){

    #appraisal .appraisal_box li{
    figure{
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 0;
        img{max-width: 110px;}
    }
    p{
        width: 90%;
        text-align: justify;
        padding: 0 0.5em;
    }
}

}


/*●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
    ▲　スマホ用css　▲
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●*/
