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

body {
  line-height: 1.5;
  font-size: 1rem;
  -webkit-text-size-adjust: 100%;
  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;
  color: var(--text);
}

:root {
  /* backgroud */
  --default: #FFFFFF;
  --secondary: #F4F7FB;
  --button: #004EA2;
  --title-treat: #004ea2;
  /* text */
  --text: #5D636F;
  --title: #2F3134;
  /* border */
  --border: #DDDDDD;
  --border-secondary: #F3F5F8;
  --hover: #004EA2;
  --link: #ffd700;
}

a {
  color: var(--text);
  text-decoration: none;
  box-sizing: border-box;
}

a:hover {
  opacity: 0.5;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 16px;
}
@media screen and (max-width: 768px) {
	h2 {
		font-size: 30px;
	}
  h3 {
      font-size: 18px; 
  }
}

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

.box_wrap {
  margin: 0 auto;
  max-width: 768px;
  box-sizing: border-box;
  padding: 0 30px;
}
@media screen and (max-width: 768px) {
  .box_wrap{
      padding: 0 16px; 
  }
}

.flex_box {
  display: flex;
  flex-direction: column;
}
.Inner {
  margin: 0 30px;
}

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

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

/*======================================================================
  ハンバーガーB
======================================================================*/
.gnav {
  background: var(--default);
  cursor: pointer;
  display: block;
}
.menu_button {
  display: block;
  padding-top: 16px;
  height: 74px;
  background-image: url(images/hamburger_button.jpg);
  background-repeat: no-repeat;
}
.menu_button:hover{
  opacity: 0.5;
}
.menu-main {
  background: var(--secondary);
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease-in-out;
}
.gnav ul li {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #eee;
  color: var(--text);
  padding: 1rem;
}

/*======================================================================
  パンくず
======================================================================*/
.breadcrumb {
  margin: 0 auto;
}
.breadcrumb ul{
  display: block;
  max-width: 768px;
  margin: 0 auto;
  padding: 2rem 1rem;
  box-sizing: border-box;
  text-align: left;
}
.breadcrumb ul li {
  padding-right: 5px;
  display: inline-block;
}
.breadcrumb ul li a span {
  font-weight: bold;
}

