/* Background */
body{
background-color: #fff;
}


/* Utility */
.u-tac {
    text-align: center;
}

.funayama-sec--md {
    margin-bottom: 60px;
}
@media print,screen and (min-width:768px){
    .funayama-sec--md {
        margin-bottom: 80px;
    }
}

.funayama-block--md {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.funayama-block--lg {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.funayama-block--img {
    margin-top: 40px;
}

@media print,screen and (min-width:768px){
    .funayama-block--img {
        margin-top: 80px;
        margin-left: -10px;
        margin-right: -10px;
    }
}

@media print, screen and (min-width: 1025px) {
    .u-hiddenPC {
    /* 1024px以上用（PC）の記述 */
	display: none;
    }
}

@media screen and (max-width: 1024px) and (min-width: 480px) {
.u-hiddenTB {
    /* 1023px以下用（タブレット）の記述 */
	display: none;
    }
}

@media screen and (max-width: 479px) {
.u-hiddenSP {
    /* 479px以下用（スマートフォン用）の記述 */
	display: none;
    }
}



/* .pagetop {
    position: relative;
} */

/* animation */
.is-ready .is-in-left,
.is-ready .is-in-right,
.is-in-left.is-ready,
.is-in-right.is-ready,
.is-in-bottom.is-ready {
    opacity: 0;
    transition: transform .5s ease-in-out, opacity .5s ease-in-out;
}
.is-ready .is-in-left,
.is-in-left.is-ready {
    transform: translateX(-100%);
}
.is-ready .is-in-right,
.is-in-right.is-ready {
    transform: translateX(100%);
}
.is-in-bottom.is-ready {
    transform: translateY(100px);
}

.is-active .is-in-left,
.is-active .is-in-right,
.is-in-left.is-active,
.is-in-right.is-active,
.is-in-bottom.is-active {
    transform: translate(0);
    opacity: 1;
}
.is-cover-image.is-ready {
    position: relative;
}
.is-cover-image.is-ready::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 120%;
    background: #fff;
    transition: width .5s ease-in-out;
}
.is-cover-image.is-active::before {
    width: 0;
}

/* key visual */
.funayama-key-visual {
    padding-top: 100%; /* 高さと幅の比を比率で固定。 */
    background: no-repeat 50% 0;
    background-size:contain;
    position: relative;
}
@media print,screen and (min-width:768px){
    .funayama-key-visual {
    padding-top: 300px;
    background: no-repeat 50% 0;
    background-size: 100% auto;
    position: relative;
    }
}
.funayama-key-visual::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    background: linear-gradient(90deg, rgba(0,160,182,1.00), rgba(0,40,102,1.00));;
    transition: transform .3s ease-in-out;
}
.funayama-key-visual.is-active::before {
    transform: translateX(100%);
}
.funayama-key-visual {
    background-image: url("../images/funayama_mv_sp.jpg");
}
@media print,screen and (min-width:768px){
    .funayama-key-visual::before {
        transition: transform .5s ease-in-out;
    }
    .funayama-key-visual p {
        font-size: 2rem;
    }
    .funayama-key-visual {
        background-image: url("../images/funayama_mv_pc.jpg");
        margin-top: 144px;
        padding-top:  56.25%; /* 高さと幅の比を比率で固定。 */
        width: 100%;
        height: auto;
    }
}

@media print,screen and (min-width:1024px){
.funayama-key-visual {
    margin-top: 120px; 
    width: 100%;
    height:　auto;
	}
}

/* テキスト*/
.funayama-lead {
    margin-top: 1.8rem;
    font-size: 1.6rem;
	text-align: justify;
    font-weight: bold;
    line-height: 2.4;
}
@media print,screen and (min-width:768px){
    .funayama-lead {
        margin: 2.4rem 0 -1.2rem;
        font-size: 1.8rem;
		text-align: justify;
		line-height: 1.6;
		letter-spacing: -0.1px;
    }
}

.funayama-text {
    margin-top: 1.8rem 0 3.6rem 0;
    font-size: 1.5rem;
	text-align: justify;
    font-weight: normal;
    line-height: 1.6;
}
@media print,screen and (min-width:768px){
    .funayama-text {
        margin: 1.8rem 0 3.6rem 0;
        font-size: 1.65rem;
		text-align: justify;
		line-height: 1.8;
    }
}

.funayama-caption {
    margin: 0.7rem 0;
    font-size: 1.3rem;
	text-align: justify;
    font-weight: normal;
    line-height: 1.5;
}

@media print,screen and (min-width:768px){
    .funayama-caption {
        margin: 0.7rem 0 1.4rem 0;
        font-size: 1.4rem;
		text-align: justify;
		line-height: 1.5;
		letter-spacing: -0.1px;
    }
}
.funayama-year {
    margin: 1.3rem 0 0 0;
    font-size: 1.3rem;
	text-align: left;
    font-weight: bold;
    line-height: 2.0;
}

@media print,screen and (min-width:768px){
    .funayama-year {
		letter-spacing: -0.1px;
    }
}.funayama-record {
    margin: 0.7rem 0;
    font-size: 1.3rem;
	text-align: justify;
    font-weight: normal;
    line-height: 1.5;
}

