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

body {
  font-size: 1.6rem;
  line-height: 1.5;
  -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: #1D1917;
}
html { font-size: 62.5%; }

a {
  color: #1D1917;
  text-decoration: none;
  box-sizing: border-box;
}

a:hover {
  opacity: 0.7;
}

h1 {
  font-weight: normal;
}

:root{
  /* color */
  --color-black: #1D1917;
  --color-white: #ffffff;
  --color-gray: #ABB8C3;
  --color-lite-gray: #FAFAFA;
  /* nums */
  --nums-xxxs: 8px;
  --nums-xxs: 16px;
  --nums-xs: 18px;
  --nums-s: 24px;
  --nums-sm: 28px;
  --nums-m: 30px;
  --nums-l: 40px;
  --nums-xl: 48px;
  --nums-xxl: 64px;
}

h2{
  font-size: 4.8rem;
  margin-bottom: var(--nums-xl);
}

strong,h3{
  font-size: 2.4rem;
}

@media screen and (max-width: 768px) {
  h2{
    font-size: 3rem;
    margin-bottom: var(--nums-xl);
  }
    strong,h3{
    font-size: 2rem;
  }
}

.index_post,.index_box,.index_category,
.recommend,.category_top,.category_post,
.detail_head,.detail_post{
  margin-bottom: var(--nums-xxl)
}


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

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

.Inner {
  padding: 0 var(--nums-s);
}

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

/*======================================================================
  ハンバーガー
======================================================================*/
.gnav {
  display: block;
  position: relative;
}

.menu_button {
  cursor: pointer;
  display: block;
  position: relative;
  height: 40px;
  height: 40px;
  margin: 0 0 0 auto;
}

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

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

.menu_button:hover{
  opacity: 0.7;
}

.menu_button.active > span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.menu_button.active > span:nth-child(2) {
  opacity: 0;
}
.menu_button.active > span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}


.menu-main {
  background: #fff;
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease-in-out;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gnav.menu-open .menu-main {
  max-height: 300px;
}

.gnav ul li{
  border-bottom: 1px solid var(--color-gray);
  color: var(--color-black);
  text-align: center;
  font-weight: bold;
}

.gnav ul li a{
  display: inline-block;
  width: 100%;
  padding: var(--nums-s);
}

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

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

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

.breadcrumb img {
  width: 16px;
  height: 16px;
  padding: 0 4px 5px 0;
}

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

header .header_mv{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--nums-xxs);
  background-image: url(images/mv.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: auto;
  padding: var(--nums-s);
}

header .header_mv .header_about{
  position: relative;
  display: inline-block;
  margin: 0 0 0 auto;
}

header .header_mv .header_logo{
  display: block;
  max-width: 388px;
}


/*======================================================================
  TOP
======================================================================*/

.index .box_wrap .index_post{
  margin-bottom: var(--nums-xxl);
}

.index .box_wrap .index_post ul{
  display: flex;
  flex-direction: column;
  gap: var(--nums-l);
}

.index .box_wrap .index_post ul li a{
  position: relative;
  display: block;
}

.index .box_wrap .index_post ul li a .img_wrap{
  position: relative;
  height: 104px;
  padding: var(--nums-xs);
  box-sizing: border-box;
  overflow: hidden;
}

.index .box_wrap .index_post ul li a strong{
  position: absolute;
  top: 50%;
  left: var(--nums-xxs);
  right: var(--nums-xxs);
  transform: translateY(-50%);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding: var(--nums-xxs);
  color: var(--color-gray);
  border-top: 1px solid var(--color-gray);
  border-bottom: 1px solid var(--color-gray);
  z-index: 2;
}

.index .box_wrap .index_post ul li a .img_wrap::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #1D1917;
  opacity: 0.5;
  z-index: 1;
}

.index .box_wrap .index_post ul li a .img_wrap img{
  z-index: 0;
}

.index .box_wrap .index_post ul li a:hover strong{
  background-color: var(--color-gray);
  color: var(--color-white);
}

.index .box_wrap .index_content .index_category ul{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: var(--nums-l);
  align-items: stretch;
}

.index .box_wrap .index_content .index_category ul li{
  flex: 0 0 340px;
  display: flex;
}

