/*
Theme Name: Tokyo Megane Theme
Theme URI: 
Author: the WordPress team
Author URI: 
Description: 
Tags: 
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tokyomeganetheme
*/
* {
  box-sizing: border-box;
}
body,
input,
select,
textarea {
  font-family: "Raleway", sans-serif;
  font-style: normal;
  font-optical-sizing: auto;
  font-variant-numeric: lining-nums;
  -moz-font-feature-settings: "lnum" 1;
  -moz-font-feature-settings: "lnum=1";
  -ms-font-feature-settings: "lnum" 1;
  -o-font-feature-settings: "lnum" 1;
  -webkit-font-feature-settings: "lnum" 1;
  font-feature-settings: "lnum" 1;
}
body {
  margin: 0;
  line-height: 1.5;
  font-family: "Noto Sans JP", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}
h2 {
  color: #073657;
}
p {
  line-height: 1.4;
}
img {
  display: block;
}
.img-responsive {
  max-width: 100%;
  height: auto;
}
.img-full {
  width: 100%;
}
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
main section,
#main_footer,
#vision_test_contact_us {
  padding-top: 40px;
  padding-bottom: 40px;
}
@media (max-width:767px) {
  main section, #main_footer, #vision_test_contact_us {
    padding-top: 8vw;
    padding-bottom: 8vw;
  }
}

/* TITLE STYLE */
.right_line-title {
  position: relative;
}
.right_line-title:after {
  position: absolute;
  content: "";
  width: calc(100% - 300px);
  height: 1px;
  background-color: #073657;
  top: 50%;
  right: 0;
  transform: translate(0, -50%);
}
.right_line-title span {
  position: relative;
  background: #fff;
  z-index: 999;
}
#bangkok_store .right_line-title:after {
  width: calc(100% - 425px);
}
@media (max-width:767px) {
  .right_line-title {
    font-size: 5vw;
  }
}

/* BANNER PAGE */
.banner_page {
  background: #171a26;
  height: 350px;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.banner_page::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgb(255 255 255 / 40%);
}
.banner_page .title_page {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
}
.banner_page .title_page h1 {
  position: relative;
  font-size: 40px;
  color: #fff;
  font-weight: 700;
  text-shadow: 2px 2px 0 #000, -2px 2px 0 #000, 2px -2px 0 #000, -2px -2px 0 #000, 0px 2px 0 #000, 0px -2px 0 #000, -2px 0px 0 #000, 2px 0px 0 #000, 3px 3px 0 #000, -3px 3px 0 #000, 3px -3px 0 #000, -3px -3px 0 #000, 0px 3px 0 #000, 0px -3px 0 #000, -3px 0px 0 #000, 3px 0px 0 #000, 2px 3px 0 #000, -2px 3px 0 #000, 2px -3px 0 #000, -2px -3px 0 #000, 3px 2px 0 #000, -3px 2px 0 #000, 3px -2px 0 #000, -3px -2px 0 #000;
  margin-bottom: 0;
}
@media (max-width:767px) {
  .banner_page {
    height: 40vw;
  }
  .banner_page .title_page h1 {
    font-size: 8vw;
  }
}

