@charset "utf-8";



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

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c');
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300&display=swap');

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


/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("animation.css");
@import url("inview.css");
@import url("mainimg.css");



/*テーマカラーの定義（CSS変数）
ここのカラーコードを変更するだけで、テンプレートのテーマカラーが変わります。
---------------------------------------------------------------------------*/
:root {
    --primary-color: #e5ba52;
}



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



/*全体の設定
---------------------------------------------------------------------------*/
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-size: 13px;	/*基準となるフォントサイズ。*/
}

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

	html, body {
		font-size: 16px;	/*基準となるフォントサイズ。*/
	}

	}/*追加指定ここまで*/


body {
	font-family: 'M PLUS Rounded 1c', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	-webkit-text-size-adjust: none;
	background: #fff;	/*背景色*/
	color: #777;		/*文字色*/
	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;}

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

/*他*/
input {font-size: 1rem;}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: #777;	/*文字色*/
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
	filter: brightness(1.1);	/*少しだけ明るくする*/
	text-decoration: none;		/*下線を消す*/
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	height: 100%;
}

/*トップページ以外のコンテナー*/
body:not(.home) #container {
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
}


/*コンテンツ（main要素を囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
	max-width: 1800px;	/*サイトの最大幅。これ以上広がらない。*/
	margin: auto 0;
  margin-top: 0; /* もしmargin-topがあれば消す */
  padding-top: 0; /* 同じく */
}


/*ヘッダー
---------------------------------------------------------------------------*/
/*トップページのヘッダー*/
.home header {
	position: relative;overflow: hidden;
	width: 100%;
	height: 100%;
	margin: 0 auto;
  padding: 0;
}


/*トップページ以外のヘッダー*/
body:not(.home) header {
	background: var(--primary-color);	/*背景色。css冒頭で指定しているテーマカラーを読み込みます*/
	height: 80px;					/*高さ*/
	display: flex;					/*flexボックスを使う指定*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	padding: 0 5%;					/*上下、左右へのヘッダー内の余白*/
}

/*ロゴ共通*/
#logo img {display: block;}

/*トップページのロゴ*/
.home #logo {
	margin: 0;padding: 0;
	width: 300px;	/*ロゴの幅*/
	position: absolute;z-index: 1;
	top: 50%;							/*天地左右中央に配置する為の指定*/
	left: 50%;							/*天地左右中央に配置する為の指定*/
	transform: translate(-50%, -50%);	/*天地左右中央に配置する為の指定*/
}

/*トップページ以外のロゴ*/
body:not(.home) #logo img {
	height: 50px;	/*ロゴの高さ。ハンバーガーメニューの場所がずれないように、headerの高さと、ロゴの高さを固定しています。*/
}




/*メニューブロック設定
---------------------------------------------------------------------------*/
#menubar a {display: block;text-decoration: none;}
#menubar ul {list-style: none;margin: 0;padding: 0;}
#menubar {display: none;}
#menubar.d-b, #menubar_hdr.d-b {display: block;}
#menubar.d-n, #menubar_hdr.d-n {display: none;}


/*メニューブロック設定
---------------------------------------------------------------------------*/
/*メニューブロック*/
#menubar {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 100px 20px 20px;		/*ブロック内の余白。上、左右、下。*/
	background: #fff url(../images/menu_bg.png) no-repeat center bottom / 100%;	/*背景色と、開閉メニューの下部にある装飾用のイラスト*/
	text-align: center;				/*内容をセンタリング*/
	animation: opa1 0.2s both;		/*冒頭にあるopa1を実行する。0.2sは0.2秒の事。*/
}
#menubar nav {
	margin: 0 auto;
	max-width: 500px;	/*最大幅*/
}

/*メニュー１個あたりの設定*/
#menubar nav a {
	padding: 1rem;		/*メニュー内の余白*/
	margin: 1rem;		/*メニューの外側の余白*/
	background: var(--primary-color);	/*背景色。css冒頭で指定しているテーマカラーを読み込みます*/
	color: #fff;		/*文字色*/
	border-radius: 50px;	/*角を丸くする指定*/
}


/*メニューブロックのicon類
---------------------------------------------------------------------------*/
/*アイコンブロック全体*/
#menubar .icon {
	display: flex;				/*flexボックスを使う指定*/
	justify-content: center;	/*水平揃えの指定。左右中央に配置されるように。*/
	align-items: center;		/*垂直揃えの指定。天地中央に配置されるように。*/
	font-size: 1.5rem;			/*文字サイズ。アイコンのサイズになります。1.5倍。*/
}

