/*
Theme Name: voir_20260612
Theme URI: https://example.com
Author: Yuichi Haraguchi
Description: 炉端フレンチVOIR
Version: 1.0.0
*/

/* === Reset & Base === */

body {
  font-family: "Yu Gothic","Hiragino Sans", "Meiryo", sans-serif;
  line-height: 1.75;
  color: #fff;
	background: #000;
}

body.single main{
	padding-top: 90px;
}
.mincho{
	font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
}
a {
  color: #fff;
  text-decoration: none;
}
p{
	margin: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul{
	list-style: none;
	padding: 0;
	margin: 0;
}

.more_btn{
	width: 90%;
	max-width: 300px;
	border: 1px solid #fff;
	text-align: center;
	display: block;
	position: relative;
	padding: .5rem 0;
	margin: 0 auto;
	transition: all .2s;
	box-shadow: 
    0 0px 6px rgba(255, 255, 255, 0.2),
    0 0px 10px rgba(255, 255, 255, 0.2);
}
.more_btn:hover{
	color: #000;
}
.more_btn::after{
	position: absolute;
	right: 3%;
	top: 50%;
	transform: translateY(-50%) rotate(-45deg);
	border-bottom: 1px solid #fff;
	border-right: 1px solid #fff;
	width: .5rem;
	height: .5rem;
	content: "";
}
.more_btn:hover::after{
	border-bottom: 1px solid #000;
	border-right: 1px solid #000;
}
.more_btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .7s cubic-bezier(.19, 1, .22, 1);
    background: #fff;
  }
  
  .more_btn:hover:before {
    transform: scaleX(1);
    transform-origin: left;
  }
  
  .more_btn .inner-text {
    position: relative;
    z-index: 3;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
  }

/*=======================
header
=========================*/
header {
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  pointer-events: none; /* 非表示中はクリック無効 */
}

header.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.single header{
	opacity: 1;
  pointer-events: auto;
}
.navbar .navbar-brand{
	width: 200px;
}.navbar-toggler{
	border: none;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}
.offcanvas-header .btn-close{
	color: #fff;
	opacity: 1;
}
.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}
/*=======================
mv
=========================*/
#mv{
	position: relative;
}
#mv .video_wrap{
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	
}
#mv img{
	height: 100vh;
	width: auto;
	object-fit: cover;
  object-position: center;
}
/* 全体のレイアウト */
  .video_container {
    display: flex;
    gap: 0px;
    height: 100%;
    width: 100%;
    max-width: 900px;
    margin: 50px auto;
  }

  .item-wrap {
    flex: 1;
    overflow: hidden;
  }

  .video-container {
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
    height: 100%;
    
    /* アニメーションの適用 */
    animation: expand 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    /* 最初は高さ0の状態にする */
    grid-template-rows: 0fr;
    display: grid;
  }

  /* 順番に実行するための遅延設定 */
  .item-wrap:nth-child(1) .video-container { animation-delay: 1.2s; }
  .item-wrap:nth-child(2) .video-container { animation-delay: 1.5s; }
  .item-wrap:nth-child(3) .video-container { animation-delay: 1.8s; }

  @keyframes expand {
    from { grid-template-rows: 0fr; }
    to { grid-template-rows: 1fr; }
  }

  .video-inner {
    overflow: hidden;
  }

  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
#mv_text {
    position: absolute;
    top: 8%;
    left: 2%;
  }
#mv_text {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
}
 
#mv_text p {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.0;
  color: #ffffff;
  text-shadow:
    0 2px 12px rgba(0,0,0,0.6),
    0 0  40px rgba(0,0,0,0.3);
}
 
#mv_text .mv-divider {
  writing-mode: vertical-rl;
  font-size: clamp(1rem, 4vw, 4rem);
  font-weight: 300;
  color: #fff;
  align-self: center;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
 
@keyframes mv-slideDown {
  from { opacity: 0; transform: translateY(-60px); }
  to   { opacity: 1; transform: translateY(0); }
}
 
@keyframes mv-slideUp {
  from { opacity: 0; transform: translateY(180px); }
  to   { opacity: 1; transform: translateY(120px); }
}
 
