/* タブレット向けレイアウト */
@media screen and (max-width: 1200px) {}

/* スマホ向けレイアウト */
@media screen and (max-width: 767px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }
    .pc_table{
        display: none;
    }
    .swipe-x{
        overflow-x: scroll;
    }
    .swipe-w{
        width: 700px;
    }
    h2 {
        font-size: 21px;
        line-height: 40px;
    }
    header .container h1 {
        font-size: 18px;
        margin-top: 11px;
        margin-top: 4px;   
		font-weight: bold;
    }
	header .container h1{
		display: block;
	}
	header .container h1 a{
		color: #fff;
	}
	header.headerback .container h1 a{
		color: #fff;
	}
	header .container .hamburgers{
		width: 110px;
	}
	header .container .hamburgers .snslist{
		margin-right: 3px;
	}
	header .container .hamburgers .snslist li:nth-child(1) {
    width: 1.8rem;
	}
	i.fa-brands.fa-instagram {
    width: 25px;
    font-size: 25px;
    text-align: center;
	}
    .main-inner-content {
        width: 100%;
    }
    .main-inner1 .main-inner-content ul li {
        width: 100%;
    }

    .main-inner1 .main-inner-content ul li:nth-child(1) {
        padding-bottom: 0;
    }
	
    .main-inner2 {
        padding-top: 15px;
    }

    .main-inner2 .main-inner-content {
        padding-bottom: 80px;
    }

    .main-inner2 .main-inner-content ul {
        height: 250px;
    }

    .main-inner2 .main-inner-content .more {
        width: 80%;
        left: 0;
        right: 0;
        margin: auto;
        text-align: center;
        margin-bottom: 25px;
    }

    .main-inner3 .main-inner-content ul li {
        width: 50%;
        margin: auto;
        margin-bottom: 15px;
    }

    .main-inner3 .main-inner-content {
        padding-bottom: 80px;
    }

    .main-inner4 h2:after {
        width: 80%;
    }

    .main-inner4 .main-inner-content {
        font-size: 14px;
        line-height: 20px;
        padding: 15px;
    }

    .main-inner4 .main-inner-content .officerlist div {
        width: 100%;
    }

    .main-inner4 .main-inner-content .officerlist div:nth-child(2) {
        margin-right: 0;
    }

    .main-inner4 .main-inner-content .officerlist div table th,
    .main-inner4 .main-inner-content .officerlist div table td {
        border: none;
        width: 100%;
        display: block;
        padding: 25px 0;
        text-align: center;
    }

    .main-inner4 .main-inner-content .officerlist div table th {
        background-color: #000;
        color: #fff;
    }

    .main-inner4 .main-inner-content .officerlist div table td {
        border: solid 1px #000;
    }

    .main-inner5 .main-inner-content ul li {
        width: 100%;
    }

    .main-inner6 .main-inner-content {
        width: 80%;
        margin: auto;
    }

    .main-inner6 .main-inner-content ul li {
        width: 100%;
    }

    .main-inner6 .main-inner-content ul li .select_text p {
        height: 55%;
        font-size: 14px;
    }
	.sec-li {
		gap: 5px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
	}
	.sec-li li {
		width: 100%;
	}

    /*下層ページ*/
    body#second1 .main .top,body#second2 .main .top {
        height: 150px;
    }

    body#second1 .main .top h2,body#second2 .main .top h2 {
        letter-spacing: 6px;
        top: 60px;
        right: 0;
        margin: auto;
        height: 25px;
        display: inline-block;
        width: 65%;
        font-size: 28px;

    }
    body#second1 .main .top img,body#second2 .main .top img {
        display: none;
    }
    body#second1 .main-inner1 .main-inner-content,body#second2 .main-inner1 .main-inner-content {
        padding-top: 10px;
    }
    body#second1 .main-inner1 .main-inner-content ul li {
        width: 100%;
        margin-bottom: 2rem;
        text-align: left;
        border-left: 3px solid #000F33;
        padding: 3%;
	}
    body#second3 .main .top,body#second2 .main .top {
        height: 150px;
    }

    body#second3 .main .top h2,body#second2 .main .top h2 {
        letter-spacing: 6px;
        top: 60px;
        right: 0;
        margin: auto;
        height: 25px;
        display: inline-block;
        width: 65%;
        font-size: 28px;
    }
    body#second3 .main .top img,body#second2 .main .top img {
        display: none;
    }

    body#second3 .main-inner1 .main-inner-content,body#second2 .main-inner1 .main-inner-content {
        padding-top: 10px;
    }
    body#second3 .main-inner1 .main-inner-content ul li {
        width: 100%;
        margin-bottom: 2rem;
        text-align: left;
        border-left: 3px solid #000F33;
        padding: 3%;
    }
    .main-inner_sub .main-inner-content {
        width: 100%;
        padding: 0 25px;
        overflow-x: scroll;
    }
    #album.main-inner_sub{
        padding-top: 0;
    }
    .calenders {
        display: none;
    }

    .main-inner_sub .main-inner-content .main-inner_sub_title h2 {
        font-size: 18px;
        line-height: 24px;
        display: inline-block;
        vertical-align: middle;
        width: 80%;
    }

    .main-inner_sub .main-inner-content .main-inner_sub_title img {
        width: 15%;
    }
    
    .main-inner_sub .main-inner-content .main-inner_sub_title {
    margin-bottom: 25px;
    }
    .league h3,.tournament h3, .sph3{
    font-size: 18px;
    padding-bottom: 0;
    }
    body#second2 .main-inner1 .main-inner-content ul li:nth-child(1){
        width: 100%;
    }
    body#second2 .main-inner1 .main-inner-content ul li:nth-child(2){
        width: 100%;
    }
    body#second2 .main-inner1 .main-inner-content ul li:nth-child(3){
        width: 100%;
    }
    body#second2 .main-inner1 .main-inner-content ul li ul li:nth-child(1){
        width: auto;
        display: block;
        text-align: center;
    }
    body#second2 .main-inner1 .main-inner-content ul li:nth-child(2) ul li:nth-child(1), body#second2 .main-inner1 .main-inner-content ul li:nth-child(3) ul li:nth-child(1){
        width: 100%;
    }
    body#second2 .main-inner1 .main-inner-content ul li ul li ul li:nth-child(1){
        display: inline-block;
    }
    body#second2 .main-inner1 .main-inner-content ul li ul li:nth-child(2){
        width: 100%;
    }
    body#second2 .main-inner1 .main-inner-content ul li ul li:nth-child(2) ul li{
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }
    body#second2 .main-inner1 .main-inner-content ul li:nth-child(2) ul li ul li:nth-child(1), body#second2 .main-inner1 .main-inner-content ul li:nth-child(3) ul li ul li:nth-child(1){
        width: 100%;
    }
    body#second2 .main-inner1 .main-inner-content ul li ul li:nth-child(1){
        border: solid 1px #000;
        padding: 15px;
    }
    body#second2 .main-inner1 .main-inner-content ul li ul li ul li:nth-child(1){
        border: none;
        padding: 0;
    }
    body#second2 .main-inner1 .main-inner-content ul li ul li.kenin:nth-child(2){
        display: none;
    }
    body#second2 .main-inner_sub .main-inner-content h2 {
    font-size: 28px;
    margin-bottom: 50px;
    }
    body#second2 .main-inner_sub .main-inner-content h2 img {
    width: 60px;
    }
	.team_name, .team_staff{
		width: 100%;
		display: table;
	}
    .team_name th,.team_name td{
        width: 100%;
        display: block;
        text-align: center;
        border: solid 1px #000;
        padding: 15px;
		margin-right: 0;
		margin: auto;
    }
    .team_name th{
        background-color: #000;
        color: #fff;
    }
    .team_name td a{
       word-break: break-all;      
    }
	.team_staff th{
		width: 40%;
	}
    .team_name tr th:after, .team_staff tr th:after{
        display: none;
    }
    .team_member{
        width: 100%;
		display: table;
		margin-bottom: 0;
    }
    .team_member td:last-child {
    width: 68%;
    text-align: center;
    }
    .team_member td{
        text-align: center;
    }
    .team_member td:nth-child(1), .team_member td:nth-child(2){
        width: 50px;
    }
    .team_member th, .team_member td{
        padding: 3% 0;
    }
    .team_member tr:first-child th{
        text-align: center;
    }
    body#second2 .main-inner_sub .main-inner-content h3 {
    font-size: 21px;
    padding-bottom: 0px;
    }
	footer ul li{
		border-right: none;
	}
	footer ul li:nth-child(1){
		border-left: none;
	}
	.header_menu{
		/*bottom: -100px;*/
		background-color: #fff;
	}
	.header_menu ul li:nth-child(odd) a {
    background-color: rgba(0, 15, 51, 0.7);
    color: #fff;
}

