@import url("../../css/reset.css");
.menu {
  position: fixed;
  width: 100%;
  top: 0;
  padding: 10px;
  background: white;
  height: 5vh;
  border-bottom: 5px solid #246;
  z-index: 99; }
  .menu h1 {
    font-size: 2.0rem;
    color: #246;
    font-family: cursive,'Pacifico'; }

.nav_toggle {
  position: fixed;
  top: 13px;
  right: 10px;
  display: block;
  width: 1.75rem;
  height: 1.5rem; }
  .nav_toggle i {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    position: absolute;
    transition: transform 0.5s, opacity 0.5s; }
  .nav_toggle i:nth-child(1) {
    top: 0; }
  .nav_toggle i:nth-child(2) {
    top: 0;
    bottom: 0;
    margin: auto; }
  .nav_toggle i:nth-child(3) {
    bottom: 0; }

.show i:nth-child(1) {
  transform: translateY(10px) rotate(-45deg); }
.show i:nth-child(2) {
  opacity: 0; }
.show i:nth-child(3) {
  transform: translateY(-12px) rotate(45deg); }

.nav {
  background: #fff;
  position: fixed;
  top: 7vh;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s; }
  .nav .show {
    height: 100%; }

.show {
  z-index: 2;
  opacity: 1;
  visibility: visible; }
  .show ul {
    padding: 10px; }
    .show ul li {
      padding: 10px;
      background: #fff;
      text-align: left;
      border-bottom: 1px solid #245; }
      .show ul li a {
        list-style: none;
        text-decoration: none;
        color: #000;
        font-weight: bold;
        font-family: monospace;
        font-size: 1.3rem; }

.pc_nav {
  display: none; }

main {
  margin: 8vh 5vw;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "h1" "article";
  grid-gap: 3vh; }
  main h1 {
    margin-top: 3vh;
    font-size: 2.0rem;
    font-family: cursive,'Pacifico',serif;
    color: #246;
    text-align: center; }
  main article {
    grid-area: article;
    display: grid;
    grid-row-gap: 5vh;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "name img" "txt txt"; }
    main article .name h2 {
      text-align: center;
      font-size: 2.0rem;
      font-family: serif;
      margin: 10px 0; }
    main article .name p {
      font-size: 0.8rem;
      font-family: serif;
      line-height: 1.5rem; }
    main article .img {
      text-align: right; }
      main article .img img {
        width: 100%;
        max-width: 400px;
        border-radius: 15px; }
    main article .txt {
      grid-area: txt; }
      main article .txt h3 {
        font-size: 1.5em;
        font-family: serif;
        border-bottom: 2px solid #000;
        padding: 5px; }
      main article .txt p {
        margin-top: 3vh;
        font-size: 0.8rem;
        font-family: serif;
        line-height: 1.5rem; }

footer {
  background: #444;
  color: #fff; }
  footer p {
    line-height: 50px;
    text-align: center; }

@media (min-width: 720px) {
  .nav_toggle {
    display: none; }

  .pc_nav {
    display: block;
    position: fixed;
    top: 15px;
    right: 10px; }
    .pc_nav ul li {
      display: inline-block;
      padding: 5px 1rem; }
      .pc_nav ul li a {
        text-decoration: none;
        font-size: 1.5rem;
        color: #246; }
    .pc_nav ul li:hover {
      background: #ddf;
      transition: background 1s; }

  main article {
    margin: 8vh 10vw; }
    main article p {
      font-size: 1.0rem;
      font-family: serif;
      line-height: 1.5rem; }
    main article .name {
      padding: 0 5vw; }
      main article .name h2 {
        text-align: left; }
      main article .name p {
        margin-top: 3vh;
        font-size: 1.0rem;
        font-family: serif;
        line-height: 1.5rem; }
    main article .txt p {
      font-size: 1.0rem;
      font-family: serif;
      line-height: 1.5rem; } }

/*# sourceMappingURL=style.css.map */