/*======================================================================
  HEADER
======================================================================*/
.header {
  padding-top: 56px;
}
.header .header_mv{
  position: relative;
  background-image: url(images/mv.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 456px;
  box-sizing: border-box;
}
.header .header_mv .header_inner {
  display: flex;
  flex-direction: column;
  gap: 29px;
  position: absolute;
  bottom: 40px;
  padding: 0 12px;
  max-width: 684px;
  width: 100%;
}
.header .header_mv .header_logo{
  display: block;
  width: 100%;
  max-width: 348px;
  margin: 0 9px 0 auto;
}
.header .header_mv .header_logo img {
	width: 100%;
}
h1 {
  font-weight: bold;
  font-size: 20px;
  color: var(--default);
}
.menu_button {
  background-position: right bottom;
}
@media screen and (max-width: 768px) {
	.header .header_mv .header_inner {
		width: 94%;
	}
}


/*======================================================================
  TOP
======================================================================*/
/* index_head */
.box_wrap .index_head {
  padding-top: 24px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  margin: 0 0 24px 0;
}
.box_wrap .index_head h2 {
  position: relative;
  padding-left: 32px;
}
.box_wrap .index_head h2::before {
  position: absolute;
  content: "";
  width: 24px;
  height: 8px;
  background: var(--title-treat);
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.box_wrap .index_head a{
  display: inline-block;
  font-weight: bold;
}
@media screen and (max-width: 420px) {
	.box_wrap .index_head {
		display:inherit;
	}
	.box_wrap .index_head h2 {
		margin-bottom:8px;
	}
}


/* index_category */
.index .box_wrap .index_category ul li:not(:last-child){
	margin: 0 0 16px 0;
}
.index .box_wrap .index_category ul li a {
  display: flex;
}
.index .box_wrap .index_category ul li .img_wrap{
  width: calc((371 / 708) * 100%);
}
.index .box_wrap .index_category ul li .title_wrap {
  width: calc((337 / 708) * 100%);
  padding: 16px;
  background: var(--title-treat);
  color: var(--default);
  box-sizing: border-box;
}
.index .box_wrap .index_category ul li strong {
  color: var(--default);
  border-bottom: 1px solid var(--border-secondary);
  padding-bottom: 8px;
  font-size: 20px;
  display: block;
}
.index .box_wrap .index_category ul li .text {
  padding-top: 8px;
  display: block;
}
@media screen and (max-width: 768px) {
  .index .box_wrap .index_category ul li a{
    flex-direction: column;
  }
  .index .box_wrap .index_category ul li .img_wrap {
    display: block;
    width: 100%;
    height: auto;
  }
  .index .box_wrap .index_category ul li .title_wrap {
    width: 100%;
  }
  .index .box_wrap .index_category .img_wrap::before {
    content: "";
    display: block;
    padding-top: 50%; 
  }
} 

/* index_new */
.index .box_wrap .index_new {
  margin-bottom: 24px;
}
.index .box_wrap .index_new .index_head {
  margin-bottom: 8px;
}
.index .box_wrap .index_new ul li time {
  white-space: nowrap;
}
.index .box_wrap .index_new ul li strong {
  font-size: 16px;
  padding-right: 48px;
}
.index .box_wrap .index_new ul li a {
  display: flex;
  align-items: center;
  position: relative;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  gap: 16px;
}
.index .box_wrap .index_new ul li a:hover {
  opacity: 1;
  border-bottom: 1px solid var(--hover);
}
.index .box_wrap .index_new ul li a::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  bottom: 16px;
  right: 0;
  display: block;
  width: 12px;
  height: 12px;
  content: "";
  background: url(./images/arrow_blue.svg) no-repeat center center;
  padding: 10px;
  border: 1px solid var(--border-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
}
.index .box_wrap .index_new ul li a:hover::after {
  background: url(./images/arrow_white.svg) no-repeat center center;
  background-color: var(--button);
}
@media screen and (max-width: 768px) {
  .index .box_wrap .index_new ul li a {
    flex-direction: column;
    align-items: flex-start;
  }
}


/*======================================================================
  CATEGORY
======================================================================*/
.category {
  padding: 24px 0;
}
.category .box_wrap {
  gap: 16px;
}
.category .category_post {
  gap: 24px;
} 
.category .category_post li {
  gap: 16px;
}
.category .category_post li .img_wrap{
  height: 218px;
}
.category .category_post li:not(:first-child) .img_wrap {
  height: 150px;
  border-radius: 24px;
}
.category .category_post li h3{
  font-size: 16px;
}
.category .category_post li h3 a{
  color: var(--title-treat);
  display: inline-block;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}
.category .category_post li ul{
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-wrap: wrap;
  font-weight: bold;
}
.category .category_post li ul li a{
  display: inline-block;
  color: #2F3134;
  font-weight: normal;
}

/*======================================================================
  DETAIL
======================================================================*/
.detail {
  padding: 24px 0;
}
.detail .box_wrap .detail_head .img_wrap {
  aspect-ratio: 708 / 230;
  max-width: 708px;
  height: auto;
  position: relative; 
  margin-top: 16px;
  margin-bottom: 24px;
  overflow: inherit;
}
.detail .box_wrap .detail_head .img_wrap img {
  object-fit: cover; 
  border-radius: 24px; 
  aspect-ratio: 692 / 214;
  max-width: 692px;
  height: auto;
  top: calc(-50% - 16px);
  left: calc(-50% + 16px);
}
.detail .box_wrap .detail_head .img_wrap::before {
  content: '';
  position: absolute; 
  top: 16px;
  border-radius: 24px; 
  background-image: linear-gradient( #72DBF3 0%, #5EB6E7 20%, #4EA4DB 38%, #004EA1 90%, #004EA1 100%);
  aspect-ratio: 692 / 214;
  width: 692px;
  height: auto;
}
@media screen and (max-width: 786px) {
  .detail .box_wrap .detail_head .img_wrap img {
    width: calc(100% - 16px);
  }
  .detail .box_wrap .detail_head .img_wrap::before {
      width: calc(100% - 16px);
  }
}
.detail .box_wrap .detail_post h3{
  padding: 0 0 8px 0;
  margin: 24px 0 16px;
  position: relative;
}
.detail .box_wrap .detail_post h3:first-of-type {
  margin-top: 30px;
}
.detail .box_wrap .detail_post h3::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: url(./images/line.png)no-repeat;
}
.detail .box_wrap .detail_post a{
  display: inline-block;
  color: var(--link);
  font-weight: bold;
}

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

/* リンク設置 */
.link_item {
  margin: 1em 0;
}
.link_item  span{
  font-weight: bold;
  color: var(--link);
  display: block;
}
.link_item img {
	max-width: 100%;
}
/*======================================================================
  RECOMMEND
======================================================================*/
.recommend {
  background: var(--secondary);
  padding-bottom: 24px;
}
.recommend .box_wrap ul li {
  background: var(--default);
  border-radius: 24px;
}
.recommend .box_wrap ul li a {
  display: inline-block;
  padding: 16px;
  width: 100%;
}
.recommend .box_wrap ul li:not(:last-child){
  margin: 0 0 16px 0;
}
.recommend .box_wrap ul li .recommend_category{
  position: relative;
  border-radius: 16px;
}
.recommend .box_wrap ul li .recommend_category span{
  position: absolute;
  top: 0;
  left: 0;
  padding: 16px;
  background-color: var(--title-treat);
  font-weight: bold;
  color: var(--default);
  width: calc((416 / 676) * 100%);
  box-sizing: border-box;
  border-radius: 16px 0 16px 0;
}
.recommend .box_wrap ul li .img_wrap{
  aspect-ratio: 676 / 162;
  margin: 0 0 16px 0;
}
.recommend .box_wrap ul li strong{
  display: inline-block;
  font-size: 16px;
  margin: 0 0 8px 0;
	color: #004EA2;
}
.recommend .box_wrap ul li .text {
  display: block;
}
@media screen and (max-width: 480px) {
  .recommend .box_wrap ul li .img_wrap {
    aspect-ratio: 676 / 324;
  }
  .recommend .box_wrap ul li .recommend_category span {
    width: calc((500 / 676) * 100%);
    padding: 10px;
  }
}

/*======================================================================
  FOOTER E
======================================================================*/
#footer {
  overflow-x: hidden;
  border-top: 1px solid var(--border);
}
#footer .box_wrap .footer_flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 16px;
    gap: 30px;
}
#footer .box_wrap .fnav{
    padding-top: 8px;
    max-width: 542px;
}
#footer .box_wrap .fnav ul{
    display: flex;
    flex-direction: column;
    gap: 24px;
}
#footer .box_wrap .fnav ul + ul {
  margin-top: 24px;
}
#footer .box_wrap .fnav ul li a{
    position: relative;
    display: inline-block;
    font-weight: bold;
    margin: 0 0 16px 0;
}
#footer .box_wrap .fnav ul li a:hover {
  opacity: 1;
  color: var(--title-treat);
}
#footer .box_wrap .fnav ul li a::before {
  display: none;
}
#footer .box_wrap .fnav ul li ul{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#footer .box_wrap .fnav ul li ul li a {
  padding: 0 0 0 24px;
	margin-bottom:0;
}
#footer .box_wrap .fnav ul li ul li a:hover {
  color: var(--title-treat);
}
#footer .box_wrap .fnav ul li ul li a::before{
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 12px;
    background: var(--text);
}
#footer .box_wrap .fnav ul li ul li a:hover::before {
  background: var(--title-treat);
}

