/* 共通 */
html {
    font-size: 100%;
    scroll-behavior: smooth;  
}  

body {
    margin: 0;
    padding: 0;
    font-family: 'Zen Kaku Gothic New', sans-serif;

    /* background-color: #fffff9; */
    color: #787878;
    background-image: url("../img/wagara.jpg");
    background-repeat: repeat;
    background-size: 100% auto;
    background-position: center top;
    background-attachment: fixed;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1,
h2,
h3,
h4,
.hero-overlay p {
    font-family: 'Zen Maru Gothic', sans-serif;
}

/* ヘッダー */
.top-visual {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.top-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-logo {
    position: absolute;
    top: 3%;
    left: 2%;
    width: 50px;
    z-index: 1000000;
}

.nav {
    margin-top: 0;
    position: absolute;
    top: 3%;
    right: 2%;
    z-index: 100000;
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav a {
    color: #c79d6d;
    text-decoration: none;
    font-size: 1rem;
    /* text-shadow: 0 0 3px rgba(0, 0, 0, 0.5); */
    white-space: nowrap;
}

.nav img {
    width: 30px;
}

.nav img:hover {
    transform: scale(1.3);
}

.nav a:hover {
    color: #fff;
    font-size: 1.05rem;
}

.vertical-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* writing-mode: vertical-rl; */
    font-size: 3rem;
    color: #fff;
    letter-spacing: 0.2em;
    margin-top: 20px;
    letter-spacing: 0.2em;
    line-height: 1.6;
    text-shadow: #fc0 1px 0 10px;
}

/* 固定nav  */
.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0.6rem 0;
    /* background-color: #c79d6d; */
    background-color: rgba(199, 157, 109, 0.9);
    backdrop-filter: blur(6px);
    z-index: 10002;
    pointer-events: none;
    transform: translateY(-100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fixed-nav.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.fixed-nav ul {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
}

.fixed-nav li a {
    display: block;
    font-size: 1rem;
    color: #fff;
    padding: 1rem 1.2rem;
    white-space: nowrap;
    position: relative;
    transition: color 0.3s ease;
}

.fixed-nav li a::after {
    content: "";
    position: absolute;
    bottom: 0.6rem;
    left: 20%;
    width: 60%;
    height: 2px;
    opacity: 0.5;
    background-color: #678032;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.fixed-nav li a:hover::after {
    transform: scaleX(1);
}

.fixed-nav img {
    width: 20px;
}


/* メイン */
.inner {
    max-width: 1000px; 
    margin: 0 auto;
    padding: 0 1rem; 
  }
  .fadein-text1 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    font-size: 2rem;
}

.fadein-text1.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* morning menu */
#asagohan_top .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px; 
    padding: 5rem 2rem;
    flex-wrap: wrap; 
  }
  
  #asagohan_top_text {
    flex: 1;
    min-width: 300px;
    text-align: left; 
  }
  
  .swiper {
    flex: 1;
    min-width: 300px;
    max-width: 500px; 
  }
  

#asagohan_top_text h1{
    font-size: 2rem;
    line-height: 1.5;
}

.asagohan_top_text1{
    font-size: 2rem;
    font-weight: 700;
    color: #678032;
}

.asagohan_top_text2 p{
    font-size: 1.3rem;
    margin-top: 3rem;
    line-height: 1.6;
}

#asagohan_morningmenu_tag{
    text-align: center;
}

.caution{
    font-weight: 700;
    margin: 30px auto 0 auto;
}
.caution_1,
.caution_2{
    display: none;
}


.asagohan_morningmenu_tag1{
    width: 30%;
    margin: 0 auto;
    margin-bottom: 1rem;
    padding-top: 10rem;
}
.asagohan_morningmenu_tag2{
    color: #967950;
    font-size: 2rem;
}
.asagohan_morningmenu_tag3{
    color: #967950;
    font-size: 2rem;
}

#asagohan_morningset,
#asagohan_healthyset,
#asagohan_saltmusubiset{
    display: flex;
    width: 1200px;
    margin: 0 auto;
    padding-top: 100px;
    gap: 10rem;
    line-height: 3rem;
    align-items: center;
}
#morningset_img img,
#healthyset_img img,
#saltmusubiset_img img{
    border-radius: 5px;
    }
    
.morningset_text1,
.healthyset_text1,
.saltmusubiset_text1{
    font-size: 2rem;
    color: #678032;
    font-weight: 700;
    padding-top: 3rem;
    border-bottom: solid 3px #967950;
}

.morningset_text2,
.healthyset_text2,
.saltmusubiset_text2{
    padding-top: 3rem;
}
.morningset_text3,
.healthyset_text3,
.saltmusubiset_text3{
    font-size: 3rem;
    font-weight: 700;
    text-align: right;
    color: #678032;
}
/* #eraberuokazu{
    width: 80%;
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
} */
.eraberuokazu1{
    width: 160px;
    color: #ff701e;
    transform: translate(300%,30%);

}
.eraberuokazu1 img{
    border-radius: 80px;
}
.eraberuokazu2{
    width: 160px;
    color: #ff701e;
    transform: translate(-400%,60%);
}
.eraberuokazu2 img{
    border-radius: 80px;
}
/* .furifuri-okazu1{
    animation: furifuri 2.5s infinite ease-in-out;
    transform-origin: center bottom;
    object-fit: contain;
    margin-bottom: -600px;

}
@keyframes  furifuri{
    0%,
    100% {
        transform: translateY(0) rotate(6deg);
    }

    50% {
        transform: translateY(5px) rotate(-6deg);
    } */
