/**
 * Theme Name: DominicoJaponesa
 * Theme URI: https://example.com/
 * Author: Your Name
 * Author URI: https://example.com/
 * Description: A custom WordPress theme with a block editor-based content structure and custom header/footer.
 * Version: 1.0
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: dominicojaponesa
 */

/* @import url('https://fonts.googleapis.com/css2?family=Lato:wght@400&display=swap'); */

html{
	margin-top:0 !important;
	font-family: CanelaThin, serif;

}
body {
    margin: 0;
}

h2{
color: #31abd4;
}
.h2-dsn1{
	margin:0;
}

img {
    width: 100%;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.video-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
	width: 100%;
}
.video-caption h2{
	color: white !important;
    font-size: 3rem;
}

@media screen and (max-width:768px){
	.video-caption h2{
    font-size: 1.5rem;
		line-height:2rem;
}
}

.content-friend {
    background: url("https://test-test-richwin.work/wp-content/uploads/2025/03/content-friend-bg.jpg");
    background-size: cover;
	background-position:center;
    align-items: center;
    position: relative;
    color: white;
}

.content-friend > div {
    width: 100%;
    padding: 100px 30px;
    margin: 0 auto;
    z-index: 2;
}
.content-friend-800{
    max-width: 800px;
	margin:0 auto !important;
	margin-bottom:50px !important;
}
.content-service-800{
    max-width: 800px;
	margin:0 auto !important;
/* 	margin-bottom:50px !important; */
}
.content-activities-1200{
    max-width: 1300px;
	margin:0 auto !important;
}

.activity-btn{
	margin-top:30px;
}

.content-friend:before {
    content: "";
    z-index: 1;
    background: #00000050;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

h2 {
    font-family: CanelaThin, serif;
    font-weight: 300;
    font-size: 44px;
    line-height: 54px;
}

p, li {
/*     font-family: 'Lato', sans-serif !important; */
	font-family: CanelaThin, serif;
    font-size: 15px;
    line-height: 24px;
}

.content-greeting {
    margin: 0 auto !important;
        background-color: #E7F1EE;
}
.content-greeting-images{
	margin-top:50px;
	gap:1em;
}

.content-service {
    background-color: #f1f1f1;
	padding-bottom:300px !important;
}
.content-service .wp-block-column{
	text-align: center;
}
.content-service .wp-block-column ul{
	margin: 0 auto;
/*     display: inline-block; */
    text-align: left;
}
.content-service2 {
/* 	background-color: #f1f1f1; */
}
.content-service2{
	max-width: 800px;
	margin:0 auto;
	margin-bottom:50px;
	margin-top:-250px;
/* 	background-color: #f1f1f1; */
}

@media screen and (max-width:768px){
	.content-service2{
		padding:0 20px;
		gap:1em;
	}
}

.content-company {
    background-color: #e2e0d1;
}

.section {
    padding: 100px 20px;
	margin:0 auto;
	justify-content:center;
}
.section2 {
    padding: 50px 20px;
	padding-top:20px;
	margin:0 auto;
	justify-content:center;
}
/* .section2-2 {
    padding: 50px 20px 20px;
	padding-top:20px;
	margin:0 auto;
	justify-content:center;
} */
.section-800{
	max-width:800px;
	margin:0 auto;
	justify-content:center;
}
.section-1200{
	max-width:1200px;
	margin:0 auto;
	justify-content:center;
}
.section-activities {
    padding: 50px 20px;
	margin:0 auto;
	justify-content:center;
}

:where(.wp-block-columns.is-layout-flex) {
    gap: 3em;
}

:where(figure) {
    margin: 0;
}

.img-top-flex {
    min-height: 700px !important;
}
.img-top-flex2 {
    min-height: 450px !important;
}

.wp-block-list {
    list-style: none;
    padding-left: 0;
}

@media screen and (max-width:768px) {
    .content-friend > div {
        padding: 30px 20px;
    }
    .img-top-flex, .img-top-flex {
        min-height: 250px !important;
    }
	h2 {
		font-size: 28px;
		line-height: 32px;
	}
}

.site-header {
    position: fixed;
    width: 100%;
    z-index: 9999;
    top: 0;
/*     font-family: Arial, sans-serif; */
}

.top-bar {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e7e7e7;
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    font-size: 14px;
    color: #333;
}

.language-switcher a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    margin-left: 10px;
}

.language-switcher a:hover {
    text-decoration: underline;
}

.main-header {
/*     background-color: #ffffff; */
    padding: 10px;
/*     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex: 1;
}

.main-navigation {
    width: calc(100% - 200px);
    display: flex;
    align-items: center;
	justify-content:end;
}

.main-navigation ul {
    display: flex;
    justify-content: end;
    list-style: none;
    margin: 0;
    padding: 0;
	width:100%;
}

.main-navigation li {
	margin: 0;
/*     width: 14%; */
/*     max-width: 14%; */
	text-align:center;
}

.main-navigation a {
    font-size: 14px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.main-navigation a:hover {
    color: #007bff;
}

.header-buttons {
    display: flex;
/*     width: 120px; */
	align-items: center;
}

.header-icons {
    display: flex;
}

.header-icons{
	display:flex;
	width:70px;
	gap: 10px;
    align-items: center;
    justify-content: end;
}
.header-icons a{
	color:#000;
	text-decoration:none;
}
.header-icons a i{
	color:white;
}

.header-buttons .btn {
    background-color: #67cce9;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    margin-left: 10px;
    font-size: 18px;
    font-weight: bold;
    height: 45px;
    width: 120px;
    display: flex;
    align-items: center;
    text-align: center;
	justify-content:center;
}

/* フッター */
.site-footer {
    background-color: #fff;
    color: #000;
}

.footer-top {
    padding: 40px 0;
/*     border-bottom: 1px solid #444; */
	max-width: 1200px;
    margin: 0 auto;
}

.footer-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    max-width: 300px;
}

