@charset "utf-8";

/* =========================================================
   レスポンシブ規定（最終）
   SP : ～767px
   TB : 768～1279px
   PC : 1280px～

   運用ルール
   - 条件の境界はこの3段階に揃える（例外を作らない）
   - 追加修正は「該当サイズの@media内」に書く
   - 共通指定は@media外（全幅）に書く
   - 並び順は変更しない（上書き順が変わるため）
   ========================================================= */

/* =========================================================
   レスポンシブ規定（公式）
   SP : ～767px / TB : 768～1279px / PC : 1280px～
   ※この版は「挙動を変えずに見える化」だけします（既存CSSは削除しません）
   ========================================================= */

/*Font Awesomeの読み込み
----------------------------------------独創的な技術力で、医療の明日に貢献-----------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");


/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mont.list-normal1 .listeCarlo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap');



/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("slide.css");
@import url("inview.css");
/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {
 --base-color: #19447e;					/*テンプレートの土台となる色（主に背景カラー）*/
 --base-inverse-color: #fff;		/*上のbase-colorの対となる色（主にテキストカラー）*/
 --primary-color: #fff;			/*テンプレートのメインまたはアクセントカラー*/
 --primary-inverse-color: #19447e;	/*上のprimary-colorの対となる色*/
 --space-large: 8vw;			/*主に余白の一括管理用。画面幅100%＝100vwです。*/
}


/*fadeInのキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes fadeIn {
 0% {
opacity: 0;
}
 100% {
opacity: 1;
}
}


/*fadeOutのキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes fadeOut {
 0% {
opacity: 1;
}
 100% {
opacity: 0;
visibility: hidden;
}
}
/*全体の設定
---------------------------------------------------------------------------*/
body * {
	box-sizing: border-box;
}
html, body {
	font-size: 13px;	/*基準となるフォントサイズ*/
	height: 100%;
}

	/*画面幅1200px以上の追加指定*/
	
/* [TB] @media screen and (min-width:1280px) */

/* ---- @media screen and (min-width:1280px) ---- */
@media screen and (min-width:1280px){
html, body {
	font-size: 14px;
}
}/*追加指定ここまで*/

	/*画面幅1280px以上の追加指定*/
	
/* [PC] @media screen and (min-width:1280px) */

/* ---- @media screen and (min-width:1280px) ---- */
@media screen and (min-width:1280px){
html, body {
	font-size: 1vw;
}
}/*追加指定ここまで*/
/* 本文は明朝体 */
body {
	margin: 0;
	padding:0;
	font-family: "Noto Sans JP", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3",  "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
	font-optical-sizing: auto;
	font-weight: 500;
	-webkit-text-size-adjust: none;
	background: var(--base-color);
	color: var(--base-inverse-color);
	line-height: 2;
}
/* 見出しはゴシック体 */
h1, h2, h3, h4, h5, h6 {
	font-family: "Noto Serif JP", "Hiragino Mincho Pro", "MS PMincho", serif;
	font-weight: 700;
}
/*リセット他*/
figure {
	margin: 0;
}
dd {
	margin: 0;
}
nav ul {
	list-style: none;
}
nav, ul, li, ol {
	margin: 0;
	padding: 0;
}
section li {
	margin-left: 1rem;
}
/*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%;
}
/*input*/
input {
	font-size: 1rem;
}
/*section*/
section {
	overflow-x: hidden;
	padding: var(--space-large);
}
/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: inherit;
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
}
/*マウスオン時*/
a:hover {
	text-decoration: none;	/*下線を消す*/
	opacity: 0.9;			/*色を90%だけ出す*/
}


/*loading（ローディング）
---------------------------------------------------------------------------*/
@keyframes progress {
 0% {
transform: scaleX(0);
}
 100% {
transform: scaleX(1);
}
}
/*ロゴ画像*/
#loading img {
	width: 300px;	/*画像の幅*/
	margin-bottom: 20px;	/*ローディングバーとの間のスペース調整*/
}
/*ローディングブロック*/
#loading {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--primary-color);	/*背景色*/
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	animation: fadeOut 1s ease 2s forwards;
}
/*プログレスバーの土台*/
.progress-container {
	width: 200px;		/*幅。お好みで。*/
	height: 4px;		/*高さ。お好みで。*/
	border-radius: 2px;	/*角をほんの少し丸くする*/
	background: #fff;	/*バーのベースカラー*/
	overflow: hidden;
}
/*プログレスバー*/
.progress-bar {
	width: 100%;
	height: 100%;
	background: #000;	/*進行中のバーの色*/
	animation: progress 2s linear;  /*#loadingのanimation時間に合わせて2秒に設定*/
	transform-origin: left;
}
/*container（サイト全体を囲むボックス）
---------------------------------------------------------------------------*/
#container {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	position: absolute;
	z-index: 1;
	left: 0px;
	top: 0px;
	width: 100%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 60px;	/*ヘッダーの高さ*/
}

	/*画面幅700px以上の追加指定*/
	
/* [OTHER] @media screen and (min-width: 1280px) */

/* ---- @media screen and (min-width: 1280px) ---- */
@media screen and (min-width: 1280px){
header {
	height: 90px;	/*ヘッダーの高さ*/
}
}/*追加指定ここまで*/
/*ロゴ画像*/
#logo img {
	display: block;
	width: 150px;	/*ロゴの幅*/
}
#logo {
	margin: 0;
	padding: 0;
	padding-left: 3vw;	/*ロゴの左側に空ける余白*/
}

	/*画面幅700px以上の追加指定*/
	
/* [OTHER] @media screen and (min-width: 1280px) */

/* ---- @media screen and (min-width: 1280px) ---- */
@media screen and (min-width: 1280px){
/*ロゴ画像*/
	#logo img {
	width: 300px;	/*ロゴの幅*/
}
}/*追加指定ここまで*/
/*ヘッダー内メニュー
---------------------------------------------------------------------------*/
/* 979px以下：ヘッダーメニュー非表示 */
@media (max-width: 979px){
  header > nav > ul { display: none; }
}

/* 980px以上：ヘッダーメニュー表示 */
@media (min-width: 980px){
  header > nav > ul { display: flex; }
}


	/*画面幅900px以上の追加指定*/
	
/* [TB] @media screen and (min-width:1280px) */

/* ---- @media screen and (min-width:1280px) ---- */
@media screen and (min-width:1280px){
/*メニューブロック全体の設定*/
	header > nav > ul {
	margin-right: 100px;	/*ハンバーガーアイコンに重ならないように余白*/
	display: flex;			/*横並びにする*/
}
/*メニュー１個あたりの設定*/
	header nav li a {
	display: block;
	text-decoration: none;
	font-size: 0.9rem;		/*文字サイズ90%*/
	padding: 0.5rem 1rem;	/*メニュー内の余白。上下、左右へ。*/
}
/*ドロップダウンメニュー冒頭の矢印アイコン*/
	header nav i {
	padding-right: 0.5rem;	/*右に空ける余白*/
}
}/*追加設定ここまで*/
/*ヘッダー内メニュー、開閉メニュー、共通のドロップダウン設定
---------------------------------------------------------------------------*/
header nav ul ul, .small-screen #menubar ul ul {
	animation: fadeIn 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}