/*アイコン１個あたり*/
#menubar .icon li {
	margin: 0.7rem;		/*アイコン同士に空けるスペース*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
	position: fixed;z-index: 101;
	cursor: pointer;
	right: 5%;				/*右からの配置場所指定*/
	top: 14px;				/*上からの配置場所指定*/
	padding: 16px 14px;		/*上下、左右への余白*/
	width: 46px;			/*幅（３本バーが出ている場合の幅になります）*/
	height: 46px;			/*高さ*/
	display: flex;					/*flexボックスを使う指定*/
	flex-direction: column;			/*子要素（３本バー）を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	transform: scale(1.8);			/*元々のサイズの1.8倍に*/
}

/*バー１本あたりの設定*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;	/*アニメーションにかける時間。0.3秒。*/
	border-top: 1px solid #fff;	/*線の幅、線種、色*/
	box-shadow: 1px 1px rgba(0,0,0,0.2);	/*ボックスの影。右へ、下へ、色。0,0,0は黒のことで0.2は色が20%出た状態。*/
}

/*×印が出ている状態の設定。※１本目および２本目のバーの共通設定。*/
#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;	/*変形の起点。センターに。*/
	width: 20px;						/*バーの幅*/
	border-top: 1px solid #333;			/*線の幅、線種、色*/
}

/*×印が出ている状態の設定。※１本目のバー。*/
#menubar_hdr.ham span:nth-of-type(1){
	transform: rotate(45deg) translate(3.8px, 5px);	/*回転45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※３本目のバー。*/
#menubar_hdr.ham span:nth-of-type(3){
	transform: rotate(-45deg) translate(3.8px, -5px);	/*回転-45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※２本目のバー。*/
#menubar_hdr.ham span:nth-of-type(2){
	display: none;	/*２本目は使わないので非表示にする*/
}


/*main（メインコンテンツ）
---------------------------------------------------------------------------*/
/*h2見出し*/
main h2 {
	margin: 0;padding: 0;
	font-size: 2.4rem;		/*文字サイズ。240%。*/
	font-weight: normal;	/*h要素のデフォルトの太字を標準に*/
	margin-bottom: 5vw;		/*下にスペースを空ける*/
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
}

/*見出し内のspan（小さな装飾文字と上部のアクセントライン）*/
main h2 span.small {
	display: inline-block;
	border-top: 2px solid var(--primary-color);	/*上の線の幅、線種、varは色のことで冒頭のprimary-colorを読み込みます。*/
	font-size: 0.9rem;		/*文字サイズ90%*/
	opacity: 0.6;			/*透明度。色が60%出た状態。*/
	letter-spacing: 0.1rem;	/*文字間隔を少しだけ広く*/
	padding-top: 2rem;		/*上に空ける余白。ラインとの間の余白調整です。お好みで。*/
}

/*見出しをセンタリングする場合*/
main h2.c {
	align-items: center;
}

/*ブロック内のh3*/
main h3 {
	font-size: 1.3rem;		/*文字サイズ。1.3倍。*/
	border-bottom: 1px solid #e5e5e5;	/*下線の幅、線種、色*/
}

	/*画面幅500px以上の追加指定*/
	@media screen and (min-width:500px) {
	
	/*ブロック内のh2*/
	main h2 {
		padding: 0 2rem 1rem;	/*h2内の余白。上、左右、下への順番。*/
	}
	
	/*ブロック内のh3*/
	main h3 {
		padding-left: 2rem;		/*左にとる余白*/
		padding-right: 2rem;	/*右にとる余白*/
	}
	
	/*ブロック内のp*/
	main p {
		margin-left: 2rem;	/*左に空けるスペース*/
		margin-right: 2rem;	/*右に空けるスペース*/
	}

	}/*追加指定ここまで*/




/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}
footer {
	font-size: 0.7rem;		/*文字サイズ。bodyのfont-sizeの70%です。*/
	background: var(--primary-color);	/*背景色。css冒頭で指定しているテーマカラーを読み込みます*/
	color: #fff;	/*文字色*/
	text-align: center;		/*内容をセンタリング*/
	padding: 20px;			/*ボックス内の余白*/
}

/*リンクテキスト*/
footer a {color: inherit;text-decoration: none;}





/*動画に文字を重ねる
---------------------------------------------------------------------------*/
    .video-container {
      position: relative;
    }

video {
	display: block;
	margin: 0 auto;
	width: 100%;
	height: auto;
}

    .overlay-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      font-size: 2em;
      font-weight: bold;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
      pointer-events: none; /* 文字をクリックできなくする（動画操作の邪魔をしない） */
    }

