/*コメント*/
h1,h2,h3,h4{font-weight:normal;}

.carousel-container,.carousel-container-2,.carousel-container-3,.carousel-container-4 {
    position: relative;
    width: 100%;
}
.carousel img,.carousel-2 img,.carousel-3 img,.carousel-4 img {padding:0 2.5%;
    width: 100%;
    height: auto;
}

.custom-arrow,.custom-arrow-2,.custom-arrow-3,
    .custom-arrow-4,.custom-arrow-5 {
        z-index: 10;
        position: absolute;
        left: 50%;
        bottom: -35%; /* 下からの距離を調整 */
        transform: translateX(-50%); /* 中央揃え */
        display: flex;
        gap: 10px;
        width: auto;
        padding-top:0;
        margin: 0;
    }
    
    .custom-arrow .prev,.custom-arrow .next,
    .custom-arrow-2 .prev-2,.custom-arrow-2 .next-2,
    .custom-arrow-3 .prev-3,.custom-arrow-3 .next-3,
    .custom-arrow-4 .prev-4,.custom-arrow-4 .next-4,
    .custom-arrow-5 .prev-5,.custom-arrow-5 .next-5 {
        background: transparent;
        color: rgba(54,69,79,1.0);
        padding: 30px 30px;
        cursor: pointer;
        border: 1px solid rgba(54,69,79,1.0);
        border-radius: 50%;
        transition: background 0.3s;
        flex: 1;
        text-align: center;
    }
    
    .custom-arrow .prev:hover,.custom-arrow .next:hover,
    .custom-arrow-2 .prev-2:hover,.custom-arrow-2 .next-2:hover,
    .custom-arrow-3 .prev-3:hover,.custom-arrow-3 .next-3:hover,
    .custom-arrow-4 .prev-4:hover,.custom-arrow-4 .next-4:hover,
    .custom-arrow-5 .prev-5:hover,.custom-arrow-5 .next-5:hover {
        background: rgba(54,69,79,0.3);
    }


.navy-black a,.navy-black a:hover,.navy-black a:hover:after,.navy-black{color:#36454F;text-decoration:none;}


/**/
.circle a img,.circle img{border-radius:15px;}

.circle-2 img{border-radius:50%;}
/* 画像のコンテナ */
.scale-up {border-radius:15px;
  overflow: hidden;
   /* お好みで角丸を調整 */
}

/* 画像本体 */
.scale-up a img {
  width: 100%;
  height: 100%;
  /*object-fit: cover;*/
  transition: transform 0.3s ease;
  display: block;
}

/* ホバー時の拡大 */
.scale-up a img:hover {border-radius:15px;
  transform: scale(1.1);overflow:hidden;
}

.text-center{text-align:center;}
/* ブログアーカイブのスタイル */
.blog-list {
    margin: 0 -15px; /* 左右のネガティブマージンでコンテナをはみ出し、等間隔に */
}
.blog-item2 {
    float: left;
    width: 100%; /* 4つずつ表示 */
    padding: 0 15px;
    margin-bottom: 30px;
    box-sizing: border-box;
}
.blog-item {
    float: left;
    width: calc(100%/3); /* 4つずつ表示 */
    padding: 0 15px;
    margin-bottom: 30px;
    box-sizing: border-box;
}
.blog-detail-content{background:rgba(255,255,255,0.8);padding:10px;border-radius:10px;width:80%;}

.blog-detail-content h5{font-size:1.6em;}

.blog-detail-content p{font-size:1.2em;}
/* レスポンシブ対応 */
@media screen and (max-width: 992px) {
    .blog-item2 {
        width: 100%; /* タブレットでは3つずつ */
    }
    .blog-item {
        width: calc(100%/2); /* タブレットでは3つずつ */
    }
    .blog-detail-content h5{font-size:1.3em;}

    .blog-detail-content p{font-size:1.2em;}

    .blog-detail-content{background:rgba(255,255,255,0.8);padding:10px;border-radius:10px;width:100%;}
}

@media screen and (max-width: 768px) {
    .blog-item2 {
        width: 100%; /* 小さいタブレットでは2つずつ */
    }
    .blog-item {
        width:calc(100%/2); /* 小さいタブレットでは2つずつ */
    }
    .blog-detail-content h5{font-size:1.3em;}

    .blog-detail-content p{font-size:1.2em;}

    .blog-detail-content{background:rgba(255,255,255,0.8);padding:10px;border-radius:10px;width:100%;}
}

@media screen and (max-width: 480px) {
    .blog-item2 {
        width: 100%; /* スマホでは1つずつ */
    }
    .blog-item {
        width:100%; /* スマホでは1つずつ */
    }
    .blog-detail-content h5{font-size:1.3em;}

    .blog-detail-content p{font-size:1.2em;}

    .blog-detail-content{background:rgba(255,255,255,0.8);padding:10px;border-radius:10px;width:100%;}
}

.blog-link {z-index:1;position:relative;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.blog-link:hover {
    opacity: 0.8;
}

.blog-thumbnail {
    overflow: hidden;
    margin-bottom: 10px;
}

.blog-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-date time {
    font-size: 1.25em;
    color: #666;
    margin-bottom: 5px;
}

.blog-box h4{font-size:1.25em;}

.entry-title h5,.entry-title p{
    font-size: 1.35em;
    margin: 0;
    line-height: 1.4;
    font-weight: normal;
}
/**/
.fade-in-element {
    opacity: 0;
    transform: translateY(120px);
    transition: opacity 5s ease, transform 1s ease;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/*part.5--box-border--*/

/*--neumo--*/
.neumo { 
    font-size: 1.2em;
    text-align: center; 
    padding-top: 1.0em; 
    width: 250px; 
    height: 60px; 
    border-radius: 57px; 
    background: #FF7A00; 
    box-shadow: 9px 9px 18px #d96800, -9px -9px 18px #ff8c1f; 
    transition: box-shadow 0.2s ease;
    color: #ffffff; /* オレンジ背景に合わせて白色テキストに変更 */
    /*border: 1px solid #2a2a2a;*/ 
}

.neumo:active {
    box-shadow: inset 9px 9px 18px #d96800, inset -9px -9px 18px #ff8c1f;
}

.no-line2 a, .no-line2 a:hover, .no-line2 a:hover:after
	{text-decoration:none;
	color:#2a2a2a !important;
	/*text-shadow:1px 1px 1px black !important;

-webkit-text-shadow:1px 1px 1px black !important;*/}

.neumo-button {position:relative; 
    font-size: 1.2em;
    text-align: center; 
    padding-top: 1.0em; 
    width: 250px; 
    height: 60px; 
    border-radius: 57px; 
    background: #01b700; /* 緑色に変更 */
    box-shadow: 9px 9px 18px #019a00, /* 暗い緑のシャドウ */
                -9px -9px 18px #01d400; /* 明るい緑のシャドウ */
    transition: box-shadow 0.2s ease;
    /*border: 1px solid #2a2a2a;*/ 
}

.neumo-button:active {
    box-shadow: inset 9px 9px 18px #019a00, /* 暗い緑のシャドウ（内側） */
                inset -9px -9px 18px #01d400; /* 明るい緑のシャドウ（内側） */
}

/**/
.orange04{color:#FF7A00;text-shadow:2px 2px 2px black;

-webkit-text-shadow:2px 2px 2px black;}

/*#502200*/

.brown01, .brown01 a, .brown01 a:hover, .brown01 a:hover:after{color:rgba(80,34,0,1.0); text-decoration:none;}
/*text animetions*/
@keyframes showTextFromBottom{
  0%{
    transform: translateY( 100% );
  }
  100%{
    transform: translateY( 0px );
  }
}
.anime-up.displayed span{
  animation: showText 1s backwards;
  display: inline-block;
}
.anime-up.displayed > span{
  overflow: hidden;
}
.anime-up.displayed > span > span{
  animation: showTextFromBottom 0.5s backwards;
}

.aa{margin:0;}

.next a {color:red;
  padding-top: 60px;
}
.next a:hover, .next a:hover:after{color:red; text-decoration:none;}

 .next a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid red;
  border-bottom: 1px solid red;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb 2s infinite;
  animation: sdb 2s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb {
  0% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
  }
  20% {
    -webkit-transform: rotate(-45deg) translate(-10px, 10px);
  }
  40% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
  }
}
@keyframes sdb {
  0% {
    transform: rotate(-45deg) translate(0, 0);
  }
  20% {
    transform: rotate(-45deg) translate(-10px, 10px);
  }
  40% {
    transform: rotate(-45deg) translate(0, 0);
  }
}

.gnavi li a{
    /*線の基点とするためrelativeを指定*/
	position: relative;
}

.gnavi li.current a,
.gnavi li a:hover{
	color:#FF7A00;
}

.gnavi li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0px;
    left: 0%;
    /*線の形状*/
    width: 100%;
    height: 2px;
    background:#FF7A00;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: left top;/*左上基点*/
}

