@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;
}

/*change colours to suit your needs*/
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}
mark {
    background-color:#ff9;
    color:#000;
    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 {
    box-sizing: border-box;
    height: 100%;
}
html {
    font-size: 10px;
}
:root {
    --space_lg: 48px;
    --space_md: 24px;
    --space_sm: 16px;
    --space_mi: 8px;
    --fontsize_lg: 2.4rem;
    --fontsize_md: 2rem;
    --text: #303030;
    --sub_text: #FFFFFF;
    --background: #FFFFFF;
    --emphasis: #E5E7EB;
    --line: #DBDBDB;
    --sub_line: #0068B3;
}

body {
    position: relative;
    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(--text);
    -webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
    background:var(--background);
}
p { color: var(--text);}
a { text-decoration: none; color: var(--text); cursor: pointer;}
a:hover {opacity: .5;}
h3 a:hover {
    opacity: 1;
    text-decoration: underline;
}
* {box-sizing: border-box;}

.img {
    display: block;
    width: 100%;
    height: auto;
}

.fit {
    display: block;
    position: relative;
    overflow: hidden;
}
.fit img {
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    margin: auto;
    width: 100%;
    height: auto;
}

ul,ol,dl {
    list-style: none;
}

article,aside,canvas,details,figcaption,figure,
header,footer,main,menu,nav,section,summary {
display: block;
}

/*======================================================================
  FORMAT
======================================================================*/
/* block class */
.box_wrap {
    max-width: 768px;
    margin: 0 auto;
    padding: var(--space_md);
}
.l_grid {
    display: grid;
    gap: var(--space_lg);
}
.grid {
    display: grid;
    gap: var(--space_md);
}
.s_grid {
    display: grid;
    gap: var(--space_sm);
}
.min_grid {
    display: grid;
    gap: var(--space_mi);
}
.content {
    margin-top: var(--space_lg);
}
.content h2,
.content h3 {
    font-weight: bold;
    font-size: var(--fontsize_lg);
}
h2 {
    position: relative;
    padding-bottom: 12px;
    font-weight: bold;
    font-size: var(--fontsize_lg);
}
h2::after {
    display: block;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 1px;
    background: var(--line);
}
.more {
    display: flex;
    justify-content: flex-end;
}
.more a {
    display: inline-flex;
    position: relative;
    min-height: 60px;
    padding-right: 76px;
    align-items: center;
}
.more a::after {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    border: 1px solid var(--line);
    box-sizing: border-box;
    border-radius: 999%;
    background: url(images/arrow.svg) no-repeat center center;
}
.more a:hover {
    opacity: 1;
}
.more a:hover::after {
    background: url(images/arrow.svg) no-repeat center center var(--line);
}


/*======================================================================
  HEADER
======================================================================*/

/* header */
.mv {
    position: relative;
    max-width: 768px;
    margin: 0 auto;
    height: 432px;
    max-height: 50dvh;
    background: url(images/mv.webp) no-repeat center center / cover;
}
.logo {
    display: inline-block;
    max-width: 181px;
    margin-bottom: 32px;
}
.mv h1 {
    max-width: 50%;
    font-weight: bold;
    font-size: var(--fontsize_md);
}
.mv .catch {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 50%;
    padding: 16px 24px 16px;
    background: var(--background);
}

/* nav */
/*hamburger*/

.gnav {
  color: var(--text);
  display: block;
  margin-bottom: 1px;
  position: relative;
  max-width: 768px;
  margin: 0 auto;
  padding: 0 0 var(--space_lg);
}

.menu-main {
  background: var(--emphasis);
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease-in-out;
}
.gnav ul {
    padding: var(--space_md);
}
.gnav ul li {
  border-bottom: 1px solid var(--sub_line);
  color: #222;
}
.gnav ul li:last-child {
    border-bottom: none;
}
.gnav ul li a {
    display: block;
    width: 100%;
    margin: 5px 0;
    padding: 10px 30px;
}
.menu_button {
  width: 60px;
  height: 60px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  padding: 21px 18px;
  margin: 0 auto;
}
.menu_button:hover{
  opacity: .5;
}
.menu_button > span {
  display: block;
  margin: 0 auto 4px;/*border間隔*/
  width: 24px;
  height: 3px;/*border太さ*/
  font-size: 0;
  background: #666;/*border色*/
  transition: all 0.2s ease-in-out;
}
.menu_button > span:last-child {
  margin-bottom: 0;
}


/* breadcrumb */
.breadcrumb {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 var(--space_md);
    box-sizing: border-box;
}
.breadcrumb ul {
	display: block;
	margin: 0 auto;
}
.breadcrumb ul li {
	display: inline-block;
	margin-left: 10px;
}
.breadcrumb ul li:first-child {
	margin-left: 0;
}
.breadcrumb ul li span {
    color: var(--base);
}
.breadcrumb ul li a {
    font-weight: bold;
}



/*======================================================================
  FOOTER
======================================================================*/
.gfoot {
    background: #001524;
}
.gfoot_top {
    border-bottom: 1px solid var(--line);
}
.gfoot_top .box_wrap {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 0 24px;
}
.page_top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    padding-top: 20px;
    box-sizing: border-box;
    border-left: 1px solid var(--line);
    color: var(--sub_text);
    background: url(images/icon-pagetop.svg) no-repeat center top 20px;
}
.page_top:hover {
    opacity: 1;
    background: rgb(255 255 255 / 20%) url(images/icon-pagetop.svg) no-repeat center top 20px;
}
.gfoot_top + .box_wrap {
    padding: 0 var(--space_md);
}

