















.top-bg {
    background-image: url("../img/all/haikei.jpg");
    background-repeat: repeat;
    background-size: auto;
}


/* ===============================
   top-video
================================= */
.top-video {
  position: relative;
  width: 100vw;
  height: calc(var(--vh, 1vh) * 100);
  background-color: #000;
  overflow: hidden;
}
.top-video .area {
  position: relative;
  width: 100%;
  height: 100%;
}
.top-video .area video {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  animation: fadeVideo 2s ease 4s forwards;
  pointer-events: none;
}
.top-video .area .logo {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  max-width:400px;
  width: 100%;
  opacity: 0;
  animation: fadeLogo 2s ease 0.5s forwards;
}
@media only screen and (max-width: 1024px) {
.top-video .area .logo {
  left: 50%;
  max-width:250px;
}
    
}
@keyframes fadeLogo {
  to {
    opacity: 1;
  }
}
@keyframes fadeVideo {
  to {
    opacity: 1;
    }
}











/* ===============================
   top-sec01
================================= */
.top-sec01 {
    padding:10% 0 0 0;
}
.top-sec01 .area {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: end;
    flex-wrap: wrap;
}
.top-sec01 .wrap01 {
    width: 33%;
    height: auto;
    display: flex;
    justify-content: space-between;
}
.top-sec01 .image {
    width: 50%;
    height: 100%;
}
.top-sec01 .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.top-sec01 .wrap01 .fade-up:nth-of-type(1) {
    transition-delay: 0.5s;
}
.top-sec01 .image:first-child {
    margin-top: 100px;
    margin-right: 5px;
}
.top-sec01 .wrap02 {
    position: relative;
    width: 30%;
    height: auto;
    margin: auto 0;
    padding: 7% 0;
}
.top-sec01 .wrap02 p{
    margin: auto;
    font-size: 1.25rem;
    line-height:3rem;font-weight: bold;
    writing-mode: vertical-rl;
}
.top5_txt_icon1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 34%;
}
.top5_txt_icon2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28%;
}
@media only screen and (max-width: 1024px) {
    .top-sec01 .area {
        flex-direction: column-reverse;
    }
    .top-sec01 .wrap01 {
        width: 100%;
    }
    .top-sec01 .wrap02 {
        width: 100%;
        min-height: 100%;
        margin-top: 50px;
        margin-bottom: 50px;
    }
.top-sec01 .image:first-child {
    margin-top: 50px;
    margin-right: 5px;
}
.top5_txt_icon1 {
    left: 0;
}
.top5_txt_icon2 {
    right: 0;
}
}







/* ===============================
   top-sec02
================================= */
.top-sec02 {
    position: relative;
    padding:10% 0 0 0;
}
.top-sec02 .area{
    position: relative;
    width: 100%;
    max-width: 100vw;
    height:100vh;
    overflow: hidden;
}
.top-sec02 .area::before{
  content: "";
  background: url("../img/top/top5.jpg");
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width:100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(90%) saturate(120%);
  z-index: 0;
}
.top-sec02 .wrap01 .ttl{
    position: absolute;
    top: 50%;
    right: 50%;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: bold;
    color: #fff;
    writing-mode: vertical-rl;
    white-space: nowrap;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.5);
    transform: translate(50%, -50%);
}
@media only screen and (max-width: 1024px) {
.top-sec02 {
    position: relative;
    padding:30% 0 0 0;
}
.top-sec02 .area{
    height:60vh;
}
}



/* ===============================
   top-sec03
================================= */
.top-sec03 {
    position: relative;
    padding:5% 0 0 0;
}
.top-sec03::before{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 1920px;
    padding-top: 56.25%;
    height:auto;
    background: url("../img/top/bg1.png") top left / contain no-repeat;
    pointer-events: none;
    z-index: 0;
    opacity:0.2;
}
.top-sec03 .area{
    position: relative;
    z-index:1;
}
.top-sec03 .image{
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    max-width: 250px;
    height: auto;
    transform: translate(-50%, -50%);
}
.top-sec03 .ttl {
    position: relative;
    z-index: 2;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: bold;
    text-align: center;
}
.top-sec03 .text {
    position: relative;
    z-index: 2;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height:  clamp(2rem, 2.5vw, 4rem);
    text-align: center;
}

