@charset "UTF-8";

/*PCサイズレスポンシブ*/
@media(min-width:1000px) {

    body {
        min-width: 1000px;
        background-image: url(../img/post-box-haikei.png);
        background-attachment: fixed;
        background-size: cover;
        background-position: center;
    }

    .container {
        width: 100%;
        margin: 0 auto;
    }
    nav{
        display: none;
    }
    .openbtn{
        display: none;
    }
   /* ヘッダー */
  .header {
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    /*余白が入らないように*/
    margin: 0%;
    z-index: 1000;
  }

  .header1 {
    background-color: #f5f5f5;
    width: 60%;
    text-align: left;
  }

  .header1 img {
    height: 100%;
    object-fit: cover;

  }

  .header2 {
    background-color: #000;
    width: 40%;
    align-items: center;
  }

  .header2 ul {
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    margin: auto;
    font-size: 30px;
    list-style: none;
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;

  }

  .header2 a {
    color: #ffffff;
    text-decoration: none;
  }

  .header2 li {
    width: 100%;
    text-align: center;
    text-decoration: none;
  }


  .header2 img {
    width: 30%;

  }


    /* フォーム */
    .c-form{
        margin-left: 40%;
    }
    form {
        background-color: #6495ed;
        width: 90%;
        text-align: center;
        margin: auto;
        margin-top: 150px;
        margin-right: 0;
        border: 4px solid;
        border-top-left-radius: 30px 30px;
        border-top-right-radius: 30px 30px;
        font-family: "Zen Maru Gothic", serif;
        font-weight: 400;
        font-style: normal;
    }

    .title {
        text-align: center;
        animation-name: rotateYAnime;
        animation-duration: 1s;
        animation-fill-mode: forwards;
    }

    @keyframes rotateYAnime {
        from {
            transform: rotateY(0);
        }

        to {
            transform: rotateY(-360deg);
        }
    }


    .title img {
        width: 10%;
        margin-top: 0;
        margin-bottom: 3%;

    }

    h2 {
        font-size: 30px;
        justify-content: center;
        margin-bottom: 0;
        margin-top: 5%;
        font-family: "Zen Maru Gothic", serif;
        font-weight: 400;
        font-style: normal;
    }


    @media screen and (max-width: 480px) {
        .Form {
            margin-top: 40px;
            text-align: center;
        }
    }

    .Form-Item {
        border-top: 1px solid #ddd;
        padding-top: 24px;
        padding-bottom: 24px;
        margin-bottom: 1%;
        margin-left: 5%;
        width: 90%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    @media screen and (max-width: 480px) {
        .Form-Item {
            padding-left: 14px;
            padding-right: 14px;
            padding-top: 16px;
            padding-bottom: 16px;
            flex-wrap: wrap;
        }
    }

    .Form-Item-Label {
        width: 20%;
        max-width: 248px;
        letter-spacing: 0.05em;
        font-weight: bold;
        font-size: 18px;
    }

    @media screen and (max-width: 480px) {
        .Form-Item-Label {
            max-width: inherit;
            display: flex;
            align-items: center;
            font-size: 15px;
        }
    }

    .Form-Item-Label.isMsg {
        margin-top: 8px;
        margin-bottom: auto;
    }

    @media screen and (max-width: 480px) {
        .Form-Item-Label.isMsg {
            margin-top: 0;
        }
    }

    .Form-Item-Label-Required {
        border-radius: 6px;
        margin-right: 8px;
        padding-top: 8px;
        padding-bottom: 8px;
        width: 48px;
        display: inline-block;
        text-align: center;
        background: #5bc8ac;
        color: #fff;
        font-size: 14px;
    }

    @media screen and (max-width: 480px) {
        .Form-Item-Label-Required {
            border-radius: 4px;
            padding-top: 4px;
            padding-bottom: 4px;
            width: 32px;
            font-size: 10px;
        }
    }

    .Form-Item-Input {
        border: 1px solid #ddd;
        border-radius: 6px;
        margin-left: 40px;
        padding-left: 1em;
        padding-right: 1em;
        height: 48px;
        flex: 1;
        width: 100%;
        max-width: 410px;
        background: #eaedf2;
        font-size: 18px;
    }

    @media screen and (max-width: 480px) {
        .Form-Item-Input {
            margin-left: 0;
            margin-top: 18px;
            height: 40px;
            flex: inherit;
            font-size: 15px;
        }
    }

    .Form-Item-Textarea {
        border: 1px solid #ddd;
        border-radius: 6px;
        margin-left: 40px;
        padding-left: 1em;
        padding-right: 1em;
        height: 216px;
        flex: 1;
        width: 100%;
        max-width: 410px;
        background: #eaedf2;
        font-size: 18px;
    }

    @media screen and (max-width: 480px) {
        .Form-Item-Textarea {
            margin-top: 18px;
            margin-left: 0;
            height: 200px;
            flex: inherit;
            font-size: 15px;
        }
    }

    .Form-Btn {
        border-radius: 6px;
        margin-top: 32px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        padding-top: 20px;
        padding-bottom: 20px;
        width: 280px;
        display: block;
        letter-spacing: 0.05em;
        background: #5bc8ac;
        color: #fff;
        font-weight: bold;
        font-size: 20px;
    }

    @media screen and (max-width: 480px) {
        .Form-Btn {
            margin-top: 24px;
            padding-top: 8px;
            padding-bottom: 15px;
            width: 160px;
            font-size: 16px;
        }
    }

    p {
        text-align: center;
        font-size: 20px;


    }

    /*----------- flow---------- */
    .flow {
        width: 60%;
        margin: auto;
        margin-top: 3%;
        margin-left: 0;
        border-width: 4px;
    }

    .flow1 {
        background-color: #5bc8ac;
        width: 100%;
        text-align: center;
        border-width: 4px 4px 1px 4px;
        border-style: solid;


    }

    .flow h2 {
        font-size: 30px;
        justify-content: center;
        margin: auto;
        padding-top: 2%;
        font-family: "Zen Maru Gothic", serif;
        font-weight: 400;
        font-style: normal;
    }

    .flow2 {
        background-color: bisque;
        width: 100%;
        text-align: center;
        margin-bottom: 10%;
        border-width: 1px 4px 4px 4px;
        border-style: solid;
        border-bottom-left-radius: 30px 30px;
        border-bottom-right-radius: 30px 30px;
    }

    .flow img {
        width: 80%;
    }

    /* ------topに戻るボタン------ */
    #pagetop {
        /* レイアウト */
        position: fixed;
        right: 30px;
        bottom: 30px;
        z-index: 100;
        display: flex;
        align-items: center;
        justify-content: center;
        /* 見た目 */
        width: 60px;
        aspect-ratio: 1/1;
        background-color: #000;
        border-radius: 50%;
        cursor: pointer;
        color: #fff;
        transition: 0.3s;

        /* デフォルトは非表示 */
        opacity: 0;
        visibility: hidden;
        transition: 0.2s;
    }

    /* 矢印 */
    .pagetop-arrow {
        height: 15px;
        width: 15px;
        border-top: 4px solid #ffffff;
        border-right: 4px solid #ffffff;
        transform: translateY(20%) rotate(-45deg);
    }

    /* スクロールされたときに適用されるCSS */
    #pagetop.visible {
        opacity: 1;
        visibility: visible;
    }
}


