﻿.txt_color_nomal{color: #000000;}
.txt_white{color: white;}
.txt_red{color: red;}
.txt_color1{color: #0EA370} /* メインカラー */
.txt_color2{color: #d9ead8} /* サブカラー */
.txt_color3{color: #f49c2f} /* アクセントカラー1 */
.txt_color4{color: #ffffff} /* アクセントカラー2 */

/* background-color */
.bg_white{background-color: white} /* 白背景 */
.bg_black{background-color: black} /* 黒背景 */
.bg_color1{background-color: #0EA370} /* メインカラー */
.bg_color2{background-color: #d9ead8} /* サブカラー */
.bg_color3{background-color: #f49c2f} /* アクセントカラー1 */
.bg_color4{background-color: #ffffff} /* アクセントカラー2 */

/* border-color ※!important */
.border_color1{border-color: #0EA370}
.border_color2{border-color: #d9ead8}
.border_color3{border-color: #f49c2f}
.border_color4{border-color: #ffffff}


/* hover ---------------------------------------------------------------------------------------------*/
.hvr_txt_color_nomal:hover{color: #000000;}
.hvr_txt_white:hover{color: white;}
.hvr_txt_red:hover{color: red;}
.hvr_txt_color1:hover{color: #0EA370} /* メインカラー */
.hvr_txt_color2:hover{color: #d9ead8} /* サブカラー */
.hvr_txt_color3:hover{color: #f49c2f} /* アクセントカラー1 */
.hvr_txt_color4:hover{color: #ffffff} /* アクセントカラー2 */

/* background-color */
.hvr_bg_white:hover{background-color: white} /* 白背景 */
.hvr_bg_black:hover{background-color: black} /* 黒背景 */
.hvr_bg_color1:hover{background-color: #0EA370} /* メインカラー */
.hvr_bg_color2:hover{background-color: #d9ead8} /* サブカラー */
.hvr_bg_color3:hover{background-color: #f49c2f} /* アクセントカラー1 */
.hvr_bg_color4:hover{background-color: #ffffff} /* アクセントカラー2 */

/* border-color ※!important */
.hvr_border_color1:hover{border-color: #0EA370}
.hvr_border_color2:hover{border-color: #d9ead8}
.hvr_border_color3:hover{border-color: #f49c2f}
.hvr_border_color4:hover{border-color: #ffffff}

/* ----------　all　---------- */
.linkStyle{
	color:#0EA370;
}
.linkStyle:hover{
	color:#0EA370;
	opacity: 0.7;
	transition: all 0.5s;
}
#header h1 {
    height: 100px!important;
    background: #fff;
    padding: 12px 0 12px 15px;
}
#header h1 img {
    height: 100px;
    width: auto;
}
.top_header h1 {
    height: 120px!important;
    background: #fff;
}
#loader::after {
    background: #fff!important;
}
#menu_wrap::after {
    background: linear-gradient(to right, rgb(14, 163, 112) 50%,rgb(255 255 255) 100%)!important;
    opacity: 1;
}
.footer_banner {
    box-shadow: 0px 0px 10px #0ea3709e;
}
footer #footer::after {
    opacity: 1;
}

#loader img {
    width: 400px;
}
/* ----------　TOP　---------- */
.bg:after {
    content: "";
    position: absolute;
    width: 60%;
    height: 87vh;
    bottom: -7px;
    right: 0;
    transform: scale(-1,-1);
    background-image: url(./Dup/img/flame.png);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 0;
}
#main_img {
    overflow: hidden;
    padding-bottom: 0;
}
/*#main_img:before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    width: 0;*/
/*    height: 0;*/
/*    border-style: solid;*/
/*    border-width: 50vw 73vw 0 0;*/
/*    top: 0;*/
/*    left: 0;*/
/*    border-color: rgb(14 163 112 / 80%) transparent transparent transparent;*/
/*    z-index: 1;*/
/*}*/
#main_img:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-image: url(./Dup/img/catch1.png),url(./Dup/img/catch2.png),url(./Dup/img/flame.png);
    background-repeat: no-repeat;
    background-position: 3% 48%, 100.2% 101%, 0% -20px;
    background-size: max(600px,45%), max(200px,20%), max(800px, 40%);
    z-index: 5;
}
.main_box {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 0;
}
.main_img_wrap {
    width: max(900px,70%);
    margin-left: auto;
}
.loop_wrap {
    top: 80px;
}
.loop_wrap:before {
    position: absolute;
	content: "";
	left: 0;
	top: 0;
	width: 100%;
	height: 120px;
	background-image: url("./dup/img/loop.png");
	background-size: auto 100%;
	background-position-y: 0;
	background-position-x: 0;
	background-repeat: repeat-x;
	animation: loop 30s linear infinite;
}
@keyframes loop {
	0% {background-position-x: 0;}
	100% {background-position-x: -2082px;}
}
.footer_loop {
    top: 0;
    height: 120px;
}
.footer_loop:before {
    height: 120px;
}
.bg_white #main_nav ul li a {
    color: #000;
}
.bg_white #main_nav ul::before {
    background: linear-gradient(to right, rgb(0 0 0) 0%,rgba(255,255,255,0) 100%);
}
.bg_white #main_nav ul::after {
    background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgb(0 0 0) 100%);
}
#video2{
    z-index: 2;
    transform: translateY(-100px);
    height: calc(80vw * 0.7);
    position: absolute;
    top: 0;
    left: 0;
}
#intro {
    text-align: center;
}
#intro h3.txt_center {
    position: relative;
    display: inline-block;
    margin: 50px auto;
}
#intro h3.txt_center:before {
    content: "";
    background-image: url(./Dup/img/man.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    transform: translateX(13%);
    opacity: 0.5;
}
#intro #intro_box #intro_txt {
    clip-path: polygon(0% 10%, 10% 0%, 100% 0%, 100% 90%,90% 100%, 0% 100%);
}
#intro #intro_box #intro_txt h3::after {
    white-space: pre-wrap;
    font-size: 35px;
}
#contents_links .box_wrap .box a p span {
    background-color: transparent;
    color: #f49c2f;
    font-size: 4em;
    font-family: 'Montserrat Subrayada';
    opacity: 0.8;
}
#contents_links .box_wrap .box a h4 {
   border: none;
    margin-bottom: 0;
    position: relative;
    top: 87px;
    z-index: 5;
}
#contents_links .box {
    background-color: rgb(14, 163, 112);
}
#contents::before {
    opacity: 0;
}
#contents div {
    background: transparent;
    border: none;
}
#contents div::after {
    background-color: rgb(255 255 255)!important;
    opacity: 0.9;
    box-shadow: 0 0 0 1px rgb(14, 163, 112) inset;
    border: 7px solid #fff;
}
#contents div h4, #contents div p {
    color: #000;
}
#contents.contents2::before {
    background-image: none;
    opacity: 1;
    content: "Action & Fitness";
    top: 0;
    left: 50%;
    transform: translate(-50%,-50%);
    width: auto;
    height: auto;
    font-size: 70px;
    color: #0ea370;
    font-family: "Montserrat Subrayada","Noto Sans JP","游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
#contents.contents2 h3 {
    text-align: right;
}
#contents.contents2 div {
    margin-left: 5%;
}
#contents_links .box_wrap .box a div span::after {
    background-color: #f49c2f;
}
.banner_muay {
    display: block;
    z-index: 5;
    position: relative;
    width: 60%;
    margin: 0 auto;
}
#top_cms .top_cms_box .top_cms_title p {
    font-size: 100px;
    opacity: 0.15;
}

