/* parts */
@media print, screen and (min-width: 768px) {
  section {
    position: relative;
  }

  #mainvisual {
    background: url(../../../kyoto2018/img/mainvisual_bg.png) no-repeat center center;
    background-size: cover;
  }

  .contact {
    background: white;
    padding: 80px 0  0;
    border-bottom: 1px solid #ddd;
  }
  .contact .inner {
    width: 1160px;
    margin: 0 auto;
    text-align: center;
  }
  .contact .inner .contactBox {
    margin-top: -30px;
    text-align: left;
    padding: 30px 50px;
    background: #f2f2f2;
    margin-bottom: 30px;
  }
  .contact table {
    background: none;
    width: 100%;
  }
  .contact table th {
    background: none;
    border: none;
    color: #222;
    padding: 20px 0;
    border-bottom: 1px dotted #cfcfcf;
    width: 275px;
  }
  .contact table td {
    background: none;
    border: none;
    padding: 20px;
    padding-left: 40px;
    border-bottom: 1px dotted #cfcfcf;
  }
  .contact table td ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .contact table td ul li {
    margin-right: 15px;
  }
  .contact table .error {
    font-size: 13px;
    margin-top: 5px;
    color: #C30003;
  }
  .contact table tr td input[type=text] {
    box-sizing: border-box;
    font-size: 14px;
    width: calc(100%/4*3);
    height: 48px;
    padding-left: 12px;
    border: none;
    border-radius: 5px;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.03);
  }
  .contact table tr td input[type=text]#id_txt {
    height: 30px;
  }
  .contact table tr td textarea {
    font-size: 14px;
    line-height: 1.5em;
    width: calc(100%/4*4);
    max-width: calc(100%/4*4);
    height: 160px;
    padding: 12px;
    border: none;
    border-radius: 5px;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.03);
  }
  .contact .submits {
    display: flex;
    justify-content: center;
  }
  .contact .submits li {
    margin: 0 15px;
  }
  .contact .submits input[type=submit] {
    font-family: "Roboto",sans-serif;
    border: none;
    width: 200px;
    display: block;
    background: #262626;
    padding: 15px 0;
    margin: 40px auto 0;
    color: #fff;
    letter-spacing: 1px;
    font-size: 1.3rem;
    cursor: pointer;
    text-decoration: none;
    transition-delay: 0s !important;
    border-radius: 4px;
    box-shadow: 0 0 0 0 #222 inset;
    -o-transition: all 0.15s ease-in;
    -webkit-transition: all 0.15s ease-in;
    -moz-transition: all 0.15s ease-in;
    transition: all 0.15s ease-in;
  }
  .contact .submits input[type=submit].return {
    background: #ddd;
    color: #222;
  }
  .contact .submits input[type=submit]:hover {
    background: #fff;
    color: #222;
    box-shadow: 0 0 0 2px #222 inset;
  }
  .contact.thanks {
    border-bottom: none;
  }
  .contact.thanks p {
    font-size: 2rem;
    line-height: 2;
  }
  .contact.thanks p.btn {
    margin-top: 50px;
  }
  .contact.thanks p.btn a {
    text-align: center;
    width: 300px;
    display: block;
    background: #262626;
    padding: 15px 0;
    margin: 0 auto;
    color: #fff;
    letter-spacing: 1px;
    font-size: 1.4rem;
    cursor: pointer;
    text-decoration: none;
    -o-transition: all 0.15s ease-in;
    -webkit-transition: all 0.15s ease-in;
    -moz-transition: all 0.15s ease-in;
    transition: all 0.15s ease-in;
    border-radius: 4px;
    position: relative;
  }
  .contact.thanks p.btn a:hover {
    background: #006834;
  }

  .media {
    background: white;
    padding: 80px 0;
    border-bottom: 1px solid #ddd;
  }
  .media .inner {
    width: 1160px;
    margin: 0 auto;
    text-align: center;
  }
  .media .inner .text {
    width: 960px;
    margin: 0 auto;
    text-align: left;
  }
  .media .inner .text p {
    font-size: 1.4rem;
    margin-bottom: 20px;
    line-height: 1.8;
  }
  .media .inner h2 {
    margin-top: 60px;
  }
  .media .inner .btn {
    margin-top: 50px;
  }
  .media .inner .btn a {
    text-align: center;
    width: 300px;
    display: block;
    background: #262626;
    padding: 15px 0;
    margin: 0 auto;
    color: #fff;
    letter-spacing: 1px;
    font-size: 1.4rem;
    cursor: pointer;
    text-decoration: none;
    -o-transition: all 0.15s ease-in;
    -webkit-transition: all 0.15s ease-in;
    -moz-transition: all 0.15s ease-in;
    transition: all 0.15s ease-in;
    border-radius: 4px;
    position: relative;
  }
  .media .inner .btn a:hover {
    background: #006834;
  }

  #content02 {
    margin-top: 80px;
  }
  #content02 .inner {
    padding-bottom: 80px;
  }
  #content02 .btn a {
    display: block;
    width: 50%;
    margin: 0 auto;
    padding: 20px;
    border: 2px solid #222;
  }
  #content02 .btn a:hover {
    background: #222;
    color: #fff;
    text-decoration: none;
  }

  #content03 .inner {
    padding-bottom: 40px;
  }
}
@media screen and (max-width: 767px) {
  section {
    position: relative;
  }

  #mainvisual {
    background: url(../../../kyoto2018/img/mainvisual_bg.png) no-repeat center center;
    background-size: cover;
  }

  .contact {
    background: white;
  }
  .contact .inner {
    padding-bottom: 0 !important;
  }
}
@media screen and (max-width: 767px) and (min-width: 768px) {
  .contact .inner {
    width: 1160px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 767px) and (max-width: 767px) {
  .contact .inner {
    padding: 10% 5%;
  }
}
@media screen and (max-width: 767px) {
  .contact .inner .contactBox {
    text-align: left;
    padding: 5%;
    background: #f5f5f5;
    margin-bottom: 10%;
  }
  .contact table {
    background: none;
    width: 100%;
    font-size: 1rem;
  }
  .contact table th {
    background: none;
    border: none;
    color: #222;
    display: block;
    padding-bottom: 0;
    padding-left: 0;
  }
  .contact table td {
    display: block;
    background: none;
    border: none;
    padding-left: 0;
    padding-top: 1%;
    border-bottom: 1px dotted #cfcfcf;
  }
  .contact table td ul li {
    margin: 8px 0;
  }
  .contact table .error {
    font-size: 1rem;
    margin-top: 5px;
    color: #C30003;
  }
  .contact table tr td input[type=text] {
    box-sizing: border-box;
    font-size: 1.2rem;
    width: 100%;
    height: 40px;
    padding-left: 12px;
    border: none;
    border-radius: 5px;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.03);
  }
  .contact table tr td input[type=text]#id_txt {
    height: 30px;
  }
  .contact table tr td textarea {
    box-sizing: border-box;
    font-size: 1.2rem;
    line-height: 1.5em;
    width: calc(100%/4*4);
    max-width: calc(100%/4*4);
    height: 160px;
    padding: 12px;
    border: none;
    border-radius: 5px;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.03);
  }
  .contact .submits {
    display: flex;
    justify-content: center;
  }
  .contact .submits li {
    margin: 0 2%;
    width: 40%;
  }
  .contact .submits input[type=submit] {
    font-family: "Roboto",sans-serif;
    border: none;
    width: 100%;
    display: block;
    background: #262626;
    padding: 8% 0;
    margin: 10% auto 0;
    color: #fff;
    letter-spacing: 1px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition-delay: 0s !important;
    border-radius: 4px;
    box-shadow: 0 0 0 0 #222 inset;
    -o-transition: all 0.15s ease-in;
    -webkit-transition: all 0.15s ease-in;
    -moz-transition: all 0.15s ease-in;
    transition: all 0.15s ease-in;
  }
  .contact .submits input[type=submit].return {
    background: #ddd;
    color: #222;
  }
  .contact .submits input[type=submit]:hover {
    background: #fff;
    color: #222;
    box-shadow: 0 0 0 2px #222 inset;
  }
  .contact.thanks {
    border-bottom: none;
  }
  .contact.thanks .inner {
    padding-bottom: 15% !important;
    text-align: center;
  }
  .contact.thanks p {
    font-size: 1.1rem;
    line-height: 2;
  }
  .contact.thanks p.btn {
    margin-top: 10%;
  }
  .contact.thanks p.btn a {
    text-align: center;
    width: 80%;
    display: block;
    background: #262626;
    padding: 4% 0;
    margin: 0 auto;
    color: #fff;
    letter-spacing: 1px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    -o-transition: all 0.15s ease-in;
    -webkit-transition: all 0.15s ease-in;
    -moz-transition: all 0.15s ease-in;
    transition: all 0.15s ease-in;
    border-radius: 4px;
    position: relative;
  }
  .contact.thanks p.btn a:hover {
    background: #006834;
  }

  .media {
    background: white;
    padding-bottom: 15%;
  }
  .media .inner {
    padding-bottom: 0 !important;
  }
}
@media screen and (max-width: 767px) and (min-width: 768px) {
  .media .inner {
    width: 1160px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 767px) and (max-width: 767px) {
  .media .inner {
    padding: 10% 5%;
  }
}
@media screen and (max-width: 767px) {
  .media .inner .text {
    margin: 0 auto;
    text-align: left;
  }
  .media .inner .text p {
    font-size: 1.2rem;
    margin-bottom: 8%;
    line-height: 1.8;
  }
  .media .inner .btn {
    margin-top: 50px;
  }
  .media .inner .btn a {
    text-align: center;
    width: 300px;
    display: block;
    background: #262626;
    padding: 15px 0;
    margin: 0 auto;
    color: #fff;
    letter-spacing: 1px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    -o-transition: all 0.15s ease-in;
    -webkit-transition: all 0.15s ease-in;
    -moz-transition: all 0.15s ease-in;
    transition: all 0.15s ease-in;
    border-radius: 4px;
    position: relative;
  }
  .media .inner .btn a:hover {
    background: #006834;
  }

  #content02 .inner {
    padding-bottom: 0 !important;
  }
}
@media screen and (max-width: 767px) and (min-width: 768px) {
  #content02 .inner {
    width: 1160px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 767px) and (max-width: 767px) {
  #content02 .inner {
    padding: 10% 5%;
  }
}
@media screen and (max-width: 767px) {
  #content02 .btn a {
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 5%;
    border: 2px solid #222;
    text-align: center;
  }
  #content02 .btn a:hover {
    background: #222;
    color: #fff;
    text-decoration: none;
  }

  #content03 .inner {
    padding-bottom: 10% !important;
  }
}
@media screen and (max-width: 767px) and (min-width: 768px) {
  #content03 .inner {
    width: 1160px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 767px) and (max-width: 767px) {
  #content03 .inner {
    padding: 10% 5%;
  }
}
