@charset "utf-8";
/* ==========================
  施工事例 アーカイブ
========================== */

.works{
	background: #F0EEE7;
}

.works .wrapper {
  overflow: inherit;
  overflow-x: clip;
}

.works .l_second_main{
	position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
	margin-bottom: 90px;
}

.ttl_outer {
	bottom: 0;
	top: inherit;
	transform: none;
}

.ttl {
  color: #172E59;
	line-height: 1;
}

.works #g-nav-main li a {
  color: #172E59;
}

.works .gnavi__list:last-child a::after {
  background: url("../images/common/link_n.svg") no-repeat center / contain;
}

.works .openbtn {
  color: #172E59;
}

.works .openbtn span {
  background-color: #172E59;
}



@media screen and (max-width: 767px) {
	
.l_works{
	background: #F0EEE7;
padding: 0 5.3vw 15vw 5.3vw;
}

.works .l_second_main{
	position: relative;
  width: 100%;
  height: 30vw;
  overflow: hidden;
	margin-bottom: 12vw;
}

.ttl_outer {
	bottom: 0;
	top: inherit;
	transform: none;
}

.ttl {
  color: #172E59;
	line-height: 1;
}

.works .openbtn {
  color: #172E59;
}

.works .openbtn span {
  background-color: #172E59;
}
	
}

/* ================================
   絞り込みエリア（filter-area）
================================ */
.works-archive {
 display: flex;
 justify-content: space-between;
 width: 1100px;
 margin: 0 auto 50px auto;
	align-items: flex-start;
}
.works-archive.works-tag {
 display: flex;
 justify-content:center;
 width: 1100px;
 margin: 0 auto 50px auto;
}


/* 基本デザイン */
.filter-area {
 width: 250px;
 margin-bottom: 30px;
	text-align: left;
	
	position: -webkit-sticky;
    position: sticky;
    top: 106px;
    height: fit-content;
	z-index: 10;
}


.sttl_outer {
  width: 250px;
	margin-bottom: 30px;
}
.sttl_outer .sttl {
  font-size: 13px;
  color: #172E59;
  line-height: 1.5;
  letter-spacing: 2px;
	display: flex;
	align-items: center;
}

.sttl_outer .sttl::before {
  content: attr(data-title);
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: bold;
  font-variation-settings: "wdth"100;
  font-size: 25px;
  letter-spacing: 5px;
	margin-right: 20px;
}


/* 絞り込みフォーム */
.filter-area form {
 padding: 0px;
 display: block;
}
/* 各ブロック */
.filter-block {
 margin-bottom: 12px;
 padding: 0 0 12px 0;
}
.filter-block:last-child {
 border: none;
}

.filter-block p{
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 5px;
}
/* タイトル */
.filter-title {
 font-size: 14px;
 display: block;
 margin-bottom: 6px;
 text-align: left;
 width: 35%;
}
/* ラジオボタン縦並び */
/* ラジオボタンラベル */
.radio-item {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #000000;
  line-height: 2;
  letter-spacing: 0.5px;
  cursor: pointer;
  /* 親要素の relative は解除（.term-nameに移譲） */
}

/* デフォルトのラジオボタンを隠す */
.radio-item input[type="radio"] {
  display: none;
}

/* テキストと円を包むスパン */
.radio-item .term-name {
  position: relative; /* ここを基準にする */
  padding-left: 22px; /* 円の幅(14px) + 余白(8px) */
  display: inline-block;
}

/* 背景白円（14px） */
.radio-item .term-name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%); /* 垂直中央配置 */
  width: 14px;
  height: 14px;
  background-color: #ffffff;
  border-radius: 50%;
}

