@charset "utf-8";

::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* 領域の幅を線幅とコンテンツすべてを含めたサイズになる(計算が楽になる） */
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    background-color: #f0eee3;
    font-family: "PT Serif", serif;
    font-size: 20px;
    color: #000;
    line-height: 1;
    letter-spacing: 0.2rem;
}

header {
    max-width: 1480px;
    height: auto;
    padding: 10px 30px;
}

h1 {
    font-size: 18px;
}

.firstview {
    display: flex;
    justify-content: space-between;
    padding: 50px;
    height: 650px;

}

.handimage {
    align-self: flex-end;
}

.handimage img {
    max-width: 80%;
    height: auto;
    display: block;

}

.site-menu {
    padding: 0 150px 0 10px;
}

.site-menu ul li {
    margin-bottom: 50px;
}

.site-menu ul li:first-child {
    margin-top: 50px;
}

.site-menu p {
    letter-spacing: 0;
}

.menutitle {
    font-size: 14px;
}

.line {
    position: relative;
    text-decoration: none;
    color: inherit;
}

.line::after {
    content: "";
    position: absolute;
    bottom: -2px;
    /* 下線を文字のすぐ下に表示 */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #aaa692;
    /* 下線の色を指定 */
    transform: scaleX(0);
    /* 初期状態では横幅0（見えない） */
    transform-origin: left top;
    /* 左端から伸ばす起点を指定 */
    transition: transform 0.3s ease;
}

.line:hover::after {
    transform: scaleX(1);
    /* 横幅を100%にして表示 */
}

@media(max-width:800px) {
    .firstview {
        flex-direction: column-reverse;
    }

    .site-menu {
        padding: 0;
    }

    .site-menu ul {
        margin: 0;
        padding: 0;
    }

    .handimage img {
        min-width: 200px;
        height: auto;
    }
}