.home {
	background-image: url('../images/illustration/brushed-alum-dark.png'); 
}

/* スライドショー全体を背景にする */
.slideshow {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	overflow: hidden;
  }

  header {
	height: 100vh; /* ← 高さを画面より大きくして縦長に */
	position: relative;
	overflow: hidden;
  }
  
  /* ===================================
   ▼ スライドショー画像背景（スマホ基準）
   =================================== */
.header-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;                     /* 初期状態では非表示 */
	transition: opacity 2s ease-in-out;
  }
  
  /* 表示中の画像には .active クラスが付く */
  .header-bg.active {
	opacity: 1;
  }
  
/*トップページのロゴ（英語ページ用）*/
.home.en #logo img {
    width: 50%;	/*幅*/
}

/*英語ページのロゴ下の小さなテキスト*/
#logo .small {
	display: block;
	font-size: 0.8rem;	/*文字サイズを80%*/
}
/* 共通スタイル（ロゴとメッセージ） */
#logo,
header .message {
	text-align: center;
	position: relative;
	z-index: 2;
	top: 30vh;
	transform: translateY(-50%);
}

#logo img {
	width: clamp(100px, 15vw, 200px); /* 画面幅で自然に変わる＋上限・下限を制御 */
	height: auto;
	filter: brightness(0) invert(1);
	transition: opacity 0.8s ease, transform 0.8s ease;
  }
  

/* メッセージ専用スタイル */
header .message {
	color: #fff;
	padding: 10px;
	border-radius: 10px;
	opacity: 1;
	background-color: rgba(0, 0, 0, 0.2); 
	transition: opacity 0.8s ease, transform 0.8s ease;
	font-size: 1.5rem;
	line-height: 1.8;
}

/* スクロール時に非表示にするクラス */
.hide {
	opacity: 0 !important;
	transform: translateY(30px) !important;
}


/*ヘッダー内の言語ボックス全体の設定
---------------------------------------------------------------------------*/
/*言語ボックス全体*/
header .lang {
	list-style: none;
    margin: 0;
    padding: 0;
	position: absolute;	/*絶対配置する為の指定*/
	top: 0px;			/*上からの配置場所*/
	right: 30px;		/*右からの配置場所*/
	display: flex;		/*各言語を横に並べる*/
	gap: 1rem;			/*各言語同士に空けるスペース。１文字分。*/
	font-size: 0.8rem;	/*モイサイズ80%*/
    z-index: 20;
}

/*言語ボックス１個あたり*/
header .lang a {
	display: block;
    text-decoration: none;
	padding: 0.2rem 1.5rem;	/*ボックス内の余白。上下、左右。*/
	background: #000;	/*背景色*/
	color: #fff;	/*文字色*/
}
/* ナビゲーションメニュー
---------------------------------------------------------------------------*/
header nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    background: raba(255, 255, 255, 0.9);
    z-index: 10;
}

/* ナビ全体（ul） */
header nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;				/* 横並びにする */
	justify-content: center;	/* 中央寄せ */
}

header nav ul li {
    margin: 0 15px;
}

/* 各メニュー項目 */
header nav ul li a {
	color: #010101;				/* 文字色 */
	text-decoration: none;		/* 下線を消す */
	font-weight: bold;
	padding: 5px 10px;
	transition: background 0.3s;
}

/* ホバー時のエフェクト */
header nav ul li a:hover {
	background-color: #f5f1f1;
    color: #000;
    border-radius: 5px;
}
.background {
	background-image: url('../images/illustration/brushed-alum-dark.png'); 
	background-attachment: fixed;  /* ← これで背景が固定 */
}

/* bg背景 */
.bg, .blur {
   
	background-size: cover;
	background-position: center;
	padding: 50px 5%;
  }