/* 選択時のオレンジ円（8px） */
.radio-item .term-name::after {
  content: "";
  position: absolute;
  /* 白円(14px)の中心に配置するための計算 */
  /* (14px - 8px) / 2 = 3px */
  left: 3px; 
  top: 50%;
  transform: translateY(-50%); /* 垂直中央配置 */
  width: 8px;
  height: 8px;
  background-color: #FBA518;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* チェックが入った時の挙動 */
.radio-item input[type="radio"]:checked + .term-name::after {
  opacity: 1;
}
/* セレクトボックス */
.filter-block select {
 width:100%;
 padding: 8px 15px;
 border: none;
 border-radius: 2px;
 font-size: 14px;
 text-align: left;
	background: #fff;
}
/* ボタン部分 */
.filter-submit {
 display: flex;
 justify-content: center;
 align-items: center;
 margin-top: 25px;
}
.filter-btn {
	width: 250px;
	height: 48px;
	display: flex;
	justify-content: center;
	align-items: center;
 background: #172E59;
 color: #fff;
 border: none;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 2px;
}
#filter-reset {
 margin-left: 14px;
 color: #333;
 background: #ccc;
 padding: 0.4em 0.8em;
 border-radius: 4px;
 text-decoration: none;
}


.works-list {
 width: 711px;
}
.works-items {
 display: flex;
 justify-content: space-between;
 flex-wrap: wrap;
 gap: 50px 30px;
}
.works-item {
 width: 340px;
	position: relative;
}
.works-item a {
}
.ic_status {
 position: absolute;
 top: 0;
 left: 0;
 width: 58px;
 height: 58px;
}
.works-item figure {
 width:340px;
	height: 227px;
 aspect-ratio: 1 / 1;
 overflow: hidden;
	margin-bottom: 5px;
}
.works-item img {
 width: 100%;
 height: 100%;
 object-fit: cover; /* 中央トリミング */
 display: block;
}
.item-txt {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	text-align: left;
}
.item-txt h3 {
	width: 290px;
 font-size: 13px;
 font-weight: 400;
 line-height: 1;
	white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
	padding-bottom: 1px;
}
.w-num {
	width: 46px;
 font-size: 12px;
 color: #ACACAC;
	margin-right: 10px;
	padding-top: 0.25em;
	padding-bottom: 1px;
}

@media screen and (max-width: 767px) {
	
	 .works-archive {
  display: block;
  width: auto;
  margin: 0 0 50px 0;
 }
	.works-archive.works-tag {
 display: block;
  width: auto;
  margin: 0 5.3vw 50px 5.3vw;
}
	
	.sttl_outer{
		display: none;
	}
	
	.filter-area {
  width: auto;
    overflow: hidden;
    border: #172E59 1px solid;
    margin: 0 auto 9.3vw auto;
		
		position: -webkit-sticky;
    position: inherit;
    top: auto;
    height: auto;
	z-index: 10;
 }
	.filter-submit {
		margin: 5vw 0 3vw 0;
}
.filter-btn {
	width: 100%;
	height: 12.8vw;
	font-size: 3.7vw;
}
 #filter-reset {
  font-size: 3.7vw;
 }
 /* 最初は閉じた状態にする */
 .filter-area form {
  display: none;
 }
 .filter-area.active form {
  display: block;
		padding: 4vw 8vw 4vw 8vw;
 }
/* 見出し（絞り込み）共通スタイル */
.filter-heading {
  cursor: pointer;
  position: relative;
  text-align: center;
  font-size: 4vw;
  font-weight: 700;
  color: #172E59;
  letter-spacing: 2px;
  padding: 14px 0;
}

/* 2本の線の共通設定（アニメーションの滑らかさ調整） */
.filter-heading::before,
.filter-heading::after {
  content: "";
  position: absolute;
  background-color: #172E59;
  height: 1px;  /* 線の太さ */
  width: 12px;  /* 線の長さ */
  top: 50%;     /* 垂直位置 */
  transition: all 0.3s ease;
  transform-origin: center; /* 中心で回転 */
}

/* --- 閉じているとき（＋） --- */

/* 横棒 */
.filter-heading::before {
  right: 30vw;
  transform: translateY(-50%) rotate(0deg);
}

/* 縦棒 */
.filter-heading::after {
  right: 30vw;
  transform: translateY(-50%) rotate(90deg);
}

/* --- 開いた時（上向きのくの字：^ ） --- */