.footer-logo img {
    width: 100%;
}

.footer-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-navigation a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
}

.footer-navigation a:hover {
    text-decoration: underline;
}

.footer-social {
    margin-top: 15px;
}

.social-icon {
    font-size: 24px;
    color: #67CCE9;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #67CCE9;
}

.footer-bottom {
    padding: 20px 0;
    background-color: #fff;
    text-align: center;
	border-top: 1px solid #444;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}


:where(.wp-block-columns){
	margin-bottom:0;
}

.site-header{
	position:fixed;
	width:100%;
	z-index:9999;
/* 	padding:10px; */
	top:0;
}

header .logo{
	width:250px;
	display: flex;
    align-items: center;
}
.header-flex{
	width:calc(100% - 250px);
	display:flex;
	justify-content:flex-end;
	gap:15px;
}

@media screen and (max-width:768px){
.section-reverse{
	flex-direction: column-reverse;
}	
	
}

.adventure-wildlife {
/*     background-color: #E2E0D1; */
    padding: 60px 0;
	position:relative;
	padding-bottom:20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.adventure-header {
/*     text-align: center; */
    margin-bottom: 40px;
}

.subtitle {
    font-size: 18px;
    color: #555;
    text-transform: uppercase;
}

.adventure-header h2 {
    font-size: 44px;
/*     font-weight: bold; */
    margin: 10px 0;
	text-align:justify;
}

@media screen and (max-width:768px){
	.adventure-header h2 {
		font-size: 28px;
	}
}

.adventure-header p {
    font-size: 15px;
    color: #333;
    margin-bottom: 20px;
/* 	text-align:justify; */
}

.adventure-swiper {
    position: relative;
}
.adventure-wildlife > div{
	
}

.swiper{
    padding-bottom: 50px;
    padding-left: 10px;
    padding-right: 10px;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.swiper-slide img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 0px;
}

.slide-text {
/*     background: rgba(0, 0, 0, 0.7); */
/*     color: white; */
/*     padding: 20px; */
    border-radius: 5px;
/*     margin-top: -80px; */
/*     max-width: 80%; */
}

.slide-text h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.slide-text p {
    font-size: 14px;
    margin-bottom: 10px;
/* 	text-align:justify; */
}

.swiper-button-next, .swiper-button-prev {
    color: #fff !important;
	background-color:transparent !important;
}

.swiper-pagination {
    bottom: 10px !important;
}

.main-header-flex{
	display:flex;
/* 	padding:10px; */
}

.adventure-wildlife:after{
	    content: "";
    z-index: 0;
    background: #E2E0D1;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 210px;
    left: 0;
}

/* Swiperボタンを右下に固定配置 */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    bottom: 0px; /* 下からの距離 */
    right: 10px; /* 右からの距離 */
    width: 40px; /* ボタンのサイズ */
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5); /* 背景色（透明度あり） */
    border-radius: 50%; /* 丸いボタン */
    display: flex;
    justify-content: center;
    align-items: center;
	left:auto;
	top:auto;
}

/* アイコンの色を白に */
.swiper-button-next::after,
.swiper-button-prev::after {
    color: #67CCE9;
    font-size: 20px;
	font-weight:bold;
}

/* PrevボタンをNextの左側に配置 */
.swiper-button-prev {
    right: 60px; /* Nextボタンより左に配置 */
}

/* マウスホバー時のスタイル */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.8); /* ホバー時に少し濃く */
}

/* 最初のスライドだけに適用 */
.swiper-slide:first-child {
    padding: 20px;
    margin-top: 100px;
}


/* スマホ対応（小さい画面でも適切に配置） */
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
        bottom: 5px;
        right: 5px;
    }

    .swiper-button-prev {
        right: 45px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
    }
	.adventure-header{
	position: relative;
    z-index: 2;
		padding:15px;
	}
	.swiper-slide:first-child{
		margin-top:0;
		padding:0;
	}
}

	.content-works{
		justify-content:center;
		gap:1em !important;
	}
.sp-header{
	display:none;
}
.sp{
	display:none !important;
}
/* SP対応 */
@media screen and (max-width: 768px) {
    .pc {
        display: none;
    }
	.sp{
		display:block !important;
	}
	.pc{
		display:none;
	}
    .sp-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .hamburger-menu {
        display: flex;
        justify-content: flex-start;
    }
    .hamburger-icon {
        background: transparent;
        border: none;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        cursor: pointer;
    }
    .hamburger-icon .bar {
        width: 30px;
        height: 2px;
        background-color: white;
    }
	.bg-white .hamburger-icon .bar{
		background-color: #333;
	}
	.logo-sp{
		    display: flex;
    align-items: center;
	}
    .logo-sp img {
        max-width: 150px;
    }
    .header-buttons-sp {
/*         display: flex;
        justify-content: flex-end; */
		width: 100px;
        background-color: #67CCE9;
    }
	.header-buttons-sp a{
	display: flex;
    width: 100%;
    text-align: center;
    height: 35px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
		font-size:12px;
	}
    .header-flex {
        display: none;
    }
	.footer-top .container{
		justify-content: center;
		gap:20px;
	}
	.footer-navigation li{
		text-align: center;
	}
	.footer-social{
		text-align: center;
	}
	.content-works{
		gap:0 !important;
	}
	.content-works img{
/* 		width:150px !important; */
	}
}

/* モバイルナビゲーションのスタイル */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #333;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    transition: left 0.3s ease-in-out;
    z-index: 1001;
}

.mobile-nav.open {
    left: 0;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
}

.mobile-menu-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-list a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.mobile-menu-list a:hover {
    color: #67cce9;
}

