/* style.css */

/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    background-color: #f4f4f4;
    color: #5D261B;
    line-height: 1.6;
}

/* Header styles */
header {
    display: flex!important;
    flex-wrap: wrap;
}

header,
footer {
    background-image: url("img/footerback.png");
    background-position: center;
    background-size: auto;
    padding: 0.5rem 1rem;
    text-align: center;
    align-items: center;
    justify-content: space-between;
}

header a,
footer a{
    margin: 0 0.5rem;
    text-decoration: none;
    color: #5D261B;
    white-space: nowrap;
}

header nav a,
footer nav a {
    border-left: 2px solid #5D261B;
    padding-left: 5px;
    font-size: 0.9rem;
    font-weight: bold;
}

.hero-section,
.shop-intro,
.shop-detail,
.product-list,
.access-section,
.company-section,
.form-section {
    text-align: center;
    padding: 2rem;
    background-color: #fffcf8;
}
.shop-intro h2,
.shop-detail h2,
.product-list h2,
.access-section h2,
.form-section h2,
.company-section h2 {
    font-size: 1.7rem;
    border-bottom: 5px dotted #b37661;
    margin: auto auto 2rem auto;
    width: fit-content;
    padding-left: 2rem;
    padding-right: 2rem;
}
.shop-intro p,
.shop-detail p,
.product-list p,
.access-section p,
.form-section p,
.company-section p,
.hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.shop-intro p span,
.box p span {
    display: inline-block;
    font-family: serif;
}


/* Hero section styles */
.hero-section {
    background-image: url("img/bread.jpeg");
    background-position: center;
    padding-top: 18rem;
    padding-bottom: 18rem;
    background-color: rgba(150,150,150,0.3);
    background-blend-mode: soft-light;
    text-shadow: 0 0 5px black;
}

.hero-content h2 {
    color: #ffffff;
    font-size: 1.4rem;
    font-family: serif;
    letter-spacing: 2px;
    word-break: keep-all;
    font-weight: normal;
}

.btn-malformation {
    display: inline-block;
    padding: 0.5rem 2rem;
    background-color: #5D261B;
    color: #fff;
    text-decoration: none;
    margin-top: 3rem;
    border-radius: 2rem;
    -webkit-box-shadow: 0px 0px 0px 5px #5D261B;
            box-shadow: 0px 0px 0px 5px #5D261B;
    border: dashed 2px #FFF;
    transition: 0.4s;
}
.btn-malformation:hover {
    background-color: #754722;
    -webkit-box-shadow: 0px 0px 0px 8px #5D261B;
            box-shadow: 0px 0px 0px 8px #5D261B;
}

/*==================================================
ニュースティッカーのためのcss
===================================*/
/*ニュース1行の周りの余白*/
.slider li {
    padding: 0.5rem 1rem ;
}
.slider a{
    background: #FFF;
    text-decoration: none;
    font-weight: bold;
    color: #3d1109;
}
.slider a:hover{
    text-decoration: underline;
}

/*日付*/
.slider span {
    font-size:0.8rem;
    margin-right:10px;
    color:#777;
}
/*768px以下の見た目 ※1行のままにしたい場合は不要　*/
@media screen and (max-width:768px) {
    .slider {
        padding:20px;
        background:#fff;
    }

    .slider li {
        border-bottom:1px dashed #ccc;
    }

    .slider li:last-child {
        border-bottom:none;
    }
    .slider span {
		padding-bottom:10px;
    }
}
.news-ticker .bx-wrapper {
    margin-bottom: 0;
}

/*アコーディオン全体*/
.accordion-area{
    list-style: none;
    width: 80%;
    max-width: 900px;
    margin:0 auto;
}
.accordion-area li{
    margin: 10px 0;
    margin-bottom: 1.5rem;
}
.accordion-area section {
    border-radius: 2rem;
    background-color: #5d3e1b;
}

/*アコーディオンタイトル*/
.title {
    position: relative;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    padding: 1rem;
    transition: all .5s ease;
    word-break: keep-all;
    font-family: serif;
    color: #FFF;
}

/*アイコンの＋と×*/
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #5D261B;
    
}
.title::before{
    top:48%;
    left: 15px;
    transform: rotate(0deg);
    
}
.title::after{    
    top:48%;
    left: 15px;
    transform: rotate(90deg);

}
/*　closeというクラスがついたら形状変化　*/
.title.close::before{
	transform: rotate(45deg);
}
.title.close::after{
	transform: rotate(-45deg);
}
/*アコーディオンで現れるエリア*/
.box {
    display: none;/*はじめは非表示*/
    background: #f3f3f3;
    padding: 9% 7%;
    border-radius: 2rem;
    background-size: cover;
    background-position: center;
    background-color:rgba(255,255,255,0.8);
    background-blend-mode:lighten;
}

.box p {
    color: #3d1109;
}


.bread {
    background-image: url("img/bread4.jpeg");
}

.useEgg {
    background-image: url("img/useEgg.jpeg");
}

.coffeeTea {
    background-image: url("img/cofee_tea.jpeg");
}

.character {
    background-image: url("img/character.jpeg");
}

@media screen and (min-width:1024px) {
    .menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .product-list ul {
        width: 45%;
    }
}
    /* Product list section styles */
.product-list ul {
    list-style: none;
    padding: 0;
    margin: auto 1rem;
}
.product-list li {
    margin-bottom: 0.5rem;
    background-color: #fff;
    padding: 0.7rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.product-list .product {
    text-align: left;
    margin-bottom: 0.3rem;
}
.product-list .product-detail {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.product-list li p {
    margin: 0;
    text-align: left;
}
.product-list li p.d-name {
    margin-right: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    word-break: keep-all;
}
.product-list .HI img {
    margin-left: 0.3rem;
    width: 2rem;
}
.product-list .price {
    white-space: nowrap;
    text-align: right;
}
.product-list .price span {
    font-size: 1.2rem;
}
.product-list li:nth-child {
    background-color: #f4f4f4;
}

/* Access section styles */
.access-section ul {
    list-style: none;
    padding: 0;
    margin: 0 10%;
}
.access-section li {
    display:flex;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
    background-color: #fff;
    padding: 0.7rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.access-section li p:first-child {
    font-weight: bold;
    width: 8rem;
    text-align: left;
}
.access-section li p {
    margin: 0;
    text-align: left;
}
.access-section #map {
    margin-top: 2rem;
}
.access-section #map iframe {
    width: 100%;
    border-radius: 20px;
    border-style: none;
}

/*フォームボタン（TOP画面の「メニューはこちら」ボタンと同じスタイル）*/
.btn-form {
    display: inline-block;
    padding: 0.5rem 2rem;
    background-color: #5D261B;
    color: #fff;
    text-decoration: none;
    margin-top: 3rem;
    margin-bottom: 3rem;
    border-radius: 2rem;
    -webkit-box-shadow: 0px 0px 0px 5px #5D261B;
            box-shadow: 0px 0px 0px 5px #5D261B;
    border: dashed 2px #FFF;
    transition: 0.4s;
}
.btn-form:hover {
    background-color: #754722;
    -webkit-box-shadow: 0px 0px 0px 8px #5D261B;
            box-shadow: 0px 0px 0px 8px #5D261B;
}


.company-section ul {
    list-style: none;
    padding: 0;
    margin: 0 10%;
}
.company-section li {
    display:flex;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
    background-color: #fff;
    padding: 0.7rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.company-section li p:first-child {
    font-weight: bold;
    width: 8rem;
    text-align: left;
}
.company-section li p {
    margin: 0;
    text-align: left;
}