@charset "UTF-8";
/* CSS Document */


html, body{
  padding: 0;
  margin: 0;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  background-color: #F7F5EB;
  color: #333333;
  font-feature-settings: "palt";
  text-align: justify;
}

a{
  text-decoration: none;
  transition: 0.3s;
  opacity: 1;
}
a:hover{
  opacity: 0.6;
}





/*フェードイン*/
.fadein {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fadein.shows {
    opacity: 1;
    transform: translateY(0);
}




header{
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  box-shadow: 0 0 5px gray;
  background-color: #190000;
  z-index: 999999;
}

.header_nk{
  display: flex;
  justify-content: center;
  width: 1000px;
  margin: auto;
}
.header_nk a{
  display: block;
  margin: 20px 0px 0 0px;
  color: #F7F5EA;
/*  border-right: solid 1px #F7F5EA;*/
  padding: 0 20px;
}
.header_nk a:nth-child(5){
  border-right: none;
}
.header_hr{
  display: block;
  width: 1px;
  height: 20px;
  background-color: #F7F5EA;
  margin-top: 20px;
}
.header_nk_sp{
  display: none;
}



main{
  display: block;
  width: 100%;
  height: auto;
}

.main_view{
  display: block;
  position: relative;
  width: 100%;
  height: 55vw;
  background-color: #ADADAD;
  background-image: url("../img/top_img.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}
.main_view img{
  display: block;
  position: absolute;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%);
}




.main_view_st{
  display: block;
  position: absolute;
  width: 100%;
  height: 80px;
  background-color: #1D0000;
  top: 52vw;
}
.main_view_st_nk{
  display: block;
  text-align: center;
  line-height: 80px;
  color: #FFFFFF;
}
.main_view_st_nk p{
  display: inline-block;
  width: 70px;
  height: 30px;
  background-color: #CB0003;
  line-height: 30px;
  border-radius: 5px;
  margin-right: 20px;
}
.main_view_st_nk span{
  display: inline-block;
  color: #D6D6D6;
  margin-right: 20px;
}



.c_one_st{
  display: block;
  width: 100%;
  height: auto;
  margin: auto;
  background-color: #F7F5EB;
/*
  background-image: url("../img/c_one_bg.jpg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
*/
}
.c_one{
  display: block;
  width: 300px;
  margin: 0px auto;
  padding: 140px 0 100px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  align-items: center;
  font-family: "Yuji Syuku", serif;
  font-weight: 400;
  font-style: normal;
}
.c_one h1{
  display: block;
  text-align: start;
  font-size: 26px;
}
.c_one p{
  display: block;
  margin: 0px auto 0;
  font-size: 20px;
  line-height: 50px;
}



.c_two_st{
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background-color: #F7F5EB;
  padding: 100px 0;
}
.c_two{
  display: flex;
  justify-content: space-between;
  width: 1000px;
  margin: auto;
}
.c_two_left{
  display: block;
  width: 450px;
  line-height: 35px;
}
.c_two_left h1{
  font-size: 28px;
}
.c_two_right {
  display: block;
  width: 400px;
  height: 400px;
  background-color: #C6C6C6;
  background-image: url("../img/race1.png");
  background-size: cover;
  background-position: left center;
  border-radius: 20px;
  overflow: hidden;

  /* 出る前の状態 */
  clip-path: inset(0 100% 0 0);  /* 左→右ワイプ */
  opacity: 0;                    /* フェードイン前 */
  transform: translateY(30px) scale(1.05);  /* 下から + ちょいズーム */

  transition:
    clip-path 1.1s cubic-bezier(.19,1,.22,1),
    opacity 1s ease-out,
    transform 1.1s cubic-bezier(.19,1,.22,1);
}

/* 表示状態 */
.c_two_right.show {
  clip-path: inset(0 0 0 0);   /* 左→右ワイプ開く */
  opacity: 1;                  /* フェードイン */
  transform: translateY(0) scale(1); /* 下→上の移動＆ズーム収束 */
}


.c_three_st{
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background-color: #F7F5EB;
  padding: 0px 0 100px 0;
}
.c_three{
  display: flex;
  justify-content: space-between;
  width: 1000px;
  margin: auto;
}
.c_three_left{
  display: block;
  width: 400px;
  height: 400px;
  background-color: #C6C6C6;
  background-image: url("../img/race2.png");
  background-size: cover;
  background-position: center center;
  border-radius: 20px;
  overflow: hidden;

  /* 出る前の状態 */
  clip-path: inset(0 100% 0 0);  /* 左→右ワイプ */
  opacity: 0;                    /* フェードイン前 */
  transform: translateY(30px) scale(1.05);  /* 下から + ちょいズーム */

  transition:
    clip-path 1.1s cubic-bezier(.19,1,.22,1),
    opacity 1s ease-out,
    transform 1.1s cubic-bezier(.19,1,.22,1);
}

/* 表示状態 */
.c_three_left.show2 {
  clip-path: inset(0 0 0 0);   /* 左→右ワイプ開く */
  opacity: 1;                  /* フェードイン */
  transform: translateY(0) scale(1); /* 下→上の移動＆ズーム収束 */
}
.c_three_right{
  display: block;
  width: 450px;
  line-height: 35px;
}
.c_three_right h1{
  font-size: 28px;
}



.jisseki_new{
  display: block;
  width: 1000px;
  margin: 80px auto -80px;
}
.jisseki_new h1{
  font-size: 30px;
  text-align: center;
  color: #950000;
}
.jisseki_new img{
  display: block;
  width: 400px;
  margin: auto;
}



.main_phot1{
  display: block;
  width: 100%;
  height: 300px;
  background-color: #B4B4B4;
  background-image: url("../img/phot1.jpg");
  background-size: cover;
  background-position: center center;
}
.main_phot1 h1{
  display: block;
  text-align: center;
  font-size: 40px;
  color: #F7F5EA;
  line-height: 300px;
}


.main_phot2{
  display: block;
  width: 100%;
  height: auto;
  background-color: #B4B4B4;
  padding: 50px 0;
  background-image: url("../img/phot2.jpg");
  background-size: cover;
  background-position: center center;
}
.main_phot2 h1{
  display: block;
  text-align: center;
  margin-bottom: 30px;
  font-size: 40px;
  color: #F7F5EA;
}
/*スライドショー*/
.main_phot2{
  display: block;
  width: 100%;
  height: auto;
  background-color: #B4B4B4;
  padding: 50px 0;
}
.main_phot2 h1{
  display: block;
  text-align: center;
  margin-bottom: 30px;
  font-size: 40px;
}

/*スライドショー*/
.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: auto;

  /* ✨ 中央は見える・両端は透明になるマスク */
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%);
  mask-image: linear-gradient(to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%);
}