/* ハンバーガーメニューアイコン */
.hamburger-icon {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
}

.hamburger-icon .bar {
    width: 30px;
    height: 4px;
/*     background-color: #333; */
    transition: transform 0.3s, opacity 0.3s;
}

/* オーバーレイ */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.close-menu {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: white;
    cursor: pointer;
    z-index: 1003;
}

.close-menu:hover {
    color: #67cce9;
}

/* メニューが開いたときのスクロール防止 */
.no-scroll {
    overflow: hidden;
}

/* Swiperのページネーションのドットを非表示 */
.swiper-pagination {
    display: none !important;
}

video {
    width: 100%;
    height: auto; /* PCではデフォルト動作 */
    object-fit: cover; /* 必要に応じて */
}

/* スマホ表示用 */
@media screen and (max-width: 768px) {
    video {
        height: 60vh; /* SPで60vhを適用 */
    }
}

.language-dropdown {
    border: none;
    background: none;
    font-size: 16px;
    cursor: pointer;
	color:white;
}

.language-dropdown option{
	color: #000;
}

.bg-white{
	background-color:#FFFFFF !important;
/* 	color:black !important; */
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.bg-white .main-navigation a{
	color:#333
}

.white{
	color:white !important;
}

.black{
	color:black !important;
}

.bg-white .header-icons a i{
	color: #000;
}

.bg-white .language-dropdown{
	color: #000;
}

.full-width-grey{
	width:100%;
	background:#f1f1f1;
}

 .slider-container {
            width: 100%;
            overflow: hidden;
            position: relative;
            height: 300px; /* スライダーの高さ */
/*             border-radius: 10px; */
	 margin-top:30px;
        }

        .slider-track {
            display: flex;
            width: calc(300px + 20px * 10); /* 画像の数に応じて調整 */
            animation: scroll 20s linear infinite;
        }

        .slider-item {
            min-width: 300px;
            height: 300px;
            flex-shrink: 0;
			 margin-right: 20px;
        }

        .slider-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* アニメーション */
        @keyframes scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-100%);
            }
        }
@media (max-width: 768px) {
            .slider-container {
                height: 200px; /* SP用に高さを小さく */
            }

            .slider-item {
                min-width: 200px; /* SP用に画像サイズも調整 */
                height: 200px;
                margin-right: 15px; /* スペースも若干縮小 */
            }

            .slider-track {
                animation: scroll 12s linear infinite; /* ✅ スクロール速度を早く */
            }
        }


