@charset "utf-8";
@media screen and (max-width: 767px) {
  body {
    padding-top: 70px;
  }
  h1 {
    height: auto;
  }
  .hidden-phone {
    display: none;
  }
  .visible-phone {
    display: block;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  header {
    width: 100%;
    margin:0;

  }
  #sp-logo{
    width: calc(100% - 100px);
    float:left;
  }
  #sp-logo p {
    margin:0;
  }
  #head {
        position: fixed;
    top:0;
    left:0;
    right:0;
    z-index: 100;
    background-color: #fff;
  }
  #head p a span {
    font-size: 10px;
    line-height: 1em;
  }
  #head p a {
    line-height: 1em;
    font-size: 16px;
  }
  .menuBtn {
    font-size: 26px;
    width:40px;
    text-align: center;
    float: right;
  }
  #main,
  #top,
  #f1,
  .add,
  .col9,
  .txt_top,
 .map,
.map iframe {
    width: 100%;
    margin: 0;
  }
  .wrapper {
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
  }
  #global-nav {
    position: fixed;
    top:0;
    left:0;
    bottom:0;
    overflow: scroll;
    width: 100%;
    transform: translateY(-100%);
    transition: .3s;
    background: rgba(143,42,27,.9);
    z-index: 1000;
    text-align: center;
  }
  #global-nav ul {
    flex-wrap:wrap;
    padding-top: 30px;
    margin-bottom: 20px;
  }
  #global-nav li {
    width:100%;
    border-right: 0;
    border-left: 0 !important;
    border-bottom: 1px solid #aaa;
  }
  #global-nav li:last-child {
  }
  #global-nav li br{
    display: none;
  }
  #global-nav a {
    padding: 20px 0 40px;
    font-size: 16px;
  }
  #global-nav small {
    bottom: 14px;
  }
  .menu-toggle {
    height:0;
    width:0;
    overflow: hidden;
    visibility: hidden;
  }
  .menu-toggle:checked + #global-nav{
    transform: none;
  }
  .closeBtn {
    position: absolute;
    top:5px;
    right:10px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 40px;
    line-height: 1em;
  }
  .closeBtn label {
    color: #fff !important;
    text-decoration: none !important;
  }
  #sidebar,
  #sidemenu {
    width:100%;
  }
  .txt_top {
    font-size: 14px;
  }
  .fa-phone {
    transform:scale(-1,1);
  }
  #global-nav i {
    margin-right: 5px;
  }
  #global-nav .column{
    display: inline-block;
    padding: 5px 20px;
    background: #fff;
    border-radius: 5px;
  }
  #global-nav .column a{
    padding:0;
    color: #8f2a1b;
    text-shadow:none;
    font-weight: bold;
  }
  .add {
    box-sizing: border-box;
    padding:10px;
    height: auto;
  }
  #foot {
    padding:0;
  }
  #foot p{
    margin-bottom:0;
  }

  #f-nav {
    margin:0;
  }
  #f-nav a {
    text-decoration: none;
  }
  #f-nav li{
    width:100%;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid rgba(0,0,0,.8);
    box-shadow: 0 1px 1px rgba(255,255,255,.6);
    padding: 10px 0;
    border-right:0;
  }
  #f-nav li:last-child {
    border-bottom: 1px solid rgba(0,0,0,.8);
    box-shadow: 0 1px 1px rgba(255,255,255,.6);
  }



  input:checked + #left {
    transform: none;
  }
  input:checked ~ .overlay {
    position: fixed;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.6);
    z-index: 998;
  }
  #left {
    transform: translateX(-100%);
    transition: .3s;
    position: fixed;
    top:0;
    left:0;
    bottom:0;
    width: 260px;
    background: 0;
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    z-index: 999;
    padding-top: 50px;
  }
  #left .closeBtn {
    color: #000 !important;
  }
  #left ul li {
    margin: 0;
  }
  #right {
    margin-left:0;
  }
  #right > div {
    margin-left:0;
  }
  .member_name {
    width: 95%;
    margin: 0 auto 20px;
    box-sizing: border-box;
  }
  h3 {
    padding-left: 0;
  }
  .ex_table {
    padding:0;
  }
  .ex_table + div {
    margin: 0 auto 40px !important;
    height: 260px !important;
  }
  .entrydone { 
    margin-left: 0;
  }
  .gathering,
  .applyBtn {
    margin-left: 0;
  }

  #foot {
    font-size: 12px;
  }

  .point_item {
    width: 50%;
  }
  .point_item input[type="button"] {
    font-size: 12px;
  }

  /* item detail */

  .item_detail_image {
    width: 100%;
  }
  .buttons {
    float: none;
    text-align: center;
    width: auto;
    margin-top: 30px;
  }
  .buttons input[type="submit"] {
    float: none;
    box-sizing: border-box;
    width:100%;
    padding: 10px 0;
  }
  .buttons + .navigation {
    margin:0;
  }
  .buttons + .navigation a {
    float: none;
    box-sizing: border-box;
    width:100%;
    text-align: center;
    padding: 10px 0;
  }

  /* receipt */
  .receipt_table tr,
  .receipt_table td {
    display: block;
    padding:0; 
  }
  .receipt_table tr:not(:first-child) {
    margin-bottom: 10px;
    padding: 10px;
    background: #f3f4f8;
  }
  .receipt_table td:nth-child(1),
  .receipt_table td:last-child{
    padding:0;
  }
  .receipt_table td:last-child{
    text-align: right;
  }


  .profile_table {
    font-size: 12px;
    margin-top: 10px;
  }
  .profile_table tr td input, .profile_table tr td select{
    font-size: 12px;
  }
  .profile_table th {
    width: 90px;
    text-align: left;
    padding: 10px;
  }
    input[type="submit"].register_btn {
    box-sizing: border-box;
    font-size: 24px;
    width:100%;
  }
  
}