/* HOME PAGE */
main.home_site section:nth-child(odd) {
  background-color: #e6f1f5;
}
main.home_site section h2 {
  text-align: center;
}
h2.home_box-title {
  position: relative;
  margin-left: 200px;
  margin-right: 200px;
  text-align: center;
  margin-bottom: 40px;
  color: #073657;
}
h2.home_box-title:before,
h2.home_box-title:after {
  position: absolute;
  content: "";
  width: 200px;
  height: 3px;
  background-color: #073657;
  top: 50%;
  transform: translate(0, -50%);
}
h2.home_box-title:before {
  left: -200px;
}
h2.home_box-title:after {
  right: -200px;
}
.home_box-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border-radius: 15px;
  border: 2px solid #073657;
  overflow: hidden;
}
.home_box-list .home_box-item {
  padding: 10px 5px;
}
#tm_trusted_choice .home_box-list .home_box-item:nth-child(odd),
#glasses_safety_system .home_box-list .home_box-item:nth-child(even) {
  background-color: #073657;
  color: #fff;
}
#tm_trusted_choice .home_box-list .home_box-item:nth-child(even),
#glasses_safety_system .home_box-list .home_box-item:nth-child(odd) {
  background-color: #fff;
}
.home_box-list .home_box-item img {
  max-width: 100px;
  width: 100%;
  margin: 0 auto 15px;
}
#glasses_safety_system .home_box-list .home_box-item img {
  margin: 0 auto 30px;
}
.home_box-list .home_box-item h3,
.home_box-list .home_box-item p {
  text-align: center;
}
.home_box-list .home_box-item h3 {
  font-size: 18px;
}
.home_box-list .home_box-item p {
  font-size: 14px;
}
#glasses_safety_system .home_box-list .home_box-item h3,
.home_box-list .home_box-item p {
  margin-bottom: 0;
}
.guide_choosing-title {
  display: grid;
  grid-template-columns: 1fr 100px;
  grid-column-gap: 20px;
  margin-bottom: 30px;
}
.guide_choosing-title h2 {
  color: #fff;
  background-color: #073657;
  height: 100%;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  margin-bottom: 0;
  align-content: center;
}
.guide_choosing-list .guide_choosing-item {
  display: grid;
  grid-template-columns: 1fr 250px;
  grid-column-gap: 20px;
  margin-bottom: 40px;
}
.guide_choosing-list .guide_choosing-item:last-child {
  margin-bottom: 0;
}
.guide_choosing-list .guide_choosing-item .guide_choosing-detail h3 {
  font-size: 20px;
  color: #073657;
  margin-bottom: 10px;
}
.guide_choosing-list .guide_choosing-item .guide_choosing-detail p {
  text-indent: 50px;
}
@media (max-width:767px) {
  h2.home_box-title {
    margin-left: 0;
    margin-right: 0;
    padding-left: 10vw;
    padding-right: 10vw;
    margin-bottom: 6vw;
    font-size: 5vw;
  }
  h2.home_box-title:before,
  h2.home_box-title:after {
    width: 10vw;
  }
  h2.home_box-title:before {
    left: 0;
  }
  h2.home_box-title:after {
    right: 0;
  }
  .home_box-list {
    grid-template-columns: 1fr 1fr;
  }
  .home_box-list .home_box-item {
    padding: 5vw 3vw;
  }
  #tm_trusted_choice .home_box-list .home_box-item:nth-child(1), 
  #glasses_safety_system .home_box-list .home_box-item:nth-child(2) {
    border-bottom: 2px solid #fff;
  }
  #tm_trusted_choice .home_box-list .home_box-item:nth-child(2),
  #glasses_safety_system .home_box-list .home_box-item:nth-child(1) {
    border-bottom: 2px solid #073657;
  }
  .home_box-list .home_box-item img {
    max-width: 20vw;
  }
  #glasses_safety_system .home_box-list .home_box-item img {
    margin: 0 auto 3vw;
  }
  .home_box-list .home_box-item h3 {
    font-size: 4vw;
    margin-bottom: 2vw;
  }
  .home_box-list .home_box-item p {
    font-size: 3.5vw;
  }
  .guide_choosing-title {
    grid-template-columns: 1fr 15vw;
    grid-column-gap: 5px;
    margin-bottom: 6vw;
  }
  .guide_choosing-title h2 {
    font-size: 3.5vw;
  }
  .guide_choosing-list .guide_choosing-item {
    grid-template-columns: 1fr;
    margin-bottom: 6vw;
  }
  .guide_choosing-list .guide_choosing-item .guide_choosing-detail h3 {
    font-size: 5vw;
  }
  .guide_choosing-list .guide_choosing-item .guide_choosing-detail p {
    font-size: 3vw;
  }
}