/*ヘッダー内メニューのドロップダウン
---------------------------------------------------------------------------*/
/*ドロップダウンメニューブロック全体*/
header nav ul ul {
	position: absolute;
	z-index: 100;
	margin-left: 1rem;
}
/*メニュー１個あたりの設定*/
header nav ul ul a {
	padding: 0.3em 1em;					/*上下、左右へのメニュー内の余白*/
	margin-top: 4px;					/*上に空けるスペース。ドロップダウン同士の隙間。*/
	background: var(--base-color);		/*背景色。冒頭のbase-colorを読み込みます。*/
	color: var(--base-inverse-color);	/*文字色。冒頭のbase-inverse-colorを読み込みます。*/
	border: 1px solid var(--base-inverse-color);	/*枠線の幅、線種、varは色の指定で冒頭のbase-inverse-colorを読み込みます。*/
	border-radius: 3px;					/*角を少し丸くする指定*/
}
/*メニューブロック初期設定
---------------------------------------------------------------------------*/
/*メニューをデフォルトで非表示*/
#menubar {
	display: none;
}
#menubar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#menubar a {
	display: block;
	text-decoration: none;
}
/*上で非表示にしたメニューを表示させる為の設定*/
.large-screen #menubar {
	display: block;
}
.small-screen #menubar.display-block {
	display: block;
}
/*3本バーをデフォルトで非表示*/
#menubar_hdr.display-none {
	display: none;
}
/*ドロップダウンをデフォルトで非表示*/
.ddmenu_parent ul {
	display: none;
}
/*ddmenuを指定しているメニューに矢印アイコンをつける設定*/
a.ddmenu::before {
	font-family: "Font Awesome 6 Free";	/*Font Awesomeを使う指示*/
	content: "\f078";		/*使いたいアイコン名（Font Awesome）をここで指定*/
	font-weight: bold;		/*この手の設定がないとアイコンが出ない場合があります*/
	margin-right: 0.5em;	/*アイコンとテキストとの間に空けるスペース*/
}
/*メニューブロック内のロゴ画像の幅*/
#menubar .logo {
	width: 300px;
}


/*開閉メニュー
---------------------------------------------------------------------------*/
/*animation1のキーフレーム設定*/
@keyframes animation1 {
 0% {
right: -100vw;
}
 100% {
right: 0px;
}
}
/*メニューブロック設定*/
.small-screen #menubar.display-block {
	position: fixed;
	overflow: auto;
	z-index: 100;
	size:22px;
	right: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	padding: 90px 10vw 50px;				/*ブロック内の余白。上、左右、下への順番。*/
	background: #19447e;		/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
	animation: animation1 0.2s both;		/*animation1を実行する。0.2sは0.2秒の事。*/
}
/*メニュー１個あたりの設定*/
.small-screen #menubar li {
	margin: 1rem 0;			/*メニューの外側に空けるスペース。上下、左右への順番。*/
}
.small-screen #menubar a {
	border-radius: 5px;		/*角を丸くする指定*/
	padding: 1rem 2rem;		/*メニュー内の余白。上下、左右へ。*/
	background: var(--base-inverse-color);		/*背景色。冒頭のbase-inverse-colorを読み込みます。*/
	color: var(--base-color);					/*背景色。冒頭のbase-colorを読み込みます。*/
}
/*子メニュー*/
.small-screen #menubar ul ul a {
	background: var(--base-color);		/*背景色。冒頭のbase-colorを読み込みます。*/
	color: var(--base-inverse-color);	/*文字色。冒頭のbase-inverse-colorを読み込みます。*/
	border: 1px solid var(--base-inverse-color);	/*枠線の幅、線種、varは色の指定で冒頭のbase-inverse-colorを読み込みます。*/
	margin-left: 2rem;	/*左に空けるスペース*/
}
/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
	animation: fadeIn 0s 0.2s both;
	position: fixed;
	z-index: 101;
	cursor: pointer;
	right: 0px;				/*右からの配置場所指定*/
	top: 0px;				/*上からの配置場所指定*/
	padding: 20px 15px;		/*上下、左右への余白*/
	width: 60px;			/*幅（３本バーが出ている場合の幅になります）*/
	height: 60px;			/*高さ*/
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transform-origin: right top;
	background: var(--base-inverse-color);	/*背景色。冒頭のbase-inverse-colorを読み込みます。*/
	border-radius: 0px 0px 0px 10px;		/*角を丸くする指定。左上、右上、右下、左下への順番。*/
}

	/*画面700px以上の追加指定*/
	
/* [OTHER] @media screen and (min-width: 1280px) */

/* ---- @media screen and (min-width: 1280px) ---- */
@media screen and (min-width: 1280px){
#menubar_hdr {
	transform: scale(1.5);	/*1.5倍のサイズに。お好みで。*/
}
}/*追加指定ここまで*/
/*バー１本あたりの設定*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;	/*アニメーションにかける時間。0.3秒。*/
	border-top: 1.5px solid var(--base-color);	/*線の幅、線種、varは色のことで冒頭のbase-colorを読み込みます。*/
}
/*×印が出ている状態の3本バーの背景色*/
#menubar_hdr.ham {
	background: #ffffff;
}
/*×印が出ている状態の設定。※１本目および２本目のバーの共通設定。*/
#menubar_hdr.ham span:nth-of-type(1), #menubar_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;	/*変形の起点。センターに。*/
}
/*×印が出ている状態の設定。※１本目のバー。*/
#menubar_hdr.ham span:nth-of-type(1) {
	transform: rotate(45deg) translate(6px, 5.8px);	/*回転45°と、X軸Y軸への移動距離の指定*/
}
/*×印が出ている状態の設定。※３本目のバー。*/
#menubar_hdr.ham span:nth-of-type(3) {
	transform: rotate(-45deg) translate(7px, -7px);	/*回転-45°と、X軸Y軸への移動距離の指定*/
}
/*×印が出ている状態の設定。※２本目のバー。*/
#menubar_hdr.ham span:nth-of-type(2) {
	display: none;	/*２本目は使わないので非表示にする*/
}
/*メイン画像
---------------------------------------------------------------------------*/
/*ブロック全体*/
#mainimg {
	background: var(--base-color) url("../images/mainimg_sh.jpg") no-repeat center center / cover;
	width: 100%;
	padding-top: 150%;	/*アスペクト比2:3（3÷2=1.5）*/
	position: relative;
	overflow: hidden;
}

	/*画面450px以上の追加指定*/
	
/* [OTHER] @media screen and (min-width:768px) */

/* ---- @media screen and (min-width:768px) ---- */
@media screen and (min-width:768px){
#mainimg {
	background: var(--base-color) url("../images/mainimg.webp") no-repeat center center / cover;
	padding-top: 30%;	/*アスペクト比16:9（9÷16=0.5624）*/
}
}/*追加指定ここまで*/
#mainimg > div {
	position: absolute;
	top: 200px;	/*header分を確保*/
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
	/*画面450px以上の追加指定*/
	
/* [OTHER] @media screen and (min-width:768px) */

/* ---- @media screen and (min-width:768px) ---- */
@media screen and (min-width:768px){
#mainimg > div {
	top: 60px;
	left: var(--space-large);
	align-items: flex-start;
	justify-content: center;
}
}/*追加指定ここまで*/
/*テキストのブロック*/
#mainimg p {
	margin: 0;
}
#mainimg .text {
	font-size: 28px;	/*文字サイズ。*/
	font-weight: 800;	/*太字に*/
	line-height: 1.8;	/*行間*/
	text-align: left;	/*テキストをセンタリング*/
}

	/*画面450px以上の追加指定*/
	
/* [OTHER] @media screen and (min-width:768px) */

