@charset "utf-8";

/* basic_sp.css：Smartphone
 * ======================================
 * Font
 * Body
 * Header
 * Global navigation
 * Content
 * Common Element
 * PageTop
 * Content Bottom
 * Footer
 * ======================================
 */


*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* Font
------------------------------------------------------------------ */
/* 基本サイズ（16 * 0.625 = 10px） */
html {
	font-size: 62.5%;
}

/* Body
------------------------------------------------------------------ */
body {
	background-color: #ffffff;
	color: #333333;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 1.4rem;
	-webkit-text-size-adjust: none;
}

.inner {
	margin: 0 auto;
	padding: 0 5%;
	position: relative;
	width: auto;
}

/* Header
------------------------------------------------------------------ */

#header {
	background-color: #ffffff;
	border-top: 5px solid #187FC3;
	height: 60px;
	overflow: hidden;
	position: relative;
	width: auto;
}

#header .inner {
	display: flex;
    justify-content: space-between;
	align-items: center;
}

#header .logo {
	position: relative;
	top: 16px;
	left: -2%;
}

#header .japan {
	position: relative;
	top: 16px;
}

#header .japan a {
  display: flex; 
  justify-content: center;
  align-items: center; 
  gap: 8px; 
  background-color: black; 
  color: white; 
  padding: 6px 28px 6px 14px; 
  font-size: 1.2rem;
  text-decoration: none; 
  border-radius: 50px; 
}

#header .japan a::after {
 content: '';
 border-right: 1px solid #fff;
 border-bottom: 1px solid #fff; 
 display: inline-block;
 height: 8px;
 margin-top: -4.5px;
 position: absolute;
 top: 50%;
 right: 14px;
 transform: rotate(-45deg);
 width: 8px;
}

#header .logo img {
	height: 25px;
	width: auto;
}

#header .japan img {
	height: 16px;
	width: auto;
}

/* mainimages
------------------------------------------------------------------ */
img {
	vertical-align: top;
	max-width: 100%;
}

/* Content
------------------------------------------------------------------ */

#main {
	background-color: #ffffff;
	margin: 0;
	padding: 20px 0;
}

#home #main {
	margin: 30px 0;
}


/* PageTop
------------------------------------------------------------------ */

#pageTop {
	position: relative;
	width: auto;
}

#pageTop a {
	background: #231815;
	border-radius: 40px;
	display: block;
	height: 40px;
	outline: none;
	overflow: hidden;
	position: fixed;
	bottom: 0;
	right: 5%;
	width: 40px;
	z-index: 9999;
}

#pageTop img {
	height: 40px;
	width: 40px;
}


/* Footer
------------------------------------------------------------------ */

#footer {
	background-color: #ffffff;
	border-top: 5px solid #187FC3;
	height: 60px;
	overflow: hidden;
	position: relative;
	width: auto;
}