/* 左側のハネ ( / ) */
.filter-area.active .filter-heading::before {
  top: 53%; 
  right: calc(30vw + 3.2px); /* プラスの時より少し左へ移動 */
  width: 10px; /* バランス調整のため少し短く */
  transform: translateY(-50%) rotate(-45deg); /* 右上がり */
}

/* 右側のハネ ( \ ) */
.filter-area.active .filter-heading::after {
  top: 53%;
  right: calc(30vw - 3.2px); /* プラスの時より少し右へ移動 */
  width: 10px; /* バランス調整のため少し短く */
  transform: translateY(-50%) rotate(45deg); /* 左上がり */
}
	
	.filter-block p {
  font-size: 3.73vw;
  margin-bottom: 2vw;
}

	.radio-item {
  font-size: 3.73vw;
}
	
	.filter-title {
  font-size: 3.73vw;
  margin-bottom: 6px;
}
	
	.filter-block select {
  width: 99%;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 3.73vw;
}
	
	.works-list {
 width: auto;
}
.works-items {
 display: block;
}
.works-item {
 width: auto;
	margin-bottom: 12vw;
}
.works-item a {
}
.works-item figure {
 width:89vw;
	height: 59.4vw;
 aspect-ratio: 1 / 1;
 overflow: hidden;
	margin-bottom: 2vw;
}
.works-item img {
 width: 100%;
 height: 100%;
 object-fit: cover; /* 中央トリミング */
 display: block;
}
.item-txt {
	display: flex;
	align-items: center;
}
.item-txt h3 {
		width: 80vw;
 font-size: 3.46vw;
 font-weight: 400;
 line-height: 1;
}
.w-num {
 font-size: 3.2vw;
 color: #ACACAC;
	margin-right: 10px;
	padding-top: 0.25em;
}
	
	 .ic_status {
  width: 15.4vw;
  height: 15.4vw;
 }
}


/* ====================================
   PC時（常に開いた状態）
==================================== */
@media screen and (min-width: 769px) {
 .filter-area form {
  display: block !important;
 }
 .filter-heading {
  cursor: default;
 }
 /* PCではアイコン非表示 */
 .filter-heading::after {
  display: none;
 }
}

/* ページナビ全体 */
.ajax-pagination {
  margin: 60px auto;
  display: flex;
  justify-content: center;
  align-items: center; /* 中央揃え */
  gap: 25px; /* 数字同士の間隔（デザインに合わせて広めに設定） */
}

