@charset "UTF-8";

/* =========================
   Reset / Base
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    margin: 0 auto;
    padding: 0;
    height: 100vh;
    max-width: 1920px;
    background-color: #fff;
}

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

:root {
    --bg-main: hsl(0, 0%, 100%);
    --bg-sub: #c2cfb6;
    --bg-header: #8ea17d;
    --text-main: #242424;
    --text-sub: #2b2b2b;

    --fz-base: 16px;
    --fz-h1: 25px;
    --fz-h2: 28px;
    --fz-h3: 18px;
    --fz-small: 15px;

    --lh-base: 1.9;
}

h1{
    color: #ffffff;
}

html {
    /* stickyヘッダー分、アンカー位置を補正（#news等がズレない） */
    scroll-padding-top: 80px;
    /* PCでスクロールバー出入りによる横ズレ防止 */
    scrollbar-gutter: stable;
}
@font-face {
    font-family: "ShipporiMincho-Medium";
    src: url("fonts/ShipporiMincho-Medium.ttf") format("truetype");
    font-display: swap;
  }
body {
    font-family:"ShipporiMincho-Medium";
    background: var(--bg-main);
    color: var(--text-main);
    font-size: var(--fz-base);
    line-height: var(--lh-base);
    overflow-wrap: break-word;
}

h4{
    margin: 40px 0px;
    text-align: center;
    font-size: 1.5em;
    color: #fff;
    background-color: #8ea17d;
}
h5{
    text-align: center;
    font-size: 1.2em;
}

/* Common */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.section {
    padding: 0;
}

.section-title {
    font-size: var(--fz-h2);
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: .10em;
}

.bg-dark {
    background: var(--bg-sub);
}

.nowrap {
    white-space: nowrap;
}
.ichigyou{
    display: block;
    height: 20px;
}

/* =========================
   Header
========================= */
.header {
    background: var(--bg-header);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 6px 0px 10px 0 rgba(0,0,0,.4);
}

.header-inner {
    margin: 0px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: var(--fz-h1);
    letter-spacing: .08em;

}

.nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: var(--fz-h3);
    padding-bottom: 5px;
    position: relative;
}
/* ナビゲーションのアニメーション */
.nav a::before {
  background: #ffffff;
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.nav a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

.nav a:hover {
    color: #fff;
}

header img{
    margin: 5px;
    padding: 0;
    width: 30px;
    height: 30px;
}

.header-left{
    display: flex;
}
/* スクロール */

/* Hamburger */
.hamburger {
    display: none;
    width: 28px;
    height: 22px;
    background: none;
    border: none;
    position: relative;
    cursor: pointer;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #fff;
    transition: .3s;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
}
/* =========================
   装飾
========================= */
.ougi{
    margin: 0 auto;
    margin-top: 30px;
    width: 30px;
}

/* =========================
   Hero
========================= */
.hero {
    position: relative;
    height: 700px;
    overflow: hidden;
}
.slides{
position: relative;
 width: 100%;
 height: 700px;
 overflow: hidden;
 margin: 0 auto;
}
.img-01, .img-02, .img-03, .img-04{
 position: absolute;
 top:0;
 left:0;
 width: 100%;
 height: 100%;
 background-size: cover;
 background-repeat: no-repeat;
}
.img-01{
 background-image: url('images/slide1.jpg');
 animation: slide-animation-01 22s infinite;
}
.img-02{
 background-image: url('images/slide2.jpg');
 animation: slide-animation-02 22s infinite;
}
.img-03{
 background-image: url('images/slide3.jpg');
 animation: slide-animation-03 22s infinite;
}
.img-04{
 background-image: url('images/slide4.jpg');
 animation: slide-animation-04 22s infinite;
}

@keyframes slide-animation-01 {
 0% {opacity: 1; transform: scale(1.02);}
 20% {opacity: 1; transform: scale(1.1);}
 25% {opacity: 0;}
 95% {opacity: 0; transform: scale(1.0)}
100% {opacity: 1; transform: scale(1.02)}
}
@keyframes slide-animation-02 {
 0% {opacity: 0;}
 20% {opacity: 0; transform: scale(1.05);}
 25% {opacity: 1;}
 45% {opacity: 1; transform: scale(1.0)}
 50% {opacity: 0;}
100% {opacity: 0;}
}
@keyframes slide-animation-03 {
 0% {opacity: 0;}
 45% {opacity: 0; transform: scale(1.0);}
 50% {opacity: 1;}
 70% {opacity: 1; transform: scale(1.05);}
 75% {opacity: 0;}
 100% {opacity: 0;}
}
@keyframes slide-animation-04 {
 0% {opacity: 0;}
 70% {opacity: 0; transform: scale(1.1);}
 75% {opacity: 1;}
 95% {opacity: 1; transform: scale(1.0);}
100% {opacity: 0;}
}

.hero-text {
    position: absolute;
    left: 50%;
    top: 20%;
    transform: translateX(-50%);
    text-align: center;
    padding: 10px;
    width: 50%;
    max-width: 500px;
    animation: fadeIn 3s cubic-bezier(0.33, 1, 0.68, 1) forwards;;
}

@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

/* スマホ改行用（HTML側で <span class="sp-br"></span> を入れる） */
.sp-br {
    display: none;
}

.store-name {
    white-space: nowrap;
}
/* =========================
   aタグ
========================= */

#menu a{
    color: #ffffff;
    background-color: #8ea17d;
    display: block;
    margin: 50px auto;
    width: 250px;
    padding: 15px 20px;
    box-shadow: 4px 4px 7px 0 rgba(0,0,0,.3);
    text-align: center;
    text-decoration: none;
}