/* ---- @media screen and (min-width:768px) ---- */
@media screen and (min-width:768px){
#mainimg .text {
	text-align: left;	/*テキストを左寄せ*/
	font-size: 2.5vw;	/*文字サイズ。*/
}
}/*追加指定ここまで*/
/*ボタン*/
#mainimg .btn {
	font-size: 1rem;	/*文字サイズ*/
	font-weight: 600;	/*少し太字に*/
	margin-top: 3vw;	/*上のテキストとボタンの間のスペース。*/
	display: flex;
	gap: 1rem;	/*ボタン同士の余白*/
}
#mainimg .btn a {
	display: block;
	text-decoration: none;
	padding: 0.8rem 2rem;	/*ボタン内の余白。上下、左右へ。1rem=1文字分です。*/
	margin-bottom: 10px;	/*ボタン同士の隙間*/
}
/*マウスオン時*/
#mainimg .btn a:hover {
	opacity: 1;
	transform: scale(1.05);	/*105%に拡大*/
}

	/*画面450px以上の追加指定*/
	
/* [OTHER] @media screen and (min-width:768px) */

/* ---- @media screen and (min-width:768px) ---- */
@media screen and (min-width:768px){
/*ボタン*/
	#mainimg .btn {
	font-size: 1.4vw;	/*文字サイズ*/
}
#mainimg .btn a {
	margin: 0;
	padding: 0.6rem 3rem;	/*ボタン内の余白。上下、左右へ。1rem=1文字分です。*/
}
}/*追加指定ここまで*/
/*1つ目のボタン（お問い合わせ）の追加設定*/
#mainimg .btn p:nth-of-type(1) a {
	background: var(--primary-color);		/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}
/*2つ目のボタン（資料請求）への追加設定*/
#mainimg .btn p:nth-of-type(2) a {
	background: var(--base-inverse-color);	/*背景色。冒頭のbase-inverse-colorを読み込みます。*/
	color: var(--primary-color);			/*文字色。冒頭のprimary-colorを読み込みます。*/
	letter-spacing: 0.1em;					/*文字間隔を少しだけ広く*/
}
/*ボタン内のアイコン*/
#mainimg .btn i {
	transform: scale(1.4);	/*140%に拡大*/
	padding-right: 0.8rem;	/*アイコンとテキストとの間の余白*/
}
/*main（メインコンテンツ）
---------------------------------------------------------------------------*/
main {
	flex: 1 0 auto;
	overflow-x: hidden;
}
/*h2見出し（共通）*/
main h2 {
	margin: 0;
	padding: 0;
	font-size: 2.0rem;		/*文字サイズ。240%。*/
	font-weight: 800;		/*太字に*/
	/*margin-bottom: 5vw;		下にスペースを空ける*/
	display: flex;
	flex-direction: column-reverse;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
	position: relative;
}

	/*画面700px以上の追加指定*/
	
/* [OTHER] @media screen and (min-width: 1280px) */

/* ---- @media screen and (min-width: 1280px) ---- */
@media screen and (min-width: 1280px){
main h2 {
	font-size: 2.1rem;		/*文字サイズ。240%。*/
}
}/*追加指定ここまで*/
/*テキストをセンタリングする場合*/
main h2.c {
	align-items: center;
}
/*h2内のspan（小文字）*/
main h2 span {
	font-size: 0.85rem;	/*文字サイズ85%*/
	/*opacity: 0.8;		透明度。色を50%だけ出す。*/
	font-weight: normal;	/*太字ではなく標準にする*/
}
/*h2内のimg画像（「そのお悩み」という手書き風のふきだしに使っています）*/
h2 img {
	width: 100px;	/*画像の幅*/
	transform: rotate(-10deg);	/*左に10度傾ける。そのままがいいならこの１行を削除。*/
	position: absolute;
	left: -10px;	/*左からの配置場所*/
	top: -40px;	/*上からの配置場所。マイナスがついているので本来とは逆の方向に移動します。*/
}

	/*画面700px以上の追加指定*/
	
/* [OTHER] @media screen and (min-width: 1280px) */

/* ---- @media screen and (min-width: 1280px) ---- */
@media screen and (min-width: 1280px){
h2 img {
	width: 140px;	/*画像の幅*/
	left: 40px;		/*左からの配置場所*/
}
}/*追加指定ここまで*/
/*フッター
---------------------------------------------------------------------------*/
footer {
	background: var(--primary-color);		/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
	padding: 2rem;	/*フッター内の余白。2文字分。*/
	display: flex;
	flex-direction: column-reverse;
}
/*フッター直下の1つ目ブロック（ロゴやSNSアイコンが入ったブロック）*/
footer div:nth-of-type(1) {
	text-align: center;
}


/* ISO27001ロゴ固定 */
footer #iso{
  height: auto !important;
  max-width: none !important; /* どこかで max-width:100% を当ててても固定 */
  display: inline-block;
}
	/*画面700px以上の追加指定*/
	
/* [OTHER] @media screen and (min-width: 1280px) */

/* ---- @media screen and (min-width: 1280px) ---- */
@media screen and (min-width: 1280px){
footer {
	flex-direction: row;
	gap: 4rem;		/*フッター内の直下のブロック同士に空ける余白。４文字分。*/
	padding:0rem 2rem;	/*フッター内の余白。４文字分。*/
}
/*フッター直下の1つ目ブロック（ロゴやSNSアイコンが入ったブロック）*/
footer div:nth-of-type(1) {
  text-align: left;
  width: auto;
  flex: 0 0 auto;
}

}/*追加指定ここまで*/
footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
	margin-top: 0.3rem;
}
/*Copyright部分*/
footer small {
	display: block;
	padding-top: 2rem;	/*SNSアイコンとコピーライトの間の余白調整*/
}

/* footerロゴ：共通 */
footer .logo img{
  display:block;
  height:auto;
  max-width:100%;
}




/* TB：768～1279px */
@media (min-width: 768px) and (max-width: 1279px){
  footer .logo img{
    width: clamp(350px, 20vw, 400px);
  }
}

/* PC：1280px～ */
@media (min-width: 1280px){
  footer .logo img{
    width: clamp(380px, 12vw, 430px);
  }
}


/* SP：～767px */
@media (max-width: 767px){
  footer .logo{
    text-align: center;
  }
  footer .logo img:not(#iso){
    margin: 0 auto;
    width: clamp(290px, 38vw, 340px);
    content: url("../images/logo_inverse_sp.png");
  }
}



/* =========================
   footer 3div レイアウト整理（①＋②を隣接、③を右へ）
   ========================= */

/* 共通：3divを横並びベースにして、必要なら折り返す */
footer{
  display: flex;

  align-items: center;
  justify-content: flex-start;
  gap: clamp(12px, 2vw, 28px);

  /* 既存の column-reverse を無効化 */
  flex-direction: row;
}

/* ①：ロゴ＋住所（画像1枚） */
footer > div:nth-of-type(1){
  width: auto;
  flex: 0 0 auto;
  text-align: left;
}

/* ②：ISO（①のすぐ隣） */
footer > div:nth-of-type(2){
  width: auto;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* ③：メニュー（右側へ寄せる） */
footer > div:nth-of-type(3){
  flex: 0 1 auto; 
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
}

/* ①の画像（ロゴ＋住所の1枚画像想定）：ブラウザ幅で滑らかに縮む */
footer > div:nth-of-type(1) .logo img{
  width:clamp(420px,35vw,720px);
  height:auto;
  max-width:100%;
}

footer #iso{
  width: clamp(110px, 9vw, 130px) !important;
  height: auto !important;
  max-width: none !important;
  display: inline-block;
}







/*フッター内にあるソーシャルメディアのアイコン
---------------------------------------------------------------------------*/
.icons {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: 1rem;	/*アイコン同士のマージン的な要素。１文字分。*/
}

	/*画面700px以上の追加指定*/
	
/* [OTHER] @media screen and (min-width: 1280px) */

