@charset "utf-8";

/* リセットCSS（sanitize.css）の読み込み
--------------------------------------------------------------------------- */
@import url("https://unpkg.com/sanitize.css");

/* slick.cssの読み込み
--------------------------------------------------------------------------- */
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");

/* Font Awesomeの読み込み
--------------------------------------------------------------------------- */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");


/* 全体の設定
--------------------------------------------------------------------------- */
html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	font-size: 14px; /* 基準となるフォントサイズ。900px以上の画面幅で再設定あり */
}

body {
	font-family: "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka,
		"ＭＳ Ｐゴシック", "MS PGothic", sans-serif; /* フォント種類 */
	-webkit-text-size-adjust: none;
	background: #fff;  /* 背景色 */
	color: #333;       /* 全体の文字色 */
	line-height: 2;    /* 行間 */
}

/* リセット */
figure {
	margin: 0;
}
dd {
	margin: 0;
}
nav {
	margin: 0;
	padding: 0;
}

/* table全般の設定 */
table {
	border-collapse: collapse;
}

/* 画像全般の設定 */
img {
	border: none;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

/* videoタグ */
video {
	max-width: 100%;
}

/* iframeタグ */
iframe {
	width: 100%;
}

/* section全般の設定 */
section + section {
	padding-top: 30px; /* section間のスペース */
}


/* opa1（透明→着色のアニメーション）
--------------------------------------------------------------------------- */
@keyframes opa1 {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}


/* リンクテキスト全般の設定
--------------------------------------------------------------------------- */
a {
	color: #333; /* 文字色 */
	transition: 0.3s;
}

a:hover {
	color: #54adf1; /* ホバー時文字色 */
}


/* container（サイト全体を囲むブロック）
--------------------------------------------------------------------------- */
#container {
	max-width: 1500px; /* 最大幅。#menubar > ul と合わせる */
	margin: 0 auto;
	height: 100%;
	display: flex;
	flex-direction: column;      /* 子要素を縦並びに */
	justify-content: space-between;
}


/* header（ロゴなどが入った最上段のブロック）
--------------------------------------------------------------------------- */
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap; /* 追加 */
	flex: 0 0 auto;
	height: auto;
	padding: 20px;
}

/* ロゴ画像 */
header #logo {
	line-height: 0;
	margin: 0;
	width: 350px;        /* ロゴの幅 */
	max-width: 100%;     /* 画面サイズに応じて縮小 */
}

/* 電話番号ブロック */
header address {
	font-style: normal;     /* addressの斜体解除 */
	font-size: 1.2rem;      /* 文字サイズ調整 */
	margin-right: 20px;     /* ハンバーガーメニューと重ならない余白 */
	white-space: nowrap;    /* 改行防止 */
}

/* 電話番号のアイコン（Font Awesome） */
header address i {
	color: #54adf1;       /* アイコン色 */
	padding-right: 10px;  /* 右余白 */
	font-size: 1.2rem;
}


/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
	header {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
	}

	header #logo {
		width: 100%;
		margin-bottom: 10px;
	}

	header address {
		margin-right: 0;
		font-size: 0.95em;
	}
}


/* ３本バー（ハンバーガー）アイコン設定
--------------------------------------------------------------------------- */
#menubar_hdr {
	display: block;
	position: fixed;
	z-index: 100;
	top: 25px;
	right: 20px;
	width: 50px;
	height: 50px;
	cursor: pointer;
	background: rgba(0,0,0,0.6) url(../images/ham.png) no-repeat center top/50px;
}

#menubar_hdr.ham {
	background: #ff0000 url(../images/ham.png) no-repeat center bottom/50px;
}


/* メニュー設定（全端末共通）
--------------------------------------------------------------------------- */
#menubar ul {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #1d95f1; /* 背景色。グラデーションとの併用注意 */
}

/* メニュー1個あたり */
#menubar ul a {
	display: block;
	text-decoration: none;
	background: linear-gradient(#54adf1, #1d95f1);
	color: #fff;
	padding: 15px 20px;
}

/* マウスオン時 */
#menubar > ul > li > a:hover {
	filter: brightness(1.2);
}

/* ドロップダウンメニューのリンク */
#menubar .ddmenu {
	cursor: default;
}

/* ddmenuのあるメニューに矢印アイコン */
a.ddmenu::before {
	font-family: "Font Awesome 5 Free";
	content: "\f078";
	font-weight: bold;
	margin-right: 1em;
}

/* メニューの設定 */
#menubar {
	height: 0;
	overflow: hidden;
}

/* 2023/07/26追加 */
#menubar {
	animation: opa1 0.5s 0.3s both;
	position: relative;
	z-index: 1;
}

/* 小端末用メニューブロック */
#menubar.db {
	position: fixed;
	overflow: auto;
	z-index: 99;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	padding: 90px 20px;
	background: rgba(0,0,0,0.8);
}


/* ドロップダウンメニュー
--------------------------------------------------------------------------- */
#menubar .ddmenu_parent ul {
	display: none;
}

