@charset "UTF-8";
html {
    scroll-behavior: smooth;
}
.flex{
  display: flex;
}
/* 黄色い左ナビの幅と配置 */
.nav {
  display: flex;
  flex-direction: column;
  width: 160px;
  background-color: #E6C85A;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  text-align: center;
}
.logo{
    margin: 25px 0;
}
.header_text{
    display: none;
}
.nav_list li{
    margin-bottom: 30px;
    transition: background-color 0.8s ease;
}
.nav_list li:hover{
    background-color: #F6F1E6;
}
.nav button{
    display: none;
}
.main_visual,
.pottery_visual,
.fabric_visual,
.story_visual {
    height: 700px;
    overflow: hidden;
}
.main_visual > img,
.pottery_visual > img,
.fabric_visual > img,
.story_visual > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* sns */
.sns{
    display: flex;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 25px;
    justify-content: center;
    align-items: center;
}
/* 右側のコンテンツ領域 */
.inner {
  width: calc(100% - 160px); /*コンテンツの両端に160pxの余白 */
  max-width: none;
  margin-inline: auto;     /* 左右中央に配置 */
}
/* main visual */
.main_visual {
    position: relative;
}
.main_visual img {
    width: 100%;
    display: block;
    margin-bottom: 50px;
}
.main_text {
    position: absolute;
    bottom: 120px;
    left: 60px;
    color: #fff;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.6);
    font-size: 32px;
}

.about_text{
    font-weight:500;
    font-size: 1.2rem;
}
/* PICKUP title */
.pickup_title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}
.pickup_title::before,
.pickup_title::after {
    content: "";
    flex: 1;
    height: 2px;
    background-color: #4A3428;
}
.andmore{
    transition: transform 0.3s ease;
}
.andmore:hover{
    text-decoration:underline #4A2828;
    transform: translateY(-3px);
}
.online_btn a {
    display: inline-block;
    transition: background-color 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease;
}
.online_btn a:hover{
    background-color: #D8B7AE;
    color: #4A2828;
    transform: translateY(-3px);
}

.c_items{
  box-shadow: 1px 3px 10px 1px  #C2B495;
  border-radius: 10px;
}
.c_items img {
    transition: transform 0.3s ease;
}

.c_items a:hover img {
    transform: translateY(-3px);
}

main,footer {
  margin-left: 160px;
}
footer {
  height: 120px;
  background-color: #A8BA8A;
  margin-top: 200px;
}
footer .footer_name {
  border-bottom: 1px solid #727F5E;
  padding-top: 30px;
  padding-left: 40px;
}
footer .copyright {
  padding-left: 40px;
}

.to_top {
    position: fixed;
    right: 30px;
    bottom: 100px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.6s ease,
                transform 0.6s ease,
                visibility 0.6s;
}
.to_top.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* フワッと現れる */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease, transform 1s ease;
}
.fade-in.fade-ready {
    opacity: 0;
    transform: translateY(20px);
}
.fade-in.fade-ready.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media  screen and (max-width: 767px){
    main{
        padding-top: 50px;
    }
    .nav{
        width: 100%;
        height: 50px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        z-index: 1000;
    }
    .nav nav,.nav .sns{
        display: none;
    }
    .main_visual,
    .pottery_visual,
    .fabric_visual,
    .story_visual {
        height: 300px;
    }
    /* メニューを開いたとき */
    .nav nav.is-open{
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;

        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        max-height: calc(100dvh - 50px);
        overflow-y: auto;

        background-color: rgba(230, 200,90, 0.8);
        padding: 20px;
    }
    /* 開いたメニューを縦に並べる */
    .nav nav.is-open .nav_list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }
    .nav nav.is-open .nav_list li{
        margin-bottom: 0;
        text-align: center;
    }
    .header_text{
        display: block;
        font-size: 12px;
        font-weight: bold;
        color: #4A2828;
        white-space: nowrap;
    }
    .header_text span{
        font-size: 10px;
        font-weight: normal;
    }
    .logo{
        margin: 0 0 0 15px;
        flex-shrink: 0;
    }
    .logo img{
        display: block;
        width: auto;
        height: 40px;
        max-height: 40px;
    }
    .nav button{
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        margin-right: 15px;
        padding: 5px;
    }
    .menu_btn{
        margin-left: auto;
        margin-right: 10px;
        flex-shrink: 0;
    }
    .menu_btn img{
        display: block;
        width: 25px;
        height: auto;
    }
    main,
    footer{
        margin-left: 0;
    } 
    .inner{
        width: 90%;
        margin-inline: auto;
    }
    .main_text{
        left: 20px;
        bottom: 20px;
        right: 20px;
        font-size: 1.1rem;
        line-height: 1.8;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
    } 
    .online_btn a{
        width: fit-content;
        max-width: 100%;
        height: auto;
        min-height: 44px;
        padding: 10px 15px;
        line-height: 1.5;
        box-sizing: border-box;
    }
    footer {
        margin-top: 100px;
        height: 80px;
    }
    .to_top{
        width: 70px;
        height: auto;
    }
    footer .footer_name{
        padding-top: 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .fade-in {
        transition: none;
    }
    .fade-in.fade-ready {
        opacity: 1;
        transform: none;
    }
}


    