/* EYE TEST */
.eyesight_test-content {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  grid-column-gap: 30px;
}
.eyesight_test-content .eyesight_test-detail p {
  color: #073657;
}
@media (max-width:767px) {
  .eyesight_test-content {
    grid-template-columns: 1fr;
    grid-row-gap:30px ;
  }
  .eyesight_test-detail h2 {
    font-size: 5vw;
  }
  .eyesight_test-content .eyesight_test-detail p {
    font-size: 3.5vw;
  }
}

/* PRODUCT */
.merchandise-list .merchandise-item {
  margin-top: 50px;
  margin-bottom: 50px;
}
.merchandise-item:last-child {
  margin-bottom: 0;
}
.merchandise-item .merchandise-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 40px;
}
.merchandise-item .merchandise-content .merchandise-detail {
  align-content: center;
}
.merchandise-item .merchandise-content .merchandise-detail p {
  text-align: center;
}
@media (max-width:767px) {
  .merchandise-item .merchandise-content {
    grid-template-columns: 1fr;
  }
  .merchandise-item .merchandise-content .merchandise-detail p { 
    font-size: 3.5vw;
  }
}

/* ABOUT US */
#company_information-des {
  padding-top: 60px;
  padding-bottom: 60px;
  text-align: center;
  font-weight: 600;
}
#company_information-des + section {
  padding-top: 0;
}
#company_information-detail img {
  max-width: 500px;
  margin: 0 auto;
}
#company_information-detail .company_information-list {
  padding-top: 40px;
}
#company_information-detail .company_information-item {
  display: grid;
  grid-template-columns: 145px 1fr;
}
#company_information-detail .company_information-item .company_information-title {
  font-weight: 600;
}
#company_information-detail .company_information-item .company_information-data {
  display: grid;
  grid-template-columns: 20px 1fr;
  grid-gap:20px ;
}
.store_information-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 40px;
}
@media (max-width:767px) {
  .store_information-list {
    grid-gap:15px;
  }
  #company_information-des {
    padding-top: 10vw;
    padding-bottom: 10vw;
    font-size: 3.5vw;
  }
  #company_information-detail img { 
    max-width: 100%;
  }
  #company_information-detail .company_information-item {
    grid-template-columns: 30vw 1fr;
  }
  #company_information-detail .company_information-item .company_information-title,
  #company_information-detail .company_information-item .company_information-data {
    font-size: 3.5vw;
  }
  #company_information-detail .company_information-item .company_information-data {
    grid-template-columns: 12px 1fr;
    grid-gap: 1.5vw;
  }
  #tokyo_megane_group p {
    font-size: 3.5vw;
  }
}

/* ACCESS */
.bangkok_store-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}
.bangkok_store-detail .bangkok_store-text {
  align-self: center;
}
.store_staff-detail {
  display: grid;
  grid-template-columns: 180px 1fr;
  grid-gap: 15px;
  align-items: center;
}
.store_staff-detail .store_staff-text h3 {
  color: #073657;
}
.store_staff-detail .store_staff-text p {
  margin-bottom: 0;
}
@media (max-width:767px) {
  .bangkok_store-detail {
    grid-template-columns: 1fr;
  }
  .store_staff-detail  {
    grid-template-columns: 0.5fr 1fr;
  }
  .bangkok_store-detail .bangkok_store-text p {
    font-size: 3.5vw;
  }
  .store_staff-detail .store_staff-text h3 {
    font-size: 4vw;
  }
  .store_staff-detail .store_staff-text p {
    font-size: 3.5vw;
  }
}

/* Footer Main Side */
#main_footer .main_footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 50px;
}
#main_footer .main_footer-content .main_footer-detail {
  align-content: center;
}
#main_footer .main_footer-content .main_footer-detail p,
#main_footer .main_footer-content .main_footer-detail a {
  text-align: center;
}
#main_footer .main_footer-content .main_footer-detail p {
  color: #073657;
  font-weight: 600;
}
#main_footer .main_footer-content .main_footer-detail a {
  display: block;
  background-color: #e6872f;
  color: #fff;
  max-width: 150px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 10px;
  border-radius: 20px;
  text-decoration: none;
}
@media (max-width:767px) {
  #main_footer .main_footer-content {
    grid-template-columns: 1fr;
    grid-row-gap:5vw;
  }
  #main_footer .main_footer-content .main_footer-detail p {
    font-size: 3vw;
  }
  #main_footer .main_footer-content .main_footer-detail a {
      padding: 3vw 2vw;
      font-size: 3.5vw;
  }
}