/* その場で */
.fadeIn{
animation-name:fadeInAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 下から */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/* 上から */

.fadeDown{
animation-name:fadeDownAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeDownAnime{
  from {
    opacity: 0;
  transform: translateY(-100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/* 左から */

.fadeLeft{
animation-name:fadeLeftAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeLeftAnime{
  from {
    opacity: 0;
  transform: translateX(-100px);
  }

  to {
    opacity: 1;
  transform: translateX(0);
  }
}

/* 右から */

.fadeRight{
animation-name:fadeRightAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeRightAnime{
  from {
    opacity: 0;
  transform: translateX(100px);
  }

  to {
    opacity: 1;
  transform: translateX(0);
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.fadeInTrigger,
.fadeUpTrigger,
.fadeDownTrigger,
.fadeLeftTrigger,
.fadeRightTrigger{
    opacity: 0;
}

/*==================================================
パタッ
===================================*/


/* 下へ */
.flipDown{
animation-name:flipDownAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes flipDownAnime{
  from {
    transform: perspective(2500px) rotateX(100deg);
  opacity: 0;
  }

  to {
    transform: perspective(2500px) rotateX(0);
  opacity: 1;
  }
}


/* 左へ */
.flipLeft{
animation-name:flipLeftAnime;
animation-duration:1s;
animation-fill-mode:forwards;
perspective-origin:left center;
opacity:0;
}

@keyframes flipLeftAnime{
  from {
   transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
  opacity: 0;
  }

  to {
  transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
  opacity: 1;
  }
}


/* 左上へ */
.flipLeftTop{
animation-name:flipLeftTopAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes flipLeftTopAnime{
  from {
   transform: translate(-20px,80px) rotate(-15deg);
  opacity: 0;
  }

  to {
   transform: translate(0,0) rotate(0deg);
  opacity: 1;
  }
}

/* 右へ */
.flipRight{
animation-name:flipRightAnime;
animation-duration:1s;
animation-fill-mode:forwards;
perspective-origin:right center;
opacity:0;
}

@keyframes flipRightAnime{
  from {
   transform: perspective(600px) translate3d(0, 0, 0) rotateY(-30deg);
  opacity: 0;
  }

  to {
  transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
  opacity: 1;
  }
}

/* 右上へ */
.flipRightTop{
animation-name:flipRightTopAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes flipRightTopAnime{
  from {
   transform: translate(-20px,80px) rotate(25deg);
   opacity: 0;
  }

  to {
   transform: translate(0,1) rotate(0deg);
  opacity: 1;
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.flipDownTrigger,
.flipLeftTrigger,
.flipLeftTopTrigger,
.flipRightTrigger,
.flipRightTopTrigger{
    opacity: 0;
}

/*==================================================
くるっ
===================================*/


/* X 軸（縦へ） */
.rotateX{
  animation-name:rotateXAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
}

@keyframes rotateXAnime{
  from{
    transform: rotateX(0);
    opacity: 0;
    }
  to{
    transform: rotateX(-360deg);
    opacity: 1;
    }
}

/*　Y軸（横へ） */
.rotateY{
  animation-name:rotateYAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
}

@keyframes rotateYAnime{
  from{
    transform: rotateY(0);
    opacity: 0;
    }
  to{
    transform: rotateY(-360deg);
    opacity: 1;
    }
}

/* Z 軸（左へ） */
.rotateLeftZ{
  animation-name:rotateLeftZAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
}

@keyframes rotateLeftZAnime{
  from{
    transform: rotateZ(0);
    opacity: 0;
    }
  to{
    transform: rotateZ(-360deg);
    opacity: 1;
    }
}

/*　Z 軸（右へ） */
.rotateRightZ{
  animation-name:rotateRightZAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
}

@keyframes rotateRightZAnime{
  from{
    transform: rotateZ(0);
    opacity: 0;
    }
  to{
    transform: rotateZ(360deg);
    opacity: 1;
    }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.rotateXTrigger,
.rotateYTrigger,
.rotateLeftZTrigger,
.rotateRightZTrigger{
    opacity: 0;
}

/*==================================================
ボンッ、ヒュッ
===================================*/

/* 拡大 */
.zoomIn{
  animation-name:zoomInAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
}

@keyframes zoomInAnime{
  from {
  transform: scale(0.6);
  opacity: 0;
  }

  to {
    transform: scale(1);
  opacity: 1;
  }
}

/* 縮小 */
.zoomOut{
  animation-name:zoomOutAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
}

@keyframes zoomOutAnime{
  from {
  transform: scale(1.2);
  opacity: 0;
  }

  to {
    transform:scale(1);
  opacity: 1;
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.zoomInTrigger,
.zoomOutTrigger{
    opacity: 0;
}

/*==================================================
じわっ
===================================*/

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

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

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

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.blurTrigger{
    opacity: 0;
}

/*==================================================
にゅーん
===================================*/

/* 滑らかに変形して出現 */
.smooth{
  animation-name:smoothAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
  　transform-origin: left;
  opacity:0;
}

@keyframes smoothAnime{
  from {
  transform: translate3d(0, 100%, 0) skewY(12deg);
  opacity:0;
  }

  to {
  transform: translate3d(0, 0, 0) skewY(0);
  opacity:1;
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.smoothTrigger{
    opacity: 0;
}

/*==================================================
スーッ（枠線が伸びて出現）
===================================*/

/*枠線が伸びて出現*/

.lineTrigger{
  position: relative; /* 枠線が書かれる基点*/
  opacity:0;
}

.lineTrigger.lineanime{
  animation-name:lineAnimeBase;
  animation-duration:1s;
  animation-fill-mode:forwards;
}

@keyframes lineAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;  
}
}

/*上下線*/
.lineTrigger::before,
.lineTrigger::after{
  position: absolute;
  content:"";
  width:0;
  height:1px;
  background:#333;/* 枠線の色*/
}

/*左右線*/
.line2::before,
.line2::after{
  position: absolute;
  content:"";
  width: 1px;
  height:0;
  background:#333;/* 枠線の色*/
}

/*上線*/
.lineTrigger::before {
  top:0;
  left:0;
}

.lineTrigger.lineanime::before {
  animation: lineAnime .5s linear 0s forwards;/*表示されて0秒後に上線が0.5秒かけて表示*/
}

/*右線*/
.line2::before{ 
  top:0;
  right:0;
}

.lineTrigger.lineanime .line2::before {
  animation: lineAnime2 .5s linear .5s forwards;/*表示されて0.5秒後に右線が0.5秒かけて表示*/
}

/*下線*/
.lineTrigger::after { 
  bottom:0;
  right:0;
}

.lineTrigger.lineanime::after {
  animation: lineAnime .5s linear 1s forwards;/*表示されて1秒後に下線が0.5秒かけて表示*/
}

/*左線*/
.line2::after{ 
  bottom:0;
  left:0;
}

.lineTrigger.lineanime .line2::after {
  animation: lineAnime2 .5s linear 1.5s forwards;/*表示されて1.5秒後に左線が0.5秒かけて表示*/
}

@keyframes lineAnime {
  0% {width:0%;}
    100%{width:100%;}
}

@keyframes lineAnime2 {
  0% {height:0%;}
    100%{height:100%;}
}

/*枠線内側の要素*/

.lineTrigger.lineanime .lineinappear{
  animation: lineInnerAnime .5s linear 1.5s forwards;/*1.5秒後に中央のエリアが0.5秒かけて表示*/
  opacity: 0;/*初期値を透過0にする*/ 
}

@keyframes lineInnerAnime{
  0% {opacity:0;}
    100% {opacity:1;}
}


/*==================================================
シャッ（背景色が伸びて出現）
===================================*/

/*背景色が伸びて出現（共通）*/
.bgextend{
  animation-name:bgextendAnimeBase;
  animation-duration:1s;
  animation-fill-mode:forwards;
  position: relative;
  overflow: hidden;/*　はみ出た色要素を隠す　*/
  opacity:0;
}

@keyframes bgextendAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;  
}
}

/*中の要素*/
.bgappear{
  animation-name:bgextendAnimeSecond;
  animation-duration:1s;
  animation-delay: 0.6s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes bgextendAnimeSecond{
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
}
}

/*左から*/
.bgLRextend::before{
  animation-name:bgLRextendAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #666;/*伸びる背景色の設定*/
}
@keyframes bgLRextendAnime{
  0% {
    transform-origin:left;
    transform:scaleX(0);
  }
  50% {
    transform-origin:left;
    transform:scaleX(1);
  }
  50.001% {
    transform-origin:right;
  }
  100% {
    transform-origin:right;
    transform:scaleX(0);
  }
}

/*右から*/
.bgRLextend::before{
  animation-name:bgRLextendAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #666;/*伸びる背景色の設定*/
}
@keyframes bgRLextendAnime{
  0% {
    transform-origin:right;
    transform:scaleX(0);
  }
  50% {
    transform-origin:right;
    transform:scaleX(1);
  }
  50.001% {
    transform-origin:left;
  }
  100% {
    transform-origin:left;
    transform:scaleX(0);
  }
}

/*下から*/
.bgDUextend::before{
  animation-name:bgDUextendAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #666;/*伸びる背景色の設定*/
}
@keyframes bgDUextendAnime{
  0% {
    transform-origin:bottom;
    transform:scaleY(0);
  }
  50% {
    transform-origin:bottom;
    transform:scaleY(1);
  }
  50.001% {
    transform-origin:top;
  }
  100% {
    transform-origin:top;
    transform:scaleY(0);
  }
}

/*上から*/
.bgUDextend::before{
  animation-name:bgUDextendAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #666;/*伸びる背景色の設定*/
}
@keyframes bgUDextendAnime{
  0% {
    transform-origin:top;
    transform:scaleY(0);
  }
  50% {
    transform-origin:top;
    transform:scaleY(1);
  }
  50.001% {
    transform-origin:bottom;
  }
  100% {
    transform-origin:bottom;
    transform:scaleY(0);
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgappearTrigger,
.bgUDextendTrigger,
.bgDUextendTrigger,
.bgRLextendTrigger,
.bgLRextendTrigger{
    opacity: 0;
}


/*========= レイアウトのためのCSS ===============*/

.wrapper{
  overflow: hidden;
}

.flex{
  display:flex;
  flex-wrap: wrap;
}

.box{
  width: 220px;
  padding: 20px;
    margin: 0 20px 20px 20px;
  background: #666;
  color: #fff;
  box-sizing:border-box;
}

.bgextend,
.lineTrigger{
  width: 220px;
  padding: 20px;
    margin: 0 20px 20px 20px;
  box-sizing:border-box;
}



/*==================================================
アニメーション設定
===================================*/

/* アニメーションの回数を決めるCSS*/

.count2{  
  animation-iteration-count: 2;/*この数字を必要回数分に変更*/
}

.countinfinite{  
  animation-iteration-count: infinite;/*無限ループ*/
}

/* アニメーションスタートの遅延時間を決めるCSS*/

/* 0.1秒単位で遅延を設定 */
.delay-time01 { animation-delay: 0.1s; }
.delay-time02 { animation-delay: 0.2s; }
.delay-time03 { animation-delay: 0.3s; }
.delay-time04 { animation-delay: 0.4s; }
.delay-time05 { animation-delay: 0.5s; }
.delay-time06 { animation-delay: 0.6s; }
.delay-time07 { animation-delay: 0.7s; }
.delay-time08 { animation-delay: 0.8s; }
.delay-time09 { animation-delay: 0.9s; }
.delay-time1 { animation-delay: 1s; }
.delay-time11 { animation-delay: 1.1s; }
.delay-time12 { animation-delay: 1.2s; }
.delay-time13 { animation-delay: 1.3s; }
.delay-time14 { animation-delay: 1.4s; }
.delay-time15 { animation-delay: 1.5s; }
.delay-time16 { animation-delay: 1.6s; }
.delay-time17 { animation-delay: 1.7s; }
.delay-time18 { animation-delay: 1.8s; }
.delay-time19 { animation-delay: 1.9s; }
.delay-time2 { animation-delay: 2s; }
.delay-time21 { animation-delay: 2.1s; }
.delay-time22 { animation-delay: 2.2s; }
.delay-time23 { animation-delay: 2.3s; }
.delay-time24 { animation-delay: 2.4s; }
.delay-time25 { animation-delay: 2.5s; }
.delay-time26 { animation-delay: 2.6s; }
.delay-time27 { animation-delay: 2.7s; }
.delay-time28 { animation-delay: 2.8s; }
.delay-time29 { animation-delay: 2.9s; }
.delay-time3 { animation-delay: 3s; }
.delay-time31 { animation-delay: 3.1s; }
.delay-time32 { animation-delay: 3.2s; }
.delay-time33 { animation-delay: 3.3s; }
.delay-time34 { animation-delay: 3.4s; }
.delay-time35 { animation-delay: 3.5s; }
.delay-time36 { animation-delay: 3.6s; }
.delay-time37 { animation-delay: 3.7s; }
.delay-time38 { animation-delay: 3.8s; }
.delay-time39 { animation-delay: 3.9s; }
.delay-time4 { animation-delay: 4s; }
.delay-time41 { animation-delay: 4.1s; }
.delay-time42 { animation-delay: 4.2s; }
.delay-time43 { animation-delay: 4.3s; }
.delay-time44 { animation-delay: 4.4s; }
.delay-time45 { animation-delay: 4.5s; }
.delay-time46 { animation-delay: 4.6s; }
.delay-time47 { animation-delay: 4.7s; }
.delay-time48 { animation-delay: 4.8s; }
.delay-time49 { animation-delay: 4.9s; }
.delay-time5 { animation-delay: 5s; }


/* アニメーション自体が変化する時間を決めるCSS*/

.change-time05{  
  animation-duration: 0.5s;
}

.change-time1{  
  animation-duration: 1s;
}

.change-time15{  
  animation-duration: 1.5s;
}

.change-time2{  
  animation-duration: 2s;
}

.change-time25{  
  animation-duration: 2.5s;
}
.change-time2{  
  animation-duration: 2s;
}

.change-time5{  
  animation-duration: 5s;
}
.change-time3{  
  animation-duration: 3s;
}
.change-delay3{  
  animation-delay: 3s;
}
.change-delay2{  
  animation-delay: 2s;
}
.change-delay22{  
  animation-delay: 2.2s;
}
.change-delay24{  
  animation-delay: 2.4s;
}
.change-delay02{  
  animation-delay: .2s;
}
.change-delay04{  
  animation-delay: .4s;
}

/* その場で大きくフェードイン */
.fadeInLarge {
  animation-name: fadeInLargeAnime;
  animation-duration: 1.5s; /* 通常より長め */
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeInLargeAnime {
  from {
    opacity: 0;
    transform: scale(0.8); /* 初期状態を少し小さく */
  }
  to {
    opacity: 1;
    transform: scale(1); /* 通常サイズ */
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定 */
.fadeInLargeTrigger {
  opacity: 0;
}

/* 大きく上へフェードイン */
.fadeUpLarge {
  animation-name: fadeUpLargeAnime;
  animation-duration: 1.5s; /* 通常より長め */
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpLargeAnime {
  from {
    opacity: 0;
    transform: translateY(150px); /* 通常よりも移動距離を大きく */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定 */
.fadeUpLargeTrigger {
  opacity: 0;
}

/* serviceコンテンツを重ねて表示するためのスタイル */
#service1, #service2, #service3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s;
  z-index: 5;
}

/* 初期状態: service1 を表示 */
#service1 {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

/* フェードイン */
.fadeInActive {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 10 !important;
}

/* フェードアウト */
.fadeOut {
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: 5 !important;
}
#service1-btn, #service2-btn, #service3-btn {
  cursor: pointer;
}

.fadeInGlobalTrigger {
  animation-name: fadeInAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeInAnime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fadeInGlobalTrigger {
  opacity: 0;
}

.page-content{
	margin-top:200px !important;
	padding:10px;
}
.page-content div{
	max-width:800px;
	margin:0 auto;
}

@media screen and (max-width:768px){
	.page-content{
	margin-top:100px !important;
	padding:15px;
}
}

/* --- 子メニュー（子メニュー①）の基本設定 --- */
.main-navigation > ul > li > ul {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    z-index: 1000;
    opacity: 0;
/*     transform: translateY(-10px); */
/*     transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; */
}

/* --- 子メニュー①が表示される条件 --- */
.main-navigation > ul > li:hover > ul,
.main-navigation > ul > li > ul:hover {
    display: block;
    opacity: 1;
/*     transform: translateY(0); */
}

/* --- 孫メニュー（子メニュー②）の基本設定 --- */
.main-navigation ul ul ul {
    display: block;
    position: relative;
    background-color: white;
    padding-left: 10px;
    opacity: 1;
/*     transform: translateY(-10px); */
/*     transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; */
	box-shadow: none;
    background: none;
}
.main-navigation ul ul ul li{
/* 	padding:0 !important; */
}

/* --- 孫メニュー（子メニュー②）を表示（ホバー時） --- */
.main-navigation ul ul li:hover > ul,
.main-navigation ul ul ul:hover {
/*     display: block; */
    opacity: 1;
/*     transform: translateY(0); */
}

/* --- 孫メニュー（子メニュー②）を開いたときに間を空ける --- */
.main-navigation ul ul li {
/*     padding-bottom: 20px; */
}

/* --- メニューリンクのスタイル --- */
.main-navigation a {
    font-size: 13px;
/*     color: black; */
    text-decoration: none;
    font-weight: bold;
    display: block;
    padding: 8px 15px;
	text-align:justify;
}

.main-navigation ul ul a {
    font-size: 14px;
    color: black;
    text-decoration: none;
    display: block;
    padding: 8px 15px;
}

.main-navigation ul ul a:hover,
.main-navigation ul ul ul a:hover {
    background-color: #f4f4f4;
}



.sub-menu{
	width:240px !important;
}
.sub-menu li{
	max-width:100% !important;
	width:100% !important;
}

@media screen and (max-width:768px){
	
.sub-menu{
	width:100% !important;
	padding-left:0;
}
.sub-menu li{
	max-width:100% !important;
	width:100% !important;
	list-style:none;
	border-bottom:none;
	padding:5px 0;
}
	.sub-menu .sub-menu{
		padding-top:5px;
	}
	
	.menu-item-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
/* 		gap:0px; */
}

.toggle-submenu {
    color: white;
    font-size: 12px;
    margin-left: 10px;
    cursor: pointer;
    user-select: none;
    transition: transform 0.3s ease;
}

.menu-item-has-children.open .toggle-submenu {
    transform: rotate(180deg);
}
/* 	.sub-menu li .toggle-submenu{
		display:none !important;
	} */

}

/* 初期状態で子メニューと孫メニューを非表示 */
.mobile-nav ul.sub-menu {
    display: none;
    list-style: none;
    padding-left: 10px;
}

/* 親メニューをタップしたときに開く */
.mobile-nav ul.sub-menu.open {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* 子メニュー（孫メニューを含む）はデフォルトで表示 */
/* .mobile-nav ul.sub-menu .sub-menu {
    display: none !important;
} */

/* 親メニューの矢印 */
.mobile-nav .menu-item-has-children > a {
    position: relative;
    display: inline;
	justify-content:center;
    align-items: center;
}

/* .mobile-nav .menu-item-has-children > a::after {
    content: "▼";
    font-size: 12px;
    color: white;
    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
} */

/* メニューが開いたとき矢印が回転する */
.mobile-nav .menu-item-has-children.open > a::after {
    transform: rotate(180deg);
}

/* PCでは子メニューをホバーで開く */
@media screen and (min-width: 769px) {
    .main-navigation > ul > li > ul {
        display: none;
        position: absolute;
        background-color: white;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
        z-index: 1000;
    }

    .main-navigation > ul > li:hover > ul {
        display: block;
    }

    .main-navigation ul ul {
        position: relative;
        background: white;
        padding-left: 10px;
    }
}

.bg-white{
background:white;	
}
.mr-50{
/* 	margin-right:50px; */
	padding-right:50px;
}
.about-btn a{
	width:160px;
	font-size:14px;
	padding:10px;
}
.pd-10{
	padding:10px;
}

h1{
	margin:0 auto;
	margin-top:200px;
	max-width:1200px;
	padding:15px;
	text-align:center;
}

@media screen and (max-width: 769px) {
	.mr-50{
	padding-right:15px;
	padding:15px;
}
	.activities-img{
		min-height:200px !important;
	}
h1{
	margin-top:100px;
}
}

.entry-content-single{
	max-width:800px;
	padding:20px;
	margin:0 auto;
}

/* 
.entry-content-single img:first-of-type {
    max-width: 400px;
    height: auto;
	margin:0 auto;
	text-align:center;
} */
.entry-content-single img:first-of-type {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
	width:100%;
    height: auto;
}
.img-200{
	max-width:200px !important;
	margin:0 auto;
}
.img-250{
	max-width:250px !important;
	margin:0 auto;
}
.img-300{
	max-width:300px !important;
	margin:0 auto;
}
.img-350{
	max-width:350px !important;
	margin:0 auto;
}
.img-500{
	max-width:500px !important;
	margin:0 auto;
}
.img-550{
	max-width:550px !important;
	margin:0 auto;
}
.img-600{
	max-width:600px !important;
	margin:0 auto;
}
.img-650{
	max-width:650px !important;
	margin:0 auto;
}
.img-700{
	max-width:700px !important;
	margin:0 auto;
}
.img-750{
	max-width:750px !important;
	margin:0 auto;
}

.img-200 img {
    max-width: 200px !important;
}
.img-250 img {
    max-width: 250px !important;
}
.img-300 img {
    max-width: 300px !important;
}
.img-350 img {
    max-width: 350px !important;
}
.img-500 img {
    max-width: 500px !important;
}
.img-550 img {
    max-width: 550px !important;
}
.img-600 img {
    max-width: 600px !important;
}
.img-650 img {
    max-width: 650px !important;
}
.img-700 img {
    max-width: 700px !important;
}
.img-750 img {
    max-width: 750px !important;
}


/* テーブル全体のスタイル */
.mw-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 1rem;
}

/* 見出し列（th）のスタイル */
.mw-table th {
  width: 25%;
  padding: 15px 10px;
  background-color: #f7f7f7;
  text-align: left;
  vertical-align: top;
  border: 1px solid #ccc;
  font-weight: bold;
}

/* 入力欄の列（td）のスタイル */
.mw-table td {
  padding: 15px 10px;
  border: 1px solid #ccc;
}

/* 必須マークの赤色 */
.red {
  color: red;
  font-weight: normal;
}

/* 補足説明の小さな文字 */
.f08em {
  font-size: 0.8em;
  color: #555;
  display: block;
  margin-top: 5px;
}

/* 送信ボタンなどの中央寄せ */
.al-c {
  text-align: center;
}

/* 送信・戻るボタン周辺のマージン */
.mt50 {
  margin-top: 50px;
}

/* ボタンのスタイル（必要であれば） */
input[type="submit"],
input.back {
  background-color: #0066cc;
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 5px;
  font-size: 1rem;
}

input.back {
  background-color: #999;
}

input[type="submit"]:hover,
input.back:hover {
  opacity: 0.8;
}

@media screen and (max-width: 768px) {
  .mw-table, .mw-table thead, .mw-table tbody, .mw-table th, .mw-table td, .mw-table tr {
    display: block;
    width: 100%;
  }

  .mw-table tr {
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
  }

  .mw-table th {
    background: none;
    padding: 10px 0 5px;
    border: none;
    font-size: 0.95em;
    width: 100%;
  }

  .mw-table td {
    padding: 0 0 15px;
    border: none;
  }

  .mw-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
  }

  .al-c {
    text-align: center;
  }
	.mw-table th p{
		margin-bottom:0;
	}
	.mw-table td p{
		margin-top:0;
	}
}


    .first-view-about {
      position: relative;
      height: 100vh;
      background-size: cover;
      background-position: center;
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      overflow: hidden;
    }

    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* 黒の半透明オーバーレイ */
      z-index: 1;
    }
    .overlay2 {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.1); /* 黒の半透明オーバーレイ */
      z-index: 1;
    }

    .first-view-about h2 {
      position: relative;
      z-index: 2;
      font-size: 3rem;
      text-align: center;
		color:white;
    }
.first-view-profile{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/03/first-view-profile.jpeg');
	background-position: 50% 30%;
}
.first-view-company{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/03/first-view-company.jpg');
/* 	background-position: 50% 30%; */
}
.first-view-privacy{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/Cap-Cana-20.jpg');
}
.first-view-service{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/03/first-view-service.jpg');
/* 	background-position: 50% 30%; */
}
.first-view-alliance{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/03/first-view-alliance.jpg');
/* 	background-position: 50% 30%; */
}
.first-view-purpose{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/prospectus-bg.jpg');
}
.first-view-2013{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/61526b71fb4d19398f9d808880993fe1.jpg');
}
.first-view-2014{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/35dc9ab3fe0f076c46bbff78f2d61e2f.jpg');
}
.first-view-2015{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/IMG_6702-1.jpg');
}
/* .first-view-2016{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/3d0059c3eb7bc98f9d1a429485e9cbac.jpg');
}
.first-view-2017{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/69552b1a95476314f6dc25d2412b2cab-1.jpg');
} */
.first-view-2016{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/Miyuki-42-scaled-1-1.jpg');
}
.first-view-2017{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/022C0CF6-0036-4687-9177-E0679E46E1CE-scaled-1-1.jpeg');
}
.first-view-2018{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/6487bd1ab36b3b892dfcea8f9bc863fc.jpg');
}
.first-view-2019{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/426330ecd5029a8cad72d0b02aa44caa.jpg');
}
/* .first-view-2020{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/IMG_6590.jpg');
} */
.first-view-2020{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/IMG_6698-scaled-1.jpg');
}
.first-view-2021{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/IMG_6506.jpg');
}
.first-view-2022{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/8728e27bd3462a4dfe69857f8a7dbcd6.jpg');
}
.first-view-2023{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/2023-Xmas-party-102-1.jpeg');
}
.first-view-2024{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/7dbf348cfd3154e87ddf2b9e34154476.jpg');
} 
/* .first-view-2025{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/IMG_8896-scaled-1.jpg');
} */
.first-view-2025{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/IMG_8393-scaled-1.jpg');
}
.first-view-academics{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/IMG_5991.jpg');
}
.first-view-news{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/Old-City-13.jpg');
}
.first-view-business-news{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/05/Cap-Cana-1.jpg');
}
.first-view-wbc{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/aa80d3d0233566885fd55525a90c0525-1.jpeg');
}
.first-view-link{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/IMG_5439.jpg');
}
.first-view-basic{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/IMG_6373-1.jpg');
}
.first-view-contribution{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/New-City-6.jpg');
}
.first-view-tourism{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/IMG_6685-1.jpg');
}
.first-view-tourism-gallery{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/IMG_5680.jpg');
}
.first-view-culture{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/f9f7bb667906b9663848c8036f8400f5.jpg');
}
.first-view-culture-history{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/ac725ad12baf94f2a0aa07088a7f36f7.jpg');
}
.first-view-culture-literature{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/e937addbf1e68f9092c41c5ea9e0871c.jpg');
}
.first-view-culture-music{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/c854b56713421d4669804b35a4e084a5.jpg');
}
.first-view-culture-cuisine{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/0b72da3a5b236ba281b5a35299f6fd15.jpg');
}
.first-view-culture-sports{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/0aa0aad997179d4c6cbdd0e437da46c5.jpeg');
}
.first-view-business{
	background-image: url('https://testsite-richwin.work/wp-content/uploads/2025/06/New-City-10.jpg');
}
.first-view-business-investment{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/Night-view.jpg');
}
.first-view-business-legal-system{
	background-image: url('https://test-test-richwin.work/wp-content/uploads/2025/04/Old-City-4.jpg');
}


.band{
	background-color:#E2E0D1;
	padding:15px;
}

.addtoany_share_save_container{
	max-width:1200px;
/* 	padding:15px; */
}

#envirabox-title{
	display:none !important;
}
.caption{
	display:none !important;
}
/* .envira-gallery-wrap .envira-gallery-public.envira-gallery-css-animations .envira-gallery-item img[title] {
  title: none;
}

.envira-gallery-wrap .envira-gallery-public.envira-gallery-css-animations .envira-gallery-item img[title] {
  pointer-events: auto;
}

.envira-gallery-wrap .envira-gallery-public.envira-gallery-css-animations .envira-gallery-item img[title]:hover::after {
  content: none !important;
}
 */

.envira-gallery-position-overlay.envira-gallery-bottom-right {
  display: none !important;
}

.mt-50{
	margin-top:50px !important;
}
.gap-20{
	gap:20px;
}

.section-min{
	padding:60px 20px;
}
.section-min2{
	padding:10px 20px;
}
.section-min3{
	padding:40px 20px 10px;
}

@media screen and (max-width:768px){
	.section-min{
	padding:40px 20px;
}
	.section-min2{
	padding:10px 20px;
}
	.section-min3{
	padding:40px 20px 10px;
}
    .first-view-about h2 {
		font-size:1.5rem;
		line-height:2rem;
    }
	.header-icons{
		width:40px;
	}
}

.acivities-sp-imgs{
	padding:10px;
	justify-content:center;
	gap:5px;
	padding-bottom:0;
}
.pt-50{
	padding-top:50px;
}
.hd-1{
	padding:15px;
	color:white;
	background-color:#0071BC;
}

/* PC用 - 子メニュー（子メニュー①） */
.main-navigation > ul > li > ul {
    display: none;
    position: absolute;
    top: 100%;
/*     left: 0; */
	top:60px;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    z-index: 1000;
}

/* 親メニューにホバーしたら子メニューを表示 */
.main-navigation > ul > li:hover > ul {
    display: block;
}

/* PC用 - 孫メニュー（子メニュー②） */
.main-navigation ul ul li{
	position:relative;
}
.main-navigation ul ul ul {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0px 0;
    z-index: 1000;
}

/* 子メニューにホバーしたら孫メニューを表示 */
.main-navigation ul ul li:hover > ul {
    display: block;
}

/* 
.mobile-nav .menu-item-has-children {
    position: relative;
}

.mobile-nav .menu-item-has-children > a {
    display: block;
    padding-right: 30px;
}

.mobile-nav .toggle-submenu {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: white;
    cursor: pointer;
    z-index: 2;
} */

.mobile-nav .menu-item-has-children {
    position: relative;
}

.mobile-nav {
    overflow-y: auto; /* 縦スクロールを許可 */
    max-height: 100vh; /* 画面の高さに収める */
}

.wp-block-table .has-fixed-layout{
	margin-bottom:30px;
}
.wp-block-table td, .wp-block-table th{
	border:none;
}
.line-height-min{
  line-height:1.5
}

table tr:nth-child(odd) {
  background-color: #F2F2F2; /* グレー */
}

table tr:nth-child(even) {
  background-color: #ffffff; /* 白 */
}

.gallery-buttons{
	margin:0 auto;
	margin-top:50px;
	margin-bottom:50px;
	padding:10px;
	max-width:1200px;
	gap:20px;
}
#gallery1, #gallery2, #gallery3, #gallery4{
	margin-top:-80px;
	padding-top:80px;
}

.center-cell {
  text-align: center;
  vertical-align: middle;
}

.tbl-basic td[colspan="2"] {
  text-align: center;
}

.tbl-basic-history td > strong{
	font-weight:900;
}