/*
Theme Name: genken
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

@charset "UTF-8";

* {
  box-sizing: border-box;
} /*全ての要素をborder-boxにするーーコンテンツ、border、paddingの合計がwidthと解釈される*/

html {
  font-size: 100%;
}
/*設定した文字サイズを正しく反映*/

img {
  max-width: 100%;
}
/*画像の大きさの指定。画像が親要素よりも大きくなることを防ぐ*/

body {
  background-color: white;
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

a {
  cursor: pointer;
}

h1 {
    font-size: 32px;
    font-weight: 700;
}

h2 {
    font-size: 24px;
    font-weight: 700;
}

p {
    font-size: 20px;
    /*line-height: 2.0;*/
}

main {
    margin: auto;
}

.back-blue {
  text-align: center;
  color: white;
  height: 140px;
  background-color: #336B94;
  line-height: 140px; /*見出し垂直方向のセンタリング*/
  margin-top: 0;
}

.access-section-wrap {
  width: 39.23%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 100px;
}

.access-contents h2 {
  margin-bottom: 0px;
}

p.ad {
  margin-top: 35px;
  margin-bottom: 35px;
}

.access-root {
  margin-top: 20px;
  margin-bottom: 50px;
}

.break-time {
  margin-top: 50px;
}

.break-time h2 {
  margin-bottom: 35px;
}

.break-time-shop {
  width: 190px;
  margin-right: 49px;
}

.shop {
  width: 63.36%;
}

.recommend-shop {
  display: flex;
}

/*====================メディアクエリーcss=======*/

@media (max-width: 678px) {

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 18px;
  }

  p {
    font-size: 15px;
  }

  .back-blue {
    font-size: 22px;
    font-weight: 700;
    height: 80px;
    line-height: 80px; /*見出し垂直方向のセンタリング*/
  }

  .access-section-wrap {
    width: 82.4%;
    margin-top: 30px;
  }

  p.ad {
    font-size: 16px;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .tegaki-map {
    width: 100%;
    margin: 0 auto;
  }

  .access-root {
    margin-left: 0px;
  }

  .access-contents iframe {
    width: 100%; /* モバイル時のマップの幅を100%に設定 */
    height: 290px; /* モバイル時のマップの高さを調整（適宜調整してください） */
    margin: 0 auto;
  }

  .break-time h2 {
    margin-top: 30px;
    margin-bottom: 25px;
  }

  .recommend-shop {
    display: flex;
    flex-direction: column;
  }

  .break-time-shop {
    margin-left: auto;
    margin-right: auto;
  }

  .shop {
    order: -1; /* マイナスの値を使って画像とテキストの順序を逆にする */
  }

  .shop p {
    margin-top: 20px;
    margin-bottom: 40px;
  }
}