/*-------------ipadサイズレスポンシブ----------*/
@media(min-width:600px) and (max-width:999px) {
    body {
        min-width: 600px;
        max-width: 999px;
        background-image: url(../img/heya.jpg);
        background-attachment: fixed;
        background-size: cover;
        background-position: center;
    }

    .container {
        width: 100%;
        margin: 0 auto;
    }
nav{
    display: none;
}
    /* ヘッダー */
  .header {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    /*余白が入らないように*/
    margin: 0%;
    z-index: 1000;
  }

  .header1 {
    background-color: #f5f5f5;
    width: 50%;
    text-align: left;
  }

  .header1 img {
    height: 100%;
    object-fit: cover;

  }

  .header2 {
    background-color: #000;
    width: 50%;
    align-items: center;
  }

  .header2 ul {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    margin: auto;
    font-size: 30px;
    list-style: none;
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;

  }

  .header2 a {
    color: #ffffff;
    text-decoration: none;
  }

  .header2 li {
    width: 100%;
    text-align: center;
    text-decoration: none;
    margin-right: 4%;
  }

  .header2 img {
    width: 35%;
  }


    /* フォーム */
    form {
        background-color: #6495ed;
        width: 80%;
        margin: auto;
        margin-top: 150px;
        border: 4px solid;
        border-top-left-radius: 30px 30px;
        border-top-right-radius: 30px 30px;
        font-family: "Zen Maru Gothic", serif;
        font-weight: 400;
        font-style: normal;
    }

    .title {
        text-align: center;
        animation-name: rotateYAnime;
        animation-duration: 1s;
        animation-fill-mode: forwards;
    }

    @keyframes rotateYAnime {
        from {
            transform: rotateY(0);
        }

        to {
            transform: rotateY(-360deg);
        }
    }


    .title img {
        width: 10%;
        margin-top: 0;
        margin-bottom: 3%;

    }

    h2 {
        font-size: 25px;
        justify-content: center;
        margin-bottom: 0;
        margin-top: 5%;
        font-family: "Zen Maru Gothic", serif;
        font-weight: 400;
        font-style: normal;
    }


    @media screen and (max-width: 480px) {
        .Form {
            margin-top: 40px;
            text-align: center;
        }
    }

    .Form-Item {
        border-top: 1px solid #ddd;
        padding-top: 24px;
        padding-bottom: 24px;
        margin-bottom: 1%;
        margin-left: 5%;
        width: 90%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    @media screen and (max-width: 480px) {
        .Form-Item {
            padding-left: 14px;
            padding-right: 14px;
            padding-top: 16px;
            padding-bottom: 16px;
            flex-wrap: wrap;
        }
    }

    .Form-Item-Label {
        width: 30%;
        max-width: 248px;
        letter-spacing: 0.05em;
        font-weight: bold;
        font-size: 18px;
    }

    @media screen and (max-width: 480px) {
        .Form-Item-Label {
            max-width: inherit;
            display: flex;
            align-items: center;
            font-size: 15px;
        }
    }

    .Form-Item-Label.isMsg {
        margin-top: 8px;
        margin-bottom: auto;
    }

    @media screen and (max-width: 480px) {
        .Form-Item-Label.isMsg {
            margin-top: 0;
        }
    }

    .Form-Item-Label-Required {
        border-radius: 6px;
        margin-right: 8px;
        padding-top: 8px;
        padding-bottom: 8px;
        width: 48px;
        display: inline-block;
        text-align: center;
        background: #5bc8ac;
        color: #fff;
        font-size: 14px;
    }

    @media screen and (max-width: 480px) {
        .Form-Item-Label-Required {
            border-radius: 4px;
            padding-top: 4px;
            padding-bottom: 4px;
            width: 32px;
            font-size: 10px;
        }
    }

    .Form-Item-Input {
        border: 1px solid #ddd;
        border-radius: 6px;
        padding-left: 1em;
        padding-right: 1em;
        height: 48px;
        flex: 1;
        width: 100%;
        max-width: 410px;
        background: #eaedf2;
        font-size: 15px;
    }

    @media screen and (max-width: 480px) {
        .Form-Item-Input {
            margin-left: 0;
            margin-top: 18px;
            height: 40px;
            flex: inherit;
            font-size: 15px;
        }
    }

    .Form-Item-Textarea {
        border: 1px solid #ddd;
        border-radius: 6px;
        padding-left: 1em;
        padding-right: 1em;
        height: 216px;
        flex: 1;
        width: 100%;
        max-width: 410px;
        background: #eaedf2;
        font-size: 18px;
    }

    @media screen and (max-width: 480px) {
        .Form-Item-Textarea {
            margin-top: 18px;
            margin-left: 0;
            height: 200px;
            flex: inherit;
            font-size: 15px;
        }
    }

    .Form-Btn {
        border-radius: 6px;
        margin-top: 32px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        padding-top: 20px;
        padding-bottom: 20px;
        width: 280px;
        display: block;
        letter-spacing: 0.05em;
        background: #5bc8ac;
        color: #fff;
        font-weight: bold;
        font-size: 20px;
    }

    @media screen and (max-width: 480px) {
        .Form-Btn {
            margin-top: 24px;
            padding-top: 8px;
            padding-bottom: 15px;
            width: 160px;
            font-size: 16px;
        }
    }

    p {
        text-align: center;
        font-size: 20px;


    }

    /*----------- flow---------- */
    .flow {
        width: 80%;
        margin: auto;
        margin-top: 3%;
        border-width: 4px;
    }

    .flow1 {
        background-color: #5bc8ac;
        width: 100%;
        text-align: center;
        border-width: 4px 4px 1px 4px;
        border-style: solid;


    }

    .flow h2 {
        font-size: 25px;
        justify-content: center;
        margin: auto;
        padding-top: 2%;
        font-family: "Zen Maru Gothic", serif;
        font-weight: 400;
        font-style: normal;
    }

    .flow2 {
        background-color: bisque;
        width: 100%;
        text-align: center;
        margin-bottom: 10%;
        border-width: 1px 4px 4px 4px;
        border-style: solid;
        border-bottom-left-radius: 30px 30px;
        border-bottom-right-radius: 30px 30px;
    }

    .flow img {
        width: 80%;
    }

    /* ------topに戻るボタン------ */
    #pagetop {
        /* レイアウト */
        position: fixed;
        right: 30px;
        bottom: 30px;
        z-index: 100;
        display: flex;
        align-items: center;
        justify-content: center;
        /* 見た目 */
        width: 60px;
        aspect-ratio: 1/1;
        background-color: #000;
        border-radius: 50%;
        cursor: pointer;
        color: #fff;
        transition: 0.3s;

        /* デフォルトは非表示 */
        opacity: 0;
        visibility: hidden;
        transition: 0.2s;
    }

    /* 矢印 */
    .pagetop-arrow {
        height: 15px;
        width: 15px;
        border-top: 4px solid #ffffff;
        border-right: 4px solid #ffffff;
        transform: translateY(20%) rotate(-45deg);
    }

    /* スクロールされたときに適用されるCSS */
    #pagetop.visible {
        opacity: 1;
        visibility: visible;
    }
}