/* } */
#asagohan_morningset2{
    padding-top: 0;
}
#asagohan_healthyset2{
    padding-top: 0;
}

#asagohan_saltmusubiset2
 {
    width: 1200px;
    display: flex;
    align-items: center;
    gap: 10rem;
    margin: 0 auto;
    padding-top: 10rem;
    line-height: 3rem;
}

#morningset_img img,
#healthyset_img img,
#saltmusubiset_img img {
  width: 600px; 
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

#morningset_text,
#healthyet_text,
#saltmusubiset_text {
  flex: 1;
  min-width: 250px;
}



#asagohan_top,
#asagohan_morningmenu,
#asagohan_morningmenu2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#asagohan_morningset,
#asagohan_healthyset,
#asagohan_saltmusubiset,
#asagohan_morningset2,
#asagohan_healthyset2,
#asagohan_saltmusubiset2 {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  gap: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}



/* フェードイン */
.fade-in-left,
.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s ease;
}

.fade-in-left {
  transform: translateX(-50px);
}

.fade-in {
  opacity: 1;
  transform: translateX(0);
}


.pagetop {
    position: fixed;
    bottom: 16px;
    right: 16px;
}

.pagetop a {
    display: block;
    text-decoration: none;
}

.pagetop:hover {
    opacity: 0.85;
}

.pagetop img {
    width: 50px;
}

/* インスタグラム */
.instagram_icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 200px;
}

.musubi-logo {
    margin: 10px auto;
}

.musubi-logo img {
    display: block;
    width: 800px;
    margin: 0 auto;
}

.musubi-logo h1 {
    font-size: 1.5rem;
    color: #678032;
}

.musubi-logo h2 {
    font-size: 1rem;
    color: #A67C52;
}

.instagram_icon h1:hover,
.instagram_icon h2:hover {
    color: #678032;
    opacity: 0.8;
}

.instagram_icon a img {
    width: 50px;
    transition: transform 0.3s;
}