.cms_2-d h3 {
    background: #0EA370;
    transform: skewY(-1deg);
    color: #fff;
}
#top_cms .top_cms_box .more .txt_color_nomal {
    color: #f49c2f;
}
#top_cms .top_cms_box .more a::after {
    background-color: #f49c2f;
}
#top_cms .top_cms_box .more a:hover {
    color: #fff;
}
/* ----------　下層ページ　---------- */
#page_title {
    background-position: 50% 34%;
}
#page_title h3 {
    position: relative;
    z-index: 5;
}
#page_title::before,#page10 .box a::after {
    background: #0ea370!important;
}
#page_title.active > div p {
    color: #f49c2f;
    opacity: 0.6;
}
.cms_2-d h3,#cms_2-d h3,#cms_2-b .cate_title,#cms_6-a .cate_title {
    background: #0EA370;
    transform: skewY(-2deg);
    color: #fff;
    display: inline-block;
    padding: 8px 30px;
    border-left: none;
}

/* 会社情報 */
/* お問い合わせ */
#page08 #tel_contact {
    background: #0ea370;
}
/* プライバシーポリシー */
/* サイトマップ */



/*-------------------------------------------------------
			          タブレット
-------------------------------------------------------*/
@media screen and (max-width: 768px){
/* ----------　all　---------- */
main {
    overflow: hidden;
}
#loader::after {
    background: linear-gradient(to right, rgb(255 255 255) 0%,rgb(163 255 223) 100%)!important;
}

