.bgswitch-pc {
	display: block;
}
.bgswitch-sp {
	display: none;
}

.bg-slider {
	position: relative;
	width: 100vw;
	height: 100vh;
	background-position: center center;
	background-size: cover;
	background-attachment: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bg-slider-sp {
	position: relative;
	width: 100vw;
	height: 100vh;
	background-position:center center;
	background-size: cover;
	background-attachment: scroll;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bg-slider__title{
	right: 0px;
	width: 100%;
	color: rgba(17,64,99,1.0);
	line-height: 1.2;
	letter-spacing: 0.02em;
	font-weight: normal;
	text-align: right;
	/*text-shadow: 1px 1px 1px #000;*/
	margin: 0px 0px 0px 100px;
	overflow: hidden;
}

.logo-sub {
	font-size: 24px;
	font-weight: bold;
	letter-spacing: 0.03em;
	color: rgba(17,64,99,1.0);
	margin-bottom: 20px;
	/*text-shadow: 2px 2px 2px rgba(0,0,0,0.2);*/
}

.bg-slider__logo {
	color: rgba(17,64,99,1.0);
	font-size: 40px;
	font-weight: 700;
	line-height: 140%;
	letter-spacing: 0.02em;
	text-align: left;
	margin: 0px auto 30px auto;
	z-index: -1;
	/*text-shadow: 2px 2px 2px rgba(0,0,0,0.3);*/
	/*filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));*/
}

.bg-slider__head {
	color: rgba(17,64,99,1.0);
	font-size: 20px;
	line-height: 140%;
	letter-spacing: 0.02em;
	font-weight: 400;
	text-align: left;
	margin: 0px auto 20px auto;
	/*text-shadow: 2px 2px 2px rgba(0,0,0,0.3);*/
}

.bg-slider__tex {
	color: rgba(17,64,99,1.0);
	font-size: 12px;
	line-height: 1.8;
	letter-spacing: 0.02em;
	font-weight: 400;
	text-align:center;
	margin: 0px auto 0px auto;
	/*text-shadow: 2px 2px 2px rgba(0,0,0,0.3);*/
}

.bg-slider__tex a {
	color: rgba(255,255,255,1.0);
	text-decoration: underline;
}
.bg-slider__tex a:hover {
	color: rgba(255,255,255,0.5);
	text-decoration: underline;
}

.bg-slider__btn{
	color: rgba(17,64,99,1.0);
	font-size: 16px;
	font-family: Georgia, "Times New Roman", Times, "serif";
	line-height: 1.2;
	letter-spacing: 0.02em;
	font-weight: normal;
	text-align: center;	
	/*text-shadow: 1px 1px 1px #000;*/
}

.bg-slider__btn a {
	display: block;
	color: rgba(17,64,99,1.0);
	background: none;
	padding: 10px 10px 10px 10px;
	border: 1px solid rgba(17,64,99,1.0);
	border-collapse: collapse;
	
	width: auto;
	margin: 40px auto 0px auto;
	/*text-shadow: 2px 2px 2px rgba(0,0,0,0.3);*/
}

.bg-slider__btn a:hover {
	color: rgba(17,64,99,1.0);
	background: #999;
	padding: 10px 10px 10px 10px;
	border: 1px solid #999;
	border-collapse: collapse;
}

.photoby {
	color: rgba(17,64,99,1.0);
	font-size: 11px;
	text-align: left;
	position: absolute;
	left: 20px;
	bottom: 20px;
}

/* ************************************************ 
*   下スクロール
* ************************************************ */

.scrollbar a {
    display: inline-block;
    position: absolute;
    right: 50px;
    bottom: 0;
    z-index: 2;
    padding: 10px 10px 110px;
    overflow: hidden;
    color: #FFF;
    font-size: 11px;
    font-family: 'Josefin Sans', sans-serif;
    line-height: 1;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    writing-mode: vertical-lr;
    /*filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.0));*/
}
.scrollbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 100px;
    background: #FFF;
	/*filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.0));*/
}

.scrollbar a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 100px;
  background: rgba(255, 255, 255, .4);
}
.scrollbar a::after {
  animation: sdl 2.5s cubic-bezier(1, 0, 0, 1) infinite;
}
a.anchor {
    display: block;
    padding-top: 48px; /*ヘッダーの高さ調整*/
    margin-top: -48px;
}
@keyframes sdl {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/* ************************************************ 
*   下スクロール 2
* ************************************************ */
.demo a {
	position: absolute;
	bottom: 0px;
	left: 50%;
	z-index: 999;
	display: inline-block;
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
	color: #FFF;
	font : normal 18px/1 sans-serif;
	letter-spacing: .1em;
	text-decoration: none;
	transition: opacity .3s;
	margin-left: -44px;
	/*text-shadow: 2px 2px 2px rgba(0,0,0,0.3);*/
}
.demo a:hover {
	opacity: .5;
}
a.scroll {
	padding-top: 50px;
}
a.scroll span {
	position: absolute;
	top: 0;
	left: 50%;
	width: 24px;
	height: 24px;
	margin-left: -12px;
	border-left: 2px solid #FFF;
	border-bottom: 2px solid #FFF;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-animation: sdb 3s infinite;
	animation: sdb 3s infinite;
	box-sizing: border-box;
	-webkit-filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, .3));
}
@-webkit-keyframes sdb {
  0% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
  }
  20% {
    -webkit-transform: rotate(-45deg) translate(-8px, 8px);
  }
  40% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
  }
}
@keyframes sdb {
  0% {
    transform: rotate(-45deg) translate(0, 0);
  }
  20% {
    transform: rotate(-45deg) translate(-8px, 8px);
  }
  40% {
    transform: rotate(-45deg) translate(0, 0);
  }
}


