@charset "utf-8";

body {
    background-color: #c8daf678;
}

@media screen and (min-width: 1201px) {
.body p {
    font-size: 17px;
}
}

.title_box {
    display: flex;
    justify-content: space-between;
}

.title {
    position: absolute;
    top: 20px;
    left: 30%;
}

@media screen and (min-width: 1201px) {
    .title {
        display: none;
    }
}

/* .title h2 {
    margin: 10px 0 0 20px;
    font-size: 20px;
} */


.orifior_img {
    width: 150px;
    margin: 20px;
    margin-left: 50%;
}

@media screen and (min-width: 1201px) {
.orifior_img {
    display: block;
    width: 180px;
    margin-top: 20px;
    margin-left: 40px;
}
}

/* -----------------ナビゲーション------------------ */

/* nav {
    position: fixed;
    top: 0;
}  */


.nav ul {
    width: 1000px;
    background-color: #4E5471;
    margin: 20px 0;
    padding: 10px 5px;
    display: flex;
    justify-content: space-around;
}

.nav ul li {
    list-style: none;
    color: #D9CECE;
}


.nav li a{
    display: block;
    /* padding: 1.3em 20px; */
    color: #D9CECE;
    text-decoration: none;
    font-size: 14px;
    /* font-family: 'Imprima', sans-serif; */
    line-height: 1.5rem;
  }
  
  li a {
    position: relative; /*アンダーラインの位置を決めるための基準 */
  }
    
  li a::after {
    position: absolute; /*親要素であるaタグを基準に位置を指定*/
    left: 0;            /*アンダーラインを各メニュー（aタグ）の左端に指定*/
    content: '';        /*本来は、擬似要素に入るテキストなどを’’内に指定。今回はアンダーラインなので何も記載しない*/
    width: 100%;        /*アンダーラインを各aタグの幅に合わせる*/
    height: 2px;        /*アンダーラインの高さ（太さ）*/
    background: #000000;/*アンダーラインの色*/
  }
  
  li a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 1.5px;
    background: #e4e0e0;
    top: 25px;               /*アンダーラインがaタグの下端から現れる*/
    transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
    transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
    transition: transform 0.3s; /*変形の時間*/
  }
  
  li a:hover::after {
    transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
  }

  @media screen and (min-width: 1201px) {
    .hnav {
        display: none;
    }
    }

/* -----------------新着情報------------------ */

.news_img {
    text-align: center;
}

.news_img img {
    width: 350px;
}

@media screen and (min-width: 1201px) {
.news_img {
    text-align: center;
}

.news_img img {
    width: 550px;
}
}
/* .news_img img {
    display: block;
    text-align: center;
    margin: 20px auto 20px;
} */

.news_img2 img {
    width: 350px;
}

.news_img2 {
    text-align: center;
}

@media screen and (min-width: 1201px) {
    .news_img2 img {
        width: 550px;
    }

    .news_img2 {
        text-align: center;
    }
}

.top_logo {
    display: block;
    margin: 0 auto;
    width: 550px;
    position: absolute;
    top: 50%;
    left: 35%;
    opacity: 0.3;
}

.sns_logo {
    display: flex;
    justify-content: center;
}

.sns_logo img {
    margin: 30px;
}

@media screen and (min-width: 1201px) {
    .sns_logo {
        display: flex;
        justify-content: center;
    }

    .sns_logo img {
        margin: 30px;
    }
}

/* ------------------背景--------------------- */


.background_box {
    height: 850px;
    overflow: hidden;
}

.background_box .background {
    position   : absolute;
    top        : 85px;
    left       : 0;
    bottom     : 0;
    right      : 0;
    opacity    : 0;
    animation  : bgAnime 24s infinite; 
}