/*現在地とhoverの設定*/
.gnavi li.current a::after,
.gnavi li a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}

.eachTextAnime span{opacity: 0;}
.eachTextAnime.appeartext span{ animation:text_anime_on 1s ease-out forwards; }
@keyframes text_anime_on {
	0% {opacity:0;}
	100% {opacity:1;}
}

.no-line a, .no-line a:hover, .no-line a:hover:after{text-decoration:none;color:#151515;}

.glowAnime span{opacity: 0;display:inline-block;}

/*アニメーションで透過を0から1に変化させtext-shadowをつける*/
.glowAnime.glow span{ animation:glow_anime 1s ease-out forwards;display:inline-block; }

@keyframes glow_anime{
	0% { opacity:0; text-shadow: 0 0 0 #fff,0 0 0 #fff;}
	50% { opacity:1;text-shadow: 0 0 10px #fff,0 0 15px #fff; }
	100% { opacity:1; text-shadow: 0 0 0 #fff,0 0 0 #fff;}
}
/*button*/
.btn-b {
  display: inline-block;
  padding: 0.8em 0.8em;
  background-color: #eeeeee; /* 背景色 */
  box-shadow: 0 5px 0 #898989; /* 影の太さ・色 */
  border-radius: 5px;
  /*color: #fff;*/
  /*cursor: pointer;*/
  text-decoration: none; /* 文字の下線を消す */
}

/* ホバー時 */
.btn-b:hover {
  box-shadow: none;
  transform: translateY(5px);
}
/*button*/
.btn-z {
  display: inline-block;
  padding: 0.8em 2em;
  background-color: #eeeeee; /* 背景色 */
  box-shadow: 0 5px 0 #898989; /* 影の太さ・色 */
  border-radius: 5px;
  /*color: #fff;*/
  /*cursor: pointer;*/
  text-decoration: none; /* 文字の下線を消す */
}

/* ホバー時 */
.btn-z:hover {
  box-shadow: none;
  transform: translateY(5px);
}

.btn-y {
  display: inline-block;
  padding: 0.8em 1.2em;
  background-color: #eeeeee; /* 背景色 */
  box-shadow: 0 5px 0 #898989; /* 影の太さ・色 */
  border-radius: 5px;
  /*color: #fff;*/
  /*cursor: pointer;*/
  text-decoration: none; /* 文字の下線を消す */
}

/* ホバー時 */
.btn-y:hover {
  box-shadow: none;
  transform: translateY(5px);
}
/*オレンジ*/
.btn-x {
  display: inline-block;
  padding: 0.8em 2em;
  background-color: #FF7300; /* 背景色 */
  box-shadow: 0 5px 0 #E67417; /* 影の太さ・色 */
  border-radius: 5px;
  /*color: #fff;*/
  /*cursor: pointer;*/
  text-decoration: none; /* 文字の下線を消す */
}

/* ホバー時 */
.btn-x:hover {
  box-shadow: none;
  transform: translateY(5px);
}
/*end*/
/* カスタムスタイル（必要に応じて） */
.fullscreen-modal .modal-dialog {
  animation: fadeInDown 0.5s ease;
}
/* アニメーション定義 */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}


/*bush! button*/
@keyframes animate{
0%{transform:scale(.95); opacity:1}
90%{opacity:.1}to{transform:scale(1.2,1.5); opacity:0}
}


/*========= モーダル表示のためのCSS ===============*/

/*動画表示のモーダルの余白を変更したい場合*/
.modaal-video .modaal-inner-wrapper{
  padding:0;
}

/*モーダルのボタンの色を変更したい場合*/
.modaal-close:after, 
.modaal-close:before{
  background:#ccc;  
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before{
  background:#666;
}

.padding-between{padding:2% 4% 2% 4%;}

.flowchart{
  margin-left: .5em;
  border-left: 2px dashed;
}
.flowchart h4{
  position: relative;
  margin-left: 2em;
  margin-bottom: 0;
}
.flowchart p{
  margin-top: .3em;
  margin-left: 3em;
}
.flowchart h4:before{
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #000;
  position: absolute;
  left: calc(-2em - 6px);
  top: .5em;
}
.flowchart h4:after{
  content: "";
  border-bottom: 1px solid;
  width: 1.5em;
  background: #000;
  position: absolute;
  top: .7em;
  left: -2em; 
}

/*#DA251D*/
.emphasis-bright p,.emphasis-bright p a,.emphasis-bright h1{
	box-decoration-break:clone;
	-webkit-box-decoration:clone;
        display:inline-block;
	padding:10px;
 	line-height:2.2;
	font-weight:normal;
	text-align:center;
        color:#fff;
	background:#DA251D;}

.emphasis-bright-block p{
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: block;
    padding: 10px;
    line-height: 2.2;
    font-weight: normal;
    text-align: center;
    color:#fff;
    background-color: #DA251D;
    box-shadow: inset 0 0 0 2px #fff;
    padding: 14px;
}

/*fadeup-text*/
.anime .bg-wrap,
.anime .bg-wrap .inn {
  display:block;
}
 
.anime .bg-wrap {
  overflow: hidden;
  opacity: 0;
}
 
/*.anime .bg-wrap + .bg-wrap {
  margin-top: 10px;
}
 
.anime .bg-wrap .inn.large {
  font-size: 36px;
  font-weight: bold;
}
.anime .bg-wrap .inn.small {
  font-size: 15px;
}*/
 
.anime .bg-wrap .inn {
  opacity: 0;
  transform: translateY(200px);
  transition: 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
 
.anime.is-animated .bg-wrap {
  opacity: 1;
}
 
.anime.is-animated .bg-wrap .inn {
  opacity: 1;
  transform:  translateY(0px);
}
/*fadeup-text_end*/
/*fade-part2*/
.animate .bg-wrap,
.animate .bg-wrap .inn {
  display:block;
}
 
.animate .bg-wrap {
  overflow: hidden;
  opacity: 0;
}
 
/*.anime .bg-wrap + .bg-wrap {
  margin-top: 10px;
}
 
.anime .bg-wrap .inn.large {
  font-size: 36px;
  font-weight: bold;
}
.anime .bg-wrap .inn.small {
  font-size: 15px;
}*/
 
.animate .bg-wrap .inn {
  opacity: 0;
  transform: translateX(-300px);
  transition: 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
 
.animate.is-animated .bg-wrap {
  opacity: 1;
}
 
.animate.is-animated .bg-wrap .inn {
  opacity: 1;
  transform:  translateX(0px);
}
/*fade-part3*/
.anim .bg-wrap,
.anim .bg-wrap .inn {
  display:block;
}
 
.anim .bg-wrap {
  overflow: hidden;
  opacity: 0;
}
 
/*.anime .bg-wrap + .bg-wrap {
  margin-top: 10px;
}
 
.anime .bg-wrap .inn.large {
  font-size: 36px;
  font-weight: bold;
}
.anime .bg-wrap .inn.small {
  font-size: 15px;
}*/
 
.anim .bg-wrap .inn {
  opacity: 0;
  transform: translateY(-100px);
  transition: 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
 
.anim.is-animated .bg-wrap {
  opacity: 1;
}
 
.anim.is-animated .bg-wrap .inn {
  opacity: 1;
  transform:  translateY(0px);
}

/**/
.item {
  position: relative;
  overflow: hidden;
}

.item:hover .caption-up {
  transform: translateY(0);
}

.caption-up {
  text-align: left;
  margin: 0;
  padding: 1em;
  position: absolute;
  z-index: 0;
  top: 0; /* bottom: 0 から top: 0 に変更 */
  left: 0;
  width: 100%;
  height: 100%; /* 高さを100%に設定して画像全体を覆う */
  overflow: auto;
  box-sizing: border-box;
  transition: transform 0.5s;
  transform: translateY(100%);
  background: rgba(185,130,110,0.7);
  
}

.fadeup {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .fadeup.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* 遅延バリエーション */
        .fadeup.delay-1 { transition-delay: 0.1s; }
        .fadeup.delay-2 { transition-delay: 0.2s; }
        .fadeup.delay-3 { transition-delay: 0.3s; }
        .fadeup.delay-4 { transition-delay: 0.4s; }
        .fadeup.delay-5 { transition-delay: 0.5s; }

.head-border {
  color: #DA251D;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  flex-wrap: wrap; /* 改行を許可 */
  gap: 0.5rem; /* 改行時の上下間隔 */
}

.head-border:before,
.head-border:after {
  content: "";
  flex: 1 1 20px; /* 最小幅を設定 */
  /*min-width: 20px;*/ /* 線の最小幅を保証 */
  height: 1px;
  background-color:#DA251D;
}

.head-border:before {
  margin-right: 1rem;
  order: -1; /* 常に最初に配置 */
}

.head-border:after {
  margin-left: 1rem;
  order: 999; /* 常に最後に配置 */
}

	.button-container {
            display: flex;
            justify-content: center;
            padding: 20px;
            max-width: 100%;
            box-sizing: border-box;
        }
        
        .special-button {
            position: relative;
            width: 200px;
            height: 50px;
            font-size: 1.35em;
            color: #DA251D;
            background-color: transparent;
            border: 2px solid #DA251D;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.3s ease;
            overflow: hidden; /* 重要: 背景エフェクトがはみ出さないようにする */
            box-sizing: border-box;
        }
        
        /* aタグのスタイル */
        .special-button a {
            color: #DA251D;
            text-decoration: none;
            transition: color 0.3s ease;
            z-index: 1;
            position: relative;
        }
        
        /* ホバー時の背景エフェクト */
        .special-button:after {
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background-color: #DA251D;
            transition: left 0.3s ease;
            z-index: 0;
        }
        
        .special-button:hover {
            color: #ffffff;
        }
        
        .special-button:hover a {
            color: #ffffff;
        }
        
        .special-button:hover:after {
            left: 0;
        }
/*part2*/
        .special-button-2 {
            position: relative;
            width: 280px;
            height: 70px;
            font-size: 1.35em;
            color: #DA251D;
            background-color: transparent;
            border: 2px solid #DA251D;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.3s ease;
            overflow: hidden; /* 重要: 背景エフェクトがはみ出さないようにする */
            box-sizing: border-box;
        }
        
        /* aタグのスタイル */
        .special-button-2 a {
            color: #DA251D;
            text-decoration: none;
            transition: color 0.3s ease;
            z-index: 1;
            position: relative;
        }
        
        /* ホバー時の背景エフェクト */
        .special-button-2:after {
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background-color: #DA251D;
            transition: left 0.3s ease;
            z-index: 0;
        }
        
        .special-button-2:hover {
            color: #ffffff;
        }
        
        .special-button-2:hover a {
            color: #ffffff;
        }
        
        .special-button-2:hover:after {
            left: 0;
        }
        /* 
        @media screen and (max-width: 480px) {
            .button-container {
                justify-content: center; 
            }
            
            .special-button {
                width: 90%; 
                max-width: 250px; 
            }
        }*/
/*special-button-3<a class="special-btn" href="#">VIEW MORE</a>*/
/*red-contact*/
a.special-btn {
  display: inline-block;
  width: 280px;
  text-align: center;
  text-decoration: none;
  line-height: 60px;
  color: #fff;
  background-color: rgba(218,37,29,1.0);
  font-size:1.35em;
  font-weight:bold;
  border-radius:10px;
}
a.special-btn:hover {
  background-position: right center;
  background-size: 200% auto;
  -webkit-animation: pulse 2s infinite;
  animation: ripple 1.5s infinite;
  color: #fff;
}
@keyframes ripple {
  0% {box-shadow: 0 0 0 0 rgba(218,37,29,1.0);}
  70% {box-shadow: 0 0 0 10px rgb(218 37 29 / 0%);}
  100% {box-shadow: 0 0 0 0 rgb(218 37 29 / 0%);}
}
/*special-btn-2-LINE*/
a.special-btn-2 {
  display: inline-block;
  width: 280px;
  text-align: center;
  text-decoration: none;
  line-height: 60px;
  color: #fff;
  background-color: #06C755;
  font-size:1.35em;
  font-weight:bold;
  border-radius:10px;
}
a.special-btn-2:hover {
  background-position: right center;
  background-size: 200% auto;
  -webkit-animation: pulse 2s infinite;
  animation: ripples 1.5s infinite;
  color: #fff;
}
@keyframes ripples {
  0% {box-shadow: 0 0 0 0 #06C755;}
  70% {box-shadow: 0 0 0 10px rgb(6 199 85 / 0%);}
  100% {box-shadow: 0 0 0 0 rgb(6 199 85 / 0%);}
}
/*special-btn-3*/
/*TEL-yellow*/
a.special-btn-3 {
  display: inline-block;
  width: 280px;
  text-align: center;
  text-decoration: none;
  line-height: 60px;
  color: #DA251D;
  background-color: rgba(255,215,0,1.0);
  font-size:1.35em;
  border-radius:10px;
}
a.special-btn-3:hover {
  background-position: right center;
  background-size: 200% auto;
  -webkit-animation: pulse 2s infinite;
  animation: rip 1.5s infinite;
  color:#DA251D;
}
@keyframes rip {
  0% {box-shadow: 0 0 0 0 rgba(255,215,0,1.0);}
  70% {box-shadow: 0 0 0 10px rgb(255 215 0 / 0%);}
  100% {box-shadow: 0 0 0 0 rgb(255 215 0 / 0%);}
}
/*special-btn-4-Instagram*/
a.special-btn-4 {
  display: inline-block;
  width: 280px;
  text-align: center;
  text-decoration: none;
  line-height: 60px;
  color:#fff;
  background-color: #FF30C4;
  font-size:1.35em;
  font-weight:bold;
  border-radius:10px;
}
a.special-btn-4:hover {
  background-position: right center;
  background-size: 200% auto;
  -webkit-animation: pulse 2s infinite;
  animation: ripp 1.5s infinite;
  color:#fff;
}
@keyframes ripp {
  0% {box-shadow: 0 0 0 0 #FF30C4;}
  70% {box-shadow: 0 0 0 10px rgb(255 48 196 / 0%);}
  100% {box-shadow: 0 0 0 0 rgb(255 48 196 / 0%);}
}
/*special-btn-zalo-#0068FF-rgba(0,104,255,1.0)*/
a.special-btn-zalo {
  display: inline-block;
  width: 280px;
  text-align: center;
  text-decoration: none;
  line-height: 60px;
  color:#fff;
  background-color: #0068FF;
  font-size:1.35em;
  font-weight:bold;
  border-radius:10px;
}
a.special-btn-zalo:hover {
  background-position: right center;
  background-size: 200% auto;
  -webkit-animation: pulse 2s infinite;
  animation: ripple-2 1.5s infinite;
  color:#fff;
}
@keyframes ripple-2 {
  0% {box-shadow: 0 0 0 0 #0068FF;}
  70% {box-shadow: 0 0 0 10px rgb(0 104 255 / 0%);}
  100% {box-shadow: 0 0 0 0 rgb(0 104 255 / 0%);}
}
/*special-btn-facebook-#3b5998-rgba(59,89,152,1.0)*/
a.special-btn-facebook {
  display: inline-block;
  width: 280px;
  text-align: center;
  text-decoration: none;
  line-height: 60px;
  color:#fff;
  background-color: #3b5998;
  font-size:1.35em;
  font-weight:bold;
  border-radius:10px;
}
a.special-btn-facebook:hover {
  background-position: right center;
  background-size: 200% auto;
  -webkit-animation: pulse 2s infinite;
  animation: ripple-3 1.5s infinite;
  color:#fff;
}
@keyframes ripple-3 {
  0% {box-shadow: 0 0 0 0 #3b5998;}
  70% {box-shadow: 0 0 0 10px rgb(59 89 152 / 0%);}
  100% {box-shadow: 0 0 0 0 rgb(59 89 152 / 0%);}
}

/*special-btn-10-rgba(255,215,0,1.0)-yellow*/
a.special-btn-10 {
  display: inline-block;
  width: 280px;
  text-align: center;
  text-decoration: none;
  line-height: 60px;
  color:#DA251D;
  background-color: rgba(255,215,0,1.0);
  font-size:1.35em;
  font-weight:bold;
  border-radius:10px;
}
a.special-btn-10:hover {
  background-position: right center;
  background-size: 200% auto;
  -webkit-animation: pulse 2s infinite;
  animation: ripple-10 1.5s infinite;
  color:#fff;
}
@keyframes ripple-10 {
  0% {box-shadow: 0 0 0 0 rgba(255,215,0,1.0);}
  70% {box-shadow: 0 0 0 10px rgb(255 215 0 / 0%);}
  100% {box-shadow: 0 0 0 0 rgb(255 215 0 / 0%);}
}
/* 固定ヘッダー */
        .fixed-header {
    position: fixed;
    top: 0; /* 常に表示 */
    left: 0;
    width: 100%;
    height: 100px;
    background-color: rgba(255,255,255,1.0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    transition: opacity 0.3s ease; /* topからopacityに変更 */
    z-index: 100;
}

/* show クラスは削除または無効化 */
.fixed-header.show {
    /* 不要になったため削除可能 */
}

/* ロゴ */
.logo a {
    height: 70px;
    display: flex;
    align-items: center;
}

.logo a img {
    height: 100%;
    width: auto;
}

/* ロゴがない場合のテキスト表示 */
.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

/* 電話ボタン（中央配置） */
.phone-button-wrapper {
    top: 5px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px; /* ボタン間の間隔 */
    align-items: center;
}

.phone-button-wrapper a {
    white-space: nowrap; /* テキストの改行を防ぐ */
}

/*<h2 class="heading-cover" data-en="Recruit"><span>英字とラインのCSS見出し</span></h2> */
.heading-cover {
	position: relative;
	padding-top: 60px;
	font-size: 2.2em;
	border-bottom: 2px solid #b9826e;
}

.heading-cover span {
	position: relative;
	z-index: 2;
}

.heading-cover::before {
	content: attr(data-en);
	position: absolute;
	top: 0px;
	left: 0;
	color: rgba(185,130,110,0.5);
	font-size: 1.8em;font-weight:bold;
        /*letter-spacing: 0.1em;*/
	z-index: 1;
        font-family: "Work Sans", sans-serif;
}

/* ========================================
   スタッフアーカイブページ
======================================== */

/* PC表示 */
.staff-archive-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.staff-thumbnail {
    flex-shrink: 0;
    width: 225px;
}

.staff-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.staff-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.staff-name-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.staff-name-ja h5 {
    color: #b9826e;
    margin: 0;
}

.staff-name-en {
    font-size: 1.1em;
    margin: 0;
    color: #333;
}

.staff-catchcopy {
    margin: 0;
}

/* スマホ表示 */
@media screen and (max-width: 768px) {
    .staff-archive-item {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .staff-thumbnail {
        width: 40%;
        min-width: 150px;
    }
    
    .staff-info {
        width: calc(60% - 15px);
        gap: 10px;
    }
    
    .staff-name-wrapper {
        /* 画像の横に配置 */
    }
    
    .staff-catchcopy {
        width: 100%;
        /* 画像と名前の下に配置 */
    }
}

/* ========================================
   スタッフ詳細ページ
======================================== */

.staff-detail {
    max-width: 1200px;
    margin: 0 auto;
}

/* ヘッダー部分（画像と名前の横並び） */
.staff-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.staff-main-image {
    flex-shrink: 0;
    width: 700px;
}

.staff-main-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.staff-name-section {
    flex: 1;
}

.staff-name-ja-single {
    color: #b9826e;
    margin: 0 0 10px 0;
}

.staff-name-en-single {
    font-size: 1.1em;
    margin: 0;
    color: #333;
}

/* キャッチコピー */
.staff-catchcopy-single {
    font-size: 1.4em;
    color: #b9826e;
    margin-bottom: 25px;
    font-weight: bold;
}

/* コメント1 */
.staff-comment1 {
    font-size: 1.25em;
    color: #151515;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* 繰り返しセクション */
.staff-repeat-section {
    margin-bottom: 40px;
}

.staff-catch2 {
    font-size: 1.2em;
    color: #b9826e;
    font-weight: bold;
    margin-bottom: 15px;
}

.staff-comment2 {
    font-size: 1.25em;
    color: #151515;
    margin-bottom: 20px;
    line-height: 1.8;
}

.staff-section-image {
    margin-bottom: 20px;
}

.staff-section-image img {
    max-width: 800px;
    width: 100%;
    height: auto;
    display: block;
}

/* テーブル */
.staff-table-wrapper {
    margin-top: 40px;
}

.staff-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.staff-info-table th,
.staff-info-table td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.staff-info-table th {
    background-color: #f8f8f8;
    font-weight: bold;
    width: 30%;
    color: #333;
}

.staff-info-table td {
    width: 70%;
    line-height: 1.8;
}

/* スマホ表示 */
@media screen and (max-width: 768px) {
    .staff-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .staff-main-image {
        width: 100%;
    }
    
    .staff-catchcopy-single {
        font-size: 1.2em;
    }
    
    .staff-comment1,
    .staff-comment2 {
        font-size: 1.1em;
    }
    
    .staff-section-image img {
        max-width: 100%;
    }
    
    .staff-info-table th,
    .staff-info-table td {
        display: block;
        width: 100%;
        padding: 10px;
    }
    
    .staff-info-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }
    
    .staff-info-table td {
        border-top: none;
        padding-top: 5px;
    }
}
/*img-over-letter*/
figure {
  position: relative;
  display:block;
  width:100%;height:auto;
}
  figure img {
    width: 100%;
    vertical-align: top;
  }
  figure figcaption {width:100%;
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 5px 10px;
    font-size:1.2em;
    color:#9C5E29;
    background: rgba(240,228,214,0.9);
  }

.yellow-food, .yellow-food a, .yellow-food a:hover, .yellow-food a:hover:after{text-decoration:none;color:#FFD700;}

.red-text, .red-text a, .red-text a:hover, .red-text a:hover:after{color:#DA251D;text-decoration:none;}

.yellow-food-back{background:#fffae2;}

.back_pink{background:#FFEBE6;}

.back_yellow{background:#FFF8DC;}

/*reviewModal*/
    .modal-overlay-7,.modal-overlay-2,.modal-overlay-3,.modal-overlay-4,.modal-overlay-5,.modal-overlay-6 {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.6);
      z-index: 9998;
      align-items: center;
      justify-content: center;
    }
    .modal-overlay-7.is-open-7,.modal-overlay-2.is-open-2,.modal-overlay-3.is-open-3,.modal-overlay-4.is-open-4,

    .modal-overlay-5.is-open-5,.modal-overlay-6.is-open-6 {
      display: flex;
    }

    .modal-box-7,.modal-box-2,.modal-box-3,.modal-box-4,.modal-box-5,.modal-box-6 {
      position: relative;
      background: #fff;
      border-radius: 10px;
      width: 90%;
      max-width: 860px;
      max-height: 85vh;
      overflow-y: auto;
      padding: 40px 24px 24px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    }

    .modal-close-7,.modal-close-2,.modal-close-3,.modal-close-4,.modal-close-5,.modal-close-6 {
      position: absolute;
      top: 10px;
      right: 14px;
      background: none;
      border: none;
      font-size: 28px;
      line-height: 1;
      cursor: pointer;
      color: #555;
    }
    .modal-close-7:hover,.modal-close-2:hover,.modal-close-3:hover,

    .modal-close-4:hover,.modal-close-5:hover,.modal-close-6:hover {
      color: #000;
    }

    /* iframe のラッパー */
    .iframe-wrap {
      width: 100%;
    }
    .iframe-wrap iframe {
      border: none;
      width: 100%;
    }

/*文字がBlurからフェイドイン*/
    /* ===== Blur FadeIn アニメーション対象 ===== */
    .blur-fade {
      opacity: 0;
      filter: blur(20px);
      transform: translateY(30px);
      transition:
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter  0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
      will-change: opacity, filter, transform;
    }

    .blur-fade.is-visible {
      opacity: 1;
      filter: blur(0px);
      transform: translateY(0);
    }

    /* 遅延クラス */
    .delay-1 { transition-delay: 0.1s; }
    .delay-2 { transition-delay: 0.22s; }
    .delay-3 { transition-delay: 0.34s; }
    .delay-4 { transition-delay: 0.46s; }
    .delay-5 { transition-delay: 0.58s; }

.form-wrapper {
    display: grid;
    place-items: center; /* 縦横中央 */
    /* justify-items: center; でも水平中央のみ可 */
    margin:0 2.5%;
}
/*
<label class="checkbox">
  <input type="checkbox" />
  <span />
</label>
*/
.checkbox {
  cursor: pointer;
}

.checkbox input {
  display: none;
}

/* ボックス */
.checkbox span {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  border: 1px solid green;
}

/* チェックマーク */
/* 常にチェックマークを表示したい場合は、「.checkbox span::before」にすればOKです */
.checkbox input:checked + span::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 1px;
  display: block;
  width: 12px;
  height: 7px;
  border-left-width: 2px;
  border-bottom-width: 2px;
  border-color: green;
  transform: rotate(-45deg);
}
/*
<span class="checkmark">角丸枠で飛び出るチェックマーク</span>
*/
.checkmark{
	padding-left:32px;
	position:relative;
}

.checkmark:before,
.checkmark:after{
	content:"";
	display:block;
	position:absolute;
}
.checkmark:before{
	width:32px;
	height:32px;
	border-radius:3px;
	background:#ffffff;
	border:2px solid rgba(185,130,110,1.0);
	left:0;top:2px;
}
.checkmark:after{
	border-left:6px solid #ff0000;
	border-bottom:6px solid #ff0000;
	width:20px;
	height:20px;
	-webkit-transform:rotate(-45deg);
	transform:rotate(-45deg);
	left:5px;
	top:3px;
}

/* Carousel Container */
.carousel-container {
  padding: 0 15px;
  margin-bottom: 40px;
}

.carousel-header {
  height: 90px;
  overflow: hidden;
  margin-bottom: 40px;
}

.carousel-header::after {
  content: '';
  display: block;
  clear: both;
}

.carousel-arrows {
  float: right;
}

/* --- 矢印ボタン --- */
.carousel-prev,
.carousel-next {
  display: inline-block;
  width: 60px;
  height: 60px;
  border: 2px solid #2b2b2b;
  border-radius: 50%;
  color: #2b2b2b;
  margin-left: 5px;
  cursor: pointer;
  font-size: 1.0em;
  text-align: center;
  line-height: 56px;
  transition: background 0.5s;
  background: transparent;
  user-select: none;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: #f5f5f5;
}

.carousel-next::before {
  content: '\02192';
}

.carousel-prev::before {
  content: '\02190';
}

/* --- カルーセル本体 --- */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 -7.5px;
}

.carousel-track {
  display: flex;
  will-change: transform;
}

/* PC：3枚表示 */
.carousel-item {
  flex: 0 0 33.3333%;
  max-width:33.3333%;
  padding: 0 7.5px;
  box-sizing: border-box;
}

/* タブレット・スマホ：1枚表示 */
@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.item-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.item-image a {
  display: block;
}

.item-image img {
  width: 100%;
  height: auto;
  display: block;
}

.item-title {
  color: #151515;
  margin-top: 5px;
  text-align: center;
  line-height: 1.4;
}

    /* ===== 1単語分のコンテナ ===== */
    .word {
      perspective: 400px;
      cursor: default;
    }

    /* ===== 文字本体 ===== */
    .word-text {
      display: inline-block;
      /*font-size: 3rem;
      font-weight: 800;*/
      color: #fff;
      text-shadow:2px 2px 2px black;
      /*letter-spacing: 0.04em;*/
      transform-origin: center center;
      transform-style: preserve-3d;
    }

    /* ===== 前半：英→日（ホバーイン） ===== */
    @keyframes flipIn {
      0% {
        transform: rotateX(0deg);
        opacity: 1;
      }
      45% {
        transform: rotateX(90deg);
        opacity: 0;
      }
      55% {
        transform: rotateX(-90deg);
        opacity: 0;
      }
      100% {
        transform: rotateX(0deg);
        opacity: 1;
      }
    }

    /* ===== 後半：日→英（ホバーアウト） ===== */
    @keyframes flipOut {
      0% {
        transform: rotateX(0deg);
        opacity: 1;
      }
      45% {
        transform: rotateX(90deg);
        opacity: 0;
      }
      55% {
        transform: rotateX(-90deg);
        opacity: 0;
      }
      100% {
        transform: rotateX(0deg);
        opacity: 1;
      }
    }

    /* ===== アニメーションクラス ===== */
    .word-text.anim-in {
      animation: flipIn 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    .word-text.anim-out {
      animation: flipOut 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    /* ===== 色バリエーション ===== */
    .word:nth-child(1) .word-text { color: color:#fff;
			            text-shadow:2px 2px 2px black;
					        -webkit-text-shadow:2px 2px 2px black; }
    .word:nth-child(2) .word-text { color: color:#fff;
			            text-shadow:2px 2px 2px black;
					        -webkit-text-shadow:2px 2px 2px black; }
    .word:nth-child(3) .word-text { color: color:#fff;
			            text-shadow:2px 2px 2px black;
					        -webkit-text-shadow:2px 2px 2px black; }
    .word:nth-child(4) .word-text { color: color:#fff;
			            text-shadow:2px 2px 2px black;
					        -webkit-text-shadow:2px 2px 2px black; }
    .word:nth-child(5) .word-text { color: color:#fff;
			            text-shadow:2px 2px 2px black;
					        -webkit-text-shadow:2px 2px 2px black; }
/*
    <div class="word" data-en="Hello" data-ja="こんにちは">
      <span class="word-text">Hello</span>
    </div>

*/

    /* =============================
       セクション共通
       各セクションが帯の基準点になる
    ============================= */
    .section-pink {
      position: relative;   /* 帯の position: absolute の基準 */
      overflow: hidden;     /* 帯がセクション外にはみ出さないよう制御 */
      /*padding: 80px 20px;*/
    }

    /* =============================
       帯ラッパー
       セクション内の最背面に配置
    ============================= */
    .bands {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
    }

    /* =============================
       帯の共通スタイル
    ============================= */
    .band {
      position: absolute;
      background-color: #FFE4E1;
      width:300px;
      height: 200%;         /* セクション高さの200%で確実に貫通 */
      top: -50%;            /* 中央揃えのためにオフセット */
      opacity: 0.55;
    }

    /* =============================
       通常帯（左下→右上）-45deg
    ============================= */
    .band-1 {
      left: 15%;
      transform: rotate(-45deg);
      transform-origin: center center;
    }

    .band-2 {
      left: 65%;
      transform: rotate(-45deg);
      transform-origin: center center;
    }

    /* =============================
       反転帯（右下→左上）+45deg
       クラス末尾に -reverse
    ============================= */
    .band-1-reverse {
      left: 15%;
      transform: rotate(45deg);
      transform-origin: center center;
    }

    .band-2-reverse {
      left: 65%;
      transform: rotate(45deg);
      transform-origin: center center;
    }

    /* =============================
       コンテンツ層
       帯より前面に表示
    ============================= */
    .section-content-pink {
      position: relative;
      z-index: 1;
    }

@media screen and (max-width:767px){
    .band {
      position: absolute;
      background-color: #FFE4E1;
      width:100px;
      height: 200%;         /* セクション高さの200%で確実に貫通 */
      top: -50%;            /* 中央揃えのためにオフセット */
      opacity: 0.55;
    }

}

.grid-container {width:100%;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
    grid-template-rows: repeat(9, 1fr);
    /*grid-gap: 32px 3.125vw;*/
  
}
.image-top-left {
  grid-column-start: 2;
  grid-column-end: 11;
  grid-row-start: 2;
  grid-row-end: 11;
  z-index: 1;
  position: relative;
}

.image-bottom-left {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start:10 ;
  grid-row-end:12;
  /* 重ね合わせのためにz-indexを設定 */
  
}
.image-top-left2 {
  grid-column-start: 2;
  grid-column-end: 11;
  grid-row-start: 2;
  grid-row-end: 11;
  z-index: 1;
  position: relative;
}

.image-bottom-left2 {
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start:10 ;
  grid-row-end:13;
  /* 重ね合わせのためにz-indexを設定 */
  
}
.image-top-left3 {
  grid-column-start: 1;
  grid-column-end: 8;
  grid-row-start: 1;
  grid-row-end: 8;
  z-index: 1;
  position: relative;
}

.image-bottom-right3 {
  grid-column-start: 7;
  grid-column-end:9;
  grid-row-start:7 ;
  grid-row-end:9;
  /* 重ね合わせのためにz-indexを設定 */
  z-index: 1;
  position: relative;
}

.head-border04 {
  color: #1b255d;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 左寄せ */
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.head-border04:before {
  display: none; /* 左の線を非表示 */
}

.head-border04:after {
  content: "";
  flex: 1 1 20px;
  height: 12px;
  background-color:#1b255d;
  margin-left: 1rem;
  order: 999;
}

    /* ── タブ全体ラッパー ── */
    .tabs {
      max-width: 1920px;
      margin: 0 auto;
      background: transparent;
      /*border-radius: 12px;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);*/
      overflow: hidden;
    }

    /* ── タブリスト（横並び固定） ── */
    .tab-list {
      display: flex;            /* 常に横並び */
      list-style: none;
      background: #1b255d;
      overflow-x: auto;         /* スマホでタブが溢れたらスクロール可 */
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;    /* Firefox: スクロールバー非表示 */
    }
    .tab-list::-webkit-scrollbar {
      display: none;            /* Chrome: スクロールバー非表示 */
    }

    /* ── 各タブボタン ── */
    .tab-list li {
      flex: 1;                  /* 均等幅 */
      min-width: 0;             /* flex縮小許可 */
    }

    .tab-btn {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 4px;
      width: 100%;
      padding: 16px 8px;
      background: transparent;
      border: none;
      border-bottom: 3px solid transparent;
      color: #fff !important;
      font-size: 1.25em;
      font-weight: 500;
      cursor: pointer;
      transition: color 0.2s, border-color 0.2s, background 0.2s;
      white-space: nowrap;      /* 1行表示 */
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .tab-btn .tab-icon {
      /*font-size: 1.3rem;*/
      line-height: 1;
    }

    .tab-btn:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.05);
    }

    .tab-btn.active {
      color: #1b255d !important;
      border-bottom-color: #1b255d;
      background: #fff;
    }

    /* ── コンテンツ ── */
    .tab-panels {
      padding: 32px;
    }

    .tab-panel {
      display: none;
      animation: fadeIn 0.25s ease;
    }

    .tab-panel.active {
      display: block;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(6px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .tab-panel h2 {
      font-size: 1.25em;
      margin-bottom: 12px;
      color: #1e293b;
    }

    .tab-panel p {
      line-height: 1.8;
      /*color: #475569;*/
    }

    /* ────────────────────────────
       スマホ最適化（? 600px）
    ──────────────────────────── */
    @media (max-width: 600px) {
      body {
        padding: 16px 10px;
      }

      .tab-btn {
        padding: 12px 6px;
        font-size: 1.0em;   /* 文字を小さく（可読範囲内） */
        gap: 3px;
      }

      .tab-btn .tab-icon {
        /*font-size: 1.1rem;*/
      }

      .tab-panels {
        padding: 20px 16px;
      }

      .tab-panel h2 {
        font-size: 1.1em;
      }
    }

    /* 極小画面（? 380px）はアイコン主体 */
    @media (max-width: 380px) {
      .tab-btn {
        font-size: 1.0em;
        padding: 10px 4px;
      }

      .tab-btn .tab-icon {
        /*font-size: 1.2rem;*/    /* アイコンは少し大きく残す */
      }
    }

.toppage-property-section {
  margin: 60px auto;
}
 
.toppage-sale-section {
  margin-top: 20px;
}
 
.toppage-property-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #3498db;
}
 
.toppage-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  position: relative;
  padding-left: 14px;
}
 
.toppage-section-title:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 24px;
  background-color: #3498db;
  border-radius: 2px;
}
 
.toppage-more-btn {
  display: inline-block;
  padding: 8px 22px;
  border: 2px solid #3498db;
  border-radius: 20px;
  color: #3498db;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}
 
.toppage-more-btn:hover {
  background: linear-gradient(45deg, #3498db, #2980b9);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}
 
.toppage-no-results {
  text-align: center;
  color: #7f8c8d;
  padding: 2rem 0;
}
 
/* PC：2件横並び / SP・タブレット：1列縦並び
   （col-12 col-lg-6 を使用しているため、992px 未満は自動的に1列になります） */

@media (max-width: 991.98px) {
  .toppage-property-section {
    margin: 40px auto;
  }
 
  .toppage-section-title {
    font-size: 1.3rem;
  }

}
 
@media (max-width: 576px) {
  .toppage-property-header {
    flex-direction: column;
    align-items: flex-start;
  }
 
  .toppage-more-btn {
    width: 100%;
    text-align: center;
  }

}
/*Google Map*/
    .access {
      display: grid;
      grid-template-columns: 1fr 1fr; /* PC・タブレット: 左右2カラム */
      gap: 24px;
      align-items: start;
      max-width: 1100px;
      margin: 0 auto;
      padding: 20px;
    }

    /* PC・タブレット: 地図を左、住所を右に配置 */
    .access__map {
      grid-column: 1;
      grid-row: 1;
    }

    .access__info {
      grid-column: 2;
      grid-row: 1;
    }

    .access__map iframe {
      display: block;
      width: 100%;
      height: 300px;
      border: 0;
    }

    .access__info h2 {
      margin: 0 0 12px;
      font-size: 1.35em;
    }

    .access__info p {
      margin: 0 0 8px;
      font-size:1.2em;
    }

    /* スマホ: 1カラム、住所 → 地図の順 */
    @media (max-width: 767px) {
      .access {
        grid-template-columns: 1fr;
      }

      .access__info {
        grid-column: 1;
        grid-row: 1;
      }

      .access__map {
        grid-column: 1;
        grid-row: 2;
      }
    }

/*Loading*/
    html.is-loading,
    html.is-loading body {
      overflow: hidden;
    }
    /* ===== ローディング全体 ===== */
    #loader {
      position: fixed;
      inset: 0;
      z-index: 9999;
      pointer-events: all;
    }

    /* ===== カーテン(左右パネル) ===== */
    .loader-panel {
      position: absolute;
      top: 0;
      bottom: 0;
      background: rgba(240, 105, 90, 1.0);
      transition: transform var(--curtain-duration, 1200ms) cubic-bezier(0.77, 0, 0.175, 1);
      will-change: transform;
    }

    /* 継ぎ目が見えないよう中央で1pxだけ重ねる */
    .loader-panel--left {
      left: 0;
      width: calc(50% + 1px);
    }

    .loader-panel--right {
      right: 0;
      width: calc(50% + 1px);
    }

    #loader.is-open .loader-panel--left {
      transform: translateX(-100%);
    }

    #loader.is-open .loader-panel--right {
      transform: translateX(100%);
    }

    /* ===== 粉雪 Canvas ===== */
    #snow-canvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      transition: opacity var(--fade-duration, 400ms) ease;
    }

    /* ===== ロゴ ===== */
    #loader-logo {
      position: absolute;
      top: 50%;
      left: 50%;
      display: block;
      max-width: none;
      transform: translate(-50%, -50%) scale(1);
      transform-origin: center center;
      transition:
        transform var(--zoom-duration, 3000ms) cubic-bezier(0.65, 0, 0.35, 1),
        opacity var(--fade-duration, 400ms) ease;
      will-change: transform;
    }

    /* カーテンを開く直前にロゴと粉雪をフェードアウト */
    #loader.is-finishing #snow-canvas,
    #loader.is-finishing #loader-logo {
      opacity: 0;
    }

    /* ===== デモ用コンテンツ ===== */
    main {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: sans-serif;
      font-size: 2rem;
    }