@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
  }
  
  img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
  }
  
  body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: rgb(135, 42, 140);
    height: 100%;
    background-color: rgb(235, 235, 235)
  }
  
  #wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
  }
  
  /* header */
  
  header {
    position: relative;
  }
  
  header h1 {
    font-size: 2rem;
    text-align: center;
    padding: 1rem;
    
  }
  
  nav {
    position: absolute;
    top: 2rem;
    right: 1rem;
  }

  nav ul li.current{
    border: 2px solid rgb(135, 42, 140);
    
    }


  
  #navBtn {
    display: none;
  }
  
  .open {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    display: block;
    
    z-index: 100;
    width: 40px;
    height: 40px;
    border: 1px solid rgb(255, 193, 229);
    border-radius: 2px;
  }
  
  /*humburger button*/
  
  .open::before,
  .open::after {
    content: "";
  }
  
  .open span,
  .open::before,
  .open::after {
    content: "";
    position: absolute;
    top: 18px;
    left: 30%;
    width: 40%;
    border-bottom: 2px solid rgb(255, 193, 229);
    transition: transform .5s;
  }
  
  .open::before {
    transform: translateY(-8px);
  }
  
  .open::after {
    transform: translateY(8px);
  }
  
  /*close button*/
  #navBtn:checked + .open {
    background: rgb(235, 235, 235);
  }
  
  #navBtn:checked + .open span {
    transform: scaleX(0);
  }
  
  #navBtn:checked + .open::before {
    transform: rotate(45deg);
  }
  
  #navBtn:checked + .open::after {
    transform: rotate(-45deg);
  }
  
  nav {
      /* display: none; */
      height: 100vh;
    width: 300px;
    position: absolute;
    top: 0;
    right: -300px;
    z-index: 50;
    background-color: rgb(235, 235, 235);
    transition: transform .5s;
  }
  
  #navBtn:checked ~ nav {
    display: block;
    transform: translateX(-300px);
  
  }
  
  nav ul {
    list-style: none;
    padding-bottom: 1rem;
    text-align: center;
  }
  
  nav ul li {
    /* display: inline-block;*/
    margin: 0 10px;
    padding: 10px ;
    
  }
  
  nav ul li a {
    text-decoration: none;
    font-weight: bold;
    color: rgb(135, 42, 140);
  }

  nav ul li a:hover {
  color: rgb(255, 193, 229);
  transition: color 0.3s ease;
}
  
  /* main contents */
  main {
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-grow: 1;
    width: 100%;
  }
  
  section {
    padding: 20px;
    background: #fff;
    width: 100%;
  }
  
  /*.sec01 {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
  }
  
  .sec02 {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 2;
    grid-column-end: 3;
  }
  
  .sec03 {
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 3;
  }*/
  
  .container{
    /* display: flex; */
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* 
  .column-img {
    flex: 1;
  }
  
  .column-text {
    flex: 2;
  }
   */
  
  /* footer */
  footer {
    background: rgb(135, 42, 140);
    color: #fff;
    text-align: center;
    padding: 1rem;
    width: 100%;
  }
  
  /*タブレット用*/
  @media all and (min-width: 600px) {
    .container {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  /*コンピュータ用*/
  @media all and (min-width: 1025px) {
    
    header h1 {
      font-size: 4rem;
    }
  
    nav {
      display: block;
      height: auto;
      width: 100%;
      position: static;
      background-color: transparent;
    }
    
    nav ul li {
      display: inline-block;
    }
    #navBtn,
    .open {
      display: none;
    }
  
   
  
    
  
    .container {
      grid-template-columns: 1fr 1fr 1fr;
    }
  }
  
  /* フォントコード */
  .oleo-script-regular {
    font-family: "Oleo Script", system-ui;
    font-weight: 400;
    font-style: normal;
  }
  
  .oleo-script-bold {
    font-family: "Oleo Script", system-ui;
    font-weight: 700;
    font-style: normal;
  }

  @media all and (min-width: 1025px) {
  nav {
    transform: none !important;
  }
}