/*
Theme Name: LEGEND CARS JAPAN
Theme URI: http://legendcarsjapan.com/
Description: レジェンドカージャパンのテーマ
Version: 1.0
Author: LEGEND CARS JAPAN
Author URI: 
License:
License URI:
*/
@charset "utf-8";
html, body {
  width: 100%;
  height: 100%;
}
html {
  overflow-y: scroll;
}
body {
  font-family: "Libre Baskerville", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
  font-weight: normal;
  text-align: center;
  color: #fff;
  background-color: #161d26;
}
h1, h2, h3, h4, h5, h6, th, em, address {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-weight: normal;
  font-style: normal;
}
a, a:visited {
  color: #fff;
  text-decoration: none;
}
a:hover {
  color: #52b4ff;
  text-decoration: underline;
}
a:focus {
  outline: none;
}
img {
  border: none;
  vertical-align: middle;
}
ul, ol, dl {
  margin: 0;
  padding: 0;
  list-style: none;
}
dt {
  margin: 0 0 0.5em;
}
dd {
  margin: 0 0 1em;
}
.cf:before, .cf:after {
  content: "";
  display: table
}
.cf:after {
  clear: both
}
.cf {
  zoom: 1
} /* For IE 6/7 */
/**/
.linktext {
  padding-left: 16px;
  text-decoration: underline !important;
  background: url("images/arrow-text.png") 0 50% no-repeat;
}
.linktext a, .link {
  text-decoration: underline !important;
}
.subTitle, .categoryHead {
  font-family: "Bitter", sans-serif;
}
.listDisc {
  margin: 0 0 1em 1.5em !important;
  list-style-type: disc !important;
}
.categoryHead {
  margin: 0 0 0.5em !important;
  padding: 0.25em;
  background: #373d45;
}
.categoryHead span {
  font-family: sans-serif !important;
}
#wrapper {
  margin: 0 auto;
  width: 100%;
  height: 100%;
}
.section {
  clear: both;
  overflow: hidden;
  margin: 0 0 30px;
  border: 1px solid #5c6168;
  background: #262d35;
}
#header, #footer {
  clear: both;
  width: 100%;
}
#footer {
  background-color: #373d45;
}
#main {
  margin: 0 auto 30px;
  text-align: left;
}
.contentBox {
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  text-align: left;
  background: #fff;
}
.rdBox {
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}
#copyright {
  width: 100%;
  line-height: 4;
  text-align: center;
}
#copyright p {
  margin: 0 auto;
  font-size: 12px;
}
.text em {
  font-weight: bold;
  font-style: normal;
}
#news li, .list li {
  border-bottom: 1px solid #4d4d4d;
}
.date {
  color: #d6d6d6;
  font-size: 11px;
}
.pageNavi {
  margin: 0 auto;
  text-align: center;
}
.article p a {
  /*  padding: 10px 0;
  padding-left: 16px;*/
  text-decoration: underline;
  /*  background: url("images/arrow-gnavi.png") 0 50% no-repeat;*/
}
.table1 {
  margin: 0 0 20px;
}
.table1 caption {
  text-align: left;
  border-bottom: 1px solid #d2d2d2;
}
.table1 .price {
  text-align: right;
}
.table2 {
  margin: 0 0 20px;
  width: 100%;
  border-collapse: collapse;
}
.table2 th {
  padding: 4px;
  font-weight: bold;
  border: 2px solid #ff7010;
  background: #161d26;
}
.table2 td {
  padding: 2px 12px;
  color: #ff7010;
}
.table3 {
  margin: 0 0 20px;
  width: 100%;
  border-collapse: collapse;
}
.table3 th, .table3 td {
  padding: 12px 4px;
  border: 1px solid #d2d2d2;
  text-align: center;
}
.colorange {
  font-weight: bold;
  color: #333;
  background-color: #fdc51b;
}
.colred {
  font-weight: bold;
  background-color: #ee112b;
}
.list1 {
  margin-bottom: 2em;
  list-style-type: square !important;
  margin-left: 1em;
  padding-left: 0.5em;
}
#contact dt {}
#contact .formButtonBox {
  margin: 0 0 30px;
  padding: 10px;
  text-align: center;
  border: 1px solid #ff7010;
  background: #5c6168;
}
#contact .table2 td {
  font-size: 20px;
  font-weight: bold;
}
@media screen and (max-width: 479px) {
  .photo2box {
    margin: 0 3% 10px;
    width: 94%;
  }
  .photo2box li {
    margin: 0 auto 10px;
    width: 98%;
    text-align: center;
  }
  .photo2box li img {
    margin: 0 auto;
    width: 100%;
  }
  .photo3box {
    margin: 0 3% 10px;
    width: 94%;
  }
  .photo3box li {
    margin: 0 auto 10px;
    width: 49%;
    text-align: center;
  }
  .photo3box li img {
    margin: 0 auto;
    width: 100%;
  }
  .photo3box li:nth-child(odd) {
    clear: left;
    float: left;
  }
  .photo3box li:nth-child(even) {
    float: right;
  }
}
@media screen and (max-width: 739px) {
  /*
  LAYOUT
*/
  #main, #header .inner, #footer .inner {
    margin: 0 5%;
    width: 90%;
  }
  #main {
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.8;
  }
  #contents, #aside {
    margin: 0 2% 30px;
    width: 96%;
  }
  .contentBox {
    margin: 0 4%;
    width: 92%;
  }
  .section div {
    margin: 2%;
  }
  /*
  HEADER
*/
  #header {
    width: 100%;
    text-align: center;
    height: 100px;
    border-bottom: 2px solid #ff7010;
  }
  .home #logo a {
    display: block;
    margin: 0 auto;
    width: 200px;
    height: 100px;
    background: url("images/logo_sp_index.png") 50% 50% no-repeat;
  }
  .home #logo img {
    display: none;
  }
  .home #header {
    padding-bottom: 100px !important;
  }
  .home #header #logo {
    position: relative;
    top: 50px;
  }
  /*slicknavi*/
  #globalNavi {
    display: none;
  }
  .slicknav_menu {
    margin-bottom: 30px;
  }
  .home .slicknav_menu {
    margin-bottom: 0 !important;
  }
  .slicknav_menu li a {
    font-size: 18px;
    line-height: 24px;
    font-family: 'Oswald', sans-serif;
    color: #fff;
  }
  .slicknav_menu li span {
    display: none;
  }
  .mean-container {
    float: right;
  }
  .mean-container a.meanmenu-reveal {
    color: #f9f9fa !important;
  }
  /*
  FOOTER
*/
  #footLogo {
    margin: 0 auto;
    padding: 20px 0;
  }
  #footLogo h3 {
    font-size: 20px;
    font-weight: bold;
  }
  #footNavi {
    overflow: hidden;
    text-align: center;
  }
  #footNavi ul {
    width: 100%;
    text-align: center;
  }
  #footNavi li {
    padding: 10px;
    display: -moz-inline-box;
    display: inline-block;
    /display: inline;
    /zoom: 1;
    font-size: 12px;
  }
  #footNavi li a {
    padding-left: 12px;
    background: url("images/arrow-gnavi.png") 0 50% no-repeat;
  }
  .footAdd {
    font-size: 12px;
    font-style: normal;
  }
  .footAdd .phone {
    display: none;
  }
  .footAdd .phoneLink a {
    display: block;
    margin: 0 auto;
    width: 60%;
    padding: 4px;
    color: #fff !important;
    font-weight: bold;
    border: 3px solid #ff7010;
    background: #161d26;
  }
  .footAdd .phoneLink a span {
    font-size: 16px;
    letter-spacing: 1px;
  }
  /*
  SIDE
*/
  #aside {
    text-align: center;
  }
  #aside .fb-page {
    display: none;
  }
  /*
  COMMON
*/
  #contents img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .subTitle {
    margin: 0 0 20px;
    padding: 5px 0;
    width: 100%;
    font-size: 24px;
    text-align: center;
    border-bottom: 2px solid #ff7010;
  }
  h2.heading {
    font-size: 18px;
  }
  .categoryHead {
    margin: 0 auto 0.5em;
    font-size: 18px;
    text-align: center;
  }
  .categoryHead span {
    display: block;
    margin: 4px auto;
    text-align: center;
    font-size: 12px;
  }
  .text, dl {
    margin: 0 5% 1em;
    width: 90%;
  }
  .comment {
    margin: 0 10px 1em;
    text-align: left;
  }
  .photo720 {
    margin: 0 4% 5px;
  }
  .photo720 img {
    width: 100%;
    height: auto;
  }
  .photo-half {
    width: 50% !important;
    height: auto;
  }
  td img, dt img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .table1, .table2 {
    margin: 0 auto 20px;
    width: 100%;
    border-collapse: collapse;
  }
  .table1 caption, .table1 th, .table1 td {
    display: block;
  }
  .table1 caption, .table1 th {
    padding: 10px 5px;
    font-size: 15px;
  }
  .table1 td {
    padding: 0 5px 10px 5px;
    border-bottom: 1px solid #d2d2d2;
  }
  .table2, .table2 th, .table2 td {
    display: block;
  }
  .photo2box {
    margin: 0 3% 10px;
    width: 94%;
  }
  .photo2box li {
    margin: 0 auto 10px;
    width: 98%;
    text-align: center;
  }
  .photo2box li img {
    margin: 0 auto;
    width: 100%;
  }
  .photo3box {
    margin: 0 3% 10px;
    width: 94%;
  }
  .photo3box li {
    margin: 0 auto 10px;
    width: 49%;
    text-align: center;
  }
  .photo3box li img {
    margin: 0 auto;
    width: 100%;
  }
  .photo3box li:nth-child(odd) {
    clear: left;
    float: left;
  }
  .photo3box li:nth-child(even) {
    float: right;
  }
  .photo3box h3 {
    font-size: 15px;
    font-weight: bold;
  }
  /*
  INDEX
*/
  #mainVisual {
    margin: 0 0 20px;
    width: 100%;
    overflow: hidden;
  }
  #mainVisual li {
    height: 180px;
  }
  #mainVisual li img {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .movie {
    margin-bottom: 20px;
    position: relative;
    width: 100%;
    padding-top: 56.25%;
  }
  .movie iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
  }
  /*
  NEWS
*/
  #news li, .list li {
    margin: 0 auto 20px;
    padding: 10px 0;
    overflow: hidden;
  }
  .thumb {
    float: left;
    margin: 0 0 20px;
    width: 90px;
    height: 60px;
    overflow: hidden;
  }
  .home .date, .archive .date {
    margin: 0 0 10px 100px !important;
  }
  .date {
    margin: 0 0 10px;
    padding: 4px;
    width: 80px;
    text-align: center;
    background: #282f37;
  }
  .list h3 {
    margin: 0 0 0 100px;
  }
  #news h3 a, .list h3 a {
    font-size: 14px;
  }
  .subject {
    margin: 0 0 1em;
    font-size: 18px;
  }
  /*
  CONTACT
*/
  #contact dl {
    margin: 20px 0;
    width: 100% !important;
  }
  #contact dt {
    margin: 0 0 4px;
    padding: 4px;
  }
  #contact dt em {
    padding-right: 1em;
    font-size: 15px;
    font-weight: bold;
  }
  #contact span.error, #contact dt span {
    font-size: 11px;
    color: #FF3E11;
  }
  #contact dt span {
    display: block;
    margin: 5px 0;
    padding: 3px;
    width: 120px;
    font-size: 11px;
    text-align: center;
    border: 1px solid #fff;
  }
  #contact dd {
    margin: 0 0 20px;
  }
  #contact input[type=text], #contact input[type=email], #contact textarea {
    padding: 4px;
    width: 100% !important;
  }
}
@media screen and (min-width: 740px) {
  /*
  LAYOUT
*/
  #main, #header .inner, #footer .inner {
    margin: 0 auto;
    width: 980px;
  }
  #main {
    overflow: hidden;
    padding: 30px 0;
    font-size: 14px;
    line-height: 1.8;
  }
  #main .inner {
    margin: 0 0 30px;
  }
  #contents {
    float: left;
    width: 720px;
    text-align: left;
  }
  .section {
    margin-bottom: 30px;
  }
  .section div {
    margin: 20px;
  }
  /*
  HEADER
*/
  #header {
    position: relative;
    z-index: 1000;
    border-bottom: 2px solid #ff7010;
    background-color: #161d26;
  }
  #logo {
    float: left;
    margin-top: 20px;
  }
  /*slicknav*/
  .slicknav_menu {
    display: none;
  }
  #globalNavi {
    margin-left: 160px;
    height: 120px;
    line-height: 120px;
    verrical-align: middle;
  }
  #globalNavi ul#menu-globalnavi {
    padding-top: 25px;
  }
  .menu-item-home {
    display: none;
  }
  #globalNavi li {
    float: left;
  }
  #globalNavi li a {
    display: block;
    margin-left: 10px;
    height: 40px;
    font-size: 15px;
    line-height: 40px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    text-align: left;
    color: #fff;
    padding: 10px 12px;
    background: #161d26 url("images/arrow-gnavi.png") 2px 50% no-repeat;
  }
  #globalNavi a:hover {
    color: #ff7010;
    text-decoration: none;
    background: #fff url("images/arrow-gnavi.png") 2px 50% no-repeat;
  }
  #globalNavi a span {
    padding-left: 1em;
    font-size: 12px;
  }
  /*MultiLevel*/
  #globalNavi ul ul {
    display: none;
  }
  #globalNavi ul ul li a {
    display: block;
    margin-top: -1px;
    height: 30px !important;
    font-size: 14px;
    line-height: 30px !important;
    border: 1px solid #fff;
  }
  #globalNavi ul ul li a:hover {
    background: #fff url("images/arrow-gnavi.png") 0 50% no-repeat;
  }
  .home #globalNavi ul ul li a {
    background: #161d26 url("images/arrow-gnavi.png") 2px 50% no-repeat !important;
  }
  #globalNavi ul li:hover > ul {
    display: block;
    position: absolute;
  }
  #globalNavi ul li:hover li {
    float: none !important;
  }
  /*
  FOOTER
*/
  #footer .inner {
    padding: 20px 0;
  }
  #footLogo {
    float: left;
    width: 220px;
    text-align: left;
  }
  #footLogo h3 {
    margin: 0;
    font-size: 16px;
  }
  #footLogo p {
    margin: 0;
  }
  #footNavi {
    margin-left: 240px;
    text-align: left;
  }
  #footNavi li {
    float: left;
    padding: 0 18px 0 0;
  }
  #footNavi a {
    padding-left: 16px;
    font-size: 12px;
    background-image: url("images/arrow-gnavi.png");
    background-position: 0 4px;
    background-repeat: no-repeat;
  }
  .footAdd {
    text-align: left;
    font-size: 14px;
  }
  .footAdd address, .footAdd p {
    margin: 0;
    font-style: normal;
  }
  .footAdd .phoneLink {
    display: none;
  }
  /*
  SIDE
*/
  #aside {
    float: right;
    width: 220px;
  }
  #aside li {
    margin: 0 0 30px !important;
  }
  #aside .fb-page {}
  /*
  COMMON
*/
  .sp {
    display: none;
  }
  .comment {
    margin: 0 10px 10px;
    padding: 0;
    text-align: left;
  }
  .photo720 {
    margin: 0 auto 20px;
    text-align: center;
  }
  .pageTitle {
    margin: 0 auto 10px;
    padding: 5px 0;
    width: 640px;
    font-size: 24px;
    font-weight: bold;
    color: #00b41e;
    border-bottom: 2px solid #00b41e;
  }
  .pageTitle span {
    font-size: 16px;
    font-weight: bold;
  }
  .pageTitle a {
    color: #00b41e;
  }
  .subTitle {
    margin: 0 0 20px;
    padding: 4px 0;
    font-size: 24px;
    font-weight: bold;
    border-bottom: 2px solid #ff7010;
  }
  .categoryHead {
    margin: 0;
    font-size: 18px;
  }
  .categoryHead span {
    padding-left: 1em;
    font-size: 14px;
  }
  .photo3box {
    margin: 0 0 20px;
    overflow: hidden;
  }
  .photo3box li {
    float: left;
    padding-bottom: 6px;
  }
  .photo3box li:nth-child(2), .photo3box li:nth-child(5), .photo3box li:nth-child(8), .photo3box li:nth-child(11) {
    margin: 0 5px;
  }
  .photo3box li:nth-child(4), .photo3box li:nth-child(7), .photo3box li:nth-child(10), .photo3box li:nth-child(13) {
    clear: left;
    float: left;
  }
  .photo2box {
    margin: 0 0 20px;
  }
  .photo2box li {
    padding-bottom: 40px;
    text-align: center;
  }
  .photo2box li iframe {
    margin: 0 auto;
  }
  .photo2box li:nth-child(odd) {
    clear: left;
    float: left;
  }
  .photo2box li:nth-child(even) {
    float: right;
  }
  .table1 {
    width: 100%;
    border-collapse: collapse;
  }
  .table1 caption, .table1 th, .table1 td {
    padding: 10px 5px;
    border-bottom: 1px solid #d2d2d2;
  }
  .table1 th {
    white-space: nowrap;
    text-align: center;
  }
  /*
  INDEX
*/
  .home #header {
    height: 500px;
  }
  .home #globalNavi a {
    background-color: transparent !important;
  }
  .home #globalNavi a:hover {
    color: #ff7010;
    text-decoration: none;
    background-color: #fff !important;
  }
  #mainVisual {
    margin: 0 0 30px;
    width: 100%;
    height: 300px;
    overflow: hidden;
  }
  #mainVisual li {
    height: 300px;
  }
  #mainVisual li img {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  #introduction .left {
    float: left;
    margin: 0 20px 20px 0;
  }
  #introduction .right {
    float: right;
    margin: 0 0 20px 20px;
  }
  /*
  NEWS
*/
  #news li, .list li {
    margin: 0 0 20px;
    padding: 20px 0;
  }
  .thumb {
    float: left;
    width: 120px;
    height: 80px;
    overflow: hidden;
  }
  .date {
    margin: 0 0 10px;
    padding: 4px;
    width: 80px;
    text-align: center;
    background: #282f37;
  }
  .list .date, /*#news h3,*/ .list h3 {
    margin-left: 150px !important;
  }
  #news h3 a, .list h3 a {
    font-size: 16px;
  }
  .subject {
    margin: 0 0 20px;
  }
  .subject h3 {
    /*  margin-left:110px;*/
    font-size: 24px !important;
  }
  .single img {
    max-width: 720px;
    height: auto;
  }
  /*
  CONTACT
*/
  #contact dl {
    margin: 0 0 30px;
  }
  #contact dt {
    clear: left;
    float: left;
    margin: 0;
    width: 220px;
  }
  #contact dt em {
    font-size: 15px;
    font-weight: bold;
  }
  #contact span.error, #contact dt span {
    font-size: 11px;
    color: #FF3E11;
  }
  #contact dt span {
    display: block;
    margin-top: 6px;
    padding: 3px;
    width: 120px;
    text-align: center;
    border: 1px solid #fff;
  }
  #contact dd {
    margin: 0 0 0 240px;
    padding-bottom: 50px;
  }
  #contact input[type=text], #contact input[type=email], #contact textarea {
    width: 400px;
  }
  .form .submit {
    margin: 0 30px 30px;
    padding: 10px;
    text-align: center;
    border: 1px solid #ff7010;
    background: #5c6168;
  }
}
.photogallery{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
@media screen and (max-width: 479px) {
    .photogallery li{
        margin: 0 auto 20px;
    }
    .photogallery li a img{
        width: 100%;
        height: auto;
    }
}
@media screen and (min-width: 480px) {
    .photogallery li{
        margin: 0 auto 20px;
        width: 49%;
    }
    .photogallery li a img{
        max-width: 300px;
        height: auto;
    }
}