@charset "utf-8";
/*======================================================================
  variable
======================================================================*/
:root {
  --white: #FFFFFF;
  --gray: #E9EAF0;
  --light-blue: #EDF4F7;
  --blue: #6A6D98;
  --dark-blue: #2B2F6B;
  --black: #4E4E4E;
}

/*======================================================================
  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;
}
a {
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    background: transparent;
}
img {
    line-height: 1;
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
}

/*======================================================================
  FORMAT
======================================================================*/
.inner {
    max-width: 76.8rem;
    margin: 0 auto;
    padding: 0 3rem;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  padding-block: 5rem;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.heading-md {
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--dark-blue);
}

.heading-line {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.heading-line::after {
  content: "";
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--gray);
}

.heading-left-line {
  display: flex;
  gap: 1rem;
}
.heading-left-line::before {
  content: "";
  min-width: 4px;
  min-height: 3.6rem;
  border-radius: 2px;
  background: var(--blue);
}

/*======================================================================
  BASIC
======================================================================*/
html {
	font-size: 10px;
}
html, body {
    height: 100%;
}
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(--black);
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    background: var(--white);
}

p {
  line-height: 1.5;
}

a {
  color: var(--black);
  cursor: pointer;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

* {
  box-sizing: border-box;
}

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

a img:hover {
	opacity: .5;
}

.fit {
  display: block;
  overflow: hidden;
}
.fit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*======================================================================
  header
======================================================================*/
header {
  padding-top: 3rem;
  background: linear-gradient(180deg, var(--gray) 0%, var(--white) 100%);
}

.header__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.header__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.header__info__link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--blue);
}

.header__info__link::before {
  content: "";
  width: 3rem;
  height: 1px;
  background: var(--dark-blue);
}

.header__info__link:hover {
  opacity: .5;
}

.header_column {
  display: flex;
  gap: 1rem;
}

h1 {
  max-width: 34.4rem;
  color: var(--blue);
}

.header_img img {
  filter: drop-shadow(0 5px 30px var(--dark-blue));
}

.gnav {
  margin-bottom: 1px;
  position: relative;
}
.menu_button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  background: var(--gray);
  width: 72px;
  height: 48px;
  margin-left: auto;
  border-radius: 99rem;
  cursor: pointer;
}
.menu_button > span {
  width: 1.6rem;
  height: 2px;
  background: var(--dark-blue);
}
.menu_button:hover {
  background: var(--dark-blue);
}
.menu_button:hover > span {
  background: var(--white);
}
.menu-main {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease-in-out;
}
.gnav ul li {
  border-bottom: 1px solid var(--gray);
  padding: 1.6rem;
}

.gnav ul li a {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: bold;
}

.breadcrumb {
  margin: 2rem auto;
}

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

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

/*======================================================================
  footer
======================================================================*/
footer {
  padding-block: 3rem;
  background: var(--light-blue);
  color: var(--dark-blue);
}

footer a {
  color: var(--dark-blue);
  display: inline-block;
}

.footer_content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer_totop {
  font-size: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 7.2rem;
  width: 4.8rem;
  margin-left: auto;
  border: 1px solid var(--dark-blue);
  border-radius: 99rem;
  background: var(--dark-blue);
}
.footer_totop::before {
  content: "";
  width: 2.4rem;
  height: 2.4rem;
  mask-image: url(images/arrow-top.svg);
  mask-size: contain;
  mask-repeat: no-repeat;
  background: var(--white);
}

.footer_totop:hover {
  background: var(--white);
}

.footer_totop:hover::before {
  background: var(--dark-blue);
}

