@charset "utf-8";

/*-----------------------------------------------
SP
-----------------------------------------------*/

@media screen and (max-width: 768px) {

body{
    min-width: unset;
    max-width: 100%;
}

/* メインコンテンツに上マージンを追加してヘッダーと重ならないようにする（SP用） */
main {
    margin-top: 90px; /* SP用のヘッダー高さ分 */
}

/*PC表示・SP非表示*/
body .pc-item {
    display: none; 
}

body .sp-item {
    display: block; 
}

/*レイアウト*/
.container{
    max-width: 90%;
    margin: 0 auto;
}

/* ナビゲーション */
.navbar-container{
    max-width: 95%;
}

.navbar-menu {
    display: none; /* 通常メニューを非表示 */
}

.navbar-logo{
    max-width: 165px;
}

.navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
}
.navbar-menu ul {
    gap: 24px;
}

.navbar-menu a {
    font-size: 1.6rem;
}

/* ハンバーガーボタン */
.hamburger-btn {
    display: block;
    position: absolute;
    top: 30px;
    right: 20px;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002; /* モバイルメニューより前面に配置 */
    padding: 0;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    position: absolute;
    transition: all 0.3s ease;
}

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

.hamburger-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

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

/* ハンバーガーボタン開いた状態（×印） */
.hamburger-btn.open span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

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

.hamburger-btn.open span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(245, 242, 240, 0.95); /* 半透明背景 */
    z-index: 1001; /* ヘッダーより上に表示 */
    display: none;
    padding: 140px 30px 30px 50px;
    box-sizing: border-box;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu-content {
    width: 100%;
    max-width: 300px;
}

/* ロゴを元の位置と同じサイズに配置 */
.mobile-menu-logo {
    position: absolute;
    top: 20px;
    left: 14%;
    transform: translateX(-50%);
    max-width: 165px;
    z-index: 1001;
}

