@charset "UTF-8";

/*======================================================================
  Reset CSS for HTML5
======================================================================*/
* {
  box-sizing: border-box;
}

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,
caption,
tbody,
tfoot,
thead,
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,
ol,
dl {
  list-style: none
}

html {
  scroll-behavior: smooth
}

body {
  font-size: 1rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: Avenir, "Open Sans", "Helvetica Neue", Helvetica, Arial, Verdana, Roboto, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color: #222;
  background: #FFF;
}

a {
  color: #222;
  text-decoration: none;
  box-sizing: border-box;
  transition: .3s;
}

a:hover {
  opacity: 0.5;
  transition: .3s;
}

h1 {
  font-weight: normal;
}

/*======================================================================
  共通
======================================================================*/
img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.box_wrap {
  margin: 0 auto;
  max-width: 768px;
  padding-inline: 24px;
  box-sizing: border-box;
}

.Inner {
  margin: 0 30px;
}

.img_wrap {
  position: relative;
  display: block;
  overflow: hidden;
}

.img_wrap img {
  position: absolute;
  inset: -50%;
  margin: auto;
  width: 100%;
  height: auto;
}

.flex {
  display: flex;
}

.flex.column {
  flex-direction: column;
}

.flex.aic {
  align-items: center;
}

.flex.jcc {
  justify-content: center;
}

.flex.jcsb {
  justify-content: space-between;
}

/*======================================================================
  ハンバーガーA
======================================================================*/
.el_hamburger {
  position: relative;
  z-index: 9999;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  box-sizing: border-box;
  border-radius: 14px;
  background: #0058A2;
  padding: 15px;
}

.el_hamburger:hover {
  opacity: .5;
}

.el_hamburger>span {
  display: block;
  margin: 0 auto 8px;
  width: 28px;
  /*border間隔*/
  height: 3px;
  /*border太さ*/
  font-size: 0;
  background: #FFF;
  /*border色*/
  transition: all 0.2s ease-in-out;
  border-radius: 100vmax;
  font-size: 0;
}

.el_hamburger>span:last-child {
  margin-bottom: 0;
}

.js_hamburgerOpen .el_hamburger>span {
  background: #FFF;
}

.js_hamburgerOpen .el_hamburger>span.top {
  transform: translateY(12px) rotate(-45deg);
}

.js_hamburgerOpen .el_hamburger>span.middle {
  opacity: 0;
}

.js_hamburgerOpen .el_hamburger>span.bottom {
  transform: translateY(-10px) rotate(45deg);
}

.el_hamburgerButton.el_hamburgerButton__close {
  top: 2%;
  right: 2%;
}

.el_hamburgerButton__close>span {
  display: block;
  width: 40px;
  margin: 0 auto;
  height: 1px;
  background: #000;
}

.el_hamburgerButton__close>span.el_hamburgerLineTop {
  transform: translateY(5px) rotate(-45deg);
}

.el_hamburgerButton__close>span.el_hamburgerLineBottom {
  transform: translateY(-6px) rotate(45deg);
}

.uq_spNavi {
  display: none;
}

.uq_spNavi.js_appear {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: block;
  z-index: 9900;
}

.uq_spNavi_screen {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.96);
  z-index: 0;
  margin-top: 0;
  padding-top: 0;
  overflow: auto;
}

.gnav {
  padding: 80px 0 0 0;
  text-align: center;
}

.gnav li {
  border-bottom: #aaa 1px solid;
}

.gnav li>a {
  display: block;
  padding: 1.5rem 0;
  color: #000;
  text-decoration: none;
}

.gnav li>a:hover {
  opacity: 0.5;
}

.js_fixed {
  position: fixed;
  width: 100%;
  height: 100%;
}

/*======================================================================
  ハンバーガーB
======================================================================*/
.gnav {
  color: #fff;
  cursor: pointer;
  display: block;
  margin-bottom: 1px;
  position: relative;
  margin-bottom: 32px;
}

.menu_button {
  color: #000;
  display: block;
}

.menu_button:hover {
  opacity: 0.5;
}

.menu_button>span {
  width: 30px;
  display: block;
  margin: 0 auto 5px;
  height: 1px;
  font-size: 0;
  background: #000;
  transition: all 0.2s ease-in-out;
}

.menu_button>span:last-child {
  margin-bottom: 0;
}

.menu-main {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
}

.gnav ul li {
  border-bottom: 1px solid #adaca7;
  color: #000;
}

/*======================================================================
  パンくず
======================================================================*/
.breadcrumb {
  width: 768px;
  max-width: 100%;
  margin: 0 auto;
  margin: 1em auto 40px;
}

