@charset "utf-8";
/* 基本 ================= */
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html {
	font-size: 62.5%;
}
body{
	color: #231815;
	font-size: 1.6rem;
	font-family:"FP-KoburinaGoStdN-W1",sans-serif;
	font-feature-settings: 'palt';
	letter-spacing: 0.1em;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
html, body{
	overflow-x: hidden;
}
a{
	text-decoration: none;
	color: #231815;
}
img{vertical-align: middle;}
li{
	list-style-type: none;
}
h1,h2,h3,h4,h5,h6{font-weight: normal;}
/* レイアウト ================= */
#container{
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	position: relative;
}
/* scroll時のみpadding追加(navbarがfixedになるため) */
#container:has(header.scroll){
	padding-top: 70px;
}
header{
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}
/* メインビジュアル ----------- */
picture#mainvisual{
	background: #000000;
}
#mainvisual {
  display: block;     /* pictureのデフォルト挙動対策 */
  overflow: hidden;
}
#mainvisual img{
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;

	transform: scale(1.01);
	opacity: 0;

	transform-origin:center;
	animation: mv-zoom 1.1s ease-out forwards;
}

@keyframes mv-zoom{
  from{
    transform: scale(1.01);
    opacity: 0;
  }
  to{
    transform: scale(1.022);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce){
  #mainvisual img{
    animation:none;
    transform: scale(1.022);
    opacity: 1;
  }
}
#topcopy{
	background: #271A19;
	color: #ffffff;
	text-align: center;
	line-height: 82px;
	height: 82px;
}
#topcopy img{
	margin-top: -3px;
}
/* NAV ================= */
#navbar{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	position: absolute;
	width: 100%;
	display: flex;
	justify-content:space-between;
	background-color: rgb(255 255 255 / 0.94);
	transition: .8s;
}
nav{
	position: fixed;
	display: flex;
	padding-top: 70px;
	z-index: 999;
	min-height: 100vh;
	min-width: 100vw;
	background: #ffffff;
	justify-content: center;
	align-items: center;
	background-color: rgb(255 255 255 / 0.94);
	transition: .8s;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0; 
	min-height: 640px;
}
/* 初期表示・nav 非表示 */
nav{
	visibility: hidden;
	opacity: 0;
	transition:	opacity .8s;
}
.on nav{
	visibility: visible;
	opacity: 1;
}
header.closing nav{
	opacity: 0;
}
/* 完全に消えてからvisibilityをhiddenに */
header:not(.on) nav{
	visibility: hidden;
}
header.on nav{
	visibility: visible;
}
body.is-scroll-locked {
  position: fixed;
  width: 100%;
  overflow: hidden;
}
#navbar{
	height: 80px;
	transition: .5s;
}
#navbar #siteid svg{
	position: absolute;
	top: 19px;
	left: 24px;
	width: 125px;
	height: 41px;
	transition: .5s;
}
#navbar #siteid svg{
	fill: #231815;
}
#navbtn{
	position: relative;
	font-size: 1.7rem;
	color: #BA9971;
	font-family: "FP-KoburinaGoStdN-W3",sans-serif;
	text-align: center;
	letter-spacing: 0.135em;
	text-indent: 0.135em;
}
#navbtn a{
	display: block;
	position: relative;
	width: 84px;
	height: 52px;
	margin-right: 26px;
	margin-top: 17px;
	padding-top: 31px;
	line-height: 1;
	color: #BA9971;
}
#navbtn:hover,
#navbtn:active{
	cursor: pointer;
}
/* nav ボタン */
#navbtn a::before,
#navbtn a::after,
#navbtn span::before{
	content: "";
	position: absolute;
	height: 1px;
	background: #BA9971;
	width: 100%;
	left: 0;
}
/* #navbtn =================================== */
#navbtn span::before{
	top: 11px;
	left: 16.075%;
	width: 67.85%;
	transform-origin:center;
	transition: .5s;
}
#navbtn img {
	transition: .5s;
}
.on #navbtn img,
.scroll #navbtn img{
	opacity: 0;
}

