@charset "UTF-8";

html {
    font-size: 100%;
}

body {
    background-color: #e6e2d7;
    color: #000;
    font-family: 'Noto Serif JP', serif;
}

a {
    color: #fff;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

li {
    list-style: none;
}

.site-title {
    line-height: 1px;
    margin-left: 60px;
}

.site-title a {
    display: block;
}

.site-title img {
    width: 40px;
}

.wrapper {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */

#header {
    background-image: url("../img/mainvisual-pc.jpg");
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    writing-mode: vertical-rl;
    position: relative;
    margin-bottom: 180px;
    padding: 60px 80px;
}

#header .onlinestore {
    position: absolute;
    bottom: 30px;
    left: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px;
}

#header .onlinestore a {
    border: solid 1px #ccc;
    padding: 30px 18px;
    display: block;
}

#header .onlinestore a:hover {
    opacity: 0.7;
}

#nav li {
    margin-left: 25px;
}

/* ニュース */

#news {
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 180px;
}

#news .section-title {
    writing-mode: vertical-rl;
    font-weight: normal;
    line-height: 1;
}

#news .section-title .en {
    display: block;
    font-size: 0.875rem;
    margin-left: 15px;
}

#news .section-title .ja {
    display: block;
    font-size: 2.25rem;
    letter-spacing: 0.1em;
}

#news .list {
    writing-mode: vertical-rl;
    padding: 80px 100px 0 0;
}

#news .list dt {
    border-right: solid 1px #000;
    padding: 15px 30px 15px 5px;
    font-size: 0.75rem;

}

#news .list dd {
    padding: 15px 0 15px 30px;
}

#news .list dd:last-child {
    border-left: solid 1px #000;
}

/* プロダクツ共通 */

.products {
    display: flex;
    margin-bottom: 180px;
}

.products .section-title {
    font-weight: normal;
    line-height: 1;
}

.products .section-title .ja {
    font-size: 2rem;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}

.products .section-title .en {
    font-size: 0.875rem;
}

.products .img {
    width: 65%;
    margin-top: 100px;
    position: relative;
}

.products .text {
    position: absolute;
    bottom: -20px;
    width: 56%;
    color: #fff;
    text-align: center;
    padding: 50px 0;
}

/* プロダクツ1 */
#products1 {
    flex-direction: row-reverse;
}

#products1 .section-title {
    writing-mode: vertical-lr;
    margin-left: 20px;
}

#products1 .text {
    background-color: rgba(249, 233, 6, 0.6);
    left: -20px;
}

/* プロダクツ2 */

#products2 .section-title {
    writing-mode: vertical-rl;
    margin-right: 20px;
}

#products2 .text {
    background: rgba(149, 42, 38, 0.6);
    right: -20px;
}

/* ショップ */

#shop iframe {
    width: 100%;
    vertical-align: bottom;
}

/* フッター */

#footer {
    background-color: #000;
    color: #fff;
    padding: 80px 80px 30px 30px;
}

#footer .inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 10px;
}

#footer .inner .left,
#footer .inner .right {
    writing-mode: vertical-rl;
}

#footer .inner .right .logo {
    width: 40px;
    margin-left: 60px;
}

#footer .inner .right .info {
    line-height: 2;
}

#footer .inner .right .menu {
    margin-right: 60px;
    font-size: 1rem;
}

#footer .inner .right .menu li {
    margin-left: 25px;
}

#footer .copyright {
    text-align: center;
    font-size: 0.625rem;
}

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

    /* ヘッダー */
    #header {
        background-image: url("../img/mainvisual-sp.jpg");
        padding: 20px 20px;
        margin-bottom: 80px;
    }

    #header .onlinestore {
        left: 20px;
        bottom: 20px;
    }

    /* ニュース */

    #news {
        margin-bottom: 80px;
    }

    #news .section-title .ja {
        font-size: 1.75rem;
    }

    #news .list dt:nth-of-type(n + 4) {
        display: none;
    }

    #news .list dd:nth-of-type(n + 4) {
        display: none;
    }

    #news .list dd:last-child {
        border-left: none;
    }

    #news .list dd:nth-of-type(3) {
        border-left: solid 1px #000;
    }

    #news .list dt {
        padding: 15px 12px 15px 5px;
    }

    #news .list dd {
        padding: 15px 0 15px 12px;
    }

    /* プロダクツ */

    .products {
        margin-bottom: 80px;
    }

    .products .section-title .ja {
        font-size: 1.5rem;
    }

    .products .section-title .en {
        display: none;
    }

    .products .img {
        width: 90%;
        margin-top: 70px;
    }

    .products .text {
        padding: 30px 0;
        font-size: 0.875rem;
        width: 64%;
    }

    #products1 .section-title {
        margin-left: 10px;
    }

    #products2 .section-title {
        margin-right: 10px;
    }

    #footer {
        padding: 40px 20px 30px;
    }

    #footer .inner .right .logo {
        margin-left: 30px;
    }

    #footer .inner .right .menu {
        margin-right: 30px;
        font-size: 0.875rem;
    }

    #footer .inner .right .menu li {
        margin-left: 10px;
    }

}