@charset "utf-8";

/* ----------------------------------------------------
   main
---------------------------------------------------- */
/* =================================-------------------
   2回目以降の訪問（.is-visited 付与時）の制御
---------------------------------------------------- */
/* 1. グレー背景のオープニング要素を非表示 */
body.is-visited .p-anima-9__intro {
	display: none !important;
}

/* 2. 2番目の文字（.p-mv__title02）を最初から完全表示 */
body.is-visited .p-mv__title02 {
	opacity: 1 !important;
	transform: translateY(0) !important;
	animation: none !important;
}

/* ----------------------------------------------------
  main
---------------------------------------------------- */
.main_zone {
	background: linear-gradient(to bottom, #fff 20%, #ff9900 20%);  
	border-bottom: #ff9900 45px solid;
}

@media print, screen and (min-width: 768px) {
.main_zone {
	border-bottom: #ff9900 80px solid;
  }
}

.p-anima-9 {
	position: relative;
	overflow: hidden;
}

.p-mv {
	display: flex;
	justify-content: flex-end; 
	align-items: center;
	width: 100%;
	height: 80vh;
	height: 80dvh;	
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	position: relative;
	box-sizing: border-box;
	margin-left: 10%;
	width: 90%;
}

@media print, screen and (min-width: 768px) {
.p-mv {
	height: 100vh;
	height: 100dvh;
  }
}

@media screen and (min-width: 1500px) {
	.p-mv {
		margin-left: 150px;
		width: calc(100% - 150px);
	}
}

/* メイン背景画像 */
.main_imgs {
	background-image: url("../images/main.jpg");
}

.p-mv::before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
}

/* ----------------------------------------------------
  オープニングアニメーション
---------------------------------------------------- */
.p-anima-9__intro {
	display: flex;
	justify-content: center; /* 左右中央 */
	align-items: center;     /* 上下中央 */
	background-color: #222;  /* 背景色 */
	position: fixed;
	top: 55px;
	left: 0;
	z-index: 9;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
}

@media print, screen and (min-width: 768px) {
.p-anima-9__intro {
	top: 55px;
  }
}

@media print, screen and (min-width: 992px) {
.p-anima-9__intro {
	top: 80px;
  }
}

.p-anima-9.__anima .p-anima-9__intro {
	animation: anima_intro_9 0.7s cubic-bezier(0.46, 0.26, 0.15, 0.89) 1.6s 1 forwards;
}

.p-anima-9__intro p {
	overflow: hidden;
	position: relative;
}

.p-anima-9__intro p::before {
	content: "";
	display: block;
	background-color: #222; /* 背景色 */
	position: absolute;
	bottom: -100%;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 1.5em;
}

.p-anima-9.__anima .p-anima-9__intro p::before {
	animation: anima_title_musk_9 0.5s cubic-bezier(0.46, 0.26, 0.15, 0.89) 0.6s 1 forwards;
}
.p-anima-9__intro p span {
	display: block;
	color: #fff;
	transform: translate(0, 105%);
}
.p-anima-9.__anima .p-anima-9__intro p span {
	animation: anima_title_9 0.5s cubic-bezier(0.46, 0.26, 0.15, 0.89) 1 forwards;
}

/* 最初の文字 */
.p-mv__title {
	color: #fff;
	font-size: 28px;
	line-height: 50px;
	letter-spacing: 3px;
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0;
	text-align: center;
}
@media print, screen and (min-width: 768px) {
	.p-mv__title {
		font-size: 40px;
		line-height: 70px;
		letter-spacing: 5px;    
	}
}
@media print, screen and (min-width: 992px) {
	.p-mv__title {
		font-size: 50px;
		line-height: 80px;
		letter-spacing: 10px;    
	}
}

/* ----------------------------------------------------
   2番目に登場する画像・文字
---------------------------------------------------- */
.p-mv__title02 {
	color: #fff;
	font-size: 20px;
	line-height: 20px;
	letter-spacing: 5px;
	position: relative;
	z-index: 1;
	margin: 0 0 0 auto;
	padding: 0 5vw 0 0;
	width: 100%;
	max-width: 320px;
	box-sizing: border-box;
	opacity: 0;
	transform: translateY(20px);
}

/* .__anima クラスがついたときのアニメーション */
.p-anima-9.__anima .p-mv__title02 {
	animation: anima_title02 0.8s ease-out 2.4s 1 both;
}

@media print, screen and (min-width: 768px) {
	.p-mv__title02 {
		padding: 0 6vw 0 0;
		max-width: 400px;
	}
}
@media print, screen and (min-width: 1200px) {
	.p-mv__title02 {
		padding: 0 8vw 0 0;
		max-width: 498px;
	}
}