.mobile-menu-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-nav li {
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.mobile-menu-nav a {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.mobile-menu-nav a:hover {
    color: #3481B4;
}

/*-----------------------------------------------
ABOUTセクション
-----------------------------------------------*/
.about-section {
    width: 100%;
    min-height: 600px;
    background: url('../images/about-bg.webp') center center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 140px 0px 140px 0px;
    box-sizing: border-box;
    position: relative;
    overflow-x: hidden;
    text-align: center;
}

.about-title {
    font-size: 2.8rem;
    letter-spacing: 0.12em;
    color: #2d2926;
    margin-bottom: 40px;
}

.about-logo-wrap {
    margin-bottom: 32px;
}
.about-logo {
    width: 200px;
}

.about-desc {
    font-size: 1.4rem;
    color: #2d2926;
    font-weight: 500;
    margin-bottom: 48px;
    max-width: 100%;
    line-height: 1.7;
    display: inline-block;
    padding: 12px 0px;
    text-align: left;
}

.about-btn-wrap {
    display: flex;
    justify-content: center;
}

.about-btn {
    display: inline-block;
    min-width: 400px;
    padding: 16px 0;
    background: #49413a;
    color: #fff;
    font-size: 1.7rem;
    font-weight: bold;
    border-radius: 30px;
    border: none;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.08em;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    box-shadow: none;
    outline: none;
    border: 2px solid #49413a;
    cursor: pointer;
}
.about-btn:hover {
    background: #fff;
    color: #49413a;
    border: 2px solid #49413a;
}

/*-----------------------------------------------
SWEETSセクション
-----------------------------------------------*/
.sweets-section {
    max-width: 90%;
    padding: 100px 0px;
}

.sweets-title {
    font-size: 2.8rem;
}

.sweets-sub {
    font-size: 1.8rem;
}

.sweets-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 48px;
}

.sweets-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

/* 偶数番目の要素も同じレイアウトにする */
.sweets-list .sweets-item:nth-child(even) {
    flex-direction: column;
}

.sweets-img-wrap {
    flex: none;
    max-width: 80%;
    width: 100%;
}

.sweets-text-wrap {
    flex: none;
    text-align: center;
    max-width: 100%;
}

.sweets-item-title {
    font-size: 2rem;
    margin-bottom: 16px;
}

.sweets-desc {
    font-size: 1.4rem;
    line-height: 1.7;
    text-align: left;
}

.sweets-btn {
    min-width: 300px;
    font-size: 1.6rem;
}

/*-----------------------------------------------
SHOPセクション
-----------------------------------------------*/
.shop-section {
    padding: 80px 0px 100px 0px;
}

.shop-title {
    font-size: 2.8rem;
}

.shop-sub {
    font-size: 1.8rem;
}

.shop-content {
    display: flex;
    flex-direction: column-reverse; /* 画像を上、情報を下に */
    gap: 40px;
    align-items: center;
}

.shop-info {
    flex: none;
    width: 100%;
    max-width: 90%;
}

.shop-image {
    flex: none;
    width: 100%;
    max-width: 90%;
    margin-left: 0; /* PC版の重ねるスタイルを無効化 */
}

.shop-info__name {
    font-size: 2rem;
    text-align: left;
    margin-bottom: 30px;
}

.shop-info__item {
    margin-bottom: 25px;
}

.shop-info__item dt {
    font-size: 1.4rem;
    width: 100px;
}

.shop-info__item dd {
    font-size: 1.4rem;
    margin-left: 15px;
    list-style: 1.7;
}

/*-----------------------------------------------
STORYセクション
-----------------------------------------------*/

.story-content {
    flex-direction: column;
    gap: 48px;
    text-align: center;
    max-width: 100%;
}

.story-logo {
    flex-basis: 200px;
}

.story-logo img {
    width: 100%;
    max-width: 200px;
}

.story-text {
    text-align: left;
    max-width: 100%;
}

.story-bg01,.story-bg02{
    display: none;
}

.story-header {
    margin-bottom: 40px;
    text-align: center;
}

.story-title {
    font-size: 2.8rem;
    font-weight: bold;
    letter-spacing: 0.12em;
    color: #2d2926;
}

.story-sub {
    font-size: 1.8rem;
    color: #3E3A39;
    margin-bottom: 0;
}

.story-paragraph {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 500;
}

.story-detail {
    margin-top: 0px;
    padding-top: 0px;
}

.story-detail-title {
    font-size: 1.4rem;
    margin-bottom: 0px;
}

.story-detail-text {
    font-size: 1.4rem;
    line-height: 1.7;
    color: #333;
}

/*-----------------------------------------------
ITOSHIMA STORYセクション
-----------------------------------------------*/

.itoshima-story-header {
    margin-bottom: 24px;
    text-align: center;
}
.itoshima-story-title {
    font-size: 2.8rem;
}
.itoshima-story-sub {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.itoshima-story-bg01,
    .itoshima-story-bg02{
        display: none;
    }

    .itoshima-story-content {
        display: flex;
        flex-direction: column-reverse;
        align-items: unset;
        gap: 40px;
        max-width: 90%;
        padding: 30px 0px 120px 0px;
    }
    
    .itoshima-story-image {
        flex-basis: auto;
    }
    
    .itoshima-story-text {
        max-width: 100%;
        margin-left: 0;
    }

    .itoshima-story-img {
        width: 100%;
        height: auto;
    }

    .itoshima-story-paragraph {
        font-size: 1.4rem;
        line-height: 1.7;
        margin-bottom: 24px;
        font-weight: 500;
    }

/*-----------------------------------------------
フッター
-----------------------------------------------*/
.footer {
    padding: 80px 30px 120px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    max-width: 90%;
    margin: 0 auto;
}

.footer-logo {
    flex: none;
    max-width: 200px;
}

.footer-nav {
    flex: none;
    padding: 0;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.footer-menu a {
    font-size: 1.6rem;
}

/* 牛乳瓶アイコンはSPでは非表示 */
.footer-bin {
    display: none;
}

.footer-copyright {
    text-align: center;
    margin-top: 30px;
}

.footer-copyright p {
    font-size: 13px;
    color: #2d2926;
    margin: 0;
}

}

@media screen and (max-width: 520px) {
    /* ハンバーガーメニューのロゴ位置を調整 */
    .mobile-menu-logo {
        position: absolute;
        top: 20px;
        left: 25%;
        transform: translateX(-50%);
        max-width: 165px;
        z-index: 1001;
    }

    /* abouセクションボタン幅 */
    .about-btn {
        min-width: 90%;
    }

    .footer-copyright p {
        font-size: 11px;
        color: #2d2926;
        margin: 0;
    }

}

@media screen and (max-width: 360px) {

}