@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
    font-size: 100%;
}
body{
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    line-height: 1.7;
    color: black;
    position: relative;
    height: 100vh;
}
a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.main {
    padding: 0 4%;
}

.item1 img, .item2 img, .item3 img, .item4 img {
    width: 300px;
    height: 300px;
}

.wrapper {
    max-width: 100%;
}

/* 見出し */
.page-title {
    font-size: 3.5rem;
    font-family: 'Philosopher', serif;
    border-bottom: double 6px #87CEFA;
    text-transform: uppercase;
    font-weight: normal;
    margin: 0px;
}
.sub-title {
    font-size: 1.375rem;
    padding: 0 8px 8px;
    border-bottom: 2px #0bd solid;
    font-weight: normal;
}

/* ボタン */
.link {
    width: 350px;
    height: 120px;
    background-color: sandybrown;
    margin-bottom: 15px;
    border-radius: 10px;
}

.button1 {
    border-radius: 10px;
    border-color: chocolate;
    background-color:antiquewhite ;
    font-size: 22px;
    padding: 8px 16px;
    margin-top: 30px;
}

.button2, .button3, .button4 {
    border-radius: 10px;
    border-color: chocolate;
    background-color:antiquewhite ;
    font-size: 22px;
    padding: 8px 16px;
}

.button {
    font-size: 1.375rem;
    display: block;
    position: relative;
    color: black;
    border-radius: 5px;
    width:100%;
    box-shadow: 0 3px 0 0 #FF6600	;
    overflow: hidden;
    text-decoration: none;
    transition: 300ms;
}

.button::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: 0px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: white;
    transition: 300ms;
    animation: shinyshiny 2.5s ease-in-out infinite;
}

@-webkit-keyframes shinyshiny {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

.button:hover {
    background-color: white;
    text-decoration: none;
    box-shadow: none;
    -webkit-transform: translateY(3px);
}

.submit-button {
    font-size: 3rem;
    width: 120px;
    border-radius: 15px;
    background-color: skyblue;
}

.submit-button input {
    display: block;
    padding: 0px;
    height: 60px;
    background-color: skyblue;
}

/* iframe */
iframe {
    width: 100%;
}

/* HEADER
------------------------------- */
.page-header {
    display: flex;
    justify-content: right;
}
.logo {
    width: 210px;
    margin-top: 14px;
}
.main-nav {
    display: flex;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 34px;
    list-style: none;
}
.main-nav li {
    margin-left: 36px;
}
.main-nav a {
    color: #432;
}
.main-nav a:hover {
    color: #0bd;
}

/* HOME
------------------------------- */
.video{
  min-width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.video video{
  display: block;
  min-width: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

#home .page-title {
    text-transform: none;
}
.home-content {
    display:flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    margin-top: 20%;
}
.home-content p {
    font-size: 2rem;
    margin: 0;
}

/* NEWS
------------------------------- */
#news {
    background-image: url(../images/news-bg.jpg);
    height: 270px;
    margin-bottom: 40px;
    opacity: 0.5;
}
#news .page-title {
    text-align: center;
}
.news-contents {
    display: flex;
    flex-direction: column;
    padding: 0px;
    margin-bottom: 50px;
}

.explanation {
    margin:20px 20px 0px;
}

/* 記事部分 */
article {
    
    width: 100%;
}
.post-info {
    position: relative;
    padding-top: 4px;
    margin-bottom: 40px;
}
.post-date {
    background: #0bd;
    border-radius: 50%;
    color: #fff;
    width: 100px;
    height: 100px;
    font-size: 1.625rem;
    text-align: center;
    position: absolute;
    top: 0;
    padding-top: 10px;
}
.post-date span {
    font-size: 1rem;
    border-top: 1px rgba(255,255,255,.5) solid;
    padding-top: 6px;
    display: block;
    width: 60%;
    margin: 0 auto;
}
.post-title {
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: 2rem;
    font-weight: normal;
}
.post-title,
.post-cat {
    margin-left: 120px;
}
article img {
    margin-bottom: 20px;
}
article p {
    margin-bottom: 1rem;
}

/* サイドバー */
aside {
    width: 22%;
}
.sub-menu {
    margin-bottom: 60px;
    list-style: none;
}
.sub-menu li {
    border-bottom: 1px #ddd solid;
}
.sub-menu a {
    color: #432;
    padding: 10px;
    display: block;
}
.sub-menu a:hover {
    color: #0bd;
}
aside p {
    padding: 12px 10px;
}

/* MENU
------------------------------- */
#menu {
    background-image: url(../images/menu-bg.jpg);
    background-position: center center;
}
.menu-content {
    margin: 0 auto;
    padding: 0 4%;
    max-width: 800px;
}
.page-title {
    text-align: center;
}
.menu-content .p1 {
    font-size: 1.125rem;
    margin:0px;
    padding-top: 30px;
    padding-bottom: 5px;
}

.menu-content .p2 {
    font-size: 1.125rem;
    margin:0px;
    padding-top: 5px;
    padding-bottom: 30px;
}

.menu-content h2 {
    text-align: center;
}
.grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin: 10px 0px 0px;
}

.message {
    margin: 0px 0px 20px;
}