@media print,screen and (min-width:768px){
    .funayama-record {
        margin: 0.7rem 0 1.4rem 0;
        font-size: 1.4rem;
		text-align: justify;
		line-height: 1.5;
		letter-spacing: -0.1px;
    }
}

/* カラム */
.funayama-column-list {
    margin-top: 10px;
}
.funayama-column-box_name {
    margin: 10px 0;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.3;
    text-align: left;
}
.funayama-column-box__text {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    line-height: 1.5;
    letter-spacing: -0.15px;
    text-align:justify;
}
.funayama-column-box_detail {
    margin-top: 1.5rem;
    line-height: 1.6;
    text-align:justify;
}
@media print,screen and (min-width:768px){
    .funayama-column-list {
        margin-top: -60px;
    }
    .funayama-column-box {
        display: flex;
        align-items: center;
    }
    .funayama-column-box:nth-child(odd) {
        flex-direction: row-reverse;
    }
    .funayama-column-box__img {
        flex: 0 0 50%;
        margin-right: 40px;
    }
    .funayama-column-box:nth-child(odd)     .funayama-column-box__img {
        margin: 0 0 0 40px;
    }
    .funayama-column-box_name {
        font-size: 2.2rem;
        line-height: 1.3;
        text-align: left;
        margin: 0 0 20px;
    }
    .funayama-column-box__text {
        margin: 0;
        font-size: 1.5rem;
        line-height: 1.46;
        flex: 1;
    }
}
@media print,screen and (min-width:1025px){
    .funayama-column-list {
        max-width: 1080px;
        margin-right: auto;
        margin-left: auto;
    }
    .funayama-column-box__img {
        flex: 0 0 60%;
    }
}

/* link btn */
.funayama-btn-wrap {
    margin: 30px auto 0;
    max-width: 360px;
    width: 100%;
}
.funayama-type-recomend + .funayama-btn-wrap {
    margin-top: 40px;
}
.funayama-link > ul + .funayama-btn-wrap {
    margin-top: 60px;
}
.funayama-image + .funayama-btn-wrap {
    margin-top: 20px;
}
.funayama-btn {
    margin: -1.5rem auto;
    padding: 10px;
    width: 90%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #ff4291;
    font-weight: bold;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.5;
    letter-spacing: -0.15px;
}
.funayama-btn-ghost {
    border: 2px solid #708090;
    color: #708090;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0 auto;
    font-size: 1.5rem;
    line-height: 1.5;
    letter-spacing: -0.15px;
}
@media print,screen and (min-width:768px){
    .funayama-btn {
        width: 80%;
        font-size: 1.2rem;
        line-height: 1.2;
    }
    .funayama-column-box .funayama-btn-wrap {
        margin-left: 0;
    }
    .funayama-column-box .funayama-btn {
        font-size: 1.5rem;
    }
}
@media print,screen and (min-width:1025px){
    .funayama-btn,
    .funayama-btn-ghost {
        position: relative;
        transition: color .15s ease-in-out;
    }
    .funayama-btn::before,
    .funayama-btn-ghost::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 0;
        transition: width .15s ease-in-out;
        z-index: 0;
        background: #e5e5e5;
    }
    .funayama-btn-ghost::before {
        background: #3d3d3d;
    }

    .funayama-btn:hover {
        color: #000;
    }
    .funayama-btn-ghost:hover {
        color: #000;
    }
    .funayama-btn:hover::before,
    .funayama-btn-ghost:hover::before {
        width: 100%;
    }
    .funayama-btn > span,
    .funayama-btn-ghost > span {
        position: relative;
    }
}
	
/* column-box */	
.funayama-column-box + .funayama-column-box {
    margin-top: 120px;
}

.funayama-visual {
    margin: 15px -10px 0;
}
.funayama-visual img {
    width: 100%;
}
.funayama-image {
    margin-top: 10px;
    text-align: center;
}
@media print,screen and (min-width:768px){
    .funayama-visual {
        margin: 40px -20px 0;
    }
}
@media print,screen and (min-width:1025px){
    .funayama-visual {
        margin-right: -10px;
        margin-left: -10px;
    }
}

/* page move */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 200%;
    background: #ff4291;
    transition: transform .4s ease-in-out;
    transform: translateX(-100%);
    z-index: 10000;
}
body.is-move:before {
    transform: translateX(0%);
}

  .pc { display:none; }
  .sp { display:block; }

@media screen and (min-width:768px){
  .pc { display:block; }
  .sp { display:none; }
}

/* その他 */
.spacer {
 	margin-bottom: 1.2rem;
}
@media print,screen and (min-width:768px){
    .spacer {
        margin-bottom: 3.6rem;
    }
}
@media print,screen and (min-width:1025px){
    .spacer {
        margin-bottom: 6rem;
    }
}

.logo-otw {
	margin: 0 auto;
	width: 90%
}
@media print,screen and (min-width:768px){
	.logo-otw {
	margin: 0 auto;
	width: 84%
	}
}
