@charset "utf-8";
/*---------------------------------------
1. 基本設定
---------------------------------------*/

/*
リセットcss↓↓↓↓
*/
* {
	box-sizing: border-box;
}

/*body {
  font-style: normal;
  font-weight: normal;
  line-height: 1.5em;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN","Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  font-size: 16px;
}*/
html {
  font-style: normal;
  font-weight: normal;
  line-height: 1.5em;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", "Noto Sans JP", "Roboto", sans-serif;
  font-size: 18px;
}
body {
	font-size:1rem;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
label,
fieldset,
legend,
input,
textarea,
p,
blockquote,
table,
caption,
tr,
th,
td,
span,
object,
iframe,
a,
address,
em,
strong,
img {
  margin: 0;
  padding: 0;
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  width: 100%;
  height: auto;
  border: 0;
  display: block;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-touch-callout: none;
  -moz-user-select: none;
  user-select: none;
}

ul,
ol,
li {
  list-style: none;
}

object,
embed {
  vertical-align: top;
}

label {
  cursor: pointer;
}

legend {
  padding: 0;
}

button,
input,
select,
textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  border: 1px solid #aaa;
}

td,
textarea {
  vertical-align: top;
}

button,
input {
  line-height: normal;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
}

input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
  resize: vertical;
}


/*↓HTML5新要素をブロック化する↓*/
header,
section,
footer,
aside,
nav,
article,
hgroup,
figcaption,
figure,
canvas,
audio,
video,
main,
picture {
  margin: 0;
  padding: 0;
  display: block;
}

/*↓float解除用「clearfix」↓*/
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

.clearfix {
  zoom: 1;
  /*for IE 5.5-7*/
}

/*
リセットcss↑↑↑↑↑↑↑↑
*/


/*↓リンクに対する共通設定↓*/
a {
	/*
  text-decoration: none;
  color: white;*/
  /*background-color:#aaa;*/
}

a:hover {
  /*opacity: 0.6;*/
}

a:hover img {
/*  opacity: 0.6;
  filter: alpha(opacity=60);
  -moz-opacity: 0.6;*/
}

a:focus {
  outline: none;
}

a:visited {
  /*color:#FFB900;*/
}

.border1sC {
  border: 1px solid #ccc;
}

.borderBox {
  box-sizing: border-box;
}

/*↓共通クラス名↓*/
.fL{
  float: left;
}
.fR{
  float: right;
}

.wrapper{
	width:90%;
	margin:0 auto;
}

.textAC{
	text-align:center;
}

.lineH1{
	line-height:1em;
}
.lineH12{
	line-height:1.2em;
}
.lineH2{
	line-height:2em;
}
.lineH25{
	line-height:2.5em;
}
.lineH3{
	line-height:3em;
}

.portrait,
.landscape {
	display: none;
}
@media (orientation: portrait) {
	.portrait {
		display: block;
	}
}
@media (orientation: landscape) {
	.landscape {
		display: block;
	}
}

/*google font for Title and Fukidashi*/
@font-face {
	font-family: 'M PLUS 1p';
	src: url('../fonts/MPLUS1p-Black.woff2') format('woff2'),
		url('../fonts/MPLUS1p-Black.woff') format('woff');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'M PLUS 1p';
	src: url('../fonts/MPLUS1p-Bold.woff2') format('woff2'),
		url('../fonts/MPLUS1p-Bold.woff') format('woff');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'M PLUS 1p';
	src: url('../fonts/MPLUS1p-Medium.woff2') format('woff2'),
		url('../fonts/MPLUS1p-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'M PLUS 1p';
	src: url('../fonts/MPLUS1p-Regular.woff2') format('woff2'),
		url('../fonts/MPLUS1p-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}



/*================================================================================
==================================================================================
==================================================================================
HP用 カスタマイズ
==================================================================================
==================================================================================
==================================================================================*/


/* 基本レイアウト */
header {
  position: relative;
  background-color: #008c7b;
  border-top: 2px solid #FC0;
  border-bottom: 5px solid #c2894b;
}


header section{
	width:90%;
	margin:0 auto;
	padding:10px 0;
}
@media (min-width: 769px) {

}

/*---------------ロゴ部分---------------*/
header h1.logo-h1 {
  background-image: url("../images/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 50vw;/*修正箇所*/
  height: auto;
  aspect-ratio: 850 / 369;/*修正箇所*/
  display: block;
  position: relative;
	margin:0 auto;
}
header h1.logo-h1 a.logo-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
header h1.logo-h1:hover {
	opacity:0.5;
}
	
@media (min-width: 600px) {
	header h1.logo-h1 {
		width: 30vw;
	}
}
@media (min-width: 769px) {
	header h1.logo-h1 {
		width: 15vw;
	}
}

@media (min-width: 1024px) {
	header h1.logo-h1 {
		width: 20vw;
	}
}
@media (min-width: 1366px) {
	header h1.logo-h1 {
		width: 15vw;
	}
}

/* アクセシビリティ対応でテキストを非表示にする */
header h1 span.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}



/*---------------メニュートグル部分---------------*/
.menu-toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1001;
  cursor: pointer;
	opacity:1;
}
.menu-toggle:hover {
	opacity:0.5;
}

.menu-toggle img {
  width: 80px;
  height: 80px;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
}
@media (min-width: 768px) {
  .menu-toggle img {
    width: 100px;
    height: 100px;
  }
}
/* PCサイズでは60pxに切り替え */
@media (min-width: 769px) {
	.menu-toggle {
		top: 20px;
		right: 20px;
	}
}
/* PCサイズでは60pxに切り替え */
@media (min-width: 1024px) {
	.menu-toggle {
		top: 30px;
		right: 50px;
	}
}
@media (min-width: 1367px) {
  .menu-toggle img {
    width: 120px;
    height: 120px;
  }
}
/* メニュー全体 */
#menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
}

#menu.active {
  transform: translateX(0);
}

