@charset "UTF-8";

/* CSS Document */
html {
  font-size: 62.5%;
  /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
}

body {
  color: #333;
  /* RGB */
  font-family: "Noto Serif JP","Noto Serif", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.4;
  text-align: center;
  background-color: #fffff6;
}

/*header*/
.header {
  color: #fff;
  background-color: #427d9d;
  height: 80px;
  position: relative;
}

.header__img {
  height: 60px;
  position: absolute;
  left: 20px;
  top: 10px;
}

/*ここからコピペ*/
.header__nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  padding: 0;
  margin: 0;
  position: fixed;
  top: -100vh;
  left: 0;
  width: 100vw;
  z-index: 1000;
}

.header__nav li {
  background-image: linear-gradient(60deg, #29323c 0%, #427d9d 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease-in-out;
  height: 100vh;
  width: 20vw;
}

.header__nav li a {
  color: #fff;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
}

.header__nav li a:hover {
  text-decoration: none;
}

.header__nav li:nth-of-type(2) {
  transition-delay: 0.025s;
}

.header__nav li:nth-of-type(3) {
  transition-delay: 0.05s;
}

.header__nav li:nth-of-type(4) {
  transition-delay: 0.075s;
}

.header__nav li:nth-of-type(5) {
  transition-delay: 0.1s;
}

.header__nav li:nth-of-type(6) {
  transition-delay: 0.125s;
}

.header__nav.open li {
  transform: translateY(100vh);
}

@media (max-width: 1080px) {
  .header__nav ul {
    flex-direction: column;
    top: 0;
    left: -100vw;
  }

  .header__nav li {
    height: 25vh;
    width: 100vw;
  }

  .header__nav.open li {
    transform: translateX(100vw);
  }
}

/*~1080pxまで。確認OK*/
.hamburger {
  width: 49px;
  height: 49px;
  background-color: #427d9d;
  position: fixed;
  top: 15px;
  right: 20px;
  border: 0;
  cursor: pointer;
  z-index: 1000;
}

.hamburger:focus {
  outline: 0;
}

.hamburger .line {
  background-color: #fff;
  display: block;
  margin: 4px auto;
  height: 2px;
  width: 20px;
  transition: all 0.1s ease-in;
}

.hamburger.open .line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.open .line:nth-child(2) {
  opacity: 0;
}

.hamburger.open .line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/*ここまでコピペ*/

@media (min-width: 1080px) {
  .header {
    height: 60px; /*80px→60px*/
    margin: 0 auto;
  }

  .header__img {
    height: 60px; /*80px→60px*/
    left: 40px;
    top: 0;
  }

  .header__nav {
    display: block;
    font-family: "Noto Serif JP", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
    position: initial;
    padding: 0 40px;
    box-sizing: border-box;
  }

  .header__nav ul {
    display: block;
    position: initial;
    padding-top: 22.5px; /*30px→22.5px*/
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    width: auto
  }

  .header__nav li {
    display: block;
    background-image: none;
    transition: initial;
    transform: none;
    width: auto;
    height: auto;
  }

  .header__nav li:last-child {
    margin-right: 0;
  }

  .hamburger {
    display: none;
  }

  .header__nav li a {
    letter-spacing: 0;
    text-transform: none;
  }

  .header__nav li:nth-of-type(2) {
    transition-delay: none;
  }
}

section h1 {
  font-size: 2.4rem;
  font-family: "Noto Serif JP", "Noto Serif", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  line-height: 1.8;
  z-index: 10;
}

section h2 {
  font-size: 2rem;
}

p {
  font-weight: 300;
}

@media (min-width: 1080px) {
  section h1 {
    font-size: 2.8rem;
  }
  p {
    font-weight: 400;
  }
}

section h2 {
  font-size: 2.4rem;
  font-family: "Noto Serif JP", "Noto Serif", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  z-index: 10;
}

.header__nav li a:hover,
.footer a:hover {
  opacity: 0.5;
}

.button:hover {
  color: #fff;
  border: solid 1px #427d9d;
  background-color: #427d9d;
  transition: .3s;
}

/*footer*/
.footer {
  color: #fff;
  background-color: #427d9d;
  padding: 60px 20px 20px 20px;
  margin: 0 auto;
}

.footer ol {
  list-style: none;
  text-align: left;
  margin-bottom: 120px;
}

.footer li {
  font-family: "Noto Serif JP", "Noto Serif", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  margin-bottom: 20px;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer span {
  font-size: 1.4rem;
  font-family: "Noto Serif JP", "Noto Serif", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
}

@media (min-width: 1080px) {
  .footer {
    margin: 0 auto;
  }

  .footer ol {
    max-width: 1200px;
    margin: 0 auto 120px auto;
  }
}