/* ----------　TOP　---------- */
.bg:after {
    width: 80%;
}
#main_img:after {
    background-position: 50% 27%, 101% 100%,0% -20px;
    background-size: 90%, 32%,76%;
}
#contents.contents2::before {
    width: 80%;
    font-size: 58px;
}
#top_cms .top_cms_box .top_cms_title p {
    font-size: 80px;
}
#menu_bt {
    background: #0ea370;
}
.loop_wrap {
    top: 10px;
}
.top_header h1 {
    height: 120px!important;
    background: transparent!important;
}
/*.loop_wrap:before {*/
/*    animation: loop 50s linear infinite;*/
/*}*/

#video2{
    height: calc(80vw * 0.56);/* 追加したコード */
}

#video2{position: relative;transform: translateY(-50px);}
#video2{position: relative;top: 0;left: 0;}
	
#intro #intro_box #intro_txt h3::after {
    font-size: 28px;
}
/* ----------　下層ページ　---------- */
#page_title {
    padding-top: 200px;
    padding-bottom: 150px;
}
#cms_2-d h3, #cms_2-b .cate_title, #cms_6-a .cate_title {
    padding: 5px 30px;
}
/* 会社情報 */
/* お問い合わせ */

/* プライバシーポリシー */
/* サイトマップ */

}



/*-------------------------------------------------------
		            	スマホ
-------------------------------------------------------*/
@media screen and (max-width: 667px){
/* ----------　all　---------- */

#header h1 {
    height: 80px!important;
}
#menu_bt {
    background: #0ea370;
}
#top_cms {
    padding-bottom: 0;
}
#main_wrap {
    padding-bottom: 0;
}
#header h1 {
    padding: 10px;
    height: 50px!important;
}
#header h1 img {
    height: 50px;
}
#loader img {
    width: 250px;
}
footer #footer #footer_box {
    padding: 0 20px;
}
/* ----------　TOP　---------- */
.banner_muay {
    width: 100%;
}
#main_img {
    padding-top: 0;
    height: 80vh;
    min-height: initial;
}
#main_img:after {
    background-position: 50% 34%, 100% 100%,0 -10px;
    background-size: 98%, 40%, 86%;
}
.main_img_wrap {
    width: 100%;
}
.loop_wrap {
    top: 80px;
    transform: rotate(-34deg);
}
.loop_wrap:before {
    height: 50px;
}
#video2{
    height: calc(100vw * 0.56);/* 追加したコード */
}

#video2{position: relative;transform: translateY(0px);margin-bottom: 20px;}
#video2{position: relative;top: 0;left: 0;}
#intro h3 {
    font-size: 20px;
}
#intro #intro_box #intro_txt h3 span {
    text-align: center;
}
#intro #intro_txt h3::after {
    content:"神戸市で本格的な\Aアクションが習える"!important;
    white-space: pre!important;
}
#contents.contents2::before {
    width: auto;
    font-size: 40px;
    text-align: center;
    line-height: 1;
    opacity: 0.7;
}
#contents div::after {
    opacity: 0.7;
}
#contents_links .box_wrap .box a p span {
    font-size: 3em;
}
.footer_loop {
    transform: rotate(0deg);
    top: 20px;
    height: 70px
}
#page_title.active > div p {
    opacity: 0.8;
}

#top_cms .top_cms_box .top_cms_title p {
    font-size: 40px;
}
    
/* ----------　下層ページ　---------- */
#page_title {
    padding-top: 150px;
    padding-bottom: 50px;
    background-position: top;
    background-size: 120%;
}
#page_title > div p {
    font-size: 30px;
}
#header h1 {
    background: #fff;
}
#header.top_header h1 {
    background: transparent;
}
#page_title::before {
    opacity: 0.5;
}
#page_title.active > div p {
    letter-spacing: 4px;
}
/* 会社情報 */
/* お問い合わせ */
/* プライバシーポリシー */
/* サイトマップ */
}
/*-------------------------------------------------------
		            	CMS youtube
-------------------------------------------------------*/
.youtube_box{
  position: relative;
  width: 80%;
  padding-top: 44.8%;
}
.youtube_box iframe{
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}
.youtube_box:empty {
    display: none;
}
/* ----------　スマホ　---------- */
.youtube_box{
  width: 100%;
  padding-top: 56%;
}