/* ---- @media screen and (min-width: 1280px) ---- */
@media screen and (min-width: 1280px){
.icons {
	justify-content: flex-start;
}
}/*追加指定ここまで*/
.icons i {
	font-size: 30px;	/*アイコンサイズ*/
}
/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.pr a {
	text-decoration: none;
	display: block;
	background: rgba(0,0,0,0.9);
	text-align: right;
	padding: 0.5rem 1rem;
	color: #ccc;
}
.pr a::before {
	font-family: "Font Awesome 6 Free";
	content: "\e2ca";
	font-weight: bold;
	margin-right: 0.5em;
}


/*c2（２カラムレイアウト用）
---------------------------------------------------------------------------*/

	/*画面幅700px以上の追加指定*/
	
/* [OTHER] @media screen and (min-width: 1280px) */

/* ---- @media screen and (min-width: 1280px) ---- */
@media screen and (min-width: 1280px){
.c2 {
	display: flex;
	gap: 1rem;
}
/*左側のタイトルブロックの幅*/
	.c2 .title {
	width: 30%;
}
/*右側のテキストブロック*/
	.c2 .text {
	flex: 1;
}
}/*追加指定ここまで*/


/*FAQ
---------------------------------------------------------------------------*/

	/*画面幅700px以上の追加指定*/
	
/* [OTHER] @media screen and (min-width: 1280px) */

/* ---- @media screen and (min-width: 1280px) ---- */
@media screen and (min-width: 1280px){
.faq {
	font-size: 1.2rem;	/*文字サイズを120%*/
}
}/*追加指定ここまで*/
/*質問*/
.faq dt {
	display: flex;
	align-items: flex-start;
	border-radius: 3px;		/*角を少しだけ丸く*/
	margin-bottom: 1rem;	/*下に空けるスペース。質問ブロック同士の余白です。*/
	background: var(--base-color);		/*背景色。冒頭のbase-colorを読み込みます。*/
	color: var(--base-inverse-color);	/*文字色。冒頭のbase-inverse-colorを読み込みます。*/
	padding: 1rem;	/*ブロック内の余白。１文字分。*/
}
/*「Q」アイコン*/
.faq dt::before {
	font-family: "Font Awesome 6 Free";
	content: "\51";	/*アイコン画像の指定*/
	margin-right: 0.5rem;	/*右側に空けるスペース*/
	background: var(--primary-color);		/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
	border-radius: 50%;	/*角を丸くする*/
	width: 30px;		/*幅*/
	line-height: 30px;	/*高さ*/
	text-align: center;
	flex-shrink: 0;
	margin-top: 0.2em;	/*微調整*/
}
/*回答*/
.faq dd {
	padding: 0 1rem 1rem 3.7rem;	/*ボックス内の余白。上、右、下、左への順番。*/
}
/*opencloseを適用した要素のカーソル*/
.openclose {
	cursor: pointer;	/*カーソルの形状。リンクと同じスタイルにしてクリックできると認識してもらう。*/
}
/*お知らせブロック
---------------------------------------------------------------------------*/
/*記事の下に空ける余白*/
.new dd {
	padding-bottom: 1rem;
}
.new dt span {
  margin-left: 1.2rem; /* ←ここで調整 */
  margin-right: 0.3rem; /* ←ここで調整 */
}
/*ブロック内のspan。日付の横のアイコン的な部分の共通設定*/
.new dt span {
	display: inline-block;
	text-align: center;
	line-height: 1.8;		/*行間（アイコンの高さ）*/
	border-radius: 2px;		/*角を丸くする指定*/
	padding: 0;		/*上下、左右へのブロック内の余白*/
	width: 8rem;			/*幅。8文字分。*/
	transform: scale(0.85);	/*85%のサイズに縮小*/
	border: 1px solid #777;	/*枠線の幅、線種、色*/
}
/*icon-bg1。サンプルテンプレートでは「重要」と書いてあるマーク*/
.new .icon-bg1 {
	border-color: transparent;	/*枠線を透明に*/
	background: #cd0000;		/*背景色*/
	color: #fff;				/*文字色*/
}
/*icon-bg2。サンプルテンプレートでは「サービス」と書いてあるマーク*/
.new .icon-bg2 {
	border-color: transparent;				/*枠線を透明に*/
	background: var(--primary-color);		/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}
/*icon-bg1と2と同じ大きさのスペース*/
.new .icon-bg3 {
	border-color: transparent;				/*枠線を透明に*/
	background: transparent;		/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: transparent;	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}
.right {
  text-align: right;
}
	/*画面幅700px以上の追加指定*/
	
/* [OTHER] @media screen and (min-width: 1280px) */

