@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,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}
* { box-sizing: border-box; }

/*======================================================================
Global Variables
======================================================================*/
:root {
  --color-text: #222;
}

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: var(--color-text);
  background: #E4F7FD;
}


a {
  color: var(--color-text);
  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;
}

.img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
}

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


/*======================================================================
  ハンバーガーA
======================================================================*/
.el_hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  z-index: 10000;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  box-sizing: border-box;
}

.el_hamburger>span {
  display: block;
  margin: 0 auto 5px;
  /*border間隔*/
  height: 1px;
  /*border太さ*/
  font-size: 0;
  background: #000;
  /*border色*/
  transition: all 0.2s ease-in-out;
}

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

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

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

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

.js_hamburgerOpen .el_hamburger>span.bottom {
  transform: translateY(-8px) 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: 9999;
}

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

.menu_button {
  position: relative;
  padding: 16px 32px;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #0638A1;
  border-radius: 100vmax;
  cursor: pointer;
  transition: all 0.3s ease;
	background: #FFF;
}
.menu_button:hover::after,
.menu_button.active::after {
	display: block;
	content: "";
	position: absolute;
	left: 50%;
	transform: translate(-50%);
	width: 24px;
	height: 9px;
	background: url(images/hamburger-hover.png) no-repeat center center;
}

.menu_button:hover {
  opacity: 1;
background: #0638A1;
}

.menu_button.active {
  background-color: #0638A1;
  color: #fff;
}

.menu_button img {
  width: 24px;
  height: 8px;
}

.menu-main {
  flex-basis: 100%;
  order: 3;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
  margin-top: 16px;
  width: 100%;
  opacity: 0;
  will-change: max-height, opacity;
  background-color: #fff;
  z-index: 10;
  position: relative;
}

.menu-main.open {
  max-height: 400px;
  opacity: 1;
}

.menu-main ul li a {
  display: block;
  padding: 16px 24px;
  text-align: center;
  border-bottom: 1px solid #adaca7;
  color: #000;
}

/*======================================================================
  パンくず
======================================================================*/
.breadcrumb {
  margin: 0 auto;
  padding-block: 24px;
}

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

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

.gnav {
  padding: 0;
}

main {
	margin-top: -40px;
}

/*======================================================================
  header
======================================================================*/
.header-content {
  position: relative;
  width: 768px;
  margin: 0 auto;
  max-width: 100%;
  min-height: 566px;
  max-height: 100%;
  background: url(images/header.png) no-repeat top center;
}

.header-content .box-wrap {
  position: relative;
}

.header-content .logo {
  display: block;
  padding-top: 24px;
  width: 260px;
  height: 22px;
}

.header-catch-wrap {
  width: 720px;
  max-width: 100%;
  margin-top: 235px;
}

.header-catch {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  color: #0055AF;
  padding: 24px 40px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.80) 0%, rgba(255, 255, 255, 0.00) 100%);
}

.header-catch-text {
  order: 1;
	width: 400px;
	max-width: 100%;
	margin-bottom: 1em;
}

.header-catch-text p {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 16px;
}

.header-catch-text h1 {
  font-size: 20px;
  font-weight: bold;
}

.header-catch .gnav {
  order: 2;
}

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

section {
  padding-block: 40px;
}


hgroup {
  text-align: center;
  margin-bottom: 40px;
}

hgroup p {
  font-size: 16px;
  color: #0055AF;
  margin-bottom: 4px;
  font-weight: normal;
}

hgroup h2,
hgroup h3 {
  font-size: 32px;
  font-weight: bold;
}

.index-top-img {
  margin-top: 24px;
  margin-bottom: 40px;
  height: 240px;
}

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

.index-post li {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.title-icon-1 {
  position: relative;
  font-size: 24px;
  font-weight: bold;
  padding-left: 36px;
}

.title-icon-1:hover {
  opacity: 1;
  text-decoration: underline;
}

.title-icon-1::before {
  content: "";
  position: absolute;
  top: 5px ;
  left: 0;
  width: 24px;
  height: 24px;
  background-image: url(images/icon-post.png);
  background-size: cover;
}

.index-post .img-wrap {
  height: 200px;
}

.readmore {
  position: relative;
  display: block;
  padding: 16px 68px 16px 40px;
  background: #0055AF;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  width: fit-content;
  margin: 0 auto;
}

.readmore::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  width: 12px;
  height: 24px;
  background-image: url(images/arrow-right.png);
  background-size: cover;
}