/* 各要素共通スタイル */
.page-numbers {
  text-decoration: none;
  color: #1a2e4d; /* デザインに合わせた濃紺色（適宜調整してください） */
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: opacity 0.3s;
  border: none; /* 枠線を削除 */
  background: none; /* 背景を削除 */
  width: 17px;
  height: auto;
	
	font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.page-numbers:hover {
  opacity: 0.7;
}

/* カレント（現在地）のスタイル */
.page-numbers.current {
  font-weight: 500;
  background: none;
  border: none;
}

/* カレントの下線 */
.page-numbers.current::after {
  content: "";
  position: absolute;
  bottom: -5px; /* 数字からの距離 */
  left: 0;
  right: 0;
  height: 1px;
  background-color: #1a2e4d; /* 下線の色 */
}

/* 矢印共通設定（svg背景） */
.page-numbers.prev,
.page-numbers.next {
  width: 7.5px;
  height: 8.5px;
  text-indent: -9999px; /* 元の「>」テキストを隠す */
  background-image: url("../images/common/ic_nav.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* 左矢印の反転 */
.page-numbers.prev {
  transform: scaleX(-1);
}

/* ドット（...）の調整 */
.page-numbers.dots {
  border: none;
}

/* --- レスポンシブ (SP) --- */
@media screen and (max-width: 767px) {
  .ajax-pagination {
    margin: 13vw auto;
    gap: 20px;
  }
  
  .page-numbers {
    font-size: 3.46vw;
  }

  .page-numbers.prev,
  .page-numbers.next {
    width: 13px;
    height: 13px;
  }
}








/* ==========================
  施工事例 詳細
========================== */

.single-works .second_main_img {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0; /* 追加 */
  font-size: 0; /* imgの下の隙間対策 */
}

.single-works .second_main_img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color:rgba(172,172,172,1.00);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1; /* 画像の上、テキストの下 */
}

.single-works .second_main_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テキストをグレーオーバーレイより上に */
.single-works .works_ttl_outer {
  z-index: 2;
}





/*メイン*/
.works_ttl_outer {
	position: absolute;
	left: 50%;
	top: 50%;
	color: #fff;
	transform: translate(-50%,-50%);
}

.works_ttl{
	font-size: 18px;
	letter-spacing: 3px;
}

.works_area{
	font-size: 12px;
	margin-top: 25px;
	 font-family: "Poppins", sans-serif;
 font-weight: 500;
 font-style: normal;
	letter-spacing: 1px;
}


/*詳細*/
.l_works_sec{
	background: #F0EEE7;
	padding: 100px 0 75px 0;
}

.works-detail{width: 1100px;
	margin: 0 auto;
display: flex;
justify-content: space-between;
text-align: left;}

.main-area{
	width: 775px;
	order: 2;
}
.side-area{width: 256px;
order: 1;}

.side_ttl {
  font-size: 13px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.side_ttl::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background-color: #172E59;
  margin-left: 15px;
}

/*サイド*/

.m_works_sbox{
	margin-bottom: 70px;
}

.works_info{
	margin-bottom: 10px;
}

.works_info th{
	font-size: 14px;
	font-weight: 500;
	width: 135px;
	padding-bottom: 10px;
}

.works_info td{	font-size: 14px;
	font-weight: 400;
line-height: 1.8;
	padding-bottom: 10px;
	color: #000;
}

.works_sns{
	display: flex
}

.works_sns li a{
	width: 25px;
	height: 25px;
	display: flex;
	align-items: center;
}

.works_sns li + li{
	margin-left: 22px;
}

.works_tags{
	display: flex;
}

.works_tags li + li{
	margin-left: 22px;
}

.works_tagsli a {
  font-size: 14px;
  color: #000;
  line-height: 1;
}

.works_tags li a::before {
  content: "#";
  padding-right: 4px;
}

/*メイン*/

.m_works_cbox{margin-bottom: 100px;}

.m_works_txt_bm_works_txt_b{color: #000;}



/* ===== 共通 ===== */
.s_mv--landscape,
.s_mv--portrait {
  position: relative;
  width: 100%;
}

.s_mv--landscape iframe,
.s_mv--portrait iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== 横動画 16:9 ===== */
.s_mv--landscape {
  max-width: 800px;
  padding-top: 56.25%;
}

/* ===== 縦動画 9:16 ===== */
.s_mv--portrait {
  max-width: 360px;
  padding-top: 177.77%;
}


@media screen and (max-width: 767px) {
	
	/*メイン*/
.works_ttl_outer {
	width: 100%;
	padding: 0 13vw;
	position: absolute;
	left: 50%;
	top: 50%;
	color: #fff;
	transform: translate(-50%,-50%);
}

.works_ttl{
	font-size: 4vw;
	letter-spacing: 3px;
}

.works_area{
	font-size: 2.66vw;
	margin-top: 4.26vw;
}


/*詳細*/
.l_works_sec{
	background: #F0EEE7;
padding: 8vw 5.3vw 15vw 5.3vw;
}

.works-detail{width: auto;
display: block;}

.main-area{
	width: auto;
}
.side-area{width: auto;}

.side_ttl {
  font-size: 3.46vw;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  margin-bottom: 7vw;
}

.side_ttl::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background-color: #172E59;
  margin-left: 15px;
}

/*サイド*/

.m_works_sbox{
	margin-bottom: 70px;
}

.works_info{
	margin-bottom: 10px;
}

.works_info th{
	font-size: 3.2vw;
	font-weight: 500;
	width: 29.3vw;
	padding-bottom: 4vw;
}

.works_info td{	font-size: 3.2vw;
	font-weight: 400;
line-height: 1.8;
	padding-bottom: 4vw;
}

.works_sns{
	display: flex
}

.works_sns li a{
	width: 6vw;
	height: 6vw;
	display: flex;
	align-items: center;
}

.works_sns li + li{
	margin-left: 5vw;
}

.works_tags{
	display: flex;
}

.works_tags li + li{
	margin-left: 5vw;
}

.works_tags li a {
  font-size: 3.2vw;
  color: #000;
  line-height: 1;
}

.works_tags li a::before {
  content: "#";
  padding-right: 4px;
}

/*メイン*/

.m_works_cbox{margin-bottom: 19vw;}

.m_works_txt_b{color: #000;font-size: 3.2vw;line-height: 2;}
	
  .s_mv--landscape,
  .s_mv--portrait {
    max-width: 100%;
  }
	
}








/* 全体のコンテナ設定 */
.request {
  background-color: #F2EFE6;
  font-size: 14px;
  line-height: 1.8;
  color: #172E59;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* 「ご要望」「ご提案」の見出し共通設定 */
.request dt {
  width: 85px;             /* 矢印を含めた見出しの道幅 */
  font-weight: 400;
  position: relative;
  letter-spacing: 0.1em;
  padding-right: 20px;     /* 矢印を表示するスペース */
  box-sizing: border-box;
	color: #172E59;
}

/* 矢印（疑似要素）の共通設定 */
.request dt::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 17px;
  transform: translateY(-50%);
  width: 9px;              /* 矢印の幅：実際のSVGサイズに合わせて調整してください */
  height: 11px;            /* 矢印の高さ：実際のSVGサイズに合わせて調整してください */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* 1. ご要望：塗りの矢印 (ic_f.svg) */
.request dt:nth-of-type(odd)::after {
  background-image: url("../images/common/ic_f.svg");
}

/* 2. ご提案：線だけの矢印 (ic_q.svg) */
.request dt:nth-of-type(even)::after {
  background-image: url("../images/common/ic_q.svg");
}

/* テキスト内容（dd）の設定 */
.request dd {
  width: calc(100% - 85px); /* 全体からdtの幅を引く */
  margin-left: 0;
	letter-spacing: 0.1em;
  margin-bottom: 20px;      /* 項目間の余白 */
}

/* ご提案の右側のテキストのみ黒色に指定 */
.request dt:nth-of-type(even) + dd {
  color: #000000;
  margin-bottom: 60px;      /* セクション（セット）間の余白 */
	letter-spacing: 1.2px;
}

.request:last-child dt:nth-of-type(2n) + dd {
  margin-bottom: 0;
}

/* 最後の項目の余白をリセット */
.request dd:last-of-type {
  margin-bottom: 0;
}

/* スマホ用調整（任意） */
@media (max-width: 767px) {
  .request {
    padding: 0;
			font-size: 3.2vw;
  }
	
	.request dt {
  width: 18vw;   
  padding-right: 5.8vw; 
}
	
	.request dt::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2.5vw;
  transform: translateY(-50%);
  width: 9px;              /* 矢印の幅：実際のSVGサイズに合わせて調整してください */
  height: 11px;            /* 矢印の高さ：実際のSVGサイズに合わせて調整してください */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
	
	.request dd {
  width: calc(100% - 18vw); /* 全体からdtの幅を引く */
  margin-bottom: 4.5vw; 
}
	
	/* ご提案の右側のテキストのみ黒色に指定 */
.request dt:nth-of-type(even) + dd {
  margin-bottom: 10vw; 
}
	
	
	
	
	
}

.works_voice{
	display: flex;
	justify-content: space-between;
}

.owner_img{
	width: 74px;
}

.voice_txt{
	width: 680px;
	color: #000;
	letter-spacing: 0.05em;
}

@media screen and (max-width: 767px) {

.owner_img{
	width: 15.4vw;
}

.voice_txt{
	width: 70vw;
	color: #000;
	letter-spacing: 0.05em;
	font-size: 3.2vw;
}
	
}

/* ===============================
   グリッド
================================*/
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}
.grid-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
	background-color: #000;
}
.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease, opacity .3s ease;
}

.grid-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* 黒30% */
  opacity: 0; /* 通常時は見えない */
  transition: opacity .3s ease;
  pointer-events: none; /* 下のリンククリックを邪魔しない */
}

