/*
Theme Name: Eighty Days
Version:1.0.1
Author: Haruka Uehara
Description: Eighty Days専用のテーマです。
*/

@charset "utf-8";

/*========= 背景動画設定のCSS ===============*/
/*header設定*/
#header {
    position: relative;
    height: 100vh;
    width: 100%;
}

.header-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.header-menu a {
    margin: 50px 15px;
    color: white;
    font-size: 0.8rem;
}

.header-menu-item.sidebar-anchor {
    padding-bottom: 0;
}

.header-menu-item.sidebar-anchor::before {
    background-color: white;
    height: 1px;
}

#video-area {
    position: fixed;
    z-index: -10;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    overflow: hidden;
    background-color: black;
}

#video {
    /*天地中央配置*/
    position: absolute;
    z-index: -10;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    /*縦横幅指定*/
    width: 177.77777778vh;
    /* 16:9 の幅→16 ÷ 9＝ 177.77% */
    height: 56.25vw;
    /* 16:9の幅 → 9 ÷ 16 = 56.25% */
    min-height: 100%;
    min-width: 100%;
    opacity: 0.85;
}

/*見出し設定*/
.header-title-area {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: white;
}

.header-title {
    font-size: 5.5rem;
    letter-spacing: 0.7rem;
    font-weight: 300;
}



/*===============ふわっ===============*/
/* fadeUp */
.fadeUp {
    -webkit-animation-name: fadeUpAnime;
    animation-name: fadeUpAnime;
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-timing-function: cubic-bezier(0.4, 0.4, 0, 1);
    animation-timing-function: cubic-bezier(0.4, 0.4, 0, 1);
    opacity: 0;
}

@-webkit-keyframes fadeUpAnime {
    from {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}


/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.fadeUpTrigger {
    opacity: 0;
}



/*============TOPに戻るボタン=============*/
/*スクロールリンクの形状*/
.scroll-top,
.scroll-down {
    /*表示位置*/
    position: fixed;
    right: 20px;
    bottom: 10px;
    z-index: 10;
    /*はじめは非表示*/
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .5s, visibility .5s;
    -o-transition: opacity .5s, visibility .5s;
    transition: opacity .5s, visibility .5s;
    /*それぞれに0.5秒の変化のアニメーション*/
    /*縦書き*/
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    /*改行禁止*/
    white-space: nowrap;
    /*矢印の動き*/
    -webkit-animation: arrowmove 1s ease-in-out infinite;
    animation: arrowmove 1s ease-in-out infinite;
}

@-webkit-keyframes arrowmove {
    0% {
        bottom: 20px;
    }

    50% {
        bottom: 25px;
    }

    100% {
        bottom: 20px;
    }
}

@keyframes arrowmove {
    0% {
        bottom: 20px;
    }

    50% {
        bottom: 25px;
    }

    100% {
        bottom: 20px;
    }
}


/*.scroll-viewクラスがついたら出現*/
.scroll-top.scroll-view,
.scroll-down.scroll-view {
    opacity: 1;
    visibility: visible;
}

/*リンク全体の aタグの形状*/
.scroll-down a {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
}

/*リンク全体の aタグの形状*/
.scroll-top a {
    text-decoration: none;
    color: #666;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
}

/*スクロールリンクの形状*/

.js-scroll a::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 50px;
    background: #fff;
}

.js-scroll a::before {
    content: "";
    position: absolute;
    top: 30px;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #fff;
    -webkit-transform: skewX(-31deg);
    -ms-transform: skewX(-31deg);
    transform: skewX(-31deg);
    z-index: 11;
}

/*Edge IE11 hack*/
_:-ms-lang(x),
.js-scroll a::before {
    right: -11px;
}

/*ページトップリンクの形状*/

.js-pagetop a::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 50px;
    background: #666;
}

.js-pagetop a::before {
    content: "";
    position: absolute;
    top: 0;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #666;
    -webkit-transform: skewX(31deg);
    -ms-transform: skewX(31deg);
    transform: skewX(31deg);
    z-index: 11;
}

/*Edge IE11 hack*/
_:-ms-lang(x),
.js-pagetop a::before {
    right: 0;
}



/* 共通要素スタイル */
body {
    margin: 0;
    background-color: black;
    animation: fadein 3s forwards;
}

@keyframes fadein {
	0% {opacity: 0}
	100% {opacity: 1}
}

#main {
    z-index: 0;
    padding: 0px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    width: auto;
    background-image: url(images/washi_1920px.jpg);
    background-size: contain;
}

#mainArea {
    z-index: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
}

.contact {
    position: absolute;
    z-index: 10;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 65%;
    padding: 10px 30px;
    background-color: #171B1D;
    width: 25%;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
}