.breadcrumb ul li {
  padding-right: 5px;
  display: inline-block;
}

.breadcrumb ul li a span {
  font-weight: bold;
}

header .logo {
  display: inline-block;
  max-width: 100%;
}

.gnav {
  padding: 0;
}

.title {
  position: relative;
  font-size: 33px;
  font-weight: bold;
  color: #0058A2;
  padding-bottom: 16px;
}

.title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 66px;
  height: 4px;
  background: url(images/title.png) no-repeat left center / contain;
}

/*======================================================================
  header
======================================================================*/
.header_bg {
  position: relative;
  padding-top: 24px;
  height: 512px;
  background: url(images/header.png) no-repeat center top / cover;
  box-sizing: border-box;
}


.header-content-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 64px;
}

.header-catch {
  width: 452px;
  max-width: 100%;
  background: rgb(255 255 255 / .8);
  padding: 16px;
  border-radius: 10px;
}

.header-catch p {
  display: inline-block;
  font-weight: bold;
  margin-bottom: 16px;
  font-size: 20px;
}

.header-catch h1 {
  font-size: 16px;
}

.header-new {
  width: 100%;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}

.header-new li {
  display: flex;
  font-weight: bold;
  width: 500px;
  max-width: 100%;
  padding: 16px;
  background: rgb(255 255 255 / .8);
  border-radius: 10px;
  overflow: hidden;
}

.header-new li span {
  position: relative;
  text-wrap: nowrap;
  display: inline-block;
  padding-right: 16px;
}

.header-new li span::after {
  display: block;
  content: '';
  position: absolute;
  right: 0;
  top: -16px;
  bottom: -16px;
  width: 1px;
  background-color: #D4D4D4;
}

.header-new li a {
  margin-left: 16px;
}

.header-new li a:hover {
	opacity: 1;
	color: #0058A2;
}

/*======================================================================
  index
======================================================================*/

.index-top {
  position: relative;
  text-align: center;
  margin-bottom: 32px;
}

.index-top-title {
  display: block;
  width: 524px;
  max-width: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 16px;
  background: rgb(255 255 255 / .8);
  border-radius: 10px;
}

.index-top-title h2 {
  font-size: 22px;
  color: #0058A2;
}

.index-top span {
  display: block;
  margin-top: 8px;
  font-size: 16px;
}

.index-post {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 24px;
  margin: 32px 0 24px 0;
}

.index-post li {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 16px;
  background: #EEF8FE;
  border-radius: 10px;
}

.index-post li .img_wrap {
  height: 200px;
  border-radius: 10px;
}

.index-post li>a {
  font-weight: bold;
  font-size: 22px;
}

.index-post li>a:hover {
  opacity: 1;
  color: #0058A2;
}

.index-post li a.img_wrap:hover {
	opacity: .5;
}

.index-post-link {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.index-post-link a {
  display: inline-block;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  color: #FFF;
  padding: 16px;
  background: #0058A2;
  border: 1px solid #0058A2;
  border-radius: 100vmax;
}

.index-post-link a:hover {
  opacity: 1;
  color: #0058A2;
  background: #FFF;
}


/*======================================================================
  recommend
======================================================================*/
#recommend {
  padding-block: 40px;
  background: #EEF8FE;
}

.recommend-img {
  position: relative;
  display: block;
  margin-top: 24px;
  margin-bottom: 32px;
}

.recommend-img .img_wrap {
  height: 150px;
  border-radius: 10px;
}

.recommend-img span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  font-size: 22px;
  text-align: center;
  font-weight: bold;
  width: 528px;
  max-width: 100%;
  padding: 16px;
  background: rgb(255 255 255 / .8);
  border-radius: 10px;
}

.recommend-post {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.recommend-post li {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 10px;
  gap: 16px;
  background: #FFF;
}

.recommend-post li .img_wrap {
  min-width: 150px;
  height: 150px;
  border-radius: 10px;
}

.recommend-post-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.recommend-post-content a:not([class]) {
  font-size: 22px;
  font-weight: bold;
}

.recommend-post-content a:not([class]):hover {
  opacity: 1;
  color: #0058A2;
}

.recommend-post-link {
  display: flex;
  gap: 8px;
}

.recommend-post-link a {
  display: inline-block;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  color: #FFF;
  padding: 16px;
  background: #0058A2;
  border: 1px solid #0058A2;
  border-radius: 100vmax;
}

.recommend-post-link a:hover {
  opacity: 1;
  color: #0058A2;
  background: #FFF;
}



/*======================================================================
  footer
======================================================================*/
footer {
  padding-bottom: 16px;
}

.fnav {
  padding-block: 40px;
  background: #0058A2;
}

.fnav div:not([class]) {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.fnav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}


.fnav ul li {
  flex: 1;
}

.fnav ul li a {
  display: inline-block;
  text-align: center;
  font-weight: bold;
  color: #FFF;
}

.footer-bottom {
  margin-top: 16px;
}

.pagetop {
  position: relative;
  display: block;
  width: fit-content;
  font-size: 16px;
  margin: 0 0 0 auto;
  padding: 0 28px 0 0;
}

.pagetop::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 20px;
  height: 20px;
  background: url(images/pagetop.png) no-repeat center center / contain;
}