.grid-item:hover::after {
  opacity: 1; /* hover時に黒30%を表示 */
}

/* 不要なopacity指定があれば整理 */
.grid-item a:hover {
  opacity: 1;
}
.grid-item:hover img {
  transform: scale(1.05);
		opacity: 1;
}

/* 拡大アイコン（hover時） */
.zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  background: url('../images/works/ic_zoom.svg') no-repeat center center;
  background-size: 31px 31px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
	z-index: 10;
}
.grid-item:hover .zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

/* モーダル */
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff; /* 白背景 */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity .4s ease;
}
.gallery-modal.active {
  display: flex;
  opacity: 1;
}

/* 画像 */
.gallery-modal img {
  /* 縦横比を維持 */
  width: auto;
  height: auto;
  
  /* 長辺を画面の高さ(vh)の80%に制限 */
  max-width: 80vh; 
  max-height: 80vh;
  
  /* 画面幅が狭いスマホ等で、横幅がはみ出さないための保険 */
  width: 90%; 
  
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-modal img.visible {
  opacity: 1;
}


/* カウント */
.gallery-counter {
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 16px;
  color: #333;
  font-weight: 600;
	line-height: 1;
}

/* ナビゲーション矢印 */
/* ナビゲーション矢印共通設定 */
.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* サイズ指定 */
  width: 52px;
  height: 31px;
  /* カプセル形状と枠線 */
  background-color: transparent;
  border: 1px solid #000000;
  border-radius: 100vh; /* 完全に丸くする */
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  outline: none;
}

