@charset "utf-8";

/*
Theme Name: sobachaya-ogura
Theme URI: https://webtry-test2.net/
Description: sobachaya-ogura
Version: 1.0
Author: Webtry_Hachisuga
Author URI: https://webtry.net
*/

/*全体*/
body {
    font-family:
        "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Times New Roman", serif;
    font-feature-settings: "palt";
    line-height: 1.8;
    color: #333132;
}
.wrapper {
    padding: 0 5%;
}
.SicYubi-MohitsuGyosho {
    font-family: "sicyubi-mohitsugyosho", sans-serif;
    font-weight: bold;
    font-style: normal;
}
html {
    scroll-behavior: smooth;
}
  
/*ヘッダー*/
.header_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#main-title {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    line-height: 1.6rem;
    text-align: center;
    white-space: nowrap;
    padding-left: 10px;
    padding-top: 7px;

}
#main-title p span {
    font-size: 1.8rem;
}
.right-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.tel a img {
    width: 35px;
}
.tel-pc {
    display: flex;
    gap: 10px;
}
.tel-pc_image {
    padding-top: 10px;
}
.tel-pc_image img {
    width: 30px;
}
.tel-pc_text a {
    font-size: 1.7rem;
    text-decoration: none;
    color: #4b4b4b;
}
/*ハンバーガーメニュー*/
.btn-menu {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: none;
    z-index: 4000;
    position: fixed;
    top: 0;
    right: 10px;
}
.btn-menu span {
    display: block;
    width: 40px;
    height: 2px;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    background-color: #4b4b4b;
}
.menu_container {
    display: flex;
    width: 60px;
}
/* ×（バツ）に変形 */
.btn-menu.active span:nth-child(1) {
    transform: rotate(30deg) translate(5px, 5px);
  }
  .btn-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .btn-menu.active span:nth-child(3) {
    transform: rotate(-30deg) translate(7.2px, -7.2px);
}
/*モバイルメニュー*/
#menu-panel {
    background-image: url(images/grayback.jpeg);
    background-size: cover;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 3000;
    padding: 6rem 2rem 7rem 2rem;
    width: max(34vw, 20.7rem);
    height: 100vh;
    translate: 100vw;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
#menu-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 3001;
}
#menu-panel > * {
    position: relative;
    z-index: 3002;
}
.menu-list {
    list-style: none;
}
.menu-list li {
    margin: 0 0.5rem;
}
.menu-list li a {
    color: #333132;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bolder;
    line-height: 3rem;
}
.menu-list li a:hover {
    font-size: 1.7rem;
}
/*スライダー*/
.swiper-slide {
    margin: 0 auto;
    display: block;
}
.swiper-slide img {
    width: 100%;
    height: 100vw;
    object-fit: cover;
    display: block;
}
.swiper-wrapper {
    width: 100%;
}
.swiper {
    position: relative;
    margin-top: 10px;
}
.swiper .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    background-color: #f5f5f5;
    margin: 7px 7px !important;
}
.slide-text {
    position: absolute;
    top: 40px;
    right: 20px;
    writing-mode: vertical-rl; /* 縦書き */
    font-size: 1rem;
    color: #fff;
    text-shadow: 0 0 8px rgba(0,0,0,0.5);
    letter-spacing: 0.2em;
    z-index: 2; /* 画像より前に出す */
}
/*こだわり*/
#concept-top,
#soba-experience-top {
    background-image: url(images/grayback-top.jpeg);
}
#menu {
    background-image: url(images/grayback.jpeg);
}
#concept-top,
#soba-experience-top,
#menu {
    background-size: contain;
    background-position: center;
    background-repeat: repeat;
    z-index: 0;
    position: relative;
}
#concept-top::before,
#soba-experience-top::before,
#menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 1;
}
#concept-top > *,
#soba-experience-top > *,
#menu > * {
    position: relative;
    z-index: 2;
}
.concept_container,
.experience-top_container {
    padding-bottom: 30px;
}
#concept-top h2,
#soba-experience-top h2 {
    padding: 1rem 0 0.3rem 0;
}
.button {
    display: block;
    margin: 40px auto;
    width: fit-content;
    padding: 8px 18px;
    background-color: #4b4b4b;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    font-weight: bold;
}
.button:hover {
    background-color: #555;
}
.concept-image img,
.experience-top-image img,
.shop-info-top-image img {
    width: 100%;
}
.concept-image {
    padding-top: 1rem;
}
.concept-image img {
    aspect-ratio: 4/3;
    object-fit: cover;
}
#concept-1 img {
    object-position: 50% 10%;
}
/*お品書き*/
#menu-top {
    background-image: url(images/kyusu.jpg);
}
#experience {
    background-image: url(images/teuchi-taiken.jpeg);
}
#menu-top,
#experience {
    background-size: cover;
    width: 100%;
    height: 250px;
    background-position: center;
    color: white;
    position: relative;
    z-index: 0;
    text-align: center;
}
#menu-top::before,
#experience::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
#menu-top > *,
#experience > * {
    position: relative;
    z-index: 2;
}
.menu-top_container {
    width: 17rem;
    display: block;
    margin: 0 auto;
    padding-top: 2rem;
}
.menu-top_container p {
    display: inline-block;
    text-align: left;
    padding: 0.7rem 0;
}
.menu-button {
    display: block;
    margin: 20px auto;
    width: fit-content;
    padding: 8px 18px;
    background-color: #808000;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    font-weight: bold;
}
.menu-button:hover {
    background-color: #6b8e23;
}
/*おすすめ商品*/
#recommend {
    margin: 2rem 0;
    padding-bottom: 2rem;
}
.recommend_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5%;
    padding-top: 0.7rem;
}
.recommend img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}
.recommend-title h3 {
    font-size: 0.9rem;
}
.recommend-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.recommend-price {
    font-size: 0.9rem;
    font-weight: bold;
}
.recommend p {
    line-height: 1.2rem;
    font-size: 0.85rem;
    padding-top: 0.3rem;
}
/*そば打ち体験*/
#soba-experience-top {
    padding-top: 2rem;
}
/*店舗情報*/
#shop-info {
    padding-top: 3rem;
}
.shop-table table {
    width: 95%;
    border-collapse: collapse;
    margin: 2em auto;
    font-size: 1rem;
    display: block;
}