/* スライダー本体 */
/* ★ CSSアニメーションは消す */
.slider-track {
  display: flex;
  /* width は自動（中身の幅のまま）に任せる */
}

/* ★ ここも不要になるので削除
.slider-container:hover .slider-track {
  animation-play-state: paused;
}
*/

/* スライド要素 */
.slide {
  flex: 0 0 25vw;   /* ここはそのままでOK（vw指定のまま） */
  width: auto;
  height: auto;
  margin: 0 10px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img{
  display: block;
}

/* ★ @keyframes scroll も削除 */





/*
.c_four_st{
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background-color: #F7F5EB;
  padding: 100px 0 0px 0;
}
.c_four{
  display: block;
  width: 1000px;
  margin: auto;
  line-height: 35px;
}
*/
.c_four h1{
  display: block;
  text-align: center;
  font-size: 40px;
}
.c_four h1 span{
  display: block;
  margin-top: 30px;
  color: #A50000;
}



.c_four_st{
  display: block;
  width: 100%;
  margin: 0 auto;
  background-color: #F7F5EB;
  padding: 100px 0 0px 0;
}

.c_four{
  display: block;
  width: 1000px;
  margin: auto;
  line-height: 35px;
}

/* 横並びレイアウト */
.p_flex{
  display: grid;
  grid-template-columns: 400px 1fr;
  column-gap: 80px;
  align-items: flex-start;
}

/* ★ sticky を「左カラム」にかける */
.p_flex_left{
  position: sticky;
  top: 120px;      /* ここで止まる位置 */
  align-self: flex-start;
  margin-top: 30px;
  padding-bottom: 20px;
}

/* 画像ボックスは普通の block で OK */
.p_flex_phot{
  width: 400px;
  height: 400px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: opacity 0.4s ease;
}

/* フェード中（透明になる） */
.p_flex_phot.is-fading{
  opacity: 0;
}

.p_flex_right p{
  font-size: 18px;
  width: 100%;
}

/* c_four_st セクション内の fadein は transform 無効 */
.c_four_st .fadein{
  transform: none !important;
}

/* もし .p_flex や .p_flex_left 自体に fadein を付けているなら、念のため */
.p_flex.fadein,
.p_flex_left.fadein{
  transform: none !important;
}
.p_flex p{
  font-size: 18px;
  width: 500px;
}
/*追加*/





.c_four_box_st{
  display: flex;
  justify-content: flex-end;
  margin: 60px auto 0;
}
.c_four_box_left{
  display: block;
  width: 500px;
  margin-right: 20px;
}
.c_four_box_left h2{
  display: block;
  font-size: 40px;
}
.c_four_box{
  display: flex;
  justify-content: flex-start;
  background-color: #950000;
  margin: 0 0 20px 0;
  width: 100%;
  height: 60px;
  border-radius: 20px;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
  font-weight: bold;
}
.c_four_span1{
  display: block;
  line-height: 30px;
  width: 80px;
  height: 30px;
  background-color: #F7F5EA;
  text-align: center;
  margin-top: 15px;
  border-radius: 5px;
  margin-right: 15px;
  margin-left: 50px;
}
.c_four_span2{
  text-decoration: line-through;
  margin-right: 10px;
}
.c_four_box p{
  color: #FFE700;
  font-size: 20px;
  line-height: 60px;
  margin: 0;
}


.c_four_box_right {
  display: none;
  width: 400px;
  height: 400px;
  background-color: #C6C6C6;
  background-image: url("../img/yorokobi.png");
  background-size: cover;
  background-position: left center;
  border-radius: 20px;
  overflow: hidden;

  /* 出る前の状態 */
  clip-path: inset(0 100% 0 0);  /* 左→右ワイプ */
  opacity: 0;                    /* フェードイン前 */
  transform: translateY(30px) scale(1.05);  /* 下から + ちょいズーム */

  transition:
    clip-path 1.1s cubic-bezier(.19,1,.22,1),
    opacity 1s ease-out,
    transform 1.1s cubic-bezier(.19,1,.22,1);
}

/* 表示状態 */
.c_four_box_right.show3 {
  clip-path: inset(0 0 0 0);   /* 左→右ワイプ開く */
  opacity: 1;                  /* フェードイン */
  transform: translateY(0) scale(1); /* 下→上の移動＆ズーム収束 */
}





.c_five_st{
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background-color: #F7F5EB;
  padding: 0px 0 50px 0;
}
.c_five{
  display: block;
  width: 1000px;
  margin: auto;
}
.c_five h1{
  display: block;
  text-align: center;
  font-size: 40px;
  background-color: #000A6B;
  border-radius: 20px;
  color: #FFE700;
}
.c_five p{
  font-size: 25px;
  font-weight: bold;
}
.c_five p span{
  color: #A50000;
}





.contact_st{
  display: block;
  width: 95%;
  max-width: 1200px;
  height: auto;
  padding: 60px 0;
  background-color: #A3A3A3;
  margin: 0 auto 30px;
  border-radius: 20px;
  background-image: url("../img/25383785_m.jpg");
  background-size: cover;
  background-position: center center;
}

.contact{
  display: block;
  width: 500px;
  margin: 0 0 0 80px;
}
.contact h1{
  display: inline-block;
  color: #F7F5EA;
  font-size: 40px;
  margin-top: 0px;
  text-align: justify;
  font-style: normal;
  line-height: 0;
}
.contact h1 span{
  display: inline-block;
  font-size: 25px;
  margin-left: 20px;
}


.contact_nk{
  display: block;
  width: 350px;
  height: auto;
  margin: 0;
  border: solid 3px #F7F5EA;
  border-radius: 10px;
  background-color: rgb(23 0 0 / 0.3);
  text-align: justify;
  padding: 20px 0;
}
.tel{
  font-size: 30px;
  font-weight: bold;
  color: #F7F5EA;
  margin: 0 0 0 30px;
}
.tel span{
  font-size: 18px;
  color: #F7F5EA;
}
.main_contact_uktk{
  display: block;
  margin: 0 0 0 30px;
  color: #F7F5EA;
  text-align: justify;
  font-size: 15px;
}







footer{
  display: block;
  position: relative;
  width: 100%;
  height: 270px;
  background-color: #1D0000;
}

.footer_nk{
  display: block;
  width: 1000px;
  margin: auto;
  padding: 60px 0;
}
.footer_up{
  display: block;
  width: 300px;
  height: auto;
  margin: 0px auto 0;
  text-align: center;
}
.footer_down{
  display: flex;
  justify-content: center;
  margin: 40px auto 0;
}
.footer_down a{
  display: block;
  margin: 0 10px;
  color: #F7F5EA;
}


.footer_under{
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  text-align: center;
  color: #FFFFFF;
  font-size: 10px;
  background-color: #0D0D0D;
  line-height: 30px;
}




.main_view_sub{
  display: block;
  width: 95%;
  max-width: 1200px;
  height: 250px;
  background-color: #CDCDCD;
  text-align: center;
  line-height: 250px;
  margin: 100px auto 0;
  border-radius: 20px;
  background-image: url("../img/sub_img.jpg");
  background-size: cover;
  background-position: center center;
  color: #F7F5EA;
}





.main_view_sub_content{
  display: block;
  width: 95%;
  max-width: 800px;
  margin: 60px auto;
  padding-bottom: 50px;
  padding-top: 50px;
}
.main_view_sub_content h3{
  display: block;
  text-align: start;
  color: #222222;
  border-bottom: solid 2px #828282;
}
.main_view_sub_content h5{
  color: #222222;
  font-size: 16px;
}

.list span{
  display: block;
  font-size: 0.8rem;
}





.company{
  display: block;
  width: 100%;
  height: auto;
  padding: 0px 0 0px 0;
}
.company{
  display: block;
  width: 800px;
  margin: auto;
}
.company table{
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 0px auto 0;
  padding: 0px;
}
.company table tr{
  width: 100%;
  display: block;
  padding: 5px;
  margin: -12px auto 0;
}
.company table tr th{
  width: 200px;
  text-align: justify;
  padding-left: 20px;
  height: 60px;
  background-color: #1D0000;
  color: #FFFFFF;
  font-weight: bold;
}
.company table tr td{
  width: 537px;
  text-align: justify;
  padding-left: 20px;
  height: 60px;
  background-color: #FFFFFF;
  color: #2D2D2D;
  font-weight: 500;
  text-decoration: none!important;
}









@media screen and (max-width: 1000px) {
	/* 1000px以下に適用されるCSS（スマホ用） */
  
  
main{
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
}
footer{
  display: block;
  position: relative;
  width: 100%;
  height: 270px;
  background-color: #1D0000;
  overflow: hidden;
}
  
  
}









@media screen and (max-width: 600px) {
	/* 600px以下に適用されるCSS（スマホ用） */
  
  
.jisseki_new{
  display: block;
  width: 100%;
  margin: 5vw auto -5vw;
}
.jisseki_new h1{
  font-size: 6.5vw;
  text-align: center;
  color: #950000;
}
.jisseki_new img{
  display: block;
  width: 95%;
  margin: auto;
}
  
  
  
header{
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 15vw;
  box-shadow: 0 0 5px gray;
  background-color: #190000;
  z-index: 999999;
}

.header_nk{
  display: none;
  justify-content: center;
  width: 100%;
  margin: auto;
}
.header_nk a{
  display: block;
  margin: 0px 0px 0 0px;
  color: #F7F5EA;
/*  border-right: solid 1px #F7F5EA;*/
  padding: 0 2vw;
  font-size: 4vw;
  text-align: center;
}
.header_nk a:nth-child(5){
  border-right: none;
}
.header_hr{
  display: none;
  width: 1px;
  height: 20px;
  background-color: #F7F5EA;
  margin-top: 20px;
}
.header_nk_sp{
  display: flex;
  justify-content: center;
  width: 100%;
  margin: auto;
}
.header_nk_sp a{
  display: block;
  margin: 5vw 0px 0 0px;
  color: #F7F5EA;
/*  border-right: solid 1px #F7F5EA;*/
  padding: 0 2vw;
  font-size: 3.5vw;
  text-align: center;
}



main{
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.main_view{
  display: block;
  position: relative;
  width: 100%;
  height: 85vw;
  background-color: #ADADAD;
  background-image: url("../img/top_img.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}
.main_view img{
  display: block;
  position: absolute;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%);
}




.main_view_st{
  display: block;
  position: absolute;
  width: 100%;
  height: 15vw;
  background-color: #1D0000;
  top: 75vw;
}
.main_view_st_nk{
  display: block;
  text-align: center;
  line-height: 15vw;
  color: #FFFFFF;
  font-size: 4vw;
}
.main_view_st_nk p{
  display: none;
  width: 70px;
  height: 30px;
  background-color: #CB0003;
  line-height: 30px;
  border-radius: 5px;
  margin-right: 20px;
}
.main_view_st_nk span{
  display: inline-block;
  color: #D6D6D6;
  margin-right: 1vw;
}



.c_one_st{
  display: block;
  width: 100%;
  height: auto;
  margin: auto;
  background-color: #F7F5EB;
/*
  background-image: url("../img/c_one_bg.jpg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
*/
}
.c_one{
  display: block;
  width: 80%;
  margin: 0px auto;
  padding: 20vw 0 10vw;
  writing-mode: vertical-rl;
  text-orientation: upright;
  align-items: center;
  font-family: "Yuji Syuku", serif;
  font-weight: 400;
  font-style: normal;
  height: 150vw;
}
.c_one h1{
  display: block;
  text-align: start;
  font-size: 6vw;
}
.c_one p{
  display: block;
  margin: 0px auto 0;
  font-size: 5vw;
  line-height: 15vw;
}



.c_two_st{
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background-color: #F7F5EB;
  padding: 10vw 0;
}
.c_two{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  margin: auto;
}
.c_two_left{
  display: block;
  width: 95%;
  line-height: 10vw;
  margin: auto;
  font-size: 4vw;
}
.c_two_left h1{
  font-size: 6vw;
}
.c_two_right {
  display: block;
  width: 95vw;
  height: 60vw;
  margin: auto;
  background-color: #C6C6C6;
  background-image: url("../img/race1.png");
  background-size: cover;
  background-position: left center;
  border-radius: 20px;
  overflow: hidden;

  /* 出る前の状態 */
  clip-path: inset(0 100% 0 0);  /* 左→右ワイプ */
  opacity: 0;                    /* フェードイン前 */
  transform: translateY(30px) scale(1.05);  /* 下から + ちょいズーム */

  transition:
    clip-path 1.1s cubic-bezier(.19,1,.22,1),
    opacity 1s ease-out,
    transform 1.1s cubic-bezier(.19,1,.22,1);
}

/* 表示状態 */
.c_two_right.show {
  clip-path: inset(0 0 0 0);   /* 左→右ワイプ開く */
  opacity: 1;                  /* フェードイン */
  transform: translateY(0) scale(1); /* 下→上の移動＆ズーム収束 */
}


.c_three_st{
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background-color: #F7F5EB;
  padding: 0px 0 10vw 0;
}
.c_three{
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  margin: auto;
}
.c_three_left{
  display: block;
  width: 95vw;
  height: 60vw;
  background-color: #C6C6C6;
  background-image: url("../img/race2.png");
  background-size: cover;
  background-position: center center;
  border-radius: 20px;
  overflow: hidden;
  margin: auto;

  /* 出る前の状態 */
  clip-path: inset(0 100% 0 0);  /* 左→右ワイプ */
  opacity: 0;                    /* フェードイン前 */
  transform: translateY(30px) scale(1.05);  /* 下から + ちょいズーム */

  transition:
    clip-path 1.1s cubic-bezier(.19,1,.22,1),
    opacity 1s ease-out,
    transform 1.1s cubic-bezier(.19,1,.22,1);
}

/* 表示状態 */
.c_three_left.show2 {
  clip-path: inset(0 0 0 0);   /* 左→右ワイプ開く */
  opacity: 1;                  /* フェードイン */
  transform: translateY(0) scale(1); /* 下→上の移動＆ズーム収束 */
}
.c_three_right{
  display: block;
  width: 95%;
  line-height: 10vw;
  margin: auto;
  font-size: 4vw;
}
.c_three_right h1{
  font-size: 6vw;
}





.main_phot1{
  display: block;
  width: 100%;
  height: 30vw;
  background-color: #B4B4B4;
  background-image: url("../img/phot1.jpg");
  background-size: 200%;
  background-position: center center;
}
.main_phot1 h1{
  display: block;
  text-align: center;
  font-size: 5vw;
  color: #F7F5EA;
  line-height: 30vw;
}


.main_phot2{
  display: block;
  width: 100%;
  height: auto;
  background-color: #B4B4B4;
  padding: 5vw 0;
  background-image: url("../img/phot2.jpg");
  background-size: 300%;
  background-position: center center;
}
.main_phot2 h1{
  display: block;
  text-align: center;
  margin-bottom: 30px;
  font-size: 6vw;
  color: #F7F5EA;
}
/*スライドショー*/
/*
.main_phot2{
  display: block;
  width: 100%;
  height: auto;
  background-color: #B4B4B4;
  padding: 50px 0;
}
.main_phot2 h1{
  display: block;
  text-align: center;
  margin-bottom: 30px;
  font-size: 40px;
}
*/

/*スライドショー*/
.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: auto;

  /* ✨ 中央は見える・両端は透明になるマスク */
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%);
  mask-image: linear-gradient(to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%);
}

/* スライダー本体 */
/* ★ CSSアニメーションは消す */
.slider-track {
  display: flex;
  /* width は自動（中身の幅のまま）に任せる */
}

/* ★ ここも不要になるので削除
.slider-container:hover .slider-track {
  animation-play-state: paused;
}
*/

/* スライド要素 */
.slide {
  flex: 0 0 55vw;   /* ここはそのままでOK（vw指定のまま） */
  width: auto;
  height: auto;
  margin: 0 2vw;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img{
  display: block;
}

/* ★ @keyframes scroll も削除 */





/*
.c_four_st{
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background-color: #F7F5EB;
  padding: 100px 0 0px 0;
}
.c_four{
  display: block;
  width: 1000px;
  margin: auto;
  line-height: 35px;
}
*/
.c_four h1{
  display: block;
  text-align: center;
  font-size: 6vw;
}
.c_four h1 span{
  display: block;
  margin-top: 0vw;
  color: #A50000;
}



.c_four_st{
  display: block;
  width: 100%;
  margin: 0 auto;
  background-color: #F7F5EB;
  padding: 10vw 0 0px 0;
}

.c_four{
  display: block;
  width: 100%;
  margin: auto;
  line-height: 10vw;
}

/* 横並びレイアウト */
.p_flex{
  display: block;
  grid-template-columns: 400px 1fr;
  column-gap: 80px;
  align-items: flex-start;
}

/* ★ sticky を「左カラム」にかける */
.p_flex_left{
  display: none;
  position: sticky;
  top: 120px;      /* ここで止まる位置 */
  align-self: flex-start;
  margin-top: 30px;
  padding-bottom: 20px;
}

/* 画像ボックスは普通の block で OK */
.p_flex_phot{
  width: 400px;
  height: 400px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: opacity 0.4s ease;
}

/* フェード中（透明になる） */
.p_flex_phot.is-fading{
  opacity: 0;
}

  
  
.p_flex_right p{
  font-size: 4vw;
  width: 95%;
  margin: auto;
  line-height: 10vw;
}

/* c_four_st セクション内の fadein は transform 無効 */
.c_four_st .fadein{
  transform: none !important;
}

/* もし .p_flex や .p_flex_left 自体に fadein を付けているなら、念のため */
.p_flex.fadein,
.p_flex_left.fadein{
  transform: none !important;
}
/*
.p_flex p{
  font-size: 18px;
  width: 500px;
}
*/
/*追加*/





.c_four_box_st{
  display: flex;
  justify-content: flex-end;
  margin: 5vw auto 0;
}
.c_four_box_left{
  display: block;
  width: 95%;
  margin: 0 auto;
}
.c_four_box_left h2{
  display: block;
  font-size: 8vw;
}
.c_four_box{
  display: flex;
  justify-content: flex-start;
  background-color: #950000;
  margin: 0 0 2vw 0;
  width: 100%;
  height: 15vw;
  border-radius: 3vw;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
  font-weight: bold;
}
.c_four_span1{
  display: none;
  line-height: 30px;
  width: 8vw;
  height: 10vw;
  background-color: #F7F5EA;
  text-align: center;
  margin-top: 2vw;
  border-radius: 5px;
  margin-right: 2vw;
  margin-left: 3vw;
}
.c_four_span2{
  text-decoration: line-through;
  margin-right: 10px;
}
.c_four_box p{
  color: #FFE700;
  font-size: 5vw;
  line-height: 15vw;
  margin: 0;
  text-align: center;
}


.c_four_box_right {
  display: none;
  width: 400px;
  height: 400px;
  background-color: #C6C6C6;
  background-image: url("../img/yorokobi.png");
  background-size: cover;
  background-position: left center;
  border-radius: 20px;
  overflow: hidden;

  /* 出る前の状態 */
  clip-path: inset(0 100% 0 0);  /* 左→右ワイプ */
  opacity: 0;                    /* フェードイン前 */
  transform: translateY(30px) scale(1.05);  /* 下から + ちょいズーム */

  transition:
    clip-path 1.1s cubic-bezier(.19,1,.22,1),
    opacity 1s ease-out,
    transform 1.1s cubic-bezier(.19,1,.22,1);
}

/* 表示状態 */
.c_four_box_right.show3 {
  clip-path: inset(0 0 0 0);   /* 左→右ワイプ開く */
  opacity: 1;                  /* フェードイン */
  transform: translateY(0) scale(1); /* 下→上の移動＆ズーム収束 */
}





.c_five_st{
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background-color: #F7F5EB;
  padding: 0px 0 5vw 0;
}
.c_five{
  display: block;
  width: 95%;
  margin: auto;
}
.c_five h1{
  display: block;
  text-align: center;
  font-size: 6vw;
  background-color: #000A6B;
  border-radius: 2vw;
  color: #FFE700;
}
.c_five p{
  font-size: 5vw;
  font-weight: bold;
}
.c_five p span{
  color: #A50000;
}





.contact_st{
  display: block;
  width: 95%;
  max-width: 1200px;
  height: auto;
  padding: 15vw 0;
  background-color: #A3A3A3;
  margin: 0 auto 5vw;
  border-radius: 3vw;
  background-image: url("../img/25383785_m.jpg");
  background-size: cover;
  background-position: center center;
}

.contact{
  display: block;
  width: 100%;
  margin: 0 auto 0;
}
.contact h1{
  display: inline-block;
  color: #F7F5EA;
  font-size: 8vw;
  margin-top: 0px;
  text-align: justify;
  font-style: normal;
  line-height: 0;
  margin-left: 5%;
}
.contact h1 span{
  display: inline-block;
  font-size: 6vw;
  margin-left: 5vw;
}


.contact_nk{
  display: block;
  width: 90%;
  height: auto;
  margin: 0 auto;
  border: solid 3px #F7F5EA;
  border-radius: 10px;
  background-color: rgb(23 0 0 / 0.3);
  text-align: justify;
  padding: 5vw 0;
}
.tel{
  font-size: 8vw;
  font-weight: bold;
  color: #F7F5EA;
  margin: 0 0 0 3vw;
}
.tel span{
  font-size: 4vw;
  color: #F7F5EA;
}
.main_contact_uktk{
  display: block;
  margin: 0 0 0 5vw;
  color: #F7F5EA;
  text-align: justify;
  font-size: 4vw;
}







footer{
  display: block;
  position: relative;
  width: 100%;
  height: 90vw;
  background-color: #1D0000;
  overflow: hidden;
}

.footer_nk{
  display: block;
  width: 100%;
  margin: auto;
  padding: 15vw 0;
}
.footer_up{
  display: block;
  width: 60vw;
  height: auto;
  margin: 0px auto 0;
  text-align: center;
}
.footer_down{
  display: block;
  justify-content: center;
  margin: 4vw auto 0;
}
.footer_down a{
  display: block;
  margin: 0 0px;
  color: #F7F5EA;
  text-align: center;
  font-size: 5vw;
}


.footer_under{
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  text-align: center;
  color: #FFFFFF;
  font-size: 10px;
  background-color: #0D0D0D;
  line-height: 30px;
}




.main_view_sub{
  display: block;
  width: 95%;
  max-width: 1200px;
  height: 30vw;
  background-color: #CDCDCD;
  text-align: center;
  line-height: 30vw;
  margin: 25vw auto 0;
  border-radius: 20px;
  background-image: url("../img/sub_img.jpg");
  background-size: cover;
  background-position: center center;
  color: #F7F5EA;
  font-size: 3vw;
}





.main_view_sub_content{
  display: block;
  width: 95%;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 5vw;
  padding-top: 5vw;
}
.main_view_sub_content h3{
  display: block;
  text-align: start;
  color: #222222;
  border-bottom: solid 2px #828282;
}
.main_view_sub_content h5{
  color: #222222;
  font-size: 16px;
}

.list span{
  display: block;
  font-size: 0.8rem;
}





.company{
  display: block;
  width: 100%;
  height: auto;
  padding: 0px 0 0px 0;
}
.company{
  display: block;
  width: 100%;
  margin: auto;
}
.company table{
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 0px auto 0;
  padding: 0px;
}
.company table tr{
  width: 100%;
  display: block;
  padding: 5px;
  margin: -12px auto 0;
}
.company table tr th{
  display: block;
  width: 93vw;
  padding-left: 0px;
  height: 10vw;
  background-color: #1D0000;
  color: #FFFFFF;
  font-weight: bold;
  text-align: center;
  line-height: 10vw;
}
.company table tr td{
  width: 100vw;
  text-align: center;
  padding-left: 0vw;
  height: 15vw;
  background-color: #FFFFFF;
  color: #2D2D2D;
  font-weight: 500;
  text-decoration: none!important;
  font-size: 4vw;
}
  
  
  
}






















