/* ----------spサイズレスポンシブ -----------*/

@media(min-width:0px) and (max-width:599px) {
    body {
        min-width: 0px;
        max-width: 599px;
        background-image: url(../img/heya.jpg);
        background-attachment: fixed;
        background-size: cover;
    }

    .container {
        width: 100%;
        margin: 0 auto;
    }
 /*========= ナビゲーションのためのCSS ===============*/

 #g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
  top:-120%;
    left:0;
  width:100%;
    height: 100vh;/*ナビの高さ*/
  background:#abdad1;
    /*動き*/
  transition: all 0.6s;
  }
  
  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive{
    top: 0;
  }
  
  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /*ナビゲーション*/
  #g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
  }
  
  /*リストのレイアウト設定*/
  
  #g-nav li{
  list-style: none;
    text-align: center; 
  }
  
  #g-nav li a{
  color: #333;
  text-decoration: none;
  padding:10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
  }
  
  /*========= ボタンのためのCSS ===============*/
  .openbtn{
    position: fixed;
          z-index: 9999;
          /*ボタンを最前面に*/
          top: 10px;
          right: 10px;
          cursor: pointer;
          width: 50px;
          height: 50px;
  }
  
  /*×に変化*/	
  /*ボタン内側*/
  .openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
  }
  
  .openbtn span:nth-of-type(1),
  .openbtn span:nth-of-type(3) {
    height: 2px;
  background: #666;
    width: 62%;
    left: 10px;
  }
  
  .openbtn span:nth-of-type(1) {
  top:13px;	
  }
  
  .openbtn span:nth-of-type(2) {
  top:19px;
  left:11px;
  font-size:0.6rem;
  text-transform: uppercase;
  color: #666f;
  }
  
  .openbtn span:nth-of-type(3) {
  top:36px;
  }
  
  /*activeクラスが付与されると線が回転して×になり、Menu表記をしている2つ目の要素が透過して消える*/
  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }
  
  .openbtn.active span:nth-of-type(2) {
  opacity: 0;
  }
  
  .openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }
  nav img{
    width: 30%;
  }
      .header {
        width: 100%;
        height: 70px;
        display: flex;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        /*余白が入らないように*/
        margin: 0%;
        z-index: 1000;
      }
    
      .header1 {
        background-color: #f5f5f5;
        width: 100%;
        text-align: left;
      }
    
      .header1 img {
        height: 100%;
        object-fit: cover;
    
      }
    
      .header2 {
        display: none;
      }
    
    
    /* フォーム */
    form {
        background-color: #6495ed;
        width: 90%;
        margin: auto;
        margin-top: 150px;
        border: 4px solid;
        border-top-left-radius: 30px 30px;
        border-top-right-radius: 30px 30px;
        font-family: "Zen Maru Gothic", serif;
        font-weight: 400;
        font-style: normal;
    }

    .title {
        text-align: center;
        animation-name: rotateYAnime;
        animation-duration: 1s;
        animation-fill-mode: forwards;
    }

    @keyframes rotateYAnime {
        from {
            transform: rotateY(0);
        }

        to {
            transform: rotateY(-360deg);
        }
    }


    .title img {
        width: 15%;
        margin-top: 0;
        margin-bottom: 3%;

    }

    h2 {
        font-size: 20px;
        justify-content: center;
        margin-bottom: 0;
        margin-top: 5%;
        font-family: "Zen Maru Gothic", serif;
        font-weight: 400;
        font-style: normal;
    }


    @media screen and (max-width: 480px) {
        .Form {
            margin-top: 40px;
            text-align: center;
        }
    }

    .Form-Item {
        border-top: 1px solid #ddd;
        padding-top: 24px;
        padding-bottom: 24px;
        margin-right: 5%;
        margin-left: 5%;
        margin-bottom: 1%;
        text-align: center;
    }

    @media screen and (max-width: 480px) {
        .Form-Item {
            padding-top: 16px;
            padding-bottom: 16px;
            flex-wrap: wrap;
        }
    }

    .Form-Item-Label {
        width: 70%;
        max-width: 248px;
        letter-spacing: 0.05em;
        font-weight: bold;
        font-size: 18px;
    }

    @media screen and (max-width: 480px) {
        .Form-Item-Label {
            max-width: inherit;
            display: flex;
            align-items: center;
            font-size: 15px;
            margin-left: 5%;
        }
    }

    .Form-Item-Label.isMsg {
        margin-top: 8px;
        margin-bottom: auto;
    }

    @media screen and (max-width: 480px) {
        .Form-Item-Label.isMsg {
            margin-top: 0;
        }
    }

    .Form-Item-Label-Required {
        border-radius: 6px;
        margin-right: 8px;
        padding-top: 8px;
        padding-bottom: 8px;
        width: 48px;
        display: inline-block;
        text-align: center;
        background: #5bc8ac;
        color: #fff;
        font-size: 14px;
    }

    @media screen and (max-width: 480px) {
        .Form-Item-Label-Required {
            border-radius: 4px;
            padding-top: 4px;
            padding-bottom: 4px;
            width: 32px;
            font-size: 10px;
        }
    }
