@charset "utf-8";

/* ゴシック体 */
/* font-family: "Noto Sans JP", sans-serif; */
/* 明朝体 */
/* font-family: "Noto Serif JP", serif; */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap");

/*=====ボディ設定*/
html {
  font-size: 62.5%;
  line-height: 1;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
}

body {
  font-size: 1.8rem;
  font-weight: 600;
  overflow: hidden;
}

/* 共通 */
/* コンテンツタイトル30サイズ */
.ttl_cmn_1 {
  font-family: "Noto Serif JP", serif;
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
}

/* スマートフォンの時のみ改行 */
.sp_br {
  display: none;
}

/*=====ヘッダー*/
header {
  width: 1200px;
  margin: 0 auto;
}

header h1 {
  margin-top: 31px;
  margin-bottom: 27px;
}

/*=====メイン*/
main {
  width: 948px;
  margin: 0 auto;
}

/* 峠の団子屋について */

.about {
  margin-top: 49px;
}

.grid_about {
  display: grid;
  grid-template-columns: 530px 314px;
  justify-content: space-between;
  margin: 0 0 27px 34px;
}

.about h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 3.6rem;
  font-weight: 900;
  margin-bottom: 27px;
}

.about p {
  line-height: 2.3;
}

/* お取扱商品 */

.grid_menu {
  display: grid;
  grid-template-columns: repeat(3, 280px);
  justify-content: space-between;
  margin: 36px 0 65px 34px;
}

.grid_menu img {
  margin-bottom: 19px;
}

.grid_menu figcaption {
  line-height: 1.6;
}

/* ボタン「通信販売「峠の団子屋 webshop」」 */
.btn_webshop {
  display: block;
  width: 405px;
  font-weight: 900;
  color: #fff;
  text-align: center;
  line-height: 2.5;
  text-decoration: none;
  padding: 10px 60px 10px 60px;
  background-color: #000;
  margin: 0 auto;
  transition: background-color 0.5s ease; /* 3秒かけて背景色を変化させる */
}

.btn_webshop:hover {
  background-color: #333333;
}

/* 店舗情報 */

.access {
  margin-top: 65px;
}

.grid_access {
  display: grid;
  grid-template-columns: 480px 404px;
  justify-content: space-between;
  align-items: end; /* 下ぞろえ */
  margin: 43px 0 63px 34px;
}

.ttl_logo_access {
  width: 202px;
  height: auto;
  margin: 0 0 38px;
}

.list_address {
  list-style: none;
  line-height: 2;
  margin: 0 0 25px;
}

.list_address li {
  height: 2.6rem;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  overflow: hidden;
}

.list_address span {
  font-size: 2.6rem;
  font-weight: 900;
}

.list_attention {
  height: auto;
  font-size: 1.3rem;
  line-height: 2;
  background-color: #000;
  color: #fff;
  padding: 16px 26px 24px 33px;
}

.grid_access iframe {
  width: 100%;
  height: 392px;
}

/*=====フッター*/
footer {
  width: auto;
  background-color: #000;
  text-align: center;
  padding-bottom: 30px;
}

footer h2 {
  margin: 100px 0 67px;
}

footer p {
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
}

/* ブレークポイント＝＝＝＝＝＝＝＝＝ */
@media screen and (max-width: 768px) {
  /*ここにcssを書く*/

  img {
    max-width: 100%;
    height: auto;
  }

  body {
    font-size: 1.6rem;
    font-weight: 600;
    overflow: hidden;
  }

  /* 共通 */
  /* コンテンツタイトル30サイズ */
  .ttl_cmn_1 {
    font-family: "Noto Serif JP", serif;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
  }

  /* スマートフォンの時だけ改行 */
  .sp_br {
    display: inline;
  }

  /*=====ヘッダー*/
  header {
    width: 100%;
    margin: 0 auto;
  }

  header h1 {
    margin-top: 23px;
    margin-bottom: 24px;
    text-align: center;
  }

  header h1 img {
    width: 156px;
    height: auto;
  }

  .img_top {
    width: 100%;
    height: auto;
  }

  /*=====メイン*/
  main {
    width: 94%;
    margin: 0 auto;
  }

  /* 峠の団子屋について */

  .about {
    margin-top: 25px;
  }

  .grid_about {
    display: block;
    margin-left: 0;
  }

  .about h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 2.7rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 25px;
  }

  .about p {
    line-height: 1.8;
    margin-bottom: 25px;
  }

  .about img {
    width: 100%;
    height: auto;
  }

  /* お取扱商品 */

  .menu {
    margin-top: 44px;
  }

  .grid_menu {
    display: block;
    margin-top: 21px;
    margin-left: 0;
  }

  .grid_menu img {
    width: 100%;
    height: auto;
    margin-top: 21px;
    margin-bottom: 21px;
  }

  .grid_menu figcaption {
    font-size: 1.8rem;
    line-height: 1.6;
  }

  /* ボタン「通信販売「峠の団子屋 webshop」」 */
  .btn_webshop {
    display: block;
    width: 100%;
    font-weight: 900;
    color: #fff;
    text-align: center;
    line-height: 1.4;
    text-decoration: none;
    padding: 17px 0 18px;
    background-color: #000;
    margin: 0 auto;
  }

  /* 店舗情報 */

  .access {
    margin-top: 65px;
  }

  .grid_access {
    display: block;
    margin-left: 0;
  }
  .access h3 {
    text-align: center;
  }

  .ttl_logo_access {
    width: 154px;
    height: auto;
    margin: 0 0 38px;
  }

  .list_address {
    list-style: none;
    line-height: 2;
    margin: 0 0 25px;
  }

  .list_address li {
    display: block; /* ← flex をオフ */
    height: auto; /* 高さ固定も解除しないと改行がつぶれる */
    align-items: unset; /* 念のためリセット */
    overflow: visible; /* 改行が見えるように */
  }

  .list_address span {
    font-size: 2.6rem;
    font-weight: 900;
  }

  .list_attention {
    height: auto;
    font-size: 1.5rem;
    line-height: 1.6;
    background-color: #000;
    color: #fff;
    padding: 16px 26px 24px 33px;
    margin-bottom: 27px;
  }

  .grid_access iframe {
    width: 100%;
    height: 392px;
  }

  /*=====フッター*/
  footer {
    width: auto;
    background-color: #000;
    text-align: center;
    padding-bottom: 30px;
  }

  /* フッターの画像 */

  footer picture img {
    width: 100%;
    height: auto;
  }

  footer h2 {
    margin: 34px 0 34px;
  }

  footer p {
    font-size: 1.3rem;
    font-weight: 500;
    color: #fff;
  }
}