.pagetop:hover {
  opacity: 1;
}

.pagetop:hover::after {
  background: url(images/pagetop-hover.png) no-repeat center center / contain;
}

footer small {
  display: block;
  text-align: center;
  font-weight: normal;
  margin-top: 16px;
}

/*======================================================================
  category
======================================================================*/
.category-subtitle {
  display: block;
  margin-block: 32px;
  padding-bottom: 8px;
  font-size: 22px;
  font-weight: bold;
  border-bottom: 1px solid #D4D4D4;
}

.cate-post {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.cate-post li {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cate-post li h4 a {
  display: inline-block;
  font-size: 22px;
  font-weight: bold;
}

.cate-post li h4 a:hover {
  opacity: 1;
  color: #0058A2;
}

.cate-post-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cate-post-date {
  display: inline-block;
  width: fit-content;
  color: #FFF;
  padding: 8px 16px;
  background: #0058A2;
  border-radius: 10px;
}

.cate-post-date-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cate-post li .img_wrap {
  width: 180px;
  height: 180px;
  border-radius: 10px;
  min-width: 180px;
}

.more {
  position: relative;
  display: inline-block;
  width: fit-content;
  margin-left: auto;
  font-size: 16px;
  font-weight: bold;
  padding-right: 28px;
  margin-top: -8px;
}

.more:hover {
  opacity: 1;
  color: #0058A2;
}

.more::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(90deg);
  display: block;
  width: 20px;
  height: 20px;
  background: url(images/pagetop.png) no-repeat center center / contain;
}

.more:hover::after {
  background: url(images/pagetop-hover.png) no-repeat center center / contain;
}

/*======================================================================
  Detail
======================================================================*/
.link-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.link-box a {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  color: #FFF;
  width: fit-content;
  background: #0058A2;
  padding: 16px 40px;
  border: 1px solid #0058A2;
  border-radius: 100vmax;
}

.link-box a:hover {
  opacity: 1;
  color: #0058A2;
  background: #FFF;
}

.detail-top-img {
  height: 200px;
  margin-block: 32px;
  border-radius: 10px;
}

.detail-post {
  margin-bottom: 40px;
}

.detail-post h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 16px;
} 

.detail-post h3 + p {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #222;
}

.detail-post p:last-child {
  margin-bottom: 0;
  border-bottom: 0;
	padding-bottom: 0;
}

.detail-post img {
	width: revert-layer;
}

.link_item {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-block: 1em;
}

.detail a,
.link_item a {
  font-weight: bold;
  color: #ce2f71;
}

.detail ul + p {
	display: inline-block;
	margin-block: 1em;
}

.link_item a {
  display: inline-block;
  width: fit-content;
}

blockquote {
    position: relative;
    padding: 50px 15px 10px 15px;
    box-sizing: border-box;
    background: #EEF8FE;
    border-left: 4px solid #0058A2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14);
    width: 100%;
    margin: 1em 0;
}

blockquote:before {
    display: inline-block;
    position: absolute;
    top: 5px;
    left: 3px;
    content: "“";
    font-family: sans-serif;
    color: #0058A2;
    font-size: 70px;
    line-height: 1;
}

@media screen and (max-width: 768px) {
  header .logo {
    max-width: 230px;
  }
  
  .header-new li {
    flex-direction: column;
    width: calc(100% - 48px);
  }
  .header-new li span {
    font-size: 18px;
  }
  
  .header-new li a {
    margin-left: 0;
  }

  .header-new li span::after {
    content: none;
  }

  .index-post {
    grid-template-columns: 1fr;
  }

  .recommend-post-content {
    flex-direction: column;
  }

  .recommend-post li .img_wrap {
    width: 100%;
    min-width: auto;
  }

  .recommend-post-link {
    flex-direction: column;
  }
  .cate-post-content {
    flex-direction: column;
  }
  .cate-post li .img_wrap {
    width: 100%;
    min-width: auto;
  }
}