/* 矢印の芯（横棒） */
.gallery-prev::before,
.gallery-next::before {
  content: "";
  position: absolute;
  width: 12.5px; /* 指定のサイズ */
  height: 1px;
  background-color: #000000;
  transition: all 0.3s ease;
}

/* 矢印の先端（くの字） */
.gallery-prev::after,
.gallery-next::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-top: 1px solid #000000;
  border-right: 1px solid #000000;
  transition: all 0.3s ease;
}

/* 各方向の調整 */
/* 右矢印 (Next) */
.gallery-next::after {
  transform: rotate(45deg);
  right: 18px; /* 位置微調整 */
}
/* 左矢印 (Prev) */
.gallery-prev::after {
  transform: rotate(-135deg);
  left: 18px; /* 位置微調整 */
}

/* --- Hover時のスタイル --- */
.gallery-prev:hover,
.gallery-next:hover {
  background-color: #000000; /* 背景ベタ塗り */
}

/* Hover時に矢印の色を白にする */
.gallery-prev:hover::before,
.gallery-next:hover::before {
  background-color: #ffffff;
}
.gallery-prev:hover::after,
.gallery-next:hover::after {
  border-color: #ffffff;
}

/* 左右の配置（既存の値を継承） */
.gallery-prev { left: 20px; }
.gallery-next { right: 20px; }

/* 閉じるボタン */
.gallery-close {
  position: absolute;
	width: 28px;
	height: 17px;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  opacity:1;
	line-height: 1;
}
.gallery-close img {
	width: 100%;
	height: auto;
	opacity: 1;
}
.gallery-close:hover {
  opacity: 0.7;
}

/* 背景固定 */
body.modal-open {
  overflow: hidden;
}
	.gallery-at{
	font-size:11px;
	text-align: left;
	padding: 20px 0 100px 0;
		color: #636363;
}
/* ===============================
   レスポンシブ対応 (768px以下)
================================*/
@media (max-width: 768px) {
  /* サムネイル：3カラム */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.9vw;
  }

  /* 拡大画像：画面幅100%で中央に配置 */