/*list-grid1（カラムボックス）
---------------------------------------------------------------------------*/
.list-grid1 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	justify-content: center;
	gap: 4rem;
  	padding: 2rem;
  }
  
  .list-grid1 .list {
	background: rgba(var(--accent-color-rgb), 0.8);
	/* background: rgba(0, 50, 160, 0.8); */
	/* background: rgba(0, 150, 255, 0.6); */
	/* background: rgba(20, 40, 80, 0.85); グレーっぽい青 */
	/* background: rgba(40, 0, 200, 0.7); */
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.5);
	overflow: hidden; 
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease;
  }
  
  .list-grid1 .list:hover {
	transform: translateY(-5px);
  }
  
  .list-grid1 .list figure {
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
  }
  
  .list-grid1 .list figure img {
	width: 100%;
	height: 100%;
	display: block;
  }
  
  .list-grid1 .text h4 {
	font-size: 1.2rem;
	text-align: center;
	margin: 0.5rem;
	font-family: 'Outfit', sans-serif;
	color: #f7fbfe;
	/* color:#000; */
	/* text-shadow:
	  1px 1px 0 #fff,
	 -1px 1px 0 #fff,
	  1px -1px 0 #fff,
	 -1px -1px 0 #fff; 白い縁を4方向に */
  }
  
  .list-grid1 .text p {
	font-size: 1.1rem;
	margin: 0;
	color: #f7fbfe;
	/* color: #000; /* 文字色を黒に */
	/* text-shadow: 
	  1px 1px 0 #fff,
	 -1px 1px 0 #fff,
	  1px -1px 0 #fff,
	 -1px -1px 0 #fff; 白い縁を4方向に */
	line-height: 1.6;
	padding: 5%;
  }
  
  .list-grid1 .text {
	flex: 1;
  }
  
  .list-grid1 .btn {
	padding: 0;
	margin: 0;
	text-align: center;
  }
  
  .list-grid1 .btn a {
	display: inline-block;
	margin: 0;
	background: #2d2a28;
	color: #f7fbfe;
	border-radius: 4px;
	text-decoration: none;
	font-weight: bold;
	transition: background 0.3s;
  }
  /* 各ボックス */
  .list.blur.blurstyle {
  	padding: 15px 10px;
  }

  .list-grid1 .btn a:hover {
	background:#615954;
  }
  /* ===== スマホ（414px以下）は横長気味にする ===== */
  @media (max-width: 414px) {
	.list-grid1 .text h4 {
		font-size: 0.9rem;  /* 見出しを少し小さく */
	}
	
	.list-grid1 .text p {
		font-size: 0.8rem;  /* 本文を小さく */
		line-height: 1.4;   /* 行間も詰める */
	}
	
	.list-grid1 .btn a {
		font-size: 0.8rem;  /* ボタン文字も合わせる */
	}
  }
  
  
  
  @media (min-width: 1024px) {
	.list-grid1 {
	  grid-template-columns: repeat(4, 1fr); /* PCは4列 */
	}
  }
  
/* スライダメニュー
---------------------------------------------------------------------------*/
   .circle-slick {
	max-width: 90vw;               /* スマホでも画面に収まるように調整 */
	margin: 0 auto;
  }
  
  .circle-slick img {
	width: 40%;                   
	aspect-ratio: 4/5;             /* 正方形を維持（サポートされてれば） */
	border-radius: 30px;
	display: block;
	margin: 0 auto;
  }
  
  
  
  /* 共通の矢印ボタンスタイル */
.slick-arrow {
	background: rgba(255,255,255,0.8);
	border: none;
	color: #333;
	font-size: 0;
	width: clamp(30px, 8vw, 60px);   
 	height: clamp(30px, 8vw, 60px);
	border-radius: 50%;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	cursor: pointer;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
  }
  
  /* ←アイコン用に擬似要素でテキスト代用 */
  .slick-prev::before,
  .slick-next::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: clamp(1.2rem, 5vw, 3rem);
	color: #333;
  }
  
  /* ←マーク */
  .slick-prev {
	left: 20%;
  }
  .slick-prev::before {
	content: "\f104";  /* Font Awesomeの←アイコン */
  }
  
  /* →マーク */
  .slick-next {
	right: 20%;
  }
  .slick-next::before {
	content: "\f105";  /* Font Awesomeの→アイコン */
  }

  /* モーダルの基本レイアウト */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.8); /* 背景を黒く透過 */
	z-index: 9999;
	justify-content: center;
	align-items: center;
	padding: 20px; /* スマホなどで余白がつぶれないように */
	box-sizing: border-box;  
}
.modal-content {
	background: #fff;
	padding: 20px;
	border-radius: 10px;
}
/* 閉じるボタン（戻る） */
.modal .close {
	position: absolute;
	top: 10px;
	right: 15px;
	background: #000;        /* 黒背景 */
	color: #fff;             /* 白文字 */
	border: none;
	padding: 8px 16px;
	border-radius: 5px;
	font-size: 1rem;
	font-weight: normal;
	cursor: pointer;
	z-index: 10000;
	transition: background 0.3s;
}