/* ---- @media screen and (min-width: 1280px) ---- */
@media screen and (min-width: 1280px){
/*ブロック全体*/
	.new {
	display: grid;	/*gridを使う指定*/
	grid-template-columns: auto 1fr;	/*横並びの指定。日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。*/
}
}/*追加指定ここまで*/
/*サムネイルスライドショー
---------------------------------------------------------------------------*/
/*画像たちを囲むブロック*/
.slide-thumbnail1 .img {
	display: flex;
}
/*画像*/
.slide-thumbnail1 .img img {
	padding: 5px;	/*画像の余白*/
}
/*右から左へ、左から右へ、のアニメーション*/
.slide-thumbnail1 .rtl, .slide-thumbnail1 .ltr {
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}
.slide-thumbnail1 .rtl {
	animation-name: slide-rtl;
}
.slide-thumbnail1 .ltr {
	animation-name: slide-ltr;
}
 @keyframes slide-rtl {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-50%);
}
}
 @keyframes slide-ltr {
0% {
transform: translateX(-50%);
}
100% {
transform: translateX(0);
}
}
/*テキストスライド
---------------------------------------------------------------------------*/
.text-slide-wrapper {
	overflow-x: hidden;
 margin-top: calc(-1 * (1.6 * var(--space-large)));	/*本来の位置より上にずらす。ずらしたくなければこの１行を削除。*/
}
.text-slide {
	font-family: "Jost", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	display: flex;
	white-space: nowrap;
	font-size: 15vw;	/*文字サイズ*/
	opacity: 0.05;		/*透明度。色が5%出た状態。*/
}
.text-slide span {
	padding: 0 20px;
}
/*btn1（ボタン）
---------------------------------------------------------------------------*/
.btn1 a {
	text-shadow: none;
	display: block;
	text-decoration: none;
	background: var(--primary-color);		/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
	font-size: 1.4rem;		/*文字サイズ。140%に。*/
	padding: 0.5rem 2rem;	/*ボタン内の余白。上下、左右へ。*/
	border-radius: 100px;	/*角を丸くする*/
	text-align: center;		/*テキストをセンタリング*/
}
/*bg-primary-colorの上で使う場合*/
.bg-primary-color .btn1 a {
	background: var(--primary-inverse-color);		/*背景色。冒頭のprimary-inverse-colorを読み込みます。*/
	color: var(--primary-color);	/*文字色。冒頭のprimary-colorを読み込みます。*/
}
/*マウスオン時*/
.btn1 a:hover {
	opacity: 1;
	transform: scale(1.05);	/*105%に拡大*/
	background: var(--primary-inverse-color);	/*背景色。冒頭のprimary-inverse-colorを読み込みます。*/
	color: var(--primary-color);				/*文字色。冒頭のprimary-colorを読み込みます。*/
}
/*bg-primary-colorの上で使う場合*/
.bg-primary-color .btn1 a:hover {
	background: #fff;	/*背景色*/
	color: #333;		/*文字色*/
}
/*矢印アイコン*/
.btn1 a::after {
	font-family: "Font Awesome 6 Free";	/*Font Awesomeを使う指示*/
	content: "\f0a9";		/*使いたいアイコン名（Font Awesome）をここで指定*/
	font-weight: bold;		/*この手の設定がないとアイコンが出ない場合があります*/
	margin-left: 0.5em;		/*アイコンとテキストとの間に空けるスペース*/
}
/*bg-primary-color
---------------------------------------------------------------------------*/
.bg-primary-color {
	background: var(--primary-color);		/*背景色。冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}
/*bg1
---------------------------------------------------------------------------*/
.bg1 {
	background-color: var(--base-inverse-color);	/*背景色。冒頭のbase-inverse-colorを読み込みます。*/
	color: var(--base-color);	/*文字色。冒頭のbase-colorを読み込みます。*/
}
/*bg2
---------------------------------------------------------------------------*/
.bg2 {
	background: #f3f3e9;	/*背景色*/
}
/*bg3
---------------------------------------------------------------------------*/
.bg3 {
	background: #fff;	/*背景色*/
}
/*パターン背景
---------------------------------------------------------------------------*/
/*bg-pattern1*/
.bg-pattern1 {
	background-image: url("../images/bg_pattern1.png");	/*背景パターンの読み込み*/
	background-repeat: repeat;
	background-position: center top;
	background-size: 10px;	/*サイズ*/
}
/*bg-pattern2*/
.bg-pattern2 {
	background-image: url("../images/bg_pattern2.png");	/*背景パターンの読み込み*/
	background-repeat: repeat;
	background-position: center top;
	background-size: 10px;	/*サイズ*/
}
/*bg-pattern3*/
.bg-pattern3 {
	background-image: url("../images/bg_pattern3.png");	/*背景パターンの読み込み*/
	background-repeat: repeat;
	background-position: center top;
	background-size: 10px;	/*サイズ*/
}
/*ボックス下部を三角形（▼）にする場合。三角形の高さ自体はmask-imageのd=の中にある２つの「95」という数値で変更できます。小さいほど角度が大きくなります。
---------------------------------------------------------------------------*/
.arrow {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L100,0 L100,95 L50,100 L0,95 Z' fill='%23000000'/%3E%3C/svg%3E");
	mask-size: 100% 100%;
	mask-repeat: no-repeat;
}

	/*画面幅700px以上の追加指定*/
	
/* [OTHER] @media screen and (min-width: 1280px) */

/* ---- @media screen and (min-width: 1280px) ---- */
@media screen and (min-width: 1280px){
/*三角形の高さの再設定。95を90に変更しています。*/
	.arrow {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L100,0 L100,90 L50,100 L0,90 Z' fill='%23000000'/%3E%3C/svg%3E");
	padding-bottom: 150px;
}
}/*追加指定ここまで*/
/*背景色が切れているのが見えないように微調整*/
.arrow + section {
	padding-top: calc(var(--space-large) + 150px);
	margin-top: -150px;
}
/*list-grid-simple（制作実績ブロック）
---------------------------------------------------------------------------*/
.list-grid-simple .list * {
	margin: 0;
	padding: 0;
}
/*listブロック全体を囲むブロック*/
.list-grid-simple {
	display: grid;
	grid-template-columns: repeat(2, 1fr);	/*2列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
	gap: 3rem;	/*ブロックの間に空けるマージン的な指定*/
}
/*ボックス１個あたり*/
.list-grid-simple .list {
	display: grid;
	position: relative;
}
/*h4見出し*/
.list-grid-simple .list h4 {
	margin-top: 0.5rem;		/*上に0.5文字分のスペースを空ける*/
	font-weight: normal;	/*太さを標準に*/
}


/* 画面幅800px以上の追加指定 */

/* [TB] @media screen and (min-width:1280px) */

/* ---- @media screen and (min-width:1280px) ---- */
@media screen and (min-width:1280px){

  /* listブロック全体を囲むブロック */
  .list-grid-simple {
    grid-template-columns: repeat(3, 1fr);
  }

  /* bg1内のfigureへの追加設定 */
  .bg1 .list-grid1 .list figure.icon {
    filter: grayscale(100%) brightness(90%);
    margin-bottom: 1rem;
  }

  /* ボックス内のfigure画像 */
  .list-grid1 .list figure.icon {
    width: 150px;       /*画像サイズ*/
    margin-top: -50px;  /*本来の場所より上にずらす*/
  }

} /* 画面幅800px以上の追加指定ここまで */


/*list-c2（お問い合わせ、資料請求）
---------------------------------------------------------------------------*/
.list-c2 > a {
	text-decoration: none;
	display: block;
}

	/*画面幅600px以上の追加指定*/
	
/* [OTHER] @media screen and (min-width:768px) */

/* ---- @media screen and (min-width:768px) ---- */
@media screen and (min-width:768px){
/*２つのボックスを囲むボックス*/
	.list-c2 {
	display: flex;	/*横並びにする*/
	gap: 2vw;		/*ブロックの間に空けるマージン的な指定*/
}
}/*追加指定ここまで*/
/*ボックス１個あたり*/
.list-c2 .list {
	text-align: center;
	position: relative;
	overflow-y: hidden;
	color: #fff;		/*文字色*/
	text-shadow: 0px 0px 10px rgba(0,0,0,0.6);	/*テキストの影。右へ、下へ、ぼかす量、0,0,0は黒のことで0.6は色が出た状態。*/
	padding: 5rem 2rem;	/*上下、左右へのボックス内の余白*/
	margin: 1rem 0;		/*上下、左右へのマージン*/
	border-radius: 30px;	/*角を丸くする指定*/
}

	/*画面幅600px以上の追加指定*/
	
/* [OTHER] @media screen and (min-width:768px) */

/* ---- @media screen and (min-width:768px) ---- */
@media screen and (min-width:768px){
.list-c2 > * {
	flex: 1;
}
.list-c2 .list {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.list-c2 > a .list {
	height: 100%;
}
/*1つ目のボックス（お問い合わせ）*/
	.list-c2 .list:nth-of-type(1) {
	border-radius: 0px 30px 30px 0px;	/*角丸の上書き。左上、右上、右下、左下への順番。*/
}
/*2つ目のボックス（資料請求）*/
	.list-c2 .list:nth-of-type(2) {
	border-radius: 30px 0px 0px 30px;	/*角丸の上書き。左上、右上、右下、左下への順番。*/
}
}/*追加指定ここまで*/
/*左側ボックスの背景*/
.list-c2 .list.image1 {
	background: url("../images/bg_contact.jpg") no-repeat center center / cover;
}
/*右側ボックスの背景*/
.list-c2 .list.image2 {
	background: url("../images/bg_request.jpg") no-repeat center center / cover;
}
/*h4見出し*/
.list-c2 h4 {
	line-height: 1.2;	/*行間を狭く*/
	font-family: "Jost", sans-serif;	/*フォント指定*/
	font-optical-sizing: auto;
	font-weight: 300;	/*フォントの太さ。100〜900の間で指定が可能。大きいほど太くなります。*/
}
/*h4見出し内のメインテキスト（main-text）*/
.list-c2 h4 .main-text {
	display: block;
	font-size: 3rem;		/*文字サイズ。3倍。*/
	padding-top: 1.5rem;	/*上に空ける余白*/
	padding-bottom: 3rem;	/*下に空ける余白*/
}

	/*画面幅600px以上の追加指定*/
	
/* [OTHER] @media screen and (min-width:768px) */

/* ---- @media screen and (min-width:768px) ---- */
@media screen and (min-width:768px){
.list-c2 h4 .main-text {
	font-size: 4rem;	/*文字サイズ。4倍。*/
}
}/*追加指定ここまで*/
/*テキスト*/
.list-c2 .list .text {
	position: relative;
	z-index: 1;
	font-size: 0.85rem;	/*文字サイズ85%*/
}
/*マウスオン用のアニメーション*/
.list-c2 .list::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6);		/*写真に重ねておく半透明の黒い色。0,0,0は黒のことで0.6は色が60%出た状態。*/
	transition: transform 0.3s 0.1s;	/*アニメーションの速度（0.3秒）と待機時間（0.1秒）。*/
}
.list-c2 .list:hover::before {
	transform: translateY(100%);	/*マウスオンで半透明の黒を枠外へ出す。-100%にすると逆に移動します。*/
}
/*背景画像が少しずつ上に移動する
---------------------------------------------------------------------------*/
/*ブロック全体*/
.bg-slideup {
 margin-left: calc(-1 * var(--space-large));
 margin-right: calc(-1 * var(--space-large));
}
section > .bg-slideup:first-child {
 margin-top: calc(-1 * var(--space-large));
}
/*画像ボックス*/
.bg-slideup .image {
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	padding: 10vw 20px;	/*上下、左右へのボックス内の余白。画面幅100% = 100vwです。*/
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 3rem;		/*英語テキストと日本語テキストの間のスペース。３文字分。*/
	color: #fff;	/*文字色*/
}
/* 英語テキスト */
.en-text {
	writing-mode: horizontal-tb;
	font-size: 0.8rem;	/*文字サイズ80%*/
}
/* 日本語テキスト */
.jp-text {
	writing-mode: vertical-rl;
	text-orientation: upright;
}
/*制作実績ブロックの画像指定*/
#products .bg-slideup .image {
	background-image: url("../images/bg_works.jpg");	/*背景画像の指定*/
}
/*会社概要ブロックの画像指定*/
#company .bg-slideup .image {
	background-image: url("../images/bg_company.jpg");	/*背景画像の指定*/
}

