* {
  box-sizing: border-box;
}

p {
  line-height: 1.6em;
}

.content {
  margin-bottom: 3em;
}

.img-c {
  text-align: left;
}

.deco {
  color: #f00;
  font-weight: bold;
}

.header {
   margin: 0 auto 50px;
   max-width: 1000px;
   text-align: center;
}

.header .logo img {
  width: 200px;
}
 
.wrapper {
     margin: 0 auto;
     max-width: 1000px;
}
 
.content h1 {
  font-size: 1.4em;
}

.att-box {
  background: #ffffef;
  border: 1px solid #fdfbb5;
  margin: 0 auto 1.5em;
  padding: 0.5em 1.5em 0;
}

.att-box .att-heading {
  font-weight: bold;
  margin-bottom: 0;
}

.att-box .att-heading img {
  margin-right: 5px;
}

.telfax {
  font-size: 1.4em;
}

.att-box li {
  display: inline-block;
  list-style: none;
  margin-bottom: 0.5em;
  vertical-align: top;
}

.att-box li img {
  margin-right: 0.3em;
  width: 40px;
}

.att-box li span {
  font-size: 0.6em;
}

.sidebar {
  height: auto;
  width: 300px;
}
 
.footer {
}

/* 表修正  */
table {
  border-collapse: collapse;
  margin-bottom: 15px;
  padding: 0;
  table-layout: fixed;
  width: 100%;
}
table th,
table td {
  border: none;
  box-sizing: border-box;
  display: block;
  line-height:1.6em;
  padding: 5px 10px;
  width: 100%;
}
table th {
  background: #dbdbdb;
  text-align: left;
  vertical-align:middle;
}
table th .deco {
  margin-left: 0.5em;
}
table td {
  background: #fff;
  line-height:1.6em;
  text-align:left;
  vertical-align:middle;
}
table td:last-child {
  padding-bottom: 15px;
}
table td p:last-child {
  margin:0;
}
table td ul {
  list-style-position: outside;
}
table tr td input,
table tr td select,
table tr td textarea {
  font-size: 16px;
  margin: 0.3em 0;
  padding: 0.5em;
}
table tr td input[type="text"],
table tr td textarea {
  width: 100%;
}
table tr td input[name^="file"] {
  margin-bottom: 0.5em;
}
table a {
  font-weight:normal;
}

/* 個人情報保護方針 */
.policy-contents {
    width: auto;
    height: 300px;
    background-color: #efefef;
    border: 1px solid #333;
    overflow-y: scroll;
    padding: 10px;
}

.policy-contents h4 {
    font-size: 16px;
    font-weight: bold;
}

.policy-contents .policy-strong {
    font-weight: bold;
}

/* 送信確認・リセット・送信ボタン */
.confirm-btn {
  text-align: center;
}
input[type="submit"],
input[type="reset"] {
    background-color: #499E08;
    color: #fff;
    font-size: 1.4em;
    font-weight: 800;
    line-height: 1;
    padding: 1em;
    max-width: 300px;
    width: 100%;
    border-radius: 6px;
    border: 0;
    text-align: center;
    cursor: pointer;
}


@media (max-width: 729px) {
     .wrapper, .content, .sidebar {
          float: none;
          margin: 0;
          width: auto;
     }
     .content {
          margin-bottom: 3em;
     }
}

@media (min-width: 730px){
  .img-c {
    text-align: center;
  }
 
  .content h1 {
    font-size: 2em;
  }

  .att-box.telfax {
    font-size: 2em;
    text-align: center;
    width: 80%;
  }


  .att-box img {
    width: auto;
  }

  .att-box li.fax {
    margin-left: 0.5em;
  }

  .content h2 {
    align-items: center;
    display: flex;
    font-size: 2em;
  }

  h2:before, h2:after {
    border-top: 2px dotted #a0a0a0;
    content: "";
    display: block;
    flex-grow: 1;
  }

  h2:before {
    margin-right: 0.4em;
  }

  h2:after {
    margin-left: 0.4em;
  }

  table th,
  table td,
  table th:first-child,
  table td:first-child,
  table td:last-child {
    border: 1px solid #ccc;
    display: table-cell;
    padding:10px 15px;
  }
  table th {
    background-color: #efefef;
    width:30%;
  }
  #main table th br {
    display: none;
  }
  table tr td input[type="text"],
  table tr td textarea {
    width: auto;
  }
} /* Eo min730 */

/* PC用: 横2列 */
.file-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .file-box .mfp_col {
    flex: 1 1 100%;
  }
}
.note {
  font-size: small;
  margin: 10px 0 10px 0 !important;
}
