@charset "UTF-8";
/*======================================================================
Reset CSS for HTML5
======================================================================*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, main, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
ul {
    list-style:none;
}
blockquote, q {
    quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
img {
    line-height: 1;
    vertical-align: bottom;
}

/*change colors to suit your needs*/
ins {
    background-color: var(--white);
    color:var(--black);
    text-decoration:none;
}
mark {
    background-color:var(--white);
    color:var(--black);
    font-style:italic;
    font-weight:bold;
}
del {
    text-decoration: line-through;
}
abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}
table {
    border-collapse:collapse;
    border-spacing:0;
}
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}
input, select {
    vertical-align:middle;
}


/*======================================================================
  BASIC
======================================================================*/
html,body {
    height: 100%;
}
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}
:root {
    --white: #FFFFFF;
    --font-main: #000000;
    --dark-gray: #333333;
    --gray2:#888888;
    --gray1: #CCCCCC;
    --blue: #C5D7E5;
    --light-blue: #E7EEF4;
    --link: #329f03;
}
body {
    line-height: 1.5;
    font-family: "Yu Gothic" , "Yu Gothic UI" , "Segoe UI" , "游ゴシック" , "Meiryo" , "Meiryo UI" , "メイリオ" , "Hiragino Sans" , "Sanfrancisco" , "Hiragino Kaku" , "Gothic ProN" , "Helvetica Neue" , "Noto Sans CJK JP" , "Roboto" , sans-serif;
    font-size: 1.6rem;
    color: var(--font-main);
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}
p { 
    line-height: 1.5; 
}
a { 
    text-decoration: none; 
    color: var(--font-main);
    /* display: inline-block; */
}
img {
    line-height: 1;
    vertical-align: bottom;
}

/* mouseover - opacity */
body a:hover {
	opacity: 0.6;
}

