@media (max-width: 1024px) {
body{
    min-width:755px;
    font-size:16px;
}
.top_wrap{
    width:90%;
    max-width:900px;
}
h2{
    font-size:35px;
    line-height:12px;
}
.ttlh2{
    font-size:36px;
    line-height:12px;
}
.ttlh4{
    font-size:19px;
    letter-spacing: 2px;
}
h3{
    font-size:22px;
    letter-spacing: 2px;
}
h4{
    font-size:18px;
    letter-spacing: 2px;
}
.first_animation{
    font-size:30px;
}

.line_icon{
    width: 240px;
}
/*--------- header ---------*/
.sp_header{
    display: block;
    display: flex;
    justify-content: center;
    padding-top: 25px;
    padding-bottom: 10px;
    z-index: 8000;
    position: relative;
}
.fp_header{
    display: block;
    display: flex;
    justify-content: center;
    padding-top: 25px;
    padding-bottom: 10px;
    z-index: 8000;
    position: relative;
}

.respo header{
    padding-top: 25px;
}
.menu_wrap{
    right:10px;
}
.right_tate{
    margin-right:15px;
}
.mail_tel{
    right:-16px;
}
.mail_tel img {
    width: 45px;
}
.mail_tel a:last-child {
    margin-top: 3px;
}

.respo .inner{
    max-width:800px;
}
.respo ul.respo_menu li{
    font-size:25px;
    letter-spacing: 1px;
    width:125px;
    height:70px;
}
.respo ul.respo_menu:first-child {
    margin-right: 15px;
}
.respo .respo_etc ul:first-child li{
    font-size:18px;
    height: 25px;
    line-height: 28px;
}
.respo .respo_etc ul:last-child li:last-child {
    font-size: 14px;
}
.respo .nav_pic {
    text-align: center;
}
.respo .nav_pic img {
    width: 85%;
}
.respo ul.respo_menu li p{
    font-size:12px;
}
.main_v{
    max-width:100%;
    z-index:100;
    overflow: hidden;
    position: relative;
    height:auto;
}
.main_v .main_pic{
    padding-top:56%;
    height:0;
}
.main_v .main_pic img{
    height:auto;
    max-width:100%;
}
.main_v p{
    top: 50%;
    font-size: 30px;
}

.main_pic .loop_sp{
    filter:saturate(1.2);
    display:block;
    opacity: 0;
    position:absolute;
    z-index:98;
    left: 0;
    top: 0;
    -webkit-animation: animes 40s 0s infinite;
    animation: animes 40s 0s infinite;
}

.loop_sp:nth-of-type(2) {
    -webkit-animation-delay: 10s;
    animation-delay: 10s;
}
.loop_sp:nth-of-type(3) {
  -webkit-animation-delay: 20s;
  animation-delay: 20s;
}
.loop_sp:nth-of-type(4) {
    -webkit-animation-delay: 30s;
    animation-delay: 30s;
}
/* ふわっとアニメーション */
@keyframes animes {
  0% {
    opacity: 0;
  }
  5%{
    opacity: 1;
  }

  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes animes {
  0% {
    opacity: 0;
  }
  5%{
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}

/*-------- philosophy -------*/
#philosophy{
    font-size:16px;
    margin-top:-40px;
}
#philosophy .philo_title {
    font-size: 20px;
}
#philosophy .inner_right {
    margin-left: 100px;
    padding-top: 100px;
}
#philosophy .philo_title{
    line-height:40px;
    margin-bottom: 30px;
}
#philosophy h1.philo_text {
    line-height: 34px;
    font-size: 16px;
}


/*-------- onestop --------*/
#onestop .onestop_wrap .inner {
    width: 32.5%;
}
#onestop .onestop_wrap .title{
    top:5px;
    right:4%;
    font-size:45px;
    letter-spacing:2px;
}
#onestop .onestop_wrap .waku{
    padding:35px 18%;
}
#onestop .onestop_wrap h4{
    right:5%;
    top:75px;
}
#onestop .onestop_wrap h5{
    font-size:47px;
}


/*-------- event --------*/
.news_inner{
    padding:200px 0 150px 0;
    width:90%;
}
#event .kizi .title {
    font-size: 16px;
}
#event .kizi .news_desc {
    font-size: 16px;
}
.news_btn a {
    font-size: 20px;
}
#news .kizi .title {
    font-size: 16px;
}
#news .kizi p {
    font-size: 16px;
}
/*-------- contact --------*/
#contact table{
    padding:180px 0 110px 0;
    margin-left:20%;
    line-height:50px;
    font-size: 16px;
}
#contact table .btn{
    width:500px;
    font-size: 16px;
}