#menu a:hover{
margin-top: 53px;
margin-bottom: 47px;
box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, .3);
}

/* =========================
   News
========================= */
.news-section {
    background: #c2cfb6;
    color: #333;
    padding: 30px;
}

.news-section .section-title {
    color: #333;
}

.news-list {
    max-width: 700px;
    margin: 0 auto;
    list-style: none;
    border: 1px solid #ddd;
    background: #fff;
    overflow: hidden;
}

.news-list li {
    padding: 12px 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list li:hover {
    background: #fff9de;
}

.news-date {
    font-weight: bold;
    color: #555;
    flex-shrink: 0;
}

.news-content {
    color: #333;
    margin-left: 15px;
    flex-grow: 1;
}

/* News Modal（×が出っぱなしになる問題を解消） */
#modal-content {
    white-space: pre-line;
}

.news-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.news-modal-content {
    position: relative;
    background: #fff;
    color: #333;
    padding: 30px;
    border-radius: 10px;
    max-width: 520px;
    width: 90%;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .3);
    font-size: 16px;
    line-height: 1.6;
}

.news-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 24px;
    cursor: pointer;
    background: transparent;
    border: none;
    color: #333;
}

/* =========================
   紹介文
========================= */
#syoukai{
    background-image: url(images/haikei.jpg);
    background-size:cover ;
}
.maeoki{
    margin: 0 auto;
    width: 90%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    justify-content: center;
}

.meizi{
    margin-top: 40px;
    margin-bottom: 40px;
    width: 70px;
    display: flex;
}
.mozi{
    display: flex;
}
.bunsyou{
    margin-left: 30px;
    margin-top: 60px;
    white-space: nowrap
}

.mukasinosyasinn{
    margin-top: 90px;
    margin-left: 30px;
    display: flex;
    gap: 20px;
}

.mukasinosyasinn1{
    margin-top: 30px;
    margin-bottom: 50px;
    width: 200px;
    height: 200px;
    object-fit: cover;
    animation: fadeIn linear;
    animation-timeline: view();
    animation-range: entry 0% cover 50%;
}
.mukasinosyasinn2{
    width: 100px;
    height: 100px;
    object-fit: cover;
    animation: fadeIn linear;
    animation-timeline: view();
    animation-range: entry 0% cover 50%;
}