@media only screen and (max-width: 768px) {
.bgswitch-pc {
	display: none;
}
.bgswitch-sp {
	display: block;
}

.bg-slider {
	position: relative;
	width: 100vw;
	height: 100vh;
	background-position: center center;
	background-size: cover;
	background-attachment: scroll;
	display: flex;
	align-items: center;
	justify-content: center;
}
	
.bg-slider-sp {
	position: relative;
	width: 100vw;
	height: 100vh;
	background-position: center center;
	background-size: cover;
	background-attachment: scroll;
	display: flex;
	align-items: center;
	justify-content: center;
}
	
.bg-slider {
	display: none;
	width: 100vw;
	height: 100vh;
}

:root {
    --header-height: 48px; /* ←スマホヘッダーの実際の高さに合わせて調整 */
}
	
.bgswitch-sp,
.bgswitch-sp .bg-slider-sp {
    width: 100vw;
    height: calc(100dvh - var(--header-height));
}

.bg-slider__title{
	width: 90%;
	color: rgba(255,255,255,1.0);
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: 0.02em;
	font-weight: normal;
	text-align: left;
	/*text-shadow: 1px 1px 1px #000;*/
	margin: 0px 0 40px 20px;
}
.logo-sub {
	font-size: 14px;
	font-weight: bold;
	font-family: "Helvetica",sans-serif;
	color: rgba(255,255,255,1.0);
	margin-bottom: 15px;
}
.bg-slider__logo {
	color: rgba(255,255,255,1.0);
	width: 100%;
	font-size: 24px;
	text-align: left;
	margin: 0px 0px 30px 0px;
}
.bg-slider__head {
	color: rgba(255,255,255,1.0);
	font-size: 16px;
	font-weight: normal;
	text-align: left;
	margin: 0px 0px 20px 0px;
}
.bg-slider__tex {
	color: rgba(255,255,255,1.0);
	font-size: 11px;
	line-height: 1.8;
	letter-spacing: 0.02em;
	font-weight: normal;
	text-align: left;
	margin: 0px auto 0px auto;
	width: 290px;
}
.bg-slider__btn a {
	width: 270px;
	margin: 30px auto 0px auto;
}

.photoby {
	color: rgba(17,64,99,1.0);
	font-size: 10px;
	text-align: left;
	position: absolute;
	left: 20px;
	bottom: 20px;
}

.scrollbar a {
    display: inline-block;
    position: absolute;
    right: 20px;
}
	
.demo {
	display: none;
}
}

/*
@media only screen and (min-height: 1440px) {
.bg-slider {
	position: relative;
	width: 100%;
	height: 900px;
	background-position:center center;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
}
}
*/