/*１行目の金額*/
.plan th > span {
	display: block;
	font-size: 1.6rem;	/*文字サイズを160%*/
	font-family: "Oswald", sans-serif;	/*フォント指定*/
	font-optical-sizing: auto;
	font-weight: 700;	/*太さ。200〜900まで指定できます。数値が大きいほど太くなる。*/
}

	/*画面幅801px以上の追加指定*/
	
/* [TB] @media screen and (min-width: 1280px) */

/* ---- @media screen and (min-width: 1280px) ---- */
@media screen and (min-width: 1280px){
/*１行目の金額*/
	.plan th > span {
	font-size: 2.4rem;	/*文字サイズを240%*/
}
}/*追加指定ここまで*/



/*調整用スタイル
---------------------------------------------------------------------------*/
.padding0 {
	padding: 0 !important;
}
.padding-lr0 {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
/*マニュアルページ用
---------------------------------------------------------------------------*/
#manual #container {
	all: unset;
}
.manual {
	background: #fff;
	color: #333;
	padding: 5vw;
}
.manual .look {
	background: #eee;
}
.manual h2 {
	margin-top: 2rem;
	font-size: 2rem;
	text-align: center;
}
.manual h3 {
	line-height: 3;
	margin-top: 2rem;
}
.manual h3 span {
	background: linear-gradient(transparent 60%, yellow);
}
.manual h3 + p {
	margin-top: -0.5rem;
}
.manual.margin-left {
	padding-left: 300px;
}

	/*画面幅999px以下の追加指定*/
	
/* [TB] @media screen and (max-width:999px) */

/* ---- @media screen and (max-width:999px) ---- */
@media screen and (max-width:999px){
.manual.margin-left {
	padding-left: 4vw;
}
}/*画面幅900px以上の追加指定ここまで*/
/*その他
---------------------------------------------------------------------------*/
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}
.color-check, .color-check a {
	color: #ff0000 !important;
}
.l {
	text-align: left !important;
}
.c {
	text-align: center !important;
}
.r {
	text-align: right !important;
}
.ws {
	width: 95%;
	display: block;
}
.wl {
	width: 95%;
	display: block;
}
.mb0 {
	margin-bottom: 0px !important;
}
.mb30 {
	margin-bottom: 30px !important;
}
.mb-space-large {
	margin-bottom: var(--space-large) !important;
}
.look {
	line-height: 1.5 !important;
	display: inline-block;
	padding: 5px 10px;
	background: rgba(0,0,0,0.1);
	border: 1px solid rgba(0,0,0,0.3);
	border-radius: 3px;
	margin: 5px 0;
	word-break: break-all;
}
.small {
	font-size: 0.75em;
}
.large {
	font-size: 2em;
	letter-spacing: 0.1em;
}
.pc {
	display: none;
}
.dn {
	display: none !important;
}
.block {
	display: block !important;
}
.inline-block {
	display: inline-block !important;
}
.relative {
	position: relative;
}
.marker {
	background: linear-gradient(transparent 50%, yellow);
}
pre {
	white-space: pre-wrap;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

	/*画面幅900px以上の追加指定*/
	
/* [TB] @media screen and (min-width:1280px) */

/* ---- @media screen and (min-width:1280px) ---- */
@media screen and (min-width:1280px){
.ws {
	width: 48%;
	display: inline;
}
.sh {
	display: none;
}
.pc {
	display: block;
}
}/*追加指定ここまで*/
/* ナビゲーションに白色半透明フレーム */
.nav-frame {
	background: rgba(255, 255, 255, 0.9); /* 半透明の白背景 */
	border-radius: 25px;
	padding: 0.4rem 1rem;  /* フレーム内余白 */
	display: flex;
	align-items: center;   /* ← 中のリンクを上下中央に揃える */
}
/* リンク文字は見やすいようにベースカラーを使う */
.nav-frame a {
	color: var(--base-color); /* サイトの基調色を使用 */
}












/* ===== Hero Text : Fade + Zoom In ===== */
@keyframes fadeZoom {
 0% {
opacity: 0;
transform: scale(0.5);
}
 100% {
opacity: 1;
transform: scale(1);
}
}
#mainimg .animate-zoom .zline {
	display: inline-block;     /* 行単位でアニメにする */
	opacity: 0;
	will-change: transform, opacity;
	transform-origin: left bottom; /* 左下基点でわずかに拡大 */
	animation: fadeZoom 700ms cubic-bezier(.22, .61, .36, 1) forwards;
}
/* 行ごとに遅延（お好みで微調整） */
#mainimg .animate-zoom .zline:nth-of-type(1) {
	animation-delay: 0.15s;
}
#mainimg .animate-zoom .zline:nth-of-type(2) {
	animation-delay: 0.45s;
}

/* 動きを控えめにしたいユーザー配慮 */

/* [OTHER] @media (prefers-reduced-motion: reduce) */

/* ---- @media (prefers-reduced-motion: reduce) ---- */
@media (prefers-reduced-motion: reduce){
#mainimg .animate-zoom .zline {
	animation: none;
	opacity: 1;
	transform: none;
}
}
/* 通常状態 */
header nav li a {
	display: inline-block;
	padding: 0.2rem 0.8rem;  /* 背景を小さくしたいならここで調整 */
	border-radius: 4px;
	transition: all 0.3s ease;
	color: var(--base-color);
}
header nav li a:hover {
	background-color: #19447e;
	color: #fff;
}

.c2 .item h3 {
	font-family: inherit;   /* 親と同じフォントを継承 */
	font-size: 1em;         /* 本文と同じ大きさにする場合 */
	font-weight: normal;    /* 太さを本文と合わせる */
	margin: 0px;
	text-align: left;
}
.c2 .item img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0;           /* 中央寄せを削除 → 左寄せ */
}
/* 見出し内の英語部分（span）だけ白にする */
.c2 .title h2 span {
	color: #ffffff;
}