/* スマホサイズ向けの調整 */
@media screen and (max-width: 600px) {
  .overlay-text {
    font-size: 1.5rem;
    white-space: normal; /* スマホでは折り返し可能に */
  }
}
@media screen and (max-width: 768px) {
  .video-container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .video-container video {
    margin-bottom: 0 !important;
    display: block;
  }
}

/* 事業内容の表示用 */
/*2カラムブロック　※900px未満では１カラム（私たちのこだわりブロック）
---------------------------------------------------------------------------*/
.list-half * {margin: 0;padding: 0;}

/*背景画像*/
#kodawari {
	background: url("../images/bg-kodawari.png") no-repeat left top / 50vw;	/*left(左)、top(上)に配置し、幅は画面幅の50%に。*/
}

/*２カラムを囲むブロック*/
.list-half .list {
	display: flex;			/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
	margin-bottom: 2rem;	/*ボックスの下に2文字分のスペースを空ける*/
}

/*ブロック内のh4見出し*/
.list-half .list h4 {
	font-size: 1.4rem;	/*文字サイズを1.4倍*/
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける*/
}

/*ブロック内のh4内のspan（小さな装飾文字）*/
.list-half .list h4 span {
	display: block;
	opacity: 0.5;	/*透明度50%*/
	font-weight: normal;
	font-size: 0.5em;	/*文字サイズを親要素の50%*/
	letter-spacing: 0.1em;	/*文字間隔をほんの少し広く*/
}

/*画像ブロック共通*/
.list-half .image-l img, .list-half .image-r img {
	border-radius: 50px;	/*角を丸くする指定。*/
	box-shadow: 10px 10px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

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

	/*２カラムを囲むブロック*/
	.list-half .list {
		flex-direction: row;			/*子要素を横並びにする*/
		justify-content: space-between;	/*並びかたの種類の指定*/
		align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	}

	/*画像ブロック共通*/
	.list-half .image-l, .list-half .image-r {
		width: 50%;			/*画像の幅*/
	}

	/*画像を右に配置する場合*/
	.list-half .image-r {
		margin-left: 2rem;	/*画像の左側に空けるスペース*/
	}

	/*画像を左に配置する場合*/
	.list-half .image-l {
		order: -1;
		margin-right: 2rem;	/*画像の右側に空けるスペース*/
	}

	/*テキストブロック*/
	.list-half .text {
		flex: 1;
	}

	}/*追加指定ここまで*/

/* テキスト横に表示する黄色のボタン */
.top-right-button {
    position: relative; /* または無記述でもOK */
    background-color: var(--primary-color); /* 黄色 */
    color: #fff;
    padding: 0px 20px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    text-decoration: none;
    display: inline-block; /* 必要に応じて調整 */
    margin-top: 20px;       /* 上に少し余白つけると自然 */
}

/* ホバー時のエフェクト */
.top-right-button:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* インバウンド事業の下のボタンだけ黄色にする */
.service-box:nth-of-type(3) .service-btn {
  background-color: var(--primary-color); /* 例: 黄色 #e5ba52 */
  color: #fff; /* 必要に応じて文字色も */
}

/*テキストのフェードイン設定
---------------------------------------------------------------------------*/
/*fadeInのキーフレーム設定*/
@keyframes fadeIn {
	0% {opacity: 0;transform: scale(0.1) rotate(-30deg);}
	100% {opacity: 1;transform: scale(1) rotate(0deg);}
}

/* 初期状態でテキストを非表示にする */
/*.fade-in-text {
    visibility: hidden;
}*/

/* アニメーションを適用するクラス。
animationの行の「0.2s」が文字の出現のなめらかさで、大きいほどなめらかに出てきます。
１文字ずつの出現する際の時差は、js/main.jsの「テキストのフェードイン効果」の中にある「0.1」で調整できます。*/
.char {
    display: inline-block;
    opacity: 0;
    animation: fadeIn 0.2s linear both;
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #ff0000 !important;}
.color-theme, .color-theme a {color: var(--primary-color) !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;}
.mb5rem {margin-bottom: 5rem !important;}
.look {display: inline-block;padding: 0.2em 0.5em;background: rgba(0,0,0,0.03);border: 1px solid #ddd; border-radius: 3px;word-break: break-all; margin: 1px;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}
.fs1 {font-size: 2rem;}

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

	.ws {width: 48%;display: inline;}
	.sh {display: none;}
	.pc {display: block;}

	}/*追加指定ここまで*/