.modal .close:hover {
	background: #444;        /* ホバー時に少し明るく */
}

/*看板作成流れのモーダル*/
.modal-content.type-1 {
	display: flex;
	flex-direction: column;
	align-items: center;
	background:rgba(var(--accent-color-rgb), 0.8);
	padding-bottom: 2rem;
	text-align: center;
	max-height: 90vh;
	overflow-y: auto;
  }
  
  .modal-content.type-1 img {
	width: 100%;
	height: auto;
	object-fit: contain;
	margin-bottom: 1.5rem;
  }

  .modal-links {
	display: grid;
  	grid-template-columns: repeat(2, 1fr); /* 2列に分割 */
  	gap: 1rem; /* ボタン同士の間隔を広く */
  	justify-items: center; /* 各ボタンを中央寄せ */
  	margin: 2rem auto;
  }
  .modal-links .btn a{
	font-size: 1.8rem;
  }
  @media (min-width: 1024px) {
	.modal-content.type-1 {
		margin: 0 auto; 
	  	max-width: 80vw;       /* 横幅を少し小さく */
	  	max-height: 100vh;      /* 高さも控えめに */
	  	padding: 3rem;         /* 余白を広めに */
	}
  }
  
  @media screen and (max-width: 600px) {
	.modal-links {
		grid-template-columns: 1fr; /* 1列にする */
	  }
	.modal-links .btn a {
	  font-size: 1.2rem; /* ← 小さくして見やすく */
	}
  }
  
  
/* 画像にリンク貼るモーダル */
.image-map-1 {
	background-image: url('../images/illustration/IMG_5522.JPG');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	width: 100%;
	max-width: 800px;
	aspect-ratio: 4 / 3;
	margin: auto;
	position: relative;
}
  
  /* リンクエリアの共通設定 */
  .link-area {
	position: absolute;
	display: block;
	z-index: 100;
	/* ↓ デバッグ用に背景色を一時表示して調整してもOK */
	background: rgba(255,0,0,0.3);
  }
  
  /* 各リンク位置の設定（画像ごとに調整） */
  .area1 {
	top: 20%;
	left: 10%;
	width: 30%;
	height: 25%;
  }
  
  .area2 {
	top: 55%;
	left: 50%;
	width: 30%;
	height: 25%;
  }
  
  
  /* スライド写真の上のp*/
  section.blur p {
	text-align: center;       /* 中央寄せ */
	font-size: 1.5rem;        /* 文字サイズ */
	line-height: 2;           /* 行間 */
	margin: 1.5em 0;          /* 上下の余白 */
  }
  
  /* ギャラリー */
  .thumbnail-slide img{
	width:100%;
	height:auto;
	object-fit: contain;
  }
  .bg1 {
	position: relative;
	overflow: visible; /* ← listを隠さないように変更 */
	padding: 80px 5%;
	/* background: var(--accent-color); */
	background: rgba(0, 0, 0, 0.85);
	color: var(--accent-inverse-color);
  }
  
  /* 画像を独立レイヤーにして丸くズーム */
  .zoom-wrap {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 20px; /* ← 角丸はここ！ */
	margin-bottom: 3rem;
	/* box-shadow: 0 10px 25px rgba(248, 148, 148, 0.416); */
	/* box-shadow: inset 0 0 30px rgba(248, 108, 108, 0.3); */

  }
  
  .zoom-wrap img {
	width: 100%;
	display: block;
	transform: scale(0.8);
	transition: transform 0.6s ease-out;
	border-radius: 20px;
	will-change: transform;
	transform-origin: left bottom;
  }

  
  
  