/* 「独創的な技術力で、医療の明日に貢献」に明朝系フォントを指定（Webフォント優先） */
#mainimg .text.animate-zoom,
#mainimg .text.animate-zoom .zline {
	/* まず Web フォントの Noto Serif JP を使う */
	font-family: "Noto Serif JP",
	             "Yu Mincho", "游明朝",
	             "Hiragino Mincho ProN", "ヒラギノ明朝 ProN W3",
	             "MS PMincho", "ＭＳ Ｐ明朝",
	             serif !important;
	font-weight: 600;        /* 好みで 700 / normal に調整可 */
	font-style: normal;
}






/* ローディング非表示 */
#loading, #loading .progress-container, #loading .progress-bar {
	display: none !important;
}
/* 製品一覧見出しの上に固定余白を追加 */
main h2 {
	margin-top: 0px; /* 必要に応じて数値調整（例: 60px, 100px） */
}
/* ===== Unify breakpoints & spacing for product.html ===== */

/* 共通BPをCSS変数化（任意） */
:root {
 --bp-md: 768px;
 --bp-lg: 1200px;
}
/* --- 最小値固定：見出し上の余白をpx固定にする --- */
/* このページの先頭<section>に限って上余白を固定（vwの上下ゆれを抑える） */
main > section:first-of-type {
	/* 上下はpx固定、左右は現行どおり 8vw を維持してもOK */
  padding-top: 20px;      /* ←最小値固定。必要なら 60〜100px で調整 */
}
/* 見出し（製品一覧）自身には上マージンを持たせない */
main > section:first-of-type > h2 {
	margin-top: 60px;
}
/* --- ロゴサイズ／ヘッダー高さ／h2サイズ：同一BPで切替 --- */
/* 初期（〜767px） */
#logo img {
	width: 200px;
}    /* 150→200に微増。見出しとのバランスを取りやすく */
header {
	height: 70px;
}     /* 60→70に微増。詰まり感を軽減 */
main h2 {
	font-size: 1.9rem;
}/* 既存2.0rem付近→微調整。必要に応じて2.0remでもOK */

/* MD（768px〜1199px） */

/* [TB] @media (min-width: 768px) */

/* ---- @media (min-width: 768px) ---- */
@media (min-width: 768px){
#logo img {
	width: 260px;
}
header {
	height: 84px;
}
main h2 {
	font-size: 2.0rem;
}
/* MD以上でも見出し上は最小80pxを維持（必要なら100pxへ） */
  main > section:first-of-type {
	padding-top: 30px;
}
}

/* LG（1200px〜） */

/* [TB] @media (min-width: 1280px) */

/* ---- @media (min-width: 1280px) ---- */
@media (min-width: 1280px){
#logo img {
	width: 300px;
}  /* 既存大きめと整合 */
header {
	height: 90px;
}  /* 既存と整合 */
main h2 {
	font-size: 2.1rem;
} /* 既存と整合 */
main > section:first-of-type {
	padding-top: 25px;
}
}

/* === PATCH: product typography (p-cat / pname / psub) === */
/* 目的：
   - 文字を現状より大きく
   - 画面が狭くなると自然に縮小（clamp）
   - 英字は単語の途中で改行しない／見出しはバランス良く改行
*/

/* カテゴリ見出し（例：診療統合システム、会社概要 など全ページ共通） */
.p-cat {
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.9rem);
  line-height: 1.35;
  text-wrap: balance;
  background-color: #ffffff;
  color: #19447e;
  padding-left: 1em;
  margin: 0.5em 0;
  /* ★ 幅を必ず最大にする（今回の統一ポイント） */
  display: block;
  width: 100%;
  max-width: 100%;
}

/* 反転見出し（例：<h3 class="p-cat rev">会社概要</h3> 用） */
.p-cat.rev {
  background-color: #19447e;
  color: #ffffff;
}




/* 製品名（英語中心：STELLAR, Sophia Report など） */
.plist .pname {
  font-size: clamp(1.15rem, 0.9rem + 0.9vw, 1.7rem);
  line-height: 1.25;
  font-weight: 700;
  word-break: keep-all;
  text-wrap: balance;
}

/* サブタイトル（日本語の説明行） */
.plist .psub {
  font-size: clamp(0.90rem, 0.82rem + 0.35vw, 1.05rem);
  line-height: 1.45;
  word-break: keep-all;
}

/* ==== 2列＆1列域での文字サイズを底上げ（全ページ共通でOK） ==== */
/* 想定カラム数のBP： <600px=1列 / 600–899px=2列 / 900–1199px=3列 / 1200px~=4列 */

/* 2列域（600–899px） */

/* [TB] @media (max-width: 900px) and (min-width: 600px) */

/* ---- @media (max-width: 900px) and (min-width: 600px) ---- */
@media (max-width: 900px) and (min-width: 600px){
  .p-cat {
    font-size: clamp(1.45rem, 1.00rem + 1.2vw, 1.90rem);
    text-wrap: balance;
  }
  .plist .pname {
    font-size: clamp(1.35rem, 0.95rem + 1.2vw, 1.80rem);
    word-break: keep-all;
    text-wrap: balance;
  }
  .plist .psub {
    font-size: clamp(1.05rem, 0.85rem + 0.8vw, 1.20rem);
    word-break: keep-all;
  }
}

/* 1列域（〜599px） */

/* [SP] @media (max-width: 767px) */

/* ---- @media (max-width: 767px) ---- */
@media (max-width: 767px){
  .p-cat {
    font-size: clamp(1.40rem, 1.00rem + 2.0vw, 1.85rem);
    text-wrap: balance;
  }
  .plist .pname {
    font-size: clamp(1.30rem, 0.90rem + 2.0vw, 1.70rem);
    word-break: keep-all;
    text-wrap: balance;
  }
  .plist .psub {
    font-size: clamp(1.00rem, 0.85rem + 1.5vw, 1.20rem);
    word-break: keep-all;
  }
  .plist .pname,
  .plist .psub {
    line-height: 1.35;
  }
}

/* PC時：左右は広く、上下（特に下）は広げない */

/* [TB] @media screen and (min-width: 1280px) */

/* ---- @media screen and (min-width: 1280px) ---- */
@media screen and (min-width: 1280px){
  section {
    padding-top: 6vw;     /* ←好みで調整（例：4〜8vw） */
    padding-bottom: 6vw;  /* ←ここが「下の青余白」を決めてる */
    padding-left: 14vw;   /* ←あなたが気に入った左右 */
    padding-right: 14vw;
  }
}
/* 関連リンクだけをPCで2列にする */

/* [OTHER] @media screen and (min-width: 1280px) */

@media (min-width: 768px){
  #related .text{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.top-divider {
  border: none;
  height: 3px;
  background: rgba(255,255,255,1.0);
  margin: 1rem 0;
}



/* [TB] 追加: 旧(min-width:700px)の内容をTBにも適用 */

/* ---- @media (min-width: 768px) and (max-width: 1279px) ---- */
@media (min-width: 768px) and (max-width: 1279px){
header {
	height: 90px;	
}

#logo img {
	width: 300px;	
}

#menubar_hdr {
	transform: scale(1.5);	
}

main h2 {
	font-size: 2.4rem;		
}

h2 img {
	width: 140px;	
	left: 40px;		
}

footer {
	flex-direction: row;		
	padding:0rem 1rem;	
}

footer div:nth-of-type(1) {
  text-align: left;
  width: auto;
  flex: 0 0 auto;
}


.icons {
	justify-content: flex-start;
}

.c2 {
	display: flex;
	gap: 1rem;
}

	.c2 .title {
	width: 30%;
}

	.c2 .text {
	flex: 1;
}

.faq {
	font-size: 1.2rem;	
}

