@charset "utf-8";
/*------------------------------------------------------------
	スマホ対応（全ページ共通）

	・必ず各ページCSSの「後」に読み込むこと
	・767px以下でのみ既存レイアウトを上書きする
	・768px以上（PC）の表示は変更しない
------------------------------------------------------------*/

/*------------------------------------------------------------
	PC・スマホ共通
	（スマホ専用パーツをPCでは隠す。ここだけメディアクエリ外）
------------------------------------------------------------*/
.navToggle {
	display: none;
}

#gNavi .navSub {
	display: none;
}


@media screen and (max-width: 767px) {

/*------------------------------------------------------------
	レイアウトの土台
------------------------------------------------------------*/
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	min-width: 0;	/* 横スクロールの原因になる 1010px 固定を解除 */
}

#container img {
	max-width: 100%;
	height: auto;
}

/*
	rollover.js が重ねて挿入する _over 画像はスマホでは位置がずれるので隠す。
	src と inline style の両方で絞り込むこと。
	style だけで判定すると、スライダーが absolute 配置する画像まで消えてしまう。
*/
#container img[src*="_over"][style*="absolute"] {
	display: none;
}

#main {
	margin: 0 auto 50px;
	padding: 0 16px;
	width: auto;
}

.pageTop a {
	padding: 10px 0 8px;
	width: auto;
}

/*------------------------------------------------------------
	ヘッダー
------------------------------------------------------------*/
#header {
	margin: 0 0 20px;
	padding: 0;
	width: auto;
	position: relative;
	z-index: 20;
}

/* サイトマップ／プライバシーポリシーはメニュー内の .navSub へ集約する */
#header .hLink {
	display: none;
}

#header .hBox {
	margin: 0;
	padding: 8px 12px 8px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #E6E6E6;
}

#header .hBox::after {
	content: none;	/* clearfix の擬似要素が flex アイテムになるのを防ぐ */
}

#header .hBox .logo {
	float: none;
	line-height: 0;
}

#header .hBox .logo img {
	width: 148px;
	height: auto;
}

/*------------------------------------------------------------
	ハンバーガーボタン
------------------------------------------------------------*/
.navToggle {
	margin: 0;
	padding: 6px 8px;
	min-width: 48px;
	min-height: 44px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	border: 0;
	background: none;
	color: #008BD5;
	font-family: inherit;
	font-size: 10px;
	line-height: 1;
	letter-spacing: 0.08em;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.navToggleBars {
	width: 24px;
	height: 2px;
	position: relative;
	display: block;
	background-color: #008BD5;
	transition: background-color 0.2s;
}

.navToggleBars::before,
.navToggleBars::after {
	content: "";
	width: 24px;
	height: 2px;
	position: absolute;
	left: 0;
	background-color: #008BD5;
	transition: transform 0.2s, top 0.2s;
}

.navToggleBars::before {
	top: -7px;
}

.navToggleBars::after {
	top: 7px;
}

.navToggle.isOpen .navToggleBars {
	background-color: transparent;
}

.navToggle.isOpen .navToggleBars::before {
	top: 0;
	transform: rotate(45deg);
}

.navToggle.isOpen .navToggleBars::after {
	top: 0;
	transform: rotate(-45deg);
}

/*------------------------------------------------------------
	グローバルナビ（ドロワー）
------------------------------------------------------------*/
#gNavi {
	margin: 0;
	float: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	display: none;
	background-color: #FFF;
	border-bottom: 1px solid #C8C8C8;
	box-shadow: 0 8px 14px rgba(0, 0, 0, 0.14);
}

#gNavi.isOpen {
	display: block;
}

#gNavi.isOpen li {
	float: none;
	border-top: 1px solid #E6E6E6;
}

#gNavi.isOpen ul:first-child li:first-child {
	border-top: 0;
}

/* 現在地を示す _on 画像は背景で敷かれているため、縮小した img に合わせて表示する */
#gNavi.isOpen li a {
	padding: 11px 16px;
	display: block;
	background-position: 16px center;
	background-size: auto 34px;
	background-repeat: no-repeat;
}

#gNavi.isOpen li a img {
	width: auto;
	height: 34px;
}

#gNavi.isOpen .navSub {
	display: block;
	background-color: #FAFAFA;
}

#gNavi.isOpen .navSub li a {
	padding: 13px 16px;
	color: #323232;
	font-size: 13px;
	background: none;
}

/*------------------------------------------------------------
	フッター
------------------------------------------------------------*/
#footer .fInner {
	margin: 20px auto 0;
	padding: 0 16px;
	width: auto;
}

#footer .fLogo {
	width: auto;
	float: none;
	text-align: center;
}

#footer .fLogo img {
	width: 150px;
	height: auto;
}

