@charset "utf-8";

/*
	万SAI堂についてのcss

*/
/*=================================
共通
===================================*/
.ttl {
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ttl span {
    padding-top: 16px;
    font-size: 67%;
    color: #ca5044;
}
.more {
    background: #ca5044;
    border-radius: 30px;
    display: inline-block;
}
.more a {
    padding: 7px 45px 8px 25px;
    color: #fff;
    position: relative;
}
.more a::before {
    content: "";
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    width: 9px;
    height: 9px;
    border-top: 2px solid #FFF;
    border-right: 2px solid #FFF;
    transform: rotate(45deg);
}

/*=================================
h1
===================================*/
.p-header {
    padding: 70px 0;
    width: 100%;
    background-image: url(../images/purchase/p-header-bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.p-header--layout {
    max-width: 1200px;
    background-color: #fff;
    border-radius: 15px;
}


    /* -------------------------------------------
		h1  > SP
	--------------------------------------------- */
    @media (min-width:0px) {
        .p-header--layout {
            padding: 40px 25px;
            display: flex;
            align-items: center;
            flex-direction: column;
        }

    }

    /* -------------------------------------------
		h1  > TABLET
	---------------------------------------------- */
    @media (min-width:720px) {
        .p-header--layout {
            padding: 40px 30px;
        }

    }

    /* -------------------------------------------
		h1  > PC
	---------------------------------------------- */
    @media (min-width:1028px) {
        .p-header--layout {
            padding: 50px 50px;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
        }
    }

    /* -------------------------------------------
		h1  > wide PC
	---------------------------------------------- */
    @media (min-width:1460px) {
        .p-header--layout {
            padding: 50px 80px;
        }

    }


/*=================================
VISION
===================================*/
.p-vision {
    padding: 70px 0;
}

.p-vision--txt {
    text-align: center;
    line-height: 1.7;
    background-color: #fff;
    border: 1px solid #ca5044;
    border-radius: 8px;
}

.p-vision--txt p {
    font-size: 1.4rem;
    font-weight: bold;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

    /* -------------------------------------------
		VISION  > SP
	--------------------------------------------- */
    @media (min-width:0px) {
        .p-vision--txt {
            padding: 3rem 0.3rem 3rem 0.3rem;
            margin: 0 0.8rem;
            box-shadow: 6px 6px 0px #ca4f443b;
        }
        .p-vision--txt p {
            font-size: 1rem;
        }

    }

    /* -------------------------------------------
		VISION  > TABLET
	---------------------------------------------- */
    @media (min-width:720px) {
        .p-vision--txt {
            padding: 3rem;
            margin: auto;
            max-width: 700px;
            box-shadow: 10px 10px 0px #ca4f443b;
        }
        .p-vision--txt p {
            font-size: 1.4rem;
        }

    }

    /* -------------------------------------------
		VISION  > PC
	---------------------------------------------- */
    @media (min-width:1028px) {
        .p-vision--txt {
            padding: 3rem 6rem;
            margin: auto;
            max-width: 850px;
        }

    }

    /* -------------------------------------------
		VISION  > wide PC
	---------------------------------------------- */
    @media (min-width:1460px) {

    }


/*=================================
HISTORY
===================================*/
.p-history {
    padding: 70px 0;
}

.timeline {
    list-style: none;
}
.timeline>li {
    padding-bottom: 15px;
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: 1px #f0cac7 solid;
}
.timeline-img {
    margin-top: 10px;
}
.timeline-img img {
    border-radius: 5px;
}
.timeline-date {
    color: #ca5044;
    font-size: 90%;
}

/* for Desktop */
@media (min-width : 640px) {
    .timeline>li {
        padding-bottom: 0;
        overflow: hidden;
        margin: 0;
        position: relative;
        display: flex;
        justify-content: center;
        border: none;
    }
    .timeline-date {
        width: 30%;
        float: left;
        margin-top: 20px;
        color: #ca5044;
        font-size: 90%;
        text-align: right;
        margin-right: 30px;
    }
    .timeline-content {
        width: 70%;
        float: left;
        border-left: 3px #f0cac7 solid;
        padding-left: 35px;
        padding-top: 20px;
        padding-bottom: 15px;
        position: relative;
    }

    .timeline-content:before {
        content: '';
        width: 12px;
        height: 12px;
        background: #ca5044;
        position: absolute;
        left: -8px;
        top: 29px;
        border-radius: 100%;
    }
}