/* 入力欄 */
    .Form-Item-Input {
        border: 1px solid #ddd;
        border-radius: 6px;
        padding-left: 1em;
        padding-right: 1em;
        height: 48px;
        flex: 1;
        width: 65%;
        max-width: 410px;
        background: #eaedf2;
        font-size: 18px;
    }

    @media screen and (max-width: 480px) {
        .Form-Item-Input {
            margin-left: 0;
            margin-top: 18px;
            height: 40px;
            flex: inherit;
            font-size: 12px;
        }
    }

    .Form-Item-Textarea {
        border: 1px solid #ddd;
        border-radius: 6px;
        height: 216px;
        flex: 1;
        width: 65%;
        background: #eaedf2;
        font-size: 18px;
    }

    @media screen and (max-width: 480px) {
        .Form-Item-Textarea {
            margin-top: 18px;
            margin-left: 0;
            height: 200px;
            flex: inherit;
            font-size: 15px;
        }
    }

    .Form-Btn {
        border-radius: 6px;
        margin-top: 32px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        padding-top: 20px;
        padding-bottom: 20px;
        width: 280px;
        display: block;
        letter-spacing: 0.05em;
        background: #5bc8ac;
        color: #fff;
        font-weight: bold;
        font-size: 20px;
    }

    @media screen and (max-width: 480px) {
        .Form-Btn {
            margin-top: 24px;
            padding-top: 8px;
            padding-bottom: 15px;
            width: 160px;
            font-size: 16px;
        }
    }

    p {
        text-align: center;
        font-size: 15px;


    }

    /*----------- flow---------- */
    .flow {
        width: 90%;
        margin: auto;
        margin-top: 3%;
        border-width: 4px;
    }

    .flow1 {
        background-color: #5bc8ac;
        width: 100%;
        text-align: center;
        border-width: 4px 4px 1px 4px;
        border-style: solid;


    }

    .flow h2 {
        font-size: 20px;
        justify-content: center;
        margin: auto;
        padding-top: 2%;
        font-family: "Zen Maru Gothic", serif;
        font-weight: 400;
        font-style: normal;
    }

    .flow2 {
        background-color: bisque;
        width: 100%;
        text-align: center;
        border-width: 1px 4px 4px 4px;
        border-style: solid;
        margin-bottom: 10%;
        border-bottom-left-radius: 30px 30px;
        border-bottom-right-radius: 30px 30px;
    }

    .flow img {
        width: 90%;
    }

    /* ------topに戻るボタン------ */
    #pagetop {
        /* レイアウト */
        position: fixed;
        right: 30px;
        bottom: 30px;
        z-index: 100;
        display: flex;
        align-items: center;
        justify-content: center;
        /* 見た目 */
        width: 40px;
        aspect-ratio: 1/1;
        background-color: #000;
        border-radius: 50%;
        cursor: pointer;
        color: #fff;
        transition: 0.3s;

        /* デフォルトは非表示 */
        opacity: 0;
        visibility: hidden;
        transition: 0.2s;
    }

    /* 矢印 */
    .pagetop-arrow {
        height: 15px;
        width: 15px;
        border-top: 4px solid #ffffff;
        border-right: 4px solid #ffffff;
        transform: translateY(20%) rotate(-45deg);
    }

    /* スクロールされたときに適用されるCSS */
    #pagetop.visible {
        opacity: 1;
        visibility: visible;
    }
}