#footer .fLogo p {
	margin-top: 10px;
	font-size: 1.2em;
}

#footer .fLink {
	padding: 20px 0 16px;
	width: auto;
	float: none;
	background: none;
	text-align: center;
}

#footer .fLink li {
	margin: 0 9px 13px;
	float: none;
	display: inline-block;
}

#footer .fLink li img {
	height: 13px;
	width: auto;
	display: inline-block;
}

#footer .fLink p {
	margin-top: 10px;
	text-align: center;
}

/*------------------------------------------------------------
	トップページ　ヒーロー
------------------------------------------------------------*/
.hero {
	--hero-gutter: 20px;

	margin-bottom: 28px;
	padding: 26px 20px 30px;
	height: auto;
	display: flex;
	flex-direction: column;
}

/* 横方向のグラデーションでは文字が背景に負けるため、縦方向に敷き直す */
.hero::before {
	background:
		linear-gradient(180deg, rgba(var(--hero-shade), 0.8) 0%, rgba(var(--hero-shade), 0.62) 45%, rgba(var(--hero-shade), 0.86) 100%);
}

/*
	PCでは .hero の子要素を position:absolute で配置している。
	スマホでは通常フローの縦積みに戻すが、::before / ::after の罫線が
	.hero を基準にずれないよう static ではなく relative にし、
	top / right / bottom / left は各要素側で個別に打ち消す（特異性を揃えるため）。
*/
.hero > * {
	position: relative;
}

.hero .heroTagline {
	order: 1;
	margin-bottom: 20px;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	font-size: 12px;
	letter-spacing: 0.18em;
}

.hero .heroEnglish {
	order: 2;
	margin-bottom: 24px;
	padding-bottom: 1.1em;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	font-size: 21px;
}

.hero .heroBody {
	order: 3;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
}

.hero .heroTitle {
	margin-bottom: 0.9em;
	font-size: 18px;
	line-height: 1.75;
}

.hero .heroLead {
	margin-bottom: 1.6em;
	font-size: 14px;
	line-height: 1.9;
}

.hero .heroNext {
	padding-top: 1.6em;
	font-size: 13px;
}

.hero .heroMotto {
	order: 4;
	margin-top: 28px;
	padding: 0 0 0 14px;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	font-size: 10px;
	line-height: 1.9;
}

.hero .heroMotto::before {
	display: none;
}

/*------------------------------------------------------------
	トップページ　serviceBox
------------------------------------------------------------*/
#main .serviceBox {
	margin: 0 0 40px;
	padding: 20px 16px 22px;
	width: auto;
}

#main .serviceBox .positionImg {
	margin: 0 0 14px;
	width: 150px;
	height: auto;
	position: static;
	display: block;
}

#main .serviceBox p {
	margin: 0 0 20px;
	font-size: 1.3em;
	text-align: left;
}

/* スマホではラベルが通常配置になるため、PC用の上余白は不要 */
#main .serviceBox .positionImg + p {
	padding-top: 0;
}

/* PC幅前提で入れてある改行はスマホでは折り返しを壊すので無効化する */
#main .serviceBox p br,
#main .serviceBox li br {
	display: none;
}

#main .serviceBox li {
	margin-left: 1.2em;
	font-size: 1.3em;
}

#main .serviceBox .box {
	padding: 0;
}

#main .serviceBox .box .p1 {
	margin: 0;
	display: block;
}

#main .serviceBox .box .p1 a {
	margin: 0 auto 12px;
	max-width: 300px;
	display: block;
}

#main .serviceBox .box .p1 img {
	width: 100%;
	height: auto;
	display: block;
}

/*------------------------------------------------------------
	トップページ　contactBox
------------------------------------------------------------*/
#main .contactBox {
	padding: 24px 0;
}

#main .contactBox .subBox {
	width: auto;
}

#main .contactBox .contactImg {
	margin: 0 0 18px;
	float: none;
	text-align: center;
}

#main .contactBox .textBox {
	padding: 0;
	width: auto;
	float: none;
	background: none;
}

#main .contactBox .textBox p {
	margin: 0 0 16px;
	font-size: 1.3em;
}

#main .contactBox .textBox p br {
	display: none;
}

#main .contactBox .textBox ul {
	text-align: center;
}

#main .contactBox .textBox li {
	margin: 0 0 16px;
	width: auto;
	float: none;
}

#main .contactBox .textBox li p {
	margin: 0;
	font-size: 1.9em;
}

#main .contactBox .textBox li img {
	margin: 0 6px 0 0;
	display: inline-block;
	float: none;
	vertical-align: middle;
}

#main .contactBox .textBox li a img {
	margin: 0;
	width: 200px;
	max-width: 100%;
	height: auto;
}

#main .contactBox .textBox .phone {
	margin-top: 0;
}