/* =========================
   Guide
========================= */
.guide {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.guide li {
    border-bottom: 1px solid #333;
    padding: 10px 0;
    color: #ddd;
}

/* =========================
   Menu / Drinks
========================= */
#menu{
    margin: 30px auto;
}
.sub-title,
.drink-title {
    text-align: center;
    font-size: var(--fz-h3);
    letter-spacing: .15em;
    margin: 48px 0 22px;
    font-weight: normal;
    color: #4a3e30;
}


.menu-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.menu-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #444;
    padding: 8px 0;
}

.menu-name,
.menu-price {
    font-size: var(--fz-small);
}

/* =========================
   Gallery
========================= */
#storeinfo{
    margin: 0 auto;
    width: 100%;
}

.goannai{
    margin: 0 auto;
    width: 300px;
}


.store{
    margin: 0 auto;
    width: 1000px;
}

.gallery-photo {

    overflow: hidden;
}

.naikan{
    width: 80px;
    position: relative;
    z-index: 100;
    left: 15%;
    bottom: -30px;
}

.naisou1{
    margin: 0 auto;
    width: 90%;
    position: relative;
    z-index: 99;
    animation: fadeIn linear;
    animation-timeline: view(); /* スクロールと連動 */
    animation-range: entry 0% cover 30%;
}

.naisou3{
    margin: 30px auto;
    width: 90%;
    position: relative;
    z-index: 101;
    animation: fadeIn linear;
  animation-timeline: view(); /* スクロールと連動 */
  animation-range: entry 0% cover 30%;
}

.naisou4{
    margin: 0 auto;
    width: 90%;
    position: relative;
    z-index: 70;
    animation: slideinRight 3s infinite;
    animation: fadeIn linear;
  animation-timeline: view(); /* スクロールと連動 */
  animation-range: entry 0% cover 30%;
}

.gaikan{
    width: 80px;
    position: relative;
    z-index: 105;
    left: 80%;
    bottom: -30px;

}

.gaisou1{
    margin: 0 auto;
    width: 90%;
    position: relative;
    z-index: 98;
    animation: fadeIn linear;
    animation-timeline: view(); /* スクロールと連動 */
    animation-range: entry 0% cover 30%;
}
.gaisou2{
    margin-top: 30px;
    width: 30%;
    position: relative;
    z-index: 103;
    left: 55%;
    animation: fadeIn linear;
    animation-timeline: view(); /* スクロールと連動 */
    animation-range: entry 0% cover 30%;
}

.enkaizyou{
    margin: 0 auto;
    margin-left: 0%;
    width: 80px;
    position: relative;
    z-index: 104;
     left: 15%;
    bottom: -30px;
}
.enkai{
    margin: 0px auto;
    width: 90%;
    position: relative;
    top: -70px;
    animation: fadeIn linear;
    animation-timeline: view(); /* スクロールと連動 */
    animation-range: entry 0% cover 30%;
}

#box{margin: 0 auto;
    height: 400px;
    background-image: url(images/toritune-mukashi.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* =========================
   Access
========================= */
.shop-name {
    text-align: center;
    font-size: 18px;
    letter-spacing: .12em;
    margin-bottom: 8px;
}

.map {
    margin-top: 18px;
}

/* =========================
   Contact（PCで左寄り・青リンクになる問題を解消）
========================= */
#contact .container {
    text-align: center;
}

#contact .tel {
    margin-top: 10px;
    font-size: 20px;
    letter-spacing: .06em;
}

#contact .tel a {
    color: #4a3e30;
    text-decoration: none;
}

#contact .tel a:hover {
    text-decoration: underline;
}

