@charset "UTF-8";
/* CSS Document */
/**********************************************************************共通*/

.con01{
	background: #fff;
	margin-top: -5px;
}

.con-inner{
	max-width: 1080px;
	margin: 0 auto;
	text-align: center;
}
.btns{
	display: flex;
	justify-content: center;
	gap:30px;
}
.btn-contact{
	width: 270px;
	text-align: center;
	color: #7e0f0e;
	background: #fff;
	height: 40px;
	border-radius: 20px;
	font-weight: 600;
	padding-top: 8px;
	background: #ffde17;
  transition: 0.8s ease;
}
.btn-contact-tel{
	background: #fff;
}
.btns .btn-contact:hover{
  transform: scale(1.05);
	opacity: 0.7;
}
.fixbtn{
	width: 170px;
	height: 170px;
	position: fixed;
	left: auto;
	right: 50px;
	top: 80px;
	z-index: 9999;
}
.fixbtn a img{
  transition: 0.8s ease;
}
.fixbtn a img:hover{
  transform: scale(1.05);
	opacity: 0.7;
}
.movie-wrap{
	background: #fff;
}
footer{
	background: #efefef;
	text-align: center;
	padding: 80px 0;
}
footer{
	background: #efefef;
	text-align: center;
	padding: 80px 0;
}
footer img{
	width: 150px;
}
footer h3{
	color: #767676;
	font-size: 24px;
	font-weight: 700;
	margin-top: 20px;
}
.footer-menu{
	display: flex;
	justify-content: center;
	gap:20px;
	padding: 50px 0 20px;
	flex-wrap: wrap;
}
.footer-menu li{
	list-style: none;
}
.footer-menu a{
	font-size: 16px;
	color: #7e0f0f ;
}

footer p, footer p a{
	color: #767676;
	text-align: center;
}

/********************************************* 記事詳細のスタイル */
#news-detail{
	padding-top: 200px;
}
#news-detail h2 {
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.post-date {
    color: #888;
    margin-bottom: 30px;
}

.post-content {
    line-height: 1.8;
    margin-bottom: 50px;
	text-align: justify;
}

/* 本文内の画像がはみ出さないように */
.post-content img {
    max-width: 100%;
    height: auto;
}
/* 一覧へ戻るボタンの調整 */
.back-to-top {
    display: block !important; /* 強制的に表示 */
    margin: 50px auto;        /* 上下に余白を作り、中央寄せ */
    text-align: center;
    clear: both;              /* 回り込みを解除 */
}

.back-to-top a {
    display: inline-block;
    padding: 15px 40px;
    background-color: #333;   /* 目立つ色（黒）に変更 */
    color: #fff !important;   /* 文字を白に */
    text-decoration: none;
    border-radius: 5px;
    transition: opacity 0.3s;
    font-weight: bold;
}

.back-to-top a:hover {
    opacity: 0.8;
}
@media (max-width: 767px) {
	.fixbtn{
		top: auto;
		bottom: 0;
		right: 0;
		width: 100%;
		height: auto;
		display: flex;
		justify-content: space-between;
	}
	.fixbtn a{
		width: 50vw;
		margin: 0;
		padding: 0;
	}
	.fixbtn a img{
		width: 50vw;
	}
	.btns{
		display: flex;
		flex-direction: column;
		gap:30px;
	}
	.btn-contact{
		width: 90%;
		margin: 0 auto;
		text-align: center;
		color: #7e0f0e;
		height: 40px;
		border-radius: 20px;
		font-weight: 600;
		padding-top: 8px;
	  transition: 0.8s ease;
	}
	.movie-wrap{
		padding: 5%
	}
	#news-detail{
		padding-top: 50px;
	}
}
/**********************************************************************フェード*/

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/**********************************************************************ヘッダー*/
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.header-inner {
  max-width: 1080px;
  margin: auto;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap:20px;
}

.main-nav a {
  font-size: 16px;
  letter-spacing: 0.08em;
  transition: 0.5s;
	color: #7e0f0e;
	font-weight: 500;
}
.main-nav a:hover {
  transform: scale(1.15);
	opacity: 0.7;
}

.main-nav a.nav-btn {
  border-radius: 30px;
  color: #ef8200;
  font-weight: bold;
}
.nav-btn img{
  height: 30px;
	width: auto;
}
.nav-btn:hover {
  background: #f18a00;
  color: #fff;
}

/**********************************************************************ハンバーガー */
/* ===============================
  PC用（ハンバーガーは非表示）
=============================== */
.hamburger {
  display: none;
}