/*------------------------------------------------------------
	下層ページ共通
------------------------------------------------------------*/
/* heightLine.js が揃えた高さはスマホの縦積みでは余白になるだけなので打ち消す */
[class*="heightLine-"] {
	height: auto !important;
}

#pagePath {
	margin: 0 auto 18px;
	padding: 0 16px;
	width: auto;
}

#conts {
	width: auto;
	float: none;
}

#sideBar {
	margin: 36px auto 0;
	width: auto;
	max-width: 235px;
	float: none;
}

#sideBar li {
	float: none;
}

#main .comText {
	margin-bottom: 36px;
	width: auto;
	font-size: 1.2em;
	text-align: left;
}

#main .comText span {
	text-align: center;
}

#main .headLine01,
#main .headLine02,
#main .headLine03 {
	margin-left: 0;
	margin-right: 0;
	width: auto;
}

#main .headLine01 {
	font-size: 1.8em;
}

#main .headLine02 {
	font-size: 1.8em;
}

/*--- 画像＋テキストの2カラム ---*/
#main .comImgBox,
#main .comImgBox01 {
	margin-bottom: 40px;
	padding-bottom: 0;
	width: auto;
}

#main .comImgBox .photoBox,
#main .comImgBox01 .photoBox {
	margin-bottom: 18px;
	float: none;
	text-align: center;
}

#main .comImgBox .textBox,
#main .comImgBox01 .textBox {
	margin-top: 0;
	width: auto;
	float: none;
}

/*--- 3カラムのリスト（縦罫線を下罫線に置き換える） ---*/
#main .comListBox {
	margin-bottom: 40px;
	padding: 20px 0 0;
}

#main .comListBox .comList {
	width: auto;
}

#main .comListBox .comList li {
	margin: 0 0 20px;
	padding: 0 0 20px;
	width: auto;
	float: none;
	background: none;
	border-bottom: 1px solid #E6E6E6;
}

#main .comListBox .comList li:last-child {
	margin-bottom: 0;
	border-bottom: 0;
}

/*--- テーブルは1行ずつ縦積みにする ---*/
#main .comTable,
#conts .comTable {
	margin: 0 0 40px;
	width: auto;
}

#main .comTable table,
#main .comTable tbody,
#main .comTable tr {
	width: auto;
	display: block;
}

#main .comTable th,
#main .comTable td,
#conts .comTable th,
#conts .comTable td {
	padding: 10px 0 2px;
	width: auto;
	display: block;
	font-size: 1.3em;
}

#main .comTable td,
#conts .comTable td {
	padding: 0 0 10px;
	font-size: 1.2em;
}

#main .comTable .back,
#conts .comTable .back {
	padding: 0;
	height: 1px;
	display: block;
}

/*--- ボタン ---*/
.box-link {
	margin-left: 0;
	margin-right: 0;
	width: auto;
}

a.about-link {
	min-width: 0;
	width: 100%;
	max-width: 300px;
}

/*------------------------------------------------------------
	技術マニュアル制作（gemini）
------------------------------------------------------------*/
#main .content {
	padding-bottom: 0;
	min-width: 0;
	max-width: none;
	background: none;	/* 1000px幅前提の背景画像はスマホでは使わない */
}

#main .content .photoBox {
	width: auto;
}

#main .content .photoBox .photoList {
	margin: 0 0 30px;
	width: auto;
	background: none;
}

#main .content .photoBox .photoList li,
#main .content .photoBox .photoList .gray,
#main .content .photoBox .photoList .blue {
	margin: 0 0 28px;
	width: auto;
	float: none;
}

#main .content .photoBox .photoList .gray span,
#main .content .photoBox .photoList .blue span {
	padding: 4px 16px;
}

#main .content .link {
	width: auto;
}

#main .moviePlay,
#video,
#play_button {
	margin: 0 auto 30px;
	width: 100%;
	max-width: 500px;
	height: auto;
	aspect-ratio: 500 / 282;
}

#play_button {
	margin-bottom: 0;
	background-size: cover;
	background-position: center;
}

#main .comListBoxGemini .comList {
	width: auto;
}

#main .comListBoxGemini .comList li {
	margin: 0 0 20px;
	padding: 0 0 20px;
	width: auto;
	float: none;
	background: none;
	border-bottom: 1px solid #E6E6E6;
}

#main .comListBoxGemini .comList li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

#main .comListBoxGemini .comList li p {
	padding: 0;
}

#main .screenBox {
	margin-bottom: 40px;
	width: auto;
}

#main .screenBox .shot {
	margin-bottom: 18px;
	width: auto;
	float: none;
}

#main .screenBox .shot img {
	width: 100%;
}

#main .screenBox .note {
	width: auto;
	float: none;
}

