@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: url(img/bg.jpg);
    color: #5b2901;
}

div.inner-wrapper {
    max-width: 1180px;
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
}

header {
    width: 100%;
    height: auto;
    background-color: #ffce6d;
    border-top: 10px solid #62aca2;
    border-bottom: 10px solid #62aca2;
    margin: 10px 0;
}

div.site-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    padding: 20px;
    line-height: 1.2;
}

div.site-title a {
    color: #5b2901;
    text-decoration: none;
}

div.site-title a:hover {
    opacity: 0.7;
    transition: .3s;
}

div.main-image {
    width: 100%;
    margin-bottom: 10px;
    box-shadow: 5px 5px 15px -5px #5b2901;
}

div.main-image img {
    width: 100%;
    vertical-align: top;
}

div.yellow-line {
    background-color: #ffce6d;
    width: 100%;
    height: 35px;
}

div.green-line {
    background-color: #61a6ab;
    width: 100%;
    height: 35px;
    margin-bottom: 10px;
}

div.main-contents {
    width: 100%;
    height: auto;
    background-color: #fff;
    padding: 40px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

div.main-contents h1,
div.main-contents h2,
div.main-contents h3 {
    text-align: center;
    font-size: 22px;
    padding-bottom: 15px;
    border-bottom: 2px solid #61a6ab;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 55px;
}

div.main-contents p {
    margin: 55px 0;
    line-height: 2;
}

div.main-contents p a {
    color: #61a6ab;
}

div.img-left {
    float: left;
    margin-right: 10px;
    width: 40%;
}

div.img-left img {
    width: 100%;
}

div.img-right {
    float: right;
    margin-left: 10px;
    width: 40%;
}

div.img-right img {
    width: 100%;
}

div.img-center {
    width: 60%;
    margin: 0 auto;
}

div.img-center img {
    width: 100%;
}


div.list-contents {
    width: 100%;
    height: auto;
    background-color: #fff;
    padding: 40px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

div.category-title {
    text-align: center;
    font-size: 22px;
    padding-bottom: 15px;
    border-bottom: 2px solid #61a6ab;
    font-weight: bold;
}

ul.category-link {
    display: flex;
    flex-wrap: wrap;
    padding-top: 15px;
}

ul.category-link li {
    list-style: inside;
    padding: 20px 15px;
}

ul.category-link li a {
    text-decoration: none;
    color: #5b2901;
}

ul.category-link li a:hover {
    color: #ffce6d;
}

footer {
    width: 100%;
    height: 70px;
    background-color: #61a6ab;
}

p.footer {
    line-height: 70px;
    text-align: center;
    color: #ffce6d;
    font-size: 12px;
}

p.footer a {
    color: #ffce6d;
    text-decoration: none;
}

p.footer a:hover {
    text-decoration: underline;
}

@media screen and (max-width:960px) {

    ul.category-link {
        display: block;
    }

    ul.category-link li {
        list-style: none;
        text-align: center;
    }
}

@media screen and (max-width:420px) {
    div.site-title {
        font-size: 30px;
        padding: 10px;
    }

    div.main-contents {
        padding: 20px;
    }
}