/* ----------------------------------------------------
   アニメーションキーフレーム
---------------------------------------------------- */
@keyframes anima_title_9 {
	0% { transform: translate(0, 105%); }
	100% { transform: translate(0, 0); }
}

@keyframes anima_title_musk_9 {
	0% { bottom: -100%; }
	100% { bottom: 0; }
}

@keyframes anima_intro_9 {
	0% { left: 0; }
	100% { left: 100vw; } /* 画面外の右へ消えるように調整 */
}

/* 2番目の文字が下からスッと浮き上がる動き */
@keyframes anima_title02 {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ----------------------------------------------------
   スライダー（流れる画像）
---------------------------------------------------- */
.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}
.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0
}
.scroll-infinity__list--left {
  animation: infinity-scroll-left 200s infinite linear 0.5s both;
}
.scroll-infinity__item {
  width: calc(100vw / 3);
}
@media print, screen and (min-width: 992px) {
.scroll-infinity__item {
  width: calc(100vw / 5);
  }
}
.scroll-infinity__item>img {
  width: 100%;
}

/* ----------------------------------------------------
   流れる画像　右からの左へ　←←←←←
---------------------------------------------------- */
@keyframes infinity-scroll-left {
from {
  transform: translateX(0);
}
  to {
  transform: translateX(-100%);
}
}
.scroll-infinity__list--left {
animation: infinity-scroll-left 200s infinite linear 0.5s both;
}

/* ----------------------------------------------------
   流れる画像　左からの右へ　→→→→→
---------------------------------------------------- */
@keyframes infinity-scroll-right {
from {
  transform: translateX(-100%);
}
  to {
  transform: translateX(0%);
}
}
.scroll-infinity__list--right{
  animation :infinity-scroll-right 200s infinite linear 0.5s both;
}

/* ----------------------------------------------------
  h2
---------------------------------------------------- */
/* ----------------------------------------------------
  ぼかしから出現
---------------------------------------------------- */
.blur{
	animation-name:blurAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
}

@keyframes blurAnime{
  from {
	filter: blur(10px);
	transform: scale(1.02);
  }

  to {
	filter: blur(0);
	transform: scale(1);
  }
}

/* 左寄せ　背景画像あり　文字アニメーション
---------------------------------------------------- */
.h2_02{background: url("../images/h2_02.jpg") no-repeat scroll 50% 0% / cover;}
.h2_03{background: url("../images/h2_03.jpg") no-repeat scroll 50% 0% / cover;}
.h2_04{background: url("../images/h2_04.jpg") no-repeat scroll 50% 0% / cover;}
.h2_05{background: url("../images/h2_05.jpg") no-repeat scroll 50% 0% / cover;}

.h2_midasi_01_bgimg {
  position: relative;
  color: white;
  z-index: 0;
  overflow: hidden;
}
.h2_midasi_01_bgimg::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* ここで暗さを調整 */
  z-index: -1; /* 背景の後ろに来ないように注意 */
}
.h2_midasi_01{
	padding:50px 0;
	text-align: center;
	color: #fff;
}
@media print, screen and (min-width: 768px) {.h2_midasi_01{padding:90px 0; text-align: left;}}
@media print, screen and (min-width: 992px) {.h2_midasi_01{padding:100px 0;}}
@media print, screen and (min-width:1200px) {.h2_midasi_01{padding:120px 0;}}

.h2_midasi_01 p{
	font-size: 40px;
	line-height:50px;
	letter-spacing:2px;
  font-weight: 600;
	}
.h2_midasi_01 h1{
	font-size: 18px;
	letter-spacing:2px;
}
@media print, screen and (min-width: 768px) {
.h2_midasi_01 p{
	font-size: 55px;
	line-height:65px;
	letter-spacing:3px;  
	}
.h2_midasi_01 h1{
	font-size: 22px;
	letter-spacing:5px;
	}
}
@media print, screen and (min-width: 992px) {
.h2_midasi_01 p{
	font-size: 65px;
	line-height:75px;
	}
.h2_midasi_01 h1{
	font-size: 25px;
	}
}
@media print, screen and (min-width: 1200px) {
.h2_midasi_01 p{
	font-size: 75px;
	line-height:90px;
	}
.h2_midasi_01 h1{
	font-size: 30px;
	}
}
@media print, screen and (min-width: 1400px) {
.h2_midasi_01 p{
	font-size: 80px;
	line-height:100px;
	}
.h2_midasi_01 h1{
	font-size: 30px;
	}
}

/* ----------------------------------------------------
	 カテゴリー（カタログ）
---------------------------------------------------- */
/* 共通余白　必須class
---------------------------------------------------- */
.tenkai_ctedeae4rg{
  padding:0;
}