#main .flowList,
#main .flowList04 {
	margin-bottom: 40px;
	width: auto;
}

#main .flowList li,
#main .flowList04 li {
	margin-bottom: 12px;
	padding: 18px 16px 20px;
	width: auto;
	float: none;
}

/* 横向きの矢印は縦積みに合わせて下向きにする */
#main .flowList .arrow,
#main .flowList04 .arrow {
	margin: 0 0 12px;
	width: auto;
	transform: rotate(90deg);
}

#main .rightsBox {
	margin: 0 0 40px;
	padding: 20px 16px 22px;
	width: auto;
}

#main .vsBox {
	margin-bottom: 40px;
	width: auto;
}

#main .vsBox .col,
#main .vsBox .col02 {
	margin-bottom: 16px;
	padding: 18px 16px 20px;
	width: auto;
	float: none;
}

#main .factBox {
	margin: 0 0 40px;
	padding: 20px 0 22px;
	width: auto;
}

#main .factBox li {
	margin-bottom: 18px;
	width: auto;
	float: none;
	background: none;
}

#main .factNote {
	margin: -24px 0 40px;
	width: auto;
}

#main .last_comList {
	margin-bottom: 60px;
}

/* スライダーは自前でレスポンシブ対応しているため、親の幅だけ解除する */
#amazingslider-wrapper-1 {
	margin-bottom: 36px !important;
}

/*------------------------------------------------------------
	パーツリスト作成（workbench）
------------------------------------------------------------*/
#main .heroBand img {
	width: 100%;
}

#main .problemBox {
	margin-bottom: 40px;
	padding: 20px 0 22px;
}

#main .problemBox .problemList li {
	margin: 0 0 20px;
	padding: 0 0 20px;
	width: auto;
	float: none;
	background: none;
	border-bottom: 1px solid #E6E6E6;
}

#main .problemBox .problemList li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

#main .leadBox {
	margin-bottom: 40px;
	padding: 20px 16px 22px;
}

#main .leadBox p {
	font-size: 1.2em;
}

#main .leadBox .lead {
	font-size: 1.4em;
}

#main .diagram {
	margin-bottom: 40px;
}

#main .diagram img {
	width: 100%;
}

#main .comListBoxGemini {
	margin-bottom: 40px;
}

/*------------------------------------------------------------
	デザイン（design）
------------------------------------------------------------*/
#main .comImgBox .textBox .title {
	font-size: 1.7em;
}

/*------------------------------------------------------------
	会社概要（company）
------------------------------------------------------------*/
#conts .comTable td li {
	margin-bottom: 14px;
}

#conts .map iframe {
	width: 100%;
	max-width: 100%;
	height: 260px;
}

/*------------------------------------------------------------
	プライバシーポリシー（privacy）
------------------------------------------------------------*/
#conts .textBox,
#conts .textBox02 {
	margin-left: 0;
}

#conts .textBox02 {
	margin-bottom: 40px;
}

#conts .cookleList {
	margin-left: 8px;
}

/*------------------------------------------------------------
	サイトマップ（sitemap）
------------------------------------------------------------*/
#conts .linkList {
	margin: 0 0 20px;
	width: auto;
}

#conts .linkList li {
	margin: 0 0 16px;
	width: auto;
	float: none;
}

#conts .link01 {
	margin-left: 0;
}

#conts .link {
	margin-bottom: 30px;
	padding-bottom: 30px;
}

/*------------------------------------------------------------
	お問い合わせ（contact）
------------------------------------------------------------*/
#conts .textInner {
	margin-bottom: 40px;
	padding: 18px 16px 16px;
}

#conts .textInner .telList li,
#conts .textInner .telList .tel01,
#conts .textInner .telList .tel02 {
	margin: 0 0 14px;
	width: auto;
	float: none;
}

#conts .textInner .telList span {
	font-size: 2em;
}

#conts h4 {
	margin-bottom: 18px;
	font-size: 1.6em;
}

#conts .labelList {
	margin-bottom: 40px;
}

#conts .checkList {
	margin: 0;
	width: auto;
}

#conts .checkList li {
	margin: 0 0 12px;
	width: auto;
	float: none;
}

#conts .contactDl {
	margin-bottom: 36px;
}

#conts .contactDl dd {
	margin-bottom: 22px;
}

/* font-size:16px 未満だと iOS で入力時に画面が勝手に拡大されるため 16px にする */
#fName,
#fCorporation,
#fDepartment,
#fTel,
#fEmail,
#fContent {
	padding: 8px 10px;
	width: 100%;
	font-size: 16px;
}

#fContent {
	padding: 10px;
	height: 160px;
	font-size: 16px;
}

#conts .submit li {
	margin: 0 5px 10px;
}

}
