/* CSS Document */
.company__wrap > div:first-of-type {
    margin-top: 40px;
}
.company__wrap > div {
	margin-top: 110px;
}
.section__title{
    margin-bottom: 50px;
}
.morebtn.is-brown {
    margin-top: 0px;
    font-size: calc(14 / var(--root-font-size) * 1rem);
}
.morebtn.is-black {
	display: block;
    margin-top: 10px;
    font-size: calc(14 / var(--root-font-size) * 1rem);
}
/*message*/
.message__img{
    margin-bottom: 2em;
}
.message__head{
    font-size: calc(20 / var(--root-font-size) * 1rem);
    margin-bottom: 1.5em;
	font-family: "fot-rodin-pron", sans-serif;
	font-weight: 500;
}
.message__caption p{
    font-size: calc(14 / var(--root-font-size) * 1rem);
	text-align: justify;
}
.message__caption p:not(:last-of-type){
    margin-bottom: 1.5em;
}
.message__caption p:last-of-type{
    text-align: right;
}
.message__name{
    font-size: 150%;
    margin-left: 1em;
}
/*outline*/
.outline__title{
    color: #7C7C7C;
    margin-bottom: .5em;
}
.outline__inner{
    padding: 15px 0;
    border-top: 1px solid #7c7c7c;
}
.outline__inner:last-of-type{
    border-bottom: 1px solid #7c7c7c; 
}
.outline__text p{
    font-size: calc(14 / var(--root-font-size) * 1rem);
    text-indent: -1em;
    padding-left: 1em;
}
.outline__text p:not(:last-of-type){
    margin-bottom: 2em;
}
.outline__text .btn__link{
    text-align: right;
	margin-left: 0;
    margin-top: 0;
	
}
/*studio*/
.studio__wrap{
    position: relative;
}
.slide-arrow{
    top: 0;
    z-index: 10;
}
.next-arrow{
    right: 0;
    transform: translateY(-220%) rotate(180deg);
}
.prev-arrow{
    right: 57px;
    transform: translateY(-220%);
}
.slick-list {
    margin-bottom: 30px;
    overflow: visible;
}
.progress {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 10px;
  overflow: hidden;
  
  background-color: #f5f5f5;
  background-image: linear-gradient(to right, #A56632, #A56632);
  background-repeat: no-repeat;
  background-size: 0 100%;
  
  transition: background-size .4s ease-in-out;
}
.studio__wrap__list__item{
    margin-right: 30px;
}
.studio__wrap__list .studio__wrap__list__item .image{
    margin-bottom: 20px;
}
.studio__wrap__list .studio__wrap__list__item .heading{
    font-size: calc(18 / var(--root-font-size) * 1rem);
    margin-bottom: 1em;
}
.studio__wrap__list .studio__wrap__list__item .text p{
    font-size: calc(14 / var(--root-font-size) * 1rem);
}
/*history*/
.history__container{
    padding-left: 30px;
    border-left: 2px solid red;
    border-image: 
    linear-gradient(
    to top, 
    #B27B4A, 
    #F7C89E
    ) 1 100%;
}
.history__inner{
    margin: 2em 0;
}
.history__title{
    position: relative;
}
.history__title__text{
    position: relative;
    z-index: 1;
}
.history__title__seireki {
    position: absolute;
    left: 25px;
    bottom: -6px;
    z-index: 0;
    font-size: calc(45 / var(--root-font-size) * 1rem);
    font-family: "baskerville-urw", serif;
    -webkit-text-stroke: 1px #B27B4A33;
    color: transparent;
    font-weight: bold;
}
.history__text p{
    font-size: calc(14 / var(--root-font-size) * 1rem);
}
@media screen and (min-width: 768px) {
	.company__wrap > div:first-of-type{
    margin-top: 147px;
	}
	.company__wrap > div{
    margin-top: 150px;
	}
	.message__wrap .section__title {
   	 margin-bottom: -50px; 
	}
    .btn__link{
        display: inline-block;
    }
    .message__inner{
        display: flex;
		flex-direction: column;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .message__img{
        max-width: 58.33333333%;
		margin: 0 0 2rem auto;
    }
	.message__head{
    font-size: calc(24 / var(--root-font-size) * 1rem);
    margin-bottom: 1em;
	font-weight: 600;
	font-family: "fot-rodin-pron", sans-serif;
	}
	.message__caption p{
		font-size: calc(15 / var(--root-font-size) * 1rem);
	}
    .message__caption{
        width: 100%;
    }
    .studio__wrap{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .studio__wrap .section__title{
        width: 40%;
    }
    .studio__container{
        width: 60%;
        margin-left: auto;
    }
    .prev-arrow{
        right: auto;
        left: 0;
        top: 50%;
        transform: translateY(-170%);
    }
    .next-arrow{
        right: auto;
        left: 77px;
        top: 50%;
        transform: translateY(-170%) rotate(180deg);
    }
    .slick-list{
        overflow: visible;
    }
    .studio__wrap__list{
        position: static;
    }
    .studio__wrap__list__item{
        margin-right: 30px;
    }
    .studio__wrap .section__title{
        position: relative;
        z-index: 3;
    }
    .studio__container::before{
        content: "";
        width: 100%;
        height: 100%;
        background: var(--main);
        position: absolute;
        top: 0;
        transform: translateX(-100%);
        z-index: 2;
    }
    .outline__wrap{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .outline__wrap .section__title{
        width: 40%;
    }
    .outline__container{
        width: 60%;
    }
	.outline__text p {
    font-size: calc(15 / var(--root-font-size) * 1rem);
	}
    .history__wrap{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;        
    }
    .history__wrap .section__title{
        width: 40%;
    }
    .history__container{
        width: 60%;
    }
	.history__text p {
    font-size: calc(15 / var(--root-font-size) * 1rem);
	}
	.history__title__seireki {
    left: 20px;
    bottom: -9px;
    z-index: 0;
    font-size: calc(54 / var(--root-font-size) * 1rem);
	}
}
@media screen and (min-width: 961px) {
    .outline__inner,
    .history__inner{
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        align-items: baseline;
    }
    .outline__title,
    .history__title{
        width: 30%;
        margin-bottom: 0;
    }
    .outline__text,
    .history__text{
        width: 70%;
    }
}