.fnav ul {
    display: flex;
    justify-content: space-between;
    gap: var(--space_md);
    padding: var(--space_lg) 0;
}
.fnav li {
    min-width: 20%;
    padding-left: var(--space_md);
    background: url(images/line.svg) no-repeat left top 8px;
}
.fnav a {
    display: inline-block;
    font-weight: bold;
    color: var(--sub_text);
}
.fnav a:hover {
    opacity: 1;
    text-decoration: underline;
}
.copy {
    border-top: 1px solid var(--line);
    color: var(--sub_text);
    text-align: right;
}
.copy .box_wrap {
    padding: 20px var(--space_md) ;
}

@media screen and (max-width: 540px) {
    .fnav ul {
        flex-direction: column;
    }
}

/*======================================================================
  RECOMMEND
======================================================================*/
.recommend {
    margin-bottom: var(--space_lg);
}
.recommend > .box_wrap {
    padding-top: 0;
    padding-bottom: 0;
}
.recommend_list .thumb {
    height: 240px;
}
.recommend_list h3 {
    font-size: var(--fontsize_md);
}
.recommend_list h3 a {
    display: inline-block;
}
.recommend_list .cat_tag {
    display: grid;
    gap: 8px;
}
.recommend_list .cat_tag li {
    display: inline-flex;
    justify-content: flex-start;
}
.recommend_list .cat_tag a {
    display: inline-block;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid var(--line);
}

/*======================================================================
  INDEX
======================================================================*/
.index > .box_wrap {
    padding-bottom: 0;
}
.index_cat .thumb {
    height: 240px;
}
.index_cat h3 a {
    display: inline-block;
}

/*======================================================================
  CATEGORY
======================================================================*/
.cat_head.box_wrap {
    padding: 0 var(--space_md);
}
.cat_post .box_wrap {
    padding: 0 var(--space_md);
}
.cat_post ul {
    background: var(--emphasis);
}
.cat_post li {
    padding: var(--space_md);
}
.cat_post li:not(:first-of-type) {
    padding-top: 0;
}
.cat_post li:not(last-of-type) {
	border-bottom: 2px solid var(--line);
}
.cat_post .thumb {
    height: 240px;
}
.cat_post h3 a {
    display: inline-block;
}
/*======================================================================
  DETAIL
======================================================================*/
.det > .box_wrap {
    padding: 0 var(--space_md);
}
.det h2 {
    padding: 16px 0 0;
    border-top: 1px solid var(--line);
}
.det h2::after {
    top: 0;
    height: 3px;
    background: var(--sub_line);
}
.detail_post h3 {
    position: relative;
    padding-left: var(--space_md);
    font-size: medium;
}
.detail_post h3::before {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 24px;
    background: var(--sub_line);
}
.detail_post h3::after {
    display: block;
    content: "";
    position: absolute;
    left: 3px;
    top: 0;
    width: 3px;
    height: 24px;
    background: var(--line);
}
.detail_post h3:not(:first-of-type) {
    margin-top: var(--space_md);
}
.detail_post > p {
    margin-top: var(--space_sm);
}
.detail_post a {
    font-weight: bold;
    color: #E97500;
}
.link_item th {
    display: inline-block;
    margin: 1em 0;
}
.link_item img {
    max-width: 100%;
	height: auto;
    overflow: hidden;
}
.link_item + p {
	margin-top: 0;
}
/* Ninja Forms */
.nf-form-content input[type="submit"] {
	color: #fff !important;
	background: #001524 !important;
}
.nf-form-content input[type="submit"]:hover {
	background:#0068B3 !important;
}

