@charset "utf-8";

/* ************************************************
 * ------------------------------------------------
 *  Primary Style
 * ------------------------------------------------
 * ************************************************ */
html * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    font-size: 62.5%;
}
body {
    font-size: 1.4rem;
    font-family: sans-serif;
    color: #000;
    line-height: 1.7;
    text-align: center;
    background-color: #fff;
}

@media screen and (min-width: 768px) {
    body {
        font-size: 1.6rem;
    }
}

body,
html {
    height: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
}
a {
    color: inherit;
    text-decoration: none;
    outline: none;
}

ul {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
}
dt {
    float: left;
    clear: left;
}

address {
    font-style: normal;
}

/* ************************************************
 * ------------------------------------------------
 *  Modules
 * ------------------------------------------------
 * ************************************************ */
a {
    transition: all .3s;
    opacity: 1;
}
a:hover {
    opacity: .7;
}

header,
footer,
main,
nav,
aside,
section,
article,
figure,
form,
h1,
h2,
h3,
h4,
h5,
h6 {
    position: relative;
    z-index: 1;
}

h2,
h3 {
    font-weight: bold;
}

hr {
    margin: 2em 0;
}
iframe {
    display: block;
    width: 100%;
    height: 30em;
}

.content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 1em;
}

.right {
    text-align: right;
}
.justify {
    text-align: justify;
    text-justify: inter-ideograph;
}
.red {
    color: #ea3323;
}

/* ************************************************
 * ------------------------------------------------
 *  Header
 * ------------------------------------------------
 * ************************************************ */
header {
    z-index: 2;
    width: 100%;
    background-color: #fff;
}

h1 {
    overflow: hidden;
    width: 15em;
    height: 3em;
    line-height: 9999;
    background: url('../img/company-name.png') no-repeat;
    background-size: contain;
}
h1 a {
    display: block;
}

nav:last-of-type,
header address {
    color: #888;
    font-size: .8em;
}
header address {
    line-height: 1.5;
}
header address p:nth-child(2) {
    font-size: 1.8em;
    font-weight: 300;
}
header address p:nth-child(3) {
    font-size: .85em;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}
nav:last-of-type ul {
    justify-content: flex-end;
}

header .content {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
nav:first-of-type {
    order: 1;
}
nav:last-of-type {
    order: -1;
}

@media screen and (min-width: 768px) {
    header .content {
        display: grid;
        grid-template-columns: 1fr auto;
    }
    nav:first-of-type,
    nav:last-of-type {
        grid-column: 1 / span 2;
    }
}

/* ************************************************
 * ------------------------------------------------
 *  Footer
 * ------------------------------------------------
 * ************************************************ */
footer {
    width: 100%;
    color: #bab8b8;
    background-color: #333;
}
footer .content {
    padding-top: 2em;
    padding-bottom: 2em;
}

/* ************************************************
 * ------------------------------------------------
 *  Main Contents
 * ------------------------------------------------
 * ************************************************ */
main {
    width: 100%;
    min-height: 100vh;
    text-align: justify;
    text-justify: inter-ideograph;
}
section {
    background-color: #fff;
}

main .content {
    max-width: 768px;
    padding-top: 5em;
    padding-bottom: 5em;
}

/* ------------------------------------------------
 *  Home
 * ------------------------------------------------ */
.home .content {
    font-family: serif;
}

.home address {
    margin: 1em 0;
}

.home h2 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 1em;
}

@media screen and (min-width: 768px) {
    .home h2 {
        font-size: 2.8em;
    }
}

/* Main Visual */
.main-visual {
    min-height: 100vh;
}
.main-visual .content {
    max-width: 700px;
    font-family: sans-serif;
    color: #fff;
    padding-top: 0;
}
.main-visual h2 {
    font-size: 1.8em;
    color: #fffe6a;
    font-weight: 300;
    text-shadow: 0 0 .2em #fffe6a;
}

@media screen and (min-width: 768px) {
    .main-visual h2 {
        font-size: 2.2em;
    }
}

.main-visual figure {
    display: flex;
    align-items: center;
    gap: 2em;
}

