@charset "utf-8";
/* CSS Document */

/*--- COMMON ---*/
.pc { display: block !important; }
.tub { display: none !important; }
.sp { display: none !important; }

.pc-tub { display: block !important; }
.pc-sp { display: block !important; }
.tub-sp { display: none !important; }


/* header */
#header_wrap {
  /*background-image:url("../img/2997547_m.jpg");*/
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
header {
  position: relative;
	width: auto;
	margin: 0 auto;
  /*height: 460px;*/
  padding: 7em 0 14em;
  background-color: beige;
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
}

header h1 {
  font-size: 3em;
  color: #496400;
  letter-spacing: -0.1em;
  /*margin-top: 3em;*/
  display:inline-block;
  font-weight: 600;
  font-family: 'Shippori Mincho', serif;
}

header #shoulder {
  font-size: 1em;
  color: #496400;
  letter-spacing: 0.01em;
  margin-top: 0.5em;
  display:block;
  font-weight: 600;
  font-family: 'Noto Serif NP Hmong', serif;
}

header #header_layer {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1000px;
    /*height: 180px;*/
    background: #fff;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

/* menu */

ul#navi li {
  width: calc( 100% / 4 - 1px );
  float: left;
  border-left: 1px solid #E7E7E7;
}
ul#navi li a {
  display: block;
  padding: 1.5em 0 1.7em;
  font-size: 1em;
  font-family: 'Noto Sans JP', sans-serif;
  text-decoration: none;
  font-weight: 600;
  border-top: #97C449 3px solid;
  color: #666;
  background-color: #F1F1F1;
  /*box-shadow: 0 -5px 5px #D7D7D7 inset;*/
  box-shadow: 0px -10px 10px -5px rgba(0,0,0,0.15) inset;
  
}

ul#navi li:first-child {
  border-left: none;
  width: calc( 100% / 4 );
}
ul#navi li a:hover {
  background-color: #97C449;
  color: #fff;
  border-top: #63832B 3px solid;
  box-shadow: 0px -10px 10px -5px rgba(0,0,0,0.15) inset;
}
body#index ul#navi li.index a {
  box-shadow: none;
}
body#index ul#navi li.index a:hover {
  text-decoration: none;
  border-top: #97C449 3px solid;
  color: #666;
  background-color: #FFF;
}


/* sub menu */

ul#sub_navi {
	width: auto;
	max-width: 1000px;
	margin: 0 auto;
  text-align: center;
  background-color: #F1F1F1;
}
ul#sub_navi li {
  width: calc( 100% / 5 - 1px );
  float: left;
  border-left: 1px solid #E1E1E1;
}
ul#sub_navi li a {
  display: block;
  padding: 1.1em 0 1.2em;
  font-size: 0.8em;
  font-weight: 600;
  font-family: 'Noto Sans JP', sans-serif;
  text-decoration: none;
  border-top: #E1E1E1 1px solid;
  border-bottom: #E1E1E1 1px solid;
  color: #888;
  box-shadow: 0px -8px 8px -5px rgba(0,0,0,0.08) inset;
}
ul#sub_navi li a:hover {
  background-color: #97C449;
  color: #FFF;
}
ul#sub_navi li:first-child {
  border-left: none;
  width: calc( 100% / 5 );
}



/* type menu */

ul.type_navi {
	width: auto;
	max-width: 1000px;
	margin: 0 auto;
  text-align: center;
  background-color: #F1F1F1;
}
ul.type_navi li {
  float: left;
  border-left: 1px solid #E1E1E1;
}
ul.type_navi li a {
  display: block;
  padding: 0.8em 0 0.9em;
  font-size: 0.7em;
  font-weight: 400;
  font-family: 'Noto Sans JP', sans-serif;
  text-decoration: none;
  border-bottom: #E1E1E1 1px solid;
  color: #888;
  box-shadow: 0px -8px 8px -5px rgba(0,0,0,0.08) inset;
}
ul.type_navi li a:hover {
  border-bottom: 1px solid #fff;
  color: #fff;
  background-color: #97C449;
}
ul.type_navi li:first-child {
  border-left: none;
}

ul#oceania_navi li { width: calc( 100% / 4 - 1px ); }
ul#oceania_navi li:first-child { width: calc( 100% / 4 ); }

ul#asia_navi li { width: calc( 100% / 7 - 1px ); }
ul#asia_navi li:first-child { width: calc( 100% / 7 ); }

ul#africa_navi li { width: calc( 100% / 6 - 1px ); }
ul#africa_navi li:first-child { width: calc( 100% / 6 ); }

ul#samerica_navi li { width: calc( 100% / 1 - 1px ); }
ul#samerica_navi li:first-child { width: calc( 100% / 1 ); }

/* contents */
#contents {
	width: auto;
	max-width: 650px;
	margin: 0 auto;
  text-align: center;
  padding: 1em 1em 5em;
}

/*#contents #base_data {
  border: #A5DD5C 2px solid;
  padding: 20px;
}*/