/* ドロップダウンメニュー1個あたり */
#menubar .ddmenu_parent ul a {
	background: #fff;
	color: #333;
}

/* マウスオン時 */
#menubar .ddmenu_parent ul a:hover {
	background: #fafafa;
	color: #54adf1;
}


/* contentsブロック
--------------------------------------------------------------------------- */
#contents {
	min-height: 0;
	flex: 1 0 auto;
}


/* mainブロック設定
--------------------------------------------------------------------------- */
main {
	display: block;
	margin: 50px 3% 100px;
}

main h2 {
	border-bottom: 4px solid #eee;
}

main h2 span.uline {
	display: inline-block;
	border-bottom: 4px solid #54adf1;
	position: relative;
	bottom: -4px;
	padding: 0 20px;
}

main h3 {
	border-bottom: 4px solid #eee;
	padding: 20px 20px 0;
}

main p {
	margin: 0 20px 30px;
}


/* フッターメニュー設定
--------------------------------------------------------------------------- */
#footermenu {
	background: #333;
	color: #999;
	font-size: 0.7rem;
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

#footermenu a {
	text-decoration: none;
	color: #999;
}

#footermenu a:hover {
	color: #ccc;
}

#footermenu ul {
	margin: 0;
	padding: 0 2px;
	flex: 1;
	list-style: none;
}

#footermenu .title {
	font-weight: bold;
	color: #ccc;
	padding-bottom: 5px;
}

footer small {
	font-size: 100%;
}

footer {
	font-size: 0.6rem;
	background: #54adf1;
	color: #fff;
	text-align: center;
	padding: 20px;
}

/* ロゴ画像 */
#footermenu #footerlogo img {
	width: 350px;
	height: auto;
	margin-right: 200px;
}

footer a {
	color: #fff;
	text-decoration: none;
}

footer a:hover {
	color: #fff;
}

footer .pr {
	display: block;
}


/* フッターのレスポンシブ対応 */
@media screen and (max-width: 768px) {
	#footermenu {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	#footermenu ul {
		width: 100%;
		margin-top: 10px;
	}

	#footermenu #footerlogo {
		margin: 0 auto 10px;
	}

	#footermenu #footerlogo img {
		margin-right: 0;
	}
}


/* 「お知らせ」ブロック
--------------------------------------------------------------------------- */
#new {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	padding: 0 20px;
}

#new dt,
#new dd {
	border-bottom: 1px solid #ccc;
	padding: 5px 0;
}

#new dt {
	width: 8em;
}

#new dt span {
	display: none;
}

#new dd {
	width: calc(100% - 8em);
}


/* サービスページ（listブロック）
--------------------------------------------------------------------------- */
.list-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.list {
	flex: 0 0 32%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin-bottom: 30px;
	background: #111;
	color: #fff;
	padding: 20px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
	border-radius: 10px;
	overflow: hidden;
}

.list figure {
	margin: -20px -20px 0;
}

.list h4 {
	margin: 10px 0;
	font-size: 1.2em;
	font-weight: normal;
}

.list p {
	margin: 0;
	font-size: 0.7em;
}

.list div {
	min-height: 0;
}


/* スライドショー（slick使用）
--------------------------------------------------------------------------- */
.mainimg {
	position: relative;
}

ul.slick-dots {
	margin: 0;
	padding: 0;
	line-height: 1;
	width: 100%;
	text-align: center;
	position: absolute;
	bottom: 10px;
}

ul.slick-dots li {
	display: inline-block;
	margin: 0 10px;
	cursor: pointer;
}

ul.slick-dots li button {
	border: none;
	padding: 0;
	display: block;
	text-indent: -9999px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	cursor: pointer;
	background: #fff;
}

ul.slick-dots li.slick-active button {
	background: #54adf1;
}


/* アイコン設定
--------------------------------------------------------------------------- */
.icon {
	display: inline-block;
	padding: 0 10px;
	background: #999;
	color: #fff;
	font-size: 0.7em;
	border-radius: 3px;
	margin-right: 3px;
}

.newicon {
	background: #e82600;
}

.option1 {
	background: #e80068;
}

.option2 {
	background: #009def;
}


/* 詳細ページ
--------------------------------------------------------------------------- */
#item-image {
	position: relative;
	margin: 0 auto 20px;
	text-align: center;
	width: 100%;
}

#item-image img {
	width: 100%;
}

.thumbnail {
	width: 80px;
	border: 1px solid #dcdcdc;
	margin-bottom: 5px;
}

.thumbnail:hover {
	border: 1px solid #999;
}


/* btnの設定
--------------------------------------------------------------------------- */
.btn {
	text-align: center;
}