.index .box_wrap .index_content .index_category ul li a{
  display: flex;
  flex-direction: column;
  padding: var(--nums-xxs);
  width: 100%;
  border-top: 1px solid var(--black, #1D1917);
  border-bottom: 1px solid var(--black, #1D1917);
  box-sizing: border-box;
}

.index .box_wrap .index_content .index_category ul li a .img_wrap{
  height: 284px;
  margin-bottom: var(--nums-xxs);
  flex-shrink: 0;
}

.index .box_wrap .index_content .index_category ul li a:hover{
  background-color: var(--color-gray);
  opacity: 1;
}
.index .box_wrap .index_content .index_category ul li a:hover strong{
  color: var(--color-white);
  opacity: 1;
}

@media screen and (max-width: 768px){
  .index .box_wrap .index_content .index_category ul li{
    flex: 1 1 100%;
  }
}

/*======================================================================
  CATEGORY
======================================================================*/
.category .category_top .img_wrap{
  height: 218px;
  margin-bottom: var(--nums-l);
}

.category_post{
  display: flex;
  flex-direction: column;
  gap: var(--nums-l);
  padding: var(--nums-l) 0;
  border-top: 1px solid var(--color-black);
  border-bottom: 1px solid var(--color-black);
}

.category .category_post li a{
  display: block;
  padding: var(--nums-xxs);
  border-top: 1px solid var(--color-gray);
  border-bottom: 1px solid var(--color-gray);
}
.category .category_post li a h3{
  padding-bottom: var(--nums-xxs);
}

.category .category_post li a:hover{
  opacity: 1;
  color: var(--color-white);
  background-color: var(--color-gray);
}


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

.detail .box_wrap .detail_head{
  display: flex;
  flex-direction: column;
  gap: var(--nums-m);
}

.detail .box_wrap .detail_head .img_wrap{
  height: 218px;
}

.detail .box_wrap .detail_head .img_wrap::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black, #1D1917);
  opacity: 0.3;
  z-index: 1;
}

.detail .box_wrap .detail_head h2{
  width: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
  color: var(--color-white);
  z-index: 2;
}

.detail .box_wrap .detail_head .img_wrap img{
  z-index: 0;
}

.detail .box_wrap .detail_category_list{
  display: flex;
  max-width: 100%;
  gap: var(--nums-xxs);
}

.detail .box_wrap .detail_category_list li a{
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  background: var(--color-white);
  border: 1px solid var(--color-gray);
  padding: var(--nums-xxxs) var(--nums-xxs);
  box-sizing: border-box;
  width: 100%;
}
.detail .box_wrap .detail_category_list li a:hover{
  background: var(--color-gray);
  color: var(--color-white);
  opacity: 1;
}

.detail .box_wrap .detail_post h3{
  position: relative;
  color: var(--color-white);
  background-color: var(--color-black);
  padding: var(--nums-xxxs) var(--nums-xxs);
  margin: 0 0 var(--nums-xs);
}

.detail .box_wrap .detail_post h3{
  margin-top: var(--nums-l);
}

.detail .box_wrap .detail_post .img_wrap{
  height: 145px;
  margin: 0 0 var(--nums-xs);
}

.detail .box_wrap .detail_post p a{
  display: inline-block;
  color: rgb(255, 123, 0);
  font-weight: bold;
}

.detail .box_wrap .detail_post ul + p{
  margin-top: 0;
}

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


@media screen and (max-width: 480px){
  .detail .box_wrap .detail_category_list{
    flex-direction: column;
    max-width: 100%;
  }
}

/*======================================================================
  RECOMMEND
======================================================================*/
.recommend .box_wrap ul{
  display: flex;
  flex-direction: column;
  gap: var(--nums-l);
}

.recommend .box_wrap ul li a{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--nums-xxs);
  align-self: stretch;
}

.recommend .box_wrap ul li a strong{
  display: inline-block;
  position: relative;
}

.recommend .box_wrap ul li a p{
  padding: var(--nums-xxs) 0;
  border-top: 1px solid var(--gray-200, #ABB8C3);
  border-bottom: 1px solid var(--gray-200, #ABB8C3);
}

.recommend .box_wrap ul li .img_wrap{
  height: 145px;
  width: 100%;
}

.recommend .box_wrap ul li a:hover{
  color: var(--color-gray);
  opacity: 1;
}


/*======================================================================
  FOOTER
======================================================================*/

footer{
  padding: var(--nums-xxl) 0;
  background-color: var(--color-black);
}

footer .box_wrap{
  display: flex;
  flex-direction: column;
  gap: var(--nums-xl);
    padding: 0 20px;
    color: var(--color-white);
}

footer .footer_inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}

footer .page_top{
  position: relative;
  display: block;
  width: fit-content;
  font-weight: bold;
  margin: 0 0 0 auto;
}
footer .page_top a{
  color: var(--color-white);
}

footer .page_top a::before{
  content: "";
  display: block;
  width: 30px;
  height: 37px;
  background: url(images/pagetop.png)no-repeat;
  padding-bottom: var(--nums-xxxs);
}

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

footer .box_wrap .footer_about span{
    display: block;
    font-weight: bold;
    font-size: 1.8rem;
    padding-bottom: var(--nums-xs);
}

footer .box_wrap .footer_about a{
    display: inline-block;
    font-weight: bold;
    color: rgb(255, 123, 0);
}

footer .box_wrap .fnav{
    margin: 0 0 20px 0;
}

footer .box_wrap .fnav ul{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--nums-m);
}
footer .box_wrap .fnav ul li{
  flex: 0 0 calc((100% - var(--nums-m)) / 2);
  max-width: 345px;
}

footer .box_wrap .fnav ul li a{
  color: var(--color-white);
  font-size: 1.8rem;
}

footer .box_wrap .fnav ul li ul{
  display: flex;
  padding-left: var(--nums-xxs);
  flex-direction: column;
  align-items: flex-start;
  gap: var(--nums-xxxs);
  align-self: stretch;
  border-left: 1px solid var(--color-white);
  margin-top: var(--nums-xs);
}

footer .box_wrap .fnav ul li ul li a{
    position: relative;
    display: inline-block;
    padding: 0 0 0 10px;
}

footer .box_wrap .copyright{
  padding-top: var(--nums-xl);
  border-top: 2px solid var(--color-gray);
}

footer .box_wrap .copyright small{
    display: block;
    text-align: center;
    color: var(--color-gray);
}

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

@media screen and (max-width: 480px) {
  footer .footer_inner{
    flex-direction: column-reverse;
    gap: var(--nums-xl);
  }
    footer .box_wrap .fnav ul li{
    flex: 1 1 100%;
    max-width: none;
  }
}