.main-visual .video {
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    background: url('../img/office-hallway.jpg') no-repeat;
    background-position: center center;
    background-size: cover;
}
.main-visual .video video {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Features */
.features {
    background: url('../img/office-inside.jpg') no-repeat;
    background-position: center center;
    background-size: cover;
}
.features::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
}

.features .content {
    font-family: sans-serif;
}
.features h2 {
    font-size: 1.8em;
    color: #fffe6a;
    font-weight: 300;
    text-shadow: 0 0 .2em #fffe6a;
}

@media screen and (min-width: 768px) {
    .features h2 {
        font-size: 2.2em;
    }
}

.features .group {
    max-width: 600px;
    background-color: #fff;
    margin: 0 auto;
    padding: 2em;
}

/* Rental */
.home .rental {
    background-color: #efdfb3;
}
.home .rental .content::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: -10em;
    width: 10em;
    height: 10em;
    background: url('../img/smartphone.png') no-repeat;
    background-size: contain;
}

.home .rental h3,
.home .rental ul {
    margin-top: 1em;
}
.home .rental ul {
    display: flex;
    gap: 1em;
}

/* Appl */
.home .appl {
    background-color: #add1c2;
}
.home .appl ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1em;
}

.home .appl a {
    text-decoration: underline;
}
.home .appl a:first-of-type {
    display: block;
    font-family: sans-serif;
    color: #fff;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    background-color: #f09439;
    padding: 1em;
}
.home .appl a:first-of-type i {
    font-size: inherit;
    vertical-align: middle;
    margin-left: .5em;
}

/* News */
.news {
    color: #fff;
    background-color: #123233;
}
.news dl {
    overflow-y: scroll;
    height: 18em;
    font-family: sans-serif;
    border: 1px solid #fff;
    padding: 1em;
}
.news dt,
.news dd {
    padding: .5em 0;
}
.news dd {
    padding-left: 7em;
}

@media screen and (min-width: 768px) {
    .news dl {
        padding: 1em 2em;
    }
}

/* Contact */
.contact {
    color: #fff;
    background: url('../img/office-work.jpg') no-repeat;
    background-position: center center;
    background-size: cover;
}
.contact::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
}
.contact li::before {
    content: '・';
    display: inline-block;
}

.contact a {
    display: block;
    font-family: sans-serif;
    color: #fff;
    text-align: center;
    font-weight: bold;
    background-color: #f09439;
    padding: 1em;
}
.contact a i {
    font-size: inherit;
    vertical-align: middle;
    margin-left: .5em;
}

/* Company */
.company {
    display: flex;
}
.company::before {
    content: '';
    display: block;
    flex-grow: 1;
    background: url('../img/building.jpg') no-repeat;
    background-position: center center;
    background-size: cover;
}

.company .content {
    color: #fff;
    text-align: center;
    background-color: #103058;
}

@media screen and (min-width: 768px) {
    .company .content {
        min-width: 30em;
        max-width: 50%;
    }
}

.company h2 {
    font-family: sans-serif;
    margin-top: 1em;
}
.company dl {
    display: inline-block;
    text-align: left;
}
.company dd {
    padding-left: 6em;
}

.company figure {
    display: inline-block;
    width: 75px;
    height: 56px;
    border: 6px solid #fff;
}
.company figure::before {
    content: '';
    display: block;
    border-top: 6px solid #fff;
    transform: rotate(-40deg);
    margin: 19px 10px;
}

/* ------------------------------------------------
 *  Page
 * ------------------------------------------------ */
.page .content {
    font-family: serif;
}

.page h3,
.page h4 {
    margin-top: 2em;
}
.page p,
.page address {
    margin: 1em 0;
}
.page li::before {
    content: '・';
    display: inline-block;
}

.page .appl h2,
.page .rental h2 {
    font-size: 1.8em;
    margin-bottom: 1em;
}
.page .rental h3 {
    margin-bottom: 1em;
}
.page .rental a {
    text-decoration: underline;
}

.page .terms h2,
.page .privacy h2 {
    font-size: 1.2em;
    text-align: center;
}