.new {
	display: grid;	
	grid-template-columns: auto 1fr;	
}

.arrow {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L100,0 L100,90 L50,100 L0,90 Z' fill='%23000000'/%3E%3C/svg%3E");
	padding-bottom: 150px;
}


/*ボタン*/
	#mainimg .btn {
	font-size: 1.4vw;	/*文字サイズ*/
}
#mainimg .btn a {
	margin: 0;
	padding: 0.6rem 3rem;	/*ボタン内の余白。上下、左右へ。1rem=1文字分です。*/
}
}


/* ---- @media screen and (min-width:600px) */
@media screen and (min-width:600px) and (max-width: 767px) ---- */
@media screen and (min-width:600px) */
@media screen and (min-width:600px) and (max-width: 767px){
/*２つのボックスを囲むボックス*/
	.list-c2 {
	display: flex;	/*横並びにする*/
	gap: 2vw;		/*ブロックの間に空けるマージン的な指定*/
}
}


/* ---- @media screen and (min-width:600px) */
@media screen and (min-width:600px) and (max-width: 767px) ---- */
@media screen and (min-width:600px) */
@media screen and (min-width:600px) and (max-width: 767px){
.list-c2 > * {
	flex: 1;
}
.list-c2 .list {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.list-c2 > a .list {
	height: 100%;
}
/*1つ目のボックス（お問い合わせ）*/
	.list-c2 .list:nth-of-type(1) {
	border-radius: 0px 30px 30px 0px;	/*角丸の上書き。左上、右上、右下、左下への順番。*/
}
/*2つ目のボックス（資料請求）*/
	.list-c2 .list:nth-of-type(2) {
	border-radius: 30px 0px 0px 30px;	/*角丸の上書き。左上、右上、右下、左下への順番。*/
}
}


/* ---- @media screen and (min-width:600px) */
@media screen and (min-width:600px) and (max-width: 767px) ---- */
@media screen and (min-width:600px) */
@media screen and (min-width:600px) and (max-width: 767px){
.list-c2 h4 .main-text {
	font-size: 4rem;	/*文字サイズ。4倍。*/
}
}



/* [TB] 追加: 旧(min-width:800/900/1000/1024/1200px)をTB範囲で再適用 */

/* ---- @media (min-width: 1000px) and (max-width: 1279px) ---- */
@media (min-width: 1000px) and (max-width: 1279px){
html, body {
	font-size: 14px;
}
}


/* ---- @media (min-width: 900px) and (max-width: 1279px) ---- */
@media (min-width: 980px) and (max-width: 1279px){
/*メニューブロック全体の設定*/
	header > nav > ul {
	margin-right: 100px;	/*ハンバーガーアイコンに重ならないように余白*/
	display: flex;			/*横並びにする*/
}
/*メニュー１個あたりの設定*/
	header nav li a {
	display: block;
	text-decoration: none;
	font-size: 0.9rem;		/*文字サイズ90%*/
	padding: 0.5rem 1rem;	/*メニュー内の余白。上下、左右へ。*/
}
/*ドロップダウンメニュー冒頭の矢印アイコン*/
	header nav i {
	padding-right: 0.5rem;	/*右に空ける余白*/
}
}


/* ---- @media (min-width: 800px) and (max-width: 1279px) ---- */
@media (min-width: 800px) and (max-width: 1279px){
/* listブロック全体を囲むブロック */
  .list-grid-simple {
    grid-template-columns: repeat(3, 1fr);
  }

  /* bg1内のfigureへの追加設定 */
  .bg1 .list-grid1 .list figure.icon {
    filter: grayscale(100%) brightness(90%);
    margin-bottom: 1rem;
  }

  /* ボックス内のfigure画像 */
  .list-grid1 .list figure.icon {
    width: 150px;       /*画像サイズ*/
    margin-top: -50px;  /*本来の場所より上にずらす*/
  }
}


/* ---- @media (min-width: 800px) and (max-width: 1279px) ---- */
@media (min-width: 800px) and (max-width: 1279px){
/*１行目の金額*/
	.plan th > span {
	font-size: 2.4rem;	/*文字サイズを240%*/
}
}


/* ---- @media (min-width: 900px) and (max-width: 1279px) ---- */
@media (min-width: 900px) and (max-width: 1279px){
.ws {
	width: 48%;
	display: inline;
}
.sh {
	display: none;
}
.pc {
	display: block;
}
}


/* ---- @media (min-width: 1200px) and (max-width: 1279px) ---- */
@media (min-width: 1200px) and (max-width: 1279px){
#logo img {
	width: 300px;
}  /* 既存大きめと整合 */
header {
	height: 90px;
}  /* 既存と整合 */
main h2 {
	font-size: 2.1rem;
} /* 既存と整合 */
main > section:first-of-type {
	padding-top: 50px;
}
}


/* ---- @media (min-width: 1024px) and (max-width: 1279px) ---- */
@media (min-width: 1024px) and (max-width: 1279px){
section {
    padding-top: 6vw;     /* ←好みで調整（例：4〜8vw） */
    padding-bottom: 6vw;  /* ←ここが「下の青余白」を決めてる */
    padding-left: 14vw;   /* ←あなたが気に入った左右 */
    padding-right: 14vw;
  }
}




footer ul{
  margin-bottom: 0.3rem !important;
}

/* SP（～767px）→ 1列 */
@media (max-width: 767px){
  footer div:nth-of-type(3) ul{
    display: block;
  }
}

/* TB以上（768px～）→ 2列 */
@media (min-width: 768px){
  footer div:nth-of-type(3){
    justify-content: flex-end;
    align-items: flex-start;
  }

  footer div:nth-of-type(3) ul{
    display: grid;
    grid-template-columns: repeat(2, max-content);
    column-gap: 2rem;
    row-gap: 6px;
  }

  footer div:nth-of-type(3) li,
  footer div:nth-of-type(3) a{
    line-height: 1.2;  /* ←ここが本命 */
  }
  footer div:nth-of-type(3) li{ margin: 0; }
  footer div:nth-of-type(3) a{ padding: 0; }


}

footer{
  font-size: clamp(10px, 1vw, 14px);
}





@media (max-width: 767px){

  footer{
    display: flex;
    flex-direction: column;
  }

  /* ① メニュー：一番上＋左寄せ */
  footer > div:nth-of-type(3){
    order: 1;
    align-self: flex-start;
    text-align: left;
  }

  footer > div:nth-of-type(3) ul{
    text-align: left;
  }

  /* ② ロゴ＋住所 */
  footer > div:nth-of-type(1){
    order: 2;
  }

  /* ③ ISOロゴ：中央寄せ */
  footer > div:nth-of-type(2){
    order: 3;
    align-self: center;
    text-align: center;
  }

  footer > div:nth-of-type(2) img{
    margin: 0 auto;
    display: block;
  }
}






/* 関連リンク：バナー画像だけクリック範囲にする */
#related .item a{
  display: inline-block;
  width: fit-content;
}

#related .item a img{
  display: block;
}



/* ===== SP メニュー完全左寄せ 最終上書き ===== */
@media (max-width: 767px){

  footer > div:nth-of-type(3){
    width: 100%;
    margin-left: 0;
    justify-content: flex-start !important;
  }

  footer > div:nth-of-type(3) ul{
    display: block !important;
    width: 100%;
    text-align: left !important;
  }

  footer > div:nth-of-type(3) li{
    text-align: left !important;
  }
}

@media (max-width: 767px){
  footer{
    gap: 1px;
  }
}




/* TB最小域だけフッターメニューの列間を詰める */
@media (min-width:768px) and (max-width:780px){
  footer div:nth-of-type(3) ul{
    column-gap: 1rem;
  }
}
