@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

body {
    background-image: url(../images/back.png);
    background-repeat: repeat;
}

/* ここからヘッダー */

header {
    display: flex;
    align-items: center;
    padding: 1vw;
    background-image: url(../images/back.png);
    background-repeat: repeat;
}

h1 {
    width: 12%;
    margin-left: 8%;
    margin-right: 5%;
}

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

h1 img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

nav {
    width: 70%;
    margin-right: 5%;

}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    width: 25%;
}

nav ul li a {
    display: block;
    text-align: center;
    text-decoration: none;
    font-family: ten-mincho, serif;
    color: #ffffff;
    font-size: 2.0vw;
}

nav ul li a:hover {
    color: #D0A900;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* ここまでヘッダー */

/* ここからメインビジュアル */

main {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.main-visual-box {
    width: 100%;
    margin: 0 auto 2vw auto;
}

.main-visual-box img {
    width: 100%;
    vertical-align: bottom;
}

/* ここまでメインビジュアル */

/* ここから効果効能 */

main section h2 {
    width: 100%;
    margin-top: 2vw;
    margin-bottom: 2vw;
    padding-top: 2vw;
    padding-bottom: 2vw;
    text-align: center;
    font-family: ten-mincho, serif;
    font-size: 3.5vw;
    color: #ffffff;
}

main section p {
    width: 100%;
    padding: 1%;
    line-height: 2.2;
    text-align: center;
    font-size: 2.2vw;
    color: bisque;
}

.potency {
    display: flex;
    align-items: center;
    background-color: #4a551e;
}

.potency div {
    width: 50%;
}

.potency div p {
    white-space: pre-wrap;
    text-align: center;
    font-size: 1.6vw;
}

.potency p span {
    font-weight: bold;
    color: #D0A900;
}

.potency div img {
    width: 100%;
    vertical-align: bottom;
}

/* ここまで効果効能 */

/* ここからfigure */

.works-flexbox {
    display: flex;
    align-items: center;
    width: 100%;
}

figure {
    width : calc(100% / 2)
}

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

figcaption {
    margin: 1vw 0 3vw 0;
    line-height: 2.0;
    text-align: center;
    font-size: 1.8vw;
    color: bisque;
}

.margin-right {
    margin-right: 3vw;
}

/* ここまでfigure */

/* ここからトップへ戻る */

.page {
    width: 100%;
    margin-bottom: 3vw;
    text-align: right;
}

#pagetop a {
    display: block;
    margin-right: 3vw;
    text-decoration: none;
    font-size: 1.6vw;
    color: bisque;
}

/* ここまでトップへ戻る */

/* ここからfooter */

footer {
    padding: 1vw;
    background-image: url(../images/back.png);
    background-repeat: repeat;
    color: #FFFFFF;
}

.footer-box {
    display: flex;
    margin-left: 8%;
    margin-right: 8%;
    align-items: center;
}

footer img {
    width: 12%;
    vertical-align: bottom;
}

footer address {
    margin-left: 7%;
    font-size: 1.3vw;
}

footer p small {
    font-size: 1.3vw;
}