@charset "utf-8";
/* CSS Document */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0
}

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	box-sizing: border-box;
	-moz-tab-size: 4;
	tab-size: 4;
	word-break: normal
}

body {
	color: #333;
	font-family: "Meiryo", sans-serif;
	min-height: 100vh;
}

img {
	max-width: 100%;
	vertical-align: bottom;
}

li {
	list-style: none;
}

a {
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.8;
  transition: all 0.3s ease;
}

.inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

@media screen and (max-width: 1024px) {
    .inner {
        padding: 0 24px;
    }
}

@media screen and (max-width: 767px) {
    .inner {
        padding: 0 8px;
    }
}

#header {
    width: 100%;
    background-color: #D0121B;
    height: 120px;
    display: flex;
    align-items: center;
    line-height: 1;
}

#header .logo {
    display: inline-block;
}

#header .logo img {
    width: 320px;
    height: 100%;
}


@media screen and (max-width: 767px) {
    #header {
        height: 64px;
        margin-bottom: 36px;
    }

    #header .logo img {
        width: 190px;
    }
    
    #header .logo p {
        font-size: 12px;
    }
}

main {
    background-color: #fff;
    padding: 80px 0;
}

.blog_contents .blog_list {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.blog_contents .blog_list li {
    width: calc(100%/4);
    padding: 15px;
    text-align: center;
    margin-bottom: 32px;
}

.blog_contents .blog_list li a img {
    background-color: #F2F2F2;
    border: 6px solid #D0121B;
    border-radius: 40px 40px 0 0;
    padding: 34px;
    border-bottom: none;
}
.blog_contents .blog_list li a:hover img {
    background-color: #fff;
}

/*.blog_contents .blog_list li:nth-of-type(even) a img {
    background-color: #9F9F9F;
}*/

.blog_contents .blog_list li a p {
    background-color: #D0121B;
    padding: 6px 0;
    letter-spacing: 1px;
    color: #fff;
}

/*.blog_contents .blog_list li:nth-of-type(even) a p {
    color: #9F9F9F;
}*/
@media screen and (max-width: 1024px) {
    main {
        padding: 50px 0;
    }

    .blog_contents .blog_list li {
        width: calc(100%/3);
        padding: 8px;
        margin-bottom: 12px;
    }
}

@media screen and (max-width: 767px) {
    main {
        padding: 0 0 40px 0;
    }
    
    .blog_contents .blog_list li {
        width: calc(100%/2);
        padding: 6px;
        margin-bottom: 12px;
    }
    
    .blog_contents .blog_list li a p {
        font-size: 12px;
    }
}

#footer {
    background-color: #F2F2F2;
    padding-bottom: 20px;
}

#footer .footer_heading {
    margin-bottom: 32px;
    background-color: #676767;
    padding: 30px 0;
}

#footer .footer_heading .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#footer .footer_heading .inner .logo {
    display: inline-block;
}

#footer .footer_heading .inner .logo a {
    display: flex;
    align-items: flex-end;
}

#footer .footer_heading .inner .logo img {
    width: 320px;
    height: 100%;
    margin-right: 12px;
}

#footer .footer_heading .inner .corporate {
    border: 1px solid #fff;
    line-height: 1;
    display: flex;
    align-items: center;
}

#footer .footer_heading .corporate a {
    padding: 12px 36px;
    color: #fff;
}

#footer .footer_heading .corporate:hover a {
    background-color: #fff;
    color: #333;
}

#footer .footer_list {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 42px;
}

#footer .footer_list li {
    width: calc(100%/5);
    padding: 14px 8px 14px 0;
}

#footer .footer_list li a:hover {
    border-bottom: 1px solid #333;
}

#footer  .copyright {
    text-align: center;
    font-size: 14px;
}

@media screen and (max-width: 1024px) {
    #footer .footer_list li {
        width: calc(100%/3);
    }
}

@media screen and (max-width: 767px) {
    #footer .footer_heading {
        margin-bottom: 18px;
        padding: 30px 0;
    }

    #footer .footer_heading .inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        
        flex-direction: column;
    }

    #footer .footer_heading .inner .logo img {
        width: 190px;
        margin-bottom: 24px;
    }
    
    #footer .footer_list {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        margin-bottom: 28px;
    }

    #footer .footer_list li {
        width: calc(100%/2);
        padding: 8px 8px 8px 0;
    }

    #footer .footer_list li a {
        font-size: 13px;
    }

    #footer  .copyright {
        text-align: center;
        font-size: 10px;
    }

    
}

/*----------------------
個別ページ用
----------------------*/
.blog_contents .contents-title {
    display: flex;
    align-items: center;
}

.blog_contents .contents-title .icon {
    border: 2px solid #D0121B;
    border-radius: 50%;
    padding: 8px;
    margin-right: 12px;
    width: 70px;
}

.blog_contents .text {
    margin-top: 48px;
    padding: 32px;
    background-color: #F2F2F2;
    border-radius: 25px 25px 0 0;
}

.blog_contents .text .heading {
    font-size: 18px;
    font-weight: bold;
    display: flex;
}

.blog_contents .text .colophon {
    display: flex;
    justify-content: flex-end;
    text-align: right;
    font-weight: bold;
}


@media screen and (max-width: 767px) {
    .pc {
        display: none;
    }
    
    
    
    .blog_contents .contents-title .icon {
        width: 70px;
    }

    .blog_contents .text {
        margin-top: 24px;
        padding: 16px;
        font-size: 14px;
    }

}




