@charset "UTF-8";

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #F8F5E9;
    --green: #3A7D44;
    --accent1: #DE5A5A;
}

body {
    font-family: "Zen Kaku Gothic New", "M PLUS Rounded 1c", sans-serif;
    font-size: 1.25rem;
    background-color: #3A7D44;
    color: #695418;
    overflow-x: hidden;
}

/* Navigation Bar */
/* Navigation Bar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fdf5dc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    font-weight: bold;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px;
    height: auto;
    cursor: pointer;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.nav-logo a {
    font-size: 1.6rem;
    font-weight: 800;
    color: #3c6e47;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease, transform 0.3s ease;
}

.nav-logo a:hover {
    color: #DE5A5A;
    transform: scale(1.1);
}

.nav-icon {
    cursor: pointer;
}

.nav-icon:hover {
    transform: scale(1.1);
}


/* Sidebar */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #2d3748;
    overflow-x: hidden;
    transition: width 0.4s ease;
    padding-top: 80px;
    z-index: 2000;
    box-shadow: -3px 0 8px rgba(0, 0, 0, 0.3);
}

.sidebar a {
    padding: 1.5rem 2rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    display: block;
    transition: background 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar a:hover {
    background: #4e7c50;
    color: #fff;
}

.sidebar .closebtn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}

/* Overlay (background blur) */
.overlay {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1500;
}

img {
    vertical-align: bottom;
    max-width: 100%;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
    /*幅広げた*/
}


/***header***/
header {
    background-color: pink;
}


/***body***/
.sources-wrapper {
    background-image: url(../img/sources-bg.png);
    background-size: contain;
    z-index: -10;
    position: relative;
}

#sources {
    margin: 0 100px;
    padding: 180px 35px 100px;

    background-image: url(../img/ivy.svg);
    background-repeat: repeat-y;
}

.sect-title {
    color: #FFFFFF;
    font-size: 2.125rem;
    font-weight: normal;
    background-image: url(../img/sources-title-bg.jpg);
    background-size: cover;
    padding: 25px 130px;
    width: fit-content;
    margin: 0px auto 120px;
    border-radius: 30px;
}

.sources-list li {
    background-image: url(../img/repeatabletest.jpg);
    background-repeat: repeat;
    border-radius: 10px;
    position: relative;
    margin-bottom: 90px;

    padding: 45px 45px 45px 70px;
    box-shadow: 5px 8px 5px rgba(9, 50, 8, 0.3);
}

.sources-list li:last-of-type {
    margin-bottom: 0;
}

.sources-deco {
    position: absolute;
    top: 50%;
    left: 0;
    translate: -70% -50%;
    width: 190px;
}

.sources-deco.back {
    z-index: -1;
}

.sources-list li p {
    margin-bottom: 20px;
}

.sources-link {
    color: #fff;
    background-color: var(--accent1);
    padding: 6px 12px;
    border-radius: 10px;
    font-weight: bold;
    width: fit-content;
    font-size: 1.125rem;
    font-weight: bold;
    display: block;
    box-sizing: content-box;
}

.sources-link:not(:last-of-type) {
    margin-bottom: 10px;
}

.sources-link span {
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 1px solid #fff;
}

.sources-link img {
    height: 1.2em;
    vertical-align: middle;
    margin-left: 2px;
}


/* Footer */
#footer {
    background-color: #F8F5E9;
    padding: 40px 0 35px;
}

.footer-content {
    margin-bottom: 5px;
}

.link-button {
    color: #fff;
    background-color: #DE5A5A;
    padding: 6px 12px;
    border-radius: 10px;
    font-weight: bold;
    width: fit-content;
    font-size: 1.125rem;
    font-weight: bold;
    display: block;
    box-sizing: content-box;
}

.link-button img {
    height: 1.2em;
    vertical-align: middle;
    margin-left: 2px;
}

.wdc-logo {
    width: 45px;
}

.wdc-text {
    font-size: 1.5rem;
    font-weight: bold;
}

.copy {
    font-size: 1.125rem;
    text-align: center;
}



@media screen and (max-width:768px) {
    .sources-wrapper{
        background-image: url(../img/sources-bg-sp.png);
    }
    .sect-title {
        padding: 18px 76px;
        font-size: 1.625rem;
        margin-bottom: 30px;
    }

    #sources {
        padding: 80px 12px;
        background-size: 12px auto;
        margin: 0 10px 0 45px;
    }

    .sources-deco {
        width: 80px;
    }

    .sources-list li {
        padding: 20px 20px 20px 25px;
        margin-bottom: 50px;
    }
}