@charset "utf-8";

/* basic_pc.css：PC
 * ======================================
 * 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 {
	color: #333333;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	-webkit-text-size-adjust: none;
	font-size: 1.3rem;
	overflow-x: hidden;
	position: relative;
}

.inner {
	margin: 0 auto;
	padding: 0;
	position: relative;
	max-width: 1000px;
}

@media only screen and (max-width: 1024px) {
	.inner {
		 margin: 0 1.9%;
	}
}

/* Header
------------------------------------------------------------------ */
#header {
	border-top: 6px solid #187FC3;
	height: 106px;
	margin: 0;
	width: auto;
}

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

#header .logo {
	position: relative;
	top: 32px;
	left: 0;
}

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

#header .japan a {
  display: flex; 
  justify-content: center;
  align-items: center; 
  gap: 8px; 
  background-color: black; 
  color: white; 
  padding: 10px 42px 10px 24px; 
  font-size: 1.5rem;
  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: 10px;
 margin-top: -6px;
 position: absolute;
 top: 50%;
 right: 20px;
 transform: rotate(-45deg);
 width: 10px;
}

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

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

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

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

#main {
	background-color: #E6E8EA;
	margin: 0;
	padding: 60px 0;
}

#home #main {
	background-color: inherit;
	margin: 80px 0;
}

#subPage #main .inner {
	background: #ffffff;
	border-radius: 5px;
	padding: 4.6em 4.3%;
}


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

#pageTop {
	clear: both;
	margin: 0 auto;
	position: relative;
	max-width: 1000px;
}

#pageTop a {
	background: #231815;
	border-radius: 38px;
	display: block;
	height: 38px;
	margin-left: 96.2%;
	outline: none;
	overflow: hidden;
	position: fixed;
	bottom: 20px;
	left: auto;
	width: 38px;
	z-index: 9999;
}

@media only screen and (max-width: 1024px) {
	#pageTop a {
		margin-left: 94.3%;
	}
}

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


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

#footer {
	border-top: 6px solid #187FC3;
	height: 106px;
	margin: 0;
	width: auto;
}