.btn a,
.btn input {
	display: inline-block;
	text-decoration: none;
	border: none;
	color: #fff;
	border-radius: 3px;
	padding: 10px 20px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
	background: linear-gradient(#54adf1, #1d95f1);
	font-size: 1rem;
}

.btn a:hover,
.btn input:hover {
	filter: brightness(1.2);
	cursor: pointer;
}

.list .btn a,
.list .btn input {
	margin-top: 10px;
	display: block;
}


/* テーブル
--------------------------------------------------------------------------- */
.ta1 caption {
	font-weight: bold;
	padding: 10px 5px;
	background: #333;
	color: #fff;
}

.ta1 {
	border-top: 1px solid #ccc;
	table-layout: fixed;
	width: 100%;
	margin: 0 auto 30px;
}

.ta1 tr {
	border-bottom: 1px solid #ccc;
}

.ta1 th,
.ta1 td {
	padding: 10px 5px;
	word-break: break-all;
}

.ta1 th {
	width: 30%;
	text-align: left;
	background: #f7f7f7;
}


/* 製品FAQ
--------------------------------------------------------------------------- */
.faq {
	padding: 0 5px;
}

.faq dt {
	border-radius: 10px;
	margin-bottom: 20px;
	background: linear-gradient(#fff, #f7f7f7);
	box-shadow: 0 0 5px rgba(0,0,0,0.2);
	text-indent: -2em;
	padding: 5px 1em 5px 3em;
}

.faq dt::before {
	font-family: "Font Awesome 5 Free";
	content: "\f059";
	color: #54adf1;
	padding-right: 1em;
}

.faq dd {
	padding: 5px 1em 30px 3em;
}

.openclose {
	cursor: pointer;
}

.faq dt span {
	text-indent: 0;
}


/* PAGE TOP（↑）設定
--------------------------------------------------------------------------- */
.pagetop-show {
	display: block;
}

.pagetop a {
	display: block;
	text-decoration: none;
	text-align: center;
	position: fixed;
	right: 20px;
	bottom: 20px;
	color: #fff;
	font-size: 1.5rem;
	background: rgba(0,0,0,0.3);
	width: 2em;
	line-height: 2em;
}

.pagetop a:hover {
	background: rgba(0,0,0,0.8);
}


/* その他
--------------------------------------------------------------------------- */
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

.color-theme,
.color-theme a {
	color: #54adf1 !important;
}

.color-check,
.color-check a {
	color: #f00 !important;
}

.c {
	text-align: center !important;
}

.ws,
.wl {
	width: 95%;
	display: block;
}

.mb30 {
	margin-bottom: 30px !important;
}

.look {
	display: inline-block;
	border: 1px solid #ccc;
	padding: 5px 20px;
	background: rgba(0,0,0,0.03);
	border-radius: 5px;
	margin: 5px 0;
}

.ofx {
	overflow-x: hidden;
}


/* 480px以下の追加指定
--------------------------------------------------------------------------- */
@media screen and (max-width: 480px) {
	header {
		flex-direction: column; /* ロゴと電話番号を縦並び */
	}

	header address {
		margin-right: 0;
	}
}


/* 900px以上の追加指定
--------------------------------------------------------------------------- */
@media screen and (min-width: 900px) {

	html,
	body {
		font-size: 18px; /* 基準フォントサイズ上書き */
	}

	.fixmenu {
		position: fixed !important;
		z-index: 100;
		left: 0;
		top: 0;
		width: 100%;
	}

	header address {
		margin-right: 0;
	}

	#menubar_hdr {
		display: none;
	}

	#menubar {
		height: auto;
		overflow: visible;
	}

	#menubar.db {
		position: static;
		overflow: visible;
		height: auto;
		padding: 0;
	}

	#menubar > ul {
		display: flex;
		justify-content: space-between;
		max-width: 1500px;
		margin: 0 auto;
	}

	#menubar li {
		text-align: center;
		flex: 1;
		position: relative;
	}

	#menubar ul ul {
		position: absolute;
		z-index: 100;
		width: 100%;
	}

	#menubar ul ul li {
		display: block;
	}

	#menubar ul ul ul {
		left: 100%;
		top: 0;
	}

	#menubar ul ul a {
		background: #1d95f1;
		padding: 12px 0;
	}

	#menubar ul ul a:hover {
		background: #54adf1;
		color: #fff;
	}

	#menubar > ul > li:hover > ul {
		display: block;
	}

	#menubar .ddmenu_parent a.ddmenu::before {
		content: "\f0d7"; /* ▼ アイコン */
	}

	#menubar ul ul a.ddmenu::before {
		content: "\f0da"; /* ▶ アイコン */
	}
}

.gallery-page #item-image {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1800px;/* ←画像を大きくしたい場合はここを拡大 */
  margin: 0 auto;
}

.gallery-page #item-image img {
  width: calc(50% - 10px); /* 画像1枚あたりの幅（2列を維持） */
  height: auto;
  display: block;
  border-radius: 6px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列にする */
  gap: 16px; /* 画像の間隔を設定 */
  margin-top: 20px;
}

.case-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* 任意で角丸 */
}
.mainimg img {
  width: 100%;
  height: auto;
  animation: zoomInOut 9s ease-in-out infinite;
}

@keyframes zoomInOut {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