.fnav > div > ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.fnav > div > ul > li {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fnav > div > ul > li > ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.fnav > div > ul > li > a {
  font-size: 1.8rem;
  text-decoration: underline;
  font-weight: bold;
}

.fnav > div > ul > li > a:hover {
  text-decoration: none;
}

.fnav > div > ul > li > ul a {
  position: relative;
  padding-left: 2rem;
}

.fnav > div > ul > li > ul a::before {
  position: absolute;
  left: 0;
  top: 0;
  content: "・";
}

.footer_bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.footer_bottom::before {
  content: "";
  width:3.9rem;
  height: 9.7rem;
  background: url(images/img-01.webp) no-repeat center;
  order: 2;
}

.footer_about {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  order: 3;
  max-width: 35.4rem;
}

.footer_about {
	color: var(--black);
}

.footer_about span {
  font-weight: bold;
	color: var(--dark-blue);
}

.footer_copy {
  padding-top: 2rem;
	color: var(--black);
}

/*======================================================================
  recommend
======================================================================*/
.recommend {
  padding-bottom: 5rem;
}

.recommend_post {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.recommend_post_item {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.recommend_post_item .fit {
  position: relative;
  width: 100%;
  height: 16rem;
}

.recommend_post_item .fit:hover img {
  opacity: 1;
}

.recommend_post_item .fit span {
  position: absolute;
  left: 0;
  top: 0;
  width: 90%;
  max-width: 34.4rem;
  margin-block: 2rem;
  padding: 2rem;
  background: var(--dark-blue);
  color: var(--white);
  font-weight: bold;
}

.recommend_post_item .fit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 47, 107, 0.50);
  opacity: 0;
}

.recommend_post_item .fit:hover::before {
  opacity: 1;
}

.recommend_post_item .fit:hover span {
  color: var(--dark-blue);
  background: var(--gray);
}

.recommend_post_item h3 a {
  font-size: 1.8rem;
  color: var(--dark-blue);
}

/*======================================================================
  index
======================================================================*/
.index_topics_post {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.index_topics_post_item .fit {
  position: relative;
  width: 100%;
  height: 14rem;
  border-radius: 2.4rem;
}

.index_topics_post_item .fit::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.20);
}

.index_topics_post_item .fit:hover::before {
  background: rgba(43, 47, 107, 0.80);
}

.index_topics_post_item .fit:hover img {
  opacity: 1;
}

.index_topics_post_item .fit h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: var(--white);
  font-size: 1.8rem;
  text-align: center;
  width: 100%;
  padding-inline: 2rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
}

.index_cat_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.index_cat_list_item {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.index_cat_list_item .fit {
  width: 100%;
  height: 17.1rem;
  border-radius: 2.4rem;
}

.index_cat_list_item h3 a {
  display: inline-block;
  color: var(--dark-blue);
}

/*======================================================================
  category
======================================================================*/
.cat {
  gap: 3rem;
}

.cat_head {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cat_img {
  width: 100%;
  height: 20rem;
}

.cat_post {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cat_post li {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.cat_post h3 a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  padding: 1rem 2rem;
  font-size: 2rem;
  color: var(--dark-blue);
  border-radius: .8rem;
  background: var(--gray);
}
.cat_post h3 a:hover {
  text-decoration: none;
  background: var(--dark-blue);
  color: var(--white);
}

.cat_post h3 a::after {
  content: "";
  width: 2.4rem;
  height: 2.4rem;
  mask-image: url(images/arrow-right.svg);
  mask-size: contain;
  mask-repeat: no-repeat;
  background: var(--dark-blue);
}

.cat_post h3 a:hover:after {
  background: var(--white);
}

.cat_post li p {
  padding-inline: 2rem;
}

/*======================================================================
  detail
======================================================================*/
.detail {
  gap: 3rem;
}

.detail_head {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.detail_img {
  width: 100%;
  height: 20rem;
}

.detail_post h3 {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--dark-blue);
}

.detail_post h3:not(:first-child) {
  margin-top: 3rem;
}

.detail_post h3::before {
  content: "";
  min-width: 3rem;
  height: 3rem;
  border-radius: .5rem;
  background: var(--light-blue);
}

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

.link a,
.detail_post a,
.footer_about a {
  color: #00ab1d;
  font-weight: bold;
}

/*======================================================================
  sp
======================================================================*/
@media screen and (max-width: 690px) {
  .header_column {
    flex-direction: column;
  }
	
	.header_img img {
		width: 100%;
	}

  .index_cat_list {
    grid-template-columns: auto;
  }
}