@charset "UTF-8";
/*---------------------------------
Travel Spice ProtType style sheet
----------------------------------*/
/*base
----------------------------------*/
html {
  min-width: 320px;
  font-size: 62.5%;/*10px*/
}
body {
	margin: 0;
	border-top: 4px solid #090;
	background-color: #F0F0F0;
	line-height: 1.5;
	color: #333;
	font-size: 16px;
	font-size: 1.6rem;
	font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","ＭＳ Ｐゴシック",sans-serif;
}
/*Headline*/
h1 {
  margin: 0.67em 0;
  font-size: 48px;
  font-size: 4.8rem;
}
h2 {
	margin: 0.83em 0;
	font-size: 32px;
	font-size: 3.2rem;
	border-bottom-width: 4px;
	border-bottom-style: solid;
	border-bottom-color: #009748;
}
h3 {
	margin: 1em 0;
	font-size: 24px;
	font-size: 16px;
	color: #360;
}
h4 {
  margin: 1.33em 0;
  font-size: 16px;
  font-size: 1.6rem;
}
h5 {
  margin: 1.67em 0;
  font-size: 14px;
  font-size: 1.4rem;
}
h6 {
  margin: 1.67em 0;
  font-size: 14px;
  font-size: 1.4rem;
}
img,video {
  max-width: 100%;
  height: auto;
}
.ie8 img{
	width: 100%;
}

/*clearfix*/
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}
.clearfix {
  zoom: 1;
}
/*button*/
.btn {
  display: inline-block;
  padding: 5px 23px;
  border: 1px #e6e6e6 solid;
  border-radius: 5px;
  background: #e5e5e5;
  background: -webkit-linear-gradient(top, #ffffff, #e5e5e5);
  background: -moz-linear-gradient(top, #ffffff, #e5e5e5);
  background: -o-linear-gradient(top, #ffffff, #e5e5e5);
  background: linear-gradient(to bottom, #ffffff, #e5e5e5);
  color: #333;
  text-decoration: none;
}
.btn:hover {
  border: 1px #ccc solid;
  background: #d9d9d9;
  background: -webkit-linear-gradient(top, #e5e5e5, #d9d9d9);
  background: -moz-linear-gradient(top, #e5e5e5, #d9d9d9);
  background: -o-linear-gradient(top, #e5e5e5, #d9d9d9);
  background: linear-gradient(to bottom, #e5e5e5, #d9d9d9);
}
.btnBlue {
  background: #18445c;
  background: -webkit-linear-gradient(top, #18445c, #113041);
  background: -moz-linear-gradient(top, #18445c, #113041);
  background: -o-linear-gradient(top, #18445c, #113041);
  background: linear-gradient(to bottom, #18445c, #113041);
  color: #fff;
}
.btnBlue:hover {
  background: #0a1c26;
  background: -webkit-linear-gradient(top, #113041, #0a1c26);
  background: -moz-linear-gradient(top, #113041, #0a1c26);
  background: -o-linear-gradient(top, #113041, #0a1c26);
  background: linear-gradient(to bottom, #113041, #0a1c26);
}
.btnGreen {
  background: #83a603;
  background: -webkit-linear-gradient(top, #83a603, #769300);
  background: -moz-linear-gradient(top, #83a603, #769300);
  background: -o-linear-gradient(top, #83a603, #769300);
  background: linear-gradient(to bottom, #83a603, #769300);
  color: #fff;
}
.btnGreen:hover {
  background: #5c7200;
  background: -webkit-linear-gradient(top, #769300, #5c7200);
  background: -moz-linear-gradient(top, #769300, #5c7200);
  background: -o-linear-gradient(top, #769300, #5c7200);
  background: linear-gradient(to bottom, #769300, #5c7200);
}

/*layout
----------------------------------*/
#wrapper {
  position: relative;
  margin: 0 10px;
  padding-bottom: 60px;
  background-color: #FFF;
}
/*header*/
header #logo {
  text-align: left;
  margin: 10px 0;
}
header #logo img {
	width: auto;
	height:auto;
}

/*navigation*/
#navControl {
	margin-top: -50px;
	text-align: right;
}
#navControl a {
	display: inline-block;
	overflow: hidden;
	width: 44px;
	height: 44px;
	background: #009748 no-repeat 0 0;
	text-indent: 100%;
	white-space: nowrap;
	color: #FFFFFF;
	background-color: #009748;
}
#navControl a.active {
	background-position: 0 -44;
}

ul#globalNav {
  margin: 0;
  padding: 0;
}
ul#globalNav li {
	background-color:#393;
}
ul#globalNav li a {
	display: block;
	padding: 10px;
	color: #fff;
	text-decoration: none;
	background-color: transparent;
}
ul#globalNav li a:hover {
	background-color: #FF9326;
}

/*photo garelly*/
#photoGarelly {
  display: none;
}
/*sponsor link*/
#sponsorLink {
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 100%;
	margin-left: -50%;
	padding: 0;
}
#sponsorLink li {
  display: block;
  width: 50%;
  border-radius: 5px;
}
#sponsorLink li a {
	display: block;
	padding: 10px;
	color: #fff;
	text-decoration: none;
	background-color: transparent;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: 0px -132px;
	text-align: center;
}
#sponsorLink li.nices {
	float: left;
	background-color: #009748;
}

/*kiji*/
.kiji li.area {
	display: block;
	min-width: 160px;
	width: 25%;
	float: left;
	list-style-type: none;
}
.kiji blockquote{
	margin: 0px;
 	padding-left: 6.0em;
}
.cb {
	clear:both;
}


/*footer*/
footer {
  text-align: center;
}

.youtube {
	position: relative;
	padding-bottom: 56.25%;
	overflow: hidden;
	max-width: 100%;
	margin-top: 16px;
	margin-bottom: 16px;
} 
.youtube iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/*media Queries
----------------------------------------------------*/
@media only screen and (min-width: 31.25em) {	/*500px*/
  /*各地区代表チーム*/
  #EachDistrictTeams .pic {
	overflow: hidden;
	float: left;
	width: 30%;
  }
  #EachDistrictTeams .pic img {
    max-width: none;
    margin-left: -40px;
  }
  #EachDistrictTeams p {
    margin-left: 230px;
  }
  #EachDistrictTeams .more {
    clear: left;
  }
  /*topics*/
  #topics .topicPic img {
    float: right;
    width: 50%;
    margin: 0 0 1em 1em;
  }
}
@media only screen and (min-width: 41.875em) {	/*670px*/
  #wrapper {
    margin: 0 20px;
  }
  header #logo{
	  text-align: center;
  }
  /*navigation*/
  #navControl {
    display: none;
  }
  ul#globalNav {
    display: block !important;
  }
  ul#globalNav li {
    text-align: center;
	background-image:none;
	text-indent:0px;
	
    float: left;
    width: 16.0%;
    /*218px/1170px*/
    margin-right: 0.8%;
    /*20px/1170px*/
  }
  ul#globalNav li:last-child {
    margin-right: 0;
  }

  /*sponsor link*/
  #sponsorLink {
    top: 10px;
    bottom: auto;
    right: 10px;
    left: auto;
    width: 110px;
    margin: 0;
  }
  #sponsorLink li {
    width: 50px;
  }
  #sponsorLink li a {
    overflow: hidden;
    padding: 0;
    height: 50px;
    border-radius: 25px;
    text-indent: 100%;
    white-space: nowrap;
  }
  #sponsorLink li.nices {
    margin-right: 10px;
	background-repeat: no-repeat;
	background-position: 0px -132px;
  }

  /*各地区代表チーム*/
  #EachDistrictTeams section {
    float: left;
    width: 31.6239%;
    /*370px(4column)/1170px*/
    margin-right: 2.5641%;
    /*30px/1170px*/
  }
  #EachDistrictTeams section:last-child {
    margin-right: 0;
  }
  #EachDistrictTeams .pic {
	overflow: visible;
	float: none;
	width: auto;
	background-image: url(/nicescup2025/img/team.jpg);
	background-repeat: no-repeat;
  }
  #EachDistrictTeams .pic img {
    max-width: 100%;
    margin-left: 0;
  }
  #EachDistrictTeams p {
    margin-left: 0;
  }

  /*topics*/
  .topic .inner .video {
    float: right;
    width: 48.7179%;
    /*570px(6column)/1170px*/
  }
  .topic .inner p {
	float: left;
	width: 48.7179%;
	text-align: center;
    /*570px(6column)/1170px*/
  }
  #topics .topicPic img {
    width: auto;
  }
}