/* page_top */
#footer .page_top a{
  position: relative;
  display: flex;
  font-weight: bold;
  margin: 0 0 0 auto;
  padding: 16px 16px 16px 36px;
  border: 1px solid var(--border-secondary);
  color: var(--button);
  border-radius: 999px;
  box-sizing: border-box;
  white-space: nowrap;
}
#footer .page_top a:hover {
  opacity: 1;
  border: 1px solid var(--hover);
  padding: 16px;
}
#footer .page_top a::before{
  content: "";
  width: 12px;
  height: 12px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 16px;
  background: url(./images/arrow_upward.svg);
}
#footer .page_top a:hover:before {
  display: none;
}

/* logo */
#footer .box_wrap .footer_logo{
    padding-top: 16px;
}
#footer .box_wrap .footer_logo a{
    display: block;
    width: fit-content;
}
#footer .box_wrap .footer_logo a img{
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* about me */
#footer .box_wrap .footer_about{
    margin-top: 16px;
    padding-bottom: 24px;
    position: relative;
}
#footer .box_wrap .footer_about::after {
  content: ""; /* 疑似要素にはcontentプロパティが必須 */
  display: block; /* ブロック要素にして幅と高さを指定できるようにする */
  position: absolute; /* 親要素（.footer_about）を基準に配置 */
  left: 50%; /* 画面中央に配置するため */
  transform: translateX(-50%); /* 画面中央に配置するため */
  width: 98vw; /* ビューポートの幅いっぱいに広げる */
  height: 1px; /* ボーダーの高さ */
  background-color: var(--border); /* ボーダーの色 */
  bottom: 0; /* .footer_aboutの底部に配置 */
}
#footer .box_wrap .footer_about span{
  background: url(./images/about.svg) no-repeat left center;
  padding-left: 44px;
  display: block;
  font-size: 24px;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 16px;
}
#footer .box_wrap .copyright p{
  display: block;
  text-align: left;
  padding: 16px 0;
}
@media screen and (max-width: 480px) {
  #footer .box_wrap .footer_flex {
    flex-direction: column-reverse;
    gap: 10px;
  } 
  #footer .page_top {
    margin: 0 0 0 auto;
  }
  #footer .box_wrap .footer_about{
      width: 100%;
  }
}