@charset "UTF-8";

* {
    box-sizing: border-box;
} 

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #908f8d;
    cursor: url('../images/cursor-kanabou.png'), auto;
}

.container {
    display: grid;
    grid-template-columns: 100%;
    word-break: keep-all;
}
a {
    cursor: help;
}

header {
    background-color: #573910;
}
    .header_top {
        display: grid;
        grid-template-columns: 2fr 3fr;
    }
        figure.logo {
            z-index: 2;
            margin: 0.9vw 0 0 5.2vw;
        }
        figure.logo img {
            height: 14.7vw;
        }

        .header_top h1 {
            z-index: 2;
            color: #d3e3bc;
            font-size: 3.83vw;
            font-weight: 500;
            margin: 60px 0 0 0px;
            font-family: "Zen Antique", serif;
        }

        .logo_underline {
            background-color: #CC3300;
            height: 35px;
            grid-column: 1 / 3;
            margin-top: -30px;
        }

    .header_bottom ul, footer ul {
        list-style-type: none;
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 0;
        margin: 0 auto;
    }
        footer ul li {
            padding: 8px 8px 8px 25px;
        }
        .header_bottom ul li {
            padding: 8px 8px 8px 16px;
            box-shadow: 50px 0px 65px #614012 inset,
                    -14px -15px 28px #3d290b inset;
            font-family: "BIZ UDMincho", serif;
        }
        .header_bottom ul li:hover {
            background-color: #d3e3bc;
            box-shadow: 10px 0px 10px rgb(198, 226, 13) inset;
        }
            .header_bottom ul li a {
                text-decoration: none;
                display: inline-block;
                color: #CC3300;
            }
            .header_bottom ul li a:hover {
                color: #51504c;
            }
                .header_bottom ul li a::before {
                    content: '👹 ';
                }
                .header_bottom ul li a::after {
                    content: "";
                    display: block;
                    width: 0;
                    transition: width 0.4s ease-in-out;
                    border-bottom: 2px solid #CC3300;
                    margin: 0 auto;
                }
                    .header_bottom ul li a:hover::after {
                        width: 100%; 
                    }


section.flood_damage {
    background-image: url('../images/common/bg-flood-damage.png');
    background-position:center;
    background-repeat: no-repeat;
}
    h2 {
        color: #573910;
        font-weight: 600;
        font-size: 1.4em;
        font-family: "BIZ UDMincho", serif;
        font-style: normal;
        margin: 35px 0 8px 0;
        padding-bottom: 3px;
        border-bottom: 6px dotted #d3e3bc;
        text-align: center;
        transition: all 0.3s linear 0.8s;
    }
    h2:hover {
        border-bottom: 6px dotted #b8df80;
    }
    h2 ruby rt {
        font-size: 0.5em;
    }

