/*
 * スタイルシートのリセットと基本的な設定
 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
	overflow-x: hidden;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.5;
    color: #262626;
    background-color: #fff5ee;
    font-size: 16px;
	overflow-x: clip;
	font-feature-settings: 'palt';
}

a {
    color: #fff;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

h1{
	font-size: 48px;
}

h2{
	font-size: 28px;
}

p{
	word-break: break-all;
}

main{
	display: flex;
    flex-direction: column;
    align-items: center;
	position: relative;
}

section{
    width: 100%;
    padding-top: 65px;
	max-width: 1140px;
}

/* ヘッダー ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.site-header {
  top: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

.header-wrapper{
	width: 100%;
	position: relative;
}
.header-wrapper::before{
	content: '';
	background: #fff;
	width: 100%;
    height: 17.135vw;
    border-radius: 0 0 17.135vw 17.135vw;
	display: block;
    position: absolute;
    top: 0;
}

.site-header h1{
	position: relative;
	margin: 0 auto 55px;
	width: fit-content;
	display: flex;
	align-items: center;
	padding-top: 40px;
}
.site-header h1::before{
	content: '';
	background:url("../images/before.svg");
	background-repeat: no-repeat;
	width: 42px;
	aspect-ratio: 42 / 89;
	margin-right: 12px;
}

.site-header h1::after{
	content: '';
	background:url("../images/after-car.svg");
	background-repeat: no-repeat;
	width: 174.0118px;
	aspect-ratio: 174.0118 / 89.4804;
	margin-left: 16px;
}

.balloon-01{
	background: #1a479c;
	font-size: 38px;
	color: #fff;
	border-radius: 35px;
	width: 210px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 30px;
}


.header-inner {
  width: 100%;
  height: 100%;
  max-width: 1000px;
  max-height: 255px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f29336;
  border-radius: 13px;
  margin: 0 auto;
	position: relative;
}

.header-inner > p{
	color: #fff;
	font-size: 28px;
	margin-bottom: 54px;
}



.header-nav{
	width: 100%;
}

.header-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-nav ul li{
    /*display: flex;
    align-items: center;
    justify-content: center;
	background: #fff;
	color: #000;
	border-radius: 40px;
	width: 250px;
	height: 80px;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);*/
}


.header-nav a {
  text-decoration: none;
  color: #000;
  font-size: 28px;
	font-weight: 600;
	transition: 0.3s;
	display: flex;
    align-items: center;
    justify-content: center;
	background: #fff;
	border-radius: 40px;
	width: 250px;
	height: 80px;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}

#fukuoka h2{
	padding-top: 100px;
}



#fukuoka h2,
#kitakyushu h2,
#kurume h2{
	background: #f29336;
	color: #fff;
	width: fit-content;
	width: 220px;
	height: 50px;
	display: flex;
	align-items: center;
	padding: 16px 30px 0;
	border-radius: 9.823px 9.823px 0 0;
	font-size: clamp(20px,7vw,28px);
}

.section-inner{
	background: #f29336;
	border-radius: 0 30px 30px 30px;
	padding: 30px;
}
/*#kitakyushu .section-inner iframe,
	#kurume .section-inner iframe{
	width: 100%;
	aspect-ratio: 1080 / 630;
	max-height: calc(100vh - 150px - 60px - 65px - 50px);
}*/


.check{
	width: 100vw;
	margin-left: calc(50% - 50vw);
	overflow: hidden;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 150px;
}
.check .before-zoom{
	width: 100%;
	max-width: 702.4761px;
	aspect-ratio: 702.4761 / 116.2726;
}

.check .after-zoom{
	width: 100%;
	max-width: 902.4766px;
	aspect-ratio: 902.4766 / 93;
}

/*.after-zoom{
	display: none;
}*/


#statistics{
	padding-top: 183px;
	margin-bottom: 228px;
}

#statistics .section-inner{
	border-radius: 30px;
}

#statistics h2{
	position: relative;
	margin: 0 auto 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
}
#statistics h2 .h-wrapper{
	width: 800px;
	height: 110px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 54.325px;
	column-gap: 30px;
}
#statistics h2 .h-wrapper .year{
	color: #1a479c;
}


#statistics h2::before{
	content: '';
	background:url("../images/before.svg");
	width: 42px;
	aspect-ratio: 42 / 89;
	margin-right: 12px;
}

#statistics h2::after{
	content: '';
	background:url("../images/after.svg");
	width: 42px;
	aspect-ratio: 42 / 89;
	margin-left: 12px;
}

