/* screens smaller than 640---------------------------------------------------------- */
@media only screen and (max-width:640px) {

/* ヘッダー 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
header {
 height: 100px;
}
header #h_inner {
 width: 94%;
}
header h1 {
 top: 10px;
 left: 0;
 max-width: 70%;
}

header #subnav,
header #group_logo,
#sNavi,
header p {
	display: none;
}

/* グローバルナビ 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* g_navi ------------------------*/
header #pcnavi {
	height: 3px;
}
dl#gNavi {
	display: none;
}

/* globalnav ------------------------*/
#globalnav{
	width: 100%;
	line-height: 1.5;
	display: block;
}
#gnav_btn{
	position: absolute;
	top: 20px;
	right: 20px;
	display: block;
    z-index: 11;
}
.open #gnav_btn {
	position: fixed;
}
#gnav_btn a{
	display: block;
	position: relative;
	width: 50px;
	height: 50px;
}
#panel-btn-icon{
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 4px;
  margin: -2px 0 0 -14px;
  background: #333;
  transition: .2s;
}
#panel-btn-icon:before, #panel-btn-icon:after{
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 32px;
  height: 4px;
  background: #333;
  transition: .3s;
}
#panel-btn-icon:before{
  margin-top: -12px;
}
#panel-btn-icon:after{
  margin-top: 8px;
}
.open #panel-btn-icon,
.open #panel-btn-icon:before,
.open #panel-btn-icon:after {
  background: #FFF;
}
#gnav_btn a .close{
  background: transparent;
}
#gnav_btn a .close:before,
#gnav_btn a .close:after{
  margin-top: 0;
  height: 4px;
}
#gnav_btn a .close:before{
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
#gnav_btn a .close:after{
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}
#globalnav_in{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background-color: rgba(0,0,0,0.85);
    -webkit-transition: all .5s;
    transition: all .5s;
    visibility: hidden;
    opacity: 0;
	z-index: 10;
}
#globalnav_in ul {
	padding: 70px;
	text-align: center;
	height: 100%;
	overflow-y: auto;
}
#globalnav li{
	float: none;
    opacity: 0;
	text-align: center;
	width: 100%;
	border: none;
	font-size: 16px;
}
#globalnav li a{
	height: auto;
	padding: 15px 0;
	font-size: 16px;
	color: #fff;
	display: block;
}

.open #globalnav_in {
    -webkit-transition: all .5s;
    transition: all .5s;
    visibility: visible;
    opacity: 1;
}

#globalnav li:nth-child(1) {
    transition: opacity 1s ease 0.5s;
}
#globalnav li:nth-child(2) {
    transition: opacity 1s ease 0.6s;
}
#globalnav li:nth-child(3) {
    transition: opacity 1s ease 0.7s;
}
#globalnav li:nth-child(4) {
    transition: opacity 1s ease 0.8s;
}
#globalnav li:nth-child(5) {
    transition: opacity 1s ease 0.9s;
}
#globalnav li:nth-child(6) {
    transition: opacity 1s ease 1.0s;
}
#globalnav li:nth-child(7) {
    transition: opacity 1s ease 1.1s;
}
#globalnav li:nth-child(8) {
    transition: opacity 1s ease 1.2s;
}
#globalnav li:nth-child(9) {
    transition: opacity 1s ease 1.3s;
}
#globalnav li:nth-child(10) {
    transition: opacity 1s ease 1.4s;
}
.open #globalnav li {
    opacity: 1;
}

/* top_img
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#top_img {
 height: 40vw;
 margin-bottom: 30px;
}
.foreign #top_img {
 margin-bottom: 0;
}

/* コンテンツ 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#contents {
 width: 94%;
 margin: 0 auto 30px;
}
#home_h2,#contents h3,#contents h4 {
 margin-bottom: 20px;
}
.subtitle03_02 {
 padding-bottom: 5px;
}

/* main
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#main {
 float: none;
 width: 100%;
 max-width: 750px;
 margin: 0 auto 5px;
}

p.foreign_home {
	padding: 0!important;
}
#home_news.box,
#home_news02.box {
 margin-bottom: 10px;
}
#home_news #news_list,
#home_news02 #news_list {
 margin-bottom: 20px;
}
.foreign #home_news #news_list {
 margin-bottom: 0;
}
#home_news .left,
#home_news02 .left {
 width: 100%;
 float: none;
 margin-bottom: 5px;
}
#home_news .content,
#home_news02 .content {
 padding: 0 0 0 30px;
}
#home_news .list_page,
#home_news02 .list_page {
 position: inherit;
 top: auto;
 right: auto;
 text-align: right;
 padding-bottom: 0;
}

/*top_box03*/
/*------------------------------------------------------------------------------*/
#top_box03 {
	margin-bottom: 30px;
}
#top_box03 .left_box {
	width: 100%;
	text-align: center;
	margin-bottom: 20px;
}
#top_box03 dl {
	margin-bottom: 10px;
}
#top_box03 .left_box p {
	font-size: 16px;
}
#top_box03 .right_box {
	width: 100%;
	text-align: center;
}

/* side
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#side {
 float: none;
 width: 100%;
 max-width: 500px;
 margin: 0 auto;
}
#side #s_about {
	float: none;
	width: 100%;
	max-width: 240px;
	margin: 0 auto 20px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
#side #s_bnr {
	float: none;
	width: 100%;
	max-width: 240px;
	margin: 0 auto 20px;
}
#s_banner01 {
	width: 100%;
	max-width: 240px;
	margin: 0 auto 20px;
}

/* フッター 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.f_inner {
 width: 94%;
}
#f_top {
 height: auto;
 position: inherit;
 padding: 20px 0 10px;
}
#f_top #f_logo {
 position: inherit;
 top: auto;
 left: auto;
 width: 100%;
 text-align: center;
 margin-bottom: 20px;
}
#f_top #f_logo img {
	max-width: 200px;
}
#f_top #f_group_logo {
 display: none;
}
#f_top #f_group_logo img {
	max-width: 66px;
}
#f_top #adrress {
 position: inherit;
 top: auto;
 left: auto;
}
#f_top #adrress dl {
 float: none;
 margin: 0 0 20px;
 width: 100%;
 text-align: center;
}
#f_top #adrress dl:last-child {
 float: none;
 margin: 0 0 30px;
}
#f_top #f_menu {
 position: inherit;
 top: auto;
 right: auto;
 display: table;
 margin-left: auto;
 margin-right: auto;
}
#f_top #f_menu ul {
 border-left: none;
 margin-bottom: 0;
}
#f_top #f_menu li {
 text-align: center;
 padding: 0;
 border-right: none;
 margin-bottom: 10px;
 width: 50%;
}
#f_top #f_menu li a {
 display: block;
}
#f_top #f_menu li.last {
 padding: 0;
}
#f_bottom {
 height: auto;
 padding-bottom: 20px;
}
#f_bottom ul {
 width: 300px;
}



/*------------------------------------------------------------------------------*/
}

/*------------------------------------------------------------------------------*/
/* screens smaller than 500---------------------------------------------------------- */
@media only screen and (max-width:499px) {




/*------------------------------------------------------------------------------*/
}

/*------------------------------------------------------------------------------*/
/* screens smaller than 420---------------------------------------------------------- */
@media only screen and (max-width:419px) {




/*------------------------------------------------------------------------------*/
}
