@media screen and (max-width:769px) {

  /*--------------------------------------------------- 共通ページ---------- */
  .wrap {
    padding-top: 60px;
  }

  .wrap:last-child {
    padding-top: 0;
  }


  .sp {
    display: block;
  }

  #header_sp {
    width: 100%;
    height: 60px;
    background: white;
    position: fixed;
    z-index: 980;
    box-shadow: 0 0 5px rgba(204, 204, 204, 0.25);
  }

  #homelogo img {
    width: 50px;
    top: 5px;
    left: 25px;
    position: fixed;
  }

  #copyright {
    margin: 10px auto;
  }

  /*--------------------------トグル------------------ */
  #nav-toggle {
    display: block;
    position: fixed;
    top: 15px;
    right: 25px;
    height: 32px;
    cursor: pointer;
    z-index: 1000;
  }

  #nav-toggle>div {
    position: relative;
    width: 36px;
  }

  #nav-toggle>div span {
    width: 100%;
    height: 2px;
    left: 0;
    display: block;
    background: #000;
    position: absolute;
  }

  #nav-toggle>div span:nth-child(1) {
    top: 0;
  }

  #nav-toggle>div span:nth-child(2) {
    top: 14px;
  }

  #nav-toggle>div span:nth-child(3) {
    top: 28px;
  }

  /*-------------ハンバーガーメニュー------------------ */
  .open #nav-toggle>div span:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
  }

  .open #nav-toggle>div span:nth-child(2) {
    width: 0;
  }

  .open #nav-toggle>div span:nth-child(3) {
    top: 15px;
    transform: rotate(-45deg);
  }

  .header-nav {
    width: 100vw;
    height: 80px;
    justify-content: start;
  }

  .header-nav .logo ul {
    padding-right: 0;
  }

  .header-nav ul li {
    margin: 0;
  }

  .header-nav .logo ul li a img {
    width: 150px;
  }

  .header-nav .logo img {
    margin: 5px 0;
  }

  #page-header .header-nav {
    background: white;
    color: #fff;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    z-index: 990;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateX(-100%);
    transition: transform 1s ease;
    -js-display: flex;
  }

  .open #page-header .header-nav {
    transform: translateX(0) !important;
  }

  #page-header .header-nav ul {
    display: block;
  }

  #page-header .header-nav li {
    position: relative;
    margin: 0 !important;
    text-align: left;
    transform: translateX(-200px);
    transition: transform 1.3s ease;
    text-align: center;
  }

  .open #page-header .header-nav li {
    transform: translateX(0);
  }

  #page-header .header-nav ul>li:nth-child(2) {
    transition-delay: .15s;
  }

  #page-header .header-nav ul>li:nth-child(3) {
    transition-delay: .3s;
  }

  #page-header .header-nav ul>li:nth-child(4) {
    transition-delay: .45s;
  }

  #page-header .header-nav ul>li:nth-child(5) {
    transition-delay: .6s;
  }

  #page-header .header-nav li a {
    display: inline-block;
    color: #797e81;
    text-decoration: none;
    padding: 10px 0;
    font-size: 2.8rem;
  }

  /*--------------------------------------------------------------------------- */
  /*--------------------------------------------------------indexページ---- */
  #top {
    width: 100vw;
    height: 500px;
    position: relative;
    background-position: center center;
    background-size: cover;
    background-attachment: scroll;
  }

  #top .logo img {
    position: absolute;
    width: 75%;
  }

  #top .text {
    width: 100%;
    position: absolute;
    font-size: 4rem;
    font-family: 'Architects Daughter', serif;
    display: block;
    top: 60%;
    text-shadow:
      white 2px 0px, white -2px 0px,
      white 0px -2px, white 0px 2px,
      white 2px 2px, white -2px 2px,
      white 2px -2px, white -2px -2px,
      white 1px 2px, white -1px 2px,
      white 1px -2px, white -1px -2px,
      white 2px 1px, white -2px 1px,
      white 2px -1px, white -2px -1px;
  }

  #top .text p {
    text-align: center;
  }

  #top #link {
    display: none;
  }

  /*---------------------------------------- About---------- */
  #about {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 0 auto;
    margin-bottom: 0;
    padding: 0;
    padding-top: 10px;
    background: url(../img/sozai/aboutcover.jpg)no-repeat;
    background-size: cover;
    background-position: left -200px bottom;
  }

  #about::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0.75;
    content: "";
    z-index: 0;
  }

  #about h1 {
    position: relative;
    margin-top: 30px;
    top: 0;
    left: 0;
    text-align: center;
  }

  #about h1::after {
    margin: 0 auto;
  }

  #about section {
    top: 0;
    left: 0;
    margin: 30px;
    text-align: center;
    text-shadow:
      white 1px 0px, white -1px 0px,
      white 0px -1px, white 0px 1px,
      white 1px 1px, white -1px 1px,
      white 1px -1px, white -1px -1px,
      white 1px 1px, white -1px 1px,
      white 1px -1px, white -1px -1px,
      white 1px 1px, white -1px 1px,
      white 1px -1px, white -1px -1px;
  }

  #about .under-p {
    display: inline-block;
    top: 0;
    left: 50%;
    transform: translate(-50%);
  }

  #about section br:nth-child(even) {
    display: block;
  }

  #about .btn {
    margin: 30px auto;
  }

  #about .btn a {
    text-shadow: none;
  }

  /*---------------------------------------- Protofolio---------- */
  #product .grid-blk {
    display: flex;
    flex-wrap: wrap;
    height: 500px;
  }

  #product .grid-blk div {
    width: 100%;
  }

  #product .grid-blk .grid-d {
    grid-area: d;
    background-image: url(../img/product/karen01.jpg);
    background-position: right -60px bottom -100px;
  }

  #photo .grid-blk {
    display: flex;
    flex-wrap: wrap;
    height: 500px;
  }

  #photo .grid-blk div {
    width: 100%;
  }

  #photo .grid-blk .grid-b {
    background-position: top;
    background-size: cover;
  }

  #photo .grid-blk .grid-c {
    background-position: center;
    background-size: cover;
  }

  /*---------------------------------------- contact---------- */
  /* ------------------------------------------------------php用----*/
  /* #contact dl {
    width: 400px;
    margin: 0 auto;
  }

  #contact textarea {
    width: 300px;
    height: 300px; */
  /* ------------------------------------------------------contactページ */
  /* ----------------------------------------------------googleフォーム用 ----*/
  #contact {
    width: 100%;
    height: 100vh;
    margin-top: 0;
    position: relative;
    background-position: center center;
    background-size: cover;
    background-attachment: scroll;
  }

  #contact .middle {
    top: 25%;
  }

  #contact h1 {
    margin: 0;
  }

  #googleform p br:first-child, #googleform p br:last-child {
    display: block;
  }

  #googleform p {
    font-size: 1.5rem;
    line-height: 3rem;
    margin-top: 15%;
  }

  #googleform .btn {
    margin-top: 10%;
  }
}
