@charset "utf-8";
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  text-align: center;
}

/* フォントサイズ */
div,
p {
  font-size: 16px;
}

.h1 {
  font-size: 48px;
  font-weight: normal;
  font-family: "Noto Serif JP", serif;
}

.h2 {
  font-size: 36px;
  font-weight: normal;
}

.h3 {
  font-size: 24px;
  font-weight: normal;
}

.h4 {
  font-size: 12px;
  font-weight: normal;
}

/* 以下ヘッダー */
header {
  height: 70px;
  z-index: 9999;
  background-color: #fff;
  position: fixed;
  width: 100%;
  justify-content: center;
  display: flex;
}

.header-logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(70px);
}
.header-logo img {
  width: 46px;
  max-width: 100%;
}

.menu-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 64px;
  width: 100%;
}

.menu-content ul {
  display: flex;
  list-style: none;
}

.header-menu li {
  font-size: 18px;
  margin: 0 30px;
}

.header-menu a {
  text-decoration: none;
  color: black;
  padding: 10px;
  display: block;
  text-align: center;
}

.test {
  width: 7em;
}

.header-menu li::first-line {
  font-size: 12px;
}

.header-menu a:hover {
  color: #1a4cbe;
}

/* チェックを非表示にする */
#menu-btn-check,
.menu-btn {
  display: none;
}

/* 以下、トップ画像_title */
.title {
  height: 200px;
  background: url(../img/main_img.jpg) center center no-repeat;
  background-size: cover;
  color: #fff;
  padding-top: 30px;
}
.title p {
  padding-top: 80px;
  padding-bottom: 0%;
}

/* ここまで共通 */

/* 以下、説明_explain */
.explain {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* 以下、手順_step */
.step-container {
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #faf2e8;
}

.step-item,
.step-item1 {
  display: flex;
  justify-content: center;
  margin: 16px auto;
}

.step-item1 {
  background-color: #fff;
  padding-top: 16px;
  padding-bottom: 16px;
}

.step-img {
  width: 35%;
}

.step-item img,
.step-item1 img {
  max-width: 464px;
  width: 100%;
}

.step-text {
  width: 50%;
  padding-left: 5%;
}
.step-text p {
  text-align: left;
}

/* 以下、アーカイブへ_button */
.button {
  width: 562px;
  background-color: #e7ecf8;
  margin: 32px auto 64px;
}

.button p {
  padding-top: 32px;
  padding-bottom: 32px;
}

.button a {
  text-decoration: none;
}

.buttun p {
  padding-top: 32px;
  padding-bottom: 32px;
}

/* ボタンの上にカーソルきたら色変わる */
.button:hover {
  background-color: #1a4cbe;
  /* 角が丸くなる */
  /* border-radius: 50%; */
}

.button a:hover {
  color: #fff;
}

/* 以下footer */
.footer-manu {
  padding-bottom: 20px;
  display: flex;
  justify-content: center;
  width: 1280px;
  max-width: 100%;
  /* padding: 0 auto 20px; */
}

footer {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #e7ecf8;
}

.footer-left,
.footer-right {
  padding: 0 40px;
}
footer li {
  list-style: none;
  text-align: left;
}

footer a {
  text-decoration: none;
}

small {
  font-size: 12px;
}

/* 以下モバイル用 */
@media screen and (max-width: 1000px) {
  /* 文字の大きさ指定 */
  .h1 {
    font-size: 36px;
  }
  .h2 {
    font-size: 24px;
  }
  .h3 {
    font-size: 20px;
  }

  /* 以下header */
  heager {
    background-color: #fff;
    position: fixed;
  }
  /* ロゴ */
  .header-logo {
    transform: translateY(-40%) translateX(20px);
  }
  /* 以下ハンバーガーメニュー */
  .hamburger-menu {
    width: 46px;
    height: 100%;
  }
  /* ハンバーガーメニューの位置と色 */
  .menu-btn {
    height: 46px;
    width: 46px;
    display: block;
    position: fixed;
    top: 10px;
    right: 20px;
    z-index: 100;
  }
  /* メニュー線３本の表示 */
  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: "";
    display: block;
    height: 3px;
    width: 46px;
    border-radius: 3px;
    background-color: #1a4cbe;
    position: absolute;
    transition: 0.3s;
  }
  /* 位置の調整 */
  .menu-btn span {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  /* 線を３本にする */
  .menu-btn span:before {
    bottom: 18px;
  }
  .menu-btn span:after {
    top: 18px;
  }

  /* メニューをオープンしたら三本線を×にする */
  #menu-btn-check:checked ~ .menu-btn span {
    /* 三本線の真ん中の線を透明にする */
    background-color: rgba(255, 255, 255, 0);
  }
  /* 三本線の上下の線を -45 度傾ける＋線をちょい長くする */
  #menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
    width: 48px;
    background-color: #fff;
  }
  #menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
    width: 48px;
    background-color: #fff;
  }

  /* メニュー装飾 */
  /* testでの横幅調節を元に戻す */
  .test {
    width: auto;
  }
  .menu-content {
    align-items: flex-start;
    width: 60%;
    height: 100%;
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 99;
    background-color: #1a4cbe;
    transition: all 0.5s;
  }

  .menu-content ul {
    flex-flow: column;
    flex-basis: 90%;
    padding: 100px 10px 0;
  }

  /* メニューの区切り線 */
  .menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
  }
  .menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 9px 15px 10px 0;
    position: relative;
  }

  /* 背景クリックでメニューを戻す */
  .bg-btn {
    pointer-events: none;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 98;
    background-color: #faf2e8;
    opacity: 0;
    transition: all 0.5s;
  }

  /* メニュー表示と共に背景部分labelをクリック可能に */
  #menu-btn-check:checked ~ .bg-btn {
    pointer-events: auto;
    opacity: 0.3;
  }
  /* メニューの出し入れ */
  #menu-btn-check:checked ~ .menu-content {
    right: 0;
  }

  /* 以下、ボタン */
  .button {
    width: 80%;
  }

  /* 以下footer */
  footer li {
    padding-bottom: 10px;
  }
}

/* 文章の一番長い幅で改行変える */
@media screen and (max-width: 707px) {
  /* タイトルなどをspanタグで任意の場所で改行 */
  .indention {
    display: inline-block;
    text-align: left;
  }

  /* 手順 */
  .step-item,
  .step-item1 {
    flex-direction: column;
    align-items: center;
  }

  .step-item {
    padding-bottom: 8px;
  }

  .step-img {
    max-width: 500px;
    width: 80%;
  }
  .step-text {
    width: 80%;
    padding-left: 0%;
  }

  /* フッター */

  .footer-left a,
  .footer-right a {
    font-size: 12px;
  }
}

@media screen and (max-width: 390px) {
  /* タイトルなどをspanタグで任意の場所で改行 */
  .indention-2 {
    display: inline-block;
    text-align: left;
  }

  /* 携帯の表示 */

  .footer-manu {
    flex-direction: column;
    justify-content: flex-start;
  }
  .footer-right {
    padding: 24px 40px 0;
  }
}