.background_box .img1 {
    background-image: url(../images/home/top_1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}


.background_box .img2 {
    background-image: url(../images/home/top_4.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    animation-delay  : 4s;
}

.background_box .img3 {
    background-image: url(../images/home/top_5.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    animation-delay  : 8s;
}

.background_box .img4 {
    background-image: url(../images/home/top_6.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    animation-delay  : 12s;
}

.background_box .img5 {
    background-image: url(../images/home/top_2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    animation-delay  : 16s;
}

.background_box .img6 {
    background-image: url(../images/home/top_3.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    animation-delay  : 20s;
}

@keyframes bgAnime {
    0% { opacity: 0; }
    5% { opacity: 1; }
   25% { opacity: 1; }
   30% { opacity: 0; }
  100% { opacity: 0; }
}



.twitter-timeline {
    margin: 20px auto 30px;
}

/* .news_box {
    padding: 20px;
    margin: 10px 0;
} */

#news {
    text-align: center;
    margin: 30px 0;
}

/* ----------------オリーフィオとは モバイル---------------- */

.about p {
    margin-bottom: 30px;
    line-height: 1.5em;
}

.about_img img {
    width: 350px;
    transition-duration: 0.5s; 
}

.about_img img:hover {
    /* transform: scale(1.5 ,1.5); */
    cursor: pointer;
}

.about_img {
    overflow: hidden;
}

.about {
    padding-top: 50px;
    margin-top: 60px;
    text-align: center;
}

.about_title {
    /* margin: 0 auto 60px; */
    margin-left: 20px;
    /* width: 100%; */
    display: flex;
    border-bottom: 3px solid #9fabe5;
}

.about_title p {
    font-size: 20px;
    margin-bottom: 5px;
}

.about_text {
    margin: 0 auto;
    width: 300px;
}

.orifior {
    background-color: #516c81;
}

.orifior p {
    color: rgb(231, 240, 255);
}

.orifior h2 {
    color: rgb(231, 240, 255);
}

.crtop {
    position: relative;
    top: 5px;
    z-index: 20;
}



/* ----------------オリーフィオとは---------------- */

@media screen and (min-width: 1201px) {
    .orifior {
        background-color: #516c81;
    }

    .orifior p {
        color: rgb(231, 240, 255);
    }

    .orifior h2 {
        color: rgb(231, 240, 255);
    }
}

@media screen and (min-width: 1201px) {
    .crtop {
        position: relative;
        top: 5px;
    }
}


@media screen and (min-width: 1201px) {
    .about_title {
        margin: 0 auto 10px;
        width: 1170px;
        text-align: left;
        display: flex;
        border-bottom: 3px solid #9fabe5;
    }

    .about_title p {
        font-size: 20px;
        margin-bottom: 5px;
    }

}


@media screen and (min-width: 1201px) {
.about {
    text-align: left;
    width: 1170px;
    margin: 0 auto;
}

.about p {
    color: rgb(231, 240, 255);
    line-height: 1.5em;
}

.about_img img {
    width: 450px;
    transition-duration: 0.5s; 
}

.about_img img:hover {
    transform: scale(1.5 ,1.5);
    cursor: pointer;
}

.about_img {
    overflow: hidden;
}

.about {
    padding-top: 100px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.about_text {
    text-indent: 1em;
    width: 500px;
    margin-top: 70px;
}
}

/* -------------オリーフィオの指導方針 モバイル---------------- */

.guidance_title_img {
    z-index: 30;
    height: 40px;
}

.guidance_title h2 {
    margin: 0 auto;
}

.guidance_title {
    width: 100%;
    margin: 60px auto 60px;
    padding-bottom: 10px;
    display: flex;
    border-bottom: 3px solid #9fabe5;
}

/* -------------オリーフィオの指導方針---------------- */

@media screen and (min-width: 1201px) {
/* .guidance {
    margin: 0 auto;
}

.guidance_title_img {
    width: 150px;
}

.guidance_title {
    text-align: left;
    width: 1170px;
    margin: 60px auto 100px;
    padding-bottom: 10px;
    display: flex;
    border-bottom: 3px solid #4E5471;
}

.guidance_title span {
    font-size: 22px;
}

.guidance_title p {
    margin-bottom: 0;
} */

.guidance_title {
    width: 300px;
    text-align: left;
    margin: 60px auto 100px;
}

.guidance_title h2 {
    margin-bottom: 0;
}
}

/* ----------------挑戦 モバイル------------------ */

.challenge_box {
    text-align: center;
}

.challenge_text {
    text-indent: 1em;
    width: 300px;
    line-height: 1.5em;   
    margin: 0 auto; 
}

.challenge_img {
    width: 350px;
    transition-duration: 0.5s; 
}

.challenge_img:hover {
    /* transform: scale(1.3, 1.3); */
    cursor: pointer;
}

.scale_box {
    overflow: hidden;
}

@media screen and (min-width: 1201px) {
.challenge_box {
    text-align: left;
    width: 1170px;
    margin: 0 auto;
    margin-bottom: 100px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.challenge_text {
    margin-top: 30px;
    text-indent: 1em;
    width: 500px;
    line-height: 1.5em;
    text-align: left;    
}

.challenge_img {
    width: 450px;
    transition-duration: 0.5s; 
}

.challenge_img:hover {
    transform: scale(1.5, 1.5);
    cursor: pointer;
}

.scale_box {
    overflow: hidden;
}
}

/* ----------------挑戦------------------ */

/* ------------------失敗と成功----------------- */

.miss_box {
    margin-top: 60px;
    margin-bottom: 100px;
    text-align: center;
}

.miss_text {
    width: 300px;
    text-indent: 1em;
    line-height: 1.5em;
    margin: 0 auto 30px;
}

.miss_img {
    width: 350px;
    transition-duration: 0.5s; 
}

.miss_img:hover {
    /* transform: scale(1.3, 1.3); */
    cursor: pointer;
}

@media screen and (min-width: 1201px) {
.miss_box {
    text-align: left;
    width: 1170px;
    margin: 60px auto 100px;
    display: flex;
    justify-content: space-around;
}

.miss_img {
    width: 450px;
    transition-duration: 0.5s; 
}

.miss_img:hover {
    transform: scale(1.5, 1.5);
    cursor: pointer;
}


.miss_text {
    margin-top: 60px;
    text-align: left;
    width: 500px;
    text-indent: 1em;
    line-height: 1.5em;
}
}

/* ------------------褒める------------------- */

.praise_box {
    padding-bottom: 50px;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 100px;
}

.praise_text {
    width: 300px;
    text-indent: 1em;
    line-height: 1.5em;
    margin: 0 auto 30px;
}

.praise_img {
    width: 350px;
    transition-duration: 0.5s; 
}

.praise_img:hover {
    /* transform: scale(1.3, 1.3); */
    cursor: pointer;
}

@media screen and (min-width: 1201px) {
.praise_box {
    padding-bottom: 100px;
    text-align: left;
    width: 1170px;
    margin: 60px auto 100px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
}

.praise_text {
    margin-top: 55px;
    width: 500px;
    text-indent: 1em;
    line-height: 1.5em;
}

.praise_img {
    width: 450px;
    transition-duration: 0.5s; 
}

.praise_img:hover {
    transform: scale(1.5, 1.5);
    cursor: pointer;
}
}

/* ------------------カレンダー----------------- */

.calendar_img {
    display: block;
    margin: 20px auto 20px;
    width: 350px;
}

.calendar_box h2 {
    text-align: center;
}

.calendar_title a {
    margin-bottom: 40px;
    padding-left: 5px;
    padding-right: 5px;
    text-decoration: none;
    color: black;
    border-bottom: 3px solid #4E5471;
}

@media screen and (min-width: 1201px) {
.calendar_img {
    display: block;
    margin: 20px auto 20px;
    width: 550px;
}

.calendar_box h2 {
    text-align: center;
}

.calendar_title a {
    margin-bottom: 40px;
    padding-left: 5px;
    padding-right: 5px;
    text-decoration: none;
    color: black;
    border-bottom: 3px solid #4E5471;
}

}

/* -----------------ボタン------------------ */

.btn_box {
    /* display: block;
    margin: 0 auto; */
    text-align: center;
}

/* ボタン共通設定 */
.btn03{
    /*影の基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
	text-decoration: none;
	display: inline-block;
    text-align: center;
    background: transparent;
	border-radius: 25px;
	border: solid 1px #333;
    outline: none;
    /*アニメーションの指定*/
    transition: all 0.2s ease;
}

/*hoverをした後のボタンの形状*/
.btn03:hover{
	border-color:transparent;	
}

/*ボタンの中のテキスト*/
.btn03 span {
	position: relative;
	z-index: 2;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
    /*テキストの形状*/
	display: block;
    padding: 10px 30px;
	background:#fff;
	border-radius: 25px;
	color:#333;
    /*アニメーションの指定*/
    transition: all 0.3s ease;
}

/*== 下に押し込まれる（立体が平面に） */

/*影の設定*/
.pushdown:before {
    content:"";
    /*絶対配置で影の位置を決める*/
    position: absolute;
	z-index: -1;
    top:4px;
    left:0;
    /*影の形状*/
    width: 100%;
    height: 100%;
	border-radius: 25px;
    background-color: #4E5471;
}

/*hoverの際にY軸に4pxずらす*/
.pushdown:hover span {
	background-color: #4E5471;
	color: #fff;
	transform: translateY(4px);
}

@media screen and (min-width: 1201px) {

.btn_box {
    /* display: block;
    margin: 0 auto; */
    text-align: center;
}

/* ボタン共通設定 */
.btn03{
    /*影の基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
	text-decoration: none;
	display: inline-block;
    text-align: center;
    background: transparent;
	border-radius: 25px;
	border: solid 1px #333;
    outline: none;
    /*アニメーションの指定*/
    transition: all 0.2s ease;
}

/*hoverをした後のボタンの形状*/
.btn03:hover{
	border-color:transparent;	
}

/*ボタンの中のテキスト*/
.btn03 span {
	position: relative;
	z-index: 2;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
    /*テキストの形状*/
	display: block;
    padding: 10px 30px;
	background:#fff;
	border-radius: 25px;
	color:#333;
    /*アニメーションの指定*/
    transition: all 0.3s ease;
}

/*== 下に押し込まれる（立体が平面に） */

/*影の設定*/
.pushdown:before {
    content:"";
    /*絶対配置で影の位置を決める*/
    position: absolute;
	z-index: -1;
    top:4px;
    left:0;
    /*影の形状*/
    width: 100%;
    height: 100%;
	border-radius: 25px;
    background-color: #4E5471;
}

/*hoverの際にY軸に4pxずらす*/
.pushdown:hover span {
	background-color: #4E5471;
	color: #fff;
	transform: translateY(4px);
}

}

/* -----------------フッター-------------------- */

.footer_contact {
    text-align: center;
}

.tel {
    font-size: 13px;
    color: #D9CECE;
    text-decoration: none;
}

.mail {
    font-size: 13px;
    color: #D9CECE;
    text-decoration: none;
}

.footer_box {
    padding: 40px;
   background-color: #4E5471;
}

.copyright {
    margin: 0;
    color: white;
    text-align: center;
}

@media screen and (min-width: 1201px) {
.footer_contact {
    display: flex;
    justify-content: center;
}

.tel {
    color: #D9CECE;
    text-decoration: none;
}

.mail {
    margin-left: 20px;
    color: #D9CECE;
    text-decoration: none;
}

.footer_box {
    padding: 40px;
   background-color: #4E5471;
}

.copyright {
    margin: 0;
    color: white;
    text-align: center;
}
}

.sns_logo {
    display: flex;
    justify-content: center;
}

.sns_logo img {
    margin: 30px;
}

@media screen and (min-width: 1201px) {
    .sns_logo {
        display: flex;
        justify-content: center;
    }

    .sns_logo img {
        margin: 30px;
    }
}