/* ==================================================
   リセット
================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background-color: #e5e5e5;

    color: #292929;

    font-family:
        "Hiragino Mincho ProN",
        "Yu Mincho",
        "YuMincho",
        serif;
}


/* ==================================================
   全体
================================================== */

.site-wrapper {

    width: 100%;

    max-width: 1100px;

    margin: 0 auto;

    display: flex;

    align-items: flex-start;

}


/* ==================================================
   左側
================================================== */

.main-content {

    width: 500px;

    background-color: #ffffff;

    overflow: hidden;

}


/* ==================================================
   TOP
================================================== */

.top-section {

    position: relative;

    width: 100%;

    height: 300px;

    overflow: hidden;

}


/* 画像 */

.top-image {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

}


/* 画像の上に薄い白 */

.top-section::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        rgba(255, 255, 255, 0.08);

    pointer-events: none;

}


/* TOP文字 */

.top-text {

    position: absolute;

    z-index: 2;

    top: 50%;

    left: 50%;

    transform:
        translate(-50%, -50%);

    width: 100%;

    text-align: center;

    color: #202020;

}


/* タイトル */

.top-text h1 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 40px;

    font-weight: 400;

    letter-spacing: 1px;

    margin-bottom: 10px;

}


/* サブタイトル */

.top-text p {

    font-size: 12px;

    letter-spacing: 1px;

}


/* ==================================================
   サイト概要
================================================== */

.about-section {

    position: relative;

    margin: 10px;

    padding: 10px;

    background-color: #f8f5ef;

    border: 1px solid #d8d0c5;

}


/* 内側の枠 */

.about-inner {

    position: relative;

    padding: 35px 25px 40px;

    border: 1px solid #ddd6cb;

}


/* タイトル */

.section-heading {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    margin-bottom: 25px;

}


.section-heading span {

    display: block;

    width: 45px;

    height: 1px;

    background-color: #777;

}


.section-heading h2 {

    font-size: 25px;

    font-weight: 400;

    letter-spacing: 3px;

}


/* 本文 */

.about-text {

    font-size: 12px;

    line-height: 2;

    letter-spacing: 0.5px;

}


.about-text p {

    margin-bottom: 14px;

}


.about-text p:last-child {

    margin-bottom: 0;

}


/* 強調部分 */

.about-emphasis {

    margin-top: 25px;

    font-size: 12px;

}


/* 葉っぱ装飾 */

.leaf-decoration {

    position: absolute;

    z-index: 3;

    color: #aaa092;

    font-size: 55px;

    opacity: 0.6;

}


.leaf-left {

    top: -4px;

    left: 2px;

    transform: rotate(-25deg);

}


.leaf-right {

    right: 0;

    bottom: -5px;

    transform: rotate(155deg);

}


/* ==================================================
   ジャンル一覧
================================================== */

.genre-section {

    position: relative;

    width: 100%;

    min-height: 730px;

    overflow: hidden;

}


/* 背景画像 */

.genre-background {

    position: absolute;

    z-index: 0;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

}


/* 背景を暗くする */

.genre-overlay {

    position: absolute;

    z-index: 1;

    inset: 0;

    background:
        rgba(25, 35, 35, 0.25);

}


/* ジャンル全体 */

.genre-content {

    position: relative;

    z-index: 2;

    padding: 90px 20px 50px;

}


/* タイトル */

.genre-heading {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    margin-bottom: 65px;

}


.genre-heading span {

    width: 40px;

    height: 1px;

    background-color: #ffffff;

    opacity: 0.8;

}


.genre-heading h2 {

    color: white;

    font-size: 27px;

    font-weight: 400;

    letter-spacing: 5px;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.5);

}


/* ==================================================
   ジャンルカード
================================================== */

.genre-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    max-width: 440px;

    margin: 0 auto;

}


.genre-card {

    position: relative;

    height: 140px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-decoration: none;

    color: #333;

    background:
        rgba(255, 255, 255, 0.86);

    border:
        1px solid rgba(255, 255, 255, 0.9);

    border-radius: 15px;

    box-shadow:
        0 3px 10px
        rgba(0, 0, 0, 0.15);

    transition:
        0.3s ease;

}


/* ジャンルのアイコン */

.genre-icon {

    margin-bottom: 10px;

    font-size: 25px;

    color: #817667;

}


/* ジャンル名 */

.genre-card span {

    font-size: 13px;

    letter-spacing: 2px;

}


/* ホバー */

.genre-card:hover {

    transform:
        translateY(-7px);

    background:
        rgba(255, 255, 255, 0.97);

    box-shadow:
        0 8px 18px
        rgba(0, 0, 0, 0.2);

}


/* ==================================================
   作品一覧
================================================== */

.works-section {

    background-color: #f8f3e7;

    padding-bottom: 60px;

}


/* タイトル部分 */

.works-heading {

    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 15px;

    padding: 55px 25px 45px;

}


.works-heading > span {

    width: 45px;

    height: 1px;

    background-color: #958c7d;

}


/* タイトル */

.works-heading h2 {

    font-size: 27px;

    font-weight: 400;

    letter-spacing: 4px;

}


