/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * 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: 18px;
  line-height: 1.5em;
}

/*
 * 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;
}

/*
 * 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;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/* resets */
html,
html *
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

html, body, div, section, article, form, header, main, footer
{
    margin: 0;
    padding: 0;
}

html
{
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6
{
    font-weight: 300;
    line-height: 1.5em;
}

h1, h2, h3, h4, h5, h6, p
{
    margin-top: 0;
}

a
{
    text-decoration: none;
}

a:hover
{
    text-decoration: underline;
}

ul, li
{
    margin: 0;
}

p
{
    margin-top: 0;
    margin-bottom: 1em;
}

p:last-child
{
    margin-bottom: 0;
}

/* custom */
.wrap
{
    width: 950px;
    max-width: 100%;
    margin: auto;
}

.flex-row,
.flex-split,
.flex-h-center,
.flex-v-center
{
    display: flex;
}

.flex-split
{
    justify-items: space-between;
    justify-content: space-between;
}

.flex-h-center
{
    justify-items: center;
    justify-content: center;
}

.flex-v-center
{
    align-items: center;
    align-content: center;
}

.flex-r-reverse
{
    flex-direction: row-reverse;
}

.flex-c-reverse
{
    flex-direction: column-reverse;
}

.grid
{
    display: grid;
    column-gap: 1em;
}

.grid-2
{
    grid-template-columns: 1fr 1fr;
}

.grid-3
{
    grid-template-columns: 1fr 1fr 1fr;
}

.grid-4
{
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.txt-c
{
    text-align: center;
}

.txt-l
{
    text-align: left;
}

.txt-r
{
    text-align: right;
}

.fw-300
{
    font-weight: 300;
}

.fw-500
{
    font-weight: 500;
}

.fw-700
{
    font-weight: 700;
}

.btn,
button,
input[type="button"],
input[type="submit"]
{
    display: inline-block;
    padding: 0.75em 1.5em;
    border:0px;
    background: none;
    border: 1px solid #DD6C58;
    border-radius: 4px;
    font-size: 1em;
    line-height: 1.5em;
    font-weight: 500;
    color: #DD6C58;
    cursor: pointer;
}

.btn:hover,
.btn:focus,
button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus
{
    background: #DD6C58;
    text-decoration: none;
    outline: none;
    color: #FFFFFF;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form textarea
{
    width: 100%;
    padding: 0.35em 0.5em;
    border: 1px solid #666666;
    border-radius: 4px;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="password"]:focus,
form textarea:focus
{
    border-color: #5D93C6;
    outline: 2px solid #5D93C6;
}

form textarea
{
    min-height: 150px;
    max-height: 500px;
}

form .form-element
{
    margin-bottom: 1.35em;
}

form .form-element .grid-3
{
    margin-top: 0.35em;
}

form .form-element > label
{
    font-weight: 500;
}

form .form-options-list
{
    margin-bottom: 0.35em;
}

form .indicator
{
    color: #DD6C58;
}

form .xtnt-sch2tpl-survey-description
{
    font-style: italic;
    font-size: 16px;
    line-height: 1.5em;
    color: #666666;
}

form .form-submit
{
    margin-top: 2.5em;
    text-align: center;
}

/* header */
.header
{
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    padding: 0 1em;
    background: #5D93C6;
    z-index: 99999;
}

.header .logo
{
    display: block;
    margin: 8px 2em 8px 0;
}

.header .menu-btn,
.header .menu-btn .close,
.header.menu-open .menu-btn .menu
{
    display: none;
}

.header .menu-btn
{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 50px;
    height: 50px;
    padding: 0;
    background: none;
    border: 0;
}

.header .menu-btn svg
{
    width: 20px;
    height: 20px;
    fill: #FFFFFF;
}

.header.menu-open .menu-btn .close
{
    display: block;
}

.header nav a
{
    padding: 25px 1.5em;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5em;
    color: #FFFFFF;
    -webit-transition: all ease-in-out 0.3s;
    -moz-transition: all ease-in-out 0.3s;
    -ms-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
    transition: all ease-in-out 0.3s;
}

.header nav a:hover
{
    background: rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.header nav a.current
{
    border-color: #FADDAC;
}

.header > div.flex-split
{
    flex-wrap: wrap;
}

/* main */
.main section h1
{
    font-size: 42px;
    font-weight: 500;
    line-height: 1.5em;
    word-spacing: 0.25em;
    letter-spacing: 0.025em;
    color: #4C7BA7;
}

.hero,
.hero.hero-top > .wrap
{
    display: flex;
    align-content: center;
    align-items: center;
}

.hero
{
    min-height: 500px;
    padding: 3em 0;
}

.hero.hero-top
{
    display: block;
    min-height: 300px;
    padding-top: 0;
}

/*.hero.hero-top > .wrap
{
    justify-content: left;
    justify-items: left;
}

.hero.hero-top-2 > .wrap
{
    justify-content: right;
    justify-items: right;
}*/

.hero article p
{
    font-size: 26px;
    line-height: 1.5em;
}

.hero.hero-bg,
.hero.hero-bg > *
{
    position: relative;
}

.hero.hero-bg
{
    background: rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
}

.hero.hero-bg:before
{
    content: "";
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-size: cover;
    color: #FFFFFF;
    z-index: -1;
}

/*.hero.hero-top-1.hero-bg:before
{
    background-image: url("https://media.xtenit.com/site2021/img/hero-top-1.jpg?t=1212");
}

.hero.hero-top-2.hero-bg:before
{
    background-image: url("https://media.xtenit.com/site2021/img/hero-top-2.jpg?t=1212");
}

.hero.hero-top-3.hero-bg:before
{
    background-image: url("https://media.xtenit.com/site2021/img/hero-top-3.jpg?t=1212");
}*/

.main > section[id]
{
    scroll-margin-top: 3em;
}

/* section specifics */
#Solutions
{
    padding-top: 3em;
    background: #EEEEEE;
    background: -moz-linear-gradient(top,  #eeeeee 0%, #eaeaea 61%, #d6d6d6 100%);
    background: -webkit-linear-gradient(top,  #eeeeee 0%,#eaeaea 61%,#d6d6d6 100%);
    background: linear-gradient(to bottom,  #eeeeee 0%,#eaeaea 61%,#d6d6d6 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#d6d6d6',GradientType=0 );
}

#Solutions h1
{
    margin: 0;
    margin-bottom: 1em;
}

/*#Technology:before
{
    background-image: url("https://media.xtenit.com/site2021/img/skyline.jpg");
}*/

#Technology,
#Contact
{
    background: #F2F1E1;
    border-top: 1px solid #E2E1C7;
    border-bottom: 1px solid #E2E1C7;
}

#Technology h1
{
    color: #4C7BA7;
}

#Technology article p:last-child
{
    margin-top: 2.5em;
}

#Technology article p:last-child .btn
{
    margin-right: 0.5em;
    font-size: 18px;
    line-height: 1.5em;
}

#Product
{
    background: #F2F2F2;
    color: #000000;
}

#Contact
{
    padding: 2em 0 5em 0;
}

/* footer */
.footer *,
.footer a:hover
{
    color: #FFFFFF;
}

.footer a
{
    color: #CCCCCC;
}

.footer .top
{
    padding: 3em 0;
    background: #404040;
    font-size: 16px;
}

.footer .top h3
{
    margin-bottom: 0.5em;
    font-size: 14px;
    line-height: 1.5em;
    color: #FF907C;
}

.footer .top p
{
    font-style: normal;
}

.footer .top svg
{
    width: 18px;
    height: 18px;
    vertical-align: inherit;
    fill: #FF907C;
}

.footer .bottom
{
    padding: 2em 0;
    background: #222222;
    font-size: 12px;
    line-height: 1.5em;
}

/* owl carousel overrides */
.owl-carousel .owl-nav
{
    margin: 0;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev
{
    display: flex;
    position: absolute;
    top: 5%;
    width: 60px;
    height: 100px;
    margin: 0;
    padding: 25px !important;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0;
    font-size: 80px;
    color: #FFFFFF;
    justify-content: center;
    align-content: center;
}

.owl-carousel .owl-nav button.owl-prev
{
    left: 0px;
}

.owl-carousel .owl-nav button.owl-next
{
    right: 0px;
}

.owl-carousel .owl-nav button.owl-next:hover,
.owl-carousel .owl-nav button.owl-prev:hover
{
    background: rgba(0, 0, 0, 0.3);
}

.owl-carousel .owl-dots
{
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding: 5px;
}

.owl-carousel .owl-dots .owl-dot span,
.owl-carousel .owl-dots .owl-dot:hover span
{
    background: rgba(0, 0, 0, 0.35);
}

.owl-carousel .owl-dots .owl-dot.active span
{
    background: #DD6C58;
}

/* MEDIA QUERIES */
@media screen and (max-width: 1080px)
{
    .wrap
    {
        padding-left: 1em;
        padding-right: 1em;
    }
    
    .hero.hero-top > .wrap
    {
        padding: 0 100px;
    }
    
    #Solutions h1
    {
        text-align: center;
    }
}

@media screen and (max-width: 680px)
{
    .header
    {
        height: 50px;
        overflow-y: hidden;
    }
    
    .header.menu-open
    {
        height: auto;
    }
    
    .header > div,
    .header nav
    {
        flex-direction: column;
    }
    
    .header nav
    {
        margin-bottom: 1em;
    }
    
    .header nav,
    .header nav a
    {
        width: 100%;
    }
    
    .header .logo
    {
        margin-left: auto;
        margin-right: auto;
    }
    
    header .logo img
    {
        height: 35px;
    }
    
    .header .menu-btn
    {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .header nav a
    {
        padding: 15px 1.5em;
        border-bottom: 0;
        border-left: 3px solid transparent;
    }
    
    .hero,
    .hero.hero-top
    {
        height: auto;
    }
    
    .hero.hero-top
    {
        padding-top: 0;
    }
    
    .hero.hero-top > .wrap
    {
        padding-left: 70px;
        padding-right: 70px;
    }
    
    .hero.hero-top article p
    {
        font-size: 18px;
        line-height: 1.5em;
    }
    
    #Solutions h1
    {
        font-size: 2em;
    }
    
    form .grid
    {
        grid-template-columns: 1fr;
    }
    
    .footer .top .grid
    {
        grid-template-columns: 1fr;
        row-gap: 1.5em;
    }
    
    .footer .bottom .flex-split
    {
        flex-wrap: wrap;
        gap: 1em;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[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
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * 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: " ";
  display: table;
}

.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: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    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:
   * https://web.archive.org/web/20180815150934/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;
  }
}