/* =========================
   Footer
========================= */
.footer {
    background: #8ea17d;
    padding: 40px 0;
    text-align: center;
    font-size: 13px;
    color: #ffffff;
}

/* =========================
   Call Fixed (SP) — 安定版
========================= */
.call-fixed {
    display: none;
}

.sp-indent {
    display: inline;
}

.sp-only {
    display: none;
}

/*==========================
お品書きのスライドショー
===========================*/
.slidemenu-conteiner{
    margin: 0 auto;
  width: 70%;
  height: auto;
  position: relative;
  overflow: hidden;
}
.slide{
   width: 500%;
  height: 100%;
  display: flex;
  transition: all 0.3s;
}
.slide div { /* スライド */
  width: 20%;
  height: 100%;
  font-size: 16px;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
}
.slide1 {
  transform: translateX(0);
}
.slide2 {
  transform: translateX(-20%);
}
.slide3 {
  transform: translateX(-40%);
}
.slide4 {
  transform: translateX(-60%);
}
.slide5 {
  transform: translateX(-80%);
}

/*==========================
お品書きのスライドショーのナビゲーション
===========================*/
.indicator {
  width: 100%;
  position: absolute;
  bottom: 20px;
  display: flex;
  column-gap: 18px;
  z-index: 10;
  justify-content: center;
  align-items: center;
}
.indicator li {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  list-style: none;
  background-color: #ffffff;
  border: 0;
  cursor: pointer;
}
.indicator li:first-of-type {
  background-color: #000000;
}

/*スマホ版とか*/
@media (max-width:768px) {
    .hero {
        height: 65vh;
    }

    .hero-sub {
        margin: 0;
    }

    .hero-line {
        white-space: nowrap;
    }

    .hero-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 70%;
        /* ← 固定幅にする */
        padding: 14px 18px;
        border-radius: 12px;
        text-align: center;
    }

    .hero-cta {
        display: none;
    }

    :root {
        --fz-base: 15px;
        --fz-h1: 18px;
        --fz-h2: 24px;
        --fz-small: 13px;
        --lh-base: 1.85;
    }

    /* nav (SP) */
    .nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #8ea17d;
        padding: 30px 0;
        z-index: 999;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .nav.active {
        display: block;
    }

    .hamburger {
        display: block;
    }

    .ougi{
        margin-top: 0px;
    }

    /* hero: スマホだけ改行を有効化 */
    .sp-br {
        display: block;
    }

    .sp-only {
        display: inline;
    }

    .sp-indent {
        display: block;
        padding-left: 5em;
        /* ← 「営業時間：」の幅に合わせて調整 */
    }

    /* menu / gallery */
    .menu-list {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 40px 0;
    }
    .gallery-photo {
    display: block;
}

    /*紹介文*/
.maeoki{
    display: block;
}
    .meizi{
        height: 300px;
        margin-right: 0px;
    }
    .bunsyou{
        font-size: 1em;
    }
    .mozi{
        gap:0px;
        justify-content: center;
    }
    .mukasinosyasinn{
        margin-top: 0px;
        justify-content: center;
    }
    /*スライド*/
    .slidemenu-conteiner{
        width: 90%;
    }
    /*店内のご案内*/
    .store{
        width: 100%;
    }

    .naikan{
        width: 50px;
    }
    .gaikan{
    width: 50px;
    bottom: -50px;
    z-index: 105;
    }
    .enkaizyou{
    width: 50px;
    bottom: -30px;
    }


.gaisou1{
 width: 90% auto;
}

.gaisou2{
    width: 40%;
    left: 55%;
}
.enkai{
top: -50px;
}

    /* 固定電話ボタン */
    .call-fixed {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 56px;
        background: #8ea17d;
        z-index: 2000;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .call-fixed a {
        width: 100%;
        text-align: center;
        color: #ffffff;
        font-size: 16px;
        text-decoration: none;
        letter-spacing: .08em;
    }
}
