@charset "utf-8";

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "游ゴシック", YuGothic, "游ゴシック体", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", "ＭＳ ゴシック", "MS Gothic", sans-serif;
    color: #402E26;
    background-color: #fff;
    line-height: 1.6;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 40px 0;
}

.section-title {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    color: #cc0000;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
#header {
    background-color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* z-index基準 */
    z-index: 10; /* 重なり順を上に */
}

.logo a {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    color: #cc0000;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
}

.tel {
    display: flex;
    align-items: center;
}

.tel i {
    margin-right: 10px;
    color: #cc0000;
    font-size: 1.2rem;
}

.tel a {
    color: #402E26;
    text-decoration: none;
    font-weight: bold;
}

/* Key Visual */
#key-visual {
    position: relative;
    margin-bottom: 40px;
}

.slider {
    display: flex;
    overflow: hidden;
}

.slider img {
    width: 100%;
    height: 600px;
    flex-shrink: 0;
    animation: slide 15s linear infinite;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    33% {
        transform: translateX(0);
    }
    36% {
        transform: translateX(-100%);
    }
    66% {
        transform: translateX(-100%);
    }
    69% {
        transform: translateX(-200%);
    }
    99% {
        transform: translateX(-200%);
    }
    100% {
        transform: translateX(0);
    }
}

.caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 100%;
}

.caption h2 {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px #000;
}

.caption p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px #000;
}

/* Menu */
#menu {
    background-color: #e9e9e9;
    position: sticky;
    top: 0;
    z-index: 20;
    padding-bottom: 20px;
}

.menu-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    list-style: none;
}

.menu-filter li {
    margin: 0 15px;
    padding: 10px 20px;
    background-color: #fff;
    border: 1px solid #cc0000;
    color: #cc0000;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.menu-filter li.active,
.menu-filter li:hover {
    background-color: #cc0000;
    color: #fff;
}

.menu-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.menu-item {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-item-body{
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.menu-item img {
    margin-bottom: 10px;
}

.menu-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #cc0000;
}

.menu-item .price {
    font-size: 1rem;
    font-weight: bold;
    margin-top: auto;
}

/* Access */

.store__area {
display: flex;
justify-content: center;
height: 500px;
margin-bottom: 54px;
}


.store-image {
    width: 60%;
    height: auto;
}

#map {
    width: 100vw;
    /* 中央に寄せている */
    margin: 0 calc(50% - 50vw);
}

.info {
    width: 40%;
    line-height: 2;
}

/* Hours */
#hours table {
    width: 80%;
    margin: 0 auto 20px;
    border-collapse: collapse;
}

#hours table th,
#hours table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

#hours table th {
    background-color: #f8f8f8;
}

#hours table .holiday {
background-color: #ddd;
}

.info-list {
    margin-bottom: 20px;
    line-height: 2;
    counter-reset: my-counter;
}

.info-list > div {
    display: table;
    width: 80%;
    margin: 0 auto;
}

.info-list dt {
    display: table-cell;
    font-weight: bold;
    padding: 8px;
    border-bottom: 1px solid #ccc;
    width: 40%;
}

.info-list dd {
    display: table-cell;
    padding: 8px;
    border-bottom: 1px solid #ccc;
    width: 60%;
}

.info-list span {
    font-size: 10px;
}

/* Recruit */
#recruit {
    background-color: #e9e9e9;
}

#recruit .job {
    text-align: center;
    margin-bottom: 40px;
}

#recruit .job p {
    font-size: 2rem;
}

#recruit dl {
    margin-bottom: 20px;
    line-height: 2;
}

#recruit dt {
    font-weight: bold;
}

#recruit dd {
    margin-bottom: 10px;
}

#recruit .tel a {
    font-size: 1.2rem;
}


#recruit .blocs {
    display: flex;
    justify-content: space-between;
}

#recruit .bloc-b {
    width: 50%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;

    img {
        object-fit: scale-down;
        width: 100%;
        height: 100%;
    }
}

.div1 { grid-area: 1 / 1 / 2 / 2; }
.div2 { grid-area: 2 / 1 / 3 / 2; }
.div3 { grid-area: 1 / 2 / 3 / 3; }

#recruit .cv-area {
    padding: 60px 0;
    border: 5px solid #cc0000;
    text-align: center;
    align-items: center;
}

#recruit .cv-area p {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 32px;
}

#recruit .cv-area .tel {
    justify-content: center;
    margin-bottom: 0;
     i {
        font-size: 40px;
     }

     a {
        font-size: 40px;
     }
}


/* Campaign */
#campaign img {
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: #402E26;
    color: #fff;
    padding: 20px;
    text-align: center;
}

/* Phone Button */
.phone-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background-color: #cc0000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    z-index: 30;
}

.phone-button a {
    color: #fff;
    text-decoration: none;
}

.phone-button i {
    font-size: 1.5rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  overflow: auto;
}

.modal-content {
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border: 1px solid #ccc;
  width: 80%;
  max-width: 600px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modal-content img {
    object-fit: contain;
    width: 100%;
    height: 400px;
    margin-bottom: 15px;
}

.modal-text {
  text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .menu-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .caption h2 {
        font-size: 2rem;
    }

    .caption p {
        font-size: 1rem;
    }

    #hours table {
        width: 95%;
    }

    .info-list > div {
        width: 95%;
    }

    .info-list dt {
        width: 30%;
    }

    .info-list dd {
        width: 70%;
    }
}

@media (max-width: 480px) {
    .logo a {
        font-size: 1.5rem;
    }

    .tel i {
        font-size: 1rem;
    }

    .tel a {
        font-size: 0.9rem;
    }

    .caption h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .caption p {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .menu-item-body{
        height: auto;
    }

    .menu-filter {
        display: block;
        justify-content: center;
        margin-bottom: 20px;
        list-style: none;

    }

    .menu-filter li {
        margin: 0 10px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .menu-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-item h3 {
        font-size: 1rem;
    }

    .menu-item .price {
        font-size: 0.9rem;
    }

    #map {
        height: 300px;
    }

    .store__area .info {
        width: 100%;
        line-height: 2;
    }

    .store-image {
        width: 100%;
    }

    #hours {
        margin-top: 100px;
    }

    #recruit .job p {
        font-size: 1rem;
    }

    #recruit .blocs {
        display: block;
    }

    #recruit .bloc-a {
        width: 100%;
    }

    #recruit .bloc-b {
        width: 100%;
    }

    #recruit .cv-area p {
        font-size: 1rem;
        padding: 0px 16px;
    }

    #recruit .cv-area .tel {
        i {
            font-size: 24px;
         }
    
         a {
            font-size: 24px;
         }
    }

    .phone-button {
        width: 50px;
        height: 50px;
    }

    .phone-button i {
        font-size: 1.2rem;
    }

    .store__area {
        display: block;
    }
}