/* Contact */
#contact_des p {
  margin-bottom: 0;
}
.contact_box {
  background-color: #073657;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 15px;
}
.contact_box > p {
  color: red;
  margin-bottom: 30px;
}
@media (max-width:767px) {
  .contact_box {
    padding: 4vw;
  }
  #contact_des p,
  .contact_box > p { 
    font-size: 3.5vw;
  }
}

/* FOOTER */
footer {
  background-color: #073657;
  padding-top: 20px;
}
footer .brands_select h3 {
  color: #fff;
  text-align: center;
}
footer .brands_select .footer_tabs {
}
footer .brands_select .footer_tabs-btn {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin-bottom: 20px;
  border: 1px solid #fff;
}
footer .brands_select .footer_tabs-btn .tab-btn {
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  background-color: #225478;
  cursor: pointer;
}
footer .brands_select .footer_tabs-btn .tab-btn.active,
footer .brands_select .footer_tabs-btn .tab-btn:hover {
  background-color: #073657;
  font-weight: 700;
}
footer .brands_select .footer_tabs-content {
  display: none;
  margin-bottom: 30px;
}
footer .brands_select .footer_tabs-content.active {
  display: block;
}
footer .brands_select .footer_tabs-content .footer_tabs-content-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-column-gap: 10px;
}
footer .footer_content {
  display: grid;
  grid-template-columns: 1fr 140px 1fr;
  grid-gap: 60px;
}
footer .footer_content .footer_location {
  color: #fff;
  text-align: center;
}
footer .footer_content .footer_location img {
  width: 200px;
  margin: 0 auto;
}
footer .footer_content .footer_location p {
  font-size: 12px;
}
footer .footer_content nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
footer .footer_content nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
footer .copyright {
    display: block;
    text-align: center;
    color: #fff;
    border-top: 1px solid #fff;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 20px;
    font-size: 14px;
}
@media (max-width:767px) { 
  footer .footer_content {
      grid-template-columns: 1fr;
      grid-gap: 20px;
  } 
  footer .footer_content nav {
    display: none;
  }
  footer .brands_select h3 {
    font-size: 4.5vw;
  }
  footer .brands_select .footer_tabs-btn {
    grid-template-columns: 1fr 1fr;
  }
  footer .brands_select .footer_tabs-btn .tab-btn {
    font-size: 4vw;
  }
  footer .brands_select .footer_tabs-content .footer_tabs-content-list {
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 2vw;
  }
  footer .copyright {
    font-size: 3vw;
  }
}

/* CONTACT FORM 7 */
.contact_form .contact_form-field {
  display: grid;
  grid-template-columns: 150px 1fr;
  grid-gap: 40px;
  margin-bottom: 30px;
}
.contact_form .contact_form-field .contact_form-topic {
  color: #fff;
}
.contact_form .contact_form-field .contact_form-topic .required {
  color: red;
}
.contact_form .contact_form-field .contact_form-input input,
.contact_form .contact_form-field .contact_form-input textarea {
  width: 100%;
}
.contact_form .contact_form-submit input {
  width: 125px;
  padding: 15px 10px;
  background-color: #1d82c8;
  color: #fff;
  margin: 0 auto;
  display: block;
  border: none;
  border-radius: 5px;
}
@media (max-width:767px) {
  .contact_form .contact_form-field {
    grid-template-columns: 1fr;
    grid-gap: 1vw;
    margin-bottom: 5vw;
  } 
  .contact_form .contact_form-field .contact_form-topic {
    font-size: 3.5vw;
  }
  .contact_form .contact_form-submit input {
    font-size: 3.5vw;
  }
}


/* GOOGLE MAP */
.google_map {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
}
.google_map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}