/* CSS Document */

.pc{
	display:block !important;
}
.sp{
	display: none !important;
}
.pc_inline{
	display:inline !important;
}
.sp_inline{
	display:none !important;
}
.sp_inline_ip{
	display:none !important;
}
.pc_table{
	display:none !important;
}
.sp_table{
	display:none !important;
}

@media screen and (max-width:640px) {

.pc{
	display:none !important;
}
.sp{
	display:block !important;
}
.pc_inline{
	display:none !important;
}
.sp_inline{
	display:inline !important;
}

.pc_table{
	display:table !important;
}
.sp_table{
	display:table !important;
}

img{
	max-width:100%;
	height:auto;
}
.sp_mb00{
	margin-bottom:0 !important;
}
.sp_mr00{
	margin-right:0 !important;
}
.sp_ml00{
	margin-left:0 !important;
}
.sp_mt00{
	margin-top:0 !important;
}
.sp_pb00{
	padding-bottom:0 !important;
}
.sp_pr00{
	padding-right:0 !important;
}
.sp_pl00{
	padding-left:0 !important;
}
.sp_pt00{
	padding-top:0 !important;
}
.sp_center{
	text-align:center;
}

}

/* 主にiPhone5,iPhoneSE用 */
@media screen and (max-width:320px) {

.sp_inline_iP{
	display:inline !important;
}

}




/*==================================================================

	2022.8.23 追加／編集CSS

==================================================================*/

/*　カラム
----------------------------------------------------*/
/* col_box
----------------------------------------*/
@media screen and (min-width: 641px) {
  .col_box {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
  }
  .col_box .col1 {
    width: 100%;
    height: auto;
    margin: 4% auto 0;
  }
  .col_box .col1:first-child {
    margin-top: 0;
  }
  .col_box .col2 {
    width: 48%;
    height: auto;
    margin: 4% 0 0 4%;
  }
  .col_box .col2:nth-child(2n+1) {
    margin-left: 0;
  }
  .col_box .col2:nth-child(-n+2) {
    margin-top: 0;
  }
  .col_box .col3 {
    width: 31.2%;
    height: auto;
    margin: 4% 0 0 3.2%;
  }
  .col_box .col3:nth-child(3n+1) {
    margin-left: 0;
  }
  .col_box .col3:nth-child(-n+3) {
    margin-top: 0;
  }
  .col_box .col4 {
    width: 23.5%;
    height: auto;
    margin: 4% 0 0 2%;
  }
  .col_box .col4:nth-child(4n+1) {
    margin-left: 0;
  }
  .col_box .col4:nth-child(-n+4) {
    margin-top: 0;
  }
  .col_box .col5 {
    width: 18.4%;
    height: auto;
    margin: 4% 0 0 2%;
  }
  .col_box .col5:nth-child(5n+1) {
    margin-left: 0;
  }
  .col_box .col5:nth-child(-n+5) {
    margin-top: 0;
  }
  .col_box .col6 {
    width: 15.4%;
    height: auto;
    margin: 4% 0 0 1.5%;
  }
  .col_box .col6:nth-child(6n+1) {
    margin-left: 0;
  }
  .col_box .col6:nth-child(-n+6) {
    margin-top: 0;
  }
  .col_box .col7 {
    width: 13%;
    height: auto;
    margin: 4% 0 0 1.5%;
  }
  .col_box .col7:nth-child(7n+1) {
    margin-left: 0;
  }
  .col_box .col7:nth-child(-n+7) {
    margin-top: 0;
  }
	
  .col_box.reverse {
	  flex-direction: row-reverse;
  }

}
@media screen and (max-width: 640px) {
  .col_box {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
  }
  .col_box.sp_reverse {
    flex-direction: column-reverse;
  }
  .col_box .sp_col1 {
    width: 100%;
    height: auto;
    margin: 4% auto 0;
  }
  .col_box .sp_col1:first-child {
    margin-top: 0;
  }
  .col_box .sp_col2 {
    width: 48%;
    height: auto;
    margin: 4% 0 0 4%;
  }
  .col_box .sp_col2:nth-child(2n+1) {
    margin-left: 0;
  }
  .col_box .sp_col2:nth-child(-n+2) {
    margin-top: 0;
  }
  .col_box .sp_col3 {
    width: 31.2%;
    height: auto;
    margin: 4% 0 0 3.2%;
  }
  .col_box .sp_col3:nth-child(3n+1) {
    margin-left: 0;
  }
  .col_box .sp_col3:nth-child(-n+3) {
    margin-top: 0;
  }
  .col_box .sp_col4 {
    width: 23.5%;
    height: auto;
    margin: 4% 0 0 2%;
  }
  .col_box .sp_col4:nth-child(4n+1) {
    margin-left: 0;
  }
  .col_box .sp_col4:nth-child(-n+4) {
    margin-top: 0;
  }
  .col_box .sp_col5 {
    width: 18.4%;
    height: auto;
    margin: 4% 0 0 2%;
  }
  .col_box .sp_col5:nth-child(5n+1) {
    margin-left: 0;
  }
  .col_box .sp_col5:nth-child(-n+5) {
    margin-top: 0;
  }
  .col_box .sp_col6 {
    width: 15.4%;
    height: auto;
    margin: 4% 0 0 1.5%;
  }
  .col_box .sp_col6:nth-child(6n+1) {
    margin-left: 0;
  }
  .col_box .sp_col6:nth-child(-n+6) {
    margin-top: 0;
  }
  .col_box .sp_col7 {
    width: 13%;
    height: auto;
    margin: 4% 0 0 1.5%;
  }
  .col_box .sp_col7:nth-child(7n+1) {
    margin-left: 0;
  }
  .col_box .sp_col7:nth-child(-n+7) {
    margin-top: 0;
  }
}