#contents .photo {
	padding: 16px;
	background-color: #FFFFFF;
	box-shadow: 0 3px 18px -4px rgba(0, 0, 0, 0.4);
  transform: rotate(-2deg);
  width: 600px;
  margin: 3em 0 4em;
}

  
#contents h2:first-child {
  margin: 3em 0 2.5em;
}

#contents h2{
  position: relative;
  display: inline-block;
  font-size: 1.6em;
  color: #496400;
  letter-spacing: 0.05em;
  margin: 5em 0 2.5em;
}

#contents h2:before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1.5em;/*線の上下位置*/
  display: inline-block;
  width: 80px;/*線の長さ*/
  height: 5px;/*線の太さ*/
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);/*位置調整*/
  background-color:#9DCD3D;
  border-radius: 2px;/*線の丸み*/
}

body #contents h3 {
  text-align: left;
  border-left: 4px solid #98AA15;
  padding: 0.4em 0 0.4em 1em;
  font-size: 1.2em;
  font-weight: 400;
  color: #98AA15;
  margin-top: 4em;
  margin-bottom: 1em;
}

#contents p {
  font-size: 1.05em;
  line-height: 1.8em;
  letter-spacing: 0.05em;
  text-align: left;
  margin-bottom: 1.6em;
}



/* AD */
.ad_content_bottom {
  text-align: center;
  margin: 0 auto 5em;
}



/* footer */
footer {
	width: 100%;
	margin: 0 auto;
  background-color: #F1F1F1;
  padding: 3em 0 2em;
  font-family: 'Noto Sans JP', sans-serif;
}
#footer_in {
	width: auto;
	max-width: 1000px;
	margin: 0 auto;
}
#footer_in #foot_links ul.foot_link {
  float: left;
  width: calc( 100% / 5 );
  margin: 1.5em 0;
}
#footer_in #foot_links ul.foot_link li {
  font-size: 0.8em;
  padding-left: 0.6em;
}
footer h2 {
  font-size: 1.3em;
  font-weight: 600;
}
footer h2 a {
  color: #333;
}
footer h2 a:hover {
  text-decoration: none;
}
footer h3 {
  font-size: 0.9em;
  font-weight: 600;
  margin: 0.8em 0 0.2em;
}

footer #view_copy {
  text-align: center;
  font-size: 0.8em;
  color: #848484;
  margin-top: 2em;
}

#PageTop {
	width: 55px;
	height: 55px;
	opacity:0.7;
	filter:alpha(opacity=70);
	-moz-opacity: 0.7;
	z-index: 100;
	position: fixed;
	bottom: 25px;
	right: 25px;
}
#PageTop a {
	width:45px;
	height:45px;
	display: block;
	background-image:url(../img/pagetop_.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 25px;
	text-indent: -9999px;
	background-color: #56c6e9;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	-moz-opacity: 0.8;
	opacity: 0.8;
}
#PageTop a:hover {
	background-image:url(../img/pagetop.png);
	background-color: #fff;
	-moz-opacity: 0.9;
	opacity: 0.9;
}


/* -----------------------------

TUB　タブレット 画面サイズが1000px以下、720以上　

----------------------------- */

@media screen and (min-width:721px) and ( max-width:1000px) {

/*--- COMMON ---*/
.sp { display: none !important; }
.tub { display: block !important; }
.pc { display: none !important; }

.pc-tub { display: block !important; }
.pc-sp { display: none !important; }
.tub-sp { display: block !important; }
	

  
  
  
}


/* -----------------------------

SP　スマホ 画面サイズが720px以下　

----------------------------- */

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

/*--- COMMON ---*/
.sp { display: block !important; }
.tub { display: none !important; }
.pc { display: none !important; }

.pc-tub { display: none !important; }
.pc-sp { display: block !important; }
.tub-sp { display: block !important; }


header h1 {
  font-size: 2em;
}
header #shoulder {
  font-size: 0.8em;
}
header #header_layer {
    width: 100%;
}
/* menu */

ul#navi li {
  float: left;
  border-left: 1px solid #E7E7E7;
}
ul#navi li a {
  padding: 0.8em 0 0.8em;
  font-size: 0.9em;
  border-top: #97C449 3px solid;
  box-shadow: none;
}
body#index ul#navi li.index a {
  box-shadow: none;
}

/* sub menu */

ul#sub_navi li a {
  padding: 1.1em 0 1.2em;
  font-size: 0.8em;
  font-weight: 400;
}
  
ul.type_navi {
  background-color: #E3F4E0;
}
  
ul#asia_navi li { width: calc( 100% / 4 - 1px ); }
ul#asia_navi li:first-child { width: calc( 100% / 4 ); }

ul#africa_navi li { width: calc( 100% / 3 - 1px ); }
ul#africa_navi li:first-child { width: calc( 100% / 3 ); }

  
/* contents */

#contents .photo {
  width: 80%;
}


/* footer */
  
#footer_in #foot_links ul.foot_link {
  float: none;
  width: auto;
  margin: 1.5em 2em;
}
  
}