@import url(common.css);
/* メイン背景色 */
/* main {
  background-color: #fff;
} */
/* 名称,説明,画像をflex表示 */
main .kankou1 {
  max-width: 1155px;
  margin: 0 auto;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  padding-left: 10px;
  padding-right: 10px;
}
/* 文字だけでさらにflex表示 */
main .kankoumoji {
  display: flex;
  flex-direction: row-reverse;
  /* justify-content: space-between; */
}
/* 名称の文字の各種設定 */
main article h2 {
  padding-top: 100px;
  font-family: "Zen Old Mincho", serif;
  font-size: 100px;
  font-weight: 500;
  color: #333;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.01em;
  writing-mode: vertical-rl;
}
/* 説明の文字各種設定 */
main article p.ksetumei {
  padding-top: 115px;
  padding-right: 78px;
  padding-left: 10px;
  font-family: "Zen Old Mincho", serif;
  font-size: 35px;
  font-weight: 500;
  color: #333;
  margin-left: auto;
  margin-right: auto;
  line-height: 150%;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
}
/* 画像の大きさ */
main article img {
  width: 570px;
  padding-top: 115px;
}

@media (max-width: 1155px) {
  /*----------
  歴史 観光 宿泊のレイアウト変更
  ---------- */
  header {
    max-width: none;
  }
  /* 背景画像を全体表示 */
  .kankou {
    max-width: 1155px;
    height: 60vw;
    margin: 0 auto;

    background-image: linear-gradient(0deg, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.3) 45% 55%, rgba(255, 255, 255, 0)), url(../img/main_kankou2.png);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  /* 大見出しを横書きに変更 サイズも小さく */
  .kankou h2 {
    writing-mode: unset;
    position: unset;
    text-align: center;
    font-size: 130px;
    font-weight: 300;
    color: #ffffff;
    text-shadow: 5px 5px 3px #000;
  }
  /* サブ見出しも縦書き サイズ変更 */
  p.sabu2 {
    writing-mode: unset;
    position: unset;
    text-align: center;
    font-size: 30px;
    font-weight: 300;
    color: #ffffff;
    text-shadow: 5px 5px 3px #000;
  }
}

/* 800px以下の時 見出しを可変に */
@media (max-width: 800px) {
  .kankou h2 {
    font-size: 16vw;
  }
  p.sabu2 {
    font-size: 3.75vw;
  }
}
