/* 
Theme Name: test-site 
*/
@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
  font-size: 100%;
}
body {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体",
    "ヒラギノ角ゴ Pro W3", sans-serif;
  line-height: 1.7;
  color: #432;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}
.height {
  height: 87px;
}
.wrapper {
  margin: 0% 5%;
}
/* 大きな背景画像 */
.big-bg {
  background-size: cover;
  background-position: center top;
}
/* 見出し */
.page-title {
  font-size: 5rem;
  font-family: "Philosopher";
  text-transform: uppercase;
  font-weight: normal;
}
.sub-title {
  font-size: 1.375rem;
  padding: 0 8px 8px;
  border-bottom: 2px #0bd solid;
  font-weight: normal;
}
/* ボタン */
.button {
  font-size: 1.375rem;
  background: #0bd;
  color: #fff;
  border-radius: 5px;
  padding: 18px 32px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
}
.button:hover {
  background: #0090aa;
}
.btn.solid {
  border-radius: 7px;
  box-shadow: 2px 2px 0 0 rgb(153, 151, 151);
}
.btn.solid:hover {
  transform: translate(2px, 2px);
  box-shadow: none;
}
/* iframe */
iframe {
  width: 100%;
}

/* HEADER => header.php
------------------------------- */
.page-header {
  display: flex;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 0 5%;
  width: 100%;
}
.logo {
  width: 210px;
  margin-top: 14px;
}
#menu-nav {
  display: flex;
}
.main-nav {
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-top: 34px;
}
.main-nav li {
  margin-left: 36px;
  list-style: none;
}
.main-nav a {
  color: #432;
}
.main-nav a:hover {
  color: #0bd;
}

/* HOME => front-page.php
------------------------------- */
#home {
  background-image: url(images/main-bg.jpg);

  min-height: 100vh;
}
#home .page-title {
  text-transform: none;
}
.home-content {
  text-align: center;
  /* margin-top: 10%; */
}
.home-content p {
  font-size: 1.125rem;
  margin: 10px 0 42px;
}

/* MENU => page-menu.php
------------------------------- */
#menu {
  background-image: url(images/menu-bg.jpg);
  height: 500px;
  width: 100%;
}
.menu-content {
  max-width: 560px;
  margin: 0 auto;
}
.menu-content .page-title {
  text-align: center;
  padding-top: 130px;
}
.menu-content p {
  font-size: 1.125rem;
  width: 400px;
}
.grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  /* margin-top: 20px;
  margin-bottom: 50px; */
  margin: 20px 3% 50px 3%;
}

/* NEWS => single.php
------------------------------- */
#news {
  background-image: url(images/news-bg.jpg);
  height: 270px;
  margin-bottom: 40px;
}
#news .page-title {
  text-align: center;
  padding-top: 5%;
}
.news-contents {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}
/* 記事部分 */
article {
  width: 74%;
}
.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, 0.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;
}
.catego ul li a {
  color: #432;
}
.post-title,
.post-cat {
  margin-left: 120px;
}
.catego {
  display: flex;
}
.catego ul li {
  list-style: none;
}
article img {
  margin-bottom: 20px;
}
article p {
  margin-bottom: 1rem;
}
article h3 {
  margin-bottom: 10px;
}

/* サイドバー */
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;
}

/* category => category-php.
------------------------------- */
#category {
  background-image: url(images/category-bg.jpg);
  height: 400px;
  margin-bottom: 40px;
}
#category .page-title {
  text-align: center;
  padding-top: 130px;
  margin: 0 auto;
}
.category-contents {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}
.category-info {
  margin-bottom: 60px;
}
.category-info a {
  display: inline-block;
  padding-top: 1rem;
  color: #432;
}

/* CONTACT => page-contact.php
------------------------------- */
#contact {
  background-image: url(images/contact-bg.jpg);
  min-height: 100vh;
}
/* フォーム */
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, 0.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 .wrapper {
  display: flex;
  justify-content: space-between;
}
.location-info {
  width: 22%;
}
.location-info p {
  padding: 12px 10px;
}
.location-map {
  width: 74%;
}

/* 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.php
------------------------------- */
footer {
  background: #432;
  text-align: center;
  padding: 26px 0;
}
footer p {
  color: #fff;
  font-size: 0.875rem;
  margin-bottom: 35px;
}

/* -----------------------------
モバイル版
------------------------------- */
@media (max-width: 710px) {
  .page-title {
    font-size: 2.5rem;
  }
  .page-header {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

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

  /* HOME */
  .home-content {
    margin-top: 10%;
  }

  /* MENU */
  .menu-content {
    margin-top: 10%;
  }
  .menu-content p {
    margin: 0 auto;
  }

  /* NEWS */
  .news-contents {
    flex-direction: column;
  }
  #news .page-title {
    margin-top: 10%;
    padding-top: 100px;
  }
  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,
  .post-cat {
    margin-left: 80px;
  }
  .post-title {
    font-size: 1.375rem;
  }
  .post-cat {
    font-size: 0.875rem;
    margin-top: 10px;
  }
  .post-categories {
    margin-top: 8px;
  }

  /* category */
  .category-contents {
    flex-direction: column;
  }

  /* CONTACT */
  #contact .page-title {
    margin-top: 10%;
  }

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

  /* 店舗情報・地図 / SNS */
  #location .wrapper,
  #sns .wrapper {
    flex-direction: column;
  }
  .location-info,
  .location-map,
  .sns-box {
    width: 100%;
  }
  .sns-box {
    margin-bottom: 30px;
  }
}
