/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

img { height: auto; max-width: 100%; }

/*
 * A better looking default horizontal rule
 */


hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* 
	font-family: 'Oleo Script', cursive;
	font-family: 'Quicksand', sans-serif;
	font-family: 'Lobster', cursive;
*/

html { }

body { font-family: 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, sans-serif; }

a { color: #AA241A; }
a:hover { text-decoration: none; color: #AA241A; }

.widget-news a { transition: all 0.2s ease; opacity: 1; }
.widget-news a:hover { opacity: 0.5; }

img { max-width: 100%; }

h1, h2, h3, h4, h5, h6 { font-family: 'Quicksand', sans-serif !important; }

.container { overflow: hidden; }

.carousel-item h2 { font-family: 'Lobster', cursive !important; text-shadow: 2px 2px 3px #000000; font-size: 50px; }
.carousel-item p { text-shadow: 1px 1px 2px #000000; font-size: 20px; }
.carousel-caption { top: 55%; left: 50%; transform: translate(-50%, -50%); width: 100%; }

section.contact-details { background-image: url(../images/bg.jpg); background-repeat: no-repeat; background-size: cover; }
section.contact-details .container { background-color: #ffffff; }

section.container { padding: 30px 0; }
section.contact-details .container { padding: 30px 0; }
section.container.carousel { padding: 30px 0 0 0; }

.telephone { color: #AA241A; font-family: 'Quicksand', sans-serif !important; font-weight: bold; }
.language { color: #000000; padding-left: 25px; background-image: url(../images/en-flag.png); background-size: 21px 21px; background-repeat: no-repeat; background-position: center left; margin-left: 20px; display: inline-block; }
.language a { color: #000000; font-weight: bold; height: 21px; }
.language-ja { color: #000000; padding-left: 25px; background-image: url(../images/ja-flag.png); background-size: 21px 21px; background-repeat: no-repeat; background-position: center left; margin-left: 20px; display: inline-block;}
.language-ja a { color: #000000; font-weight: bold; }

.top-bar { background-color: #ffffff; padding: 12px; line-height: normal;  font-weight: normal; font-size: 15px; }

header.main { width: 100%; height: 125px; position: relative; }
header.main .row { padding: 0px; margin: 0px; }
header.main .container { padding: 0px !important; }

header.main nav { padding: 0px; margin: 0px; }

header.main nav.nav-left { float: left; }
header.main nav.nav-left ul { padding: 0px; margin: 0px; height: 125px; }
header.main nav.nav-left ul li { float: left; list-style: none; margin-right: 30px; width: 220px; height: 100%; } 
header.main nav.nav-left ul li a { display: block; font-size: 20px; text-align: center; color: #000000; margin-top: 35px; font-family: 'Oleo Script', cursive; transition: all 0.3s ease; }
header.main nav.nav-left ul li a:hover { color: #AA241A; text-decoration: none; }
header.main nav.nav-left ul li a span { display: block; font-size: 14px; text-align: center; }

header.main nav.nav-right { float: right; }
header.main nav.nav-right ul { padding: 0px; margin: 0px; height: 125px; }
header.main nav.nav-right ul li { float: right; list-style: none; margin-left: 30px; width: 220px; height: 100%; } 
header.main nav.nav-right ul li a { display: block; font-size: 20px; text-align: center; color: #000000; margin-top: 35px; font-family: 'Oleo Script', cursive; transition: all 0.3s ease; }
header.main nav.nav-right ul li a:hover { color: #AA241A; text-decoration: none; }
header.main nav.nav-right ul li span { display: block; font-size: 14px; text-align: center; }

header.main .logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 150px; height: 103px; }

section.container .text-center h2 { position: relative; font-size: 25px; padding-bottom: 40px; }
section.container .text-center h2 span.border-bottom { background-color: #E7A359; position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); width: 100px; height: 3px; }

.btn { border-radius: 7px; color: #ffffff; background-color: #AA241A; padding-left: 15px; padding-right: 15px; opacity: 1; transition: all 0.3s ease; }
.btn:hover { opacity: 0.6; }

.widget-news header { width: 100%; height: auto; border-bottom: solid 2px #cccccc; position: relative; padding-bottom: 5px; }
.widget-news header span { color: #AA241A; }
.widget-news header h2 { color: #AA241A; padding-top: 3px; font-size: 25px; }
.widget-news header .btn { position: absolute; top: 15px; right: 0; border-radius: 7px; color: #ffffff; background-color: #AA241A; padding-left: 15px; padding-right: 15px; }
.widget-news section { padding-top: 20px; overflow: hidden; }

.widget-news hr {
	width: 100%;
	padding: 0px;
	margin: 10px 0px;
}

footer { padding: 30px 0; }
footer .row { margin-left: 0px; margin-right: 0px; }

.clear-5 { clear: both; width: 100%; height: 5px; display: block; }
.clear-10 { clear: both; width: 100%; height: 10px; display: block; }
.clear-20 { clear: both; width: 100%; height: 20px; display: block; }
.clear-30 { clear: both; width: 100%; height: 30px; display: block; }
.clear-40 { clear: both; width: 100%; height: 40px; display: block; }
.clear-50 { clear: both; width: 100%; height: 50px; display: block; }
.clear-60 { clear: both; width: 100%; height: 60px; display: block; }
.clear-70 { clear: both; width: 100%; height: 70px; display: block; }
.clear-80 { clear: both; width: 100%; height: 80px; display: block; }
.clear-90 { clear: both; width: 100%; height: 90px; display: block; }
.clear-100 { clear: both; width: 100%; height: 100px; display: block; }
.clear-110 { clear: both; width: 100%; height: 110px; display: block; }
.clear-120 { clear: both; width: 100%; height: 120px; display: block; }
.clear-130 { clear: both; width: 100%; height: 130px; display: block; }
.clear-140 { clear: both; width: 100%; height: 140px; display: block; }
.clear-150 { clear: both; width: 100%; height: 150px; display: block; }

.featured-product { margin-top: 10px; text-align: center; display: block; }
.featured-product img { opacity: 1; transition: all 0.3s ease; }
.featured-product img:hover { opacity: 0.6; }
.featured-product h3 { font-size: 22px; margin-top: 15px; }
.featured-product h3 a { color: #000000 !important; }

.footer-links img { opacity: 1; transition: all 0.3s ease; }
.footer-links img:hover { opacity: 0.6; }

/* Slick Slider */

 /* the slides */
  .slick-slide {
    margin: 0 27px;
  }
  /* the parent */
  .slick-list {
    margin: 0 -27px;
  }

.slick-prev:before { color: #cccccc; }
.slick-next:before { color: #cccccc; }

.main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content h6 { color: #AA241A; font-weight: bold; text-align: center; padding-top: 30px; padding-bottom: 30px; } 

.main-content table { width: 100%; }
.main-content table tr:nth-child(odd) { background-color: #cccccc; }
.main-content table tr:nth-child(even) { background-color: #ffffff; }
.main-content table tr td { padding: 8px 15px; }
.main-content table tr td:first-child{ width: 35%; }

.products { padding: 10px 0 30px 0; }
.products .main-content a { color: #000000; }
.products .main-content a:hover { color: #000000; }
.products.grey { background-color: #eeeeee; }
.products a { text-decoration: underline; }

.carousel-inner img { width: 100%; }

label span { background-color: #AA241A; padding: 0px 6px; color: #ffffff; display: inline-block; margin-right: 10px; }
input { width: 100% !important; padding: 10px 10px !important; border-radius: 0px !important; border-color: #333333 !important; }
textarea { width: 100% !important; height: 200px !important; border-radius: 0px !important; border-color: #333333 !important; }

.submit-btn { border-radius: 0px; padding: 10px 36px; font-size: 20px; }

@media screen and (min-width: 1201px) and (max-width: 1450px) {
	.carousel-caption { top: 50%;  }
	.carousel-item h2 { font-size: 40px; }
	.carousel-item p { font-size: 17px; }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
	header.main nav.nav-left ul li { margin-right: 30px; width: 160px;  } 
	header.main nav.nav-right ul li { margin-left: 30px; width: 160px; } 
	.carousel-caption { top: 47%;  }
	.carousel-item h2 { font-size: 40px; }
	.carousel-item p { font-size: 17px; }
}


@media screen and (min-width: 768px) and (max-width: 991px) {
	header.main nav.nav-left ul li { margin-right: 28px; width: 100px;  } 
	header.main nav.nav-right ul li { margin-left: 28px; width: 100px; }
	.carousel-caption { top: 44%;  }
	.carousel-item h2 { font-size: 35px; }
	.carousel-item p { font-size: 16px; }
}

@media screen and (min-width:550px) and (max-width: 767px) {
	header.main nav.nav-left ul li { margin-right: 16px; width: 80px;  } 
	header.main nav.nav-right ul li { margin-left: 16px; width: 80px; } 
	
	header.main nav.nav-left ul li a { font-size: 16px; margin-top: 35px; }
	header.main nav.nav-left ul li a span { font-size: 13px; }
	
	header.main nav.nav-right ul li a { font-size: 16px; margin-top: 35px; }
	header.main nav.nav-right ul li a span { font-size: 13px; }
	
	section.container { padding: 30px 30px !important; }
	.widget-news section { padding-bottom: 30px; }
	.widget-news header { padding-top: 15px; }
	.widget-news header .btn { top: 25px; }
	.footer-links img { margin-bottom: 20px; }
	footer { padding-top: 0px; }
}

@media screen and (min-width: 0px) and (max-width: 549px) {
	.container { padding: 0 30px !important; }
	section.container { padding: 30px 30px !important; }
	.widget-news header .btn { position: relative; margin-top: -15px; margin-bottom: 20px; }
	.widget-news section { padding-bottom: 30px; }
	.widget-news header { padding-top: 15px; }
	.widget-news header .btn { top: 15px; }
	.footer-links img { margin-bottom: 20px; }
	footer { padding-top: 0px; }
}

@media screen and (min-width:550px) and (max-width: 574px) {
	.widget-news section { padding-bottom: 30px; }
	.widget-news header { padding-top: 15px; }
	.widget-news header .btn { top: 25px; }
	.footer-links img { margin-bottom: 20px; width: 100%; }
	footer { padding-top: 0px; }
}


.grecaptcha-badge { visibility: hidden; }
	
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
