@charset "UTF-8";

*{ margin:0; padding:0; border:0; font:inherit; vertical-align:baseline; box-sizing:border-box; }

body{
	position: fixed;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
}

/* ローディング */
#loading{
	position: fixed;
	top: 0;
	left: 0;
	background: #fff;
	width: 100%;
	height: 100%;
	z-index: 999;
}

/* ヘッダー */
#header{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #fff;
	box-shadow: #0000001a 0 0 6px;
	z-index: 100;
}
#header .inner{
	width: 100%;
	max-width: 750px;
	margin: 0 auto;
}
#header .inner a{
	display: block;
}
#header .inner img{
	display: block;
	width: 100%;
}

/* フッター */
#footer{
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #fff;
	z-index: 100;
}
#footer .inner{
	width: 100%;
	max-width: 750px;
	margin: 0 auto;
}

/* CTAテンプレート: 1つのボタン ※現状使っていないが、将来的にこれらを使うように移行したい */
.cta_template_one_button{
	width: 100%;
}
.cta_template_one_button a{
	display: block;
	width: 100%;
}
.cta_template_one_button img{
	display: block;
	width: 100%;
}

/* CTAテンプレート: 2つのボタン */
.cta_template_two_button{
	width: 100%;
	display: flex;
	gap: 0;
}
.cta_template_two_button a{
	display: block;
	width: 50%;
	flex: 1;
}
.cta_template_two_button img{
	display: block;
	width: 100%;
}

/* CTAテンプレート: 3つのボタン */
.cta_template_three_button{
	width: 100%;
	display: flex;
	gap: 0;
}
.cta_template_three_button a{
	display: block;
	width: 33.333%;
	flex: 1;
}
.cta_template_three_button img{
	display: block;
	width: 100%;
}

/* 後方互換性のため既存のスタイルも残す */
#footer .inner a{
	display: block;
}
#footer .inner img{
	display: block;
	width: 100%;
}

/* swipe */
#swipe{
  width: 100%;
	max-width: 750px;
	height: 100vh;
  height: 100dvh;
  /* height: calc(var(--vh, 1vh) * 100); */
	margin: 0 auto;
  overflow: hidden;
}
#swipe .splide__track{
	height: 100% !important;
}
#swipe .image{
	width: 100%;
	height: 100%;
}
#swipe .image img{
	display: block;
	width: 100%;
  max-width: 100%;
	height: 100%;
	object-fit: contain;
  vertical-align: bottom;
}
#swipe.object_top .image img{
	object-position: top;
}

/* 会社情報セクション */
.company-info{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
}

.company-content{
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.company-logo{
  width: 66.67%;
  max-width: 266px;
  margin: 0 auto 30px auto;
  text-align: center;
}

.company-logo img{
  width: 100%;
  height: auto;
  object-fit: contain;
}

.company-title{
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

.company-links{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.company-link{
  display: block;
  color: #007bff;
  text-decoration: underline;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
  .company-logo{
    margin-bottom: 25px;
    max-width: 200px;
  }
  
  .company-title{
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .company-content{
    padding: 0 10px;
  }
  
  .company-link{
    font-size: 14px;
  }
}

/* swipe ページネーション */
#swipe .splide__pagination--ttb{
	position: absolute;
	top: 0;
  right: 0;
  flex-wrap: nowrap;
	flex-direction: column;
	height: 100%;
	margin: 0;
  padding: 0;
  background: #e5e5e5;
	list-style: none;
}
#swipe .splide__pagination--ttb li{
  height: 100%;
}
#swipe .splide__pagination--ttb .splide__pagination__page{
	width: 5px;
  height: 100%;
  margin: 0;
	padding: 0;
  background: none;
	border: none;
  border-radius: 2px;
  transition: background .3s;
}
#swipe .splide__pagination--ttb .splide__pagination__page.is-active{
  background: #727272;
  transform: none;
}

/* カスタムポジションインジケーター */
.position-indicator {
  position: fixed;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 200;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.position-progress-bar {
  width: 4px;
  height: 200px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.position-progress-fill {
  width: 100%;
  border-radius: 2px;
  height: 0%;
  transition: height 0.3s ease;
  position: absolute;
  top: 0;
}

.position-text {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
  min-width: 35px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: none;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
  .position-indicator {
    right: 10px;
  }
  
  .position-progress-bar {
    width: 3px;
    height: 150px;
  }
  
  .position-text {
    font-size: 10px;
    padding: 3px 6px;
    min-width: 30px;
  }
}