#statistics .scroll-btn{
	display: none;
}




footer{
	position: relative;
	width: 100%;
	background: url("../images/footer.svg");
	background-size: 100%;
	background-repeat: no-repeat;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-top: 8.3vw;
}


.balloon-02{
	background: #fff;
	font-size: 38px;
	color: #1a479c;
	border-radius: 35px;
	width: 210px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 30px;
}

.footer-inner{
	width: 100%;
	background: #4f953b;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 424px;
	position: relative;
}
.footer-inner::before{
	content: '';
	background: #4f953b;
	width: 100%;
	height: 3px;
	position: absolute;
	top: -2px;
	left: 0;
}

.footer-inner p:nth-of-type(1){
	font-size: 48px;
	display: flex;
	margin-bottom: 88px;
	font-weight: 400;
}


.footer-inner p:nth-of-type(2){
	font-size: 24px;
	text-align: center;
}




#pagetop{
	width: 94px;
	height: 94px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: -53px;
	right: 48px;
	background: #f29336;
	border-radius: 50%;
	z-index: 5;
}

#pagetop img{
	width: 30px;
	height: 20px;
}



/* レスポンシブデザイン ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*

@media (min-width: 1921px) {
}

@media (max-width: 1920px) {
	
}

@media (max-width: 1800px) {

	
}


@media (max-width: 1740px) {

}


@media (max-width: 1640px) {
}

@media (max-width: 1430px) {
	
}

@media (min-width:1281px) {

}*/





@media (max-width: 1280px) {
	.site-header h1{
      align-items: flex-start;
      flex-direction: column;
		font-size: clamp(24px,4.4vw,39px);
		margin: 0 auto 30px;
	}
	.site-header h1::before{
      margin-right: 0;
      position: absolute;
      left: -12px;
      bottom: 12px;
      transform: translateX(-100%);
		background-repeat: no-repeat;
      }
	.site-header h1::after{
      margin-left: 0;
      position: absolute;
      right: 90px;
      bottom: 12px;
      transform: translateX(100%);
      background: url(../images/after-car-sp.svg);
      width: 145.71px;
      aspect-ratio: 145.71 / 101.9132;
		background-repeat: no-repeat;
      }
	.balloon-01{
		font-size: clamp(20px,2.4vw,30px);
		width: 170.2757px;
		height: 56.7586px;
	}
	.header-inner{
		padding: 32px;
	}
	.header-inner > p{
		font-size: clamp(22px,4vw,26px);
        margin-bottom: 36px;
	}
	.header-nav ul{
		gap: 20px;
	}
	.header-nav a{
		width: 180.3483px;
		height: 57.7114px;
	}
	section{
		padding-top: 34px;
	}
	.check{
		height: auto;
        padding: 20px 0;
	}
	
	.check .before-zoom,
	.check .after-zoom{
		width: 50%;
	}
	
	#statistics{
		padding-top: 100px;
	}
	
	#statistics h2 .h-wrapper{
		flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 42px 42px 30px;
        border-radius: 82.5px;
        font-size: clamp(22px,5vw,36px);
		width: fit-content;
	}
	
	#statistics h2::before,
	#statistics h2::after{
		margin-left: 0;
		margin-right: 0;
	}
	
	
	#statistics .section-inner {
		padding-bottom: 22px;
		padding-right: 25px;
		padding-left: 25px;
		padding-top: 60px;
		min-width: 1199px;
    }

	.scroll-box{
		overflow-x: scroll;
	}
	
#statistics .scroll-wrap{
  position: relative;
}


.scroll-box{
  scrollbar-width: none;    
  -ms-overflow-style: none; 
	position: relative;
}
.scroll-box::-webkit-scrollbar{
  display: none;              
}

.simplebar-track {
    background: #f29336;
    border-radius: 5.196px;
}
.simplebar-track.simplebar-horizontal{
	top: 24px;
	height: 12px;
	width: calc(100% - 100px);
    left: 50px;
    right: 50px;
}

.simplebar-track .simplebar-scrollbar.simplebar-visible::before{
  opacity:1;
}

.simplebar-track .simplebar-scrollbar::before{
  background: #e5e5e5;
}

#statistics .scroll-btn{
	display: block;
  position: absolute;
  top: 30px;                    
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #e5e5e5;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  z-index: 20;
}