@media print, screen and (min-width: 1200px) {
.tenkai_ctrg{
    padding:0;
  }
}

@media only screen and (max-width: 767px) {
.tenkai_ctrg .accordion dd ul{
  border-right:1px solid #eee;
  border-left:1px solid #eee;
  border-bottom:1px solid #eee;
  }
.tenkai_ctrg .accordion dd li a{
  border-top:1px solid #eee;
  }
}

/* アコーディオン基本
---------------------------------------------------- */
.tenkai_ctrg .accordion dt{
  display:block;
  width:100%;
  padding:15px 20px;
  font-weight:normal;
  color:#fff;
  background:#ff9900;/* 背景　メインカラー */
  cursor:pointer;
}

.tenkai_ctrg .accordion dd{
  display:none;
}

.tenkai_ctrg .accordion dd ul{
  list-style:none;
  padding:0;
  margin:0;
}

.tenkai_ctrg .accordion dd li a{
  display:block;
  padding:15px 40px 15px 20px;
  border-top:1px solid #eee;  
  transition:.3s;
  position:relative;
}

@media only screen and (max-width: 767px) {
.tenkai_ctrg .accordion dd li a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  }
}

/* 縦メニュー　角丸
---------------------------------------------------- */
@media only screen and (max-width: 767px) {
.tenkai_ctrg .accordion dt{
  border-radius:0;
  }
.tenkai_ctrg .accordion dd li:last-child a{
  border-radius:0;
  border-bottom:none;
  }
}

/* リンク
---------------------------------------------------- */
.tenkai_ctrg .accordion dd li a:link,
.tenkai_ctrg .accordion dd li a:visited{
  color:#222;
  background:#fff;
}

.tenkai_ctrg .accordion dd li a:hover{
  color:#fff;
  background:#ff9900;  
}

/* アイコン
--------------------------- */
.tenkai_ctrg .accordionIcon{
  position:relative;
  float:right;
  top:2px;
  width:30px;
  height:25px;
}
.tenkai_ctrg .accordionIcon span{
  position:absolute;
  left:0;
  width:100%;
  height:2px;
  background:#fff;
  transition:.4s;
}
.tenkai_ctrg .accordionIcon span:nth-of-type(1){top:0;}
.tenkai_ctrg .accordionIcon span:nth-of-type(2){top:11px;}
.tenkai_ctrg .accordionIcon span:nth-of-type(3){bottom:0;}
.tenkai_ctrg .active .accordionIcon span:nth-of-type(1){
  transform:translateY(11px) rotate(-315deg);
}
.tenkai_ctrg .active .accordionIcon span:nth-of-type(2){
  opacity:0;
}
.tenkai_ctrg .active .accordionIcon span:nth-of-type(3){
  transform:translateY(-11px) rotate(315deg);
}

/* 現在選択中のカテゴリ
---------------------------------------------------- */
@media only screen and (max-width: 767px) {
.tenkai_ctrg .navon{
  background:#eee !important;
  color:#222 !important;
  }
}

@media print, screen and (min-width: 768px) {
.tenkai_ctrg .navon{
  background:#ff9900 !important; /* 選択中　背景色 */
  color:#fff !important;
  }
}