.readmore:hover {
  opacity: 1;
  background: #0638A1;
}

/*======================================================================
  recommend
======================================================================*/

#recommend {
  color: #fff;
  background-color: #0638A1;
}

#recommend hgroup {
  color: #fff;
}

#recommend hgroup p {
  color: #fff;
}

.recommend_post {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.recommend_post li {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.recommend_post .img-wrap {
  height: 200px;
}

.recommend_post li a {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
}

.recommend_post li a:hover {
  opacity: 1;
  text-decoration: underline;
}

.recommend_post .img-wrap:hover {
  opacity: .5;
}

.recommend_post li p {
  font-size: 16px;
}

/*======================================================================
  footer
======================================================================*/
footer {
  color: #fff;
  background: #0E263F;
}

.pagetop {
  position: relative;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-bottom: 40px;
  padding-right: 30px;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}

.pagetop::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 14px;
  height: 8px;
  background: url(images/arrow-top.png) no-repeat center center;
}

.fnav {
  margin-bottom: 40px;
}

.fnav ul {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.fnav ul li a {
  display: block;
  width: fit-content;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}

.fnav ul li a:hover {
  opacity: 1;
  text-decoration: underline;
}

.fnav ul li ul li a {
  font-size: 16px;
}

.fnav ul li:has(ul) {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fnav ul li ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  display: block;
  width: 264px;
  max-width: 80%;
  margin: 0 auto 40px;
}

.footer-about {
  margin-bottom: 40px;
}

.footer-about span {
  display: block;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 16px;
}

.footer-about {
  font-size: 16px;
}

.footer-about a {
  display: inline-block;
  font-weight: bold;
  color: #fff;
  text-decoration: underline;
}

footer small {
  display: block;
  text-align: center;
}

/*======================================================================
  category
======================================================================*/

.category-top-title h2 {
	position: relative;
	display: block;
	width: fit-content;
	margin-inline: auto;
	padding-left: 36px;
}

.category-top-title h2::before  {
    content: "";
    position: absolute;
    top: 13px;
    left: 0;
    width: 20px;
    height: 20px;
    background-image: url(images/icon-post.png);
    background-size: cover;
}

.category-top-img {
  margin-top: 24px;
  height: 200px;
}

.category-post {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.category-post li {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.category-post-title {
  font-size: 24px;
}

/*======================================================================
  DETAIL
======================================================================*/

.detail hgroup h2::first-letter {
  font-size: 36px;
}

.deetail-top-img {
  height: 200px;
}

/* .detail-post {
  margin-top: 40px;
} */

.detail-post h3:first-letter {
  font-size: 32px;
}

.detail-post h3 {
  font-size: 24px;
  color: #0055AF;
	margin-top: 40px;
  margin-bottom: 24px;
}

.detail-cate {
  display: flex;
  justify-content: right;
  align-items: center;
	margin-top: 40px;
}

.detail-cate span {
  color: #0055AF;
  font-weight: bold;
  font-size: 20px;
}

.detail-cate ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: 16px;
}

.detail-cate li a {
  background: #0055AF;
  color: #fff;
  padding: 6px 16px;
  border-radius: 100vmax;
  font-weight: bold;
}

.detail-cate li a:hover {
  opacity: 1;
  background: #0638A1;
}

.link-content {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}

.link-content .link-item {
  flex: 1;
  min-width: 0;
}

.link-content .link-item dt {
  margin: 0;
}

.link-content .link-item dt a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}

.link-content .link-item dt img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.detail .link-item {
	margin-block: 1em;
}

.detail .link-item img {
  width: revert-layer;
}

.detail a {
  font-weight: bold;
  color: #df5413;
}

@media screen and (max-width: 768px) {
	.header-content {
  background: url(images/header.png) no-repeat top left;
}
  .header-catch {
    justify-content: center;
  }
	
	.header-catch-text {
		width: 100%;
	}
	
	.header-catch-text p {
		font-size: 24px;
	}

  .link-content {
    flex-direction: column;
    gap: 24px;
  }

  .link-content .link-item {
    width: 100%;
    flex: none;
    height: 60px;
    overflow: hidden;
  }
}