/*======================================================================
  FORMAT
======================================================================*/
/* block class */
.boxWrap {
	max-width: 768px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* flexBox */
.flexBox {
    display: flex;
    flex-direction: column;
}

/* float */
.fl { float: left;}
.fr { float: right;}

/* trimming */
.trimming {
    display: block;
    position: relative;
    overflow: hidden;

}
.trimming img {
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: auto;
    margin: auto;
}

h1 {
    font-size: 1.6rem;
    font-weight: normal;
    text-align: center;
    margin-top: 20px;
}
h2 {
    font-size: 2.4rem;
}
h3 {
    font-size: 1.8rem;
    font-weight: bold;
}

/*======================================================================
  HEADER
======================================================================*/
.header {
    background: var(--light-blue);
}
.header_inner {
    max-width: 768px;
    margin: 0 auto;
    box-sizing: border-box;
    background: url('./images/header.jpg') no-repeat center top;
    min-height: 370px;
    padding: 80px 20px 60px;
    height: auto;
}
.header_inner .logo {
    display: block;
    max-width: 498px;
    width: 100%;
    margin: 0 auto;
}
.header img,
.footer img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* menu_button */
.menu_button {
    display: flex;
    width: 46px;
    height: 46px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    cursor: pointer;
    border: 1px solid var(--font-main);
    margin: 0 auto;
    box-sizing: border-box;
    margin-top: 92px;
}
.menu_button:hover {
    opacity: 1;
    background: var(--font-main);
}
.menu_button span {
    display: block;
    margin: 0 auto 8px;
    width: 30px;
    height: 2px;
    font-size: 0;
    border-radius: 1px;
    margin-bottom: 5px;
    background: var(--font-main);
}
.menu_button:hover span {
    background: var(--white);
}
.menu_button > span:nth-child(3) {
    margin-bottom: 0;
}


/* menu-main */
.menu-main {
    max-height: 0;
    overflow: hidden;
    background: var(--primary);
    transition: 0.3s ease-in-out;
    background: var(--gradation, linear-gradient(0deg, #FAEFED 0%, #BED3E6 100%));
}
.menu-main ul li {
    border-bottom: 1px solid var(--mono-100);
}
.menu-main ul li a {
    display: block;
    padding: 1em;
    color: var(--mono-100);
    font-weight: bold;
    text-align: center;
}

/* breadcrumb */
.breadcrumb ul {
	display: block;
	max-width: 768px;
	margin: 0 auto;
	padding: 1.5rem 2rem;
    box-sizing: border-box;
    text-align: left;
}
.breadcrumb ul li {
	display: inline-block;
	margin-left: 0.5rem;
    color: var(--black);
}
.breadcrumb ul li:first-child {
	margin-left: 0;
}
.breadcrumb ul li a span {
	font-weight: bold;
    color: var(--black);
}

/*======================================================================
    FOOTER
======================================================================*/
.footer {
    padding: 60px 0 20px;
}
.pagetop {
    margin-left: auto;
    color: var(--white);
    font-weight: bold;
    background: url(./images/arrow_top.svg) no-repeat right 20px center var(--font-main); 
    border-radius: 3px;
    border: 1px solid var(--font-main);
    box-sizing: border-box;
    width: 156px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 36px;
}
.pagetop:hover {
    opacity: 1;
    color: var(--font-main);
    background: url(./images/arrow_top.svg) no-repeat right 20px center var(--white);
}
footer .boxWrap .fnav ul{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
}
footer .boxWrap .fnav ul li a{
    color: var(--font-main);
    display: inline-block;
}
footer .boxWrap .fnav > div > ul > li > a {
    font-size: 1.8rem;
    font-weight: bold;
}
footer .boxWrap .fnav ul li a:hover{
    opacity: 1;
    text-decoration: underline;
}
footer .boxWrap .fnav ul li ul{
    gap: 4px;
    margin-top: 10px;
}
footer .boxWrap .fnav ul li ul li a{
    position: relative;
    display: inline-block;
    padding: 0 0 0 15px;
}
footer .boxWrap .fnav ul li ul li a::before{
    content: "";
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    position: absolute;
    top: 9px;
    left: 5px;
    background: var(--font-main);
}
.footer_inner {
    margin-top: 40px;
    max-width: 400px;
    padding: 20px 0;
    border-top: 1px solid var(--gray1);
    border-bottom: 1px solid var(--gray1);
    gap: 20px;
}
.footer_inner .logo {
    display: block;
    max-width: 311px;
    width: 100%;
}
footer .boxWrap .footer_about span{
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}
.footer small {
    color: var(--font-main);
    width: 100%;
    text-align: right;
    display: block;
    padding-top: 40px;
}

/*======================================================================
  RECOMMEND
======================================================================*/
.recommend {
    background: var(--gray2);
    padding: 60px 0;
}
.recommend h2 {
    color: var(--white);
}
.recommend ul {
    margin-top: 30px;
    gap: 30px;
}
.recommend li {
    gap: 10px;
} 
.recommend .trimming {
    height: 170px;
}
.recommend h3 a {
    display: inline-block;
	color: var(--dark-gray);
}
.recommend h3 a:hover {
    opacity: 1;
    color: var(--white);
}

/*======================================================================
  INDEX
================================ ======================================*/
/* index_head */
.index_head {
    background: linear-gradient(0deg, #FFF 0%,  #E7EEF4 100%);
    padding-bottom: 60px;
}
.index_head-inner {
    padding: 20px 0;
    border-top: 1px solid var(--gray1);
    border-bottom: 1px solid var(--gray1);
    gap: 20px;
}
.index_head-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 20px;
}

/* index_topics */
.index_topics {
    padding-bottom: 60px;
}
/* index_popular */
.index_popular {
    background: linear-gradient(0deg, #FAEFED 0%, #BED3E6 100%);
}
.index_popular h2 {
    color: var(--white);
}
.index_popular {
    padding: 60px 0;
} 
.index ul {
    margin-top: 30px;
    gap: 3rem;
}
.index li {
    gap: 10px;
}
.index a:hover {
    opacity: 1;
}
.index .trimming {
    height: 170px;
    position: relative;
}
.index .trimming:hover img{
    opacity: .6;
}
.check{
    color: var(--white);
    font-weight: bold;
    background: url(./images/arrow_right.svg) no-repeat right 20px center var(--font-main); 
    border-radius: 3px;
    border: 1px solid var(--font-main);
    box-sizing: border-box;
    padding-right: 36px;
    width: 156px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.index .check {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
}
.index .trimming:hover span {
    z-index: 1000;
    opacity: 1;
    background-color: var(--white);
    color: var(--font-main);
}
.index h3 {
    padding: 10px 0;
}
.index h3 a {
    display: inline-block;
}
.index h3 a:hover {
    opacity: 0.6;
}

@media screen and (max-width: 768px) {
    .index_head-wrap {
        flex-direction: column;
        gap: 20px;
    }
    .index_head-wrap .logo {
        text-align: center;
    }
}

/*======================================================================
  CATEGORY
======================================================================*/
/* category_head */
.category_head {
    background: linear-gradient(0deg, #FFF 0%,  #E7EEF4 100%);
    padding: 20px 0 60px;
}
.category_head-inner {
    gap: 10px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray1);
}
.category_head .trimming {
    height: 170px;
    border: 1px solid var(--font-main);
}


/* category_post */
.category_post {
   padding-bottom: 60px;
}
.category_post ul {
    gap: 30px;
}
.category_post li {
    gap: 10px;
}
.category_post li .trimming {
    height: 170px;
}
.category_post h3 a {
    display: inline-block;
}
.category_post .check:hover {
    z-index: 1000;
    opacity: 1;
    background-color: var(--white);
    color: var(--font-main);
}


/*======================================================================
  DETAIL
======================================================================*/
/* detail_head */
.detail_head {
    padding: 20px 0 40px;
    background: linear-gradient(0deg, #FFF 0%,  #E7EEF4 100%);
}
.detail_head-inner {
    gap: 10px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray1);
}
.detail_head .trimming {
    height: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid var(--font-main);
}
.detail_head h2 {
    background: var(--white);
    font-weight: bold;
    text-align: center;
    position: relative;
    z-index: 100;
    width: 100%;
}
.category_list{
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 10px;
}
.category_list li a{
    display: inline-block;
    color: var(--font-main);
    padding: 7px 20px 5px;
    border-radius: 3px;
    font-weight: bold;
    border: 1px solid var(--font-main);
}
.category_list li a:hover {
    opacity: 1;
    color: var(--white);
    background: var(--font-main);
}


/* detail_post */
.detail_post {
    padding-top: 20px;
    padding-bottom: 60px;
}
.detail_post h3 {
    margin-bottom: 10px;
} 
.detail_post h3:not(:first-of-type) {
    margin-top: 30px;
}
.detail_post .trimming {
    height: 170px;
    margin-bottom: 10px;
}

/* 引用 */
blockquote {
    position: relative;
    padding: 40px 10px 10px 15px;
    box-sizing: border-box;
    font-style: italic;
    color: var(--font-main);
    background: var(--light-blue);
    margin-top: 16px;
}
blockquote:before{
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 0px;
    content: "“";
    color: var(--blue);
    font-size: 90px;
    line-height: 1;
}
blockquote p {
    padding: 0;
    margin: 10px 0;
}


/* メアド設置 */
.detail_post a {
    color: var(--link);
    font-weight: bold;
}

/* リンク設置 */
.link_item {
    display: inline-block;
    margin: 1em 0;
}
.link_item a {
    display: block;
	width: fit-content;
}
.link_item a:nth-child(1) {
    margin-bottom: 1em;
}
.link_item a:last-child {
    margin-top: 1em;
}

@media screen and (max-width: 768px) {
    .detail_head h2 {
        font-size: 2rem;
    }
    .detail_post .trimming::before {
        width: 100%;
    }
    .detail_category_list {
        flex-direction: column;
    }
    .detail_category_list li {
        width: 100%;
    }
}
     