.shop-table table,
.shop-table table tr,
.shop-table table td {
  display: block;
}
.shop-table table tr {
    margin-bottom: 0.7em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.4em;
}
.shop-table table td {
    white-space: nowrap;
}
.map h3,
.contact h3 {
    padding: 2rem 0 0.3rem 0;
    font-size: 1.4rem;
}
.map iframe {
    width: 100%;
    height: 50vw;
}
.map,
.contact {
    text-align: center;
}
.map p {
    text-align: left;
    white-space: nowrap;
    padding-top: 0.8rem;
}
.contact-tel {
    display: flex;
    justify-content: center;
    gap: 10px;
}
/*フッター*/
footer {
    padding-top: 50px;
    background-color: #f5f5f5;
    margin-top: 70px;
}
#footer-menu ul {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0 5px;
}
#footer-menu ul li {
    font-size: 0.7rem;
    list-style: none;
    white-space: nowrap;
}
#footer-menu ul li a {
    text-decoration: none;
    color: black;
}
#footer-menu ul li a:hover {
    color: #4b4b4b;
}
#footer-menu ul li+ li {
    border-left: solid 1px;
    padding-left: 0.5rem;
}
#copyright {
    text-align: center;
    padding: 2rem 0;
    font-size: small;
}
/**/
/*お品書き*/
.menu-table {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.menu-table-button {
    display: block;
    margin: 20px auto;
    width: fit-content;
    padding: 13px 6px;
    background-color: #808000;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    font-weight: bold;
    font-size: 1rem;
    writing-mode: vertical-rl;
}
.menu-table-button:hover {
    background-color: #6b8e23;
}
/*カテゴリ*/
.menu-category {
    padding: 50px 0 100px;
}
.menu-category h2,
#honey h2 {
    border-bottom: dotted 2px #808000;
}
.menu-category h2 span {
    font-size: 0.8rem;
    padding-left: 1rem;
}
#honey h2 {
    margin-top: 50px;
}
#menu {
    padding-top: 2rem;
}
.menu-page_container {
    padding-top: 0.7rem;
}
.menu {
    padding: 1rem;
}
.menu img {
    width: 100%;
}
.menu-title_inner h3 {
    font-size: 1.1rem;
}
.menu-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding-top: 0.5rem;
}
.menu-title_inner {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.menu-title_inner img {
    width: 20px;
    height: 20px;
}
.menu-price {
    font-size: 1.1rem;
    font-weight: bold;
}
.menu-price span {
    font-size: 0.9rem;
    padding-left: 0.5rem;
}
.menu p {
    line-height: 1.4rem;
    font-size: 0.9rem;
    width: 90%;
    margin: 0 auto;
    padding-top: 0.3rem;
}
/*はちみつ*/
.honey-image {
    padding: 1.7rem 1rem;
}
.honey-image img {
    width: 100%;
}
.honey-description {
    text-align: center;
}
.honey-description h3 {
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
}
.honey-description p {
    font-size: 0.9rem;
    width: 80%;
    display: inline-block;
    margin: 0 auto;
    text-align: left;
    padding-bottom: 1.4rem;
}
/*トップに戻るボタン*/
/* トップに戻るフローティングボタン */
#back-to-top {
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    line-height: 48px;
    font-size: 18px;
    border-radius: 50%;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

/* 表示状態 */
#back-to-top.is-show {
    opacity: 1;
    visibility: visible;
}