/* ===============================
  モバイル用
=============================== */
@media (max-width: 767px) {

  /* ヘッダーのオレンジ帯を消す */
  .site-header {
    background: none;
    box-shadow: none;
    height: none;
  }

  .header-inner {
    padding: 0;
  }

  /* PCロゴを消す */
  .logo.pc {
    display: none;
  }

  /* -----------------------------
    ハンバーガー本体
  ----------------------------- */
  .hamburger {
    position: fixed;
    top: 0;
    right: 0;
    width: 64px;
    height: 64px;
    background: #fff;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .hamburger span {
	  position: absolute;
	  left: 50%;
	  top: 50%;
	  width: 28px;
	  height: 3px;
	  background: #000;
	  transform: translate(-50%, -50%);
	  transition: .4s;
	}

  .hamburger span:nth-child(1) {
  transform: translate(-50%, -50%) translateY(-8px);
}
.hamburger span:nth-child(2) {
  transform: translate(-50%, -50%);
}
.hamburger span:nth-child(3) {
  transform: translate(-50%, -50%) translateY(8px);
}


  .hamburger.active span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}


  /* -----------------------------
    メニュー（全画面）
  ----------------------------- */
  .main-nav {
	height: 100vh !important;
    position: fixed;
    inset: 0;
    background:rgba(126,15,14,0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    transform: translateX(100%);
    transition: .4s;
    z-index: 2000;
	top: 0;
	left: 0;
	  padding-bottom: 100px;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .main-nav a {
    color: #fff;
    font-size: 22px;
  }

  .main-nav a.nav-btn {
    background: #fff;
    color: #ef8200;
  }
}
/**********************************************************************トップ頁*/

#topmovie{
	width: 100%;
	height: 800px;
	background: #fff;
	margin-bottom: -5px;
}
@media (max-width: 767px) {
	#topmovie{
		width: 100%;
		height: 100vh;
		padding-top: 0;
		object-fit: cover;
   		object-position: center center;
	}
}

/* =========================
   タイトル
========================= */
#top-title{
    padding: 120px 0 140px;
    text-align: center;
	overflow-x: hidden;
  }

#top-title .con-inner{
    max-width: 1080px;
    margin: 0 auto 180px;
    position: relative;
    writing-mode: vertical-rl;
    display: flex;
	  justify-content: center;
}
  #top-title h1{
    position: relative;
    z-index: 3;
  }

  #top-title h1 img{
    height: 520px;   /* 画像に近いサイズ */
    margin: 0 auto;
    display: block;
  }
  .top-images{
    position: absolute;
    top: 88%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 720px;
    height: 420px;
    z-index: 2;
  }

  .top-images img{
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
  }

  /* 左上 */
  .top-images img:nth-child(1){
    top: 0;
    left: 0;
  }

  /* 右上 */
  .top-images img:nth-child(2){
    top: 0;
    right: 0;
  }

  /* 左下 */
  .top-images img:nth-child(3){
    bottom: 0;
    left: 120px;
  }

  /* 右下 */
  .top-images img:nth-child(4){
    bottom: 0;
    right: 120px;
  }



  /* アニメーション */
.img-in{
  opacity: 0;
  animation: imgIn 0.9s cubic-bezier(.22,.61,.36,1) forwards;
}
/* 左上 */
.in-1{
  transform: translate(-20px, -20px) scale(0.95);
  animation-delay: .2s;
}

/* 右上 */
.in-2{
  transform: translate(20px, -20px) scale(0.95);
  animation-delay: .35s;
}

/* 左下 */
.in-3{
  transform: translate(-20px, 20px) scale(0.95);
  animation-delay: .5s;
}

/* 右下 */
.in-4{
  transform: translate(20px, 20px) scale(0.95);
  animation-delay: .65s;
}
@keyframes imgIn{
  to{
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}


#top-title p{
	color: #7e0f0e;
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 30px;
}

@media screen and (max-width: 768px){
	#top-title{
		padding: 70px 0;
	}

  #top-title h1 img{
    height: 300px;
  }
	/* 左上 */
  .top-images img:nth-child(1){
    top: 0;
    left: 8%;
  }

  /* 右上 */
  .top-images img:nth-child(2){
    top: 0;
    right: 8%;
  }

  /* 左下 */
  .top-images img:nth-child(3){
    bottom: -5%;
    left: 20%;
  }

  /* 右下 */
  .top-images img:nth-child(4){
    bottom: -5%;
    right: 20%;
  }
	#top-title a{
		display: inline-block;
		padding: 0 5%;
		text-align: justify;
	}
	#top-title p{
		padding-top: 50px;
	}


}



