@charset "UTF-8";

/*　全ページ共通
--------------------------------------------　*/
html {
  font-size: 100%;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #432;
  line-height: 1.7;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}

/*　ヘッダー
--------------------------------------------　*/
.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: rgb(251,67,53);
}
.page-header {
  display: flex;
  justify-content: space-between;
}

/*　画面幅の設定
--------------------------------------------　*/
.wrapper {
  max-width: 1400px; /*制限しないと大きい画面で見た時、ロゴとナビメニューが離れて違和感*/
  margin: 0 auto; /*これがないと幅が1100pxを超えた時、左寄りになってしまう*/
  padding: 0 4%; /*スマホなど小さい画面で見た時に左右に余白ができるよう*/
}

/*　ホームページ
--------------------------------------------　*/
.home-content {
  text-align: center;
  margin-top: 10%;
}
.home-content p {
  font-size: 1.125rem;
  margin: 10px 0 42px;
}

/*　Experienceページ
--------------------------------------------　*/
#experience {
  background-image: linear-gradient(#f7c6bd,#e2eba3);
  height: 270px;
  margin-bottom: 40px;
}
#experience .page-tittle {
  text-align: center;
}
.experience-contents {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}
/* 記事部分 */
article {
  width: 60%;
}
.post-info {
  position: relative;
  padding-top: 4px;
  margin-bottom: 40px;
}
.post-date {
  background: rgb(251,67,53);
  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-tittle {
  font-size: 2rem;
}
.post-tittle, .post-cat {
  margin-left: 120px;
}
article img {
  margin-bottom: 20px;
}
article p {
  margin-bottom: 1rem;
}
/* サイドバー */
aside {
  width: 22%;
}
.sub-tittle {
  font-size: 1.375rem;
  padding: 0 8px 8px;
  border-bottom: 2px rgb(251,67,53) solid;
  font-weight: normal;
}
aside p {
  padding: 12px 10px;
}
.sub-menu {
  list-style: none;
  margin-bottom: 60px;
}
.sub-menu li {
  border-bottom: 1px #ddd solid;
}
.sub-menu a {
  padding: 10px;
  color: #432;
  display: block;
}
.sub-menu a:hover {
  color: rgb(251,67,53)
}

/*　メニューページ
--------------------------------------------　*/
#menu {
  background-image: url(../images/sushi.jpg);
  min-height: 100vh;
}
.menu-content {
  max-width: 560px;
  margin-top: 10%;
}
.menu-content .page-tittle {
  text-align: center;
}
.menu-content p {
  font-size: 1.125rem;
  margin: 10px 0 0;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 10px;
  border-radius: 20px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 40px;
  margin-top: 6%;
  margin-bottom: 50px;
}
.big-box {
  grid-column: 1/3;
  grid-row: 1/3;
}
.big-box img {
  height: 93%;
  width: 100%;
  object-fit: cover;
}

/*　お問い合わせページ
--------------------------------------------　*/
#contact {
  background-image: url(../images/tokyo-tower.jpg);
  min-height: 100vh;
}
/* フォーム */
input[type="text"],input[type="email"],textarea{
  background-color: rgba(255, 255, 255, 0.5);
  padding: 10px;
  border: 1px solid #fff;
  border-radius: 5px;
  font-size: 1rem;
}
input[type="text"],input[type="email"]{
  width: 100%;
  max-width: 400px;
}
textarea {
  width: 100%;
  max-width: 500px;
  height: 10rem;
}
input[type="submit"]{
  border: none;
  cursor: pointer;
  line-height: 1;
}
label {
  font-size: 1.125rem;
  display: block;
  margin-bottom: 10px;
}
form div {
  margin-bottom: 14px;
}
/* 住所・地図 */
#location {
  padding: 4% 0;
}
#location .wrapper {
  display: flex;
  justify-content: space-between;
}
.location-info {
  width: 32%;
}
.location-info p {
  padding: 12px 10px;
}
.location-map {
  width: 65%;
}
/* iframe */
iframe {
  width: 100%;
}
/* SNS */
#sns {
  padding: 4% 0;
  background: #faf7f0;
}
#sns .wrapper {
  display: flex;
  justify-content: space-between;
}
#sns .sub-tittle {
  margin-bottom: 30px;
}
.sns-box {
  width: 30%;
}

/*　見出し共通
--------------------------------------------　*/
.page-tittle {
  font-size: 4rem;
}
.page-tittle span {
  display: block;
  font-size: 1.5rem;
  font-weight: normal;
}

/*　ボタン
--------------------------------------------　*/
.button {
  font-size: 1.375rem;
  background: rgb(251,67,53);
  color: #fff;
  border-radius: 10px;
  padding: 18px 32px;
}
.button:hover {
  background: lightsalmon;
}

/*　大きな背景画像
--------------------------------------------　*/
.big-bg {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
#home {
  background-image: url(../images/fuji.jpg);
  min-height: 100vh;
}

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

/*　モバイル版の設定
--------------------------------------------　*/
@media (max-width: 600px) {
  .page-tittle {
    font-size: 2.5rem;
  }
  .page-tittle span {
    font-size: 1rem;
  }
  /* ヘッダー設定 */
  .main-nav {
    font-size: 1rem;
    margin-top: 10px;
  }
  .main-nav li {
    margin: 0 20px;
  }
  .page-header {
    flex-direction: column;
    align-items: center;
  }
  /* ホームページ */
  .home-content {
    margin-top: 20%;
  }
  /* Experienceページ */
  .experience-contents {
    flex-direction: column;
  }
  article, aside {
    width: 95%;
    margin: 0 auto;
  }
  #experience .page-tittle {
    margin-top: 30px;
  }
  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-tittle {
    font-size: 1.375rem;
  }
  .post-cat {
    font-size: 0.875rem;
    margin-top: 10px;
  }
  .post-tittle, .post-cat {
    margin-left: 80px;
  }

  /* Menuページ */
  .menu-content {
    margin-top: 20%;
  }
  .big-box {
    grid-column: auto;
    grid-row: auto;
  }

  /* お問い合わせページ */
  #contact .page-tittle {
    margin-top: 40px;
  }
  input[type="text"],
  input[type="email"],
  textarea {
    max-width: 100%;
  }
  /* 住所、地図、SNS */
  #location .wrapper {
    flex-direction: column;
  }
  .location-info {
    width: 100%;
  }
  .location-map {
    width: 100%;
  }
  #sns .wrapper {
    flex-direction: column;
  }
  .sns-box {
    width: 100%;
    margin-bottom: 30px;
  }
}