@keyframes mv-dividerIn {
  from { opacity: 0; transform: translateY(60px) scaleY(0); }
  to   { opacity: 1; transform: translateY(60px) scaleY(1); }
}
 
#mv_text .mv-left {
  opacity: 0;
  transform: translateY(-60px);
  animation: mv-slideDown 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}
 
#mv_text .mv-right {
  opacity: 0;
  transform: translateY(120px);
  animation: mv-slideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}
 
#mv_text .mv-divider {
  opacity: 0;
  transform: translateY(60px) scaleY(0);
  transform-origin: center;
  animation: mv-dividerIn 0.5s ease 1.0s forwards;
}
 
@media (prefers-reduced-motion: reduce) {
  #mv_text .mv-left,
  #mv_text .mv-right,
  #mv_text .mv-divider {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
#mv_text_b{
	position: absolute;
	bottom:5%;
	left: 2%;
}

/* 文字の本体 */
.mask-bg {
  /* 最初は非表示かつ透明 */
  visibility: hidden;
  opacity: 0;
  display: inline-block;
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: bold;
  position: relative;
  overflow: hidden; /* 帯がはみ出さないようにする */
  color: #fff; /* 白文字 */

  /* 0.5秒遅延して表示を開始（1.2秒で帯と同期） */
  animation: show-text 1.2s linear 0.5s forwards;
}


/* 文字の表示制御（帯が通り過ぎる時に現れる） */
@keyframes show-text {
  0%, 40% { visibility: hidden; opacity: 0; }
  41%, 100% { visibility: visible; opacity: 1; }
}


/*=======================
movie
=========================*/
#movie{
	padding: 50px 0;
}
/*=======================
main_concept
=========================*/
#main_concept{
	padding: 100px 0;
}
#main_concept h2{
	text-align: center;
	font-size: 2.5rem;
	margin-bottom:2rem;
}
#main_concept p{
	
}
/*=======================
concept
=========================*/
#concept{
	padding: 80px 0;
}
#concept img{
	margin-bottom:1rem;
	box-shadow: 
    0 0px 6px rgba(255, 255, 255, 0.2),
    0 0px 10px rgba(255, 255, 255, 0.2);
}
#concept h2{
	text-align: center;
	font-size: 1.25rem;
	margin-bottom:1rem;
	font-weight: bold;
}
/*=======================
news
=========================*/
#news{
	padding: 80px 0;
}
#news h2{
	margin-bottom: 4rem;
	font-size: 2.25rem;
	
}
#news .img_date{
	margin-bottom: .75rem;
	position: relative;
}
#news .img_date .date{
	background: rgba(0,0,0,0.5);
	color: #fff;
	padding: .1rem .5rem;
	position: absolute;
	width: fit-content;
	bottom: 0;
	right: 0;
	font-size: 14px;
}
#news h3{
	margin-bottom: 1rem;
	font-size: 1.25rem;
}
/*=======================
menu
=========================*/
#menu{
	padding: 80px 0;
}

#menu h2{
	margin-bottom: 4rem;
	font-size: 2.25rem;
	
}
#menu_wrap{
	display: flex;
	column-gap: 20px;
	margin-bottom: 3.5rem;
}
#menu img{
	box-shadow: 
    0 0px 6px rgba(255, 255, 255, 0.2),
    0 0px 10px rgba(255, 255, 255, 0.2);
}
#menu .menu_movie{
	margin-bottom: 4rem;
}

/*=======================
features1
=========================*/
#features1{
	padding: 80px 0;
	position: relative;
}
#features1::before{
	content: "";
	background: url("./assets/img/bg_right.webp");
	background-position: left top;
	background-repeat: no-repeat;
	background-size: cover;
	width: 31.25vw;
	position: absolute;
	right: 0;
	top:80px;
	transform: translateY(-50%);
	aspect-ratio:6/7;
}
#features1 .features_img{
	position: relative;
	margin-bottom: 1rem;
	width: 68.22916666666666vw;
}
#features1 .features_img h2{
	position: absolute;
	left: 30px;
	bottom: 3%;
	margin-bottom: 0;
}
#features1 p{
	margin-left: 30px;
	width: min(46.875vw,900px);
}
/*=======================
features2
=========================*/
#features2{
	padding: 80px 0;
	position: relative;
}
#features2::before{
	content: "";
	background: url("./assets/img/bg_left.webp");
	background-position: left top;
	background-repeat: no-repeat;
	background-size: cover;
	width: 31.25vw;
	position: absolute;
	left: 0;
	bottom:80px;
	transform: translateY(50%);
	aspect-ratio:33/41;
}
#features2 .features_img{
	position: relative;
	margin-bottom: 1rem;
	width: 68.22916666666666vw;
	margin-left: auto;
}
#features2 .features_img h2{
	position: absolute;
	right: 30px;
	bottom: 3%;
	margin-bottom: 0;
}
#features2 p{
	margin-right: 30px;
	width: 46.875vw;
	margin-left: auto;
}