.contact-title {
    text-align: center;
    margin-bottom: 30px;
}

.contact-mainTitle {
    color: white;
    -webkit-margin-after: 0;
    margin-block-end: 0;
}

.contact-subTitle {
    color: white;
    -webkit-margin-before: 0;
    margin-block-start: 0;
    font-size: small;
}

.contact-select {
    color: #77838E;
}

.contact-select-title {
    color: white;
}

.contact-select,
.contact-company,
.contact-name,
.contact-email,
.contact-message {
    background-color: #1D2224;
    border: thin solid #32393C;
    line-height: 1.5em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}

.contact-select,
.contact-company,
.contact-name,
.contact-email {
    height: 2.5rem;
}

.contact-select {
    padding: 0 0.5rem;
}

.contact-company,
.contact-name,
.contact-email,
.contact-message {
    padding: 0 0.8rem;
}

.contact-company,
.contact-name,
.contact-email,
.contact-message {
    color: white;
}

.contact-message {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.contact-company::-webkit-input-placeholder,
.contact-name::-webkit-input-placeholder,
.contact-email::-webkit-input-placeholder,
.contact-message::-webkit-input-placeholder {
    color: #77838E;
}

.contact-company::-moz-placeholder,
.contact-name::-moz-placeholder,
.contact-email::-moz-placeholder,
.contact-message::-moz-placeholder {
    color: #77838E;
}

.contact-company:-ms-input-placeholder,
.contact-name:-ms-input-placeholder,
.contact-email:-ms-input-placeholder,
.contact-message:-ms-input-placeholder {
    color: #77838E;
}

.contact-company::-ms-input-placeholder,
.contact-name::-ms-input-placeholder,
.contact-email::-ms-input-placeholder,
.contact-message::-ms-input-placeholder {
    color: #77838E;
}

.contact-company::-webkit-input-placeholder, .contact-name::-webkit-input-placeholder, .contact-email::-webkit-input-placeholder, .contact-message::-webkit-input-placeholder {
    color: #77838E;
}

.contact-company::-moz-placeholder, .contact-name::-moz-placeholder, .contact-email::-moz-placeholder, .contact-message::-moz-placeholder {
    color: #77838E;
}

.contact-company:-ms-input-placeholder, .contact-name:-ms-input-placeholder, .contact-email:-ms-input-placeholder, .contact-message:-ms-input-placeholder {
    color: #77838E;
}

.contact-company::-ms-input-placeholder, .contact-name::-ms-input-placeholder, .contact-email::-ms-input-placeholder, .contact-message::-ms-input-placeholder {
    color: #77838E;
}

.contact-company::placeholder,
.contact-name::placeholder,
.contact-email::placeholder,
.contact-message::placeholder {
    color: #77838E;
}

.contact-send-area {
    width: 100%;
}

.contact-send {
    height: 30px;
    width: 60px;
    text-align: center;
    background-color: rgb(255, 255, 255);
    border: none;
    color: #2b2b2b;
    padding: 0;
}

.contact-send-area p {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

.wpcf7-response-output {
    color: white;
}

html {
    font-family: forma-djr-micro, fot-klee-pro, sans-serif;
    font-style: normal;
    color: #2b2b2b;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    font-weight: 300;
    letter-spacing: 0.05rem;
    line-height: 1.5rem;
}

h1 {
    font-weight: 700;
    font-size: 3.0rem;
    letter-spacing: 0.3rem;
}

h2 {
    font-weight: 700;
    font-size: 2.0rem;
    letter-spacing: 0.2rem;
}

h3 {
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: 0.1rem;
}

p,
li {
    font-weight: 300;
    letter-spacing: 0.06rem;
    line-height: 1.65rem;
}

p:lang(jp) {
    letter-spacing: 0;
}

ul {
    padding-inline-start: 1.0rem;
}

li {
    text-align: left;
}

@media screen and (max-width: 1400px) {

    html {
        font-size: 90%;
    }
}

@media screen and (max-width: 959px) {

    html {
        color: #2b2b2b;
    }

    button {
        color: #2b2b2b;
    }

    .header-menu {
        display: none;
    }

    .header-title {
        font-size: 2.8rem;
        letter-spacing: 0.5rem;
        margin-bottom: 30px;
        width: 90%;
        margin: 0 auto 30px auto;
    }

    .contact-select,
    .contact-company,
    .contact-name,
    .contact-email,
    .contact-message {
        line-height: 1.65rem;
        font-size: 1.2rem;
        letter-spacing: 0.08rem;
    }
}

@media screen and (max-width: 480px) {

    html {
        font-size: 85%;
    }

    #main {
        background-image: url(images/washi_1000px.jpg);
    }
}

@media screen and (max-width: 380px) {

    html {
        font-size: 75%;
    }
}