/* CONTACT
------------------------------- */
#contact {
    background-image: url(../images/contact-bg.jpg);
    background-position: center;
    background-color: rgba(255, 255, 255, 0.6);
}

.contact-child {
    background-color: rgba(255, 255, 255, 0.6);
}

.contact-message {
    text-align: center;
}

/* フォーム */
form div {
    margin-bottom: 14px;
}
label {
    font-size: 1.125rem;
    margin-bottom: 10px;
    display: block;
}
input[type="text"],
input[type="email"],
textarea {
    background: rgba(255,255,255,.5);
    border: 1px #fff solid;
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
}
input[type="text"],
input[type="email"] {
    width: 100%;
    max-width: 240px;
}
textarea {
    width: 100%;
    max-width: 480px;
    height: 6rem;
}
input[type="submit"] {
    border: none;
    cursor: pointer;
    line-height: 1;
}

/* 店舗情報・地図 */
#location {
    padding: 4% 0;
}
#location .contact-wrapper {
    display: flex;
    justify-content: space-between;
    margin:0px 2%;
}
.location-info {
    width: 25%;
    margin-right: 25px;
}
.location-info p {
    padding: 12px 10px;
}
.location-map {
    width: 74%;
    height: 100%
}

/* SNS */
#sns {
    background: #FAF7F0;
    padding: 4% 0;
}
#sns .wrapper {
    display: flex;
    justify-content: space-between;
}
#sns .sub-title {
    margin-bottom: 30px;
}
.sns-box {
    width: 30%;
}

/* フッター
------------------------------- */
footer {
    background: #432;
    text-align: center;
    padding: 26px 0;
}
footer p {
    color: #fff;
    font-size: 0.875rem;
}

.menu-child {
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
}

.shop-state {
    display:flex;
    justify-content:space-between;
}

.shop-state img {
    width: 30%;
    max-width: none;
    margin:0 20px;;
}

.location-info video {
   width: 100%;
   max-width: 100%;
   margin:0px;
   margin-bottom: 10px;
}

.video video {
    overflow: hidden;
    width: 100%;
}

.bakery {
    border-radius: 50%;  
    width:  180px;       
    height: 180px; 
}

.image_1 {
    height: 230px;
}

.image_2 {
    height: 230px;
}

.anime {
    justify-content: center;
    display: flex;
    width: 100%;
    max-height: 100vh;
}

.anime video {
    display: block;
    width: 80%;
}

.anime img {
   display: block; 
}

.anime div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 10%;
}

.hidden {
  display: none;
}

/* モバイル版
------------------------------- */
@media (max-width: 1150px) {
    .shop-state img {
        width: 25%;
    }
}

@media (max-width: 600px) {
    .page-title {
        font-size: 2.5rem;
    }
    .page-header {
        flex-direction: column;
        align-items: center;
    }

    /* HEADER */
    .main-nav {
        font-size: 1rem;
        margin-top: 10px;
        font-weight: bold;
    }
    .main-nav li {
        margin: 0 20px;
    }

    /* HOME */
    .home-content {
        margin-top: 20%;
    }
    
    .video video {
        object-fit: fill;
        height: 100%;
    }
    .home-content p{
        font-size: 1.5rem;
    }
    
    /* NEWS */
    #news .page-title {
        margin-top: 30px;
    }
    article,
    aside {
        width: 100%;
    }
    aside {
        margin-top: 60px;
    }
    .post-info {
        margin-bottom: 30px;
    }
    .post-date {
        width: 70px;
        height: 70px;
        font-size: 1rem;
    }
    .post-date span {
        font-size: 0.875rem;
        padding-top: 2px;
    }
    .post-title {
        font-size: 1.375rem;
    }
    .post-cat {
        font-size: 0.875rem;
        margin-top: 10px;
    }
    .post-title,
    .post-cat {
        margin-left: 80px;
    }

    /* MENU */
    .menu-content {
        margin-top: 20%;
    }

    /* CONTACT */
    #contact .page-title {
        margin-top: 40px;
    }

    /* フォーム */
    input[type="text"],
    input[type="email"],
    textarea {
        max-width: 100%;
    }

    /* 店舗情報・地図 / SNS */
    #location .contact-wrapper,
    #sns .wrapper {
        flex-direction: column;
    }
    
    .image_1, .image_2 {
        height: 300px;
        width:100%;
    }
    
    .location-info,
    .location-map,
    .sns-box {
        width: 100%;
    }
    .sns-box {
        margin-bottom: 30px;
    }
    
    .shop-state {
        flex-direction:column;
        margin:0px;
        padding: 0px 20px;
    }
    .shop-state img {
        width: 100%;
        max-width: 100%;
        margin:0px;
        margin-bottom: 10px;
    }
}

@media (max-width: 567px) {
    .item1 img, .item2 img, .item3 img, .item4 img {
        width: 240px;
        height: 240px;
    }
    
    .grid {
        gap: 26px 15px;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 421px) {
    .link {
        width: 80%;
        height: 150px;
    }
    
    .grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .page-title {
        font-size: 2.0rem;
    }
    
    .anime video {
        width:100%;
    }
    .anime div {
        display: none;
        width: 0;
    }
}