#statistics .scroll-btn.prev{ left: 30px; }
#statistics .scroll-btn.next{ right: 30px; }



#statistics .scroll-box .simplebar-track.simplebar-horizontal{
  left: 54px !important;
  right: 54px !important;
}

#statistics .scroll-box .simplebar-track.simplebar-horizontal{
  z-index: 10;
}
	
#statistics .simplebar-scrollbar:before{
    top: 0;
    bottom: 0;
	}
	
	
	
	
	
	.footer-inner p:nth-of-type(1){
		flex-direction: column;
		gap: 40px 0;
		font-size: 40px;
		font-size: clamp(22px,5.8vw,40px);
	}
	.balloon-02{
		font-size: clamp(20px,5.75vw,38px);
	}
	.footer-inner p:nth-of-type(1){
		gap: 1em;
	}
	
	
	
	
	
}


/*@media (max-width: 1040px) {

}*/
@media (max-width: 1000px) {
	.header-inner{
		border-radius: 0;
		padding: 32px;
	}
	.header-wrapper {
     background: #fff; 
    }
	
	/*#kitakyushu .section-inner iframe,
	#kurume .section-inner iframe{
		aspect-ratio: 576 / 630;
	}*/
	
	footer{
		background-size: 168.75%;
        background-repeat: no-repeat;
        background-position: top center;
		padding-top: 14vw;
	}
	.footer-inner{
		padding: 15vw 30px 60px;
	}
	
	#pagetop{
		top: 0;
        right: 50%;
        transform: translateX(50%);
	}


}



/*@media (max-width: 960px) {
	
}*/

@media (max-width: 768px) {
	.check{
		height: 160px;
		padding: 5px 30px 30px;
	}
	.check .before-zoom {
        width: 100%;
		max-width: 540.5991px;
		aspect-ratio: 540.5991 / 118.9738;
    }
	.check .after-zoom {
        width: 100%;
		max-width: 580.0854px;
		aspect-ratio: 580.0854 / 132.1087;
    }
	
	#statistics h2{
        padding: 0 24px;
	}
	
	#statistics h2 .h-wrapper{
		max-width: 520px;
    }
	
	
	.header-inner{
		max-height: unset;
	}
	
	#statistics{
		margin-bottom: 100px;
	}
	


}



@media (max-width: 639px) {
	
	.site-header h1::before{
		bottom: 8px;
		width: 6.9vw;
	}
	.site-header h1::after{
		bottom: 8px;
        right: 14px;
		width: 22.767vw;
		transform: translateX(50%);
	}
	
	.check .before-zoom,
	.check .after-zoom{
		width: 90%;
	}
	
	
	.footer-inner p:nth-of-type(2){
		font-size: 18px;
	}
	.header-nav a{
		width: 100%;
		min-width: 95px;
        font-size: 16px;
	}	
	.header-nav ul{
		column-gap: 16px;
	}
	.header-nav ul li {
    width: calc(100% / 3);
    }
	
	
	#pagetop{
		width: 60px;
        height: 60px;
	}
	#pagetop img {
    width: 20px;
    height: 10px;
}
}






/*google map/////////////////////////////////////////////////////////////////*/

.map-canvas {
      /*height: 96vh;
      width: 100%;*/
	width: 100%;
    aspect-ratio: 1080 / 630;
    max-height: calc(100vh - 150px - 60px - 65px - 50px);
  }

  /* モーダルのスタイル */
  #video-modal {
      display: none;
      /* 初期状態は隠す */
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      z-index: 1000;
      justify-content: center;
      align-items: center;
  }

  /* モーダルコンテンツのサイズ調整 */
  .modal-content {
      position: relative;
      width: 90%;          /* 幅を80%から90%に拡大（お好みで） */
      max-width: 1600px;   /* 最大幅も少し大きく */
      aspect-ratio: 16 / 9;
      background: #000;
      box-shadow: 0 0 20px rgba(0,0,0,0.5);
	  margin-top: 60px;
  }

  /* 動画（iframe）を親要素いっぱいに広げる */
  #video-container,
  #video-container iframe {
      width: 100%;
      height: 100%;
      border: none;
      display: block; /* 余計な隙間を消す */
  }

  .close-btn {
      position: absolute;
      top: -40px;
      right: 0;
      color: white;
      font-size: 30px;
      cursor: pointer;
  }

@media (max-width: 1000px) {
	.map-canvas{
		aspect-ratio: 576 / 630;
	}
}

.u-hidden {
    display: none !important;
}
