/* リセットCSSの一部 */
html, body, div, p, ul, li, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
}

header {
    margin: 0;
    padding: 0;
}

.pageview, .container {
    max-width: 1000px;
    margin: 0 auto; /* 中央に配置 */
    padding: 0; /* 内側の余白を削除 */
}

.head {
    position: relative;
    height: 50px;
}

.companyName {
    height: 20px;
}

.copyright {
    text-align: right;
}

.title img {
    width: 100%;
    margin: 0;
    padding: 0;
    /* display: block; */
}

.gaiyou img {
    position: absolute;
    top: 4%;
    left: 8%;
    width: 30%;
    height: 30%;
}

.rinen img {
    position: absolute;
    top: 9%;
    left: 36%;
    width: 30%;
    height: 30%;
}

.jisseki img {
    position: absolute;
    top: 30%;
    left: 55%;
    width: 30%;
    height: 30%;
}

.otoiawase img {
    position: absolute;
    top: 60%;
    left: 52%;
    width: 30%;
    height: 30%;
}

.otegaru img {
    position: absolute;
    top: 30%;
    left: 0%;
    width: 60%;
    height: 60%;
}

.asiato {
    position: absolute;
    width: 100%;
    padding-top: 100%;
    top: 0px;
    left: -10%;
    z-index: 50;
}

.text {
    margin: 50px;
    width: 80%;
    height: auto;
    top: 20px;
}

.container {
    position: relative;
    width: 100%;
    padding-top: 100%;
}

.con {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: auto;
}

.lbig {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: large;
    text-align: center;
}

.copyright hr {
    margin: auto; /* 上下に余白を追加し、自動で左右中央に配置 */
    width: 80%;
    border: 1px solid #ccc; /* 線のスタイルを設定 (色、太さなど) */
}

.copyright {
    /* position: absolute; */
    text-align: center;
    font-size: small;
}

nav {
    display: block;
    position: fixed; /* absolute から fixed に変更 */
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%; /* 画面全体の高さにする */
    max-width: calc(1000px - 20px); /* 1000px内に収める */
    background: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: all .5s;
    z-index: 1;
    opacity: 0;
}

.open nav {
    left: 0;
    opacity: 1;
    z-index: 100;
}

nav .inner {
    padding: 25px;
}

nav .inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav .inner ul li {
    position: relative;
    margin: 0;
    border-bottom: 1px solid #333;
}

nav .inner ul li a {
    display: block;
    color: #333;
    font-size: 14px;
    padding: 1em;
    text-decoration: none;
    transition-duration: 0.2s;
}

nav .inner ul li a:hover {
    background: #e4e4e4;
}

@media screen and (max-width: 767px) {
    nav {
        left: 0px;
        width: 220px;
    }
}

/*============
.toggle_btn
=============*/
.toggle_btn {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    transition: all .5s;
    cursor: pointer;
    z-index: 11; /* メニューより前面に表示 */
}

.toggle_btn span {
    display: block;
    position: absolute;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #333;
    border-radius: 4px;
    transition: all .5s;
}

.toggle_btn span:nth-child(1) {
    top: 4px;
}

.toggle_btn span:nth-child(2) {
    top: 14px;
}

.toggle_btn span:nth-child(3) {
    bottom: 4px;
}

.open .toggle_btn span {
    background-color: #fff;
}

.open .toggle_btn span:nth-child(1) {
    -webkit-transform: translateY(10px) rotate(-315deg);
    transform: translateY(10px) rotate(-315deg);
}

.open .toggle_btn span:nth-child(2) {
    opacity: 0;
}

.open .toggle_btn span:nth-child(3) {
    -webkit-transform: translateY(-10px) rotate(315deg);
    transform: translateY(-10px) rotate(315deg);
}

/*============
#mask
=============*/
#mask {
    display: none;
    transition: all .5s;
}

.open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .8;
    z-index: 9; /* メニューより後ろに表示 */
    cursor: pointer;
}

  .fcon {
    max-width:600px;
    margin:0 auto;
    text-align:center;
    -webkit-border-radius:6px;
    -moz-border-radius:6px;
    border-radius:6px;
    background-color:#FAFAFA;
  }
  .head {
    margin-top: 0px;
    padding-top: 0px;
    -webkit-border-radius:6px 6px 0px 0px;
    -moz-border-radius:6px 6px 0px 0px;
    border-radius:6px 6px 0px 0px;
    background-color:#ecd188;
    color:#FAFAFA;
  }
  h2 {
    text-align:center;
    padding:18px 0 18px 0;
    font-size: 1.4em;
  }
  input {
    margin-bottom:10px;
  }
  textarea {
    height:150px;
    margin-bottom:10px;
  }
  input:first-of-type
  {
    margin-top:35px;
  }
  input, textarea {
    font-size: 1em;
    padding: 15px 10px 10px;
    font-family: 'Source Sans Pro',arial,sans-serif;
    border: 1px solid #cecece;
    background: #d7d7d7;
    color: #333;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 80%;
    max-width: 600px;
  }
  ::-webkit-input-placeholder {
     color: #FAFAFA;
  }
  :-moz-placeholder {
     color: #FAFAFA;  
  }
  ::-moz-placeholder {
     color: #FAFAFA; 
  }
  :-ms-input-placeholder {  
     color: #FAFAFA;  
  }
  button {
    margin-top:15px;
    margin-bottom:25px;
    background-color:#2ABCA7;
    padding: 12px 45px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #2ABCA7;
    -webkit-transition: .5s;
    transition: .5s;
    display: inline-block;
    cursor: pointer;
    width:30%;
    color:#fff;
  }
  button:hover, .button:hover {
    background:#19a08c;
  }
  label.error {
      font-family:'Source Sans Pro',arial,sans-serif;
      font-size:1em;
      display:block;
      padding-top:10px;
      padding-bottom:10px;
      background-color:#d89c9c;
      width: 80%;
      margin:auto;
      color: #FAFAFA;
      -webkit-border-radius:6px;
      -moz-border-radius:6px;
      border-radius:6px;
  }
  /* media queries */
  @media (max-width: 700px) {
    label.error {
      width: 90%;
    }
    input, textarea {
      width: 90%;
    }
    button {
      width:90%;
    }
    body {
    /* padding-top:10px; */
    }  
  }
  .message {
      font-family:'Source Sans Pro',arial,sans-serif;
      font-size:1.1em;
      display:none;
      padding-top:10px;
      padding-bottom:10px;
      background-color:#2ABCA7;
      width: 80%;
      margin:auto;
      color: #FAFAFA;
      -webkit-border-radius:6px;
      -moz-border-radius:6px;
      border-radius:6px;
  }