#top-about {
	width: 100%;
	height: 270px;
	color: #7e0f0e;
}
#top-about div{
	height: 270px;
	padding-top: 50px;
	text-align: center;
	font-size: 38px;
	font-weight: 600;
	text-shadow:
		2px 0 0 #fff,
	   -2px 0 0 #fff,
		0 2px 0 #fff,
		0 -2px 0 #fff,
		2px 2px 0 #fff,
	   -2px -2px 0 #fff,
		2px -2px 0 #fff,
	   -2px 2px 0 #fff;
  background-image: url("images/back-tan.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}
#top-can{
	background: #fff;
	text-align: center;
	padding: 100px 0;
}
.cantitle{
	font-size: 21px;
	font-weight: 500;
	color: #7e0f0e;
	margin-bottom: 50px;
}
.contents-can{
	display: flex;
	justify-content: center;
	gap:50px;
}

.contents-can div{
	width: 360px;
}
.contents-can div img{
	width: 100%;
}
.contents-can div p{
	font-size: 25px;
	font-weight: 600;
	height: 75px;
	color: #7e0f0e;
	margin: 15px 0;
}
.contents-can div p.can02{
	font-size: 28px;
	padding-top: 20px;
}

/* =========================
   NEWS
========================= */

#top-news{
	padding: 100px;
}
#top-news h3{
	font-size: 28px;
	font-weight: 500;
	color: #7e0f0e;
	margin-bottom: 30px;
}
/* リスト全体のスタイル */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #eee; /* 一番上の線 */
	text-align: left;
}

/* 1行のスタイル */
.news-item a {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s;
}

/* ホバー時に色を変える（クリックできることを示す） */
.news-item a:hover {
  background-color: #f9f9f9;
}

/* 日付の幅を固定 */
.news-date {
  flex-basis: 120px;
  flex-shrink: 0;
  font-size: 0.9rem;
  color: #888;
}

/* カテゴリ（ラベル）のスタイル */
.news-category {
  flex-basis: 100px;
  flex-shrink: 0;
  margin-right: 20px;
  padding: 4px 8px;
  font-size: 0.75rem;
  text-align: center;
  border-radius: 4px;
  background-color: #eee; /* デフォルト色 */
}

/* タイトルのスタイル（長い時に省略せず、可変にする） */
.news-title {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* 長すぎる場合は「...」にする */
}

/* カテゴリ別の色指定（WordPressのタグ等で出し分ける準備） */
.label-info { background-color: #e3f2fd; color: #1976d2; }
.label-event { background-color: #e8f5e9; color: #388e3c; }
.label-important { background-color: #ffebee; color: #d32f2f; }

/* スマホ対応：幅が狭いときは縦並びにする */
@media (max-width: 600px) {
  .news-item a {
    flex-wrap: wrap;
  }
  .news-date {
    flex-basis: 30%;
  }
  .news-category {
    flex-basis: auto;
    margin-right: 0;
  }
  .news-title {
    flex-basis: 100%;
    margin-top: 8px;
  }
}

@media screen and (max-width: 768px){
	.contents-can{
		display: flex;
		flex-direction: column;
		gap:30px;
	}
	.contents-can div{
		width: 100%;
	}
	.contents-can div p.can02{
		padding-top: 0;
		height:auto;
	}
	#top-news{
		padding: 50px 5%;
	}
	#top-can{
		padding: 50px 5%;
	}
	.contents-can div a{
		text-align: justify;
		width: 100%;
		display: inline-block;
	}
}
/**********************************************************************商品案内ページ*/

/* video / thumb 共通 */
.item-video,
.item-thumb {
  width: 100%;
  cursor: pointer;
}

/* =========================
   PC ホバー表示
========================= */
.video-wrap {
  position: relative;
  cursor: pointer;
}

.video-hover {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 14px;
  letter-spacing: .1em;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.video-wrap.pc:hover .video-hover {
  opacity: 1;
}
/* =========================
   モーダル
========================= */
/* モーダル */
#video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#video-modal.active {
  display: flex;
}

#video-modal .video-wrap {
  position: relative;
  width: 80%;
  max-width: 960px;
  text-align: center;
}

#video-modal video {
  width: 100%;
}

/* ×ボタン：動画の下中央 */
.modal-close {
  margin-top: 16px;
  font-size: 28px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}