/* ----------------------------------------------------
   カテゴリ（横並び）
---------------------------------------------------- */
@media print, screen and (min-width: 768px) {
  .tenkai_ctrg--a .accordion dd {
    display: block;
  }

  .tenkai_ctrg--a .accordion dd ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .tenkai_ctrg--a .accordion dd li {
    width: auto;
    max-width: 100%; 
  }

  .tenkai_ctrg--a .accordion dd li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 100px;
    border: 2px solid #222;
    background: #fff;
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* ----------------------------------------------------
	 カテゴリー（カタログ）
---------------------------------------------------- */
/* 共通余白　必須class
--------------------------- */
.tenkai_ctrg_02{
  padding:0 0 20px 0;
}

@media print, screen and (min-width: 1200px) {
.tenkai_ctrg_02{
    padding:0 0 30px 0;
  }
}

/* アコーディオン基本
--------------------------- */
.tenkai_ctrg_02 .accordion dt{
  display:block;
  width:100%;
  padding:15px 20px;
  font-weight:normal;
  color:#fff;
  background:#ff9900;/* 背景　メインカラー */
  cursor:pointer;
}

.tenkai_ctrg_02 .accordion dd{
  display:none;
}

.tenkai_ctrg_02 .accordion dd ul{
  list-style:none;
  padding:0;
  margin:0;
  border-bottom:1px solid #ccc;  
}

.tenkai_ctrg_02 .accordion dd li a{
  display:block;
  padding:15px 40px 15px 20px;
  border-top:1px solid #ccc;
  border-right:1px solid #ccc;
  border-left:1px solid #ccc;  
  transition:.3s;
  position:relative;
}

/* 縦メニュー　角丸
--------------------------- */
@media only screen and (max-width: 767px) {
.tenkai_ctrg_02 .accordion dt{
  border-radius:0;
  }
.tenkai_ctrg_02 .accordion dd li:last-child a{
  border-radius:0;
  border-bottom:none;
  }
}

@media print, screen and (min-width: 768px) {
.tenkai_ctrg--b .accordion dd li:first-child a{
  border-radius:0;
  }
.tenkai_ctrg--b .accordion dd li:last-child a{
  border-radius:0;
  }
}

/* リンク
--------------------------- */
.tenkai_ctrg_02 .accordion dd li a:link,
.tenkai_ctrg_02 .accordion dd li a:visited{
  color:#222;
  background:#fff;
}

.tenkai_ctrg_02 .accordion dd li a:hover{
  color:#222;
  background:#eee;  
}

/* アイコン
--------------------------- */
.tenkai_ctrg_02 .accordionIcon{
  position:relative;
  float:right;
  width:24px;
  height:24px;
}

.tenkai_ctrg_02 .accordionIcon span{
  position:absolute;
  left:0;
  width:100%;
  height:2px;
  background:#fff;
  transition:.4s;
}

.tenkai_ctrg_02 .accordionIcon span:nth-of-type(1){top:0;}
.tenkai_ctrg_02 .accordionIcon span:nth-of-type(2){top:11px;}
.tenkai_ctrg_02 .accordionIcon span:nth-of-type(3){bottom:0;}

.tenkai_ctrg_02 .active .accordionIcon span:nth-of-type(1){
  transform:translateY(11px) rotate(-315deg);
}

.tenkai_ctrg_02 .active .accordionIcon span:nth-of-type(2){
  opacity:0;
}

.tenkai_ctrg_02 .active .accordionIcon span:nth-of-type(3){
  transform:translateY(-11px) rotate(315deg);
}

/* 現在選択中のカテゴリ
--------------------------- */
@media only screen and (max-width: 767px) {
.tenkai_ctrg_02 .navon{
  background:#eee !important;
  color:#222 !important;
  }
}

@media print, screen and (min-width: 768px) {
.tenkai_ctrg_02 .navon{
  background:#ff9900 !important; /* 選択中　背景色 */
  color:#fff !important;
  }
}

/* faq
----------------------------- */
.p-faq__headinner_02 {
  display: block;
  position: relative;
  line-height: 1.5;
}
.p-faq__bodyinner_02 {
  display: block;
  position: relative;
  line-height: 1.5;
}

/* ----------------------------------------------------
   カテゴリ Bタイプ（縦メニュー）
---------------------------------------------------- */
.tenkai_ctrg--b .accordion dd li a::after{
	font-family: "Font Awesome 5 Free";
  content:"\f054";
  font-weight:900;
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  font-size:14px;
  }

@media print, screen and (min-width: 768px) {
.tenkai_ctrg--b .accordion dd{
  display:block;
  }
.tenkai_ctrg--b .accordion dd ul{
  display:block;
  }
.tenkai_ctrg--b .accordion dd li{
  width:100%;
  }
.tenkai_ctrg--b .accordion dd li a{
  text-align:left;
  border-radius:0;
  }
}

/* 追従 */
@media screen and (min-width: 768px) {
.tenkai_ctrg--b {
    position: -webkit-sticky;
    position: sticky;
    top: 115px;
    z-index: 1;
    height: max-content;
  }
}
@media screen and (min-width: 992px) {
.tenkai_ctrg--b {
    top: 120px;
  }
}

/* paging
---------------------------------------------------- */
.paging { text-align: center; font-size: 90%;}
.paging span.current,
.paging span.paging-text{
	margin:0px 0.5px;
	color:#333;
	border:2px solid #333;
	zoom:1;
	display:inline-block;
	overflow:hidden;
	text-decoration:none;
	background: #fff;
}
.paging span.paging-text a{
	padding:5px 8.5px;
	display:block;
	color: #333;
}
.paging span.current{
	background: #333;
	border:2px solid #333;
	color:#fff;
	zoom:1;
	padding:5px 8.5px;
	text-decoration:none;
	display:inline-block;
	cursor:pointer;
}
.paging span.paging-text a:hover{
	background: #333;
	color:#fff;
	text-decoration:none;
	cursor:pointer;
	opacity: 1;
}

@media print, screen and (min-width: 768px) {
	.paging { font-size: 100%;}
	.paging span.current,
	.paging span.paging-text{margin:0px 2px;}
	.paging span.paging-text a{padding:10px 15px;}
	.paging span.current{padding:10px 15px;}
}
