@charset "utf-8";

/* ……………………………………………………………… */

/* ★★ページ全体の関わるCSSの設定★★  */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  border: none;
  padding: 0;
  font: inherit;
}

/* ……………………………………………………………… */

html,
body {
  height: 100%;
}

/* ……………………………………………………………… */

a {
  transition: .3s ease;
  color: black;
}

/* ……………………………………………………………… */

a:hover {
  opacity: .7;
}

/* ……………………………………………………………… */

/* ★★フォントの大きさ可変★★ */
html {
  font-size: 12px;
  letter-spacing: .065em;
  color: black;
}

@media screen and (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* ……………………………………………………………… */

@media screen and (min-width: 768px) {
  .sp {
    display: none;
  }
}

/* ……………………………………………………………… */

.pc {
  display: none;
}

@media screen and (min-width: 768px) {
  .pc {
    display: block;
  }
}

/* ……………………………………………………………… */

/* ★★ヘッダータイトルとモバイルナビボタン★★ */
.sitetitle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* @media (min-width: 768px) {
  .sitetitle {
    padding: 8px 0 8px 0;
  } */
}

/* ……………………………………………………………… */

/* ★★ハンバーガーボタン★★ */
.header {
  /* display: flex;
  justify-content: space-between;
  align-items: center; */
  position: fixed;
  left: 0;
  top: 0;
  /* z-index: 20; */
  padding: 20px;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .header {
    padding: 30px;
  }
}

/* ……………………………………………………………… */

.header-logo {
  padding:  15px 0 15px;
}

/* ……………………………………………………………… */

.header-button {
  display: block;
  background-color: black;
  position: fixed;
  right: 0;
  top: 0;
  border: none;
  width: 60px;
  height: 60px;
}

@media screen and (min-width: 768px) {
  .header-button {
    display: none;
  }
}

/* ……………………………………………………………… */

/* ★★クローズ 三本線★★ */
.header-button span {
  display: block;
  position: relative;
  top: 0;
  margin: 0 auto;
  width: 24px;
  height: 3px;
  background-color: white;
  transition: .3s ease;
}

.header-button span::before,
.header-button span::after {
  content: ' ';
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  transition: all .3s;
  background-color: inherit;
}

.header-button span::before {
  top: -9px;
}

.header-button span::after {
  top: 9px;
}

/* ……………………………………………………………… */

/* ★★オープン×印★★ */
body.open .header-button {
  /* z-index: 30; */
}

body.open .header-button span {
  width: 30px;
  background-color: transparent;
}

body.open .header-button span::before,
body.open .header-button span::after {
  top: 0;
  background-color: white;
}

body.open .header-button span::before {
  transform: rotate(45deg);
}

body.open .header-button span::after {
  transform: rotate(-45deg);
}

/* ……………………………………………………………… */

/* ★★ナビゲーション★★ */
nav {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Arial, "MS Pゴシック", "MS PGothic", sans-serif;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  text-align: center;
}

/* ……………………………………………………………… */

.header-nav li a {
  display: block;
  padding: 20px 30px;
  border-top: 1px solid #d8d8d8;
  color: black;
  text-decoration: none;
}

/* ……………………………………………………………… */

.header-nav li a:hover {
  background: #b8e5ea;
}

/* ……………………………………………………………… */

/* ★★スマホのナビゲーション★★ */
.header-nav {
  z-index: 20;
  list-style: none;
  display: flex;
  display: block;
  flex-direction: column;
  align-items: center;
  position: fixed;
  right: 0;
  top: 60px;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 450px;
  background-color: rgba(229, 229, 229,.9);
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Arial, "MS Pゴシック", "MS PGothic", sans-serif;
  font-size: 14px;
  transform: translateX(100%);
  transition: .3s ease;
}

/* ……………………………………………………………… */

body.open .header-nav {
  transform: translateX(0);
}

/* ……………………………………………………………… */

@media(min-width: 768px) {
  /* ★★PC向けレイアウト★★ */
  .header-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .header-nav li a {
    padding: 6px 20px 2px 20px;
    border-top: none;
    background: none;
    text-decoration: none;
    color: black;
    display: block;
    width: 169px;
    line-height: 40px;
  }

  .header-nav li a:hover {
    background: black;
    color: white;
  }
}

/* ……………………………………………………………… */

/* ★★PC表示（768px以上）のスタイル★★ */
@media screen and (min-width: 768px) {
  .header-nav {
    position: static;
    flex-direction: row;
    justify-content: flex-end;
    width: auto;
    height: auto;
    background-color: transparent;
    transform: none;
  }
}

@media screen and (min-width: 768px) {
  .header-nav-item:nth-child(n+2) {
    margin-top: 0;
    margin-left: 2em;
  }
}

/* ……………………………………………………………… */

/* ★★メインコンテナ★★ */
/* .post .main-container {
  padding: 0 4% 0 4%;
}

@media(min-width: 768px) {
  .post .main-container {
    max-width: 1185px;
    margin: 0 auto;
    padding: 0 20px 0 20px
  }
} */

/* ……………………………………………………………… */

/* div {
  margin: 10px 0 0;
} */

/* ……………………………………………………………… */

body {
  margin: 0 auto;
  text-align: center;
  max-width: 1185px;
}

/* ……………………………………………………………… */

.main-container {
  border-bottom: 4px double black;
  padding: 24px 0 0;
}

/* ……………………………………………………………… */

/* ★★レスポンシブイメージと画像下スペース防止★★ */
img {
  padding: 8px 0;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  /* 画像下のスペースを消す */
}

/* ……………………………………………………………… */

/* ★★ヘッダータイトル★★ */
h5 {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Arial, "MS Pゴシック", "MS PGothic", sans-serif;
  font-size: 1.5rem;
  font-weight: normal;
}

/* ……………………………………………………………… */

p {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Arial, "MS Pゴシック", "MS PGothic", sans-serif;
  font-size: 1.25rem;
}

/* ……………………………………………………………… */

/* ★★フッターコンテナ★★ */
.footer-container {
  padding: 0 4%;
  /* border-top: 1px solid black; */
  text-align: center;
}

@media (min-width: 768px) {
  .footer-container {
    max-width: 1185px;
    margin: 0 auto;
    padding: 0 20px;
  }
}