.instagram_icon a img:hover {
    transform: scale(1.3);
}
/* モバイルモックアップ */
.iphone-top {
    background:#1F2022;
    width:348px;
    height:40px;
    margin: 10px auto 0;
    border-radius:30px 30px 0 0;
    position: relative;
  }
  .iphone-top:before {
    content:"";
    display: block;
    width: 55px;
    height: 5px;
    background: #171719;
    border-radius: 5px;
    margin-top: 3px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .iphone-bottom {
    background:#1F2022;
    width:348px;
    height:60px;
    margin:0 auto;
    border-radius:0 0 30px 30px;
    position: relative;
    bottom:13px;
  }
  .nakami {
    width: 340px;
    height: 530px;
    margin-top: 24%;
    overflow: scroll;
    margin: 0 auto;
    border: 4px solid #1F2022;
    background: #fff;
    position: relative;
    z-index: 5;
  }
  .nakami p {
    display: block;
    width: 100%;
  }
  .text{
    text-align: center;
    margin-top: 2rem;
  }


/* フッター */
.footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-around; */
    justify-content: center;
    align-items: center;
    margin: 50px auto;
    width: 900px;
    gap: 80px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.footer-info h3{
    color: #A67C52;
}

.contact-button {
    display: inline-block;
    background: none;
    border: 1px solid #a67c52;
    padding: 8px 20px;
    margin: 5px;
    border-radius: 30px;
    color: #a67c52;
    text-decoration: none;
    transition: 0.3s;
}

.contact-button:hover {
    background-color: #a67c52;
    color: #fff;
}

small {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
}



@media (max-width: 768px) {
    .hamburger {
        position: fixed;
        top: 25px;
        right: 32px;
        cursor: pointer;
        width: 32px;
        height: 24px;
        z-index: 10001;
    }

    .hamburger span {
        position: absolute;
        height: 2px;
        background-color: #c79d6d;
        width: 100%;
        transition: all 0.3s;
    }

    .hamburger span:nth-of-type(1) {
        /*上の線の位置*/
        top: 4px;
    }

    .hamburger span:nth-of-type(2) {
        /*真ん中の線の位置*/
        top: 12px;
    }

    .hamburger span:nth-of-type(3) {
        /*下の線の位置*/
        top: 20px;
    }

    /* 開いたときのアニメーション */
    .hamburger.open span:nth-of-type(1) {
        transform: rotate(45deg);
        top: 12px;
    }

    .hamburger.open span:nth-of-type(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-of-type(3) {
        transform: rotate(-45deg);
        top: 12px;
    }

    #nav-menu {
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #fdfcf4;
        z-index: 999;
        padding-top: 80px;
        text-align: center;
    }

    #nav-menu.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    #nav-menu ul {
        margin: 0;
        list-style: none;
        padding-bottom: 80px;
    }

    #nav-menu li {
        margin: 20px 0;
    }

    #nav-menu a {
        text-decoration: none;
        color: #c79d6d;
        font-size: 1.2rem;
    }

    #nav-menu a:hover {
        color: #678032;
        /* text-shadow: 0 0 5px rgba(216, 216, 216, 0.9); */
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

    .nav,
    .fixed-nav {
        display: none;
    }

    .vertical-title {
        writing-mode: horizontal-tb;
        font-size: 2rem;
        top: 35%;
        transform: translate(-50%,-40%);
        line-height: 1.4;
        text-align: center;
    }


    .nav-instagram-icon {
        width: 24px !important;
        height: auto !important;
        vertical-align: middle;
        margin-right: 8px;
    }

    .fixed-nav {
        display: none !important;
    }

    .fixed-nav ul {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .fixed-nav li a {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }


    /* メイン */
    .top-visual {
        height: 150vh;
    }
    


    #asagohan_top .inner {
        flex-direction: column-reverse;
        padding: 3rem 1rem 0 1rem;
      }
    
      #asagohan_top_text {
        text-align: center;
      }
    
      .swiper {
        width: 100%;
        max-width: 100%;
      }

    .asagohan_top_text1{
        font-size: 1.5rem;
    }
    .asagohan_top_text2 p{
        font-size: 1rem;
    }

    .caution{
        display: none;
    }
    .caution_1,
    .caution_2{
        margin-top: 1rem;
        display: inline;
        font-size: 0.8rem;
}
    #asagohan_morningmenu_tag{
        width: 100%;
        margin-top: 5rem;
    }
    .asagohan_morningmenu_tag1{
        width: 80%;
        margin: 0 auto;
        padding-top: 3rem;
    }
    .asagohan_morningmenu_tag2{
        font-size: 1.5rem;
    }
    .asagohan_morningmenu_tag3{
        font-size: 1rem;
        border-top: 1px solid #967950;
        border-bottom: 1px solid #967950;
        display: inline-block;
        margin-top: 0.5rem;
    }

   .swiper-slide{
    margin-top: 50px;
   }
   #asagohan_morningset{
    padding-top: 3rem;
   }
    #asagohan_morningset,
    #asagohan_saltmusubiset{
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
    gap: 1rem;
    padding-top: 2rem;
    }
    #asagohan_healthyset{
    flex-direction:column-reverse;
    width: 90%;
    margin: 0 auto;
    gap: 1rem;
    padding-top: 2rem;
    }
    .morningset_text1,
    .healthyset_text1,
    .saltmusubiset_text1{
        font-size: 1.5rem;
        width: 100%;
        text-align: center;
        padding-top: 0;
    }
    .morningset_text2,
    .healthyset_text2,
    .saltmusubiset_text2{
        font-size: 1rem;
        padding: 1rem 1rem;
        line-height: normal;
    }
    .morningset_text3,
    .healthyset_text3,
    .saltmusubiset_text3{
        font-size: 2rem;
    }
    #asagohan_morningset2{
        padding-top: 3rem;
    }
    #asagohan_morningset2,
    #asagohan_saltmusubiset2{
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
    gap: 0;
    padding-top: 2rem;
    }
    #asagohan_healthyset2{
    flex-direction:column-reverse;
    width: 90%;
    margin: 0 auto;
    gap: 1rem;
    padding-top: 2rem;
    }
    .eraberuokazu1{
        width: 130px;
        transform: translate(0%,0%);
        padding-top: 2rem;
        font-size: 0.9rem;
    }
    .eraberuokazu2{
        width: 130px;
        transform: translate(0%,0%);
        font-size: 0.8rem;
        padding-top: 2rem;
    }
    /* フッター */
    footer {
        overflow-x: hidden;
    }

    .footer-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 0 20px;
        gap: 10px;
    }

    .footer-info,
    .footer-contact {
        text-align: center;
        align-items: center;
    }

    .footer-info h3 {
        color: #A67C52;
        font-size: 1.3rem;
        font-weight: bolder;
    }

    .footer-info p {
        margin-top: 10px;
        font-size: 0.9rem;
    }

    .footer-contact {
        align-items: center;
        margin-top: 30px;
    }

    .footer-contact a {
        white-space: nowrap;
        font-size: 1rem;
    }

    .contact-button {
        width: 100%;
        max-width: 280px;
        margin: 5px auto;
        text-align: center;
    }
}


@media screen and (min-width: 769px) {
    #hamburger,
    #nav-menu {
      display: none;
    }
  }
  

  @media screen and (max-width: 1024px) and (orientation: landscape) {
    #asagohan_footer .asagohan_footer_logo img {
      width: 20% !important;
      transform: translate(0%, -220%) !important;
    }
    #nav-menu {
        overflow-y: auto;
        max-height: 100vh;
  }
}