.header_menu ul li:nth-child(odd) a:hover {
    background-color: rgba(0, 15, 51, 1);
}

.header_menu ul li:nth-child(even) a {
    background-color: rgba(255, 255, 255, 0.7);
}

.header_menu ul li:nth-child(even) a:hover {
    background-color: rgba(255, 255, 255, 1);
}
    .main-inner_sub .main-inner-content #contents{
        width: 1070px;
    }
    .topbtn{
        bottom: 10px;
        right: 10px;
    }
    .modal_inner{
        width: 95%;
        height: 80%;
    }
    .modal_player {
    height: auto;
    margin-top: 0;
    width: auto;
    height: auto;
    max-height: 65%;
    max-width: 95%;        
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    }
    .main-inner7 .main-inner-content ul li img{
        object-position: top;
    }
  #second2 #news p.sender{
    margin-right: 0;
  }
body {
    min-width: 100%;
}
	span.cap-movie {
    font-size: 1.2rem;
}
}
@media (max-width: 500px) {
    .left{
    width: 100%;
    padding: 2% 0;
}
    .right{
    width: 100%;
    padding: 2% 0;
}
	.br-sp {
	display: block;
}
	.sp {
	display: block;
}
.pc {
	display: none;
}
	.space::before {
	content: ""
}
	.main .top {
    background-attachment: scroll;
}
	.main-inner-bar,.main-inner2 {
    background-attachment: scroll;
}
	footer ul {
    grid-template-columns: 1fr 1fr;
    padding: 3rem 0 5rem;
}
	    header .container h1 {
        font-size: 15px;
        margin-top: 10px;
    }
	/*加盟チーム*/
.team-kamei ul {
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
}
	#album ul {
    grid-template-columns: 1fr 1fr;
    gap: 2%;
}
}

@media (max-width: 400px) {
    header .container h1 {
        font-size: 14px;
        margin-top: 9px;
    }
    .main-inner_sub .main-inner-content .main-inner_sub_title h2 {
        font-size: 16px;
        line-height: 22px;
        width: 78%;
    }
	label.tab_item {
		font-size: 80%;
}
	td,th,li,.main a,p,.main-inner5 .main-inner-content ul li, #album ul li span span {
	font-size: 1.3rem;
	}
	.red_p {
    font-size: 1.2rem;
	}
	h2 {
		font-size: 1.7rem;
		letter-spacing: 2px;
    }
	
    body#second3 .main .top h2, body#second2 .main .top h2 {
        width: 90%;
	}
	h4, h5 {
    font-size: 1.5rem;
}
	footer .footer_bottom h2 {
    font-size: 1.4rem;
}
	    footer ul li {
        font-size: 1rem;
    }
	.main-inner3 .new-icon-top2 ul li img {
  width: 55%;
}
}