/*-------- footer --------*/
footer .logo{
    text-align: center;
}
footer .top_wrap{
    display:block;
}
footer ul{
    justify-content: center;
    margin-top:15px;
}
footer ul li:first-child{
    margin-left:0;
}


}/*-- max-width:1024 end --*/








@media (max-width: 754px) {
body{
    min-width:100%;
    font-size:16px;
}
.sp_br{
    display:block;
}
h2{
    font-size:27px;
    letter-spacing: 3px;
    line-height:12px;
}
.title_wrap .ttlh2{
    font-size:27px;
    letter-spacing: 3px;
    line-height:12px;
    margin: 40px 0 10px 0;
}
h3{
    font-size:18px;
    letter-spacing: 1px;
}
.ttlh4{
    font-size:16px;
    height: 220px;
    letter-spacing: 1px;
    -webkit-writing-mode: horizontal-tb;
    -moz-writing-mode: horizontal-tb;
    -ms-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;  
}
h4{
    font-size:16px;
    letter-spacing: 1px;
    -webkit-writing-mode: horizontal-tb;
    -moz-writing-mode: horizontal-tb;
    -ms-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;  
}
h5{
    font-size:16px;
    letter-spacing: 1px;
}
.first_animation{
    font-size:32px;
    top:40%;
}

.line_icon{
    width: 150px;
    bottom: 6px;
    left: 6px;
}
.main_v .main_pic{
    padding-top:96%;
}
.main_v .main_pic img {
    height: 100%;
    object-fit: cover;
    max-width: 100%;
}
.main_v p{
    top: 47%;
    font-size: 21px;
    letter-spacing: 2px;
}

.title_wrap{
    top: 180px;;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.title_wrap h2{
    margin:20px 0 10px 0;
    display: inline-block;
}
.title_wrap h4{
    display:block;
    text-align: center;
}
.tate_arrow{
    height:80px;
    margin:0 auto;
}
.tate_arrow::after{
    bottom: -2px;
    left: 4px;
    height: 12px;
}
    
/*--------- header ---------*/
.respo header{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 15px;
    padding-top: 10px;
}
.fp_header{
    display:block;
    margin-left:15px;
    padding-top: 10px;
}
header .logo{
    margin-right:0;
}
.fp_header .logo img{
    width:190px;
    margin-bottom: 3px;
}
header .logo_sub{
    font-size: 7px;
}
.respo #header img{
    width: 190px;
    margin-bottom: -5px;
}

/*-------- 右側固定ナビなど -------*/
.toggle_btn span{
    width:22px;
}
.toggle_btn span:nth-child(1){
    left:6px;
}
.toggle_btn span:nth-child(2){
    width:34px;
    top:8px;
}
.toggle_btn span:nth-child(3){
    top:16px;
    left:6px;
}
.open .toggle_btn span:nth-child(1){
    transform: translate(-6px, 8px) rotate(-45deg);
}
.open .toggle_btn span:nth-child(3){
    transform: translate(-7px, -8px) rotate(45deg);
}



.right_fixed{
    top:15px;
    font-size:12px;
}
.menu_wrap{
    right:-19px;
}
.menu_wrap .menu{
    padding-right:8px;
}
.menu_event {
    line-height: 10px;
    margin-top: 32px;
}
.menu_event img {
    width: 12px;
    padding-top: 5px;
}
.menu_event .tatesen {
    height: 30px;
    margin: 0 auto 10px auto;
}
.menu_event:hover .tatesen{
    height:40px;
}
  
.right_tate{
    margin-right:3px;
}
.mail_tel img{
    width:30px;
}
.mail_tel {
    top:130px;
    right:-8px;
}


/*------ハンバーガー------*/
.respo{
    display:block;
}
.respo .inner{
    width: 100%;
    display: flex;
    height: 95vh;
    flex-direction: column;
    justify-content: center;
}
.respo .nav_pic{
    display:none;
}
.respo .respo_menu_wrap {
    justify-content: flex-start;
}
.respo .respo_etc{
    display:flex;
    margin-top:5%;
}
.respo ul.respo_menu{
    height:100%;
}
.respo .respo_etc ul:last-child li:nth-child(1) {
    margin-top: 0;
}
.respo .respo_etc ul:last-child{
    margin-left:30px;
}
.respo .respo_etc ul:last-child li:nth-child(2) {
    margin-bottom: 15px;
}
.respo ul.respo_menu:first-child {
    margin-right: 30px;
}

.respo ul.respo_menu li{
    font-size:22px;
    letter-spacing: 1px;
    width:129px;
    height:60px;
}
.respo .respo_etc ul:first-child img{
    width:24px;
    margin-right:7px;
}
.respo .respo_etc ul:first-child li{
    font-size:14px;
    height:16%;
    line-height:25px;
    letter-spacing: 0.5px;
}
.respo .respo_etc li{
    width:150px;
    font-size:13px;
    margin-bottom:8px;
}
.respo .respo_etc ul:last-child {
    margin-left: 0;
}

@media (max-width: 320px) {
    .respo .inner{ margin-top:10px; }
}


/*-------- philosophy -------*/
#philosophy{
    padding: 140px 0 50px 0px;
    border-radius:25px;
}
#philosophy .title_wrap{
    text-align: center;
    top:30px;
}
#philosophy .inner_right{
    margin-left:0;
    padding-top:0;
}
#philosophy .philo_title{
    font-size:18px;
    letter-spacing: 0px;
    line-height: 27px;
    text-align: center;
    margin-bottom:20px;
}
#philosophy h1.philo_text{
    line-height:27px;
    font-size: 16px;
}


