@charset "UTF-8";
/* ===================== */
/*    suisannosusume     */
/* ===================== */
/*          CSS          */
/* ===================== */

/* -------------- */
/*    基本設定    */
/* -------------- */

/* ----- 全体共通 ----- */
* {
	box-sizing: border-box;
	-ms-overflow-style: none; /* スクロールバーの非表示 */
	line-height: 0;
	margin: 0;
	padding: 0;
}
*::-webkit-scrollbar {
	width: 0;
}
 
*::-webkit-scrollbar-track {
	background: transparent;
}
 
*::-webkit-scrollbar-thumb {
	background: transparent;
	border: none;
}

/* ----- html body ----- */
html, body {
	overflow: hidden;
	height: 100%;
	text-align: center;
}

/* ----- ヘッター・フッター ----- */
#headerimg, #headerimg img,
#footerimg, #footerimg img {
	width: 100%;
	z-index: -5;
}
#headerimg, #footerimg {
	position: absolute;
}

#headerimg {
	top: 0px;
}
#footerimg {
	bottom: 0px;
}

#back_home{
    position: absolute;
    top: 1%;
    left: 2%;
    z-index: 80;
}

/* -------------------- */
/*    スライダー設定    */
/* -------------------- */

main {
	height:90%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Ropa Sans', sans-serif;
}

.slider {
	position: relative;
	height: 100%;
	width: 80%;
}

/* ----- 上部・下部 ----- */
.slider_title, .slider_end {
    padding: 10px 0px;
}

/* ----- ページ移動ナビゲーション ----- */
.slider_nav {
	height: 50px;
}
.slider_nav > a {
	border: outset;
	border-radius: 10px;
	display: inline-flex;
	height: 1.5rem;
	background: #6b9edc;
	text-decoration: none;
	margin: 0 0 0.5rem 0;
	padding: 13px 7px;
	color: white;
}

.slider_nav a.umi { background: rgb(142 228 113); }
.slider_nav a.minato { background: rgb(100 215 220); }
.slider_nav a.cook { background: rgb(249 149 0); }

/* クリックされたとき */
.slider_nav > a:active {
	vertical-align: text-top;
}
*/
.slider_nav > a:focus {
	background: #c3c3c3;
}
 
/* ----- コンテンツ内 ----- */

.slider_main {
	height: 82%;
	position: relative;
}

.slider_con {
	height: 100%;
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	position: relative;
}

.slider_con > div {
	border: solid 2px #40aad3;
	scroll-snap-align: start;
	flex-shrink: 0;
	width: 100%;
	border-radius: 10px;
	transform-origin: center center;
	transform: scale(1);
	transition: transform 0.5s;
	background-size: cover;
	background-position: center;
}

/* ----- 横スクロールバー ----- */
.slider_con::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}
.slider_con::-webkit-scrollbar-thumb {
	background: #adadad;
	border-radius: 10px;
}
.slider_con::-webkit-scrollbar-track {
	background: transparent;
}

/* Don't need button navigation */
@supports (scroll-snap-type) {
  .slider > a { display: none;  }
}

/* ----- 左右スライドボタン ----- */
.carousel_snapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .carousel_snapper {
    animation-name: none;
  }
}

.slider:hover .carousel_snapper,
.slider:focus-within .carousel_snapper {
	animation-name: none;
}

.slider_main::before,
.slider_main::after,
.carousel_prev,
.carousel_next {
  position: absolute;
  top: 0;
  margin-top: 35vh;
  width: 4rem;
  height: 4rem;
  transform: translateY(-50%);
  border-radius: 50%;
  font-size: 0;
  outline: 0;
}

.slider_main::before,
.carousel_prev {
  left: 1rem;
}

.slider_main::after,
.carousel_next {
  right: 1rem;
}

/* 矢印 バックカラー */
.slider_main::before,
.slider_main::after {
	content: ' ';
	min-block-size: 3.5rem;
	min-inline-size: 3.5rem;
	z-index: 1;
	background-color: rgba(255,255,255,0.55);
	background-size: 1.5rem 1.5rem;
	background-repeat: no-repeat;
	background-position: center center;
	pointer-events: none;
}

/* 左矢印 */
.slider_main::before {
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,50 80,100 80,0' fill='%23159'/%3E%3C/svg%3E");
}

/* 右矢印 */
.slider_main::after {
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,50 20,100 20,0' fill='%23159'/%3E%3C/svg%3E");
}

/* ----- コンテンツ内背景設定 ----- */
#slide-1 { background-image: url(../images/susume/haikei_top.png); }
#slide-2 { background-image: url(../images/susume/haikei_umi01.png); }
#slide-3 { background-image: url(../images/susume/haikei_umi02.png); }
#slide-4 { background-image: url(../images/susume/haikei_umi03.png); }
#slide-5 { background-image: url(../images/susume/haikei_umi04.png); }
#slide-6 { background-image: url(../images/susume/haikei_minato01.png); }
#slide-7 { background-image: url(../images/susume/haikei_minato02.png); }
#slide-8 { background-image: url(../images/susume/haikei_minato03.png); }
#slide-9 { background-image: url(../images/susume/haikei_minato04.png); }
#slide-10 { background-image: url(../images/susume/haikei_cook01.png); }
#slide-11 { background-image: url(../images/susume/haikei_cook02.png); }
#slide-12 { background-image: url(../images/susume/haikei_cook03.png); }
#slide-13 { background-image: url(../images/susume/haikei_cook04.png); }
#slide-14 { background-image: url(../images/susume/haikei_end.png); }

/* ----- 注意文 ----- */
#info_msg{
	position: absolute;
	right: 0;
	transform: translateY(-10px);
	font-family: arial;
	font-weight: bold;
	color: #d00000;
}

/* ----- 著作権 ----- */
#copyright{
	padding-top:5px;
	font-size:80%;
}