/* 装飾 */

.works-decoration {

    position: absolute;

    left: 25px;

    top: 15px;

    font-size: 50px;

    color: #aaa092;

    opacity: 0.7;

    transform: rotate(-20deg);

}


.works-decoration.right {

    left: auto;

    right: 25px;

    transform:
        rotate(160deg);

}


/* ==================================================
   作品カード
================================================== */

.works-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;

    padding: 0 25px;

}


.work-card {

    display: block;

    background-color: white;

    color: #292929;

    text-decoration: none;

    box-shadow:
        0 2px 8px
        rgba(0, 0, 0, 0.08);

    transition:
        0.3s ease;

}


.work-card:hover {

    transform:
        translateY(-6px);

    box-shadow:
        0 8px 18px
        rgba(0, 0, 0, 0.14);

}


/* 作品画像 */

.work-image {

    width: 100%;

    height: 220px;

    overflow: hidden;

}


.work-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.4s ease;

}


.work-card:hover img {

    transform:
        scale(1.04);

}


/* 作品情報 */

.work-info {

    padding: 15px;

}


.work-info h3 {

    font-size: 15px;

    font-weight: 400;

    margin-bottom: 6px;

}


.work-info p {

    font-size: 11px;

    color: #777;

    margin-bottom: 7px;

}


.work-info small {

    display: inline-block;

    font-size: 9px;

    color: #817667;

    border:
        1px solid #c9c0b4;

    padding: 3px 7px;

}


/* ==================================================
   フッター
================================================== */

footer {

    padding: 35px;

    text-align: center;

    background-color: #eee7da;

}


footer p {

    font-family:
        Georgia,
        serif;

    font-size: 10px;

    letter-spacing: 2px;

    color: #777;

}


/* ==================================================
   右側サイドパネル
================================================== */

.side-panel {

    position: sticky;

    top: 20px;

    width: 450px;

    min-height: 970px;

    margin-left: 30px;

    background-color: #ffffff;

    box-shadow:
        0 0 5px
        rgba(0, 0, 0, 0.05);

}


/* ==================================================
   右上画像
================================================== */

.side-hero {

    position: relative;

    width: 100%;

    height: 250px;

    overflow: hidden;

}


.side-hero img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}


/* 右画像の文字 */

.side-copy {

    position: absolute;

    top: 38px;

    left: 35px;

    color: white;

    text-shadow:
        0 2px 7px
        rgba(0, 0, 0, 0.65);

}


.side-copy p {

    font-size: 18px;

    line-height: 1.6;

    letter-spacing: 2px;

}


/* ==================================================
   サイドメニュー
================================================== */

.side-navigation {

    padding:
        30px 35px 0;

}


/* メニュー */

.side-navigation a {

    display: flex;

    justify-content: space-between;

    align-items: center;

    height: 58px;

    border-bottom:
        1px solid #333;

    color: #333;

    text-decoration: none;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 13px;

    letter-spacing: 3px;

    transition:
        0.25s ease;

}


/* 一番上の線 */

.side-navigation a:first-child {

    border-top:
        1px solid #333;

}


/* 矢印 */

.side-navigation b {

    font-size: 20px;

    font-weight: 300;

    transition:
        0.25s ease;

}


/* ホバー */

.side-navigation a:hover {

    padding-left: 10px;

}


.side-navigation a:hover b {

    transform:
        translateX(5px);

}


/* ==================================================
   右下の線
================================================== */

.side-bottom-line {

    width:
        calc(100% - 70px);

    height: 1px;

    background-color: #333;

    margin:
        35px auto 0;

}


/* ==================================================
   タブレット
================================================== */

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


    .site-wrapper {

        max-width: 600px;

        display: block;

    }


    .main-content {

        width: 100%;

    }


    .side-panel {

        position: relative;

        top: auto;

        width:
            calc(100% - 30px);

        margin:
            30px auto;

        min-height: auto;

    }


}


/* ==================================================
   スマートフォン
================================================== */

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


    body {

        background-color: white;

    }


    .top-section {

        height: 260px;

    }


    .top-text h1 {

        font-size: 31px;

    }


    .top-text p {

        font-size: 10px;

    }


    /* 概要 */

    .about-inner {

        padding:
            30px 20px;

    }


    .about-text {

        font-size: 11px;

        line-height: 1.9;

    }


    /* ジャンル */

    .genre-section {

        min-height: 700px;

    }


    .genre-content {

        padding:
            65px 15px 40px;

    }


    .genre-heading {

        margin-bottom: 45px;

    }


    .genre-heading h2 {

        font-size: 22px;

    }


    .genre-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 12px;

    }


    .genre-card {

        height: 120px;

    }


    /* 作品 */

    .works-grid {

        grid-template-columns: 1fr;

        padding:
            0 15px;

        gap: 20px;

    }


    .work-image {

        height: 230px;

    }


    /* サイド */

    .side-panel {

        width:
            calc(100% - 20px);

    }


    .side-navigation {

        padding:
            20px 25px 0;

    }


    .side-bottom-line {

        width:
            calc(100% - 50px);

    }


}