/* 2018.7.6追加 */

@charset "utf-8";
@media screen and (max-width: 767px) {
  p{
    width:auto;
  }
  iframe {
    max-width: 100%;
  }
  h1 {
    height: auto;
  }
  .bg2 {
  }
  .bg3 {
    padding-left: 0;
  }
  .hidden-phone {
    display: none;
  }
  .visible-phone {
    display: block;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  header {
    width: 100%;
  }
  #sp-logo{
    width: calc(100% - 100px);
    float:left;
  }
  .menuBtn {
    font-size: 26px;
    width:40px;
    text-align: center;
    float: right;
  }
  #main,
  #top,
  #f1,
  .add,
  .col9,
  .txt_top,
 .map,
.map iframe {
    width: 100%;
    margin: 0;
  }
  .wrapper {
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
  }
  #global-nav {
    position: fixed;
    text-align: center;
    top:0;
    left:0;
    bottom:0;
    overflow: scroll;
    width: 100%;
    transform: translateY(-100%);
    transition: .3s;
    background: rgba(143,42,27,.9);
    z-index: 1000;
  }
  #global-nav ul {
    flex-wrap:wrap;
    padding-top: 30px;
    margin-bottom: 20px;
  }
  #global-nav li {
    width:100%;
    border-right: 0;
    border-left: 0 !important;
    border-bottom: 1px solid #aaa;
  }
  #global-nav li:last-child {
  }
  #global-nav li br{
    display: none;
  }
  #global-nav a {
    padding: 20px 0 40px;
    font-size: 16px;
  }
  #global-nav small {
    bottom: 14px;
  }
  .menu-toggle {
    height:0;
    width:0;
    overflow: hidden;
  }
  .menu-toggle:checked + #global-nav{
    transform: none;
  }
  .closeBtn {
    position: absolute;
    top:5px;
    right:10px;
    color: #fff;
    font-size: 40px;
    line-height: 1em;
  }
  #sidebar,
  #sidemenu {
    width:100%;
  }
  .txt_top {
    font-size: 14px;
  }
  .fa-phone {
    transform:scale(-1,1);
  }
  #global-nav i {
    margin-right: 5px;
  }
  #global-nav .column{
    display: inline-block;
    padding: 5px 20px;
    background: #fff;
    border-radius: 5px;
  }
  #global-nav .column a{
    padding:0;
    color: #8f2a1b;
    text-shadow:none;
    font-weight: bold;
  }
  .add {
    box-sizing: border-box;
    padding:10px;
    height: auto;
  }

  #f-nav li{
    width:100%;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid rgba(0,0,0,.8);
    box-shadow: 0 1px 1px rgba(255,255,255,.6);
    padding: 10px 0;
    border-right:0;
    text-align: center;
  }
  #f-nav li:last-child {
    border-bottom: 1px solid rgba(0,0,0,.8);
    box-shadow: 0 1px 1px rgba(255,255,255,.6);
  }
  .activity_box {
    width:100%;
  }
  .activity_box li {
    width: 100%;

  }
  .activity_box li img{ 
    width:100%;
    height: auto;
  }
  .table-wrapper {
    width:100%;
    overflow: scroll;
    -webkit-overflow-scrolling: touch;

  }
  .table-wrapper table {
    width:100%;
  }

    .btn {
    margin-bottom: 30px;
  }
}