@media only screen and (min-width: 56.25em) {	/*900px*/
  #sub {
    float: left;
    width: 23.0769%;
    /*270px(3column)/1170px*/
  }
  /*navigation*/
  ul#globalNav li {
	float: none;
	width: 100%;
	margin-right: 0;
	box-shadow: 0 1px 0 0 #fff;
	text-align: left;
	background-color: #009748;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #360;
	background-color: #009748;
  }
  ul#globalNav li a {
	clear: #012340;
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: bold;
	text-indent: 3.2rem;
	background-color: transparent;
	background-image: url(/nicescup2025/img/icon_ball.png);
	background-repeat: no-repeat;
	background-position: 0px 0px;
  }
  ul#globalNav li a:hover {
	  background: transparent;
	  clear:#0088aa6;
  }
  ul#globalNav li a i {
	  display: inline-block;
	  vertical-align: middle;
  }
  
  /*main*/
  #main {
    float: right;
    width: 74.3589%;
    /*870px(9column)/1170px*/
    margin: 20px 0 0;
  }
  /*各地区代表チーム*/
  #EachDistrictTeams section {
	width: 31.0344%;
	/*270px/870px*/
	margin-right: 2.0%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #F0F0F0;
    /*30px/870px*/
  }
  /*topics*/
  .topic .inner .video {
    float: right;
    width: 54.0229%;
    /*470px/870px*/
  }
  .topic .inner p {
    float: left;
    width: 42.5287%;
    /*370px/870px*/
  }
  .topic .inner .kiji {
	float: left;
	width: 100%;
	margin-right: 4px;
    /*370px/870px*/
  }
  /*sponsor link*/
  #sponsorLink {
    position: static;
    width: auto;
    height: auto;
  }
  #sponsorLink li {
    width: auto;
  }
  #sponsorLink li a {
    width: auto;
    height: auto;
    padding: 10px;
    border-radius: 10px;
    text-indent: 0;
  }
  #sponsorLink li.nices {
	float: none;
	margin: 10px;
	background-repeat: no-repeat;
	background-position: 0px -132px;
  }

  /*photo garelly*/
  #photoGarelly {
    display: block;
  }
  #photoGarelly ul {
    list-style-type: none;
    padding: 0;
  }
  #photoGarelly ul li {
    float: left;
    width: 29.6296%;
    /*80px/270px*/
    margin-right: 5.5555%;
    margin-bottom: 5.5555%;
    /*15px/270px*/
  }
  #photoGarelly ul li:nth-of-type(3n) {
    margin-right: 0;
  }
}

@media only screen and (min-width: 75.625em) { /*1210px*/
  #wrapper {
    width: 83.5714em;/*1170px*/
    margin: 0 auto;
  }
}
