@charset "utf-8";

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
 
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*
    リセットcss終わり
*/

body {
    font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
    background-color: #fff4e0;
    color: #1a4772;
}

div.wrapper {
    width: 100%;
    max-width: 1200px;
    min-height: 100vh;
    height: auto;
    margin: 0 auto;
}

div.content-wrapper {
    display: flex;
}

div.main-content {
    width: calc(100% - 400px);
    height: auto;
    order: 2;
}

header {
    width: 100%;
    height: auto;
    background-color: #fff4e0;
}

div.title {
    padding: 50px;
}

div.title a {
    text-decoration: none;
    color: #1a4772;
    font-size: 1.9rem;
    line-height: 1.5;
    font-weight: bold;
}

div.title a:hover {
    opacity: 0.7;
}

div.main-items {
    width: 100%;
    height: auto;
    background-color: #fff4e0;
    padding: 0 0 0 50px;
    box-sizing: border-box;
}

div.main-items article {
    background-color: #fff;
    padding: 50px 50px 20px 50px;
    margin-bottom: 50px;
}

div.main-items article:last-child {
    margin-bottom: 0;
}

div.main-items article h1,
div.main-items article h2,
div.main-items article h3 {
    position: relative;
    padding: 1rem 2rem calc(1rem + 10px);
    background: #f5c83b;
    font-weight: bold;
    line-height: 1.3;
}

div.main-items article h1 {
    font-size: 1.4rem;
}

div.main-items article h2 {
    font-size: 1.3rem;
}

div.main-items article h3 {
    font-size: 1.2rem;
}

div.main-items article h1:before,
div.main-items article h2:before,
div.main-items article h3:before {
    position: absolute;
    top: -7px;
    left: -7px;
    width: 100%;
    height: 100%;
    content: '';
    border: 4px solid #1a4772;
}

div.main-items article p {
    font-size: 0.75rem;
    line-height: 1.8;
    margin: 30px 0;
}

div.main-items article ul li {
    font-size: 0.75rem;
    line-height: 1.8;
    list-style: inside;
    
}


div.main-items article p a {
    color: #f5c83b;
}

div.main-items article p a:hover {
    opacity: 0.5;
}

.img-left {
    float: left;
    border-radius: 20px;
    width: 45%;
    margin-right: 10px;
}

.img-right {
    float: right;
    border-radius: 20px;
    width: 45%;
    margin-left: 10px;
    overflow: hidden;
}

.img-center {
    border-radius: 20px;
    width: 100%;
    margin: 0 auto;
}

div.left-menu {
    width: 400px;
    height: auto;
    background-color: #1a4772;
    order: 1;
    padding: 50px;
    box-sizing: border-box;
}

div.category-title {
    padding: 1rem 2rem;
    border-top: 3px dashed #f5c83b;
    border-bottom: 3px dashed #f5c83b;
    color: #fff4e0;
    text-align: center;
    font-weight: bold;
    font-size: 1.4rem;
}

ul.category-link {
    padding-top: 50px;
}

ul.category-link li {
    padding-bottom: 50px;
}

ul.category-link li a {
    color: #fff4e0;
    text-decoration: none;
    line-height: 1.5;
    font-size: 0.8rem;
}

ul.category-link li a:hover {
    color: #f5c83b;
}

footer {
    width: 100%;
    height: auto;
    background-color: #fff4e0;
}

p.footer {
    font-size: 0.6rem;
    padding: 20px 50px;
    text-align: center;
}

p.footer a {
    color: #1a4772;
    text-decoration: none;
}

p.footer a:hover {
    opacity: 0.7;
}



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

    div.wrapper {
        width: 100%;
        max-width: initial;
    }

    div.content-wrapper {
        flex-direction: column;
    }

    div.title {
        text-align: center;
    }

    div.main-content {
        order: 1;
        width: 100%;
    }

    div.main-items {
        padding-right: 50px;
    }

    div.main-items article:last-child {
        margin-bottom: 50px;
    }

    div.left-menu {
        order: 2;
        width: 100%;
    }

    ul.category-link li {
        text-align: center;
    }
}

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

        div.title {
            padding: 15px;
        }

        div.title a {
            font-size: 1.7rem;
            line-height: 1.2;
        }

        div.main-items {
            padding-left: 15px;
            padding-right: 15px;
        }

        div.main-items article {
            padding: 15px 15px 1px 15px;
            margin-bottom: 15px;
        }

        div.main-items article:last-child {
            margin-bottom: 15px;
        }

        div.left-menu {
            padding: 15px;
        }

        ul.category-link {
            padding-top: 25px;
        }
        
        ul.category-link li {
            padding-bottom: 25px;
        }

        ul.category-link li:last-child {
            padding-bottom: 0;
        }
    
        
}