p {
    font-size: 1.01em;
    color: #38250b;
    font-weight: 400;
    margin: 20px 30px;
    line-height: 38px;
    font-family: "Zen Antique", serif;
    font-style: normal;
}
    p span {
        display: inline-block;
        background: linear-gradient(transparent 65%, #CC3300 96%);
    }
    ruby rt {
        color: #573910;
        font-size: 0.79em;
        ruby-align: center;
        font-family: sans-serif;
    }

    
div.timeline {
    position: relative;
    margin: 0 auto;
}
div.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: #cc330064;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
    .timeline_item {
        position: relative;
        box-sizing: border-box;
    }
    .timeline_item:nth-child(odd) {
        left: 0%;
        text-align: left;
    }
    .timeline_item:nth-child(even) {
        left: 0%;
        text-align: left;
    }
    .timeline_item::before {
        content: '';
        position: absolute;
        top: 15%;
        width: 15px;
        height: 15px;
        background-color: #cc3300;
        border: 3px solid #573910;
        border-radius: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    .timeline_item:nth-child(even)::before {
        left: 50%;
        transform: translate(-50%,-50%);
    }
        .timeline_content p {
            padding: 0 2vw;
            font-size: 0.97em;
            line-height: 6.42vw;
            color: #38250b;
            background-color: #f3f7e59e;
            box-shadow: 8px 8px 10px 1px rgba(17, 16, 16, 0.216);
        }
            .time {
                width: 22.9vw;
                text-align: center;
                background: rgba(81, 80, 76, 0.52);
                margin: 1.83vw 20.09vw;
            }
                .time h3 {
                    color: rgb(255, 255, 255);
                    font-size: 11px;
                    margin: 0 auto;
                    border-bottom: 2px dotted rgb(144, 143, 141);
                }
                .time p {
                    color: #b8df80;
                    font-size: 14px;
                }
                .time span {
                    color: rgb(184, 223, 128);
                    font-size: 14px;
                }

    p.button {
        width: fit-content;
        background: linear-gradient(18deg,#573910, #9f9127);
        font-family: sans-serif;
        color: #FFFFFF;
        font-size: 15px;
        font-weight: 400;
        height: 36px;
        line-height: 34px;
        border-radius: 50px;
        padding: 0 15px;
        margin: 8% 0 8% 70%;
        box-shadow: 0 3px 7px #51504c;
        border: none;
    }
    p.button:hover {
        background: #CC3300;
        box-shadow: none;
        transform: scale(1.08);
    }
    p.button a {
        text-decoration: none;
        color: #d3e3bc
    }

.img_anime {
    display: none;
}
   
footer {
    background-color: #573910;
    padding: 30px 0;
}
    footer ul {
       margin-bottom: 110px;
    }  
    footer ul li a {
        text-decoration: none;
        color: #f3f7e5;
        font-weight: 300;
        font-size: 16px;
        line-height: 33px;
    }
    footer ul li a:hover {
        color: #CC3300;
    }
    footer ul li a::before {
        content: '♨ ';
    }

    figure.sns {
        display: flex;
        justify-content: space-evenly;
        margin: 3vw 13.5vw;
    }
        figure.sns a {
            width: 11.73%;
            height: 11.73%;
        }
        figure.sns a img {
            width: 100%;
            height: auto;
            max-width: 50px;
        } 

@media screen and (min-width: 835px) {

        .header_top {
            grid-template-columns: 2fr 3fr;  
        }
            figure.logo {
                margin: 0.1vw 0 0 22.27vw;
            }
            figure.logo img {
                height: 8.39vw;
            }
            .header_top h1 {
                font-size: 2.2vw;
            }

            .header_bottom ul, footer ul {
                grid-template-columns: repeat(3,1fr);
                font-size: 1.1em;
            }
        footer {
            padding: 1.5vw 0 9.76vw 0;
        }
            footer ul {
                padding: 0 5.7vw;
            }
            footer ul li {
                margin: 0 auto;
                min-width: 147px;
            }
            footer ul li a {
                font-size: 0.98em;
            }

            figure.sns {
                margin: 0 25vw;
            }
            figure.sns a {
                width: auto;
                margin: 0;
                padding: 0;
            }
            figure.sns a img {
                height: 50px;
                width: 50px;
                margin: 0;
                padding: 0;
            }

    section.flood_damage {
        background-image: url('../images/common/bg-flooddamage-pc.png');
        background-size: contain;
    }
        h2 {
            font-size: 1.9em;
        }

        p {
            font-size: 1.13em;
            line-height: 55px;
        }
        p span {
            background: linear-gradient(transparent 58%, #CC3300 99%);
        }
        p.flood1 {
            text-align: center;
        }

            div.time {
                width: 225px;
                margin: 1.83vw 16.09vw;
            }
                .time h3 {
                    font-size: 13px;
                }
                .time span {
                    font-size: 18px;
                    font-weight: 500;
                } 
            .timeline_content p {
                font-size: 1.1em;
                line-height: 39px;
                padding: 0.59vw 2vw;
            }

        p.button {
            font-size: 22px;
            font-weight: 400;
            height: 42px;
            line-height: 38px;
            border-radius: 20px;
            padding: 0 20px;
            margin: 5vw 0 5vw 75vw;
        }
    }