#menu ul {
  list-style: none;
  padding: 60px 20px;
}

#menu li {
}

#menu a {
  text-decoration: none;
  font-size: 18px;
  color: #333;
	display:block;
	padding:1em 0;
}

#menu a:hover {
  background-color: #fff4cf;
}

/*---------------アニメーション部分---------------*/
#movie-main {
  width: 100%;
}
#movie-main {
  position: relative;
  width: 100%;
  overflow: hidden;
}
#movie-main video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#video-portrait-main, #video-landscape-main {
	width: 100%;
	height: auto;
}

/*---------------メイン部分---------------*/
main{
  width:100%;
}
.container {
  overflow: hidden; /* float解除用 */
}
h2.whiteBG{
	background-color:#f1f1f1;
	color:black;
	font-weight:600;
	line-height:5em;
	text-align:center;
}
/* 共通設定 */
.box_left,
.box_right {
  box-sizing: border-box;
  overflow: hidden;
	float: none;
	width: 100%;
	height: 65vh;
}

/* h2と画像の共通設定 */
.box_left h2,
.box_right h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: normal;
  font-size: 18px;
  height: 100%;
  padding: 30px;
  box-sizing: border-box;
	color:black;
	/*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN","Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;*/
	font-family: 'M PLUS 1p';
	line-height:2em;
}

.box_left img,
.box_right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 769px以上：横並び、左右にfloatさせて各50% */
@media (min-width: 769px) {
  .box_left {
    float: left;
    width: 50%;
    aspect-ratio: 16 / 9;
  }

  .box_right {
    float: right;
    width: 50%;
    aspect-ratio: 16 / 9;
  }
	.box_left h2,
	.box_right h2 {
		font-size: 1.5rem;
		padding:50px;
	}
}



/*contact-----------------*/
.form-overlay-wrapper {
    position: relative;
  }

.form-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.3); /* 完全透明 */
	z-index: 10;
	pointer-events: all;
}

.form-overlay-message {
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff3cd;
	color: #856404;
	width:80%;
	padding: 1em;
	border: 1px solid #ffeeba;
	border-radius: 5px;
	font-size: 1.1rem;
	z-index: 11;
	text-align: center;
	box-shadow: 0 0 8px rgba(0,0,0,0.1);
}
@media (min-width: 769px) {
	.form-overlay-message {
		padding: 1em 2em;
		width:60%;
	}
}
/*btn-----------*/
.btn {
  display: inline-block;         /* 幅をテキストに合わせる */
  padding: 1em 3em;          /* タップしやすい余白 */
  background-color: #007bff;     /* 背景色（お好みで変更） */
  color: #fff;                   /* 文字色 */
  text-decoration: none;         /* 下線を消す */
  border-radius: 9999px;         /* 両端を丸く */
  font-size: 1rem;               /* 文字サイズ */
  text-align: center;            /* 中央寄せ */
  cursor: pointer;               /* カーソルをポインタに */
}

.btn:hover {
  background-color: #0056b3;     /* ホバー時の色 */
}


/*---------------フッター部分---------------*/

footer{
  background-color: #008c7b;
	padding-top:30px;
}

footer a:hover{
	opacity:0.5;
}

/*----------*/
footer .logo-footer{
	text-align:center;
}
footer .logo_foot{
  width: 40vw;
	display:inline-block;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:10px;
}
@media (min-width: 600px) {
	footer .logo_foot{
		width: 25vw;
	}
}
@media (min-width: 769px) {
	footer .logo_foot{
		width: 10vw;
	}
}
@media (min-width: 1024px) {
	footer .logo_foot{
		width: 20vw;
	}
}
@media (min-width: 1366px) {
	footer .logo_foot{
		width: 15vw;
	}
}

footer .address{
	text-align:center;
	color:white;
	padding-bottom:50px;
	font-weight:lighter;
}
footer .company{
	/*font-size:1.2rem;*/
	text-align:center;
	margin-bottom:50px;
}
footer .company a{
	color:white;
	text-decoration:none;
}

footer .copyRight{
	text-align:center;
	color:white;
	padding-bottom:30px;
}



/*---------------トップへ戻るボタン部分---------------*/
#backToTop {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 1000;
}

#backToTop img {
  width: 60px;
  height: auto;
  cursor: pointer;
  transition: opacity 0.3s ease;
	opacity:0.7;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
}
@media (min-width: 768px) {
	#backToTop img {
		width: 80px;
	}
}
@media (min-width: 1024px) {
	#backToTop {
		bottom: 30px;
		right: 50px;
	}
	#backToTop img {
		width: 80px;
	}
}
#backToTop img:hover {
  opacity: 0.5;
}