/* 真ん中の線 */
.on #navbtn span::before{
	width: 0;
	left: 50%;
	transition: .5s;
	opacity: 0;
}
/* 開く(closing中は発火させない) */
header.on:not(.closing) #navbtn a::before { animation: navbtn-before .8s ease forwards; }
header.on:not(.closing) #navbtn a::after  { animation: navbtn-after  .8s ease forwards; }

/* 閉じる(close専用を正方向で再生) */
header.closing #navbtn a::before { animation: navbtn-before-close .8s ease forwards; }
header.closing #navbtn a::after  { animation: navbtn-after-close  .8s ease forwards; }

/* 真ん中線(span::before)は closing 中に戻す(.on を残すため必要) */
header.closing #navbtn span::before{
  width: 67.85%;
  left: 16.075%;
  opacity: 1;
  transition: .5s;
}
/* 上の線、初期状態 */
#navbtn a::before{
	top: 0;
	transform: rotate(0deg);
}
/* 上の線、アニメ演出 */
@keyframes navbtn-before{
	0%   { top:0;    left:0;       width:100%; opacity:1; transform:rotate(0deg); }
	60%  { top:11px; left:16.075%; width:67.85%; opacity:.5; transform:rotate(0deg); }
	100% { top:12px; left:0;       width:100%; opacity:1; transform:rotate(-16deg); }
}
/* 下の線、初期状態 */
#navbtn a::after{
	top: 23px;
	transform: rotate(0deg);
}
/* 下の線、アニメ演出 */
@keyframes navbtn-after{
	0%{  top: 23px; left: 0;       width: 100%;	  transform: rotate(0deg); opacity: 1;}
	60%{ top: 11px; left: 16.075%; width: 67.85%; transform: rotate(0deg); opacity: .5;	}
	100%{top: 12px;	left: 0;	   width: 100%;   transform: rotate(16deg); opacity: 1;}
}
/* close用 keyframes(FROM=開いた最終形 → TO=初期形) */
@keyframes navbtn-before-close{
  0%   { top:12px; left:0; width:100%; opacity:1; transform:rotate(-16deg); }
  40%  { top:11px; left:16.075%; width:67.85%; opacity:.5; transform:rotate(0deg); }
  100% { top:0; left:0; width:100%; opacity:1; transform:rotate(0deg); }
}
@keyframes navbtn-after-close{
  0%   { top:12px; left:0; width:100%; opacity:1; transform:rotate(16deg); }
  40%  { top:11px; left:16.075%; width:67.85%; opacity:.5; transform:rotate(0deg); }
  100% { top:23px; left:0; width:100%; opacity:1; transform:rotate(0deg); }
}
/* =================================== */
/* nav 表示 */
/* scrollなし時は.onでもrelativeのまま */
.on:not(.scroll) #navbar{
	height: 70px;
	position: relative;
}
/* scroll時のみ.onでfixedに */
.on.scroll #navbar{
	height: 70px;
	position: fixed;
}
/* 初期:ページ先頭で普通に居る(スクロールで自然に消える) */
#navbar{
  position: relative;      /* ここが大事 */
  top: 0;
  left: 0;
  width: 100%;
  /* 必要なら背景など */
  background-color: rgb(255 255 255 / 0.94);
}
/* 50vh超えたら:fixedにして上からスライドイン */
header.scroll #navbar{
	height: 70px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
}
/* ★スライドインは「scroll-in」クラスが付いた時だけ */
header.scroll.scroll-in:not(.on) #navbar{
	animation: navbar-slide-in .5s ease both;
}
@keyframes navbar-slide-in{
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

.on #navbar #siteid svg,
.scroll #navbar #siteid svg{
	top: 16px;
	left: 22px;
	width: 110px;
	height: 36px;
}

/* スクロールロック中に右の空きを確保 */
body.is-scroll-locked{
  padding-right: var(--sbw, 0px);
}

/* もし fixed のヘッダー/バーがあるなら、それも揃える(任意だけど効く) */
body.is-scroll-locked header.scroll #navbar{
  padding-right: var(--sbw, 0px);
}

/* 全画面navは 100vw/100vh よりこれが安全 */
.on nav{
  position: fixed;
  inset: 0;      /* top/right/bottom/left:0 */
}