/*-------- onestop -------*/
#onestop{
    padding: 100px 0 40px 0;
}
#onestop h3{
    padding-top:30px;
}
#onestop .onestop_wrap{
    margin-top:30px;
    display:block;
}
#onestop .onestop_wrap .inner{
    width:100%;
}
#onestop .onestop_wrap .waku{
    padding: 45px 20%;
}
#onestop .onestop_wrap .title{
    top:14px;
}
#onestop .onestop_wrap h4{
    right:7%;
    letter-spacing: 3px;
    -webkit-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -ms-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}
#onestop .onestop_wrap h5 {
    font-size: 57px;
}
#onestop .onestop_wrap .btn{
    margin-top:7px;
    height:40px;
    line-height:40px;
}
#onestop .onestop_wrap .inner:nth-child(3){
    margin-top:30px;
}
#onestop .bottom_sen{
    margin-top:40px;
}


/*-------- イベント・セミナー -------*/
#event{
    margin-top: -60px;
}

#event .title_wrap{
    top:170px;
}
#event .philo_sen{
    position: relative;
    overflow: hidden;
    margin:0 auto;
    height:100px;
}
#event .philo_sen::after{
    height: 10px;
}
/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
	0%{
		height:0;
		top:0;
		opacity: 0;
	}
	30%{
		height:15px;
		opacity: 1;
	}
	100%{
		height:0;
		top:200px;
		opacity: 0;
	}
}


.news_inner{
    padding:150px 0 100px 0;
    margin:0 auto;
    width:100%;
}
#event .event_inner{
    display:block;
}
#event .kizi{
    width:100%;
    margin-bottom:30px;
}
#event .kizi .title{
    font-size:16px;
    padding:10px 0 0 0;
}
#news .kizi .news_time{
    right:15px;
    font-size: 14px;
}
#event .kizi .news_desc {
    font-size: 16px;
}
.news_btn .circle{
    width:50px;
    height:50px;
}
.news_btn a{
    font-size:18px;
    margin-top:0;
}
.news_btn .circle{
    margin-left:-26px;
}
#news .title_wrap{
    right:auto;
}
#news .kizi{
    padding: 20px 10px;
}
#news .kizi p{
    font-size: 16px;
}
#news .kizi .title{
    font-size: 16px;
    letter-spacing: 0;
    width: 73%;
}
#news .under_border{
    margin-bottom:30px;
}
#event .eyecatch{
    width: 80%;
    height: 0;
    padding-top: 190px;
    margin: 0 auto;
}


/*------- web打ち合わせ -------*/
#online{
    padding: 25% 0;
}
#online .inner_wrap_img img{
    width: 80%;
    left: 8%;
    bottom: 0;
  }
#online .flower img{
    width:50px;
    right:1%;
}

/*------- お問い合わせ -------*/
#contact table{
    line-height:40px;
    padding: 150px 0 50px 0;
    margin:0 auto;
    font-size: 16px;
}
#contact table th{
    padding-right:0;
    width:25%;
} 
#contact table td{
    width:75%;
}
#contact table .btn{
    font-size: 16px;
    width:100%;
}


/*------- フッター -------*/
footer{
    font-size: 16px;
    margin-top:150px;
    padding:20px 0;
    text-align: center;
}
footer .logo img{
    width:190px;
}
footer ul{
    display:block;
    margin-top:10px;
    line-height:25px;
}
footer ul li{
    margin-left:0;
}
footer ul li img{
    vertical-align: middle;
}
footer ul li span {
    padding-left: 0;
}
}/*-- max-width:754 end --*/

@media (max-width: 400px) {
.main_v p{
    font-size: 18px;
}
}