/* モバイル微調整 */
@media (max-width: 768px) {
  #video-modal .video-wrap {
    width: 90%;
  }
}
.items-con{
	padding: 80px 0;
}
.items-con h1{
	font-size: 36px;
	color: #7e0f0e;
	font-weight: medium;
	margin: 0 auto 80px;
	line-height: 1.2;
}
.itemlist{
	display: flex;
	justify-content: center;
	gap:30px;
	max-width: 900;
	flex-wrap: wrap;
	margin: 50px auto;
}
.itemlist .item{
	width: 350px;
	background: #7e0f0e;
	border-radius: 18px;
	padding: 20px;
}
.item h3{
	font-size: 27px;
	font-weight: 900;
	color: white;
	margin-bottom: 20px;
}
.video-wrap video{
	border-radius: 20px;
	margin-bottom: 10px;
}
.btn-item{
	display: block;
	height: 44px;
	border-radius: 22px;
	font-size: 16px;
	font-weight: 600;
	color: #7e0f0e;
	background: #ffde17;
	padding-top: 10px;
	margin-top: 5px;
}
.items-con h2{
	color: #7e0f0e;
	text-align: center;
	font-size: 36px;
}
.btn-allitem{
	display: inline-block;
	margin: 20px auto;
	height: 44px;
	border-radius: 22px;
	font-size: 16px;
	font-weight: 600;
	color: #7e0f0e;
	background: #ffde17;
	padding: 10px 30px 0;
}
.items-lead{
	display: inline-block;
}
.btn-item:hover, .btn-allitem:hover{
  transform: scale(1.105);
	opacity: 0.7;
}
@media (max-width: 768px) {
	.items-con h1{
		font-size: 32px;
	}
	.items-con .lead{
		display: inline-block;
		text-align: justify;
		padding: 5%;
	}
	.itemlist{
		flex-direction: column;
		padding: 5%;
	}
	.itemlist .item{
		width: 100%;
	}
	.btn-item{
		margin-top: 10px;
	}

}

/**********************************************************************製造環境*/
#seizo, #seizo .con-inner{
	background: #fff;
	text-align: center;
}
.seizomovie{
	display: block;
	width: 730px;
	margin: 80px auto;
}

#seizo .con-inner{
	padding-bottom: 80px;
}

#seizo h1, #seizo h2{
	font-size: 36px;
	color: #7e0f0e;
	font-weight: medium;
	margin: 0 auto 80px;
	line-height: 1.2;
}
.gaikan{
	width: 600px;
	margin: 80px auto 0;
}

.dotted-line {
  display: flex;
  justify-content: space-between; /* 点を均等に配置 */
  width: 130px;
	margin: 80px auto;

}

.dotted-line span {
  display: block;
  width: 7px;
  height: 7px;
  background-color: #7e0f0e; /* 点の色 */
  border-radius: 50%;      /* 丸にする */
}

.facilitys{
	display: flex;
	justify-content: center;
	gap:20px;
	margin-top: 80px;
}
.facilitys div{
	width: 230px;
}
.facilitys div img{
	margin-bottom: 10px;
}
.seizo-ill{
	width: 600px;
}
@media (max-width: 768px) {
	.seizomovie{
		width: 100%;
		margin: 0;
		background: #fff;
	}
	#seizo .con-inner{
		padding: 0 5% 50px;
	}
	#seizo h1, #seizo h2{
		font-size: 32px;
		margin: 0 auto 50px;
	}
	.gaikan{
		width: 100%;
		margin: 30px auto 0;
	}
	.dotted-line {
		margin: 10px auto;
	}
	.facilitys{
		flex-direction: column;
		margin-top: 50px;
	}
	.facilitys div{
		width: 100%;
		display: flex;
		flex-direction: column;
	}
	.seizo-ill{
		width: 60%;
		margin: 0 auto;
	}
	#seizo .lead{
		display: inline-block;
		text-align: justify;
	} 
}

/**********************************************************************カテゴリー別ページ共通*/
.categorytitle{
	height: 230px;
	text-align: center;
	background: #7e0f0e;
	padding-top: 100px;
}
.categorytitle img{
	width: 60px;
}
.categorytitle h1{
	color: #fff;
	font-size: 46px;
	margin-top: 15px;
	font-weight: 600;
}
.category-movie{
	display: block;
	width: 730px;
	margin: 80px auto;
}
.category-con{
	text-align: center;
	padding-top: 0;
}
.category-con h4{
	line-height: 1.2;
	margin-bottom: 30px;
}

@media (max-width: 767px) {
	.category-movie{
		width: 100%;
		margin: 0 auto;
	}
}




.mob{
	display: none;
}

/**********************************************************************モバイル用*/

@media screen and (max-width: 767px) {
	.mob{
		display: block;
	}
	.pc{
		display: none;
	}
}