.gallery-modal img {
  /* 縦横比を維持 */
  width: auto;
  height: auto;
  
  /* 長辺を画面の高さ(vh)の80%に制限 */
  max-width: 80vh; 
  max-height: 80vh;
  
  /* 画面幅が狭いスマホ等で、横幅がはみ出さないための保険 */
  width: 90%; 
  
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-modal img.visible {
  opacity: 1;
}

  /* 矢印をやや内側に */
  .gallery-prev { left: 5.3vw;top: auto; bottom: 3vw; }
  .gallery-next { right: 5.3vw;top: auto;bottom: 3vw; }

  /* カウントと閉じるボタンをやや小さく */
  .gallery-counter {
    font-size: 2.93vw;
    top: auto;
			bottom: 8vw;
    left: 50%;
			transform: translateX(-50%);
			font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings:
   "wdth"100;
  }

	/* 閉じるボタン */
.gallery-close {
  position: absolute;
	width: 28px;
	height: 17px;
  right: 5.3vw;
	top: 7vw;
  background: none;
  border: none;
  cursor: pointer;
  opacity:1;
	line-height: 1;
}
.gallery-close img {
	width: 100%;
	height: auto;
	opacity: 1;
}
	.gallery-at{
	font-size: 2.6vw;
	text-align: left;
	padding: 3vw 0 14vw 0;
}
}




/*ページナビ*/

/* 外側の枠：最大1100pxで画面の中央に配置 */
.post-navigation {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto; /* 1100pxの枠自体を中央寄せ */
    display: flex;
    justify-content: flex-end; /* 中の要素を右側に寄せる */
}

/* 内側の枠：右側の775pxエリア */
.post-navigation-inner {
    width: 775px;
    display: flex;
    justify-content: center; /* 775pxの範囲内でコンテンツを中央寄せ */
    
    /* 念のため：画面幅が775px以下の時も崩れないように */
    max-width: 100%; 
}
.post-navigation__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* 要素同士の隙間 */
}

/* タップエリアの設定 */
.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    
    /* タップエリアを確保：最小44px */
    min-width: 44px;
    min-height: 44px;
    
    /* どこを触っているか分かりやすくするための設定（任意） */
    transition: opacity 0.3s;
}

.nav-item:hover {
    opacity: 0.6;
}

/* アイコン自体のサイズ（固定） */
.nav-icon img {
    width: 7.5px;
    height: 8.5px;
    display: block;
}

/* 左矢印：180度回転 */
.nav-item.prev .nav-icon {
    transform: rotate(180deg);
}

/* 中央のARCHIVES */
.nav-item.center {
    font-size: 14px;
    font-weight: 400;
	color: #172E59;
    letter-spacing: 0.1em;
    padding: 0 25px; /* 文字の周りにも少し余裕を持たせる */
    min-width: auto; /* 文字幅に合わせる */
}

/* 記事がない時のスペース維持用 */
.nav-placeholder {
    width: 44px;
}



@media screen and (max-width: 767px) {
	
	
	.post-navigation {
    max-width: 100%;
    width: 100%;
    margin: 0 auto; /* 1100pxの枠自体を中央寄せ */
    display: flex;
    justify-content: flex-end; /* 中の要素を右側に寄せる */
}

/* 内側の枠：右側の775pxエリア */
.post-navigation-inner {
    width: 100%;
    display: flex;
    justify-content: center; /* 775pxの範囲内でコンテンツを中央寄せ */
    
    /* 念のため：画面幅が775px以下の時も崩れないように */
    max-width: 100%; 
}
	
	/* 中央のARCHIVES */
.nav-item.center {
    font-size: 2.666vw;
    font-weight: 400;
	color: #172E59;
    letter-spacing: 0.1em;
    padding: 0 6vw; /* 文字の周りにも少し余裕を持たせる */
    min-width: auto; /* 文字幅に合わせる */
}

/* 記事がない時のスペース維持用 */
.nav-placeholder {
    width: 11vw;
}
	
	
	
	
	
}
