@charset "UTF-8";
@media screen and (max-width: 999px) {

body {
    background: url(https://himeji-shirahama-kanko.jp/wp/wp-content/themes/reborn/img/back.webp);
}

h1, h2, h3, h4, h5 {
   font-family: "游明朝 Light", "Yu Mincho Light", "YuMincho Medium", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif; 
    font-weight: 100;
}
section h2 {
    font-size: 8vw;
    margin-bottom: 30px;
}


/*header*/
header#masthead h1 {
    position: fixed;
    left: 25px;
    top: 20px;
    z-index: 99999;
}
/*header*/

/*cotent*/
/* ▼ パララックスを効かせるために固定しない */
.sec00 {
    position: relative;
    height: 780px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

/* ▼ 動かす背景レイヤー（新規追加） */
.sec00::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* ズームのため少し大きめ */
    background: url(https://himeji-shirahama-kanko.jp/wp/wp-content/themes/reborn/img/main01sp.webp) center/cover no-repeat;
    transform: translateY(0) scale(1.1); /* 初期ズーム */
    transition: transform 0.1s linear;
    will-change: transform;
    transform: translateY(var(--moveY, 0)) scale(var(--scale, 1.1));
}

.sec00 h1 {
    letter-spacing: 5px;
    font-weight: 100;
font-size: 7.5vw;
}
.sec00 h1 span {
    font-size: 80%;
    letter-spacing: 2px;
}

.tate {
    width: 90%;
    margin: 60px auto;
    writing-mode: unset;
}
.tate h2 {
}
.tate p {
    line-height: 2.5;
    margin-right: 0;
    letter-spacing: 1px;
}
/* スライダー全体 */
.slider-wrapper {
    display: flex;
    overflow: hidden;
    width: 90%;
    border-bottom: 1px solid #3f3e27;
    padding-bottom: 10px;
}
/* スライド3枚のグループ */
.slider {
  animation: scroll-left 30s infinite linear .5s both;
  display: flex; /* スライド3枚を横並び */
}
/* スライド */
.slide {
  width: calc(100vw / 3); /* 3はスライドの枚数かつ大きさ */
}
/* スライドの画像 */
.slide img {
  display: block;
  width: 98%;
}
/* CSSアニメーション */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
/* hover(マウスオーバー)で拡大 */
.slide {
  cursor: pointer;
  overflow: hidden;
}
.slide img {
  transition: transform 0.4s;
}
.slide:hover img {
  transform: scale(1.1);
}
/* スライダー全体 */


section.sec02 {
    background: #ECE1CC;
    margin: 50px 0;
}
.inner {
    width: 90%;
    margin: 0px auto;
    padding: 50px 0;
}
section.sec02 {
    background: #ECE1CC;
    margin: 50px 0 0;
}
h3.eng {
    font-size: 20px;
    letter-spacing: 6px;
    color: #fffbf5;
    margin: -30px 0 30px 0;
}
/* 1文字ずつアニメする span */
[data-smoke] .char {
  opacity: 0;
  display: inline-block;
  transform: translateY(20px);
  animation: fadeUp 0.6s forwards ease-out;
}

/* まだ発火前は絶対に動かさない */
[data-smoke].waiting .char {
  animation: none !important;
  opacity: 0 !important;
  transform: translateY(20px) !important;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*アニメ↑*/
ul.mado {
    display: block;
    margin: 50px auto;
}
li.mado1 {
    margin: 0 auto 10px;
}

.enjoy {
    display: flex;
    flex-wrap: wrap;
}
.event {
    width: 46%;
    margin: 2%;
}
.event img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}
.shirushi {
    margin: 0 0 5px;
    display: inline-block;
    background: rgba(0, 0, 0, 1);
    font-size: 80%;
    padding: 0.5% 2%;
    color: white;
}
.event h3 {
    font-size: 17px;
    font-weight: 700;
    overflow: hidden;
}
.day {
    font-size: 77%;
    margin-bottom: 10px;
    }
.hon {
    font-size: 3.6vw;
}
.sche {
    /*background: linear-gradient(to bottom, #ffffff00 0% 36%, #000 36% calc(36% + 1px), #ffffff00 calc(36% + 1px) 100%);*/
    overflow-x: scroll;
}

.sche ul {
    display: flex;
    flex-wrap: wrap;
    width: 200%;
    margin: 0 auto;
}
.sche ul li {
    text-align: center;
    width: 12%;
    margin: 1%;
}
.sche ul li .maru {
    font-size: 40px;
    font-weight: 100;
}

section.sec03 {
    background: #547766;
    color: white;
}

/**/
footer {
    text-align: center;
    padding: 8%;
}
footer h2 {
    margin: 20px 0;
}
footer p {
    text-align: justify;
}
    
/**/
.bloinner {
    width: 80%;
    margin: 115px auto;
}
	li.evlist span {
    display: inline-block;
    width: 33%;
}
/**/
	
ul.uminoinsta li {
    width: 90%;
    margin: 25px auto 0px;
    display: block;
    text-align: center;
    font-size: 100%;
}
}