/* nav レイアウト ================ */
nav ul{
	width: 630px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}
nav li{
	font-family: "AvenirNextLTPro-UltLt",helvetica,"FP-KoburinaGoStdN-W1",sans-serif;
	font-weight: 100;
	font-size: 3.2rem;
	line-height: 1.2;
	width: 50%;
	padding-bottom: 30px;
	padding-left: 11px;
}
nav li.current{
	font-family: "AvenirNextLTPro-Regular",helvetica,"FP-KoburinaGoStdN-W1",sans-serif;
	font-weight: 700;
}
nav li:first-child,
nav li:nth-last-child(3):nth-child(2n){/* 最後から3つ目が偶数個目だったら */
	width: 100%;
}
nav li:nth-last-child(3):nth-child(2n) {
	border-bottom: 1px solid #EBE9E9;
	margin-bottom: 30px;
}
nav li span{
	font-size: 1.5rem;
	display: block;
}
nav li.current span{
	font-weight: 100;
}
nav li a{
	display: block;
	width: 268px;
}
/* bottom_link ================= */
#bottom_link{
	background: #717476;
	color: #fff;
	padding: 76px 50px;
	text-align: center;
}
#bottom_link div{
	display: flex;
	justify-content: center;
}
#bottom_link div a{
	background: #231815;
	font-family: "HelveticaLTPro-Light","FP-こぶりなゴシック StdN W3", sans-serif;
	color: #F5F4F4;
	display: block;
	width: 320px;
	height: 48px;
	line-height: 28px;
	text-align: center;
	vertical-align: middle;
	padding: 12px 10px 8px 10px;
	transition: 0.4s;
	letter-spacing: 0.2em;
	transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.03s;
}
#bottom_link div a:hover,
#bottom_link div a:active{
	background: #000;
	color: #fff;
}
#bottom_link div p + p{
	margin-left: 25px;
}
/* footer ================= */
footer{
	background: #000000;
	color: #ffffff;
	font-size: 1.1rem;/* 11px */
	padding: 0 0 20px 0;
	font-family: "FP-ヒラギノ角ゴ StdN W4", sans-serif;
	position: relative;
}
footer div{
	background: #232323;
	color: #ffffff;
	text-align: center;
	padding: 40px 0;
	margin-bottom: 0;
}
footer a{
	color: #ffffff;
	font-family: "FP-ヒラギノ角ゴ StdN W4", sans-serif;
}
footer div p{
	font-size: 1rem;
	line-height: 1.2;
	letter-spacing: 0.05em;
}
footer p.footer_tel,
footer p.footer_tel a{
	font-family:"futura-pt","FP-こぶりなゴシック StdN W3", sans-serif;
	font-size: 1.875rem;
	margin: 12px auto;
}
footer p.footer_tel span{
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
	padding: 0 6px;
	letter-spacing: 0.025em;
}
footer .footer_tel img{
	height: 1rem;
	width: auto;
	margin-right: 4px;
}
footer ul{
	display: flex;
	justify-content: center;
	margin:30px 20px 17px 20px;
}
footer ul li a{
	border-right: 1px solid #ffffff;
	display: block;
	padding: 0 0.5em;
	line-height: 1;
}
footer small{
	font-size: 1rem;
}
.pagetop{
	width: 55px;
	height: 55px;
	position: fixed;
	bottom: 0;
	right: 0;
	z-index: 9;
	background: rgba(0,0,0,0.3);
	display: none;
	overflow:hidden;
	transition: .3s;
}
.pagetop:hover,
.pagetop:active{
	background: rgba(112, 88, 60,0.6);
}
.pagetop a{
	width: 55px;
	height: 55px;
	display: inline-block;
	text-align: center;
}
.pagetop span{
	display: inline-block;
	vertical-align: middle;
	color: #ffffff;
	line-height: 1;
	width: 15px;
	height: 15px;
	border: 2px solid currentColor;
	border-left: 0;
	border-bottom: 0;
	box-sizing: border-box;
	transform: translateY(25%) rotate(-45deg);
	opacity: 1;
	top: 20px;
	left: 21px;
	position: absolute;
}