/* ホバー時 */
#back-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}

/**/
/*そば打ち体験*/
.experience-page-top {
    width: 17rem;
    display: block;
    margin: 0 auto;
    padding-top: 5rem;
}
.experience-page-top p {
    display: inline-block;
    text-align: left;
    padding: 0.7rem 0;
}
#experience-description h2 {
    font-size: 1.2rem;
    line-height: 1.7rem;
    margin: 2rem 0 1.5rem;
}
#experience-description p {
    padding-bottom: 1rem;
}
.experience-image {
    width: 70%;
    display: block;
    margin: 0 auto;
    padding-bottom: 1.5rem;
}
.experience-image img {
    width: 100%;
}
/*表*/
.soba-experience-table {
    width: 100%;
    max-width: 700px;
    margin: 30px auto;
    border-collapse: collapse;
    font-size: 1rem;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.soba-experience-table th,
.soba-experience-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.soba-experience-table th {
    width: 35%;
    background: #f7f7f7;
    font-weight: 600;
    font-family: "Shippori Mincho", serif;
    letter-spacing: 0.5px;
}

.soba-experience-table td {
    font-family: "Shippori Mincho", serif;
}

/* 最終行の線を消す */
.soba-experience-table tr:last-child th,
.soba-experience-table tr:last-child td {
    border-bottom: none;
}
@media (max-width: 767px) {
    .pc {
        display: none !important;
    }
}
@media (min-width: 768px) {

    #experience-description {
        display: block;
        width: 50%;
        margin: 0 auto;
    }
    #experience-description h2 {
        font-size: 1.5rem;
        line-height: 2.3rem;
        margin: 4rem 0 3rem;
    }
    #experience-description p {
        font-size: 1.2rem;
        line-height: 2.6rem;
    }
    .soba-experience-table {
        font-size: 1.2rem;
    }
    .soba-experience-table th,
    .soba-experience-table td {    
        padding: 16px 30px;
        border-bottom: 1px solid #ddd;
        text-align: left;
    }


    .mb {
        display: none !important;
    }
    /*メインメニュー*/
    .header_container {
        width: 70%;
        margin: 30px auto 0 auto;
    }
    #main-title {
        font-size: 1.7rem;
        line-height: 3.7rem;
        margin-top: 0;
        color: black;
    }
    #main-title p span {
        font-size: 4rem;
    }
    .tel-pc_outer {
        display: flex;
        gap: 50px;
        justify-content: right;
    }
    #main-menu nav ul {
        display: flex;
        justify-content: center;
        line-height: 80px;
    }
    #main-menu nav ul li {
        list-style: none;
        font-size: 1.3rem;
        white-space: nowrap;
        font-weight: bolder;
        padding: 0 1.5rem;
        height: 60px;
    }
    #main-menu nav ul li a {
        text-decoration: none;
        color: #4b4b4b;
    }
    #main-menu nav ul li a:hover {
        color: black;
    }
    .main-menu_container {
        display: flex;
        align-items: center;
    }
    /*スライダー*/
    .swiper-slide img {
        height: 60vh;
        object-position: 50% 35%;
    }
    .slide-text {
        font-size: 1.5rem;
        right: 5%;
        top: 10%;
    }
    /*こだわり*/
    #concept-top,
    #soba-experience-top,
    #shop-info {
        padding-top: 70px;
    }
    .concept_container,
    .experience-top_container,
    .shop-info-top_container {
        display: flex;
        justify-content: space-between;
        gap: 5%;
        align-items: center;
        padding-bottom: 100px;
    }
    .concept-top-description,
    .experience-top-description,
    .shop-info-top-description {
        width: 60%;
    }
    .concept-top-description h2,
    .experience-top-description h2,
    .shop-info-top-description h2 {
        font-size: 2rem;
    }
    .concept-top-description p,
    .experience-top-description p,
    .shop-info-top-description p {
        font-size: 1.2rem;
        line-height: 2.7rem;
        padding: 1rem 0;
    }
    .concept-image,
    .experience-top-image,
    .shop-info-top-image {
        width: 40%;

    }
    .reverse {
        flex-direction: row-reverse;
    }
    .button,
    .menu-button {
        font-size: 1.2rem;
    }
    /*お品書き*/
    #menu-top {
        height: 370px;
    }
    .menu-top_container {
        padding-top: 5rem;
        width: 40rem;
    }
    .menu-top_container h2 {
        font-size: 2rem;
    }
    .menu-top_container p {
        font-size: 1.2rem;
        line-height: 2.7rem;
        padding: 1rem 0 2rem;
    }
    /*おすすめ商品*/
    #recommend {
        margin: 4rem 0;
    }
    .recommend_container {
        grid-template-columns: repeat(4, 1fr);
    }
    #recommend h2 {
        font-size: 2rem;
    }
    .recommend h3 {
        font-size: 1.3rem;
        padding: 0.4rem 0 0.2rem;
    }
    .recommend-price {
        font-size: 1.3rem;
    }
    .recommend p {
        font-size: 1rem;
        line-height: 1.5rem;
    }
    /*店舗情報*/
    .shop-table table {
        display: table;
        font-size: 1.2rem;
    }
    .shop-table table tr {
        display: table-row;
        white-space: nowrap;
        text-align: left;
    }
    .shop-table table td {
        padding: 1em;
    }
    .map iframe {
        width: 50%;
        height: 30vw;
    }
    .map p {
        text-align: center;
    }
    .map h3,
    .contact h3 {
        padding-bottom: 2rem;
        font-size: 1.7rem;
    }
    .contact {
        margin-top: 60px;
    }
    .contact p {
        font-size: 1.3rem;
        padding-bottom: 2rem;
    }
    /*フッター*/
    footer {
        margin-top: 150px;
    }
    #footer-menu ul {
        gap: 0.8rem;
    }
    #footer-menu ul li+ li {
        padding-left: 0.8rem;
    }
    #footer-menu ul li {
        font-size: 1rem;
    }
    /**/
    /*お品書き*/
    .menu-category h2,
    #honey h2 {
        font-size: 1.6rem;
        padding-left: 2rem;
    }
    #honey h2 {
        width: 50%;
        display: block;
        margin: 100px auto 0;
    }
    .menu-category h2 span {
        font-size: 1rem;
        padding-left: 3rem;
    }
    .menu-category {
        width: 50%;
        display: block;
        padding: 70px 0 140px;
        margin: 0 auto;
    }
    .menu {
        width: 80%;
        display: block;
        margin: 0 auto;
        padding-bottom: 50px;
    }
    .menu p,
    .honey-description p {
        font-size: 1rem;
        line-height: 1.6rem;
    }
    .menu-title_inner {
        gap: 1rem;
    }
    .menu-title_inner img {
        width: 30px;
        height: 30px;
    }
    .menu-title_inner h3,
    .menu-price {
        font-size: 1.3rem;
    }
    .menu-price span {
        font-size: 1rem;
        padding-left: 1rem;
    }
    /*はちみつ*/
    .honey_container {
        display: flex;
        margin: 0 10% 0 20%;
    }
    .honey-image {
        width: 50%;
    }
    .honey-description {
        margin-top: 7vh;
    }
    .honey-description h3 {
        font-size: 1.3rem;
        padding-bottom: 0.8rem;
    }
    #back-to-top {
        right: 10%;
        bottom: 10%;
    }
    /**/
    /*そば打ち体験*/
    .experience-page-top {
        padding-top: 5rem;
        width: 40rem;
    }
    .experience-page-top h2 {
        font-size: 2rem;
    }
    .experience-page-top p {
        font-size: 1.2rem;
        line-height: 2.7rem;
        padding: 1rem 0 2rem;
    }
}