@media only screen and (max-width: 1024px) {
.top-sec03 {
    position: relative;
    padding:10% 0 0 0;
}
}





/* ===============================
   top-sec04
================================= */
.top-sec04 {
    position: relative;
    padding:10% 0 0 0;
    z-index:10;
}
.top-sec04 .area {
    position: relative;
    display: flex;
    justify-content: space-between;
}
.top-sec04 .wrap {
    width:100%;
    position: relative;
    display: flex;
    gap:1rem;
}
.top-sec04 .wrap img{
    width:100%;
    height:100%;
    object-fit: cover;
}
.top-sec04 .box01 {
    position: relative;
    width:70%;
  z-index: 5;
}
.top-sec04 .box03 {
    position: relative;
    width:30%;
  z-index: 5;
}
.top-sec04 .box02 {
    position: relative;
  z-index: 10;
}
.top-sec04 .box02 .box00 {
  position: absolute;
  display: flex;
  flex-direction: column;
  background-image: url("../img/top/bg2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 4rem;
  writing-mode: vertical-rl;
  white-space: nowrap;
  background-color: white;
  gap: 2rem;
  bottom: 0;
  left: 0;
  transform: translate(-50%, 15%);
  z-index: 2;
}
.top-sec04 .test img{
    width:100%;
    height:100%;
    object-fit: cover;
}
.top-sec04 .box00 .ttl{
    font-size: 1.5rem;
    font-weight: bold;
}
.top-sec04 .box00 .text{
    font-size: 1rem;
    line-height: 2rem;
}
.top-sec04 .box00 .miru{
    font-size: 1rem;
    margin: auto 0 0 0; 
}
@media screen and (max-width: 768px) {
.top-sec04 {
    position: relative;
    padding:20% 0 0 0;
}
  .top-sec04 .wrap {
    flex-wrap: wrap;
      gap:0rem;
  }
.top-sec04 .box01{
    width: 100%;
    order: 1;
  }
    .top-sec04 .box03 {
    display: none;
  }

  .top-sec04 .box02 {
    width: 100%; /* カラム落ち */
    order: 2;
  }
.top-sec04 .box02 .box00 {
    position: relative;
    width: 100vw;
    left: 0;
    bottom: 0;
    transform: none;
    writing-mode: horizontal-tb;
    white-space: wrap;
    gap: 1rem;
    justify-content: center;align-items: center;
  padding: 4rem 5%;
}
.top-sec04 .box00 .text{
    line-height: 1.5rem;
}
}







/* ===============================
   top-sec05
================================= */
.top-sec05 {
    position: relative;
    padding:10% 0 0 0;
}
.top-sec05 .area {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.top-sec05 .area.reverse {
    flex-direction: row-reverse;
}
.top-sec05 .area::before{
    content: "";
    position: absolute;
    top: 0; /* 要素の下に配置 */
    width: 40vw; /* 画面幅の20%に応じて可変 */
    aspect-ratio: 1; /* 幅に対して縦2倍の比率 */
    background: url("../img/top/bg3.png") no-repeat center/contain;
    pointer-events: none; /* 装飾がクリックを邪魔しないように */
    z-index: 0;
    opacity:0.2;
}
.top-sec05 .area.hidari::before{
    left: 0;   /* 左端に揃える */
    transform: translate(-50%,-50%);
}
.top-sec05 .area.migi::before{
    right: 0;   /* 左端に揃える */
    transform: translate(50%,-50%);
}
.top-sec05 .wrap01 {
  position: relative;
    width:35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap:2rem;
}
.top-sec05 .wrap01 .icon{
    width:100px;
}
.top-sec05 .wrap01 .icon img{
    width:100%;
}
.top-sec05 .wrap01 .ttl{
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: bold
}
.top-sec05 .wrap01 .list{
    font-size:1rem;
    display: grid;
    gap: 1rem 2rem;
}
.top-sec05 .wrap01 .list.two{
    grid-template-columns: repeat(2, 1fr);
}
.top-sec05 .wrap01 .list.one{
    grid-template-columns: repeat(1, 1fr)!important;
}
.top-sec05 .wrap01 .list li {
}
.top-sec05 .wrap01 .button{
  background-color: none;           /* 白塗りの背景 */
  color: #000;                      /* 深い赤文字（和色） */
  padding: 10px 20px;
  font-size: 1rem;
  border: solid 2px #4C2E30;                        /* 線は使わない */
  border-radius: 0;
  transition: all 0.3s
}
.top-sec05 .wrap01 .button:hover {
  background-color:#4C2E30;
  color:  white!important;
}
.top-sec05 .wrap02 {
  position: relative;
  width: 65%;
  z-index: 1;
}
.top-sec05 .wrap02.reverse {
  flex-direction: row-reverse;
}
.top-sec05 .splide__slide {
    width:100%;
}
.top-sec05 .splide__slide img{
    width:100%;
}
.top-sec05 .splide__pagination.hidari{
  justify-content: flex-start;
}
.top-sec05 .splide__pagination.migi{
  justify-content: flex-end;
}
.top-sec05 .splide__pagination {
  position: relative;
  bottom:0;
  padding:0.5rem 0 0 0;
}
.top-sec05 .splide__pagination li {
  line-height: 0;
}
.top-sec05 .splide__pagination button {
  width: 30px;
  height: 4px;
  background-color: #aaa;
  border-radius: 0px;
  opacity: 1;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}
.top-sec05 .splide__pagination button.is-active {
  background-color: #7F6000;
  transform: scale(1.0);
}
.top-sec05 .moyou{
    position:absolute;
    width:150px;
    bottom:-20%;
}
.top-sec05 .moyou.migi{
    right:10%;
}
.top-sec05 .moyou.hidari{
    left:10%;
    transform: scaleX(-1); /* 左右反転 */
}
@media screen and (max-width: 768px) {
.top-sec05 {
    padding:20% 0 0 0;
}
.top-sec05 .area {
    flex-direction: column;
    gap:3rem;
}
.top-sec05 .wrap01 {
    width:100%;
    padding-inline:5%;
}
.top-sec05 .wrap02 {
  width: 100%;
}
.top-sec05 .moyou{
    width:75px;
    right:0;
    bottom:0;
}
.top-sec05 .area::before{
    transform: translate(-50%,-20%);
    width: 100vw;
}
.top-sec05 .splide__pagination.hidari,
.top-sec05 .splide__pagination.migi{
  justify-content: center;
}
}





/* ===============================
   top-sec08
================================= */
.top-sec08 {
  position: relative;
  padding: 10% 0 0 0 ;
}

.top-sec08 .area {
  position: relative;
  padding: 5% 0;
  background-image: url("../img/top/bg4.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;text-align: center;
}

.top-sec08 .ttl {
  font-size: clamp(1rem, 5vw, 2.5rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
  color: #fff;
}

.top-sec08 .boxbox {
  width:65%;
  display: flex;
  margin:0 auto;
  margin-bottom: 2rem;
  gap:1rem;
}
.top-sec08 .box{
  flex: 1;
}
.top-sec08 .box img{
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.top-sec08 .box p {
  font-size: 1rem;
  color: #fff;
    text-align: left;
}

.top-sec08 .button {
  display: inline-block;
  background-color: transparent;
  color: #fff!important;
  border: 2px solid #fff;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.top-sec08 .button:hover {
  background-color: #fff;
  color: #000!important;
}
@media screen and (max-width: 768px) {
  .top-sec08 {
    padding: 25% 0 0 0;
  }

  .top-sec08 .area {
    padding: 15% 0%;
    background-position: center;
  }

  .top-sec08 .ttl {
    font-size: clamp(1.2rem, 6vw, 2rem);
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }

  .top-sec08 .boxbox {
    width: 80%;
    flex-direction: column;
  }

  .top-sec08 .box p {
    text-align: left;
  }

  .top-sec08 .button {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    font-size: 0.95rem;
    padding: 0.6rem 1.5rem;
  }
}




/* ===============================
   top-sec09
================================= */
.top-sec09 {
  position: relative;
  padding: 10% 0  0 0;
}
.top-sec09 .area {
  position: relative;
}
.top-sec09 .wrap {
  position: relative;
    display: flex;
    justify-content: center;
    gap:5rem;
}
.top-sec09 .ttl {
  font-size: 2.5rem;
  font-weight: bold;
  color: #4C2E30;
  position: relative;
  display: inline-block;
  writing-mode: vertical-rl; /* 縦書き・右から左へ */
  text-align: start;         /* 縦書き時の整列 */
  line-height: 1.8;
}
.top-sec09 .ttl img {
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 150px;
}
.top-sec09 .boxbox {
  display: flex;
  gap: 2rem;
}
.top-sec09 .box {
  text-align: center;
}
.top-sec09 .box img {
  width: 250px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.top-sec09 .box p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}
@media screen and (max-width: 768px) {
.top-sec09 {
  position: relative;
  padding: 20% 0  0 0;
}
  .top-sec09 .wrap {
    flex-direction: column;
    align-items: center;
  }
  .top-sec09 .boxbox {
    flex-direction: column;
    gap: 3rem;
    align-items: center;
  }
  .top-sec09 .ttl {
    text-align: center;
    font-size: 2rem;
  }
  .top-sec09 .ttl img {
    width: 120px;
  }
  .top-sec09 .box img {
    width: 80%;
    max-width: 250px;
    margin:0 auto;
    margin-bottom:1rem;
  }
}






/* ===============================
   top-sec10
================================= */
.top-sec10 {
  position: relative;
  padding: 10% 0 0 0;
}

.top-sec10 .area {
  position: relative;
}

.top-sec10 .wrap {
  display: flex;
  width: 100%;
}

.top-sec10 .box {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  overflow: hidden;
}

/* 背景レイヤー */
.top-sec10 .box .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: filter 0.5s ease;
  z-index: 0;
}

/* 背景画像指定（各ボックスごと） */
.top-sec10 .box:nth-of-type(1) .bg {
}
.top-sec10 .box:nth-of-type(2) .bg {
}
.top-sec10 .box:nth-of-type(3) .bg {
}

/* ホバー時に背景だけぼかす */
.top-sec10 .box:hover .bg {
  filter: blur(4px);
}

/* 文字はくっきり */
.top-sec10 .box p {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  color: white;
  writing-mode: vertical-rl;
  pointer-events: none;
  margin: 0;
}






/* ===============================
   top-sec11
================================= */
.top-sec11 {
  position: relative;
  padding: 10% 0 0 0;
}

.top-sec11 .area {
  position: relative;
}

.top-sec11 .wrap01 {
    display: flex;
}








/* ===============================
   kanko-sec03
================================= */
.kanko-sec03 {
    padding:10% 0 0 0;
}
.kanko-sec03 .area {
  position: relative;
  display: flex;
  justify-content: flex-start; /* 左寄せに変更 */
  align-items: stretch;        /* 高さを揃える */
  height: 100%;
}
.kanko-sec03 .wrap01 {
  position: absolute;
  top: 0;
  left: calc(100vw / 5);
  width: calc(100vw / 5);
  height: 100%;
  background-color: rgba(47, 76, 104, 1);
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transition:0.6s;
}
.kanko-sec03 .wrap01:hover{
    background-color: rgba(30, 50, 70, 1);
}
.kanko-sec03 .wrap01 .ttl {
  font-size: 1.8rem;
  writing-mode: vertical-rl;
  color: white;
  text-align: center;
}
.kanko-sec03 .wrap01 .text {
  font-size: 1rem;
  color: white;
}
.kanko-sec03 .kanko-splide01 {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}
.kanko-sec03 .splide__list {
  display: flex;
}
.kanko-sec03 .splide__slide {
  width: calc(100vw / 5);
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
.kanko-sec03 .splide__slide img {
  width: calc(100vw / 5);
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
@media screen and (max-width: 768px) {
.kanko-sec03 .splide__slide {
  width: calc(100vw / 2);
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
.kanko-sec03 .splide__slide img {
  width: calc(100vw / 2);
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
.kanko-sec03 .wrap01 {
  position: static;
  width:100%;
  gap:0rem;
  padding:10% 0;
}
.kanko-sec03 .area {
    flex-direction: column;
}
.kanko-sec03 .wrap01 .ttl {
  font-size: 1.25rem;
  writing-mode: horizontal-tb;
}
}