/*=======================
access
=========================*/
#access{
	padding: 80px 0;
	position: relative;
}
#access .access_wrap{
	background: rgba(255,255,255,.3);
	padding: 2rem;
}

#access .access_inner{
	display: flex;
	gap:15px;
	margin-bottom: 2rem;
}

#access .access_inner .inner_flex{
	display: flex;
	align-self: center;
	column-gap: 10px;
	width: 48%;
}
#access .access_inner .inner_flex:first-child .item{
	align-self: center;
}
#access .access_inner .inner_flex:first-child{
	width: 52%;
}
#access .access_inner .inner_flex:first-child .item:first-child{
	width: 6.25vw;
	max-width: 120px;
}
#access p{
	font-size: 14px;
}
#access iframe{
	width: 100%;
	height: 350px;
}
footer #copyright{
	text-align: center;
	padding: 2rem 0 1rem;
	font-size: 14px;
}
@media (max-width: 576px) { 
	#mv_text {
    position: absolute;
    top: 4%;
    left: 50%;
		gap: 15px;
    transform: translateX(-50%);
}
	#mv_text .mv-divider {
  font-size: 2rem;
}
 
@keyframes mv-slideDown {
  from { opacity: 0; transform: translateY(-60px); }
  to   { opacity: 1; transform: translateY(0); }
}
 
@keyframes mv-slideUp {
  from { opacity: 0; transform: translateY(150px); }
  to   { opacity: 1; transform: translateY(90px); }
}
 
@keyframes mv-dividerIn {
  from { opacity: 0; transform: translateY(30px) scaleY(0); }
  to   { opacity: 1; transform: translateY(30px) scaleY(1); }
}
	#main_concept{
		padding: 80px 0 50px;
	}
	#main_concept h2{
		font-size: 1.5rem;
	}
	#concept,
	#menu,
	#features1,
	#features2,
	#access{
		padding: 50px 0;
	}
	#menu_wrap{
		flex-wrap: wrap;
		column-gap: 10px;
		grid-row-gap: 10px;
	}
	#menu_wrap .item{
		width: calc(50% - 5px);
	}
	#features1 .features_img,
	#features2 .features_img{
		width: 100%;
	}
	#features1::before {
    width: 50vw;
    top: 0px;
}
	#features1 .features_img h2{
		left: 0;
		font-size: 1.25rem;
	}
	#features2 .features_img h2{
		right: inherit;
		left: 0;
		font-size: 1.25rem;
	}
	#features1 p{
		width: 100%;
		margin-left: 0;
		}
	#features2 p{
		width: 100%;
		margin-right: 0;
		}
	#features2::before {
    width: 50vw;
		bottom: -20px;
}
	#access .access_wrap{
		padding: 1rem;
	}
	#access .access_inner,
	#access .access_inner .inner_flex{
		flex-wrap: wrap;
		width: 100%;
	}
	#access .access_inner .inner_flex:first-child {
    width: 100%;
}
	#access .access_inner{
		width: 100%;
	}
	#access .access_inner .inner_flex:first-child .item:first-child,
	#access .access_inner .inner_flex .item{
		width: calc(50% - 5px);
	}
	
	#access .access_inner .inner_flex:first-child .item:first-child{
		max-width: 80px;
	}
	#access .access_inner .inner_flex:first-child .item:last-child{
		width: calc(100% - 90px)
	}
	#access iframe{
		height: 250px;
	}
}